.portal-page{background:#0f0f0f;color:#f1eee7;min-height:100vh}.portal-shell{max-width:1440px;margin:0 auto;padding:126px max(6vw,40px) 100px;min-height:100vh}.portal-hero{position:relative;min-height:330px;display:flex;align-items:flex-end;padding:56px 58px;border:1px solid rgba(255,242,215,.22);overflow:hidden;background:#101010}.portal-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.32}.portal-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,7,7,.96),rgba(7,7,7,.58) 54%,rgba(7,7,7,.25)),linear-gradient(0deg,rgba(10,10,10,.78),transparent)}.portal-hero-copy{position:relative;z-index:2;max-width:760px}.portal-kicker{display:flex;align-items:center;gap:12px;color:#b5a787;font-size:9px;font-weight:700;letter-spacing:.24em}.portal-kicker i{height:1px;width:34px;background:#b5a787}.portal-hero h1{font-size:clamp(50px,6vw,82px);line-height:.92;letter-spacing:-.065em;margin:20px 0 18px}.portal-hero p{color:#a09c94;line-height:1.8;max-width:620px;margin:0}.portal-toolbar{margin-top:42px;display:grid;grid-template-columns:1fr auto;gap:22px;align-items:end;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:20px}.portal-toolbar h2{font-size:26px;margin:5px 0 0;letter-spacing:-.04em}.portal-toolbar small{font-size:8px;letter-spacing:.2em;color:#b5a787}.portal-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.portal-filter,.portal-action{border:1px solid rgba(255,242,215,.25);background:#121212;color:#8f8c85;min-height:40px;padding:0 15px;font-size:8px;font-weight:800;letter-spacing:.12em;cursor:pointer}.portal-filter.active,.portal-filter:hover,.portal-action:hover{border-color:#fff2d7;color:#fff2d7;background:rgba(255,242,215,.05)}.portal-action.primary{background:linear-gradient(135deg,#fff0ca,#b8aa89 75%);color:#101010;border-color:#fff2d7}.link-status{margin:28px 0 0;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid rgba(255,255,255,.1);background:#121212;padding:18px 20px}.link-status>div{display:flex;align-items:center;gap:12px}.link-status .icon{font-size:20px;color:#b5a787}.link-status strong{display:block;font-size:11px;letter-spacing:.08em}.link-status small{display:block;color:#73706a;font-size:9px;margin-top:4px}.link-status.ok{border-color:rgba(181,167,135,.38)}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:26px}.product-card{border:1px solid rgba(255,255,255,.1);background:#111;display:flex;flex-direction:column;min-height:450px;transition:.2s}.product-card:hover{border-color:rgba(255,242,215,.35);transform:translateY(-2px)}.product-image{height:210px;position:relative;overflow:hidden;background:#171717}.product-image img{width:100%;height:100%;object-fit:cover;filter:saturate(.72) contrast(1.02)}.product-image:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,10,10,.82),transparent 58%)}.product-image span{position:absolute;z-index:2;left:18px;bottom:16px;color:#b5a787;font-size:8px;font-weight:800;letter-spacing:.18em}.product-copy{padding:22px;display:flex;flex-direction:column;gap:14px;flex:1}.product-copy h3{margin:0;font-size:22px;letter-spacing:-.035em}.product-copy p{margin:0;color:#85817b;line-height:1.7;font-size:11px}.product-meta{margin-top:auto;padding-top:18px;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:space-between;gap:12px}.product-price{font-size:20px;font-weight:700}.product-price.unset{font-size:9px;color:#b5a787;letter-spacing:.13em}.product-add{border:1px solid rgba(255,242,215,.3);background:none;min-height:38px;padding:0 15px;color:#ece7de;font-size:8px;font-weight:800;letter-spacing:.1em;cursor:pointer}.product-add:disabled{opacity:.45;cursor:not-allowed}.product-add:not(:disabled):hover{background:#fff2d7;color:#111}
.cart-button{position:relative}.cart-count{display:inline-grid;place-items:center;margin-left:8px;min-width:20px;height:20px;padding:0 5px;border-radius:50%;background:#b5a787;color:#111;font-size:8px}.cart-drawer{position:fixed;z-index:5200;top:0;right:0;width:min(430px,100vw);height:100vh;background:#0e0e0e;border-left:1px solid rgba(255,242,215,.26);transform:translateX(101%);transition:.26s;display:flex;flex-direction:column}.cart-drawer.open{transform:translateX(0)}.cart-head{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid rgba(255,255,255,.1)}.cart-head h2{font-size:18px;margin:0}.cart-head button,.modal-x{border:0;background:none;color:#aaa;font-size:28px;cursor:pointer}.cart-items{padding:18px 24px;overflow:auto;flex:1}.cart-empty{color:#777;text-align:center;padding:70px 10px;font-size:11px;line-height:1.8}.cart-item{padding:16px 0;border-bottom:1px solid rgba(255,255,255,.09);display:grid;grid-template-columns:1fr auto;gap:10px}.cart-item strong{font-size:11px}.cart-item small{display:block;color:#777;margin-top:5px;font-size:8px;letter-spacing:.08em}.cart-item button{border:0;background:none;color:#b5a787;font-size:8px;cursor:pointer}.cart-foot{padding:22px 24px;border-top:1px solid rgba(255,255,255,.1)}.cart-total{display:flex;justify-content:space-between;margin-bottom:18px}.cart-total span{font-size:9px;color:#888;letter-spacing:.15em}.cart-total strong{font-size:19px}.cart-checkout{width:100%;min-height:48px;border:1px solid #fff2d7;background:linear-gradient(135deg,#fff0ca,#b8aa89 75%);color:#111;font-size:9px;font-weight:900;letter-spacing:.13em;cursor:pointer}.cart-checkout:disabled{opacity:.5;cursor:not-allowed}.cart-note{color:#68655f;font-size:8px;line-height:1.6;margin:12px 0 0}.cart-backdrop{position:fixed;z-index:5100;inset:0;background:rgba(0,0,0,.65);opacity:0;visibility:hidden;transition:.2s}.cart-backdrop.open{opacity:1;visibility:visible}
.portal-modal{border:1px solid rgba(255,242,215,.32);background:#111;color:#f1eee7;padding:0;width:min(620px,calc(100% - 30px));box-shadow:0 30px 100px rgba(0,0,0,.7)}.portal-modal::backdrop{background:rgba(0,0,0,.78)}.portal-modal-inner{padding:30px}.portal-modal header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.portal-modal small{font-size:8px;letter-spacing:.18em;color:#b5a787}.portal-modal h2{font-size:29px;margin:7px 0 8px;letter-spacing:-.04em}.portal-modal p{color:#7d7973;line-height:1.7;font-size:11px}.server-options{display:grid;gap:9px;margin:22px 0}.server-option{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;border:1px solid rgba(255,255,255,.1);padding:15px 16px;cursor:pointer}.server-option:hover,.server-option.selected{border-color:rgba(255,242,215,.45);background:rgba(255,242,215,.03)}.server-option input{accent-color:#b5a787}.server-option strong{display:block;font-size:11px}.server-option small{color:#777;display:block;margin-top:4px}.server-option b{font-size:7px;color:#b5a787;letter-spacing:.1em}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.modal-actions button{min-height:42px;padding:0 18px;border:1px solid rgba(255,242,215,.26);background:none;color:#aaa;font-size:8px;font-weight:800;letter-spacing:.12em;cursor:pointer}.modal-actions button.primary{background:#fff2d7;color:#111;border-color:#fff2d7}
.leaderboard-controls{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:22px;margin-top:38px;align-items:end}.server-select-wrap label{display:block;font-size:8px;color:#b5a787;letter-spacing:.16em;margin-bottom:8px}.server-select-wrap select{width:100%;height:45px;background:#111;border:1px solid rgba(255,255,255,.15);color:#eee;padding:0 14px;font-size:10px}.stat-tabs{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.leaderboard-state{margin-top:22px;border:1px solid rgba(255,255,255,.1);background:#111;min-height:360px}.leaderboard-message{min-height:360px;display:grid;place-items:center;text-align:center;padding:40px;color:#777;line-height:1.8}.leaderboard-message strong{display:block;color:#e9e5dd;font-size:18px;margin-bottom:8px}.leaderboard-table{width:100%;border-collapse:collapse}.leaderboard-table th{height:48px;text-align:left;padding:0 18px;color:#69665f;font-size:8px;letter-spacing:.15em;border-bottom:1px solid rgba(255,255,255,.1)}.leaderboard-table td{height:58px;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.07);font-size:10px}.leaderboard-table tr:hover td{background:rgba(255,242,215,.025)}.leaderboard-table .rank{color:#b5a787;font-weight:800;width:70px}.leaderboard-table .player{font-weight:700;font-size:11px}.leaderboard-table .metric{text-align:right}.leaderboard-table th.metric{text-align:right}.leaderboard-meta{display:flex;justify-content:space-between;gap:20px;color:#65625c;font-size:8px;letter-spacing:.1em;padding:14px 2px}.portal-footer{margin-top:70px;padding-top:24px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;gap:20px;color:#5f5c56;font-size:8px;letter-spacing:.08em}.portal-footer img{width:120px;opacity:.8}
.portal-toast{position:fixed;z-index:6000;left:50%;bottom:26px;transform:translate(-50%,20px);opacity:0;background:#171717;border:1px solid rgba(255,242,215,.3);padding:13px 18px;color:#ddd;font-size:10px;transition:.2s;pointer-events:none}.portal-toast.show{transform:translate(-50%,0);opacity:1}
@media(max-width:900px){.portal-shell{padding:105px 20px 70px}.portal-hero{padding:38px 28px;min-height:290px}.portal-toolbar,.leaderboard-controls{grid-template-columns:1fr}.portal-toolbar-actions,.stat-tabs{justify-content:flex-start}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-footer{flex-direction:column}.leaderboard-state{overflow:auto}.leaderboard-table{min-width:650px}}
@media(max-width:620px){.portal-shell{padding-left:14px;padding-right:14px}.portal-hero{padding:30px 20px}.product-grid{grid-template-columns:1fr}.product-card{min-height:420px}.product-image{height:190px}.link-status{align-items:flex-start;flex-direction:column}.portal-toolbar-actions{width:100%}.portal-filter,.portal-action{flex:1}.server-option{grid-template-columns:auto 1fr}.server-option b{grid-column:2}.portal-footer img{width:105px}}
.portal-action{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;line-height:1.1;white-space:nowrap}
.product-add:disabled{opacity:.45;cursor:not-allowed;filter:none}
.server-option{grid-template-columns:auto 1fr}

.billing-badge{display:inline-block;align-self:flex-start;border:1px solid rgba(181,167,135,.32);padding:6px 8px;color:#b5a787;font-size:7px;font-weight:800;letter-spacing:.12em}.product-price small{font-size:8px;color:#8b857a;font-weight:600;letter-spacing:.06em}

/* Borderline 2026 full footer logo */
.portal-footer img{width:88px;height:auto;object-fit:contain}

.portal-filter-set{display:flex;gap:8px;flex-wrap:wrap;align-items:center}

/* Keep store and account-facing copy readable on narrow screens and enlarged text. */
.portal-hero-copy,.portal-toolbar>*,.product-copy,.product-meta>*,.link-status>div,.cart-item>div{min-width:0}
.portal-hero h1{overflow-wrap:break-word;line-height:1.05}
.product-meta{flex-wrap:wrap}.product-copy h3,.cart-item strong,.server-option strong{overflow-wrap:anywhere}
@media(max-width:620px){
  .portal-hero{min-height:0;padding:38px 20px}
  .portal-hero h1{font-size:clamp(2.3rem,10vw,3.7rem);line-height:1.08;letter-spacing:-.045em}
  .portal-toolbar{gap:16px}.portal-toolbar-actions{justify-content:flex-start}
  .portal-filter,.portal-action{flex:0 1 auto;white-space:normal;min-width:0;line-height:1.25;text-align:center;padding:10px 12px}
  .link-status>div{max-width:100%}.link-status small{overflow-wrap:anywhere}
  .product-meta{align-items:flex-start}.product-price{overflow-wrap:anywhere}
  .cart-item{grid-template-columns:minmax(0,1fr) auto}.cart-item small{line-height:1.5;overflow-wrap:anywhere}
}
.cart-warning{margin:12px 0 0;color:#f2c94c;font-size:10px;letter-spacing:.04em;line-height:1.6}
.cart-warning[hidden]{display:none}

/* Supplied Borderline media backgrounds (2026-10-02). */
.portal-page.leaderboard-page{background-color:#0f0f0f;background-image:linear-gradient(rgba(15,15,15,.88),rgba(15,15,15,.97)),url('../img/site/feature-leaderboard.jpg');background-position:center top;background-size:cover;background-attachment:fixed}
.portal-page.priority-page{background-color:#0f0f0f;background-image:linear-gradient(rgba(15,15,15,.88),rgba(15,15,15,.97)),url('../img/site/store-background.jpg');background-position:center top;background-size:cover;background-attachment:fixed}
.portal-page.leaderboard-page .portal-hero>img,.portal-page.priority-page .portal-hero>img{opacity:.42}
@media(max-width:760px){.portal-page.leaderboard-page,.portal-page.priority-page{background-attachment:scroll}.portal-hero>img{object-position:center}}


/* BORDERLINE currency menu */
.currency-picker{position:relative;min-height:40px;border:1px solid rgba(255,242,215,.24);background:linear-gradient(180deg,#161513,#111);display:flex;align-items:stretch;color:#8f8c85;box-shadow:inset 0 0 0 1px rgba(255,255,255,.015)}
.currency-picker:hover,.currency-picker.open{border-color:#8b7740}
.currency-picker-label{display:flex;align-items:center;padding:0 9px;border-right:1px solid rgba(255,242,215,.1);font-size:7px;font-weight:800;letter-spacing:.12em;color:#6f6b64}
.currency-picker-trigger{min-width:86px;border:0;background:transparent;color:#f0eadf;padding:0 10px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}
.currency-picker-trigger b{font-size:8px;letter-spacing:.08em}
.currency-picker-trigger i{font-style:normal;color:#d9bd55;font-size:11px;transition:transform .18s ease}
.currency-picker.open .currency-picker-trigger i{transform:rotate(180deg)}
.currency-menu{position:absolute;right:-1px;top:calc(100% + 7px);z-index:50;width:150px;padding:6px;background:#111;border:1px solid #4d473a;box-shadow:0 16px 40px rgba(0,0,0,.48)}
.currency-menu[hidden]{display:none}
.currency-menu button{width:100%;height:38px;border:0;background:transparent;color:#c9c2b6;padding:0 10px;display:flex;align-items:center;justify-content:space-between;font:800 8px/1 inherit;letter-spacing:.09em;cursor:pointer}
.currency-menu button+button{border-top:1px solid rgba(255,255,255,.045)}
.currency-menu button:hover,.currency-menu button.active{background:#211d12;color:#f4d14a}
.currency-menu button small{font:700 8px/1 inherit;color:#777}
.currency-menu button.active small{color:#c8aa43}
@media(max-width:620px){
  .currency-picker{flex:1}
  .currency-picker-trigger{flex:1}
  .currency-menu{left:0;right:0;width:auto}
}

.currency-menu button.unavailable,
.currency-menu button:disabled{opacity:.35;cursor:not-allowed;background:transparent!important;color:#777!important}

/* Gift a Priority Queue purchase (2026-10-17). */
.gift-box{margin:0 0 16px;border:1px solid rgba(255,255,255,.1);background:#121212;padding:14px 16px}
.gift-box[hidden],.gift-fields[hidden]{display:none}
.gift-toggle{display:flex;align-items:center;gap:12px;cursor:pointer}
.gift-toggle input{position:absolute;opacity:0;pointer-events:none}
.gift-switch{flex:none;width:34px;height:18px;border:1px solid #3b3934;background:#1b1b1b;position:relative;transition:.2s}
.gift-switch:after{content:'';position:absolute;top:2px;left:2px;width:12px;height:12px;background:#777;transition:.2s}
.gift-toggle input:checked+.gift-switch{border-color:var(--gold);background:rgba(251,208,62,.12)}
.gift-toggle input:checked+.gift-switch:after{left:18px;background:var(--gold)}
.gift-toggle input:focus-visible+.gift-switch{outline:2px solid var(--gold);outline-offset:2px}
.gift-copy{display:grid;gap:4px}.gift-copy b{font-size:9px;letter-spacing:.13em;color:#e6e0d2}.gift-copy small{font-size:8px;letter-spacing:.06em;color:#777}
.gift-fields{margin-top:14px;display:grid;gap:8px}
.gift-label{font-size:8px;letter-spacing:.14em;color:#777;font-weight:700}
.gift-input-row{display:flex;gap:8px}
.gift-input-row input{flex:1;min-width:0;height:40px;background:#1b1b1b;border:1px solid #393939;color:#eee;padding:0 12px;font-size:11px;outline:none}
.gift-input-row input:focus{border-color:var(--gold)}
.gift-input-row button{flex:none;height:40px;padding:0 16px;background:none;border:1px solid #3b3934;color:#a6987c;font-size:8px;font-weight:800;letter-spacing:.1em;cursor:pointer}
.gift-input-row button:hover:not(:disabled){border-color:var(--gold);color:var(--cream)}
.gift-input-row button:disabled{opacity:.5;cursor:not-allowed}
.gift-status{margin:0;min-height:12px;font-size:9px;line-height:1.5;color:#777}
.gift-status.ok{color:#40dd80}.gift-status.error{color:#f2c94c}
