
.app-top{align-items:center;flex-wrap:wrap;position:sticky;top:0;z-index:12}.hub-balance{display:flex;align-items:center;gap:7px;padding:7px 11px;color:#ffe7a0;border-color:#8e702e;background:#292211}.hub-balance img,.hub-overlay-balance img{width:29px;height:29px;object-fit:contain}.hub-balance span{font-size:11px}.hub-balance strong{font-size:16px}.hub-corners{display:flex;justify-content:space-between;gap:14px;text-align:left}.hub-upper{margin:0 0 12px}.hub-lower{margin-top:12px}.hub-card{display:flex;flex-direction:column;gap:6px;padding:12px 16px;background:#0c1824d9;border:1px solid #405267;border-radius:12px;text-align:left;max-width:285px;min-width:210px}.hub-card strong{font-size:14px}.hub-card small{font-size:11px;color:#a4b9cc}.hub-wallet{border-color:#79622f}.hub-wallet .eyebrow{color:#f4cd69}.hub-wallet div{display:flex;gap:8px}.hub-wallet button{padding:6px 12px;font-size:12px}.app-stage{padding:18px 24px 16px;min-height:0}.app-stage .app-logo{margin-top:-65px;max-height:78px;width:245px;max-width:30%}.app-stage h1{font-size:clamp(25px,3vw,38px);margin:12px 0}.app-stage .intro{margin:8px 0}.lobby-slots{margin:18px auto 12px}.lobby-slot{padding:12px 5px;gap:7px}.app-actions{margin-top:14px}.app-actions button{padding:12px 14px;font-size:13px}.launch-note{margin:12px 0 4px}#notice:empty{min-height:0}.about-app{margin-top:12px!important}.hub-overlay-balance{display:flex;align-items:center;gap:7px;font-size:13px;color:#f4cd69}#hub-overlay{width:min(1040px,calc(100% - 32px));height:min(760px,90dvh);max-height:90dvh;padding:0}#hub-overlay>header{position:sticky;top:0;z-index:2;padding:18px 22px;background:#101d2c;border-bottom:1px solid #35485a;gap:12px}#hub-content{padding:22px}#hub-content h3{margin-top:0}.hub-empty{padding:30px;text-align:center;border:1px dashed #465668;border-radius:12px}.hub-empty strong{display:block;font-size:24px;color:#f6ce73;margin-bottom:12px}.hub-ledger{display:grid;gap:8px}.hub-ledger>div{padding:12px;border-bottom:1px solid #304455;display:flex;gap:12px;justify-content:space-between}.hub-ledger small{display:block;color:#9cb0c3}.hub-positive{color:#b4ee82}.hub-match-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.hub-match{background:#162536;padding:16px;border:1px solid #395064;border-radius:12px}.hub-match h3{font-size:17px}.hub-match button{margin-top:12px;padding:8px 12px}.hub-teams{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hub-teams p{margin:8px 0}.hub-frame{width:100%;height:62dvh;border:0;background:#080b13}.hub-note{color:#a4b9cc;font-size:13px}.hub-card:hover{border-color:#b0dce7}@media(max-width:1050px){.app-stage .app-logo{margin-top:8px;max-width:65%;max-height:70px}.hub-card{min-width:0;max-width:48%}.hub-upper .hub-card{flex:1}.app-top{gap:10px}.hub-balance{margin-left:auto}}@media(max-width:600px){.hub-corners{gap:8px}.hub-card{padding:10px;flex:1}.hub-card strong{font-size:12px}.hub-card .eyebrow{font-size:8px;letter-spacing:1px}.hub-balance{padding:6px}.hub-balance span{display:none}.hub-overlay-balance{font-size:10px}#hub-overlay>header{padding:12px}#hub-title{font-size:18px}.hub-teams{grid-template-columns:1fr}#hub-content{padding:14px}}

.store-sections{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.store-sections button{padding:9px 15px}.store-sections button.active{border-color:#f1c654;color:#f1c654}.character-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}.character-card{padding:16px;border:1px solid #655029;border-radius:12px;background:#17192b;text-align:center}.character-card>img{width:100%;height:175px;object-fit:contain}.character-card h4{font-size:18px;margin:10px 0}.character-card p{font-size:13px;color:#f7d273}.character-card button{padding:10px;margin:3px;font-size:13px}.character-card button:disabled{opacity:.5}.character-card a{color:#9ddfee}.store-message{color:#e2cf84}.hub-overlay-balance{white-space:nowrap}#hub-content .portrait-current{display:flex;align-items:center;gap:20px}#hub-content .portrait-current .player-portrait{width:130px;height:130px}#hub-content .angle-options .player-portrait{width:55px;height:55px}#logo-character{display:block;max-width:100%;margin:10px 0;padding:10px}
.game-rewards{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 20px;padding:9px 18px;color:#d7e3ef;font-size:12px;border-bottom:1px solid #35485a}.game-rewards strong{font-size:10px;color:#f4cd69}.game-rewards b{color:#f4cd69}.game-rewards small{color:#a4b9cc}.hub-wallet div{flex-wrap:wrap}.hub-wallet button{padding:5px 8px}.hub-wallet{max-width:300px}.bounty-card{padding:18px;border:1px solid #655029;border-radius:12px;margin-bottom:14px}.bounty-card progress{width:100%;accent-color:#b5ee24}.bounty-card button{padding:10px}.bounty-admin{display:grid;gap:10px;max-width:600px}.bounty-admin label{display:flex;justify-content:space-between;gap:10px}.bounty-admin input{max-width:140px}

.app-top .game-rewards{flex:1 1 330px;display:grid;gap:3px;padding:0 8px;border:0;font-size:11px}.app-top .game-rewards small{font-size:10px}.app-top .game-rewards strong{display:none}@media(max-width:700px){.app-top .game-rewards{order:4;flex-basis:100%;text-align:center}}
.bounty-card details{margin-top:12px;overflow-wrap:anywhere}.bounty-card details small{color:#9db3c7}.bounty-units{display:flex;align-items:center;gap:10px;margin-top:12px}.bounty-units input,.bounty-admin input{padding:8px;color:#fff;background:#0d1927;border:1px solid #526578;border-radius:6px;box-sizing:border-box;width:100px}.bounty-admin input[type=checkbox]{width:auto}.bounty-admin button{margin-top:3px}.bounty-card h3{margin-top:0}

.hub-team{max-width:300px}.hub-team-identity,.hub-team-division{display:flex;align-items:center;gap:8px}.hub-team-logo,.hub-team-mark{width:32px;height:32px;object-fit:contain;flex-shrink:0}.hub-team-division img{width:24px;height:24px;object-fit:contain}.hub-team-summary{display:grid;gap:10px}.hub-team-summary .hub-team-logo{width:60px;height:60px}.hub-team-summary strong{font-size:22px}.hub-team-summary .hub-team-division img{width:40px;height:40px}

/* The middle standings strip stays in the existing bottom corner row. */
.hub-lower{align-items:end}.hub-lower>.hub-card{flex:0 1 240px;min-width:180px}#hub-standings{flex:1;min-width:0;max-width:680px;text-align:center}.hub-standings-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}.hub-standings-head label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700}.hub-standings-head select,.hub-standings-head button{padding:4px 8px;font-size:12px;min-height:28px}#hub-top-six{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.hub-seed{display:flex;align-items:center;flex-direction:column;gap:3px;background:#0d1c2be8;border:1px solid #40556c;border-radius:7px;padding:5px 2px;min-width:0}.hub-seed>b{font-size:11px;color:#9ce7fa}.hub-seed img,.hub-seed .hub-team-mark{height:26px;width:26px;object-fit:contain}.hub-seed strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.hub-seed small,#hub-standing-note{font-size:10px;color:#b5c8d8}.hub-bye{border-color:#e3b64f;background:#302810db;box-shadow:inset 0 0 12px #e3b64f15}.hub-bye>b{color:#ffe18c}.hub-division-table{margin-bottom:24px}.hub-table-scroll{overflow-x:auto}.hub-division-table table{width:100%;border-collapse:collapse;text-align:left}.hub-division-table th,.hub-division-table td{padding:10px;border-bottom:1px solid #35485a}.hub-ineligible{color:#8793a2;background:#19212b}.hub-ineligible a{color:inherit!important}.hub-ineligible td{opacity:.65}
@media(max-width:1100px){.hub-lower{flex-wrap:wrap}#hub-standings{order:3;flex-basis:100%;max-width:none}.hub-lower>.hub-card{flex:1}.hub-seed strong{font-size:12px}}
@media(max-width:460px){#hub-top-six{gap:3px}.hub-standings-head{flex-wrap:wrap}.hub-seed strong{font-size:10px}.hub-seed>b{font-size:10px}.hub-seed small{font-size:9px}}

.app-stage{isolation:isolate;background-image:linear-gradient(#07101b77,#080e19ee 75%),url('/assets/lunar-arena.webp');background-position:center 40%}
.app-stage>.premier-atmosphere{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%;z-index:-2;pointer-events:none}
.app-stage>.atmosphere-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#06101b55 0%,#06101b88 40%,#060e18bd 100%)}
.app-stage.team-stadium>.premier-atmosphere,.app-stage.team-stadium>.atmosphere-shade{display:none}
#atmosphere-toggle{font-size:11px;padding:5px 9px;display:block;margin:9px auto 0;background:#101d2bc9;color:#b9cedf}

/* Quartermaster overlay: scoped to GL Coins sections. */
#hub-overlay{width:min(1150px,calc(100% - 24px));height:min(900px,94dvh);max-height:94dvh;background:#10221e;border:2px solid #6f7b6b;border-radius:8px;color:#e2e8d5;box-shadow:0 24px 90px #000c,inset 0 0 0 7px #293931}
#hub-overlay>header{background:#111d1b;border-color:#637360;padding:16px 24px}#hub-overlay #hub-title{font:700 clamp(18px,2vw,25px) ui-monospace,monospace;letter-spacing:.04em}#hub-overlay .hub-overlay-balance{padding:8px 12px;background:#23271b;border:1px solid #8d8250;border-radius:3px;font-size:14px}
#hub-overlay #hub-tabs{display:flex;gap:6px;padding:14px 24px 0;flex-wrap:wrap}#hub-overlay #hub-tabs button,#hub-overlay .store-sections button{border-radius:3px;background:#172a23;border:1px solid #5d6f59;font:600 14px ui-monospace,monospace;padding:10px 16px;color:#ced7c0}#hub-overlay #hub-tabs [aria-pressed=true],#hub-overlay .store-sections .active{background:#a7c94a;color:#14200d;border-color:#d0e486;box-shadow:inset 0 -3px #647d29}
#hub-overlay #hub-content{padding:24px;background-image:linear-gradient(#a3bc9210 1px,transparent 1px),linear-gradient(90deg,#a3bc9210 1px,transparent 1px);background-size:32px 32px;font-size:16px;line-height:1.5}#hub-overlay button:focus-visible,#hub-overlay input:focus-visible{outline:3px solid #c5ed5b;outline-offset:3px}#hub-overlay button:disabled{opacity:.5;cursor:not-allowed}#hub-overlay .hub-note{color:#bdcab9;font-size:14px}
.supply-heading{margin-bottom:22px}.supply-heading>span{color:#a7c786;font:700 12px ui-monospace,monospace;letter-spacing:.16em}.supply-heading h3{font:700 clamp(22px,3vw,30px) ui-monospace,monospace;margin:8px 0!important;color:#edf0d1}.supply-heading p{margin:6px 0;color:#bcc9b4}.wallet-reserve{display:grid;grid-template-columns:120px 1fr 1.3fr;gap:22px;align-items:center;padding:22px;background:#15251ecc;border:1px solid #79805a;border-top:3px solid #baa85d}.wallet-reserve>img{width:120px;height:120px;object-fit:contain}.wallet-reserve>div>small{font:11px ui-monospace,monospace;color:#a9bd9b}.wallet-reserve>div>strong{display:block;font:700 40px ui-monospace,monospace;color:#f3cd73}.wallet-reserve>div>span{font:700 14px ui-monospace,monospace;color:#e5d18f}.wallet-rewards>strong,.wallet-rewards>span,.wallet-rewards>small{display:block;font-size:14px;line-height:1.8}.wallet-rewards>strong{font-size:12px;color:#c5d4ac}.wallet-rewards b{color:#f0cf86}.supply-destinations{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0 28px}.supply-destinations button{display:grid;text-align:left;gap:8px;padding:18px;background:#1d2b22;border:1px solid #667859;border-radius:3px;color:#e0e5ca}.supply-destinations button:hover{border-color:#b6d66c;background:#2a3828}.supply-destinations span{font:11px ui-monospace,monospace;color:#adbc90}.supply-destinations strong{font-size:18px}.supply-destinations small{font-size:13px;color:#bac6b0}.supply-ledger-title{font:700 18px ui-monospace,monospace}.contract-selection{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.contract-choice{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:16px 12px!important;background:linear-gradient(140deg,#293026,#131f18)!important;border:1px solid #70745b!important;border-radius:3px!important;color:#e1e5d1!important;min-width:0}.contract-choice:hover,.contract-choice.selected{border-color:#c3e56a!important;box-shadow:inset 0 0 0 1px #b4db56}.contract-choice img{width:100px;height:100px;object-fit:contain}.contract-choice strong{font-size:18px}.contract-choice span{font:14px/1.5 system-ui;flex:1}.contract-choice b{color:#e5c777;font:700 14px ui-monospace,monospace}.contract-choice small{font:11px ui-monospace,monospace;color:#b7c99b}.contract-placeholder{font-size:56px!important;min-height:100px;display:grid;place-items:center}.contract-dossier{display:grid;grid-template-columns:1fr 1.35fr;gap:26px;padding:24px;background:#111e18ed;border:1px solid #7a8263;border-top:3px solid #b7c98e;margin-bottom:20px}.contract-identity>img{width:110px;height:110px;object-fit:contain;display:block;margin-bottom:12px}.contract-identity>span{font:11px ui-monospace,monospace;color:#a6bb8c;letter-spacing:.16em}.contract-identity h3{margin:8px 0!important;font:700 26px ui-monospace,monospace}.contract-order>small{display:block;color:#b9c9ac;font-size:13px}.contract-order>button,.contract-activate{display:block;width:100%;margin:14px 0 6px;padding:12px;border-radius:3px;border:1px solid #8aa164;background:#293c25;color:#e6efcc}.contract-activate{background:#b5d157!important;color:#16240e!important;font-weight:800}.bounty-stepper{display:inline-flex;margin:8px 0 12px;border:1px solid #768765;border-radius:4px;overflow:hidden}.bounty-stepper button{width:48px;height:46px;padding:0!important;font-size:24px;background:#293c25;color:#edffd4;border:0;border-radius:0}.bounty-stepper input{width:76px;text-align:center;background:#101b16;color:#fff;border:0;border-left:1px solid #768765;border-right:1px solid #768765;font:700 20px ui-monospace,monospace;appearance:textfield;-moz-appearance:textfield}.bounty-stepper input::-webkit-inner-spin-button,.bounty-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.contract-totals{display:flex;gap:24px;margin:4px 0 14px}.contract-totals span{font-size:13px;color:#bdcaa9}.contract-totals strong{display:block;font:700 18px ui-monospace,monospace;color:#efd28b}.contract-order details{margin-top:16px;font-size:14px;color:#b8c7af}
#hub-overlay .bounty-card,#hub-overlay .character-card,#hub-overlay .hub-match{background:linear-gradient(140deg,#263127,#121e18);border:1px solid #687557;border-radius:3px;color:#dbe3cf}#hub-overlay .character-card{border-bottom:3px solid #a7bd64;padding:18px}#hub-overlay .character-card>img{height:190px;background:radial-gradient(ellipse,#78955738,transparent 70%)}#hub-overlay .character-card h4{font:700 20px ui-monospace,monospace}#hub-overlay .character-card button{background:#30442b;border-color:#8b9e6e;color:#eff5de;border-radius:3px}#hub-overlay .character-card [data-buy]{background:#b3cd62;color:#182311}#hub-overlay .hub-ledger>div{border-color:#4a6147;background:#14241bd9}#hub-overlay .hub-ledger small{color:#a5bb9b}#hub-overlay .hub-empty{border-color:#657955;border-radius:3px;background:#14251cd4}#hub-overlay .hub-empty strong{color:#c7d796}
@media(max-width:800px){.contract-selection{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-reserve{grid-template-columns:90px 1fr}.wallet-reserve>img{width:90px;height:90px}.wallet-rewards{grid-column:1/-1}.supply-destinations{grid-template-columns:1fr}.contract-dossier{grid-template-columns:1fr;gap:16px}.contract-identity>img{float:right;margin:0 0 10px 12px}.contract-identity::after{content:'';display:table;clear:both}}
@media(max-width:480px){#hub-overlay>header{padding:12px;flex-wrap:wrap}#hub-overlay #hub-content{padding:14px}#hub-overlay #hub-tabs{padding:10px 14px 0}#hub-overlay #hub-tabs button{padding:9px 10px;font-size:13px}.contract-choice{padding:12px 8px!important}.contract-choice img{height:80px;width:80px}.contract-choice strong{font-size:16px}.contract-dossier{padding:16px}.contract-totals{flex-wrap:wrap;gap:12px}.wallet-reserve{padding:16px;gap:12px}.wallet-reserve>div>strong{font-size:30px}}

/* Secondary app menus share the quartermaster board; lobby styling stays scoped outside. */
#hub-overlay p{color:#bdcab9}#hub-overlay a{color:#d2e69b}#hub-overlay button:not(.contract-choice){border-radius:3px}#hub-overlay button:not([aria-pressed=true]):not([data-buy]):not(.primary):not(.contract-choice){background-color:#263b2d;border-color:#6c805b;color:#e2e8d5}#hub-overlay button:hover:not(:disabled){filter:brightness(1.12)}
#hub-overlay :is(h3,h4){font-family:ui-monospace,monospace}#hub-overlay :is(input,select){background:#101f19;border-color:#6c805b;color:#e2e8d5;border-radius:3px}#hub-overlay :is(a,select):focus-visible{outline:3px solid #c5ed5b;outline-offset:3px}
#hub-overlay .hub-team-summary,#hub-overlay .hub-teams>section,#hub-overlay .hub-division-table{padding:20px;background:linear-gradient(140deg,#263127,#121e18);border:1px solid #687557;border-radius:3px;margin-bottom:18px}#hub-overlay .hub-team-summary{border-left:4px solid #b3cd62}#hub-overlay .hub-team-summary small{color:#bdcab9}#hub-overlay .hub-division-table th{background:#243729;color:#d2e69b}#hub-overlay .hub-division-table :is(td,th){border-color:#526348}#hub-overlay .hub-table-scroll{max-width:100%;overflow-x:auto}#hub-overlay .hub-ineligible{opacity:.45}

#rank-result{width:min(760px,94vw);background:#10221e;color:#e2e8d5;border:2px solid #78856a;border-radius:8px;padding:26px;text-align:center}#rank-result header h2{font:700 23px ui-monospace,monospace}#rank-result .rank-outcome{color:#d7df9c;letter-spacing:.15em}.rank-emblems{display:flex;justify-content:center;align-items:center;gap:30px;margin:22px 0}.rank-emblems figure{margin:0;min-width:100px}.rank-emblems img{width:90px;height:90px;object-fit:contain}.rank-emblems figcaption{margin-top:8px;font-weight:bold}.rank-scale{margin:30px 0}.rank-scale[hidden]{display:none}.rank-track{position:relative;height:18px;background:repeating-linear-gradient(90deg,#26392b 0%,#26392b 12.3%,#899b70 12.3%,#899b70 12.5%);border:1px solid #899b70;border-radius:3px}.rank-track i{position:absolute;left:0;top:0;height:100%;background:linear-gradient(90deg,#647840,#c1e766);opacity:.8}.rank-track b{position:absolute;top:-6px;height:28px;width:5px;background:#fff2b8;transform:translateX(-50%);box-shadow:0 0 12px #d1fa70}.rank-labels{display:grid;grid-template-columns:repeat(8,1fr);margin-top:12px;font-size:10px;gap:2px}.rank-result-note{min-height:2em}#rank-replay{font-size:11px;padding:6px 9px;background:transparent}@media(max-width:500px){#rank-result{padding:16px}.rank-labels{font-size:8px}.rank-emblems{gap:16px}.rank-emblems img{width:70px;height:70px}}

#rank-result .rank-delta{font-size:28px;font-weight:800;margin:10px 0;color:#cbd5e1}#rank-result .rank-delta[data-direction="up"]{color:#76ed8b}#rank-result .rank-delta[data-direction="down"]{color:#ff7777}

#rank-result{max-height:90vh;overflow-y:auto}.rank-coach{display:grid;grid-template-columns:100px 1fr;align-items:center;gap:14px;margin:8px auto 20px;max-width:580px;text-align:left}.rank-coach-portrait{height:100px;width:100px;background:url('/assets/astro-coach-poses-v3849.webp') left center/300% 100% no-repeat}.rank-coach-portrait[data-pose=stern]{background-position:50% center}.rank-coach-portrait[data-pose=funny]{background-position:100% center}.rank-coach-bubble{background:#152b26;border:1px solid #819461;border-radius:5px;padding:12px 14px}.rank-coach-bubble strong{font:700 12px ui-monospace,monospace;letter-spacing:.1em;color:#c4ee64}.rank-coach-bubble p{font:14px/1.5 ui-monospace,monospace;color:#eeeeda;margin:6px 0 0}@media(max-width:500px){.rank-coach{grid-template-columns:72px 1fr;gap:8px}.rank-coach-portrait{width:72px;height:72px}.rank-coach-bubble{padding:9px}.rank-coach-bubble p{font-size:12px}#rank-result .rank-result-note{margin-bottom:6px;min-height:0}}

/* Major-rank ceremonies: transform/opacity only, no additional image assets. */
.rank-milestone{font:800 21px ui-monospace,monospace;letter-spacing:.12em;margin:16px 0;color:#d9f593}
.rank-milestone[hidden]{display:none}
#rank-result[data-milestone=promotion]{border-color:#c7ed69}
#rank-result[data-milestone=demotion]{border-color:#ce8a84}
#rank-result[data-milestone=placement]{border-color:#7cd9ef}
#rank-result[data-milestone=demotion] .rank-milestone{color:#ffc0b5}
#rank-result[data-milestone=placement] .rank-milestone{color:#a2ebff}
#rank-result[data-milestone] .rank-emblems figure:last-of-type{position:relative}
#rank-result[data-milestone] .rank-emblems figure:last-of-type::before{content:'';position:absolute;inset:-10px 0 20px;border:2px solid currentColor;border-radius:50%;opacity:0;pointer-events:none}
#rank-result[data-milestone=promotion] .rank-emblems figure:last-of-type{animation:rank-promote 1.6s ease-out both}
#rank-result[data-milestone=promotion] .rank-emblems figure:last-of-type::before{color:#d5f76c;animation:rank-ring 1.5s ease-out both}
#rank-result[data-milestone=demotion] .rank-emblems figure:first-of-type{animation:rank-retire 1.4s ease-out both}
#rank-result[data-milestone=demotion] .rank-emblems figure:last-of-type{animation:rank-demote 1.6s ease-out both}
#rank-result[data-milestone=placement] .rank-emblems figure:last-of-type{animation:rank-reveal 2s ease-out both}
#rank-result[data-milestone=placement] .rank-emblems figure:last-of-type::before{color:#91e6ff;animation:rank-ring 2s ease-out both}
#rank-result[data-milestone] .rank-milestone{animation:rank-title 1s ease-out both}
@keyframes rank-promote{0%{opacity:.15;transform:translateY(24px) scale(.7)}65%{opacity:1;transform:translateY(-4px) scale(1.12)}100%{opacity:1;transform:none}}
@keyframes rank-demote{0%{opacity:0;transform:translateY(-22px)}70%{opacity:1;transform:translateY(5px)}100%{opacity:1;transform:none}}
@keyframes rank-retire{from{opacity:1;transform:none}to{opacity:.45;transform:scale(.9)}}
@keyframes rank-reveal{0%,25%{opacity:0;transform:scale(.5) rotate(-12deg)}75%{opacity:1;transform:scale(1.15) rotate(2deg)}100%{opacity:1;transform:none}}
@keyframes rank-ring{0%{opacity:0;transform:scale(.5)}35%{opacity:.7}100%{opacity:0;transform:scale(1.5)}}
@keyframes rank-title{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#rank-result[data-milestone] .rank-emblems figure,#rank-result[data-milestone] .rank-emblems figure::before,#rank-result[data-milestone] .rank-milestone{animation:none!important}#rank-result[data-milestone] .rank-emblems figure::before{display:none}}

.ladder-datebar{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:16px 0}.ladder-datebar label{display:grid;gap:6px;font-size:13px}.ladder-datebar input,.ladder-datebar select{padding:9px}.ladder-published-match{border:1px solid #687557;background:#14241b;padding:18px;margin:20px 0;border-radius:4px}.ladder-published-match>header{display:flex;justify-content:space-between;gap:14px;align-items:start}.ladder-published-match>header small{color:#c4ee64}.ladder-published-match>header h3{margin:8px 0!important}.ladder-published-match>header>strong{font-size:11px;color:#a9dbeb}.ladder-preview-grid{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:12px;align-items:stretch}.ladder-preview{min-width:0;padding:16px;border:1px solid #526348;background:#10201a;border-radius:4px}.ladder-preview header{display:flex;align-items:center;gap:12px}.ladder-preview header p{margin:5px 0;font-size:12px}.ladder-initials{display:grid;place-items:center;width:45px;height:45px;flex-shrink:0;border:1px solid #b5d157;border-radius:7px;color:#c4ee64;font-weight:800}.ladder-form{display:flex;align-items:center;gap:6px;margin:20px 0 10px}.ladder-form small{margin-right:5px}.ladder-form>span{border-radius:50%;padding:5px 8px;background:#25342c}.ladder-form .win{color:#76f48c}.ladder-form .loss{color:#ff788a}.ladder-graph .elo-trend-chart{width:100%;display:block}.ladder-graph .elo-trend-summary{display:flex;justify-content:space-between;font-size:12px;gap:8px}.ladder-graph .up{color:#76f48c}.ladder-graph .down{color:#ff788a}.ladder-graph .elo-trend-legend{display:flex;gap:14px;font-size:11px}.ladder-graph .elo-trend-legend i{display:inline-block;width:8px;height:8px;background:currentColor;margin-right:4px}.ladder-averages{display:flex;gap:16px;margin-top:16px}.ladder-averages span{flex:1;padding:10px;background:#203128;font-size:11px}.ladder-averages strong{display:block;font-size:22px;margin-top:4px}.ladder-versus{align-self:center;text-align:center;font-weight:800;color:#c4ee64}.ladder-personal{margin:20px 0;padding:16px;border:1px solid #526348}.ladder-personal summary{cursor:pointer;font-weight:bold}@media(max-width:800px){.ladder-preview-grid{grid-template-columns:1fr}.ladder-published-match{padding:12px}.ladder-versus{padding:4px}}

.match-prediction{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;padding:12px 16px;background:#253525;border:1px solid #7d8e50;border-radius:4px;margin:0 8px 14px}.match-prediction span{display:grid;gap:6px;text-align:center}.match-prediction small{font-size:10px;letter-spacing:.08em;color:#c4dba4}.match-prediction strong{font-size:15px;color:#e8f4d0}.ladder-published-match>header{flex-wrap:wrap}.ladder-published-match>header>.match-prediction{flex:1;align-self:center;min-width:220px}.supply-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){.match-prediction{margin:10px 0;width:100%;box-sizing:border-box}.supply-destinations{grid-template-columns:1fr}}

#hub-overlay .make-wager{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #b99638!important;background:#423718!important;color:#ffdf80!important;font-weight:bold;white-space:nowrap}.make-wager img{width:24px;height:24px;object-fit:contain}.make-wager:disabled{opacity:.45;cursor:not-allowed}.hub-wager{max-width:600px;margin:20px auto;padding:24px;border:1px solid #74865b;background:#15271d}.hub-wager label{display:grid;gap:8px;margin:18px 0}.hub-wager input,.hub-wager select{padding:12px}.hub-wager p{line-height:1.6}

/* v3.8.73 match markets */
.sportsbook{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:24px;margin-top:24px;align-items:start}.wager-board,.wager-slip{border:1px solid #49634e;border-radius:16px;background:#10221c;padding:24px}.wager-board header{border-bottom:1px solid #354d40;margin-bottom:24px}.wager-board header small,.wager-slip>small{color:#b6d66b;letter-spacing:1.5px}.wager-board h3{font-size:28px;margin:12px 0}.wager-grid{display:grid;grid-template-columns:minmax(130px,1.4fr) 1fr 1fr;gap:12px;align-items:center}.wager-grid>span{font-size:11px;color:#adc4b5;letter-spacing:1px}.wager-team{display:flex;align-items:center;gap:12px;min-width:0}.wager-team>strong{overflow-wrap:anywhere}.wager-logo{position:relative;flex:0 0 48px;height:48px;display:grid;place-items:center;background:#233d30;border-radius:12px;color:#b7f941;font-weight:800}.wager-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#233d30;border-radius:12px}.wager-tile{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:82px;width:100%;border-radius:10px!important;background:#21382d!important;border:1px solid #52715b!important;transition:background .15s,border-color .15s}.wager-tile strong{font-size:21px}.wager-tile span{color:#b7ee74;font-weight:700}.wager-tile small{font-size:11px;opacity:.8}.wager-tile[aria-pressed=true]{background:#334d20!important;border-color:#b1fa25!important;box-shadow:inset 0 0 0 1px #b1fa25}.wager-tile:focus-visible{outline:3px solid #6ce7ee;outline-offset:3px}.wager-tile:disabled{opacity:.4;cursor:not-allowed}.wager-totals{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wager-note{font-size:12px;color:#a5b9ad;margin-top:24px;line-height:1.6}.wager-slip{position:sticky;top:16px;border-top:3px solid #b4ed38}.wager-slip label{display:block;margin:18px 0}.wager-slip input,.wager-slip select{width:100%;box-sizing:border-box;margin-top:8px}.wager-return{display:flex;flex-direction:column;gap:10px;padding:20px 0;border-top:1px solid #3c5546}.wager-return strong{font-size:26px;color:#d0f37e}.wager-return small{color:#9db0a4}.wager-slip button[type=submit]{width:100%;display:flex;align-items:center;justify-content:center;gap:10px}.wager-slip button img{width:24px;height:24px}.wager-slip h3{font-size:20px;line-height:1.4}.wager-select-label{font-size:12px;color:#b8cbbd}@media(max-width:850px){.sportsbook{grid-template-columns:1fr}.wager-slip{position:static}}@media(max-width:480px){.wager-board,.wager-slip{padding:14px}.wager-grid{grid-template-columns:minmax(90px,1.2fr) 1fr 1fr;gap:6px}.wager-team{flex-direction:column;align-items:start;gap:6px}.wager-tile strong{font-size:18px}}

.hub-standing-team{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}.hub-standing-badge{position:relative;display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;background:#253c2d;border-radius:5px;font-size:10px;color:#c5df9b}.hub-standing-badge img{position:absolute;inset:0;width:28px;height:28px;object-fit:contain;background:#14271e}

.hub-standing-elo{white-space:nowrap}.hub-season-change{font-size:.85em;font-weight:700}.hub-season-change.gain{color:#76ed98}.hub-season-change.loss{color:#ff7185}.hub-season-change.neutral{color:#a8b8b4}.hub-games-left{display:block;font-size:.8em;color:#b4c3bd}

.hub-division-heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap;min-height:64px}.hub-division-heading img{width:80px;height:64px;object-fit:contain;flex:0 0 auto}

.rank-position-stats{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:16px 0}.rank-position-stats span{padding:8px 12px;background:#243e31;border:1px solid #61744f;border-radius:6px;text-transform:capitalize;font-size:14px}
