/* Cabecera basada en la distribución de Infinity, con identidad Kindomy. */
.private #header{position:sticky;top:0;z-index:45;background:var(--paper);height:87px}
.private .header-inner{padding:0 24px;gap:24px;max-width:none}
.header-brand{width:calc(var(--sidebar) - 48px);flex-shrink:0}
.top-search{display:flex;align-items:center;gap:10px;flex:1;max-width:420px;min-width:140px;margin-right:auto;border:1px solid var(--line);background:var(--cream);height:44px;border-radius:24px 12px 12px 24px;padding:0 0 0 14px}
.top-search>.icon{width:18px;color:var(--muted)}
.top-search input{width:100%;min-width:0;background:transparent;border:0;color:var(--ink);font-size:12px;outline-offset:1px}
.top-search>button{width:44px;height:42px;display:grid;place-items:center;flex-shrink:0;border-left:1px solid var(--line);color:var(--green);background:var(--paper);border-radius:0 12px 12px 0}
.top-search>button .icon{width:18px}
.top-actions{display:flex;align-items:center;gap:8px;min-width:0}
.header-tool{position:relative;display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:12px;background:var(--cream);color:var(--green);border:1px solid transparent}
.header-tool:hover,.header-tool[aria-expanded=true]{background:var(--mint);border-color:#B8D3D1}
.header-tool .icon{width:21px;height:21px}
.notice-count{position:absolute;top:-5px;right:-3px;min-width:19px;height:19px;padding:0 4px;display:grid;place-items:center;border-radius:100px;background:var(--green);color:var(--paper);font-size:10px;font-weight:600;border:2px solid var(--paper)}
.profile-button{display:flex;align-items:center;gap:10px;min-height:44px;text-align:left;padding:0 0 0 6px;min-width:0;border-radius:12px}
.profile-button:hover{background:var(--mint)}
.profile-button .profile-avatar{width:40px;height:40px;display:block;background:var(--pink);padding:3px;flex-shrink:0}
.profile-copy{display:grid;gap:4px;min-width:0}
.profile-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}
.profile-copy small{font-size:10px;color:var(--muted);white-space:nowrap}
.profile-button>.icon{width:15px;height:15px;margin-left:3px}
.top-anchor{position:relative}
.header-popover{position:absolute;top:calc(100% + 16px);right:0;width:370px;max-height:min(70dvh,610px);overflow:auto;background:var(--paper);border:1px solid var(--line);box-shadow:0 14px 45px #253C432B;border-radius:20px;padding:22px;z-index:55;line-height:1.5}
.popover-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
.popover-heading h2{font-size:21px;letter-spacing:-.6px;outline:none}
.popover-heading p{font-size:11px;margin-top:5px}
.popover-heading .icon-button{background:var(--cream);min-width:36px;min-height:44px}
.notice-list{display:grid}
.notice-item{display:flex;align-items:flex-start;gap:12px;padding:18px 0;border-top:1px solid var(--line);min-width:0}
.notice-item strong{font-size:12px;line-height:1.4;display:block}
.notice-item p{font-size:11px;margin:8px 0}
.notice-item small{font-size:10px;color:var(--green)}
.notice-item.read small{color:var(--muted)}
.notice-icon{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;background:var(--lilac);border-radius:12px;color:var(--green)}
.notice-icon .icon{width:20px}
.notice-dot{width:6px;height:6px;border-radius:50%;background:var(--green);margin:5px 0 0 auto;flex-shrink:0}
.read-notices{font-size:11px;min-height:44px;padding:8px 0;text-align:left}
.read-notices .icon{width:17px}
.popover-footnote{font-size:10px;padding-top:14px;margin-top:10px;border-top:1px solid var(--line)}
.profile-summary{display:flex;align-items:center;gap:12px;padding:15px;background:var(--mint);border-radius:14px;margin-bottom:13px}
.profile-summary .profile-avatar{width:48px;height:48px;padding:4px}
.profile-summary strong{font-size:13px;display:block}
.profile-summary div>span{font-size:10px;color:var(--muted)}
.profile-menu-link{display:flex;gap:10px;align-items:center;min-height:48px;font-size:12px}
.profile-menu-link>.icon{width:18px}
.profile-menu-link>.icon:last-child{margin-left:auto}
.popover-label{font-size:8px;letter-spacing:1.3px;margin:19px 0 10px}
.profile-choices{display:grid;gap:6px}
.profile-choices button{display:flex;align-items:center;gap:10px;width:100%;border:1px solid var(--line);border-radius:12px;padding:10px;text-align:left;min-height:60px}
.profile-choices button[aria-pressed=true]{background:var(--mint);border-color:#9DC5C3}
.profile-choices button>span{width:33px;height:33px;flex-shrink:0}
.profile-choices strong{font-size:11px;display:block}
.profile-choices small{font-size:9px;display:block;color:var(--muted);margin-top:5px}
.profile-choices button>.icon{width:16px;margin-left:auto;color:var(--green)}
.language-popover{width:300px}
.language-option{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 15px;min-height:48px;border-radius:12px;font-size:13px;margin-bottom:8px}
.language-option[aria-pressed=true]{background:var(--mint)}
.language-option .icon{width:17px;color:var(--green)}
.mobile-profile-tools{display:none}
.sidebar-profile{display:flex;align-items:center;gap:10px;padding:0 6px 24px;border-bottom:1px solid var(--line);margin-bottom:24px}
.sidebar-profile .profile-avatar{width:38px;height:38px;flex-shrink:0;padding:3px}
.sidebar-profile strong{font-size:11px;display:block}
.sidebar-profile small{display:block;font-size:9px;color:var(--muted);margin-top:5px}
.sidebar-label{margin-left:16px}
.side-nav a{position:relative;margin-left:-24px;padding-left:40px;min-height:58px;border-radius:0 15px 15px 0}
.side-nav a.active{box-shadow:none;background:var(--mint)}
.side-nav a:not(.active):hover{background:var(--paper);box-shadow:inset 0 0 0 1px var(--line);color:var(--green)}
.side-nav a.active::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:8px;height:42px;background:var(--green);border-radius:0 8px 8px 0}
.sidebar-bottom a.active{position:relative;background:var(--lilac);color:var(--green);border-radius:12px;box-shadow:inset 5px 0 var(--green)}
.search-results{display:grid;gap:12px;margin-top:25px}
.search-results article{display:flex;align-items:center;gap:15px;padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:18px}
.search-result-icon{width:44px;height:44px;border-radius:12px;background:var(--lilac);display:grid;place-items:center;flex-shrink:0;color:var(--green)}
.search-results article>div{flex:1;min-width:0}
.search-results span:not(.search-result-icon){font-size:10px;color:var(--muted)}
.search-results h2{font-size:17px;margin-top:7px}
.search-results .btn{font-size:11px;flex-shrink:0}
@media(max-width:1200px){.private .header-inner{gap:14px}.top-actions{gap:6px}.profile-copy,.profile-button>.icon{display:none}.header-brand{width:166px}.top-search{max-width:none}.profile-button{padding:0;min-width:44px;justify-content:center}}
@media(max-width:900px){.header-brand{width:150px}.private .header-inner{padding:0 20px;gap:12px}.top-actions{gap:4px}.top-actions .header-tool{width:44px;height:44px}.top-search input{font-size:11px}.side-nav a{margin-left:-15px;padding-left:31px}}
@media(max-width:800px) and (min-width:701px){.header-brand{width:128px}.header-brand .brand{width:128px}.top-actions .auxiliary[data-action=fullscreen],.top-actions .auxiliary[data-action=header-language]{display:none}}
@media(max-width:700px){.private #header{height:128px}.private .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:60px 44px;padding:8px 20px;gap:8px 12px}.header-brand{width:auto;grid-column:1;grid-row:1}.top-search{grid-row:2;grid-column:1/-1;width:100%;min-width:0;max-width:none;margin:0}.top-search input{font-size:16px}.top-search input::placeholder{font-size:12px}.top-actions{grid-row:1;grid-column:2;gap:5px;position:static}.top-actions .auxiliary{display:none}.profile-button{width:44px;height:44px;padding:0}.profile-button .profile-avatar{width:38px;height:38px}.private .top-actions .menu-toggle{display:grid;width:44px;height:44px;min-width:44px;background:var(--cream);border-color:var(--line);border-radius:12px}.top-anchor{position:static}.header-popover{right:16px;top:calc(100% + 8px);width:calc(100vw - 32px);max-height:calc(100dvh - 185px);padding:20px;box-sizing:border-box}.language-popover{width:calc(100vw - 32px)}.private #sidebar{position:fixed;top:var(--mobile-nav-top,158px);max-height:calc(100dvh - var(--mobile-nav-top,158px) - 12px);overflow:auto;padding:20px;z-index:42}.sidebar-profile{display:none}.side-nav a{margin-left:0;padding-left:17px;min-height:52px;border-radius:12px;gap:10px}.side-nav a.active::before{height:36px;width:6px;border-radius:0 6px 6px 0}.sidebar-bottom a{font-size:10px}.mobile-profile-tools{display:grid;border-top:1px solid var(--line);margin-top:18px;padding-top:8px}.mobile-profile-tools button{display:flex;align-items:center;gap:10px;min-height:44px;font-size:12px;text-align:left}.mobile-profile-tools .icon{width:18px}.search-results article{flex-wrap:wrap;gap:12px;padding:17px}.search-results article>div{flex-basis:calc(100% - 56px)}.search-results .btn{margin-left:56px}.search-results h2{font-size:16px}#toast{top:170px}.popover-heading h2{font-size:20px}}
@media(max-width:370px){.private .header-inner{padding-left:14px;padding-right:14px;column-gap:8px}.top-actions{gap:3px}.brand{width:120px}.top-search input::placeholder{font-size:11px}}
/* Apariencia opcional de esta sesión. Los colores exactos de marca permanecen. */
html[data-appearance=dark]{color-scheme:dark;--ink:#EAF2F2;--muted:#BDD0D1;--cream:#17282D;--paper:#20343A;--line:#3E5459;--orange:#EAB0A4;--green:#8DCCCB;--peach:#4B3736;--mint:#254546;--lilac:#3E3651;--yellow:#433D28;--pink:#4C393E;--blue:#294552}
html[data-appearance=dark] .primary,html[data-appearance=dark] .btn.warm,html[data-appearance=dark] .family-hero .warm,html[data-appearance=dark] .recommended .warm,html[data-appearance=dark] .player-play,html[data-appearance=dark] .chips button[aria-pressed=true],html[data-appearance=dark] .selected .select-track,html[data-appearance=dark] .name-field .round-button{color:#253C43}
html[data-appearance=dark] .recommended,html[data-appearance=dark] .sidebar-garden,html[data-appearance=dark] .soft-panel,html[data-appearance=dark] .plan-pending,html[data-appearance=dark] .state-panel,html[data-appearance=dark] .record-box,html[data-appearance=dark] .segmented{background:var(--paper);border-color:var(--line)}
html[data-appearance=dark] .demo-ribbon,html[data-appearance=dark] .fine-print,html[data-appearance=dark] .footer-copy p,html[data-appearance=dark] .footer-links,html[data-appearance=dark] .price-caption,html[data-appearance=dark] .order-card div>span,html[data-appearance=dark] .track-category,html[data-appearance=dark] .track-copy p,html[data-appearance=dark] .catalog-note,html[data-appearance=dark] .sidebar-label,html[data-appearance=dark] .side-nav a,html[data-appearance=dark] .cover-badge,html[data-appearance=dark] .player-status,html[data-appearance=dark] .player-timeline small,html[data-appearance=dark] .continuous,html[data-appearance=dark] .language-control button,html[data-appearance=dark] .chips button{color:var(--muted)}
html[data-appearance=dark] .language-control button[aria-pressed=true],html[data-appearance=dark] .side-nav a.active{color:var(--green)}
html[data-appearance=dark] .player-shell{border-color:var(--line)}
html[data-appearance=dark] .care-note p,html[data-appearance=dark] .care-note .icon{color:#F0D6A1}
html[data-appearance=dark] .profile-choices button[aria-pressed=true]{border-color:var(--green)}
html[data-appearance=dark] .recommend-label{color:#253C43}
.page-intro h1{overflow-wrap:anywhere}
