/* =========================================================
   Kovan Görev Yap Sistemi — Arı kovanı teması
   Koyu (varsayılan) + Açık mod
   ========================================================= */
:root, [data-theme="dark"] {
  --bg: #0c0b09;
  --bg-2: #12100c;
  --card: #17150f;
  --card-2: #1e1b14;
  --line: #2a2619;
  --line-2: #3a3424;
  --text: #f6f0df;
  --muted: #a39a83;
  --honey: #ffd36e;      /* pastel bal sarısı */
  --honey-2: #ffe4a3;
  --honey-3: #f2b440;
  --honey-ink: #1c1405;  /* sarı üstü yazı */
  --honey-text: var(--honey);
  --c-ver: #ffd36e; --c-ver-ink: #1c1405;
  --c-yap: #ffa45c; --c-yap-ink: #2a1203;
  --ok: #9fd89a; --ok-soft: rgba(159, 216, 154, .13);
  --bad: #ff9d88; --bad-soft: rgba(255, 157, 136, .13);
  --warn: #ffb978; --warn-soft: rgba(255, 185, 120, .14);
  --info: #aac4e6; --info-soft: rgba(170, 196, 230, .12);
  --shadow: 0 10px 30px rgba(0, 0, 0, .38);
  --hex-stroke: rgba(255, 211, 110, .055);
  --radius: 16px;
  --radius-sm: 10px;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #fcf7ea;
  --bg-2: #f7efd9;
  --card: #fffdf6;
  --card-2: #fbf4e3;
  --line: #ede1c2;
  --line-2: #e0cfa2;
  --text: #221c0f;
  --muted: #7b7159;
  --honey: #f3bd3d;
  --honey-2: #ffd77a;
  --honey-3: #d99b14;
  --honey-ink: #1c1405;
  --honey-text: #9a6a00;
  --c-ver: #f3bd3d; --c-ver-ink: #1c1405;
  --c-yap: #f7984a; --c-yap-ink: #2a1203;
  --ok: #3d8a3f; --ok-soft: rgba(61, 138, 63, .1);
  --bad: #c4553c; --bad-soft: rgba(196, 85, 60, .1);
  --warn: #b0700c; --warn-soft: rgba(176, 112, 12, .1);
  --info: #4a6d9e; --info-soft: rgba(74, 109, 158, .1);
  --shadow: 0 10px 30px rgba(120, 90, 10, .1);
  --hex-stroke: rgba(196, 150, 20, .09);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--honey-text); text-decoration: none; }
a:hover { color: var(--honey-2); }
[data-theme="light"] a:hover { color: var(--honey-3); }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
code, pre { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 13px; }
pre { background: var(--bg-2); border: 1px solid var(--line); padding: 14px; border-radius: var(--radius-sm); overflow: auto; max-width: 100%; white-space: pre; -webkit-overflow-scrolling: touch; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, Consolas, monospace; }
.text-ok { color: var(--ok); } .text-bad { color: var(--bad); } .text-honey { color: var(--honey-text); }
.right { text-align: right; } .center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 } .mt { margin-top: 16px } .mb { margin-bottom: 16px } .mb-0 { margin-bottom: 0 }
.flex { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; }
.hidden { display: none !important; }
mark { background: none; color: var(--honey-text); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; padding: 10px 16px; border-radius: 10px; background: var(--honey); color: var(--honey-ink); font-weight: 700; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Petek arka plan */
.hive-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 32V66' fill='none' stroke='%23ffd966' stroke-opacity='.06' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 56px 98px;
  mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%);
}
[data-theme="light"] .hive-bg { filter: saturate(2) brightness(.7); opacity: .9; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--card-2); color: var(--text); font: inherit; font-weight: 600; cursor: pointer;
  transition: .18s ease; white-space: nowrap; text-decoration: none;
}
.btn:hover { border-color: var(--honey); color: var(--text); }
.btn-primary { background: var(--honey); border-color: var(--honey); color: var(--honey-ink); }
.btn-primary:hover { background: var(--honey-2); border-color: var(--honey-2); color: var(--honey-ink); transform: translateY(-1px); box-shadow: 0 8px 22px color-mix(in srgb, var(--honey) 25%, transparent); }
.btn-ghost { background: transparent; }
.btn-ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.btn-bad { background: var(--bad-soft); border-color: transparent; color: var(--bad); }
.btn-ok:hover { border-color: var(--ok); color: var(--ok); } .btn-bad:hover { border-color: var(--bad); color: var(--bad); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }
.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center;
  background: var(--card-2); border: 1px solid var(--line); color: var(--text); cursor: pointer; font-size: 17px;
}
.icon-btn:hover { border-color: var(--honey); color: var(--honey-text); }
.icon-btn .dot { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--honey); color: var(--honey-ink); font: 700 10px/18px sans-serif; font-style: normal; }
.link-muted { color: var(--muted); } .link-muted:hover { color: var(--honey-text); }
.inline { display: inline; margin: 0; }

/* ---------- Form ---------- */
label { display: block; font-weight: 600; font-size: 13px; margin: 0 0 6px; color: var(--text); }
.field { margin-bottom: 16px; }
.field small, .hint { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.input, input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=tel], input[type=date], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font: inherit; outline: none; transition: .15s;
}
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--honey); box-shadow: 0 0 0 4px var(--honey-soft); }
input[type=file] { width: 100%; padding: 10px; border: 1px dashed var(--line-2); border-radius: 12px; background: var(--bg-2); color: var(--muted); }
input[type=color] { width: 60px; height: 44px; padding: 4px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--honey); margin-top: 2px; flex: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.input-group { display: flex; }
.input-group > input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; height: auto; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; }
.switch input { position: absolute; opacity: 0; }
.switch .sl { width: 46px; height: 26px; border-radius: 20px; background: var(--line-2); position: relative; transition: .2s; flex: none; }
.switch .sl::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + .sl { background: var(--honey); }
.switch input:checked + .sl::after { transform: translateX(20px); background: var(--honey-ink); }

/* ---------- Kart, grid ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -4px 0 16px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; font-size: 17px; }
.card-head h2 span, h2 span.hl { color: var(--honey-text); }
.card.pad-0 { padding: 0; overflow: hidden; }
.card.pad-0 .card-head { padding: 18px 22px 0; }
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > *, .form-grid > *, .flex > .grow { min-width: 0; }
.g-side { grid-template-columns: minmax(0, 1fr) 340px; }
.grid > .card { margin-bottom: 0; }

/* İstatistik kartları */
.stat { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat .hx { flex: none; }
.stat b { display: block; font-size: 22px; line-height: 1.1; }
.stat > div > span { color: var(--muted); font-size: 13px; }
.hx {
  width: 46px; height: 52px; display: grid; place-items: center; font-size: 20px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--honey-soft); color: var(--honey-text);
}
.hx.solid { background: var(--honey); color: var(--honey-ink); }
.hx.ok { background: var(--ok-soft); color: var(--ok); } .hx.bad { background: var(--bad-soft); color: var(--bad); }
.hx.warn { background: var(--warn-soft); color: var(--warn); } .hx.info { background: var(--info-soft); color: var(--info); }

/* Araç kartları (anasayfa) */
.tool-card {
  position: relative; overflow: hidden; display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: 20px;
  background: linear-gradient(135deg, var(--honey) 0%, var(--honey-3) 100%); color: var(--honey-ink); border: 0; min-height: 120px;
  transition: .2s;
}
.tool-card:hover { transform: translateY(-2px); color: var(--honey-ink); box-shadow: 0 14px 34px color-mix(in srgb, var(--honey) 25%, transparent); }
.tool-card.dark { background: var(--card-2); color: var(--text); border: 1px solid var(--line-2); }
.tool-card.dark:hover { color: var(--text); border-color: var(--honey); }
.tool-card .ic { width: 62px; height: 70px; flex: none; display: grid; place-items: center; font-size: 28px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: rgba(0, 0, 0, .12); }
.tool-card.dark .ic { background: var(--honey-soft); color: var(--honey-text); }
.tool-card h3 { font-size: 19px; margin-bottom: 4px; }
.tool-card p { margin: 0; font-size: 13px; opacity: .85; }
.tool-card::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 150px; height: 170px; background: rgba(255, 255, 255, .12); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ---------- Rozet, chip ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-muted { background: var(--card-2); color: var(--muted); border: 1px solid var(--line); }
.badge-honey { background: var(--honey-soft); color: var(--honey-text); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; background: var(--card-2); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); }
.chip-admin { background: var(--honey); color: var(--honey-ink); border: 0; }
.pico { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 10px; --pcs: color-mix(in oklab, var(--pc) 62%, var(--text)); background: color-mix(in srgb, var(--pcs) 14%, transparent); color: var(--pcs); font-size: 17px; flex: none; }
.pico.sm { width: 26px; height: 26px; font-size: 13px; border-radius: 8px; }
.pico.lg { width: 48px; height: 48px; font-size: 24px; border-radius: 14px; }

/* ---------- Tablo ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--card-2); }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: color-mix(in srgb, var(--honey) 3%, transparent); }
.table .actions { white-space: nowrap; text-align: right; }
.table .actions form { display: inline; }
.cell-title { font-weight: 600; }
.cell-sub { color: var(--muted); font-size: 12px; }
.trunc { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }

/* Filtre çubuğu */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 16px; }
.filters .f { min-width: 160px; flex: 1; }
.filters .f label { font-size: 12px; color: var(--muted); }
.filters input, .filters select { min-height: 40px; padding: 8px 12px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 10px 16px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.active, .tabs a:hover { color: var(--honey-text); border-color: var(--honey); }
.tabs a em { font-style: normal; font-size: 11px; background: var(--honey-soft); color: var(--honey-text); padding: 1px 7px; border-radius: 10px; margin-left: 4px; }

/* Sayfalama */
.pager { display: flex; gap: 6px; justify-content: center; padding: 16px; flex-wrap: wrap; }
.pager a { min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 10px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.pager a.active, .pager a:hover { background: var(--honey); color: var(--honey-ink); border-color: var(--honey); }
.pager .gap { color: var(--muted); align-self: center; }

/* Uyarılar */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 16px; border: 1px solid transparent; font-size: 14px; }
.alert > i { font-size: 18px; line-height: 1.2; }
.alert > div { flex: 1; }
.alert-success { background: var(--ok-soft); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.alert-danger { background: var(--bad-soft); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 30%, transparent); }
.alert-warning { background: var(--warn-soft); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.alert-info { background: var(--info-soft); color: var(--info); border-color: color-mix(in srgb, var(--info) 30%, transparent); }
.alert-x { background: none; border: 0; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; opacity: .7; }
.content > .alert-warning:has(.btn) { align-items: center; }

.empty { text-align: center; padding: 46px 20px; color: var(--muted); }
.empty i { font-size: 42px; color: var(--honey-text); opacity: .6; display: block; margin-bottom: 8px; }
.empty p { margin: 0; }

/* İlerleme */
.progress { height: 8px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); overflow: hidden; min-width: 90px; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--honey-3), var(--honey)); border-radius: 10px; }

/* Adımlar */
.steps { display: flex; align-items: center; gap: 0; margin: 4px 0 24px; }
.steps .st { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 14px; }
.steps .st b { width: 38px; height: 42px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--card-2); color: var(--muted); }
.steps .st.on { color: var(--text); } .steps .st.on b { background: var(--honey); color: var(--honey-ink); }
.steps .bar { flex: 1; height: 2px; background: var(--line-2); margin: 0 12px; }
.steps .bar.on { background: var(--honey); }
.step-pane { display: none; } .step-pane.on { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Seçim kartları (kategori/servis) */
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.pick { position: relative; display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; font-weight: 600; font-size: 14px; transition: .15s; }
.pick:hover { border-color: var(--honey); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick:has(input:checked) { border-color: var(--honey); background: var(--honey-soft); box-shadow: 0 0 0 3px var(--honey-soft); }
.svc-list { display: grid; gap: 8px; max-height: 420px; overflow: auto; padding-right: 4px; }
.svc { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; }
.svc:hover { border-color: var(--honey); }
.svc input { position: absolute; opacity: 0; }
.svc:has(input:checked) { border-color: var(--honey); background: var(--honey-soft); }
.svc .price { font-weight: 800; color: var(--honey-text); white-space: nowrap; }
.summary { background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: 14px; padding: 16px; }
.summary .row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; }
.summary .row span { color: var(--muted); }
.summary .total { border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 12px; font-size: 18px; font-weight: 800; }
.summary .total b { color: var(--honey-text); }

/* Görev kartları */
.task-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.task { display: flex; flex-direction: column; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; transition: .18s; }
.task:hover { border-color: var(--honey); transform: translateY(-2px); }
.task.featured { border-color: color-mix(in srgb, var(--honey) 55%, transparent); background: linear-gradient(180deg, var(--honey-soft), var(--card) 60%); }
.task-top { display: flex; gap: 12px; align-items: center; }
.task-top .t { flex: 1; min-width: 0; }
.task-top .t b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-top .t small { color: var(--muted); }
.task .reward { font-size: 20px; font-weight: 800; color: var(--honey-text); }
.task-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.task-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }

/* Kanıt görseli */
.proof-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-2); cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .85); display: grid; place-items: center; z-index: 200; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 92vh; border-radius: 12px; }

/* Destek mesajları */
.thread { display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 80%; padding: 14px 16px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); }
.msg.me { align-self: flex-end; background: var(--honey-soft); border-color: color-mix(in srgb, var(--honey) 30%, transparent); }
.msg .meta { font-size: 12px; color: var(--muted); margin-bottom: 6px; display: flex; gap: 8px; }
.msg .body { white-space: pre-wrap; word-break: break-word; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 150; display: none; place-items: center; padding: 20px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); }
.modal.open { display: grid; }
.modal-box { width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); animation: fade .2s; }
.modal-box.lg { max-width: 760px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-head h3 { margin: 0; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); display: none; z-index: 60; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-menu button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--text); background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--honey-soft); color: var(--honey-text); }
.dropdown-menu form { margin: 0; }

.avatar { width: 40px; height: 40px; flex: none; display: inline-grid; place-items: center; border: 0; cursor: pointer; font-weight: 800; font-size: 14px; background: var(--honey); color: var(--honey-ink); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* =========================================================
   Uygulama iskeleti (panel / admin)
   ========================================================= */
.app { display: block; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 272px; z-index: 50; display: flex; flex-direction: column;
  background: color-mix(in srgb, var(--bg-2) 92%, transparent); backdrop-filter: blur(10px); border-right: 1px solid var(--line);
}
.sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.logo:hover { color: var(--text); }
.logo span::after { content: "."; color: var(--honey-text); }
.side-nav { flex: 1; overflow-y: auto; padding: 6px 12px 16px; }
.side-sec { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; padding: 16px 12px 6px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; color: var(--text); font-weight: 500; font-size: 14px; opacity: .85; position: relative; }
.side-nav a i { font-size: 17px; width: 20px; text-align: center; color: var(--muted); }
.side-nav a:hover { background: var(--card-2); opacity: 1; color: var(--text); }
.side-nav a.active { background: var(--honey); color: var(--honey-ink); opacity: 1; font-weight: 700; }
.side-nav a.active i { color: var(--honey-ink); }
.side-nav .count { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--bad); color: #fff; display: grid; place-items: center; }
.sidebar-foot { padding: 14px; border-top: 1px solid var(--line); }
.me { display: flex; gap: 12px; align-items: center; color: var(--text); padding: 6px; border-radius: 12px; }
.me:hover { background: var(--card-2); color: var(--text); }
.me b { display: block; font-size: 14px; } .me small { color: var(--muted); }

.main { margin-left: 272px; min-height: 100vh; display: flex; flex-direction: column; padding: 0 32px; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; padding: 18px 0; background: linear-gradient(var(--bg) 70%, transparent); }
.page-title { flex: 1; min-width: 0; }
.page-title h1 { font-size: 24px; margin: 0; }
.page-title p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.balance-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 14px; border-radius: 12px; background: var(--honey); color: var(--honey-ink); font-weight: 800; }
.balance-pill:hover { color: var(--honey-ink); background: var(--honey-2); }
.balance-pill .plus { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: rgba(0, 0, 0, .12); }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.content { flex: 1; padding-bottom: 20px; }
.app-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 18px 0 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.app-foot a { color: var(--muted); }
.only-mobile { display: none; }
.sidebar-backdrop { display: none; }

.welcome { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 18px; background: linear-gradient(120deg, var(--honey-soft), transparent 70%), var(--card); border: 1px solid var(--line); margin-bottom: 20px; }
.welcome h2 { margin: 0; font-size: 19px; } .welcome h2 span { color: var(--honey-text); }
.welcome p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.welcome .avatar { width: 52px; height: 58px; font-size: 18px; }

.kv { display: grid; grid-template-columns: 160px 1fr; gap: 10px 16px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; word-break: break-word; }
.copy-box { display: flex; gap: 8px; }
.copy-box input { min-width: 0; flex: 1; }
.input-group > input, .input-group > select { min-width: 0; flex: 1; }
.copy-box input { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.notice { padding: 14px 16px; border-radius: 14px; background: var(--honey-soft); border: 1px dashed color-mix(in srgb, var(--honey) 45%, transparent); font-size: 14px; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.list-plain li:last-child { border-bottom: 0; }
.notif.unread { position: relative; }
.notif.unread::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--honey); position: absolute; left: -14px; top: 18px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars .b i { width: 100%; max-width: 34px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--honey), var(--honey-3)); min-height: 3px; }
.bars .b small { font-size: 10px; color: var(--muted); }

/* =========================================================
   Auth sayfaları
   ========================================================= */
.auth-wrap { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.auth-side { position: relative; padding: 36px 48px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, #19150b, var(--bg) 55%); border-right: 1px solid var(--line); overflow: hidden; color: #f6f0df; }
[data-theme="light"] .auth-side { background: linear-gradient(160deg, #ffe4a3, #f9cb5c); color: #221c0f; }
[data-theme="light"] .auth-side .logo { color: #221c0f; }
.auth-side .logo { color: #f6f0df; }
.auth-hero h2 { font-size: 46px; line-height: 1.05; letter-spacing: -.03em; margin: 26px 0 16px; }
.auth-hero p { max-width: 460px; opacity: .75; }
[data-theme="light"] .auth-hero mark { color: #221c0f; text-decoration: underline wavy #221c0f; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks i { color: var(--honey-text); margin-right: 6px; }
[data-theme="light"] .ticks i { color: #221c0f; }
.hex-stack { display: flex; gap: 8px; }
.hex-stack span { width: 46px; height: 52px; background: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hex-stack span:nth-child(2) { opacity: .6; transform: translateY(26px); } .hex-stack span:nth-child(3) { opacity: .3; }
[data-theme="light"] .hex-stack span { background: #221c0f; }
.auth-main { display: flex; flex-direction: column; padding: 28px 40px; }
.auth-top { display: flex; justify-content: space-between; align-items: center; }
.auth-card { width: 100%; max-width: 440px; margin: auto; padding: 30px 0; }
.auth-card h1 { font-size: 30px; }
.auth-card .alt { text-align: center; margin-top: 18px; color: var(--muted); }
.center-box { min-height: 100vh; display: grid; place-content: center; text-align: center; gap: 10px; padding: 20px; }

/* =========================================================
   Herkese açık (landing)
   ========================================================= */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pub-nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.pub-links { display: flex; gap: 22px; flex: 1; justify-content: center; }
.pub-links a { color: var(--muted); font-weight: 600; font-size: 14px; }
.pub-links a:hover { color: var(--honey-text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.hero { padding: 80px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 20px; background: var(--honey-soft); color: var(--honey-text); font-weight: 700; font-size: 13px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 20px; }
.hero h1 mark { position: relative; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-stats { display: flex; gap: 30px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 28px; color: var(--honey-text); }
.hero-stats span { color: var(--muted); font-size: 13px; }
.hive-art { position: relative; width: 100%; aspect-ratio: 1; max-width: 480px; margin-left: auto; }
.hive-art .cell { position: absolute; width: 30%; aspect-ratio: .866; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--card-2); display: grid; place-items: center; font-size: 34px; color: var(--honey-text); transition: .3s; }
.hive-art .cell.y { background: var(--honey); color: var(--honey-ink); }
.hive-art .cell:hover { transform: scale(1.05); }
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.025em; }
.section-head p { color: var(--muted); font-size: 17px; }
.feature { padding: 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.feature .hx { margin-bottom: 16px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--muted); margin: 0; font-size: 14px; }
.tool-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 34px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); margin-bottom: 24px; }
.tool-row ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.tool-row li { display: flex; gap: 10px; } .tool-row li i { color: var(--honey-text); }
.tool-visual { aspect-ratio: 16/10; border-radius: 18px; background: linear-gradient(135deg, var(--honey-soft), transparent), var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 80px; color: var(--honey-text); }
.compare th:nth-child(2), .compare td:nth-child(2) { background: var(--honey-soft); color: var(--text); font-weight: 600; }
.compare td i.bi-check-circle-fill { color: var(--ok); } .compare td i.bi-x-circle-fill { color: var(--bad); }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--card); margin-bottom: 10px; overflow: hidden; }
.faq-item summary { padding: 18px 20px; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq-item summary::after { content: "+"; color: var(--honey-text); font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .a { padding: 0 20px 18px; color: var(--muted); }
.cta-band { padding: 46px; border-radius: 28px; background: linear-gradient(120deg, var(--honey), var(--honey-3)); color: var(--honey-ink); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: 30px; }
.cta-band .btn { background: var(--honey-ink); color: var(--honey); border-color: var(--honey-ink); }
.pub-foot { border-top: 1px solid var(--line); padding: 56px 0 24px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.foot-grid a { display: block; color: var(--text); opacity: .8; margin-bottom: 8px; font-size: 14px; }
.foot-grid a:hover { color: var(--honey-text); opacity: 1; }
.socials { display: flex; gap: 10px; } .socials a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); }
.foot-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.prose { max-width: 820px; margin: 0 auto; }
.prose h1 { font-size: 34px; }
.prose .card { line-height: 1.75; }

/* =========================================================
   Duyarlı tasarım
   ========================================================= */
@media (max-width: 1100px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-side { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .sidebar { transform: translateX(-100%); transition: transform .25s; }
  .nav-open .sidebar { transform: none; }
  .nav-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 45; }
  .main { margin-left: 0; padding: 0 16px; }
  .only-mobile { display: inline-grid; }
  .balance-pill { padding: 0 6px 0 10px; gap: 6px; font-size: 13px; }
  .balance-pill > i:first-child { display: none; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { padding: 20px; }
  .hero-grid, .tool-row { grid-template-columns: 1fr; }
  .hive-art { max-width: 340px; margin: 0 auto; }
  .pub-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .pub-links.open { display: flex; }
  .pub-links a { padding: 12px 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 700px) {
  .g-2, .g-3, .g-4, .form-grid { grid-template-columns: 1fr; }
  .page-title h1 { font-size: 20px; }
  .page-title p { display: none; }
  .card { padding: 16px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { margin-bottom: 10px; }
  .steps .st span { display: none; }
  .msg { max-width: 95%; }
  .alert { flex-wrap: wrap; }
  .alert > .btn { margin-left: 30px; }
  .topbar { gap: 8px; }
  .top-actions { gap: 6px; }
  .top-actions .icon-btn[data-theme-toggle] { display: none; }
}

/* =========================================================
   Işıltı & hareket efektleri
   ========================================================= */
body {
  --honey-soft: color-mix(in srgb, var(--honey) 13%, transparent);
  --glow: 0 0 0 1px color-mix(in srgb, var(--honey) 25%, transparent), 0 0 22px color-mix(in srgb, var(--honey) 28%, transparent), 0 0 60px color-mix(in srgb, var(--honey) 12%, transparent);
}
[data-theme="light"] body {
  --honey-soft: color-mix(in srgb, var(--honey) 18%, transparent);
  --glow: 0 0 0 1px color-mix(in srgb, var(--honey-3) 30%, transparent), 0 8px 26px color-mix(in srgb, var(--honey-3) 25%, transparent);
}

/* Yüzen ışık kümesi (arka plan) */
.hive-bg::after {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; left: 55%; top: -25vmax; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--honey) 13%, transparent), transparent 62%);
  animation: drift 22s ease-in-out infinite alternate; filter: blur(10px);
}
[data-theme="light"] .hive-bg::after { background: radial-gradient(circle, color-mix(in srgb, var(--honey) 32%, transparent), transparent 62%); }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-18vw, 12vh) scale(1.15); } 100% { transform: translate(-36vw, 4vh) scale(.95); } }

/* Logo ve vurgular */
.logo img { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--honey) 45%, transparent)); transition: transform .4s; }
.logo:hover img { transform: rotate(-12deg) scale(1.08); }
mark, .hero h1 mark, .page-title h1 span, .card-head h2 span, .welcome h2 span { text-shadow: 0 0 24px color-mix(in srgb, var(--honey) 45%, transparent); }
[data-theme="light"] mark, [data-theme="light"] .card-head h2 span { text-shadow: none; }

/* Butonlar */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary { box-shadow: 0 0 0 0 color-mix(in srgb, var(--honey) 0%, transparent); }
.btn-primary:hover { box-shadow: var(--glow); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transition: transform .7s ease;
}
.btn-primary:hover::before { transform: translateX(120%) skewX(-20deg); }
.btn-glow { animation: pulseGlow 2.6s ease-in-out infinite; }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--honey) 45%, transparent); } 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--honey) 0%, transparent), 0 0 30px color-mix(in srgb, var(--honey) 35%, transparent); } }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45); animation: ripple .6s ease-out; pointer-events: none; z-index: -1; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* İmleç takipli ışık (spotlight) kartlar */
.card, .stat, .task, .feature, .tool-row, .pick, .svc, .faq-item { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--honey) 10%, transparent), transparent 45%);
}
.spot:hover::after { opacity: 1; }
.spot::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--honey) 75%, transparent), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot:hover::before { opacity: 1; }
.stat:hover, .feature:hover { border-color: color-mix(in srgb, var(--honey) 35%, var(--line)); }
.task:hover { box-shadow: var(--glow); }

/* Altıgen ikon parlaması */
.hx { transition: transform .3s ease, filter .3s ease; }
.stat:hover .hx, .feature:hover .hx { transform: rotate(-8deg) scale(1.06); filter: drop-shadow(0 0 12px color-mix(in srgb, var(--honey) 55%, transparent)); }
.hx.solid { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--honey) 35%, transparent)); }
.pico { transition: transform .25s, box-shadow .25s; }
.task:hover .pico, .pick:hover .pico { transform: scale(1.08); box-shadow: 0 0 18px color-mix(in srgb, var(--pcs) 40%, transparent); }

/* Kenar çubuğu aktif öğe */
.side-nav a.active { box-shadow: 0 6px 24px color-mix(in srgb, var(--honey) 28%, transparent); }
.side-nav a { transition: background .2s, transform .2s; }
.side-nav a:hover { transform: translateX(3px); }
.balance-pill { box-shadow: 0 0 18px color-mix(in srgb, var(--honey) 25%, transparent); transition: box-shadow .3s, transform .2s; }
.balance-pill:hover { box-shadow: var(--glow); transform: translateY(-1px); }

/* Araç kartları: parıltı süpürmesi */
.tool-card::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 45%, transparent 60%);
  transform: translateX(-100%); transition: transform .9s ease;
}
.tool-card:hover::before { transform: translateX(100%); }
.tool-card .ic { transition: transform .4s; }
.tool-card:hover .ic { transform: rotate(-10deg) scale(1.06); }

/* İlerleme çubuğu ışıltısı */
.progress > i { position: relative; box-shadow: 0 0 12px color-mix(in srgb, var(--honey) 55%, transparent); overflow: hidden; }
.progress > i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); animation: shimmer 2.2s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* Hero: yüzen petek hücreleri */
.hive-art .cell { animation: floaty 6s ease-in-out infinite; }
.hive-art .cell:nth-child(2) { animation-delay: -1s; } .hive-art .cell:nth-child(3) { animation-delay: -2s; }
.hive-art .cell:nth-child(4) { animation-delay: -3s; } .hive-art .cell:nth-child(5) { animation-delay: -4s; }
.hive-art .cell:nth-child(6) { animation-delay: -5s; } .hive-art .cell:nth-child(7) { animation-delay: -2.5s; }
.hive-art .cell.y { filter: drop-shadow(0 0 26px color-mix(in srgb, var(--honey) 55%, transparent)); }
.hive-art .cell .bi { font-size: 1em; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.hero { position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 30%), color-mix(in srgb, var(--honey) 8%, transparent), transparent 50%);
}

/* Kaydırınca beliren öğeler */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Rozet nabzı (sayaçlar) */
.side-nav .count, .icon-btn .dot { animation: pop 2.4s ease-in-out infinite; }
@keyframes pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); box-shadow: 0 0 12px currentColor; } }

/* Uçan arı (landing süsü) */
.bee-fly { position: absolute; width: 34px; height: 34px; pointer-events: none; z-index: 2; offset-path: path("M 0 0 C 120 -80, 260 60, 380 -20 S 600 40, 720 -40"); animation: fly 14s linear infinite; opacity: .9; }
@keyframes fly { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (max-width: 960px) { .bee-fly { display: none; } }

/* =========================================================
   Tatlı anasayfa — Vızvız maskotu
   ========================================================= */
.sweet-hero { padding-bottom: 110px; overflow: hidden; }
.sweet-hero .hero-grid { align-items: center; }
.eyebrow-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 0 4px var(--honey-soft), 0 0 14px var(--honey); animation: pop 2s infinite; }
.honey-text {
  background: linear-gradient(100deg, #ffe4a3 0%, #ffd36e 35%, #f2b440 60%, #ffe4a3 100%); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: honeyShine 5s linear infinite;
  text-shadow: none !important; position: relative; white-space: nowrap;
}
.honey-text::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .16em; border-radius: 99px; background: var(--honey); opacity: .35; }
[data-theme="light"] .honey-text { background-image: linear-gradient(100deg, #a87300 0%, #d39a0c 40%, #9a6a00 70%, #a87300 100%); }
@keyframes honeyShine { to { background-position: 200% center; } }
.btn-soft { background: var(--honey-soft); border-color: transparent; color: var(--honey-text); }
.btn-soft:hover { color: var(--honey-text); border-color: var(--honey); }
.hero-stats { gap: 14px; }
.hs { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 18px; background: color-mix(in srgb, var(--card) 80%, transparent); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.hs-ic { width: 40px; height: 44px; display: grid; place-items: center; font-size: 18px; background: var(--honey); color: var(--honey-ink); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hero-stats .hs b { font-size: 20px; color: var(--text); }
.hero-stats .hs-ic { font-size: 18px; color: var(--honey-ink); }
.hero-stats .hs div > span { font-size: 12px; }

/* Sahne */
.mascot-stage { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-left: auto; --orbit: 215px; }
.stage-hex { position: absolute; inset: 10%; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--honey) 28%, transparent), color-mix(in srgb, var(--honey) 6%, transparent) 60%, transparent 70%), repeating-linear-gradient(60deg, transparent 0 22px, color-mix(in srgb, var(--honey) 5%, transparent) 22px 24px);
  animation: spinSlow 60s linear infinite; }
.stage-glow { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--honey) 45%, transparent), transparent 65%); filter: blur(20px); animation: breathe 4s ease-in-out infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: .6; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.06); } }
.mascot-wrap { position: absolute; left: 50%; top: 52%; width: 62%; transform: translate(-50%, -50%); animation: hoverBee 3.6s ease-in-out infinite; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .35)); cursor: pointer; z-index: 2; }
.mascot-wrap:hover .bee { animation: wiggle .6s ease-in-out; }
@keyframes hoverBee { 0%, 100% { transform: translate(-50%, -52%) rotate(-3deg); } 50% { transform: translate(-50%, -46%) rotate(3deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg) scale(1.05); } 75% { transform: rotate(10deg) scale(1.05); } }
.bee { width: 100%; height: auto; display: block; overflow: visible; }
.bee-wing { transform-box: fill-box; animation: flap .18s ease-in-out infinite alternate; }
.bee-wing-l { transform-origin: 90% 90%; }
.bee-wing-r { transform-origin: 10% 90%; animation-name: flapR; }
@keyframes flap { from { transform: rotate(0) scaleY(1); } to { transform: rotate(-14deg) scaleY(.8); } }
@keyframes flapR { from { transform: rotate(0) scaleY(1); } to { transform: rotate(14deg) scaleY(.8); } }
.bee-eyes { transform-box: fill-box; transform-origin: center; animation: blink 4.5s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.bee-antenna { transform-box: fill-box; transform-origin: 50% 100%; animation: antenna 2.4s ease-in-out infinite; }
@keyframes antenna { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(4deg); } }

.speech { position: absolute; left: 0; top: 6%; z-index: 3; padding: 12px 16px; border-radius: 18px 18px 18px 4px; background: var(--card); border: 2px solid var(--honey); font-size: 14px; line-height: 1.35; box-shadow: var(--glow); animation: bubbleIn .8s cubic-bezier(.2, 1.4, .4, 1) both .4s; }
.speech b { color: var(--honey-text); }
.speech::after { content: ""; position: absolute; left: 22px; bottom: -10px; width: 16px; height: 16px; background: var(--card); border-right: 2px solid var(--honey); border-bottom: 2px solid var(--honey); transform: rotate(45deg); border-radius: 0 0 5px 0; }
@keyframes bubbleIn { from { opacity: 0; transform: scale(.6) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* Başlangıç açıları animasyondan bağımsız: hareket kapalıyken de ikonlar çevreye dağılır */
.orbit { position: absolute; left: 50%; top: 52%; width: 0; height: 0; rotate: var(--a, 0deg); animation: orbit 26s linear infinite; z-index: 1; }
.orbit .bubble-ic { position: absolute; left: var(--orbit); top: 0; rotate: calc(var(--a, 0deg) * -1); transform: translate(-50%, -50%); animation: counter 26s linear infinite; }
.o1 { --a: -80deg; } .o2 { --a: -25deg; } .o3 { --a: 30deg; } .o4 { --a: 85deg; } .o5 { --a: 140deg; } .o6 { --a: 190deg; }
@keyframes orbit { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes counter { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(-360deg); } }
.bubble-ic { width: 52px; height: 58px; display: grid; place-items: center; font-size: 22px; --pcs: color-mix(in oklab, var(--pc) 62%, var(--text)); color: var(--pcs);
  background: var(--card-2); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--pcs) 40%, transparent)); }
.sparkle { position: absolute; width: 14px; height: 14px; background: var(--honey); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 2.6s ease-in-out infinite; }
.s1 { left: 14%; top: 34%; } .s2 { right: 10%; top: 18%; animation-delay: -.8s; width: 10px; height: 10px; } .s3 { right: 18%; bottom: 30%; animation-delay: -1.5s; } .s4 { left: 22%; bottom: 14%; animation-delay: -2s; width: 9px; height: 9px; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(45deg); } }
.honey-pot { position: absolute; right: 2%; bottom: 4%; width: 22%; z-index: 2; animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .3)); }
.honey-pot svg { width: 100%; display: block; }

.honey-drip { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; transform: scaleY(-1); pointer-events: none; }
.honey-drip path { fill: var(--honey); opacity: .9; }
[data-theme="light"] .honey-drip path { fill: #f3bd3d; }

/* Bölüm süsleri */
.head-bee { display: inline-block; width: 72px; margin-bottom: 6px; animation: bob 3s ease-in-out infinite; }
.sweet-card { border-radius: 26px; transition: transform .25s, box-shadow .25s; }
.sweet-card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--glow); }
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps-list li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.steps-list li span { flex: none; width: 30px; height: 34px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--honey-soft); color: var(--honey-text); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.cta-band { position: relative; overflow: visible; }
.cta-bee { width: 120px; flex: none; margin: -50px 0 -30px -10px; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .25)); }
.auth-mascot { width: 150px; margin: 20px 0 0; animation: bob 3.4s ease-in-out infinite; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .35)); }

@media (max-width: 960px) {
  .mascot-stage { max-width: 380px; margin: 10px auto 0; --orbit: 158px; }
  .speech { font-size: 12px; left: -4px; }
}
@media (max-width: 520px) {
  .mascot-stage { max-width: 300px; --orbit: 125px; }
  .bubble-ic { width: 40px; height: 45px; font-size: 17px; }
  .cta-bee { width: 90px; margin: -70px auto 0; }
  .cta-band { text-align: center; justify-content: center; padding: 34px 22px; }
  .hs { flex: 1 1 100%; }
}

/* =========================================================
   Dosya seçici (temaya uygun)
   ========================================================= */
.filebox { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 10px 14px; margin: 0;
  border: 1.5px dashed color-mix(in srgb, var(--honey) 35%, var(--line-2)); border-radius: 16px; background: var(--bg-2); cursor: pointer;
  font-weight: 500; transition: border-color .2s, background .2s, box-shadow .2s; }
.filebox:hover, .filebox:focus-within { border-color: var(--honey); background: var(--honey-soft); }
.filebox:focus-within { box-shadow: 0 0 0 4px var(--honey-soft); }
.filebox.drag { border-style: solid; border-color: var(--honey); background: var(--honey-soft); box-shadow: var(--glow); }
.filebox.has { border-style: solid; }
.filebox.bad { border-color: var(--bad); }
.filebox .fb-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.fb-ic { flex: none; width: 42px; height: 46px; display: grid; place-items: center; font-size: 19px; background: var(--honey); color: var(--honey-ink);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: transform .3s; }
.filebox:hover .fb-ic { transform: rotate(-8deg) scale(1.06); }
.fb-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.fb-txt b { font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-txt small { font-size: 12px; color: var(--muted); }
.fb-prev { flex: none; width: 46px; height: 46px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); }
.fb-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-x { flex: none; width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.fb-x:hover { color: var(--bad); border-color: var(--bad); }
.flex .filebox { width: auto; flex: 1; min-width: 220px; max-width: 360px; }

/* =========================================================
   Görev Ver / Görev Yap modları
   Görev Ver: bal sarısı · Görev Yap: nane yeşili
   ========================================================= */
.mode-yap, [data-theme="dark"] .mode-yap {
  --honey: #ffa45c; --honey-2: #ffc08e; --honey-3: #f2832e; --honey-ink: #2a1203; --honey-text: #ffa45c;
  --hex-stroke: rgba(255, 164, 92, .055);
}
[data-theme="light"] .mode-yap { --honey: #f7984a; --honey-2: #ffb87e; --honey-3: #e07a24; --honey-ink: #2a1203; --honey-text: #a84e0c; --hex-stroke: rgba(224, 122, 36, .09); }

.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 4px 14px 6px; padding: 5px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); }
.mode-switch a { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; color: var(--muted); transition: .2s; }
.mode-switch a i { font-size: 17px; }
.mode-switch a span { display: flex; flex-direction: column; line-height: 1.15; }
.mode-switch a b { font-size: 13px; color: var(--text); }
.mode-switch a small { font-size: 11px; }
.mode-switch a:hover { background: var(--card); color: var(--text); }
.mode-switch .ms-ver.on { background: var(--c-ver); color: var(--c-ver-ink); box-shadow: 0 6px 18px color-mix(in srgb, var(--c-ver) 30%, transparent); }
.mode-switch .ms-yap.on { background: var(--c-yap); color: var(--c-yap-ink); box-shadow: 0 6px 18px color-mix(in srgb, var(--c-yap) 30%, transparent); }
.mode-switch a.on b, .mode-switch a.on small { color: inherit; }

/* Görev yapma adımları */
.earn-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 14px; background: var(--honey); color: var(--honey-ink); font-weight: 800; font-size: 17px; box-shadow: var(--glow); }
.do-step { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.do-step:first-of-type { border-top: 0; padding-top: 4px; }
.do-step > b, .do-step .grow > b { font-size: 16px; display: block; margin-bottom: 4px; }
.do-n { flex: none; width: 40px; height: 44px; display: grid; place-items: center; font-weight: 800; background: var(--honey); color: var(--honey-ink); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* Sade ödeme ekranları */
.amount-big { font-size: 28px !important; font-weight: 800; text-align: center; min-height: 64px !important; letter-spacing: .02em; }
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.method { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--bg-2); cursor: pointer; text-align: center; transition: .15s; }
.method i { font-size: 26px; color: var(--honey-text); }
.method b { font-size: 14px; }
.method small { color: var(--muted); font-size: 12px; }
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method:hover { border-color: var(--honey); }
.method:has(input:checked) { border-color: var(--honey); background: var(--honey-soft); box-shadow: 0 0 0 3px var(--honey-soft); }
.quick-amounts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0 4px; }
.quick-amounts button { height: 36px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.quick-amounts button:hover { border-color: var(--honey); color: var(--honey-text); }
.pay-steps { max-width: 720px; margin: 0 auto; }
.iban-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); margin-bottom: 8px; }
.iban-card .grow code { font-size: 14px; }
details.more { margin-top: 12px; }
details.more summary { cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 600; }
details.more[open] summary { margin-bottom: 10px; }

/* Mobil taşma düzeltmeleri */
.card, .content, .table-wrap { min-width: 0; }
code { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  pre { font-size: 12px; padding: 12px; }
  .mode-switch a { padding: 8px; gap: 6px; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { white-space: nowrap; flex: none; }
  .copy-box { flex-wrap: wrap; }
  .copy-box input { flex-basis: 100%; }
  .card-head { flex-wrap: wrap; gap: 10px; }
}

/* Yapay zekâ notu */
.ai-note { margin-top: 6px; display: grid; gap: 3px; max-width: 260px; }
.ai-note small { color: var(--muted); font-size: 11.5px; line-height: 1.35; }

/* Canlı destek */
.kchat { position: fixed; right: 20px; bottom: 20px; z-index: 120; }
.kchat-fab { width: 58px; height: 64px; border: 0; cursor: pointer; display: grid; place-items: center; font-size: 24px; position: relative;
  background: var(--honey); color: var(--honey-ink); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  filter: drop-shadow(0 8px 18px color-mix(in srgb, var(--honey) 40%, transparent)); transition: transform .2s; }
.kchat-fab:hover { transform: translateY(-2px) scale(1.04); }
.kchat-fab em { position: absolute; top: 9px; right: 11px; width: 11px; height: 11px; border-radius: 50%; background: var(--bad); border: 2px solid var(--honey); }
.kchat-fab em[hidden] { display: none; }
.kchat-box { position: absolute; right: 0; bottom: 76px; width: 360px; height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--honey) 12%, transparent); overflow: hidden; animation: kchatIn .22s ease; }
.kchat-box[hidden] { display: none; }
@keyframes kchatIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.kchat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--honey-soft), transparent); }
.kchat-head b { display: block; font-size: 15px; }
.kchat-head small { color: var(--muted); font-size: 12px; }
.kchat-av { width: 40px; height: 40px; flex: none; }
.kchat-av svg { width: 100%; height: 100%; }
.kchat-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.kchat-msg { max-width: 85%; padding: 9px 12px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); font-size: 14px; line-height: 1.45; align-self: flex-start; overflow-wrap: anywhere; }
.kchat-msg p { margin: 0; }
.kchat-msg b { display: block; font-size: 11px; color: var(--honey-text); margin-bottom: 2px; }
.kchat-msg time { display: block; font-size: 10.5px; color: var(--muted); margin-top: 3px; text-align: right; }
.kchat-msg.user { align-self: flex-end; background: var(--honey); color: var(--honey-ink); border-color: transparent; border-bottom-right-radius: 4px; }
.kchat-msg.user time { color: inherit; opacity: .6; }
.kchat-msg.ai, .kchat-msg.admin { border-bottom-left-radius: 4px; }
.kchat-msg.admin { border-color: color-mix(in srgb, var(--honey) 35%, transparent); }
.kchat-msg.sys { align-self: center; background: var(--bad-soft); color: var(--bad); border: 0; font-size: 12.5px; }
.kchat-typing { display: flex; gap: 4px; padding: 0 18px 8px; }
.kchat-typing[hidden] { display: none; }
.kchat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: kdot 1s infinite ease-in-out; }
.kchat-typing i:nth-child(2) { animation-delay: .15s; } .kchat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes kdot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.kchat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.kchat-form textarea { flex: 1; min-width: 0; resize: none; min-height: 42px; max-height: 120px; padding: 10px 12px; line-height: 1.4; }
.kchat-form .btn { height: 42px; width: 46px; padding: 0; flex: none; }
.kchat-foot { display: flex; justify-content: space-between; padding: 0 14px 10px; font-size: 12px; }
.kchat-foot button { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.kchat-foot button[hidden] { display: none; }
@media (max-width: 520px) {
  .kchat { right: 12px; bottom: 12px; }
  .kchat-box { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; }
  .kchat.on .kchat-fab { display: none; }
}

/* Yönetim: sohbetler */
.chat-admin { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.chat-admin .kchat-list { height: 52vh; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); margin-bottom: 12px; }
.chat-admin .kchat-msg.user { align-self: flex-start; background: var(--card-2); color: var(--text); border-color: var(--line); }
.chat-admin .kchat-msg.ai, .chat-admin .kchat-msg.admin { align-self: flex-end; }
.chat-admin .kchat-msg.admin { background: var(--honey); color: var(--honey-ink); }
.chat-admin .kchat-msg.admin b, .chat-admin .kchat-msg.admin time { color: inherit; opacity: .7; }
.chat-list { display: grid; gap: 2px; max-height: 70vh; overflow-y: auto; }
.chat-list a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--text); }
.chat-list a:hover, .chat-list a.on { background: var(--honey-soft); }
.chat-list small { color: var(--muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 960px) { .chat-admin { grid-template-columns: minmax(0, 1fr); } }

/* Mobil: mod geçişi içerik üstünde, karşılama kartı alt alta */
.mode-switch-m { display: none; }
@media (max-width: 960px) {
  .mode-switch-m { display: grid; margin: 0 0 16px; }
}
@media (max-width: 700px) {
  .welcome { flex-wrap: wrap; padding: 16px; }
  .welcome .grow { flex: 1 1 calc(100% - 70px); }
  .welcome > .btn { flex: 1 1 100%; justify-content: center; }
  .profile-head, .card-head { flex-wrap: wrap; }
}
