/* Home only. Daily data, shared cards and the existing navbar stay authoritative. */
#home-view{background:#faf8f2;color:#21172e}
#home-view .page-shell{padding-bottom:0}
#home-view .home-opening{background:linear-gradient(90deg,#f7f2e9 0 min(calc(100% - 290px),calc(50% + 310px)),#8c52ff min(calc(100% - 290px),calc(50% + 310px)) 100%);border-bottom:1px solid #21172e}
#home-view .home-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:center;gap:50px;padding:34px 0 36px}
#home-view .intro-main{min-width:0;position:relative;z-index:1}
#home-view .hero-topline{display:flex;align-items:center;min-height:28px;margin-bottom:13px}
#home-view .intro .eyebrow{margin:0;font-size:.66rem;letter-spacing:.14em;color:#6332af}
#home-view .intro h1{font-size:clamp(2.8rem,5.2vw,4.4rem);line-height:1.02;letter-spacing:-.06em;text-wrap:balance;animation:home-arrive .4s ease-out both}
#home-view .intro-bottom{display:flex;align-items:center;gap:28px;margin-top:23px}
#home-view .intro-copy{margin:0;max-width:440px;font-size:.98rem;line-height:1.55;color:#594e62}
#home-view .intro-cta{flex:none;margin:0;min-height:48px;font-size:.87rem;gap:22px;border:1px solid #21172e;border-radius:9px;background:#21172e;color:#fff;box-shadow:3px 3px 0 #cbb7e8}
#home-view .home-avatar{position:relative;display:grid;place-items:center;min-width:0;min-height:268px;padding-bottom:18px;isolation:isolate}
#home-view .home-avatar::before{content:'';position:absolute;inset:22px 13px 32px;border:1px solid #ffffff69;border-radius:42% 58% 28% 72% / 62% 36% 64% 38%;transform:rotate(14deg);z-index:-1}
#home-view .home-avatar-frame{width:232px;height:232px;display:grid;place-items:center;background:#decef2;border:2px solid #21172e;border-radius:35% 60% 40% 55% / 45% 38% 58% 50%;box-shadow:6px 7px 0 #21172e;transform:rotate(-4deg);animation:avatar-arrive .5s ease-out both;overflow:hidden}
#home-view .home-avatar-frame img{display:block;width:100%;height:100%;object-fit:contain;transform:rotate(4deg) scale(.97)}
#home-view .home-avatar-motif{position:absolute;width:114px;height:62px;right:-4px;bottom:34px;background:#f7f2e9;border:1px solid #21172e;border-radius:18px 8px 18px 8px;box-shadow:3px 3px 0 #21172e;transform:rotate(8deg);color:#21172e}
#home-view .home-note{transform-box:fill-box;transform-origin:center;animation:home-note-float 3s ease-in-out 2 alternate}
#home-view .home-avatar-caption{font-size:.62rem;font-weight:750;color:#fff;text-align:center;position:absolute;bottom:-3px;left:-10px;right:-10px;line-height:1.5}
#home-view .avatar-unavailable .home-avatar-frame::after{content:'♪';font-family:Georgia,serif;font-size:5rem;color:#6a3bb5}
#home-view .home-today-band{background:#eee5f8;border-bottom:1px solid #d8c6ec}
#home-view .home-lineup{padding:31px 0 35px;margin:0}
#home-view .section-head{align-items:center;border:0;padding:0;margin:0 0 20px;gap:20px}
#home-view .section-head h2{font-size:clamp(1.45rem,2.3vw,1.9rem);line-height:1.2;letter-spacing:-.045em;text-wrap:balance}
#home-view .home-kicker{margin:0 0 7px;font-size:.61rem;letter-spacing:.13em;font-weight:850;color:#67458d}
#home-view .home-section-note{color:#66566f;font-size:.82rem;line-height:1.5;margin:5px 0 0}
#home-view .home-lineup-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;align-items:stretch}
#home-view .bc-home{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:24px;min-height:295px;margin:0;padding:27px 28px;background:#e4edc5;border:1.5px solid #21172e;border-radius:18px;box-shadow:4px 4px 0 #d0bddf;color:#21172e;animation:home-arrive .45s ease-out both}
#home-view .bc-home::after{inset:auto -30px -60px auto;width:230px;height:230px;border:1px solid #21172e1a;border-radius:50%;background:none;z-index:-1}
#home-view .bc-home>img{position:absolute;right:23px;bottom:25px;width:133px;height:106px;transform:rotate(-6deg)}
#home-view .bc-home .eyebrow{color:#40551c;font-size:.65rem;letter-spacing:.13em;margin:0 0 14px}
#home-view .bc-home-main{flex:0}
#home-view #bc-home-title{font-size:clamp(1.45rem,2.3vw,2rem);line-height:1.15;margin:0 0 11px;gap:8px}
#home-view .bc-home-number{padding:0;font-size:1rem;letter-spacing:-.03em;color:#655172}
#home-view .daily-difficulty-badge{font-size:.59rem;padding:6px 8px;border:1px solid #21172e;border-radius:6px;box-shadow:none;letter-spacing:.08em}
#home-view #daily-home-copy{font-size:.92rem;line-height:1.5;color:#354228;margin:0 0 10px;max-width:460px}
#home-view #bc-home-status{font-size:.71rem;line-height:1.6;color:#4c5542;max-width:calc(100% - 120px);margin:0}
#home-view .bc-home-action{position:relative;z-index:1;margin:0;gap:11px;width:calc(100% - 138px)}
#home-view .bc-home .primary-button{font-size:.84rem;min-height:46px;white-space:normal;text-decoration:none;line-height:1.4;border:1px solid #21172e;border-radius:9px;background:#21172e;color:#fff}
#home-view #bc-home-streak{font-size:.69rem;color:#40551c;font-weight:750}
#home-view .featured-game{display:flex;flex-direction:column;min-width:0;margin:0;border:1.5px solid #21172e;border-radius:18px;overflow:hidden;background:#fffdf8;box-shadow:4px 4px 0 #d0bddf}
#home-view .featured-game-heading{background:#fffdf8;color:#654681;border-radius:0;padding:21px 24px 0;min-height:42px;gap:10px}
#home-view .featured-game-heading h2{font-size:.64rem;letter-spacing:.11em}
#home-view #featured-game-badge{font-size:.53rem;padding:4px 6px;border:1px solid #21172e}
#home-view #featured-game-card{flex:1;display:flex;min-width:0}
#home-view .game-card--featured{display:grid;grid-template-columns:145px minmax(0,1fr);height:100%;width:100%;border:0;border-radius:0;overflow:visible;background:transparent}
#home-view .game-card--featured .card-art{width:145px;height:100%;min-height:230px;background:transparent}
#home-view .game-card--featured .art-grid{display:none}
#home-view .game-card--featured .art-icon{width:102px;height:102px;border-radius:35% 55% 32% 46%;background:var(--art-bg);border:1px solid #21172e;box-shadow:3px 4px 0 #21172e}
#home-view .game-card--featured .art-icon img{width:70px;height:70px}
#home-view .game-card--featured .art-orbit{width:130px;height:130px;border-radius:50%;opacity:.13}
#home-view .game-card--featured .art-detail{left:calc(50% + 22px);top:calc(50% + 24px);width:29px;height:29px;border:1px solid #21172e;border-radius:9px;box-shadow:none}
#home-view .game-card--featured .art-detail img{width:20px;height:20px}
#home-view .game-card--featured .art-mark{display:none}
#home-view .game-card--featured .card-content{padding:24px 24px 22px 8px;justify-content:center}
#home-view .game-card--featured .card-category{font-size:.59rem}
#home-view .game-card--featured h3{font-size:clamp(1.4rem,2vw,1.7rem);line-height:1.1;letter-spacing:-.045em;margin:7px 0 12px}
#home-view .game-card--featured .card-description{font-size:.81rem;line-height:1.55;color:#66566f}
#home-view .game-card--featured .card-spotlight-footer{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-top:17px;padding-top:0;border:0}
#home-view .game-card--featured .card-modes{flex:none}
#home-view .game-card--featured .card-modes>span{font-size:.57rem;padding:4px 6px;border-color:#e1d3ed;background:#f7f1fc;color:#67458d}
#home-view .game-card--featured .card-action{align-self:flex-start;background:#8c52ff;border:1px solid #21172e;border-radius:9px;padding:10px 14px;min-height:44px;font-size:.79rem;color:#fff;gap:22px}
#home-view .game-card--featured:focus-visible{outline-offset:-4px}
#home-view .home-discovery{padding-top:35px;padding-bottom:43px}
#home-view .home-section:not(.home-lineup){margin:0 0 37px}
#home-view .home-instruments{display:grid;grid-template-columns:300px minmax(0,1fr);align-items:center;gap:32px;border:1px solid #21172e;border-left:6px solid #8c52ff;border-radius:14px;padding:25px 27px;background:#fffdf8}
#home-view .home-instruments .section-head{margin:0}
#home-view .home-instruments h2{font-size:1.35rem;text-wrap:pretty}
#home-view .instrument-links{gap:8px}
#home-view .instrument-pill{min-height:44px;border:1px solid #c8b9d4;border-radius:8px;padding:10px 13px;font-size:.79rem;background:#f9f5fd;transition:background .17s ease,border-color .17s ease,transform .17s ease}
#home-view .skill-grid{gap:13px}
#home-view .skill-card{min-height:143px;padding:18px 17px;gap:13px;border:1px solid #21172e;border-radius:13px;background:#fffdf8;box-shadow:3px 3px 0 color-mix(in srgb,var(--skill-b) 70%,white);animation:none}
#home-view .skill-card::before{background:var(--skill-a);inset:auto -20px -62px auto;width:140px;height:140px;border-radius:50%;opacity:.45;mask-image:none}
#home-view .skill-card::after{display:none}
#home-view .skill-motif{width:40px;height:40px;background:var(--skill-a);border:1px solid #21172e;border-radius:11px;box-shadow:none}
#home-view .skill-motif i{opacity:.55}
#home-view .skill-title{font-size:1.06rem;line-height:1.2}
#home-view .skill-foot{font-size:.69rem;color:#655172}
#home-view .skill-foot span{border:1px solid #21172e;background:#fffdf8}
#home-view #popular-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#home-view .game-card--regular{display:grid;grid-template-columns:95px minmax(0,1fr);min-height:202px;border:1px solid #21172e;border-radius:14px;box-shadow:3px 3px 0 #ded1e8;background:#fffdf8}
#home-view .game-card--regular .card-art{width:95px;height:100%;min-height:202px;background:color-mix(in srgb,var(--art-bg) 75%,#fffdf8);border-right:1px solid #21172e}
#home-view .game-card--regular .art-grid{opacity:.08}
#home-view .game-card--regular .art-icon{width:67px;height:67px;border-radius:22px 15px 26px 15px;background:#fffdf8;border:1px solid #21172e;box-shadow:2px 3px 0 #21172e}
#home-view .game-card--regular .art-icon img{width:49px;height:49px}
#home-view .game-card--regular .art-orbit{width:89px;height:89px}
#home-view .game-card--regular .art-detail{left:calc(50% + 14px);width:25px;height:25px;border:1px solid #21172e;border-radius:8px}
#home-view .game-card--regular .art-detail img{width:17px;height:17px}
#home-view .game-card--regular .art-mark{display:none}
#home-view .game-card--regular .card-content{padding:19px 17px}
#home-view .game-card--regular h3{font-size:1.13rem;line-height:1.2}
#home-view .game-card--regular .card-description{font-size:.78rem;line-height:1.5}
#home-view .game-card--regular .card-modes>span{font-size:.56rem;padding:3px 5px}
#home-view .game-card--regular .card-action{margin-top:auto;font-size:.76rem}
#home-view .home-update-grid{gap:17px}
#home-view .home-update-card{border:1px solid #21172e;border-radius:13px;box-shadow:none;padding:23px;background:#fffdf8}
#home-view .home-update-card h3{font-size:1.05rem;line-height:1.3;letter-spacing:-.025em}
#home-view .home-update-card p{font-size:.82rem;line-height:1.6}
#home-view .home-end{padding:0 0 10px}
#home-view .home-end .primary-button{background:#21172e;color:#fff;border-radius:9px;min-height:48px;font-size:.9rem;border:1px solid #21172e;box-shadow:3px 3px 0 #cbb7e8}
#home-view a:focus-visible{outline:3px solid #8c52ff;outline-offset:4px}
#home-view .primary-button{transition:transform .17s ease,box-shadow .17s ease,background .17s ease}
#home-view .primary-button:active{transform:translateY(1px)}
@media(hover:hover){
 #home-view .primary-button:hover{transform:translateY(-2px);box-shadow:3px 5px 0 #bda2df}
 #home-view .instrument-pill:hover{transform:translateY(-2px);background:#efe4fc;border-color:#8c52ff}
 #home-view .game-card--regular:hover,#home-view .skill-card:hover{transform:translateY(-3px);box-shadow:3px 6px 0 #cbb7e8}
 #home-view .game-card--featured:hover{transform:none;box-shadow:none}
 #home-view .game-card--featured:hover .card-action{background:#7840eb}
}
@keyframes home-arrive{from{opacity:.85;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes avatar-arrive{from{opacity:.85;transform:translateY(5px) rotate(-4deg)}to{opacity:1;transform:rotate(-4deg)}}
@keyframes home-note-float{from{transform:translateY(0)}to{transform:translateY(-4px)}}
@media(max-width:1000px){
 #home-view .home-opening{background:linear-gradient(90deg,#f7f2e9 0 calc(100% - 215px),#8c52ff calc(100% - 215px) 100%)}
 #home-view .home-hero{grid-template-columns:minmax(0,1fr) 190px;gap:30px}
 #home-view .intro-bottom{align-items:flex-start;flex-direction:column;gap:17px}
 #home-view .home-avatar{min-height:205px}
 #home-view .home-avatar-frame{width:170px;height:170px}
 #home-view .home-avatar-motif{width:83px;height:47px;right:0;bottom:29px}
 #home-view .home-avatar-caption{font-size:.56rem;bottom:1px;left:0;right:0}
 #home-view .home-lineup-grid{gap:18px}
 #home-view .bc-home{padding:24px}
 #home-view .game-card--featured{grid-template-columns:95px minmax(0,1fr)}
 #home-view .game-card--featured .card-art{width:95px}
 #home-view .game-card--featured .art-icon{width:70px;height:70px;border-radius:35% 55% 32% 46%}
 #home-view .game-card--featured .art-icon img{width:51px;height:51px}
 #home-view .game-card--featured .art-orbit{width:89px;height:89px}
 #home-view .game-card--featured .card-content{padding:20px 20px 22px 7px}
 #home-view .home-instruments{grid-template-columns:250px minmax(0,1fr);gap:24px}
 #home-view .skill-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 #home-view #popular-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
 #home-view .home-opening{background:linear-gradient(90deg,#f7f2e9 0 calc(100% - 190px),#8c52ff calc(100% - 190px) 100%)}
 #home-view .home-hero{padding:28px 0 30px;grid-template-columns:minmax(0,1fr) 165px;gap:25px}
 #home-view .intro h1{font-size:clamp(2.5rem,6vw,3.4rem)}
 #home-view .home-avatar{min-height:190px}
 #home-view .home-avatar-frame{width:151px;height:151px}
 #home-view .home-avatar-caption{font-size:.54rem}
 #home-view .home-lineup-grid{grid-template-columns:1fr}
 #home-view .bc-home{min-height:260px}
 #home-view .featured-game{min-height:260px}
 #home-view .game-card--featured{grid-template-columns:180px minmax(0,1fr)}
 #home-view .game-card--featured .card-art{width:180px;min-height:210px}
 #home-view .game-card--featured .art-icon{width:105px;height:105px}
 #home-view .game-card--featured .art-icon img{width:78px;height:78px}
 #home-view .game-card--featured .art-orbit{width:150px;height:150px}
 #home-view .home-instruments{grid-template-columns:1fr;gap:19px;padding:24px}
 #home-view .home-instruments h2{font-size:1.4rem}
 #home-view .home-update-grid{grid-template-columns:1fr;gap:13px}
}
@media(max-width:600px){
 #home-view .home-opening{position:relative;background:#f7f2e9}
 #home-view .home-opening::before{content:'';position:absolute;top:0;right:0;width:21%;height:102px;border-radius:0 0 0 25px;background:#8c52ff}
 #home-view .home-hero{grid-template-columns:1fr;gap:0;padding:20px 0 28px}
 #home-view .hero-topline{min-height:68px;margin:0 0 13px;padding-right:86px}
 #home-view .intro .eyebrow{font-size:.59rem;letter-spacing:.11em;line-height:1.7;max-width:210px}
 #home-view .intro h1{font-size:clamp(2.5rem,10.5vw,3.5rem);letter-spacing:-.055em}
 #home-view .intro-main{z-index:auto}
 #home-view .intro-bottom{margin-top:18px;gap:18px}
 #home-view .intro-copy{font-size:.9rem;line-height:1.55;max-width:390px;padding-right:7px}
 #home-view .intro-cta{min-height:46px;font-size:.84rem}
 #home-view .home-avatar{position:absolute;right:7px;top:24px;width:68px;height:68px;min-height:0;padding:0;z-index:1}
 #home-view .home-avatar-frame{width:64px;height:64px;border-radius:35% 60% 40% 55%;box-shadow:3px 3px 0 #21172e}
 #home-view .home-avatar::before,#home-view .home-avatar-motif,#home-view .home-avatar-caption{display:none}
 #home-view .avatar-unavailable .home-avatar-frame::after{font-size:2rem}
 #home-view .home-lineup{padding:25px 0 29px}
 #home-view .section-head{gap:12px;margin-bottom:17px;align-items:flex-end}
 #home-view .home-lineup>.section-head{display:block}
 #home-view .home-lineup>.section-head>.home-section-note{margin-top:7px}
 #home-view .home-kicker{font-size:.57rem}
 #home-view .section-link{font-size:.74rem;white-space:normal;text-align:right;max-width:110px}
 #home-view .bc-home{padding:23px 21px;min-height:297px;gap:27px;border-radius:16px}
 #home-view #bc-home-title{font-size:1.5rem;gap:7px}
 #home-view #daily-home-copy{font-size:.85rem}
 #home-view #bc-home-status{max-width:100%;font-size:.68rem}
 #home-view .bc-home>img{width:97px;height:84px;bottom:26px;right:17px}
 #home-view .bc-home-action{width:calc(100% - 96px);min-width:0}
 #home-view .bc-home .primary-button{font-size:.77rem;padding:11px 13px;min-height:46px}
 #home-view .featured-game-heading{padding:20px 21px 0}
 #home-view .featured-game{border-radius:16px;min-height:275px}
 #home-view .game-card--featured{grid-template-columns:100px minmax(0,1fr)}
 #home-view .game-card--featured .card-art{width:100px;min-height:225px}
 #home-view .game-card--featured .art-icon{width:73px;height:73px}
 #home-view .game-card--featured .art-icon img{width:54px;height:54px}
 #home-view .game-card--featured .art-orbit{width:92px;height:92px}
 #home-view .game-card--featured .card-content{padding:22px 18px 22px 5px}
 #home-view .game-card--featured h3{font-size:1.45rem}
 #home-view .game-card--featured .card-description{font-size:.76rem;line-height:1.55}
 #home-view .game-card--featured .card-spotlight-footer{gap:14px;margin-top:15px}
 #home-view .game-card--featured .card-modes>span{font-size:.54rem}
 #home-view .home-discovery{padding-top:28px;padding-bottom:30px}
 #home-view .home-section:not(.home-lineup){margin-bottom:31px}
 #home-view .home-instruments{padding:22px 21px;border-radius:13px;gap:18px}
 #home-view .instrument-pill{font-size:.77rem;min-height:44px;padding:10px 12px}
 #home-view .skill-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 #home-view .skill-card{padding:17px 14px;min-height:143px;gap:12px}
 #home-view .skill-title{font-size:1rem}
 #home-view .skill-foot{font-size:.67rem}
 #home-view #popular-cards{grid-template-columns:1fr;gap:14px}
 #home-view .game-card--regular{grid-template-columns:96px minmax(0,1fr);min-height:195px}
 #home-view .game-card--regular .card-art{width:96px;min-height:195px}
 #home-view .game-card--regular .card-content{padding:20px 17px}
 #home-view .home-update-card{padding:21px}
 #home-view .home-end{padding:0 0 10px}
}
@media(prefers-reduced-motion:reduce){
 #home-view *,#home-view *::before,#home-view *::after{animation:none!important;transition:none!important}
 #home-view a:hover,#home-view a:active,#home-view .skill-motif,#home-view .skill-card::after,#home-view .skill-foot span,#home-view .art-icon,#home-view .art-orbit,#home-view .card-action>span{transform:none!important}
}
