/* ===== Fitreel — koyu + turuncu stüdyo teması ===== */
:root {
  /* Tema renkleri (Elektrik Mor) — temayı değiştirmek için yalnızca bu bloğu değiştirin */
  --a0: 37, 99, 235; --a1: 59, 130, 246; --a2: 244, 63, 94;     /* vurgu rengi (RGB): Elektrik Kontrast — kraliyet mavisi → mercan */
  --accent: rgb(var(--a1)); --accent-2: rgb(var(--a2)); --accent-3: #93c5fd; --on-accent: #fff;
  --s0: 7, 8, 20; --s1: 17, 20, 40;                                 /* zemin (RGB) */
  --bg: rgb(var(--s0)); --side: #0a0c1c; --card: #111428; --card-2: #181c36; --field: #0b0d1d;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
  --text: #f1f4ff; --soft: #c9cdea; --muted: #9aa0c2; --dim: #646a8c;
  --accent-soft: rgba(var(--a1), .12);
  --grad: linear-gradient(135deg, rgb(var(--a0)) 0%, rgb(var(--a2)) 100%);
  --ok: #3ccf8e; --warn: #f5b84a; --bad: #ff5d6c;
  --radius: 18px; --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; color: var(--text); min-height: 100vh;
  font: 15px/1.5 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 520px at 50% -160px, rgba(var(--a1), .38), transparent 70%),
    radial-gradient(600px 400px at 100% 10%, rgba(var(--a2), .10), transparent 70%),
    radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1.2px) 0 0 / 22px 22px,
    var(--bg);
}
.hidden { display: none !important; }
.muted { color: var(--muted); margin: 0 0 12px; }
.small { font-size: 12px; font-weight: 400; }
.center { text-align: center; }
.err { color: var(--bad); min-height: 1em; margin: 8px 0 0; font-size: 14px; }
h2 { font-size: 17px; margin: 0 0 8px; letter-spacing: -.2px; }
a { color: var(--accent-2); }
svg { display: block; }

/* ---------- Üst çubuk ---------- */
.topbar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: rgba(var(--s0), .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; }
.logo { width: 30px; height: 30px; border-radius: 9px; flex: none; box-shadow: 0 4px 18px rgba(var(--a1), .35); }
.brandName { font-size: 19px; letter-spacing: -.4px; }
.badge { font-size: 10px; background: var(--warn); color: #222; padding: 2px 7px; border-radius: 6px; font-weight: 700; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.lang-btn { background: transparent; border: 1px solid var(--line-2); color: var(--muted); border-radius: 10px; padding: 6px 9px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.lang-btn:hover { color: var(--text); }
.icon-btn { width: 40px; height: 36px; display: grid; place-items: center; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .06); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; fill: var(--accent-3); stroke: var(--accent-2); stroke-width: 1.4; stroke-linejoin: round; }
.credit-pill { display: flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .06); border: 0; color: var(--text); border-radius: 20px;
  padding: 8px 12px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.credit-pill svg { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); background: var(--grad); color: var(--on-accent);
  font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }

main { max-width: 980px; margin: 0 auto; padding: 16px 14px calc(96px + var(--safe-b)); }

/* ---------- Temel ögeler ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
input, select, textarea { width: 100%; background: var(--field); color: var(--text); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 11px 12px; font: inherit; }
select { appearance: none; -webkit-appearance: none; padding-right: 30px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a89c92' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--a1), .15); }
textarea { resize: vertical; }
.check { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.check input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.stack { display: grid; gap: 10px; }
.link { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 4px; }
.link:hover { color: var(--text); }
.row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }

.btn { border: 0; border-radius: 999px; padding: 12px 18px; font: inherit; font-weight: 700; cursor: pointer; color: var(--text); background: rgba(255, 255, 255, .08);
  transition: transform .12s, box-shadow .2s, background .2s; }
.btn:hover { background: rgba(255, 255, 255, .12); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--grad); color: var(--on-accent); box-shadow: 0 8px 26px rgba(var(--a0), .35); }
.btn.primary:hover { box-shadow: 0 10px 34px rgba(var(--a0), .5); }
.btn.ghost { background: transparent; border: 1px solid var(--line-2); }
.btn.small { padding: 8px 14px; font-size: 13px; }
.btn.big { padding: 15px 28px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.danger { color: var(--bad); border-color: rgba(255, 93, 108, .4); }
.btn:disabled { opacity: .5; cursor: default; }
.cost { font-weight: 500; opacity: .85; font-size: 13px; margin-left: 6px; white-space: nowrap; }

/* ---------- Tanıtım ---------- */
.landing { max-width: 1040px; }
.hero { text-align: center; padding: 34px 4px 10px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--accent-3); padding: 6px 12px; border-radius: 999px;
  background: rgba(var(--a1), .10); border: 1px solid rgba(var(--a2), .35); margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 7.6vw, 60px); line-height: 1.06; margin: 0 0 16px; letter-spacing: -1.4px; font-weight: 800; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--soft); font-size: 17px; max-width: 600px; margin: 0 auto 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 10px; }
.hero-ctas a { text-decoration: none; color: var(--text); }
.section-title { text-align: center; font-size: clamp(24px, 5vw, 34px); letter-spacing: -.8px; margin: 46px 0 8px; font-weight: 800; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 26px 0 10px; }
.how-step, .mode-card { background: rgba(var(--s1), .8); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.how-step b { color: var(--on-accent); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); font-size: 14px; }
.how-step h3, .mode-card h3 { margin: 12px 0 4px; font-size: 16px; }
.how-step p, .mode-card p { margin: 0; color: var(--muted); font-size: 14px; }
.mode-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 16px 0 6px; }
.mc-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid rgba(var(--a2), .3); }
.mc-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hide-xs { display: none; }
@media (min-width: 560px) { .hide-xs { display: inline-block; } }

/* ---------- Oluşturma kutusu (composer) ---------- */
.studio-title { text-align: center; font-size: clamp(24px, 5.6vw, 38px); font-weight: 500; letter-spacing: -.6px; line-height: 1.25; margin: 22px 8px 26px; }
.composer { position: relative; background: linear-gradient(180deg, rgba(var(--s1), .96), rgba(var(--s0), .98)); border: 1px solid rgba(var(--a2), .22);
  border-radius: 26px; padding: 14px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 20px 60px rgba(0, 0, 0, .45), 0 -8px 50px rgba(var(--a1), .16); }
.composer::before { content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-3), var(--accent), transparent); filter: blur(.3px); }
.thumbs-strip { display: flex; gap: 10px; padding: 2px 2px 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs-strip::-webkit-scrollbar { display: none; }
.thumb-add, .thumbs-strip .thumb { flex: none; width: 78px; height: 78px; border-radius: 14px; position: relative; overflow: hidden; }
.thumb-add { display: grid; place-items: center; border: 1.5px dashed rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .03); cursor: pointer; color: var(--muted); font-size: 30px; font-weight: 300; }
.thumb-add:hover { border-color: var(--accent-2); color: var(--text); }
.thumb-add svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.thumb-add input { display: none; }
.thumbs-strip .thumb { border: 1px solid var(--line-2); background: #000; }
.thumbs-strip .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs-strip .thumb .rm { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .7); color: #fff; font-size: 11px; cursor: pointer; }
.thumbs-strip .thumb .note { position: absolute; left: 0; right: 0; bottom: 0; border: 0; padding: 3px 5px; font: inherit; font-size: 10.5px; color: #fff; cursor: pointer;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.thumbs-strip .thumb .note:not(.has) { text-align: right; font-size: 12px; }
.cmp-text { background: transparent; border: 0; padding: 6px 4px; font-size: 16.5px; line-height: 1.55; min-height: 104px; resize: none; color: var(--text); }
.cmp-text:focus { box-shadow: none; }
.cmp-text::placeholder { color: var(--dim); }
.cmp-bar { display: flex; align-items: center; gap: 8px; padding-top: 6px; }
.cmp-bar .chips { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.cmp-bar .chips::-webkit-scrollbar { display: none; }
.cmp-bar .chips select { flex: none; }
.composer.demo .cmp-bar { flex-wrap: wrap; }
.spacer { flex: 1; }
.round-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .07); color: var(--text); display: grid; place-items: center; cursor: pointer; flex: none; }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.round-btn.on { background: var(--accent-soft); color: var(--accent-2); }
.chip-select, .chip { width: auto; border-radius: 999px; padding: 9px 30px 9px 14px; font-size: 14px; font-weight: 600; background-color: rgba(var(--a1), .07);
  border: 1px solid rgba(var(--a2), .45); color: var(--text); background-position: right 10px center; }
.chip { padding: 8px 14px; display: inline-block; }
.src-select { box-shadow: inset 0 -10px 20px -14px rgba(var(--a2), .9); }
.cost-hint { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; font-weight: 600; }
.cost-hint svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.send-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--grad); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; flex: none;
  box-shadow: 0 6px 22px rgba(var(--a0), .55); transition: transform .12s; }
.send-btn:hover { transform: translateY(-1px); }
.send-btn:disabled { opacity: .5; }
.send-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.under-cmp { padding: 12px 6px 0; display: grid; gap: 10px; }
.consent span { color: var(--dim); }
.tpl-chip { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 7px 8px 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(var(--a1), .1); border: 1px solid rgba(var(--a2), .5); }
.tpl-chip svg { width: 16px; height: 16px; fill: none; stroke: var(--accent-2); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.tpl-chip button { border: 0; background: rgba(255, 255, 255, .08); color: var(--text); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 11px; }
.settings { margin-top: 14px; }

/* Tanıtımdaki oluşturma kutusu */
.land-cmp { max-width: 680px; margin: 6px auto 0; text-align: left; }
.land-cmp .cmp-text { min-height: 84px; }
.land-cmp .send-btn { margin-left: auto; }
.quick-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; max-width: 680px; margin: 14px auto 0; }
.quick-chips span { color: var(--dim); font-size: 13px; margin-right: 2px; }
.quick-chips button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text);
  font: inherit; font-size: 13.5px; font-weight: 600; padding: 8px 13px; border-radius: 999px; cursor: pointer; }
.quick-chips button:hover, .quick-chips button.on { border-color: rgba(var(--a2), .6); background: rgba(var(--a1), .1); }
.quick-chips svg { width: 16px; height: 16px; fill: none; stroke: var(--accent-2); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
/* (eski örnek kutu) */
.composer.demo { max-width: 680px; margin: 6px auto 0; text-align: left; cursor: pointer; }
.composer.demo .thumb { background-size: cover; background-position: center; }
.demo-a { background: radial-gradient(60% 50% at 50% 45%, #e0303a 0%, #8f1420 70%) !important; }
.demo-b { background: radial-gradient(60% 50% at 50% 45%, #2a3d73 0%, #121b38 70%) !important; }
.demo-text { margin: 4px 4px 10px; font-size: 16px; color: var(--soft); min-height: 50px; }

/* ---------- Şablonlar ---------- */
.tpl-section { margin-top: 26px; }
.tpl-section.in-app { margin-top: 34px; }
.tpl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 2px 10px; }
.tpl-head h2 { font-size: 22px; margin: 0; letter-spacing: -.5px; }
.cat-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 14px; margin: 0 -2px; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs button { flex: none; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--muted); font: inherit; font-size: 14px; font-weight: 600;
  padding: 8px 15px; border-radius: 999px; cursor: pointer; }
.cat-tabs button.on { color: var(--on-accent); border-color: transparent; background: var(--grad); box-shadow: 0 6px 20px rgba(var(--a0), .35); }
#landing .cat-tabs { justify-content: center; flex-wrap: wrap; }
.tpl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .tpl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) { .tpl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tpl-card { display: block; padding: 0; text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 18px; overflow: hidden; cursor: pointer;
  color: var(--text); font: inherit; transition: transform .15s, border-color .15s, box-shadow .2s; }
.tpl-card:hover { transform: translateY(-2px); border-color: rgba(var(--a2), .5); box-shadow: 0 12px 34px rgba(0, 0, 0, .5); }
.tpl-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: flex; align-items: flex-end; padding: 10px 12px; isolation: isolate; }
.tpl-cover::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.3px) 0 0 / 9px 9px, linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .45)); }
.tpl-ico { position: absolute; right: 8%; top: 12%; width: 42%; opacity: .32; z-index: -1; }
.tpl-ico svg { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.tpl-word { font-size: clamp(17px, 4.6vw, 26px); line-height: .95; text-transform: uppercase; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); max-width: 80%; }
.f-cond { font-family: Impact, Haettenschweiler, "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif; font-weight: 900; letter-spacing: -.5px; transform: scaleY(1.12); transform-origin: bottom left; }
.f-serif { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: .5px; }
.f-round { font-family: "Nunito", "Arial Rounded MT Bold", system-ui, sans-serif; font-weight: 900; letter-spacing: -.3px; }
.f-script { font-family: "Pacifico", "Brush Script MT", "Segoe Script", cursive; font-style: italic; font-weight: 700; text-transform: none; }
.tpl-hot { position: absolute; top: 8px; left: 8px; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--grad); color: var(--on-accent); letter-spacing: .2px; }
.tpl-ar { position: absolute; top: 8px; right: 8px; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, .45); color: #fff; }
.tpl-info { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px 12px; }
.tpl-info b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpl-src { flex: none; font-size: 10.5px; font-weight: 700; padding: 3px 7px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--muted); }
.tpl-src.s-refs { color: var(--accent-3); background: rgba(var(--a1), .12); }
.tpl-src.s-image { color: #8cc6ff; background: rgba(47, 124, 255, .14); }
@media (max-width: 420px) { .tpl-src { display: none; } }

/* ---------- İş detayı ---------- */
.steps { display: flex; gap: 8px; margin: 10px 0 14px; }
.step { flex: 1; text-align: center; font-size: 12px; font-weight: 600; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--muted); border: 1px solid var(--line); }
.step.on { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
.step.ok { color: var(--ok); border-color: rgba(60, 207, 142, .4); }
.media { width: 100%; border-radius: 16px; background: #000; display: block; max-height: 70vh; object-fit: contain; }
.loader { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px 10px; color: var(--muted); text-align: center; }
.spinner { width: 38px; height: 38px; border: 3px solid rgba(255, 255, 255, .1); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.actions { display: grid; gap: 10px; margin-top: 14px; }
.actions .two, .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
details { margin-top: 12px; }
details summary { cursor: pointer; color: var(--muted); font-size: 13px; }
details textarea { margin-top: 8px; font-size: 13px; }
.thumbs { display: flex; gap: 6px; margin-top: 10px; }
.thumbs img { width: 48px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.back { margin-bottom: 12px; }
#tab-job .card .pill { margin-top: 0; }

/* Sahneler */
.scene-box { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 10px; }
.scene-box h3 { margin: 0; font-size: 15px; }
.scene-opt { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 14px; }
.scene-opt > button { width: 100%; background: none; border: 0; color: var(--text); font: inherit; text-align: left; padding: 13px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.scene-opt > button b { font-size: 14px; }
.scene-opt > button span { color: var(--muted); font-size: 12px; }
.scene-opt .so-body { padding: 0 12px 12px; display: grid; gap: 8px; }

/* ---------- Galeri ---------- */
.page-title { font-size: 26px; letter-spacing: -.6px; margin: 8px 2px 14px; font-weight: 800; }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 12px; }
.gallery-head .page-title { margin-bottom: 4px; }
.gallery-head p { margin: 0 2px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } }
.g-item { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; cursor: pointer; transition: transform .15s, border-color .15s; }
.g-item:hover { transform: translateY(-2px); border-color: rgba(var(--a2), .45); }
.g-item .thumb { aspect-ratio: 9 / 13; background: #000 center / cover no-repeat; position: relative; }
.g-item .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-item .info { padding: 9px 11px 11px; }
.g-item .t { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-item.dim { opacity: .35; }
.g-item.sel { outline: 2px solid var(--accent); outline-offset: -2px; }
.g-item .num { position: absolute; top: 8px; left: 8px; z-index: 2; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: var(--on-accent); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.pill { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; margin-top: 5px; background: rgba(255, 255, 255, .07); color: var(--muted); }
.pill + .pill { margin-left: 4px; }
.pill.done { background: rgba(60, 207, 142, .14); color: var(--ok); }
.pill.err { background: rgba(255, 93, 108, .14); color: var(--bad); }
.pill.run { background: rgba(245, 184, 74, .14); color: var(--warn); }
.empty { color: var(--muted); text-align: center; padding: 60px 10px; grid-column: 1 / -1; }
.merge-panel { position: sticky; bottom: calc(76px + var(--safe-b)); z-index: 4; margin-top: 14px; background: var(--card-2); border: 1px solid rgba(var(--a2), .55);
  border-radius: var(--radius); padding: 16px; box-shadow: 0 -10px 40px rgba(0, 0, 0, .6), 0 0 30px rgba(var(--a1), .15); }
.merge-panel .mp-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.merge-panel input[type=file] { padding: 8px; font-size: 13px; }

/* ---------- Bildirim ve bant ---------- */
#toast { position: fixed; left: 50%; bottom: calc(150px + var(--safe-b)); transform: translateX(-50%) translateY(20px); background: var(--card-2); border: 1px solid rgba(var(--a2), .35);
  color: #fff; padding: 11px 16px; border-radius: 14px; font-size: 14px; opacity: 0; transition: .25s; z-index: 50; pointer-events: none; max-width: 92vw; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
#toast.on { opacity: 1; transform: translateX(-50%); }
.banner { padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; font-size: 14px; }
.banner.ok { background: rgba(60, 207, 142, .12); color: var(--ok); border: 1px solid rgba(60, 207, 142, .3); }
.banner.fail { background: rgba(255, 93, 108, .12); color: var(--bad); border: 1px solid rgba(255, 93, 108, .3); }

/* ---------- Fiyatlar ---------- */
.pricing-head { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pricing-head h2 { margin: 0; }
#landing .pricing-head { margin-top: 46px; }
#landing .pricing-head .section-title { margin: 0; }
.section-h { margin: 22px 2px 12px; }
.section-h.pricing-head { justify-content: space-between; }
.cur-select { width: auto; padding: 7px 30px 7px 12px; font-size: 13px; border-radius: 999px; }
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 14px 0 18px; }
.pkg { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 18px; text-align: center; cursor: pointer; transition: border-color .15s, transform .15s; }
.pkg:hover { transform: translateY(-2px); }
.pkg:hover, .pkg.sel { border-color: var(--accent); }
.pkg.sel { box-shadow: 0 0 0 3px rgba(var(--a1), .18); }
.pkg:has(.tag) { background: linear-gradient(180deg, rgba(var(--a1), .12), var(--card) 60%); border-color: rgba(var(--a2), .45); }
.pkg .name { font-weight: 700; color: var(--muted); }
.pkg .cr { font-size: 36px; font-weight: 800; margin: 6px 0 0; letter-spacing: -1px; }
.pkg .price { font-size: 19px; font-weight: 700; margin: 4px 0 6px; }
.pkg .per { color: var(--muted); font-size: 12px; }
.pkg .tag { color: var(--on-accent); position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--grad); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 13px; padding: 30px 0 10px; border-top: 1px solid var(--line); margin-top: 36px; }
.footer a { color: var(--muted); cursor: pointer; }
.pay-logos { width: 100%; text-align: center; color: var(--dim); font-size: 12px; margin-top: 6px; }
#landing main { padding-bottom: 40px; }

/* ---------- Giriş penceresi ---------- */
.modal { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-card { position: relative; width: 100%; max-width: 410px; background: var(--card); border: 1px solid rgba(var(--a2), .25); border-radius: 24px; padding: 26px 20px 16px; max-height: 92vh; overflow: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 -10px 40px rgba(var(--a1), .12); }
.modal-card h3 { margin: 0; }
.modal-x { position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, .06); border: 0; color: var(--muted); width: 30px; height: 30px; border-radius: 50%; font-size: 13px; cursor: pointer; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: rgba(255, 255, 255, .05); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.seg button { background: none; border: 0; color: var(--muted); padding: 9px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }
.seg button.on { background: var(--grad); color: var(--on-accent); }
.google-slot { display: flex; justify-content: center; min-height: 44px; margin: 14px 0 4px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 10px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
input.code { text-align: center; font-size: 26px; letter-spacing: 9px; }

/* ---------- Kredi ve hesap ---------- */
.balance-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(var(--a0), .22), rgba(var(--a2), .06) 60%), var(--card); border-color: rgba(var(--a2), .35); }
.big-num { font-size: 34px; font-weight: 800; letter-spacing: -1px; }
.ledger, .admin-list { display: grid; gap: 6px; font-size: 13px; margin-top: 8px; }
.ledger div, .admin-list > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; background: rgba(255, 255, 255, .035); border-radius: 12px; align-items: center; }
.plus { color: var(--ok); font-weight: 800; } .minus { color: var(--muted); font-weight: 800; }

/* ---------- Yönetim ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.stat b { display: block; font-size: 22px; letter-spacing: -.5px; }
.stat span { color: var(--muted); font-size: 12px; }
.stat:first-child { background: linear-gradient(135deg, rgba(var(--a0), .18), transparent 70%), var(--card); }
.admin-list .u { flex-wrap: wrap; }
.admin-list .u .em { flex: 1 1 180px; word-break: break-all; }
.admin-list .u input { width: 80px; padding: 7px 9px; }
.admin-list .u .btn { padding: 7px 12px; font-size: 12px; }

@media (min-width: 760px) {
  main { padding-left: 22px; padding-right: 22px; }
  .composer { padding: 16px 18px; }
}
.cost-hint { margin-left: auto; }
@media (max-width: 560px) {
  .cmp-bar { flex-wrap: wrap; row-gap: 10px; }
  .cmp-bar .chips { order: -1; flex-basis: 100%; }
  .chip-select { padding: 8px 28px 8px 13px; font-size: 13.5px; }
}

:root{color-scheme:dark}
option{background:var(--card-2);color:var(--text)}

/* ===== Gezinme: yan menü (masaüstünde sabit, telefonda soldan açılır) + telefonda alt çubuk ===== */
#app .tabbar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 30; width: 248px; max-width: 84vw; display: flex; flex-direction: column; gap: 2px;
  padding: 16px 12px calc(16px + var(--safe-b)); padding-top: calc(16px + env(safe-area-inset-top, 0px)); overflow-y: auto;
  background: var(--side); border-right: 1px solid var(--line); }
.tabbar .side-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; padding: 4px 8px 20px; }
.tabbar .side-close { margin-left: auto; width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; padding: 0; }
.tabbar .side-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tabbar .side-label { display: block; font-size: 11.5px; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: .6px; padding: 14px 12px 6px; }
.tabbar button { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; background: none; border: 0; color: var(--muted); font: inherit;
  font-size: 15.5px; font-weight: 600; padding: 12px 12px; border-radius: 14px; cursor: pointer; text-align: left; }
.tabbar button:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.tabbar button.active { color: var(--accent-2); background: linear-gradient(90deg, rgba(var(--a1), .22), rgba(var(--a1), .04)); }
.tabbar svg { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tabbar .side-foot { display: grid; gap: 10px; margin-top: auto; padding-top: 16px; }
.tabbar .side-credits { flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px; border: 1px solid rgba(var(--a2), .35);
  background: linear-gradient(135deg, rgba(var(--a0), .22), rgba(var(--a2), .05)); color: var(--muted); font-size: 12px; }
.tabbar .side-credits b { font-size: 22px; color: var(--text); letter-spacing: -.5px; }
.tabbar .side-links { font-size: 11.5px; color: var(--dim); padding: 0 6px; }
.tabbar .side-links a { color: var(--dim); }
.menu-btn { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -2px; border: 0; background: transparent; color: var(--text); cursor: pointer; border-radius: 10px; padding: 0; }
.menu-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
#app > .topbar { justify-content: flex-start; }
#app > .topbar .top-actions { margin-left: auto; }
.nav-backdrop { position: fixed; inset: 0; z-index: 25; background: rgba(0, 0, 0, .6); backdrop-filter: blur(2px); }
body.nav-open { overflow: hidden; }

/* Telefon alt çubuğu */
.mobnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end;
  padding: 8px 0 calc(8px + var(--safe-b)); background: rgba(var(--s0), .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.mobnav button { background: none; border: 0; color: var(--dim); font: inherit; font-size: 12px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; padding: 2px 0; }
.mobnav button svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mobnav button.active { color: var(--text); }
.mobnav button.active svg { fill: currentColor; stroke: currentColor; }
.mob-create .mc-orb { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-top: -6px;
  background: conic-gradient(from 200deg, var(--accent), var(--accent-2), #ffd36b, #ff5fa2, #8a5cff, var(--accent)); box-shadow: 0 6px 22px rgba(var(--a0), .5); }
.mob-create .mc-orb svg { width: 22px !important; height: 22px !important; fill: #fff !important; stroke: none !important; }

@media (max-width: 1023px) {
  #app .tabbar { transform: translateX(-105%); transition: transform .25s ease; box-shadow: 20px 0 60px rgba(0, 0, 0, .5); }
  #app .tabbar.open { transform: none; }
}
@media (min-width: 1024px) {
  #app { padding-left: 248px; }
  .menu-btn, .tabbar .side-close, .mobnav, .nav-backdrop { display: none !important; }
  #app > .topbar .brand .logo, #app > .topbar .brand .brandName { display: none; }
  #app > main { padding-bottom: 40px; }
  #app .merge-panel { bottom: 16px; }
  #toast { bottom: 28px; }
}
#app .tpl-section.in-app { scroll-margin-top: 80px; }
.tabbar .desk-only { display: flex; }


/* ===== Ana sayfa ===== */
#tab-home { padding-bottom: 90px; }
.feat-row, .viral-list, .vrow { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.feat-row::-webkit-scrollbar, .viral-list::-webkit-scrollbar, .vrow::-webkit-scrollbar { display: none; }
.feat-card { flex: 0 0 min(82%, 400px); scroll-snap-align: start; padding: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: transform .15s, border-color .15s; }
.feat-card:hover, .vcard:hover, .viral-card:hover { transform: translateY(-3px); border-color: rgba(var(--a2), .6); }
.feat-card .tpl-cover { aspect-ratio: 16 / 9; }
.feat-card .tpl-word { font-size: clamp(26px, 6vw, 38px); }
.feat-info { display: grid; gap: 3px; padding: 12px 16px 15px; }
.feat-info b { font-size: 16px; letter-spacing: .2px; }
.feat-info span { color: var(--muted); font-size: 13px; }
.viral-row { display: flex; gap: 14px; margin-top: 22px; align-items: stretch; }
.viral-promo { flex: 0 0 230px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 20px; border-radius: 20px;
  background: radial-gradient(90% 70% at 100% 100%, rgba(var(--a2), .5), transparent 70%), var(--card); border: 1px solid var(--line); }
.viral-promo h2 { font-family: Impact, "Oswald", "Arial Narrow", sans-serif; font-weight: 900; font-size: 30px; line-height: 1.02; letter-spacing: .3px; margin: 0; text-transform: uppercase; }
.viral-promo .btn { align-self: flex-start; }
.viral-list { flex: 1; min-width: 0; }
.viral-card { position: relative; flex: 0 0 240px; scroll-snap-align: start; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; cursor: pointer; background: var(--card); transition: transform .15s, border-color .15s; }
.viral-card .tpl-cover { height: 100%; min-height: 180px; aspect-ratio: auto; }
.viral-card .vc-name { position: absolute; left: 12px; bottom: 10px; color: #fff; font-weight: 700; font-size: 14px; text-shadow: 0 2px 8px rgba(0, 0, 0, .7); }
.viral-card .tpl-word { margin-bottom: 22px; }
.home-sec { margin-top: 26px; padding: 22px 18px 20px; border-radius: 26px; border: 1px solid rgba(var(--a2), .35);
  background: radial-gradient(70% 90% at 0% 0%, rgba(var(--a1), .22), transparent 60%), radial-gradient(60% 80% at 100% 0%, rgba(var(--a2), .14), transparent 60%), rgba(var(--s1), .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.hs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hs-title { font-family: Impact, "Oswald", "Arial Narrow", sans-serif; font-weight: 900; font-size: clamp(30px, 6.4vw, 44px); line-height: 1; letter-spacing: .3px; margin: 0 0 6px; }
.hs-head p { margin: 0; color: var(--soft); font-size: 14.5px; }
.hs-head .btn { flex: none; }
.vcard { position: relative; flex: 0 0 min(44%, 210px); scroll-snap-align: start; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; cursor: pointer; background: #000; color: #fff; font: inherit; text-align: left; transition: transform .15s, border-color .15s; }
.tpl-cover.tall { aspect-ratio: 9 / 15; align-items: center; justify-content: center; padding: 14px; }
.tpl-cover.tall .tpl-ico { right: auto; left: 50%; top: 16%; transform: translateX(-50%); width: 62%; opacity: .38; }
.tpl-cover.tall .tpl-word { text-align: center; font-size: clamp(20px, 5.5vw, 28px); max-width: 100%; margin-top: 40%; }
.vc-meta { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 5px; padding: 30px 10px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.vc-meta b { font-size: 13.5px; }
.vc-meta .tpl-src { justify-self: start; display: inline-block; }
.vc-use { position: absolute; top: 10px; right: 10px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--grad); color: var(--on-accent); opacity: 0; transition: opacity .15s; }
.vcard:hover .vc-use { opacity: 1; }
@media (min-width: 900px) {
  .vrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
  .vcard { flex: auto; }
}
.dock { position: fixed; z-index: 8; left: 50%; transform: translateX(-50%); bottom: calc(84px + var(--safe-b)); width: min(600px, calc(100% - 24px));
  display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 22px; background: rgba(var(--s1), .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--a2), .35); box-shadow: 0 16px 50px rgba(0, 0, 0, .6), 0 0 30px rgba(var(--a1), .18); }
.dock input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 15px; padding: 10px 6px; }
.dock input:focus { box-shadow: none; }
.dock-add { flex: none; width: 42px; height: 42px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.dock-add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.dock .send-btn { width: 42px; height: 42px; }
@media (max-width: 640px) { .viral-row { flex-direction: column; } .viral-promo { flex: none; } .viral-promo h2 { font-size: 26px; } }
@media (min-width: 1024px) { .dock { left: calc(248px + (100% - 248px) / 2); bottom: 22px; } #tab-home { padding-bottom: 100px; } }

/* Ana sayfa: üst kutu, geniş düzen ve kaydırma okları */
.home-title { margin-top: 18px; }
.home-cmp { max-width: 760px; margin: 0 auto; }
.home-cmp .cmp-text { min-height: 64px; }
.home-cmp .send-btn { margin-left: 0; }
.home-quick { max-width: 760px; margin: 14px auto 26px; }
#tab-home .row-wrap { position: relative; min-width: 0; flex: 1; }
.row-arrow { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(var(--s0), .8); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); display: none; }
@media (hover: hover) { .row-arrow { display: block; } }
.feat-row { padding-right: 40px; }
.dock { opacity: 0; pointer-events: none; transition: opacity .2s; }
.dock.show { opacity: 1; pointer-events: auto; }
@media (min-width: 1024px) {
  #app > main:has(#tab-home:not(.hidden)) { max-width: 1440px; }
  .feat-card { flex-basis: calc((100% - 28px) / 3); }
  .viral-card { flex-basis: calc((100% - 42px) / 4); }
}
@media (max-width: 560px) { .home-cmp .cmp-bar .chips { order: -1; flex-basis: 100%; } .home-cmp .cost-hint { margin-left: auto; } }

/* ===== Şablon kapakları: yapay zekâ görseli + kategoriye uygun animasyon ===== */
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(1.04); }
.tpl-cover.play .cover-img { animation: kenburns 16s ease-in-out infinite alternate; }
.tpl-cover:has(.cover-img)::after { background: linear-gradient(180deg, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .6)); }
.tpl-cover:has(.cover-img) .tpl-word { text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
.tpl-cover.play .tpl-ico { animation: icoFloat 6s ease-in-out infinite; }
.tpl-card:hover .tpl-cover, .vcard:hover .tpl-cover, .feat-card:hover .tpl-cover, .viral-card:hover .tpl-cover { filter: brightness(1.12) saturate(1.1); }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -2%); } }
@keyframes icoFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6%; } }

.fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.fx i { position: absolute; left: var(--x); top: var(--y); display: block; animation-duration: var(--t); animation-delay: var(--d); animation-iteration-count: infinite; animation-timing-function: linear; animation-play-state: paused; }
.tpl-cover.play .fx i, .tpl-cover.play .fx::before, .tpl-cover.play .fx::after { animation-play-state: running; }
.fx::before, .fx::after { content: ""; position: absolute; animation-play-state: paused; }

/* Toz / ateş böcekleri / kıvılcım: süzülen ışık noktaları */
.fx-dust i, .fx-fireflies i { width: calc(4px * var(--s)); height: calc(4px * var(--s)); border-radius: 50%; background: var(--c); box-shadow: 0 0 8px 2px var(--c); opacity: 0; animation-name: drift; }
.fx-fireflies i { width: 5px; height: 5px; animation-name: firefly; box-shadow: 0 0 12px 4px #b7ffcf; background: #eaffd9; }
.fx-dust::before { left: 10%; top: -30%; width: 40%; height: 160%; background: linear-gradient(180deg, rgba(255, 230, 170, .22), transparent 70%); transform: rotate(18deg); filter: blur(6px); animation: beam 7s ease-in-out infinite alternate; }
@keyframes drift { 0% { opacity: 0; transform: translate(0, 20px) scale(.6); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(14px, -70px) scale(1); } }
@keyframes firefly { 0%, 100% { opacity: 0; transform: translate(0, 0); } 30% { opacity: 1; } 50% { transform: translate(18px, -14px); } 70% { opacity: .9; } 85% { transform: translate(-10px, -26px); } }
@keyframes beam { from { transform: rotate(10deg); opacity: .6; } to { transform: rotate(28deg); opacity: 1; } }

/* Kalpler */
.fx-hearts i { opacity: 0; animation-name: floatUp; font-style: normal; }
.fx-hearts i::before { content: "♥"; color: #ff7aa8; font-size: calc(16px * var(--s)); text-shadow: 0 0 10px rgba(255, 90, 150, .7); }
@keyframes floatUp { 0% { opacity: 0; transform: translateY(40px) rotate(-10deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-90px) rotate(14deg); } }

/* Spot ışıkları (podyum, fragman) */
.fx-spot::before, .fx-spot::after { top: -40%; width: 38%; height: 190%; background: linear-gradient(180deg, rgba(255, 255, 255, .28), transparent 75%); filter: blur(8px); transform-origin: top center; }
.fx-spot::before { left: 8%; animation: sweepL 5s ease-in-out infinite alternate; }
.fx-spot::after { right: 8%; animation: sweepR 6s ease-in-out infinite alternate; }
.fx-spot i { width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 2px #fff; opacity: 0; animation-name: twinkle; }
@keyframes sweepL { from { transform: rotate(-22deg); } to { transform: rotate(14deg); } }
@keyframes sweepR { from { transform: rotate(20deg); } to { transform: rotate(-16deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.3); } }

/* Dönen platform */
.fx-orbit::before { left: 50%; top: 66%; width: 86%; height: 26%; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); box-shadow: 0 0 22px rgba(var(--a2), .5); transform: translate(-50%, -50%); animation: pulseRing 3s ease-in-out infinite; }
.fx-orbit i { left: 50%; top: 66%; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px var(--c); animation: orbit var(--t) linear infinite; animation-delay: var(--d); }
@keyframes orbit { from { transform: rotate(0deg) translateX(40cqw) scaleY(.3) rotate(0deg); } to { transform: rotate(360deg) translateX(40cqw) scaleY(.3) rotate(-360deg); } }
@keyframes pulseRing { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* Parıltı (lüks) */
.fx-shine::before { top: -20%; left: -60%; width: 40%; height: 140%; background: linear-gradient(90deg, transparent, rgba(255, 240, 200, .35), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite; }
.fx-shine i { width: 8px; height: 8px; opacity: 0; animation-name: twinkle; background: radial-gradient(circle, #fff 0 20%, transparent 22%), linear-gradient(0deg, transparent 45%, #ffe7a6 45% 55%, transparent 55%), linear-gradient(90deg, transparent 45%, #ffe7a6 45% 55%, transparent 55%); }
@keyframes shine { 0% { left: -60%; } 60%, 100% { left: 130%; } }

/* Buhar */
.fx-steam i { top: auto; bottom: 18%; width: calc(26px * var(--s)); height: calc(60px * var(--s)); border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 255, 255, .45), transparent 70%); filter: blur(6px); opacity: 0; animation-name: steam; animation-timing-function: ease-out; }
@keyframes steam { 0% { opacity: 0; transform: translateY(0) scale(.5); } 30% { opacity: .9; } 100% { opacity: 0; transform: translate(10px, -90px) scale(1.6); } }

/* Damlalar */
.fx-drops i { top: -10%; width: 3px; height: calc(12px * var(--s)); border-radius: 3px; background: linear-gradient(transparent, rgba(220, 230, 255, .9)); animation-name: fall; animation-timing-function: cubic-bezier(.5, 0, 1, 1); }
.fx-drops::after { left: 50%; bottom: 14%; width: 30px; height: 10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); transform: translateX(-50%); animation: ripple 2.2s ease-out infinite; }
@keyframes fall { from { transform: translateY(0); opacity: 1; } to { transform: translateY(260px); opacity: .2; } }
@keyframes ripple { from { width: 10px; height: 4px; opacity: 1; } to { width: 140px; height: 34px; opacity: 0; } }

/* Konfeti */
.fx-confetti i { top: -10%; width: 6px; height: 10px; border-radius: 1px; animation-name: confetti; }
.fx-confetti i:nth-child(3n) { background: #8b5cf6; } .fx-confetti i:nth-child(3n+1) { background: #ec4899; } .fx-confetti i:nth-child(3n+2) { background: #facc15; }
@keyframes confetti { from { transform: translateY(0) rotate(0); } to { transform: translateY(280px) rotate(720deg); } }

/* Flaş (fotoğraf) */
.fx-flash::before { inset: 0; background: radial-gradient(circle at 70% 35%, rgba(255, 255, 255, .85), transparent 55%); opacity: 0; animation: flash 4s ease-out infinite; }
.fx-flash i { width: calc(30px * var(--s)); height: calc(30px * var(--s)); border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 70%); animation-name: bokeh; animation-timing-function: ease-in-out; }
@keyframes flash { 0%, 70%, 100% { opacity: 0; } 74% { opacity: 1; } }
@keyframes bokeh { 0%, 100% { transform: translate(0, 0); opacity: .3; } 50% { transform: translate(12px, -10px); opacity: .9; } }

/* Gün batımı */
.fx-sun::before { left: 50%; top: 60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 120, .75), rgba(255, 140, 60, .25) 45%, transparent 70%); transform: translate(-50%, -50%); animation: sunrise 8s ease-in-out infinite alternate; }
.fx-sun i { width: 10px; height: 4px; border-top: 2px solid rgba(20, 20, 30, .7); border-radius: 50% 50% 0 0; animation-name: bird; }
@keyframes sunrise { from { top: 72%; opacity: .7; } to { top: 46%; opacity: 1; } }
@keyframes bird { from { transform: translateX(-60px); } to { transform: translateX(120px); } }

/* Yağmur */
.fx-rain i { top: -15%; width: 1.5px; height: calc(22px * var(--s)); background: linear-gradient(transparent, rgba(190, 220, 255, .8)); transform: rotate(14deg); animation-name: rain; animation-duration: calc(var(--t) / 6); }
@keyframes rain { from { translate: 0 0; } to { translate: -40px 300px; } }

/* Bulutlar */
.fx-clouds i { width: calc(110px * var(--s)); height: calc(40px * var(--s)); border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 255, 255, .55), transparent 70%); filter: blur(4px); animation-name: cloud; animation-duration: calc(var(--t) * 2.5); }
@keyframes cloud { from { transform: translateX(-140%); } to { transform: translateX(260%); } }

/* Yapraklar */
.fx-leaves i { top: -12%; width: calc(12px * var(--s)); height: calc(8px * var(--s)); border-radius: 0 80% 0 80%; background: #e0782c; opacity: .9; animation-name: leaf; animation-timing-function: ease-in-out; }
.fx-leaves i:nth-child(2n) { background: #c9532a; } .fx-leaves i:nth-child(3n) { background: #e8a33a; }
@keyframes leaf { 0% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(24px, 140px) rotate(180deg); } 100% { transform: translate(-10px, 280px) rotate(360deg); } }

/* Bloklar */
.fx-blocks i { top: auto; bottom: 8%; width: calc(16px * var(--s)); height: calc(16px * var(--s)); border-radius: 3px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); animation-name: hop; animation-timing-function: ease-in-out; animation-duration: calc(var(--t) / 3); }
.fx-blocks i:nth-child(4n) { background: #ef4444; } .fx-blocks i:nth-child(4n+1) { background: #3b82f6; } .fx-blocks i:nth-child(4n+2) { background: #facc15; } .fx-blocks i:nth-child(4n+3) { background: #22c55e; }
@keyframes hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-40px) rotate(90deg); } }

.tpl-cover { container-type: inline-size; }
@media (prefers-reduced-motion: reduce) { .fx, .tpl-cover .cover-img, .tpl-cover .tpl-ico { animation: none !important; } .fx { display: none; } }

/* Ses ekleme */
.seg.seg3 { grid-template-columns: repeat(2, 1fr); margin: 4px 0 2px; }
.seg.seg3 button { font-size: 13px; padding: 9px 4px; }
.snd-lib { display: grid; gap: 6px; max-height: 260px; overflow-y: auto; }
.snd-item { flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text); cursor: pointer; }
.snd-item:has(input:checked) { border-color: rgba(var(--a1), .7); background: var(--accent-soft); }
.snd-item input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.snd-item .si-name { flex: 1; font-size: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.snd-item .si-name .pill { margin: 0; }
.snd-item .play { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--grad); color: var(--on-accent); cursor: pointer; font-size: 12px; flex: none; }

/* Onay penceresi */
.cdlg-wrap { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 18px; background: rgba(4, 3, 10, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .16s; }
.cdlg-wrap.in { opacity: 1; } .cdlg-wrap.out { opacity: 0; }
.cdlg { width: min(380px, 100%); text-align: center; padding: 24px 20px 18px; border-radius: 24px; background: var(--card); border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 -10px 40px rgba(var(--a1), .15); transform: translateY(12px) scale(.97); transition: transform .18s; }
.cdlg-wrap.in .cdlg { transform: none; }
.cdlg-ico { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); }
.cdlg-ico.bad { background: rgba(255, 93, 108, .12); color: var(--bad); }
.cdlg-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cdlg-thumb { width: 96px; height: 128px; margin: 0 auto 14px; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.cdlg-thumb img, .cdlg-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cdlg h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.3px; }
.cdlg p { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cdlg-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn.danger-fill { background: linear-gradient(135deg, #e5394b, #ff5d6c); color: #fff; box-shadow: 0 8px 24px rgba(229, 57, 75, .35); }
.btn.danger-fill:hover { background: linear-gradient(135deg, #f0465a, #ff7180); }

/* Fiyatlar ve kâr */
.pr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pr-table-wrap { overflow-x: auto; margin: 6px -4px 0; }
.pr-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.pr-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.pr-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pr-table tr.low td { background: rgba(255, 93, 108, .06); }
.pr-table input { width: 84px; padding: 7px 8px; }
.pr-table caption { caption-side: bottom; text-align: left; padding-top: 8px; }
.neg { color: var(--bad); } .pos { color: var(--ok); }
.stat .pr-sub { display: block; margin-top: 2px; font-size: 11.5px; color: var(--dim); }
.pr-more { margin-top: 12px; }
.auto-box { margin: 10px 0 14px; padding: 14px; border-radius: 16px; border: 1px solid rgba(var(--a1), .45); background: linear-gradient(135deg, rgba(var(--a1), .14), transparent 70%); }
.switch { flex-direction: row; align-items: center; gap: 10px; color: var(--text); cursor: pointer; font-size: 15px; }
.switch input { display: none; }
.switch .sw { width: 44px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, .15); position: relative; transition: background .2s; flex: none; }
.switch .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + .sw { background: var(--grad); }
.switch input:checked + .sw::after { transform: translateX(18px); }
.pr-log { margin-top: 10px; } .pr-log .log-row { padding: 6px 0; border-bottom: 1px solid var(--line); }
#pricingCard.auto-on input[readonly] { opacity: .55; cursor: not-allowed; }
.fx-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.fx-row .check { color: var(--text); font-size: 13.5px; }
.tabbar button.has-alert::after { content: ""; position: absolute; top: 9px; left: 30px; width: 9px; height: 9px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 2px var(--side); }
.pr-sub-title { margin: 22px 0 4px; font-size: 15px; }
.pr-table td.low { background: rgba(255, 93, 108, .06); }
#prPkgs input { width: 92px; }
.pr-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* ===== Deneme temaları: adres çubuğuna ?tema=sinema | okyanus | lime | turuncu yazın (?tema=mor varsayılana döner) ===== */
html[data-theme=sinema] { --a0:225,29,72; --a1:236,52,82; --a2:245,158,11; --accent-3:#ffc37a; --on-accent:#fff; --s0:10,6,8; --s1:26,12,17; --side:#140a0d; --card:#170c10; --card-2:#22121a; --field:#0f080b; --text:#f8eef0; --soft:#dccbd0; --muted:#a8959b; --dim:#6c5a60; }
html[data-theme=sinema] .logo { filter: hue-rotate(80deg) saturate(1.1); }
html[data-theme=okyanus] { --a0:13,148,136; --a1:20,184,166; --a2:59,130,246; --accent-3:#7ee7da; --on-accent:#fff; --s0:5,12,16; --s1:12,26,32; --side:#08141a; --card:#0b171d; --card-2:#11222a; --field:#071015; --text:#ecf8fa; --soft:#c5dde2; --muted:#8fa9b0; --dim:#567077; }
html[data-theme=okyanus] .logo { filter: hue-rotate(-95deg) saturate(1.1); }
html[data-theme=lime] { --a0:132,204,22; --a1:163,230,53; --a2:52,211,153; --accent-3:#d9f99d; --on-accent:#0a0f05; --s0:8,10,8; --s1:20,25,18; --side:#0d110c; --card:#11150f; --card-2:#181e15; --field:#0b0e0a; --text:#f2f7ee; --soft:#d3dccb; --muted:#9aa592; --dim:#5f6a58; }
html[data-theme=lime] .logo { filter: hue-rotate(175deg) saturate(1.1); }
html[data-theme=turuncu] { --a0:255,74,23; --a1:255,90,31; --a2:255,138,61; --accent-3:#ffb27a; --on-accent:#fff; --s0:11,8,6; --s1:24,16,11; --side:#120d0a; --card:#16100c; --card-2:#1d1612; --field:#0f0b08; --text:#f6efe8; --soft:#d6c9be; --muted:#a89c92; --dim:#6f655d; }
html[data-theme=turuncu] .logo { filter: hue-rotate(110deg) saturate(1.1); }
@media (min-width: 1024px) { #tab-home .feat-row, #tab-home .viral-list { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); } }

/* ===== Yarım ekran (600–1023 px): yalnızca simgelerden oluşan dar sol menü ===== */
@media (min-width: 600px) and (max-width: 1023px) {
  #app { padding-left: 72px; }
  #app .tabbar { transform: none !important; width: 72px; padding: 14px 10px; align-items: center; box-shadow: none; overflow: visible; }
  #app .tabbar .side-brand { padding: 2px 0 16px; justify-content: center; }
  #app .tabbar .side-brand .brandName, #app .tabbar .side-close, #app .tabbar .side-label, #app .tabbar .side-links { display: none; }
  #app .tabbar button { justify-content: center; width: 48px; height: 46px; padding: 0; gap: 0; }
  #app .tabbar button > span { display: none; }
  #app .tabbar .side-label + button, #app .tabbar button[data-tab=credits] { margin-top: 10px; }
  #app .tabbar .side-foot { width: 100%; }
  #app .tabbar .side-credits { width: 52px; height: auto; padding: 8px 0; align-items: center; justify-content: center; }
  #app .tabbar .side-credits > span { display: none; }
  #app .tabbar .side-credits b { font-size: 14px; }
  /* Simge üzerine gelince ad görünür */
  #app .tabbar button[data-label]:hover::after { content: attr(data-label); position: absolute; left: 58px; top: 50%; transform: translateY(-50%); white-space: nowrap;
    background: var(--card-2); color: var(--text); border: 1px solid var(--line-2); padding: 6px 10px; border-radius: 8px; font-size: 13px; pointer-events: none; z-index: 5; }
  .menu-btn, .mobnav, .nav-backdrop, #app > .topbar .brand .logo, #app > .topbar .brand .brandName { display: none !important; }
  #app > main { padding-bottom: 40px; }
  .dock { left: calc(72px + (100% - 72px) / 2); bottom: 20px; }
  #app .merge-panel { bottom: 16px; }
  #toast { bottom: 28px; }
  #tab-home { padding-bottom: 100px; }
}
/* Logo tıklanabilir (Ana sayfaya döner) */
#app .brand, .tabbar .side-brand .logo, .tabbar .side-brand .brandName, #landing .brand { cursor: pointer; }
@media (max-width: 560px) { .cmp-bar .chips { flex-wrap: wrap; overflow: visible; } }
.actions .two .snd-sel { width: 100%; }

/* ---------- Konuşan kişi & Hikâye ---------- */
.tool-title { margin-bottom: 8px; }
.tool-lead { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 22px; font-size: 14.5px; line-height: 1.55; }
.tool-card { max-width: 860px; margin: 0 auto 14px; padding: 18px; }
.tool-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .tool-grid { grid-template-columns: 260px minmax(0, 1fr); align-items: start; } }
.face-drop { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; border: 1.5px dashed rgba(255, 255, 255, .22); border-radius: 18px;
  background: radial-gradient(circle at 50% 35%, rgba(var(--a1), .14), transparent 65%), rgba(255, 255, 255, .02); cursor: pointer; overflow: hidden; max-width: 320px; width: 100%; margin: 0 auto; }
.face-drop:hover { border-color: var(--accent-2); }
.face-drop.has { border-style: solid; border-color: var(--line-2); }
.face-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.face-drop .fd-empty { display: grid; justify-items: center; gap: 6px; padding: 18px; text-align: center; color: var(--muted); font-size: 12.5px; }
.face-drop .fd-empty b { color: var(--text); font-size: 15px; }
.face-drop .fd-empty svg { width: 54px; height: 54px; fill: none; stroke: var(--accent-2); stroke-width: 1.4; stroke-linecap: round; margin-bottom: 4px; }
.face-drop .rm { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .7); color: #fff; cursor: pointer; z-index: 2; }
.tool-card .seg { margin-bottom: 0; }
.tool-meta { display: flex; justify-content: flex-end; color: var(--dim); font-size: 12px; margin-top: -4px; }
.rec-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-line { color: var(--muted); font-size: 13px; }
.file-line input { margin-top: 6px; }
#talkAudio { width: 100%; height: 40px; }

.tool-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 680px; margin: 16px auto 4px; }
.tool-tile { position: relative; display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px; border-radius: 18px; cursor: pointer; color: var(--text); font: inherit;
  border: 1px solid rgba(var(--a2), .28); background: linear-gradient(135deg, rgba(var(--a1), .16), rgba(var(--a2), .06) 70%), var(--card); transition: transform .15s, border-color .15s; }
.tool-tile:hover { transform: translateY(-2px); border-color: rgba(var(--a2), .6); }
.tool-tile .tt-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); }
.tool-tile .tt-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tool-tile .tt-txt { display: grid; gap: 3px; min-width: 0; }
.tool-tile .tt-txt b { font-size: 15px; }
.tool-tile .tt-txt span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.tool-tile .tt-new { position: absolute; top: -8px; right: 10px; font-size: 10px; font-weight: 800; letter-spacing: .6px; padding: 3px 8px; border-radius: 999px; background: var(--accent-2); color: #fff; }
@media (max-width: 520px) { .tool-tile { flex-direction: column; align-items: flex-start; } .tool-tile .tt-txt span { font-size: 11.5px; } }

#tab-story .composer { max-width: 760px; margin: 0 auto; }
#storyRef { align-items: center; }
#storyRef .thumb-add, #storyRef .thumb { width: 58px; height: 58px; border-radius: 12px; }
#storyRef .ref-cap { color: var(--dim); font-size: 12.5px; line-height: 1.35; max-width: 320px; }
.plan-btn { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 11px 16px; }
.plan-btn svg { width: 17px; height: 17px; fill: currentColor; }
#storyIdeas { margin-top: 14px; }
.linkish { background: none; border: 0; color: var(--accent-3); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.story-plan { max-width: 760px; margin: 18px auto; display: grid; gap: 12px; }
.sp-head h2 { margin: 0 0 2px; }
.sp-scenes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sp-scenes li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.sp-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 13px; margin-top: 6px; }
.sp-del { border: 1px solid var(--line-2); background: transparent; color: var(--muted); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; margin-top: 5px; }
.sp-del:hover { color: var(--bad, #ff5d6c); border-color: rgba(255, 93, 108, .4); }
.sp-bible summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.sp-bible textarea { margin-top: 8px; }
.story-prog { display: flex; gap: 6px; justify-content: center; margin: 12px 0 0; }
.story-prog i { width: 34px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.story-prog i.ok { background: var(--accent); }
.story-prog i.on { background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, .12)); background-size: 200% 100%; animation: spShimmer 1.4s linear infinite; }
@keyframes spShimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.story-list { padding-left: 20px; display: grid; gap: 6px; }

/* Şablon önizleme videosu: kapak görselinin üstünde, ekrandayken oynar */
.cover-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity .5s; pointer-events: none; }
.cover-vid.on { opacity: 1; }
#storyIdea .cmp-bar { flex-wrap: wrap; }
#storyIdea .cmp-bar .chips { flex-wrap: wrap; overflow: visible; }
@media (max-width: 600px) { #storyIdea .plan-btn { width: 100%; justify-content: center; } }
.tool-row { margin-bottom: 22px; }
@media (max-width: 759px) { .face-drop { max-width: 220px; } }

/* ---------- Bakiye: uyarı şeridi, kredi geçmişi, fal kartı ---------- */
.notice { max-width: 1100px; margin: 0 auto 14px; }
.notice-in { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; }
.notice-in > span { flex: 1; min-width: 0; }
.notice-in.warn { background: rgba(255, 184, 77, .12); border: 1px solid rgba(255, 184, 77, .35); color: #ffd28a; }
.notice-in.low { background: linear-gradient(90deg, rgba(var(--a1), .18), rgba(var(--a2), .1)); border: 1px solid rgba(var(--a2), .4); }
.notice-in .btn { flex: none; }
.notice-in .x { flex: none; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 15px; padding: 4px 6px; }
.credit-pill.low { background: rgba(255, 184, 77, .16); box-shadow: inset 0 0 0 1px rgba(255, 184, 77, .45); }
.credit-pill.low svg { stroke: #ffb84d; }

.led-sum { color: var(--muted); font-size: 12.5px; margin: -2px 0 10px; }
.led-filter { margin-bottom: 4px; }
.ledger div .led-ico { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); font-size: 14px; }
.ledger div .led-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ledger div.has-job { cursor: pointer; }
.ledger div.has-job:hover { background: rgba(255, 255, 255, .07); }
#ledgerMore { margin-top: 10px; }

#falCard.alert { border-color: rgba(255, 184, 77, .5); }
.fal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 12px; }
.fal-bal b { font-size: 34px; letter-spacing: -1px; margin-right: 10px; }
.fal-bal span { color: var(--muted); font-size: 14px; }
.fal-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 8px; }
.fal-stats .stat { padding: 10px 12px; }
.fal-stats .stat b { font-size: 17px; }
#falCard .two { margin: 8px 0; }
#falCard details { margin: 6px 0 10px; }
#falCard details summary { cursor: pointer; color: var(--muted); font-size: 13px; }
#falCard .pr-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- En-boy oranı seçici ---------- */
select.ar-native { display: none; }
.ar-chip { display: inline-flex; align-items: center; gap: 8px; flex: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; padding: 9px 14px; background-image: none; }
.ar-ico { display: inline-block; flex: none; border: 2px solid currentColor; border-radius: 3px; opacity: .9; }
.ar-ico.ar-9x16 { width: 9px; height: 15px; }
.ar-ico.ar-1x1 { width: 13px; height: 13px; }
.ar-ico.ar-16x9 { width: 17px; height: 10px; }
.ar-pop { position: fixed; z-index: 300; padding: 10px; border-radius: 18px; background: var(--card-2, #181c36); border: 1px solid var(--line-2); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); animation: arIn .14s ease-out; }
@keyframes arIn { from { opacity: 0; transform: translateY(-4px); } }
.ar-head { color: var(--muted); font-size: 12px; font-weight: 600; margin: 0 4px 8px; }
.ar-row { display: flex; gap: 6px; }
.ar-row button { display: grid; justify-items: center; align-content: center; gap: 6px; width: 76px; height: 82px; border-radius: 14px; border: 1px solid transparent; background: rgba(255, 255, 255, .04);
  color: var(--muted); cursor: pointer; font: inherit; }
.ar-row button .ar-ico { margin-bottom: 2px; }
.ar-row button .ar-ico.ar-9x16 { width: 14px; height: 24px; }
.ar-row button .ar-ico.ar-1x1 { width: 20px; height: 20px; }
.ar-row button .ar-ico.ar-16x9 { width: 26px; height: 15px; }
.ar-row button b { font-size: 13.5px; color: var(--text); }
.ar-row button span { font-size: 11px; }
.ar-row button:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.ar-row button.on { background: rgba(var(--a1), .22); border-color: rgba(var(--a2), .7); color: var(--text); }

.cur-note { color: var(--dim); font-size: 12px; }
.seg.led-filter { grid-template-columns: repeat(3, 1fr); margin: 0 0 8px; }

/* Bölge para birimi notu: paketlerin altında küçük */
.cur-foot { text-align: center; color: var(--dim); font-size: 12px; margin: 10px 0 0; }
.cur-foot:empty { display: none; }

/* Nasıl çalışır: kartlardan farklı, bağlantılı adım akışı */
.how-title { margin-top: 44px; }
ol.how { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0 10px; counter-reset: none; }
ol.how .how-step { position: relative; background: none; border: 0; padding: 0 6px; text-align: center; }
ol.how .how-step b { position: relative; z-index: 1; width: 44px; height: 44px; font-size: 17px; box-shadow: 0 0 0 6px rgb(var(--s0)), 0 8px 24px rgba(var(--a0), .45); }
ol.how .how-step:not(:last-child)::after { content: ''; position: absolute; top: 22px; left: calc(50% + 34px); right: calc(-50% + 34px); border-top: 2px dashed rgba(var(--a2), .45); }
ol.how .how-ico { display: block; margin: 14px auto 0; width: 26px; height: 26px; }
ol.how .how-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
ol.how .how-step h3 { margin: 8px 0 4px; }
@media (max-width: 640px) {
  ol.how { grid-template-columns: 1fr; gap: 0; }
  ol.how .how-step { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; text-align: left; padding: 0 0 20px; }
  ol.how .how-step b { grid-row: span 3; }
  ol.how .how-ico { display: none; }
  ol.how .how-step h3 { margin: 10px 0 2px; }
  ol.how .how-step:not(:last-child)::after { top: 50px; bottom: 4px; left: 21px; right: auto; border-top: 0; border-left: 2px dashed rgba(var(--a2), .45); }
}

/* ---------- Başlık yazı tipi: Montserrat Black (sunucudan, dış servise bağlanmadan) ---------- */
@font-face { font-family: 'Fitreel Display'; font-style: normal; font-weight: 900; font-display: swap;
  src: url(/fonts/montserrat-latin-ext-900-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fitreel Display'; font-style: normal; font-weight: 900; font-display: swap;
  src: url(/fonts/montserrat-latin-900-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.f-cond, .tpl-word, .hs-title, .viral-promo h2 { font-family: 'Fitreel Display', 'Montserrat', 'Arial Black', system-ui, sans-serif; font-weight: 900; }
.tpl-word, .tpl-word.f-cond, .tpl-cover:has(.cover-img) .tpl-word {
  transform: none; -webkit-text-stroke: 0; letter-spacing: .4px; line-height: 1.02;
  font-size: clamp(15px, 3.6vw, 21px); text-shadow: 0 2px 3px rgba(0, 0, 0, .55), 0 4px 18px rgba(0, 0, 0, .7);
}
.feat-card .tpl-word { font-size: clamp(20px, 4.4vw, 30px); }
.tpl-cover.tall .tpl-word { font-size: clamp(16px, 4.2vw, 22px); }
.hs-title { font-size: clamp(22px, 4.6vw, 34px); letter-spacing: .2px; line-height: 1.08; }
.viral-promo h2 { font-size: 23px; letter-spacing: .2px; line-height: 1.1; }

/* ---------- Kaydırma akıcılığı ---------- */
/* Arka plan sabit bir katmanda: her kaydırmada yeniden boyanmaz (background-attachment: fixed yerine) */
body { background: var(--bg); }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% -160px, rgba(var(--a1), .38), transparent 70%),
    radial-gradient(600px 400px at 100% 10%, rgba(var(--a2), .10), transparent 70%),
    radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1.2px) 0 0 / 22px 22px,
    var(--bg); }
/* Videosu oynayan kapakta alttaki resim ayrıca hareket etmesin */
.tpl-cover:has(.cover-vid.on) .cover-img { animation: none; }
.cover-vid { will-change: opacity; }
/* Ekran dışındaki bölümler çizilmez */
.home-sec, .tpl-section { content-visibility: auto; contain-intrinsic-size: auto 520px; }
/* Telefonda bulanık cam efekti kaydırmada pahalı: düz zemin kullan */
@media (max-width: 760px) {
  .topbar, .mobnav, .dock, .nav-backdrop, .modal { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .mobnav, .topbar { background: rgb(var(--s0)); }
  .dock { background: rgb(var(--s1)); }
  .tpl-cover.play .cover-img { animation: none; }
}

/* ---------- Videoya yazı ekleme ---------- */
@font-face { font-family: 'TX Bebas'; src: url(/tfonts/BebasNeue_400Regular.ttf) format('truetype'); font-display: swap; }
@font-face { font-family: 'TX Playfair'; font-style: italic; font-weight: 700; src: url(/tfonts/PlayfairDisplay_700Bold_Italic.ttf) format('truetype'); font-display: swap; }
.text-box { display: grid; gap: 10px; }
.text-box .two { gap: 10px; }
.tx-lab { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.tx-seg { margin: 0; }
.tx-seg.seg3 { grid-template-columns: repeat(3, 1fr); }
.tx-seg button { font-size: 13px; padding: 8px 4px; }
.tx-styles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.tx-st { display: grid; justify-items: center; gap: 6px; padding: 12px 4px 8px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; color: var(--muted); font: inherit;
  background: linear-gradient(160deg, #3a3550, #1a1726); }
.tx-st small { font-size: 11px; }
.tx-st.on { border-color: rgba(var(--a2), .8); box-shadow: 0 0 0 1px rgba(var(--a2), .5) inset; color: var(--text); }
.tx-sample { font-size: 17px; line-height: 1.1; color: #fff; min-height: 22px; display: grid; place-items: center; }
.tx-klasik .tx-sample { font-family: 'Fitreel Display', sans-serif; font-weight: 900; text-shadow: -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000, 1.5px 1.5px 0 #000; }
.tx-sinema .tx-sample { font-family: 'TX Bebas', sans-serif; font-size: 22px; letter-spacing: 2px; text-shadow: 0 2px 6px rgba(0, 0, 0, .7); }
.tx-neon .tx-sample { font-family: 'Fitreel Display', sans-serif; font-weight: 900; text-shadow: 0 0 4px #ec4899, 0 0 10px #8b5cf6, 0 0 16px #8b5cf6; }
.tx-etiket .tx-sample { font-family: 'Fitreel Display', sans-serif; font-weight: 900; font-size: 12px; color: #000; background: #fff; padding: 3px 6px; }
.tx-zarif .tx-sample { font-family: 'TX Playfair', serif; font-style: italic; font-weight: 700; font-size: 19px; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
@media (max-width: 520px) { .tx-styles { grid-template-columns: repeat(3, 1fr); } }

/* Küçük şablon kartlarında kapak yazısı yok: ad zaten kartın altında yazıyor. Büyük öne çıkan kartlarda kalır. */
.tpl-grid .tpl-word, .viral-card .tpl-word { display: none; }

/* ---------- Prompt iyileştirici ---------- */
.enh-btn { display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(var(--a2), .45);
  background: rgba(var(--a1), .14); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.enh-btn svg { width: 14px; height: 14px; fill: var(--accent-2); }
.enh-btn:hover { background: rgba(var(--a1), .26); }
.enh-btn.undo { border-color: var(--line-2); background: transparent; color: var(--muted); }
.enh-btn.undo svg { fill: var(--muted); }
.enh-btn.busy svg { animation: enhSpin .9s linear infinite; }
@keyframes enhSpin { to { transform: rotate(360deg); } }
@media (max-width: 520px) { .enh-btn span { display: none; } .enh-btn { padding: 8px; } }

/* ---------- Keşfet ---------- */
@media (max-width: 520px) { .ex-card { flex-basis: 156px; } }

/* ---------- Davet kartı ---------- */
.ref-card { margin-top: 16px; background: linear-gradient(135deg, rgba(var(--a1), .16), rgba(var(--a2), .06) 70%), var(--card); border-color: rgba(var(--a2), .3); }
.ref-top { display: flex; gap: 12px; align-items: center; }
.ref-top h2 { margin: 0 0 2px; }
.ref-top p { margin: 0; }
.ref-ico { font-size: 30px; }
.ref-link { display: flex; gap: 8px; margin: 12px 0 6px; flex-wrap: wrap; }
.ref-link input { flex: 1; min-width: 200px; font-size: 13px; }

/* ---------- Başlangıç + bitiş karesi ---------- */
#sourceSlot { align-items: flex-start; flex-wrap: wrap; row-gap: 6px; }
.fr-cell { display: grid; justify-items: center; gap: 4px; }
.fr-lab { font-size: 11.5px; color: var(--muted); }
.fr-lab i { font-style: normal; color: var(--dim); }
.fr-arrow { align-self: center; color: var(--accent-2); font-size: 20px; margin: 0 2px 18px; }
.fr-hint { flex-basis: 100%; color: var(--dim); font-size: 12px; }

/* ---------- Giriş penceresi (yeni) ---------- */
.auth-card { max-width: 860px; padding: 0; display: grid; grid-template-columns: 1fr 1.05fr; overflow: hidden; }
.auth-side { position: relative; min-height: 560px; background: linear-gradient(160deg, #2a1050, #12081f 60%); overflow: hidden; }
.auth-side video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.auth-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 6, 20, .15) 30%, rgba(10, 6, 20, .92)); }
.auth-side-in { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 28px; }
.auth-brand { position: absolute; top: 24px; left: 28px; z-index: 1; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: #fff; }
.auth-brand img { width: 30px; height: 30px; border-radius: 9px; }
.auth-side-in h2 { font-size: 30px; line-height: 1.05; margin: 0 0 14px; color: #fff; text-transform: none; }
.auth-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.auth-perks li { position: relative; padding-left: 26px; color: rgba(255, 255, 255, .86); font-size: 13.5px; }
.auth-perks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.auth-main { position: relative; padding: 38px 32px 22px; display: flex; flex-direction: column; justify-content: center; max-height: 92vh; overflow: auto; }
.auth-head { margin-bottom: 4px; }
.auth-head h3 { font-size: 24px; letter-spacing: -.01em; }
.auth-head p { margin: 6px 0 0; font-size: 13.5px; }
.auth-form { gap: 10px; }
.field-ico { position: relative; display: block; }
.field-ico > svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.field-ico input { width: 100%; padding-left: 44px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.field-ico input:focus { border-color: rgba(var(--a2), .7); box-shadow: 0 0 0 4px rgba(var(--a2), .15); outline: none; }
.field-ico input[name=password] { padding-right: 46px; }
.pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 10px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.pw-eye svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.pw-eye.on svg { stroke: var(--accent); }
.auth-forgot { align-self: flex-end; width: auto; text-align: right; font-size: 12.5px; margin: -2px 0 0; padding: 0; }
.auth-submit { height: 50px; font-size: 15.5px; margin-top: 4px; }
.auth-switch { text-align: center; color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }
.auth-switch .link { font-weight: 700; color: var(--accent); padding: 0; font-size: inherit; }
.auth-card #termsRow { margin-top: 2px; }
.auth-card .google-slot { margin: 16px 0 2px; }
@media (max-width: 760px) {
  .auth-card { grid-template-columns: 1fr; max-width: 430px; }
  .auth-side { display: none; }
  .auth-main { padding: 30px 20px 18px; }
}

/* ---------- Keşfet paneli ---------- */
.explore { margin: 26px 0 22px; }
.ex-panel { position: relative; border-radius: 26px; padding: 22px 20px 18px; background: radial-gradient(120% 70% at 20% 0%, rgba(var(--a1), .28), transparent 60%), radial-gradient(90% 60% at 90% 0%, rgba(var(--a2), .22), transparent 60%), #0c0f22;
  border: 1px solid rgba(var(--a2), .35); box-shadow: 0 -12px 50px -18px rgba(var(--a2), .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
.ex-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.ex-brand { margin: 0; font-size: clamp(26px, 3.4vw, 38px); line-height: 1; letter-spacing: -.01em; color: #fff; }
.ex-brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ex-top p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.ex-start { flex: none; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 15px; color: #fff; padding: 12px 26px; border-radius: 999px; background: var(--grad);
  box-shadow: 0 6px 0 -1px rgba(0, 0, 0, .35), 0 10px 30px -6px rgba(var(--a2), .7); transition: transform .15s; }
.ex-start:hover { transform: translateY(-1px); }
.ex-grid { --g: 10px; --cols: 6; container-type: inline-size; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-auto-flow: dense; gap: var(--g);
  grid-auto-rows: calc((100cqw - (var(--cols) - 1) * var(--g)) / var(--cols) * 16 / 9); max-height: calc(2 * (100cqw - (var(--cols) - 1) * var(--g)) / var(--cols) * 16 / 9 + var(--g)); overflow: hidden; }
@supports not (width: 1cqw) { .ex-grid { grid-auto-rows: 300px; max-height: 610px; } }
.ex-grid.open { max-height: none; }
.ex-tile { aspect-ratio: auto; padding: 0; border: 0; border-radius: 16px; cursor: pointer; background: #151a33; display: block; width: 100%; height: 100%; }
.ex-tile.wide { grid-column: span 2; }
.ex-tile::after { background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .45)) !important; }
.ex-tile .cover-img { transform: none; }
.ex-tile.play .cover-img { animation: none; }
.ex-pill { position: absolute; right: 10px; bottom: 10px; padding: 8px 16px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; font-size: 13px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s; pointer-events: none; }
.ex-tile:hover .ex-pill, .ex-tile:focus-visible .ex-pill { opacity: 1; transform: none; }
.ex-tile:hover { outline: 2px solid rgba(var(--a2), .8); outline-offset: -2px; }
.ex-more-wrap { display: flex; justify-content: center; margin-top: -26px; position: relative; padding-top: 34px; background: linear-gradient(180deg, transparent, #0c0f22 70%); border-radius: 0 0 20px 20px; }
.ex-grid.open + .ex-more-wrap { margin-top: 8px; padding-top: 0; background: none; }
.ex-more { border: 1px solid rgba(var(--a2), .5); background: rgba(var(--a2), .12); color: #fff; font: inherit; font-weight: 700; font-size: 13.5px; padding: 8px 22px; border-radius: 999px; cursor: pointer; }
@media (max-width: 1100px) { .ex-grid { --cols: 4; } }
@media (max-width: 700px) {
  .ex-panel { padding: 16px 12px 14px; border-radius: 20px; }
  .ex-grid { --cols: 2; --g: 8px; }
  .ex-start { padding: 10px 16px; font-size: 13.5px; }
  .ex-top p { font-size: 13px; }
  .ex-pill { opacity: 1; transform: none; padding: 6px 12px; font-size: 12px; right: 8px; bottom: 8px; }
}

/* ---------- Keşfet ayrıntı penceresi ---------- */
#exModal { padding: 0; }
.ex-detail { width: min(1280px, 100vw); height: min(860px, 100vh); display: grid; grid-template-columns: 1fr 380px; background: #0d0a16; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.ex-stage { background: #000; display: flex; align-items: center; justify-content: center; min-height: 0; }
.ex-stage video { max-width: 100%; max-height: 100%; height: 100%; object-fit: contain; background: #000; }
.ex-stage video.wide { width: 100%; height: auto; }
.ex-side { position: relative; display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--line); background: var(--card); }
.ex-side .modal-x { z-index: 2; }
.ex-side-in { flex: 1; overflow: auto; padding: 22px 20px 12px; }
.ex-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-right: 40px; }
.ex-mode, .ex-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.ex-mode { background: linear-gradient(135deg, rgba(var(--a1), .28), rgba(var(--a2), .28)); color: #fff; border: 1px solid rgba(var(--a2), .4); }
.ex-mode svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.ex-tag { background: rgba(255, 255, 255, .07); color: var(--muted); }
.ex-side h3 { margin: 14px 0 18px; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
.ex-params { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
.ex-pc { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.ex-pc svg { grid-row: span 2; width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: rgba(var(--a2), .14); fill: none; stroke: #f0a6d4; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ex-pc span { font-size: 11.5px; color: var(--muted); }
.ex-pc b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-box { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); margin-bottom: 12px; }
.ex-box h4 { margin: 0 0 10px; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ex-inputs { display: flex; flex-wrap: wrap; gap: 10px; }
.ex-in { display: grid; gap: 5px; justify-items: center; text-decoration: none; }
.ex-in img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); display: block; transition: transform .15s; }
.ex-in:hover img { transform: scale(1.04); }
.ex-in span { font-size: 11px; color: var(--muted); }
.ex-ph { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ex-ph h4 { margin: 0; }
.ex-copy { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, .06); color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.ex-copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ex-copy:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.ex-prompt { margin: 0; font-size: 14px; line-height: 1.6; white-space: pre-line; color: var(--text); padding-left: 12px; border-left: 3px solid rgba(var(--a2), .6);
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.ex-prompt.open { display: block; }
.ex-pr-more { margin-top: 6px; padding: 0; font-weight: 700; color: var(--accent); font-size: 12.5px; }
.ex-stage { position: relative; isolation: isolate; overflow: hidden; }
.ex-stage::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: var(--bg) center / cover; filter: blur(40px) brightness(.45) saturate(1.2); }
.ex-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.ex-actions .btn { height: 48px; }
.ex-actions .btn.ghost { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; }
.ex-actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) {
  .ex-detail { grid-template-columns: 1fr; grid-template-rows: minmax(0, 58vh) minmax(0, 1fr); height: 100dvh; border-radius: 0; border: 0; }
  .ex-side { border-left: 0; border-top: 1px solid var(--line); }
  .ex-side .modal-x { position: fixed; top: 12px; right: 12px; background: rgba(0, 0, 0, .55); color: #fff; }
}

/* ===== Yan menü: ince, zarif (Pollo tarzı) ===== */
.tabbar .side-brand { font-size: 19px; padding: 4px 10px 18px; }
.tabbar button { font-size: 14px; font-weight: 500; gap: 11px; padding: 8px 12px; border-radius: 10px; color: rgba(255, 255, 255, .78); letter-spacing: .005em; }
.tabbar svg { width: 18px; height: 18px; stroke-width: 1.6; }
.tabbar button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.tabbar button.active { color: var(--accent-2); background: linear-gradient(90deg, rgba(var(--a1), .2), rgba(var(--a1), .02)); font-weight: 600; }
.tabbar .side-label { font-size: 12px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--dim); padding: 14px 12px 4px; }
.tabbar .side-credits { font-weight: 500; }
.nav-grp { position: relative; width: 100%; }
.has-fly .chev { margin-left: auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; opacity: .55; transition: transform .15s, opacity .15s; }
.has-fly .chev svg { width: 14px; height: 14px; stroke-width: 2; }
.nav-grp:hover .has-fly, .nav-grp.open .has-fly { background: rgba(255, 255, 255, .06); color: #fff; }
.nav-grp.open .chev { opacity: 1; }
.fly { display: none; position: fixed; z-index: 60; gap: 26px; padding: 16px 16px 14px; border-radius: 16px; background: rgba(20, 23, 44, .97); border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav-grp.open .fly { display: flex; }
.fly::before { content: ""; position: absolute; left: -14px; top: 0; bottom: 0; width: 14px; } /* fareyle geçerken kapanmasın */
.fly-col { display: flex; flex-direction: column; gap: 1px; min-width: 200px; }
.fly-col h5 { margin: 0 0 6px; padding: 0 10px; font-size: 12px; font-weight: 500; color: var(--dim); }
.fly-col button { padding: 8px 10px !important; font-size: 13.5px !important; border-radius: 9px !important; gap: 10px !important; white-space: nowrap; }
.fly-col button svg { width: 17px !important; height: 17px !important; }
.fly-new { margin-left: 8px; font-style: italic; font-size: 10.5px; font-weight: 600; color: var(--accent-2); background: rgba(var(--a2), .14); padding: 1px 7px; border-radius: 6px; }
.fly-col.models { min-width: 170px; }
.fly-model { display: flex; align-items: center; gap: 10px; padding: 7px 10px; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.fly-model i { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: rgba(255, 255, 255, .1); }
.fly-note { margin: 8px 10px 0; font-size: 11.5px; color: var(--dim); max-width: 170px; line-height: 1.4; }
@media (min-width: 1024px) { #app { padding-left: 232px; } #app .tabbar { width: 232px; padding-left: 10px; padding-right: 10px; } }
/* Telefon menüsünde alt liste satır içinde açılır */
@media (max-width: 599px) {
  .nav-grp .fly { position: static; flex-direction: column; gap: 10px; padding: 6px 0 8px 18px; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
  .fly::before { display: none; }
  .nav-grp.open .chev { transform: rotate(90deg); }
  .fly-col.models { display: none; }
  .has-fly .chev { width: 34px; height: 30px; margin-right: -6px; }
}
@media (min-width: 600px) and (max-width: 1023px) { #app .tabbar .has-fly .chev { display: none; } #app .tabbar .fly-col button > span { display: inline; } #app .tabbar .fly-col button { width: auto; height: auto; justify-content: flex-start; } }

/* ===== Resim stüdyosu ===== */
.img-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 760px; margin: 0 auto 14px; }
.img-tools button { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; padding: 14px; border-radius: 16px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line); color: var(--text); font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.img-tools button svg { grid-row: span 2; width: 38px; height: 38px; padding: 8px; border-radius: 11px; background: rgba(255, 255, 255, .06); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.img-tools b { font-size: 14.5px; }
.img-tools span { font-size: 12px; color: var(--muted); }
.img-tools button.on { border-color: rgba(var(--a2), .7); background: linear-gradient(135deg, rgba(var(--a1), .16), rgba(var(--a2), .08)); }
.img-tools button.on svg { background: var(--grad); color: #fff; }
#imgForm { max-width: 760px; margin: 0 auto; }
.img-hint { margin: 2px 4px 0; }
#tab-image .consent, #tab-image .err { max-width: 760px; margin-left: auto; margin-right: auto; }
.img-res-wrap { border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: #0a0c18; }
.img-res-wrap.checker { background: repeating-conic-gradient(#232842 0 25%, #171b2e 0 50%) 0 0 / 22px 22px; }
.img-res { max-height: 70vh; width: auto; max-width: 100%; object-fit: contain; display: block; }
.img-res.dim { opacity: .35; filter: blur(2px); }
.img-next { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
@media (max-width: 600px) { .img-tools { grid-template-columns: 1fr; } .img-tools button { padding: 11px 12px; } }

/* ===== Kredi satın alma penceresi ===== */
.buy-card { position: relative; width: min(920px, 100%); max-height: 94vh; overflow: auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: 12px; padding: 12px; border-radius: 24px;
  background: #0e1020; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.buy-side { padding: 22px 22px 18px; border-radius: 18px; background: #151830; display: flex; flex-direction: column; }
.buy-warn { display: flex; gap: 10px; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: #fff; }
.buy-warn svg { width: 20px; height: 20px; flex: none; margin-top: 1px; fill: none; stroke: #ff8a5c; stroke-width: 2; stroke-linecap: round; }
.buy-side h4 { margin: 0 0 12px; font-size: 15px; }
.buy-feats { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 11px; }
.buy-feats li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, .85); }
.buy-feats svg { width: 16px; height: 16px; flex: none; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.buy-box { margin-top: auto; padding: 14px; border-radius: 14px; border: 1px solid rgba(var(--a2), .3); background: linear-gradient(135deg, rgba(var(--a1), .14), rgba(var(--a2), .06)); }
.buy-box b { display: flex; align-items: center; gap: 8px; font-size: 13.5px; letter-spacing: .02em; }
.buy-box b svg { width: 16px; height: 16px; fill: var(--accent-2); }
.buy-box p { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.buy-main { padding: 22px 16px 12px; display: flex; flex-direction: column; }
.buy-main h3 { margin: 6px 30px 4px; text-align: center; font-size: 22px; }
.buy-main > .muted { margin: 0 0 16px; }
.buy-list { display: grid; gap: 10px; }
.buy-opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 18px 18px; border-radius: 16px; text-align: left; cursor: pointer;
  background: #151830; border: 1px solid rgba(255, 255, 255, .06); color: var(--text); font: inherit; transition: border-color .15s, background .15s; }
.buy-opt:hover { border-color: rgba(255, 255, 255, .16); }
.buy-opt.on { border-color: var(--accent); background: linear-gradient(135deg, rgba(var(--a1), .14), rgba(var(--a2), .06)); }
.buy-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); display: grid; place-items: center; }
.buy-opt.on .buy-radio { border: 0; background: var(--grad); }
.buy-opt.on .buy-radio::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2.4px 2.4px; transform: rotate(-45deg) translate(1px, -1px); }
.buy-n { display: grid; gap: 3px; }
.buy-n b { font-size: 17px; }
.buy-n span, .buy-p span { font-size: 12.5px; color: var(--muted); }
.buy-p { display: grid; gap: 2px; justify-items: end; }
.buy-p b { font-size: 22px; letter-spacing: -.01em; }
.buy-badge { position: absolute; top: -1px; left: -1px; padding: 3px 12px 3px 10px; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--grad); border-radius: 16px 0 12px 0; }
.buy-opt.hot { padding-top: 26px; }
.buy-go { margin-top: 18px; height: 52px; font-size: 16px; }
.buy-safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font-size: 12px; color: var(--dim); }
.buy-safe svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
#buyModal .modal-x { z-index: 2; }
@media (max-width: 760px) {
  .buy-card { grid-template-columns: 1fr; padding: 8px; }
  .buy-side { order: 2; padding: 16px; }
  .buy-main { padding: 18px 8px 8px; }
  .buy-main h3 { font-size: 19px; }
  .buy-opt { padding: 14px; gap: 12px; }
  .buy-p b { font-size: 18px; }
}
.buy-warn-m { display: none; }
@media (max-width: 760px) {
  .buy-warn-m { display: block; margin: 0 34px 10px 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.4; background: rgba(255, 138, 92, .12); color: #ffc2a8; }
  .buy-side .buy-warn { display: none; }
}
@media (max-width: 599px) { .fly-col h5 { display: none; } }

/* ---------- Özel açılır listeler ---------- */
select.cs-native { display: none !important; }
.cs-chip { display: inline-flex; align-items: center; gap: 8px; flex: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; padding: 9px 12px 9px 14px; background-image: none; white-space: nowrap; transition: border-color .15s, background-color .15s; }
.cs-chip:hover, .cs-chip.open { border-color: rgba(var(--a2), .8); background-color: rgba(var(--a1), .14); }
.cs-field { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px 9px 14px; border-radius: 12px; background: var(--field); border: 1px solid var(--line-2); color: var(--text);
  font: inherit; font-size: 15px; text-align: left; cursor: pointer; transition: border-color .15s; }
.cs-field span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-field:hover, .cs-field.open { border-color: rgba(var(--a2), .7); }
.cs-ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cs-caret { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .6; transition: transform .15s; }
.open > .cs-caret { transform: rotate(180deg); opacity: 1; }
.cs-pop { position: fixed; z-index: 300; padding: 6px; border-radius: 14px; background: rgba(22, 25, 48, .98); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(var(--a2), .08); display: grid; gap: 2px; max-height: 50vh; overflow: auto; animation: arIn .14s ease-out; }
.cs-pop.up { animation-name: csUp; }
@keyframes csUp { from { opacity: 0; transform: translateY(4px); } }
.cs-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: none; color: rgba(255, 255, 255, .82);
  font: inherit; font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; white-space: nowrap; }
.cs-pop button span { flex: 1; }
.cs-pop button .cs-ico { color: var(--muted); }
.cs-pop button:hover, .cs-pop button:focus-visible { background: rgba(255, 255, 255, .07); color: #fff; outline: none; }
.cs-pop button.on { color: #fff; background: linear-gradient(90deg, rgba(var(--a1), .22), rgba(var(--a2), .08)); }
.cs-pop button.on .cs-ico { color: var(--accent-2); }
.cs-check { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--accent-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.cs-pop button.on .cs-check { opacity: 1; }
.cs-pop button:disabled { opacity: .4; cursor: default; }

/* Yazı kutusu yazdıkça uzar */
.cmp-text { overflow-y: hidden; }
.home-cmp .cmp-text { min-height: 84px; }

/* Bakım uyarısı */
.notice-in.warn { gap: 14px; padding: 12px 12px 12px 12px; border-radius: 18px; color: var(--text);
  background: linear-gradient(100deg, rgba(255, 176, 64, .16), rgba(255, 120, 80, .07) 55%, rgba(var(--a2), .06)); border: 1px solid rgba(255, 184, 77, .32);
  box-shadow: 0 10px 30px -12px rgba(255, 160, 60, .35); animation: ntIn .35s ease-out; }
@keyframes ntIn { from { opacity: 0; transform: translateY(-6px); } }
.notice-in > .nt-ico { position: relative; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #ffb547, #ff7a45); box-shadow: 0 6px 16px rgba(255, 140, 60, .4); }
.nt-ico svg { width: 20px; height: 20px; fill: none; stroke: #2a1500; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nt-pulse { position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border-radius: 50%; background: #ffd27a; border: 2px solid #1a1206; }
.nt-pulse::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #ffd27a; animation: ntPulse 1.8s ease-out infinite; }
@keyframes ntPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.nt-txt { display: grid; gap: 2px; }
.nt-txt b { font-size: 14.5px; color: #ffe2ad; }
.nt-txt small { font-size: 13px; color: rgba(255, 255, 255, .72); line-height: 1.45; }
.notice-in.warn .x { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.notice-in.warn .x:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- Yan menü alt kısmı ---------- */
.tabbar .side-foot { gap: 10px; }
.sf-row { display: flex; gap: 6px; }
.tabbar .sf-mini { flex: 1; flex-direction: column; gap: 4px; padding: 9px 4px 7px; border-radius: 12px; font-size: 11.5px; font-weight: 500; color: var(--muted); justify-content: center; text-align: center;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.tabbar .sf-mini svg { width: 18px; height: 18px; }
.tabbar .sf-mini:hover { color: #fff; border-color: rgba(var(--a2), .4); }
.tabbar .sf-ref { position: relative; gap: 10px; padding: 11px 12px; border-radius: 14px; border: 1px solid rgba(var(--a2), .35);
  background: linear-gradient(135deg, rgba(var(--a0), .24), rgba(var(--a2), .07)); color: var(--text); }
.tabbar .sf-ref:hover { border-color: rgba(var(--a2), .7); background: linear-gradient(135deg, rgba(var(--a0), .32), rgba(var(--a2), .1)); color: #fff; }
.sf-ref-ico { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 4px 14px rgba(var(--a0), .45); }
.tabbar .sf-ref-ico svg { width: 17px; height: 17px; stroke: #fff; }
.sf-ref-txt { display: grid; gap: 1px; min-width: 0; }
.sf-ref-txt b { font-size: 13.5px; font-weight: 700; }
.sf-ref-txt small { font-size: 11.5px; color: var(--muted); }
.sf-ref-badge { position: absolute; top: -8px; right: 8px; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: var(--grad); padding: 2px 8px; border-radius: 999px; box-shadow: 0 4px 12px rgba(var(--a0), .5); }
@media (min-width: 600px) and (max-width: 1023px) {
  #app .tabbar .sf-row { flex-direction: column; align-items: center; }
  #app .tabbar .sf-mini { width: 48px; height: 46px; flex: none; padding: 0; }
  #app .tabbar .sf-mini > span, #app .tabbar .sf-ref-txt, #app .tabbar   #app .tabbar .sf-ref { width: 52px; justify-content: center; padding: 8px 0; }
  #app .tabbar .sf-ref > .sf-ref-ico { display: grid; }
  #app .tabbar .sf-ref-badge { right: -4px; }
}

/* ======================= TASARIM A · Elektrik Kontrast ======================= */
body { background:
    radial-gradient(1200px 620px at 60% -220px, rgba(var(--a1), .32), transparent 70%),
    radial-gradient(760px 520px at 100% 28%, rgba(var(--a2), .10), transparent 70%),
    var(--bg); }
.f-hero, .hero-h1 { font-family: 'Fitreel Display', 'Montserrat', 'Arial Black', system-ui, sans-serif; font-weight: 900; }

/* --- İkon rayı (masaüstü) --- */
@media (min-width: 1024px) {
  #app { padding-left: 100px !important; }
  #app .tabbar { width: 100px !important; padding: 18px 8px 16px !important; align-items: center; gap: 4px; overflow: visible; background: rgba(10, 12, 28, .82); }
  #app .tabbar .side-brand { padding: 2px 0 18px; justify-content: center; }
  #app .tabbar .side-brand .brandName, #app .tabbar .side-label, #app .tabbar .side-links { display: none; }
  #app .tabbar .side-brand .logo { width: 44px; height: 44px; border-radius: 14px; box-shadow: 0 10px 28px rgba(var(--a0), .45); }
  #app .tabbar > button, #app .tabbar > .nav-grp > .has-fly { flex-direction: column; justify-content: center; gap: 6px; width: 84px; padding: 10px 2px; border-radius: 16px;
    font-size: 11.5px; font-weight: 500; text-align: center; line-height: 1.2; color: var(--muted); }
  #app .tabbar > button svg, #app .tabbar > .nav-grp > .has-fly > svg { width: 22px; height: 22px; }
  #app .tabbar > button.active, #app .tabbar > .nav-grp > .has-fly.active { color: #fff; background: rgba(var(--a1), .2); box-shadow: inset 0 0 0 1px rgba(var(--a1), .35); }
  #app .tabbar .nav-grp { width: auto; }
  #app .tabbar .has-fly .chev { display: none; }
  #app .tabbar .side-foot { width: 100%; justify-items: center; gap: 10px; }
  #app .tabbar .sf-row { flex-direction: column; align-items: center; gap: 6px; }
  #app .tabbar .sf-mini { width: 56px; flex: none; padding: 8px 2px; font-size: 10.5px; }
  #app .tabbar .sf-ref { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 16px; }
  #app .tabbar .sf-ref > .sf-ref-txt { display: none; }
  #app .tabbar .sf-ref-badge { top: -9px; right: -10px; }
  #app .tabbar button[data-label]:hover::after { content: none; }
}

/* --- Ana sayfa kahraman --- */
.home-hero { display: flex; flex-wrap: wrap; gap: 26px; align-items: stretch; max-width: 1180px; margin: 10px auto 30px; }
.home-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero-hi { margin: 8px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-3); min-height: 1em; }
.hero-h1 { margin: 0; font-size: clamp(40px, 5.6vw, 78px); line-height: .95; letter-spacing: -.03em; }
.hero-h1 em { font-style: italic; background: linear-gradient(135deg, #60a5fa, rgb(var(--a2))); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
#tab-home .home-cmp { padding: 10px; border-radius: 28px; border: 0; background: linear-gradient(135deg, rgba(var(--a1), .6), rgba(var(--a2), .5)); box-shadow: 0 30px 80px -24px rgba(var(--a0), .6); }
#tab-home .home-cmp::before { display: none; }
#tab-home .home-cmp > * { background: transparent; }
#tab-home .home-cmp { --cmp-in: #0d1022; }
#tab-home .home-cmp { display: grid; }
#tab-home .home-cmp > .mode-tabs, #tab-home .home-cmp > .thumbs-strip, #tab-home .home-cmp > .cmp-text, #tab-home .home-cmp > .cmp-bar { background: var(--cmp-in); margin: 0; }
#tab-home .home-cmp > .mode-tabs { border-radius: 20px 20px 0 0; padding: 14px 16px 6px; }
#tab-home .home-cmp > .thumbs-strip { padding: 10px 18px 6px; }
#tab-home .home-cmp > .cmp-text { padding: 6px 20px; min-height: 96px; font-size: 18px; }
#tab-home .home-cmp > .cmp-bar { border-radius: 0 0 20px 20px; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.home-quick { justify-content: flex-start !important; margin: 0 !important; }

/* Sekmeli kaynak seçimi */
.mode-tabs { display: flex; gap: 4px; padding: 4px; overflow-x: auto; scrollbar-width: none; }
.composer > .mode-tabs { align-self: flex-start; }
.mode-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid transparent; background: rgba(255, 255, 255, .04);
  color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: color .15s, background .15s; }
.mode-tabs button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.mode-tabs button.on { color: #fff; background: var(--grad); box-shadow: 0 6px 18px rgba(var(--a0), .4); }
.mode-tabs button .cs-ico { color: currentColor; }
.composer:not(.home-cmp) > .mode-tabs { margin: -2px 0 10px; }

/* Geniş "Oluştur" butonu */
.send-btn.send-wide { width: auto; padding: 0 20px 0 22px; height: 50px; border-radius: 16px; gap: 8px; display: inline-flex; font: inherit; font-size: 15.5px; font-weight: 800; }
.send-btn.send-wide svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Hızlı araç kartları */
.home-tools { flex: 1 1 280px; display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 70px; }
.ht-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; text-align: left; cursor: pointer; font: inherit; color: var(--text);
  background: var(--card); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.ht-card:hover { border-color: rgba(var(--a2), .55); transform: translateY(-1px); }
.ht-card.hot { background: linear-gradient(135deg, rgba(var(--a0), .3), var(--card)); border-color: rgba(var(--a1), .4); }
.ht-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--a1), .16); }
.ht-card.hot .ht-ico { background: var(--grad); }
.ht-ico svg { width: 22px; height: 22px; fill: none; stroke: #93c5fd; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ht-card.hot .ht-ico svg { stroke: #fff; }
.ht-card:nth-child(3) .ht-ico { background: rgba(var(--a2), .16); }
.ht-card:nth-child(3) .ht-ico svg { stroke: #fda4af; }
.ht-txt { display: grid; gap: 2px; min-width: 0; }
.ht-txt b { font-size: 15px; }
.ht-txt span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .home-tools { padding-top: 0; grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); } .ht-card { padding: 12px; gap: 10px; } .ht-ico { width: 40px; height: 40px; } .ht-txt span { font-size: 12px; } }

/* Keşfet: ilk video büyük (bento) */
@media (min-width: 701px) { .ex-grid > .ex-tile:first-child { grid-column: span 2; grid-row: span 2; } }
.ex-brand span { background: linear-gradient(135deg, #60a5fa, rgb(var(--a2))) !important; -webkit-background-clip: text !important; background-clip: text !important; }

/* Son üretimler */
.home-recent { max-width: 1180px; margin: 6px auto 28px; }
.hr-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.hr-head h2 { margin: 0; font-size: 22px; }
.hr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.hr-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.hr-item:hover { border-color: rgba(var(--a2), .5); }
.hr-th { flex: none; width: 54px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--grad); }
.hr-th video, .hr-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hr-txt { display: grid; gap: 4px; min-width: 0; }
.hr-txt b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hr-st { font-size: 12px; font-weight: 600; }
.hr-st.ok { color: var(--ok); } .hr-st.run { color: var(--warn); } .hr-st.err { color: var(--bad); }
#tab-home .home-cmp { max-width: none; width: 100%; margin: 0; box-sizing: border-box; }
#tab-home .home-cmp > .cmp-bar .send-btn { margin-left: 0; }
@media (min-width: 1024px) { .dock { left: calc(100px + (100% - 100px) / 2) !important; } }
#tab-home .home-cmp { display: flex; flex-direction: column; gap: 0; }
#tab-home .home-cmp > .cmp-text { background: var(--cmp-in) !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
@media (max-width: 1099px) { .home-tools { padding-top: 0; grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .home-tools { grid-template-columns: 1fr 1fr; gap: 8px; } .ht-card { flex-direction: column; align-items: flex-start; } }
#tab-home .home-cmp > .mode-tabs { align-self: stretch; }
@media (min-width: 1024px) {
  #app .tabbar { overflow-y: auto; scrollbar-width: none; gap: 2px; }
  #app .tabbar > button, #app .tabbar > .nav-grp > .has-fly { padding: 8px 2px; gap: 5px; }
  #app .tabbar .side-brand { padding-bottom: 12px; }
  #app .tabbar .sf-mini { padding: 7px 2px; }
}
@media (min-width: 1024px) and (max-height: 860px) { #app .tabbar .sf-mini > span { display: none; } #app .tabbar .sf-mini { height: 40px; justify-content: center; } }

/* --- Açılış sayfası (Tasarım A) --- */
.landing { max-width: 1220px; }
.hero.hero-a { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; text-align: left; padding: 48px 4px 40px; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-a .eyebrow { align-self: flex-start; margin: 0; }
.hero-big { margin: 0 !important; font-family: 'Fitreel Display', 'Montserrat', 'Arial Black', sans-serif; font-weight: 900; font-size: clamp(46px, 7.4vw, 104px) !important; line-height: .9 !important; letter-spacing: -.035em !important; }
.hero-big em { font-style: italic; background: linear-gradient(135deg, #60a5fa, rgb(var(--a2))); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero-a .lead { margin: 0; max-width: 540px; font-size: 18px; text-align: left; }
.hero-a .land-cmp { max-width: 640px; margin: 4px 0 0; padding: 10px; border: 0; border-radius: 26px; background: linear-gradient(135deg, rgba(var(--a1), .6), rgba(var(--a2), .5)); box-shadow: 0 26px 70px -22px rgba(var(--a0), .65); display: flex; flex-direction: column; }
.hero-a .land-cmp::before { display: none; }
.hero-a .land-cmp > * { background: #0d1022; margin: 0; }
.hero-a .land-cmp > .mode-tabs { border-radius: 18px 18px 0 0; padding: 12px 14px 4px; align-self: stretch; }
.hero-a .land-cmp > .thumbs-strip { padding: 8px 16px 4px; }
.hero-a .land-cmp > .cmp-text { padding: 6px 18px; border: 0 !important; border-radius: 0 !important; background: #0d1022 !important; }
.hero-a .land-cmp > .cmp-bar { border-radius: 0 0 18px 18px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.hero-a .quick-chips { justify-content: flex-start; margin: 0; }
.hero-a .hero-ctas { justify-content: flex-start; margin: 4px 0 0; }
.hero-a #welcomeNote { margin: -6px 0 0; }
.hero-reels { flex: 1 1 380px; min-width: 0; position: relative; height: 560px; }
.hero-reels .reel { position: absolute; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: var(--card-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.hero-reels .reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-reels .r1 { left: 2%; top: 70px; width: 46%; height: 400px; transform: rotate(-7deg); }
.hero-reels .r2 { right: 0; top: 40px; width: 46%; height: 400px; transform: rotate(6deg); }
.hero-reels .r3 { left: 26%; top: 0; width: 50%; height: 470px; z-index: 2; border-color: rgba(var(--a2), .6); box-shadow: 0 40px 90px -20px rgba(var(--a2), .5); }
.reel-done { position: absolute; left: 14%; bottom: 8px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(17, 20, 40, .94); border: 1px solid var(--line-2); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.rd-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); }
.rd-ico svg { width: 18px; height: 18px; fill: #fff; }
.reel-done > span:last-child { display: grid; }
.reel-done b { font-size: 14px; }
.reel-done small { font-size: 12.5px; color: var(--muted); }
@media (max-width: 860px) { .hero-reels { display: none; } .hero.hero-a { padding-top: 26px; } }
@media (max-width: 600px) { .hero-a .cmp-bar .chips { flex-wrap: wrap; } }

/* Nasıl çalışır: büyük numaralar */
.how .how-step b { font-family: 'Fitreel Display', 'Montserrat', sans-serif; font-weight: 900; font-size: 44px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Kapanış bandı */
.cta-band { margin: 56px 0 32px; padding: 52px 44px; border-radius: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background: radial-gradient(80% 120% at 100% 0%, rgba(var(--a2), .45), transparent 60%), linear-gradient(135deg, #1e3a8a, var(--card-2)); border: 1px solid rgba(var(--a2), .35); }
.cta-band > div { flex: 1 1 420px; }
.cta-band h2 { margin: 0; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.02; letter-spacing: -.02em; }
.cta-band p { margin: 14px 0 0; color: #dbe4ff; font-size: 16px; max-width: 520px; }
.band-btn { background: #f1f4ff !important; color: #070814 !important; border: 0 !important; }
@media (max-width: 600px) { .cta-band { padding: 32px 22px; } }
.hero-a .land-cmp { gap: 0 !important; } #tab-home .home-cmp { gap: 0 !important; }
.hero-a .land-cmp > .thumbs-strip, #tab-home .home-cmp > .thumbs-strip { margin-top: -1px !important; }

/* --- Video sonuç sayfası --- */
#tab-job .job-h { margin: 8px 0 14px; font-family: 'Fitreel Display', 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.05; letter-spacing: -.02em; }
@media (min-width: 1100px) {
  #tab-job { max-width: 1240px; }
  #tab-job .card.job-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr); column-gap: 32px; align-items: start; padding: 24px; }
  #tab-job .card.job-split > * { grid-column: 2; min-width: 0; }
  #tab-job .card.job-split > .media { grid-column: 1; grid-row: 1 / span 40; position: sticky; top: 76px; max-height: calc(100vh - 110px); width: 100%; object-fit: contain; border-radius: 22px; background: #000; margin: 0; }
}
#tab-job .card.job-split .actions .btn.primary { box-shadow: 0 12px 30px rgba(var(--a2), .35); }

/* --- Galeri ve Şablonlar başlıkları --- */
#tab-gallery .page-title { font-family: 'Fitreel Display', 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(36px, 5vw, 64px); line-height: .95; letter-spacing: -.03em; margin-top: 18px; }
#tab-gallery .page-title::after { content: "."; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gallery { gap: 14px; }
.g-item { border-radius: 20px; }
.g-item .thumb { border-radius: 0; }
.g-item:hover { box-shadow: 0 16px 40px -12px rgba(var(--a2), .35); }
.tpl-section.in-app > .section-title, #templates > .section-title { font-family: 'Fitreel Display', 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(30px, 4vw, 52px); letter-spacing: -.02em; }
.tpl-card { border-radius: 20px; }
.tpl-card .tpl-cover { position: relative; }
.tpl-card:hover { box-shadow: 0 18px 44px -14px rgba(var(--a2), .4); }
.section-title .grad, .grad { background: linear-gradient(135deg, #60a5fa, rgb(var(--a2))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tpl-section.in-app .tpl-head h2 { font-family: 'Fitreel Display', 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.02em; margin: 0; }
#tab-job .card.job-split > .pill { justify-self: start; }
#tab-job .card.job-split .job-h { font-size: clamp(22px, 2.3vw, 32px); }

/* ======== Sayfa başlıkları (Şablonlar, Galeri) ======== */
#tab-templates, #tab-gallery { max-width: 1180px; margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pg-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 14px 0 22px; }
.pg-head-l { min-width: 0; }
.pg-h1 { margin: 4px 0 0; font-family: 'Fitreel Display', 'Montserrat', 'Arial Black', sans-serif; font-weight: 900; font-size: clamp(44px, 6.4vw, 84px); line-height: .92; letter-spacing: -.035em; }
.pg-h1 em { font-style: italic; background: linear-gradient(135deg, #60a5fa, rgb(var(--a2))); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.pg-lead { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.pg-search { flex: 0 1 380px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); }
.pg-search svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.9; stroke-linecap: round; }
.pg-search input { flex: 1; min-width: 0; border: 0 !important; background: none !important; box-shadow: none !important; padding: 0; height: 100%; font-size: 15px; }
.pg-search:focus-within { border-color: rgba(var(--a1), .7); }

/* --- Şablonlar --- */
.tp-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tp-cats button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--soft); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tp-cats button span { color: var(--muted); margin-left: 3px; }
.tp-cats button:hover { border-color: rgba(var(--a1), .6); color: #fff; }
.tp-cats button.on { background: #f1f4ff; color: #070814; border-color: #f1f4ff; }
.tp-cats button.on span { color: #5b6180; }
.tp-feat { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.tp-feat .tpl-cover { border: 1px solid var(--line); cursor: pointer; font: inherit; color: #fff; text-align: left; padding: 0; }
.tp-big { flex: 999 1 560px; min-height: 360px; border-radius: 26px; border-color: rgba(var(--a2), .45) !important; align-items: stretch !important; }
.tp-big::after { background: linear-gradient(90deg, rgba(7, 8, 20, .88), rgba(7, 8, 20, .25) 70%) !important; }
.tp-big-in { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 32px; max-width: 520px; }
.tp-badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--grad); font-size: 12px; font-weight: 800; }
.tp-big-t { font-family: 'Fitreel Display', 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(36px, 4.4vw, 58px); line-height: .95; letter-spacing: -.02em; }
.tp-big-d { color: #d5dbf5; font-size: 15px; line-height: 1.5; max-width: 360px; }
.tp-big-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; font-size: 13px; font-weight: 600; color: #d5dbf5; }
.tp-go { padding: 13px 20px; border-radius: 14px; background: #f1f4ff; color: #070814; font-size: 14px; font-weight: 800; }
.tp-big:hover .tp-go { background: #fff; }
.tp-side { flex: 1 1 300px; display: grid; grid-template-rows: repeat(2, minmax(160px, 1fr)); gap: 14px; }
.tp-small { border-radius: 22px; align-items: flex-end !important; }
.tp-small-in { position: relative; z-index: 1; display: grid; gap: 4px; padding: 18px; }
.tp-small-in b { font-family: 'Fitreel Display', 'Montserrat', sans-serif; font-weight: 900; font-size: 24px; line-height: 1; }
.tp-small-in span { font-size: 12.5px; font-weight: 600; color: #e6ebff; }
.tp-feat .tpl-cover:hover { border-color: rgba(var(--a2), .8) !important; }
.tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px 18px; }
.tp-card { display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.tp-cover { aspect-ratio: 4 / 5 !important; border-radius: 20px; border: 1px solid var(--line); padding: 14px !important; }
.tp-card:hover .tp-cover { border-color: rgba(var(--a2), .7); }
.tp-ar { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 4px 9px; border-radius: 8px; background: rgba(7, 8, 20, .62); font-size: 11.5px; font-weight: 700; }
.tp-hot { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 9px; border-radius: 8px; background: var(--grad); font-size: 11px; font-weight: 800; }
.tp-word { position: relative; z-index: 1; font-family: 'Fitreel Display', 'Montserrat', sans-serif; font-weight: 900; font-size: 24px; line-height: 1; text-shadow: 0 4px 20px rgba(0, 0, 0, .6); }
.tp-use { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(7, 8, 20, .45); opacity: 0; transition: opacity .15s; }
.tp-use span { padding: 12px 22px; border-radius: 999px; background: var(--grad); font-size: 14px; font-weight: 800; box-shadow: 0 10px 26px rgba(var(--a2), .45); }
.tp-card:hover .tp-use, .tp-card:focus-visible .tp-use { opacity: 1; }
.tp-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tp-name b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-need { flex: none; padding: 4px 9px; border-radius: 8px; background: rgba(var(--a1), .16); color: #bfdbfe; font-size: 11.5px; font-weight: 600; }
.tp-meta { margin-top: -6px; color: var(--muted); font-size: 13px; }
@media (max-width: 600px) { .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; } .tp-word { font-size: 18px; } .tp-big { min-height: 300px; } .tp-big-in { padding: 22px; } .tp-need { display: none; } }

/* --- Galeri --- */
.gx-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.gx-stat { padding: 12px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: grid; }
.gx-stat b { font-family: 'Fitreel Display', 'Montserrat', sans-serif; font-weight: 900; font-size: 26px; line-height: 1.1; }
.gx-stat span { font-size: 12.5px; color: var(--muted); }
.gx-stat.hot { background: linear-gradient(135deg, rgba(var(--a0), .3), var(--card)); border-color: rgba(var(--a1), .35); }
.gx-stat.hot span { color: var(--soft); }
.gx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px; border-radius: 18px; background: rgba(17, 20, 40, .8); border: 1px solid var(--line); margin-bottom: 18px; }
.gx-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.gx-tabs button { padding: 9px 14px; border-radius: 12px; border: 0; background: none; color: var(--soft); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.gx-tabs button span { margin-left: 6px; font-size: 12px; color: var(--muted); }
.gx-tabs button:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.gx-tabs button.on { background: var(--grad); color: #fff; }
.gx-tabs button.on span { color: rgba(255, 255, 255, .8); }
.gx-search { flex: 1 1 200px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .04); border-color: transparent; }
.gx-bar .chip-select, .gx-bar .cs-chip { height: 42px; border-radius: 12px; }
.gx-merge { height: 42px; border-radius: 12px !important; border-color: rgba(var(--a2), .5) !important; background: rgba(var(--a2), .08) !important; }
.gx-run { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.gr-item { flex: 1 1 360px; display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); cursor: default; }
.gr-item.run { cursor: pointer; background: linear-gradient(135deg, rgba(245, 184, 74, .09), var(--card)); border-color: rgba(245, 184, 74, .3); }
.gr-th { display: block; width: 56px; height: 72px; border-radius: 12px; background: var(--grad) center / cover no-repeat; }
.gr-txt { flex: 1; min-width: 0; display: grid; gap: 6px; }
.gr-txt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr-txt small { font-size: 12.5px; color: var(--muted); }
.gr-item.run small { color: #f5c66e; font-weight: 600; }
.gr-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.gr-bar i { display: block; width: 40%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f5b84a, rgb(var(--a2))); animation: grRun 1.6s ease-in-out infinite; }
@keyframes grRun { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.gx-group { margin-bottom: 26px; }
.gx-group h2 { margin: 0 0 12px; font-size: 18px; display: flex; align-items: baseline; gap: 10px; }
.gx-group h2 span { font-size: 13px; font-weight: 500; color: var(--muted); }
.gx-groups .gallery { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.gx-groups .g-item { background: none; border: 0; border-radius: 0; overflow: visible; }
.gx-groups .g-item:hover { transform: none; box-shadow: none; }
.gx-groups .g-item .thumb { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background-color: #000; background-size: cover; background-position: center; }
.gx-groups .g-item:hover .thumb { border-color: rgba(var(--a2), .6); }
.gx-groups .g-item .info { padding: 9px 2px 0; }
.gx-groups .g-item .t { font-size: 14px; }
.gx-kind, .gx-len { position: absolute; z-index: 2; padding: 4px 8px; border-radius: 8px; background: rgba(7, 8, 20, .66); font-size: 11.5px; font-weight: 700; color: #fff; }
.gx-kind { top: 10px; left: 10px; } .gx-len { bottom: 10px; right: 10px; }
.gx-act { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: flex; gap: 6px; opacity: 0; transition: opacity .15s; }
.gx-act a, .gx-act button { width: 34px; height: 34px; border-radius: 10px; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: #070814; cursor: pointer; padding: 0; }
.gx-act svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.g-item:hover .gx-act { opacity: 1; }
@media (hover: none) { .gx-act { opacity: 1; } }
.gx-groups .g-item.sel .thumb { outline: 3px solid rgb(var(--a1)); outline-offset: -3px; }
@media (max-width: 600px) { .gx-groups .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .gx-stats { width: 100%; } .gx-stat { flex: 1; padding: 10px 12px; } .gx-stat b { font-size: 20px; } }
.gx-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gx-groups .g-item.is-img .thumb { background: repeating-conic-gradient(#232842 0 25%, #171b2e 0 50%) 0 0 / 18px 18px; }
.gx-groups .g-item.is-img .gx-img { object-fit: contain; }
label.pg-search { flex-direction: row !important; align-items: center !important; }
label.pg-search input { width: auto; }
.gx-search { flex: 1 1 160px !important; }
@media (max-width: 600px) { .gx-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; } .tp-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -2px; } .tp-cats button { flex: none; } }

/* Türkçe büyük harf noktaları (İ, Ü, Ş, Ö) üst satıra değmesin: başlıklarda satır aralığı biraz açık */
.hero-h1 { line-height: 1.05; }
.hero-big { line-height: 1.02 !important; }
.pg-h1 { line-height: 1.04; padding-top: .06em; }
.tp-big-t { line-height: 1.08; }
.tp-small-in b { line-height: 1.2; }
.tp-word { line-height: 1.12; }
.cta-band h2 { line-height: 1.12; }
#tab-job .job-h { line-height: 1.14; }
.ex-brand { line-height: 1.08 !important; padding-top: .06em; }
.tpl-word, .hs-title, .viral-promo h2, .f-cond { line-height: 1.1; }

/* hukuki notlar */
.ai-disc{margin:10px auto 0;max-width:760px;font-size:11.5px;line-height:1.5;color:rgba(255,255,255,.42);text-align:center}
.ai-disc a,.footer-ai a{color:rgba(147,197,253,.85);text-decoration:underline;text-underline-offset:2px}
.ai-label-note{margin:2px 0 0;font-size:12px;line-height:1.5;color:rgba(255,255,255,.5);text-align:center}
.footer-ai{margin:8px 0 0;font-size:11.5px;color:rgba(255,255,255,.38)}
.ex-tag.ex-ai{background:rgba(59,130,246,.14);color:#93c5fd;border-color:rgba(59,130,246,.3)}
.ex-report{display:block;margin:0 0 10px;padding:0 20px;font-size:12px;color:rgba(255,255,255,.45);text-decoration:underline;text-underline-offset:2px}
.ex-report:hover{color:#fda4af}

/* kullanıcı menüsü */
.um-wrap{position:relative}
.um{position:absolute;right:0;top:calc(100% + 10px);width:272px;z-index:60;padding:8px;border-radius:18px;background:rgba(14,16,34,.97);border:1px solid rgba(255,255,255,.09);box-shadow:0 24px 60px -12px rgba(0,0,0,.7),0 0 0 1px rgba(59,130,246,.06);backdrop-filter:blur(16px);animation:umIn .16s ease-out}
@keyframes umIn{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
.um-head{display:flex;gap:12px;align-items:center;padding:10px 10px 8px}
.um-av{width:42px;height:42px;font-size:17px;flex:none;cursor:default;display:grid;place-items:center;padding:0;line-height:1}
.um-id{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.um-id b{font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.um-id small{font-size:12px;color:rgba(255,255,255,.5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.um-id em{font-style:normal;font-size:12px;color:#93c5fd;margin-top:2px}
.um-sep{height:1px;background:rgba(255,255,255,.07);margin:6px 4px}
.um button{display:flex;align-items:center;gap:12px;width:100%;padding:9px 10px;border:0;border-radius:11px;background:none;color:rgba(255,255,255,.88);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.um button:hover{background:rgba(255,255,255,.06);color:#fff}
.um button svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.8}
.um button span{flex:1}
.um-badge{font-style:normal;font-size:11px;font-weight:700;padding:2px 7px;border-radius:99px;background:linear-gradient(90deg,rgb(var(--a1)),rgb(var(--a2)));color:#fff}
.um-val{font-size:12px;color:rgba(255,255,255,.45)}
.um button.um-out{color:#fda4af}
.um button.um-out:hover{background:rgba(244,63,94,.1)}
@media (max-width:560px){.um{position:fixed;right:10px;left:10px;width:auto;top:62px}}
