/* Alex's panel: the Intelli Voice look (smoked glass, white text, sharp corners, Poppins) on a black page */
@font-face { font-family: Poppins; font-weight: 300; font-display: swap; src: url(fonts/Poppins-300.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(fonts/Poppins-400.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(fonts/Poppins-500.woff2) format('woff2'); }

:root {
  --bg: #050607; --ink: #fff; --muted: rgba(255,255,255,.74); --faint: rgba(255,255,255,.5);
  --glass: rgba(24,27,31,.62); --edge: rgba(255,255,255,.13); --sheen: linear-gradient(135deg, rgba(255,255,255,.07) 0%, transparent 42%);
  --red: #d8361a; --red-deep: #8f1d0c; --red-soft: rgba(216,54,26,.12); --emerald: var(--red); --aqua: var(--red); --redback: var(--red);
  --shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 40px rgba(0,0,0,.5);
}
* { box-sizing: border-box; border-radius: 0 !important; }
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 Poppins, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }

.app { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip;
  background: radial-gradient(900px 600px at 22% 38%, rgba(143,29,12,.14), transparent 70%), var(--bg); }

/* header */
.top { display: flex; align-items: center; gap: 14px; padding: 18px 16px 6px; max-width: 1440px; width: 100%; margin: 0 auto; }
.emblem { width: 44px; height: 44px; flex: none; }
.brand b { display: block; font-weight: 500; font-size: 20px; letter-spacing: .02em; }
.brand span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 300; }

/* layout: phones first */
.grid { display: grid; gap: 16px; padding: 8px 16px 24px; max-width: 1440px; width: 100%; margin: 0 auto; grid-template-columns: minmax(0, 1fr); }
.glass { background: var(--sheen), var(--glass); -webkit-backdrop-filter: blur(26px) saturate(1.4); backdrop-filter: blur(26px) saturate(1.4);
  border: 1px solid var(--edge); box-shadow: var(--shadow); }
@media (prefers-reduced-transparency: reduce) { .glass { background: rgb(24,27,31); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* the globe */
.orbcol { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.orbwrap { width: min(100%, 560px); aspect-ratio: 1; position: relative; }
.orbwrap canvas { width: 100%; height: 100%; display: block; mix-blend-mode: screen; cursor: pointer; touch-action: manipulation; }
.orbstatus { margin: 0; font-size: 13px; color: var(--muted); letter-spacing: .02em; min-height: 1.5em; }
.btn { appearance: none; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); padding: 10px 18px; cursor: pointer; font-weight: 500; font-size: 14px;
  transition: background-color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--red-soft); border-color: var(--red); }
.btn:active { transform: scale(.98); }
#restart { background: var(--emerald); border-color: var(--emerald); }
#restart:hover { background: #ef4524; }

/* questions */
.ask { padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ask h1 { margin: 0; font-weight: 300; font-size: 26px; line-height: 1.2; }
.typer { display: flex; gap: 8px; }
.typer input { flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); padding: 8px 2px; outline: none; }
.typer input:focus { border-bottom-color: var(--aqua); }
.typer input::placeholder { color: var(--faint); }
.qtabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.07); padding: 3px; }
.qtabs::before { content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); background: var(--red); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.qtabs[data-on="1"]::before { transform: translateX(100%); }
.qtabs button { position: relative; z-index: 1; border: 0; background: none; padding: 7px 8px; cursor: pointer; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.85); transition: color .3s; }
.qtabs button[aria-selected="true"] { color: #fff !important; }
.examples { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.chip { width: 100%; text-align: left; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); padding: 8px 12px; cursor: pointer; font-size: 13.5px; color: rgba(255,255,255,.92);
  transition: background-color .2s, border-color .2s, opacity .2s; }
.chip:hover { background: var(--red-soft); border-color: rgba(216,54,26,.6); }
.chip.asked { opacity: .5; }
.answer { border-left: 2px solid var(--red); padding: 10px 14px; background: var(--red-soft); font-size: 15px; line-height: 1.55; }
.answer .ml { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.support { display: grid; gap: 8px; }
.support p { margin: 0 0 2px; color: var(--muted); font-size: 13.5px; }
.support a { display: block; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); padding: 10px 12px; text-decoration: none; }
.support a b { display: block; font-weight: 500; }
.support a span { color: var(--muted); font-size: 13px; }
.support a:hover { background: rgba(255,255,255,.1); }

/* tiles */
.tiles { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.tile { position: relative; padding: 16px; min-width: 0; display: flex; flex-direction: column; gap: 12px;
  transition: opacity .35s ease, transform .35s ease, box-shadow .35s ease; }
.tile h2 { margin: 0; font-weight: 500; font-size: 15.5px; letter-spacing: .01em; }
.tiles.has-focus .tile { opacity: .38; }
.tiles.has-focus .tile.focus { opacity: 1; transform: scale(1.02); outline: 1px solid var(--red); box-shadow: 0 24px 60px rgba(0,0,0,.6); z-index: 2; }
.tile.enter { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* music */
.bands { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bands li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; width: 16px; flex: none; }
.eq i { width: 3px; background: var(--red); height: 30%; animation: eq 1.1s ease-in-out infinite; transform-origin: bottom; }
.eq i:nth-child(2) { animation-delay: -.4s; } .eq i:nth-child(3) { animation-delay: -.8s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.player { min-height: 0; }
.player iframe { border: 0; width: 100%; height: 120px; display: block; }
.player .note { margin: 6px 0 0; font-size: 12px; color: var(--faint); }

/* food */
.food { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.food li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.food li:last-child { border-bottom: 0; padding-bottom: 0; }
.tag { font-size: 11.5px; padding: 2px 8px; background: var(--emerald); font-weight: 500; white-space: nowrap; }

/* svg tiles */
.gfx { width: 100%; height: auto; display: block; }
.gfx text { fill: #fff; font: 400 13px Poppins, sans-serif; }
.gfx .dim { fill: var(--muted); }

/* manga spines */
.spines { display: flex; gap: 8px; align-items: flex-end; height: 150px; }
.spine { flex: 1; height: var(--h); background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.04) 30%, rgba(255,255,255,.1)); border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; font-weight: 500; letter-spacing: .06em; }

/* pop culture */
.pop { display: flex; align-items: center; gap: 14px; }
.pop svg { width: 72px; height: 72px; flex: none; }
.pop b { font-weight: 500; font-size: 18px; }

/* charts */
.chartrow { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13.5px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.facts dd .ml { color: var(--muted); margin-left: 6px; }
.rasi { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.3); font-size: 13px; }
.rasi > div { border: 1px solid rgba(255,255,255,.14); padding: 4px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 2px 6px; min-width: 0; }
.rasi > div small { width: 100%; font-size: 9.5px; color: var(--faint); line-height: 1.2; }
.rasi > .mid { grid-column: 2 / 4; grid-row: 2 / 4; align-items: center; justify-content: center; align-content: center; text-align: center; font-size: 13px; color: var(--muted); }
.rasi .g { font-weight: 500; }
.rasi .g.lag { color: var(--aqua); }
.note { margin: 0; font-size: 12px; color: var(--faint); }

.foot { margin-top: auto; padding: 14px 16px 22px; max-width: 1440px; width: 100%; margin-left: auto; margin-right: auto; }
.foot p { margin: 0; font-size: 12px; color: var(--faint); }

/* tablet */
@media (min-width: 700px) {
  .top { padding: 22px 28px 8px; } .grid { padding: 8px 28px 28px; } .foot { padding: 14px 28px 24px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile.w2, .tile.w3 { grid-column: span 2; }
  .chartrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* desktop */
@media (min-width: 1100px) {
  .grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 24px; align-items: center; }
  .orbcol { grid-row: 1; }
  .tiles { grid-column: 1 / -1; }
  .examples { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile { grid-column: span 2; } .tile.w2 { grid-column: span 4; } .tile.w3 { grid-column: span 6; }
  .chartrow.three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tiles.has-focus .tile.focus { transform: none; }
}
.rasi { width: 100%; max-width: 380px; justify-self: center; }
@media (min-width: 700px) and (max-width: 1099px) { .tile[data-id="manga"] { grid-column: span 2; } }

/* ===== minimal black and red, Japanese (Viv, 14 Nov 2026: "black and red Japanese themed, minimal but premium, real") =====
   Black lacquer surfaces, hairlines, one vermilion line, small kanji, a red seal. No comic effects, no cartoon drawings. */
:root { --red: #c8341f; --red-soft: rgba(200,52,31,.1); --lacquer: #0b0b0c; --hair: rgba(255,255,255,.09); --paper: #efe9df; }
.app { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"),
  radial-gradient(1100px 760px at 24% 30%, rgba(120,22,10,.16), transparent 72%), var(--bg); }
.jp { font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif; font-weight: 400; }
.glass, .tile, .ask { background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 40%), var(--lacquer); -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 1px solid var(--hair); border-top: 1px solid var(--red); box-shadow: 0 30px 60px rgba(0,0,0,.55); }
.grid, .tiles { gap: 20px; }
.tile { padding: 22px 20px 20px; gap: 16px; }
.tile h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 400; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.tile h2 .jp { font-size: 17px; letter-spacing: .1em; color: var(--red); text-transform: none; }
.tiles.has-focus .tile { opacity: .32; }
.tiles.has-focus .tile.focus { outline: none; transform: scale(1.015); border-color: rgba(200,52,31,.55); box-shadow: 0 0 0 1px rgba(200,52,31,.55), 0 34px 70px rgba(0,0,0,.65); }
/* header seal */
.seal { width: 44px; height: 44px; flex: none; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 15px; letter-spacing: .02em;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.18), inset 0 0 0 4px var(--red), inset 0 0 0 5px rgba(255,255,255,.55); }
.top .emblem { display: none; }
.brand b { font-weight: 400; letter-spacing: .3em; text-transform: uppercase; font-size: 18px; }
.brand span { letter-spacing: .08em; }
/* the globe */
.orbcol { position: relative; }
.orbcap { margin: 0; display: flex; gap: 12px; align-items: center; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.orbcap .jp { color: var(--red); font-size: 15px; letter-spacing: .12em; text-transform: none; }
.orbcap::before { content: ''; width: 28px; height: 1px; background: var(--red); }
.orbstatus { letter-spacing: .18em; text-transform: uppercase; font-size: 11.5px; color: rgba(255,255,255,.5); }
/* ask */
.ask { padding: 26px 24px; gap: 18px; }
.ask h1 { font-weight: 300; font-size: 30px; letter-spacing: .01em; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ask h1 .jp { color: var(--red); font-size: 18px; letter-spacing: .14em; }
.typer input { border-bottom-color: rgba(255,255,255,.22); }
.typer input:focus { border-bottom-color: var(--red); }
.btn { border: 1px solid rgba(255,255,255,.22); background: transparent; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 400; }
.btn:hover { border-color: var(--red); background: var(--red-soft); }
#restart { background: var(--red); border-color: var(--red); }
.qtabs { background: transparent; border-bottom: 1px solid var(--hair); padding: 0; }
.qtabs::before { top: auto; bottom: -1px; left: 0; height: 2px; width: 50%; background: var(--red); }
.qtabs button { letter-spacing: .16em; text-transform: uppercase; font-size: 11.5px; font-weight: 400; color: rgba(255,255,255,.55); padding: 10px 8px; }
.qtabs button[aria-selected="true"] { color: #fff !important; }
.chip { border: 0; border-bottom: 1px solid var(--hair); background: transparent; padding: 10px 2px; font-weight: 300; font-size: 14px; color: rgba(255,255,255,.86); transition: color .2s, padding-left .25s; }
.chip:hover { background: transparent; color: #fff; padding-left: 8px; }
.chip.asked { opacity: .45; }
.answer { border: 0; border-left: 1px solid var(--red); background: transparent; padding: 4px 0 4px 16px; font-weight: 300; font-size: 18px; line-height: 1.5; box-shadow: none; color: #fff; }
.answer::before, .answer::after { display: none; }
.answer .ml { color: rgba(255,255,255,.6); font-size: 15px; }
.support a { border: 1px solid var(--hair); background: transparent; }
.support a:hover { border-color: var(--red); background: var(--red-soft); }
/* tiles content */
.eq i { background: var(--red); width: 2px; }
.bands li { font-weight: 300; font-size: 15px; letter-spacing: .01em; }
.food li { font-weight: 300; font-size: 15px; border-bottom-color: var(--hair); }
.tag { background: transparent; border: 1px solid var(--red); color: #fff; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: 10px; }
.flavours { display: grid; gap: 0; }
.flavour { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.flavour:last-child { border-bottom: 0; }
.flavour b { font-weight: 300; font-size: 24px; letter-spacing: .01em; }
.flavour .jp { color: var(--red); font-size: 13px; margin-left: auto; letter-spacing: .1em; }
.spine { border: 1px solid var(--hair); border-top: 1px solid var(--red); background: linear-gradient(90deg, rgba(255,255,255,.04), transparent 30%, rgba(255,255,255,.03)); box-shadow: none;
  font-weight: 300; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
.pop b { font-weight: 300; font-size: 22px; letter-spacing: .04em; text-transform: none; }
.rasi { border-color: rgba(255,255,255,.22); } .rasi > div { border-color: var(--hair); }
.rasi .g.lag { color: var(--red); }
.foot p { letter-spacing: .06em; }
.seal { writing-mode: vertical-rl; font-size: 12px; line-height: 1; letter-spacing: 0; padding: 4px 0; }
.flavour.has-photo { position: relative; min-height: 120px; align-items: flex-end; padding: 14px 14px 12px; margin-bottom: 10px; border-bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.78)), var(--photo) center / cover no-repeat; }
.flavour.has-photo .jp { color: #fff; opacity: .85; }
/* real photo of the favourite dish (supplied by Viv) */
.dish { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--hair); }
.dish img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.tile:hover .dish img { transform: scale(1.06); }
.dish figcaption { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 34px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82)); }
.dish figcaption b { font-weight: 300; font-size: 20px; }
.dish figcaption .tag { background: var(--red); border-color: var(--red); }
@media (prefers-reduced-motion: reduce) { .dish img { transform: none !important; } }
.dish img { position: absolute; inset: 0; }
.dish figcaption { z-index: 1; }
/* food rows with a real photo behind them */
.food li.has-photo { min-height: 110px; align-items: flex-end; padding: 12px 14px; margin-top: 4px; border: 1px solid var(--hair);
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.8)), var(--photo) center 35% / cover no-repeat; }
.food li.has-photo span { font-size: 17px; }
.flavour .jp, .tile h2 .jp { white-space: nowrap; }
@media (max-width: 699px) { .flavour b { font-size: 21px; } }
.flavour.has-photo:first-child { background-position: center, center 12%; }
.food li.has-photo:first-child { background-position: center, center 45%; }
/* music: Porcupine Tree cover beside the list */
.musicrow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.cover { margin: 0; position: relative; border: 1px solid var(--hair); width: 100%; max-width: 200px; }
.cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; }
.cover figcaption { position: absolute; inset: auto 0 0 0; padding: 22px 10px 8px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); }
.musiccol { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (min-width: 520px) { .musicrow { grid-template-columns: 150px minmax(0, 1fr); } .cover { max-width: none; } }
/* band artwork rotation */
.cover { aspect-ratio: 4 / 5; overflow: hidden; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center top; opacity: 0; transition: opacity 1.4s ease; }
.cover img.on { opacity: 1; }
.cover figcaption { z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.cover figcaption b { font-weight: 400; font-size: 11px; letter-spacing: .16em; }
.cover figcaption span { font-size: 9.5px; letter-spacing: .12em; color: rgba(255,255,255,.65); text-transform: none; }
.bands li { transition: color .6s, opacity .6s; opacity: .62; }
.bands li.now { opacity: 1; color: #fff; }
.bands li.now .eq i { background: #fff; }
.cover img.whole { object-fit: contain; object-position: center; background: #000; }
.cover.nocap figcaption { opacity: 0; }
.cover figcaption { transition: opacity .6s; }
/* manga: real covers where supplied, spines otherwise */
.spines { height: auto; align-items: stretch; }
.spine { aspect-ratio: 2 / 3; height: auto; writing-mode: horizontal-tb; transform: none; align-items: flex-end; justify-content: center; padding: 8px 4px; }
.spine span { writing-mode: vertical-rl; transform: rotate(180deg); margin: auto; }
.spine.has-photo { background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.85)), var(--photo) center top / cover no-repeat; border-top-color: var(--red); }
.spine.has-photo span { writing-mode: horizontal-tb; transform: none; margin: auto 0 0; font-size: 10.5px; letter-spacing: .14em; }
/* second image on a manga card, slow alternation; the page is zoomed to its top-left corner (the Liar Game part) */
.spine { position: relative; overflow: hidden; }
.spine.has-photo2::after { content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.85)), var(--photo2) 0 0 / 200% auto no-repeat;
  animation: altcover 14s ease-in-out infinite; }
.spine > span { position: relative; z-index: 1; }
@keyframes altcover { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
/* voices: greeting button, English voice switch, captions, tap-to-hear covers */
.vbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.vpick { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--hair); }
.vpick span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); padding: 0 10px; }
.vpick button { border: 0; border-left: 1px solid var(--hair); background: transparent; padding: 8px 14px; cursor: pointer; font-size: 12.5px; letter-spacing: .08em; color: rgba(255,255,255,.7); transition: background-color .2s, color .2s; }
.vpick button[aria-checked="true"] { background: var(--red); color: #fff; }
#vp-greet.speaking { border-color: var(--red); background: var(--red-soft); }
.answer .jaline, .answer .enline { display: block; transition: opacity .4s; opacity: .55; }
.answer .jaline { font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif; font-size: 17px; margin-bottom: 6px; }
.answer .jaline.on, .answer .enline.on { opacity: 1; }
.spine[role="button"] { cursor: pointer; transition: transform .25s, box-shadow .25s; }
.spine[role="button"]:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.spine.speaking { outline: 1px solid var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 24px rgba(200,52,31,.35); }
@media (prefers-reduced-motion: reduce) { .spine[role="button"]:hover { transform: none; } }
.vpick#vp-lang button[lang="ja"] { font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif; letter-spacing: .1em; }
/* pop culture: a small card (Viv) */
.tile[data-id="pop"] { align-self: start; padding: 18px 16px 16px; gap: 12px; }
.tile[data-id="pop"] .pop { gap: 12px; }
.tile[data-id="pop"] .pop svg { width: 40px; height: 40px; }
.tile[data-id="pop"] .pop b { font-size: 17px; }
/* ===== brush strokes (Viv: Japanese UI uses large paintbrush strokes) ===== */
.orbwrap { position: relative; }
.enso { position: absolute; inset: -4.5%; width: 109%; height: 109%; pointer-events: none; z-index: 0; }
.orbwrap canvas { position: relative; z-index: 1; }
.sweep { stroke-dasharray: 1; stroke-dashoffset: 1; animation: paint 1.7s cubic-bezier(.6,.05,.25,1) .4s forwards; }
@keyframes paint { to { stroke-dashoffset: 0; } }
.ink-still .sweep { animation: none; stroke-dashoffset: 0; }
.ask .stroke { display: block; width: 180px; height: 18px; margin: -6px 0 0 -4px; }
.ask h1::after { display: none; }
.tile h2 + .mark { display: block; width: 46px; height: 8px; margin: -8px 0 0; }
.tile { border-top-color: var(--hair); }
@media (prefers-reduced-motion: reduce) { .sweep { animation: none; stroke-dashoffset: 0; } }
/* desktop layout: Ice cream and Travel move up under Pop culture, beside Music (Viv) */
@media (min-width: 1100px) {
  .tiles { grid-auto-flow: row dense; }
  .tile[data-id="music"] { grid-column: 1 / 5; grid-row: 1 / 4; }
  .tile[data-id="pop"] { grid-column: 5 / 7; grid-row: 1; }
  .tile[data-id="ice"] { grid-column: 5 / 7; grid-row: 2; }
  .tile[data-id="travel"] { grid-column: 5 / 7; grid-row: 3; }
  .tile[data-id="food"] { grid-column: 1 / 3; grid-row: 4 / 6; }
  .tile[data-id="western"] { grid-column: 3 / 7; grid-row: 4; }
  .tile[data-id="manga"] { grid-column: 3 / 5; grid-row: 5; }
  .tile[data-id="kerala"] { grid-column: 1 / 7; grid-row: 6; }
}
