/* ===== Truva Club ekranı: Club kasası, avantajlar, profil tasarımı, kendi sadakat uygulaması ===== */
.cl-lede { margin: 0 0 14px; max-width: 72ch; color: var(--subtext); font-size: 14px; line-height: 1.5; }
.cl-lede b { color: var(--text); }
.cl-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 980px) { .cl-grid { grid-template-columns: 1fr; } }

/* Club kasası */
.cl-code-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.cl-code { flex: 1; min-width: 0; height: 64px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); padding: 0 18px;
  font-size: 32px; font-weight: 700; letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--text); }
.cl-code:focus { outline: 2px solid var(--accent); outline-offset: 1px; background: var(--surface); }
.cl-code-row .rk-btn { height: 64px; min-width: 120px; border-radius: 16px; font-size: 15px; }
.cl-member { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.cl-mh { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cl-mh > div { flex: 1; min-width: 0; }
.cl-mh b { font-size: 18px; }
.cl-av { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 18px; }
.cl-exp { color: var(--subtext); font-size: 12px; }
.cl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cl-tag { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text); }
.cl-tag b { font-size: 12px; }
.cl-tag.new { background: color-mix(in srgb, var(--success) 14%, var(--surface)); color: var(--success); font-weight: 600; }
.cl-tag.bd { background: color-mix(in srgb, #E8A100 16%, var(--surface)); color: #8A5A00; font-weight: 600; }
.cl-prog { display: grid; gap: 6px; }
.cl-prog small { color: var(--subtext); }
.cl-prog i { display: block; height: 8px; border-radius: 8px; background: var(--surface-2); position: relative; overflow: hidden; }
.cl-prog i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--accent); border-radius: 8px; }
.cl-cf { display: grid; gap: 12px; }
.cl-chk { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; cursor: pointer; }
.cl-chk input { width: 18px; height: 18px; accent-color: var(--accent); }
.cl-chk.big { font-size: 15px; font-weight: 600; margin: 4px 0 12px; }
.cl-pick { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.cl-pick legend { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--subtext); margin-bottom: 6px; }
.cl-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; background: var(--surface); }
.cl-opt:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.cl-opt.off { opacity: .55; cursor: not-allowed; }
.cl-opt input { accent-color: var(--accent); }
.cl-opt > span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.cl-opt small { color: var(--subtext); font-size: 12px; }
.cl-opt em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.cl-log { list-style: none; margin: 0; padding: 0; display: grid; }
.cl-log li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; align-items: baseline; }
.cl-log li:first-child { border-top: 0; }
.cl-log b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cl-log small { color: var(--subtext); }

/* Avantajlar */
.cl-perks { display: grid; gap: 8px; margin-top: 10px; }
.cl-perk { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; }
.cl-perk.off { opacity: .6; }
.cl-perk-t { display: grid; gap: 2px; min-width: 0; }
.cl-perk-t small { color: var(--subtext); font-size: 12px; }
.cl-perk-t span { font-size: 13px; }
.cl-perk-n { text-align: right; display: grid; }
.cl-perk-n b { font-size: 18px; font-variant-numeric: tabular-nums; }
.cl-perk-n small { font-size: 11px; color: var(--subtext); }
.cl-perk-a { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 700px) { .cl-perk { grid-template-columns: 1fr auto; } .cl-perk-a { grid-column: 1 / -1; justify-content: flex-start; } }
.cl-pf { display: grid; gap: 12px; }
.cl-sub { font-size: 13px; font-weight: 600; } .cl-sub small { color: var(--subtext); font-weight: 400; }

/* Profil tasarımı */
.cl-look { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.cl-look-l { display: grid; gap: 14px; min-width: 0; }
.cl-look-r { position: sticky; top: 12px; display: grid; gap: 8px; justify-items: center; }
@media (max-width: 1100px) { .cl-look { grid-template-columns: 1fr; } .cl-look-r { position: static; } }
.cl-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.cl-mode, .cl-lay, .cl-font { cursor: pointer; }
.cl-mode input, .cl-lay input, .cl-font input { position: absolute; opacity: 0; pointer-events: none; }
.cl-mode > span { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--border); border-radius: 14px; height: 100%; box-sizing: border-box; }
.cl-mode small { color: var(--subtext); font-size: 12.5px; line-height: 1.45; }
.cl-mode:has(input:checked) > span, .cl-lay:has(input:checked) .cl-lay-art, .cl-font:has(input:checked) > span { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.cl-mode:has(input:focus-visible) > span, .cl-lay:has(input:focus-visible) .cl-lay-art, .cl-font:has(input:focus-visible) > span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cl-layouts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cl-lay { display: grid; gap: 8px; position: relative; }
.cl-lay-art { display: block; position: relative; aspect-ratio: 3 / 4; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); overflow: hidden; }
.cl-lay-art i { position: absolute; inset: 0 0 auto 0; height: 38%; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent)); }
.cl-lay-art b { position: absolute; left: 50%; top: 30%; width: 22%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #fff; border: 2px solid var(--surface-2); }
.cl-lay-art em { position: absolute; left: 20%; right: 20%; height: 6px; border-radius: 4px; background: rgba(18,20,26,.16); top: 56%; }
.cl-lay-art em + em { top: 64%; left: 30%; right: 30%; background: rgba(18,20,26,.09); }
.cl-lay-art.cinema i { height: 72%; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 70%, #fff), color-mix(in srgb, var(--accent) 60%, #000)); }
.cl-lay-art.cinema b { left: 10%; top: 44%; transform: none; width: 16%; }
.cl-lay-art.cinema em { top: 60%; left: 10%; right: 40%; background: rgba(255,255,255,.85); }
.cl-lay-art.cinema em + em { top: 66%; left: 10%; right: 55%; background: rgba(255,255,255,.55); }
.cl-lay-art.editorial i { height: 30%; }
.cl-lay-art.editorial b { left: 10%; top: 23%; transform: none; width: 18%; }
.cl-lay-art.editorial em { left: 10%; right: 25%; height: 10px; top: 46%; background: rgba(18,20,26,.3); }
.cl-lay-art.editorial em + em { top: 55%; left: 10%; right: 75%; height: 3px; background: var(--accent); }
.cl-lay-art.compact i { height: 22%; }
.cl-lay-art.compact b { top: 13%; width: 26%; }
.cl-lay-art.compact em { top: 44%; }
.cl-lay-art.compact em + em { top: 51%; }
.cl-lay-t { display: grid; gap: 2px; } .cl-lay-t small { color: var(--subtext); font-size: 12px; line-height: 1.4; }
.cl-fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.cl-font { position: relative; }
.cl-font > span { display: grid; justify-items: center; gap: 2px; padding: 14px 8px; border: 1px solid var(--border); border-radius: 14px; }
.cl-font b { font-size: 30px; font-weight: 600; line-height: 1; }
.cl-font small { font-size: 12px; color: var(--subtext); }
.cl-since { max-width: 200px; }
.cl-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.cl-ph { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; background: var(--surface-2) center / cover no-repeat; border: 1px solid var(--border); }
.cl-ph button { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 16px; cursor: pointer; }
.cl-ph.add { display: flex; align-items: center; justify-content: center; cursor: pointer; border-style: dashed; color: var(--accent); font-weight: 600; font-size: 13px; }
.cl-ph.add:hover { background: var(--accent-soft); }
.cl-hl { max-height: 220px; overflow: auto; }
.cl-save { position: sticky; bottom: 12px; z-index: 2; }
.cl-steps { margin: 4px 0 10px; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; max-width: 72ch; }

/* Önizleme: telefon */
.cl-phone { --vb: #3D7BEF; --vf: 'Inter', system-ui, sans-serif; width: 300px; max-width: 100%; height: 600px; border-radius: 38px; border: 8px solid #12141A; background: #fff; overflow: hidden; position: relative;
  box-shadow: 0 24px 60px -20px rgba(18,20,26,.4); display: flex; flex-direction: column; color: #111; }
.clp-hero { position: relative; height: 150px; flex-shrink: 0; background: linear-gradient(160deg, color-mix(in srgb, var(--vb) 80%, #fff), var(--vb)) center / cover no-repeat; }
.clp-mark { position: absolute; left: 50%; bottom: -32px; transform: translateX(-50%); width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 3px solid #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; color: var(--vb); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.clp-mark img { width: 100%; height: 100%; object-fit: cover; }
.clp-txt { padding: 40px 16px 6px; text-align: center; }
.clp-name { font-family: var(--vf); font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.clp-sub { font-size: 12px; color: #6E6E73; margin-top: 4px; }
.clp-body { flex: 1; overflow: hidden; padding: 8px 16px 0; display: grid; align-content: start; gap: 9px; }
.clp-about { margin: 0; font-family: var(--vf); font-size: 12.5px; line-height: 1.5; }
.clp-about small { display: block; font-family: 'Inter', system-ui, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--vb); margin-bottom: 2px; }
.clp-am { display: flex; flex-wrap: wrap; gap: 5px; }
.clp-am span { font-size: 10px; padding: 4px 8px; border-radius: 999px; background: #F2F2F2; }
.clp-h { font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #6E6E73; margin-top: 4px; }
.clp-perk { display: flex; align-items: center; gap: 8px; padding: 7px; border: 1px solid rgba(0,0,0,.08); border-radius: 11px; font-size: 11.5px; }
.clp-perk i { font-style: normal; width: 32px; height: 32px; border-radius: 9px; background: var(--vb); color: #fff; font-weight: 800; font-size: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.clp-perk b { font-family: var(--vf); font-weight: 600; }
.clp-hl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.clp-hl span { font-size: 10.5px; font-family: var(--vf); display: grid; gap: 3px; }
.clp-hl i { display: block; aspect-ratio: 1.4; border-radius: 9px; background: color-mix(in srgb, var(--vb) 14%, #fff); }
.clp-cta { margin: 10px 14px 14px; height: 42px; border-radius: 999px; background: var(--vb); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cl-phone.lay-cinema .clp-hero { height: 290px; }
.cl-phone.lay-cinema .clp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.7)); }
.cl-phone.lay-cinema .clp-mark { left: 16px; bottom: 70px; transform: none; width: 44px; height: 44px; z-index: 1; }
.cl-phone.lay-cinema .clp-txt { margin-top: -66px; position: relative; z-index: 1; text-align: left; padding: 0 16px 10px; }
.cl-phone.lay-cinema .clp-name, .cl-phone.lay-cinema .clp-sub { color: #fff; }
.cl-phone.lay-editorial .clp-hero { height: 120px; }
.cl-phone.lay-editorial .clp-mark { left: 16px; transform: none; width: 52px; height: 52px; bottom: -26px; }
.cl-phone.lay-editorial .clp-txt { text-align: left; padding-top: 36px; }
.cl-phone.lay-editorial .clp-name { font-size: 30px; }
.cl-phone.lay-editorial .clp-txt::after { content: ""; display: block; width: 34px; height: 2px; background: var(--vb); margin-top: 10px; }
.cl-phone.lay-editorial .clp-about { font-size: 14px; }
.cl-phone.lay-compact .clp-hero { height: 90px; }
.cl-phone.lay-compact .clp-name { font-size: 20px; }
