/* Compact COLDPEEK game panels, shared by rankings and the loadout editor. */
.cp-game-page { --gp-cyan:#55d4ec; --gp-muted:#8e9eb2; --gp-panel:#111b27; }
.cp-game-layout > .flex-grow-1 { min-width:0; min-height:0; }
.gp-wrap { max-width:1440px; margin:0 auto; padding:32px 24px 48px; width:100%; }
.gp-heading { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:26px; }
.gp-eyebrow { display:block; color:#91dce9; font-size:10px; font-weight:650; letter-spacing:2px; text-transform:uppercase; }
.gp-heading h1 { font-size:clamp(28px,3vw,38px); font-weight:750; letter-spacing:-1.2px; margin:8px 0; color:#f1f5fa; }
.gp-heading p,.gp-note { margin:0; color:var(--gp-muted); font-size:12px; line-height:1.7; }
.gp-label { color:#a6b8c9; font-size:10px; font-weight:600; letter-spacing:1.2px; text-transform:uppercase; }
.gp-tag { border:1px solid #55d4ec30; background:#55d4ec08; color:#9adfed; padding:8px 12px; border-radius:3px; font-size:10px; white-space:nowrap; }
.gp-filters { padding:18px; border:1px solid #ffffff0c; border-radius:5px; background:#111a25; margin-bottom:20px; }
.gp-filter-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; }
.gp-mode-tabs { display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; min-width:0; flex:1; }
.gp-mode-row { display:flex; align-items:center; gap:14px; }
.gp-mode-row .gp-search { flex:0 0 210px; margin:0; }
#ranking-period-controls { padding-top:14px; margin-top:14px; border-top:1px solid #ffffff0b; }
@media(max-width:600px) { .gp-mode-row { flex-wrap:wrap; } .gp-mode-row .gp-mode-tabs { flex-basis:100%; } .gp-mode-row .gp-search { flex:1 1 100%; width:100%; } }
.gp-mode-tabs::-webkit-scrollbar { display:none; }
.gp-tab,.gp-period,.gp-action { background:#ffffff04; border:1px solid #ffffff0b; color:#99adbf; border-radius:3px; padding:10px 14px; font:inherit; font-size:12px; white-space:nowrap; cursor:pointer; text-decoration:none; }
.gp-tab:hover,.gp-period:hover,.gp-action:hover { color:white; background:#ffffff09; }
.gp-tab[aria-pressed=true] { color:#07202d; background:var(--gp-cyan); border-color:var(--gp-cyan); font-weight:700; }
.gp-periods { display:flex; gap:4px; background:#090f18; padding:4px; border:1px solid #ffffff08; border-radius:4px; }
.gp-period { border-color:transparent; background:transparent; padding:8px 14px; }
.gp-period[aria-pressed=true] { color:#a6e9f5; background:#55d4ec12; border-color:#55d4ec30; }
.gp-month { display:flex; align-items:center; gap:10px; }
.gp-input { color:#d4e4ee; background:#0b141f; border:1px solid #ffffff12; border-radius:4px; min-height:38px; padding:8px 12px; font:inherit; font-size:12px; color-scheme:dark; }
.gp-input:focus { outline:none; border-color:#55d4ec88; box-shadow:0 0 0 2px #55d4ec10; }
.gp-input::placeholder { color:#7d92a7; }
.gp-month[data-active=true] .gp-input { border-color:#55d4ec66; }
.gp-search { margin-left:auto; width:min(240px,100%); }
.gp-standouts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:20px 0; }
.gp-standout { position:relative; display:flex; gap:16px; align-items:center; min-width:0; padding:22px 18px; background:linear-gradient(120deg,#142533,#101923); border:1px solid #55d4ec20; border-radius:5px; text-decoration:none; color:#eef4fa; overflow:hidden; }
.gp-standout:first-child { border-color:#55d4ec55; background:linear-gradient(120deg,#193545,#111b27); }
.gp-standout:hover { border-color:#55d4ec99; color:white; }
.gp-standout img { width:46px; height:46px; border-radius:4px; border:1px solid #ffffff18; }
.gp-standout-copy { min-width:0; flex:1; z-index:1; }
.gp-standout strong { display:block; font-size:14px; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; margin:4px 0; }
.gp-standout small { display:block; color:#9ab0c3; font-size:11px; }
.gp-position { font-size:48px; font-weight:800; color:#55d4ec18; line-height:1; position:absolute; right:12px; top:26px; }
.gp-standout .gp-eyebrow { font-size:9px; letter-spacing:1px; }
.gp-board-meta { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:24px 0 14px; }
.gp-board-meta h2 { color:#e5eef7; font-size:16px; font-weight:650; margin:0; }
.gp-table-wrap { border:1px solid #ffffff0c; border-radius:5px; overflow-x:auto; overflow-y:hidden; background:#0d1621; }
.gp-table { width:100%; border-collapse:collapse; font-size:12px; color:#9fb2c4; }
.gp-table th { font-size:9px; text-transform:uppercase; letter-spacing:1.1px; color:#7f97ad; font-weight:600; padding:17px 18px; background:#111e2b; white-space:nowrap; }
.gp-table td { padding:14px 18px; border-top:1px solid #ffffff07; white-space:nowrap; }
.gp-table tr:hover td { background:#55d4ec06; }
.gp-table .gp-player { display:flex; align-items:center; gap:12px; color:#e4edf6; text-decoration:none; font-weight:550; max-width:280px; }
.gp-player span { overflow:hidden; text-overflow:ellipsis; }
.gp-player img { width:34px; height:34px; border-radius:4px; border:1px solid #ffffff12; }
.gp-rank { color:#6d879f; font-weight:600; width:65px; text-align:center; }
.gp-top-rank { color:#8de2f1; }
.gp-stat { color:#8fe1ef; font-weight:650; }
.gp-right { text-align:right; }
.gp-center { text-align:center; }
.gp-state { border:1px solid #ffffff0b; border-radius:5px; background:#101a26; padding:42px 24px; text-align:center; }
.gp-state strong { display:block; color:#dce8f1; font-size:17px; font-weight:600; margin-bottom:8px; }
.gp-state p { margin:0 auto 18px; max-width:450px; color:var(--gp-muted); font-size:12px; line-height:1.8; }
.gp-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:14px; }
.gp-bottom p { font-size:10px; }
.cp-game-page :is(a,button,[role=button]):focus-visible { outline:2px solid #8ae5f5; outline-offset:3px; }
.cp-game-page [hidden] { display:none !important; }
/* Keep the existing skin editor's ownership checks and configuration controls. */
.cp-skin-page #skinchanger-app > .gp-cabinet { background:#101d29; border:1px solid #55d4ec1c; padding:18px; border-radius:5px; align-items:center !important; }
.cp-skin-page .gp-cabinet h2 { font-size:16px !important; font-weight:650 !important; text-transform:none !important; letter-spacing:0 !important; }
.cp-skin-page #cabinet-avatar { width:42px !important; height:42px !important; border-width:1px !important; border-radius:4px !important; }
.cp-skin-page #cabinet-subtext { font-size:11px; }
.cp-skin-page #view-header { gap:14px; flex-wrap:wrap; padding-bottom:14px !important; margin-bottom:18px !important; border-color:#ffffff0e !important; }
.cp-skin-page #view-title { font-size:15px !important; font-weight:600 !important; letter-spacing:.5px; }
.cp-skin-page #view-title svg { width:18px; height:18px; }
.cp-skin-page .gp-inventory-tools { display:flex; align-items:center; gap:12px; margin-left:auto; }
.cp-skin-page .gp-inventory-tools input { width:200px; }
.cp-skin-page #dynamic-container { --bs-gutter-x:12px; --bs-gutter-y:12px; }
.cp-skin-page .equipment-card,.cp-skin-page .skin-card { background:#111c29; border:1px solid #ffffff0e; border-radius:5px; box-shadow:none; }
.cp-skin-page .equipment-card { aspect-ratio:auto; width:100%; min-width:0; min-height:190px; }
.cp-skin-page .equipment-card > .flex-grow-1 { min-height:0; }
.cp-skin-page .equipment-card:hover,.cp-skin-page .skin-card:hover { transform:translateY(-2px); background:#162636; box-shadow:none !important; }
.cp-skin-page .equipment-card:hover img { transform:scale(1.04); }
.cp-skin-page .equipment-title-container { flex-shrink:0; text-align:left; padding:12px; background:#0d1621; border-color:#ffffff08; }
.cp-skin-page .equipment-title-container > div:first-child { font-size:12px !important; letter-spacing:0 !important; }
.cp-skin-page .equipment-title-container > div:last-child { font-size:10px !important; }
.cp-skin-page .equipment-card:hover .equipment-title-container { background:#101c29; }
.cp-skin-page .equipment-card.show-all-box { background:linear-gradient(145deg,#152c3b,#0f1a27); border:1px dashed #55d4ec50; }
.cp-skin-page .show-all-box .text-warning { color:#7bdaed !important; }
.cp-skin-page .skin-image-container { background:radial-gradient(ellipse at 50% 30%,#25384988,transparent 75%); aspect-ratio:1.3; }
.cp-skin-page .skin-rarity-line { height:2px; box-shadow:none !important; }
.cp-skin-page .skin-info { padding:12px; background:#0d1621; }
.cp-skin-page .skin-badge { font-weight:650; font-size:8px; letter-spacing:.5px; box-shadow:none; border-radius:2px; padding:4px 6px; }
.cp-skin-page :is(.equipped-both,.equipped-t,.equipped-ct) { box-shadow:none !important; }
.cp-skin-page .modal-content-glass { background:#101b28 !important; border:1px solid #294052 !important; border-radius:6px; box-shadow:0 25px 70px #0008; }
.cp-skin-page .modal-title,.cp-skin-page #configureModal h4 { font-size:17px; font-weight:650 !important; letter-spacing:0 !important; text-transform:none !important; }
.cp-skin-page #configureModal .col-md-7 { padding:26px !important; }
.cp-skin-page .input-glass { background:#0b1420; border-color:#ffffff14; color:#e4edf6; border-radius:4px !important; font-size:12px; }
.cp-skin-page .cat-pill,.cp-skin-page .btn-back-view,.cp-skin-page .modal-weapon-btn { border-radius:3px; background:#ffffff04; border:1px solid #ffffff12; color:#a5bbce; font-size:12px; box-shadow:none; }
.cp-skin-page .cat-pill.active { background:#55d4ec15; color:#92e4f2; border-color:#55d4ec50; }
.cp-skin-page .sticker-slot { border-radius:4px !important; background:#0c1622; }
.cp-skin-page #auth-wall { min-height:300px; height:auto !important; padding:36px 24px !important; margin:0 !important; border-radius:5px; border:1px solid #55d4ec25; background:linear-gradient(110deg,#142939ee,#101925ee),url('/assets/images/index/dust2.jpg') center/cover; }
.cp-skin-page #auth-wall h2 { text-transform:none !important; font-size:23px !important; font-weight:650 !important; }
.cp-skin-page #auth-wall > svg { color:#82dbea !important; width:40px !important; height:40px !important; }
.cp-skin-page #vip-lock-overlay { border-radius:5px !important; padding:28px; }
.cp-skin-page #vip-lock-overlay h2 { font-size:24px; font-weight:650 !important; text-transform:none !important; }
.cp-skin-page #vip-lock-overlay a { border-radius:4px !important; }
.cp-skin-page .toast-custom { background:#132431; border:1px solid #55d4ec40; border-radius:5px; }
@media(max-width:1000px) { .gp-standout { padding:18px 12px; gap:10px; } .gp-standout img { width:34px; height:34px; } .gp-standout strong { font-size:12px; } .gp-hide-md { display:none; } }
@media(max-width:767px) {
 .cp-game-layout { flex-direction:column; height:100dvh !important; }
 .cp-game-layout .sidebar-custom { width:100%; display:grid !important; grid-template-columns:1fr auto; border-right:0; border-bottom:1px solid #0c4a6e4d; }
 .cp-game-layout .sidebar-custom > .flex-grow-1 { display:contents; }
 .cp-game-layout .sidebar-custom > .flex-grow-1 > .border-bottom { grid-column:1; grid-row:1; flex-direction:row !important; justify-content:flex-start !important; padding:10px 12px !important; margin:0 !important; border:0 !important; gap:8px !important; }
 .cp-game-layout .sidebar-custom img[src*="coldpeek_logo"] { width:34px !important; }
 .cp-game-layout .sidebar-custom a.fs-4 { font-size:15px !important; }
 .cp-game-layout .sidebar-custom > .border-top { grid-column:2; grid-row:1; padding:10px !important; border:0 !important; }
 .cp-game-layout .sidebar-custom > .border-top > div { gap:16px; }
 .cp-game-layout .sidebar-custom nav { grid-column:1 / -1; flex-direction:row !important; overflow:auto; padding-bottom:8px; scrollbar-width:none; }
 .cp-game-layout .sidebar-custom nav::-webkit-scrollbar { display:none; }
 .cp-game-layout .sidebar-custom nav > * { flex-shrink:0; }
 .cp-game-layout .sidebar-custom .nav-link-custom { font-size:12px; gap:6px; padding:8px 10px; }
 .cp-game-layout #cp-online-box { grid-column:1 / -1; margin-bottom:8px !important; }
 .gp-wrap { padding:24px 16px 40px; }
}
@media(max-width:600px) {
 .gp-heading { margin-bottom:20px; gap:12px; } .gp-heading > .gp-tag { display:none; }
 .gp-filters { padding:12px; } .gp-search { width:100%; margin:0; } .gp-month { flex:1; justify-content:end; } .gp-month > .gp-label { display:none; }
 .gp-period { padding:8px 10px; } .gp-month input { width:145px; padding:8px; }
 .gp-standouts { gap:8px; } .gp-standout { display:block; padding:14px 10px; } .gp-standout img { margin-bottom:10px; } .gp-standout small { font-size:10px; } .gp-position { top:14px; font-size:36px; }
 .gp-table td,.gp-table th { padding:12px 10px; } .gp-table .gp-player { gap:8px; max-width:170px; } .gp-hide-sm { display:none; }
 .gp-board-meta,.gp-bottom { flex-wrap:wrap; gap:8px; } .cp-skin-page .gp-inventory-tools { width:100%; margin:0; } .cp-skin-page .gp-inventory-tools input { flex:1; min-width:0; }
}
@media(prefers-reduced-motion:reduce) { .cp-game-page *, .cp-game-page *::before { transition:none !important; animation:none !important; } }
