/* Project ULTIMA - shared site styles (Oct 2026 redesign)
   Night-sky field guide: crimson Pokédex device header, deep indigo world, gold highlights. */
:root {
  --night: #0c0f2a;
  --night-2: #12163a;
  --panel: #171c46;
  --panel-2: #1e2456;
  --panel-3: #262d66;
  --line: rgba(150, 165, 255, .16);
  --line-2: rgba(150, 165, 255, .28);
  --text: #f0f2ff;
  --muted: #a6aeda;
  --faint: #737cb0;
  --crimson: #e3263b;
  --crimson-hi: #ff4a5e;
  --crimson-lo: #8e1222;
  --gold: #ffc83d;
  --gold-lo: #c98c0b;
  --lens: #44b3ff;
  --ok: #33d68b;
  --bad: #ff5a6a;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;
  --display: 'Bungee', 'Arial Black', Impact, sans-serif;
  --ui: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --pixel: 'Jersey 10', 'Nunito', system-ui, sans-serif;
  --wrap: 1240px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--night);
  background-image:
    radial-gradient(1100px 560px at 85% -8%, rgba(126, 64, 214, .34), transparent 62%),
    radial-gradient(900px 520px at -5% 8%, rgba(36, 96, 228, .26), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(227, 38, 59, .14), transparent 60%),
    linear-gradient(180deg, #0c0f2a 0%, #090b20 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
body::before { /* star field */
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 20px 30px, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1px 1px at 120px 80px, rgba(200,215,255,.7), transparent 60%),
    radial-gradient(1.4px 1.4px at 200px 160px, rgba(255,230,180,.75), transparent 60%),
    radial-gradient(1px 1px at 60px 210px, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.1px 1.1px at 260px 40px, rgba(190,210,255,.6), transparent 60%);
  background-size: 300px 260px;
  opacity: .55;
}
img { max-width: 100%; }
a { color: #8fd0ff; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #c4e6ff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
button, input, select { font: inherit; color: inherit; }
::selection { background: rgba(255, 200, 61, .35); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin-inline: auto; }

/* ---------------- device header ---------------- */
.dexbar-shell { position: sticky; top: 0; z-index: 50; padding: 10px 0 0; }
.dexbar {
  width: min(var(--wrap), calc(100% - 20px));
  margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 9px 10px 9px 12px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f2384c 0%, #d81f36 52%, #a9162b 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.32), inset 0 -3px 0 rgba(0,0,0,.28), 0 12px 30px rgba(3, 4, 18, .55);
  position: relative;
}
.dexbar::after { /* hinge line */
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 5px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.22) 12%, rgba(0,0,0,.22) 88%, transparent);
}
.lens {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff 0 9%, #a8e2ff 11%, #3aa8f5 42%, #0d5fb4 76%, #083e7a 100%);
  border: 4px solid #f7f8ff;
  box-shadow: 0 0 0 3px #75101e, 0 0 16px rgba(68, 179, 255, .75);
  position: relative;
}
.lens.pulse { animation: lensPulse 2.6s ease-in-out 1; }
@keyframes lensPulse { 0%,100% { box-shadow: 0 0 0 3px #75101e, 0 0 16px rgba(68,179,255,.75); } 45% { box-shadow: 0 0 0 3px #75101e, 0 0 34px rgba(120,210,255,1); } }
.leds { display: flex; gap: 6px; align-self: flex-start; margin-top: 4px; }
.leds i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.35); display: block; }
.leds i:nth-child(1) { background: #ff6b6b; box-shadow: 0 0 8px rgba(255, 107, 107, .8); }
.leds i:nth-child(2) { background: #ffd447; box-shadow: 0 0 8px rgba(255, 212, 71, .8); }
.leds i:nth-child(3) { background: #45e08f; box-shadow: 0 0 8px rgba(69, 224, 143, .8); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: #fff; flex: none; }
.brand img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.brand span { font-family: var(--display); font-size: 17px; letter-spacing: .5px; line-height: 1; text-shadow: 0 2px 0 rgba(90, 8, 20, .7); }
.brand span small { display: block; font-family: var(--ui); font-weight: 800; font-size: 10.5px; letter-spacing: .3px; color: #ffd9de; text-shadow: none; margin-top: 3px; }
.screen {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center; gap: 2px;
  padding: 5px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0b1130, #111a42);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.65), inset 0 0 0 2px #5c0a15, 0 1px 0 rgba(255,255,255,.18);
}
.screen a, .screen .menu-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 9px; border: 0; background: none; cursor: pointer;
  color: #cfe3ff; font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.screen a:hover, .screen .menu-btn:hover { background: rgba(68, 179, 255, .13); color: #fff; }
.screen a[aria-current="page"], .screen .menu-btn.on { background: #1c2a60; color: #fff; box-shadow: inset 0 0 0 1px rgba(68, 179, 255, .55); }
.screen a[aria-current="page"]::before, .screen .menu-btn.on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lens); box-shadow: 0 0 6px var(--lens); }
.menu { position: relative; }
.menu-btn svg { width: 12px; height: 12px; transition: transform .15s; }
.menu.open .menu-btn svg { transform: rotate(180deg); }
.menu-list {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  min-width: 210px; padding: 6px; border-radius: 14px;
  background: #121942; border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0,0,0,.5);
  display: none;
}
.menu.open .menu-list { display: grid; }
.menu-list a { justify-content: flex-start; padding: 9px 12px; }
.menu-list a span { color: var(--faint); font-weight: 700; font-size: 12px; margin-left: auto; padding-left: 12px; }
.play-btn {
  flex: none;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px 9px 10px; border-radius: 999px;
  background: linear-gradient(180deg, #ffe07a, #ffb81f);
  color: #3a2200; text-decoration: none;
  font-family: var(--display); font-size: 14px; letter-spacing: .4px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(150, 90, 0, .45), 0 3px 0 #7b1020;
}
.play-btn:hover { color: #3a2200; filter: brightness(1.06); }
.pokeball-ico {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: linear-gradient(180deg, #e3263b 0 46%, #22264a 46% 54%, #fff 54%);
  box-shadow: inset 0 0 0 2px #22264a; position: relative;
}
.pokeball-ico::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #22264a; }
.nav-toggle { display: none; flex: none; width: 44px; height: 40px; border-radius: 11px; border: 0; cursor: pointer; background: #0e1535; box-shadow: inset 0 2px 6px rgba(0,0,0,.6), inset 0 0 0 2px #5c0a15; color: #cfe3ff; }
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 1060px) {
  .brand span small { display: none; }
  .screen a, .screen .menu-btn { padding: 8px 9px; font-size: 13.5px; }
}
@media (max-width: 900px) {
  .dexbar { flex-wrap: wrap; gap: 10px; }
  .leds { display: none; }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; }
  .screen { order: 5; flex-basis: 100%; display: none; flex-direction: column; align-items: stretch; padding: 8px; }
  .dexbar.open .screen { display: flex; }
  .screen a, .screen .menu-btn { justify-content: flex-start; padding: 11px 12px; font-size: 15px; }
  .menu-list { position: static; transform: none; box-shadow: none; border: 0; background: rgba(255,255,255,.04); margin: 4px 0 4px 14px; }
  .play-btn { padding: 8px 12px 8px 8px; font-size: 13px; }
}
@media (max-width: 420px) {
  .brand span { font-size: 14px; }
  .lens { width: 36px; height: 36px; border-width: 3px; }
  .play-btn span.t { display: none; }
  .play-btn { padding: 7px; }
}

/* ---------------- page frame ---------------- */
main { display: block; padding: 34px 0 70px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 30px; margin-bottom: 22px; }
.page-head h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 6vw, 60px); line-height: .95; letter-spacing: 1px; color: #fff; text-shadow: 0 4px 0 #8e1222, 0 12px 30px rgba(227, 38, 59, .35); }
.page-head p { margin: 10px 0 0; max-width: 62ch; color: var(--muted); font-size: 17px; }
.page-head .count { font-family: var(--pixel); color: var(--gold); font-size: 20px; letter-spacing: .3px; }
h2.sec { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: .6px; margin: 0 0 14px; color: #fff; }
.panel { background: linear-gradient(180deg, rgba(30, 36, 86, .92), rgba(23, 28, 70, .92)); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 18px 40px rgba(2, 3, 16, .35); }
.muted { color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; border: 0; cursor: pointer;
  font-weight: 900; font-size: 15px; text-decoration: none; white-space: nowrap;
  background: var(--panel-3); color: #fff; box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn:hover { color: #fff; background: #2f3779; }
.btn.red { background: linear-gradient(180deg, #ff4a5e, #d81f36); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 0 #7b1020; }
.btn.red:hover { filter: brightness(1.07); }
.btn.gold { background: linear-gradient(180deg, #ffe07a, #ffb81f); color: #3a2200; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 3px 0 #9a6400; }
.btn.gold:hover { color: #3a2200; filter: brightness(1.05); }
.btn svg { width: 18px; height: 18px; }

/* search + chips */
.toolbar { display: grid; gap: 12px; margin-bottom: 18px; }
.toolrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search { position: relative; flex: 1 1 320px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--faint); pointer-events: none; }
.search input {
  width: 100%; padding: 13px 14px 13px 42px; border-radius: 14px;
  background: #0d1232; border: 1px solid var(--line-2); color: #fff; font-weight: 700; font-size: 16px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.35);
}
.search input::placeholder { color: var(--faint); font-weight: 600; }
.search input:focus { outline: none; border-color: var(--lens); box-shadow: 0 0 0 3px rgba(68, 179, 255, .25); }
select.sel { padding: 12px 36px 12px 14px; border-radius: 14px; background: #0d1232 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a6aeda' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 13px center / 12px; border: 1px solid var(--line-2); font-weight: 800; appearance: none; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer;
  background: rgba(255,255,255,.03); color: #dfe4ff; font-weight: 800; font-size: 13.5px; line-height: 1.1;
}
.chip:hover { background: rgba(255,255,255,.08); }
.chip[aria-pressed="true"] { background: #fff; color: #141a44; border-color: #fff; }
.chip .n { font-family: var(--pixel); font-weight: 400; font-size: 16px; line-height: .8; opacity: .75; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: #0d1232; border: 1px solid var(--line-2); }
.seg button { border: 0; background: none; cursor: pointer; padding: 9px 16px; border-radius: 10px; font-weight: 900; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--crimson); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }

/* type chips */
.type { display: inline-flex; align-items: center; padding: 3px 10px 3px 9px; border-radius: 999px; font-weight: 900; font-size: 12px; letter-spacing: .2px; color: #fff; background: var(--tc, #777); box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.25); text-shadow: 0 1px 1px rgba(0,0,0,.3); white-space: nowrap; }
.type.lg { font-size: 14px; padding: 5px 14px; }
.types { display: flex; flex-wrap: wrap; gap: 5px; }

/* battle platform + sprites */
.stage { position: relative; display: grid; place-items: end center; }
.stage::before { /* platform */
  content: ""; position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%);
  width: 72%; height: 18%; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, rgba(255,255,255,.34), rgba(255,255,255,.12) 55%, rgba(0,0,0,.18) 72%, transparent 74%);
}
.sprite { position: relative; image-rendering: pixelated; image-rendering: crisp-edges; display: block; max-width: 100%; }
.sprite.soft { image-rendering: auto; }
.sprite.still { animation: idleBob 2.4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes idleBob { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.035) translateY(-1px); } }

/* LIMITED + misc badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 7px; font-weight: 900; font-size: 11.5px; line-height: 1.2; }
.badge.limited { background: linear-gradient(180deg, #ffe07a, #ffb81f); color: #3a2200; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 0 12px rgba(255, 200, 61, .45); }
.badge.taxi { background: #fff; color: #1b2340; }
.badge.ghost { background: rgba(255,255,255,.12); color: #fff; }

/* empty / loading */
.empty { padding: 50px 20px; text-align: center; color: var(--muted); }
.empty strong { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }
.loading { display: grid; place-items: center; gap: 14px; padding: 80px 0; color: var(--muted); font-weight: 800; }
.loading .pokeball-ico { width: 40px; height: 40px; animation: wobble 1s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-18deg); } 75% { transform: rotate(18deg); } }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: rgba(6, 8, 24, .6); padding: 34px 0 40px; color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: flex-start; }
.site-foot .fbrand { display: flex; gap: 12px; align-items: center; color: #fff; font-family: var(--display); font-size: 16px; }
.site-foot .fbrand img { width: 40px; height: 40px; object-fit: contain; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-foot nav a { color: #cfd6ff; text-decoration: none; font-weight: 800; }
.site-foot nav a:hover { color: #fff; text-decoration: underline; }
.site-foot .legal { flex-basis: 100%; font-size: 12.5px; color: var(--faint); max-width: 80ch; }

/* ---------------- content pages (guides, shop, designers) ---------------- */
.guide .hero { margin-bottom: 26px; }
.guide .hero-box { padding: 30px clamp(20px, 4vw, 44px); border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(227, 38, 59, .22), rgba(30, 36, 86, .9) 45%), var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; }
.guide .hero-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 22px solid rgba(255,255,255,.05); box-shadow: inset 0 0 0 30px rgba(255,255,255,.03); }
.guide .eyebrow, .guide .kicker, .guide .section-label { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 900; font-size: 14px; margin: 0 0 8px; }
.guide .hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.05; margin: 0 0 12px; max-width: 22ch; text-shadow: 0 3px 0 #8e1222; }
.guide .hero p { max-width: 70ch; color: #d4daf8; font-size: 17px; margin: 0 0 16px; }
.guide .btn-row, .guide .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.guide .action-btn, .guide .hero-actions a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; text-decoration: none; font-weight: 900; color: #fff; background: linear-gradient(180deg, #ff4a5e, #d81f36); box-shadow: 0 3px 0 #7b1020; }
.guide .action-btn.secondary, .guide .hero-actions a.secondary { background: var(--panel-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.guide .action-btn.alert { background: linear-gradient(180deg, #ffe07a, #ffb81f); color: #3a2200; box-shadow: 0 3px 0 #9a6400; }
.guide .content .grid, .guide .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide .card { padding: 22px 24px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(30, 36, 86, .92), rgba(23, 28, 70, .92)); border: 1px solid var(--line); min-width: 0; }
.guide .card.wide, .guide .wide { grid-column: 1 / -1; }
.guide .card h2, .guide .section-head h2 { font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: .4px; margin: 0 0 12px; color: #fff; }
.guide .card h3 { font-size: 18px; margin: 14px 0 6px; }
.guide .card ul { margin: 0; padding-left: 20px; }
.guide .card li { margin: 7px 0; color: #d8ddf8; }
.guide .card li strong { color: #fff; }
.guide .card p { color: #d8ddf8; }
.guide table { width: 100%; border-collapse: collapse; font-size: 15px; }
.guide th, .guide td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide th { color: var(--gold); font-weight: 900; font-size: 13.5px; }
.guide .table-wrap { overflow-x: auto; }
.guide .section-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 30px; align-items: flex-end; margin: 34px 0 14px; }
.guide .section-head p { color: var(--muted); max-width: 60ch; margin: 0; }
.guide .pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.guide .pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line-2); font-weight: 800; font-size: 13.5px; }
.guide .ribbon-family { margin-top: 18px; }
.guide .family-head { font-weight: 900; color: var(--gold); margin: 14px 0 8px; }
.guide .ribbon-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.guide .ribbon-card { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); text-align: center; font-weight: 800; font-size: 13.5px; }
.guide .ribbon-card img { width: 64px; height: 64px; object-fit: contain; image-rendering: auto; display: block; margin: 0 auto 6px; }
.guide .rank-table td:first-child { font-weight: 900; }
.guide details { padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); margin: 10px 0; }
.guide summary { cursor: pointer; font-weight: 900; }
.guide .faq h2 { font-family: var(--display); font-weight: 400; }
@media (max-width: 760px) { .guide .grid, .guide .content .grid { grid-template-columns: 1fr; } }

/* shop */
.guide .layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.guide .catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.guide .panel, .guide .catalog > * { min-width: 0; }
.guide .catalog > article, .guide .catalog > div { padding: 18px; border-radius: 18px; background: linear-gradient(180deg, rgba(30, 36, 86, .92), rgba(23, 28, 70, .92)); border: 1px solid var(--line); }
.guide .price { font-family: var(--pixel); color: var(--gold); font-size: 24px; }
.guide .steps { display: grid; gap: 8px; margin: 10px 0; }
.guide .step { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.guide form label { display: block; font-weight: 800; font-size: 14px; margin: 10px 0 4px; }
.guide form input, .guide form select, .guide form textarea { width: 100%; padding: 11px 12px; border-radius: 12px; background: #0d1232; border: 1px solid var(--line-2); color: #fff; }
.guide form textarea { min-height: 90px; }
.guide .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.guide .submit-btn { margin-top: 12px; width: 100%; padding: 13px; border: 0; border-radius: 12px; cursor: pointer; font-weight: 900; color: #3a2200; background: linear-gradient(180deg, #ffe07a, #ffb81f); box-shadow: 0 3px 0 #9a6400; }
.guide .notice, .guide .muted-box, .guide .small-note { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); color: #d8ddf8; font-size: 14px; }
.guide .success { color: var(--ok); font-weight: 800; }
.guide .error { color: var(--bad); font-weight: 800; }
.guide .honeypot-field { position: absolute !important; left: -9999px !important; }
.guide .cart-list { display: grid; gap: 8px; }
@media (max-width: 960px) { .guide .layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .guide .row-2 { grid-template-columns: 1fr; } }

.guide .panel { padding: 22px 24px; }
.guide .notice { margin-top: 12px; }
.guide .faq { margin-top: 22px; }
.guide .faq h2, .guide #order-panel h2 { font-family: var(--display); font-weight: 400; font-size: 22px; margin: 0 0 10px; }
.guide .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.guide .tag { font-size: 12px; font-weight: 900; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); }
.guide .catalog .card { display: flex; flex-direction: column; padding: 18px; }
.guide .catalog .card h3 { font-size: 18px; margin: 4px 0 6px; }
.guide .catalog .card p { margin: 0 0 10px; font-size: 14.5px; }
.guide .catalog .card .price { margin-top: auto; }
.guide .catalog .card button, .guide .cart-item button { align-self: flex-start; border: 0; cursor: pointer; padding: 9px 14px; border-radius: 11px; font-weight: 900; color: #fff; background: linear-gradient(180deg, #ff4a5e, #d81f36); box-shadow: 0 3px 0 #7b1020; margin-top: 8px; }
.guide .cart-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.guide .cart-item button { background: var(--panel-3); box-shadow: inset 0 0 0 1px var(--line-2); margin: 0; }
.guide form textarea { font: inherit; }
.guide #order-panel { position: sticky; top: 100px; }
@media (max-width: 960px) { .guide #order-panel { position: static; } }

@media (max-width: 700px) {
  #dx-types, #dx-cats, #lc-kinds, #it-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
  #dx-types::-webkit-scrollbar, #dx-cats::-webkit-scrollbar, #lc-kinds::-webkit-scrollbar, #it-cats::-webkit-scrollbar { display: none; }
  #dx-types .chip, #dx-cats .chip, #lc-kinds .chip, #it-cats .chip { flex: none; }
}
