/* ===== Alex's panel, art-book layout (Viv, 14 Nov 2026: premium Japanese) =====
   ma (space) over boxes, Mincho headings, vertical vermilion kanji at the side, hairline rules, one section per screen. */
:root { --mincho: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif; --verm: #c8341f; --ink2: rgba(255,255,255,.62); --line: rgba(255,255,255,.08); }
.app { background: #050505 !important; }

/* header: seal + name, quiet */
.top { padding-top: 28px; }
.brand b { font-family: var(--mincho); font-weight: 400; letter-spacing: .5em; font-size: 15px; }
.brand span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.45); }

/* the globe floats alone */
.orbcap { display: none; }
.orbstatus { font-family: var(--mincho); letter-spacing: .3em; font-size: 11px; color: rgba(255,255,255,.4); }

/* the question panel: no box */
.ask, .ask.glass { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; gap: 22px; }
.ask h1 { font-family: var(--mincho); font-weight: 400; font-size: 34px; letter-spacing: .04em; line-height: 1.3; }
.ask h1 .jp { font-size: 15px; color: var(--verm); letter-spacing: .3em; }
.ask .stroke { display: none; }

/* language and voice: small text links */
.vbar { gap: 10px 26px; }
.vpick { border: 0; gap: 14px; }
.vpick span { display: none; }
.vpick button { border: 0 !important; background: none !important; padding: 2px 0 4px !important; font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.4) !important; position: relative; }
.vpick button[aria-checked="true"] { color: #fff !important; }
.vpick button[aria-checked="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--verm); }
.vpick#vp-voice::before { content: ''; width: 1px; height: 12px; background: var(--line); margin-right: 2px; }
#vp-greet { border: 0; background: none; box-shadow: none; padding: 0 0 4px; font-size: 12px; letter-spacing: .18em; color: #fff; display: inline-flex; align-items: center; gap: 10px; }
#vp-greet::before { content: ''; width: 7px; height: 7px; border-radius: 50% !important; background: var(--verm); box-shadow: 0 0 10px rgba(200,52,31,.8); }
#vp-greet.speaking::before { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
#vp-greet:hover, #vp-greet:active { background: none; transform: none; }

/* typed question: a single hairline */
.typer input { border-bottom: 1px solid var(--line); font-family: var(--mincho); font-size: 16px; }
.typer .btn { border: 0; background: none; box-shadow: none; color: rgba(255,255,255,.55); letter-spacing: .2em; }
.typer .btn:hover { color: #fff; background: none; }

/* topic tabs: text with a fine vermilion underline */
.qtabs { border: 0 !important; border-bottom: 1px solid var(--line) !important; display: flex; gap: 28px; padding: 0; background: none; }
.qtabs::before { display: none; }
.qtabs button { padding: 0 0 10px; font-size: 11px; letter-spacing: .22em; color: rgba(255,255,255,.4); position: relative; }
.qtabs button[aria-selected="true"] { color: #fff !important; }
.qtabs button[aria-selected="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--verm); }

/* the questions: a short, elegant list */
.examples { grid-template-columns: 1fr !important; gap: 0; }
.examples li:nth-child(n+6) { display: none; }
.examples.all li { display: block; }
.chip { border: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 12px 0 !important; font-family: var(--mincho); font-size: 15.5px !important; font-weight: 400 !important; color: rgba(255,255,255,.82) !important; display: flex; justify-content: space-between; }
.chip::after { content: '\2192'; color: var(--verm); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.chip:hover { padding-left: 0 !important; color: #fff !important; }
.chip:hover::after { opacity: 1; transform: none; }
.morelink { align-self: flex-start; border: 0; background: none; color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; padding: 4px 0; }
.morelink:hover { color: #fff; }
.answer { font-family: var(--mincho); font-size: 19px !important; border-left: 1px solid var(--verm) !important; }

/* ===== sections instead of cards ===== */
.tiles { gap: 0 !important; }
.tile, .tile.glass { background: none !important; border: 0 !important; box-shadow: none !important; rotate: none !important; padding: 56px 0 56px 64px !important; border-top: 1px solid var(--line) !important; overflow: visible; }
.tile::after { display: none !important; }
.tile h2 { position: static !important; background: none !important; border: 0 !important; padding: 0 !important; display: block; font-family: var(--mincho); font-weight: 400; font-size: 26px !important; letter-spacing: .06em; text-transform: none; color: #fff !important; margin-bottom: 6px; }
.tile h2::before { display: none !important; }
.tile > h2 + * { margin-top: 0; }
.tile .mark { display: none; }
/* the kanji, set vertically in fine vermilion at the side */
.tile h2 .jp { position: absolute; left: 0; top: 60px; writing-mode: vertical-rl; font-size: 22px !important; letter-spacing: .45em; color: var(--verm) !important; font-family: var(--mincho); }
.tile h2 .jp::after { content: ''; display: block; width: 1px; height: 48px; background: rgba(200,52,31,.45); margin: 14px auto 0; }
.tiles.has-focus .tile { opacity: .25; }
.tiles.has-focus .tile.focus { transform: none; box-shadow: none !important; outline: 0; }

/* section contents: calmer */
.bands li { font-family: var(--mincho); font-size: 17px; }
.food li, .flavour b { font-family: var(--mincho); }
.dish, .cover, .spine, .food li.has-photo, .flavour.has-photo { border: 0 !important; }
.tag { border: 0 !important; background: none !important; color: var(--verm) !important; padding: 0 !important; letter-spacing: .2em; }
.dish figcaption .tag { background: none !important; }
.pop b { font-family: var(--mincho); font-size: 22px; }
.spine { box-shadow: 0 18px 40px rgba(0,0,0,.6) !important; }
.facts { font-family: var(--mincho); font-size: 14.5px; }
.note { letter-spacing: .04em; }
#play { border: 0; background: none; box-shadow: none; padding: 0; letter-spacing: .2em; font-size: 11px; color: #fff; display: inline-flex; gap: 10px; align-items: center; }
#play::before { content: ''; width: 7px; height: 7px; border-radius: 50% !important; background: var(--verm); }

/* gentle reveal as sections come into view */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* desktop: one section per screen, generous margins */
@media (min-width: 1100px) {
  .grid { gap: 40px 72px; padding-top: 24px; }
  .tiles { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; column-gap: 72px; }
  .tile { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; }
  .tile[data-id="music"] { grid-column: 1 / 9 !important; grid-row: 1 !important; }
  .tile[data-id="pop"] { grid-column: 9 / 13 !important; grid-row: 1 !important; align-self: stretch; }
  .tile[data-id="food"] { grid-column: 1 / 5 !important; grid-row: 2 !important; }
  .tile[data-id="ice"] { grid-column: 5 / 9 !important; grid-row: 2 !important; }
  .tile[data-id="travel"] { grid-column: 9 / 13 !important; grid-row: 2 !important; }
  .tile[data-id="manga"] { grid-column: 1 / 13 !important; grid-row: 3 !important; }
  .tile[data-id="manga"] .spines { max-width: 620px; gap: 28px; }
  .tile[data-id="western"] { grid-column: 1 / 13 !important; grid-row: 4 !important; }
  .tile[data-id="kerala"] { grid-column: 1 / 13 !important; grid-row: 5 !important; }
  .tile[data-id="western"] .chartrow { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; align-items: center; }
}
@media (max-width: 699px) {
  .tile, .tile.glass { padding: 44px 0 44px 44px !important; }
  .tile h2 .jp { font-size: 18px !important; top: 46px; }
  .ask h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
/* align every section to the same top line, kanji beside the title */
@media (min-width: 1100px) {
  .tile { justify-content: flex-start !important; min-height: 72vh; padding-top: 10vh !important; }
}
.tile h2 .jp { top: calc(56px + 2px); }
@media (min-width: 1100px) { .tile h2 .jp { top: calc(10vh + 2px); } }
/* restart: a quiet text link, like the others */
#restart { border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 0 4px; font-size: 12px; letter-spacing: .18em; color: #fff; display: inline-flex; align-items: center; gap: 10px; }
#restart::before { content: ''; width: 7px; height: 7px; border-radius: 50% !important; background: var(--verm); box-shadow: 0 0 10px rgba(200,52,31,.8); }
@media (min-width: 1100px) { .musicrow { grid-template-columns: 240px minmax(0, 1fr) !important; gap: 36px !important; } .bands { gap: 12px; } }
/* band artwork: square sleeve, caption beneath (Viv: the overlay looked bad) */
.cover { aspect-ratio: auto !important; overflow: visible !important; background: none !important; display: flex; flex-direction: column; gap: 12px; }
.cover::before { content: ''; display: block; width: 100%; aspect-ratio: 1 / 1; }
.cover img, .cover img.whole { top: 0 !important; left: 0; right: 0; bottom: auto !important; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important; object-fit: cover !important; object-position: center top !important; background: none !important; box-shadow: 0 20px 44px rgba(0,0,0,.6); }
.cover figcaption { position: static !important; background: none !important; padding: 0 !important; gap: 4px !important; z-index: 1; }
.cover figcaption b { font-family: inherit; font-size: 10px !important; letter-spacing: .28em !important; color: var(--verm); font-weight: 500 !important; }
.cover figcaption span { font-family: var(--mincho); font-size: 14px !important; letter-spacing: .04em !important; color: rgba(255,255,255,.85) !important; }
.cover.nocap figcaption { opacity: 0; }
.qtabs { flex-wrap: wrap; row-gap: 10px; }
.answer .alink { display: inline-block; margin-top: 10px; font-family: inherit; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff; text-decoration: none; border-bottom: 1px solid var(--verm); padding-bottom: 2px; }
.support a { color: inherit; border: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 12px 0 !important; background: none !important; }
.support a b { color: #fff; font-family: var(--mincho); font-weight: 400; font-size: 16px; }
.support a:hover b { color: var(--verm); }
.morelink[hidden] { display: none; }
/* transcript: folded away, opens on tap */
.answer { display: none !important; }
.tscript { margin-top: 4px; }
.tlink { border: 0; background: none; padding: 4px 0; color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; }
.tlink:hover, .tlink[aria-expanded="true"] { color: #fff; }
.tlink[aria-expanded="true"]::after { content: ''; display: block; height: 1px; background: var(--verm); margin-top: 4px; }
.tbody { list-style: none; margin: 12px 0 0; padding: 0; max-height: 300px; overflow-y: auto; display: grid; gap: 14px; }
.tbody li { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tbody .tq { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--verm); }
.tbody .ta { font-family: var(--mincho); font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.9); }
.tbody .tx { font-family: var(--mincho); font-size: 14px; color: rgba(255,255,255,.5); }
.tbody .alink { justify-self: start; margin-top: 4px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #fff; text-decoration: none; border-bottom: 1px solid var(--verm); }
/* ===== calendar (暦) ===== */
@media (min-width: 1100px) { .tile[data-id="calendar"] { grid-column: 1 / 13 !important; grid-row: 6 !important; } }
.cal { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cal { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 64px; } }
.calhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.calhead b { font-family: var(--mincho); font-weight: 400; font-size: 20px; letter-spacing: .06em; }
.calnav { border: 0; background: none; color: rgba(255,255,255,.55); font-size: 18px; cursor: pointer; padding: 4px 10px; }
.calnav:hover { color: #fff; }
.calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.calgrid .dow { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); text-align: center; padding-bottom: 10px; }
.calgrid .day { position: relative; aspect-ratio: 1; border: 0; background: none; color: rgba(255,255,255,.8); font-family: var(--mincho); font-size: 15px; cursor: pointer; transition: background-color .2s, color .2s; }
.calgrid .day:hover { background: rgba(255,255,255,.05); }
.calgrid .day.today { color: var(--verm); }
.calgrid .day.sel { background: rgba(255,255,255,.08); color: #fff; }
.calgrid .day.has::after { content: ''; position: absolute; left: 50%; bottom: 18%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50% !important; background: var(--verm); }
.caldate { font-family: var(--mincho); font-size: 22px; margin: 0 0 14px; }
.calevents { list-style: none; margin: 0 0 22px; padding: 0; }
.calevents li { display: flex; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.calevents .ct { font-size: 11px; letter-spacing: .14em; color: var(--verm); min-width: 58px; }
.calevents .cn { flex: 1; font-family: var(--mincho); font-size: 16px; }
.calevents .cn small { display: block; font-family: inherit; font-size: 13px; color: rgba(255,255,255,.5); margin-top: 2px; }
.calevents .cdel { border: 0; background: none; color: rgba(255,255,255,.35); font-size: 18px; cursor: pointer; }
.calevents .cdel:hover { color: var(--verm); }
.calevents .empty { color: rgba(255,255,255,.4); font-family: var(--mincho); }
.caladd { display: grid; gap: 10px; margin-bottom: 22px; }
.caladd input { background: none; border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; color: #fff; font-family: var(--mincho); font-size: 15px; outline: none; color-scheme: dark; min-width: 0; }
.caladd input:focus { border-bottom-color: var(--verm); }
.calrow { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.caladd .btn { border: 0; background: none; box-shadow: none; padding: 6px 0; letter-spacing: .2em; font-size: 11px; color: #fff; border-bottom: 1px solid var(--verm); }
.calio { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 14px; }
.calfile, #cal-export { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); cursor: pointer; border: 0; background: none; padding: 0; }
.calfile:hover, #cal-export:hover { color: #fff; }
.calfile input { position: absolute; width: 1px; height: 1px; opacity: 0; }
/* ===== private view ===== */
.privlink { margin-left: auto; border: 0; background: none; color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.privlink::before { content: ''; width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50% !important; }
.privlink.open { color: #fff; }
.privlink.open::before { background: var(--verm); border-color: var(--verm); }
.privsw { align-self: flex-start; border: 0; background: none; padding: 0 0 2px; margin: 4px 0 6px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); cursor: pointer; border-bottom: 1px solid var(--line); }
.privsw[aria-pressed="true"] { color: var(--verm); border-bottom-color: var(--verm); }
.pindlg { border: 0; padding: 40px 36px; background: #0a0a0a; color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.8); text-align: center; min-width: min(360px, 90vw); border-top: 1px solid var(--verm); }
.pindlg::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(6px); }
.pinjp { font-family: var(--mincho); color: var(--verm); font-size: 26px; margin: 0 0 6px; }
.pindlg h2 { font-family: var(--mincho); font-weight: 400; font-size: 24px; margin: 0 0 8px; }
.pinp { color: rgba(255,255,255,.6); font-size: 13.5px; margin: 0 0 22px; }
.pinrow { display: flex; justify-content: center; gap: 14px; }
.pinrow input { width: 44px; height: 54px; text-align: center; font-size: 22px; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); color: #fff; outline: none; }
.pinrow input:focus { border-bottom-color: var(--verm); }
.pinmsg { min-height: 1.4em; color: var(--verm); font-size: 13px; margin: 16px 0 6px; }
.pincancel { border: 0; background: none; color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
