/* ============================================================
   Owners' suite, cinematic skin.
   Same room, same tools; the casino brass is gone. It now matches the rest of the site:
   midnight navy, amber-gold light, hairline glass, Sora + IBM Plex Mono.
   Loaded after owners.css, owners-dark.css and cine.css; the room is always in this (dark) theme.
   ============================================================ */

#owners,
#owners.ow-dark {
  color-scheme: dark;
  --gold: linear-gradient(180deg, #fff0c4 0%, #ffd98a 34%, #ffb84a 62%, #ff8a2a 100%);
  --gold-bright: linear-gradient(135deg, #ffe3a3, #ffb84a 60%, #ff8a2a);
  --gold-flat: #ffb84a;
  --red: #ff7a1f;
  --paper: #04060d;
  --line: rgba(255, 184, 74, 0.34);
  --line-soft: rgba(255, 184, 74, 0.14);
  --glass: rgba(10, 18, 38, 0.74);
  --display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-family: "Sora", "Helvetica Neue", Arial, sans-serif;
  background: #04060d;
  color: #e9edf7;
}
#owners :focus-visible { outline-color: #ffd98a; }

/* the theme switch is retired: one look */
#owners .ow__theme,
#owners .ow__theme--gate { display: none !important; }

/* ---------- atmosphere: the orbit scene, held dark behind everything ---------- */
#owners .ow__bg {
  background: #04060d url(media/orbit.webp) center / cover no-repeat;
}
#owners .ow__bg::before,
#owners.ow-dark .ow__bg::before {
  background:
    radial-gradient(120% 90% at 50% 38%, rgba(4, 6, 13, 0.28) 10%, rgba(4, 6, 13, 0.86) 100%),
    linear-gradient(180deg, rgba(4, 6, 13, 0.74) 0%, rgba(4, 6, 13, 0.5) 38%, rgba(4, 6, 13, 0.88) 100%);
}
#owners .ow__rays,
#owners .ow__floor,
#owners .ow__spark,
#owners .ow__bulbs,
#owners .ow__stars,
#owners .ow__marquee::before,
#owners .ow__marquee::after { display: none !important; }
#owners .ow__scan,
#owners.ow-dark .ow__scan { background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 3px); }

/* ---------- type ---------- */
#owners .ow-gold {
  background: var(--gold) 0 0 / 100% 1lh repeat-y;
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 18px rgba(255, 150, 40, 0.28));
}
#owners .ow__hello h1,
#owners .ow__title,
#owners .ow__sechead h2,
#owners .ow__brand b {
  font-family: "Sora", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  font-style: normal;
}
#owners .ow__hello h1 { font-weight: 600; line-height: 1.04; }
#owners .ow__script,
#owners.ow-dark .ow__script {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #ffb84a;
  text-shadow: none;
}
#owners .ow__hello .ow__script { font-size: 0.74rem; margin-bottom: 14px; }
#owners .ow__hello p,
#owners.ow-dark .ow__hello p { color: rgba(233, 237, 247, 0.66); }
#owners .ow-mono { font-family: var(--mono); }

/* ---------- top bar ---------- */
#owners .ow__brand .mark {
  background: none; box-shadow: none; border: 0;
  width: 38px; height: 38px; border-radius: 0;
  font-size: 0;
  background: url(brand/mark-light.svg) center / contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(255, 150, 40, 0.5));
}
#owners .ow__brand b { font-size: 1.05rem; }
#owners .ow__barright .ow__btn { backdrop-filter: none; }

/* ---------- buttons, fields ---------- */
#owners .ow__btn {
  font-family: var(--mono);
  border-radius: 999px;
  border: 1px solid var(--line);
}
#owners.ow-dark .ow__btn:not(.ow__btn--solid) { color: #ffd98a; background: rgba(10, 18, 38, 0.6); }
#owners.ow-dark .ow__btn:not(.ow__btn--solid):hover { background: rgba(255, 184, 74, 0.16); border-color: #ffb84a; box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45); }
#owners .ow__btn--solid,
#owners.ow-dark .ow__btn--solid {
  background: linear-gradient(135deg, #ffe3a3, #ffb84a 62%, #ff8a2a);
  color: #1a0f02;
  border-color: transparent;
  text-shadow: none;
  box-shadow: 0 10px 30px -8px rgba(255, 150, 40, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
#owners .ow__btn--solid:hover { filter: brightness(1.06); transform: translateY(-1px); }
#owners.ow-dark .ow__field-in,
#owners.ow-dark .ow__sel,
#owners.ow-dark .ow__input {
  color: #ffe9b8; background-color: #060a16;
  border-color: rgba(255, 184, 74, 0.28);
  border-radius: 12px;
}
#owners.ow-dark .ow__input:focus,
#owners.ow-dark .ow__field-in:focus { border-color: #ffb84a; box-shadow: 0 0 0 3px rgba(255, 184, 74, 0.18); }
#owners.ow-dark .ow__sel option { background: #0a1226; color: #ffe9b8; }
#owners.ow-dark .ow__toggle:checked { background: rgba(255, 184, 74, 0.4); }
#owners.ow-dark .ow__toggle:checked::after { background: #ffb84a; }
#owners.ow-dark .ow__toast { background: #0a1226; color: #ffd98a; border: 1px solid var(--line); }

/* ---------- glass panels ---------- */
#owners.ow-dark .ow__plaque,
#owners.ow-dark .ow__card,
#owners.ow-dark .ow__coin,
#owners.ow-dark .ow__chart,
#owners.ow-dark .ow__wchip,
#owners.ow-dark .ow__qbox,
#owners.ow-dark .ow__side,
#owners.ow-dark .ow__col {
  background: linear-gradient(160deg, rgba(12, 19, 40, 0.8), rgba(5, 9, 21, 0.72));
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 70px -30px rgba(0, 0, 0, 0.8);
}
#owners.ow-dark .ow__wchip { border-radius: 999px; }
#owners.ow-dark .ow__table,
#owners.ow-dark .ow__tape {
  background: rgba(8, 14, 30, 0.6);
  border-color: var(--line-soft);
  border-radius: 16px;
}
#owners.ow-dark .ow__row--head { background: rgba(255, 184, 74, 0.08); }
#owners.ow-dark .ow__brackets > i { border-color: rgba(255, 217, 138, 0.6); }
#owners .ow__col::before { color: rgba(255, 184, 74, 0.08); font-family: "Sora", sans-serif; }
#owners.ow-dark .ow__plaque .val {
  background: linear-gradient(180deg, #fff0c4 0%, #ffd98a 36%, #ffb84a 64%, #ff8a2a 100%) 0 0 / 100% 1lh repeat-y;
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 14px rgba(255, 150, 40, 0.3));
  font-family: "Sora", sans-serif; font-weight: 600; letter-spacing: -0.03em;
}
#owners.ow-dark .ow__plaque .lab,
#owners.ow-dark .ow__col h3,
#owners.ow-dark .ow__sechead .ow-mono { color: #ffb84a; }
#owners.ow-dark .ow__sechead { border-color: var(--line-soft); }
#owners .ow__sechead::before,
#owners .ow__sechead h2::before { color: #ffb84a; }
#owners.ow-dark .ow__card button.sign,
#owners .ow__card button.sign { background: var(--gold-bright); color: #1a0f02; border-color: transparent; }
#owners.ow-dark .ow__wchip button[aria-pressed="true"],
#owners.ow-dark .ow__x:hover,
#owners.ow-dark .ow__wchip button.x:hover { color: #ffb84a; }
#owners.ow-dark .ow__wchip:has(button[aria-pressed="true"]) { border-color: #ffb84a; }
#owners.ow-dark .ow__boot { color: #ffd98a; }
#owners.ow-dark .dk__tab[aria-selected="true"] { color: #ffd98a; border-bottom-color: #ffb84a; }
#owners.ow-dark .dk__pill--new { background: rgba(255, 184, 74, 0.2); color: #ffd98a; }
#owners.ow-dark .dk__pill--due { background: rgba(255, 122, 31, 0.18); color: #ff9a55; }
#owners.ow-dark .dk__prev { background: rgba(255, 184, 74, 0.07); }
#owners.ow-dark .dk__bar { background: rgba(255, 184, 74, 0.2); }

/* ---------- the door (passphrase) ---------- */
#owners .ow__marquee,
#owners.ow-dark .ow__marquee {
  background: linear-gradient(160deg, rgba(12, 19, 40, 0.78), rgba(5, 9, 21, 0.66));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 80px -30px rgba(255, 150, 40, 0.35);
  padding: 22px 34px 24px;
}
#owners .ow__marquee .ow__sign {
  background: none; border: 0; box-shadow: none; animation: none;
  font-family: "Sora", sans-serif; font-style: normal; font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 4.6rem); letter-spacing: -0.045em; line-height: 1.05;
  background: linear-gradient(180deg, #fff0c4 0%, #ffd98a 38%, #ffb84a 66%, #ff8a2a 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 22px rgba(255, 150, 40, 0.35));
  padding: 0;
}
#owners .ow__marquee .ow__script { margin-bottom: 6px; }
#owners.ow-dark .ow__term,
#owners .ow__term {
  background: linear-gradient(160deg, rgba(12, 19, 40, 0.8), rgba(5, 9, 21, 0.72));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 40px 90px -30px rgba(0, 0, 0, 0.85);
}
#owners.ow-dark .ow__term.is-denied { border-color: #ff7a1f; box-shadow: 0 0 60px rgba(255, 122, 31, 0.45), inset 0 0 60px rgba(255, 122, 31, 0.08); }
#owners.ow-dark .ow__term.is-ok { border-color: #ffd98a; box-shadow: 0 0 70px rgba(255, 184, 74, 0.5); }
#owners.ow-dark .ow__stamp { background: rgba(8, 14, 30, 0.92); border-color: var(--line); }
#owners .ow__top { font-family: var(--mono); }
#owners .ow__top .ow-live::before { background: #ffb84a; box-shadow: 0 0 10px #ffb84a; }

/* the lift doors: brushed midnight steel with an amber seam */
#owners.ow-dark .ow__door {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, rgba(0, 0, 0, 0.1) 1px 4px),
    linear-gradient(180deg, #121a30 0%, #0a1226 50%, #060a16 100%);
}
#owners .ow__door--l { border-right: 1px solid rgba(255, 184, 74, 0.5); }
#owners .ow__door--r { border-left: 1px solid rgba(255, 184, 74, 0.5); }
#owners .ow__door::after { background: linear-gradient(90deg, rgba(255, 184, 74, 0.1), rgba(255, 217, 138, 0.75) 50%, rgba(255, 184, 74, 0.1)); width: 2px; }
#owners .ow__seal { filter: hue-rotate(0deg); }

/* gains/losses stay readable and on-palette */
#owners.ow-dark .up { color: #6fe3b0 !important; }
#owners.ow-dark .dn { color: #ff8a5c !important; }

@media (max-width: 560px) {
  #owners .ow__marquee,
  #owners.ow-dark .ow__marquee { padding: 16px 20px 18px; border-radius: 18px; width: calc(100% - 32px); margin-left: auto; margin-right: auto; text-align: center; }
  #owners .ow__marquee .ow__sign { display: block; width: 100%; margin: 0; text-align: center; }
}
