/* ===== INO Fine GOODS STORE — Redesign ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font-family: inherit; }

/* ==========================================================
   THEME 1 — MANGA CITY  (AMNIBUS-inspired: cream paper, navy ink, magenta accent)
   ========================================================== */
.theme-manga-city {
  --bg: #F7F4ED;
  --bg-2: #EFEBE0;
  --surface: #FFFFFF;
  --surface-2: #F2EEE4;
  --fg: #1A1B2E;
  --fg-muted: #4A4C66;
  --fg-soft: #7A7D94;
  --primary: #D4357E;
  --primary-fg: #FFFFFF;
  --ink: #1A1B2E;
  --ink-fg: #F7F4ED;
  --accent: #5B5EDB;
  --accent-2: #F3C552;
  --accent-3: #D4357E;
  --line: #1A1B2E;
  --line-soft: rgba(26,27,46,.14);
  --radius: 2px;
  --radius-lg: 4px;
  --shadow-pop: 5px 5px 0 #1A1B2E;
  --shadow-pop-hover: 8px 8px 0 #1A1B2E;
  --font-display: 'Bebas Neue', 'Noto Sans JP', sans-serif;
  --font-jp-display: 'Zen Kaku Gothic Antique', 'Noto Sans JP', sans-serif;
  --halftone: radial-gradient(rgba(26,27,46,.9) 1px, transparent 1.2px) 0 0 / 10px 10px;
  --brand-gradient: linear-gradient(90deg, #5B5EDB 0%, #8A4FD1 50%, #D4357E 100%);
}

/* ==========================================================
   THEME 2 — MONOCHROME INK  (editorial, magazine)
   ========================================================== */
/* ==========================================================
   THEME 2 — MONOCHROME INK  (editorial, magazine — muted warm)
   ========================================================== */
.theme-monochrome-ink {
  --bg: #F2EEE4;
  --bg-2: #E8E3D6;
  --surface: #FBF9F3;
  --surface-2: #EDE8DC;
  --fg: #141312;
  --fg-muted: #57514A;
  --fg-soft: #8A8275;
  --primary: #8A4FD1;
  --primary-fg: #FBF9F3;
  --ink: #141312;
  --ink-fg: #FBF9F3;
  --accent: #5B5EDB;
  --accent-2: #141312;
  --accent-3: #D4357E;
  --line: #141312;
  --line-soft: rgba(20,19,18,.15);
  --radius: 2px;
  --radius-lg: 2px;
  --shadow-pop: none;
  --shadow-pop-hover: none;
  --font-display: 'Bodoni Moda', 'Noto Serif JP', serif;
  --font-jp-display: 'Noto Serif JP', serif;
  --halftone: none;
  --brand-gradient: linear-gradient(90deg, #5B5EDB, #8A4FD1, #D4357E);
}

/* ==========================================================
   THEME 3 — NEON STREAM  (Crunchyroll-esque, dark — brand gradient)
   ========================================================== */
.theme-neon-stream {
  --bg: #0C0B14;
  --bg-2: #15131F;
  --surface: #1B1828;
  --surface-2: #242033;
  --fg: #F4F2F9;
  --fg-muted: #B0ADC2;
  --fg-soft: #7A7790;
  --primary: #D4357E;
  --primary-fg: #FFFFFF;
  --ink: #F4F2F9;
  --ink-fg: #0C0B14;
  --accent: #5B5EDB;
  --accent-2: #8A4FD1;
  --accent-3: #D4357E;
  --line: rgba(255,255,255,0.12);
  --line-soft: rgba(255,255,255,0.06);
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-pop: 0 20px 40px rgba(0,0,0,0.5);
  --shadow-pop-hover: 0 24px 48px rgba(212,53,126,0.35);
  --font-display: 'Bebas Neue', 'Noto Sans JP', sans-serif;
  --font-jp-display: 'Noto Sans JP', sans-serif;
  --halftone: none;
  --brand-gradient: linear-gradient(90deg, #5B5EDB 0%, #8A4FD1 50%, #D4357E 100%);
}

/* ==========================================================
   SHARED PRIMITIVES
   ========================================================== */
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 18px; } }

.kicker {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}
.theme-monochrome-ink .kicker { letter-spacing: 0.3em; font-size: 11px; }

.section-title {
  font-family: var(--font-jp-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.theme-monochrome-ink .section-title { font-weight: 800; letter-spacing: -0.02em; }

.en-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--fg);
}
.theme-monochrome-ink .en-title { letter-spacing: -0.02em; font-style: italic; }

.section-pad { padding: 96px 0; }
@media (max-width: 768px) { .section-pad { padding: 64px 0; } }

/* ===== Button ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; font-size: 14px;
  padding: 14px 28px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  border-radius: var(--radius);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: var(--primary-fg); border-color: var(--ink);
  box-shadow: var(--shadow-pop);
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-pop-hover); }
.theme-neon-stream .btn-primary { border-color: transparent; }
.theme-neon-stream .btn-primary:hover { transform: translateY(-2px); }
.theme-monochrome-ink .btn-primary { border-color: var(--primary); }
.btn-ink {
  background: var(--ink); color: var(--ink-fg); border-color: var(--ink);
}
.btn-ink:hover { background: var(--primary); border-color: var(--ink); color: var(--primary-fg); }
.btn-ghost {
  background: transparent; color: var(--fg); border-color: var(--line);
}
.btn-ghost:hover { background: var(--ink); color: var(--ink-fg); border-color: var(--ink); }

/* ===== Chip ===== */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; font-size: 12px; font-weight: 700;
  background: var(--surface-2); color: var(--fg);
  border: 1.5px solid var(--line-soft);
  border-radius: 999px;
}

/* ===== Header ===== */
.site-hdr {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 2px solid var(--line);
  backdrop-filter: blur(12px);
}
.theme-neon-stream .site-hdr {
  background: rgba(11,11,16,.8);
  border-bottom-color: var(--line-soft);
}
.hdr-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 24px; height: 72px;
}
.hdr-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 0.08em; font-weight: 700;
  color: var(--fg);
  margin-right: auto;
}
.hdr-logo-mark {
  width: auto; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hdr-logo-mark img { height: 100%; width: auto; display: block; }
.hdr-logo-text { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.hdr-logo-sub { font-size: 10px; color: var(--fg-soft); letter-spacing: 0.15em; }
.hdr-nav { display: flex; align-items: center; gap: 4px; }
.hdr-nav-link {
  padding: 8px 14px; font-size: 13px; font-weight: 700;
  color: var(--fg-muted); border-radius: var(--radius);
  transition: all .18s ease;
}
.hdr-nav-link:hover, .hdr-nav-link.active { color: var(--fg); background: var(--surface-2); }
.hdr-search {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: var(--bg-2);
  border: 1.5px solid var(--line-soft);
  min-width: 220px;
  border-radius: var(--radius);
}
.hdr-search input {
  background: transparent; border: none; outline: none;
  font-size: 13px; color: var(--fg); flex: 1;
}
.hdr-search input::placeholder { color: var(--fg-soft); }
.hdr-search-submit { background: none; border: none; padding: 0; cursor: pointer; display: flex; align-items: center; color: var(--fg-muted); flex-shrink: 0; }
.hdr-search-submit:hover { color: var(--fg); }
.hdr-icon-btn {
  position: relative;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-2); color: var(--fg);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius);
  transition: all .18s ease;
}
.hdr-icon-btn:hover { background: var(--ink); color: var(--ink-fg); border-color: var(--ink); }
.hdr-icon-btn .fav-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--primary); color: var(--primary-fg);
  font-size: 10px; font-weight: 800;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--surface);
}
.hdr-menu-btn { display: none; }
@media (max-width: 1080px) {
  .hdr-nav, .hdr-search { display: none; }
  .hdr-menu-btn { display: inline-flex; }
  .hdr-inner { gap: 12px; }
}

/* ===== Mobile drawer ===== */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg); padding: 24px;
  transform: translateX(100%); transition: transform .3s ease;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; font-size: 28px;
}
.drawer-nav { margin-top: 60px; display: flex; flex-direction: column; gap: 6px; }
.drawer-nav a {
  padding: 16px 12px; font-size: 18px; font-weight: 800;
  border-bottom: 1px solid var(--line-soft);
}

/* ===== Footer ===== */
.site-ftr {
  background: var(--ink); color: var(--ink-fg);
  padding: 72px 32px 32px;
  margin-top: 96px;
}
.theme-monochrome-ink .site-ftr { background: var(--ink); color: var(--ink-fg); }
.ftr-top {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.ftr-logo-big {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95; letter-spacing: 0.02em;
  color: var(--ink-fg); margin-bottom: 20px;
}
.ftr-tag { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 380px; }
.ftr-sns-row { display: flex; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.ftr-sns-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 1.1rem; text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,.25); transition: transform .25s ease, box-shadow .25s ease; }
.ftr-sns-btn:hover { transform: scale(1.12); box-shadow: 0 6px 15px rgba(0,0,0,.4); opacity: 1; }
.ftr-sns-btn-x       { background: #000;    box-shadow: 0 4px 10px rgba(0,0,0,.3), 0 0 0 1.5px rgba(255,255,255,.3); }
.ftr-sns-btn-line    { background: #06c755; }
.ftr-sns-btn-discord { background: #5865F2; }
.ftr-sns-btn-mail    { background: #1E90FF; }
.ftr-sns-btn-tiktok  { background: #010101; box-shadow: 0 4px 10px rgba(0,0,0,.3), 0 0 0 1.5px rgba(255,255,255,.3); }
.ftr-sns-btn-youtube { background: #FF0000; }
.hdr-logo-text-link { text-decoration: none; color: inherit; display: flex; }
.ftr-col h5 {
  font-family: var(--font-display); font-size: 13px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 16px; font-weight: 700;
}
.ftr-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ftr-col a { font-size: 13px; color: rgba(255,255,255,.7); transition: color .18s ease; }
.ftr-col a:hover { color: var(--primary); }
.ftr-bottom {
  max-width: 1320px; margin: 32px auto 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.4);
}
@media (max-width: 768px) { .ftr-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ftr-top { grid-template-columns: 1fr; } }

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 24px 0 0;
  display: flex; gap: 8px; font-size: 12px; color: var(--fg-soft);
  font-weight: 600;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: 0.5; }

/* ===== Tweaks Panel ===== */
.tweaks-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 300;
  background: #0A0A0A; color: #FFF;
  padding: 18px; width: 260px;
  border: 2px solid #FF3D17;
  box-shadow: 8px 8px 0 #FF3D17;
  display: none;
  font-family: 'Noto Sans JP', sans-serif;
}
.tweaks-panel.show { display: block; }
.tweaks-panel h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; letter-spacing: 0.15em;
  margin-bottom: 14px; color: #FF3D17;
}
.tweaks-group { margin-bottom: 14px; }
.tweaks-group > label {
  font-size: 10px; letter-spacing: 0.12em;
  color: #999; text-transform: uppercase;
  font-weight: 700; display: block; margin-bottom: 6px;
}
.tweaks-opts { display: flex; flex-direction: column; gap: 4px; }
.tweaks-opts button {
  text-align: left; padding: 8px 12px;
  background: rgba(255,255,255,.06); color: #FFF;
  font-size: 12px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.1);
  transition: all .18s ease;
}
.tweaks-opts button:hover { background: rgba(255,255,255,.12); }
.tweaks-opts button.active { background: #FF3D17; color: #FFF; border-color: #FF3D17; }