@charset "UTF-8";
:root { color-scheme: light; --ink:#203c34; --gold:#b18b45; --paper:#f6f2e9; --muted:#677268; --line:#dcd9cd; }
* { box-sizing:border-box; }
body { margin:0; font-family:"Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif; }
button,input,select { font:inherit; }
button,a,input,select,summary { -webkit-tap-highlight-color:transparent; }
button,summary { cursor:pointer; }
button:disabled { opacity:.45; cursor:default; }
:focus-visible { outline:3px solid #bc8729; outline-offset:4px; }
[hidden] { display:none !important; }
.tea-page { background:var(--paper); color:var(--ink); min-height:100dvh; padding-bottom:120px; }
.tea-top { position:sticky; top:0; z-index:4; min-height:90px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px clamp(18px,4vw,64px); border-bottom:1px solid var(--line); background:#fcfaf5; }
.tea-brand { display:flex; align-items:center; gap:12px; color:var(--ink); text-decoration:none; font-family:"Yu Mincho",serif; font-weight:bold; font-size:18px; letter-spacing:.08em; }
.tea-brand small { display:block; font-size:10px; font-weight:normal; letter-spacing:.12em; margin-top:5px; }
.tea-crest { display:grid; place-items:center; border:1px solid var(--gold); border-radius:50%; width:44px; height:44px; font-size:23px; color:#99752d; }
.tea-clock { display:flex; align-items:baseline; justify-content:center; gap:9px; flex-wrap:wrap; font-size:12px; }
.tea-clock strong { font-size:30px; font-variant-numeric:tabular-nums; letter-spacing:.04em; font-weight:500; }
.tea-clock small { flex-basis:100%; text-align:center; color:var(--muted); font-size:11px; }
.tea-clock.ending strong,.tea-clock.ending small { color:#a04c32; }
.tea-main { max-width:1120px; margin:auto; padding:26px 28px 0; }
.tea-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:19px; }
.eyebrow { font-size:11px; letter-spacing:.2em; color:#99752d; margin:0 0 10px; }
h1,h2 { font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-weight:600; }
h1 { margin:0; font-size:30px; letter-spacing:.12em; } h1 span { font-size:17px; padding:0 10px; color:#9c947e; }
.tea-heading > p { margin:0 0 4px; font-size:12px; color:var(--muted); }
.tea-stage { position:relative; height:clamp(365px,53vh,565px); overflow:hidden; border-radius:10px; background:radial-gradient(ellipse at 50% 50%,#33493d,#142b25 75%); box-shadow:0 12px 32px #21392b18; }
.tea-stage::before { content:""; position:absolute; inset:13px; border:1px solid #bb9a5550; border-radius:4px; pointer-events:none; z-index:1; }
.tea-stage-caption { position:absolute; z-index:2; top:26px; left:30px; color:#ded4b9; font-size:11px; letter-spacing:.12em; display:flex; align-items:center; gap:9px; }
.live-dot { width:6px; height:6px; background:#cbb475; border-radius:50%; box-shadow:0 0 10px #e6c97380; }
.tea-cast { height:100%; display:flex; justify-content:center; gap:clamp(25px,7vw,120px); padding:52px 30px 112px; }
.tea-person { position:relative; height:100%; width:38%; max-width:330px; border:0; background:transparent; padding:0; color:#fff; transition:filter .3s; }
.tea-person img { width:100%; height:100%; object-fit:contain; object-position:center bottom; filter:drop-shadow(0 10px 16px #0006); transition:filter .25s; }
.tea-person:not(.active) img { filter:brightness(.75) saturate(.7); }
.tea-person.active img { filter:drop-shadow(0 0 15px #eac76a44); }
.tea-person.speaking img { animation:tea-breathe 1.6s ease-in-out infinite; filter:drop-shadow(0 0 15px #eac76a66); }
.tea-person.speaking .tea-person-label { box-shadow:0 0 0 2px #eed49b; }
.tea-person-label { position:absolute; bottom:0; left:50%; transform:translateX(-50%); background:#172b25e8; border:1px solid #bfa36377; padding:7px 15px; border-radius:20px; white-space:nowrap; font-size:12px; }
.tea-person-label small { color:#ddc893; font-size:10px; margin-right:8px; }
.tea-person.active .tea-person-label { background:#ebdba9; color:#18392c; border-color:#ebdba9; }
.tea-person.active .tea-person-label small { color:#59613b; }
.tea-speech { position:absolute; z-index:3; left:28px; right:28px; bottom:20px; color:#263b32; padding:13px 22px 16px; border-radius:5px; background:#fffdf4f5; border-top:2px solid #c1a05b; box-shadow:0 5px 16px #0002; }
.tea-speaker { display:flex; gap:12px; align-items:center; color:#64715c; font-size:10px; }
#speakerName { font-family:"Yu Mincho",serif; font-weight:bold; color:#344c38; font-size:15px; }
#voiceWave { color:#ac8743; margin-left:auto; visibility:hidden; letter-spacing:3px; }
.tea-stage.talking #voiceWave { visibility:visible; animation:tea-wave .5s infinite alternate; }
.tea-speech p { font-size:16px; line-height:1.8; margin:7px 0 0; min-height:1.8em; max-height:6em; overflow-y:auto; overflow-wrap:anywhere; }
.tea-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:9px; margin-top:18px; }
.tea-button { border:1px solid #c9cebd; background:#eff0e5; color:var(--ink); border-radius:5px; min-height:40px; padding:9px 16px; font-size:12px; font-weight:600; }
.tea-button:hover:not(:disabled) { background:#e4e8d7; }
.tea-button.quiet { background:transparent; border-color:var(--line); font-weight:400; }
.tea-button.primary { background:#234f40; color:#fffaf0; border-color:#234f40; }
.tea-button.primary:hover:not(:disabled) { background:#32654f; }
.tea-hint { font-size:11px; color:var(--muted); text-align:center; line-height:1.8; margin:14px 0 0; }
.tea-status { font-size:12px; min-height:18px; text-align:center; color:#8c542e; margin:8px 0; }
.tea-bottom { position:fixed; z-index:5; bottom:0; left:0; right:0; display:flex; align-items:center; gap:18px; padding:17px clamp(16px,4vw,64px) calc(17px + env(safe-area-inset-bottom)); background:#fcfaf5f5; border-top:1px solid var(--line); }
.tea-composer { display:flex; flex:1; gap:9px; max-width:1050px; margin:auto; }
.tea-composer input { width:0; min-width:0; flex:1; border:1px solid #d3d8ca; border-radius:5px; background:#fff; padding:12px 16px; font-size:14px; color:var(--ink); }
.tea-composer .primary { font-size:13px; padding:10px 22px; }
.tea-mode { position:relative; font-size:12px; color:var(--ink); }
.tea-mode summary { list-style:none; padding:12px 3px; white-space:nowrap; }
.tea-mode summary::-webkit-details-marker { display:none; }
.tea-mode summary span { margin-left:10px; }
.tea-mode-menu { position:absolute; bottom:calc(100% + 22px); right:0; width:260px; background:#fffdf7; border:1px solid #d0c5a8; border-radius:8px; box-shadow:0 8px 28px #18352926; padding:18px; }
.tea-mode-menu strong { display:block; font-size:11px; color:#8b754a; margin-bottom:9px; }
.tea-mode-menu button,.tea-mode-menu a { display:block; width:100%; text-align:left; padding:11px; border:0; border-radius:4px; color:var(--ink); background:transparent; font-size:13px; text-decoration:none; }
.tea-mode-menu button:hover,.tea-mode-menu button[aria-current=true] { background:#eef0e4; }
.tea-mode-menu p { font-size:10px; line-height:1.7; color:#777; margin:8px 10px; }
.tea-mode-menu a { border-top:1px solid #ddd; margin-top:8px; font-size:11px; }
.tea-dialog { color:var(--ink); background:#fcfaf3; border:1px solid #d7c9a6; border-radius:12px; padding:32px; width:min(92vw,470px); max-height:90dvh; box-shadow:0 24px 100px #0004; }
.tea-dialog::backdrop { background:#0c211acc; backdrop-filter:blur(5px); }
.tea-dialog h2 { margin:5px 0 14px; font-size:23px; }
.tea-dialog p { line-height:1.9; font-size:13px; }
.tea-dialog label { display:block; font-size:12px; font-weight:bold; margin:17px 0 7px; }
.tea-dialog input,.tea-dialog select { width:100%; padding:13px; border:1px solid #bec7b6; border-radius:5px; background:white; color:var(--ink); font-size:16px; }
.tea-dialog .tea-note { font-size:11px; color:var(--muted); }
.tea-dialog #startBtn { width:100%; font-size:14px; margin-top:8px; }
.tea-dialog-link { display:block; text-align:center; color:#697268; font-size:11px; margin-top:15px; }
.tea-error { color:#9e3f2e; }
.dialog-buttons,.dialog-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.tea-history { width:min(92vw,650px); }
.tea-history article { padding:13px 0; border-bottom:1px solid var(--line); font-size:14px; line-height:1.8; overflow-wrap:anywhere; white-space:pre-wrap; }
.tea-history article strong { display:block; font-size:11px; color:#8b7342; }
.tea-effects { position:absolute; inset:0; pointer-events:none; z-index:2; }
.tea-particle { position:absolute; top:0; color:#e6c573; font-size:20px; animation:tea-fall 2.5s ease-in forwards; }
.tea-stage.consulting { box-shadow:0 0 0 2px #c3a46a,0 12px 32px #bfa05120; }
.rec { color:#b4392c !important; background:#ffe6df !important; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
@keyframes tea-fall { from { transform:translateY(-25px) rotate(0); opacity:0; } 20% { opacity:.85; } to { transform:translateY(400px) rotate(160deg); opacity:0; } }
@keyframes tea-breathe { 50% { transform:translateY(-3px); } }
@keyframes tea-wave { to { opacity:.45; } }
@media(max-width:760px) {
 .tea-page { padding-bottom:137px; } .tea-top { padding:12px 15px; gap:10px; flex-wrap:wrap; min-height:95px; }
 .tea-brand { font-size:14px; gap:8px; } .tea-brand small { font-size:8px; } .tea-crest { width:34px; height:34px; font-size:18px; }
 .tea-clock { margin-left:auto; gap:5px; font-size:10px; } .tea-clock strong { font-size:24px; }
 .tea-top > button { min-height:30px; padding:5px 8px; font-size:10px; margin-left:auto; }
 .tea-main { padding:19px 14px 0; } .tea-heading { margin-bottom:13px; gap:7px; flex-wrap:wrap; }
 h1 { font-size:24px; } h1 span { font-size:14px; padding:0 4px; } .eyebrow { font-size:9px; margin-bottom:7px; }
 .tea-heading > p { font-size:10px; } .tea-stage { display:flex; flex-direction:column; height:clamp(310px,44svh,430px); }
 .tea-stage-caption { left:22px; top:22px; font-size:9px; } .tea-cast { flex:1; height:auto; min-height:0; padding:48px 10px 12px; gap:4px; } .tea-person { width:48%; }
 .tea-person-label { font-size:11px; padding:6px 9px; } .tea-person-label small { font-size:9px; margin-right:5px; }
 .tea-speech { position:relative; flex:none; left:auto; right:auto; bottom:auto; margin:0 13px 14px; padding:12px 14px; } .tea-speech p { font-size:14px; max-height:7.3em; line-height:1.7; }
 .tea-actions { gap:7px; margin-top:13px; } .tea-actions button { padding:7px 11px; font-size:10px; min-height:34px; }
 .tea-bottom { display:block; padding:12px 14px calc(5px + env(safe-area-inset-bottom)); } .tea-composer { gap:6px; }
 .tea-composer input { font-size:16px; padding:10px; } .tea-composer .primary { padding:8px 12px; font-size:11px; } .tea-composer .quiet { padding:8px 10px; }
 .tea-mode { width:max-content; margin-left:auto; } .tea-mode summary { padding:9px 0; font-size:11px; } .tea-mode-menu { bottom:100%; }
 .tea-dialog { padding:24px; } .tea-dialog h2 { font-size:22px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; } .tea-effects { display:none; } }
