/*
 * ============================================================================
 *  KOLEKSİYONLAR — TASARIM      Yol: /modules/koleksiyon/koleksiyon.css      Önek: .szkl-
 *  Kart (4'lü afiş kolajı), keşfet, koleksiyon sayfası (kapaklı üst alan + sıralı liste),
 *  "Koleksiyona ekle" penceresi, oluştur/düzenle formu
 * ============================================================================
 */
.szkl-muted { color: var(--sz-muted); font-size: 14px; margin: 4px 0 0; }
.szkl-page { padding-top: 22px; padding-bottom: 50px; }
.szkl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 46%), 1fr)); gap: 18px; }

.szkl-card { display: grid; gap: 10px; min-width: 0; color: var(--sz-text); }
.szkl-cover { position: relative; display: grid; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, var(--sz-surface-2), var(--sz-surface-3)); border: 1px solid var(--sz-line); gap: 2px; }
.szkl-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--sz-ease); }
.szkl-cover--2, .szkl-cover--4 { grid-template-columns: 1fr 1fr; }
.szkl-cover--3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; } .szkl-cover--3 img:first-child { grid-row: span 2; }
.szkl-cover--4 { grid-template-rows: 1fr 1fr; }
.szkl-cover > i { display: grid; place-items: center; color: var(--sz-muted); } .szkl-cover > i .sz-ico { width: 40px; height: 40px; }
.szkl-cover em { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); font-style: normal; font-size: 12.5px; font-weight: 800; color: #fff; }
.szkl-cover em .sz-ico { width: 14px; height: 14px; }
.szkl-vis { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.7); }
.szkl-vis .sz-ico { width: 15px; height: 15px; }
.szkl-card:hover .szkl-cover img { transform: scale(1.05); }
.szkl-card__b { display: grid; gap: 3px; min-width: 0; }
.szkl-card__b b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.szkl-card__b small { display: inline-flex; align-items: center; gap: 4px; color: var(--sz-muted); font-size: 13px; white-space: nowrap; overflow: hidden; }
.szkl-card__b small .sz-ico { width: 13px; height: 13px; }
.szkl-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 210px); gap: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain; }
.szkl-strip::-webkit-scrollbar { display: none; }

/* keşfet */
.szkl-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.szkl-tabs { display: flex; gap: 6px; }
.szkl-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--sz-line); color: var(--sz-text-2); font-weight: 700; font-size: 14px; }
.szkl-tabs a .sz-ico { width: 16px; height: 16px; }
.szkl-tabs a.is-active { background: var(--sz-primary-soft); border-color: rgba(123,92,255,.4); color: #fff; }
.szkl-search { flex: 1; min-width: 200px; max-width: 380px; }

/* koleksiyon sayfası */
.szkl-hero { position: relative; padding: calc(var(--sz-header-h) + 46px) 0 34px; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--sz-line); }
.szkl-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--szkl-bg, none) center 25% / cover no-repeat, radial-gradient(circle at 20% 0, rgba(123,92,255,.35), transparent 60%), var(--sz-bg-2); filter: saturate(1.1); }
.szkl-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--sz-bg) 0%, rgba(6,6,10,.82) 45%, rgba(6,6,10,.55) 100%); }
.szkl-hero__in { display: grid; gap: 12px; max-width: 900px; }
.szkl-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #c9b8ff; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.szkl-kicker .sz-ico { width: 16px; height: 16px; }
.szkl-hero h1 { margin: 0; font-size: clamp(28px, 5vw, 48px); line-height: 1.05; letter-spacing: -.02em; }
.szkl-descr { margin: 0; color: var(--sz-text-2); font-size: 16px; line-height: 1.6; max-width: 720px; }
.szkl-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: 4px 0 0; color: var(--sz-text-2); font-size: 14px; }
.szkl-meta > span { display: inline-flex; align-items: center; gap: 6px; } .szkl-meta .sz-ico { width: 16px; height: 16px; color: var(--sz-muted); }
.szkl-owner { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.szkl-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--sz-grad); font-weight: 800; font-size: 13px; }
.szkl-av img { width: 100%; height: 100%; object-fit: cover; }
.szkl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.szkl-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 45%), 1fr)); gap: 20px 16px; }
.szkl-it { position: relative; display: grid; gap: 6px; min-width: 0; }
.szkl-it__n { position: absolute; left: -6px; top: -8px; z-index: 3; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 9px; display: grid; place-items: center; background: var(--sz-grad); color: #fff; font-weight: 900; font-size: 13px; box-shadow: var(--sz-shadow); }
.szkl-it__note { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--sz-surface); border: 1px solid var(--sz-line); color: var(--sz-text-2); font-size: 13px; line-height: 1.45; font-style: italic; }
.szkl-it__note[hidden] { display: none; }
.szkl-it__tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.szkl-it__tools button { height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--sz-surface-2); border: 1px solid var(--sz-line); color: var(--sz-text-2); }
.szkl-it__tools button:hover { color: #fff; background: var(--sz-surface-3); }
.szkl-it__tools .sz-ico { width: 15px; height: 15px; }
.szkl-noteedit { display: flex; gap: 6px; } .szkl-noteedit .sz-input { min-width: 0; height: 36px; font-size: 13px; }

/* pencere + form */
.szkl-modal .sz-modal__box { max-width: 460px; width: calc(100% - 32px); }
.szkl-modal h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 19px; }
.szkl-modal h3 .sz-ico { color: var(--sz-primary); }
.szkl-mlist { display: grid; gap: 6px; max-height: 46vh; overflow-y: auto; margin-bottom: 14px; }
.szkl-mi { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--sz-surface-2); cursor: pointer; }
.szkl-mi input { width: 20px; height: 20px; accent-color: var(--sz-primary); flex: none; }
.szkl-mi span { display: grid; min-width: 0; } .szkl-mi b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.szkl-mi small { display: inline-flex; align-items: center; gap: 5px; color: var(--sz-muted); font-size: 12.5px; }
.szkl-mi small .sz-ico { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.szkl-new { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-top: 12px; border-top: 1px solid var(--sz-line); }
.szkl-new .sz-input { grid-column: 1 / -1; }
.szkl-form { display: grid; gap: 14px; }
.szkl-vis-opts { display: grid; gap: 8px; }
.szkl-vis-opts label { cursor: pointer; }
.szkl-vis-opts input { position: absolute; opacity: 0; pointer-events: none; }
.szkl-vis-opts span { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--sz-line); background: var(--sz-surface-2); }
.szkl-vis-opts span .sz-ico { grid-row: span 2; width: 20px; height: 20px; color: var(--sz-muted); }
.szkl-vis-opts small { color: var(--sz-muted); font-size: 12.5px; }
.szkl-vis-opts input:checked + span { border-color: var(--sz-primary); background: var(--sz-primary-soft); }
.szkl-vis-opts input:checked + span .sz-ico { color: var(--sz-primary); }
.szkl-vis-opts input:focus-visible + span { outline: 2px solid var(--sz-primary); }
.szkl-form__a { display: flex; justify-content: space-between; gap: 8px; } .szkl-form__a .sz-btn--primary { margin-left: auto; }
.szkl-del { color: #ff8095; }
.szkl-minehead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.szkl-minehead h2 { margin: 0; font-size: 22px; } .szkl-minehead small { color: var(--sz-muted); font-size: 14px; }
.szkl-sub { display: flex; align-items: center; gap: 8px; margin: 34px 0 14px; font-size: 19px; } .szkl-sub .sz-ico { color: var(--sz-accent); }

@media (max-width: 640px) {
  .szkl-hero { padding-top: calc(var(--sz-header-h) + 26px); }
  .szkl-search { max-width: none; flex-basis: 100%; }
  .szkl-actions .sz-btn { flex: 1; }
  .szkl-grid { gap: 14px; }
}
