/* Small vinyl record; animation follows actual media playback only. */
#music-dock .music-pill{background:#ede8db;border-color:#b4bba8;box-shadow:0 3px 12px #243d3026;isolation:isolate}
#music-dock .music-pill::before{content:"";position:absolute;inset:-7px;border-radius:50%;background:radial-gradient(circle,#c5bd8e55 30%,#92a58b40 52%,transparent 72%);opacity:0;pointer-events:none;z-index:-1}
#music-dock .music-pill.is-playing::before{animation:vinylGlow 3.6s ease-in-out infinite}
#music-dock .music-record{position:relative;width:34px;height:34px;border:1px solid #34483d;box-shadow:inset 0 0 0 1px #bdc4ad55,0 1px 3px #24352b33;background:repeating-radial-gradient(circle at center,transparent 0 2px,#b5bea01f 2.5px 3px),conic-gradient(from 20deg,#273e33,#69806b 17%,#293e33 28%,#354d3f 50%,#8a977c 66%,#293d33 78%,#273e33);animation-duration:18s}
#music-dock .music-record::before{width:12px;height:12px;border:1px solid #d9cfaf;background:radial-gradient(circle,#344b3e 0 1.5px,#d9c7a2 2px 5px,#b6aa84 6px);box-shadow:0 0 0 2px #aab49655}
#music-dock .music-record::after{content:"";position:absolute;left:16px;top:3px;width:1px;height:6px;background:#d9d5b88c;transform:rotate(22deg);transform-origin:50% 14px}
#music-dock .music-orb::after{width:4px;height:4px;right:1px;bottom:1px;border-width:2px}
@keyframes vinylGlow{0%,100%{opacity:.3;transform:scale(.94)}50%{opacity:.85;transform:scale(1.11)}}
.language-switch{display:flex;align-items:center;gap:3px;flex-shrink:0;padding:3px;border:1px solid #a9b4a866;border-radius:24px;margin-left:18px;background:#f5f3ea}
.language-switch button{display:grid;place-items:center;min-width:32px;min-height:32px;border:0;border-radius:50%;background:transparent;color:#6f7c6a;font:500 11px/1 system-ui;cursor:pointer;padding:3px}
.language-switch button[aria-pressed=true]{background:#40564a;color:#fffdf5;box-shadow:0 1px 4px #34443720}
.language-switch button:focus-visible{outline:2px solid #a58e60;outline-offset:2px}
.header-inner .desktop-nav{margin-left:auto}
html:lang(en) .brand-name{font-size:22px;letter-spacing:.04em}html:lang(ja) .brand-name{letter-spacing:.15em}
html:lang(en) .living-copy h1{font-size:clamp(40px,5.2vw,78px);line-height:1.18;letter-spacing:-.025em;max-width:750px}
html:lang(ja) .living-copy h1{letter-spacing:.08em;line-height:1.5}
html:not(:lang(zh)) .hero-side-note{writing-mode:horizontal-tb;max-width:250px;font-size:10px;top:24px;right:24px;line-height:1.6}
html:not(:lang(zh)) .map-pin>span{white-space:normal;max-width:160px;line-height:1.35;font-size:13px}
html:not(:lang(zh)) .map-pin small{white-space:normal;max-width:220px}
html:not(:lang(zh)) .small-item strong{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
html:not(:lang(zh)) .small-item{min-height:68px}
html:not(:lang(zh)) .button{white-space:normal;line-height:1.45}
html:not(:lang(zh)) .category-button{font-size:12px;line-height:1.4}
html:not(:lang(zh)) .handbook-body,html:not(:lang(zh)) .place-story-body{line-height:1.85}
html:not(:lang(zh)) .consent{align-items:flex-start}
html:not(:lang(zh)) .consent input{flex-shrink:0;margin-top:4px}
@media(max-width:760px){.language-switch{margin-left:auto;gap:1px;padding:2px}.language-switch button{min-width:30px;min-height:32px}.header-inner{gap:8px}.brand{min-width:0}.brand-name{white-space:nowrap}html:lang(en) .brand-name{font-size:17px}html:lang(en) .brand-en{font-size:8px;letter-spacing:1px}html:lang(ja) .brand-name{font-size:21px}.brand-mark{flex-shrink:0}html:not(:lang(zh)) .home-guide-entry strong{font-size:17px}html:not(:lang(zh)) .guide-entry-copy small{font-size:9px;line-height:1.6}html:not(:lang(zh)) #mobile-nav a{font-size:10px;letter-spacing:0}html:lang(en) .living-copy h1{font-size:clamp(36px,9.5vw,54px)}html:lang(ja) .living-copy h1{font-size:clamp(32px,8.5vw,48px)}html:not(:lang(zh)) .living-copy p{font-size:13px;max-width:270px}html:not(:lang(zh)) .time-selector{width:190px}html:not(:lang(zh)) .time-selector span{font-size:16px}html:not(:lang(zh)) .map-heading h1{font-size:27px;line-height:1.35}html:not(:lang(zh)) .map-heading p{font-size:11px}html:not(:lang(zh)) .map-filter .chip{font-size:11px;padding:8px 10px}html:not(:lang(zh)) .page-banner h1{font-size:29px;line-height:1.3}html:not(:lang(zh)) .tabs button{font-size:11px;padding:12px 10px}html:not(:lang(zh)) .music-panel{max-width:calc(100vw - 24px)}html:not(:lang(zh)) .music-mini-foot{font-size:10px;gap:10px}}
@media(prefers-reduced-motion:reduce){#music-dock .music-record,#music-dock .music-pill.is-playing::before{animation:none!important}#music-dock .music-pill.is-playing::before{opacity:.5}}

/* English labels need room within the existing day/night pill. */
html:not(:lang(zh)) .time-selector{width:230px;max-width:86%;gap:18px;box-sizing:border-box}
html:not(:lang(zh)) .time-selector button{flex:1;min-width:0;padding-inline:0}
html:not(:lang(zh)) .time-selector span{letter-spacing:.04em;font-size:14px}
html:not(:lang(zh)) .hero-side-note{letter-spacing:.12em;max-width:200px;text-align:right}
html:not(:lang(zh)) .living-copy p{letter-spacing:.06em}
@media(max-width:380px){html:lang(en) .brand-name{font-size:15px}.language-switch button{min-width:28px}}

@media(max-width:760px){html:not(:lang(zh)) .map-filter{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}html:not(:lang(zh)) .map-filter .chip{padding:6px 4px;min-height:30px;white-space:normal;font-size:11px}}
