/* TF2Bolt game room. Homepage-only styles; shared header, chat and footer
   continue to use styles.css. Artwork is original, locally served WebP. */
/* Static painted-metal atmosphere. Soft RED/BLU edge tones and fine grain
   add depth while keeping the illustrated game cards as the focal point. */
body.home-page{
  background-color:#13171e;
  background-image:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27180%27%20height%3D%27180%27%3E%3Cfilter%20id%3D%27grain%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%27.78%27%20numOctaves%3D%273%27%20stitchTiles%3D%27stitch%27%2F%3E%3CfeColorMatrix%20type%3D%27saturate%27%20values%3D%270%27%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20opacity%3D%27.035%27%20filter%3D%27url%28%23grain%29%27%2F%3E%3C%2Fsvg%3E"),
    radial-gradient(ellipse 960px 720px at 0% 260px,rgba(151,100,59,.16),transparent 74%),
    radial-gradient(ellipse 1000px 760px at 100% 560px,rgba(63,96,125,.17),transparent 76%),
    radial-gradient(ellipse 900px 500px at 32% 1250px,rgba(114,80,53,.075),transparent 75%),
    repeating-linear-gradient(118deg,transparent 0 239px,rgba(192,176,150,.018) 240px 241px,transparent 242px 480px),
    linear-gradient(180deg,#191c23 0%,#131820 52%,#0f131a 100%);
  background-size:180px 180px,auto,auto,auto,auto,auto;
  background-repeat:repeat,no-repeat,no-repeat,no-repeat,repeat,no-repeat;
  background-attachment:scroll;
}

.home-shell{--home-muted:#a6a9b2;--home-border:rgba(255,255,255,.09);width:min(1450px,calc(100% - 48px));margin:0 auto;padding:26px 0 40px;font-family:'Plus Jakarta Sans','Segoe UI',sans-serif;}
.home-shell h1,.home-shell h2,.home-shell h3{font-family:inherit;text-transform:none;letter-spacing:-.035em;color:#f6f3ef;}
.home-shell a,.home-shell button{-webkit-tap-highlight-color:transparent;}
.home-shell a:focus-visible,.home-shell button:focus-visible{outline:3px solid #ffd09a;outline-offset:5px;}
.home-shell button{font-family:inherit;}
.home-shell [hidden]{display:none!important;}
.home-skip{position:fixed;top:12px;left:50%;z-index:1000;transform:translate(-50%,-180%);padding:12px 20px;border-radius:10px;background:#ffd09a;color:#21180e;font-weight:800;}
.home-skip:focus{transform:translate(-50%,0);}
.home-section-kicker{display:block;font-size:11px;line-height:1.3;font-weight:800;letter-spacing:.14em;color:#dfa968;}
.home-arrival{display:flex;gap:16px;align-items:stretch;}
.home-hub-banner{flex:1;min-width:0;min-height:208px;position:relative;overflow:hidden;isolation:isolate;border:1px solid #3b3028;border-radius:18px;background:#1c1c20;}
.home-banner-art{position:absolute;right:0;top:-22%;width:65%;height:145%;object-fit:cover;object-position:50% 46%;z-index:-3;opacity:.85;}
.home-hub-banner::before{content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#211e20 0%,rgba(33,30,32,.98) 24%,rgba(33,30,32,.74) 46%,rgba(22,22,28,.05) 80%),linear-gradient(0deg,rgba(11,12,17,.55),transparent 50%);}
.home-hub-banner::after{content:'';position:absolute;z-index:-1;width:190px;height:190px;left:38%;bottom:-130px;border-radius:50%;background:rgba(228,146,59,.18);filter:blur(25px);}
.home-banner-copy{position:relative;padding:24px 28px;}
.home-banner-copy h1{margin:10px 0 8px;font-size:38px;font-weight:850;line-height:1.05;}
.home-banner-copy h1 em{font-style:normal;color:#efb878;}
.home-banner-copy p{margin:0 0 14px;font-size:14px;line-height:1.4;color:#c6beb8;}
.home-text-link{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:750;color:#f4e7d7;text-decoration:none;}
.home-text-link i{font-size:11px;transition:transform .2s;}
.home-text-link:hover i{transform:translateX(4px);}
.home-banner-stamp{position:absolute;right:20px;bottom:18px;font-size:9px;letter-spacing:.17em;font-weight:800;color:#e7c5a6;opacity:.7;}
.home-free-bonus-banner{flex:0 1 34%;min-width:300px;display:flex;align-items:center;gap:20px;position:relative;overflow:hidden;padding:24px;border:1px solid #3c3330;border-radius:18px;background:radial-gradient(ellipse at 0 100%,rgba(228,140,51,.1),transparent 70%),linear-gradient(135deg,#252022,#19191f);}
.home-bonus-gift{width:54px;height:64px;flex:0 0 54px;display:grid;place-items:center;font-size:36px;color:#eab478;filter:drop-shadow(0 8px 14px rgba(199,119,52,.18));transform:rotate(-10deg);}
.home-free-bonus-copy{min-width:0;}
.home-free-bonus-copy h2{font-size:27px;line-height:1.15;margin:7px 0 8px;}
.home-free-bonus-copy p{max-width:310px;font-size:12px;line-height:1.55;color:#beb5b1;margin:0 0 14px;}
.home-primary-btn,.home-secondary-btn{min-height:39px;padding:9px 14px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;font-size:12px;line-height:1.4;font-weight:800;text-decoration:none;cursor:pointer;transition:background .2s,transform .2s,border-color .2s;}
.home-primary-btn{color:#25190d;border:1px solid #efb775;background:#e9aa62;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 4px 10px rgba(0,0,0,.12);}
.home-primary-btn:hover{background:#f5bd7c;transform:translateY(-1px);}
.home-secondary-btn{color:#e3dfdc;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.035);}
.home-secondary-btn:hover{border-color:#9f7a55;background:rgba(255,255,255,.07);}
.home-games-section{margin-top:28px;scroll-margin-top:110px;}
.home-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:15px;}
.home-section-head h2{margin:5px 0 0;font-size:26px;line-height:1.15;font-weight:800;}
.home-section-note{color:#92939d;font-size:12px;}
.home-room-tools{display:flex;gap:15px;align-items:center;}
.home-games-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.home-game-card{--game-accent:#dda168;position:relative;isolation:isolate;aspect-ratio:1.35;min-width:0;overflow:hidden;border-radius:15px;border:1px solid rgba(255,255,255,.12);background:#19191f;text-decoration:none;color:#fff;box-shadow:0 5px 18px rgba(0,0,0,.15);transition:transform .25s,border-color .25s,box-shadow .25s;}
.home-game-art{position:absolute;inset:0;z-index:-3;display:block;width:100%;height:100%;object-fit:cover;object-position:center 37%;transform:scale(1.015);transition:transform .65s cubic-bezier(.2,.65,.25,1);}
.home-game-card::before{content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(0deg,rgba(10,10,16,.98) 0%,rgba(10,10,16,.82) 18%,rgba(10,10,16,.25) 44%,transparent 68%),linear-gradient(180deg,rgba(7,9,14,.3),transparent 25%);}
.home-game-card::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);background:linear-gradient(145deg,rgba(255,255,255,.04),transparent 35%);}
.home-game-tag{position:absolute;left:14px;top:14px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;line-height:1.2;padding:6px 8px;border:1px solid rgba(255,255,255,.17);border-radius:6px;background:rgba(14,15,22,.72);color:#ece9e6;}
.home-game-copy{position:absolute;left:18px;bottom:17px;right:38px;}
.home-game-copy h3{font-size:24px;line-height:1.12;margin:0 0 6px;font-weight:850;text-shadow:0 2px 10px #000;}
.home-game-copy p{font-size:12px;line-height:1.45;color:#c6c2c8;margin:0;}
.home-game-arrow{position:absolute;right:16px;bottom:19px;color:var(--game-accent);font-size:12px;opacity:.8;transition:transform .25s,opacity .25s;}
.home-game-card:hover,.home-game-card:focus-visible{transform:translateY(-4px);border-color:var(--game-accent);box-shadow:0 12px 28px rgba(0,0,0,.3);}
.home-game-card:hover .home-game-art,.home-game-card:focus-visible .home-game-art{transform:scale(1.065);}
.home-game-card:hover .home-game-arrow{opacity:1;transform:translate(2px,-2px);}
.home-play-note{margin:14px 0 0;text-align:right;color:#9999a2;font-size:11px;line-height:1.5;}
.home-play-note a{color:#c2b6aa;text-decoration:underline;text-underline-offset:3px;}
.home-dashboard-heading{margin-top:30px;}
.home-dashboard-heading h2{font-size:22px;}
.home-top-grid{display:grid;grid-template-columns:minmax(310px,.9fr) minmax(0,1.6fr);gap:16px;}
.home-welcome-card,.home-feature-card{position:relative;min-width:0;overflow:hidden;border-radius:15px;border:1px solid var(--home-border);background:linear-gradient(140deg,#1b1c23,#15171d);}
.home-welcome-card{padding:23px;}
.home-welcome-head{display:flex;align-items:center;gap:14px;}
.home-welcome-avatar{position:relative;width:54px;height:54px;flex:0 0 54px;border:1px solid rgba(235,177,109,.4);border-radius:12px;background:#25262e;}
.home-welcome-avatar img{width:100%;height:100%;object-fit:cover;border-radius:11px;}
.home-guest-avatar{display:grid;place-items:center;height:100%;color:#d8bb99;font-size:27px;}
.home-level-badge{position:absolute;bottom:-6px;right:-6px;min-width:23px;min-height:23px;padding:3px;border:2px solid #1a1c23;border-radius:7px;background:#e9b477;color:#231a10;font-size:10px;font-weight:900;text-align:center;}
.home-eyebrow{font-size:10px;color:#a39d99;font-weight:800;text-transform:uppercase;letter-spacing:.1em;}
.home-player-name{margin-top:4px;font-size:20px;font-weight:800;line-height:1.2;color:#f0efec;overflow-wrap:anywhere;}
.home-welcome-copy{min-width:0;}
.home-welcome-copy p{font-size:12px;color:#aaa5aa;line-height:1.5;margin:5px 0 0;}
.home-progress-block{margin-top:21px;}
.home-progress-meta,.home-progress-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#b8b2b7;line-height:1.5;}
.home-progress-meta strong{color:#e8ba86;}
.home-progress-track{height:6px;border-radius:4px;overflow:hidden;background:#0e1016;margin:8px 0;}
.home-progress-track i{display:block;height:100%;width:0;background:linear-gradient(90deg,#a66e3b,#ecc390);border-radius:inherit;transition:width .6s;}
.home-progress-foot{font-size:10px;flex-wrap:wrap;}
.home-progress-foot .unlocked{color:#8ccaa9;}.home-progress-foot .locked{color:#dcb485;}
.home-welcome-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px;}
.home-feature-kicker{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#dcb184;}
.home-feature-kicker i{margin-right:5px;}
.home-match-card{background:radial-gradient(ellipse at 100% 100%,rgba(191,132,79,.1),transparent 65%),linear-gradient(140deg,#191c24,#15171d);}
#homeMatchContent{position:relative;height:100%;min-height:253px;}
.home-match-loading{display:flex;flex-direction:column;justify-content:center;gap:16px;padding:25px;}
.home-match-loading-line{height:16px;width:65%;border-radius:6px;background:#2b2d35;}
.home-match-loading-line.short{width:40%;height:10px;}
.hm-empty{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:253px;height:100%;padding:23px;}
.hm-empty h2{font-size:22px;line-height:1.2;margin:15px 0 8px;}
.hm-empty p{max-width:550px;font-size:12px;line-height:1.6;color:#a6a6b1;margin:0 0 16px;}
.hm-empty-next{display:flex;flex-direction:column;gap:4px;margin:0 0 15px;width:100%;padding:10px;border-left:2px solid #8a6847;background:rgba(255,255,255,.025);}
.hm-empty-next small{font-size:10px;color:#d6b38b;}.hm-empty-next b{font-size:13px;overflow-wrap:anywhere;}.hm-empty-next span{font-size:11px;color:#aaa7ae;}
.hm-broadcast{height:100%;min-height:253px;padding:21px;display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:18px;}
.hm-stage{display:flex;flex-direction:column;min-width:0;}
.hm-stage-head,.hm-broadcast-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;width:100%;}
.hm-stage-event{margin-top:10px;color:#a9a6af;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.hm-broadcast-tabs{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--home-border);border-radius:8px;background:rgba(0,0,0,.15);}
.hm-broadcast-tabs button{min-height:29px;padding:5px 9px;border:0;border-radius:5px;background:transparent;color:#aaa5ac;font-size:10px;font-weight:700;cursor:pointer;}
.hm-broadcast-tabs button.active{background:#382c24;color:#efc08a;}
.hm-broadcast-tabs button i{margin-right:4px;}
.hm-market-pill,.hm-game-pill,.hm-live-pill{display:inline-flex;padding:5px 7px;border:1px solid var(--home-border);border-radius:5px;font-size:9px;font-weight:800;color:#aba8b1;}
.hm-market-pill{color:#8bccad;}.hm-live-pill.live{color:#e7b17b;}
.hm-stage-vs{flex:1;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;padding:18px 0;}
.hm-stage-team{text-align:center;min-width:0;}
.hm-team-logo{width:46px;height:46px;margin:0 auto 7px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--home-border);border-radius:12px;background:rgba(255,255,255,.035);font-weight:800;color:#d3cec9;font-size:13px;}
.hm-team-logo img{max-width:80%;max-height:80%;object-fit:contain;}
.hm-stage-team strong{display:block;font-size:13px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}
.hm-stage-team small{font-size:11px;color:#e4ba8a;}
.hm-stage-center{text-align:center;}.hm-stage-center span,.hm-stage-center small{display:block;font-size:9px;letter-spacing:.08em;color:#9a929b;}.hm-stage-center b{display:block;font-size:19px;color:#f5ede2;margin:5px 0;white-space:nowrap;}
.hm-stage-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.hm-stage-foot .hint{color:#aaa3ad;font-size:11px;}
.hm-stage-foot a{padding:8px 10px;background:#dfaa6e;border-radius:7px;color:#261b10;font-size:11px;font-weight:800;text-decoration:none;}
.hm-next{border-left:1px solid var(--home-border);padding-left:15px;display:flex;flex-direction:column;gap:7px;min-width:0;}
.hm-next-label{font-size:10px;color:#aaa3ad;text-transform:uppercase;letter-spacing:.05em;}
.hm-next-item{padding:9px;text-align:left;border:1px solid var(--home-border);border-radius:8px;background:rgba(255,255,255,.02);cursor:pointer;color:#d6d0d8;min-width:0;}
.hm-next-item.active,.hm-next-item:hover{background:rgba(213,157,96,.07);border-color:#74573c;}
.hm-next-item b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.hm-next-item span{display:block;margin-top:4px;font-size:9px;color:#a59ca7;line-height:1.4;}
.home-utility-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px;}
.home-mini-card{display:flex;align-items:center;gap:10px;min-width:0;padding:16px 12px;border:1px solid var(--home-border);border-radius:11px;background:#171920;text-decoration:none;color:#eee9e3;transition:border-color .2s;}
.home-mini-card:hover{border-color:#735b43;}
.home-mini-icon{flex:0 0 27px;color:#d6aa79;font-size:18px;text-align:center;}.home-mini-icon.rain{color:#84b9c9;}
.home-mini-copy{display:flex;flex-direction:column;min-width:0;gap:4px;}
.home-mini-copy small{font-size:9px;color:#a59aa4;text-transform:uppercase;letter-spacing:.05em;}
.home-mini-copy b{font-size:13px;line-height:1.3;}.home-mini-copy em{font-style:normal;font-size:10px;color:#a59da8;line-height:1.4;}
.home-mini-action{margin-left:auto;border:0;background:transparent;color:#b6a89a;padding:8px;font-size:11px;cursor:pointer;}
.home-mini-card:not(.home-mini-rain) .home-mini-action{display:none;}
.home-pulse-section{margin-top:28px;}
.home-pulse-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:13px;}
.home-pulse-head h2{margin:5px 0 0;font-size:22px;line-height:1.2;}
.home-pulse-updated{font-size:10px;color:#9b939f;}
.home-pulse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.home-pulse-card{position:relative;display:flex;align-items:center;gap:12px;min-width:0;padding:16px 22px 16px 14px;border:1px solid var(--home-border);border-radius:11px;background:#16181f;color:#eae5e3;text-decoration:none;}
.home-pulse-card:hover{border-color:#735b43;}
.home-pulse-icon{color:#c7a77e;font-size:19px;}.home-pulse-icon.coinflip{color:#d1959a;}.home-pulse-icon.matches{color:#8ba8c7;}
.home-pulse-copy{display:flex;flex-direction:column;min-width:0;gap:5px;}
.home-pulse-copy small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#a69ba7;}
.home-pulse-copy b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.home-pulse-copy em{font-size:10px;font-style:normal;color:#a69ba7;line-height:1.5;}
.home-pulse-state{position:absolute;right:10px;top:12px;}.home-pulse-state i{display:block;width:5px;height:5px;border-radius:50%;background:#8b808c;}
.home-pulse-card[data-state=live] .home-pulse-state i{background:#8ec7a4;box-shadow:0 0 0 3px rgba(142,199,164,.1);}
.home-guide{display:grid;grid-template-columns:1.5fr 1fr;gap:40px;align-items:center;margin-top:30px;padding:24px 0 4px;border-top:1px solid var(--home-border);}
.home-guide h2{font-size:20px;line-height:1.3;margin:7px 0 8px;}
.home-guide p{max-width:740px;color:#a7a1ac;font-size:12px;line-height:1.8;margin:0;}
.home-guide>a{display:flex;align-items:center;gap:16px;padding:20px;border-radius:12px;background:#1b1c24;border:1px solid var(--home-border);text-decoration:none;color:#e7c59f;}
.home-guide>a>i{font-size:20px;}.home-guide>a>i:last-child{font-size:12px;margin-left:auto;}
.home-guide>a strong{display:block;color:#e7e0db;font-size:14px;line-height:1.4;}.home-guide>a small{display:block;color:#ada0b1;font-size:11px;margin-top:5px;line-height:1.5;}

/* Motion is opt-in after JS initializes the saved preference. Transform-only
   ambient movement runs on two layers; all links work without JavaScript. */
@keyframes homeCartDrift{0%,100%{transform:translate3d(0,0,0) scale(1.02)}50%{transform:translate3d(-5px,-4px,0) scale(1.045)}}
@keyframes homeGiftFloat{0%,100%{transform:translateY(0) rotate(-10deg)}50%{transform:translateY(-5px) rotate(-5deg)}}
@media(prefers-reduced-motion:no-preference){
  .home-motion-ready .home-banner-art{animation:homeCartDrift 10s ease-in-out infinite;}
  .home-motion-ready .home-bonus-gift{animation:homeGiftFloat 5s ease-in-out infinite;}
  .home-motion-paused .home-banner-art,.home-motion-paused .home-bonus-gift{animation-play-state:paused;}
}
@media(prefers-reduced-motion:reduce){
  .home-shell *,.home-shell *::before,.home-shell *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;}
  .home-game-card:hover,.home-game-card:focus-visible{transform:none;}
}
@container page-shell (max-width:1150px){
  .home-shell{width:calc(100% - 36px);}
  .home-free-bonus-banner{min-width:280px;padding:20px;gap:12px;}
  .home-bonus-gift{font-size:29px;width:35px;flex-basis:35px;}
  .home-games-grid{gap:12px;}
  .home-game-copy{left:14px;bottom:15px;right:30px;}.home-game-copy h3{font-size:21px;}.home-game-copy p{font-size:11px;}
  .home-game-tag{left:12px;top:12px;}
  .home-game-arrow{right:12px;}
  .home-utility-row{grid-template-columns:repeat(3,minmax(0,1fr));}
  .hm-broadcast{grid-template-columns:1fr;}.hm-next{display:none;}
}
@container page-shell (max-width:900px){
  .home-games-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .home-game-card{aspect-ratio:1.55;}.home-game-copy h3{font-size:25px;}.home-game-copy p{font-size:12px;}
  .home-top-grid{grid-template-columns:1fr 1.2fr;}
  .home-arrival{gap:12px;}.home-banner-copy{padding:23px;}.home-banner-copy h1{font-size:34px;}
  .home-bonus-gift{display:none;}.home-free-bonus-banner{min-width:250px;flex-basis:38%;}
  .home-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .home-banner-stamp{display:none;}
  .home-guide{grid-template-columns:1fr;gap:20px;}
}
@container page-shell (max-width:650px){
  .home-shell{width:calc(100% - 24px);padding-top:14px;}
  .home-arrival{flex-direction:column;}.home-hub-banner{min-height:184px;}.home-banner-copy{padding:21px;}.home-banner-copy h1{font-size:32px;margin:8px 0;}.home-banner-copy p{font-size:13px;}.home-banner-art{width:65%;}
  .home-free-bonus-banner{min-width:0;flex-basis:auto;padding:17px 19px;}.home-bonus-gift{display:grid;width:36px;flex-basis:36px;font-size:29px;}.home-free-bonus-copy{display:grid;grid-template-columns:1fr auto;column-gap:12px;align-items:center;width:100%;}.home-free-bonus-copy .home-section-kicker{font-size:9px;}.home-free-bonus-copy h2{grid-column:1;font-size:22px;margin:5px 0;}.home-free-bonus-copy p{grid-column:1 / -1;grid-row:3;font-size:11px;margin:5px 0 0;max-width:none;}.home-free-bonus-cta{grid-column:2;grid-row:1 / 3;font-size:11px;padding:8px 10px;min-height:38px;}
  .home-games-section{margin-top:23px;}.home-section-head h2{font-size:24px;}.home-section-kicker{font-size:10px;}.home-section-note{display:none;}.home-room-tools{gap:0;}.home-games-grid{gap:10px;}.home-game-card{aspect-ratio:.95;border-radius:12px;}.home-game-copy{left:12px;bottom:13px;right:12px;}.home-game-copy h3{font-size:21px;}.home-game-copy p{font-size:11px;line-height:1.45;max-width:180px;}.home-game-tag{font-size:8px;left:10px;top:10px;padding:5px 6px;}.home-game-arrow{display:none;}.home-game-art{object-position:50% 25%;}.home-game-card::before{background:linear-gradient(0deg,rgba(10,10,16,.99),rgba(10,10,16,.85) 22%,rgba(10,10,16,.1) 58%,transparent);}
  .home-play-note{text-align:left;}.home-top-grid{grid-template-columns:1fr;}.home-welcome-card{padding:20px;}.home-dashboard-heading{margin-top:26px;}.home-dashboard-heading h2{font-size:21px;}
  .home-utility-row{grid-template-columns:repeat(2,minmax(0,1fr));}.home-mini-rain{grid-column:1 / -1;}.home-mini-card{padding:14px 10px;gap:7px;}.home-mini-icon{font-size:16px;flex-basis:23px;}.home-mini-copy b{font-size:12px;}
  .home-pulse-head{align-items:flex-start;flex-direction:column;gap:8px;}.home-pulse-head h2{font-size:21px;}.home-pulse-card{padding:14px 20px 14px 10px;gap:8px;}.home-pulse-icon{font-size:15px;}.home-pulse-copy b{font-size:11px;}.home-pulse-copy em{font-size:10px;}
  .hm-broadcast,.hm-empty{padding:19px;}.hm-empty h2{font-size:21px;}.hm-stage-center b{font-size:18px;}.hm-stage-team strong{font-size:12px;}
}
@container page-shell (max-width:370px){
  .home-bonus-gift{display:none;}.home-game-copy h3{font-size:19px;}.home-game-copy p{font-size:10px;}.home-game-card{aspect-ratio:.85;}
  .home-free-bonus-copy h2{font-size:20px;}.home-free-bonus-cta{font-size:10px;padding:8px;}
}
/* Fallback for older browsers without container queries. */
@supports not (container-type:inline-size){
  @media(max-width:1100px){.home-games-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.home-top-grid{grid-template-columns:1fr;}.home-utility-row,.home-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.hm-broadcast{grid-template-columns:1fr;}.hm-next{display:none;}}
  @media(max-width:700px){.home-arrival{flex-direction:column;}.home-free-bonus-banner{min-width:0;}.home-shell{width:calc(100% - 24px);}.home-game-card{aspect-ratio:.95;}.home-game-copy h3{font-size:20px;}.home-guide{grid-template-columns:1fr;}.home-section-note{display:none;}}
}

/* A contained lower dashboard keeps the background atmospheric around it,
   with solid surfaces behind the account, fixtures and activity. */
.home-base{margin-top:32px;padding:24px;border:1px solid rgba(190,199,216,.13);border-radius:20px;background:linear-gradient(145deg,#1a1e27,#141922 68%);box-shadow:0 16px 48px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025);}
.home-base-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;}
.home-base-heading h2{font-size:28px;line-height:1.15;margin:7px 0;}
.home-base-heading p{font-size:13px;line-height:1.5;color:#aeb7c5;margin:0;}
.home-base-profile{display:inline-flex;gap:9px;align-items:center;padding:10px 13px;min-height:40px;border:1px solid rgba(186,197,217,.14);border-radius:9px;color:#d5dde9;font-size:12px;font-weight:750;text-decoration:none;background:#222833;white-space:nowrap;}
.home-base-profile:hover{background:#2a313d;border-color:#89745b;}
.home-base-profile i{font-size:10px;}
.home-base .home-top-grid{grid-template-columns:minmax(300px,.88fr) minmax(0,1.65fr);gap:16px;align-items:start;}
.home-account-column{display:flex;flex-direction:column;gap:12px;min-width:0;}
.home-base .home-welcome-card,.home-base .home-match-card{border:1px solid rgba(192,203,222,.14);border-radius:14px;background:linear-gradient(145deg,#232a35,#1b212c);box-shadow:0 5px 16px rgba(0,0,0,.08);}
.home-base .home-welcome-card{padding:22px;min-height:0;}
.home-base .home-welcome-head{gap:15px;}
.home-base .home-welcome-avatar{border-color:rgba(229,182,120,.45);background:#121923;}
.home-base .home-player-name{font-size:23px;color:#f4f6f9;}
.home-base .home-eyebrow{font-size:10px;color:#b9a182;}
.home-base .home-welcome-copy p{font-size:12px;color:#aeb8c7;line-height:1.6;}
.home-base .home-progress-block{margin-top:22px;padding-top:18px;border-top:1px solid rgba(192,203,222,.09);}
.home-base .home-progress-meta{font-size:12px;color:#bdc7d6;}
.home-base .home-progress-track{height:7px;background:#111722;margin:10px 0;}
.home-base .home-progress-foot{font-size:11px;color:#aeb8c7;row-gap:6px;}
.home-base .home-welcome-actions{gap:9px;margin-top:19px;}
.home-base .home-primary-btn,.home-base .home-secondary-btn{font-size:12px;min-height:40px;border-radius:8px;}
.home-base .home-secondary-btn{background:#292f3b;color:#e0e6f0;border-color:rgba(190,201,221,.15);}
.home-base .home-mini-rain{padding:17px 18px;border:1px solid rgba(111,170,188,.22);border-radius:13px;background:linear-gradient(120deg,#20303a,#1a2531);gap:14px;}
.home-base .home-mini-rain .home-mini-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:rgba(123,191,207,.09);font-size:23px;color:#91c8d7;}
.home-base .home-mini-rain .home-mini-copy small{font-size:10px;color:#add3de;}
.home-base .home-mini-rain .home-mini-copy b{font-size:23px;line-height:1.2;font-variant-numeric:tabular-nums;}
.home-base .home-mini-rain .home-mini-copy em{font-size:11px;color:#afc1d0;}
.home-base .home-mini-rain .home-mini-action{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border:1px solid rgba(129,187,202,.23);border-radius:10px;background:#2a3d4a;color:#cae6ee;font-size:13px;}
.home-base .home-mini-rain .home-mini-action:hover{background:#34505f;}
.home-base #homeMatchContent{height:auto;min-height:0;}
.home-base .home-match-loading{min-height:260px;}
.home-base .hm-broadcast{display:grid;grid-template-columns:minmax(0,1fr);gap:0;min-height:0;height:auto;padding:18px;}
.home-base .hm-stage-head{gap:12px;}
.home-base .home-feature-kicker{font-size:11px;color:#e4b77f;}
.home-base .hm-broadcast-tabs{border-color:rgba(189,202,223,.13);background:#171d28;}
.home-base .hm-broadcast-tabs button{min-height:31px;font-size:11px;padding:6px 11px;color:#aeb9cb;}
.home-base .hm-broadcast-tabs button.active{color:#f0c898;background:#3b322a;}
.home-base .hm-stage-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;}
.home-base .hm-market-pill,.home-base .hm-game-pill,.home-base .hm-live-pill{font-size:10px;line-height:1.3;padding:4px 7px;background:#171e2a;border-color:rgba(189,202,223,.1);}
.home-base .hm-live-pill.live{color:#9ed1b1;background:rgba(104,168,128,.1);}
.home-base .hm-stage-event{font-size:12px;line-height:1.5;color:#aeb8c8;margin-top:6px;white-space:normal;overflow-wrap:anywhere;}
.home-base .hm-stage-vs{padding:12px 0;grid-template-columns:minmax(0,1fr) minmax(90px,auto) minmax(0,1fr);gap:16px;}
.home-base .hm-team-logo{width:46px;height:46px;border-radius:12px;margin-bottom:5px;background:#161e2a;border-color:rgba(188,205,230,.13);}
.home-base .hm-stage-team strong{font-size:15px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;overflow:visible;}
.home-base .hm-stage-team small{display:inline-block;font-size:12px;margin-top:4px;padding:2px 8px;border-radius:5px;background:rgba(228,183,127,.07);color:#e6be8e;}
.home-base .hm-stage-center span{font-size:10px;color:#a6b2c5;}
.home-base .hm-stage-center b{font-size:26px;font-variant-numeric:tabular-nums;color:#f2f4f7;margin-top:7px;}
.home-base .hm-stage-foot{gap:12px;}
.home-base .hm-stage-foot .hint{font-size:12px;color:#b5c0d0;}
.home-base .hm-stage-foot a{padding:10px 13px;min-height:38px;font-size:12px;border-radius:8px;}
.home-base .hm-next{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 0 0;border-left:0;border-top:1px solid rgba(190,205,226,.11);margin-top:12px;}
.home-base .hm-next-label{grid-column:1 / -1;font-size:10px;letter-spacing:.08em;color:#aab5c6;margin-bottom:2px;}
.home-base .hm-next-item{padding:9px;min-height:62px;border-radius:8px;background:#1a212d;border-color:rgba(190,205,226,.1);color:#d6deea;}
.home-base .hm-next-item.active,.home-base .hm-next-item:hover{border-color:rgba(218,174,115,.48);background:#303039;}
.home-base .hm-next-item b{font-size:11px;line-height:1.4;white-space:normal;overflow:visible;overflow-wrap:anywhere;}
.home-base .hm-next-item span{font-size:10px;line-height:1.5;color:#a8b3c5;margin-top:6px;}
.home-base .hm-empty{min-height:260px;padding:23px;}
.home-base .hm-empty h2{font-size:24px;line-height:1.2;margin-top:24px;}
.home-base .hm-empty p{font-size:13px;color:#afbacb;}
.home-base .hm-empty-next{background:#1a222e;border-left-color:#b28d5e;}
.home-base .home-utility-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px;}
.home-base .home-utility-row .home-mini-card{border:1px solid rgba(190,205,226,.1);padding:17px 18px;gap:14px;background:#1d2430;border-radius:11px;}
.home-base .home-utility-row .home-mini-card:hover{background:#252d3a;border-color:rgba(218,174,115,.4);}
.home-base .home-utility-row .home-mini-icon{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;border-radius:10px;background:#30303a;font-size:18px;color:#dfb781;}
.home-base .home-utility-row .home-mini-copy small{font-size:10px;color:#a4b0c2;}
.home-base .home-utility-row .home-mini-copy b{font-size:15px;}
.home-base .home-utility-row .home-mini-copy em{font-size:11px;color:#aeb8c8;line-height:1.5;}
.home-base .home-utility-row .home-mini-action{display:grid;width:28px;height:28px;place-items:center;color:#b3bfd1;font-size:11px;}
.home-base .home-pulse-section{margin-top:24px;padding-top:22px;border-top:1px solid rgba(190,205,226,.1);}
.home-base .home-pulse-head{margin-bottom:15px;}
.home-base .home-pulse-head h2{font-size:22px;margin-top:6px;}
.home-base .home-pulse-updated{font-size:11px;color:#9faec2;}
.home-base .home-pulse-grid{gap:12px;}
.home-base .home-pulse-card{align-items:flex-start;border-radius:10px;padding:17px 20px 17px 14px;background:#19212c;border-color:rgba(190,205,226,.1);gap:11px;}
.home-base .home-pulse-icon{display:grid;place-items:center;flex:0 0 31px;width:31px;height:34px;font-size:19px;}
.home-base .home-pulse-copy{gap:7px;}
.home-base .home-pulse-copy small{font-size:10px;color:#a4b2c5;}
.home-base .home-pulse-copy b{font-size:13px;line-height:1.4;white-space:normal;overflow:visible;overflow-wrap:anywhere;}
.home-base .home-pulse-copy em{font-size:11px;line-height:1.5;color:#aebacd;overflow-wrap:anywhere;}
.home-base .home-pulse-state{right:10px;top:14px;}
.home-guide{margin-top:20px;padding:22px 24px;border:1px solid rgba(190,205,226,.09);border-radius:15px;background:#151b24;gap:30px;}
.home-guide p{font-size:12px;line-height:1.8;color:#abb7c9;}
.home-guide>a{background:#202835;border-color:rgba(190,205,226,.12);}
body.home-page>.site-footer{margin-top:0;border-top-color:rgba(190,205,226,.12);background:linear-gradient(180deg,#141a23,#0e131b);}
body.home-page .site-footer-col a{font-size:12px;line-height:1.6;padding:4px 0;color:#aeb9ca;}
body.home-page .site-footer-heading{font-size:11px;color:#d9e1ed;}
@container page-shell (max-width:1100px){
  .home-base{padding:20px;}
  .home-base .home-top-grid{grid-template-columns:minmax(0,1fr);}
  .home-account-column{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,1fr);align-items:stretch;}
  .home-base .hm-next{grid-template-columns:repeat(4,minmax(0,1fr));}
  .home-base .hm-stage-center b{font-size:23px;}
  .home-base .home-utility-row .home-mini-card{padding:15px 12px;gap:10px;}
  .home-base .home-utility-row .home-mini-action{display:none;}
}
@container page-shell (max-width:940px){
  .home-base .home-top-grid{grid-template-columns:minmax(0,1fr);}
  .home-account-column{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,1fr);align-items:stretch;}
  .home-base .home-mini-rain{flex-wrap:wrap;align-content:center;}
  .home-base .home-mini-rain .home-mini-copy{flex:1;}
  .home-base .hm-next{grid-template-columns:repeat(4,minmax(0,1fr));}
  .home-base .home-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@container page-shell (max-width:650px){
  .home-base{margin-top:25px;padding:16px;border-radius:15px;}
  .home-base-heading{align-items:flex-start;margin-bottom:17px;gap:12px;}
  .home-base-heading h2{font-size:24px;}
  .home-base-heading p{font-size:12px;}
  .home-base-profile{font-size:0;padding:9px;min-width:36px;min-height:36px;}
  .home-base-profile i{font-size:13px;}
  .home-account-column{display:flex;flex-direction:column;}
  .home-base .home-welcome-card{padding:18px;}
  .home-base .home-mini-rain{padding:15px;flex-wrap:nowrap;}
  .home-base .hm-broadcast,.home-base .hm-empty{padding:17px;}
  .home-base .hm-stage-vs{gap:10px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);}
  .home-base .hm-team-logo{width:48px;height:48px;border-radius:12px;}
  .home-base .hm-stage-team strong{font-size:13px;}
  .home-base .hm-stage-center b{font-size:21px;}
  .home-base .hm-next{grid-template-columns:repeat(2,minmax(0,1fr));}
  .home-base .home-utility-row{grid-template-columns:minmax(0,1fr);gap:9px;}
  .home-base .home-utility-row .home-mini-card{padding:14px;gap:13px;}
  .home-base .home-utility-row .home-mini-action{display:grid;}
  .home-base .home-pulse-head{align-items:flex-start;}
  .home-base .home-pulse-card{padding:14px 18px 14px 11px;gap:7px;}
  .home-base .home-pulse-icon{width:24px;flex-basis:24px;font-size:16px;}
  .home-base .home-pulse-copy b{font-size:12px;}
  .home-base .home-pulse-copy em{font-size:10px;}
  .home-guide{padding:20px;gap:17px;}
}
@container page-shell (max-width:370px){.home-base .home-pulse-grid{grid-template-columns:1fr;}.home-base .hm-stage-center b{font-size:18px;}.home-base .hm-stage-team strong{font-size:12px;}.home-base .home-welcome-actions{flex-direction:column;}}
@supports not (container-type:inline-size){
  @media(max-width:1100px){.home-base .home-top-grid{grid-template-columns:1fr;}.home-base .hm-next{grid-template-columns:repeat(2,minmax(0,1fr));}.home-base .home-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
  @media(max-width:700px){.home-base{padding:16px;}.home-base .home-utility-row{grid-template-columns:1fr;}.home-account-column{display:flex;}.home-base .hm-stage-center b{font-size:20px;}}
}
