/* ── Fonts (self-hosted, Turkish subset) ───────────────────────────────── */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/Inter-400.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/Inter-500.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/Inter-600.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700 800; font-display: swap; src: url(/fonts/Inter-700.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/Playfair-600.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(/fonts/Playfair-700.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(/fonts/Playfair-400i.woff2) format('woff2'); }

/* ── Tokens: midnight & champagne ───────────────────────────────────────
   Every variable below is part of the contract with the tool modules — keep the names. */
:root {
  --bg: #f8f5ef; --card: #fff; --ink: #141a2e; --muted: #596075; --line: #e7e0d3;
  --blue: #1f3570; --blue2: #3b5499; --blue-soft: #f5eddc; --green: #127a52; --red: #c2323f; --amber: #d1921a;
  --r: 16px; --sh: 0 1px 2px rgba(20, 26, 46, .04), 0 10px 30px -12px rgba(20, 26, 46, .14);
  --sh-lg: 0 2px 4px rgba(20, 26, 46, .04), 0 24px 60px -20px rgba(20, 26, 46, .28);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Playfair Display', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --night: #0b1020; --night2: #111a33; --night3: #1a2650; --on-night: #ece6da; --on-night-2: #aeb4c7;
  --gold: #c9a45c; --gold-hi: #ecd5a0; --gold-lo: #a17f3c; --gold-ink: #7f6022; --gold-line: rgba(201, 164, 92, .35);
  --gold-grad: linear-gradient(135deg, #f1dcaa 0%, #d5b06a 45%, #a9823d 100%);
  --ring: 0 0 0 3px rgba(201, 164, 92, .45);
  --max: 1200px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--blue); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h3 { font-weight: 700; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: #ecd9ae; color: var(--night); }
.i { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--night); font-weight: 700; }
.skip:focus { top: 12px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.top { position: relative; z-index: 40; color: var(--on-night); background:
  radial-gradient(900px 260px at 12% -60%, rgba(201, 164, 92, .22), transparent 70%),
  radial-gradient(700px 300px at 95% -80%, rgba(80, 110, 200, .25), transparent 70%),
  linear-gradient(180deg, #0a0f1e, var(--night2)); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line) 20%, rgba(236, 213, 160, .55) 50%, var(--gold-line) 80%, transparent); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; max-width: var(--max); margin: 0 auto; padding: 12px 16px 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 4px 10px rgba(201, 164, 92, .25)); }
.logo .wm { font: 600 1.38rem/1 var(--serif); letter-spacing: -.01em; color: #fbf8f1; }
.logo .wm em { font-style: italic; font-weight: 400; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.top-r { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.search { position: relative; flex: 1; min-width: 200px; max-width: 460px; }
.search .s-ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--on-night-2); pointer-events: none; }
.search input { width: 100%; padding: 10px 16px 10px 40px; border: 1px solid rgba(236, 230, 218, .14); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; outline: none; transition: border-color .15s, background .15s, box-shadow .15s; }
.search input::placeholder { color: #9aa1b6; }
.search input:focus { border-color: var(--gold); background: rgba(255, 255, 255, .1); box-shadow: var(--ring); }
.search input::-webkit-search-cancel-button { filter: invert(1) opacity(.6); }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-lg); overflow: hidden; z-index: 60; padding: 6px; text-align: left; }
.sugg a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.sugg a span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--blue-soft); font-size: .95rem; flex: none; }
.sugg a:hover, .sugg a.on { background: #faf5ea; text-decoration: none; }

.prem-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 11px; border-radius: 999px; background: var(--gold-grad); color: #2a1f08 !important; font-weight: 700; font-size: .86rem; letter-spacing: .01em; box-shadow: 0 6px 18px -6px rgba(201, 164, 92, .6), inset 0 1px 0 rgba(255, 255, 255, .45); white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.prem-pill .i { width: 17px; height: 17px; }
.prem-pill:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(201, 164, 92, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }

.acct { display: flex; align-items: center; gap: 8px; min-height: 34px; }
.acct:empty { display: none; }
.acct a, .acct button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(236, 230, 218, .2); background: rgba(255, 255, 255, .05); color: var(--on-night); font-size: .86rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
.acct a:hover, .acct button:hover { text-decoration: none; border-color: var(--gold); background: rgba(201, 164, 92, .1); color: #fff; }
.acct .primary, .acct a.on { background: #fbf8f1; border-color: #fbf8f1; color: var(--night); }
.acct .primary:hover { background: #fff; color: var(--night); }
.acct .menu-pop, .acct [role="menu"] { position: absolute; right: 16px; top: calc(100% - 4px); min-width: 220px; padding: 6px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-lg); z-index: 70; }
.acct .menu-pop a, .acct .menu-pop button, .acct [role="menu"] a, .acct [role="menu"] button { display: flex; width: 100%; border: 0; border-radius: 9px; background: none; color: var(--ink); padding: 9px 12px; }
.acct .menu-pop a:hover, .acct .menu-pop button:hover, .acct [role="menu"] a:hover, .acct [role="menu"] button:hover { background: #faf5ea; }

.menu { max-width: var(--max); margin: 0 auto; }
.menu-in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 2px 10px 10px; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.menu-in::-webkit-scrollbar { display: none; }
.menu a { position: relative; flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; color: var(--on-night-2); font-size: .88rem; font-weight: 500; white-space: nowrap; transition: color .15s, background .15s; }
.menu a .i { width: 17px; height: 17px; color: var(--gold); opacity: .85; }
.menu a:hover { color: #fff; background: rgba(255, 255, 255, .06); text-decoration: none; }
.menu a.on { color: #fff; background: rgba(201, 164, 92, .14); box-shadow: inset 0 0 0 1px var(--gold-line); }
@media (min-width: 1100px) { .menu-in { -webkit-mask-image: none; mask-image: none; justify-content: center; } }

/* ── Dark band under the header (hero, page heads) ─────────────────────── */
.band { position: relative; color: var(--on-night); background:
  radial-gradient(800px 380px at 85% 0%, rgba(70, 100, 190, .28), transparent 70%),
  radial-gradient(700px 360px at 5% 110%, rgba(201, 164, 92, .16), transparent 70%),
  linear-gradient(180deg, var(--night2), var(--night)); overflow: hidden; }
.band::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(1px 1px at 12% 28%, rgba(255, 255, 255, .55), transparent), radial-gradient(1px 1px at 72% 18%, rgba(255, 255, 255, .45), transparent), radial-gradient(1px 1px at 88% 64%, rgba(236, 213, 160, .6), transparent), radial-gradient(1px 1px at 38% 78%, rgba(255, 255, 255, .35), transparent), radial-gradient(1.5px 1.5px at 56% 42%, rgba(236, 213, 160, .5), transparent); }
.band::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); }
.band-in { position: relative; max-width: var(--max); margin: 0 auto; padding: 26px 16px 34px; }
.band h1 { color: #fbf8f1; font-size: clamp(1.75rem, 4.4vw, 2.6rem); margin: 0 0 .3em; }
.band h1 em, .band h2 em { font-style: italic; font-weight: 400; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.band .lead { color: var(--on-night-2); margin: 0; max-width: 720px; font-size: 1.02rem; }
.band .crumbs { color: #8f96ab; }
.band .crumbs a { color: var(--on-night-2); }
.band .crumbs a:hover { color: var(--gold-hi); }
.band-head { display: flex; gap: 16px; align-items: flex-start; }
.band-ic { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 16px; color: var(--gold-hi); background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px var(--gold-line), 0 10px 30px -10px rgba(0, 0, 0, .6); }
.band-ic .i { width: 28px; height: 28px; }
.band-meta { margin: 12px 0 0; color: var(--gold-hi); font-size: .85rem; letter-spacing: .02em; }
.band .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.band-tool .band-in, .band-doc .band-in { padding-bottom: 76px; }
.band .search.big { margin-top: 18px; }
main.lift > :first-child { margin-top: -56px; position: relative; z-index: 2; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 22px 16px 56px; }
.crumbs { font-size: .82rem; color: var(--muted); margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs i { font-style: normal; opacity: .55; }

/* ── Hero (home) ───────────────────────────────────────────────────────── */
.hero { text-align: center; }
.hero .band-in { padding: 48px 16px 44px; }
.hero h1 { font-size: clamp(2.05rem, 6.4vw, 3.7rem); line-height: 1.08; max-width: 860px; margin: 0 auto .35em; letter-spacing: -.02em; }
.hero .lead { margin: 0 auto; max-width: 640px; font-size: clamp(1rem, 2.2vw, 1.12rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); background: rgba(201, 164, 92, .08); box-shadow: inset 0 0 0 1px var(--gold-line); }
.eyebrow .i { width: 15px; height: 15px; }
.search.big { max-width: 640px; margin: 26px auto 0; display: flex; gap: 0; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .97); box-shadow: 0 0 0 1px rgba(236, 213, 160, .5), 0 24px 60px -16px rgba(0, 0, 0, .55); }
.search.big .s-ic { left: 22px; color: #8a8f9f; width: 20px; height: 20px; }
.search.big input { flex: 1; min-width: 0; padding: 12px 14px 12px 46px; font-size: 1.04rem; border: 0; background: transparent; color: var(--ink); box-shadow: none; }
.search.big input::placeholder { color: #8a8f9f; }
.search.big input:focus { box-shadow: none; background: transparent; }
.search.big:focus-within { box-shadow: 0 0 0 2px var(--gold), 0 24px 60px -16px rgba(0, 0, 0, .55); }
.search.big input::-webkit-search-cancel-button { filter: none; }
.search.big button { flex: none; padding: 0 26px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #24397a, #15244f); color: #fff; font-weight: 600; letter-spacing: .01em; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); transition: filter .15s; }
.search.big button:hover { filter: brightness(1.15); }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px auto 0; font-size: .86rem; color: #8f96ab; }
.quick span { align-self: center; }
.quick a { padding: 4px 12px; border-radius: 999px; color: var(--on-night); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(236, 230, 218, .14); }
.quick a:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--gold); color: #fff; }
.trust { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 980px; margin: 34px auto 0; padding: 0; text-align: left; }
.trust li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(236, 230, 218, .08); }
.trust .i { width: 22px; height: 22px; color: var(--gold); margin-top: 1px; }
.trust b { display: block; color: #fbf8f1; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.trust small { display: block; color: #9aa1b6; font-size: .8rem; line-height: 1.4; margin-top: 2px; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .trust small { display: none; } .trust li { padding: 11px 12px; align-items: center; } }

/* ── Section titles, grids, cards ───────────────────────────────────────── */
.row-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: clamp(1.3rem, 3vw, 1.6rem); margin: 44px 0 16px; color: var(--ink); }
.row-title > a:first-child { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.row-title > a:first-child:hover { text-decoration: none; color: var(--blue); }
.row-title small { font: 500 .8rem/1 var(--font); color: var(--muted); letter-spacing: .02em; padding: 5px 9px; border-radius: 999px; background: #f1ebdf; }
.rt-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--gold-ink); background: linear-gradient(160deg, #fff, #f6efe1); box-shadow: inset 0 0 0 1px var(--line); margin-right: 10px; }
.row-title > a .rt-ic { margin-right: 0; }
.rt-ic .i { width: 20px; height: 20px; }
.row-title .more { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 .86rem/1 var(--font); color: var(--blue); }
.row-title .more .i { width: 16px; height: 16px; transition: transform .15s; }
.row-title .more:hover .i { transform: translateX(3px); }
.cats .row-title { margin-top: 6px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.card { position: relative; display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 3px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); box-shadow: 0 1px 2px rgba(20, 26, 46, .03); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: #dcc89c; }
.card .ic { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: var(--blue); background: linear-gradient(160deg, #fbf7ee, #f1e8d4); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .28); font-size: 1.35rem; transition: color .18s, background .18s; }
.card .ic .i { width: 23px; height: 23px; }
.card:hover .ic { color: var(--gold-hi); background: linear-gradient(160deg, var(--night3), var(--night)); box-shadow: inset 0 0 0 1px var(--gold-line); }
.card b { font-size: .98rem; font-weight: 600; line-height: 1.35; padding-right: 26px; }
.card small { color: var(--muted); font-size: .83rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .pro { position: absolute; top: 12px; right: 12px; font: 700 .62rem/1 var(--font); font-style: normal; letter-spacing: .06em; padding: 4px 6px; border-radius: 6px; background: var(--night); color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold-line); }

.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: var(--ink); transition: transform .18s, box-shadow .18s, border-color .18s; }
.tile .ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 12px; color: var(--gold-hi); background: radial-gradient(circle at 30% 20%, var(--night3), var(--night)); box-shadow: 0 8px 18px -8px rgba(11, 16, 32, .6), inset 0 0 0 1px var(--gold-line); }
.tile .ic .i { width: 22px; height: 22px; }
.tile b { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.tile small { color: var(--muted); font-size: .8rem; }
.tile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: #dcc89c; }

/* ── Premium teaser & astro showcase ───────────────────────────────────── */
.prem-teaser, .astro-show { position: relative; overflow: hidden; margin-top: 56px; border-radius: 24px; color: var(--on-night); padding: clamp(26px, 5vw, 48px); background:
  radial-gradient(600px 300px at 100% 0%, rgba(201, 164, 92, .25), transparent 70%),
  radial-gradient(500px 300px at 0% 100%, rgba(70, 100, 190, .25), transparent 70%),
  linear-gradient(160deg, var(--night3), var(--night)); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--gold-line); display: grid; gap: 28px; }
.prem-teaser h2, .astro-show h2 { color: #fbf8f1; font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0 0 .4em; }
.prem-teaser h2 em, .astro-show h2 em { font-style: italic; font-weight: 400; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.prem-teaser p, .astro-show p { color: var(--on-night-2); margin: 0 0 18px; max-width: 560px; }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: #e3e0d8; font-size: .94rem; }
.ticks .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: var(--night); background: var(--gold-grad); stroke-width: 2.4; margin-top: 1px; }
.pt-art { display: none; }
.pt-crown { width: 160px; height: 160px; color: var(--gold); opacity: .9; stroke-width: .8; filter: drop-shadow(0 20px 40px rgba(201, 164, 92, .35)); }
@media (min-width: 860px) { .prem-teaser { grid-template-columns: 1.6fr 1fr; align-items: center; } .pt-art { display: grid; place-items: center; } }
.as-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.as-list a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; color: #f0ebe0; font-size: .9rem; font-weight: 500; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(236, 230, 218, .1); transition: background .15s, box-shadow .15s; }
.as-list a .i { color: var(--gold); width: 22px; height: 22px; }
.as-list a:hover { text-decoration: none; background: rgba(201, 164, 92, .1); box-shadow: inset 0 0 0 1px var(--gold-line); }
.as-soon { grid-template-columns: repeat(3, 1fr); }
.as-soon span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px; color: var(--gold); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(236, 230, 218, .1); }
.as-soon .i { width: 36px; height: 36px; stroke-width: 1.2; }
.astro-show::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .7; background-image: radial-gradient(1px 1px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, rgba(255, 255, 255, .7), transparent), radial-gradient(1.5px 1.5px at 60% 30%, var(--gold-hi), transparent), radial-gradient(1px 1px at 80% 80%, #fff, transparent), radial-gradient(1px 1px at 92% 12%, rgba(255, 255, 255, .8), transparent), radial-gradient(1px 1px at 45% 90%, var(--gold-hi), transparent); }
.astro-show > * { position: relative; }
@media (min-width: 860px) { .astro-show { grid-template-columns: 1fr 1.1fr; align-items: center; } }

/* ── Tool page ─────────────────────────────────────────────────────────── */
.tool-head h1 { font-size: clamp(1.6rem, 3.8vw, 2.3rem); margin-bottom: .25em; }
.tool-head .lead { color: var(--muted); margin: 0 0 18px; max-width: 760px; }
.tool { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(16px, 3.2vw, 30px); box-shadow: var(--sh-lg); min-height: 200px; }
.tool :is(h1, h2, h3, h4) { font-family: inherit; letter-spacing: normal; }
main.lift > .tool { box-shadow: 0 0 0 1px rgba(201, 164, 92, .12), var(--sh-lg); }
.tool .loading { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); padding: 60px 0; }
.info { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3.4vw, 32px); }
.info h2 { font-size: clamp(1.3rem, 2.8vw, 1.55rem); margin-bottom: .7em; }
.info ol, .info ul { padding-left: 1.3em; margin: 0; }
.info li { margin: 6px 0; }
.howto ol { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.howto li { counter-increment: s; position: relative; padding: 2px 0 2px 46px; min-height: 32px; margin: 0; }
.howto li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 600 .88rem/1 var(--font); color: var(--gold-hi); background: var(--night); box-shadow: inset 0 0 0 1px var(--gold-line); }
.prose { font-size: 1rem; line-height: 1.75; }
.prose p { margin: 0 0 1em; }
.prose h2 { margin-top: 1.3em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 1.4em 0 .5em; }
.prose a { text-decoration: underline; text-decoration-color: rgba(201, 164, 92, .6); }
.prose ul li::marker { color: var(--gold); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: #faf6ee; }
.prose blockquote { margin: 1em 0; padding: 12px 18px; border-left: 3px solid var(--gold); background: #fbf7ee; border-radius: 0 12px 12px 0; }
.doc { max-width: 820px; margin-left: auto; margin-right: auto; padding: clamp(22px, 5vw, 56px); font-size: 1.02rem; box-shadow: var(--sh-lg); }
.doc h2 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); margin: 1.8em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.doc h2:first-child { border-top: 0; padding-top: 0; }
.doc > p:first-child { font-size: 1.08rem; color: #3a4156; }
.band-doc .band-head { max-width: 820px; margin: 0 auto; }
.band-doc .crumbs { max-width: 820px; margin-left: auto; margin-right: auto; }

.faq details { border: 1px solid var(--line); border-radius: 14px; margin-top: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.faq details:first-of-type { margin-top: 0; }
.faq details[open] { border-color: #dcc89c; box-shadow: var(--sh); }
.faq summary { list-style: none; cursor: pointer; font-weight: 600; padding: 15px 52px 15px 18px; position: relative; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--gold-line); background: linear-gradient(var(--gold-ink), var(--gold-ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--gold-ink), var(--gold-ink)) center / 1.5px 10px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }
.related { margin-top: 8px; }
.muted { color: var(--muted); }

/* ── Empty / 404 ────────────────────────────────────────────────────────── */
.empty { color: var(--muted); text-align: center; padding: 40px 20px; border-radius: 20px; border: 1px dashed #d9ccb0; background: #fffdf8; }
.empty b { display: block; font: 600 1.3rem/1.3 var(--serif); color: var(--ink); margin-bottom: 6px; }
.empty p { margin: 0 auto 6px; max-width: 460px; }
.empty .e-ic { width: 40px; height: 40px; color: var(--gold); margin-bottom: 8px; }
.nf .nf-code { display: block; font: 600 clamp(4rem, 14vw, 7rem)/1 var(--serif); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.nf .btn { margin-top: 14px; }

/* ── Controls (shared with tool modules) ───────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 12px; border: 1px solid #ddd4c3; background: #fff; color: var(--ink); font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s, transform .06s, filter .15s; text-decoration: none !important; line-height: 1.2; }
.btn .i { width: 18px; height: 18px; }
.btn:hover { border-color: #c9b58a; background: #fffdf8; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.primary { background: linear-gradient(180deg, #26407f, var(--blue)); border-color: #17295a; color: #fff; box-shadow: 0 6px 16px -8px rgba(31, 53, 112, .7), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn.primary:hover { background: linear-gradient(180deg, #2c4a92, #213a7a); }
.btn.green { background: var(--green); border-color: var(--green); color: #fff; }
.btn.green:hover { filter: brightness(1.08); }
.btn.gold { background: var(--gold-grad); border-color: #b8924a; color: #241a06; box-shadow: 0 10px 24px -10px rgba(201, 164, 92, .75), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn.gold:hover { filter: brightness(1.05); }
.btn.dark { background: var(--night); border-color: var(--night); color: var(--gold-hi); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--red); }
.btn.sm { padding: 6px 12px; font-size: .85rem; border-radius: 9px; }
.btn.big { padding: 15px 28px; font-size: 1.04rem; border-radius: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 200px; padding: 28px; border: 1.5px dashed #d2c19c; border-radius: 18px; background: radial-gradient(400px 160px at 50% 0%, #fffaf0, #fbf8f2); cursor: pointer; text-align: center; transition: background .15s, border-color .15s, box-shadow .15s; }
.drop:hover, .drop.over { background: #fbf4e4; border-color: var(--gold); box-shadow: inset 0 0 0 3px rgba(201, 164, 92, .12); }
.drop-ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 30% 20%, var(--night3), var(--night)); color: var(--gold-hi); font-size: 1.45rem; margin-bottom: 4px; box-shadow: 0 10px 24px -10px rgba(11, 16, 32, .7), inset 0 0 0 1px var(--gold-line); }
.drop b { font-size: 1.08rem; font-weight: 600; }
.drop small { color: var(--muted); }

.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field .lbl { font-size: .85rem; font-weight: 600; color: #353c52; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid #d9d2c4; border-radius: 11px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c8bca4; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: var(--ring); }
.field .help { color: var(--muted); font-size: .78rem; }
.suffix { position: relative; }
.suffix input { padding-right: 46px; }
.suffix em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); font-size: .9rem; pointer-events: none; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
input[type="checkbox"], input[type="radio"], input[type="range"] { accent-color: var(--blue); }
.seg { display: inline-flex; padding: 4px; background: #f1ece2; border-radius: 12px; gap: 2px; flex-wrap: wrap; box-shadow: inset 0 0 0 1px #e6dece; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 9px; font-weight: 600; cursor: pointer; color: var(--muted); transition: color .15s, background .15s; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20, 26, 46, .1), inset 0 0 0 1px rgba(201, 164, 92, .35); }

.result { margin-top: 20px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.result .row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid #f0ebe1; }
.result .row:first-child { border-top: 0; }
.result .row b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.result .row.hi { background: linear-gradient(90deg, #f7efdc, #fbf7ee); font-size: 1.1rem; }
.result .row.hi b { color: var(--blue); font-weight: 700; }
.note { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: #fdf7e8; border: 1px solid #efdcaa; font-size: .88rem; color: #634c12; }
.table-wrap { overflow-x: auto; margin-top: 14px; border-radius: 12px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
table.tbl th, table.tbl td { padding: 9px 12px; border-bottom: 1px solid #efe9dd; text-align: right; white-space: nowrap; }
table.tbl th:first-child, table.tbl td:first-child { text-align: left; }
table.tbl th { background: #f8f3e8; font-weight: 600; color: #3a4156; }
table.tbl tbody tr:hover td { background: #fdfaf3; }

.files { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.file { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px; background: #fffdf9; }
.file .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file small { color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 14px; }
.thumb { position: relative; border: 2px solid var(--line); border-radius: 13px; background: #fff; padding: 6px; text-align: center; font-size: .8rem; color: var(--muted); cursor: pointer; user-select: none; transition: border-color .15s, box-shadow .15s; }
.thumb:hover { border-color: #dcc89c; }
.thumb canvas, .thumb img { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.thumb.sel { border-color: var(--gold); background: var(--blue-soft); }
.thumb.off { opacity: .35; }

/* ── Generic components (modal, pills, badges, pricing, tabs, consent, kpi) ── */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: #f3ede1; color: #4a4330; box-shadow: inset 0 0 0 1px #e5dbc6; }
.pill.gold { background: var(--gold-grad); color: #2a1f08; box-shadow: none; }
.pill.dark { background: var(--night); color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold-line); }
.pill.green { background: #e6f4ed; color: var(--green); box-shadow: inset 0 0 0 1px #c4e4d3; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font: 600 .72rem/1.4 var(--font); font-style: normal; letter-spacing: .03em; background: #f3ede1; color: var(--gold-ink); box-shadow: inset 0 0 0 1px #e5dbc6; vertical-align: middle; }
.badge.gold { background: rgba(201, 164, 92, .14); color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold-line); }
.badge.ai { background: rgba(120, 140, 230, .14); color: #c9d3ff; box-shadow: inset 0 0 0 1px rgba(150, 170, 240, .35); }
main .badge.gold { background: #f7efdc; color: var(--gold-ink); box-shadow: inset 0 0 0 1px #e6d3a6; }
main .badge.ai { background: #eef0fb; color: #33449a; box-shadow: inset 0 0 0 1px #d4d9f3; }
.badge.green { background: #e6f4ed; color: var(--green); box-shadow: none; }
.badge.red { background: #fbe9eb; color: var(--red); box-shadow: none; }

.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(8, 11, 22, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s ease; }
.modal-card { position: relative; width: min(100%, 480px); max-height: calc(100vh - 32px); overflow: auto; padding: clamp(22px, 4vw, 34px); border-radius: 22px; background: #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(201, 164, 92, .25); animation: pop .22s cubic-bezier(.2, .9, .3, 1.2); }
.modal-card.wide { width: min(100%, 760px); }
.modal-card h2, .modal-card h3 { font-family: var(--serif); font-size: 1.5rem; margin: 0 36px .5em 0; }
.modal-card::before { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; border-radius: 2px; background: var(--gold-grad); }
.modal-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f3eee4; color: var(--ink); font-size: 1.2rem; line-height: 1; cursor: pointer; transition: background .15s; }
.modal-x:hover { background: #e9e1d1; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button { flex: none; padding: 10px 16px; border: 0; background: none; color: var(--muted); font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover, .tabs button:hover { color: var(--ink); text-decoration: none; }
.tabs .on, .tabs [aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.price-card h3 { font: 600 1.35rem/1.2 var(--serif); margin: 0; }
.price-card .price { font: 600 2.4rem/1 var(--serif); color: var(--ink); }
.price-card .price small { font: 500 .9rem/1 var(--font); color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 8px; font-size: .93rem; }
.price-card li { position: relative; padding-left: 26px; }
.price-card li::before { content: ''; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-grad); }
.price-card li::after { content: ''; position: absolute; left: 5px; top: calc(.3em + 4px); width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.price-card .btn { margin-top: auto; }
.price-card.featured { color: var(--on-night); border-color: transparent; background: radial-gradient(400px 200px at 100% 0%, rgba(201, 164, 92, .25), transparent 70%), linear-gradient(160deg, var(--night3), var(--night)); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--gold-line); }
.price-card.featured h3, .price-card.featured .price { color: #fbf8f1; }
.price-card.featured .price small, .price-card.featured p { color: var(--on-night-2); }
.price-card.featured li::after { border-color: var(--night); }
.price-card.featured::before { content: 'En çok tercih edilen'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: var(--gold-grad); color: #2a1f08; font-size: .72rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.price-card.featured[data-label]::before { content: attr(data-label); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.kpi { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.kpi small, .kpi span { display: block; color: var(--muted); font-size: .8rem; font-weight: 500; letter-spacing: .02em; }
.kpi b, .kpi strong { display: block; font: 600 1.7rem/1.2 var(--serif); color: var(--ink); margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi.dark { background: linear-gradient(160deg, var(--night3), var(--night)); border-color: transparent; box-shadow: inset 0 0 0 1px var(--gold-line); }
.kpi.dark b, .kpi.dark strong { color: var(--gold-hi); }
.kpi.dark small, .kpi.dark span { color: var(--on-night-2); }

.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; max-width: 980px; margin: 0 auto; padding: 16px 18px; border-radius: 18px; color: var(--on-night); background: linear-gradient(160deg, var(--night3), var(--night)); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .5), inset 0 0 0 1px var(--gold-line); font-size: .9rem; animation: pop .25s ease; }
.consent p { flex: 1 1 320px; margin: 0; color: var(--on-night-2); }
.consent a { color: var(--gold-hi); text-decoration: underline; }
.consent .actions, .consent .btns { display: flex; gap: 8px; margin: 0; flex-wrap: wrap; }
.consent .btn { padding: 9px 16px; }
.consent .btn:not(.gold):not(.primary) { background: transparent; color: var(--on-night); border-color: rgba(236, 230, 218, .25); }

/* legacy horoscope blocks (kept so any remaining page still renders) */
.signs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.signs a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-align: center; }
.signs a:hover { text-decoration: none; border-color: #dcc89c; box-shadow: var(--sh); }
.signs span { font-size: 1.9rem; color: var(--gold-ink); line-height: 1.2; }
.signs small, .signs p { color: var(--muted); font-size: .8rem; }
.horo { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(16px, 3vw, 28px); box-shadow: var(--sh); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.foot { position: relative; margin-top: 40px; color: var(--on-night-2); background:
  radial-gradient(700px 300px at 0% 0%, rgba(201, 164, 92, .12), transparent 70%),
  radial-gradient(800px 400px at 100% 100%, rgba(60, 90, 180, .18), transparent 70%),
  linear-gradient(180deg, var(--night2), #070b17); }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line) 20%, rgba(236, 213, 160, .55) 50%, var(--gold-line) 80%, transparent); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 48px 16px 28px; display: grid; gap: 32px; }
.foot-brand p { margin: 14px 0 18px; max-width: 340px; font-size: .9rem; line-height: 1.6; }
.foot .cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
.foot b { display: block; margin-bottom: 10px; font: 600 .78rem/1.3 var(--font); letter-spacing: .1em; text-transform: uppercase; }
.foot b a { color: var(--gold-hi); }
.foot .cols a { display: block; color: var(--on-night-2); font-size: .88rem; padding: 3px 0; }
.foot a:hover { color: #fff; text-decoration: none; }
.foot-legal { max-width: var(--max); margin: 0 auto; padding: 20px 16px 28px; border-top: 1px solid rgba(236, 230, 218, .08); font-size: .82rem; }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal a { color: var(--on-night-2); }
.foot-legal p { margin: 12px 0 0; color: #7d849a; }
@media (min-width: 720px) { .foot .cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .foot-in { grid-template-columns: 300px 1fr; gap: 48px; } .foot .cols { grid-template-columns: repeat(4, 1fr); } }

.toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 300; width: min(92vw, 420px); }
.toast { padding: 13px 18px; border-radius: 14px; background: var(--night); color: #fbf8f1; box-shadow: 0 14px 40px -8px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--gold-line); transition: opacity .4s, transform .4s; }
.toast.err { background: var(--red); box-shadow: 0 14px 40px -8px rgba(0, 0, 0, .35); }
.toast.out { opacity: 0; transform: translateY(10px); }

.ad { position: relative; margin: 28px 0; min-height: 100px; padding-top: 18px; border-top: 1px solid var(--line); }
.ad::before { content: 'Reklam'; position: absolute; top: 4px; left: 0; font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #9a9384; }

/* ── Small screens ─────────────────────────────────────────────────────── */
@media (min-width: 900px) {
  .top { position: sticky; top: 0; }
  .top-in { flex-wrap: nowrap; }
  .band-in { padding: 34px 24px 42px; }
  .band-tool .band-in, .band-doc .band-in { padding-bottom: 84px; }
  .wrap, .top-in, .foot-in, .foot-legal { padding-left: 24px; padding-right: 24px; }
  .menu-in { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 640px) {
  .top-in { gap: 10px; padding: 10px 14px 8px; }
  .logo .wm { font-size: 1.22rem; }
  .logo .mark { width: 30px; height: 30px; }
  .prem-pill { padding: 6px 11px 6px 9px; font-size: .8rem; }
  .top-in > .logo { flex: 1 1 auto; min-width: 0; }
  .top-r { gap: 6px; }
  .acct { gap: 6px; }
  .acct a, .acct button { padding: 6px 10px; font-size: .8rem; }
  .search { order: 3; max-width: none; width: 100%; flex-basis: 100%; }
  .band-head { gap: 12px; }
  .band-ic { width: 46px; height: 46px; border-radius: 13px; }
  .band-ic .i { width: 23px; height: 23px; }
  .hero .band-in { padding: 34px 14px 32px; }
  .search.big { padding: 5px; }
  .search.big .s-ic { left: 17px; }
  .search.big input { padding-left: 38px; font-size: 1rem; }
  .search.big button { padding: 0 18px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { grid-template-columns: 1fr; padding: 14px 13px; }
  .card .ic { grid-row: auto; width: 40px; height: 40px; border-radius: 11px; margin-bottom: 8px; }
  .card .ic .i { width: 21px; height: 21px; }
  .card b { font-size: .92rem; padding-right: 0; }
  .card small { display: none; }
  .card .pro { top: 10px; right: 10px; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { padding: 14px; }
  .row-title { margin-top: 36px; }
  .row-title small { display: none; }
  .rt-ic { width: 34px; height: 34px; }
  .btn { padding: 11px 16px; }
  .as-list { grid-template-columns: 1fr; }
  main.lift > :first-child { margin-top: -48px; }
  .tool { border-radius: 18px; }
}
@media (max-width: 430px) {
  .top-r .prem-pill { padding: 7px; }
  .top-r .prem-pill span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .logo .wm { font-size: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .top, .band, .foot, .crumbs, .info, .actions, .ad, .related, .skip { display: none !important; } main.lift > :first-child { margin-top: 0; } .tool { border: 0; box-shadow: none; } body { background: #fff; } }

/* ── membership, checkout, account ─────────────────────────────────────── */
.narrow { max-width: 460px; margin-inline: auto; }
.small { font-size: .84rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } }
.check { align-items: flex-start; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold-lo); flex: none; }
.auth-form, .checkout { display: flex; flex-direction: column; gap: 12px; }
.auth-form .btn.big, .checkout .btn.big { width: 100%; justify-content: center; }
.auth-err { margin: 0; padding: 9px 12px; border-radius: 10px; background: #fdf0ef; color: var(--red); font-size: .9rem; }
.linkish { background: none; border: 0; padding: 0; color: var(--gold-ink); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; align-self: center; }
.modal-card .tabs { margin-bottom: 14px; }
.modal-card .price { font: 600 2.2rem/1 var(--serif); color: var(--ink); margin: 4px 0 6px; }
.buy-opts { display: grid; gap: 10px; margin: 14px 0 6px; }
.buy-opts .btn { justify-content: center; }
.note.ok { border-color: rgba(31, 138, 91, .35); background: #eef8f2; }
.band-head h1 em { font-style: italic; color: var(--gold-hi); }
/* pricing */
.price-card .buy { display: grid; gap: 8px; margin-top: auto; }
.price-card .buy .btn { justify-content: center; width: 100%; }
.price-card { display: flex; flex-direction: column; gap: 10px; }
.price-card h2 { font: 600 1.4rem/1.2 var(--serif); margin: 0; }
.pricing > .note { margin-top: 18px; }
/* account page */
.account .kpis { margin-bottom: 18px; }
.kpi span { display: block; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 16px; }
.acc-box { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); margin-bottom: 16px; }
.acc-grid .acc-box { margin-bottom: 0; }
.acc-box h2 { font: 600 1.2rem/1.3 var(--serif); margin: 0 0 12px; }
.acc-box .form { display: flex; flex-direction: column; gap: 12px; }
/* header account menu */
.acct-menu { position: relative; }
.acct-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid rgba(236, 230, 218, .2); color: var(--on-night); font-size: .86rem; font-weight: 600; cursor: pointer; }
.acct-menu summary::-webkit-details-marker { display: none; }
.acct-menu summary:hover { border-color: var(--gold); }
.acct-menu .av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-grad, var(--gold)); color: var(--night); font-weight: 700; }
.acct-menu .nm { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu .badge { font-size: .68rem; }
.acct-drop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; padding: 8px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-lg, var(--sh)); z-index: 80; }
.acct-drop p { margin: 4px 8px 8px; font-size: .88rem; line-height: 1.4; }
.acct-drop small { color: var(--muted); }
.acct .acct-drop a, .acct .acct-drop button { display: flex; width: 100%; border: 0; border-radius: 9px; background: none; color: var(--ink); padding: 9px 10px; font-weight: 500; }
.acct .acct-drop a:hover, .acct .acct-drop button:hover { background: #faf5ea; color: var(--ink); }
.acct .acct-reg { background: #fbf8f1; border-color: #fbf8f1; color: var(--night); }
.acct .acct-reg:hover { background: #fff; color: var(--night); }
@media (max-width: 600px) { .acct-menu .nm, .acct-menu .badge { display: none; } .acct-menu summary { padding: 3px; } }
