/* ============================================================
   Owners' suite: the high limit room.
   Black glass, brass, hunter green, a little neon.
   ============================================================ */
#owners {
  --gold: linear-gradient(180deg, #d9ab45 0%, #b5821f 38%, #6d4808 52%, #a8771a 62%, #d6a63d 100%);
  --gold-bright: linear-gradient(180deg, #fff3c4 0%, #f0cf7e 30%, #d2a13c 52%, #a87618 56%, #e6bf62 80%, #fff0b8 100%);
  --gold-flat: #946610;
  --red: #c8102e;
  --red-deep: #7a0a1d;
  --paper: #f8f0dc;
  --script: "Yellowtail", "Brush Script MT", "Segoe Script", cursive;
  --line: rgba(168, 118, 26, 0.55);
  --line-soft: rgba(168, 118, 26, 0.22);
  --glass: rgba(255, 255, 255, 0.86);
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  position: fixed; inset: 0; z-index: 9000;
  background: var(--paper); color: #2a2320;
  font-family: var(--text);
  overflow: hidden;
  opacity: 0; transition: opacity 0.45s ease;
}
#owners[hidden] { display: none; }
#owners.is-open { opacity: 1; }
html.owners-open body { overflow: hidden; }

.ow-gold {
  background: var(--gold) 0 0 / 100% 1lh repeat-y;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9)) drop-shadow(0 2px 2px rgba(110, 72, 8, 0.22));
}
.ow-mono { font-family: var(--mono); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.68rem; }

/* ---------- atmosphere ---------- */
.ow__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ow__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(200, 16, 46, 0.10), transparent 70%),
    radial-gradient(70% 50% at 50% 108%, rgba(212, 160, 50, 0.34), transparent 70%),
    linear-gradient(115deg, transparent 38%, rgba(168, 118, 26, 0.07) 39%, transparent 41%, transparent 63%, rgba(168, 118, 26, 0.06) 64%, transparent 66%),
    radial-gradient(120% 90% at 50% 50%, transparent 58%, rgba(120, 84, 30, 0.22) 100%),
    var(--paper);
}
.ow__floor {
  position: absolute; left: -60%; right: -60%; bottom: -8%; height: 62%;
  transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%;
  background-image:
    linear-gradient(rgba(168, 118, 26, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 118, 26, 0.24) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to top, #000 8%, transparent 88%);
  mask-image: linear-gradient(to top, #000 8%, transparent 88%);
  animation: ow-floor 7s linear infinite;
}
@keyframes ow-floor { to { background-position: 0 64px, 0 0; } }
.ow__scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(80, 50, 10, 0.022) 0 1px, transparent 1px 3px);
}
.ow__spark {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #e3a92f; box-shadow: 0 0 8px 2px rgba(226, 168, 48, 0.55);
  opacity: 0; animation: ow-twinkle 4.2s ease-in-out infinite;
}
@keyframes ow-twinkle { 0%, 100% { opacity: 0; transform: scale(0.4); } 50% { opacity: 0.95; transform: scale(1.25); } }

.ow__flash { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 50%, rgba(200, 16, 46, 0.22), rgba(200, 16, 46, 0.34)); }
.ow__flash.go { animation: ow-flash 0.7s ease-out; }
@keyframes ow-flash { 0% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- shared bits ---------- */
.ow__btn {
  appearance: none; cursor: pointer; font: inherit; font-family: var(--mono);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #7a4f0a; background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.7em 1.3em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.ow__btn:hover { background: #fff6dc; box-shadow: 0 6px 22px rgba(168, 118, 26, 0.28); border-color: #b5821f; }
.ow__btn--solid { background: var(--gold-bright); color: #2a1a02; border-color: #b5821f; font-weight: 700; box-shadow: 0 6px 22px rgba(168, 118, 26, 0.35); }
.ow__btn--solid:hover { background: var(--gold-bright); filter: brightness(1.07); box-shadow: 0 8px 30px rgba(168, 118, 26, 0.5); }
.ow__btn:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.ow__btn--tiny { padding: 0.45em 0.9em; font-size: 0.62rem; }
#owners :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.ow__brackets > i { position: absolute; width: 18px; height: 18px; border: 0 solid #b5821f; pointer-events: none; }
.ow__brackets > i:nth-child(1) { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.ow__brackets > i:nth-child(2) { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.ow__brackets > i:nth-child(3) { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.ow__brackets > i:nth-child(4) { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

/* ---------- the door (password) ---------- */
.ow__gate {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px var(--gutter); gap: 22px; text-align: center;
  transition: opacity 0.6s ease, transform 0.8s ease;
}
.ow__gate.is-gone { opacity: 0; transform: scale(1.04); pointer-events: none; }
.ow__top {
  position: absolute; top: 18px; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; color: rgba(58, 44, 38, 0.6);
}
.ow__top .ow-live { display: inline-flex; align-items: center; gap: 0.6em; }
.ow__top .ow-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px rgba(200, 16, 46, 0.7); animation: ow-blink 1.6s steps(2) infinite; }
@keyframes ow-blink { 50% { opacity: 0.25; } }

.ow__sign {
  font-family: "Tilt Neon", var(--text); font-size: clamp(1.7rem, 6.2vw, 2.8rem); font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase; margin: 0; color: var(--red);
  text-shadow: 0 1px 0 #f4d98f, 0 2px 0 #b5821f, 0 0 14px rgba(200, 16, 46, 0.4), 0 0 38px rgba(200, 16, 46, 0.22);
  animation: ow-neon 7s infinite;
}
@keyframes ow-neon { 0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; } 20%, 63% { opacity: 0.55; } 21% { opacity: 0.9; } }

.ow__term {
  position: relative; width: min(92vw, 500px);
  padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 38px) clamp(24px, 4vw, 34px);
  background: linear-gradient(180deg, #ffffff, #faf5ea);
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 30px 80px rgba(90, 60, 10, 0.26), inset 0 0 60px rgba(212, 160, 50, 0.1), 0 0 0 4px rgba(255, 255, 255, 0.7), 0 0 0 5px rgba(168, 118, 26, 0.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s;
}
.ow__term::after { /* laser sweep */
  content: ""; position: absolute; left: 0; right: 0; height: 90px; top: -90px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(200, 16, 46, 0.04), rgba(200, 16, 46, 0.15) 92%, transparent);
  animation: ow-sweep 4.6s linear infinite;
}
@keyframes ow-sweep { to { transform: translateY(560px); } }
.ow__term.is-denied { border-color: var(--red); box-shadow: 0 30px 80px rgba(90, 60, 10, 0.26), 0 0 50px rgba(200, 16, 46, 0.45), inset 0 0 60px rgba(200, 16, 46, 0.1); animation: ow-shake 0.5s; }
.ow__term.is-ok { border-color: #d2a13c; box-shadow: 0 30px 80px rgba(90, 60, 10, 0.26), 0 0 60px rgba(226, 168, 48, 0.55); }
@keyframes ow-shake { 0%, 100% { transform: none; } 15% { transform: translateX(-12px); } 35% { transform: translateX(10px); } 55% { transform: translateX(-7px); } 75% { transform: translateX(4px); } }

.ow__ring { width: clamp(104px, 22vw, 138px); margin: 0 auto 12px; display: block; overflow: visible; }
.ow__ring .r1 { transform-origin: 60px 60px; animation: ow-spin 26s linear infinite; }
.ow__ring .r2 { transform-origin: 60px 60px; animation: ow-spin 14s linear infinite reverse; }
.ow__ring .r3 { transform-origin: 60px 60px; animation: ow-spin 40s linear infinite; }
@keyframes ow-spin { to { transform: rotate(360deg); } }
.ow__term.is-denied .ow__ring * { stroke: var(--red); }
.ow__term.is-ok .ow__ring * { stroke: #d2a13c; }

.ow__title { margin: 0 0 6px; font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 5.4vw, 2.3rem); line-height: 1.1; }
.ow__sub { margin: 0 0 20px; color: rgba(58, 44, 38, 0.62); font-size: 0.86rem; line-height: 1.55; }
.ow__form { display: grid; gap: 14px; }
.ow__field { position: relative; }
.ow__field label { display: block; text-align: left; margin-bottom: 8px; color: var(--gold-flat); }
.ow__input {
  width: 100%; font-family: var(--mono); font-size: 1.15rem; letter-spacing: 0.34em; text-align: center;
  color: #2a1a02; background: #fff;
  border: 1px solid var(--line); border-radius: 3px; padding: 15px 14px;
  caret-color: var(--red); box-shadow: inset 0 2px 10px rgba(120, 84, 30, 0.14);
}
.ow__input::placeholder { color: rgba(58, 44, 38, 0.25); letter-spacing: 0.34em; }
.ow__input:focus { outline: none; border-color: var(--red); box-shadow: inset 0 2px 10px rgba(120, 84, 30, 0.14), 0 0 0 3px rgba(200, 16, 46, 0.14); }
.ow__input:disabled { opacity: 0.4; }
.ow__status { min-height: 1.5em; margin: 2px 0 0; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(58, 44, 38, 0.55); }
.ow__status.bad { color: var(--red); }
.ow__status.good { color: var(--gold-flat); }
.ow__pips { display: flex; gap: 8px; justify-content: center; margin-top: 4px; }
.ow__pips i { width: 26px; height: 3px; background: rgba(168, 118, 26, 0.25); transition: background 0.2s, box-shadow 0.2s; }
.ow__pips i.on { background: var(--red); box-shadow: 0 0 10px rgba(200, 16, 46, 0.7); }

.ow__leave { position: absolute; top: 14px; right: var(--gutter); z-index: 6; }
.ow__gate .ow__top { right: calc(var(--gutter) + 110px); }

.ow__boot {
  display: none; text-align: left; font-family: var(--mono); font-size: clamp(0.7rem, 2.6vw, 0.82rem); line-height: 1.9;
  color: #3a2c26; letter-spacing: 0.04em; min-height: 11.5em; white-space: pre-wrap;
}
.ow__term.is-booting .ow__form, .ow__term.is-booting .ow__sub, .ow__term.is-booting .ow__pips, .ow__term.is-booting .ow__status { display: none; }
.ow__term.is-booting .ow__boot { display: block; }

/* ---------- vault doors ---------- */
.ow__doors { position: absolute; inset: 0; z-index: 3; display: none; pointer-events: none; }
.ow__doors.is-on { display: block; }
.ow__door {
  position: absolute; top: 0; bottom: 0; width: 50.15%;
  background:
    repeating-linear-gradient(45deg, rgba(168, 118, 26, 0.3) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(-45deg, rgba(168, 118, 26, 0.3) 0 1px, transparent 1px 46px),
    radial-gradient(90% 70% at 50% 40%, #ffffff, #f6eedd 70%, #e9dcc0);
  transition: transform 1.5s cubic-bezier(0.72, 0, 0.2, 1);
  box-shadow: 0 0 80px rgba(90, 60, 10, 0.45);
}
.ow__door--l { left: 0; border-right: 3px solid #c9a24f; }
.ow__door--r { right: 0; border-left: 3px solid #c9a24f; }
.ow__door::after { content: ""; position: absolute; top: 0; bottom: 0; width: 10px; background: linear-gradient(90deg, #7a5410, #f6df97 45%, #8a6014); }
.ow__door--l::after { right: 8px; } .ow__door--r::after { left: 8px; }
.ow__doors.is-open .ow__door--l { transform: translateX(-101%); }
.ow__doors.is-open .ow__door--r { transform: translateX(101%); }
.ow__seal {
  position: absolute; left: 50%; top: 50%; width: clamp(110px, 20vw, 170px); aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; display: grid; place-items: center; z-index: 2;
  background: radial-gradient(circle at 35% 30%, #ff7488, #c8102e 45%, #7a0a1d 80%, #3d0510);
  box-shadow: 0 0 0 5px #fbf9f5, 0 0 0 8px #b5821f, 0 14px 50px rgba(90, 20, 20, 0.5), 0 0 70px rgba(226, 168, 48, 0.4);
  font-family: var(--display); font-size: clamp(2.6rem, 8vw, 4.2rem); font-style: italic; color: #ffe7a6;
  transition: opacity 0.5s, transform 0.9s cubic-bezier(0.6, 0, 0.3, 1); transform: rotate(0);
}
.ow__doors.is-open .ow__seal { opacity: 0; transform: rotate(180deg) scale(0.7); }

/* ---------- the suite ---------- */
.ow__suite { position: absolute; inset: 0; z-index: 2; overflow-y: auto; overflow-x: hidden; visibility: hidden; opacity: 0; transition: opacity 0.9s ease 0.35s; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.ow__suite.is-on { visibility: visible; opacity: 1; }
.ow__inner { max-width: 1180px; margin: 0 auto; padding: 22px var(--gutter) 70px; }

.ow__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.ow__brand { display: flex; align-items: center; gap: 14px; }
.ow__brand .mark {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ff7488, #c8102e 48%, #6a0818 85%); color: #ffe7a6;
  font-family: var(--display); font-style: italic; font-size: 1.35rem; box-shadow: 0 0 0 2px #fbf9f5, 0 0 0 3px #b5821f;
}
.ow__brand b { font-family: var(--display); font-weight: 500; font-size: 1.25rem; display: block; line-height: 1.1; }
.ow__brand span { color: rgba(58, 44, 38, 0.55); }
.ow__barright { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: rgba(58, 44, 38, 0.6); }

.ow__hello { padding: clamp(30px, 6vw, 56px) 0 clamp(22px, 4vw, 34px); }
.ow__hello h1 { margin: 0 0 8px; font-family: var(--display); font-weight: 500; font-size: clamp(2.3rem, 7vw, 4.4rem); line-height: 1.04; }
.ow__hello p { margin: 0; color: rgba(58, 44, 38, 0.66); max-width: 52ch; }

.ow__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.ow__plaque {
  position: relative; padding: 22px 22px 20px; min-height: 148px;
  background: linear-gradient(180deg, #ffffff, #f8f0df);
  border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(110, 72, 8, 0.16), inset 0 1px 0 #fff;
}
.ow__plaque::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 80% -10%, rgba(200, 16, 46, 0.08), transparent 60%); pointer-events: none; }
.ow__plaque .lab { color: var(--gold-flat); display: block; margin-bottom: 12px; }
.ow__plaque .val {
  display: block; font-family: var(--display); font-weight: 700; font-optical-sizing: none; font-variation-settings: "opsz" 14;
  font-size: clamp(2.3rem, 5.4vw, 3.6rem); line-height: 1.05; font-variant-numeric: lining-nums tabular-nums;
  -webkit-text-stroke: 0.022em #d2a13c; paint-order: stroke fill;
  background: linear-gradient(180deg, #e8404f 0%, #c8102e 42%, #7a0a1d 54%, #b30f29 100%) 0 0 / 100% 1lh repeat-y;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 2px rgba(122, 10, 29, 0.2));
}
.ow__plaque .nt { display: block; margin-top: 8px; color: rgba(58, 44, 38, 0.5); font-size: 0.78rem; }
.ow__chips { position: absolute; right: 14px; bottom: 12px; width: 74px; height: 80px; opacity: 0.95; }

.ow__sec { margin-top: clamp(40px, 7vw, 72px); }
.ow__sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.ow__sechead h2 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.ow__sechead .ow-mono { color: rgba(58, 44, 38, 0.5); }

/* roster */
.ow__table { border: 1px solid var(--line); border-radius: 3px; background: var(--glass); }
.ow__row { display: grid; grid-template-columns: minmax(0, 1.8fr) 120px 110px 84px 110px 44px; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.ow__row:last-child { border-bottom: 0; }
.ow__row--head { color: var(--gold-flat); padding-top: 12px; padding-bottom: 12px; background: rgba(212, 160, 50, 0.14); }
.ow__name { font-family: var(--display); font-size: 1.12rem; line-height: 1.25; }
.ow__name small { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-flat); vertical-align: middle; }
.ow__field-in, .ow__sel {
  width: 100%; font-family: var(--mono); font-size: 0.86rem; color: #3a2200; background: #fff;
  border: 1px solid rgba(168, 118, 26, 0.35); border-radius: 3px; padding: 9px 10px;
}
.ow__field-in:focus, .ow__sel:focus { outline: none; border-color: var(--red); }
.ow__sel { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #c9a24f 50%), linear-gradient(135deg, #c9a24f 50%, transparent 50%); background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 26px; }
.ow__sel option { background: #fff; color: #3a2200; }
.ow__toggle { appearance: none; -webkit-appearance: none; width: 46px; height: 24px; border-radius: 99px; background: #ebe4d4; border: 1px solid var(--line); position: relative; cursor: pointer; transition: background 0.2s; margin: 0; }
.ow__toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #b4a78f; transition: transform 0.2s, background 0.2s; }
.ow__toggle:checked { background: rgba(212, 160, 50, 0.4); }
.ow__toggle:checked::after { transform: translateX(22px); background: var(--red); box-shadow: 0 0 10px rgba(200, 16, 46, 0.55); }
.ow__x { appearance: none; background: none; border: 1px solid transparent; color: rgba(58, 44, 38, 0.45); cursor: pointer; font-size: 1.1rem; line-height: 1; border-radius: 50%; width: 32px; height: 32px; }
.ow__x:hover { color: var(--red); border-color: rgba(200, 16, 46, 0.5); }
.ow__empty { padding: 26px 18px; color: rgba(58, 44, 38, 0.5); text-align: center; font-size: 0.9rem; }
.ow__add { display: grid; grid-template-columns: minmax(0, 1.8fr) 110px 110px auto; gap: 12px; margin-top: 14px; align-items: end; }
.ow__add label { display: block; margin-bottom: 6px; color: var(--gold-flat); }

/* the plan (heist board) */
.ow__board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ow__col { background: var(--glass); border: 1px solid var(--line); border-radius: 3px; padding: 14px; min-height: 180px; position: relative; }
.ow__col h3 { margin: 0 0 12px; display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-flat); }
.ow__col h3 em { font-style: normal; color: rgba(58, 44, 38, 0.4); }
.ow__col::before { content: attr(data-n); position: absolute; right: 12px; bottom: 6px; font-family: var(--display); font-size: 4.4rem; line-height: 1; color: rgba(168, 118, 26, 0.12); pointer-events: none; }
.ow__card { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 12px; margin-bottom: 8px; background: #fffaf0; border: 1px solid var(--line-soft); border-left: 3px solid var(--red); border-radius: 2px; position: relative; z-index: 1; }
.ow__card span { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 0.92rem; }
.ow__card button { appearance: none; background: none; border: 1px solid var(--line-soft); color: #7a4f0a; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 0.8rem; flex: none; }
.ow__card button:hover { background: rgba(212, 160, 50, 0.25); }
.ow__card button.sign { width: auto; padding: 0 12px; border-radius: 99px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; background: var(--gold-bright); color: #2a1a02; border-color: #b5821f; font-weight: 700; }
.ow__col .hint { color: rgba(58, 44, 38, 0.35); font-size: 0.82rem; margin: 4px 2px; }
.ow__newrow { display: flex; gap: 10px; margin-top: 14px; }
.ow__newrow .ow__field-in { flex: 1; }

/* quote desk */
.ow__quote { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; }
.ow__qbox { background: var(--glass); border: 1px solid var(--line); border-radius: 3px; padding: 22px; position: relative; }
.ow__stepper { display: flex; align-items: center; gap: 18px; margin: 12px 0 6px; }
.ow__stepper button { width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; line-height: 1; padding: 0; }
.ow__stepper output { font-family: var(--display); font-weight: 700; font-size: 3rem; min-width: 1.4ch; text-align: center; font-variation-settings: "opsz" 14; }
.ow__qout { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; margin: 8px 0 18px; }
.ow__qout b { font-weight: 700; font-variation-settings: "opsz" 14; }
.ow__qtext { color: rgba(58, 44, 38, 0.55); font-size: 0.9rem; margin: 0 0 16px; }

/* door log */
.ow__log { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 3px; background: var(--glass); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; }
.ow__log li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); color: rgba(58, 44, 38, 0.7); }
.ow__log li:last-child { border-bottom: 0; }
.ow__log .ok { color: var(--gold-flat); } .ow__log .no { color: var(--red); }
.ow__foot { margin-top: 56px; text-align: center; color: rgba(58, 44, 38, 0.38); }

.ow__toast { position: fixed; left: 50%; bottom: 26px; translate: -50% 20px; z-index: 12; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #7a4f0a; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity 0.3s, translate 0.3s; box-shadow: 0 10px 40px rgba(90, 60, 10, 0.3); }
.ow__toast.on { opacity: 1; translate: -50% 0; }

/* nav entry */
.hero__nav .navlink { appearance: none; background: none; border: 0; border-bottom: 1px solid transparent; font: inherit; font-weight: 500; color: var(--silver); cursor: pointer; padding: 4px 0; display: inline-flex; align-items: center; gap: 6px; }
.hero__nav .navlink:hover { border-bottom-color: var(--brass); color: #fff; }
.navlink svg { width: 11px; height: 13px; flex: none; }
.footer .navlink { appearance: none; background: none; border: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; padding: 0; margin-right: 18px; }

@media (max-width: 900px) {
  .ow__stats, .ow__board, .ow__quote { grid-template-columns: minmax(0, 1fr); }
  .ow__plaque { min-height: 0; }
  .ow__row--head { display: none; }
  .ow__row { grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 16px; }
  .ow__row > .ow__name { grid-column: 1 / -1; }
  .ow__row > [data-l]::before { content: attr(data-l); display: block; margin-bottom: 5px; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-flat); }
  .ow__row > .ow__x { justify-self: end; grid-column: 2; }
  .ow__add { grid-template-columns: 1fr 1fr; }
  .ow__add > :first-child, .ow__add > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ow__top .hide-s { display: none; }
  .ow__gate .ow__top { right: calc(var(--gutter) + 92px); }
  .ow__newrow { flex-direction: column; }
  .ow__bar .ow__barright .ow__clock { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ow__floor, .ow__spark, .ow__sign, .ow__term::after, .ow__ring *, .ow__top .ow-live::before { animation: none !important; }
  .ow__rays, .ow__marquee::before, .ow__bulbs::before, .ow__bulbs::after { animation: none !important; }
  .ow__door, .ow__seal, .ow__suite, #owners { transition-duration: 0.01s !important; transition-delay: 0s !important; }
}

/* ============================================================
   New Vegas: the Lucky 38 penthouse.
   Sunburst rays, marquee bulbs, an elevator, amber CRT type.
   ============================================================ */
#owners { background: var(--paper); }
.ow__bg::before {
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(200, 16, 46, 0.12), transparent 70%),
    radial-gradient(90% 55% at 50% 108%, rgba(232, 128, 44, 0.42), rgba(212, 160, 50, 0.16) 55%, transparent 75%),
    radial-gradient(120% 90% at 50% 50%, transparent 58%, rgba(120, 76, 24, 0.26) 100%),
    var(--paper);
}
.ow__floor { display: none; }
.ow__rays {
  position: absolute; left: 50%; bottom: -70vmax; width: 140vmax; height: 140vmax; translate: -50% 0; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(226, 150, 40, 0.26) 0 5deg, transparent 5deg 12deg);
  -webkit-mask-image: radial-gradient(circle closest-side, #000 0%, rgba(0, 0, 0, 0.5) 42%, transparent 72%);
  mask-image: radial-gradient(circle closest-side, #000 0%, rgba(0, 0, 0, 0.5) 42%, transparent 72%);
  animation: ow-rays 120s linear infinite;
}
@keyframes ow-rays { to { rotate: 360deg; } }

/* mono sizes tuned for IBM Plex Mono */
.ow-mono { font-size: 0.7rem; letter-spacing: 0.18em; }
.ow__btn { font-size: 0.72rem; letter-spacing: 0.14em; }
.ow__btn--tiny { font-size: 0.64rem; }
.ow__status { font-size: 0.74rem; }
.ow__input { font-size: 1.2rem; }
.ow__boot { font-size: clamp(0.72rem, 2.8vw, 0.86rem); line-height: 1.85; color: #4a2410; }
.ow__field-in, .ow__sel { font-size: 0.9rem; }
.ow__log { font-size: 0.8rem; }
.ow__col h3 { font-size: 0.74rem; }
.ow__toast { font-size: 0.74rem; }
.ow__name small { font-size: 0.6rem; }
.ow__card button.sign { font-size: 0.64rem; }
@media (max-width: 900px) { .ow__row > [data-l]::before { font-size: 0.62rem; } }

/* marquee sign */
.ow__marquee {
  position: relative; text-align: center; margin: 18px 0 6px;
  padding: 16px clamp(30px, 7vw, 58px) 12px;
  background: linear-gradient(180deg, #fffdf4, #f7e8c2);
  border: 3px solid #b5821f; border-radius: 10px;
  box-shadow: 0 0 0 2px #fff, 0 22px 50px rgba(150, 80, 10, 0.32), inset 0 0 26px rgba(226, 168, 48, 0.4);
}
.ow__marquee::before {
  content: ""; position: absolute; inset: -22px; padding: 18px; border-radius: 16px; pointer-events: none;
  background: radial-gradient(circle at center, #fffbe4 0 2.5px, #ffc93c 3px 5.6px, rgba(255, 150, 20, 0.35) 6.4px, transparent 9px) 0 0 / 18px 18px space;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: ow-bulbs 1.1s steps(2) infinite;
}
@keyframes ow-bulbs { 0%, 100% { opacity: 1; filter: brightness(1.1); } 50% { opacity: 0.62; filter: brightness(0.9); } }
.ow__script { display: block; font-family: var(--script); font-size: clamp(1.35rem, 4.4vw, 1.9rem); color: var(--red); line-height: 1.1; text-shadow: 0 0 12px rgba(200, 16, 46, 0.28); }
.ow__sign {
  font-family: var(--script); font-size: clamp(3rem, 12vw, 5.2rem); font-weight: 400; letter-spacing: 0.01em; text-transform: none; line-height: 1; margin: 2px 0 0;
  color: #e0122f;
  text-shadow: 0 1px 0 #ffd6dc, 0 0 6px rgba(255, 90, 110, 0.9), 0 0 20px rgba(224, 18, 47, 0.55), 0 0 46px rgba(224, 18, 47, 0.32);
}
.ow__stars { display: block; color: #b5821f; letter-spacing: 0.7em; font-size: 0.8rem; margin: 4px 0 0 0.7em; }
.ow__gate { gap: 30px; }
.ow__title { font-size: clamp(1.5rem, 4.6vw, 2rem); }

/* the elevator */
.ow__door {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0 1px, rgba(120, 80, 10, 0.07) 1px 4px),
    linear-gradient(180deg, #fbebb0 0%, #e2bb55 36%, #b98a2a 50%, #e9c96c 68%, #f8e39a 100%);
  box-shadow: 0 0 80px rgba(110, 60, 8, 0.5);
}
.ow__door::before { content: ""; position: absolute; inset: 14% 12% 12%; border: 1px solid rgba(110, 72, 8, 0.5); box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.16), inset 0 0 40px rgba(120, 80, 10, 0.25); }
.ow__seal { width: clamp(84px, 13vw, 118px); font-size: clamp(2rem, 5.6vw, 3rem); top: 56%; }
.ow__elev {
  position: absolute; top: 0; left: 50%; translate: -50% 0; z-index: 3; text-align: center; padding: 10px 28px 8px;
  background: #1c0f06; border: 2px solid #b5821f; border-top: 0; border-radius: 0 0 16px 16px; color: #ffcf6a;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5); transition: opacity 0.5s 0.2s;
}
.ow__elev .ow-mono { display: block; font-size: 0.62rem; letter-spacing: 0.3em; opacity: 0.8; }
.ow__elev b { display: block; font-family: var(--mono); font-weight: 400; font-size: 3.2rem; line-height: 1; min-width: 2ch; text-shadow: 0 0 14px rgba(255, 170, 40, 0.85); }
.ow__doors.is-open .ow__elev { opacity: 0; }

/* the room */
.ow__bulbs { position: relative; height: 22px; margin-top: 14px; }
.ow__bulbs::before, .ow__bulbs::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 11px 11px, #fffbe4 0 2px, #ffc93c 2.6px 5px, rgba(255, 150, 20, 0.35) 5.6px, transparent 8.5px) 0 0 / 44px 22px repeat-x;
  animation: ow-bulbs 1.1s steps(2) infinite;
}
.ow__bulbs::after { background-position: 22px 0; animation-delay: 0.55s; }
.ow__bar { border-bottom: 0; padding-bottom: 0; }
.ow__hello { padding-top: clamp(22px, 4vw, 40px); }
.ow__hello .ow__script { font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: 2px; }
.ow__plaque::after { content: "\2726"; position: absolute; top: 12px; right: 16px; font-size: 1.1rem; color: rgba(181, 130, 31, 0.55); }
.ow__sechead h2::before { content: "\2605"; font-size: 0.42em; margin-right: 0.7em; vertical-align: 0.35em; -webkit-text-fill-color: var(--red); color: var(--red); }
.ow__foot { font-size: 0.7rem; }

.ow__ring { width: clamp(76px, 13vh, 118px); margin-bottom: 6px; }
.ow__gate { gap: clamp(18px, 3.4vh, 30px); padding-top: 54px; padding-bottom: 20px; overflow-y: auto; }
.ow__gate > .ow__marquee, .ow__gate > .ow__term { flex: none; }
.ow__gate > .ow__marquee { margin-top: auto; }
.ow__gate > .ow__term { margin-bottom: auto; }
.ow__boot { min-height: 9.6em; }
.ow__sub { margin-bottom: 16px; }
@media (max-height: 760px) { .ow__sub { display: none; } .ow__term { padding-top: 18px; padding-bottom: 20px; } }

/* ---------- family rows ---------- */
.ow__comp { display: inline-block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-flat); padding: 9px 0; }

/* ---------- denied stamp ---------- */
.ow__stamp {
  position: absolute; left: 50%; top: 46%; z-index: 5; pointer-events: none; text-align: center;
  translate: -50% -50%; rotate: -11deg; opacity: 0;
  padding: 10px 26px 12px; border: 4px double var(--red); border-radius: 8px;
  color: var(--red); background: rgba(255, 250, 244, 0.86);
  box-shadow: 0 10px 30px rgba(122, 10, 29, 0.18);
}
.ow__stamp b { display: block; font-family: var(--display); font-size: clamp(2.4rem, 9vw, 3.4rem); line-height: 1; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400; }
.ow__stamp span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ow__stamp.go { animation: ow-stamp 2.3s cubic-bezier(0.2, 0.9, 0.25, 1) both; }
@keyframes ow-stamp {
  0% { opacity: 0; scale: 2.6; filter: blur(4px); }
  9% { opacity: 1; scale: 0.94; filter: blur(0); }
  14% { scale: 1.02; }
  18%, 78% { opacity: 1; scale: 1; }
  100% { opacity: 0; scale: 1; }
}

/* ---------- trading floor ---------- */
.ow__tape { height: 46px; margin: 0 0 16px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); overflow: hidden; background: rgba(255, 255, 255, 0.55); }
.ow__mgrid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; }
.ow__mgrid--b { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); margin-top: 16px; }
.ow__chart { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 3px; display: flex; flex-direction: column; height: clamp(420px, 60vh, 560px); box-shadow: 0 16px 40px rgba(110, 72, 8, 0.12); }
.ow__chartbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); color: var(--gold-flat); }
.ow__live { display: inline-flex; align-items: center; gap: 0.6em; color: var(--red); }
.ow__live span { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px rgba(200, 16, 46, 0.7); animation: ow-blink 1.6s steps(2) infinite; }
.ow__chartbody { flex: 1; min-height: 0; }
.ow__side { display: grid; gap: 16px; align-content: start; }
.ow__lab { display: block; color: var(--gold-flat); margin-bottom: 12px; }
.ow__watch { display: flex; flex-wrap: wrap; gap: 8px; }
.ow__wchip { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.ow__wchip button { appearance: none; border: 0; background: none; cursor: pointer; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; color: #3a2200; padding: 7px 4px 7px 12px; }
.ow__wchip button.x { padding: 7px 10px 7px 6px; color: rgba(58, 44, 38, 0.4); font-size: 0.9rem; }
.ow__wchip button.x:hover { color: var(--red); }
.ow__wchip button[aria-pressed="true"] { color: var(--red); font-weight: 500; }
.ow__wchip:has(button[aria-pressed="true"]) { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08); }
.ow__broker { display: block; text-align: center; text-decoration: none; margin-top: 12px; }
.ow__broker[hidden] { display: none; }
.ow__coins { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.ow__coin {
  appearance: none; cursor: pointer; text-align: left; font: inherit; color: inherit; display: grid; gap: 4px;
  background: linear-gradient(180deg, #fff, #faf3e4); border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px 10px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.ow__coin:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(110, 72, 8, 0.16); border-color: #b5821f; }
.ow__coin .top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.ow__coin .top b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.ow__coin .top .ow-mono { font-size: 0.58rem; color: rgba(58, 44, 38, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ow__coin .px { font-family: var(--mono); font-size: 0.98rem; color: #2a1a02; }
.ow__coin .chg { font-family: var(--mono); font-size: 0.72rem; color: rgba(58, 44, 38, 0.45); }
.ow__coin svg { width: 100%; height: 30px; margin-top: 2px; }
.up { color: #1f8a55 !important; } .dn { color: var(--red) !important; }
.ow__sechead--in { margin-bottom: 6px; padding-bottom: 0; border: 0; }
.ow__sechead--in .ow__lab { margin: 0; }
.ow__prow { display: grid; grid-template-columns: 60px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.3fr) 32px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-family: var(--mono); font-size: 0.8rem; }
.ow__prow b { font-family: var(--display); font-weight: 400; font-size: 1.05rem; }
.ow__posadd { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 8px; margin-top: 14px; }
.ow__overview { display: flex; flex-direction: column; }
.ow__ovbody { flex: 1; min-height: 420px; }
.ow__off { padding: 22px; text-align: center; color: rgba(58, 44, 38, 0.55); font-size: 0.86rem; }
.ow__fine { margin: 14px 0 0; font-size: 0.74rem; color: rgba(58, 44, 38, 0.45); }
@media (max-width: 900px) {
  .ow__mgrid, .ow__mgrid--b { grid-template-columns: minmax(0, 1fr); }
  .ow__coins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ow__coins > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ow__posadd { grid-template-columns: 1fr 1fr; }
  .ow__prow { grid-template-columns: 50px minmax(0, 1fr) minmax(0, 1fr) 32px; }
  .ow__prow > span:nth-of-type(1) { display: none; }
}
