:root{--paper:#f4eadb;--ink:#523a2b;--muted:#8c7966;--line:#e4d4bf;--green:#688348}
body{background:#f4eadb;color:var(--ink)}header{height:76px;background:#fbf5eb;border-bottom:1px solid #e5d7c5}main{max-width:1500px;padding:24px 3%}.header-note,.season{display:none}.topline{margin-bottom:18px}.topline h1{font-family:inherit;font-size:25px;letter-spacing:1px}.topline p{margin-top:5px}.game-layout{grid-template-columns:minmax(0,1fr) 280px;gap:22px}.room-wrap{border-radius:32px;border:2px solid #e0cdb4;box-shadow:0 14px 0 #d9c5a8,0 25px 45px #77533215;background:#efe0c8}.room-bar{height:48px;background:#fff8ed;color:#76543a}.room-bar button{font-size:12px}#room{background:#efe0c8;user-select:none;-webkit-user-select:none}.scene-caption{background:#fff8ed;font-size:11px;height:auto;min-height:38px}.scene-caption span:last-child{display:none}aside{padding:22px!important;border:1px solid #e4d4bd!important;border-radius:26px;background:#fffaf1!important;box-shadow:0 8px 22px #74502e08}aside h2{font-family:inherit!important;font-size:23px!important}.primary{border-radius:18px!important;background:#ce7937!important;box-shadow:0 4px 0 #ae612b;min-height:46px}.primary:hover{background:#bb692e!important}.instruction,.next-tip,.feedback{background:#f6efdf;border-radius:18px}.mode-switch,.experience-switch{border-radius:16px}.recipe-card{border-radius:18px!important}.recipe-card.chosen{border:2px solid #d17b3c!important;background:#fff3df!important}.tool-label{font:16px sans-serif;fill:#624c38;stroke:#f8edda;stroke-width:4px}#room .tool.active,#room .tool.cue-target{filter:drop-shadow(0 0 3px #fff) drop-shadow(0 0 8px #ffffffaa)}#room .tool.studio-selected{filter:drop-shadow(0 0 3px #dc8b45)}#motion-hand,.support-hand{visibility:hidden}#environment{transition:none}.bowing #environment{transform:none}.studio-tools{display:flex;justify-content:center;gap:8px;padding:13px 12px;background:#fff8ed;border-top:1px solid #e5d3ba;flex-wrap:wrap}.studio-tools button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:7px 10px;border:2px solid transparent;border-radius:18px;min-width:65px;font-size:12px}.studio-tools button[aria-pressed=true]{border-color:#cf7936;background:#fff;box-shadow:0 2px 0 #ecd1b4}.studio-tools svg{height:32px;width:40px;overflow:visible}.studio-tools button:hover{background:#f6e8d6}.studio-actions{display:flex;gap:8px;justify-content:space-between;padding:10px 16px;background:#fff8ed}.studio-actions button{border:1px solid #ddc9b1;padding:10px 18px;border-radius:16px;background:#fffdf7;font-size:12px}.studio-actions button:disabled{opacity:.4;cursor:default}.studio-note{font-size:10px;color:#90785e;margin:20px 0 0;text-align:center}footer{padding-top:22px}.ver{color:#8c6b4d}#mode-entrance{background:#f4eadb!important}.mode-cards button{border-radius:25px!important;background:#fffaf1!important;border:2px solid #e4d3ba!important;box-shadow:0 6px 0 #e6d6bf}.mode-cards button:hover{border-color:#ce7937!important}.mode-symbol{background:#e9e9cf!important;color:#668044!important;border-radius:20px!important}.entrance-main h1{font-family:"Yuji Syuku","Hiragino Mincho ProN",serif!important;font-weight:400;letter-spacing:.055em;color:#573c29}.tea-emblem{filter:none!important}.entry-open #tea-splash{background:#f4eadb}button:focus-visible{outline:3px solid #d38143;outline-offset:3px}
@media(max-width:800px){header{height:auto;min-height:70px;padding:12px 4%;gap:12px;flex-wrap:wrap}nav{gap:12px;flex-wrap:wrap}.brand{font-size:18px}main{padding:18px 12px}.game-layout{grid-template-columns:1fr}.room-wrap{border-radius:24px}.topline h1{font-size:22px}.studio-tools{gap:2px;padding:8px 4px}.studio-tools button{min-width:46px;padding:5px 7px;font-size:10px}.studio-tools svg{width:32px;height:28px}.studio-actions{padding:8px}.studio-actions button{padding:10px;font-size:11px}.game-layout aside{margin-top:10px}.room-bar{padding:0 14px}.scene-caption{padding:8px 12px}#journal,.header-note{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}

/* Keep the select indicator comfortably inside the pill on Safari and Chrome. */
#entry-language,#language{appearance:none;-webkit-appearance:none;background-color:#fffdf7;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23526447' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 17px center;background-size:16px;padding:10px 45px 10px 20px;min-width:130px;line-height:1.5;border:1px solid #dce2d3;border-radius:25px;color:#526447}
html:not([lang=ja]) .entrance-main h1{font-family:"Noto Serif JP",serif!important}
