/* SkyMonsters — Cartoon Mor teması. Renkler/yazı tipi yönetim panelinden (CSS değişkenleri) gelir. */
:root {
  --primary: #9878F5; --primary-dark: #7054C7; --lavender: #C5B3FF; --soft-blue: #A9DDFB; --mint: #A9EAC8;
  --soft-pink: #FFC5DD; --cream: #FFF9F0; --background: #F7F5FF; --surface: #FFFFFF; --text: #38334D;
  --font-main: 'Fredoka', 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --muted: color-mix(in srgb, var(--text) 64%, var(--surface));
  --line: color-mix(in srgb, var(--lavender) 55%, var(--surface));
  --line-soft: color-mix(in srgb, var(--lavender) 28%, var(--surface));
  --tint: color-mix(in srgb, var(--lavender) 18%, var(--surface));
  --r: 20px; --r-lg: 28px; --r-sm: 12px;
  --shadow: 0 10px 28px rgb(112 84 199 / .12);
  --shadow-sm: 0 4px 14px rgb(112 84 199 / .10);
  --ok: #2f9e6a; --warn: #c27a10; --bad: #d1456b; --info: #3d7fd6;
  --ease: cubic-bezier(.34, 1.4, .64, 1);
  --header-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--font-main); color: var(--text); background: var(--background); line-height: 1.6; font-size: 1.0625rem; font-weight: 450; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--primary-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3, .h3 { font-size: 1.25rem; }
.h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: .92em; background: var(--tint); padding: .15em .5em; border-radius: 8px; word-break: break-all; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--lavender); color: var(--text); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--primary-dark); color: #fff; padding: .6rem 1rem; border-radius: 12px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mt { margin-top: 1.75rem; }
.stack { display: grid; gap: 1rem; }
.row-gap { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.center-row { justify-content: center; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.grow { flex: 1 1 220px; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.22em; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.lead-sm { font-size: 1.1rem; color: var(--muted); }
.eyebrow { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-dark); margin-bottom: .6rem; }
.eyebrow-pill { background: var(--surface); border: 2px solid var(--line); padding: .35rem .9rem; border-radius: 999px; letter-spacing: .04em; text-transform: none; font-size: .92rem; box-shadow: var(--shadow-sm); }

/* ---------- Düğmeler ---------- */
.btn { --b: var(--primary); --bd: var(--primary-dark); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 700; line-height: 1.1;
  padding: .85rem 1.4rem; border-radius: 16px; border: 2px solid var(--bd); background: var(--b); color: var(--fg); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--bd); transition: transform .15s var(--ease), box-shadow .15s, background .15s; user-select: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--bd); color: var(--fg); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--bd); }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: 0 4px 0 var(--bd); }
.btn-soft { --b: var(--lavender); --bd: color-mix(in srgb, var(--primary) 70%, #3b2f6b); --fg: #2d2250; }
.btn-ghost { --b: var(--surface); --bd: var(--line); --fg: var(--primary-dark); box-shadow: 0 4px 0 var(--line); }
.btn-ghost:hover { box-shadow: 0 6px 0 var(--line); background: var(--tint); }
.btn-danger { --b: #e0587d; --bd: #b13559; }
.btn-sm { padding: .55rem 1rem; font-size: .92rem; border-radius: 13px; box-shadow: 0 3px 0 var(--bd); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.1rem; border-radius: 18px; }
.btn-block { display: flex; width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); color: var(--primary-dark); cursor: pointer; position: relative; text-decoration: none; transition: transform .15s var(--ease), background .15s; padding: 0; }
.icon-btn:hover { background: var(--tint); transform: translateY(-2px); }
.icon-btn-sm { width: 32px; height: 32px; border-radius: 10px; vertical-align: middle; }

/* ---------- Kartlar / rozetler ---------- */
.card { background: var(--surface); border: 2px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); position: relative; }
.pad { padding: 1.5rem; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-body { padding: 0 1.25rem 1.1rem; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1.25rem 1.2rem; border-top: 2px dashed var(--line-soft); }
.card h3 { margin-bottom: .35rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .25rem 0 .6rem; }
.chip { --chip: var(--lavender); display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 700; background: color-mix(in srgb, var(--chip) 30%, var(--surface)); border: 2px solid color-mix(in srgb, var(--chip) 70%, var(--surface)); color: var(--text); }
.chip-el { --chip: var(--el, var(--lavender)); }
.chip-pink { --chip: var(--soft-pink); }
.chip-btn { cursor: pointer; font-family: inherit; }
.chip-btn.is-active { background: var(--primary); border-color: var(--primary-dark); color: #fff; }
.ribbon { position: absolute; top: 14px; left: -2px; background: var(--primary); color: #fff; font-weight: 700; font-size: .78rem; padding: .3rem .9rem .3rem .8rem; border-radius: 0 12px 12px 0; border: 2px solid var(--primary-dark); border-left: 0; z-index: 2; }
.ribbon-pink { background: #ff86b5; border-color: #d65a8a; }
.status-badge { display: inline-block; padding: .25rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 700; border: 2px solid; }
.badge-ok { background: #e4f8ee; color: #1d7a50; border-color: #9fdcbc; }
.badge-warn { background: #fff3dc; color: #96600a; border-color: #f0cd86; }
.badge-bad { background: #ffe5ec; color: #b13559; border-color: #f2a8bd; }
.badge-info { background: #e5f0ff; color: #2c63b0; border-color: #a9c8f2; }
.badge-muted { background: var(--tint); color: var(--muted); border-color: var(--line); }
.notice { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--r); border: 2px solid var(--line); background: var(--tint); margin: 1rem 0; }
.notice .icon { margin-top: .15rem; }
.notice-warn { background: #fff6e3; border-color: #f0cd86; }
.notice-pink { background: #fff0f6; border-color: #ffc5dd; }
.notice-info { background: #eaf3ff; border-color: #b6d2f5; }

/* ---------- Formlar ---------- */
.field { margin-bottom: 1.1rem; display: block; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .95rem; }
.req { color: var(--bad); }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=tel], input[type=number], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 2px solid var(--line); border-radius: 14px; padding: .8rem 1rem; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
.field-error { color: var(--bad); font-weight: 600; font-size: .9rem; margin: .35rem 0 0; }
.hint { color: var(--muted); font-size: .86rem; margin: .35rem 0 0; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--primary); margin-top: .15rem; flex: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.search-box { position: relative; }
.search-box .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-box input { padding-left: 2.8rem; }
.radio-cards { display: grid; gap: .7rem; margin-bottom: 1.2rem; }
.radio-card { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; font-weight: 700; background: var(--surface); }
.radio-card input { accent-color: var(--primary); width: 20px; height: 20px; }
.radio-card:has(input:checked) { border-color: var(--primary); background: var(--tint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.code-input { font-size: 1.6rem; letter-spacing: .35em; text-align: center; text-transform: uppercase; max-width: 280px; font-weight: 700; }
.narrow-form { max-width: 520px; }
.link-form { display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; }
.link-form .field { margin: 0; }

/* ---------- Başlık / menü ---------- */
.site-header { position: relative; z-index: 60; background: var(--surface); }
.site-header[data-sticky] { position: sticky; top: 0; }
.header-bar { display: flex; align-items: center; gap: .9rem; min-height: var(--header-h); transition: min-height .25s; }
.brand { display: block; flex: none; position: relative; z-index: 2; }
.brand img { width: 150px; height: auto; margin-bottom: -22px; filter: drop-shadow(0 6px 8px rgb(60 40 120 / .22)); transition: width .25s, margin .25s; }
.header-wave { position: absolute; left: 0; right: 0; bottom: -39px; width: 100%; height: 40px; fill: var(--surface); filter: drop-shadow(0 6px 6px rgb(112 84 199 / .10)); pointer-events: none; }
.theme-flat .site-header { border-bottom: 2px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.site-header.is-scrolled .header-bar { min-height: 62px; }
.site-header.is-scrolled .brand img { width: 108px; margin-bottom: -10px; }
.main-nav { flex: 1; min-width: 0; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .05rem; justify-content: center; flex-wrap: nowrap; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: inline-block; white-space: nowrap; padding: .5rem .55rem; font-weight: 700; color: var(--text); text-decoration: none; border-radius: 14px; font-size: .92rem; transition: background .15s, color .15s; }
.nav-link:hover { background: var(--tint); color: var(--primary-dark); }
.nav-item.is-active > .nav-link { background: var(--lavender); color: #2d2250; }
.sub-toggle { border: 0; background: none; padding: .25rem; margin-left: -.4rem; color: var(--muted); cursor: pointer; border-radius: 8px; display: grid; place-items: center; }
.sub-menu { list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + 4px); left: 0; min-width: 230px; background: var(--surface); border: 2px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; z-index: 70; }
.sub-menu a { display: block; padding: .55rem .9rem; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 600; }
.sub-menu a:hover { background: var(--tint); color: var(--primary-dark); }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.header-actions { display: flex; align-items: center; gap: .55rem; flex: none; margin-left: auto; }
.cart-badge { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #ff6fa5; color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--surface); }
.user-menu { position: relative; }
.user-trigger { display: flex; align-items: center; gap: .5rem; border: 2px solid var(--line); background: var(--surface); border-radius: 16px; padding: .25rem .65rem .25rem .3rem; font: inherit; font-weight: 700; color: var(--text); cursor: pointer; }
.user-trigger img { border-radius: 10px; image-rendering: pixelated; }
.user-dropdown { list-style: none; margin: 0; padding: .5rem; position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--surface); border: 2px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s; z-index: 80; }
.user-menu.is-open .user-dropdown { opacity: 1; visibility: visible; transform: none; }
.user-dropdown a, .user-dropdown button { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .6rem .85rem; border-radius: 12px; text-decoration: none; color: var(--text); font: inherit; font-weight: 600; background: none; border: 0; cursor: pointer; text-align: left; }
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--tint); }
.nav-toggle { display: none; }
.nav-toggle .ico-close { display: none; }
.nav-open .nav-toggle .ico-open { display: none; }
.nav-open .nav-toggle .ico-close { display: inline-block; }
.mobile-actions { display: none; }
.nav-backdrop { position: fixed; inset: 0; background: rgb(40 28 80 / .45); z-index: 55; backdrop-filter: blur(2px); }
.flash-stack { display: grid; gap: .6rem; margin-top: 1.6rem; }
.flash { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 16px; border: 2px solid; font-weight: 600; background: var(--surface); animation: pop .35s var(--ease); }
.flash-success { border-color: #9fdcbc; background: #eafaf2; color: #1d7a50; }
.flash-error { border-color: #f2a8bd; background: #fff0f4; color: #a62c52; }
.flash-warning { border-color: #f0cd86; background: #fff7e6; color: #8a590a; }
.flash-info { border-color: #a9c8f2; background: #eef5ff; color: #2c63b0; }
.flash-msg { flex: 1; }
.flash-close { background: none; border: 0; color: inherit; cursor: pointer; padding: .25rem; border-radius: 8px; display: grid; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--text); color: #fff; padding: .8rem 1.4rem; border-radius: 16px; font-weight: 700; box-shadow: var(--shadow); z-index: 200; animation: pop .3s var(--ease); max-width: calc(100vw - 2rem); }

/* ---------- Sayfa başlığı / bölümler ---------- */
main { min-height: 50vh; }
.breadcrumbs { padding-top: 2.6rem; font-size: .9rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: '›'; margin-right: .3rem; color: var(--lavender); font-weight: 700; }
.breadcrumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--primary-dark); }
.page-head { padding-top: .6rem; padding-bottom: 1rem; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .3em; }
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-alt { background: linear-gradient(180deg, transparent, var(--tint) 12%, var(--tint) 88%, transparent); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head p { margin-bottom: 0; max-width: 60ch; }
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid-lg-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .grid-md-2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-sm-1 { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.link-card { text-decoration: none; color: inherit; display: block; transition: transform .2s var(--ease), box-shadow .2s; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ico-bubble { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: var(--lavender); color: #2d2250; margin-bottom: .8rem; flex: none; }
.ico-bubble .icon { width: 26px; height: 26px; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .7rem .2rem; border-bottom: 2px dashed var(--line-soft); text-decoration: none; font-weight: 600; color: var(--text); }
.link-list a:hover { color: var(--primary-dark); }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; background: var(--tint); }
.cta-card h3 { margin: 0 0 .2rem; }
.cta-card p { margin: 0; }
.empty { display: grid; justify-items: center; gap: .4rem; padding: 3rem 1.5rem; }
.empty > .icon { width: 56px; height: 56px; color: var(--lavender); }
.stat-card { display: grid; gap: .2rem; justify-items: start; }
.big { font-size: 2.4rem; font-weight: 700; line-height: 1.1; color: var(--primary-dark); }
.big.sm { font-size: 1.6rem; }
.big small { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.6rem; align-items: start; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; background: radial-gradient(ellipse at 80% 20%, color-mix(in srgb, var(--soft-blue) 40%, transparent), transparent 55%), radial-gradient(ellipse at 10% 90%, color-mix(in srgb, var(--soft-pink) 35%, transparent), transparent 50%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; position: relative; z-index: 1; }
.hero-copy h1 { margin: .4rem 0 .5em; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.6rem 0 1.2rem; }
.hero-ip { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .95rem; }
.hero-art { position: relative; }
.hero-scene { width: 100%; max-width: 560px; margin-inline: auto; filter: drop-shadow(0 22px 24px rgb(80 60 150 / .22)); }
.hero-clouds { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; background: #fff; border-radius: 999px; opacity: .85; box-shadow: 0 4px 0 rgb(112 84 199 / .08); }
.cloud::before, .cloud::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 55%; height: 160%; left: 14%; top: -70%; }
.cloud::after { width: 42%; height: 130%; right: 12%; top: -45%; }
.cloud.c1 { width: 130px; height: 36px; left: 6%; top: 14%; animation: drift 38s linear infinite; }
.cloud.c2 { width: 90px; height: 26px; right: 12%; top: 62%; animation: drift 50s linear infinite reverse; }
.cloud.c3 { width: 160px; height: 42px; left: 40%; bottom: 8%; animation: drift 64s linear infinite; opacity: .6; }
.hs-float-a { animation: bob 6s ease-in-out infinite; }
.hs-float-b { animation: bob 7.5s ease-in-out infinite reverse; }
.hs-pet-a { animation: hop 3.2s ease-in-out infinite; transform-origin: 206px 272px; }
.hs-pet-b { animation: hop 3.8s ease-in-out .6s infinite; transform-origin: 96px 276px; }
.hs-pet-c { animation: hop 4.4s ease-in-out 1.2s infinite; transform-origin: 368px 274px; }
.hs-cloud-a { animation: drift-sm 14s ease-in-out infinite alternate; }
.hs-cloud-b { animation: drift-sm 18s ease-in-out infinite alternate-reverse; }
.sp { animation: twinkle 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.sp.s2 { animation-delay: .5s; } .sp.s3 { animation-delay: 1s; } .sp.s4 { animation-delay: 1.5s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hop { 0%,70%,100% { transform: translateY(0) scale(1,1); } 80% { transform: translateY(-14px) scale(.97,1.04); } 90% { transform: translateY(0) scale(1.04,.96); } }
@keyframes drift { from { transform: translateX(-30px); } 50% { transform: translateX(60px); } to { transform: translateX(-30px); } }
@keyframes drift-sm { from { transform: translateX(-8px); } to { transform: translateX(14px); } }
@keyframes twinkle { 0%,100% { transform: scale(.7) rotate(0); opacity: .6; } 50% { transform: scale(1.1) rotate(15deg); opacity: 1; } }
@keyframes pop { from { transform: scale(.94) translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Durum widget ---------- */
.status-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center; }
.status-widget { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.status-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.status-dot { width: 14px; height: 14px; border-radius: 50%; background: #aaa; box-shadow: 0 0 0 4px rgb(170 170 170 / .2); }
.status-dot.is-on { background: #2fc07f; box-shadow: 0 0 0 4px rgb(47 192 127 / .22); animation: pulse 2s infinite; }
.status-dot.is-off { background: #e0587d; box-shadow: 0 0 0 4px rgb(224 88 125 / .2); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgb(47 192 127 / .06); } }
.status-players { display: flex; align-items: baseline; gap: .6rem; }
.meter { display: block; height: 14px; border-radius: 999px; background: var(--tint); border: 2px solid var(--line-soft); overflow: hidden; margin: .6rem 0 1rem; flex: 1; }
.meter > span { display: block; height: 100%; background: var(--primary); border-radius: 999px; min-width: 6px; transition: width .6s var(--ease); }
.status-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin: 0; }
.status-stats div { background: var(--tint); border-radius: 14px; padding: .55rem .7rem; }
.status-stats dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.status-stats dd { margin: 0; font-weight: 700; font-size: 1.05rem; word-break: break-word; }
.motd { margin: 1rem 0 0; padding: .7rem 1rem; border-radius: 14px; background: var(--cream); border: 2px dashed var(--line); font-weight: 600; }

/* ---------- Kart türleri ---------- */
.feature-card { padding: 1.4rem; text-align: center; transition: transform .25s var(--ease), box-shadow .25s; }
.feature-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow); }
.feature-art { width: 120px; height: 120px; margin: 0 auto .8rem; }
.feature-art svg { width: 100%; height: 100%; }
.feature-list { display: grid; gap: 3rem; }
.feature-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: center; }
.feature-row.reverse .feature-row-art { order: 2; }
.feature-row-art { background: var(--tint); border-radius: var(--r-lg); padding: 2rem; border: 2px solid var(--line-soft); }
.feature-row-art svg { max-width: 260px; margin: auto; }
.creature-card, .product-card { transition: transform .25s var(--ease), box-shadow .25s; overflow: hidden; }
.creature-card:hover, .product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.creature-stage, .product-stage { position: relative; display: grid; place-items: center; padding: 1.4rem 1rem .6rem; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--el, var(--lavender)) 34%, var(--surface)), transparent 70%); }
.product-stage { background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--lavender) 38%, var(--surface)), transparent 70%); }
.creature-stage svg, .creature-stage img, .product-stage svg, .product-stage img { width: 78%; max-width: 190px; aspect-ratio: 1; object-fit: contain; transition: transform .3s var(--ease); }
.creature-card:hover .creature-stage svg, .creature-card:hover .creature-stage img, .product-card:hover .product-stage svg, .product-card:hover .product-stage img { transform: scale(1.08) rotate(-2deg); }
.prod-line { display: flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; margin: .4rem 0 0; color: var(--primary-dark); }
.price { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.price strong { font-size: 1.3rem; color: var(--primary-dark); }
.price s { color: var(--muted); font-size: .95rem; }
.price-lg strong { font-size: 2.2rem; } .price-lg { margin: .5rem 0 1rem; }
.tier-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-bottom: 2rem; }
.tier-pill { --tier: var(--primary); display: grid; gap: .25rem; justify-items: center; text-align: center; padding: 1.3rem .8rem; border-radius: var(--r-lg); background: color-mix(in srgb, var(--tier) 14%, var(--surface)); border: 2px solid color-mix(in srgb, var(--tier) 55%, var(--surface)); text-decoration: none; color: var(--text); transition: transform .25s var(--ease); }
.tier-pill:hover { transform: translateY(-6px); }
.tier-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--tier); color: #fff; border: 2px solid color-mix(in srgb, var(--tier) 60%, #2a1f4d); box-shadow: 0 4px 0 color-mix(in srgb, var(--tier) 60%, #2a1f4d); }
.tier-icon .icon { width: 28px; height: 28px; }
.tier-price { font-weight: 700; color: var(--primary-dark); }
.tier-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.tier-card { --tier: var(--primary); padding: 1.4rem 1rem; text-align: center; display: grid; gap: .5rem; justify-items: center; border-color: color-mix(in srgb, var(--tier) 55%, var(--surface)); background: color-mix(in srgb, var(--tier) 9%, var(--surface)); }
.tier-card.wide { grid-template-columns: auto 1fr; text-align: left; justify-items: start; align-items: center; gap: 1.2rem; }
.tier-price-big strong { font-size: 1.5rem; color: var(--primary-dark); }
.community-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.6rem; }
.community-card { padding: 2rem; background: var(--primary); color: #fff; border-color: var(--primary-dark); display: grid; gap: .6rem; align-content: center; justify-items: start; }
.community-card .eyebrow, .community-card .muted { color: rgb(255 255 255 / .85); }
.community-card .btn { --b: #fff; --fg: var(--primary-dark); --bd: #d9ccff; }
.news-card { padding: 1.5rem; }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.news-list li { display: grid; gap: .15rem; padding-bottom: 1rem; border-bottom: 2px dashed var(--line-soft); }
.news-list li:last-child { border: 0; padding: 0; }
.news-list p { margin: 0; }

/* ---------- Yaratık / ürün detayı ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 2.5rem; align-items: start; }
.detail-stage { display: grid; place-items: center; padding: 2.5rem; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--el, var(--lavender)) 40%, var(--surface)), var(--surface) 75%); position: sticky; top: 110px; overflow: hidden; }
.detail-stage svg, .detail-stage img { width: min(100%, 380px); aspect-ratio: 1; object-fit: contain; animation: bob 5s ease-in-out infinite; }
.stat-bars { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .3rem; }
.stat-bars li { display: grid; grid-template-columns: 130px 1fr 46px; align-items: center; gap: .8rem; }
.stat-bars .meter { margin: .4rem 0; }
.stat-bars .meter > span { background: var(--el, var(--primary)); }
.sb-label { font-weight: 700; display: flex; align-items: center; gap: .4rem; }
.stat-bars strong { text-align: right; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; }
.mini { display: grid; gap: .1rem; padding: .9rem 1rem; box-shadow: none; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .5rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .icon { color: var(--ok); margin-top: .25rem; }
.creature-mini { display: flex; align-items: center; gap: 1rem; padding: .8rem 1.2rem; margin: 1rem 0; text-decoration: none; color: inherit; }
.creature-mini > span:nth-child(2) { display: grid; flex: 1; }
.cm-art svg, .cm-art img { width: 56px; height: 56px; }
.buy-box { margin-top: 1.4rem; display: grid; gap: 1rem; }
.buy-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.qty { display: grid; gap: .3rem; }
.qty label { font-weight: 700; }
.qty-ctl { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; width: fit-content; }
.qty-ctl button { width: 44px; height: 44px; border: 0; background: var(--tint); color: var(--primary-dark); cursor: pointer; display: grid; place-items: center; }
.qty-ctl input { width: 64px; border: 0; border-radius: 0; text-align: center; padding: .6rem 0; font-weight: 700; -moz-appearance: textfield; }
.qty-ctl input::-webkit-outer-spin-button, .qty-ctl input::-webkit-inner-spin-button { appearance: none; margin: 0; }

/* ---------- Filtre / sekmeler / sayfalama ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: flex-end; margin-bottom: 1.2rem; }
.filter-bar .field { margin: 0; min-width: 150px; flex: 0 1 180px; }
.filter-bar .field.grow { flex: 1 1 240px; }
.filter-actions { display: flex; gap: .6rem; }
.result-count { margin: .4rem 0 1rem; font-weight: 600; }
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.scroll-x { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; }
.tab { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 700; color: var(--text); white-space: nowrap; transition: background .15s; }
.tab:hover { background: var(--tint); }
.tab.is-active { background: var(--primary); color: #fff; border-color: var(--primary-dark); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin-top: 2.2rem; }
.page-btn { min-width: 44px; height: 44px; padding: 0 .9rem; display: inline-grid; place-items: center; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 700; color: var(--text); }
.page-btn.is-current { background: var(--primary); color: #fff; border-color: var(--primary-dark); }
.page-gap { align-self: center; color: var(--muted); }
.store-section { margin-bottom: 3rem; }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: .9rem 1rem; text-align: center; border-bottom: 2px solid var(--line-soft); }
th[scope=row], td:first-child { text-align: left; font-weight: 700; }
thead th { background: var(--tint); position: sticky; top: 0; font-weight: 700; }
.th-tier { display: inline-block; padding: .25rem .9rem; border-radius: 999px; background: color-mix(in srgb, var(--tier, var(--primary)) 40%, var(--surface)); border: 2px solid var(--tier, var(--primary)); }
.compare tbody tr:nth-child(even) { background: color-mix(in srgb, var(--tint) 50%, transparent); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare th[scope=row] { position: sticky; left: 0; background: var(--surface); z-index: 1; }
.board .num { text-align: right; font-weight: 700; }
.board .rank { width: 60px; color: var(--muted); font-weight: 700; }
.pl { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; }
.pl img { border-radius: 8px; image-rendering: pixelated; }
.podium { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; justify-content: center; align-items: flex-end; gap: 1rem; }
.podium-step { position: relative; display: grid; justify-items: center; gap: .15rem; width: min(220px, 31%); padding: 2.4rem .8rem 1.1rem; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0; text-align: center; }
.podium-step img { border-radius: 18px; image-rendering: pixelated; border: 3px solid var(--lavender); margin-top: .6rem; }
.place-1 { padding-top: 3.2rem; min-height: 260px; background: color-mix(in srgb, #ffd966 22%, var(--surface)); border-color: #f0c64c; }
.place-2 { min-height: 220px; background: color-mix(in srgb, var(--soft-blue) 26%, var(--surface)); }
.place-3 { min-height: 195px; background: color-mix(in srgb, var(--soft-pink) 28%, var(--surface)); }
.medal { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .3rem; background: var(--primary); color: #fff; padding: .3rem .9rem; border-radius: 999px; border: 2px solid var(--primary-dark); font-weight: 700; }
.place-1 .medal { background: #f5b90a; border-color: #c9920a; color: #4a3500; }
.pname { font-size: 1.05rem; word-break: break-word; }
.pval { font-weight: 700; color: var(--primary-dark); font-size: 1.25rem; }

/* ---------- Akordeon ---------- */
.faq-tools { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
.faq-group { margin-bottom: 2rem; }
.accordion { background: var(--surface); border: 2px solid var(--line-soft); border-radius: 18px; margin-bottom: .7rem; overflow: hidden; transition: border-color .2s; }
.accordion[open] { border-color: var(--lavender); box-shadow: var(--shadow-sm); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.3rem; cursor: pointer; font-weight: 700; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .25s; color: var(--primary); }
.accordion[open] summary .icon { transform: rotate(180deg); }
.accordion-body { padding: 0 1.3rem 1.2rem; }

/* ---------- Sepet / ödeme / sipariş ---------- */
.cart-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.6rem; align-items: start; }
.cart-lines ul { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 76px 1fr 90px 100px 44px; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 2px dashed var(--line-soft); }
.cl-art svg, .cl-art img { width: 76px; height: 76px; border-radius: 16px; background: var(--tint); }
.cl-info { display: grid; }
.cl-info a { color: var(--text); text-decoration: none; }
.cl-qty input { text-align: center; padding: .55rem; }
.cl-total { text-align: right; }
.cart-actions { padding-top: 1rem; display: flex; justify-content: flex-end; }
.cart-summary { position: sticky; top: 110px; display: grid; gap: .9rem; }
.sum { margin: 0; display: grid; gap: .5rem; }
.sum div { display: flex; justify-content: space-between; gap: 1rem; }
.sum dd, .sum dt { margin: 0; }
.sum-total { font-size: 1.25rem; font-weight: 700; border-top: 2px dashed var(--line); padding-top: .7rem; color: var(--primary-dark); }
.mini-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.mini-lines li { display: grid; grid-template-columns: 48px 1fr auto; gap: .8rem; align-items: center; }
.mini-lines li > span:nth-child(2) { display: grid; }
.ml-art svg, .ml-art img { width: 48px; height: 48px; border-radius: 12px; background: var(--tint); }
.pay-card { display: grid; gap: 1rem; justify-items: center; }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 6px solid var(--lavender); border-top-color: var(--primary); animation: spin 1s linear infinite; }
.order-status { display: grid; gap: .8rem; justify-items: start; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: .6rem 0 0; padding: 0; width: 100%; }
.steps li { display: grid; justify-items: center; gap: .4rem; text-align: center; font-weight: 700; font-size: .9rem; color: var(--muted); position: relative; }
.steps li span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); border: 2px solid var(--line); color: var(--muted); z-index: 1; }
.steps li::before { content: ''; position: absolute; top: 18px; left: -50%; width: 100%; height: 4px; background: var(--line-soft); }
.steps li:first-child::before { display: none; }
.steps li.is-done span { background: var(--ok); border-color: #1d7a50; color: #fff; }
.steps li.is-done::before, .steps li.is-current::before { background: var(--ok); }
.steps li.is-current span { background: var(--primary); border-color: var(--primary-dark); color: #fff; animation: pulse 2s infinite; }
.steps li.is-done, .steps li.is-current { color: var(--text); }
.order-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.order-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .7rem; }
.order-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: .8rem 1rem; border-radius: 16px; background: var(--tint); }
.order-list a { display: grid; text-decoration: none; color: var(--text); }
.order-card { display: grid; gap: .8rem; }
.mini-list { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.steps-text { padding-left: 1.3rem; display: grid; gap: .6rem; }

/* ---------- Hesap paneli ---------- */
.dash { display: grid; grid-template-columns: 270px 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 4rem; align-items: start; }
.dash-nav { position: sticky; top: 110px; background: var(--surface); border: 2px solid var(--line-soft); border-radius: var(--r-lg); padding: 1rem; box-shadow: var(--shadow-sm); }
.dash-user { display: flex; align-items: center; gap: .8rem; padding: .4rem .5rem 1rem; border-bottom: 2px dashed var(--line-soft); margin-bottom: .6rem; }
.dash-user img { border-radius: 14px; image-rendering: pixelated; }
.dash-user div { display: grid; }
.dash-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.dash-nav a, .dash-logout { display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem; border-radius: 14px; text-decoration: none; color: var(--text); font-weight: 700; font: inherit; font-weight: 700; background: none; border: 0; width: 100%; cursor: pointer; }
.dash-nav a:hover, .dash-logout:hover { background: var(--tint); }
.dash-nav a.is-active { background: var(--lavender); color: #2d2250; }
.dash-head { margin-bottom: 1.4rem; }
.dash-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.profile-card { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.avatar-lg { border-radius: 24px; image-rendering: pixelated; border: 3px solid var(--lavender); }
.kv { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 1.4rem; flex: 1; min-width: 260px; }
.kv dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.kv dd { margin: 0; font-weight: 700; word-break: break-word; }
.balance-card { display: flex; align-items: center; gap: 1rem; }
.balance-card > div { display: grid; }
.ticket-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-decoration: none; color: inherit; transition: transform .2s var(--ease); }
.ticket-row:hover { transform: translateX(4px); }
.ticket-row > div { display: grid; }
.thread { display: grid; gap: 1rem; }
.msg { padding: 1rem 1.2rem; border-radius: 20px; max-width: 88%; border: 2px solid var(--line-soft); background: var(--surface); }
.msg p { margin: .3rem 0 0; }
.msg-staff { background: color-mix(in srgb, var(--mint) 28%, var(--surface)); border-color: color-mix(in srgb, var(--mint) 70%, var(--surface)); }
.msg-me { background: var(--tint); margin-left: auto; }
.msg-meta { display: flex; justify-content: space-between; gap: 1rem; }
.rating { display: flex; gap: .5rem; flex-wrap: wrap; }
.rate-btn { display: inline-flex; align-items: center; gap: .3rem; padding: .6rem 1rem; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; font: inherit; font-weight: 700; color: var(--text); }
.rate-btn:hover { background: #fff3c4; border-color: #f0c64c; }

/* ---------- Giriş / kayıt ---------- */
.layout-auth { min-height: 100vh; display: grid; background: radial-gradient(ellipse at 20% 10%, color-mix(in srgb, var(--soft-blue) 45%, transparent), transparent 55%), radial-gradient(ellipse at 90% 90%, color-mix(in srgb, var(--soft-pink) 40%, transparent), transparent 55%), var(--background); }
.auth-bg { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.auth-shell { position: relative; width: min(480px, 100% - 2rem); margin: 0 auto; padding: 2rem 0 3rem; display: grid; gap: 1rem; align-content: center; }
.auth-logo { justify-self: center; }
.auth-logo img { width: 240px; height: auto; filter: drop-shadow(0 8px 12px rgb(60 40 120 / .25)); }
.auth-card { padding: 2rem; box-shadow: var(--shadow); }
.auth-alt, .auth-back { text-align: center; margin: 1rem 0 0; }
.auth-back a { text-decoration: none; font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; }

/* ---------- Altbilgi ---------- */
.site-footer { position: relative; margin-top: 4rem; background: var(--primary-dark); color: rgb(255 255 255 / .9); padding: 3.2rem 0 1.4rem; }
.footer-wave { position: absolute; left: 0; right: 0; top: -49px; width: 100%; height: 50px; fill: var(--primary-dark); }
.site-footer a { color: rgb(255 255 255 / .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-brand img { margin-bottom: .6rem; filter: drop-shadow(0 4px 8px rgb(0 0 0 / .25)); }
.footer-col h2 { font-size: 1.05rem; color: #fff; margin-bottom: .8rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.social-row { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; gap: .6rem; flex-wrap: wrap; }
.social { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .9rem; border-radius: 999px; background: rgb(255 255 255 / .12); font-weight: 700; font-size: .9rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 2px dashed rgb(255 255 255 / .22); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .muted { color: rgb(255 255 255 / .65); }
.error-art svg { width: 180px; margin: 0 auto 1rem; animation: bob 4s ease-in-out infinite; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1180px) { .tier-row, .tier-cards { grid-template-columns: repeat(3, 1fr); } .nav-link { padding: .5rem .6rem; font-size: .93rem; } }
@media (max-width: 1320px) {
  .hide-md { display: none !important; }
  .nav-toggle { display: inline-grid; }
  .brand img { width: 128px; }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--surface); z-index: 90; padding: 5rem 1.2rem 2rem; overflow-y: auto; transform: translateX(105%); transition: transform .3s var(--ease); box-shadow: -10px 0 30px rgb(40 28 80 / .2); flex: none; }
  .nav-open .main-nav { transform: none; }
  .nav-open .nav-toggle { position: fixed; top: 16px; right: 16px; z-index: 100; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav-item { flex-wrap: wrap; }
  .nav-link { flex: 1; font-size: 1.05rem; padding: .8rem 1rem; }
  .sub-toggle { width: 44px; height: 44px; margin: 0; }
  .sub-menu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 4px solid var(--lavender); border-radius: 0 12px 12px 0; margin: 0 0 .4rem 1rem; padding: .2rem; display: none; min-width: 0; }
  .has-sub.is-open > .sub-menu { display: block; }
  .has-sub:hover > .sub-menu { display: none; }
  .has-sub.is-open:hover > .sub-menu { display: block; }
  .mobile-actions { display: grid; gap: .7rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 2px dashed var(--line); }
  .header-actions { gap: .4rem; }
  .hero-grid, .status-grid, .detail-grid, .about-grid, .community-grid, .feature-row { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .detail-stage, .cart-summary, .dash-nav { position: static; }
  .feature-row.reverse .feature-row-art { order: 0; }
  .cart-grid { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; padding-top: 2rem; gap: 1.2rem; }
  .dash-nav ul { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: .3rem; }
  .dash-nav a span, .dash-logout span { white-space: nowrap; }
  .dash-user { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tier-row, .tier-cards { grid-template-columns: repeat(2, 1fr); }
  .status-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .container { width: min(1180px, 100% - 1.5rem); }
  .grid-2, .grid-3, .grid-4, .tier-row, .tier-cards, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 60px 1fr auto; row-gap: .6rem; }
  .cl-art svg, .cl-art img { width: 60px; height: 60px; }
  .cl-qty { grid-column: 2; } .cl-total { grid-column: 3; grid-row: 1; } .cart-line > .icon-btn { grid-column: 3; }
  .stat-bars li { grid-template-columns: 100px 1fr 40px; gap: .5rem; }
  .podium { gap: .4rem; } .podium-step { padding-inline: .3rem; width: 33%; } .podium-step img { width: 48px; height: 48px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .order-list li { grid-template-columns: 1fr; }
  .tier-card.wide { grid-template-columns: 1fr; }
  .steps li { font-size: .75rem; }
  .msg { max-width: 100%; }
  .auth-card { padding: 1.4rem; }
  .compare th, .compare td { padding: .7rem .6rem; font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .site-footer, .nav-backdrop, .toast { display: none !important; } body { background: #fff; } }
@media (max-width: 1700px) { .header-actions .hide-join { display: none !important; } }
@media (max-width: 1500px) { .header-actions .user-name, .header-actions .user-trigger > svg { display: none !important; } }
.brand { flex: none; }

.header-bar.container { width: min(1380px, 100% - 2rem); }
.header-bar .brand { margin-right: .5rem; }
