.home-dashboard{position:relative;z-index:2;max-width:1280px;margin:0 auto;padding:28px 32px 56px}
.home-now-card{position:relative;width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px;min-height:190px;overflow:hidden;padding:28px;border:1px solid var(--border2);background:linear-gradient(120deg,rgba(255,70,86,.14),rgba(16,19,26,.94) 55%),var(--surf);color:inherit;text-align:left;cursor:pointer;transition:border-color .2s,transform .2s}
.home-now-card::before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:var(--red);box-shadow:0 0 18px var(--red)}
.home-now-card::after{content:'';position:absolute;right:-80px;top:-130px;width:330px;height:330px;border:1px solid color-mix(in srgb,var(--red) 25%,transparent);border-radius:50%;opacity:.5}
.home-now-card:hover{transform:translateY(-2px);border-color:var(--red-mid)}
.home-now-card[data-state="lol"]{background:linear-gradient(120deg,rgba(201,155,63,.18),rgba(7,20,31,.96) 58%),var(--surf)}
.home-now-card[data-state="night"]{background:linear-gradient(120deg,rgba(168,127,255,.18),rgba(16,19,26,.96) 58%),var(--surf)}.home-now-card[data-state="night"]::before{background:#a87fff;box-shadow:0 0 18px rgba(168,127,255,.7)}.home-now-card[data-state="night"] .home-now-copy>span{color:#c8adff}.home-now-card[data-state="night"] .home-now-action{border-color:rgba(168,127,255,.38);background:rgba(168,127,255,.1)}
.home-now-copy{position:relative;z-index:1;display:grid;gap:7px}
.home-now-copy>span{color:var(--red);font:700 9px 'Tomorrow',sans-serif;letter-spacing:2.4px;text-transform:uppercase}
.home-now-copy>strong{color:var(--text);font:700 clamp(26px,4vw,48px) 'Tomorrow',sans-serif;letter-spacing:-.5px}
.home-now-copy>small{color:var(--muted);font-size:14px}
.home-now-action{position:relative;z-index:1;min-height:44px;display:flex;align-items:center;justify-content:center;padding:0 18px;border:1px solid var(--red-mid);background:var(--red-low);color:var(--text);font:700 10px 'Tomorrow',sans-serif;letter-spacing:1.2px;text-transform:uppercase}
.home-world-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
.home-world{--home-world-image:none;position:relative;min-height:150px;overflow:hidden;padding:16px;border:1px solid var(--border);background:#11141b;color:#fff;text-align:left;cursor:pointer;isolation:isolate;transition:transform .2s,border-color .2s}
.home-world::before{content:'';position:absolute;z-index:-2;inset:0;background-image:var(--home-world-image);background-position:center;background-size:cover;filter:saturate(.85) brightness(.52);transition:transform .35s,filter .35s}
.home-world::after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(to top,rgba(5,7,11,.98),rgba(5,7,11,.08) 75%)}
.home-world:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.28)}
.home-world:hover::before{transform:scale(1.035);filter:saturate(1) brightness(.62)}
.home-world[data-home-world="valorant"]{--home-world-image:url('../assets/home/valorant-keyart.webp')}
.home-world[data-home-world="valorant"]::before{background-position:center 44%}
.home-world[data-home-world="lol"]{--home-world-image:url('../assets/home/league-champions-group.webp')}
.home-world[data-home-world="lol"]::before{background-position:center 44%;filter:saturate(.96) brightness(.62)}
.home-world[data-home-world="lol"]:hover::before{filter:saturate(1.05) brightness(.72)}
.home-world[data-home-world="coop"]{--home-world-image:url('../assets/home/peak-keyart.webp')}
.home-world[data-home-world="coop"]::before{background-position:center;filter:saturate(.9) brightness(.62)}
.home-world[data-home-world="coop"]::before{transition:opacity .35s ease,transform .55s ease,filter .35s}.home-world[data-home-world="coop"].is-slide-ready::before{animation:coopSlideIn .5s ease both}@keyframes coopSlideIn{from{opacity:.55;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
.home-world[data-home-world="coop"]:hover::before{filter:saturate(1) brightness(.72)}
.home-world-copy{position:absolute;left:16px;right:16px;bottom:14px;display:grid;gap:2px}
.home-world-copy small{color:rgba(255,255,255,.58);font:700 8px 'Tomorrow',sans-serif;letter-spacing:1.5px;text-transform:uppercase}
.home-world-copy strong{font:700 18px 'Tomorrow',sans-serif;letter-spacing:.2px}
.home-member-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:12px}
.home-member-strip{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 16px;border:1px solid var(--border);background:rgba(16,19,26,.72);color:inherit;font:inherit;cursor:pointer}
.home-member-faces{display:flex;align-items:center;padding-left:7px}
.home-member-face{position:relative;width:36px;height:36px;margin-left:-7px;overflow:hidden;border:2px solid var(--surf2);border-radius:50%;background:var(--surf3)}
.home-member-face .user-avatar-initial,.home-member-face .user-avatar-fallback-image,.home-member-face .user-avatar-primary{border-radius:50%}
.home-member-face.online{border-color:#4bd07b;box-shadow:0 0 0 1px rgba(75,208,123,.28),0 0 12px rgba(75,208,123,.18)}
.home-member-face.online::after{content:'';position:absolute;z-index:5;right:0;bottom:1px;width:7px;height:7px;border:2px solid var(--surf2);border-radius:50%;background:#4bd07b}
.home-member-strip>span{color:var(--muted);font-size:12px;font-weight:600}
.home-app-launcher{min-width:128px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(168,127,255,.2);border-radius:6px;background:rgba(168,127,255,.055);padding:0 13px;color:#c8adff;cursor:pointer}.home-app-launcher:hover{border-color:rgba(168,127,255,.4);background:rgba(168,127,255,.09)}.home-app-launcher>span{font-size:16px}.home-app-launcher>strong{font:650 12px 'DM Sans',sans-serif;color:var(--text)}
.home-group-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);gap:12px;margin-top:12px}
.home-group-panel{min-width:0;border:1px solid var(--border);border-radius:6px;background:rgba(16,19,26,.72);padding:15px 16px}
.home-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
.home-group-heading>span{color:var(--muted);font:700 10px 'Tomorrow',sans-serif;letter-spacing:1.7px;text-transform:uppercase}
.home-group-heading>small{color:var(--dim);font-size:11px}
.home-group-heading>button{min-height:34px;border:1px solid var(--border2);border-radius:4px;background:rgba(255,255,255,.035);padding:0 12px;color:var(--text);font:650 12px 'DM Sans',sans-serif;cursor:pointer}
.home-group-heading>button:hover{border-color:var(--red-mid);background:var(--red-low)}
.home-tonight-content{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:48px}
.home-tonight-content>div:first-child{display:grid;gap:3px;min-width:0}
.home-tonight-content strong{overflow:hidden;color:var(--text);font:700 17px 'DM Sans',sans-serif;text-overflow:ellipsis;white-space:nowrap}
.home-tonight-content small{color:var(--muted);font-size:12px}
.home-tonight-time{color:#f4ca52;font:700 18px 'DM Sans',sans-serif;white-space:nowrap}
.home-tonight-schedule{display:grid;justify-items:end;gap:3px}.home-tonight-schedule>span{color:var(--dim);font-size:9px;white-space:nowrap}
.home-tonight-people{display:flex;align-items:center;margin-top:7px;padding-left:5px}
.home-tonight-person{display:grid;width:29px;height:29px;margin-left:-5px;place-items:center;overflow:hidden;border:2px solid #11141b;border-radius:50%;background:#282c38;color:#fff;font-size:10px;font-weight:700}
.home-tonight-person img{width:100%;height:100%;object-fit:cover}
.home-tonight-person.is-maybe{opacity:.58}.home-tonight-person.is-no{display:none}
.home-tonight-count{margin-left:8px;color:var(--muted);font-size:11px}
.home-reminder-hint{display:flex;align-items:center;gap:8px;margin:2px 0 0;color:var(--muted);font-size:11px;line-height:1.45}.home-reminder-hint>span{color:#f4ca52;font-size:8px}.home-sheet-secondary{min-height:42px;border:1px solid var(--border2);border-radius:4px;background:transparent;padding:0 14px;color:var(--muted);font:650 12px 'DM Sans',sans-serif;cursor:pointer}
.home-activity-list{display:grid;gap:8px}
.home-activity-item{display:grid;grid-template-columns:7px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:24px;color:var(--muted);font-size:12px}
.home-activity-item::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--red);box-shadow:0 0 8px var(--red-mid)}
.home-activity-item[data-kind="coop"]::before{background:#f4ca52;box-shadow:none}
.home-activity-item[data-kind="lol"]::before{background:#56b8d8;box-shadow:none}
.home-activity-item[data-kind="rank"]::before{background:#f4ca52;box-shadow:0 0 9px rgba(244,202,82,.28)}
.home-activity-item strong{overflow:hidden;color:var(--text);font-weight:650;text-overflow:ellipsis;white-space:nowrap}
.home-activity-item time{color:var(--dim);font-size:10px;white-space:nowrap}
.home-inline-loading,.home-activity-empty{display:flex;min-height:56px;align-items:center;color:var(--muted);font-size:12px}
.home-utility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-utility-grid:has(>button[hidden]:first-child){grid-template-columns:1fr}
.home-install-band{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;border:1px solid rgba(168,127,255,.18);border-radius:6px;background:linear-gradient(90deg,rgba(168,127,255,.08),rgba(16,19,26,.62));padding:10px 12px;color:inherit;text-align:left;cursor:pointer}
.home-install-band[hidden]{display:none}.home-install-band:hover{border-color:rgba(168,127,255,.38)}
.home-install-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:rgba(168,127,255,.12);color:#c8adff;font-size:18px}
.home-install-band>span:nth-child(2){display:grid;gap:2px}.home-install-band strong{font:700 13px 'DM Sans',sans-serif}.home-install-band small{color:var(--muted);font-size:11px}
.home-install-band>i{color:#c8adff;font:650 11px 'DM Sans',sans-serif;font-style:normal}
.home-notification-band[data-state="enabled"]{border-color:rgba(63,207,207,.28);background:linear-gradient(90deg,rgba(63,207,207,.09),rgba(168,127,255,.045))}
.home-notification-band[data-state="enabled"] .home-install-icon{color:#3fcfcf;background:rgba(63,207,207,.12)}
.home-notification-band[data-state="enabled"] i{color:#3fcfcf}
.home-notification-band:disabled{cursor:wait;opacity:.72}
.home-app-intro{margin:-2px 0 16px;color:var(--muted);font-size:13px;line-height:1.45}.home-app-grid{grid-template-columns:1fr;gap:9px}
.home-sheet{position:fixed;z-index:1200;inset:0;display:grid;place-items:center;padding:18px;background:rgba(5,7,11,.78);backdrop-filter:blur(12px)}
.home-sheet[hidden]{display:none}.home-sheet-card{width:min(100%,480px);box-sizing:border-box;border:1px solid var(--border2);border-radius:8px;background:#11141b;padding:20px;box-shadow:0 24px 70px rgba(0,0,0,.5)}
.home-sheet-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.home-sheet-card>header span{color:var(--red);font:700 9px 'Tomorrow',sans-serif;letter-spacing:1.8px;text-transform:uppercase}.home-sheet-card>header h2{margin:4px 0 0;color:var(--text);font:700 24px 'DM Sans',sans-serif}.home-sheet-card>header button{display:grid;min-width:40px;min-height:40px;place-items:center;border:1px solid var(--border);border-radius:4px;background:transparent;color:var(--muted);font-size:22px;cursor:pointer}
.home-sheet-field{display:grid;gap:6px;margin-top:12px}.home-sheet-field>span,.home-response-field legend{color:var(--muted);font:650 11px 'DM Sans',sans-serif}.home-sheet-field input,.home-sheet-field select{width:100%;min-height:46px;box-sizing:border-box;border:1px solid var(--border2);border-radius:4px;background:#0b0d12;padding:0 12px;color:var(--text);font:600 14px 'DM Sans',sans-serif}
.home-response-field{margin:16px 0 0;padding:0;border:0}.home-response-field>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:7px}.home-response-field button{min-height:42px;border:1px solid var(--border);border-radius:4px;background:rgba(255,255,255,.025);color:var(--muted);font:650 12px 'DM Sans',sans-serif;cursor:pointer}.home-response-field button.is-active{border-color:var(--red-mid);background:var(--red-low);color:var(--text)}
.home-candidate-field{margin:14px 0 0;padding:0;border:0}.home-candidate-field legend{width:100%;margin-bottom:7px;color:var(--text);font:700 12px 'DM Sans',sans-serif}.home-candidate-field legend small{float:right;color:var(--dim);font-weight:500}.home-slot-editor{display:grid;grid-template-columns:28px minmax(0,1.4fr) minmax(95px,.6fr);align-items:center;gap:7px;margin-top:7px}.home-slot-editor>span{display:grid;width:26px;height:26px;place-items:center;border-radius:50%;background:var(--red-low);color:var(--red);font-size:10px;font-weight:700}.home-slot-editor input,.home-game-candidates select{min-width:0;min-height:42px;box-sizing:border-box;border:1px solid var(--border2);border-radius:4px;background:#0b0d12;padding:0 10px;color:var(--text);font:600 12px 'DM Sans',sans-serif}.home-game-candidates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.home-night-vote{display:grid;gap:9px;margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}.home-night-vote>h3{margin:0;color:var(--muted);font:700 10px 'Tomorrow',sans-serif;letter-spacing:1px;text-transform:uppercase}.home-night-vote>p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.home-vote-slots{display:grid;gap:7px}.home-vote-slots article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;border:1px solid var(--border);border-radius:5px;background:rgba(255,255,255,.018)}.home-vote-slots article>span{display:grid;gap:2px}.home-vote-slots strong{font-size:12px}.home-vote-slots small,.home-vote-games small{color:var(--dim);font-size:9px}.home-vote-slots article>div{display:flex;gap:4px}.home-vote-slots button,.home-vote-games button{min-height:36px;border:1px solid var(--border);border-radius:4px;background:transparent;padding:0 9px;color:var(--muted);font:650 10px 'DM Sans',sans-serif;cursor:pointer}.home-vote-slots button.is-active,.home-vote-games button.is-active{border-color:var(--red-mid);background:var(--red-low);color:var(--text)}.home-vote-games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.home-vote-games button{display:grid;align-content:center;gap:2px;min-height:48px;text-align:left}.home-vote-games strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-night-locked{padding:9px 10px;border:1px solid rgba(75,208,123,.22);border-radius:4px;background:rgba(75,208,123,.06);color:#79dc9a!important}
.home-night-attendees{display:flex;min-height:31px;align-items:center;margin-top:14px;padding-left:5px}.home-sheet-status{min-height:18px;margin:10px 0 0;color:var(--muted);font-size:11px}.home-sheet-status.is-error{color:#ff7f89}.home-sheet-card>footer{display:flex;align-items:center;gap:9px;margin-top:14px}.home-sheet-card>footer .home-sheet-primary{flex:1}.home-sheet-primary{width:100%;min-height:46px;border:1px solid var(--red-mid);border-radius:4px;background:var(--red);color:#fff;font:700 13px 'DM Sans',sans-serif;cursor:pointer}.home-sheet-primary:disabled{opacity:.55;cursor:wait}
.pwa-install-device{margin-bottom:13px;color:var(--text);font:700 15px 'DM Sans',sans-serif}.pwa-install-steps{display:grid;gap:10px;margin:0 0 18px;padding-left:22px;color:var(--muted);font-size:13px;line-height:1.45}.pwa-install-steps li::marker{color:#c8adff;font-weight:700}.pwa-install-card .home-sheet-primary{background:#8f6bd8;border-color:#b397ec}

@media(max-width:768px){
  #page-home .hero{padding:32px 16px 26px}
  #page-home .hero-title{font-size:clamp(44px,14vw,58px)}
  #page-home .hero-cta-secondary{display:none}
  #page-home .hero-ctas{margin-top:22px}
  #page-home .hero-cta-primary{min-height:46px;padding:10px 24px}
  .home-dashboard{padding:12px 16px 38px}
  .home-now-card{grid-template-columns:1fr;align-items:end;min-height:160px;padding:20px}
  .home-now-copy>strong{font-size:28px}
  .home-now-copy>small{font-size:12px}
  .home-now-action{width:max-content}
  .home-world-grid{gap:7px}
  .home-world{min-height:116px;padding:10px}
  .home-world-copy{left:10px;right:8px;bottom:10px}
  .home-world-copy small{font-size:7px;letter-spacing:.8px}
  .home-world-copy strong{font-size:13px}
  .home-member-row{gap:7px;margin-top:9px}.home-member-strip{min-width:0;padding:11px 12px}.home-app-launcher{min-width:48px;width:48px;padding:0}.home-app-launcher>strong{display:none}
  .home-member-face{width:34px;height:34px}
  .home-group-grid{grid-template-columns:1fr;gap:8px;margin-top:9px}
  .home-group-panel{padding:13px 14px}
  .home-group-heading{margin-bottom:9px}
  .home-group-heading>button{min-height:40px}
  .home-tonight-content strong{font-size:16px}
  .home-activity-item{grid-template-columns:7px minmax(0,1fr);min-height:30px;font-size:12px}
  .home-activity-item time{display:none}
  .home-utility-grid{grid-template-columns:1fr;gap:8px}
  .home-install-band{grid-template-columns:36px minmax(0,1fr);padding:12px}
  .home-install-band>i{display:none}
  .home-sheet{align-items:end;padding:0}
  .home-sheet-card{width:100%;max-height:90vh;overflow:auto;border-width:1px 0 0;border-radius:14px 14px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom))}
  .home-sheet-card>header h2{font-size:22px}
}
@media(max-width:620px){.home-sheet-card>footer{align-items:stretch;flex-direction:column}.home-sheet-secondary{width:100%}.home-tonight-schedule>span{white-space:normal;text-align:right}}
@media(max-width:620px){.home-game-candidates{grid-template-columns:1fr}.home-vote-slots article{grid-template-columns:1fr}.home-vote-slots article>div{display:grid;grid-template-columns:repeat(3,1fr)}.home-vote-games{grid-template-columns:1fr 1fr}.home-slot-editor{grid-template-columns:25px minmax(0,1fr) 92px}}

@media(max-width:360px){
  .home-world-copy small{display:none}
  .home-world-copy strong{font-size:12px}
}
