/* Miksoloji 5 — "gazoz etiketi": soda beyazı zemin, mürekkep çizgiler, düz meyve renkleri, gazoz kapağı rozetleri */
@font-face { font-family: 'Bricolage'; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%; src: url(fonts/bricolage-grotesque-latin-standard-normal.woff2) format('woff2-variations'), url(fonts/bricolage-grotesque-latin-standard-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; }
@font-face { font-family: 'Bricolage'; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%; src: url(fonts/bricolage-grotesque-latin-ext-standard-normal.woff2) format('woff2-variations'), url(fonts/bricolage-grotesque-latin-ext-standard-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; }

:root {
  /* palet */
  --paper: #F3F7F4;      /* soda beyazı */
  --card: #FFFFFF;
  --ink: #20183A;        /* patlıcan mürekkebi */
  --muted: #5E5777;
  --hair: rgba(32, 24, 58, .14);
  --lemon: #FFD23F;
  --melon: #FF5C7A;
  --mint: #22CC93;
  --curacao: #3F7CFF;
  --orange: #FF9636;
  --grape: #A67CFF;
  --bitters: #D3214A;
  /* eski adlar (JS satır içi stiller ve eski parçalar için) */
  --text: var(--ink); --peel: var(--lemon); --on: var(--ink);
  /* biçim */
  --b: 2px solid var(--ink);
  --sh: 4px 4px 0 var(--ink);
  --sh-sm: 3px 3px 0 var(--ink);
  --r-xl: 1.6rem; --r-lg: 1.15rem; --r-md: .8rem; --r-sm: .55rem;
  --font: 'Bricolage', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --wrap: 75rem;
  --pad: 1.1rem;
  --nav-h: 4.5rem;
  --cap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50.0 0.0 L51.8 0.8 L53.5 2.9 L55.1 5.0 L56.6 6.0 L58.4 5.5 L60.5 3.9 L62.7 2.5 L64.7 2.2 L66.2 3.6 L67.3 6.0 L68.1 8.5 L69.3 9.9 L71.2 9.9 L73.6 9.1 L76.2 8.3 L78.2 8.7 L79.2 10.4 L79.5 13.1 L79.6 15.7 L80.3 17.4 L82.0 18.0 L84.6 17.9 L87.3 17.9 L89.1 18.8 L89.6 20.8 L89.0 23.4 L88.4 25.9 L88.5 27.8 L90.1 28.8 L92.6 29.5 L95.1 30.3 L96.5 31.7 L96.4 33.8 L95.2 36.1 L93.8 38.3 L93.4 40.1 L94.5 41.6 L96.7 43.0 L98.9 44.5 L99.9 46.3 L99.2 48.2 L97.2 50.0 L95.3 51.7 L94.4 53.3 L95.0 55.1 L96.7 57.0 L98.3 59.1 L98.7 61.1 L97.5 62.7 L95.2 63.9 L92.8 65.0 L91.4 66.3 L91.5 68.1 L92.6 70.5 L93.5 73.0 L93.3 75.0 L91.7 76.2 L89.0 76.6 L86.5 76.9 L84.8 77.7 L84.3 79.6 L84.6 82.1 L84.8 84.8 L84.0 86.7 L82.1 87.3 L79.5 86.9 L76.9 86.5 L75.1 86.8 L74.1 88.4 L73.6 90.9 L73.0 93.5 L71.7 95.0 L69.7 95.1 L67.3 94.0 L65.0 92.8 L63.1 92.5 L61.7 93.8 L60.5 96.1 L59.1 98.3 L57.5 99.4 L55.5 98.9 L53.5 97.1 L51.7 95.3 L50.0 94.5 L48.3 95.3 L46.5 97.1 L44.5 98.9 L42.5 99.4 L40.9 98.3 L39.5 96.1 L38.3 93.8 L36.9 92.5 L35.0 92.8 L32.7 94.0 L30.3 95.1 L28.3 95.0 L27.0 93.5 L26.4 90.9 L25.9 88.4 L24.9 86.8 L23.1 86.5 L20.5 86.9 L17.9 87.3 L16.0 86.7 L15.2 84.8 L15.4 82.1 L15.7 79.6 L15.2 77.7 L13.5 76.9 L11.0 76.6 L8.3 76.2 L6.7 75.0 L6.5 73.0 L7.4 70.5 L8.5 68.1 L8.6 66.3 L7.2 65.0 L4.8 63.9 L2.5 62.7 L1.3 61.1 L1.7 59.1 L3.3 57.0 L5.0 55.1 L5.6 53.3 L4.7 51.7 L2.7 50.0 L0.8 48.2 L0.1 46.3 L1.1 44.5 L3.3 43.0 L5.5 41.6 L6.6 40.1 L6.2 38.3 L4.8 36.1 L3.6 33.8 L3.5 31.7 L4.9 30.3 L7.4 29.5 L9.9 28.8 L11.5 27.8 L11.6 25.9 L11.0 23.4 L10.4 20.8 L10.9 18.8 L12.7 17.9 L15.4 17.9 L18.0 18.0 L19.7 17.4 L20.4 15.7 L20.5 13.1 L20.8 10.4 L21.8 8.7 L23.8 8.3 L26.4 9.1 L28.8 9.9 L30.7 9.9 L31.9 8.5 L32.7 6.0 L33.8 3.6 L35.3 2.2 L37.3 2.5 L39.5 3.9 L41.6 5.5 L43.4 6.0 L44.9 5.0 L46.5 2.9 L48.2 0.8Z'/%3E%3C/svg%3E");
}
html { font-size: 100%; }
html.fs-1 { font-size: 112.5%; }
html.fs-2 { font-size: 125%; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font: 420 1rem/1.5 var(--font); font-stretch: 100%; min-height: 100dvh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--curacao); outline-offset: 2px; border-radius: .5rem; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--font); font-weight: 800; font-stretch: 82%; margin: 0; letter-spacing: -0.02em; line-height: 1.02; }
p { margin: 0; }
kbd { font: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#app { min-height: 100dvh; }

/* gazoz kapağı: tırtıklı rozet (sayaçlar, işaretler) */
.cap-shape { -webkit-mask: var(--cap) center / contain no-repeat; mask: var(--cap) center / contain no-repeat; }

/* ---------- açılış ---------- */
.boot { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: .9rem; color: var(--muted); font-weight: 600; }
.boot-glass { width: 3.5rem; animation: sway 1.6s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(-8deg); } }

/* ---------- düğmeler ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.875rem; padding: 0 1.3rem; border-radius: 999px; font-weight: 700; font-size: .98rem; background: var(--card); color: var(--ink); border: var(--b); box-shadow: var(--sh-sm); transition: transform .08s, box-shadow .08s, background .15s; text-decoration: none; white-space: nowrap; }
.btn svg { width: 1.15rem; height: 1.15rem; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--lemon); }
.btn-ghost { background: var(--card); }
.btn-danger { background: var(--card); color: var(--bitters); border-color: var(--bitters); box-shadow: 3px 3px 0 var(--bitters); }
.btn-block { width: 100%; }
.btn-sm { min-height: 2.25rem; padding: 0 .9rem; font-size: .875rem; box-shadow: 2px 2px 0 var(--ink); }
.btn-danger.btn-sm { box-shadow: 2px 2px 0 var(--bitters); }
.btn[disabled] { opacity: .45; pointer-events: none; }
@media (hover: hover) { .btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); } .btn-sm:hover { box-shadow: 3px 3px 0 var(--ink); } .btn-danger:hover { box-shadow: 4px 4px 0 var(--bitters); } }
.icon-btn { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--ink); border: var(--b); flex: 0 0 auto; }
.icon-btn svg { width: 1.1rem; height: 1.1rem; }
.icon-btn.yes { background: var(--lemon); }
@media (hover: hover) { .icon-btn:hover { background: var(--lemon); } }

/* ---------- form ---------- */
.form { display: grid; gap: .875rem; margin-top: 1.25rem; }
.field label { display: block; font-size: .875rem; font-weight: 650; margin-bottom: .35rem; }
.input { width: 100%; background: var(--card); border: var(--b); border-radius: var(--r-md); padding: .8rem 1rem; outline: none; font-size: 1rem; transition: box-shadow .12s; }
.input::placeholder { color: #8C86A0; }
.input:focus { box-shadow: var(--sh-sm); }
.input.sm { padding: .55rem .7rem; font-size: .9rem; border-radius: var(--r-sm); }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2320183A' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: .7rem; padding-right: 1.9rem; }
textarea.input { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; line-height: 1.4; }
.check input { width: 1.35rem; height: 1.35rem; accent-color: var(--ink); flex: 0 0 auto; margin: 0; }
.err { color: var(--bitters); font-size: .9rem; min-height: 1.2em; font-weight: 700; }
.hint { color: var(--muted); font-size: .84rem; }
.lead { color: var(--muted); font-size: 1rem; margin: .5rem 0 1rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.settings-grid { display: grid; gap: .75rem; }

/* segment: mürekkep çerçeveli kapsül, seçili dilim dolu */
.seg { display: flex; background: var(--card); border: var(--b); border-radius: 999px; padding: .2rem; gap: .2rem; }
.seg button { flex: 1; min-height: 2.4rem; padding: 0 .8rem; border-radius: 999px; font-weight: 700; font-size: .9rem; white-space: nowrap; color: var(--muted); transition: background .15s, color .15s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--card); }
.seg-sub { max-width: 26rem; margin: 0 0 1.25rem; }

/* çip */
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: .2rem var(--pad) .45rem; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .375rem; min-height: 2.3rem; padding: 0 .95rem; border-radius: 999px; background: var(--card); border: var(--b); font-size: .9rem; font-weight: 700; white-space: nowrap; transition: background .12s, transform .08s; }
.chip[aria-pressed="true"] { background: var(--k, var(--lemon)); box-shadow: 2px 2px 0 var(--ink); }
@media (hover: hover) { .chip:hover { background: color-mix(in srgb, var(--k, var(--lemon)) 35%, var(--card)); } .chip[aria-pressed="true"]:hover { background: var(--k, var(--lemon)); } }
.wrap-chips { display: flex; flex-wrap: wrap; gap: .5rem; }

/* etiket */
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: .14rem .55rem; border-radius: 999px; background: var(--card); border: 1.5px solid var(--ink); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.tag.ok { background: var(--mint); }
.tag.miss { background: var(--melon); color: var(--ink); }
.tag.sub { background: var(--lemon); }
.tag.zero { background: var(--card); }

/* ---------- üst çubuk + gezinme ---------- */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: calc(.55rem + var(--safe-t)) var(--pad) .55rem; background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: var(--b); }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-stretch: 78%; font-size: 1.55rem; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.brand img { width: 2.25rem; height: 2.25rem; border-radius: .65rem; border: var(--b); }
.top-r { display: flex; align-items: center; gap: .45rem; min-width: 0; }
.who { display: flex; align-items: center; gap: .45rem; padding: .2rem .8rem .2rem .2rem; border-radius: 999px; background: var(--card); border: var(--b); font-size: .9rem; font-weight: 700; min-width: 0; }
.who span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 9rem; }
.avatar { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.05rem; flex: 0 0 auto; border: 1.5px solid var(--ink); }
.avatar.lg { width: 3.25rem; height: 3.25rem; font-size: 1.6rem; border-width: 2px; }
.logout-btn { display: inline-flex; align-items: center; gap: .4rem; height: 2.5rem; padding: 0 .85rem; border-radius: 999px; background: var(--card); border: var(--b); font-size: .9rem; font-weight: 700; flex: 0 0 auto; }
.logout-btn svg { width: 1.1rem; height: 1.1rem; }
@media (hover: hover) { .logout-btn:hover { background: var(--melon); } .who:hover { background: var(--lemon); } }

/* mobil: yüzen alt menü */
.tabs { position: fixed; left: .6rem; right: .6rem; bottom: calc(.55rem + var(--safe-b)); z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); gap: .15rem; padding: .3rem; background: var(--card); border: var(--b); border-radius: 1.4rem; box-shadow: var(--sh); }
.tabs button { display: grid; justify-items: center; gap: .05rem; padding: .4rem 0 .35rem; border-radius: 1.05rem; font-size: .72rem; font-weight: 700; position: relative; color: var(--muted); transition: background .15s, color .15s; }
.tabs svg { width: 1.4rem; height: 1.4rem; }
.tabs button[aria-current="page"] { background: var(--lemon); color: var(--ink); }
.tabs .badge { position: absolute; top: -.35rem; left: calc(50% + .3rem); width: 1.45rem; height: 1.45rem; display: grid; place-items: center; background: var(--melon); color: var(--ink); font-size: .68rem; font-weight: 800; -webkit-mask: var(--cap) center / contain no-repeat; mask: var(--cap) center / contain no-repeat; }

main { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 1rem var(--pad) calc(7rem + var(--safe-b)); }

/* sayfa başlıkları */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: .4rem 0 1.25rem; }
.page-head h1 { font-size: 2.6rem; }
.page-head p { color: var(--muted); margin-top: .35rem; font-size: 1rem; }
.page-actions { display: flex; gap: .5rem; }
.sec-h { display: flex; align-items: center; justify-content: space-between; margin: 2rem 0 .8rem; gap: .75rem; }
.sec-h h2 { font-size: 1.5rem; }
.sec-h > span { color: var(--muted); font-size: .9rem; font-weight: 600; }
.hello { margin: .5rem 0 1.1rem; }
.hello h1 { font-size: 2.4rem; }
.hello p { color: var(--muted); margin-top: .35rem; }

/* ---------- Keşfet: kahraman = günün kokteylinin etiketi ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 1.35rem 1.35rem 1.4rem; border-radius: var(--r-xl); overflow: hidden; background: var(--v, var(--lemon)); border: var(--b); box-shadow: 6px 6px 0 var(--ink); margin-bottom: 1.1rem; isolation: isolate; transition: background-color .5s; }
.hero-text { position: relative; z-index: 1; display: flex; flex-direction: column; }
.greet { font-size: 1rem; font-weight: 650; }
.hero h1 { font-size: clamp(2.6rem, 11vw, 4.6rem); font-stretch: 75%; line-height: .92; margin-top: .35rem; letter-spacing: -0.03em; }
.big-n { display: inline-grid; place-items: center; width: 1.28em; height: 1.28em; margin-right: .08em; vertical-align: -.2em; background: var(--ink); color: var(--lemon); font-size: .9em; font-stretch: 75%; letter-spacing: -0.04em; transform: rotate(-8deg); -webkit-mask: var(--cap) center / contain no-repeat; mask: var(--cap) center / contain no-repeat; }
.hero-sub { margin-top: .65rem; font-size: 1.02rem; font-weight: 550; max-width: 30rem; }
.pick { margin-top: 1.2rem; padding: 1rem 1.1rem 1.1rem; background: var(--card); border: var(--b); border-radius: var(--r-lg); max-width: 32rem; }
.pick-k { font-size: .88rem; font-weight: 650; color: var(--muted); }
.pick h2 { font-size: 2rem; margin-top: .15rem; }
.pick p { color: var(--muted); margin-top: .25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .95rem; }
.hero-art { position: absolute; top: .9rem; right: -.6rem; width: 7rem; height: 8.5rem; z-index: 0; display: grid; place-items: center; opacity: .9; }
.hero-art .g { width: 100%; height: 100%; }
.hero-art .ph { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); border: var(--b); }
.hero.swap .hero-text, .hero.swap .hero-art { animation: swapIn .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes swapIn { 0% { opacity: 1; } 35% { opacity: 0; transform: translateY(.4rem); } 100% { opacity: 1; transform: none; } }
.hero-empty { --v: var(--lemon); }

/* hızlı kartlar: üç düz renk blok */
.quick { display: grid; grid-template-columns: 1fr; gap: .65rem; margin: 0 0 1.6rem; }
.quick-b { display: flex; align-items: center; gap: .8rem; text-align: left; padding: .85rem 1rem; border-radius: var(--r-lg); background: var(--card); border: var(--b); box-shadow: var(--sh-sm); transition: transform .08s, box-shadow .08s; }
.quick-b.q1 { background: var(--melon); }
.quick-b.q2 { background: var(--grape); }
.quick-b.q3 { background: var(--mint); }
.quick-b .qi { font-size: 1.55rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: var(--b); flex: 0 0 auto; }
.quick-b .qt { display: grid; min-width: 0; }
.quick-b b { font-size: 1.05rem; font-weight: 800; }
.quick-b small { font-size: .85rem; font-weight: 550; line-height: 1.35; }
.quick-b:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
@media (hover: hover) { .quick-b:hover { transform: translate(-1px, -1px); box-shadow: var(--sh); } }

/* filtreler */
.filters { display: grid; gap: .65rem; margin-bottom: .75rem; }
.drinkmode { display: grid; grid-template-columns: repeat(3, 1fr); gap: .2rem; background: var(--card); border: var(--b); border-radius: 999px; padding: .2rem; }
.drinkmode button { min-height: 2.45rem; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: .35rem; transition: background .15s, color .15s; }
.drinkmode button span { font-size: 1rem; }
.drinkmode button[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.drinkmode button[data-v="both"][aria-pressed="true"] { background: var(--lemon); }
.drinkmode button[data-v="alcoholic"][aria-pressed="true"] { background: var(--melon); }
.drinkmode button[data-v="mocktail"][aria-pressed="true"] { background: var(--mint); }
.drinkmode button[disabled] { opacity: .35; }
.lock-note { color: var(--muted); font-size: .84rem; grid-column: 1 / -1; margin-top: -.15rem; }
.search { position: relative; }
.search > svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 1.1rem; pointer-events: none; }
.search .input { padding-left: 2.65rem; min-height: 3rem; border-radius: 999px; }
.kbd { display: none; position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); font-size: .78rem; font-weight: 700; border: 1.5px solid var(--ink); border-radius: .35rem; padding: 0 .4rem; line-height: 1.3rem; background: var(--paper); }
.chip.mood { --k: var(--lemon); }
.toolbar { display: flex; gap: .6rem; align-items: center; margin: .9rem 0 .25rem; }
.toolbar .seg { flex: 1; }
.surprise { flex: 0 0 auto; width: 3rem; height: 3rem; border-radius: 50%; background: var(--orange); border: var(--b); box-shadow: var(--sh-sm); display: grid; place-items: center; transition: transform .08s, box-shadow .08s; }
.surprise svg { width: 1.4rem; height: 1.4rem; }
.surprise:active { transform: translate(2px, 2px) rotate(20deg); box-shadow: 1px 1px 0 var(--ink); }
@media (hover: hover) { .surprise:hover svg { animation: roll .55s ease; } }
@keyframes roll { to { transform: rotate(360deg); } }

/* ---------- tarif kartları: her biri kendi kokteylinin renginde ---------- */
.list { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.card { position: relative; display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: .85rem; align-items: center; padding: .55rem 3rem .55rem .55rem; border-radius: var(--r-lg); background: var(--v, var(--card)); border: var(--b); box-shadow: var(--sh-sm); text-align: left; width: 100%; cursor: pointer; transition: transform .1s, box-shadow .1s; }
.card-art { width: 4.6rem; height: 5.1rem; border-radius: var(--r-md); display: grid; place-items: center; overflow: hidden; background: rgba(255, 255, 255, .55); border: 1.5px solid var(--ink); }
.card-art .g { width: 3.5rem; height: 4.2rem; transition: transform .25s cubic-bezier(.34, 1.4, .5, 1); }
.card-art .ph { width: 100%; height: 100%; object-fit: cover; }
.card-body { min-width: 0; }
.card h3 { font-size: 1.3rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .d, .sigline { font-size: .875rem; font-weight: 550; margin-top: .1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(32, 24, 58, .78); }
.sigline { font-weight: 750; color: var(--ink); }
.status { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .45rem; }
.card .tag { background: var(--card); }
.card .tag.ok { background: var(--ink); color: var(--card); border-color: var(--ink); }
.card .tag.miss { background: var(--card); color: var(--bitters); border-color: var(--ink); }
.card .tag.sub { background: var(--lemon); }
.fav { position: absolute; top: .45rem; right: .45rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.fav svg { width: 1.3rem; }
.fav[aria-pressed="true"] svg { animation: pop .35s cubic-bezier(.34, 1.6, .5, 1); }
.card:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
@media (hover: hover) { .card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); } .card:hover .card-art .g { transform: rotate(-6deg) translateY(-.15rem); } }

/* öneri blokları */
.unlock { margin-top: 1.75rem; padding: 1.1rem 1.25rem; border-radius: var(--r-lg); background: var(--card); border: var(--b); }
.unlock h2 { font-size: 1.4rem; }
.unlock > p { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.unlock-row { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; border-top: 1.5px dashed var(--hair); }
.unlock-row:first-of-type { border-top: 0; margin-top: .5rem; }
.unlock-row .e { font-size: 1.5rem; width: 2rem; text-align: center; }
.unlock-row .t { flex: 1; min-width: 0; }
.unlock-row .t b { display: block; font-weight: 750; }
.unlock-row .t small { color: var(--muted); font-size: .84rem; }
.empty { text-align: center; padding: 3rem .75rem 1.5rem; display: grid; justify-items: center; gap: .75rem; }
.empty .g { width: 5.5rem; height: 6.6rem; }
.empty h2 { font-size: 1.9rem; }
.empty p { color: var(--muted); max-width: 32ch; }
.empty-s { padding: 1.25rem; border-radius: var(--r-lg); border: 2px dashed var(--ink); color: var(--muted); font-size: .92rem; background: var(--card); }
.sig-intro { margin: 1.4rem 0 .9rem; }
.sig-intro h2 { font-size: 1.8rem; }
.sig-intro p { color: var(--muted); font-size: .92rem; margin-top: .25rem; }
.c24 { margin-top: 2.25rem; padding-top: .4rem; border-top: var(--b); }
.c24-sub { color: var(--muted); font-size: .84rem; margin: -.25rem 0 .75rem; }
.c24-h3 { font-size: 1.3rem; margin: 1.4rem 0 .6rem; }
.c24-load { color: var(--muted); font-size: .9rem; margin-top: 1.6rem; text-align: center; }
.credit { color: var(--muted); font-size: .8rem; margin-top: 1rem; }
.credit a, .note a { color: #2453C9; font-weight: 700; }
.more-btn { margin-top: .9rem; }

/* ---------- Dolabım ---------- */
.pantry { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.pantry-tools { display: grid; gap: .6rem; }
.pantry-side { display: none; }
.presets { display: flex; gap: .5rem; flex-wrap: wrap; margin: .9rem 0 .25rem; }
.cat { margin-top: 1.75rem; }
.cat-h { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.cat-h h2 { font-size: 1.4rem; }
.cat-e { width: 2.2rem; height: 2.2rem; border-radius: .7rem; display: grid; place-items: center; background: var(--k, var(--lemon)); border: var(--b); font-size: 1.1rem; flex: 0 0 auto; }
.cat-h span:last-child { color: var(--muted); font-size: .84rem; font-weight: 650; margin-left: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .55rem; }
.ing { display: flex; align-items: center; gap: .55rem; padding: .6rem .7rem; border-radius: var(--r-md); background: var(--card); border: var(--b); text-align: left; font-size: .9rem; font-weight: 650; line-height: 1.2; min-height: 3.3rem; transition: background .12s, transform .08s, box-shadow .08s; }
.ing .e { font-size: 1.25rem; flex: 0 0 auto; width: 1.5rem; text-align: center; }
.ing[aria-pressed="true"] { background: var(--k, var(--lemon)); box-shadow: var(--sh-sm); transform: translate(-1px, -1px); animation: pick .28s cubic-bezier(.34, 1.6, .5, 1); }
.ing[aria-pressed="true"]::after { content: ''; margin-left: auto; width: 1.35rem; height: 1.35rem; flex: 0 0 auto; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3L11.5 5.8' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; -webkit-mask: var(--cap) center / contain no-repeat; mask: var(--cap) center / contain no-repeat; }
@keyframes pick { 0% { transform: scale(.95); } 60% { transform: scale(1.03) translate(-1px, -1px); } 100% { transform: translate(-1px, -1px); } }
@media (hover: hover) { .ing:not([aria-pressed="true"]):hover { background: color-mix(in srgb, var(--k, var(--lemon)) 25%, var(--card)); } }
.eq-alt { display: block; color: var(--muted); font-weight: 450; font-size: .76rem; margin-top: .1rem; }
.ing[aria-pressed="true"] .eq-alt { color: rgba(32, 24, 58, .75); }
.eq-grid { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.scan-btn { min-height: 3rem; }
.side-card { padding: 1.25rem; border-radius: var(--r-xl); background: var(--lemon); border: var(--b); box-shadow: var(--sh); }
.side-card + .side-card { margin-top: 1rem; }
.side-card.side-basket { background: var(--mint); }
.side-k { font-size: .9rem; font-weight: 700; }
.side-n { display: flex; align-items: center; gap: .6rem; margin-top: .35rem; }
.side-n b { display: grid; place-items: center; width: 4.6rem; height: 4.6rem; background: var(--ink); color: var(--lemon); font-size: 2rem; font-weight: 800; font-stretch: 75%; transform: rotate(-8deg); -webkit-mask: var(--cap) center / contain no-repeat; mask: var(--cap) center / contain no-repeat; }
.side-n b.bump { animation: bump .45s cubic-bezier(.34, 1.6, .5, 1); }
@keyframes bump { 40% { transform: rotate(8deg) scale(1.15); } 100% { transform: rotate(-8deg); } }
.side-n span { font-size: 1.3rem; font-weight: 800; font-stretch: 82%; }
.side-msg { font-size: .92rem; font-weight: 550; margin-top: .5rem; }
.mini { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .2rem; background: var(--card); border: var(--b); border-radius: var(--r-md); padding: .35rem; }
.mini button { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .3rem .4rem; border-radius: var(--r-sm); text-align: left; font-weight: 700; font-size: .9rem; }
.mini-g .g { width: 1.6rem; height: 1.9rem; }
@media (hover: hover) { .mini button:hover { background: var(--paper); } }
.side-basket p { font-size: .94rem; margin: .45rem 0 .9rem; line-height: 1.5; }
.peel { font-weight: 800; text-decoration: underline; text-decoration-thickness: .12em; text-underline-offset: .14em; }
.barbar { position: fixed; left: .6rem; right: .6rem; bottom: calc(5.35rem + var(--safe-b)); z-index: 25; display: flex; align-items: center; gap: .75rem; padding: .5rem .5rem .5rem 1rem; border-radius: 999px; background: var(--lemon); border: var(--b); box-shadow: var(--sh-sm); }
.barbar b { font-size: .98rem; font-weight: 800; } .barbar small { display: block; font-size: .8rem; font-weight: 550; }
.barbar .t { flex: 1; min-width: 0; }
.barbar .btn { background: var(--ink); color: var(--card); min-height: 2.4rem; box-shadow: none; }
main.has-barbar { padding-bottom: calc(11rem + var(--safe-b)); }

/* ---------- Alışveriş ---------- */
.basket { padding: 1.35rem; border-radius: var(--r-xl); margin-bottom: 1.6rem; background: var(--mint); border: var(--b); box-shadow: 6px 6px 0 var(--ink); }
.basket-head { display: grid; gap: 1rem; }
.basket .side-k { font-size: .95rem; }
.basket h2 { font-size: clamp(1.9rem, 6.5vw, 2.8rem); font-stretch: 78%; margin-top: .2rem; }
.basket .lead { margin: .4rem 0 0; color: var(--ink); font-weight: 550; }
.basket .seg button { color: var(--ink); }
.basket .seg button[aria-pressed="true"] { color: var(--card); }
.seg-k { max-width: 22rem; }
.basket-list { list-style: none; padding: 0; margin: 1.1rem 0; display: grid; gap: .55rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.basket-list li { display: flex; align-items: center; gap: .65rem; padding: .65rem .8rem; border-radius: var(--r-md); background: var(--card); border: var(--b); }
.basket-list .bn { width: 1.9rem; height: 1.9rem; display: grid; place-items: center; background: var(--ink); color: var(--lemon); font-weight: 800; font-size: .85rem; flex: 0 0 auto; -webkit-mask: var(--cap) center / contain no-repeat; mask: var(--cap) center / contain no-repeat; }
.basket-list .e { font-size: 1.4rem; }
.basket-list .t { flex: 1; min-width: 0; display: grid; }
.basket-list small { color: #0B6E4C; font-size: .82rem; font-weight: 750; }
.shop-cols { display: grid; grid-template-columns: 1fr; gap: .5rem 2.5rem; }
.market, .slist { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.market li { display: flex; align-items: center; gap: .5rem; }
.mk { flex: 1; display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: var(--r-md); background: var(--card); border: var(--b); text-align: left; font-weight: 700; min-height: 3.4rem; }
.mk .box { width: 1.45rem; height: 1.45rem; border-radius: .45rem; border: var(--b); flex: 0 0 auto; transition: background .15s; }
.mk .e { font-size: 1.3rem; }
@media (hover: hover) { .mk:hover .box { background: var(--mint); } }
.srow { display: flex; align-items: center; gap: .75rem; padding: .5rem .45rem .5rem .75rem; border-radius: var(--r-md); background: var(--card); border: var(--b); }
.srow .e { font-size: 1.3rem; width: 1.6rem; text-align: center; }
.srow .t { flex: 1; min-width: 0; display: grid; }
.srow .t b { font-weight: 700; font-size: .94rem; }
.srow .t small { color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sgroup + .sgroup { margin-top: .5rem; }
.sgroup .hint { margin: -.35rem 0 .6rem; }
.shop-item { display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: var(--r-md); background: var(--card); border: var(--b); }

/* ---------- pencereler ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; background: rgba(32, 24, 58, .45); animation: fade .18s ease-out; }
.sheet { position: relative; width: 100%; max-width: 40rem; max-height: 94dvh; overflow-y: auto; background: var(--paper); border-radius: 1.6rem 1.6rem 0 0; border: var(--b); border-bottom: 0; padding: .6rem 1.35rem calc(1.75rem + var(--safe-b)); animation: up .26s cubic-bezier(.2, .8, .2, 1); overscroll-behavior: contain; }
.sheet.full { max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; padding-top: calc(.6rem + var(--safe-t)); }
.grab { width: 2.75rem; height: .32rem; border-radius: .2rem; background: var(--ink); opacity: .3; margin: 0 auto .8rem; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; gap: .6rem; }
.sheet-top h2 { font-size: 1.85rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(2.5rem); opacity: .4; } }
@keyframes pop { from { transform: scale(.94); } }

/* ---------- tarif detayı ---------- */
.rx-sheet { padding-left: 0; padding-right: 0; padding-bottom: 0; }
.rx-sheet > .sheet-top { position: sticky; top: 0; z-index: 3; padding: 0 1rem; margin: 0 0 -3.1rem; pointer-events: none; }
.rx-sheet > .sheet-top .icon-btn { pointer-events: auto; }
.rx-art { position: relative; height: 16rem; display: grid; place-items: center; overflow: hidden; background: var(--v, var(--lemon)); border-bottom: var(--b); }
.rx-art::before { content: ''; position: absolute; width: 12.5rem; height: 12.5rem; border-radius: 50%; background: rgba(255, 255, 255, .5); border: var(--b); }
.rx-art .g, .rx-art .hero-g { position: relative; width: 9rem; height: 11rem; animation: float 5s ease-in-out infinite; }
.rx-art .ph { position: relative; width: 100%; height: 100%; object-fit: cover; }
@keyframes float { 50% { transform: translateY(-.35rem) rotate(-2deg); } }
.ai-badge { position: absolute; left: .9rem; bottom: .75rem; z-index: 1; font-size: .78rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; background: var(--card); border: 1.5px solid var(--ink); }
.rx-content { padding: 1.3rem 1.35rem calc(1.25rem + var(--safe-b)); }
.rx-title h1 { font-size: clamp(2.4rem, 10vw, 3.4rem); font-stretch: 75%; line-height: .95; }
.rx-title p { color: var(--muted); margin-top: .45rem; font-size: 1.05rem; }
.rx-facts { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 1.15rem; }
.rx-facts .tag { font-size: .82rem; padding: .25rem .7rem; }
.sigbox { margin: 1rem 0; padding: 1rem 1.1rem; border-radius: var(--r-lg); background: var(--lemon); border: var(--b); box-shadow: var(--sh-sm); display: grid; gap: .1rem; }
.sig-k { font-size: .85rem; font-weight: 700; }
.sigbox b { font-size: 1.4rem; font-weight: 800; font-stretch: 80%; }
.sigbox span { font-size: .9rem; font-weight: 550; }
.sigbox p { margin-top: .5rem; font-size: .92rem; line-height: 1.55; }
.barnote { margin: 0 0 1.15rem; padding: .9rem 1rem; border-radius: var(--r-lg); background: var(--card); border: var(--b); display: grid; gap: .5rem; position: relative; }
.barnote::before { content: ''; position: absolute; left: -2px; top: -2px; bottom: -2px; width: .6rem; background: var(--v, var(--lemon)); border: var(--b); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.barnote > * { padding-left: .55rem; }
.barnote .k { font-size: .88rem; font-weight: 800; }
.barnote p { font-size: .96rem; line-height: 1.5; display: flex; gap: .6rem; }
.barnote p span:first-child { flex: 0 0 auto; }
.barnote .safe { color: var(--muted); font-size: .86rem; }
.rx-cta { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 0 0 1.15rem; }
.rx-cta > .btn-primary:first-child { grid-column: 1 / -1; }
.rx .btn-primary { background: var(--v, var(--lemon)); }
.serv { display: flex; align-items: center; justify-content: space-between; padding: .65rem .9rem; border-radius: var(--r-md); background: var(--card); border: var(--b); margin-bottom: 1.15rem; font-weight: 650; }
.stepper { display: flex; align-items: center; gap: .9rem; font-weight: 800; font-size: 1.1rem; }
.stepper button { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--lemon); border: var(--b); font-size: 1.15rem; font-weight: 800; line-height: 1; }
.stepper button[disabled] { opacity: .35; }
.rx h3 { font-size: 1.5rem; margin: 1.5rem 0 .6rem; }
.ilist { list-style: none; padding: 0; margin: 0; background: var(--card); border: var(--b); border-radius: var(--r-lg); padding: .2rem .9rem; }
.ilist li { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1.5px dashed var(--hair); }
.ilist li:last-child { border-bottom: 0; }
.ilist .e { font-size: 1.25rem; width: 1.6rem; text-align: center; }
.ilist .t { flex: 1; min-width: 0; }
.ilist .t > span { font-size: 1rem; font-weight: 600; }
.ilist .t small { display: block; color: var(--muted); font-size: .82rem; }
.ilist .amt { font-weight: 800; white-space: nowrap; }
.ilist li.missing .t > span { color: var(--bitters); }
.dot { width: .7rem; height: .7rem; border-radius: 50%; flex: 0 0 auto; background: var(--mint); border: 1.5px solid var(--ink); }
.dot.miss { background: var(--melon); } .dot.sub { background: var(--lemon); } .dot.opt { background: var(--card); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: .8rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.1rem 1fr; gap: .75rem; font-size: 1.05rem; line-height: 1.5; }
.steps li::before { content: counter(s); width: 2.1rem; height: 2.1rem; display: grid; place-items: center; font-weight: 800; font-size: .95rem; background: var(--ink); color: var(--lemon); -webkit-mask: var(--cap) center / contain no-repeat; mask: var(--cap) center / contain no-repeat; }
.note { padding: .75rem .9rem; border-radius: var(--r-md); background: var(--card); border: 1.5px solid var(--ink); color: var(--muted); font-size: .9rem; margin-top: .75rem; }
.note b { color: var(--ink); }
.rx-actions { display: grid; grid-template-columns: auto 1fr; gap: .6rem; margin-top: 1.5rem; position: sticky; bottom: 0; padding: .9rem 0 calc(.9rem + var(--safe-b)); background: linear-gradient(transparent, var(--paper) 30%); }
.stars { display: flex; gap: .4rem; justify-content: center; margin: .9rem 0; }
.stars button { font-size: 2.3rem; color: var(--hair); line-height: 1; -webkit-text-stroke: 1.5px var(--ink); }
.stars button.on { color: var(--lemon); }

/* adım adım */

/* profil düzenleyici */
.avatars { display: grid; grid-template-columns: repeat(8, 1fr); gap: .4rem; }
.avatars button { aspect-ratio: 1; border-radius: .75rem; background: var(--card); border: 1.5px solid var(--ink); font-size: 1.35rem; }
.avatars button[aria-pressed="true"] { background: var(--lemon); border-width: 2px; box-shadow: 2px 2px 0 var(--ink); }
.swatches { display: flex; gap: .6rem; flex-wrap: wrap; }
.swatches button { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: var(--b); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.opt-grid { display: grid; gap: .5rem; }
.opt { display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: var(--r-md); background: var(--card); border: var(--b); text-align: left; }
.opt[aria-pressed="true"] { background: var(--lemon); box-shadow: var(--sh-sm); }
.opt b { display: block; } .opt small { color: var(--muted); }
.opt[aria-pressed="true"] small { color: var(--ink); }
.opt[disabled] { opacity: .4; }
.group { margin-top: 1.4rem; }
.group > label, .group > .lbl { display: block; font-weight: 750; margin-bottom: .6rem; }
.group > .hint { margin: -.4rem 0 .6rem; }

/* hesap */
.acct { display: grid; grid-template-columns: 1fr; gap: 0 2rem; }
.acct .sec-h:first-child { margin-top: .5rem; }
.acc-card { padding: 1.1rem 1.2rem; border-radius: var(--r-lg); background: var(--card); border: var(--b); }
.prow { display: flex; align-items: center; gap: .75rem; padding: .75rem 0; border-top: 1.5px dashed var(--hair); }
.prow:first-child { border-top: 0; padding-top: 0; }
.prow .t { flex: 1; min-width: 0; }
.prow .t b { font-weight: 750; }
.prow .t small { display: block; color: var(--muted); font-size: .84rem; }
.row-btn { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; padding: .85rem 0; border-top: 1.5px dashed var(--hair); text-align: left; font-weight: 700; }
.row-btn:first-child { border-top: 0; padding-top: .2rem; }
.row-btn small { color: var(--muted); font-weight: 450; }
.row-btn svg { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; }
.hist { display: flex; align-items: center; gap: .75rem; padding: .6rem .2rem; border-bottom: 1.5px dashed var(--hair); width: 100%; text-align: left; }
.hist .g, .hist .ph { width: 2.5rem; height: 3rem; border-radius: .6rem; object-fit: cover; }
.hist .t { flex: 1; } .hist .t b { font-weight: 750; } .hist small { color: var(--muted); display: block; font-size: .84rem; }
.hist .r { color: #C9970C; font-size: .9rem; letter-spacing: 1px; }
.foot { color: var(--muted); font-size: .8rem; text-align: center; margin-top: 2rem; line-height: 1.6; }
.foot a { color: var(--ink); font-weight: 650; }

/* yazı boyutu seçici */
.fs-card { --i: 0; }
.fs-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .9rem; }
.fs-head b { font-size: 1.05rem; font-weight: 800; }
.fs-name { font-weight: 800; font-size: 1.1rem; padding: .05rem .6rem; border-radius: 999px; background: var(--lemon); border: 1.5px solid var(--ink); }
.fs-seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border: var(--b); border-radius: 1.1rem; padding: .3rem; }
.fs-pill { position: absolute; top: .3rem; bottom: .3rem; left: .3rem; width: calc((100% - .6rem) / 3); border-radius: .8rem; background: var(--lemon); border: var(--b); transform: translateX(calc(var(--i) * 100%)); transition: transform .38s cubic-bezier(.34, 1.4, .5, 1); }
.fs-seg button { position: relative; z-index: 1; height: 3.75rem; display: grid; place-items: center; border-radius: .8rem; color: var(--muted); transition: color .25s; }
.fs-seg button[aria-checked="true"] { color: var(--ink); }
.fs-a { font-weight: 800; font-stretch: 78%; line-height: 1; transition: transform .38s cubic-bezier(.34, 1.4, .5, 1); }
.fs-a0 { font-size: 1.25rem; } .fs-a1 { font-size: 1.75rem; } .fs-a2 { font-size: 2.35rem; }
.fs-seg button[aria-checked="true"] .fs-a { transform: scale(1.1) rotate(-6deg); }
.fs-prev { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center; margin-top: .9rem; padding: .9rem; border-radius: 1rem; background: var(--paper); border: 1.5px solid var(--ink); }
.fs-prev-g .g { width: 2.6rem; height: 3.1rem; }
.fs-prev b { font-weight: 800; font-size: 1.1rem; display: block; }
.fs-prev p { color: var(--muted); font-size: .87rem; line-height: 1.45; margin-top: .2rem; }
.fs-note { display: block; color: var(--muted); font-size: .8rem; margin-top: .6rem; }

/* parti, barmen, tarama, hikâye */
.party-sum { color: var(--muted); margin: 0 0 .4rem; font-size: .98rem; }
.party-sum b { color: var(--ink); }
.chat { display: flex; flex-direction: column; height: calc(100dvh - 1.25rem - var(--safe-t)); }
.msgs { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: .65rem; padding: .4rem .3rem .75rem .1rem; }
.msg { max-width: 86%; padding: .75rem .95rem; border-radius: 1.15rem; font-size: 1rem; line-height: 1.5; border: var(--b); }
.msg.assistant { background: var(--card); border-bottom-left-radius: .35rem; align-self: flex-start; }
.msg.user { background: var(--lemon); border-bottom-right-radius: .35rem; align-self: flex-end; font-weight: 600; box-shadow: var(--sh-sm); }
.msg-recs { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.msg-recs .chip { background: var(--mint); }
.chat-chips { margin: 0 -1.35rem; padding: .4rem 1.35rem .5rem; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding: .6rem 0 calc(.4rem + var(--safe-b)); }
.chat-form .input { border-radius: 999px; }
.scan-wait { display: grid; justify-items: center; gap: .75rem; padding: 2rem 0; color: var(--muted); text-align: center; font-weight: 600; }
.scan-wait .boot-glass, .scan-wait .boot-glass .g { width: 4.5rem; height: 5.4rem; }
.story-prev { width: 100%; max-width: 18rem; margin: 0 auto; display: block; border-radius: 1rem; border: var(--b); box-shadow: var(--sh); }

/* eski yönetim satırları (içe aktarım sonuçları) */
.adm-row { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1.5px dashed var(--hair); }
.adm-row .ph, .adm-row .g { width: 2.75rem; height: 2.75rem; border-radius: .6rem; flex: 0 0 auto; object-fit: cover; }
.adm-row .g { height: 3.25rem; }
.adm-row .t { flex: 1; min-width: 0; }
.adm-row .t b { display: block; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-row .t small { color: var(--muted); font-size: .78rem; }
.adm-row .acts { display: flex; gap: .4rem; }
.progress { height: .75rem; border-radius: .4rem; background: var(--card); border: 1.5px solid var(--ink); overflow: hidden; margin: .75rem 0 .4rem; }
.progress i { display: block; height: 100%; width: 0; background: var(--mint); transition: width .2s; }
.warn { padding: .75rem .9rem; border-radius: var(--r-md); background: #FFE3E8; border: 1.5px solid var(--bitters); color: #7A1029; font-size: .9rem; margin-top: .75rem; }
.ing-row { display: grid; grid-template-columns: 1fr 4rem 5.75rem 2.1rem; gap: .4rem; align-items: center; margin-bottom: .5rem; }
.ing-row .opt-l { grid-column: 1 / -1; display: flex; gap: .5rem; align-items: center; font-size: .84rem; color: var(--muted); margin-top: -.1rem; }

/* bildirim */
#toast { position: fixed; left: 50%; top: calc(4.6rem + var(--safe-t)); transform: translate(-50%, -.75rem) rotate(-1deg); background: var(--ink); color: var(--card); padding: .7rem 1.15rem; border-radius: 999px; font-weight: 700; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 80; max-width: calc(100% - 2.5rem); text-align: center; box-shadow: 3px 3px 0 var(--lemon); }
#toast.show { opacity: 1; transform: translate(-50%, 0) rotate(-1deg); }

/* bardak çizimi: kalın mürekkep hat, düz sıvı */
.g .glass-line { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.g .ice { fill: rgba(255, 255, 255, .7); stroke: var(--ink); stroke-width: 1.8; }
.ph { display: block; object-fit: cover; background: var(--card); }

/* ---------- giriş ekranı ---------- */
.auth { min-height: 100dvh; padding: calc(2.25rem + var(--safe-t)) 1.4rem 2.5rem; display: flex; flex-direction: column; max-width: 32rem; margin: 0 auto; }
.auth-hero { margin-bottom: 1.6rem; padding: 1.25rem 1.25rem 1.4rem; background: var(--lemon); border: var(--b); border-radius: var(--r-xl); box-shadow: 6px 6px 0 var(--ink); }
.auth-hero p { color: var(--ink) !important; }
.auth-shelf { display: flex; align-items: flex-end; justify-content: space-around; gap: .2rem; height: 7rem; margin: 0 0 1.2rem; overflow: hidden; border-bottom: var(--b); padding: 0 .3rem; }
.auth-shelf svg { height: 100%; width: auto; flex: 0 1 auto; min-width: 0; max-width: 20%; transform-origin: bottom center; }
.auth-shelf svg:nth-child(2) { height: 80%; } .auth-shelf svg:nth-child(3) { height: 92%; } .auth-shelf svg:nth-child(4) { height: 70%; } .auth-shelf svg:nth-child(5) { height: 86%; }
.auth-shelf svg:nth-child(odd) { animation: wobble 5s ease-in-out infinite; } .auth-shelf svg:nth-child(even) { animation: wobble 5s ease-in-out -2.5s infinite; }
@keyframes wobble { 50% { transform: rotate(-3deg); } }
.wordmark { font-weight: 800; font-stretch: 80%; font-size: clamp(3.2rem, 16vw, 4.6rem); line-height: .9; letter-spacing: -0.015em; }
.auth-hero p { color: var(--muted); margin-top: .8rem; font-size: 1.1rem; font-weight: 550; max-width: 30ch; }
.legal { margin-top: auto; padding-top: 1.75rem; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.gwrap { margin-top: 1.25rem; }
.gbtn { min-height: 2.75rem; display: flex; justify-content: center; }
.or { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .84rem; font-weight: 650; margin: 1rem 0 0; }
.or::before, .or::after { content: ''; flex: 1; height: 2px; background: var(--ink); opacity: .2; }

/* ================= TABLET ================= */
@media (min-width: 700px) {
  :root { --pad: 2rem; }
  .list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick { grid-template-columns: repeat(3, 1fr); }
  .hero { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: 2rem; padding: 2rem 2.25rem; }
  .hero-art { position: relative; top: auto; right: auto; width: auto; height: auto; opacity: 1; }
  .hero-art::before { content: ''; position: absolute; width: 15rem; height: 15rem; border-radius: 50%; background: rgba(255, 255, 255, .5); border: var(--b); }
  .hero-art .g { position: relative; width: 11rem; height: 13.5rem; margin: 0 auto; }
  .hero-art .ph { position: relative; width: 100%; max-width: 17rem; aspect-ratio: 1; height: auto; margin: 0 auto; }
  .filters { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); align-items: start; }
  .basket-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .shop-cols { grid-template-columns: 1fr 1fr; }
  .acct { grid-template-columns: 1fr 1fr; align-items: start; }
  .acct .acct-col > .sec-h:first-child { margin-top: .5rem; }
  .page-head h1, .hello h1 { font-size: 3.2rem; }
  .pantry-tools { grid-template-columns: minmax(0, 1fr) auto; }
  .row2 { gap: .75rem; }
}

/* ================= MASAÜSTÜ ================= */
@media (min-width: 1024px) {
  :root { --pad: 2.5rem; }
  .top { padding: .75rem max(var(--pad), calc((100% - var(--wrap)) / 2)); min-height: var(--nav-h); }
  .tabs { position: fixed; top: calc(var(--nav-h) / 2); bottom: auto; left: 50%; right: auto; transform: translate(-50%, -50%); display: flex; gap: .2rem; padding: .25rem; border-radius: 999px; box-shadow: var(--sh-sm); z-index: 31; }
  .tabs button { display: flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; font-size: .95rem; }
  .tabs svg { width: 1.15rem; height: 1.15rem; }
  .tabs button[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--ink); }
  .tabs .badge { position: static; margin-left: .1rem; }
  @media (hover: hover) { .tabs button:not([aria-current]):hover { color: var(--ink); background: var(--paper); } }
  main { padding-top: 2rem; padding-bottom: 5rem; }
  main.has-barbar { padding-bottom: 5rem; }
  .barbar { display: none; }
  .kbd { display: block; }
  /* Keşfet */
  .hero { padding: 2.75rem 3rem; min-height: 22rem; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); box-shadow: 8px 8px 0 var(--ink); }
  .hero h1 { font-size: 5.4rem; }
  .hero-art::before { width: 18rem; height: 18rem; }
  .hero-art .g { width: 14rem; height: 17rem; }
  .hero-art[role="button"] { cursor: pointer; transition: transform .25s; }
  .hero-art[role="button"]:hover { transform: rotate(-3deg); }
  .filters { grid-template-columns: 22rem minmax(0, 1fr); }
  .chips { margin: 0; padding: .2rem 0 .3rem; flex-wrap: wrap; overflow: visible; }
  .toolbar .seg { max-width: 26rem; flex: 0 1 26rem; }
  .toolbar { justify-content: space-between; }
  /* kartlar: dikey etiketler */
  .list { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1.15rem; }
  .card { grid-template-columns: 1fr; align-items: stretch; padding: .65rem .65rem 1rem; gap: .8rem; }
  .card-art { width: 100%; height: 11rem; }
  .card-art .g { width: 6rem; height: 7.2rem; }
  .card-body { padding: 0 .35rem; }
  .card h3 { font-size: 1.45rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .fav { top: 1.05rem; right: 1.05rem; background: var(--card); border: var(--b); }
  .unlock { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
  .unlock h2, .unlock > p { grid-column: 1 / -1; }
  .unlock-row:nth-of-type(2) { border-top: 0; margin-top: .5rem; }
  /* Dolabım */
  .pantry { grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; align-items: start; }
  .pantry-side { display: block; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
  .grid { grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); }
  /* pencereler */
  .sheet-wrap { align-items: center; padding: 2rem; }
  .sheet { max-width: 40rem; max-height: calc(100dvh - 4rem); border-radius: var(--r-xl); border: var(--b); box-shadow: 8px 8px 0 var(--ink); padding: 1.4rem 1.9rem 1.9rem; animation: pop .2s cubic-bezier(.2, .8, .2, 1); }
  .sheet.full { max-width: 46rem; height: auto; max-height: calc(100dvh - 4rem); border-radius: var(--r-xl); border: var(--b); padding-top: 1.4rem; }
  .sheet .grab { display: none; }
  .chat { height: calc(100dvh - 8rem); }
  .chat-chips { margin: 0; padding: .4rem 0; flex-wrap: wrap; }
  /* tarif: iki sütun */
  .sheet.full.rx-sheet { max-width: 64rem; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
  .rx-sheet > .sheet-top { position: absolute; left: 0; right: 0; top: 1rem; margin: 0; padding: 0 1.1rem; }
  .rx { display: grid; grid-template-columns: 24rem minmax(0, 1fr); flex: 1; min-height: 0; max-height: calc(100dvh - 4rem); }
  .rx-art { height: auto; min-height: 100%; border-bottom: 0; border-right: var(--b); }
  .rx-art::before { width: 17rem; height: 17rem; }
  .rx-art .g, .rx-art .hero-g { width: 13rem; height: 16rem; }
  .rx-content { overflow-y: auto; padding: 2rem 2.25rem 0; max-height: calc(100dvh - 4rem); }
  .rx-content .rx-title { padding-right: 3rem; }
  .rx-actions { margin-left: -2.25rem; margin-right: -2.25rem; padding-left: 2.25rem; padding-right: 2.25rem; }
  /* giriş */
  .auth { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 28rem); column-gap: 5rem; align-content: center; max-width: 72rem; padding: 3rem; }
  .auth-hero { grid-column: 1; grid-row: 1 / span 6; align-self: center; margin: 0; padding: 2.5rem 2.75rem 2.75rem; box-shadow: 10px 10px 0 var(--ink); }
  .auth-shelf { height: 13rem; margin-bottom: 2.25rem; }
  .wordmark { font-size: 6.5rem; }
  .auth-hero p { font-size: 1.35rem; max-width: 32ch; }
  .auth > .seg, .auth > .gwrap, .auth > .form, .auth > .legal { grid-column: 2; }
  .auth > .seg { align-self: end; }
  .auth .legal { margin-top: 1.1rem; padding-top: 0; }
  .page-head h1, .hello h1 { font-size: 3.6rem; }
}
@media (min-width: 1024px) and (max-width: 1180px) { .tabs button span { display: none; } .tabs button { padding: .5rem .75rem; } }
@media (min-width: 1024px) and (max-width: 1499px) { html.fs-2 .tabs button span { display: none; } html.fs-2 .tabs button { padding: .5rem .75rem; } }
@media (min-width: 1024px) and (max-width: 1340px) { html.fs-1 .tabs button span { display: none; } html.fs-1 .tabs button { padding: .5rem .75rem; } }
@media (max-width: 699px) { .hero-art { opacity: .28; width: 5.5rem; height: 6.8rem; top: .7rem; right: -.4rem; } }
@media (max-width: 380px) {
  .logout-btn span { display: none; } .logout-btn { width: 2.5rem; padding: 0; justify-content: center; }
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* =====================================================================
   YÖNETİM PANELİ — tam ekran, masaüstünde yan menülü
   ===================================================================== */
html.adm-open, html.adm-open body { overflow: hidden; }
.adm-shell { position: fixed; inset: 0; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); background: var(--paper); color: var(--ink); animation: fade .18s ease-out; }
.adm-shell .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.adm-shell svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.adm-shell code { font-size: .8125rem; background: var(--paper); border: 1px solid var(--hair); padding: .1rem .4rem; border-radius: .35rem; color: var(--ink); word-break: break-all; }
.adm-muted { color: var(--muted); font-size: .875rem; line-height: 1.55; }
.adm-muted p + p { margin-top: .6rem; }

/* yan / üst menü */
.adm-side { display: flex; flex-direction: column; background: var(--card); border-bottom: var(--b); padding: calc(.6rem + var(--safe-t)) .75rem .5rem; }
.adm-brand { display: flex; align-items: center; gap: .65rem; padding: .25rem .25rem .6rem; }
.adm-brand img { border-radius: .6rem; border: var(--b); }
.adm-brand span { display: flex; flex-direction: column; line-height: 1.15; flex: 1; }
.adm-brand b { font-size: 1.35rem; font-weight: 800; font-stretch: 78%; letter-spacing: -0.02em; }
.adm-brand small { color: var(--muted); font-size: .75rem; }
.adm-exit-m { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: var(--b); }
.adm-nav { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; margin: 0 -.75rem; padding: 0 .75rem .15rem; }
.adm-nav::-webkit-scrollbar { display: none; }
.adm-nav button { display: flex; align-items: center; gap: .5rem; padding: .55rem .85rem; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: .9rem; white-space: nowrap; border: 2px solid transparent; transition: background .15s, color .15s; }
.adm-nav button:hover { color: var(--ink); background: var(--paper); }
.adm-nav button[aria-current] { background: var(--lemon); color: var(--ink); border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.adm-side-foot { display: none; }

/* içerik */
.adm-main { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.adm-page { max-width: 76rem; margin: 0 auto; padding: 1.25rem var(--pad) calc(2.5rem + var(--safe-b)); display: flex; flex-direction: column; gap: 1rem; }
.adm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .25rem; }
.adm-head h1 { font-size: 2.3rem; line-height: 1; }
.adm-head p { color: var(--muted); font-size: .9375rem; margin-top: .3rem; }
.adm-head-a { display: flex; gap: .5rem; flex-wrap: wrap; }
.adm-head-a .btn svg { width: 1rem; height: 1rem; margin-right: .2rem; }
.adm-crumb { display: inline-flex; align-items: center; gap: .25rem; color: var(--muted); font-size: .875rem; font-weight: 600; margin: 0 0 .35rem -.3rem; padding: .2rem .3rem; border-radius: .4rem; }
.adm-crumb:hover { color: var(--ink); }

.adm-card { background: var(--card); border: var(--b); border-radius: var(--r-lg); padding: 1.15rem 1.25rem; min-width: 0; }
.adm-card.flush { padding: 0; overflow: hidden; }
.adm-card.danger { border-color: var(--bitters); box-shadow: 3px 3px 0 var(--bitters); }
.adm-card .note { background: var(--paper); }
.adm-card-h { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .85rem; min-height: 2rem; }
.adm-card-h h2 { font-size: 1.3rem; }
.adm-card-a { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.adm-card .field + .field, .adm-card .row2 + .field, .adm-card .field + .row2 { margin-top: .75rem; }
.adm-card .row2 .field { margin-top: 0; }
.adm-grid2 { display: grid; gap: 1rem; }
.adm-grid-side { display: grid; gap: 1rem; align-items: start; }
.adm-grid-side > div { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.adm-split { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.adm-split p { flex: 1 1 22rem; }
.adm-inline { display: flex; gap: .5rem; margin-top: .85rem; }
.adm-inline .search { flex: 1; }
.adm-res:not(:empty) { margin-top: .5rem; max-height: 26rem; overflow-y: auto; }

.adm-chip { display: inline-block; font-style: normal; font-size: .6875rem; font-weight: 700; letter-spacing: .02em; padding: .15rem .5rem; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--ink); color: var(--ink); vertical-align: middle; white-space: nowrap; }
.adm-chip.on { background: var(--mint); }
.adm-chip.warn { background: var(--melon); }
.adm-chip.peel { background: var(--lemon); }

/* özet kutuları */
.adm-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.adm-tile { text-align: left; padding: 1rem 1.1rem; border-radius: var(--r-lg); background: var(--card); border: var(--b); box-shadow: var(--sh-sm); transition: transform .08s, box-shadow .08s; }
.adm-tile b { display: block; font-size: 2.6rem; font-weight: 800; font-stretch: 75%; line-height: 1; }
.adm-tile span { color: var(--muted); font-size: .8125rem; }
.adm-tile:not(:disabled):hover { transform: translate(-1px, -1px); box-shadow: var(--sh); }
.adm-tiles .adm-tile:nth-child(1) { background: var(--lemon); }
.adm-tiles .adm-tile:nth-child(2) { background: var(--mint); }
.adm-tiles .adm-tile:nth-child(3) { background: var(--grape); }
.adm-dl { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; }
.adm-dl dt { color: var(--muted); font-size: .75rem; }
.adm-dl dd { font-weight: 600; margin: .1rem 0 0; word-break: break-all; }
.adm-todo { list-style: none; display: flex; flex-direction: column; }
.adm-todo li { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; border-top: 1.5px dashed var(--hair); font-size: .95rem; }
.adm-todo li:first-child { border-top: 0; padding-top: 0; }
.adm-todo li > span:nth-child(2) { flex: 1; }
.ok-dot, .warn-dot { width: .8rem; height: .8rem; border-radius: 50%; flex: 0 0 auto; background: var(--mint); border: 1.5px solid var(--ink); }
.warn-dot { background: var(--melon); }

/* araç çubuğu ve filtre */
.adm-toolbar { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.adm-toolbar .search { flex: 1 1 18rem; max-width: 30rem; }
.adm-count { color: var(--muted); font-size: .875rem; }
.adm-filters { display: flex; gap: .4rem; flex-wrap: wrap; }
.adm-filters button { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .75rem; border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 700; font-size: .85rem; border: var(--b); }
.adm-filters button em { font-style: normal; font-size: .72rem; padding: .05rem .4rem; border-radius: 999px; background: var(--paper); }
.adm-filters button[aria-pressed="true"] { background: var(--ink); color: var(--card); }
.adm-filters button[aria-pressed="true"] em { background: var(--lemon); color: var(--ink); }

/* tablolar */
.adm-table .tr { display: grid; align-items: center; gap: .75rem; padding: .7rem 1.1rem; border-top: 1.5px dashed var(--hair); font-size: .9rem; }
.adm-table .tr:first-child { border-top: 0; }
.adm-table .th { color: var(--muted); font-size: .6875rem; font-weight: 700; padding-top: .75rem; padding-bottom: .6rem; background: var(--paper); border-bottom: var(--b); }
.adm-table .tr:not(.th):hover { background: color-mix(in srgb, var(--lemon) 18%, var(--card)); }
.adm-table .tr.is-hidden .who { opacity: .5; }
.adm-table .who { display: flex; align-items: center; gap: .75rem; min-width: 0; text-align: left; }
.adm-table .who > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.adm-table .who b { font-weight: 600; font-size: .9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-table .who small { color: var(--muted); font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.who:hover b { text-decoration: underline; text-decoration-thickness: 2px; }
.adm-table .who .ph, .adm-table .who .g { width: 2.6rem; height: 2.6rem; border-radius: .6rem; flex: 0 0 auto; object-fit: cover; } .adm-table .who .ph { border: 1.5px solid var(--ink); }
.adm-table .who .g { height: 3rem; }
.adm-table .acts { display: flex; gap: .35rem; justify-content: flex-end; flex-wrap: wrap; }
.adm-table small { display: block; color: var(--muted); font-size: .75rem; margin-top: .2rem; }
.av { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--lemon); border: var(--b); font-weight: 800; flex: 0 0 auto; }
.adm-table-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 1.1rem; border-top: 1.5px dashed var(--hair); color: var(--muted); font-size: .85rem; }
.adm-table .emo { width: 3.2rem; text-align: center; padding-left: .3rem; padding-right: .3rem; }
.adm-table.recipes .tr { grid-template-columns: minmax(0, 1fr) auto; }
.adm-table.recipes .tr > [data-l] { display: none; }
.adm-table.users .tr, .adm-table.users.compact .tr { grid-template-columns: minmax(0, 1fr) auto; }
.adm-table.users .tr > [data-l]:not([data-l="Son giriş"]) { display: none; }
.adm-table.ings .tr { grid-template-columns: 3.6rem minmax(0, 1fr) auto; }
.adm-table.ings .tr > :nth-child(3) { grid-column: 2; }
.adm-table.ings .tr > .acts { grid-row: 1 / span 2; grid-column: 3; }
.adm-table.ings .th > :nth-child(3), .adm-table.ings .th > :nth-child(4) { display: none; }
.adm-table .th > span:last-child:empty { display: none; }
@media (max-width: 759px) {
  .adm-table.recipes .tr:not(.th) { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .adm-table.recipes .th { display: none; }
  .adm-table.recipes .acts { justify-content: flex-start; }
  .adm-table.recipes .acts .btn:first-child { display: none; }
  .adm-table.users .th { display: none; }
}

/* ayarlar */
.adm-set .adm-set-h h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.adm-set .adm-set-h { margin-bottom: 1rem; }
.adm-form-a { display: flex; gap: .5rem; justify-content: flex-end; flex-wrap: wrap; margin-top: .25rem; }
.adm-set .form { display: flex; flex-direction: column; gap: .85rem; }
.adm-set .form .field { margin: 0; }
.adm-set .err:empty { display: none; }
#setBody { display: flex; flex-direction: column; gap: 1rem; }

/* tarif düzenleyici */
.rf { display: flex; flex-direction: column; gap: 1rem; }
.rf-grid { display: grid; gap: 1rem; align-items: start; }
.rf-main, .rf-side { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.rf textarea#rf-steps { min-height: 11rem; line-height: 1.6; }
.rf .hint { margin-top: .6rem; }
.rf .err:empty { display: none; }
.rf-prev { display: flex; align-items: center; gap: .9rem; background: var(--lemon); box-shadow: var(--sh-sm); }
.rf-prev-art { width: 4.5rem; height: 5rem; border-radius: var(--r-md); display: grid; place-items: center; background: rgba(255, 255, 255, .6); border: var(--b); flex: 0 0 auto; overflow: hidden; }
.rf-prev-art .g { width: 3rem; height: 4rem; }
.rf-prev-art .ph { width: 100%; height: 100%; object-fit: cover; }
.rf-prev b { display: block; font-size: 1.45rem; font-weight: 800; font-stretch: 80%; line-height: 1.05; }
.rf-prev small { font-size: .85rem; font-weight: 550; }
.rf-color { display: flex; align-items: center; gap: .65rem; }
.rf-color input { width: 3rem; height: 2.5rem; padding: .15rem; border-radius: .6rem; background: var(--card); border: var(--b); cursor: pointer; }
.rf-color span { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.rf .ing-head { display: none; }
.adm-shell .ing-row { grid-template-columns: minmax(0, 1fr) 4.5rem 7rem auto 2.25rem; gap: .45rem; margin-bottom: .45rem; }
.adm-shell .ing-row .opt-l { grid-column: auto; margin: 0; white-space: nowrap; }
@media (max-width: 639px) {
  .adm-shell .ing-row { grid-template-columns: 1fr 1fr auto; padding-bottom: .5rem; border-bottom: 1.5px dashed var(--hair); }
  .adm-shell .ing-row [data-f=iid] { grid-column: 1 / -1; }
  .adm-shell .ing-row .opt-l { grid-column: 1 / 3; }
}
.rf-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; display: grid; grid-template-columns: 1fr 2fr; gap: .6rem; padding: .75rem var(--pad) calc(.75rem + var(--safe-b)); background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: var(--b); }
.rf { padding-bottom: 4.5rem; }
.rf .adm-head-a { display: none; }

@media (min-width: 640px) {
  .adm-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .adm-table.recipes .tr { grid-template-columns: minmax(0, 2.6fr) minmax(0, 1.2fr) 5.5rem minmax(0, 1.3fr) auto; }
  .adm-table.recipes .tr > [data-l] { display: block; }
  .adm-table.users .tr { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) 5rem; }
  .adm-table.users.compact .tr { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .adm-table.users .tr > [data-l]:not([data-l="Son giriş"]) { display: block; }
  .adm-table.ings .tr { grid-template-columns: 4.2rem minmax(0, 1.6fr) minmax(0, 1fr) auto; }
  .adm-table.ings .tr > :nth-child(3) { grid-column: auto; }
  .adm-table.ings .tr > .acts { grid-row: auto; grid-column: auto; }
  .adm-table.ings .th > :nth-child(3), .adm-table.ings .th > :nth-child(4) { display: block; }
  .rf .adm-head-a { display: flex; }
  .rf-bar { display: none; }
  .rf { padding-bottom: 0; }
  .rf .ing-head { display: grid; grid-template-columns: minmax(0, 1fr) 4.5rem 7rem 3.6rem 2.25rem; gap: .45rem; color: var(--muted); font-size: .6875rem; font-weight: 700; margin-bottom: .35rem; }
  .adm-head h1 { font-size: 2.8rem; }
}
@media (min-width: 900px) {
  .adm-grid2 { grid-template-columns: 1fr 1fr; }
  .adm-set { display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); gap: 2.5rem; padding: 1.5rem 1.75rem; }
  .adm-set .adm-set-h { margin: 0; }
}
@media (min-width: 1024px) {
  .adm-shell { grid-template-columns: 16.5rem minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .adm-side { border-bottom: 0; border-right: var(--b); padding: 1.25rem .9rem 1rem; overflow-y: auto; }
  .adm-brand { padding: 0 .4rem 1.25rem; }
  .adm-exit-m { display: none; }
  .adm-nav { flex-direction: column; margin: 0; padding: 0; overflow: visible; gap: .2rem; }
  .adm-nav button { border-radius: .75rem; padding: .7rem .85rem; font-size: .9375rem; gap: .75rem; }
  .adm-side-foot { display: flex; flex-direction: column; gap: .75rem; margin-top: auto; padding-top: 1rem; border-top: 1.5px dashed var(--hair); }
  .adm-side-foot .btn { gap: .4rem; }
  .adm-me { display: flex; align-items: center; gap: .65rem; min-width: 0; padding: 0 .3rem; }
  .adm-me > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
  .adm-me b { font-size: .875rem; }
  .adm-me small { color: var(--muted); font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .adm-page { padding: 2rem 2.5rem 3rem; gap: 1.25rem; }
  .adm-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .adm-grid-side { grid-template-columns: minmax(0, 1fr) 20rem; }
  .adm-card.sticky { position: sticky; top: 0; }
  .rf-grid { grid-template-columns: minmax(0, 1fr) 21rem; }
  .rf-side { position: sticky; top: 0; }
  .rf .adm-head { position: sticky; top: -2rem; z-index: 2; padding: 1rem 0 .75rem; margin: -1rem 0 0; background: var(--paper); }
}
@media (min-width: 1500px) { .adm-shell { grid-template-columns: 18rem minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .adm-shell { animation: none; } .adm-tile { transition: none; } }
/* yönetim tablolarındaki satır başlığı, üst çubuktaki kullanıcı kapsülüyle aynı sınıfı paylaşır: sıfırla */
.adm-table .who { background: none; border: 0; padding: 0; border-radius: 0; font-size: inherit; font-weight: inherit; }
.adm-table .who > span:last-child { max-width: none; white-space: normal; }
.adm-tile span { color: var(--ink); font-weight: 600; }

/* =====================================================================
   EV ÖLÇÜSÜ
   ===================================================================== */
.ilist .amt { text-align: right; }
.ilist .t small.home { display: inline-block; margin-top: .25rem; padding: .1rem .55rem; border-radius: .6rem; background: color-mix(in srgb, var(--lemon) 45%, var(--card)); color: var(--ink); font-size: .78rem; font-weight: 650; line-height: 1.45; }
.home-key { display: flex; gap: .8rem; align-items: center; margin-top: .75rem; padding: .75rem .9rem; border-radius: var(--r-md); background: var(--card); border: 1.5px dashed var(--ink); font-size: .86rem; color: var(--muted); line-height: 1.45; }
.home-key b { color: var(--ink); }
.hk-art { display: flex; align-items: flex-end; gap: .1rem; flex: 0 0 auto; }
.hk-art .art { width: 1.9rem; height: auto; }
.hk-art .art + .art { width: 1.6rem; }

/* =====================================================================
   İLLÜSTRASYONLAR VE ŞOV
   ===================================================================== */
.art .o { stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.art { display: block; overflow: visible; }
.quick-b .qi { overflow: hidden; }
.quick-b .qi .art { width: 2.05rem; height: 2.05rem; }

/* kahraman: süzülen meyveler */
.hero .deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.deco .art { position: absolute; width: 2.6rem; height: 2.6rem; filter: drop-shadow(2px 2px 0 rgba(32, 24, 58, .9)); }
.hero .deco .d1 { right: 30%; top: 1.1rem; width: 2.4rem; animation: drift 7s ease-in-out infinite; }
.hero .deco .d2 { right: 2%; bottom: 1.2rem; width: 2.4rem; animation: drift 8s ease-in-out -2s infinite; }
.hero .deco .d3 { right: 36%; bottom: 1.4rem; width: 2rem; animation: drift 6s ease-in-out -4s infinite; }
.hero .deco .d4 { right: 6%; top: 1.1rem; width: 1.6rem; animation: twinkle 2.4s ease-in-out infinite; }
.hero .deco .d5 { display: none; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 50% { transform: translate(-.3rem, -.55rem) rotate(8deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(.75) rotate(0deg); opacity: .8; } 50% { transform: scale(1.1) rotate(25deg); opacity: 1; } }
@media (max-width: 699px) { .hero .deco .d1, .hero .deco .d3 { display: none; } .hero .deco .d2 { bottom: auto; top: 6.5rem; right: .6rem; width: 2rem; } }
@media (min-width: 700px) { .hero .deco .d5 { display: block; right: 4%; top: 45%; width: 2.2rem; animation: drift 9s ease-in-out -3s infinite; } }
/* köpüren kabarcıklar */
.hero-art { isolation: isolate; }
.fizz { position: absolute; left: 50%; bottom: 30%; width: 3.5rem; height: 55%; transform: translateX(-50%); pointer-events: none; z-index: 2; }
.fizz i { position: absolute; bottom: 0; width: .45rem; height: .45rem; border-radius: 50%; border: 1.5px solid var(--ink); background: rgba(255, 255, 255, .85); opacity: 0; animation: rise 3.2s ease-in infinite; }
.fizz i:nth-child(1) { left: 10%; animation-delay: 0s; } .fizz i:nth-child(2) { left: 45%; animation-delay: .5s; width: .35rem; height: .35rem; }
.fizz i:nth-child(3) { left: 75%; animation-delay: 1.1s; } .fizz i:nth-child(4) { left: 30%; animation-delay: 1.6s; width: .3rem; height: .3rem; }
.fizz i:nth-child(5) { left: 60%; animation-delay: 2.1s; } .fizz i:nth-child(6) { left: 20%; animation-delay: 2.6s; width: .35rem; height: .35rem; } .fizz i:nth-child(7) { left: 85%; animation-delay: 2.9s; width: .3rem; height: .3rem; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(.4rem, -6rem); opacity: 0; } }
@media (max-width: 699px) { .fizz { display: none; } }
/* açılış: tek, düzenli bir giriş anı */
.hero { animation: heroIn .6s cubic-bezier(.34, 1.4, .5, 1) both; }
@keyframes heroIn { from { transform: translateY(1rem) rotate(-1deg) scale(.98); opacity: 0; } }
.hero .deco .art { animation-fill-mode: both; }
.quick-b { animation: popIn .45s cubic-bezier(.34, 1.5, .5, 1) both; }
.quick-b:nth-child(1) { animation-delay: .12s; } .quick-b:nth-child(2) { animation-delay: .2s; } .quick-b:nth-child(3) { animation-delay: .28s; }
@keyframes popIn { from { transform: scale(.9) translateY(.5rem); opacity: 0; } }
.brand img { transition: transform .3s cubic-bezier(.34, 1.6, .5, 1); }
@media (hover: hover) { .brand:hover img { transform: rotate(-12deg) scale(1.08); } }

/* giriş ekranı süsleri */
.auth-hero { position: relative; overflow: hidden; }
.auth-hero > *:not(.deco) { position: relative; z-index: 1; }
.auth-hero .deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.auth-hero .deco .d1 { right: 1rem; top: 46%; width: 2.6rem; animation: drift 7s ease-in-out infinite; }
.auth-hero .deco .d2 { right: 4.2rem; top: 58%; width: 2.2rem; animation: drift 8s ease-in-out -3s infinite; }
.auth-hero .deco .d3 { right: 1.6rem; bottom: 1rem; width: 1.6rem; animation: twinkle 2.6s ease-in-out infinite; }
.auth-hero .deco .d4, .auth-hero .deco .d5 { display: none; }
@media (min-width: 1024px) {
  .auth-hero .deco .d1 { top: auto; bottom: 3rem; right: 2.5rem; width: 3.4rem; }
  .auth-hero .deco .d2 { top: auto; bottom: 7rem; right: 6.5rem; width: 2.6rem; }
  .auth-hero .deco .d3 { bottom: 2rem; right: 8rem; width: 2rem; }
  .auth-hero .deco .d4 { display: block; top: 1.4rem; right: 1.6rem; width: 2.6rem; animation: drift 9s ease-in-out -5s infinite; }
  .auth-hero .deco .d5 { display: block; bottom: 2.2rem; right: 12rem; width: 2.4rem; animation: drift 7.5s ease-in-out -1s infinite; }
}

/* parçacıklar */
#fx { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.fx { position: absolute; display: block; width: .6rem; height: .6rem; background: var(--c); border: 1.5px solid #20183A; }
.fx-rect { width: .45rem; height: .8rem; border-radius: .1rem; }
.fx-dot { border-radius: 50%; width: .5rem; height: .5rem; }
.fx-cap { width: .8rem; height: .8rem; border: 0; -webkit-mask: var(--cap) center / contain no-repeat; mask: var(--cap) center / contain no-repeat; }
.fx-star { width: .9rem; height: .9rem; border: 0; background: #FFD23F; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* salla, öner */
.shake-stage { display: grid; justify-items: center; gap: .9rem; padding: .5rem 0 1rem; text-align: center; }
.shake-btn { position: relative; width: 8.5rem; height: 12rem; display: grid; place-items: center; border-radius: 2rem; background: var(--lemon); border: var(--b); box-shadow: 6px 6px 0 var(--ink); transition: transform .1s, box-shadow .1s; }
.shake-btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.shake-btn .shaker { width: 5.2rem; height: auto; transform-origin: 50% 70%; animation: idleTilt 3s ease-in-out infinite; }
.shake-ice { position: absolute; inset: 0; pointer-events: none; }
.shake-ice .art { position: absolute; width: 1.7rem; opacity: 0; }
.shake-ice .art:first-child { left: -.6rem; top: 2rem; } .shake-ice .art:last-child { right: -.7rem; top: 3.2rem; }
.shake-btn.shaking .shaker { animation: rattle .14s linear infinite; }
.shake-btn.shaking .shake-ice .art { animation: hop .5s ease-in-out infinite alternate; }
.shake-btn.shaking .shake-ice .art:last-child { animation-delay: .25s; }
@keyframes idleTilt { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes rattle { 0% { transform: translate(0, 0) rotate(-16deg); } 25% { transform: translate(-.25rem, -.4rem) rotate(12deg); } 50% { transform: translate(.2rem, .2rem) rotate(-10deg); } 75% { transform: translate(-.15rem, -.3rem) rotate(16deg); } 100% { transform: translate(0, 0) rotate(-16deg); } }
@keyframes hop { from { opacity: 1; transform: translateY(0) rotate(0deg); } to { opacity: 1; transform: translateY(-1.4rem) rotate(180deg); } }
.shake-hint { color: var(--muted); max-width: 26ch; font-weight: 600; }
.shake-card { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: .9rem; border-radius: var(--r-xl); background: var(--v); border: var(--b); box-shadow: 6px 6px 0 var(--ink); animation: reveal .55s cubic-bezier(.34, 1.6, .5, 1) both; }
.shake-art { width: 6rem; height: 7rem; border-radius: var(--r-md); display: grid; place-items: center; overflow: hidden; background: rgba(255, 255, 255, .55); border: 1.5px solid var(--ink); }
.shake-art .g { width: 4.5rem; height: 5.4rem; } .shake-art .ph { width: 100%; height: 100%; object-fit: cover; }
.shake-t small { font-weight: 700; font-size: .82rem; }
.shake-t h3 { font-size: 2rem; font-stretch: 75%; margin: .1rem 0 .2rem; }
.shake-t p { font-size: .92rem; }
@keyframes reveal { from { transform: scale(.6) rotate(-6deg); opacity: 0; } }

/* tema seçici */
.theme-card { margin-bottom: 1rem; }
.theme-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.theme-seg button { display: grid; justify-items: center; gap: .45rem; padding: .7rem .4rem .6rem; border-radius: var(--r-md); border: var(--b); background: var(--paper); font-weight: 700; font-size: .88rem; transition: transform .08s, box-shadow .08s; }
.theme-seg button[aria-checked="true"] { background: var(--lemon); color: #20183A; box-shadow: var(--sh-sm); transform: translate(-1px, -1px); }
.th-sw { display: flex; width: 3.4rem; height: 2rem; border-radius: .55rem; overflow: hidden; border: 1.5px solid var(--ink); }
.th-sw i { flex: 1; }
.th-light .th-sw i:nth-child(1) { background: #F3F7F4; } .th-light .th-sw i:nth-child(2) { background: #FFD23F; } .th-light .th-sw i:nth-child(3) { background: #FF5C7A; }
.th-dark .th-sw i:nth-child(1) { background: #1B1531; } .th-dark .th-sw i:nth-child(2) { background: #FFD23F; } .th-dark .th-sw i:nth-child(3) { background: #22CC93; }
.th-auto .th-sw { background: linear-gradient(135deg, #F3F7F4 50%, #1B1531 50%); } .th-auto .th-sw i { display: none; }
.fs-card .fs-name, .theme-card .fs-name { color: #20183A; }

/* =====================================================================
   KOYU TEMA — gece barı: nötr antrasit zemin, ince yarı saydam çizgiler, yumuşak derinlik.
   Renkli bloklar zemine hafifçe karışır (neon gibi parlamaz); içleri "aydınlık ada" olarak okunur kalır.
   ===================================================================== */
html.dark {
  --paper: #111315; --card: #1A1D21; --ink: #ECE7DC; --muted: #9EA3AA; --hair: rgba(255, 255, 255, .08);
  --lemon: #F2C94C; --melon: #E9667D; --mint: #2FBF8F; --grape: #9B7BEA; --orange: #EE9142; --curacao: #5B8DEF;
  --bitters: #FF8EA3;
  --b: 1.5px solid rgba(255, 255, 255, .11);
  --sh: 0 10px 28px -12px rgba(0, 0, 0, .7); --sh-sm: 0 6px 16px -8px rgba(0, 0, 0, .65);
  color-scheme: dark;
}
html.dark body { background: radial-gradient(120% 60% at 50% -10%, #1A1E22 0%, #111315 55%) fixed; }
html.dark .top { background: rgba(17, 19, 21, .82); border-bottom: 1px solid rgba(255, 255, 255, .07); }
html.dark .tabs { background: rgba(26, 29, 33, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .8); }
html.dark .tabs button { color: #8D939A; }
/* renkli bloklar: zemine karışmış, okunur "ada" */
html.dark :is(.hero, .card, .quick-b, .side-card, .basket, .barbar, .sigbox, .auth-hero, .rx-art, .shake-card, .shake-btn, .rf-prev,
  .adm-tiles .adm-tile:nth-child(-n+3), .adm-nav button[aria-current], .tabs button[aria-current="page"], .btn-primary, .icon-btn.yes,
  .ing[aria-pressed="true"], .chip[aria-pressed="true"], .drinkmode button[aria-pressed="true"], .msg.user, .avatars button[aria-pressed="true"],
  .opt[aria-pressed="true"], .theme-seg button[aria-checked="true"], .stepper button, .surprise, .fs-pill, .cat-e) {
  --ink: #1C1A22; --card: #F4EFE4; --muted: #57525F; --hair: rgba(28, 26, 34, .14);
  --b: 1.5px solid rgba(28, 26, 34, .85); --sh: 0 10px 28px -12px rgba(0, 0, 0, .7); --sh-sm: 0 6px 16px -8px rgba(0, 0, 0, .65);
  color: #1C1A22;
}
html.dark :is(.hero, .card, .quick-b, .side-card, .basket, .sigbox, .auth-hero, .shake-card, .shake-btn, .barbar) { border-color: rgba(255, 255, 255, .06); }
html.dark .hero { background: color-mix(in srgb, var(--v, var(--lemon)) 78%, #111315); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); }
html.dark .card { background: color-mix(in srgb, var(--v, var(--card)) 80%, #111315); box-shadow: var(--sh-sm); }
html.dark .rx-art, html.dark .shake-card { background: color-mix(in srgb, var(--v, var(--lemon)) 80%, #111315); }
html.dark .card-art { background: rgba(255, 255, 255, .42); border-color: rgba(28, 26, 34, .5); }
@media (hover: hover) { html.dark .card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .85); } }
html.dark .card:active, html.dark .btn:active, html.dark .quick-b:active { box-shadow: none; }
html.dark .pick { background: #F4EFE4; border-color: rgba(28, 26, 34, .12); }
html.dark .quick-b, html.dark .side-card, html.dark .basket { box-shadow: var(--sh); }
html.dark .quick-b.q1 { background: color-mix(in srgb, var(--melon) 85%, #111315); }
html.dark .quick-b.q2 { background: color-mix(in srgb, var(--grape) 85%, #111315); }
html.dark .quick-b.q3, html.dark .basket, html.dark .side-card.side-basket { background: color-mix(in srgb, var(--mint) 85%, #111315); }
html.dark .side-card { background: color-mix(in srgb, var(--lemon) 88%, #111315); }
html.dark .basket-list li, html.dark .mini { background: #F4EFE4; border-color: rgba(28, 26, 34, .15); }
/* sakin yüzeyler */
html.dark :is(.btn, .chip, .seg, .drinkmode, .input, .icon-btn, .ing, .mk, .srow, .shop-item, .acc-card, .unlock, .ilist, .serv, .barnote, .note, .opt, .avatars button, .theme-seg button, .fs-seg, .fs-prev, .msg, .adm-card, .adm-tile, .adm-filters button, .tag, .who, .logout-btn, .stepper button, .home-key, .empty-s, .shake-btn) { border-color: rgba(255, 255, 255, .11); }
html.dark :is(.btn, .chip, .icon-btn, .ing, .acc-card, .adm-card, .adm-tile, .unlock, .ilist) { box-shadow: none; }
html.dark .btn-primary, html.dark .ing[aria-pressed="true"], html.dark .chip[aria-pressed="true"] { border-color: transparent; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .7); }
@media (hover: hover) { html.dark .btn:hover, html.dark .btn-sm:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .8); background-color: #22262B; } html.dark .btn-primary:hover { background-color: var(--lemon); filter: brightness(1.06); } html.dark .icon-btn:hover { background: #262A30; } }
html.dark .input { background: #15181B; }
html.dark .input:focus { border-color: rgba(242, 201, 76, .7); box-shadow: 0 0 0 3px rgba(242, 201, 76, .16); }
html.dark .seg button[aria-pressed="true"] { background: #ECE7DC; color: #111315; }
html.dark .ing:not([aria-pressed="true"]) { background: #181B1F; }
html.dark .ing { box-shadow: inset 3px 0 0 color-mix(in srgb, var(--k, var(--lemon)) 70%, transparent); }
html.dark .ing[aria-pressed="true"] { background: color-mix(in srgb, var(--k, var(--lemon)) 88%, #111315); }
html.dark .cat-e { background: color-mix(in srgb, var(--k, var(--lemon)) 85%, #111315); border-color: transparent; }
html.dark .tag { background: #23272C; }
html.dark .tag.ok, html.dark .tag.miss, html.dark .tag.sub, html.dark .adm-chip.on, html.dark .adm-chip.warn, html.dark .adm-chip.peel, html.dark .av, html.dark .msg-recs .chip { color: #1C1A22; border-color: transparent; }
html.dark .card .tag { background: rgba(244, 239, 228, .9); border-color: transparent; }
html.dark .card .tag.ok { background: #1C1A22; color: #F4EFE4; }
html.dark .steps li::before, html.dark .basket-list .bn { background: var(--lemon); color: #1C1A22; }
html.dark .big-n, html.dark .side-n b { background: #1C1A22; color: var(--lemon); }
html.dark select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ECE7DC' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: .7rem; }
html.dark .input::placeholder { color: #6F757C; }
html.dark .warn { background: #2A1A1E; color: #FFC2CF; border-color: rgba(255, 142, 163, .4); }
html.dark .note a, html.dark .credit a, html.dark .doc a { color: #9DBBFF; }
html.dark .basket-list small { color: #0B6E4C; }
html.dark #toast { background: #ECE7DC; color: #111315; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .8); }
html.dark .sheet { background: #15181B; border-color: rgba(255, 255, 255, .08); }
html.dark .sheet-wrap { background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@media (min-width: 1024px) { html.dark .sheet { box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); } }
html.dark .deco .art { filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
html.dark .fx { border-color: rgba(0, 0, 0, .6); }
html.dark .stars button { color: #2A2E34; -webkit-text-stroke-color: rgba(255, 255, 255, .25); }
html.dark .stars button.on { color: var(--lemon); }
html.dark .ph { background: #23272C; }
html.dark .rx-actions { background: linear-gradient(transparent, #15181B 30%); }
html.dark .hist .r { color: var(--lemon); }
html.dark .brand img, html.dark .adm-brand img { border-color: rgba(255, 255, 255, .15); }
html.dark .rx-art::before, html.dark .hero-art::before { background: rgba(255, 255, 255, .38); border-color: rgba(28, 26, 34, .5); }
html.dark .g .ice { stroke-width: 1.4; }
html.dark .adm-shell, html.dark .adm-main { background: #111315; }
html.dark .adm-side { background: #15181B; border-color: rgba(255, 255, 255, .07); }
html.dark .adm-table .th { background: #15181B; border-bottom-color: rgba(255, 255, 255, .08); }
html.dark .adm-table .tr:not(.th):hover { background: #1F2327; }
html.dark .adm-nav button[aria-current] { box-shadow: none; border-color: transparent; }
html.dark .wordmark { color: #1C1A22; }
html.dark .auth-hero { background: color-mix(in srgb, var(--lemon) 88%, #111315); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .85); }
html.dark .auth-shelf { border-color: rgba(28, 26, 34, .6); }
html.dark .or::before, html.dark .or::after { background: #ECE7DC; opacity: .12; }
html.dark ::selection { background: rgba(242, 201, 76, .35); }
html.dark .tag.ok { background: var(--mint); } html.dark .tag.miss { background: var(--melon); } html.dark .tag.sub { background: var(--lemon); }
html.dark .card .tag.miss { background: rgba(244, 239, 228, .9); color: #B3173D; }
html.dark .ilist .t small.home { background: rgba(242, 201, 76, .14); color: #F2D88A; }
html.dark :is(.hero, .side-card, .basket, .shake-card, .auth-hero, .sigbox, .barbar) :is(.btn, .chip, .seg, .input, .icon-btn, .who) { border-color: rgba(28, 26, 34, .7); }
html.dark :is(.hero, .side-card, .basket, .auth-hero) .btn-ghost { background: rgba(255, 255, 255, .55); }
html.dark .auth-hero ~ * .btn-ghost { background: var(--card); }

/* =====================================================================
   MEVSİMLİK: YILBAŞI
   ===================================================================== */
.season { position: relative; overflow: hidden; margin: 0 0 1.6rem; padding: 1.25rem 0 1.25rem 1.25rem; border-radius: var(--r-xl); background: #1E2A5E; color: #F6F2E8; border: var(--b); box-shadow: 6px 6px 0 var(--ink); }
.season-head { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .8rem; padding-right: 1.25rem; }
.season h2 { font-size: 1.9rem; display: inline-flex; align-items: center; gap: .4rem; }
.season .sz-star { width: 1.6rem; height: 1.6rem; animation: twinkle 2.4s ease-in-out infinite; }
.season p { color: rgba(246, 242, 232, .78); margin-top: .25rem; font-weight: 550; }
.season .btn-primary { border-color: #0E1433; box-shadow: 3px 3px 0 #0E1433; color: #20183A; }
.season-row { position: relative; z-index: 1; display: flex; gap: .7rem; overflow-x: auto; scrollbar-width: none; padding: 1rem 1.25rem .35rem 0; scroll-snap-type: x mandatory; }
.season-row::-webkit-scrollbar { display: none; }
.sz-card { flex: 0 0 9.2rem; scroll-snap-align: start; display: grid; justify-items: center; gap: .4rem; padding: .6rem .6rem .75rem; border-radius: var(--r-lg); background: var(--v); color: #20183A; border: 2px solid #0E1433; text-align: center; transition: transform .12s; }
.sz-card b { font-size: 1rem; font-weight: 800; line-height: 1.15; }
.sz-card .tag { border-color: #20183A; color: #20183A; }
.sz-card .tag:not(.ok):not(.sub) { background: #fff; }
.sz-art { width: 100%; height: 6.2rem; display: grid; place-items: center; border-radius: var(--r-md); background: rgba(255, 255, 255, .55); border: 1.5px solid #20183A; overflow: hidden; }
.sz-art .g { width: 4.4rem; height: 5.4rem; } .sz-art .ph { width: 100%; height: 100%; object-fit: cover; }
.sz-art .g .glass-line { stroke: #20183A; }
@media (hover: hover) { .sz-card:hover { transform: translateY(-3px) rotate(-1deg); } }
.snow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.snow i { position: absolute; top: -1rem; width: .4rem; height: .4rem; border-radius: 50%; background: #fff; opacity: .8; animation: snow 9s linear infinite; }
.snow i:nth-child(odd) { width: .28rem; height: .28rem; opacity: .55; animation-duration: 12s; }
.snow i:nth-child(3n) { width: .5rem; height: .5rem; opacity: .35; animation-duration: 15s; }
.snow i:nth-child(1) { left: 4%; animation-delay: -1s; } .snow i:nth-child(2) { left: 11%; animation-delay: -6s; } .snow i:nth-child(3) { left: 18%; animation-delay: -3s; } .snow i:nth-child(4) { left: 25%; animation-delay: -9s; }
.snow i:nth-child(5) { left: 32%; animation-delay: -2s; } .snow i:nth-child(6) { left: 39%; animation-delay: -7s; } .snow i:nth-child(7) { left: 46%; animation-delay: -4s; } .snow i:nth-child(8) { left: 53%; animation-delay: -11s; }
.snow i:nth-child(9) { left: 60%; animation-delay: -5s; } .snow i:nth-child(10) { left: 67%; animation-delay: -8s; } .snow i:nth-child(11) { left: 74%; animation-delay: -1.5s; } .snow i:nth-child(12) { left: 81%; animation-delay: -10s; }
.snow i:nth-child(13) { left: 88%; animation-delay: -3.5s; } .snow i:nth-child(14) { left: 94%; animation-delay: -6.5s; } .snow i:nth-child(15) { left: 50%; animation-delay: -12s; } .snow i:nth-child(16) { left: 70%; animation-delay: -13s; }
@keyframes snow { 0% { transform: translate(0, 0); } 50% { transform: translate(.8rem, 9rem); } 100% { transform: translate(-.4rem, 19rem); } }
@media (min-width: 1024px) { .season { padding: 1.6rem 0 1.5rem 1.75rem; } .season-head { padding-right: 1.75rem; } .season h2 { font-size: 2.3rem; } .sz-card { flex-basis: 11rem; } .sz-art { height: 7.5rem; } }
html.dark .season { background: #18204A; border-color: rgba(255, 255, 255, .08); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); }
html.dark .sz-card { background: color-mix(in srgb, var(--v) 82%, #111315); border-color: rgba(255, 255, 255, .06); }
html.dark .season .btn-primary { --ink: #1C1A22; border-color: transparent; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .7); }

/* =====================================================================
   ADIM ADIM: ZAMANLAYICI VE SES
   ===================================================================== */
@keyframes tickPulse { 50% { transform: scale(1.03); } }
.tool-btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.6rem; padding: 0 .95rem; border-radius: 999px; background: var(--card); border: var(--b); font-weight: 700; font-size: .92rem; }
.tool-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.mic-dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--muted); }
.tool-btn[aria-pressed="true"] .mic-dot { background: #FF5C7A; box-shadow: 0 0 0 0 rgba(255, 92, 122, .6); animation: micPulse 1.4s ease-out infinite; }
@keyframes micPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 92, 122, .6); } 100% { box-shadow: 0 0 0 .7rem rgba(255, 92, 122, 0); } }
html.dark .tool-btn[aria-pressed="true"] { background: #ECE7DC; color: #111315; }

/* =====================================================================
   ŞİŞE TARAYICI
   ===================================================================== */
html.sc-open, html.sc-open body { overflow: hidden; }
.scanner { position: fixed; inset: 0; z-index: 70; background: #07060C; color: #F6F2E8; overflow: hidden; animation: fade .2s ease-out; --fw: min(74vw, 19rem); --fh: calc(var(--fw) * 1.3); }
.scanner[data-mode="barcode"] { --fw: min(86vw, 24rem); --fh: calc(var(--fw) * .5); }
.sc-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.scanner.live .sc-video { opacity: 1; }
.scanner.nocam { background: radial-gradient(circle at 50% 35%, #2A2347 0%, #07060C 70%); }
.sc-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#07060Cdd, transparent 18%, transparent 70%, #07060Cee); }
/* vizör: dışarısı karartılır */
.sc-frame { position: absolute; left: 50%; top: 44%; width: var(--fw); height: var(--fh); transform: translate(-50%, -50%); border-radius: 1.6rem; box-shadow: 0 0 0 200vmax rgba(7, 6, 12, .58); transition: width .35s cubic-bezier(.3, .9, .3, 1), height .35s cubic-bezier(.3, .9, .3, 1); pointer-events: none; }
.scanner[data-mode="type"] .sc-frame, .scanner[data-mode="type"] .sc-shutter { display: none; }
.sc-frame i { position: absolute; width: 2.6rem; height: 2.6rem; border: 5px solid #FFD23F; filter: drop-shadow(0 0 6px rgba(255, 210, 63, .45)); }
.sc-frame .k1 { left: -3px; top: -3px; border-right: 0; border-bottom: 0; border-radius: 1.6rem 0 0 0; }
.sc-frame .k2 { right: -3px; top: -3px; border-left: 0; border-bottom: 0; border-radius: 0 1.6rem 0 0; }
.sc-frame .k3 { left: -3px; bottom: -3px; border-right: 0; border-top: 0; border-radius: 0 0 0 1.6rem; }
.sc-frame .k4 { right: -3px; bottom: -3px; border-left: 0; border-top: 0; border-radius: 0 0 1.6rem 0; }
.sc-laser { position: absolute; left: 6%; right: 6%; top: 10%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #FFD23F 20%, #FF5C7A 50%, #FFD23F 80%, transparent); box-shadow: 0 0 14px 3px rgba(255, 92, 122, .55); animation: laserY 2.4s ease-in-out infinite; }
.scanner[data-mode="barcode"] .sc-laser { top: 50%; animation: laserPulse 1.1s ease-in-out infinite; background: linear-gradient(90deg, transparent, #FF5C7A 15%, #FF5C7A 85%, transparent); }
.sc-dots { position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.4px); background-size: 14px 14px; opacity: 0; animation: dots 3.2s ease-in-out infinite; }
@keyframes laserY { 0%, 100% { top: 8%; } 50% { top: 90%; } }
@keyframes laserPulse { 0%, 100% { opacity: .55; transform: scaleX(.92); } 50% { opacity: 1; transform: scaleX(1); } }
@keyframes dots { 0%, 100% { opacity: 0; } 50% { opacity: .55; } }
.scanner.thinking .sc-laser { animation-duration: .9s; }
.scanner.thinking .sc-frame i { animation: cornerPulse .8s ease-in-out infinite; }
@keyframes cornerPulse { 50% { border-color: #22CC93; } }
.sc-frame.hit i { border-color: #22CC93; animation: hitPop .5s cubic-bezier(.34, 1.6, .5, 1); }
.sc-frame.hit { animation: framePop .45s cubic-bezier(.34, 1.6, .5, 1); }
.sc-frame.shot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #fff; animation: shot .35s ease-out forwards; }
@keyframes hitPop { 50% { filter: drop-shadow(0 0 14px rgba(34, 204, 147, .9)); } }
@keyframes framePop { 50% { transform: translate(-50%, -50%) scale(1.04); } }
@keyframes shot { from { opacity: .85; } to { opacity: 0; } }
/* üst ve alt */
.sc-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: calc(.8rem + var(--safe-t)) 1rem .6rem; z-index: 2; }
.sc-ic { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; }
.sc-ic svg { width: 1.2rem; height: 1.2rem; }
.sc-brand { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem .35rem .4rem; border-radius: 999px; background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-weight: 800; font-stretch: 82%; font-size: 1.05rem; }
.sc-brand img { border-radius: .45rem; }
.sc-count { min-width: 2.75rem; text-align: right; font-weight: 800; font-size: .9rem; }
.sc-count:not(:empty) { padding: .35rem .75rem; border-radius: 999px; background: #22CC93; color: #20183A; }
.sc-hint { position: absolute; left: 1.25rem; right: 1.25rem; top: calc(44% + var(--fh) / 2 + 1.1rem); text-align: center; font-weight: 650; font-size: .95rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); z-index: 2; transition: top .35s; }
.scanner.nocam .sc-hint { top: 28%; font-size: 1rem; max-width: 26rem; margin: 0 auto; }
.scanner[data-mode="type"] .sc-hint { top: calc(5.2rem + var(--safe-t)); }
.sc-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: center; gap: .9rem; padding: 1rem 1rem calc(1.2rem + var(--safe-b)); z-index: 2; }
.sc-modes { display: flex; gap: .25rem; padding: .3rem; border-radius: 999px; background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.sc-modes button { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.6rem; padding: 0 1rem; border-radius: 999px; font-weight: 750; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.sc-modes button .art { width: .9rem; height: 1.6rem; }
.sc-modes .bc-ic { font-size: .6rem; letter-spacing: -1px; }
.sc-modes button[aria-selected="true"] { background: #FFD23F; color: #20183A; }
.sc-shutter { width: 4.6rem; height: 4.6rem; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; background: transparent; transition: transform .1s; }
.sc-shutter span { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #FFD23F; transition: transform .12s; }
.sc-shutter:active span { transform: scale(.86); }
.scanner[data-mode="barcode"] .sc-shutter { visibility: hidden; height: 0; }
.sc-file { font-size: .86rem; font-weight: 700; color: rgba(255, 255, 255, .78); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.scanner[data-mode="type"] .sc-file { display: none; }
/* elle yazma */
.sc-type { position: absolute; left: 1rem; right: 1rem; top: calc(7.8rem + var(--safe-t)); max-width: 30rem; margin: 0 auto; z-index: 2; }
.sc-type .input { background: rgba(255, 255, 255, .96); color: #20183A; border-color: transparent; }
.sc-type .search > svg { color: #20183A; }
.sc-sug { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; max-height: 46vh; overflow-y: auto; }
.sc-pill { display: inline-flex; align-items: baseline; gap: .35rem; padding: .55rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: .95rem; border: 1.5px solid rgba(255, 255, 255, .18); text-align: left; }
.sc-pill small { font-size: .78rem; opacity: .75; }
.sc-pill[aria-pressed="true"] { background: #22CC93; color: #20183A; border-color: transparent; }
.sc-none { color: rgba(255, 255, 255, .78); font-size: .9rem; }
/* sonuç kartı */
.sc-result { position: absolute; left: .75rem; right: .75rem; bottom: calc(9.6rem + var(--safe-b)); max-width: 30rem; margin: 0 auto; z-index: 3; padding: .9rem; border-radius: 1.4rem; background: var(--paper); color: var(--ink); border: var(--b); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .8); }
.scanner[data-mode="barcode"] .sc-result { bottom: calc(8.4rem + var(--safe-b)); }
.scanner[data-mode="type"] .sc-video { opacity: .22; filter: blur(8px); }
.scanner[data-mode="type"] .sc-result { bottom: calc(6.4rem + var(--safe-b)); }
.sc-result.in { animation: scUp .38s cubic-bezier(.34, 1.4, .5, 1); }
@keyframes scUp { from { transform: translateY(1.5rem) scale(.96); opacity: 0; } }
.sc-card { display: flex; align-items: center; gap: .8rem; }
.sc-card b { display: block; font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.sc-card small { color: var(--muted); font-size: .86rem; }
.sc-card.err b { color: var(--bitters); }
.sc-thumb { width: 3.6rem; height: 3.6rem; border-radius: .9rem; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; background: var(--v, var(--lemon)); border: var(--b); font-size: 1.8rem; }
.sc-thumb img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.sc-acts { display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; margin-top: .8rem; }
.sc-spin { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 4px solid var(--hair); border-top-color: var(--lemon); animation: spin .8s linear infinite; flex: 0 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.sc-multi p, .sc-pick p { font-weight: 650; margin-bottom: .6rem; }
.sc-pick .sc-sub { color: var(--muted); font-weight: 600; font-size: .9rem; }
.sc-multi .sc-pill, .sc-pick .sc-pill { background: var(--card); color: var(--ink); border-color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; margin: 0 .35rem .45rem 0; }
.sc-multi .sc-pill[aria-pressed="true"], .sc-pick .sc-pill[aria-pressed="true"] { background: var(--mint); }
.sc-multi .btn { margin-top: .4rem; }
.sc-pick .sc-sug { max-height: 30vh; }
@media (min-width: 1024px) { .scanner { --fw: 20rem; } .scanner[data-mode="barcode"] { --fw: 28rem; } }
@media (prefers-reduced-motion: reduce) { .sc-laser { animation: none; top: 50%; } .sc-dots { display: none; } }

/* Dolabım: marka */
.ing small.brand { display: block; font-size: .74rem; font-weight: 700; opacity: .8; margin-top: .1rem; }
.brand-sug { margin-top: 1.4rem; padding: .9rem 1rem 1rem; border-radius: var(--r-lg); background: var(--card); border: 2px dashed var(--ink); }
.brand-sug h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.brand-chip { flex-direction: column; align-items: flex-start; gap: 0; min-height: 3rem; padding: .35rem .9rem; border-radius: 1rem; }
.brand-chip b { font-weight: 800; font-size: .98rem; }
.brand-chip span { font-size: .76rem; font-weight: 600; color: var(--muted); }
.brand-chip[aria-pressed="true"] { background: var(--mint); } .brand-chip[aria-pressed="true"] span { color: #20183A; }
html.dark .brand-sug { border-color: rgba(255, 255, 255, .18); }
html.dark .sc-result { background: #15181B; border-color: rgba(255, 255, 255, .1); }

/* =====================================================================
   TOPLULUK: kullanıcı tarifleri, puanlar, paylaşım sayfası
   ===================================================================== */
.tag.star { background: var(--lemon); color: #20183A; }
.tag.star em { font-style: normal; font-weight: 600; opacity: .75; }
.card .tag.star { background: #20183A; color: var(--lemon); border-color: #20183A; }
.sec-sub { color: var(--muted); font-size: .9rem; margin: -.4rem 0 .8rem; }
.rx-author { margin-top: .5rem; font-size: .95rem; color: var(--muted); }
.rx-author b { color: var(--ink); }
.ur-st { display: inline-block; font-size: .74rem; font-weight: 750; padding: .1rem .55rem; border-radius: 999px; border: 1.5px solid var(--ink); vertical-align: middle; background: var(--card); color: var(--ink); }
.ur-st.st-pending { background: var(--lemon); color: #20183A; } .ur-st.st-approved { background: var(--mint); color: #20183A; } .ur-st.st-rejected { background: var(--melon); color: #20183A; }
.ur-owner { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .9rem 0 0; padding: .7rem .8rem; border-radius: var(--r-md); background: var(--card); border: 1.5px dashed var(--ink); }
.ur-note { flex-basis: 100%; color: var(--bitters); font-size: .86rem; font-weight: 600; margin-top: .2rem; display: block; }
.ur-why { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: 1.2rem 1.25rem; border-radius: var(--r-xl); background: var(--grape); color: #20183A; border: var(--b); box-shadow: var(--sh); margin-bottom: .5rem; }
.ur-why h2 { font-size: 1.6rem; margin-bottom: .35rem; }
.ur-why p { font-size: .95rem; line-height: 1.5; margin-bottom: .9rem; }
.ur-why-art { width: 4.5rem; } .ur-why-art .art { width: 100%; height: auto; }
.ur-why .btn-primary svg { width: 1rem; height: 1rem; }
@media (max-width: 520px) { .ur-why { grid-template-columns: 1fr; } .ur-why-art { width: 3.6rem; } }
.ur-list { display: grid; gap: .6rem; }
.ur-row { display: flex; align-items: center; gap: .8rem; padding: .55rem .6rem; border-radius: var(--r-lg); background: var(--card); border: var(--b); }
.ur-art { width: 3.6rem; height: 4.2rem; border-radius: var(--r-md); display: grid; place-items: center; background: var(--v); border: 1.5px solid var(--ink); flex: 0 0 auto; }
.ur-art .g { width: 2.8rem; height: 3.4rem; }
.ur-t { flex: 1; min-width: 0; display: grid; gap: .2rem; text-align: left; color: inherit; padding: .1rem 0; }
.ur-t b { font-size: 1.1rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ur-t small { color: var(--muted); font-size: .84rem; }
.ur-acts { display: flex; gap: .35rem; }
.ur-acts .icon-btn { font-weight: 800; }
/* tarif yazma */
.ue { margin-top: .5rem; }
.ue-prev { display: flex; align-items: center; gap: .9rem; padding: .8rem; border-radius: var(--r-lg); background: var(--v); color: #20183A; border: var(--b); box-shadow: var(--sh-sm); position: sticky; top: 0; z-index: 2; }
.ue-prev-g { width: 4.2rem; height: 5rem; border-radius: var(--r-md); background: rgba(255, 255, 255, .55); border: 1.5px solid #20183A; display: grid; place-items: center; flex: 0 0 auto; }
.ue-prev-g .g { width: 3.4rem; height: 4.2rem; } .ue-prev-g .g .glass-line { stroke: #20183A; }
.ue-prev b { display: block; font-size: 1.35rem; font-weight: 800; font-stretch: 80%; line-height: 1.05; }
.ue-prev small { font-weight: 650; font-size: .82rem; }
.ue-glasses { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; }
.ue-glasses button { display: grid; justify-items: center; gap: .15rem; padding: .4rem .2rem; border-radius: var(--r-md); background: var(--card); border: 1.5px solid var(--hair); font-size: .68rem; font-weight: 700; color: var(--muted); }
.ue-glasses .g { width: 1.9rem; height: 2.3rem; }
.ue-glasses span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.ue-glasses button[aria-checked="true"] { background: var(--lemon); color: #20183A; border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.ue-glasses button[aria-checked="true"] .glass-line { stroke: #20183A; }
.ue-ing { display: grid; grid-template-columns: minmax(0, 1fr) 5rem 7.5rem 2.4rem; gap: .4rem; align-items: center; margin-bottom: .45rem; }
@media (max-width: 520px) { .ue-ing { grid-template-columns: 1fr 1fr 2.4rem; } .ue-ing [data-f=iid] { grid-column: 1 / -1; } }
/* paylaşım sayfası (paylas.php) */
.share-page { max-width: 44rem; margin: 0 auto; padding: 1.2rem 1rem 3rem; }
.share-page > .brand { margin-bottom: 1.2rem; text-decoration: none; }
.share-card { border-radius: var(--r-xl); overflow: hidden; background: var(--card); border: var(--b); box-shadow: 6px 6px 0 var(--ink); }
.share-img { width: 100%; height: auto; display: block; border-bottom: var(--b); }
.share-body { padding: 1.3rem 1.3rem 1.5rem; }
.share-by { color: var(--muted); font-weight: 600; margin-bottom: .3rem; } .share-by b { color: var(--ink); }
.share-body h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); font-stretch: 78%; }
.share-desc { color: var(--muted); font-size: 1.05rem; margin: .5rem 0 1rem; }
.share-ings { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.share-ings li { padding: .25rem .7rem; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 700; font-size: .9rem; background: var(--paper); }
.share-note { color: var(--muted); font-size: .86rem; margin-top: .9rem; text-align: center; }
html.dark .share-card { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); border-color: rgba(255, 255, 255, .1); }
/* yönetim: topluluk kartı */
.com-card { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.com-art { width: 6rem; height: 7rem; border-radius: var(--r-md); display: grid; place-items: center; background: var(--v); border: 1.5px solid var(--ink); }
.com-art .g { width: 4.6rem; height: 5.6rem; } .com-art .g .glass-line { stroke: #20183A; }
.com-ing { list-style: none; padding: 0; margin: .6rem 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.com-ing li { padding: .15rem .6rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--hair); font-size: .85rem; }
.com-steps { margin: .4rem 0 0 1.1rem; padding: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 600px) { .com-card { grid-template-columns: 1fr; } }
html.dark .ur-why { background: color-mix(in srgb, var(--grape) 85%, #111315); border-color: rgba(255, 255, 255, .06); }
html.dark .ur-owner { border-color: rgba(255, 255, 255, .2); }
html.dark .ur-st { border-color: transparent; }
html.dark .ue-prev { background: color-mix(in srgb, var(--v) 82%, #111315); border-color: transparent; }
html.dark .card .tag.star { background: #1C1A22; border-color: transparent; }

.msg-model { display: block; margin-top: .45rem; font-size: .72rem; color: var(--muted); opacity: .8; }

/* ---------- giriş: canlı bar sahnesi (5.2.1) ---------- */
@property --glow { syntax: '<color>'; inherits: true; initial-value: #FF7A1A; }
.auth-hero, html.dark .auth-hero {
  --stage: #1C1830; --glow: #FF7A1A;
  background: radial-gradient(70% 75% at 72% 62%, color-mix(in srgb, var(--glow) 42%, transparent) 0%, transparent 70%), radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .05), transparent 60%), var(--stage);
  transition: --glow 1.1s ease;
  color: #F4EFE4; padding: 1.4rem 1.3rem 1.3rem;
}
html.dark .auth-hero { --stage: #17191D; border-color: rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05); }
.auth-hero .wordmark, html.dark .auth-hero .wordmark { color: #F4EFE4; }
.auth-hero .auth-tag { color: rgba(244, 239, 228, .72) !important; font-size: .95rem; font-weight: 550; margin-top: .6rem; max-width: 34ch; }
.ad { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "in glass" "res glass"; align-items: center; gap: .55rem .8rem; margin-top: 1rem; }
.ad-in { grid-area: in; display: grid; gap: .45rem; justify-items: start; height: 7.4rem; align-content: start; }
.ad-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .75rem .32rem .4rem; border-radius: 999px; background: #F4EFE4; color: #1C1A22; font-weight: 750; font-size: .92rem; border: 2px solid #1C1A22;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .45); opacity: 0; transform: translateY(-1.6rem) rotate(calc((var(--k) - 1) * 4deg)) scale(.8);
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) calc(var(--k) * .28s), opacity .25s ease calc(var(--k) * .28s); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.ad-chip i { font-style: normal; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: color-mix(in srgb, var(--glow) 30%, #fff); font-size: .95rem; }
.ad.drop .ad-chip { opacity: 1; transform: rotate(calc((var(--k) - 1) * 2deg)); }
.ad-arrow { display: none; width: 3.2rem; fill: none; stroke: rgba(244, 239, 228, .45); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset .6s ease .7s; }
.ad.drop .ad-arrow { stroke-dashoffset: 0; }
.ad-glass { grid-area: glass; width: 6.6rem; align-self: center; aspect-ratio: 100 / 120; position: relative; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.ad-glass::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: -.4rem; height: .5rem; border-radius: 50%; background: color-mix(in srgb, var(--glow) 55%, transparent); filter: blur(8px); opacity: 0; transition: opacity .8s ease; }
.ad.fill .ad-glass::after { opacity: .9; }
.ad-glass svg { width: 100%; height: 100%; display: block; }
.ad-glass .glass-line { stroke: #F4EFE4; }
.ad .liq { transform: translateY(95px); transition: transform 1.15s cubic-bezier(.25, 1.15, .45, 1); }
.ad.fill .liq { transform: none; }
.ad .garn-pop { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.3) rotate(-30deg); transition: opacity .3s ease, transform .5s cubic-bezier(.3, 1.7, .5, 1); }
.ad.done .garn-pop { opacity: 1; transform: none; }
.ad-res { grid-area: res; display: grid; gap: .1rem; height: 4.6rem; align-content: start; opacity: 0; transform: translateY(.6rem); transition: opacity .35s ease, transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.ad-res small { color: rgba(244, 239, 228, .55); font-weight: 650; font-size: .82rem; }
.ad-res b { font-weight: 800; font-stretch: 85%; font-size: 1.45rem; line-height: 1.05; color: #F4EFE4; }
.ad-res span { color: var(--glow); font-weight: 750; font-size: .95rem; filter: brightness(1.25); }
.ad-res span::before { content: '✓ '; }
.ad.done .ad-res { opacity: 1; transform: none; }
.ad.out .ad-chip, .ad.out .ad-res, .ad.out .ad-glass { opacity: 0; transition: opacity .4s ease; }
.ad.out .ad-chip { transition-delay: 0s; }
.auth-h { font-weight: 800; font-stretch: 85%; font-size: 1.7rem; margin: 0 0 .9rem; }
@media (min-width: 900px) {
  .auth-hero, html.dark .auth-hero { padding: 2.6rem 2.8rem 2.6rem; }
  .auth-hero .auth-tag { font-size: 1.25rem; }
  .ad { grid-template-columns: auto auto minmax(10rem, 1fr); grid-template-areas: "in arrow glass" "res res res"; gap: 1rem 1.4rem; margin-top: 2.2rem; }
  .ad-res b { font-size: 2.3rem; }
  .ad-arrow { display: block; grid-area: arrow; }
  .ad-glass { width: 11rem; justify-self: center; }
  .ad-chip { font-size: 1rem; padding: .5rem 1rem .5rem .55rem; }
  .ad-res b { font-size: 2.3rem; }
  .auth > .auth-h { grid-column: 2; align-self: end; font-size: 2.1rem; }
  .auth > .seg { align-self: start; }
}
@media (prefers-reduced-motion: reduce) { .auth-hero { transition: none; } .ad * { transition: none !important; } }
@media (min-width: 900px) { .ad-in { height: auto; } .ad-res { height: 5.2rem; } }
/* doğum tarihi ve görünmez bot tuzağı */
.bd-field { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.bd-field legend { font-weight: 650; font-size: .875rem; margin-bottom: .35rem; padding: 0; }
.bd-row { display: grid; grid-template-columns: 1fr 1.6fr 1.25fr; gap: .5rem; }
.bd-row select { min-width: 0; }
.bd-hint { display: block; color: var(--muted); font-size: .8rem; margin-top: .4rem; line-height: 1.4; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ================= adım adım (5.3) ================= */
.ck { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto; background: var(--paper); color: var(--ink); padding: var(--safe-t, 0) 0 var(--safe-b, 0); animation: fade .2s ease-out; }
.ck-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .7rem .9rem .3rem; max-width: 40rem; width: 100%; margin: 0 auto; }
.ck-title { display: grid; text-align: center; min-width: 0; }
.ck-title b { font-weight: 800; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-title small { color: var(--muted); font-weight: 700; font-size: .82rem; }
.ck-tg { display: flex; gap: .35rem; }
.ck-ic { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; border: var(--b); background: var(--card); color: var(--ink); }
.ck-ic svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ck-ic[aria-pressed="true"] { background: var(--lemon); color: #1C1A22; border-color: #1C1A22; }
.ck-ic[data-ck=voice][aria-pressed="false"] .w { opacity: 0; }
.ck-prog { display: flex; gap: .3rem; padding: .35rem 1rem .2rem; max-width: 40rem; width: 100%; margin: 0 auto; }
.ck-prog i { flex: 1; height: .38rem; border-radius: .3rem; background: color-mix(in srgb, var(--ink) 14%, transparent); transition: background .3s; }
.ck-prog i.done { background: color-mix(in srgb, var(--lemon) 70%, var(--ink) 10%); }
.ck-prog i.on { background: var(--lemon); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--ink) 50%, transparent); }
.ck-body { overflow-y: auto; overscroll-behavior: contain; padding: .8rem 1.1rem 1rem; width: 100%; max-width: 40rem; margin: 0 auto; }
.ck-body.in-r > section { animation: ckInR .38s cubic-bezier(.2, .9, .3, 1); }
.ck-body.in-l > section { animation: ckInL .38s cubic-bezier(.2, .9, .3, 1); }
@keyframes ckInR { from { opacity: 0; transform: translateX(2.2rem); } }
@keyframes ckInL { from { opacity: 0; transform: translateX(-2.2rem); } }
.ck-text { font-size: 1.42rem; font-weight: 750; line-height: 1.32; margin: 1rem 0 .9rem; text-wrap: pretty; }
.ck-ings { list-style: none; display: grid; gap: .55rem; margin: 0 0 1rem; padding: 0; }
.ck-ing { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); align-items: center; gap: .8rem; padding: .7rem .85rem; border-radius: 1.1rem; background: var(--card); border: var(--b); }
.ck-pic { display: grid; place-items: center; min-height: 3.4rem; }
.ck-pic .ms { width: 100%; max-height: 3.6rem; }
.ck-emo { font-size: 2.2rem; line-height: 1; }
.ck-it { display: grid; gap: .1rem; min-width: 0; }
.ck-in { color: var(--muted); font-weight: 700; font-size: .88rem; }
.ck-in i { font-style: normal; margin-right: .3rem; }
.ck-in em { font-style: normal; font-weight: 600; }
.ck-it b { font-size: 1.22rem; font-weight: 800; line-height: 1.2; }
.ck-it small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.ck-it .ck-juice { color: color-mix(in srgb, #3FA34D 80%, var(--ink)); }
html.dark .ck-it .ck-juice { color: #7BDB8C; }
html.dark .ck-pic .ms path, html.dark .ck-pic .ms ellipse { stroke: #ECE7DC; }
.ck-status { min-height: 1.2rem; text-align: center; color: var(--muted); font-size: .84rem; font-weight: 600; padding: .2rem 1.2rem; margin: 0; }
.ck-nav { display: grid; grid-template-columns: 1fr auto 1.6fr; gap: .55rem; padding: .5rem 1rem .9rem; max-width: 40rem; width: 100%; margin: 0 auto; }
.ck-nav .btn { min-height: 3.5rem; font-size: 1.05rem; }
.ck-nav .ck-say { width: 3.5rem; padding: 0; }
.ck-nav .ck-say svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* hazırlık */
.ck-prep-head { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; align-items: center; margin-bottom: 1.1rem; }
.ck-prep-head h2 { font-weight: 800; font-stretch: 85%; font-size: 1.9rem; line-height: 1; }
.ck-prep-head p { color: var(--muted); margin-top: .35rem; font-size: .95rem; }
.ck-prep-g svg, .ck-done-g svg { width: 100%; height: auto; }
.ck-prep h3 { font-size: 1rem; font-weight: 800; margin: 1.1rem 0 .55rem; }
.ck-prep h3 small { color: var(--muted); font-weight: 600; }
.ck-tools { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .5rem; }
.ck-tools li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: .6rem; align-items: center; padding: .55rem .7rem; border-radius: 1rem; background: var(--card); border: var(--b); }
.ck-tools b { display: block; font-size: .95rem; }
.ck-tools small { color: var(--muted); font-size: .76rem; line-height: 1.3; display: block; }
.ck-tool-i { display: grid; place-items: center; height: 2.6rem; padding: .25rem; border-radius: .8rem; background: #F4EFE4; }
.ck-tool-i svg { max-width: 100%; max-height: 100%; }
.ck-tool-g .glass-line { stroke: #20183A; }
/* bitti */
.ck-done { text-align: center; padding-top: 1rem; display: grid; gap: .7rem; justify-items: center; }
.ck-done-g { width: 10rem; animation: ckPop .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ckPop { from { transform: scale(.7) rotate(-6deg); opacity: 0; } }
.ck-done h2 { font-weight: 800; font-stretch: 85%; font-size: 2.3rem; }
.ck-done p { color: var(--muted); margin-bottom: .6rem; }
.ck-done .btn { max-width: 22rem; }
/* zamanlayıcı */
.ck-timer { display: flex; align-items: center; gap: .9rem; padding: .7rem .9rem; border-radius: 1.1rem; background: var(--card); border: var(--b); margin-bottom: 1rem; }
.ck-timer button { position: relative; width: 4.6rem; height: 4.6rem; border-radius: 50%; display: grid; place-items: center; flex: none; background: conic-gradient(var(--lemon) calc(var(--p) * 360deg), color-mix(in srgb, var(--ink) 12%, transparent) 0); }
.ck-timer button::before { content: ''; position: absolute; inset: .42rem; border-radius: 50%; background: var(--card); }
.ck-timer b { position: relative; font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.ck-timer small { color: var(--muted); font-weight: 650; font-size: .88rem; }
.ck-timer.run button { animation: tickPulse 1s ease-in-out infinite; }
.ck-timer.done button { background: #22CC93; }
/* kamera */

/* ---- sahneler ---- */
.ck-scene { position: relative; height: 13.5rem; border-radius: 1.5rem; overflow: hidden; background: radial-gradient(80% 90% at 50% 100%, color-mix(in srgb, var(--c) 30%, #FFFDF7), color-mix(in srgb, var(--c) 12%, #FFFDF7)); border: var(--b); }
html.dark .ck-scene { background: radial-gradient(80% 90% at 50% 100%, color-mix(in srgb, var(--c) 34%, #F4EFE4), color-mix(in srgb, var(--c) 14%, #EDE7DA)); border-color: rgba(255, 255, 255, .08); }
.ck-scene .glass-line { stroke: #20183A !important; }
.ck-act { position: absolute; left: .8rem; top: .7rem; z-index: 3; padding: .3rem .75rem; border-radius: 999px; background: #20183A; color: #F4EFE4; font-weight: 800; font-size: .85rem; }
.ck-glass { position: absolute; left: 50%; bottom: .4rem; width: 7.6rem; transform: translateX(-50%); z-index: 1; }
.ck-glass svg { width: 100%; height: auto; display: block; }
.ck .liq { transition: transform 1.2s cubic-bezier(.25, 1.1, .4, 1); }
.ck .garn-pop { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.3) rotate(-30deg); transition: opacity .3s .5s, transform .55s cubic-bezier(.3, 1.7, .5, 1) .5s; }
.ck .garn-pop.on { opacity: 1; transform: none; }
.pr { position: absolute; z-index: 2; }
.pr svg { width: 100%; height: auto; display: block; overflow: visible; }
.stream { position: absolute; width: 6px; border-radius: 3px; background: var(--c); box-shadow: 0 0 0 1.5px rgba(32, 24, 58, .55); transform-origin: top; animation: stream 1.6s ease-in-out infinite; }
@keyframes stream { 0% { transform: scaleY(0); } 25%, 75% { transform: scaleY(1); } 100% { transform: scaleY(0); opacity: 0; } }
/* dök / tamamla: şişe sol üstten eğilir */
.pr-pour { left: calc(50% - 4.6rem); top: -.7rem; width: 2.7rem; transform-origin: 30% 40%; animation: tilt 1.6s ease-in-out infinite; }
.pr-pour svg { transform: rotate(125deg); }
.pr-pour .stream { left: 3.15rem; top: 4.05rem; height: 2.8rem; }
@keyframes tilt { 0%, 100% { transform: rotate(-10deg); } 25%, 75% { transform: rotate(0deg); } }
.bub { position: absolute; bottom: 1.4rem; width: .45rem; height: .45rem; border-radius: 50%; border: 1.5px solid #20183A; background: rgba(255, 255, 255, .8); z-index: 2; animation: bubUp 1.8s ease-in infinite; }
.b1 { left: calc(50% - 1.2rem); } .b2 { left: calc(50% + .3rem); animation-delay: .5s; } .b3 { left: calc(50% - .3rem); animation-delay: 1s; } .b4 { left: calc(50% + 1.1rem); animation-delay: 1.3s; }
@keyframes bubUp { from { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(-5.5rem); opacity: 0; } }
/* buz */
.cube { position: absolute; left: calc(50% - .7rem); top: -2rem; width: 1.5rem; height: 1.5rem; border-radius: .35rem; background: #EAF7FF; border: 2.5px solid #20183A; z-index: 2; animation: cube 1.8s cubic-bezier(.5, 0, .9, .6) infinite; }
.c2 { left: calc(50% + .3rem); animation-delay: .45s; } .c3 { left: calc(50% - 1.4rem); animation-delay: .9s; }
@keyframes cube { 0% { transform: translateY(0) rotate(0); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateY(9rem) rotate(160deg); opacity: 1; } 100% { transform: translateY(9.4rem) rotate(170deg); opacity: 0; } }
/* çalkala */
.pr-shake { left: 50%; top: 1.4rem; width: 4.6rem; margin-left: -2.3rem; animation: shake .5s ease-in-out infinite; }
@keyframes shake { 0%, 100% { transform: translate(-.5rem, .3rem) rotate(-18deg); } 50% { transform: translate(.5rem, -.4rem) rotate(18deg); } }
.a-shake::before, .a-shake::after { content: ''; position: absolute; top: 40%; width: 1.6rem; height: .3rem; border-radius: .2rem; background: #20183A; opacity: .35; animation: wave .5s ease-in-out infinite alternate; }
.a-shake::before { left: calc(50% - 5rem); } .a-shake::after { right: calc(50% - 5rem); }
@keyframes wave { to { transform: scaleX(.4); opacity: .1; } }
/* süz */
.pr-strain { left: calc(50% + 1.6rem); top: .5rem; width: 3.6rem; transform-origin: 30% 80%; animation: tiltR 1.6s ease-in-out infinite; }
.pr-strain > svg { transform: rotate(125deg); }
.pr-st { position: absolute; left: -1.4rem; top: 2.6rem; width: 2.6rem; transform: rotate(-20deg); }
.pr-strain .stream { left: -.6rem; top: 3.6rem; height: 2.4rem; }
@keyframes tiltR { 0%, 100% { transform: rotate(-8deg); } 25%, 75% { transform: rotate(0); } }
/* karıştır */
.pr-stir { left: 50%; top: .4rem; width: 1.4rem; margin-left: -.4rem; z-index: 2; transform-origin: 50% 90%; animation: stir 1.1s ease-in-out infinite; }
@keyframes stir { 0%, 100% { transform: translateX(-1rem) rotate(-8deg); } 50% { transform: translateX(1rem) rotate(8deg); } }
/* ez */
.pr-muddle { left: 50%; top: -.4rem; width: 1.5rem; margin-left: -.75rem; z-index: 2; animation: muddle .9s ease-in-out infinite; }
@keyframes muddle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2.2rem); } }
/* ısıt */
.pr-heat { left: 50%; bottom: 1rem; width: 9rem; margin-left: -4.5rem; }
.stm { position: absolute; bottom: 5rem; width: .5rem; height: 2.4rem; border-radius: 1rem; border-left: 3px solid #20183A; opacity: .5; animation: steam 2s ease-in-out infinite; }
.s1 { left: 2.8rem; } .s2 { left: 4.4rem; animation-delay: .6s; } .s3 { left: 6rem; animation-delay: 1.2s; }
@keyframes steam { 0% { transform: translateY(1rem) scaleY(.6); opacity: 0; } 40% { opacity: .6; } 100% { transform: translateY(-1.6rem) scaleY(1.1) skewX(-12deg); opacity: 0; } }
/* blender */
.pr-blend { left: 50%; bottom: .6rem; width: 5.6rem; margin-left: -2.8rem; animation: blend .12s linear infinite; }
@keyframes blend { 50% { transform: translateX(2px) rotate(.8deg); } }
/* soğut */
.pr-chill { left: calc(50% + 3.6rem); top: 1.2rem; width: 2.6rem; animation: roll 6s linear infinite; }
/* kenar */
.pr-rim { left: calc(50% - 7.5rem); bottom: .6rem; width: 6.5rem; }
/* süsle / servis: parıltılar */
.spk { position: absolute; z-index: 3; width: 1.2rem; height: 1.2rem; background: #FFD23F; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 1.8s ease-in-out infinite; }
.k1 { left: calc(50% - 5rem); top: 2.6rem; } .k2 { left: calc(50% + 4rem); top: 1.6rem; animation-delay: .6s; } .k3 { left: calc(50% + 3rem); top: 7rem; animation-delay: 1.2s; }
@media (min-width: 700px) { .ck-scene { height: 15rem; } .ck-glass { width: 8.6rem; } .ck-ings { grid-template-columns: 1fr 1fr; } .ck-text { font-size: 1.6rem; } }
@media (prefers-reduced-motion: reduce) { .ck * { animation: none !important; } .ck .liq, .ck .garn-pop { transition: none; } }

/* ================= Miksoloji Genç ================= */
.gn { max-width: 64rem; margin: 0 auto; padding: calc(.8rem + var(--safe-t, 0px)) 1.1rem calc(2rem + var(--safe-b, 0px)); }
.gn-top { display: flex; justify-content: space-between; align-items: center; padding: .3rem 0 1rem; }
.gn-logo { font-weight: 800; font-stretch: 85%; font-size: 1.5rem; letter-spacing: -.01em; }
.gn-logo i { font-style: normal; display: inline-block; margin-left: .3rem; padding: .1rem .55rem; border-radius: 999px; background: #22CC93; color: #0E2A20; font-size: .95rem; transform: rotate(-4deg); vertical-align: .15rem; }
.gn-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.5rem 1.3rem; border-radius: 1.6rem; background: radial-gradient(70% 90% at 85% 100%, rgba(34, 204, 147, .45), transparent 70%), radial-gradient(60% 70% at 10% 0%, rgba(255, 143, 184, .35), transparent 70%), #1C1830; color: #F4EFE4; }
html.dark .gn-hero { background: radial-gradient(70% 90% at 85% 100%, rgba(34, 204, 147, .35), transparent 70%), radial-gradient(60% 70% at 10% 0%, rgba(255, 143, 184, .25), transparent 70%), #17191D; border: 1.5px solid rgba(255, 255, 255, .08); }
.gn-hero h1 { font-weight: 800; font-stretch: 82%; font-size: clamp(2.1rem, 8vw, 3.4rem); line-height: .98; letter-spacing: -.015em; max-width: 14ch; }
.gn-hero p { color: rgba(244, 239, 228, .78); margin: .8rem 0 1.1rem; max-width: 38ch; font-weight: 550; }
.gn-hero-g { display: flex; align-items: flex-end; justify-content: center; gap: .6rem; height: 9rem; }
.gn-hero-g span { width: 5rem; animation: gnBob 3.2s ease-in-out infinite; animation-delay: calc(var(--k) * -1.1s); }
.gn-hero-g span:nth-child(2) { width: 6rem; }
.gn-hero-g svg { width: 100%; height: auto; display: block; }
.gn-hero .glass-line { stroke: #F4EFE4; }
@keyframes gnBob { 50% { transform: translateY(-.5rem) rotate(-3deg); } }
.gn-sec { margin-top: 2rem; scroll-margin-top: 1rem; }
.gn-sec-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.gn-sec-h h2 { font-weight: 800; font-stretch: 85%; font-size: 1.75rem; }
.gn-sec-h > span { color: var(--muted); font-weight: 650; }
.gn-sec h3 { font-size: .95rem; font-weight: 800; color: var(--muted); margin: 1rem 0 .5rem; }
.gn-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.gn-chips .chip[aria-pressed="true"] { background: var(--lemon); color: #1C1A22; border-color: #1C1A22; }
.gn-note { color: var(--muted); font-size: .85rem; margin-top: .8rem; }
.gn-link { color: inherit; text-decoration: underline; font-weight: 700; }
.gn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .7rem; }
.gn-card { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: .9rem; align-items: center; text-align: left; padding: .8rem; border-radius: 1.3rem; background: var(--card); border: var(--b); color: inherit; transition: transform .15s; }
.gn-card:active { transform: scale(.98); }
.gn-card-art { height: 5.6rem; border-radius: 1rem; display: grid; place-items: center; background: color-mix(in srgb, var(--v) 35%, #FFFDF7); padding: .3rem; }
.gn-card-art svg { height: 100%; width: auto; }
.gn-card-art .glass-line, .gn-rx-art .glass-line { stroke: #20183A; }
.gn-card-t { display: grid; gap: .25rem; justify-items: start; min-width: 0; }
.gn-card-t b { font-size: 1.08rem; font-weight: 800; }
.gn-card-t small { color: var(--muted); font-size: .86rem; line-height: 1.35; }
.gn-empty { padding: 1.4rem; border-radius: 1.3rem; border: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent); text-align: center; }
.gn-empty b { font-size: 1.15rem; } .gn-empty p { color: var(--muted); margin-top: .4rem; }
.gn-foot { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); color: var(--muted); font-size: .85rem; display: grid; gap: .4rem; }
.gn-foot a { color: var(--muted); }
.gn-sheet { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .55); display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease-out; }
.gn-sheet-in { width: 100%; max-width: 36rem; max-height: 94dvh; overflow-y: auto; background: var(--paper); border-radius: 1.6rem 1.6rem 0 0; animation: up .3s cubic-bezier(.2, .9, .3, 1); }
.gn-rx-art { position: relative; height: 13rem; display: grid; place-items: center; background: radial-gradient(80% 90% at 50% 100%, color-mix(in srgb, var(--v) 55%, #FFFDF7), color-mix(in srgb, var(--v) 25%, #FFFDF7)); }
.gn-rx-art > svg { height: 11rem; width: auto; }
.gn-x { position: absolute; right: .8rem; top: .8rem; }
.gn-rx-b { padding: 1.2rem 1.2rem calc(1.6rem + var(--safe-b, 0px)); }
.gn-rx-b h2 { font-weight: 800; font-stretch: 85%; font-size: 2rem; line-height: 1; }
.gn-rx-d { color: var(--muted); margin: .4rem 0 .7rem; }
.gn-miss { color: #E8344F; font-weight: 700; font-size: .92rem; } html.dark .gn-miss { color: #FF8A9C; }
.gn-has { color: #1F9E6E; font-weight: 700; font-size: .92rem; } html.dark .gn-has { color: #5BE0A8; }
.gn-go { margin: 1rem 0 .4rem; min-height: 3.4rem; font-size: 1.08rem; }
.gn-rx-b h3 { font-weight: 800; margin: 1.2rem 0 .5rem; }
.gn-ings { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.gn-ings li { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: .5rem; align-items: center; padding: .55rem .7rem; border-radius: .9rem; background: var(--card); border: var(--b); opacity: .7; }
.gn-ings li.have { opacity: 1; }
.gn-ings li span { font-size: 1.3rem; } .gn-ings em { font-style: normal; color: var(--muted); font-weight: 500; }
.gn-ings small { color: var(--muted); font-weight: 650; text-align: right; }
.gn-steps { padding-left: 1.2rem; display: grid; gap: .45rem; } .gn-steps li { padding-left: .2rem; }
@media (min-width: 760px) {
  .gn-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; padding: 2.6rem; }
  .gn-hero-g { height: 13rem; } .gn-hero-g span { width: 7rem; } .gn-hero-g span:nth-child(2) { width: 8.5rem; }
  .gn-sheet { align-items: center; } .gn-sheet-in { border-radius: 1.6rem; }
}

.auth-teen { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .2rem .55rem; margin-top: 1rem; padding: .5rem .9rem; border-radius: 999px; background: rgba(34, 204, 147, .16); border: 1.5px solid rgba(34, 204, 147, .55); color: #F4EFE4; text-decoration: none; font-size: .9rem; font-weight: 600; }
.auth-teen b { color: #5BE0A8; font-weight: 800; }
.auth-teen:hover { background: rgba(34, 204, 147, .26); }
#authErr a { color: inherit; font-weight: 800; }

/* ================= ilk giriş: damak tadı ================= */
.ob { position: fixed; inset: 0; z-index: 55; overflow-y: auto; background: var(--paper); animation: fade .25s ease-out; }
.ob-in { max-width: 34rem; margin: 0 auto; padding: calc(1.4rem + var(--safe-t, 0px)) 1.2rem calc(1.4rem + var(--safe-b, 0px)); min-height: 100%; display: flex; flex-direction: column; }
.ob-wide { max-width: 52rem; }
.ob-dots { display: flex; gap: .35rem; margin-bottom: 1.4rem; }
.ob-dots i { width: 2.2rem; height: .38rem; border-radius: .3rem; background: color-mix(in srgb, var(--ink) 15%, transparent); }
.ob-dots i.on { background: var(--lemon); }
.ob h1 { font-weight: 800; font-stretch: 82%; font-size: clamp(2rem, 7.5vw, 2.8rem); line-height: 1; letter-spacing: -.015em; }
.ob-lead { color: var(--muted); font-weight: 550; margin: .7rem 0 1.2rem; font-size: 1.02rem; }
.ob-h2 { font-weight: 800; font-size: 1.15rem; margin: 1.4rem 0 .6rem; }
.ob-tastes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.ob-t { position: relative; display: grid; justify-items: start; gap: .15rem; text-align: left; padding: .9rem .9rem 1rem; border-radius: 1.3rem; background: var(--card); border: var(--b); color: inherit; transition: transform .15s, background .2s; }
.ob-t-e { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: color-mix(in srgb, var(--k) 45%, transparent); font-size: 1.5rem; margin-bottom: .35rem; }
.ob-t b { font-size: 1.1rem; font-weight: 800; }
.ob-t small { color: var(--muted); font-size: .82rem; font-weight: 600; }
.ob-t[aria-pressed="true"] { background: color-mix(in srgb, var(--k) 28%, var(--card)); border-color: var(--k); transform: scale(1.02); }
.ob-check { position: absolute; right: .7rem; top: .7rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--ink) 30%, transparent); }
[aria-pressed="true"] > .ob-check { background: var(--lemon); border-color: #1C1A22; }
[aria-pressed="true"] > .ob-check::after { content: ''; position: absolute; left: .42rem; top: .18rem; width: .38rem; height: .7rem; border: solid #1C1A22; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ob-mode button { flex: 1; }
.ob-act { display: grid; grid-template-columns: auto 1fr; gap: .6rem; margin-top: auto; padding-top: 1.4rem; }
.ob-act .btn { min-height: 3.3rem; }
.ob-act .btn-block { grid-column: 1 / -1; }
.ob-sticky { position: sticky; bottom: 0; padding-bottom: .4rem; background: linear-gradient(transparent, var(--paper) 30%); }
.ob-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.4rem, 1fr)); gap: .6rem; }
.ob-p { position: relative; display: grid; gap: .4rem; justify-items: center; padding: .6rem .5rem .75rem; border-radius: 1.2rem; background: var(--card); border: var(--b); color: inherit; transition: transform .15s; }
.ob-p-art { width: 100%; height: 7rem; border-radius: .9rem; display: grid; place-items: center; background: color-mix(in srgb, var(--v) 40%, #FFFDF7); }
.ob-p-art svg { height: 88%; width: auto; } .ob-p-art .glass-line, .ob-rec-art .glass-line { stroke: #20183A; }
.ob-p b { font-size: .92rem; font-weight: 800; text-align: center; line-height: 1.15; }
.ob-p[aria-pressed="true"] { border-color: var(--lemon); box-shadow: 0 0 0 3px var(--lemon); transform: scale(1.03); }
.ob-p .ob-check { background: var(--card); }
.ob-p[aria-pressed="true"] .ob-check { background: var(--lemon); border-color: #1C1A22; }
.ob-done-art { display: flex; justify-content: center; align-items: flex-end; gap: .4rem; height: 8rem; margin-bottom: 1rem; }
.ob-done-art span { width: 4.6rem; animation: ckPop .6s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--k) * .12s); }
.ob-done-art span:nth-child(2) { width: 5.6rem; }
.ob-done-art svg { width: 100%; height: auto; }
.ob-recs { display: grid; gap: .55rem; }
.ob-rec { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: .8rem; align-items: center; padding: .6rem; border-radius: 1.1rem; background: var(--card); border: var(--b); }
.ob-rec-art { height: 4.4rem; border-radius: .8rem; display: grid; place-items: center; background: color-mix(in srgb, var(--v) 40%, #FFFDF7); }
.ob-rec-art svg { height: 88%; width: auto; }
.ob-rec b { display: block; font-weight: 800; } .ob-rec small { color: var(--muted); font-size: .85rem; }
@media (min-width: 640px) { .ob-tastes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Mobil: yanlışlıkla çift dokunmada yakınlaştırma olmasın (iki parmakla büyütme erişilebilirlik için açık kalır).
   iPhone, 16px'ten küçük yazılı alana dokununca da yakınlaştırır: dokunmatik ekranda alanlar en az 16px. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body, *, *::before, *::after { touch-action: manipulation; }
@media (pointer: coarse) { input, select, textarea { font-size: max(16px, 1rem) !important; } }

.tts-src { display: grid; gap: .45rem; }
.tts-src .check { align-items: flex-start; }
.tts-ev-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }

.ck-credit { text-align: center; font-size: .72rem; color: var(--muted); margin: 0; padding: 0 1rem; }
.ck-credit a { color: inherit; }

.ck-voice { display: grid; gap: .5rem; margin: 0 0 1rem; }
.ck-opt { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .7rem; align-items: center; text-align: left; padding: .7rem .85rem; border-radius: 1.1rem; background: var(--card); border: var(--b); color: inherit; }
.ck-opt-i { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ink) 10%, transparent); font-size: 1.15rem; }
.ck-opt b { display: block; font-size: 1rem; } .ck-opt small { color: var(--muted); font-size: .82rem; }
.ck-opt[aria-pressed="true"] { border-color: var(--lemon); box-shadow: 0 0 0 2px var(--lemon); }
.ck-opt[aria-pressed="true"] .ck-opt-i { background: var(--lemon); }

.pop-cta { margin: 1.2rem 0 .5rem; padding: 1.1rem 1.2rem; border-radius: 1.3rem; border: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent); display: grid; gap: .7rem; justify-items: start; }
.pop-cta p { color: var(--muted); font-weight: 600; }

/* yönetim › istatistik */
.ol-tiles .ol-tile { cursor: default; text-align: left; display: grid; gap: .15rem; }
.ol-tile small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.ol-funnel { display: grid; gap: .55rem; }
.ol-f { display: grid; grid-template-columns: 10rem minmax(0, 1fr) 3rem; align-items: center; gap: .7rem; font-size: .92rem; }
.ol-f i { display: block; height: .9rem; width: var(--w); border-radius: .5rem; background: var(--lemon); transition: width .4s; }
.ol-f b { text-align: right; }
.ol-bars { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: .35rem; align-items: end; height: 9rem; padding-top: .5rem; }
.ol-bar { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; text-align: center; }
.ol-col { display: flex; flex-direction: column-reverse; justify-content: flex-start; height: 100%; border-radius: .4rem; overflow: hidden; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.ol-col i { display: block; width: 100%; }
.ol-bar small { color: var(--muted); font-size: .7rem; margin-top: .2rem; }
i.ol-new { background: var(--lemon); } i.ol-back { background: #22CC93; }
.ol-leg { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; } .ol-leg i { width: .7rem; height: .7rem; border-radius: .2rem; display: inline-block; margin-left: .4rem; }
.ol-top { padding-left: 1.2rem; display: grid; gap: .35rem; } .ol-top li { display: flex; justify-content: space-between; gap: .6rem; } .ol-top b { color: var(--muted); font-weight: 650; white-space: nowrap; }
@media (max-width: 560px) { .ol-f { grid-template-columns: 7.5rem minmax(0, 1fr) 2.5rem; font-size: .85rem; } }

/* Yönetim › Malzemeler: tekrarlar ve birleştirme */
.dup-card { margin-bottom: 1rem; border-color: var(--lemon); }
.dup-list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .5rem; }
.dup-list li { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 12px; background: var(--paper); }
.dup-list small { color: var(--muted); font-size: .72rem; margin-left: .25rem; }
.dup-arrow { color: var(--muted); }
.adm-table.ings .tr, .adm-table.ings .tr:not(.th) { grid-template-columns: 3.6rem minmax(0, 1fr) minmax(7rem, 10rem); }
.adm-table.ings .tr > :nth-child(3) { grid-column: 3; }
.adm-table.ings .th > :nth-child(3) { display: block; }
.adm-table.ings .th > :nth-child(4) { display: none; }
.adm-table.ings .tr > .acts { grid-row: 2; grid-column: 2 / span 2; display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-start; }
.adm-table.ings .tr.th > .acts { display: none; }
.merge-box { display: flex; gap: .4rem; margin-top: .4rem; }
.merge-box[hidden] { display: none; }
.merge-box .input { flex: 1; min-width: 0; }
@media (max-width: 640px) { .dup-list li { grid-template-columns: 1fr auto; } .dup-arrow { display: none; } }
/* Yönetim › Güncelleme */
.upd-drop { display: grid; place-items: center; gap: .4rem; padding: 1.4rem; border: 2px dashed var(--line, #8885); border-radius: 14px; text-align: center; cursor: pointer; }
.upd-drop.over { border-color: var(--lemon); background: var(--paper); }
.upd-drop input { display: none; }
.upd-log { margin: .6rem 0 0; font-size: .85rem; color: var(--muted); }
@media (max-width: 700px) {
  .adm-table.ings .tr, .adm-table.ings .tr:not(.th) { grid-template-columns: 3rem minmax(0, 1fr); gap: .5rem; padding: .7rem .8rem; }
  .adm-table.ings .tr > :nth-child(3) { grid-column: 2; grid-row: 2; }
  .adm-table.ings .tr > .acts { grid-row: 3; grid-column: 1 / span 2; }
  .adm-table.ings .th > :nth-child(3) { display: none; }
  .adm-table.ings .emo { width: 100%; padding-inline: 0; text-align: center; }
}
