:root {
  --bg: #15121b; --card: #211c2a; --card2: #2b2436; --line: #3a3147;
  --text: #f3eef7; --muted: #a99db8; --gold: #e9b949; --pink: #ec6f9f; --green: #5fd49b; --red: #ff6b6b;
  --tap: 60px; --r: 16px;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text);
  font: 17px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body { overscroll-behavior: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
#app { min-height: 100%; display: flex; flex-direction: column; }
.boot { margin: auto; color: var(--gold); font-size: 28px; font-weight: 800; letter-spacing: .5px; }

/* layout */
.screen { flex: 1; display: flex; flex-direction: column; padding: calc(var(--safe-t) + 14px) 16px calc(var(--safe-b) + 92px); }
.screen.nonav { padding-bottom: calc(var(--safe-b) + 16px); }
.grow { flex: 1; }
.top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; min-height: 44px; }
.top h1 { font-size: 24px; margin: 0; flex: 1; }
.top .x { width: 48px; height: 48px; border-radius: 50%; background: var(--card); font-size: 22px; }
h2 { font-size: 18px; margin: 18px 0 8px; color: var(--muted); font-weight: 600; text-transform: none; }
p { margin: 6px 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.row { display: flex; gap: 10px; align-items: center; }
.row > * { flex: 1; }
.stack > * + * { margin-top: 10px; }
.bottom { margin-top: auto; padding-top: 12px; }

/* cards */
.card { background: var(--card); border-radius: var(--r); padding: 14px 16px; margin-bottom: 10px; }
.card.hi { background: linear-gradient(135deg, #2e2340, #23202c); border: 1px solid #4a3b5c; }
.big { font-size: 40px; font-weight: 800; letter-spacing: -.5px; line-height: 1.1; }
.mid { font-size: 26px; font-weight: 750; }
.lbl { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.gold { color: var(--gold); } .pink { color: var(--pink); } .green { color: var(--green); } .red { color: var(--red); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.banner { background: #3b2d14; color: #ffd98a; border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; font-size: 15px; display: flex; gap: 10px; align-items: center; }
.banner button { color: var(--gold); font-weight: 700; padding: 8px; }

/* buttons */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: var(--tap);
  border-radius: var(--r); background: var(--card2); font-weight: 700; font-size: 18px; padding: 0 16px; }
.btn.primary { background: var(--gold); color: #1b1408; }
.btn.pink { background: var(--pink); color: #1d0a12; }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.btn.danger { background: #4a1f25; color: #ffb3b3; }
.btn.small { min-height: 48px; font-size: 16px; }
.btn:disabled { opacity: .4; }
.link { color: var(--gold); font-weight: 600; padding: 12px 4px; min-height: 44px; }
.seg { display: flex; gap: 8px; }
.seg button { flex: 1; min-height: 56px; border-radius: 14px; background: var(--card2); font-weight: 700; font-size: 17px; border: 2px solid transparent; }
.seg.sm button { font-size: 15px; min-height: 50px; padding: 0 4px; }
.seg button.on { border-color: var(--gold); background: #3a2f1a; color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 14px; border-radius: 22px; background: var(--card2); font-weight: 600; font-size: 15px; border: 2px solid transparent; }
.chip.on { border-color: var(--gold); color: var(--gold); background: #3a2f1a; }

/* forms */
label.f { display: block; margin: 12px 0 6px; color: var(--muted); font-size: 15px; }
input.in, select.in, textarea.in { width: 100%; min-height: 54px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 18px; outline: none; }
input.in:focus, textarea.in:focus { border-color: var(--gold); }
textarea.in { min-height: 96px; resize: vertical; }
.code-in { letter-spacing: 10px; text-align: center; font-size: 30px; font-weight: 800; }
.err { color: var(--red); min-height: 22px; font-size: 15px; margin-top: 6px; }

/* bottom nav */
.nav { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-around;
  padding: 6px 6px calc(var(--safe-b) + 6px); background: rgba(21, 18, 27, .96); border-top: 1px solid var(--line); z-index: 5; }
.nav button { flex: 1; min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); gap: 2px; }
.nav button .i { font-size: 22px; }
.nav button.on { color: var(--gold); }
.nav button.log { flex: 1.2; }
.nav button.log .i { width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: #1b1408; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; margin-top: -22px; box-shadow: 0 4px 16px rgba(233, 185, 73, .35); }

/* sync pill */
.pill { font-size: 13px; padding: 6px 10px; border-radius: 14px; background: var(--card); color: var(--muted); white-space: nowrap; }
.pill.ok { color: var(--green); } .pill.warn { color: var(--gold); } .pill.bad { color: var(--red); }

/* log screen */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: var(--card); border-radius: var(--r); min-height: 82px; padding: 10px 14px; text-align: left; border: 2px solid transparent; display: flex; flex-direction: column; justify-content: center; }
.tile .v { font-size: 30px; font-weight: 800; }
.tile .v.ph { color: #5d526b; }
.tile.on { border-color: var(--gold); }
.tile .hint { font-size: 12px; color: var(--muted); }
.preview { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 4px; }
.keypad { position: fixed; left: 0; right: 0; bottom: 0; background: #1b1722; border-top: 1px solid var(--line); padding: 8px 10px calc(var(--safe-b) + 10px); z-index: 20;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.keypad button { min-height: 58px; border-radius: 14px; background: var(--card2); font-size: 26px; font-weight: 700; }
.keypad .next { grid-column: span 3; background: var(--gold); color: #1b1408; font-size: 19px; }
.keypad .kl { grid-column: span 3; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 15px; padding: 0 4px; min-height: 28px; }

/* tonight */
.tonight-btns { display: flex; flex-direction: column; gap: 12px; flex: 1; margin-top: 10px; }
.tbig { flex: 1; min-height: 110px; border-radius: 24px; font-size: 34px; font-weight: 900; letter-spacing: 1px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tbig small { font-size: 15px; font-weight: 600; opacity: .8; letter-spacing: 0; }
.tbig.sale { background: var(--gold); color: #1b1408; }
.tbig.talk { background: #3c3150; }
.tbig.keep { background: var(--pink); color: #1d0a12; }
.ring { height: 10px; background: var(--card2); border-radius: 6px; overflow: hidden; margin-top: 8px; }
.ring > div { height: 100%; background: var(--green); }

/* book */
.guy { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: var(--r); padding: 12px 14px; margin-bottom: 8px; width: 100%; text-align: left; min-height: 64px; }
.guy .av { width: 42px; height: 42px; border-radius: 50%; background: var(--card2); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--gold); flex: none; }
.guy .nm { font-weight: 700; }
.badge { font-size: 12px; padding: 3px 8px; border-radius: 10px; background: var(--card2); color: var(--muted); font-weight: 700; }
.badge.loyal { color: var(--gold); } .badge.regular { color: var(--green); } .badge.overdue { color: var(--pink); } .badge.out { color: #7d708c; }

/* bars */
.bar { display: grid; grid-template-columns: 46px 1fr 92px; gap: 8px; align-items: center; margin: 6px 0; font-size: 15px; }
.bar .b { height: 22px; background: var(--card2); border-radius: 6px; overflow: hidden; }
.bar .b > div { height: 100%; background: linear-gradient(90deg, #b48a2e, var(--gold)); }

/* sheets */
.sheet-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 30; display: flex; align-items: flex-end; }
.sheet { background: #1d1925; width: 100%; max-height: 92vh; overflow: auto; border-radius: 22px 22px 0 0; padding: 18px 16px calc(var(--safe-b) + 16px); }
.sheet h3 { margin: 0 0 10px; font-size: 21px; }
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.pinpad button { min-height: 64px; border-radius: 16px; background: var(--card2); font-size: 28px; font-weight: 700; }
.dots { display: flex; gap: 14px; justify-content: center; margin: 12px 0; min-height: 22px; }
.dots span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--muted); }
.dots span.f { background: var(--gold); border-color: var(--gold); }

/* install guide */
.guide { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 14px; align-items: center; background: var(--card); border-radius: var(--r); padding: 12px; }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #1b1408; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.step svg { flex: none; }

#toast { position: fixed; left: 50%; bottom: calc(var(--safe-b) + 100px); transform: translateX(-50%); background: #33294a; color: var(--text); padding: 12px 18px; border-radius: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; max-width: 90%; text-align: center; }
#toast.show { opacity: 1; }
.list-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); gap: 10px; }
.list-line:last-child { border-bottom: 0; }
.toggle { display: flex; justify-content: space-between; align-items: center; min-height: 56px; width: 100%; text-align: left; gap: 12px; }
.toggle .sw { width: 52px; height: 32px; border-radius: 16px; background: var(--card2); position: relative; flex: none; }
.toggle .sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #776a88; transition: .15s; }
.toggle.on .sw { background: #5b4718; } .toggle.on .sw::after { left: 23px; background: var(--gold); }

/* ---------- Income statement (paper look on screen, clean on print) ---------- */
.paper { position: relative; overflow: hidden; background: #fbfaf7; color: #1d1a22; border-radius: 10px; padding: 18px 14px 20px; font-size: 13px; line-height: 1.35; }
.paper .st-h { font-size: 22px; font-weight: 800; }
.paper .st-sub { color: #6b6474; margin-bottom: 10px; }
.paper table { border-collapse: collapse; width: 100%; }
.paper .st-meta td { padding: 2px 0; vertical-align: top; } .paper .st-meta td:first-child { color: #6b6474; width: 78px; }
.paper .st-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 6px; }
.paper .st-sum div { border: 1px solid #ddd8e2; border-radius: 8px; padding: 8px; }
.paper .st-sum span { display: block; color: #6b6474; font-size: 11px; } .paper .st-sum b { font-size: 17px; } .paper .st-sum em { display: block; font-style: normal; font-size: 11px; color: #6b6474; }
.paper .st-t { font-weight: 800; margin: 14px 0 4px; }
.paper .st-tab th { text-align: left; font-size: 10.5px; color: #6b6474; font-weight: 700; border-bottom: 1px solid #cfc8d6; padding: 4px 4px 4px 0; }
.paper .st-tab td { padding: 4px 4px 4px 0; border-bottom: 1px solid #ece8f0; white-space: nowrap; }
.paper .st-rows { font-size: 11px; } .paper .st-ed { color: #9a5b00; font-size: 10px; }
.paper .st-scroll { overflow-x: auto; }
.paper .st-empty { color: #6b6474; margin: 16px 0; }
.paper .st-foot { margin-top: 16px; font-size: 11.5px; color: #3a3542; }
.paper .st-sign { display: flex; gap: 18px; margin-top: 26px; font-size: 11px; color: #6b6474; }
.paper .st-sign div { flex: 1; } .paper .st-sign div:first-child { flex: 2; }
.paper .st-sign span { display: block; border-bottom: 1px solid #1d1a22; height: 26px; margin-bottom: 3px; }
.paper .st-wm { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 120px; font-weight: 900; color: rgba(200, 30, 60, .13); transform: rotate(-30deg); pointer-events: none; letter-spacing: 8px; }
@media print {
  @page { margin: 12mm; }
  html, body { background: #fff !important; color: #000; height: auto; }
  #sheet-root, #toast, .nav, .noprint, .banner, .pband { display: none !important; }
  #app, .screen { display: block !important; padding: 0 !important; min-height: 0 !important; }
  .paper { border-radius: 0; padding: 0; background: #fff; font-size: 10.5pt; overflow: visible; }
  .paper .st-scroll { overflow: visible; }
  .paper .st-rows { font-size: 9pt; }
  .paper tr { break-inside: avoid; }
  .paper .st-wm { position: fixed; }
  .paper .st-sum { grid-template-columns: repeat(4, 1fr); }
}

/* v5.3: practice band, sale types, confidence words */
.pband { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 6px; background: #4a2140; color: #ffd0e6; border-radius: 0 0 12px 12px; padding: 6px 10px; margin: -6px 0 10px; font-size: 13px; box-sizing: border-box; }
.pband span { flex: 1; }
.pband button { color: #ffd0e6; font-weight: 700; font-size: 13px; padding: 6px 8px; min-height: 36px; border: 1px solid rgba(255, 208, 230, .35); border-radius: 10px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.catrow { border-top: 1px solid rgba(255, 255, 255, .08); padding: 8px 0 4px; }
.catname { font-weight: 700; margin-bottom: 6px; }
.cat3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; }
.cat3 label { display: block; font-size: 13px; color: var(--muted); }
.cat3 label span { display: block; margin-bottom: 4px; }
.cat3 .in { width: 100%; min-width: 0; }
.catedit { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.catedit .in { flex: 1; min-width: 0; }
.catedit .chip { min-width: 44px; padding: 0 10px; }
.conf { font-weight: 700; }
.conf.c0 { color: var(--muted); } .conf.c1 { color: #ffd98a; } .conf.c2 { color: var(--green); } .conf.c3 { color: var(--gold); }
.aimsg + .aimsg { border-top: 1px solid var(--card2); margin-top: 6px; }
.wkrow .chip { padding: 6px 10px; min-height: 0; }
.bubble { max-width: 86%; padding: 8px 12px; border-radius: 14px; margin: 6px 0; }
.bubble.me { margin-left: auto; background: var(--card2); }
.bubble.them { margin-right: auto; background: var(--card); border: 1px solid var(--gold); }

/* ---------- career playbooks (7.2.0) ---------- */
@font-face { font-family: PbSerif; font-weight: 600; src: url(fonts/pb-serif.woff2) format('woff2'); font-display: swap; }
.pb-debut { --pb: #ebb9bb; --pb2: #f6dcc9; } .pb-confidante { --pb: #d6b06a; --pb2: #6cc0b3; }
.pb-professional { --pb: #e4d1a6; --pb2: #c7b07f; } .pb-househost { --pb: #dcae5c; --pb2: #e07a92; }
.pbname { font-family: PbSerif, Georgia, serif; font-size: 22px; color: var(--pb, var(--gold)); }
.pbhome { border-left: 3px solid var(--pb, var(--gold)); }
.pbq { width: 100%; min-height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); padding: 0 14px; margin-bottom: 10px; font-size: 17px; }
.pblvl { width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; background: var(--card); border-radius: var(--r); padding: 14px 16px; margin-bottom: 10px; border-left: 3px solid var(--pb); }
.pblvl.mine { background: linear-gradient(135deg, #2e2340, #23202c); }
.pblock { color: var(--muted); }
.pbtoc { padding: 4px 6px; }
.pbrow, .pbhit { width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); min-height: 52px; }
.pbhit { display: block; }
.pbrow:last-child, .pbhit:last-child { border-bottom: 0; }
.pbn { color: var(--pb, var(--gold)); font-size: 14px; width: 24px; }
.pbread { padding-bottom: calc(var(--safe-b) + 110px); }
.pbkick { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--pb); font-weight: 700; }
.pbh1 { font-family: PbSerif, Georgia, serif; font-weight: 600; font-size: 34px; line-height: 1.12; margin: 0 0 14px; }
.pbbody { font-size: 19px; line-height: 1.62; color: #efe8f3; }
.pbbody p { margin: 0 0 14px; }
.pbbody .lead { font-size: 20px; }
.pbbody h3 { font-family: PbSerif, Georgia, serif; font-weight: 600; font-style: italic; font-size: 25px; color: var(--pb2); margin: 26px 0 10px; }
.pbbody ul { padding-left: 20px; margin: 0 0 14px; } .pbbody li { margin: 0 0 9px; }
.pbbody ol.num { list-style: none; padding: 0; margin: 0 0 14px; }
.pbbody ol.num li { display: flex; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pbbody ol.num .n { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--pb); color: var(--pb); display: flex; align-items: center; justify-content: center; font-size: 15px; margin-top: 2px; }
.pbbody dl { margin: 0 0 14px; } .pbbody dl .row { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pbbody dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--pb); font-weight: 700; margin-bottom: 3px; }
.pbbody dd { margin: 0; }
.pbbody .q { font-family: PbSerif, Georgia, serif; font-style: italic; font-size: 21px; color: var(--pb2); border-left: 3px solid var(--pb); padding-left: 14px; }
.pbbody .box, .pbbody .card, .pbbody .move { background: var(--card); border-radius: var(--r); padding: 14px 16px; margin: 0 0 14px; }
.pbbody .box.drill { border: 1px solid var(--pb); } .pbbody .box.warn { border: 1px solid var(--pb2); }
.pbbody .bt, .pbbody .mt, .pbbody .cn { font-family: PbSerif, Georgia, serif; font-weight: 600; font-size: 24px; color: var(--pb2); margin-bottom: 6px; }
.pbbody .kick, .pbbody .cs { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--pb); font-weight: 700; }
.pbbody .move { border-top: 2px solid var(--line); }
.pbbody .fill { display: block; padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.pbbody .tag { display: inline-block; font-size: 10.5px; letter-spacing: .06em; font-weight: 800; padding: 1px 6px; border-radius: 8px; vertical-align: 2px; white-space: nowrap; }
.pbbody .t-r { background: #1f3a2a; color: #9fe0b3; } .pbbody .t-oi { background: #173638; color: #8fd9d2; } .pbbody .t-m { background: #1d2a45; color: #a9c1f2; }
.pbbody .t-ai { background: #2e2147; color: #cbb3f5; } .pbbody .t-u { background: #47271a; color: #f3b48d; } .pbbody .t-ex { background: #45391a; color: #f0d38b; }
.pbbody sup.cite a { color: var(--pb); font-weight: 800; padding: 0 3px; font-size: 13px; }
.pbbody .u { border-radius: 6px; transition: background .2s; }
.pbbody .u.on { background: rgba(233, 185, 73, .2); box-shadow: 0 0 0 3px rgba(233, 185, 73, .2); }
.pbbody .flash { background: rgba(236, 111, 159, .25); }
.pbbody ol.srcs { list-style: none; padding: 0; } .pbbody ol.srcs li { display: flex; gap: 8px; font-size: 14px; line-height: 1.4; padding: 8px 0; border-bottom: 1px solid var(--line); word-break: break-word; }
.pbbody ol.srcs .sn { flex: none; width: 24px; color: var(--pb); font-weight: 800; } .pbbody ol.srcs a { color: var(--muted); font-size: 12px; }
.pbnext { margin: 10px 0; } .pbnext .btn { font-size: 14px; }
.pbplayer { position: fixed; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 8px 12px calc(var(--safe-b) + 8px); background: rgba(21, 18, 27, .97); border-top: 1px solid var(--line); z-index: 20; }
.pbplayer button { flex: 1; min-height: 56px; border-radius: 14px; background: var(--card); font-size: 17px; font-weight: 700; color: var(--text); }
.pbplayer .pbplay { flex: 1.4; background: var(--gold); color: #1b1408; font-size: 22px; }
.pbmore { color: var(--gold); font-size: 14px; }

a.btn { text-decoration: none; }
a.btn:not(.primary):not(.pink) { color: var(--text); }

/* ---------- 7.4.0 simple screens: Start shift, Tonight, close-out ---------- */
.hm-start { display: block; width: 100%; min-height: 128px; margin: 4px 0 14px; border-radius: 28px; background: var(--gold); color: #1b1408;
  font-size: 34px; font-weight: 850; letter-spacing: -.3px; box-shadow: 0 10px 30px rgba(233, 185, 73, .22); }
.hm-start.on { background: #3a2f1a; color: var(--gold); border: 2px solid var(--gold); box-shadow: none; font-size: 28px; min-height: 96px; }
.hm-start:active, .tbig:active, .as-amtbtn:active, .co-pad button:active { transform: scale(.98); }

.tn { padding-bottom: calc(var(--safe-b) + 12px); }
.tn-top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.tn-top .x { width: 48px; height: 48px; border-radius: 50%; background: var(--card); font-size: 22px; }
.tn-top .link { min-width: 64px; text-align: right; }
.tn-sp { width: 64px; }
.tn-clock { color: var(--muted); font-size: 16px; font-variant-numeric: tabular-nums; }
.tn-money { text-align: center; margin: 6px 0 4px; }
.tn-num { font-size: clamp(64px, 22vw, 104px); font-weight: 850; line-height: 1; letter-spacing: -2px; color: var(--gold); font-variant-numeric: tabular-nums; }
.tn-bar { height: 8px; width: 62%; margin: 12px auto 0; background: var(--card2); border-radius: 6px; overflow: hidden; }
.tn-bar > div { height: 100%; background: var(--gold); border-radius: 6px; transition: width .4s ease; }
.tn-goal { color: var(--muted); font-size: 15px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.tn-chip { display: block; margin: 12px auto 0; max-width: 90%; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--pink);
  color: var(--pink); font-size: 19px; font-weight: 700; background: rgba(236, 111, 159, .08); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tReply { min-height: 20px; margin: 6px 0 0; }
.tn-btns { flex: 1; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; min-height: 300px; }
.tn-btns .tbig { border-radius: 28px; font-size: 40px; letter-spacing: 1.5px; }
.tn-btns .tbig.sale { flex: 1.45; box-shadow: 0 10px 30px rgba(233, 185, 73, .2); }
.tn-btns .tbig.next { flex: 1; background: var(--pink); color: #1d0a12; }
.tn-btns .tbig.nosale { flex: 1; background: var(--card2); color: var(--text); border: 1.5px solid var(--line); }
.tn-btns .tbig small { font-size: 18px; margin-top: 4px; font-variant-numeric: tabular-nums; color: var(--pink); opacity: 1; font-weight: 700; }
.tn-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.tn-mic { width: 60px; height: 60px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--line); font-size: 24px; flex: none; }
.tn-mic.off { visibility: hidden; }
.tn-more { color: var(--muted); font-size: 16px; padding: 12px 16px; min-height: 48px; }
.tn-end { min-height: 60px; padding: 0 22px; border-radius: 30px; background: var(--card); border: 1.5px solid var(--line); font-size: 18px; font-weight: 700; }
#tDrawer { margin-top: 14px; }

.as-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.as-amt { font-size: 48px; font-weight: 850; color: var(--gold); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.as-row { margin: 6px 0 4px; }
.as-row .chips { margin-top: 4px; }
.as-done { min-height: 76px; font-size: 26px; margin-top: 12px; border-radius: 22px; }
.as-amts { display: flex; flex-direction: column; gap: 10px; }
.as-amtbtn { min-height: 92px; border-radius: 22px; background: var(--gold); color: #1b1408; font-size: 38px; font-weight: 850; font-variant-numeric: tabular-nums; }
.as-amtbtn + .as-amtbtn { background: #3a2f1a; color: var(--gold); border: 1.5px solid #6b5426; }

.co-q { text-align: center; color: var(--muted); font-size: 19px; margin-top: 10px; }
.co-num { text-align: center; font-size: clamp(64px, 22vw, 100px); font-weight: 850; color: var(--gold); letter-spacing: -2px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.co-num.ph { color: #5b4f68; }
.co-meta { display: block; margin: 6px auto 0; color: var(--muted); font-size: 15px; padding: 10px; min-height: 44px; }
.co-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 14px; }
.co-pad button { min-height: 64px; border-radius: 16px; background: var(--card); font-size: 26px; font-weight: 700; }
.co-save { min-height: 72px; font-size: 24px; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .tn-bar > div { transition: none; } .hm-start:active, .tbig:active { transform: none; } }

/* ---------- 7.4.1: low-glare floor colors (dark fills, colored text), Home tiles, guys, debrief ---------- */
:root { --g-fill: #2c2313; --g-edge: #6e5628; --p-fill: #281b27; --p-edge: #6a3a55; --p-text: #f0a1c2; --n-fill: #1d1923; }
.hm-start { background: var(--g-fill); color: var(--gold); border: 2px solid var(--g-edge); box-shadow: none; min-height: 116px; }
.hm-start.on { background: var(--n-fill); color: var(--gold); border: 2px solid var(--g-edge); }
.hm-tile { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; width: 100%; min-height: 104px; padding: 14px 18px; border-radius: 22px; background: var(--card); border: 1.5px solid var(--line); text-align: left; }
.hm-tile.wide { margin-bottom: 12px; }
.hm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hm-t { font-size: 22px; font-weight: 800; }
.hm-n { font-size: 20px; font-weight: 700; color: var(--p-text); font-variant-numeric: tabular-nums; }
.hm-n.gold { color: var(--gold); font-size: 24px; }
.hm-s { font-size: 14px; color: var(--muted); }
.hm-all { display: block; margin: 14px auto 0; color: var(--muted); }

.tn-clock { display: flex; flex-direction: column; align-items: center; line-height: 1.05; color: var(--text); }
.tn-clock b { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tn-clock small { font-size: 12px; color: var(--muted); }
.tn-num { font-size: clamp(56px, 18vw, 88px); }
.tn-bar > div { background: #b8913a; }
.tn-btns .tbig { box-shadow: none !important; }
.tn-btns .tbig.sale { background: var(--g-fill); color: var(--gold); border: 2px solid var(--g-edge); }
.tn-btns .tbig.nosale { background: var(--n-fill); color: #d6cde0; border: 2px solid var(--line); }
.tn-btns.idle { flex: 0 0 auto; min-height: 0; }
.tn-btns.idle .tbig.sale { min-height: 112px; flex: none; }
.tn-who { color: var(--muted); font-size: 15px; margin: 8px 2px 6px; }
.tn-guys { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; flex: 1; align-content: start; }
.tn-guy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; min-height: 76px; padding: 10px 14px; border-radius: 18px; background: var(--p-fill); border: 1.5px solid var(--p-edge); text-align: left; overflow: hidden; }
.tn-guy b { font-size: 20px; color: var(--p-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tn-guy span { font-size: 14px; color: #c9b6c4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tn-guy.new { background: var(--n-fill); border-color: var(--line); } .tn-guy.new b { color: var(--text); }
.tn-guy.more { background: transparent; border-style: dashed; } .tn-guy.more b { color: var(--muted); font-size: 17px; }
.tn-cur { text-align: center; margin: 10px 0 4px; }
.tn-cur-name { font-size: 34px; font-weight: 850; color: var(--p-text); }
.tn-cur-hook { font-size: 16px; color: #c9b6c4; margin-top: 2px; }
.tn-cue { display: inline-block; margin-top: 10px; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--p-edge); color: var(--p-text); font-size: 19px; font-weight: 700; background: var(--p-fill); }
.tn-timer { font-size: 18px; color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }
.tn-chip { display: none; }
.as-amtbtn { background: var(--g-fill) !important; color: var(--gold) !important; border: 2px solid var(--g-edge) !important; }
.as-done { background: var(--g-fill); color: var(--gold); border: 2px solid var(--g-edge); }
.as-known { margin-top: 10px; text-align: center; color: var(--p-text); font-size: 18px; font-weight: 700; }
.co-save { background: var(--g-fill); color: var(--gold); border: 2px solid var(--g-edge); }
.co-save:disabled { opacity: .45; }

.db { text-align: center; padding: 6px 0 4px; }
.db-num { font-size: clamp(60px, 20vw, 96px); font-weight: 850; letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; }
.db-delta { font-size: 30px; font-weight: 800; margin-top: 8px; } .db-delta small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.db-delta.up { color: var(--green); } .db-delta.down { color: #e88b8b; }
.db-bar { display: flex; height: 44px; border-radius: 14px; overflow: hidden; margin: 18px 0 12px; font-weight: 700; font-size: 15px; }
.db-bar > div { display: flex; align-items: center; justify-content: center; min-width: 54px; }
.db-bar .s { background: var(--g-fill); color: var(--gold); border: 1.5px solid var(--g-edge); border-radius: 14px 0 0 14px; }
.db-bar .n { background: var(--n-fill); color: var(--muted); border: 1.5px solid var(--line); border-radius: 0 14px 14px 0; }
.db-bar .s:last-child { border-radius: 14px; }
.db-row { display: flex; justify-content: space-around; gap: 8px; margin: 6px 0 12px; }
.db-row span { display: flex; flex-direction: column; } .db-row b { font-size: 22px; } .db-row small { font-size: 13px; color: var(--muted); }
.db-more { margin: 8px 0; } .db-more summary { color: var(--muted); padding: 10px 2px; cursor: pointer; }
/* 7.4.1: primary buttons and the + button are low-glare everywhere (dark club) */
.btn.primary { background: var(--g-fill); color: var(--gold); border: 2px solid var(--g-edge); }
.btn.primary:disabled { opacity: .45; }
.nav button.log .i { background: var(--g-fill); color: var(--gold); border: 2px solid var(--g-edge); box-shadow: none; }
.keypad .next { background: var(--g-fill); color: var(--gold); border: 2px solid var(--g-edge); }

/* =====================================================================
   7.4.2 design system (after the Bangkok app): Sora, glass over a dark glow,
   hairline edges, thin oversized numbers, low glare for dark clubs.
   ===================================================================== */
@font-face { font-family: Sora; font-weight: 300; src: url(fonts/sora-latin-300-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Sora; font-weight: 400; src: url(fonts/sora-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Sora; font-weight: 600; src: url(fonts/sora-latin-600-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Sora; font-weight: 700; src: url(fonts/sora-latin-700-normal.woff2) format('woff2'); font-display: swap; }
:root {
  --bg: #0f0c14; --text: #f4eff7; --muted: #a79cb5; --gold: #e6c27a; --pink: #f2a7c6; --p-text: #f2a7c6;
  --glass: rgba(255, 255, 255, .055); --glass2: rgba(255, 255, 255, .085); --hair: rgba(255, 255, 255, .11); --hair2: rgba(255, 255, 255, .2);
  --gold-hair: rgba(230, 194, 122, .5); --gold-glow: rgba(230, 194, 122, .14); --pink-hair: rgba(242, 167, 198, .38); --pink-glow: rgba(242, 167, 198, .08);
  --card: rgba(255, 255, 255, .055); --card2: rgba(255, 255, 255, .085); --line: rgba(255, 255, 255, .11);
  --lift: inset 0 1px 0 rgba(255, 255, 255, .14), 0 22px 44px -26px rgba(0, 0, 0, .75);
  --r: 22px;
}
html, body { background: var(--bg); font-family: Sora, -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 400; letter-spacing: -.005em; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 45% at 85% -5%, rgba(120, 60, 120, .34), transparent 70%),
              radial-gradient(60% 40% at -10% 105%, rgba(230, 194, 122, .10), transparent 70%),
              radial-gradient(55% 35% at 110% 75%, rgba(242, 167, 198, .07), transparent 70%), var(--bg); }

/* type */
.top h1 { font-weight: 600; font-size: 26px; letter-spacing: -.025em; }
h2 { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: .01em; }
.big { font-weight: 300; letter-spacing: -.035em; }
.lbl { text-transform: none; letter-spacing: .01em; font-size: 13px; }
b, strong { font-weight: 600; }

/* surfaces */
.card { background: var(--glass); border: 1px solid var(--hair); border-radius: var(--r); box-shadow: var(--lift); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); }
.card.hi { background: linear-gradient(160deg, rgba(230, 194, 122, .09), rgba(255, 255, 255, .04)); border-color: rgba(230, 194, 122, .32); }
.banner { background: rgba(230, 194, 122, .08); border: 1px solid rgba(230, 194, 122, .3); color: #f1d9a6; border-radius: 16px; }
.top .x, .tn-top .x { background: var(--glass); border: 1px solid var(--hair); box-shadow: var(--lift); font-size: 18px; color: var(--muted); }

/* buttons */
.btn { border-radius: 18px; background: var(--glass); border: 1px solid var(--hair); box-shadow: var(--lift); font-weight: 600; letter-spacing: .005em; }
.btn.primary, .keypad .next { background: linear-gradient(180deg, rgba(230, 194, 122, .22), rgba(230, 194, 122, .07)); color: var(--gold); border: 1px solid var(--gold-hair);
  box-shadow: inset 0 1px 0 rgba(255, 236, 200, .22), 0 18px 36px -22px rgba(230, 194, 122, .45); }
.btn.pink { background: linear-gradient(180deg, rgba(242, 167, 198, .2), rgba(242, 167, 198, .06)); color: var(--pink); border: 1px solid var(--pink-hair); }
.btn.ghost { background: transparent; border: 1px solid var(--hair); box-shadow: none; }
.btn.danger { background: rgba(255, 107, 107, .08); border: 1px solid rgba(255, 140, 140, .35); color: #ffb3b3; }
.btn:active, .chip:active, .tbig:active, .tn-guy:active, .hm-tile:active, .hm-start:active { transform: scale(.975); }
.seg button { background: var(--glass); border: 1px solid var(--hair); border-radius: 16px; font-weight: 600; }
.seg button.on { background: var(--gold-glow); border-color: var(--gold-hair); color: var(--gold); }
.chip { background: var(--glass); border: 1px solid var(--hair); border-radius: 999px; font-weight: 400; }
.chip.on { background: var(--gold-glow); border-color: var(--gold-hair); color: var(--gold); }
.link { color: var(--gold); }
.in, input.in, textarea, select { background: rgba(255, 255, 255, .04); border: 1px solid var(--hair); border-radius: 14px; }

/* bars, sheets, keypad, toast */
.nav { background: rgba(16, 12, 22, .72); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); border-top: 1px solid var(--hair); }
.nav button { font-weight: 400; }
.nav button.log .i { background: radial-gradient(circle at 50% 30%, rgba(230, 194, 122, .26), rgba(230, 194, 122, .08) 70%); color: var(--gold); border: 1px solid var(--gold-hair);
  box-shadow: inset 0 1px 0 rgba(255, 236, 200, .25), 0 12px 28px -12px rgba(230, 194, 122, .5); font-weight: 300; }
.sheet-bg { background: rgba(4, 2, 8, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sheet { background: rgba(24, 19, 31, .94); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border-top: 1px solid var(--hair2); border-radius: 30px 30px 0 0; position: relative; padding-top: 26px; }
.sheet::before { content: ""; position: absolute; top: 9px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.sheet h3 { font-weight: 600; letter-spacing: -.02em; }
.keypad { background: rgba(20, 16, 27, .9); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-top: 1px solid var(--hair); }
.keypad button, .co-pad button { background: var(--glass); border: 1px solid var(--hair); font-weight: 400; font-size: 26px; }
#toast { background: rgba(26, 21, 34, .9); border: 1px solid var(--hair2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); font-weight: 400; border-radius: 16px; }
.guy { background: var(--glass); border: 1px solid var(--hair); border-radius: 18px; }
.guy .av { background: var(--gold-glow); border: 1px solid var(--gold-hair); color: var(--gold); font-weight: 600; }

/* Home */
.hm2 .top h1 { font-size: 30px; font-weight: 300; letter-spacing: -.03em; }
.hm-start { position: relative; overflow: hidden; min-height: 132px; border-radius: 30px; font-size: 32px; font-weight: 600; letter-spacing: -.02em; color: var(--gold);
  background: radial-gradient(120% 90% at 50% 0%, rgba(230, 194, 122, .24), rgba(230, 194, 122, .05) 65%), rgba(255, 255, 255, .03);
  border: 1px solid var(--gold-hair); box-shadow: inset 0 1px 0 rgba(255, 236, 200, .28), 0 30px 60px -30px rgba(230, 194, 122, .5); }
.hm-start::after { content: "Starts your clock"; position: absolute; left: 0; right: 0; bottom: 18px; font-size: 13px; font-weight: 400; letter-spacing: .01em; color: rgba(230, 194, 122, .7); }
.hm-start { padding-bottom: 18px; }
.hm-start.on { background: var(--glass); border-color: var(--gold-hair); }
.hm-start.on::after { content: "Your shift is running"; }
.hm-tile { background: var(--glass); border: 1px solid var(--hair); border-radius: 26px; box-shadow: var(--lift); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 18px 20px; }
.hm-t { font-size: 15px; font-weight: 400; color: var(--muted); }
.hm-n { font-size: 26px; font-weight: 300; letter-spacing: -.02em; color: var(--pink); }
.hm-n.gold { font-size: 30px; color: var(--gold); }
.hm-s { font-size: 13px; }
#hmCoach .hm-s { font-size: 17px; color: var(--text); font-weight: 400; margin-top: 4px; }
.hm-all { font-size: 15px; }

/* Tonight */
.tn-clock b { font-weight: 300; font-size: 28px; letter-spacing: -.02em; }
.tn-num { font-weight: 300; font-size: clamp(64px, 21vw, 96px); letter-spacing: -.045em; color: var(--gold); text-shadow: 0 10px 40px rgba(230, 194, 122, .18); }
.tn-bar { height: 4px; background: rgba(255, 255, 255, .08); }
.tn-bar > div { background: linear-gradient(90deg, rgba(230, 194, 122, .5), var(--gold)); }
.tn-goal { font-size: 13px; }
.tn-who { font-size: 14px; }
.tn-guy { background: linear-gradient(180deg, var(--pink-glow), rgba(255, 255, 255, .025)); border: 1px solid var(--pink-hair); border-radius: 20px; box-shadow: var(--lift); }
.tn-guy b { font-weight: 600; font-size: 18px; letter-spacing: -.01em; color: var(--pink); }
.tn-guy span { font-size: 13px; color: var(--muted); }
.tn-guy.new { background: var(--glass); border-color: var(--hair2); } .tn-guy.new b { color: var(--text); }
.tn-guy.more { background: transparent; border: 1px dashed var(--hair2); box-shadow: none; }
.tn-btns .tbig { border-radius: 30px; font-weight: 600; font-size: 34px; letter-spacing: .14em; }
.tn-btns .tbig.sale, .tn-btns.idle .tbig.sale { background: radial-gradient(120% 100% at 50% 0%, rgba(230, 194, 122, .22), rgba(230, 194, 122, .05) 70%), rgba(255, 255, 255, .02) !important;
  color: var(--gold); border: 1px solid var(--gold-hair); box-shadow: inset 0 1px 0 rgba(255, 236, 200, .25), 0 30px 60px -32px rgba(230, 194, 122, .55) !important; }
.tn-btns .tbig.nosale { background: var(--glass) !important; color: #d9d0e3; border: 1px solid var(--hair2); box-shadow: var(--lift) !important; }
.tn-cur-name { font-weight: 600; font-size: 34px; letter-spacing: -.025em; color: var(--pink); }
.tn-cur-hook { font-size: 14px; color: var(--muted); }
.tn-cue { background: var(--pink-glow); border: 1px solid var(--pink-hair); font-weight: 400; font-size: 18px; padding: 10px 20px; }
.tn-timer { font-weight: 300; font-size: 20px; }
.tn-mic, .tn-end { background: var(--glass); border: 1px solid var(--hair); box-shadow: var(--lift); }
.tn-end { font-weight: 600; font-size: 16px; }
.as-amt { font-weight: 300; font-size: 54px; letter-spacing: -.04em; }
.as-amtbtn { border-radius: 24px !important; font-weight: 300 !important; font-size: 40px !important; letter-spacing: -.03em;
  background: radial-gradient(120% 100% at 50% 0%, rgba(230, 194, 122, .2), rgba(230, 194, 122, .04) 70%) !important; border: 1px solid var(--gold-hair) !important; color: var(--gold) !important; }
.as-amtbtn + .as-amtbtn { background: var(--glass) !important; border-color: var(--hair2) !important; }
.as-done, .btn.primary.as-done, .co-save, .btn.primary.co-save { border-radius: 22px; font-size: 22px; }
.as-known { font-weight: 600; color: var(--pink); }

/* close-out and debrief */
.co-q { font-size: 17px; }
.co-num, .db-num { font-weight: 300; letter-spacing: -.045em; text-shadow: 0 10px 40px rgba(230, 194, 122, .16); }
.co-num.ph { color: rgba(255, 255, 255, .18); }
.db-delta { font-weight: 400; font-size: 26px; letter-spacing: -.02em; }
.db-delta.up { color: #7fdcaa; } .db-delta.down { color: #ef9a9a; }
.db-bar { height: 40px; border-radius: 999px; gap: 4px; }
.db-bar .s { background: linear-gradient(180deg, rgba(230, 194, 122, .26), rgba(230, 194, 122, .08)); border: 1px solid var(--gold-hair); border-radius: 999px !important; font-weight: 600; }
.db-bar .n { background: var(--glass); border: 1px solid var(--hair); border-radius: 999px !important; font-weight: 400; }
.db-row b { font-weight: 300; font-size: 24px; letter-spacing: -.02em; }

/* one entrance, on screen open (Bangkok spring); off for reduced motion */
@keyframes hmRise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.screen > * { animation: hmRise .5s cubic-bezier(.16, 1.2, .4, 1) backwards; }
.screen > :nth-child(2) { animation-delay: 40ms; } .screen > :nth-child(3) { animation-delay: 80ms; } .screen > :nth-child(4) { animation-delay: 120ms; }
.screen > :nth-child(5) { animation-delay: 160ms; } .screen > :nth-child(6) { animation-delay: 200ms; } .screen > :nth-child(n+7) { animation-delay: 230ms; }
@media (prefers-reduced-motion: reduce) { .screen > * { animation: none; } .btn:active, .chip:active, .tbig:active, .tn-guy:active, .hm-tile:active, .hm-start:active { transform: none; } }
/* 7.4.2: ? help, and labels that never break mid-button */
.qhelp { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--glass); border: 1px solid var(--hair); color: var(--muted); font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.top .qhelp { margin-left: 4px; }
.tn-top .qhelp { position: absolute; right: 70px; top: 6px; }
.tn-top { position: relative; }
.qh-list { list-style: none; padding: 0; margin: 4px 0 0; }
.qh-list li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--hair); font-size: 17px; }
.qh-list li:last-child { border-bottom: 0; }
.qh-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.as-grid4 .chip, #asPlay .chip, .tn-end, .as-amtbtn, .hm-tile .hm-t { white-space: nowrap; }
.grid2 .btn { font-size: 15px; padding: 0 10px; }
.as-lbl { display: flex; align-items: center; gap: 8px; }
.as-clear { padding: 0 4px; min-height: 0; font-size: 14px; margin-left: auto; }
.as-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.as-grid4 .chip, #asPlay .chip { padding: 0; justify-content: center; }
#asPlay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#playLanded { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#playLanded .chip { width: 100%; padding: 0 8px; }

.top h1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.top .syncpill, .top #syncpill { flex: none; max-width: 52%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { background: var(--glass); border: 1px solid var(--hair); border-radius: 999px; padding: 6px 12px; }
.row > * { min-width: 0; } .row > .btn, .row > a.btn { padding-left: 10px; padding-right: 10px; text-align: center; }
.grid2 > * { min-width: 0; } .grid2 .btn { line-height: 1.2; text-align: center; }
/* 7.4.2 spacing: one scale (8 · 12 · 16 · 24 · 32). More air between groups, less inside them. */
.screen { padding-left: 20px; padding-right: 20px; }
.top { margin-bottom: 16px; }
.card { padding: 18px 20px; margin-bottom: 12px; }
h2 { margin: 28px 2px 10px; }
.btn { min-height: 56px; } .btn.small { min-height: 46px; }
.stack > * + * { margin-top: 12px; }
.grid2 { gap: 12px; }
.chips { gap: 8px; }
.sheet { padding: 28px 20px calc(var(--safe-b) + 20px); }
.sheet h3 { margin-bottom: 16px; }
/* Home: a clear hierarchy, one hero then a calm grid */
.hm2 .top { margin-bottom: 20px; }
.hm-start { margin: 0 0 24px; }
.hm-tile.wide { margin-bottom: 12px; min-height: 96px; }
.hm-row { gap: 12px; }
.hm-row .hm-tile { min-height: 124px; justify-content: space-between; }
.hm-all { margin-top: 24px; }
/* Tonight: money, then guys, then the button, each with room */
.tn-top { margin-bottom: 4px; }
.tn-money { margin: 8px 0 0; }
.tn-who { margin: 24px 2px 10px; }
.tn-guys { gap: 12px; }
.tn-guy { padding: 12px 16px; min-height: 72px; }
.tn-btns { gap: 12px; margin-top: 16px; }
.tn-cur { margin: 24px 0 8px; }
.tn-foot { margin-top: 16px; }
/* close-out and debrief */
.co-q { margin-top: 24px; }
.co-meta { margin-top: 8px; }
.db { padding-top: 8px; }
.db-bar { margin: 24px 0 16px; }
.db-row { margin: 8px 0 20px; }
#playLanded.chips { display: grid !important; grid-template-columns: 1fr 1fr; } #playLanded.chips .chip { width: 100%; }
.tn-btns { min-height: 250px; }
.tn-cur { margin: 16px 0 4px; } .tn-cue { margin-top: 8px; } .tn-timer { margin-top: 6px; }
.catcard { padding: 12px 0; border-bottom: 1px solid var(--hair); }
.catmoney { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.catmoney label { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.as-amtbtn small { display: block; font-size: 14px; font-weight: 400; letter-spacing: .01em; color: var(--muted); margin-bottom: 2px; }
/* 7.4.2: the minimum on top; below this line, the taps that teach her AI */
.ai-line { display: flex; align-items: center; gap: 12px; margin: 24px 0 12px; color: var(--gold); font-size: 13px; letter-spacing: .01em; }
.ai-line::before, .ai-line::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hair), transparent); }
.ai-line span { white-space: nowrap; opacity: .9; }
.co-opt { display: flex; flex-direction: column; gap: 8px; }
.co-night { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .co-night .chip { justify-content: center; }
.co-pad { margin-top: 24px; }
/* Home summary */
.hm-sum { display: block; width: 100%; text-align: left; padding: 20px 22px; margin: 0 0 12px; }
.hm-sum-top { display: flex; align-items: center; justify-content: space-between; }
.hm-delta { font-size: 15px; font-weight: 600; } .hm-delta.up { color: #7fdcaa; } .hm-delta.down { color: #ef9a9a; }
.hm-big { font-size: 44px; font-weight: 300; letter-spacing: -.04em; color: var(--gold); line-height: 1.1; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.hm-bars { display: flex; align-items: flex-end; gap: 6px; height: 44px; margin-top: 16px; }
.hm-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: rgba(255, 255, 255, .12); }
.hm-bars i.now { background: linear-gradient(180deg, var(--gold), rgba(230, 194, 122, .45)); }
.hm-likely { margin: 20px 2px 12px; }
.hm-chips { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.hm-chip { flex: none; padding: 9px 16px; border-radius: 999px; background: var(--pink-glow); border: 1px solid var(--pink-hair); color: var(--pink); font-size: 15px; font-weight: 600; }
.hm-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.hm-row3 .hm-tile { min-height: 112px; padding: 14px; border-radius: 22px; justify-content: space-between; }
.hm-row3 .hm-n { font-size: 24px; } .hm-row3 .hm-n.gold { font-size: 20px; }
#playLanded.chips { display: flex !important; flex-wrap: wrap; } #playLanded.chips .chip { flex: 1 1 calc(50% - 4px); justify-content: center; }
#playLanded.chips { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px; } #playLanded.chips .chip { width: 100%; padding: 0 6px; font-size: 14px; }
#playLanded + .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; } #playLanded + .chips .chip { width: 100%; justify-content: center; font-size: 14px; }
.hm-row3 .hm-s { white-space: nowrap; }
/* 7.4.3: finish the look on every screen */
.top h1 { white-space: normal; font-size: 24px; line-height: 1.15; overflow: visible; }
.hm2 .top h1 { white-space: nowrap; }
body.practice .screen:not(.hm2) .top #syncpill { display: none; }
.top #syncpill { font-size: 12px; padding: 5px 10px; }
.seg.sm button { white-space: nowrap; font-size: 14px; padding: 0 6px; }
.plist .guy { align-items: center; min-height: 60px; }
.plist .guy .grow { min-width: 0; }
.plist .guy .muted { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.plist .guy .av { background: var(--glass); border-color: var(--hair); color: var(--gold); }
.plist .guy > :last-child { flex: none; margin-left: 8px; font-size: 12px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan-t { border: 1px solid var(--hair); border-radius: 18px; padding: 12px 10px; background: rgba(255, 255, 255, .03); display: flex; flex-direction: column; gap: 6px; }
.plan-t.on { border-color: var(--gold-hair); background: var(--gold-glow); }
.plan-h { display: flex; flex-direction: column; } .plan-h b { font-size: 17px; } .plan-h span { font-size: 13px; color: var(--gold); }
.plan-p { font-size: 12px; color: var(--muted); line-height: 1.3; }
.plan-on { margin-top: auto; font-size: 12px; color: var(--gold); font-weight: 600; }
.pband { background: linear-gradient(90deg, rgba(120, 60, 120, .55), rgba(60, 30, 70, .55)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
.list-line { padding: 12px 0; border-bottom: 1px solid var(--hair); } .list-line:last-child { border-bottom: 0; }
/* 7.4.3 your club */
.club-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.club-big { font-size: 34px; font-weight: 300; color: var(--gold); letter-spacing: -.5px; line-height: 1.05; }
.club-sub { font-size: 14px; color: var(--muted); }
.club-bars { display: flex; flex-direction: column; gap: 8px; }
.club-bar { display: grid; grid-template-columns: 40px 1fr 52px; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.club-bar i { display: block; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.club-bar i.on { background: linear-gradient(90deg, var(--gold), #f0d29a); }
.club-bar b { text-align: right; font-weight: 600; color: var(--text); }
.club-hours { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 16px; }
.club-hours i { flex: 1; border-radius: 6px 6px 2px 2px; background: rgba(244, 154, 193, .28); }
.club-hours i.on { background: var(--pink, #F49AC1); }
.club-need { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; } .club-need span { font-size: 13px; color: var(--gold); }
.hm-prog { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; } .hm-prog i { display: block; height: 100%; background: var(--gold); border-radius: 6px; }
.plans { grid-template-columns: 1fr; gap: 8px; }
.plan-t { display: grid; grid-template-columns: 92px 1fr; column-gap: 12px; row-gap: 2px; align-items: start; padding: 12px 14px; }
.plan-t .plan-h { grid-row: span 4; }
.plan-p { font-size: 13px; }
.plan-on { grid-column: 2; margin-top: 4px; }
.tn-team { display: flex; align-items: center; gap: 8px; width: 100%; margin: 12px 0 0; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--hair); background: var(--glass); color: var(--text); font: inherit; font-size: 14px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-team-d { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--pink, #F49AC1); box-shadow: 0 0 10px rgba(244, 154, 193, .7); }
/* 7.4.3 the close-out tallies her night */
.co-tally { margin: 4px auto 10px; max-width: 320px; display: flex; flex-direction: column; gap: 4px; }
.co-line { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); padding: 2px 4px; }
.co-line b { color: var(--text); font-weight: 600; } .co-line.neg b { color: var(--muted); }
.co-add { display: flex; justify-content: space-between; align-items: baseline; max-width: 320px; margin: 10px auto 6px; padding: 10px 14px; border: 1px dashed var(--hair); border-radius: 14px; font-size: 14px; color: var(--muted); }
.co-add b { color: var(--gold); font-size: 18px; }
/* 7.4.4: "Your AI knows you" (questions about her), her strengths, the Pro line, small ? buttons */
.me-card { display: block; width: 100%; text-align: left; }
.me-h { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.me-s { font-size: 14px; color: var(--muted); margin-top: 8px; }
.me-bar { margin: 4px 0; }
.me-bar-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); }
.me-bar-top b { color: var(--gold); font-size: 20px; font-weight: 500; }
.me-track { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .07); overflow: hidden; margin-top: 6px; }
.me-track > div { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #b48a2e, var(--gold)); transition: width .4s; }
.me-q { margin-top: 18px; }
.me-step { font-size: 13px; color: var(--muted); min-height: 16px; }
.me-t { color: var(--text); font-size: 24px; font-weight: 400; line-height: 1.25; margin: 6px 0 16px; letter-spacing: -.01em; }
.me-opts { display: flex; flex-direction: column; gap: 10px; }
.me-opt { min-height: 60px; padding: 12px 18px; border-radius: 18px; background: var(--glass, var(--card)); border: 1px solid var(--hair, #3a3045); color: var(--text); font-size: 18px; text-align: left; white-space: normal; }
.me-opt:active { border-color: var(--gold); color: var(--gold); transform: scale(.98); }
.me-sheet .me-t { font-size: 21px; margin-bottom: 12px; }
.me-sheet .me-opt { min-height: 54px; font-size: 17px; }
.me-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.me-chip { font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--gold-hair, #5b4718); color: var(--gold); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.me-chip.w { border-color: rgba(236, 111, 159, .35); color: var(--pink); }
.me-row { padding: 12px 0; border-bottom: 1px solid var(--hair, #3a3045); }
.me-row:last-child { border-bottom: 0; }
.me-rn { font-size: 19px; color: var(--text); }
.me-row.s .me-rn { color: var(--gold); } .me-row.w .me-rn { color: var(--pink); }
.me-src { font-size: 14px; color: var(--muted); margin-top: 4px; }
.me-src.flip { color: var(--text); }
.me-use { font-size: 15px; margin-top: 6px; }
.pro-line { color: var(--gold); border: 1px solid var(--gold-hair, #5b4718); border-radius: 14px; padding: 10px 14px; margin: 12px 0; }
.qmini { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--hair, #3a3045); color: var(--muted); font-size: 14px; flex: none; }
.res-line { padding: 6px 0; } .res-line.works { color: var(--green); } .res-line.not { color: var(--muted); }
.hm-first { font-size: 26px; font-weight: 300; color: var(--gold); margin: 6px 0 2px; letter-spacing: -.02em; }
.big-one { font-size: 44px; font-weight: 200; color: var(--gold); letter-spacing: -.03em; line-height: 1.1; }

.bk-seg { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; } .bk-seg::-webkit-scrollbar { display: none; } .bk-seg button { flex: 0 0 auto; white-space: nowrap; }
.lbl .qmini { width: 22px; height: 22px; font-size: 12px; vertical-align: middle; margin-left: 4px; }

/* =====================================================================
   7.5.0 THE LOOK (Adrian, Nov 19: "a classy, high-end club or dancer look, and they have options").
   Her world behind frosted glass. A look = a background (made for House Mom AI: no real club,
   no people) + glass tint + two accents. Exactly one glowing next action per screen.
   Line icons, never emoji. Motion: Intro only (default) / Always / Off; reduce-motion wins.
   ===================================================================== */
:root {
  --look-base: #0e0710; --scrim: 10, 4, 12; --tint: 30, 13, 32;
  --acc: 235, 198, 129; --acc2: 243, 169, 200;                 /* gold, rose */
  --cta-a: 176, 96, 56; --cta-b: 230, 182, 104; --cta-ink: #fff6e8;   /* copper → gold */
  --gold: rgb(var(--acc)); --pink: rgb(var(--acc2)); --p-text: rgb(var(--acc2));
  --gold-hair: rgba(var(--acc), .55); --gold-glow: rgba(var(--acc), .15); --pink-hair: rgba(var(--acc2), .42); --pink-glow: rgba(var(--acc2), .11);
  --text: #f6f0f6; --muted: #bdb1c8; --hair-rgb: 255, 240, 248;
  --hair: rgba(var(--hair-rgb), .15); --hair2: rgba(var(--hair-rgb), .27); --line: rgba(var(--hair-rgb), .15);
  --glass: rgba(var(--tint), .56); --glass2: rgba(var(--tint), .68); --card: var(--glass); --card2: var(--glass2);
  --lift: inset 0 1px 0 rgba(255, 255, 255, .16), 0 22px 46px -24px rgba(0, 0, 0, .85);
  --blur: blur(20px) saturate(150%);
  --ic-back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3Cpath d='M19 12H5'/%3E%3C/svg%3E");
  --ic-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
}
html[data-look="mainstage"] { --look-base: #0c0a07; --scrim: 9, 7, 4; --tint: 24, 19, 13; --acc: 241, 202, 133; --acc2: 238, 186, 160; --muted: #c4b9a9; --hair-rgb: 255, 246, 232; }
html[data-look="vip"] { --look-base: #090706; --scrim: 7, 5, 3; --tint: 22, 16, 10; --acc: 236, 191, 108; --acc2: 233, 180, 158; --muted: #cbbfae; --hair-rgb: 255, 244, 228; }
html[data-look="champagne"] { --look-base: #110a03; --scrim: 12, 7, 2; --tint: 34, 22, 8; --acc: 244, 214, 160; --acc2: 246, 200, 166; --muted: #cfc0a6; --hair-rgb: 255, 246, 226; --cta-a: 170, 106, 48; --cta-b: 238, 200, 128; }
html[data-look="neon"] { --look-base: #0a0611; --scrim: 9, 4, 16; --tint: 24, 11, 40; --acc: 255, 156, 207; --acc2: 200, 173, 255; --muted: #bfb1d6; --hair-rgb: 246, 236, 255; --cta-a: 132, 58, 168; --cta-b: 255, 110, 180; --cta-ink: #fff3fb; }
html[data-look="dressing"] { --look-base: #120a0b; --scrim: 13, 6, 8; --tint: 38, 18, 23; --acc: 244, 196, 168; --acc2: 247, 185, 203; --muted: #cbb4ba; --hair-rgb: 255, 240, 242; --cta-a: 164, 84, 82; --cta-b: 240, 182, 156; }

/* the background: photo, a slow light (Motion: Always), the scrim that keeps every word readable */
html, body { background: var(--look-base); }
body { background: transparent; }
body::before { display: none !important; }
#lookBg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--look-base); }
#lookBg > div { position: absolute; }
#lookBg .lb-photo { inset: -3%; background: var(--look-base) center 36% / cover no-repeat; transform: scale(1.03); transform-origin: 50% 36%; backface-visibility: hidden; }
html[data-look="velvet"] #lookBg .lb-photo { background-image: url(img/looks/velvet.webp); }
html[data-look="mainstage"] #lookBg .lb-photo { background-image: url(img/looks/mainstage.webp); }
html[data-look="vip"] #lookBg .lb-photo { background-image: url(img/looks/vip.webp); }
html[data-look="champagne"] #lookBg .lb-photo { background-image: url(img/looks/champagne.webp); }
html[data-look="neon"] #lookBg .lb-photo { background-image: url(img/looks/neon.webp); }
html[data-look="dressing"] #lookBg .lb-photo { background-image: url(img/looks/dressing.webp); }
/* content screens get a soft-focus copy of the photo (like a frosted window); Home and Look keep it sharp */
#lookBg .lb-soft { inset: -3%; background: var(--look-base) center 36% / cover no-repeat; transform: scale(1.03); transform-origin: 50% 36%; opacity: 0; transition: opacity .45s ease; }
html[data-look="velvet"] #lookBg .lb-soft { background-image: url(img/looks/velvet_soft.webp); }
html[data-look="mainstage"] #lookBg .lb-soft { background-image: url(img/looks/mainstage_soft.webp); }
html[data-look="vip"] #lookBg .lb-soft { background-image: url(img/looks/vip_soft.webp); }
html[data-look="champagne"] #lookBg .lb-soft { background-image: url(img/looks/champagne_soft.webp); }
html[data-look="neon"] #lookBg .lb-soft { background-image: url(img/looks/neon_soft.webp); }
html[data-look="dressing"] #lookBg .lb-soft { background-image: url(img/looks/dressing_soft.webp); }
html[data-screen]:not([data-screen="home"]):not([data-screen="look"]):not([data-screen="welcome"]):not([data-screen=""]) #lookBg .lb-soft { opacity: 1; }
#lookBg .lb-light { inset: -25%; opacity: 0; background: radial-gradient(30% 20% at 50% 30%, rgba(var(--cta-b), .16), transparent 70%), radial-gradient(26% 16% at 28% 72%, rgba(var(--acc2), .08), transparent 70%); }
#lookBg .lb-scrim { inset: 0; background: linear-gradient(180deg, rgba(var(--scrim), .46) 0%, rgba(var(--scrim), .18) 15%, rgba(var(--scrim), .34) 34%, rgba(var(--scrim), .64) 62%, rgba(var(--scrim), .88) 100%); }
/* on the floor the photo goes darker: she's in a dark room */
html[data-screen="tonight"] #lookBg .lb-scrim, html[data-screen="log"] #lookBg .lb-scrim, html[data-screen="saved"] #lookBg .lb-scrim {
  background: linear-gradient(180deg, rgba(var(--scrim), .72) 0%, rgba(var(--scrim), .64) 30%, rgba(var(--scrim), .80) 66%, rgba(var(--scrim), .94) 100%); }
html[data-look="photo"] #lookBg .lb-scrim { background: linear-gradient(180deg, rgba(var(--scrim), .58) 0%, rgba(var(--scrim), .40) 18%, rgba(var(--scrim), .56) 40%, rgba(var(--scrim), .78) 66%, rgba(var(--scrim), .92) 100%); }
#app { position: relative; z-index: 1; }

/* motion */
@keyframes lbIn { from { transform: scale(1.14) translate3d(0, 1.2%, 0); opacity: .35; } to { transform: scale(1.03); opacity: 1; } }
#lookBg.lb-in .lb-photo, #lookBg.lb-in .lb-soft { animation: lbIn 2.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes lbDrift { from { transform: scale(1.08) translate3d(-1.6%, .6%, 0); } to { transform: scale(1.08) translate3d(1.6%, -.8%, 0); } }
@keyframes lbHaze { from { opacity: .5; transform: translate3d(-4%, 2%, 0); } to { opacity: 1; transform: translate3d(5%, -3%, 0); } }
html[data-motion="always"] #lookBg .lb-photo, html[data-motion="always"] #lookBg .lb-soft { animation: lbDrift 48s ease-in-out infinite alternate; }
html[data-motion="always"] #lookBg .lb-light { animation: lbHaze 26s ease-in-out infinite alternate; }
html[data-motion="off"] .screen > * { animation: none !important; }
html[data-motion="off"] #lookBg *, html.rm #lookBg * { animation: none !important; }

/* frosted glass: every surface, tinted per look; a 1 px light edge; big soft radius */
.card, .hm-tile, .hm-sum { background: var(--glass); border: 1px solid var(--hair); box-shadow: var(--lift); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-radius: 26px; }
.btn, .seg button, .tn-guy, .guy, .pill, .top > .x, .tn-top > .x, #uiBack, .qhelp, .tn-end, .tn-mic, .tbig.nosale, .hm-chip { -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn, .seg button { background: var(--glass); border: 1px solid var(--hair); }
.chip { background: var(--glass2); border: 1px solid var(--hair); }
.nav { background: linear-gradient(180deg, rgba(var(--scrim), .80), rgba(var(--scrim), .97) 70%); -webkit-backdrop-filter: blur(26px) saturate(160%); backdrop-filter: blur(26px) saturate(160%); border-top: 1px solid var(--hair); }
.sheet { background: rgba(var(--tint), .90); border-top: 1px solid var(--hair2); }
.keypad { background: rgba(var(--scrim), .86); }
#toast { background: rgba(var(--tint), .92); }
.pband { background: linear-gradient(90deg, rgba(var(--acc2), .26), rgba(var(--tint), .7)); }

/* line icons */
.ic { width: 1.2em; height: 1.2em; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.22em; }
.top > .x, .tn-top > .x, #uiBack { font-size: 0 !important; color: var(--text); display: inline-flex; align-items: center; justify-content: center; }
.top > .x::before, .tn-top > .x::before, #uiBack::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--ic-back) center / contain no-repeat; mask: var(--ic-back) center / contain no-repeat; }
.top > .x[aria-label="Close"]::before { -webkit-mask-image: var(--ic-close); mask-image: var(--ic-close); }
.nav button { color: rgba(var(--hair-rgb), .62); }
.nav button .i { display: flex; align-items: center; justify-content: center; height: 28px; font-size: 0; }
.nav button .i .ic { width: 24px; height: 24px; }
.nav button.on { color: var(--gold); }
.nav button.log .i { width: 54px; height: 54px; margin-top: -20px; border-radius: 50%; background: var(--glass2) !important; border: 1px solid var(--gold-hair) !important; color: var(--gold); box-shadow: var(--lift) !important; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.nav button.log .i .ic { width: 26px; height: 26px; stroke-width: 1.6; }
.pill .ic { width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; }

/* THE ONE GLOW: the next action (Start shift on Home, SOLD on Tonight). Copper to gold, a soft ring. */
#app .hm-glow, .hm-glow { position: relative; overflow: visible !important; isolation: isolate; color: var(--cta-ink) !important;
  background: linear-gradient(180deg, rgba(255, 244, 222, .16), rgba(255, 244, 222, 0) 46%), linear-gradient(128deg, rgba(var(--cta-a), .84) 0%, rgba(var(--cta-a), .56) 40%, rgba(var(--cta-b), .56) 100%), rgba(var(--scrim), .52) !important;
  border: 1px solid rgba(var(--cta-b), .9) !important;
  box-shadow: 0 0 0 1px rgba(255, 236, 200, .10), 0 0 52px 0 rgba(var(--cta-b), .34), 0 26px 60px -22px rgba(var(--cta-a), .95), inset 0 1px 0 rgba(255, 248, 232, .70), inset 0 0 0 1px rgba(255, 236, 200, .08) !important;
  text-shadow: 0 1px 16px rgba(46, 16, 0, .55); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.hm-glow::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0;
  box-shadow: 0 0 46px 6px rgba(var(--cta-b), .40), 0 0 0 1px rgba(var(--cta-b), .30); }
.hm-glow::after { content: "" !important; position: absolute !important; inset: -1px !important; left: -1px !important; right: -1px !important; bottom: -1px !important; border-radius: inherit; pointer-events: none;
  border: 1.5px solid rgba(var(--cta-b), .85); opacity: 0; font-size: 0; }
@keyframes hmRing { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05, 1.24); } }
@keyframes hmBreathe { from { opacity: .15; } to { opacity: 1; } }
html[data-motion="intro"] .hm-glow::after { animation: hmRing 2.2s cubic-bezier(.2, .6, .3, 1) .7s 2 both; }
html[data-motion="always"] .hm-glow::after { animation: hmRing 3.6s ease-out infinite; }
html[data-motion="always"] .hm-glow::before { animation: hmBreathe 3.6s ease-in-out infinite alternate; }
html[data-motion="off"] .hm-glow::before, html[data-motion="off"] .hm-glow::after, html.rm .hm-glow::before, html.rm .hm-glow::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) { #lookBg *, .hm-glow::before, .hm-glow::after, .screen > * { animation: none !important; } }

/* section labels sit on the photo: a touch brighter than muted */
h2 { color: rgba(var(--hair-rgb), .80); }

/* Home */
.hm2 .top h1 { font-size: 32px; font-weight: 300; letter-spacing: -.035em; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.hm2 .top h1 .acc { color: var(--gold); font-weight: 400; }
.hm-start.hm-glow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 132px; border-radius: 30px; padding: 0 20px; font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.hm-start.hm-glow .hm-go { display: inline-flex; align-items: center; gap: 12px; }
.hm-start.hm-glow .hm-go .ic { width: 26px; height: 26px; fill: currentColor; stroke-width: 1.4; }
.hm-start.hm-glow small { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #fffaf2; text-shadow: 0 1px 10px rgba(46, 16, 0, .6); }
.hm-start.hm-glow.on { min-height: 104px; font-size: 26px; }
.hm-tile .hm-ico { color: var(--gold); margin-bottom: auto; }
.hm-tile .hm-ico .ic { width: 22px; height: 22px; }
.hm-row3 .hm-tile { justify-content: flex-start; gap: 6px; }
.hm-n .ic { width: 26px; height: 26px; }
.hm-chip { background: var(--glass2); border: 1px solid var(--pink-hair); color: var(--pink); }
.hm-bars i { background: rgba(var(--hair-rgb), .16); }
.hm-bars i.now { background: linear-gradient(180deg, var(--gold), rgba(var(--acc), .45)); }
.me-track { background: rgba(var(--hair-rgb), .10); }
.me-track > div, .bar .b > div, .tn-bar > div { background: linear-gradient(90deg, rgba(var(--acc), .55), var(--gold)); }

/* Tonight */
.tn-num { color: var(--gold); text-shadow: 0 6px 40px rgba(var(--acc), .22); }
.tn-btns .tbig.sale.hm-glow { font-size: 36px; letter-spacing: .16em; border-radius: 30px; }
.tn-btns .tbig.nosale { background: var(--glass) !important; border: 1px solid var(--hair2) !important; color: var(--text) !important; }
.tn-guy { background: linear-gradient(180deg, rgba(var(--acc2), .12), rgba(var(--tint), .5)), var(--glass); border: 1px solid var(--pink-hair); }
.tn-guy.new { background: var(--glass); border-color: var(--hair2); }
.tn-guy.more { background: rgba(var(--tint), .3); border: 1px dashed var(--hair2); }
.tn-mic { display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.tn-mic .ic { width: 24px; height: 24px; }

/* More › Look */
.lk-row { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 12px 16px 12px 12px; }
.lk-row-th { width: 54px; height: 72px; border-radius: 14px; flex: none; background: var(--look-base) center / cover; border: 1px solid var(--hair2); }
.lk-row-t { flex: 1; display: flex; flex-direction: column; gap: 2px; } .lk-row-t b { font-size: 18px; font-weight: 600; } .lk-row-t span { font-size: 14px; color: var(--muted); }
.lk-row-ch { width: 22px; height: 22px; color: var(--muted); }
.lk-sub { align-self: flex-start; color: var(--text); font-size: 15px; margin: -4px 0 16px; padding: 7px 14px; border-radius: 999px; background: rgba(var(--scrim), .62); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--hair); }
.lk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 12px; }
@media (min-width: 700px) { .lk-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.lk { position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: var(--look-base) center / cover no-repeat; border: 1px solid var(--hair2); box-shadow: var(--lift); text-align: left; padding: 0; }
.lk.on { border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .14), var(--lift); }
.lk-dots { position: absolute; top: 10px; left: 10px; display: flex; gap: 4px; }
.lk-dots b { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .45), 0 0 0 2.5px rgba(255, 255, 255, .25); }
.lk-on { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #120a12; display: flex; align-items: center; justify-content: center; }
.lk-on .ic { width: 17px; height: 17px; stroke-width: 2.4; }
.lk-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 12px 11px; font-size: 15px; font-weight: 600; color: #fff; line-height: 1.2; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .82)); }
.lk-name small { display: block; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, .78); margin-top: 2px; }
.lk-photo { background-color: rgba(var(--tint), .6); }
.lk-ph { position: absolute; inset: 0 0 30% 0; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.lk-ph .ic { width: 34px; height: 34px; stroke-width: 1.4; }
.lk-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin: 14px 2px 0; }
.lk-note .ic { width: 18px; height: 18px; flex: none; }
.lk-rm { margin-left: auto; padding: 8px 4px; min-height: 0; font-size: 14px; }
.lk-seg { display: flex; gap: 8px; padding: 5px; border-radius: 999px; background: var(--glass); border: 1px solid var(--hair); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.lk-seg button { flex: 1; min-height: 48px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; }
.lk-seg button.on { background: #fff; color: #140b14; }
.lk-credit { color: var(--muted); font-size: 13px; margin: 26px 2px 8px; text-align: center; }

/* ---------- 7.5.0 pieces 2 and 3: every other screen ---------- */
/* quiet accent buttons: glass with a gold edge and gold words. Only .hm-glow glows. */
.btn.primary, .keypad .next { background: linear-gradient(180deg, rgba(var(--acc), .14), rgba(var(--acc), .04)), var(--glass) !important; color: var(--gold) !important; border: 1px solid var(--gold-hair) !important; box-shadow: var(--lift) !important; }
.btn.primary.hm-glow, .keypad .next.hm-glow { color: var(--cta-ink) !important; }
#app .btn.hm-glow { font-weight: 600; }
.btn .ic, .link .ic, .chip .ic { width: 1.15em; height: 1.15em; margin-right: 2px; }
.pblock .ic, .muted .ic, .small .ic { width: 1.05em; height: 1.05em; }
.big .ic { width: 44px; height: 44px; color: var(--muted); stroke-width: 1.4; }
.guy .av .ic { width: 20px; height: 20px; color: var(--pink); }
.red .ic { color: var(--red); }

/* the playbook reader: a glass player bar, play is the glowing button */
.pbplayer { background: rgba(var(--scrim), .9) !important; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-top: 1px solid var(--hair) !important; }
.pbplayer button { background: var(--glass) !important; border: 1px solid var(--hair) !important; color: var(--text) !important; }
#app .pbplayer .pbplay.hm-glow { display: flex; align-items: center; justify-content: center; }
.pbplayer .pbplay .ic { width: 26px; height: 26px; }

/* the income statement, tax summary and better-shifts report: dark paper on screen (low glare), white paper in print */
@media screen {
  .paper { background: linear-gradient(180deg, rgba(var(--hair-rgb), .06), rgba(var(--hair-rgb), .02)), rgba(var(--tint), .82); color: var(--text); border: 1px solid var(--hair2); border-radius: 20px; box-shadow: var(--lift); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
  .paper .st-h { font-weight: 600; letter-spacing: -.02em; color: var(--text); }
  .paper .st-sub, .paper .st-meta td:first-child, .paper .st-sum span, .paper .st-sum em, .paper .st-tab th, .paper .st-empty, .paper .st-sign { color: var(--muted); }
  .paper .st-sum div { border-color: var(--hair); background: rgba(var(--hair-rgb), .04); }
  .paper .st-sum b { color: var(--gold); font-weight: 400; }
  .paper .st-tab th { border-bottom-color: var(--hair2); }
  .paper .st-tab td { border-bottom-color: var(--hair); }
  .paper .st-foot { color: var(--text); opacity: .86; }
  .paper .st-sign span { border-bottom-color: var(--hair2); }
  .paper .st-ed { color: var(--gold); }
  .paper .st-wm { color: rgba(var(--acc2), .12); }
}

/* ===================== 7.5.0 contrast pass =====================
   tools/contrast.py: every word 4.5:1 (big words 3:1) against the lightest and darkest spot behind it, every look, 360 and 884 px. */
/* every screen but Home and Look shows only the soft copy, its highlights eased down (tools/looks/soft.py); Welcome too */
html[data-screen]:not([data-screen="home"]):not([data-screen="look"]):not([data-screen=""]) #lookBg .lb-soft { opacity: 1; }
html[data-screen]:not([data-screen="home"]):not([data-screen="look"]):not([data-screen=""]) #lookBg .lb-photo { visibility: hidden; }
html[data-screen]:not([data-screen="home"]):not([data-screen="look"]):not([data-screen=""]):not([data-screen="tonight"]):not([data-screen="log"]):not([data-screen="saved"]) #lookBg .lb-scrim {
  background: linear-gradient(180deg, rgba(var(--scrim), .58) 0%, rgba(var(--scrim), .44) 18%, rgba(var(--scrim), .50) 40%, rgba(var(--scrim), .72) 66%, rgba(var(--scrim), .90) 100%); }
/* tinted surfaces keep the glass under them */
.card.hi { background: linear-gradient(160deg, rgba(var(--acc), .10), rgba(255, 255, 255, .03)), var(--glass2); }
.chip.on { background: linear-gradient(rgba(var(--acc), .16), rgba(var(--acc), .16)), var(--glass2); }
/* "nothing typed yet" numbers stay readable */
.tile .v.ph { color: rgba(var(--hair-rgb), .58); }
.co-num.ph { color: rgba(255, 255, 255, .42); }
:root { --red: #ff8f8f; }
/* the one glowing button: its label is big and bold (large text) */
#app .btn.hm-glow { font-size: 19px; font-weight: 700; }
/* polish: short labels stay whole; a card-level ? sits in the corner */
.nw { white-space: nowrap; }
.card.hasq { position: relative; } .cardq { position: absolute; top: 10px; right: 10px; } .cardq .qmini { width: 24px; height: 24px; font-size: 12px; }

/* 7.5.1 Stage Song */
.sg-screen .hidden { display: none !important; }
.sg-sub { color: var(--muted); margin: 2px 2px 14px; font-size: 15px; }
.sg-card h2 { margin: 0 0 10px; } .sg-card h2 small { color: var(--muted); font-size: 12px; margin-left: 6px; }
.sg-card + .sg-card { margin-top: 12px; }
.sg-lab { display: block; width: 100%; font-size: 13px; color: var(--muted); margin: 12px 2px 6px; }
.sg-chips, .sg-seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sg-seg { margin-top: 0; }
.sg-chips .chip, .sg-seg .chip { min-height: 44px; padding: 0 14px; white-space: nowrap; }
.sg-ev { border-color: var(--gold-hair); color: var(--gold); }
#sgPhrase { margin-top: 10px; }
.sg-out { min-height: 230px; font-size: 16px; line-height: 1.45; }
#sgExtra { margin-top: 10px; }
.sg-swap { font-size: 13px; color: var(--gold); margin: 8px 2px 0; }
.sg-btns { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.sg-btns .btn, .sg-open { white-space: nowrap; }
.sg-btns .btn, .sg-open { min-height: 56px; }
.sg-open { margin-top: 10px; text-decoration: none; }
.sg-len { margin: 10px 2px 0; font-size: 15px; } .sg-len b { color: var(--gold); }
.sg-note { font-size: 13px; color: var(--muted); margin: 6px 2px 0; }
.sg-steps { margin: 0; padding-left: 22px; line-height: 1.55; font-size: 15px; } .sg-steps li + li { margin-top: 6px; }
.sg-tile { flex-direction: row; align-items: center; gap: 14px; min-height: 72px; margin-top: 12px; }
.sg-tile .hm-ico { margin: 0; } .sg-tt { display: flex; flex-direction: column; gap: 2px; } .sg-ch { margin-left: auto; opacity: .7; }
#sgThemes { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -18px; padding-right: 18px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
#sgThemes::-webkit-scrollbar { display: none; }
#sgOut { min-height: 236px !important; height: 236px; }
/* 7.5.1: long names on Tonight wrap to two lines instead of being cut at 360 px */
.tn-guy b, .tn-guy span { white-space: normal; text-overflow: clip; overflow-wrap: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.2; }

/* ---------- 7.6.0 House Crew ---------- */
.tn-crew { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin: 10px 0 0; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--hair); background: var(--glass); color: var(--text); font-size: 14px; }
.tn-crew > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.tn-crew-b { display: flex; gap: 6px; flex: none; }
.tn-crew-b .btn { width: auto; min-height: 40px; padding: 6px 12px; margin: 0; }
.crew-girl { display: flex; justify-content: space-between; align-items: center; text-align: left; }
.crew-row { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; }
.crew-row > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.crew-row > span:last-child { flex: none; text-align: right; }
.crew-log { padding: 0 0 0 6px; min-height: 0; }
.crew-tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.crew-tiles .btn { margin: 0; padding: 12px 6px; font-size: 15px; }
.co-crew { margin: 8px 0; }
/* 7.6.2 Ride Along */
#rideMsg .ride-msg{display:block;width:100%;text-align:left;margin:6px 0 0;padding:10px 14px;font-size:15px;line-height:1.35;border:1px solid var(--gold,#D9B36C)}
.ride-sheet h3{margin:0 0 8px}.ride-sheet .btn{width:100%}

/* ---------- 7.8.0 Something's off · Ask A: a slim bar at the end of every screen (scrolls with the page, never on top of anything) ---------- */
.hm-help { display: flex; gap: 8px; margin-top: 18px; padding-top: 4px; }
.screen > .hm-help.at-end { margin-top: auto; padding-top: 18px; }
.hm-help button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 10px; border-radius: 999px;
  font: 500 14px/1.2 Sora, system-ui, sans-serif; color: var(--muted); background: rgba(var(--scrim, 14, 10, 18), .46); border: 1px solid var(--hair, rgba(255,244,228,.14));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); white-space: nowrap; }
.hm-help button .ic { width: 16px; height: 16px; flex: none; opacity: .85; }
.hm-help button:active { color: var(--text, #f6f0e8); border-color: var(--gold); }
.hm-help.in-tn { margin-top: 10px; }

/* ---------- 7.9.0 Simple start, her yes rate, New for you, per-guy extras ---------- */
.hm-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.hm-row2 .hm-tile { min-height: 132px; padding: 18px; border-radius: 26px; justify-content: space-between; }
.hm-row2 .hm-n { font-size: 30px; }
.hm-simple-note { text-align: center; color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.hm-yes { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; margin-top: 14px; padding: 16px 20px; border-radius: 26px; text-align: left; color: var(--text, #f6f0e8);
  background: var(--glass, rgba(22,16,10,.6)); border: 1px solid var(--hair); box-shadow: var(--lift); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.hm-yes-big { font: 300 30px/1.1 Sora, system-ui, sans-serif; letter-spacing: -.02em; color: rgb(var(--acc, 236, 191, 108)); }
.hm-yes-s { font-size: 14px; color: var(--muted); }
.hm-yes.wait .hm-yes-big { font-size: 24px; color: var(--text, #f6f0e8); }
.yes-big { font: 300 44px/1 Sora, system-ui, sans-serif; color: rgb(var(--acc, 236, 191, 108)); margin: 2px 0 6px; }
.yes-h { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 4px; }
.yes-row { display: grid; grid-template-columns: 92px 1fr 52px; align-items: center; gap: 10px; font-size: 14px; padding: 3px 0; }
.yes-row i { display: block; height: 10px; border-radius: 6px; background: rgba(var(--hair-rgb, 255, 244, 228), .1); overflow: hidden; } .yes-row i b { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #b06038, rgb(var(--acc, 236, 191, 108))); }
.yes-row span:last-child { text-align: right; color: var(--muted); }
.nfy { margin-top: 14px; border-color: rgba(var(--acc, 236, 191, 108), .55); }
.nfy-k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--acc, 236, 191, 108)); }
.nfy-t { font-size: 22px; font-weight: 600; margin: 4px 0 2px; } .nfy-b { font-size: 15px; color: var(--muted); }
.nav4 button { flex: 1; }
.gx { margin: 10px 0 4px; }
.gx-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.gx-h em { font-style: normal; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--acc, 236, 191, 108)); }
.gx .chips { display: grid; gap: 8px; margin: 0 0 8px; } .gx-age { grid-template-columns: repeat(4, 1fr); } .gx-grp { grid-template-columns: 1fr 1fr; }
.gx .chip { min-height: 48px; justify-content: center; margin: 0; font-size: 16px; }
.gx-note { min-height: 48px; }
label.f .req { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--acc, 236, 191, 108)); margin-left: 6px; }
/* 8.0.0 three sample dancers, the coach in her ear */
.pd-card { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; margin: 8px 0; padding: 16px 18px; border-radius: 24px; text-align: left; color: var(--text, #f6f0e8);
  background: var(--glass, rgba(22,16,10,.6)); border: 1px solid var(--hair); box-shadow: var(--lift); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.pd-card b { font: 400 24px/1.1 Sora, system-ui, sans-serif; color: rgb(var(--acc, 236, 191, 108)); } .pd-line { font-size: 15px; font-weight: 600; } .pd-blurb { font-size: 14px; color: var(--muted); line-height: 1.4; }
.pd-on .btn { width: 100%; }
.ear-a { font-size: 17px; line-height: 1.45; border-color: rgba(var(--acc, 236, 191, 108), .6); } .ear-a .ic { width: 18px; height: 18px; vertical-align: -3px; color: rgb(var(--acc, 236, 191, 108)); }
.hm-vid { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; border-radius: 24px; text-decoration: none; color: var(--text, #f6f0e8);
  background: var(--glass, rgba(22,16,10,.6)); border: 1px solid rgba(var(--acc, 236, 191, 108), .45); box-shadow: var(--lift); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.hm-vid-i { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(var(--acc, 236, 191, 108), .16); color: rgb(var(--acc, 236, 191, 108)); }
.hm-vid-i .ic { width: 20px; height: 20px; } .hm-vid-t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; } .hm-vid-t b { font-size: 17px; font-weight: 600; } .hm-vid-t small { color: var(--muted); font-size: 13px; }
.hm-vid-x { flex: none; color: var(--muted); font-size: 13px; padding: 8px 4px; min-height: 40px; }

/* 8.2.0 Read the room: the first thing she tries on the floor */
.tn-room { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; margin: 4px 0 14px; padding: 16px 18px; border-radius: 20px;
  border: 1px solid rgba(230,182,104,.85); color: #fff6e8; cursor: pointer;
  background: linear-gradient(180deg, rgba(255,244,222,.14), rgba(255,244,222,0) 50%), linear-gradient(128deg, rgba(176,96,56,.8), rgba(230,182,104,.5)); }
.tn-room .ic { width: 30px; height: 30px; flex: none; }
.tn-room b { display: block; font-size: 20px; } .tn-room small { display: block; font-size: 14px; color: #f6e6cf; margin-top: 2px; }
.rm-chips { margin: 4px 0 10px; } .rm-mode .chip { flex: 1; }
.rm-move { margin-top: 14px; } .rm-move .rm-t { font-size: 22px; font-weight: 700; color: var(--gold); margin: 2px 0 6px; line-height: 1.25; }
.rm-steps { margin: 0 0 6px 20px; padding: 0; font-size: 17px; line-height: 1.45; } .rm-steps li { margin: 4px 0; }
.rm-say { font-size: 16px; margin-top: 6px; }

/* 8.3.0 crew intro */
.cw-intro .mid{font-size:1.5rem;line-height:1.2}
.cw-line{margin:10px 0 0;font-size:1.05rem}
.cw-dots{display:flex;gap:8px;justify-content:center;margin:14px 0}
.cw-dots i{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.25)}
.cw-dots i.on{background:var(--gold,#d4af37)}

/* 8.5.0 Let's set you up together */
.meet { padding: 20px 18px; }
.meet-k { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.meet-t { font: 600 26px/1.2 Lora, serif; margin: 6px 0 8px; }
.meet-b { font-size: 17px; line-height: 1.5; margin: 0 0 14px; }
.meet .btn.primary { width: 100%; min-height: 56px; font-size: 18px; }
.meet .btn.ghost { width: 100%; margin-top: 6px; }
.meet-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* 8.6.0 language switch */
.lang-sw{display:inline-flex;gap:4px;padding:3px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.lang-sw button{min-height:36px;padding:6px 14px;border-radius:999px;border:0;background:transparent;color:var(--muted,#c3b6a5);font:inherit;font-size:15px}
.lang-sw button.on{background:var(--gold,#d4af37);color:#1a0f14;font-weight:700}
#langWelcome{margin-top:14px}

/* ---------- 8.7.0 Spanish Plus ---------- */
.priv-first { border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.priv-first p { line-height: 1.4; }
.start-help .meet-t { margin-bottom: 4px; }
.talk { display: flex; flex-direction: column; min-height: 100dvh; padding: 0; gap: 0; }
.talk-his, .talk-her { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px; gap: 8px; }
.talk-his { background: #f6f1e8; color: #14100c; border-bottom: 2px solid var(--gold); }
.talk-his.flip { transform: rotate(180deg); }
.talk-his .talk-say { font-size: 34px; line-height: 1.2; font-weight: 700; color: #14100c; }
.talk-his .talk-me { color: #5b5145; }
.talk-his .talk-btn { background: #14100c; color: #fff; }
.talk-top { display: flex; align-items: center; gap: 8px; }
.talk-top b { flex: 1; font-size: 18px; }
.talk-say { font-size: 24px; line-height: 1.3; min-height: 2.6em; }
.talk-say.her { color: var(--text); }
.talk-hint { opacity: .6; font-size: 17px; font-weight: 400; }
.talk-me { min-height: 1.2em; opacity: .8; }
.talk-btn { width: 100%; min-height: 76px; border-radius: 18px; border: 0; font-size: 21px; font-weight: 700; background: var(--gold); color: #14100c; touch-action: none; user-select: none; -webkit-user-select: none; }
.talk-btn.on { outline: 4px solid #3ddc97; transform: scale(.98); }
.talk-btn:disabled { opacity: .45; }
.talk-btn.small { min-height: 56px; font-size: 17px; }
.talk-ok { background: #fffaf0; border: 1px solid #d9c9a8; border-radius: 14px; padding: 10px 12px; font-size: 17px; color: #14100c; }
.offer { display: block; width: 100%; text-align: left; background: var(--card2, #1c1612); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-radius: 16px; padding: 14px; margin: 8px 0; color: var(--text); }
.offer-en { display: block; font-size: 22px; font-weight: 700; }
.offer-es { display: block; font-size: 15px; opacity: .7; margin-top: 4px; }
.offer-big { background: #f6f1e8; color: #14100c; border-radius: 18px; padding: 28px 18px; text-align: center; margin-bottom: 10px; }
.offer-big.flip { transform: rotate(180deg); }
.offer-big-en { font-size: 40px; line-height: 1.15; font-weight: 800; }
.offer-big-es { text-align: center; opacity: .75; margin-bottom: 12px; }
.say-en { font-size: 26px; font-weight: 700; line-height: 1.25; }
.say-es { font-size: 16px; opacity: .75; margin-top: 6px; }
.say-score { font-size: 40px; font-weight: 800; }
.say-words span { display: inline-block; padding: 2px 6px; margin: 2px; border-radius: 8px; font-size: 17px; }
.say-words .ok { background: color-mix(in srgb, #3ddc97 22%, transparent); }
.say-words .miss { background: color-mix(in srgb, #f49ac1 25%, transparent); text-decoration: underline; }
.learn-go { display: block; width: 100%; text-align: left; color: var(--text); }
.learn-go b { display: block; font-size: 18px; margin-bottom: 4px; }
.lesson h3 { margin: 4px 0 6px; }
.trmsg .trm-b { display: inline; padding: 0 0 0 4px; font-size: 13px; }
.tip-row { align-items: center; margin: 6px 0; }
.celeb-cv { display: block; width: 100%; max-height: 70vh; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 16px; background: #000; margin: 0 auto; }
.story .small { white-space: pre-wrap; }

/* 8.9.0 Read + Video on every screen, the read bar, fast vs slow night */
.p890{display:flex;justify-content:flex-end;gap:8px;margin:-4px 0 8px}
.p890b{display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:0 10px;border-radius:999px;border:1px solid rgba(232,194,122,.35);background:rgba(20,14,18,.55);color:var(--gold,#e8c27a);font:600 13px/1 inherit;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.p890b .ic{width:16px;height:16px}
.p890bar{position:fixed;left:12px;right:12px;bottom:calc(78px + env(safe-area-inset-bottom));z-index:80;display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:18px;background:rgba(22,16,20,.92);border:1px solid rgba(232,194,122,.45);color:#f3e7d3;font-size:15px;box-shadow:0 10px 30px rgba(0,0,0,.5)}
.p890bar span{flex:1}
.p890bar button{min-height:36px;padding:0 12px;border-radius:999px;border:1px solid rgba(232,194,122,.4);background:transparent;color:var(--gold,#e8c27a);font-weight:600}
.fastslow .fs-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
.fastslow .fs{border-radius:16px;padding:10px;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.18)}
.fastslow .fs b{display:block;font-size:17px}
.fastslow .fs-fast b{color:#ffb38a}.fastslow .fs-slow b{color:#9fd3ff}
.fastslow .fs-bars{display:flex;align-items:flex-end;gap:5px;height:46px;margin:8px 0 4px}
.fastslow .fs-bars i{flex:1;border-radius:5px 5px 2px 2px}
.fastslow .fs-fast .fs-bars i{background:linear-gradient(#ffb38a,#c8653b)}.fastslow .fs-slow .fs-bars i{background:linear-gradient(#9fd3ff,#3b6f9c)}
.fastslow .fs small{display:block;color:var(--muted,#bdb1a3);font-size:12px}
.fastslow .fs p{margin:6px 0 0;font-size:14px}
