/* Panel — ibanim paneliyle aynı sakin görsel dil; açılış sayfası da bu dosyayı kullanır */
:root {
  --bg: #f4f4f1; --surface: #ffffff; --ink: #1b1b1a; --muted: #5c5c57;
  --line: #dcdcd6; --accent: #b4532a; --accent-ink: #ffffff; --danger: #b42318; --ok: #1a7f45;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #151515; --surface: #1f1f1e; --ink: #ececea; --muted: #a3a39d;
          --line: #33332f; --accent: #e08a5f; --accent-ink: #141414; --danger: #ff7a6b; --ok: #4cd38a; }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
[hidden] { display: none !important; }
a { color: var(--accent); }
h2 { font-size: 20px; margin: 0; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Form öğeleri */
label.lbl { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
input, select, textarea {
  width: 100%; max-width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-width: 0;
}
input:disabled { opacity: .65; }
textarea { min-height: 70px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.invalid { border-color: var(--danger) !important; outline-color: var(--danger) !important; }
.mono { font-family: ui-monospace, Menlo, monospace; letter-spacing: .01em; }
button, .btn {
  font: inherit; cursor: pointer; border-radius: 8px; padding: 7px 12px; display: inline-block; text-decoration: none; line-height: 1.45;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); white-space: nowrap;
}
button:hover, .btn:hover { border-color: var(--accent); }
button:disabled { opacity: .5; cursor: default; }
button.primary, .btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
button.danger { color: var(--danger); }
button.danger:hover { border-color: var(--danger); }
button.ghost, .btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
button.ghost:hover, .btn.ghost:hover, .btn.ghost[aria-current] { color: var(--ink); border-color: var(--line); }
.wide { width: 100%; margin-top: 10px; }
.field { margin-bottom: 14px; }
.err { color: var(--danger); font-size: 13px; margin-top: 5px; }
.err:empty { display: none; }
.meta { font-size: 12.5px; color: var(--muted); }
.pad { padding: 12px 4px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.badge.on { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.badge.off { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.prefix { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); overflow: hidden; }
.prefix span { padding: 8px 0 8px 10px; color: var(--muted); font-size: 13px; align-self: center; white-space: nowrap; max-width: 45%; overflow: hidden; text-overflow: ellipsis; }
.prefix input { border: 0; border-radius: 0; padding-left: 2px; }
.prefix:focus-within { outline: 2px solid var(--accent); outline-offset: -1px; }
.prefix input:focus { outline: none; }

/* Marka */
.logo { font-weight: 700; display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--ink); text-decoration: none; }
.wordmark { letter-spacing: -.01em; font-weight: 800; }
.wordmark b { color: var(--accent); font-weight: 800; }
.logo-mark { width: 18px; height: 18px; border-radius: 4px; flex: 0 0 auto;
  background: conic-gradient(var(--ink) 0 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0 / 9px 9px; outline: 2px solid var(--ink); outline-offset: 1px; }

/* Uygulama çubuğu */
.appbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.appbar-inner, .venuebar-inner { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; }
.tabs a { padding: 6px 12px; border-radius: 8px; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.tabs a:hover { color: var(--ink); background: var(--surface); }
.tabs a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.who { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.who strong { color: var(--ink); font-weight: 600; margin-right: 6px; }

.venuebar { border-top: 1px solid var(--line); }
.venuebar-inner { padding-top: 8px; padding-bottom: 8px; }
.vpick { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.vpick select { width: auto; max-width: 280px; font-weight: 600; background: var(--surface); }
.vname { display: flex; flex-direction: column; min-width: 0; color: var(--ink); text-decoration: none; }
.vname strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.back { text-decoration: none; font-size: 14px; white-space: nowrap; }
.slug { text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.add-venue { border-style: dashed; color: var(--accent); font-weight: 600; }
.vtabs { flex: 1 0 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px; }
.vtabs::-webkit-scrollbar { display: none; }

main { max-width: 1200px; margin: 0 auto; padding: 20px 16px 96px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }

/* Giriş */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login form, .login .panel { width: min(360px, 100%); }
.login .logo { justify-content: center; margin-bottom: 18px; font-size: 18px; }

/* Listeler */
input[type=search] { margin-bottom: 12px; }
.vlist { display: flex; flex-direction: column; gap: 6px; }
.item { border: 1px solid var(--line); border-radius: 8px; color: inherit; text-decoration: none; display: flex; gap: 10px; align-items: center; padding: 8px 10px; background: var(--surface); }
.item:hover { border-color: var(--accent); }
.item .t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .s { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item > div { min-width: 0; flex: 1; }
.item .go { color: var(--muted); }
.av { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-weight: 700;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.empty { color: var(--muted); padding: 40px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; }
.empty h2 { color: var(--ink); margin-bottom: 6px; }
.empty p { margin: 0 0 16px; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
th { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
tbody tr:last-child td { border-bottom: 0; }
td .acts { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.usage { font-variant-numeric: tabular-nums; font-weight: 600; }
.usage.full { color: var(--danger); }
.creds { border: 1px solid var(--ok); border-radius: 10px; padding: 14px; background: color-mix(in srgb, var(--ok) 8%, var(--surface)); }
.creds pre { margin: 8px 0 10px; font: 13px/1.6 ui-monospace, Menlo, monospace; white-space: pre-wrap; word-break: break-all; }
.contact { font-size: 15px; margin: 0 0 8px; }

dialog { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); padding: 20px; width: min(460px, calc(100% - 24px)); max-height: calc(100dvh - 24px); }
dialog::backdrop { background: rgba(0,0,0,.45); }
dialog h3 { margin: 0 0 14px; font-size: 17px; }
dialog .acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); z-index: 50; background: var(--ink); color: var(--bg); max-width: calc(100% - 32px);
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--danger); color: #fff; }

@media (max-width: 700px) {
  .who .name { display: none; }
  .main-nav { order: 3; flex: 1 0 100%; }
  .appbar-inner { gap: 8px 10px; }
  .slug { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  /* Tablo telefonda kart listesine döner */
  .rtable thead { display: none; }
  .rtable, .rtable tbody, .rtable tr, .rtable td { display: block; }
  .rtable tr { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; }
  .rtable td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; }
  .rtable td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: 12.5px; }
  .rtable td:first-child { display: block; }
  .rtable td:first-child::before { content: none; }
  .rtable .acts-cell { display: block; padding-top: 8px; }
  .rtable td .acts { justify-content: flex-start; }
  .panel { padding: 14px; }
}

/* Açılış sayfası */
.landing-main { min-height: 100vh; max-width: 640px; margin: 0 auto; padding: 48px 20px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.landing h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.1; letter-spacing: -.02em; margin: 12px 0 0; }
.landing p { font-size: 17px; color: var(--muted); margin: 0; max-width: 52ch; }
.landing .btn { align-self: flex-start; padding: 11px 20px; font-size: 16px; }

/* ---------- Menü düzenleyici */
.head-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.cats { display: flex; flex-direction: column; gap: 14px; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px 12px; }
.cat.off .cat-title h3 { color: var(--muted); }
.cat.dragging, .prod.dragging { opacity: .45; }
.cat-head { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.cat-title { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cat-title h3 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.grip { flex: 0 0 14px; width: 14px; height: 22px; cursor: grab; opacity: .55;
  background: radial-gradient(circle, var(--muted) 1.5px, transparent 1.7px) 0 0 / 7px 7px; }
.grip:hover { opacity: 1; }
.order { display: inline-flex; gap: 2px; }
.order button { padding: 4px 9px; }
.prods { list-style: none; margin: 0; padding: 0; }
.prod { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.prod:last-child { border-bottom: 0; }
.thumb { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--bg); border: 1px solid var(--line); }
.thumb.none { background: repeating-linear-gradient(45deg, var(--bg) 0 6px, var(--surface) 6px 12px); }
.prod-main { flex: 1; min-width: 0; text-align: left; border: 0; background: none; padding: 2px 0; display: flex; flex-direction: column; white-space: normal; }
.prod-main:hover .t { color: var(--accent); }
.prod-main .t { font-weight: 600; overflow-wrap: anywhere; }
.prod-main .s { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prod.off .prod-main .t { color: var(--muted); }
.prod.sold .prod-main .t { text-decoration: line-through; color: var(--muted); }
.add-prod { margin-top: 8px; border-style: dashed; color: var(--accent); font-weight: 600; width: 100%; }

/* Anahtar (tükendi) */
.switch { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); cursor: pointer; white-space: nowrap; user-select: none; }
.switch input { appearance: none; width: 34px; height: 20px; padding: 0; margin: 0; border-radius: 999px; background: var(--line); border: 0; position: relative; cursor: pointer; transition: background .15s; flex: 0 0 auto; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.switch input:checked { background: var(--danger); }
.switch input:checked::after { transform: translateX(14px); }
.switch input:checked + span { color: var(--danger); font-weight: 600; }
.switch input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Ürün formu: geniş diyalog, telefonda tam ekran */
dialog.sheet { width: min(640px, calc(100% - 24px)); }
.push-left { margin-right: auto; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
legend { padding: 0; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check input { width: auto; margin: 0; }
.checks { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 6px; }
.price-rows { display: flex; flex-direction: column; gap: 8px; }
.price-row { display: grid; grid-template-columns: 1fr 130px auto; gap: 8px; align-items: center; }
.price-row.en { grid-template-columns: 1fr 1fr 130px auto; }
.amount { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); overflow: hidden; }
.amount input { border: 0; border-radius: 0; text-align: right; font-variant-numeric: tabular-nums; }
.amount input:focus { outline: none; }
.amount:focus-within { outline: 2px solid var(--accent); outline-offset: -1px; }
.amount:has(.invalid) { border-color: var(--danger); }
.amount > span { padding: 0 10px 0 2px; color: var(--muted); }
.del-price { padding: 6px 10px; }
.add-price { margin-top: 6px; color: var(--accent); padding-left: 0; }
.img-pick { display: flex; gap: 14px; align-items: center; }
.img-prev { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; background: var(--bg); }
.img-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-prev.none { border-style: dashed; }
.img-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }
.img-acts .hint { flex: 1 0 100%; margin-top: 0; }
.file-btn { position: relative; }
.file-btn:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.chips-group { margin-bottom: 8px; }
.chips-group .meta { margin-bottom: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; background: var(--bg); user-select: none; }
.chip input:checked + span { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border-color: var(--accent); color: var(--ink); font-weight: 600; }
.chip-allergen input:checked + span { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); border-color: var(--danger); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.chip input:disabled + span { opacity: .45; cursor: default; }

/* ---------- Fiyat listesi */
.raise { margin-bottom: 16px; }
.raise h3 { margin: 0 0 10px; font-size: 15px; }
.raise-grid { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 0 10px; align-items: end; }
.raise .field { margin-bottom: 8px; }
.ptable-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 12px; }
.ptable td, .ptable th { padding: 7px 8px; }
.ptable .num { text-align: right; width: 150px; }
.ptable .amount { width: 130px; margin-left: auto; }
.ptable .amount input { padding: 6px 4px 6px 8px; }
.ptable tr.grp th { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); padding-top: 16px; background: var(--surface); }
.ptable tbody:first-of-type tr.grp th { padding-top: 8px; }
.ptable .cont { color: var(--muted); }
.ptable tr.changed { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.pdiff { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pdiff .old { text-decoration: line-through; color: var(--muted); }
.pdiff strong { color: var(--accent); }

@media (max-width: 700px) {
  .page-head h2 { flex: 1 0 auto; }
  .cat { padding: 4px 10px 10px; }
  .cat-head { flex-wrap: wrap; }
  .prod { display: grid; grid-template-columns: 48px 1fr auto; grid-template-areas: "thumb main main" "thumb sold order"; gap: 4px 10px; }
  .prod .grip { display: none; }
  .cat-head .grip { display: none; }
  .prod .thumb { grid-area: thumb; }
  .prod-main { grid-area: main; }
  .prod .switch { grid-area: sold; }
  .prod .order { grid-area: order; justify-self: end; }
  .order button { padding: 6px 12px; }
  dialog.sheet { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; border: 0; padding: 16px; }
  dialog.sheet .acts { position: sticky; bottom: -16px; background: var(--surface); padding: 10px 0 12px; margin-bottom: -16px; border-top: 1px solid var(--line); }
  .price-row, .price-row.en { grid-template-columns: 1fr 110px auto; }
  .price-row.en input[name="label_en"] { grid-column: 1; grid-row: 2; }
  .raise-grid { grid-template-columns: 1fr 1fr; }
  .raise-grid .field:first-child { grid-column: 1 / -1; }
  .raise-go { grid-column: 1 / -1; }
  .raise-go button { width: 100%; }
  .ptable .pname:has(.cont) { display: none; }
  /* vurgu kart kenarına taşar, metin içeride kalır (tr[data-id] dolgusunu ezecek özgüllük) */
  .ptable tr[data-id].changed { margin: 0 -10px; padding: 8px 10px; }
  .ptable-wrap { padding: 2px 10px; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr { display: block; }
  .ptable tr[data-id] { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name name" "label amount" "diff diff"; gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .ptable tr[data-id] td { display: block; border: 0; padding: 0; width: auto; }
  .ptable .pname { grid-area: name; font-weight: 600; }
  .ptable .plabel { grid-area: label; align-self: center; font-size: 13px; color: var(--muted); }
  .ptable td.num { grid-area: amount; }
  .ptable .amount { width: 120px; }
  .ptable .pdiff { grid-area: diff; }
  .ptable .pdiff:empty { display: none; }
  .ptable tr.grp { display: block; }
  .ptable tr.grp th { display: block; padding: 14px 0 4px; border-bottom: 1px solid var(--line); }
}

/* ---------- Görünüm */
.look { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 20px; align-items: start; }
.look-form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.look-sec h3, .account h3 { margin: 0 0 12px; font-size: 15px; }
.look.no-en .en-only { display: none; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.theme-card { display: flex; flex-direction: column; gap: 4px; cursor: pointer; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.theme-card:hover { border-color: var(--accent); }
.theme-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); background: var(--surface); }
.theme-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-shot { display: block; aspect-ratio: 390 / 520; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.theme-shot img { display: block; width: 100%; height: auto; }
.theme-name { font-weight: 700; font-size: 14px; }
.theme-tag { font-size: 12px; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.theme-card .badge { align-self: flex-start; margin-top: auto; }
.color-row { display: flex; gap: 8px; align-items: center; }
.color-row input[type=color] { flex: 0 0 48px; width: 48px; height: 38px; padding: 3px; cursor: pointer; }
.color-row input[type=color]:disabled { cursor: not-allowed; }
.color-row .mono { max-width: 130px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; flex-wrap: wrap; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: 7px 14px; font-size: 14px; background: var(--bg); user-select: none; }
.seg label + label span { border-left: 1px solid var(--line); }
.seg input:checked + span { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.img-prev.logo img { object-fit: contain; padding: 6px; }
.warn { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--danger); }
.savebar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap;
  padding: 12px 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.savebar .err { margin: 0 auto 0 0; }
.look-preview { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.phone { width: 410px; height: 800px; padding: 10px; border-radius: 44px; background: #111; box-shadow: 0 12px 40px rgba(0,0,0,.22); }
.phone iframe { display: block; width: 390px; height: 780px; border: 0; border-radius: 34px; background: #fff; }
.center { text-align: center; }
@media (max-width: 1100px) {
  .look { grid-template-columns: 1fr; }
  .look-preview { position: static; order: -1; }
}
@media (max-width: 700px) {
  /* Telefonda çerçeve yok: önizleme ekran genişliğinde */
  .phone { width: 100%; height: 560px; padding: 0; border-radius: 12px; box-shadow: none; border: 1px solid var(--line); background: none; overflow: hidden; }
  .phone iframe { width: 100%; height: 100%; border-radius: 0; }
  .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* ---------- QR */
.qr-layout { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 20px; align-items: start; }
.qr-card { display: grid; place-items: center; padding: 14px; }
.qr-canvas { display: block; width: 100%; max-width: 330px; height: auto; aspect-ratio: 1; image-rendering: pixelated; }
.qr-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.copy-row { display: flex; gap: 8px; margin-bottom: 8px; }
.qr-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 700px) { .qr-layout { grid-template-columns: 1fr; } .qr-card { justify-self: center; width: 100%; } }

.warn-box { margin-bottom: 14px; padding: 10px 14px; border: 1px solid var(--danger); border-radius: 10px; color: var(--danger); font-weight: 600;
  background: color-mix(in srgb, var(--danger) 8%, var(--surface)); }

/* ---------- Hesap */
.account { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.account p { margin: 0; }
.acc-user { font-size: 16px; font-weight: 600; margin-top: 2px !important; }
