/* Visitor controls are shared by every public page. The original night palette remains the default. */
:root{--media-radius:16px}
/* One treatment for covers, photos, thumbnails and players; identity portraits retain their circle. */
img{border-radius:var(--media-radius)}
.feature-cover img,.cover-wrap,.cover-wrap img,.release-cover-button,.release-cover-button img,.release-row-cover,.release-row-cover img,.release-editions img,.world-edition img,.persona-editorial-art:not(.persona-editorial-portrait) img,.release-story-art img,.video-card>div,.video-card img,.artist-featured img,.tp-image-button,.tp-module-art .tp-image-button,.tp-image-button img,.photo-button,.photo-button img,.photo-viewer>img{border-radius:var(--media-radius)}
.cover-wrap,.release-row-cover,.video-card>div,.tp-image-button{overflow:hidden}
#video-frame,#video-frame iframe{border-radius:var(--media-radius)}
#video-frame{overflow:hidden}
.founder-photo-frame img{border-radius:50%}
.founder-secondary{width:min(100%,460px);margin:36px 0 0}
.founder-secondary-frame{display:block;width:100%;padding:0;border-radius:var(--media-radius);background:var(--panel);box-shadow:0 16px 42px #0003}
.founder-secondary-frame img{display:block;width:100%;height:auto;object-fit:contain;border-radius:var(--media-radius)}
.photo-viewer>img{width:auto;height:auto;max-width:100%;max-height:70dvh;margin-inline:auto}
.header-controls{display:flex;align-items:center;gap:14px;flex-shrink:0}
.header-controls .languages{padding-left:12px}
.theme-switch{display:flex;gap:3px;align-items:center;padding:3px;border:1px solid var(--line);border-radius:24px;background:var(--panel)}
.theme-switch button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;min-height:36px;border-radius:20px;color:var(--muted);font-size:12px;white-space:nowrap;line-height:1.3}
.theme-switch button[aria-pressed=true]{background:var(--blue);color:#14222b;box-shadow:0 2px 8px #0002}
.theme-switch button:hover:not([aria-pressed=true]){color:var(--text)}
.theme-switch svg,.kai-link-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.kai-link-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);padding:10px 15px;min-height:40px;border-radius:5px;color:var(--blue);background:var(--panel);font-size:12px;line-height:1.4;white-space:nowrap}
.kai-link-button:hover{border-color:var(--blue);color:var(--text)}
.kai-page-link{margin-top:20px;margin-bottom:8px}
.kai-track-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px;align-items:center;border-bottom:1px solid var(--line);min-width:0}
.kai-track-actions>.track{border-bottom:0;min-width:0}
.kai-track-actions>.artist-featured{min-width:0;margin:0}
.kai-track-actions>.video-card{min-width:0}
.kai-track-actions:has(>.video-card){display:flex;flex-direction:column;align-items:stretch;padding-bottom:15px}
.kai-track-actions:has(>.video-card)>.kai-track-link{align-self:flex-start}
.kai-track-link{margin-right:7px}
.kai-player-link{margin-top:18px}
.kai-linked-track{border:1px solid var(--line);border-left:3px solid var(--blue);border-radius:6px;padding:24px;margin:0 0 35px;background:var(--panel);scroll-margin-top:160px}
.kai-linked-track:focus-visible{outline:2px solid var(--blue);outline-offset:5px}
.kai-linked-track h2{margin:8px 0 18px;overflow-wrap:anywhere}
.kai-link-panel{position:fixed;z-index:100;left:50%;bottom:25px;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);padding:14px 22px;border:1px solid var(--line);border-radius:8px;background:var(--text);color:var(--bg);box-shadow:0 8px 35px #0004;font-size:14px;line-height:1.5}
.kai-link-panel:has(.kai-link-status:empty):not(:has(.kai-link-field)){display:none}
.kai-link-status{margin:0;color:inherit}
.kai-link-status:empty{display:none}
.kai-link-panel-actions{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:10px}
.kai-link-panel-actions button{color:inherit;border-bottom:1px solid currentColor;padding:4px 0;font-size:12px}
.kai-link-panel-actions button:hover{opacity:.75}
.kai-link-field{display:block;margin-top:9px}
.kai-link-field input{display:block;width:min(540px,100%);font:inherit;margin-top:6px;padding:8px;border:1px solid currentColor;border-radius:4px;background:var(--bg);color:var(--text)}

/* Persona portraits follow the circular identity treatment used by KAI and the founder. */
.persona-equal-cards{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:28px}
.persona-equal-cards>.person-feature{margin-bottom:0;min-width:0}
.person-feature .person-image{width:min(100%,330px);aspect-ratio:1;align-self:center;justify-self:center;border-radius:50%;padding:7px;border:1px solid var(--line);background:var(--panel);margin-block:30px}
.person-feature .person-image img{display:block;width:100%;height:100%;max-height:none;aspect-ratio:1;object-fit:cover;object-position:center 22%;border-radius:50%}
.persona-teaser .teaser-portrait{width:124px;height:124px;aspect-ratio:1;border-radius:50%;padding:5px;border:1px solid var(--line);background:var(--panel)}
.persona-teaser .teaser-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 22%;border-radius:50%}
.persona-preview>img{width:min(100%,300px);height:auto;aspect-ratio:1;object-fit:cover;object-position:center 22%;border-radius:50%;border:1px solid var(--line);padding:7px;background:var(--panel)}
.photo-button{border-radius:var(--media-radius);overflow:hidden}
.photo-button img,.photo-viewer>img{border-radius:var(--media-radius)}

/* Day has its own surfaces and contrast; portraits, covers and product screenshots stay intact. */
:root[data-theme=light]{color-scheme:light;--bg:#e3edf6;--panel:#d5e4f0;--text:#203448;--muted:#4e6579;--line:#b9cddd;--blue:#235c83;--gold:#796032}
[data-theme=light] body{background:radial-gradient(ellipse at 90% 10%,#c9dff150,transparent 50%),var(--bg)}
[data-theme=light] #header{background:#e3edf6f5}
[data-theme=light] .theme-switch{background:#ccdeed;border-color:#afc6da}
[data-theme=light] .theme-switch button[aria-pressed=true]{background:#eaf3fc;color:#235c83;box-shadow:0 1px 5px #23364720}
[data-theme=light] .button.primary{color:#fff}
[data-theme=light] .button.primary:hover{background:#17435d}
[data-theme=light] .circle-play{border-color:var(--line)}
[data-theme=light] .feature-cover img,[data-theme=light] .cover-wrap{background:var(--panel);box-shadow:0 18px 45px #2537451a}
[data-theme=light] .brand-art img{border-color:#a5bdd1;box-shadow:0 0 0 8px #cee1f180,0 24px 55px #35465326}
[data-theme=light] .brand img{border-color:#71818c}
[data-theme=light] .footer-bottom{color:var(--muted)}
[data-theme=light] .status-badge:not(.in-development){color:#30654d}
[data-theme=light] dialog{background:var(--bg);border-color:#aebbc3;box-shadow:0 25px 90px #13222e66}
[data-theme=light] .photo-viewer>img{background:#cedfeb}
[data-theme=light] .photo-button>span,[data-theme=light] .persona-editorial-art button>span{color:#fff}
[data-theme=light] .platform-icon-spotify{color:#087c3d}
[data-theme=light] .platform-icon-soundcloud{color:#b54600}
[data-theme=light] .platform-icon-youtube{color:#cd1730}
[data-theme=light] .platform-icon-apple{color:#bd2544}
[data-theme=light] .kai-link-button{background:#dbe9f7cc;border-color:#a9c3d8}
[data-theme=light] .kai-link-button:hover{background:#ccdfef;border-color:var(--blue)}

[data-theme=light] .tools-preview{--tp-cyan:#006781;--tp-line:#bdcbd0;color:var(--text)}
[data-theme=light] .tp-label,[data-theme=light] .tp-hero-copy>p,[data-theme=light] .tp-hero-art figcaption,[data-theme=light] .tp-module-copy p,[data-theme=light] .tp-note,[data-theme=light] .tp-closing p,[data-theme=light] .tp-closing>.tp-label,[data-theme=light] .tp-additional>p{color:var(--muted)}
[data-theme=light] .tp-status{color:#1d5b70;background:#e0ebee;border-color:#a6bec8}
[data-theme=light] .tp-hero h1 em{background:none;color:#235c7b}
[data-theme=light] .tp-action,[data-theme=light] .tp-detail-link,[data-theme=light] .tp-hero-art figcaption span:first-child,[data-theme=light] .tp-module-copy>.tp-label,[data-theme=light] .tp-note>span{color:#235c7b}
[data-theme=light] .tp-tabs{background:#ccdeed}
[data-theme=light] .tp-tabs button{color:#4d606a;border-color:#c3cdd0}
[data-theme=light] .tp-tabs button>span,[data-theme=light] .tp-gallery-count{color:#536b79}
[data-theme=light] .tp-tabs button[aria-selected=true]{color:#174b64;background:linear-gradient(#eaf3fc,#d3e4f2)}
[data-theme=light] .tp-tabs button:hover{color:var(--text);background:#d6e2e6}
[data-theme=light] .tp-module{background:linear-gradient(120deg,#e8f1fa,#d4e4f1);box-shadow:0 16px 45px #25374512}
[data-theme=light] .tp-module-copy{border-color:#b9cbd2}
[data-theme=light] .tp-module-copy li{color:#315767;background:#fff8;border-color:#b0c4ce}
[data-theme=light] .tp-number{color:#35515d18}
[data-theme=light] .tp-studio-intro{background:radial-gradient(ellipse at 20% 80%,#bacdd570,transparent 70%),#e5edf0}
[data-theme=light] .tp-studio-intro strong{color:#235c7b}
[data-theme=light] .tp-studio-intro p{color:#4a626f}

@media(max-width:1320px){.header-row{flex-wrap:wrap;column-gap:20px;padding-top:12px}.header-controls{margin-left:auto}.nav{order:3;flex-basis:100%;justify-content:center;margin-left:0;gap:35px}.nav>a{padding-block:14px}.brand span{display:block}}
@media(max-width:700px){.header-row{gap:8px;padding-top:10px}.header-controls{gap:8px}.header-controls .languages{padding-left:0;border:0;margin-left:0}.theme-switch button{padding:8px 9px;gap:5px;min-height:36px}.theme-switch svg{width:14px;height:14px}.nav{justify-content:center;flex-wrap:wrap;column-gap:16px;row-gap:0}.nav>a{font-size:11px}.header-controls .languages button{padding:8px 5px}.kai-track-actions{gap:8px}.kai-track-link{margin-right:0;padding:9px;gap:6px;font-size:11px}.kai-track-actions>.artist-featured{width:auto}.shared-target{scroll-margin-top:180px}.kai-page-link{margin-top:16px}.player-bottom{flex-wrap:wrap}}
@media(max-width:420px){.brand span{display:none}.theme-switch button{font-size:11px;padding-inline:9px}.header-controls{gap:9px}.nav{gap:8px}.kai-track-actions:has(>.artist-featured){grid-template-columns:1fr;padding-bottom:16px}.kai-track-actions:has(>.artist-featured)>.kai-track-link{justify-self:start}.kai-track-actions>.track{gap:8px;grid-template-columns:17px 1fr 15px}}
@media(max-width:700px){.person-feature .person-image{width:min(76%,280px);margin-block:28px 0}.persona-teaser .teaser-portrait{width:100px;height:100px}.kai-linked-track{padding:20px;scroll-margin-top:180px}.photo-button,.photo-button img,.photo-viewer>img{border-radius:12px}}
@media(max-width:700px){:root{--media-radius:12px}.photo-viewer>img{max-height:65dvh}}

/* Mobile: a single compact row; navigation and preferences open on demand. */
#header .header-menu{display:contents}
#header .header-menu-toggle{display:none}
@media(max-width:700px){
 #header .header-row{min-height:56px;height:56px;flex-wrap:nowrap;gap:12px;padding:0 16px}
 #header .brand{gap:8px}
 #header .brand img{width:34px;height:34px}
 #header .brand span{display:block;font-size:10px}
 #header .brand span small{font-size:7px;margin-top:3px}
 #header .header-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:76px;min-height:44px;padding:8px 0 8px 12px;margin-left:auto;color:var(--text);font-size:13px;line-height:1}
 #header .header-menu-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
 #header .header-menu{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 72px);overflow:auto;padding:8px 18px 16px;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 14px 25px #0003}
 #header .header-row[data-menu-open=true] .header-menu{display:block}
 #header .header-menu .nav{display:grid;grid-template-columns:1fr;width:100%;gap:0;margin:0;order:initial}
 #header .header-menu .nav>a{display:flex;align-items:center;min-height:44px;padding:10px 2px;font-size:14px;line-height:1.4}
 #header .header-menu .nav>a[aria-current=page]:after{left:2px;right:auto;width:28px;bottom:3px}
 #header .header-menu .header-controls{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:10px 0 0;padding-top:12px;border-top:1px solid var(--line)}
 #header .header-menu .languages{margin:0;padding:0;border:0}
 #header .header-menu .languages button{min-width:40px;min-height:40px}
}
