:root {
  --white: #fff;
  --bg-alt: #f6f6f4;
  --page-bg: #fff;
  --ink: #111;
  --ink-soft: #33322f;
  --text-muted: #6b6a66;
  --border: #e7e6e2;
  --accent: #e8442e;
  --accent-strong: #c8341f;
  --accent-tint: rgba(232, 68, 46, 0.1);
  --accent-tint-strong: rgba(232, 68, 46, 0.18);
  --focus: #005fcc;
  --hero-bg-color: #fff;
  --hero-bg-image: none;
  --hero-heading: #111;
  --hero-muted: #6b6a66;
  --hero-grid: rgba(17, 17, 17, 0.025);
  --hero-snow: transparent;
  --snow-opacity: 0;
  --snow-color: transparent;
  --garland-bg: transparent;
  --campaign-featured-bg: linear-gradient(118deg, #c8341f 0%, #e8442e 53%, #111 132%);
  --campaign-featured-art: rgba(255, 255, 255, 0.13);
  --feature-bg: linear-gradient(135deg, #242420 0%, #111 56%, #e8442e 138%);
  --product-stage-bg: radial-gradient(circle at 50% 42%, #fff 0%, #f1f1ed 55%, #d8d8d2 100%);
  --product-image-overlay: linear-gradient(145deg, transparent 62%, rgba(232, 68, 46, 0.14));
  --model-label-bg: rgba(17, 17, 17, 0.78);
  --ticker-accent: #e8442e;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 5px 22px rgba(17, 17, 17, 0.07);
  --shadow-lg: 0 18px 50px rgba(17, 17, 17, 0.14);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body.xmas {
  --page-bg: #eef3f7;
  --bg-alt: #f0f4f1;
  --accent: #1e6b45;
  --accent-strong: #154d33;
  --accent-tint: rgba(30, 107, 69, 0.1);
  --accent-tint-strong: rgba(30, 107, 69, 0.2);
  --hero-bg-color: #0d2f22;
  --hero-bg-image: linear-gradient(150deg, #0f3d2c 0%, #0a303c 60%, #081c2e 100%);
  --hero-heading: #fff;
  --hero-muted: rgba(255, 255, 255, 0.76);
  --hero-grid: rgba(255, 255, 255, 0.035);
  --hero-snow: rgba(255, 255, 255, 0.72);
  --snow-opacity: 0.52;
  --snow-color: rgba(75, 103, 119, 0.38);
  --garland-bg: repeating-linear-gradient(45deg, #c52d32 0 10px, #c52d32 10px, #1e6b45 10px, #1e6b45 20px);
  --campaign-featured-bg: linear-gradient(118deg, #154d33 0%, #1e6b45 54%, #8d2025 132%);
  --campaign-featured-art: rgba(255, 255, 255, 0.17);
  --feature-bg: linear-gradient(135deg, #103d2c 0%, #092f3d 57%, #8d2025 145%);
  --product-stage-bg: radial-gradient(circle at 50% 42%, #f8fbf9 0%, #e2ece7 55%, #bed0c7 100%);
  --product-image-overlay: linear-gradient(145deg, transparent 56%, rgba(30, 107, 69, 0.24));
  --model-label-bg: rgba(13, 47, 34, 0.86);
  --ticker-accent: #63bc90;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 126px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background-color: var(--page-bg);
  background-image:
    radial-gradient(circle at 7% 18%, var(--accent-tint) 0, transparent 19rem),
    radial-gradient(circle at 91% 76%, var(--accent-tint) 0, transparent 22rem);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.45s ease;
}

body::before {
  position: fixed;
  inset: -280px 0 0;
  z-index: 140;
  pointer-events: none;
  content: "";
  opacity: var(--snow-opacity);
  background-image:
    radial-gradient(circle, var(--snow-color) 0 1.2px, transparent 1.8px),
    radial-gradient(circle, var(--snow-color) 0 1.8px, transparent 2.5px),
    radial-gradient(circle, var(--snow-color) 0 0.8px, transparent 1.4px);
  background-size: 157px 191px, 247px 283px, 109px 137px;
  background-position: 8px 4px, 61px 29px, 33px 83px;
  animation: snowfall 15s linear infinite;
  will-change: background-position;
}

@keyframes snowfall {
  to { background-position: 47px 386px, 104px 572px, 17px 280px; }
}

button,
a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

button:not(:disabled),
a { cursor: pointer; }

a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sticky-top-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 7px 22px rgba(17, 17, 17, 0.04);
}

.garland-strip {
  height: 5px;
  background: var(--garland-bg);
}

.site-header,
.category-tabbar { background: rgba(255, 255, 255, 0.96); }

.site-header {
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner,
.category-tabbar-inner,
.hero-inner,
.campaign-section,
.filter-bar,
.gacha-section,
.ticker-section,
.trust-section,
.footer-inner {
  width: min(100%, 1240px);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}

.logo {
  flex-shrink: 0;
  font-size: 27px;
  font-weight: 950;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.04em;
}

.logo span { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 19px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s var(--ease-out), box-shadow 0.18s ease;
}

.btn-outline { color: var(--ink); background: var(--white); }
.btn-fill { color: var(--white); background: var(--ink); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline:hover { background: var(--bg-alt); }
.btn-fill:hover { border-color: var(--accent); background: var(--accent); }

.category-tabbar { border-bottom: 1px solid var(--border); }

.category-tabbar-inner {
  display: flex;
  gap: 4px;
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabbar-inner::-webkit-scrollbar { display: none; }

.category-tab {
  flex: 0 0 auto;
  padding: 13px 18px;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.category-tab:hover:not(.active) { color: var(--accent); background: var(--bg-alt); }
.category-tab.active { color: var(--white); background: var(--ink); }

.hero {
  position: relative;
  padding: 66px 24px 72px;
  background-color: var(--hero-bg-color);
  background-image:
    radial-gradient(circle, var(--hero-snow) 0 1.4px, transparent 2px),
    linear-gradient(var(--hero-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px),
    var(--hero-bg-image);
  background-size: 59px 59px, 48px 48px, 48px 48px, cover;
  background-position: 12px 8px, 0 0, 0 0, center;
  overflow: hidden;
  transition: background-color 0.45s ease, color 0.45s ease;
}

.hero::after {
  position: absolute;
  right: -8vw;
  bottom: -245px;
  width: 540px;
  height: 540px;
  border: 1px solid var(--accent-tint-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 70px var(--accent-tint), 0 0 0 140px rgba(0, 0, 0, 0.015);
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(38px, 5vw, 70px);
}

.hero-copy { flex: 1 1 420px; min-width: 0; }

.drop-badge,
.eyebrow {
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.14em;
}

.drop-badge {
  display: inline-block;
  margin-bottom: 21px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 5px 14px var(--accent-tint-strong);
}

.hero h1 {
  margin: 0 0 19px;
  color: var(--hero-heading);
  font-size: clamp(41px, 5.15vw, 66px);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -0.045em;
  transition: color 0.45s ease;
}

.hero-sub {
  margin: 0 0 30px;
  color: var(--hero-muted);
  font-size: 16px;
  font-weight: 700;
  transition: color 0.45s ease;
}

.hero-char-row { display: flex; align-items: center; gap: 14px; }

.char-frame {
  position: relative;
  display: grid;
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 2px dashed var(--hero-heading);
  border-radius: 50%;
  color: var(--hero-muted);
  background: var(--accent-tint);
  font-size: 12px;
  font-weight: 800;
  transition: color 0.45s ease, border-color 0.45s ease;
}

.char-frame::before {
  position: absolute;
  inset: 8px;
  border: 1px solid var(--accent-tint-strong);
  border-radius: 50%;
  content: "";
}

.char-note { color: var(--hero-muted); font-size: 12px; font-weight: 650; transition: color 0.45s ease; }

.hero-feature-card {
  flex: 1 1 460px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.hero-feature-card:hover { transform: translateY(-5px) rotate(0.15deg); box-shadow: 0 24px 64px rgba(17, 17, 17, 0.2); }

.hero-feature-banner {
  position: relative;
  height: 218px;
  color: var(--white);
  background: var(--product-stage-bg);
  isolation: isolate;
  overflow: hidden;
}

.hero-feature-banner model-viewer {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--product-stage-bg);
  --poster-color: transparent;
}

.model-fallback-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.model-fallback-text {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  z-index: 2;
  margin: 0;
  padding: 6px 9px;
  border-radius: 7px;
  color: var(--white);
  background: var(--model-label-bg);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

model-viewer:defined .model-fallback-poster,
model-viewer:defined .model-fallback-text { display: none; }

.model-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  color: var(--white);
  background: var(--model-label-bg);
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.12);
  pointer-events: none;
}

.model-label strong {
  font-size: 11px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.03em;
}

.model-label small {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  font-weight: 750;
  font-style: normal;
  letter-spacing: 0.16em;
  opacity: 0.78;
}

.card-banner small {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  font-weight: 750;
  font-style: normal;
  letter-spacing: 0.16em;
  opacity: 0.78;
}

.hero-feature-body { padding: 24px 27px 28px; }
.badge-row,
.card-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.badge-row { margin-bottom: 17px; }

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.badge-prob { color: var(--ink); background: var(--bg-alt); }
.badge-guarantee { color: var(--accent-strong); border-color: var(--accent-tint-strong); background: var(--accent-tint); }
.badge-warn { color: var(--ink-soft); border-color: rgba(17, 17, 17, 0.12); background: rgba(17, 17, 17, 0.06); }

.stock-row { margin-bottom: 20px; }
.stock-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: var(--text-muted); font-size: 11px; font-weight: 750; }
.stock-row .stock-label { font-size: 12px; }

.progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #ececea;
  overflow: hidden;
}

.progress-fill { display: block; width: var(--progress); height: 100%; border-radius: inherit; background: var(--accent); }

.hero-feature-cta {
  width: 100%;
  padding: 15px;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 16px;
  font-weight: 850;
  transition: background 0.18s ease, transform 0.18s var(--ease-out), box-shadow 0.18s ease;
}

.hero-feature-cta:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.campaign-section { padding: 35px 24px 0; }

.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); }
.campaign-heading,
.section-title { margin: 0; color: var(--ink); font-size: 24px; font-weight: 950; letter-spacing: -0.025em; }
.campaign-heading { font-size: 22px; }
.swipe-note,
.result-count { margin: 0; color: var(--text-muted); font-size: 10px; font-weight: 850; letter-spacing: 0.12em; }
.result-count strong { color: var(--accent); font-size: 16px; }

.campaign-banner-track-wrap {
  margin-top: 17px;
  padding: 1px 1px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent) var(--border);
  scrollbar-width: thin;
}

.campaign-banner-track { display: flex; gap: 16px; width: max-content; }

.campaign-banner {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(372px, 78vw);
  aspect-ratio: 16 / 5;
  padding: 17px 23px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  background: linear-gradient(118deg, #33322f, #111);
  box-shadow: 0 5px 16px rgba(17, 17, 17, 0.08);
  scroll-snap-align: start;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.campaign-banner::after {
  position: absolute;
  z-index: -1;
  right: -24px;
  width: 128px;
  height: 128px;
  border: 26px solid var(--campaign-featured-art);
  border-radius: 50%;
  content: "";
}

.campaign-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.campaign-banner-featured { background: var(--campaign-featured-bg); }
.campaign-banner-midnight { background: linear-gradient(118deg, #111 0%, #292927 60%, #4a4a45 100%); }
.campaign-banner-light { color: var(--ink); background: linear-gradient(118deg, #fff, #e8e8e3); }
.campaign-banner-light::after { border-color: var(--accent-tint-strong); }
.campaign-kicker { margin-bottom: 5px; font-size: 9px; font-weight: 900; letter-spacing: 0.18em; opacity: 0.75; }
.campaign-banner strong { font-size: clamp(16px, 2.1vw, 22px); font-weight: 950; font-style: italic; letter-spacing: -0.02em; }
.campaign-banner small { margin-top: 2px; font-size: 10px; font-weight: 700; opacity: 0.68; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 24px 0;
}

.sort-tabs,
.price-chips { display: flex; gap: 6px; }

.sort-tabs {
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-alt);
  overflow-x: auto;
}

.sort-tabs button,
.price-chips button {
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 780;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s var(--ease-out);
}

.sort-tabs button { padding: 9px 15px; border: 0; color: var(--text-muted); background: transparent; }
.sort-tabs button.active { color: var(--white); background: var(--ink); }
.sort-tabs button:hover:not(.active) { color: var(--ink); background: var(--white); }
.price-chips { flex-wrap: wrap; }
.price-chips button { padding: 9px 14px; border: 1.5px solid var(--border); color: var(--ink-soft); background: var(--white); }
.price-chips button:hover,
.price-chips button.active { color: var(--accent-strong); border-color: var(--accent); background: var(--accent-tint); transform: translateY(-1px); }

.gacha-section { padding: 30px 24px 8px; }
.gacha-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }

.gacha-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease, border-color 0.28s ease;
}

.gacha-card[hidden] { display: none; }

.gacha-card:hover { border-color: var(--accent-tint-strong); transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card-banner {
  position: relative;
  display: grid;
  height: 158px;
  place-items: center;
  padding: 12px;
  color: var(--white);
  font-size: 25px;
  font-weight: 950;
  font-style: italic;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.card-banner::before,
.card-banner::after { position: absolute; z-index: -1; content: ""; }
.card-banner::before { inset: 0; background: repeating-linear-gradient(118deg, transparent 0 34px, rgba(255, 255, 255, 0.035) 34px 35px); }
.card-banner::after { right: -42px; bottom: -72px; width: 180px; height: 180px; border: 30px solid rgba(255, 255, 255, 0.08); border-radius: 50%; }
.card-banner.product-banner { padding: clamp(6px, 1vw, 10px); background: var(--product-stage-bg); }
.product-banner::before { display: none; }
.product-banner::after { inset: 0; z-index: 1; width: auto; height: auto; border: 0; border-radius: 0; background: var(--product-image-overlay); pointer-events: none; }
.product-banner img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform 0.35s var(--ease-out); }
.gacha-card:hover .product-banner img { transform: scale(1.035); }
.banner-1 { background: linear-gradient(135deg, #111, #3a3a38); }
.banner-2 { color: var(--ink); background: linear-gradient(135deg, #9a9a95, #e1e1dc 68%); }
.banner-3 { background: linear-gradient(135deg, #111, #2c2c2a 47%, var(--accent)); }
.banner-4 { background: linear-gradient(135deg, #432723, #111 61%, var(--accent)); }
.banner-5 { color: var(--ink); background: linear-gradient(135deg, #f2f2ef, #cfcfc8 70%, var(--accent)); }
.banner-6 { background: linear-gradient(135deg, #0b0b0a, #111 55%, #5a5a56); }
.banner-7 { background: linear-gradient(135deg, var(--accent-strong), var(--accent) 55%, #111); }
.banner-8 { background: linear-gradient(135deg, #111, #3a3a38 40%, var(--accent)); }

.card-body { display: flex; flex: 1; flex-direction: column; gap: 11px; padding: 19px 20px 20px; }
.card-name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-name { margin: 0; color: var(--ink); font-size: 15px; font-weight: 900; }
.card-badges .badge { min-height: 24px; padding: 4px 9px; font-size: 10.5px; }
.card-price { margin: 1px 0; color: var(--ink); font-size: 20px; font-weight: 950; letter-spacing: -0.025em; }
.card-price span { margin-left: 4px; color: var(--text-muted); font-size: 11px; font-weight: 750; letter-spacing: 0; }

.card-cta-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: auto; }
.card-cta-row button { min-height: 39px; padding: 8px 3px; border: 1.5px solid var(--ink); border-radius: 9px; color: var(--ink); background: var(--white); font-size: 11px; font-weight: 850; transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s var(--ease-out); }
.card-cta-row .primary { color: var(--white); background: var(--ink); }
.card-cta-row button:hover:not(:disabled) { color: var(--white); border-color: var(--accent); background: var(--accent); transform: translateY(-2px); }

.sticker-badge {
  position: absolute;
  top: 148px;
  left: 15px;
  z-index: 3;
  padding: 6px 12px;
  border: 2px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  background: var(--accent);
  box-shadow: var(--shadow);
  font-size: 10px;
  font-weight: 900;
  transform: rotate(-6deg);
}

.soldout { filter: grayscale(0.58); }
.soldout:hover { transform: none; }
.soldout .card-banner { filter: grayscale(1) brightness(0.87); }
.soldout .card-cta-row button { cursor: not-allowed; color: #9c9c97; border-color: #d2d2ce; background: #f1f1ee; }
.soldout-ribbon { position: absolute; top: 18px; right: -40px; z-index: 4; width: 176px; padding: 7px 0; color: var(--white); background: var(--ink); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24); font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-align: center; transform: rotate(35deg); }
.empty-message { margin: 40px 0; color: var(--text-muted); font-size: 14px; font-weight: 700; text-align: center; }

.ticker-section { padding: 0 24px; margin-top: 46px; }
.ticker-box { padding: 20px 0 23px; border-radius: var(--radius); color: var(--white); background: var(--ink); overflow: hidden; }
.ticker-box h2 { margin: 0 0 14px; padding: 0 24px; font-size: 15px; font-weight: 850; }
.ticker-box h2 span { color: var(--ticker-accent); }
.ticker-track-wrap { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: ticker-scroll 32s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 999px; color: var(--white); background: rgba(255, 255, 255, 0.08); font-size: 12px; font-weight: 650; white-space: nowrap; }
.ticker-item .time { color: var(--ticker-accent); font-weight: 900; }
.ticker-item .win { font-weight: 850; }

.trust-section { padding: 0 24px; margin-top: 62px; }
.trust-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 23px; }
.trust-card { padding: 29px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); text-align: center; transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease; }
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.trust-icon { position: relative; display: grid; width: 57px; height: 57px; margin: 0 auto 16px; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); background: var(--bg-alt); font-size: 23px; font-weight: 900; }
.trust-icon-search::before { width: 17px; height: 17px; border: 3px solid currentColor; border-radius: 50%; content: ""; transform: translate(-3px, -3px); }
.trust-icon-search::after { position: absolute; width: 12px; height: 3px; border-radius: 2px; background: currentColor; content: ""; transform: translate(10px, 10px) rotate(45deg); }
.trust-icon-license::before { width: 23px; height: 28px; border: 2px solid currentColor; border-radius: 2px; content: ""; }
.trust-icon-license::after { position: absolute; width: 13px; height: 8px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ""; }
.trust-card h3 { margin: 0 0 9px; font-size: 14px; font-weight: 900; line-height: 1.55; }
.trust-card p { margin: 0; color: var(--text-muted); font-size: 12.5px; line-height: 1.8; }

.site-footer { margin-top: 66px; padding: 40px 24px 104px; color: #c9c9c5; background: var(--ink); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 19px; text-align: center; }
.footer-logo { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-links button { padding: 3px 0; border: 0; color: inherit; background: transparent; font-size: 12px; font-weight: 650; }
.footer-links button:hover { color: var(--white); }
.footer-copy { color: #8c8c88; font-size: 11px; }

.mobile-tabbar { display: none; }

.skin-switcher {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.skin-note { color: var(--text-muted); font-size: 10px; font-weight: 750; letter-spacing: 0.02em; }
.skin-buttons { display: flex; gap: 6px; }
.skin-btn { padding: 7px 11px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); background: var(--white); font-size: 11px; font-weight: 850; }
.skin-btn.is-active { color: var(--white); background: var(--ink); }

@media (max-width: 1024px) {
  .gacha-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 112px; }
  .header-inner { padding: 11px 16px; }
  .logo { font-size: 23px; }
  .btn { min-height: 37px; padding: 8px 13px; font-size: 11px; }
  .category-tabbar-inner { padding: 0 16px; gap: 2px; }
  .category-tab { padding: 11px 14px; font-size: 12px; }
  .hero { padding: 30px 16px 40px; }
  .hero-inner { flex-direction: column; gap: 24px; }
  .hero-copy { flex-basis: auto; text-align: center; }
  .drop-badge { margin-bottom: 16px; }
  .hero h1 { margin-bottom: 14px; font-size: clamp(34px, 10.3vw, 43px); line-height: 1.14; }
  .hero-sub { margin-bottom: 20px; font-size: 14px; }
  .hero-char-row { justify-content: center; }
  .hero-feature-card { flex-basis: auto; width: 100%; }
  .hero-feature-banner { height: 270px; }
  .campaign-section { padding: 25px 16px 0; }
  .campaign-heading { font-size: 19px; }
  .campaign-banner-track { gap: 12px; }
  .campaign-banner { width: 76vw; min-width: 270px; }
  .filter-bar { align-items: stretch; flex-direction: column; padding: 23px 16px 0; }
  .sort-tabs { width: 100%; }
  .sort-tabs button { flex: 1 0 auto; }
  .price-chips { gap: 7px; }
  .price-chips button { padding-inline: 12px; }
  .gacha-section { padding: 25px 16px 8px; }
  .gacha-grid { grid-template-columns: 1fr; gap: 18px; }
  .card-banner { height: 220px; }
  .card-banner.product-banner { height: clamp(220px, calc((100vw - 32px) * 0.563), 400px); }
  .sticker-badge { top: calc(clamp(220px, calc((100vw - 32px) * 0.563), 400px) - 10px); }
  .ticker-section { padding: 0 16px; margin-top: 36px; }
  .trust-section { padding: 0 16px; margin-top: 38px; }
  .site-footer { padding: 35px 16px 100px; }
  .mobile-tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    display: flex;
    height: 66px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -5px 18px rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(12px);
  }
  .mobile-tabbar a,
  .mobile-tabbar button { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; border: 0; color: var(--text-muted); background: transparent; font-size: 10px; font-weight: 750; }
  .mobile-tabbar .active { color: var(--ink); }
  .tab-icon { position: relative; display: block; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 6px; }
  .tab-icon-gacha::before { position: absolute; inset: 4px; border: 1.5px solid currentColor; border-radius: 50%; content: ""; }
  .tab-icon-mission { border-radius: 50%; }
  .tab-icon-mission::before { position: absolute; inset: 4px; border: 2px solid currentColor; border-radius: 50%; content: ""; }
  .tab-icon-prize::before { position: absolute; top: 4px; right: -3px; left: -3px; height: 3px; border-radius: 2px; background: currentColor; content: ""; }
  .tab-icon-user { border-radius: 50%; }
  .tab-icon-user::before { position: absolute; top: 3px; left: 6px; width: 5px; height: 5px; border: 1.5px solid currentColor; border-radius: 50%; content: ""; }
  .tab-icon-user::after { position: absolute; bottom: 3px; left: 3px; width: 10px; height: 5px; border: 1.5px solid currentColor; border-radius: 8px 8px 3px 3px; content: ""; }
  .skin-switcher { right: 8px; bottom: 74px; flex-direction: row; align-items: center; gap: 0; padding: 4px 5px; }
  .skin-note { display: none; }
  .skin-btn { padding: 6px 9px; font-size: 10px; }
}

@media (max-width: 420px) {
  .header-actions { gap: 6px; }
  .btn { padding-inline: 11px; }
  .hero-feature-body { padding: 21px 20px 23px; }
  .card-cta-row button { padding-inline: 2px; font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  body::before { display: none; }
  .ticker-track { transform: none; }
}
