/* Variation 03, Turntable Showcase: the Chart tab (assets/turntable.js). The room is the page: a slim header with
   "Where are they sitting?", then her room edge to edge between the header and the tab bar. Colors come from the three looks. */
.look-candle { --floor: #241B1E; --dance: #2F2528; --dance-line: #8A7570; --wall: #5A4A4C; --wallq: #30262A; --tside: #3A2E31; --cside: #9C7A44; --obj: #33282B; --objside: #44373A; --me: #F3EADB; --sign: #F3EADB; --on-sign: #1C1517; }
.look-ink { --floor: #FBF8F1; --dance: #F1EADB; --dance-line: #8C7B5C; --wall: #15130F; --wallq: #E9E1D0; --tside: #D6C394; --cside: #8F6F2C; --obj: #ECE5D6; --objside: #CFC3AA; --me: #15130F; --sign: #15130F; --on-sign: #FBF8F1; }
.look-peony { --floor: #FFFBF4; --dance: #FAE6EC; --dance-line: #C27A93; --wall: #C99AA6; --wallq: #F5E4E2; --tside: #F1D3DC; --cside: #C9567F; --obj: #F4E7DD; --objside: #E2CBC0; --me: #3E0A24; --sign: #3E0A24; --on-sign: #FFFCF7; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the header: the search, and one line of status under it */
.tab-chart { padding: 0; }
.tab-chart .tab-top.tt-top { position: relative; z-index: 25; margin: 0; padding: 8px 16px 8px; background: var(--surface); border-bottom: 1px solid var(--line); }
.tt-top .status { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.tt-findbox { position: relative; }
.tt-find { position: relative; display: block; }
.tt-find > svg { position: absolute; left: 15px; top: 50%; margin-top: -11px; width: 22px; height: 22px; stroke: var(--accent-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.tt-find input { width: 100%; height: 46px; padding: 0 16px 0 46px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); color: var(--ink);
  font: 500 16px var(--text); caret-color: var(--accent-ink); -webkit-appearance: none; appearance: none; }
.tt-find input::placeholder { color: var(--ink-2); opacity: 1; }
.tt-find input:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.tt-find input::-webkit-search-cancel-button { -webkit-appearance: none; }
.tt-hits { position: absolute; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 4px; list-style: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow); z-index: 40; max-height: 60vh; overflow-y: auto; }
.tt-hits[hidden] { display: none; }
.tt-hits button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 12px; border: 0; background: none;
  text-align: left; color: var(--ink); border-radius: var(--r-small); cursor: pointer; font: 400 17px var(--text); }
.tt-hits button:hover, .tt-hits button:focus-visible { background: var(--accent-soft); }
.tt-hits .none { padding: 14px 12px; color: var(--ink-2); font-size: 16px; }
.tt-who b { font-weight: 700; }
.tt-tn { flex: none; font: 700 26px/1 var(--text); color: var(--accent-ink); font-variant-numeric: lining-nums tabular-nums; }
.tt-tn.word { font-size: 16px; }

/* the stage: the room, the controls, the sheet */
.tt-stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.tt-view { position: absolute; inset: 0; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; background: var(--bg);
  transition: background-color .6s cubic-bezier(.2, .85, .25, 1); }
.tt-view.dragging { cursor: grabbing; }
.tt-view.eye { background: var(--surface); }
.tt-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tt-floor { fill: var(--floor); }
.tt-wall { fill: none; stroke: var(--wall); stroke-width: 3; stroke-linejoin: round; }
.tt-wallq { fill: var(--wallq); stroke: var(--wall); stroke-width: 1; stroke-linejoin: round; }
.tt-dance { fill: var(--dance); stroke: var(--dance-line); stroke-width: 1.5; stroke-dasharray: 7 6; }
.tt-obj { fill: var(--obj); stroke: var(--objside); stroke-width: 1.5; }
.tt-objside { fill: var(--objside); }
.tt-tside { fill: var(--tside); stroke: var(--wall); stroke-width: 1; }
.tt-cside { fill: var(--cside); }
.tt-top { fill: var(--surface); stroke: var(--accent-ink); stroke-width: 2; }
.tt-table.changed .tt-top { fill: var(--accent-soft); }
.tt-table.dim .tt-top, .tt-table.dim .tt-tside { opacity: .5; }
.tt-chair { fill: var(--accent); stroke: var(--accent); stroke-width: 1.5; }
.tt-chair.open { fill: var(--surface); stroke: var(--accent-ink); stroke-dasharray: 3 3; }
.tt-seatno { fill: var(--on-accent); font: 700 14px var(--text); text-anchor: middle; dominant-baseline: central; font-variant-numeric: lining-nums tabular-nums; pointer-events: none; }
.tt-seatno.open { fill: var(--accent-ink); }
.tt-seat.me .tt-chair { fill: var(--me); stroke: var(--me); }
.tt-seat.me .tt-seatno { fill: var(--surface); }
.tt-mering { fill: none; stroke: var(--me); stroke-width: 2.5; }
.tt-name { fill: var(--ink); font: 600 15px var(--text); dominant-baseline: central; paint-order: stroke; stroke: var(--floor); stroke-width: 4px; stroke-linejoin: round; }
.tt-name.me { fill: var(--accent-ink); font-weight: 700; }
.tt-num { fill: var(--ink); stroke: var(--ink); stroke-width: .6px; font-family: var(--display); font-weight: var(--display-weight); text-anchor: middle; dominant-baseline: central; font-variant-numeric: lining-nums; }
.tt-num.on { fill: var(--accent-ink); stroke: var(--accent-ink); }
.tt-stem { stroke: var(--accent-ink); stroke-width: 2; }
.tt-plate { fill: var(--surface); stroke: var(--accent-ink); stroke-width: 1.5; }
.tt-plate.on { fill: var(--accent); stroke: var(--accent); }
.tt-platetext { fill: var(--ink); stroke: var(--ink); stroke-width: .6px; font: 400 19px var(--display); text-anchor: middle; dominant-baseline: central; font-variant-numeric: lining-nums; }
.tt-platetext.on { fill: var(--on-accent); stroke: var(--on-accent); }

/* the room's signs: upright, ink on a light card in the light looks, champagne in Candlelight */
.tt-signstem { stroke: var(--sign); stroke-width: 1.5; opacity: .7; }
.tt-signfoot { fill: var(--sign); }
.tt-signplate { fill: var(--sign); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .18)); }
.tt-signtext { fill: var(--on-sign); font: 600 15px var(--text); dominant-baseline: central; letter-spacing: .02em; }
.tt-signarrow { fill: none; stroke: var(--on-sign); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the callout pin over the open table */
.tt-pinbody { fill: var(--accent); filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .22)); }
.tt-pin1 { fill: var(--on-accent); font: 700 16px var(--text); dominant-baseline: central; }
.tt-pin2 { fill: var(--on-accent); font: 600 14px var(--text); dominant-baseline: central; font-variant-numeric: lining-nums; }

/* eye level: the place cards at every seat */
.tt-tagcard { fill: var(--surface); stroke: var(--line-2); stroke-width: 1; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .14)); }
.tt-tagname { fill: var(--ink); font: 600 15px var(--text); dominant-baseline: central; }
.tt-tagno { fill: var(--accent); }
.tt-tagno.open { fill: var(--surface); stroke: var(--accent-ink); stroke-width: 1.5; stroke-dasharray: 3 3; }
.tt-tagnum { fill: var(--on-accent); font: 700 14px var(--text); text-anchor: middle; dominant-baseline: central; font-variant-numeric: lining-nums tabular-nums; }
.tt-tagnum.open { fill: var(--accent-ink); }
.tt-tagstem { stroke: var(--accent-ink); stroke-width: 1.5; }
.tt-tagfoot { fill: var(--accent-ink); }
.tt-tag.me .tt-tagcard { fill: var(--me); stroke: var(--me); }
.tt-tag.me .tt-tagname { fill: var(--surface); font-weight: 700; }
.tt-tag.me .tt-tagno { fill: var(--surface); }
.tt-tag.me .tt-tagnum { fill: var(--me); }

/* controls: plus and minus, then the compass, on the right; the way back from eye level on the left */
.tt-ctl { position: absolute; z-index: 6; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 10px; }
.tt-ctl button { width: 46px; height: 46px; border: 0; display: grid; place-items: center; background: var(--surface); color: var(--accent-ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tt-ctl button svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tt-stack { display: flex; flex-direction: column; border-radius: 23px; overflow: hidden; box-shadow: var(--shadow); }
.tt-stack button + button { border-top: 1px solid var(--line); }
.tt-compass { border-radius: 50% !important; box-shadow: var(--shadow); }
.tt-compass svg { transition: transform .08s linear; stroke: none !important; }
.tt-compass svg .n { fill: var(--accent-ink); }
.tt-compass svg .s { fill: var(--line-2); }
.tt-ctl.eyeon .tt-compass, .tt-ctl.focused .tt-compass { display: none; }
.tt-ctl button:hover { background: var(--accent-soft); }
.tt-ctl button:active { background: var(--surface-2); }
.tt-backpill { position: absolute; z-index: 7; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 18px 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 15px var(--text); cursor: pointer; box-shadow: var(--shadow); }
.tt-backpill[hidden] { display: none; }
.tt-backpill svg { width: 20px; height: 20px; stroke: var(--accent-ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tt-backpill:hover { background: var(--accent-soft); }

/* the table card: a map place card that rises from the bottom */
.tt-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 12; display: flex; flex-direction: column; background: var(--surface);
  border-radius: 18px 18px 0 0; box-shadow: 0 -10px 34px -16px rgba(0, 0, 0, .35); transform: translateY(100%);
  transition: transform .44s cubic-bezier(.2, .85, .25, 1); will-change: transform; }
.tt-grab { position: relative; flex: none; padding: 12px 64px 8px 16px; min-height: 66px; cursor: grab; touch-action: none; }
.tt-handle { position: absolute; left: 50%; top: 7px; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: var(--line-2); }
.tt-head { padding-top: 6px; }
.tt-x { position: absolute; right: 10px; top: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.tt-x svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.tt-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 96px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.tt-title { font-size: 30px; line-height: 1.1; }
.tt-count { margin-top: 2px; font: 600 14px var(--text); color: var(--ink-2); letter-spacing: .02em; }
.tt-answer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 2px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.tt-big .w { display: block; font: 600 16px var(--text); color: var(--ink-2); letter-spacing: .04em; }
.tt-big .n { display: block; font-family: var(--display); font-weight: var(--display-weight); font-size: 96px; line-height: .92; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.tt-big .n.word { font-size: 40px; line-height: 1.05; letter-spacing: 0; }
.tt-seatline { font: 600 18px var(--text); color: var(--accent-ink); padding-bottom: 8px; }
.tt-why { font-size: 16px; line-height: 1.5; color: var(--ink); margin: 4px 0 12px; max-width: 62ch; }
.tt-eyebtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font: 600 16px var(--text); cursor: pointer; box-shadow: var(--shadow); }
.tt-eyebtn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tt-eyebtn:hover { filter: brightness(1.06); }
.tt-eyefor { margin: 6px 0 10px; text-align: center; font-size: 14px; color: var(--ink-2); }
.tt-seats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.tt-seats li { min-width: 0; border-bottom: 1px solid var(--line); }
.tt-seats button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 4px; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; border-radius: var(--r-small); }
.tt-seats button:hover { background: var(--accent-soft); }
.tt-seats button[aria-pressed="true"] { background: var(--accent-soft); }
.tt-seats button[aria-pressed="true"] .n { background: var(--me); color: var(--surface); }
.tt-seats .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 700 14px var(--text); font-variant-numeric: tabular-nums; }
.tt-seats .n.open { background: var(--surface); color: var(--accent-ink); border: 1.5px dashed var(--accent-ink); }
.tt-seats .nm { min-width: 0; font-size: 16px; line-height: 1.25; }
.tt-seats .nm small { display: block; font-size: 14px; color: var(--ink-2); }
.tt-change { display: block; width: 100%; min-height: 48px; margin-top: 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--accent-ink);
  font: 600 16px var(--text); cursor: pointer; }
.tt-change:hover { background: var(--accent-soft); }
.tab-chart .note { position: absolute; left: 16px; right: 84px; bottom: 12px; z-index: 14; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .tt-sheet, .tt-view, .tt-compass svg { transition: none; } }

/* ---------- Ink and Gold Foil (chart-round8/03-ink-foil, its turntable rules whole): the room as a printed card, flags as engraved place cards, gold foil fills ---------- */
.look-ink .tab-chart .tab-top.tt-top { background-color: var(--head); background-image: var(--tooth); border-bottom: 3px double var(--foil-edge); }
.look-ink .tt-find input { border-radius: 2px; border-color: #8E8270; background: #FFFDF8; }
.look-ink .tt-hits, .look-ink .tt-hits button { border-radius: 2px; }
.look-ink .tt-view { background-color: var(--bg); background-image: var(--paper); }
.look-ink .tt-view.eye { background-color: var(--surface); }
.look-ink .tt-wall { stroke-width: 2; }
.look-ink .tt-dance { stroke-width: 1; stroke-dasharray: 2 5; stroke-linecap: round; }
.look-ink .tt-plate { fill: #FFFDF8; stroke: var(--foil-edge); stroke-width: 1.5; filter: drop-shadow(0 2px 1.5px rgba(21, 19, 15, .2)); }
.look-ink .tt-plate.on { fill: var(--accent); stroke: var(--accent-ink); }
.look-ink .tt-platetext { font-weight: 700; }
.look-ink .tt-num { font-weight: 700; }
.look-ink .tt-top { stroke-width: 1.5; }
.look-ink .tt-chair.open { fill: #FFFDF8; }
.look-ink .tt-signplate { filter: drop-shadow(0 3px 3px rgba(21, 19, 15, .25)); }
.look-ink .tt-signtext { font-weight: 500; letter-spacing: .06em; }
.look-ink .tt-pinbody { filter: drop-shadow(0 4px 5px rgba(21, 19, 15, .3)); }
.look-ink .tt-tagcard { fill: #FFFDF8; stroke: var(--foil-edge); filter: drop-shadow(0 2px 2px rgba(21, 19, 15, .16)); }
.look-ink .tt-stack, .look-ink .tt-backpill, .look-ink .tt-x, .look-ink .tt-eyebtn, .look-ink .tt-change { border-radius: 2px; }
.look-ink .tt-stack, .look-ink .tt-compass { box-shadow: 0 0 0 1px var(--line-2), 0 2px 3px rgba(21, 19, 15, .12); }
.look-ink .tt-ctl button { background: #FFFDF8; color: var(--ink); }
.look-ink .tt-compass svg .n { fill: var(--accent-ink); }
.look-ink .tt-backpill { border-color: var(--line-2); box-shadow: 0 2px 3px rgba(21, 19, 15, .12); }
.look-ink .tt-sheet { border-radius: 0; border-top: 3px double var(--foil-edge); background-color: var(--surface); background-image: var(--tooth);
  box-shadow: 0 -8px 24px -14px rgba(21, 19, 15, .4); }
.look-ink .tt-x { background: transparent; border: 1px solid var(--line-2); }
.look-ink .tt-title { font-size: 32px; text-shadow: 0 1px 0 rgba(255, 255, 255, .85); }
.look-ink .tt-count { letter-spacing: .1em; text-transform: uppercase; }
.look-ink .tt-eyebtn { background: var(--foil) var(--accent); color: var(--on-accent); letter-spacing: .03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(80, 55, 10, .3), 0 6px 14px -8px rgba(21, 19, 15, .45); }
.look-ink .tt-seats .n { background: var(--foil) var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
.look-ink .tt-seats button[aria-pressed="true"] .n { background: var(--me); box-shadow: none; }
.look-ink .tt-seats button[aria-pressed="true"] { background: var(--accent-soft); }
.look-ink .tt-change { border-color: var(--ink); color: var(--ink); }
.look-ink .tt-tn { font-family: var(--display); }
/* Ink's number and flag text, scoped: no inherited stroke, flags at 17 px (source turntable.css 61 to 67) */
.look-ink .tt-num, .look-ink .tt-num.on, .look-ink .tt-platetext, .look-ink .tt-platetext.on { stroke: none; }
.look-ink .tt-platetext { font-size: 17px; }

/* Peony and Cream (chart-round9/01-peony-cream, its turntable rules whole): a watercolor petal wash behind the room, petal-round chairs and plates */
.look-peony .tt-view { background:
  radial-gradient(58% 42% at 10% 16%, rgba(243, 138, 176, .24), rgba(243, 138, 176, 0) 72%),
  radial-gradient(52% 38% at 92% 84%, rgba(243, 138, 176, .2), rgba(243, 138, 176, 0) 72%),
  radial-gradient(36% 28% at 84% 8%, rgba(201, 86, 127, .12), rgba(201, 86, 127, 0) 72%),
  radial-gradient(40% 30% at 6% 92%, rgba(250, 214, 226, .5), rgba(250, 214, 226, 0) 72%),
  var(--bg); }
.look-peony .tt-view.eye { background: var(--surface); }
.look-peony .tt-chair { stroke: var(--surface); stroke-width: 1.5; }
.look-peony .tt-chair.open { fill: var(--surface); stroke: var(--accent-ink); }
.look-peony .tt-seat.me .tt-chair { stroke: var(--surface); }
.look-peony .tt-top { stroke-width: 1.75; }
.look-peony .tt-plate { rx: 15px; }
.look-peony .tt-sheet { border-radius: 26px 26px 0 0; }
.look-peony .tt-big .n { letter-spacing: -0.01em; }
.look-peony .tab-chart .tab-top.tt-top { border-bottom-color: var(--line-2); }
.look-peony .tt-num, .look-peony .tt-platetext { stroke-width: .2px; }

/* round 3 (2026-10-25), sweep 67: the chart's header has its own background so it never blends into the room below it */
.look-candle { --head: #33282B; }
.look-ink { --head: #ECE5D6; }
.look-peony { --head: #F4E7DD; }
body.on-chart .head, .tab-chart .tab-top.tt-top { background-color: var(--head); }
.tab-chart .tab-top.tt-top { border-bottom: 1px solid var(--line-2); box-shadow: 0 6px 14px -10px rgba(0, 0, 0, .45); }
/* sweep 77: an open table looks exactly like a closed one, minus the names; the others dim (the .on top rules are gone) */
/* item 2: a guest who hasn't answered sits in a lighter chair, and the card says "Not yet" */
.tt-chair.exp { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.5; }
.tt-seats small.exp { color: var(--ink-2); font-style: italic; }
