/* Modül: skins — yeni skin seçici (/skinler, /skin/<ad>), pro setleri, presetler, yönetim: /yonetim/setler. */
.sk { gap: 22px; }
.sk-head { align-items: flex-end; }
.sk-teambox { min-height: 46px; }
.sk-same { font-size: 14px; color: var(--muted); }
.sk-apply {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; padding: 14px 18px;
  border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-md);
  background: linear-gradient(90deg, rgba(255, 91, 46, .09), rgba(15, 19, 27, .92));
  box-shadow: var(--rim); color: var(--text); font-size: 15px;
}
.sk-apply-lbl { font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.sk-login {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 26px;
  border: 1px solid rgba(255, 91, 46, .38); border-radius: var(--r-lg);
  background: radial-gradient(420px 160px at 10% 0%, rgba(255, 91, 46, .14), transparent 70%), var(--card-bg);
  box-shadow: var(--rim), var(--shadow-md);
}
.sk-login > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.sk-login p { margin: 0; }

/* Renkli smoke kutusu (/vip/smoke'a gider) */
.sk-smoke { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: rgba(13, 17, 25, .82); color: var(--text); text-decoration: none; transition: border-color .15s; }
.sk-smoke:hover, .sk-smoke:focus-visible { border-color: var(--accent); }
.sk-smoke svg { flex: none; width: 48px; height: 32px; }
.sk-smoke-c circle:nth-child(1) { fill: #8b5cf6; } .sk-smoke-c circle:nth-child(2) { fill: #2f6fed; }
.sk-smoke-c circle:nth-child(3) { fill: #22c55e; } .sk-smoke-c circle:nth-child(4) { fill: #ef4444; opacity: .85; }
.sk-smoke > span:nth-of-type(1) { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sk-smoke strong { font-family: var(--cond); font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.sk-smoke .muted { font-size: 14px; }
.sk-smoke-go { flex: none; font-family: var(--cond); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
@media (max-width: 560px) { .sk-smoke-go { display: none; } }

/* Kategori sekmeleri */
.sk-tabs {
  display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 4px;
  padding: 6px 8px 0; border: 1px solid var(--line); border-radius: var(--r-md);
  background: rgba(13, 17, 25, .82); box-shadow: var(--rim);
  scrollbar-width: thin; scrollbar-color: var(--line2) transparent;
}
.sk-tabs .tab { flex: none; white-space: nowrap; }
.sk-searchrow { align-items: flex-end; justify-content: flex-start; }
.sk-search { flex: 1 1 280px; max-width: 520px; }
.sk-grid { margin-top: 4px; }

/* Silah kartı */
.sk-w span.nm { display: flex; flex-direction: column; gap: 3px; }
.sk-wn { font-family: var(--cond); font-weight: 700; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.sk-ws { font-size: 13px; font-weight: 500; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk-ws.set { color: var(--accent); font-weight: 600; }
.sk-w[aria-pressed="true"] { border-color: var(--accent); }
.sk-star { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; fill: var(--gold); filter: drop-shadow(0 0 6px rgba(240, 185, 66, .45)); }

/* Seçili silah paneli */
.sk-panel { display: flex; flex-direction: column; gap: 18px; }
.sk-phead {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--card-bg); box-shadow: var(--rim);
}
.sk-phead .h2 { font-size: 34px; }
.sk-phead .h2:focus { outline: none; }
.sk-types { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.sk-type {
  flex: none; min-height: 40px; padding: 0 15px; border: 1px solid var(--line2); border-radius: 999px;
  background: rgba(15, 19, 27, .85); font-weight: 600; font-size: 14px; white-space: nowrap; cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.sk-type:hover { border-color: var(--muted); color: var(--text); }
.sk-type[aria-pressed="true"] { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #090b10; border-color: transparent; box-shadow: 0 4px 14px rgba(255, 91, 46, .35); }
.sk-msg { margin: 0; min-height: 1.2em; font-size: 14px; color: var(--muted); }
.sk-msg:empty { display: none; }
.sk-row2 { justify-content: space-between; }
.sk-fav { gap: 8px; }
.sk-fav .sk-star { fill: none; stroke: var(--gold); stroke-width: 1.6; width: 16px; height: 16px; }
.sk-fav[aria-pressed="true"] .sk-star { fill: var(--gold); }
.sk-short { min-height: 0; display: inline; word-break: break-all; }

/* Pro setleri */
.sk-pros { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.sk-pro {
  display: flex; flex-direction: column; gap: 14px; padding: 22px;
  border-top: 3px solid var(--accent); border-radius: var(--r-lg);
  background: radial-gradient(320px 160px at 90% 0%, rgba(255, 91, 46, .1), transparent 72%), var(--card-bg);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.sk-pro:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: var(--rim), var(--shadow-md); }
.sk-pro-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sk-pro-h .h2 { margin-top: 4px; }
.sk-pro-h p.muted { margin: 4px 0 0; }
.sk-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sk-strip li {
  display: flex; flex-direction: column; gap: 4px; padding: 8px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .07), transparent 70%), rgba(7, 9, 14, .7);
  font-size: 12px; line-height: 1.3; min-width: 0;
}
.sk-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }
.sk-strip li > span { overflow-wrap: anywhere; }
.sk-parts summary { cursor: pointer; font-weight: 600; min-height: 32px; color: var(--muted); }
.sk-parts summary:hover { color: var(--text); }
.sk-parts ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; columns: 2 200px; }
.sk-pro .tag.sm { margin-left: 4px; }

/* Presetler */
.sk-pre-new { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; padding: 18px 22px; border-top: 3px solid var(--accent); }
.sk-pre-new .field { flex: 1 1 240px; max-width: 360px; }
.sk-pres { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sk-pre { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 18px; transition: border-color .15s; }
.sk-pre:hover { border-color: var(--line2); }
.sk-pre > img, .sk-pre > .noimg {
  width: 96px; height: 72px; border-radius: var(--r-sm); object-fit: contain; flex: none;
  display: grid; place-items: center; color: var(--dim); font-size: 12px;
  background: radial-gradient(circle, rgba(255, 255, 255, .08), rgba(7, 9, 14, .85));
  border: 1px solid var(--line);
}
.sk-pre-t { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sk-pre-t strong { font-family: var(--cond); font-size: 24px; letter-spacing: .04em; text-transform: uppercase; overflow-wrap: anywhere; }
.sk-ren { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }

/* Yönetim: oyuncu setleri */
.ps-form { display: flex; flex-direction: column; gap: 16px; padding: 22px; }
.ps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 16px; }
.ps-shown { max-width: 260px; }
.ps-items { margin: 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.ps-item { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.ps-item .field { flex: 0 1 150px; min-width: 0; }
.ps-item .ps-wide { flex: 1 1 220px; }
.ps-item select.input { width: 100%; }

@media (max-width: 760px) {
  .sk-phead .h2 { font-size: 30px; }
  .sk-search { max-width: none; }
  .sk-pros { grid-template-columns: minmax(0, 1fr); }
  .sk-login { padding: 18px; }
  .sk-login .btn.big { width: 100%; }
  .sk-pre .btns { width: 100%; }
}
@media (max-width: 420px) {
  .sk .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sk-wn { font-size: 17px; }
}
.sk-dteam { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 8px 0 4px; }
.sk-dteam .seg button { min-height: 36px; }

/* Ek kozmetikler: anahtarlık (silah ayarlarında), sprey listesi, VIP'e özel ajan */
.sk-charm { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.sk-charm .label { margin: 0; }
.sk-charm-row { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.sk-charm-row .field { flex: 1 1 150px; min-width: 0; }
.sk-charm-row select.input { width: 100%; }
.sk-charm select:disabled { opacity: .55; }
.sk-charm .btn { align-self: flex-start; }

/* Sticker: 5 yuva + arama sonuçları (skins.js stickerBox) */
.sk-stk { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.sk-stk .label { margin: 0; }
.stk-slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.stk-slot { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; min-width: 0; padding: 4px;
  border: 1px dashed var(--line2); border-radius: var(--r-sm); background: var(--surface); color: var(--muted); cursor: pointer; }
.stk-slot img { width: 100%; height: 100%; object-fit: contain; }
.stk-slot.on { border: 1px solid var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.stk-slot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.stk-n { font-family: var(--cond); font-weight: 700; font-size: 18px; color: var(--dim); }
.stk-cur { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-height: 34px; font-size: 14px; }
.stk-cur strong { overflow-wrap: anywhere; }
.stk-cur .btn { min-height: 30px; padding: 0 10px; }
.stk-res { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; max-height: 300px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.stk-res > .note { grid-column: 1 / -1; margin: 4px 0; }
.stk-it { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 6px 4px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: var(--surface); color: var(--text); font-size: 12px; line-height: 1.2; cursor: pointer; text-align: center; }
.stk-it:hover, .stk-it:focus-visible { border-color: var(--accent); }
.stk-it img { width: 80px; height: 60px; object-fit: contain; }
.stk-it span { width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.sk-stk .btns .btn { align-self: flex-start; }
.sk-stk .unsaved[hidden] { display: none; }

/* Skin ayar penceresi: skine basınca açılır (skins.js openSheet). Geniş ekranda ortada iki sütun; dar ekranda alttan çıkan sayfa (app.css). */
.sk-picker .dt-r { display: flex; flex-direction: column; min-width: 0; }
.sk-picker .dt-h { margin: 6px 0 0; }
.sk-picker .dt-short { margin: 0; padding: 0 18px 16px; }
.sk-picker .dt-act { position: sticky; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 6px; padding: 12px 18px 14px;
  background: var(--surface-2); border-top: 1px solid var(--line); }
.sk-picker .dt-act .sk-msg:empty { display: none; }
.sk-picker .dt-act .note { margin: 0; }
#open-sheet { display: inline-flex; margin-left: auto; }
@media (min-width: 1101px) {
  .sk-picker .grid-area { flex: 1 1 100%; }
  .sk-picker .detail {
    position: fixed; z-index: 40; left: 50%; top: 50%; width: min(980px, 94vw); max-height: 90vh; max-height: 90dvh;
    transform: translate(-50%, -47%); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .18s ease, opacity .18s ease, visibility 0s .18s; box-shadow: 0 24px 60px rgba(0, 0, 0, .65);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .sk-picker .detail.open { transform: translate(-50%, -50%); opacity: 1; visibility: visible; pointer-events: auto; transition: transform .18s ease, opacity .18s ease; }
  .sk-picker .sheet-bg { display: block; position: fixed; inset: 0; z-index: 39; background: rgba(8, 7, 6, .72); opacity: 0; pointer-events: none; transition: opacity .18s; }
  .sk-picker .sheet-bg.open { opacity: 1; pointer-events: auto; }
  .sk-picker .sheet-bar { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center;
    padding: 10px 14px 10px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
  .sk-picker .dt { display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: start; }
  .sk-picker .dt-l { position: sticky; top: 52px; border-right: 1px solid var(--line); }
  .sk-picker .dt-l .pv { height: 240px; }
  .sk-picker .dt-r { padding-top: 6px; }
  html.sheet-open { overflow: hidden; }
}
/* aşınma: skinde olmayan seviye düğmesi (static/floats.json aralığı dışında) */
.presets button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.sk-frange { margin: 6px 0 0; }
.sk-frange-h { margin-left: 8px; padding: 1px 7px; border: 1px solid var(--accent); border-radius: var(--r-sm); font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); }
.sk-frange-h.dim { border-color: var(--line2); color: var(--dim); }
.sk-vip {
  margin: 0; padding: 12px 16px; border: 1px solid rgba(240, 185, 66, .45); border-left: 3px solid var(--gold);
  border-radius: var(--r-md); background: rgba(240, 185, 66, .08); font-size: 15px;
}
.sk-lock { opacity: .5; cursor: not-allowed; }
.sk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-chip {
  min-height: 40px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 999px;
  background: rgba(15, 19, 27, .85); color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: border-color .15s, background-color .15s, color .15s;
}
.sk-chip:hover { border-color: var(--muted); }
.sk-chip[aria-pressed="true"] { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #090b10; border-color: transparent; }
.sk-chip:disabled { opacity: .5; cursor: not-allowed; }
.skin:disabled { cursor: not-allowed; }

/* Renk setleri sekmesi: kartın üstünde setin rengi (şerit + ince sol kenar); renk yalnız sınıfla, satır içi stil yok */
.sk-color { position: relative; overflow: hidden; padding-top: 22px; --rc: var(--line2); --rc2: var(--line2); }
.sk-color .rc-band { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--rc), var(--rc2)); }
.sk-color::after { content: ""; position: absolute; left: 0; top: 6px; bottom: 0; width: 2px; background: var(--rc); opacity: .55; }
.sk-color .eyebrow { color: var(--rc); }
.sk-color:hover { border-color: var(--rc); }
.sk-color { border-top-color: var(--rc); background-image: none; }
.rc-beyaz { --rc: #e9e6e1; --rc2: #a9a6a1; }
.rc-siyah { --rc: #5b5852; --rc2: #1c1b19; }
.rc-mavi { --rc: #4d8fe8; --rc2: #1f4f9c; }
.rc-kirmizi { --rc: #e5483a; --rc2: #8c1d16; }
.rc-yesil { --rc: #4fbf73; --rc2: #1d6b3a; }
.rc-altin { --rc: #e2b448; --rc2: #8f6a1c; }
.rc-mor { --rc: #b36be0; --rc2: #e0609f; }
.rc-diger { --rc: var(--accent); --rc2: var(--accent-2); }

/* Sprey sekmesi: görselli kartlar (önceden yalnız ad yazan çipler) */
.sk-grs { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }
.sk-gr img, .sk-gr .noimg { aspect-ratio: 1 / 1; padding: 14px; }
.sk-gr img { background: repeating-conic-gradient(rgba(255, 255, 255, .025) 0 25%, transparent 0 50%) 0 0 / 16px 16px; }
.sk-gr .nm { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk-gr-ini { font-family: var(--cond); font-weight: 700; font-size: 34px; color: var(--faint); }
.sk-gr-none { font-size: 40px; color: var(--faint); }
.sk-gr[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.sk-gr:disabled { opacity: .5; cursor: not-allowed; }

/* Renkli klasik spreyler: yalnız gösterim (seçim oyunda !sprey) */
.sk-gr-t { cursor: default; }
.sk-gr-t:hover { border-color: var(--line); }
.sk-gr-tag { position: absolute; top: 6px; right: 6px; color: var(--muted); }

/* Steam grubu şartı kutusu */
.sk-group { border-left: 3px solid var(--accent); }
