/* v66 — one quiet visual language, with artwork and primary tasks in focus. */
.v59-theme{--v66-panel:#102432;--v66-line:#304c5f;--v66-ink:#e5f1f6;--v66-muted:#91adbf;--v66-accent:#b6e4ed}
.v59-theme .button{min-height:44px;border-radius:12px!important;font-size:12px;line-height:1.35;box-shadow:none!important;text-shadow:none!important;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.v59-theme .button:not(.outline){background:#b6e4ed!important;border:1px solid #c3eaf2!important;color:#102b38!important}
.v59-theme .button.outline{background:#132b3b!important;border:1px solid #3c5b6e!important;color:#d1e5ef!important}
.v59-theme .button:not(:disabled):active{transform:scale(.985)}
.v59-theme button:focus-visible,.v59-theme summary:focus-visible{outline:2px solid #b4e6f1;outline-offset:3px}
.v59-theme .v34-details{background:none;box-shadow:none;border-color:#2a4356;border-radius:14px}
.v59-theme .v34-section-head h2{font-size:23px;font-weight:750;letter-spacing:-.65px}
.v59-theme .v34-kicker{font-size:9px;font-weight:650;letter-spacing:1.6px;color:#90b3c6}
/* Home */
.v59-theme #home .v66-home-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;min-height:320px;background:radial-gradient(ellipse at 80% 40%,#254a603d,transparent 58%),linear-gradient(130deg,#112a3c,#0b1b29);border:1px solid #36556a;border-radius:21px;box-shadow:inset 0 1px #e4f6ff06;overflow:hidden}
.v59-theme #home .v66-home-hero:before{background:linear-gradient(130deg,transparent 60%,#b0d9ed04 60.1%,transparent 60.3%)}
.v59-theme #home .v34-home-copy{position:relative;z-index:2;max-width:none;padding:31px}
.v59-theme #home .v34-home-copy h1{font-size:clamp(35px,4.2vw,53px);font-weight:760;line-height:1.03;letter-spacing:-1.8px;text-transform:none;text-shadow:none;max-width:none;margin:18px 0 14px}
.v59-theme #home .v34-home-copy h1 em{color:#a8dce9;font-style:normal}
.v59-theme #home .v34-home-copy p{font-size:12px;color:#a2bdcd;max-width:300px;margin:0 0 24px}
.v59-theme #home .v34-home-hero-actions{display:block;max-width:236px}
.v59-theme #home .v34-home-hero-actions .button{width:100%;min-height:49px;display:flex;align-items:center;justify-content:space-between;padding:12px 17px;font-size:13px;font-weight:750}
.v66-home-stage{position:relative;height:300px;display:grid;place-items:center;isolation:isolate;min-width:0}
.v66-home-stage>img{position:relative;z-index:1;width:100%;max-width:310px;height:285px;object-fit:contain;filter:drop-shadow(0 22px 18px #0005);transform:rotate(-6deg)}
.v66-stage-ring{position:absolute;left:12%;right:12%;top:22%;height:56%;border:1px solid #75b4ce12;border-radius:50%;transform:rotate(-18deg)}
.v66-stage-ring:after{content:'';position:absolute;inset:16px;border:1px solid #75b4ce0a;border-radius:50%}
.v66-stage-caption{position:absolute;bottom:15px;left:10%;right:10%;display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:7px;letter-spacing:1.1px;color:#91afc0;z-index:2}
.v66-stage-caption i{font-style:normal;color:#688da4;font-size:7px}
.v59-theme #home .v34-overview{gap:0;margin:19px 0 26px;padding:5px 0 14px;border-bottom:1px solid #253e50}
.v59-theme #home .v34-overview>div{padding:0 18px;min-width:0;background:none;border:0;border-radius:0;box-shadow:none}
.v59-theme #home .v34-overview>div:first-child{padding-left:0}
.v59-theme #home .v34-overview>div+div{border-left:1px solid #294252}
.v59-theme #home .v34-overview small{font-size:8px;font-weight:600;letter-spacing:.65px;color:#7f9dae}
.v59-theme #home .v34-overview strong{font-size:21px;font-weight:700;letter-spacing:-.4px;margin:5px 0 3px}
.v59-theme #home .v34-overview span{font-size:8px;color:#708da1}
.v59-theme #home .v34-modes{gap:10px}
.v59-theme #home .v34-mode{min-height:106px;padding:15px;background:#102432;box-shadow:none;border-color:#2d495c;border-radius:14px;gap:4px}
.v59-theme #home .v34-mode-icon{width:29px;height:29px;margin-bottom:7px;border:0!important;background:none!important;border-radius:0!important}
.v59-theme #home .v34-mode-icon svg{width:27px!important;height:27px!important}
.v59-theme #home .v34-mode b{font-size:13px;font-weight:700}
.v59-theme #home .v34-mode small{font-size:10px;color:#85a4b8}
.v59-theme #home .v34-mode-arrow{right:12px;bottom:12px;opacity:.6}
.v59-theme #home .v34-mode-arrow svg{width:17px!important;height:17px!important}
.v66-home-more{margin-top:27px;padding:0 16px 14px}
.v66-home-more>summary{padding:17px 0 3px;font-size:15px;color:#d2e5ed;font-weight:650;cursor:pointer;list-style:none}
.v66-home-more>summary>span{display:block;font-size:10px;font-weight:400;color:#7899ad;margin-top:7px}
.v66-home-more[open]>summary{padding-bottom:5px}
.v66-home-more .v34-section-head{margin-top:23px}
.v66-connection .v35-open-shortcut{margin:12px 0 0}
/* Collection */
.v59-theme #inventory .v31-page-lead{padding:6px 0 15px;margin-bottom:15px;border-color:#253e50}
.v59-theme #inventory .v31-page-lead h2{font-size:32px;font-weight:760;letter-spacing:-1px;margin:6px 0}
.v59-theme #inventory .v31-page-lead h2 small{font-size:14px;color:#7e9bad;font-weight:500;vertical-align:middle}
.v59-theme #inventory .v31-page-lead p{font-size:11px;color:#90acbe;line-height:1.6;max-width:390px}
.v59-theme #inventory .v37-inventory-toolbar{background:none;border:0;border-bottom:1px solid #253e50;box-shadow:none;border-radius:0;grid-template-columns:minmax(0,1fr) auto;padding:0 0 12px;gap:8px;margin-bottom:12px}
.v59-theme #inventory .v37-inventory-summary{grid-template-columns:minmax(0,.65fr) minmax(0,1fr);gap:10px}
.v59-theme #inventory .inventory-stat{padding:0;background:none;border:0;box-shadow:none;min-width:0}
.v59-theme #inventory .inventory-stat small{font-size:8px;font-weight:600;color:#819fb2;letter-spacing:.5px}
.v59-theme #inventory .inventory-stat strong{font-size:20px;font-weight:650;margin-top:5px;white-space:nowrap;color:#d5e8f1}
.v59-theme #inventory .v37-inventory-actions{width:auto;align-self:start}
.v59-theme #inventory #sellAllBtn{background:#102432!important;border:1px solid #345264!important;color:#adc9d9!important;min-width:0;min-height:42px;padding:9px 12px;font-size:10px;display:block;box-shadow:none}
.v59-theme #inventory #sellAllHint{display:none}
.v59-theme #inventory .v37-inventory-details{font-size:10px;margin:0}
.v59-theme #inventory .v37-inventory-details summary{font-size:10px;min-height:25px;padding:0;color:#7394a8}
.v59-theme #inventory .v39-mobile-filter{background:#102432;box-shadow:none;border:1px solid #304c5f;font-size:11px;font-weight:600;min-height:45px;border-radius:11px}
.v59-theme #inventory .v39-mobile-filter strong{font-size:9px;font-weight:500}
.v59-theme #inventory .v31-inventory-count{color:#7594a8;font-size:10px;margin:9px 0 12px}
.v59-theme #inventory #items{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.v66-owned{min-width:0}
.v59-theme #inventory .v66-skin-card{display:flex;flex-direction:column;width:100%;height:100%;position:relative;text-align:left;padding:12px;background:radial-gradient(ellipse at 50% 36%,#233e4f45,transparent 65%),#0f2230;border:1px solid #30495b;border-radius:15px;box-shadow:inset 0 1px #ffffff04;overflow:hidden;cursor:pointer;color:#d8e9f1;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.v66-skin-card:before{content:'';height:2px;position:absolute;left:14px;right:14px;bottom:0;background:var(--rarity);opacity:.8}
.v66-skin-top{display:flex;justify-content:space-between;align-items:center;gap:6px;width:100%}
.v66-skin-top>small{font-size:9px;font-weight:650;letter-spacing:.2px;color:#88a5b8}
.v66-skin-top>svg.dd-icon{width:16px!important;height:16px!important;color:#7397ac}
.v66-skin-art{display:grid;place-items:center;width:100%;height:146px;position:relative;margin:4px 0 5px}
.v59-theme #inventory .v66-skin-art>img{display:block;width:100%;height:100%;object-fit:contain;padding:2px;filter:drop-shadow(0 12px 9px #0005)}
.v66-skin-copy{display:flex;flex-direction:column;align-items:flex-start;width:100%;min-width:0;flex:1}
.v66-skin-copy>b{font-size:14px;line-height:1.3;font-weight:700;color:#deedf4;min-height:36px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.v66-skin-rarity{display:flex;align-items:center;gap:5px;color:#9db8c8;font-size:9px;line-height:1.4;margin:6px 0 4px}
.v66-skin-rarity>i{width:4px;height:4px;background:var(--rarity);border-radius:50%;flex:none}
.v66-skin-copy>small{font-size:9px;color:#688da3;line-height:1.4;min-height:25px}
.v66-skin-copy>strong{font-size:16px;font-weight:650;letter-spacing:-.3px;color:#c6e1ed;margin-top:auto;padding-top:9px;font-variant-numeric:tabular-nums}
.v66-skin-card:hover{border-color:#6e9caf!important;transform:translateY(-2px)}
.v66-skin-card:active{transform:translateY(0);border-color:#b1dfeb!important}
.v59-theme #inventory[data-empty='true'] .v37-inventory-toolbar,.v59-theme #inventory[data-empty='true'] .v39-inventory-mobile-tools,.v59-theme #inventory[data-empty='true'] .v31-inventory-filters,.v59-theme #inventory[data-empty='true'] .v31-inventory-count{display:none!important}
.v66-empty{grid-column:1/-1;display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:370px;text-align:center;padding:25px 18px}
.v66-empty-art{display:grid;place-items:center;position:relative;width:118px;height:108px;isolation:isolate;margin-bottom:23px;border:1px solid #3c65783b;border-radius:26px;transform:rotate(-7deg);background:radial-gradient(ellipse,#29516926,transparent 70%)}
.v66-empty-art>svg.dd-icon{width:62px!important;height:62px!important;color:#92bccf;transform:rotate(7deg)!important}
.v66-empty-art:before{content:'';position:absolute;inset:10px -8px -8px 8px;z-index:-1;border:1px solid #3c65781f;border-radius:26px;transform:rotate(11deg)}
.v66-empty-art i{position:absolute;width:120px;height:1px;background:linear-gradient(90deg,transparent,#658b9d6b,transparent);bottom:-21px;left:50%;transform:translateX(-50%)}
.v66-eyebrow{font-size:8px;letter-spacing:1.5px;color:#7093a9;font-weight:650}
.v66-empty h3{font-size:22px;letter-spacing:-.7px;font-weight:700;color:#dbedf4;margin:10px 0 9px}
.v66-empty p{font-size:12px;line-height:1.6;color:#86a6ba;max-width:270px;margin:0 0 23px}
.v66-empty .button{min-width:210px}
/* Settings in profile and case panel share one accessible segmented control. */
.v66-settings{padding:8px 0 5px}
.v66-settings>b{font-size:13px;font-weight:650;color:#d0e5ee}
.v66-settings p{font-size:11px;color:#8cabbf;margin:6px 0 13px}
.v66-settings small{display:block;font-size:10px;line-height:1.6;color:#6f91a7;margin-top:13px;max-width:420px}
.v66-opening-choice{display:flex;align-items:stretch;gap:3px;padding:3px;border:1px solid #2a4356;border-radius:11px;background:#0b1c29}
.v66-opening-choice button{flex:1;min-width:0;min-height:38px;padding:7px 9px;border-radius:8px;background:none;border:1px solid transparent;color:#7899af;font-size:11px;font-weight:550;transition:background .16s ease,color .16s ease,border-color .16s ease}
.v66-opening-choice button[aria-pressed='true']{background:#193548;border-color:#496b80;color:#d2e9f3}
.v66-case-presentation{padding:13px 0 0}
.v66-case-presentation>span{display:block;font-size:9px;color:#6f93a9;margin-bottom:7px}
/* Result: the item, its rarity and two main actions. */
.v59-theme #modal .modal:has(.v66-reveal),.v59-theme #modal .modal:has(.v66-opening-simple){width:min(520px,calc(100% - 22px));max-width:520px;background:#0e202e;border-color:#395569;border-radius:22px;padding:16px;max-height:92dvh}
.v59-theme .v66-reveal{padding:8px 15px 15px;text-align:center;animation:v66-reveal-in .28s ease both}
.v66-result-top{display:flex;align-items:center;justify-content:center;gap:6px;color:#88a8ba;margin-top:1px}
.v66-result-top>span{display:grid;place-items:center;width:24px;height:24px;border:1px solid #547f7355;border-radius:50%;background:#2b564328}
.v66-result-top svg.dd-icon{width:15px!important;height:15px!important;color:#acd9c5}
.v66-result-top>small{font-size:10px;letter-spacing:.3px}
.v59-theme .v66-reveal h2{font-size:25px;font-weight:730;letter-spacing:-.8px;color:#e4f2f7;line-height:1.2;margin:14px 0 0;text-transform:none}
.v66-result-art{height:215px;position:relative;display:grid;place-items:center;isolation:isolate;margin:8px -6px 0}
.v66-result-art>i{position:absolute;inset:12% 8%;z-index:-1;background:radial-gradient(ellipse,var(--win-color),transparent 68%);opacity:.19}
.v66-result-art:before{content:'';position:absolute;left:16%;right:16%;top:50%;height:1px;background:linear-gradient(90deg,transparent,var(--win-color),transparent);opacity:.13;z-index:-1}
.v59-theme .v66-result-art>img{width:100%;height:100%;object-fit:contain;padding:10px;filter:drop-shadow(0 20px 14px #0005);animation:v66-item-in .4s cubic-bezier(.2,.7,.2,1) both}
.v66-result-rarity{font-size:9px;letter-spacing:1px;color:var(--win-color);font-weight:650;display:block;margin:0 0 13px}
.v66-result-weapon{display:block;color:#86a7bb;font-size:10px;margin-bottom:4px}
.v59-theme .v66-reveal h3{font-size:24px;line-height:1.2;font-weight:700;letter-spacing:-.65px;margin:0;color:#d9edf5}
.v66-result-value{font-size:18px;font-weight:600;color:#bddbe9;margin:12px 0 8px;letter-spacing:-.4px}
.v66-result-note{font-size:10px;line-height:1.5;color:#779aaf;margin:0 0 22px}
.v59-theme .v66-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0}
.v59-theme .v66-result-actions button{min-height:49px;font-size:12px;font-weight:700;padding:12px 9px}
.v66-result-more{margin-top:18px;border-top:1px solid #2a4154;padding-top:9px}
.v66-result-more>summary{font-size:10px;color:#7397ab;cursor:pointer;padding:6px;list-style:none}
.v66-result-more small{display:block;font-size:9px;color:#65889f;margin-top:12px}
.v66-result-empty{height:180px;display:grid;place-items:center}
.v66-result-empty svg.dd-icon{width:86px!important;height:86px!important;color:#799cad}
.v66-opening-simple{min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#85a9bd;font-size:12px}
.v66-opening-simple svg.dd-icon{width:66px!important;height:66px!important;color:#a2cddb}
.v66-sale-icon svg.dd-icon{width:40px!important;height:40px!important;color:#a6d3bf}
.v66-no-item{font-size:40px;color:#68899d;height:108px;display:grid;place-items:center}
@keyframes v66-reveal-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes v66-item-in{from{opacity:0;transform:translateY(7px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(min-width:1180px){.v59-theme #inventory #items{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:759px){
 .v59-theme #home .v66-home-hero{grid-template-columns:1fr;gap:0;padding:19px 20px 18px;border-radius:18px;min-height:0}
 .v59-theme #home .v34-home-copy{display:contents}
 .v59-theme #home .v34-home-copy .v34-kicker{grid-row:1;font-size:8px;letter-spacing:1.6px}
 .v59-theme #home .v34-home-copy h1{grid-row:2;font-size:34px;font-weight:730;letter-spacing:-1.25px;line-height:1.02;margin:12px 0 10px}
 .v59-theme #home .v34-home-copy p{grid-row:3;font-size:10px;max-width:none;margin:0;color:#89aabe}
 .v59-theme #home .v34-home-hero-actions{grid-row:5;max-width:none;margin-top:0}
 .v66-home-stage{grid-row:4;height:145px;margin:4px 0 8px}
 .v66-home-stage>img{height:169px;width:225px;max-width:80%;margin-top:-14px;transform:rotate(-6deg)}
 .v66-stage-ring{top:12%;height:77%;left:16%;right:16%}
 .v66-stage-caption{left:0;right:0;bottom:0;font-size:6px;letter-spacing:.8px}
 .v66-stage-caption i{font-size:6px}
 .v59-theme #home .v34-home-hero-actions .button{min-height:46px;font-size:12px}
 .v59-theme #home .v34-overview{margin:16px 0 21px;padding-bottom:12px}
 .v59-theme #home .v34-overview>div{padding:0 13px}
 .v59-theme #home .v34-overview small{font-size:7px;letter-spacing:.35px}
 .v59-theme #home .v34-overview strong{font-size:17px}
 .v59-theme #home .v34-overview span{font-size:7px}
 .v59-theme #home .v34-section-head{margin:23px 0 11px}
 .v59-theme #home .v34-section-head h2{font-size:21px}
 .v59-theme #home .v34-modes{gap:7px}
 .v59-theme #home .v34-mode{padding:12px 10px;min-height:100px;border-radius:12px}
 .v59-theme #home .v34-mode b{font-size:11px}
 .v59-theme #home .v34-mode small{font-size:8px}
 .v59-theme #home .v34-mode-arrow{display:none}
 .v59-theme #inventory .v31-page-lead h2{font-size:30px}
 .v59-theme #inventory .v31-page-lead p{font-size:10px;line-height:1.5}
 .v59-theme #inventory .inventory-stat strong{font-size:17px}
 .v59-theme #inventory .v37-inventory-toolbar{padding-bottom:8px;grid-template-columns:minmax(0,1fr) 79px}
 .v59-theme #inventory .inventory-stat small{font-size:7px;letter-spacing:.2px}
 .v59-theme #inventory #sellAllBtn{font-size:9px;padding:8px 9px;min-height:41px}
 .v59-theme #inventory #items{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .v59-theme #inventory .v66-skin-card{padding:10px;border-radius:13px}
 .v66-skin-top>small{font-size:9px}
 .v66-skin-art{height:116px;margin:3px 0}
 .v66-skin-copy>b{font-size:12px;min-height:32px}
 .v66-skin-rarity{font-size:9px;margin:5px 0 4px;gap:4px}
 .v66-skin-copy>small{font-size:9px;min-height:23px}
 .v66-skin-copy>strong{font-size:15px;padding-top:6px}
 .v66-empty{min-height:390px;padding:24px 8px}
 .v66-empty h3{font-size:21px}
 .v59-theme .v66-reveal{padding:5px 7px 12px}
 .v59-theme .v66-reveal h2{font-size:23px}
 .v66-result-art{height:185px;margin-top:3px}
 .v66-result-rarity{margin-bottom:11px;font-size:8px}
 .v59-theme .v66-reveal h3{font-size:23px}
 .v66-result-note{margin-bottom:20px;font-size:9px}
 .v66-result-value{font-size:17px}
 .v59-theme .v66-result-actions button{font-size:11px;min-height:46px}
}
@media(max-width:355px){.v59-theme #home .v66-home-hero{padding:17px 16px 16px}.v59-theme #home .v34-home-copy h1{font-size:31px}.v66-home-stage{height:133px}.v66-home-stage>img{height:151px}.v59-theme #home .v34-overview>div{padding-inline:10px}.v59-theme #home .v34-overview strong{font-size:15px}.v59-theme #home .v34-mode{padding:11px 8px}.v59-theme #home .v34-mode b{font-size:10px}.v59-theme #inventory .v37-inventory-toolbar{grid-template-columns:minmax(0,1fr) 74px}.v59-theme #inventory .inventory-stat strong{font-size:14px}.v66-skin-art{height:99px}.v66-skin-copy>b{font-size:11px}.v66-skin-rarity{font-size:8.5px}.v66-skin-copy>strong{font-size:13px}.v66-result-art{height:152px}.v59-theme .v66-reveal h2{font-size:21px}.v59-theme .v66-reveal h3{font-size:21px}.v66-result-value{margin:9px 0}.v66-result-note{margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){.v59-theme .button,.v66-skin-card,.v66-opening-choice button{transition:none!important}.v66-reveal,.v66-result-art>img{animation:none!important}.v66-skin-card:hover{transform:none!important}}

.v59-theme #modal #modaltitle{font-size:11px;letter-spacing:.25px;line-height:1.3;font-weight:650}.v59-theme #modal #close{min-height:44px;padding:8px 10px;font-size:11px;border-radius:10px}.v59-theme #modal #close svg.dd-icon{width:15px!important;height:15px!important}
