/* Short audio excerpts — no browser controls and no autoplay. */
.track-preview{display:grid;grid-template-columns:38px 1fr auto;gap:5px 10px;align-items:center;padding:12px 16px;background:#19171c;border-block:1px solid #4e4244;min-height:70px;color:#e9dfce}
.preview-toggle{grid-row:1/3;width:36px;height:36px;padding:0;background:#e9dfce;color:#211b21;border:0;clip-path:polygon(10% 0,100% 0,90% 100%,0 100%);font-size:15px}
.preview-toggle:focus-visible{outline:3px solid #c44d5b;outline-offset:3px}.preview-label{grid-column:2;font-size:10px;letter-spacing:.13em;color:#b9aca2}
.preview-clock{font:11px ui-monospace,monospace;grid-column:3;grid-row:1/3;white-space:nowrap}
.preview-seek{grid-column:2;width:100%;min-width:0;appearance:none;height:24px;min-height:24px;border:0;padding:0;background:transparent;cursor:pointer}
.preview-seek::-webkit-slider-runnable-track{height:3px;background:linear-gradient(to right,#c44d5b var(--progress,0%),#55494b var(--progress,0%))}.preview-seek::-moz-range-track{height:3px;background:linear-gradient(to right,#c44d5b var(--progress,0%),#55494b var(--progress,0%))}
.preview-seek::-webkit-slider-thumb{appearance:none;width:8px;height:12px;margin-top:-4px;background:#e9dfce;border:0;transform:skewX(-10deg)}.preview-seek::-moz-range-thumb{width:8px;height:12px;background:#e9dfce;border:0;border-radius:0}
.track-preview.playing{border-bottom-color:#a64b59}.track-preview.playing .preview-label{color:#dbbbc0;animation:preview-pulse 2s ease-in-out infinite}.track-preview.loading .preview-toggle{animation:preview-pulse .7s ease-in-out infinite}.preview-error .preview-label{color:#e4a9af}
.mapset-jacket{min-width:0}.mapset-jacket>img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}.map-card .track-preview{position:relative;z-index:1}.preview-author{border-left:2px solid #a65861;padding:16px;background:#1d191e}.preview-author>label{font-size:14px}.preview-author input[type=checkbox]{width:auto;display:inline-block;margin-right:10px}.preview-author .track-preview{max-width:550px}
@keyframes preview-pulse{50%{opacity:.55}}

/* Seven compositions share readable type, but retain their own ornaments. */
[data-exclusive-theme=crimson-emperor],.theme-face-crimson-emperor{--theme-ink:#1b1013;--theme-panel:#25171c;--theme-accent:#b85867;--theme-paper:#efdfc6;--theme-line:#8c4550;--theme-soft:#c2aaa4;--theme-metal:#c7a66d}
[data-exclusive-theme=sakura-spirit],.theme-face-sakura-spirit{--theme-ink:#19171c;--theme-panel:#262027;--theme-accent:#d1a0b0;--theme-paper:#ece0db;--theme-line:#785b6b;--theme-soft:#c2adb7;--theme-metal:#ded2ca}
[data-exclusive-theme=golden-dynasty],.theme-face-golden-dynasty{--theme-ink:#181711;--theme-panel:#242118;--theme-accent:#c6ac70;--theme-paper:#eee4cc;--theme-line:#827046;--theme-soft:#c4b99d;--theme-metal:#c6ac70}
[data-exclusive-theme=frost-moon],.theme-face-frost-moon{--theme-ink:#121c28;--theme-panel:#1c2935;--theme-accent:#b7c7d5;--theme-paper:#e1e5e9;--theme-line:#596d80;--theme-soft:#b4bfcb;--theme-metal:#b7c7d5}
[data-exclusive-theme=ink-shogun],.theme-face-ink-shogun{--theme-ink:#141414;--theme-panel:#202020;--theme-accent:#e5e0d7;--theme-paper:#f2eee5;--theme-line:#8a8882;--theme-soft:#c5c2ba;--theme-metal:#e5e0d7}
[data-exclusive-theme=blood-eclipse],.theme-face-blood-eclipse{--theme-ink:#1d0e13;--theme-panel:#28161c;--theme-accent:#cb7a83;--theme-paper:#e9d7d1;--theme-line:#7c3d48;--theme-soft:#c2a8aa;--theme-metal:#b86570}
[data-exclusive-theme=celestial-lotus],.theme-face-celestial-lotus{--theme-ink:#211b28;--theme-panel:#2a2430;--theme-accent:#d4c29d;--theme-paper:#ece2cf;--theme-line:#81716e;--theme-soft:#c5b8c7;--theme-metal:#d4c29d}
.exclusive-profile{--accent:var(--theme-accent);position:relative;background:var(--theme-ink)!important;border-color:var(--theme-line)!important;color:var(--theme-paper);isolation:isolate}
.exclusive-profile .banner,.theme-swatch{position:relative;overflow:hidden;background:var(--theme-ink)!important;min-height:210px}
.exclusive-profile .banner>img{opacity:.22;filter:saturate(.45)}.theme-art{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}
.exclusive-profile .identity{position:relative;border-top:1px solid var(--theme-line)}
.exclusive-profile .identity h1{color:var(--theme-paper);font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:.035em;position:relative;overflow-wrap:anywhere}
.exclusive-profile .ranking{color:var(--theme-accent);font-variant-numeric:tabular-nums;letter-spacing:.08em}
.exclusive-profile .bio,.exclusive-profile .muted,.exclusive-profile .graph-tip{color:var(--theme-soft)}
.exclusive-profile .admin-seal{color:var(--theme-metal);border-color:var(--theme-line);background:var(--theme-panel);letter-spacing:.2em}
.exclusive-profile .stats{background:var(--theme-panel);border-block:1px solid var(--theme-line)}
.exclusive-profile .stat strong{color:var(--theme-paper)}.exclusive-profile .stat span{color:var(--theme-soft)}
.exclusive-profile .profile-section{border-color:var(--theme-line);background:var(--theme-ink)}.exclusive-profile .profile-section h2{color:var(--theme-accent)}
.exclusive-profile .play-row{background:var(--theme-panel);border-color:var(--theme-line)}.exclusive-profile .play-map-title{color:var(--theme-paper)}.exclusive-profile .play-metrics{color:var(--theme-accent)}
.exclusive-profile .rank-graph .trend,.exclusive-profile .rank-graph .rank-reference{stroke:var(--theme-accent)}.exclusive-profile .rank-graph circle{fill:var(--theme-accent)}.exclusive-profile .rank-graph text{fill:var(--theme-soft)}.exclusive-profile .rank-graph .axis{stroke:var(--theme-line)}
.exclusive-profile .range-buttons button[aria-pressed=true]{border-color:var(--theme-accent);color:var(--theme-accent);background:var(--theme-panel)}
.exclusive-profile .themed-avatar{width:144px;height:144px}.themed-avatar{position:relative;display:inline-grid;place-items:center;flex-shrink:0;border:2px solid var(--theme-metal);padding:4px;border-radius:50%;background:var(--theme-ink);width:52px;height:52px;box-sizing:border-box;vertical-align:middle}
.themed-avatar>.avatar{width:100%!important;height:100%!important;margin:0!important;object-fit:cover;border:0!important;outline:none!important;box-sizing:border-box}.themed-avatar::after{content:'A';position:absolute;bottom:-3px;right:-3px;display:grid;place-items:center;width:17px;height:17px;background:var(--theme-panel);color:var(--theme-paper);border:1px solid var(--theme-metal);font:10px Georgia,serif;transform:rotate(-8deg)}
.theme-face-crimson-emperor{outline:1px solid #7c303e;outline-offset:5px;border-radius:46% 54% 45% 55%;transform:rotate(-2deg)}.theme-face-crimson-emperor>.avatar{transform:rotate(2deg)}
.theme-face-sakura-spirit{border-style:dashed;outline:1px solid #745866;outline-offset:4px}.theme-face-golden-dynasty{border-style:double;border-width:5px;outline:1px solid #8e774b;outline-offset:4px}
.theme-face-frost-moon{border-top-color:transparent;outline:1px solid #72899e;outline-offset:4px}.theme-face-ink-shogun{border-radius:3px;outline:2px solid #dedbd2;outline-offset:3px;clip-path:polygon(8% 0,100% 0,92% 100%,0 100%)}
.theme-face-blood-eclipse{border-radius:42% 58% 60% 40%;border-left-width:7px;outline:1px solid #662b36;outline-offset:5px}.theme-face-celestial-lotus{border-style:double;border-width:4px;outline:1px dashed #ae9b7e;outline-offset:5px}
[data-exclusive-theme=crimson-emperor] .identity h1::after{content:'';display:block;width:120px;height:3px;background:#a64757;transform:rotate(-2deg);margin-top:10px}
[data-exclusive-theme=sakura-spirit] .admin-seal{border-radius:30% 2% 30% 2%}
[data-exclusive-theme=golden-dynasty] .identity h1{border-bottom:3px double #9b814d;padding-bottom:8px}
[data-exclusive-theme=golden-dynasty] .stats{border:3px double var(--theme-line);margin:10px}
[data-exclusive-theme=frost-moon] .stat{border-color:#526a80}[data-exclusive-theme=frost-moon] .identity h1{font-style:italic}
[data-exclusive-theme=ink-shogun] .identity h1{font-family:Impact,'Arial Narrow',sans-serif;letter-spacing:.07em;text-transform:uppercase;transform:skewX(-3deg)}
[data-exclusive-theme=ink-shogun] .profile-section{border-top:3px solid #d8d4ca}[data-exclusive-theme=ink-shogun] .admin-seal{border-radius:0;border-width:2px}
[data-exclusive-theme=blood-eclipse] .stats{border-left:5px solid #87444f}[data-exclusive-theme=blood-eclipse] .identity h1{letter-spacing:.1em}
[data-exclusive-theme=celestial-lotus] .stats{border:1px solid #9e8b75;border-radius:25px 0 25px 0;margin:12px}
[data-exclusive-theme=celestial-lotus] .ranking{padding:9px 15px;border:1px dashed #91806c;border-radius:30px;display:inline-block}
.ink-drift{animation:ink-drift 12s ease-in-out infinite;transform-origin:80% 50%}.petal-fall{animation:petal-fall 14s linear infinite}.gold-sheen{animation:gold-sheen 9s ease-in-out infinite}.moon-haze{animation:moon-haze 18s ease-in-out infinite}.brush-reveal{animation:brush-reveal 13s ease-in-out infinite}.eclipse-shadow{animation:eclipse-shadow 22s ease-in-out infinite}.eclipse-haze{animation:moon-haze 20s ease-in-out infinite}.lotus-breathe{animation:lotus-breathe 12s ease-in-out infinite;transform-origin:1000px 200px}
@keyframes ink-drift{50%{transform:translate(-8px,5px);opacity:.72}}@keyframes petal-fall{0%{transform:translate(0,-25px);opacity:0}20%{opacity:1}90%{opacity:.8}100%{transform:translate(-50px,100px);opacity:0}}@keyframes gold-sheen{50%{opacity:.13}}@keyframes moon-haze{50%{transform:translateX(-22px);opacity:.23}}@keyframes brush-reveal{50%{opacity:.66;transform:translateX(4px)}}@keyframes eclipse-shadow{50%{transform:translate(18px,8px)}}@keyframes lotus-breathe{50%{transform:scale(.97);opacity:.8}}
.exclusive-picker{margin-top:24px;border-top:1px solid #695852;padding-top:20px;min-width:0}.exclusive-picker>h2{font-size:23px}.theme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:16px;margin:20px 0}.theme-choice{background:#1c191f;border:1px solid #62534f;min-width:0;padding-bottom:15px}.theme-choice.selected{outline:2px solid #c9b28c;outline-offset:2px}.theme-swatch{min-height:140px;height:140px}.theme-swatch .theme-art{width:170%;left:-70%}.theme-choice h3,.theme-choice .actions,.theme-palette{margin:14px 15px}.theme-choice h3{font-size:15px;letter-spacing:.07em;color:#eee2cd}.theme-palette{display:flex;gap:5px}.theme-palette i{width:32px;height:5px}.theme-choice .actions{display:flex;flex-wrap:wrap;gap:8px}.theme-choice button{font-size:12px;padding:8px 12px}
dialog:has(.profile-preview-live){width:min(1200px,calc(100vw - 32px));max-width:none}.profile-preview-live .profile{margin:0}.preview-only{padding:10px 14px;border-left:2px solid #c9ad7f;color:#ddc9a4}.profile-preview-live{min-width:0}.profile-preview-live .identity-line .actions{display:none}
@media(max-width:600px){.exclusive-profile .banner{min-height:175px}.exclusive-profile .theme-art{width:190%;left:-90%}.exclusive-profile .identity h1{font-size:30px}.exclusive-profile .themed-avatar{width:104px;height:104px}.theme-grid{grid-template-columns:1fr}.track-preview{padding:10px 12px;gap:5px 8px}.preview-clock{font-size:10px}.themed-avatar{width:42px;height:42px}.profile-preview-live .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.exclusive-profile .identity{gap:16px}}
@media(prefers-reduced-motion:reduce){.track-preview *,.theme-art *{animation:none!important;transition:none!important}}
