@font-face {
  font-family: 'Noto Sans Syriac Eastern';
  src: url('../fonts/NotoSansSyriacEastern.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #07090d;
  --panel: #10141c;
  --panel-2: #161c27;
  --line: #232b38;
  --line-soft: #1a212c;
  --brass: #c9a15c;
  --brass-dim: #8a713f;
  --ash: #7c8a9e;
  --bone: #eef1f6;
  --danger: #d9635a;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-panel: 0 12px 36px rgba(0, 0, 0, 0.45);

  --font-display: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --font-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

:root[lang="aii"] {
  --font-display: 'Noto Sans Syriac Eastern', 'Estrangelo Edessa', 'East Syriac Adiabene', 'Palatino Linotype', Georgia, serif;
  --font-ui: 'Noto Sans Syriac Eastern', 'Estrangelo Edessa', 'East Syriac Adiabene', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

:root[lang="aii"] body { line-height: 1.75; }
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; overflow: hidden; }

html { -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font-ui);
  background-color: var(--ink);
  color: var(--bone);
  height: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

button {
  font-family: inherit;
  color: inherit;
  -webkit-user-select: none;
  user-select: none;
}

input {
  font-family: inherit;
}

:focus-visible {
  outline: 1.5px solid var(--brass);
  outline-offset: 3px;
}

.empty-note {
  color: var(--ash);
  font-size: 0.9rem;
}

#app {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
}

@media (max-width: 640px) {
  #app { padding: 0 14px; }
}
