/* ==========================================================================
   靛之森商店 AINOMORI STORE — V3 Authentic Steam Architecture × Ainomori
   - Genuine Steam Store slate-blue legitimacy (#1b2838 / #171d25 / #2a475e)
   - ZERO cheap 1px wireframe clutter (matte tonal slabs + soft shadows)
   - Modern widescreen 1360px layout (no cramped narrow gutters)
   - Full dedicated multi-page views: Home, ASMR, Product, Custom, Library, Cart
   - Zero 18+ buttons in top navbar (Steam Account Preferences + Full-page Age Gate)
   ========================================================================== */

:root {
  --steam-top: #171d25;
  --steam-bg: #1b2838;
  --steam-bg-deep: #141e2b;
  --steam-slab: #16202d;
  --steam-slab-2: #0f1922;
  --steam-card: #1e2d3f;
  --steam-card-hover: #263950;
  --steam-active-row: #2a475e;

  --text: #edf2f7;
  --text-2: #b8c6d6;
  --mute: #7a8fa6;

  --sky: #66c0f4;
  --sky-soft: rgba(102, 192, 244, 0.14);
  --sky-hover: rgba(102, 192, 244, 0.24);

  /* Authentic Steam Purchase Green & Discount Lime */
  --buy-grad: linear-gradient(90deg, #75b022 5%, #588a1b 95%);
  --buy-grad-hover: linear-gradient(90deg, #8ed629 5%, #6aa621 95%);
  --buy-text: #e3f7c4;

  --disc-bg: #4c6b22;
  --disc-text: #beee11;
  --price-box: #111b26;

  /* Owned "In Library" Ribbon (Classic Steam Collector Blue-Green) */
  --inlib-bg: #3f7aa3;
  --inlib-text: #e4f4ff;

  --gold: #e8c46a;
  --gold-2: #f6dc8c;
  --line: rgba(255, 255, 255, 0.14);
  --line-2: rgba(255, 255, 255, 0.24);
  --faint: rgba(230, 235, 255, 0.45);
  --rana: #5fd39a;
  --tensi: #ffb6c1;
  --yoruro: #b894ff;
  --kujira: #7fb0ff;

  --sans: "Noto Sans TC", "Noto Sans JP", "Motiva Sans", system-ui, -apple-system, sans-serif;
  --serif: "Noto Serif TC", "Noto Serif JP", Georgia, serif;
  --display: "Cinzel", Georgia, serif;

  --wrap: min(1400px, calc(100% - 48px));
  --shadow-card: 0 4px 18px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.52);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--steam-bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 540px at 50% 60px, rgba(42, 71, 94, 0.58) 0%, rgba(27, 40, 56, 0) 70%),
    var(--steam-bg);
  color: var(--text);
  overflow-x: hidden;
  padding-bottom: 84px;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; padding: 0; }
img { display: block; max-width: 100%; }

.tabular { font-variant-numeric: tabular-nums; }

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

/* ==========================================================================
   1. Global Top Bar (Authentic Steam #171d25 Institutional Chrome)
   ========================================================================== */
.global-header {
  background: var(--steam-top);
  position: sticky;
  top: 0;
  z-index: 70;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
}

.global-inner {
  width: var(--wrap);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.global-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-main-logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-main-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.brand-main-logo img {
  height: 29px;
  width: auto;
  display: block;
}

.brand-sep {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.18);
}

.brand-store-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  transition: color 0.18s ease;
}

.brand-store-link:hover {
  color: var(--sky);
}

.brand-crystal-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(90, 175, 255, 0.55));
}

.brand-store-name {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pnav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.pnav-link:hover {
  color: #fff;
}

.pnav-link.active {
  color: var(--sky);
}

.pnav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--sky);
}

.pnav-count {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(102, 192, 244, 0.18);
  color: var(--sky);
}

.global-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.util-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 3px;
  background: rgba(103, 193, 245, 0.14);
  color: var(--sky);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.util-pill:hover {
  background: rgba(103, 193, 245, 0.28);
  color: #fff;
}

.util-pill.cart-has {
  background: #5c7e10;
  color: #e4f7bc;
}

.util-pill.cart-has:hover {
  background: #6f9814;
  color: #fff;
}

/* Account Menu (Steam-Authentic Top-Right User Dropdown) */
.acct-wrap {
  position: relative;
}

.acct-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px 0 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  color: var(--text-2);
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.acct-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.acct-avatar {
  width: 24px;
  height: 24px;
  border-radius: 2px;
  background: linear-gradient(135deg, #3c7fb1, #1e4266);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #dff3ff;
  font-weight: 700;
}

.acct-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 280px;
  background: #232b36;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  display: none;
  z-index: 90;
}

.acct-menu.open {
  display: block;
}

.acct-menu-section {
  padding: 6px 14px 4px;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.06em;
}

.acct-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text-2);
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.acct-menu-item:hover {
  background: #334357;
  color: #fff;
}

.acct-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 6px 0;
}

.steam-switch {
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: #3b495a;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.steam-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #cfd9e5;
  transition: transform 0.2s var(--ease);
}

.steam-switch.on {
  background: #5c9e24;
}

.steam-switch.on::after {
  transform: translateX(16px);
  background: #fff;
}

/* ==========================================================================
   2. Iconic Steam Store Gradient Sub-Navbar (Trusted Storefront Strip)
   ========================================================================== */
.store-subbar-wrap {
  padding-top: 22px;
  margin-bottom: 24px;
}

.store-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 0 8px 0 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(62, 103, 150, 0.92) 10%, rgba(58, 120, 177, 0.88) 38%, rgba(19, 43, 98, 0.94) 100%);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.subbar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.subbar-btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #e2ecf6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}

.subbar-btn:hover,
.subbar-btn.active {
  background: linear-gradient(90deg, rgba(102, 192, 244, 0.26), rgba(102, 192, 244, 0.12));
  color: #fff;
}

.subbar-search {
  display: flex;
  align-items: center;
  width: 280px;
  height: 30px;
  border-radius: 3px;
  background: #2c4a66;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.subbar-search input {
  flex: 1;
  height: 100%;
  padding: 0 10px;
  background: transparent;
  border: none;
  font-size: 13px;
  color: #fff;
  outline: none;
}

.subbar-search input::placeholder {
  color: #9ab8d4;
  font-style: italic;
}

.subbar-search button {
  width: 30px;
  height: 30px;
  background: #54a5d4;
  color: #132537;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.subbar-search button:hover {
  background: #77c2ed;
}

/* ==========================================================================
   3. Reusable Steam Components (Price Boxes, Ribbons, Section Headers)
   ========================================================================== */
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.sec-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.sec-more {
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 3px;
  background: rgba(103, 193, 245, 0.14);
  color: var(--sky);
  transition: background 0.16s ease, color 0.16s ease;
}

.sec-more:hover {
  background: var(--sky);
  color: #112131;
}

/* Classic Steam Price Block */
.steam-price {
  display: inline-flex;
  align-items: stretch;
  border-radius: 2px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.sp-disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  background: var(--disc-bg);
  color: var(--disc-text);
  font-size: 13.5px;
  font-weight: 700;
}

.sp-vals {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 4px 8px;
  background: var(--price-box);
}

.sp-old {
  font-size: 10.5px;
  color: #738895;
  text-decoration: line-through;
  margin-bottom: 2px;
}

.sp-now {
  font-size: 13.5px;
  font-weight: 600;
  color: #d2e4f0;
}

.sp-disc + .sp-vals .sp-now {
  color: #beee11;
}

.sp-member {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 2px;
  background: rgba(102, 192, 244, 0.16);
  color: var(--sky);
  font-size: 12px;
  font-weight: 600;
}

/* Iconic Steam "IN LIBRARY" Ribbon pinned to owned capsules! */
.inlib-ribbon {
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px 3px 8px;
  background: linear-gradient(90deg, #5c7e10, #77a316);
  color: #e9f9c5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  border-radius: 0 2px 2px 0;
}

.r18-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 2px;
  background: rgba(186, 56, 88, 0.25);
  color: #ff9db5;
  font-size: 11px;
  font-weight: 600;
}

/* Steam Primary Green Action Button */
.btn-steam-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 18px;
  border-radius: 3px;
  background: var(--buy-grad);
  color: var(--buy-text);
  font-size: 13.5px;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  transition: filter 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}

.btn-steam-buy:hover {
  background: var(--buy-grad-hover);
  color: #fff;
}

.btn-steam-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  border-radius: 3px;
  background: rgba(103, 193, 245, 0.18);
  color: var(--sky);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.btn-steam-blue:hover {
  background: #4fa6d8;
  color: #fff;
}

.btn-steam-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 15px;
  border-radius: 3px;
  background: #283a4d;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.btn-steam-dark:hover {
  background: #364e68;
  color: #fff;
}

/* ==========================================================================
   4. PAGE 1: STORE HOME — Featured Carousel + Offers + Categories + Tabs
   ========================================================================== */
.home-block {
  margin-bottom: 42px;
}

/* Steam Featured Carousel (Zero 1px borders; matte #0f1922 info slab) */
.carousel-wrap {
  position: relative;
}

.featured-cluster {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(350px, 1fr);
  background: var(--steam-slab-2);
  box-shadow: var(--shadow-lg);
  border-radius: 3px;
  overflow: hidden;
  min-height: 410px;
}

.feat-art-col {
  position: relative;
  background: #091018;
  overflow: hidden;
  cursor: pointer;
}

.feat-art-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s var(--ease);
}

.feat-art-col:hover img {
  transform: scale(1.025);
}

/* Clean Steam-style translucent bottom preview bar on Hero artwork */
.feat-preview-bar {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 3px;
  background: rgba(15, 25, 34, 0.86);
  backdrop-filter: blur(8px);
  color: #e4f2fc;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.48);
  transition: background 0.18s ease;
}

.feat-preview-bar:hover {
  background: #2b5478;
}

.feat-preview-bar .ico {
  color: var(--sky);
}

.feat-info-col {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #131f2c 0%, #0d1620 100%);
}

.feat-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
  line-height: 1.3;
  cursor: pointer;
}

.feat-title:hover {
  color: var(--sky);
}

.feat-voice-line {
  font-size: 12.5px;
  color: var(--sky);
  margin-bottom: 12px;
}

.feat-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 14px;
}

/* Audio Chapter Preview replacing Steam's 4 empty room screenshots */
.feat-chapters {
  background: rgba(8, 14, 20, 0.62);
  border-radius: 3px;
  padding: 8px 10px;
  margin-bottom: 14px;
}

.feat-ch-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--mute);
  padding: 2px 6px 7px;
}

.feat-ch-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 2px;
  font-size: 12.5px;
  color: var(--text-2);
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.feat-ch-row:hover {
  background: rgba(102, 192, 244, 0.12);
  color: #fff;
}

.feat-ch-row.playing {
  background: rgba(102, 192, 244, 0.22);
  color: var(--sky);
  font-weight: 600;
}

.feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.steam-tag {
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--sky-soft);
  color: var(--sky);
  transition: background 0.15s ease, color 0.15s ease;
}

.steam-tag:hover {
  background: var(--sky);
  color: #102030;
}

.feat-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
}

.car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 94px;
  background: linear-gradient(90deg, rgba(14, 22, 33, 0.82), rgba(14, 22, 33, 0.2));
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  transition: background 0.18s ease;
  z-index: 6;
}

.car-arrow:hover {
  background: rgba(102, 192, 244, 0.28);
}

.car-arrow.prev { left: -48px; }
.car-arrow.next { right: -48px; background: linear-gradient(270deg, rgba(14, 22, 33, 0.82), rgba(14, 22, 33, 0.2)); }

.car-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.car-dot {
  width: 18px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.18s ease;
}

.car-dot:hover {
  background: rgba(255, 255, 255, 0.42);
}

.car-dot.active {
  background: rgba(255, 255, 255, 0.72);
}

/* Special Offers — Authentic Steam Blue-Slab Promo Cards */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.offer-card {
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(180deg, #244767 0%, #163049 100%);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.48);
}

.offer-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d1620;
}

.offer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.offer-body {
  padding: 13px 16px 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.offer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #a9d6f4;
  margin-bottom: 3px;
}

.offer-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  text-wrap: balance;
}

.offer-deadline {
  font-size: 11.5px;
  color: #9ec0db;
}

/* Browse by Category — REAL Steam Color Gradient Tiles (ZERO White Stickers!) */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cat-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  text-align: center;
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease;
}

.cat-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

.cat-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.85) brightness(0.75);
  transition: transform 0.45s var(--ease);
}

.cat-tile:hover img {
  transform: scale(1.06);
}

.cat-wash {
  position: absolute;
  inset: 0;
  background: var(--cat-grad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 18px 14px;
}

.cat-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.cat-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 3px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* New & Trending Tabbed Band — Authentic Steam Left List + Sticky Right Preview */
.trending-band {
  background: linear-gradient(180deg, rgba(16, 25, 37, 0.75) 0%, rgba(27, 40, 56, 0) 100%);
  padding: 28px 0 36px;
  margin-bottom: 36px;
}

.steam-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
}

.stab-btn {
  padding: 9px 16px;
  border-radius: 3px 3px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #7ea3c1;
  transition: color 0.15s ease, background 0.15s ease;
}

.stab-btn:hover {
  color: #fff;
}

.stab-btn.active {
  background: #2a475e;
  color: #fff;
}

.trending-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) 390px;
  gap: 14px;
  align-items: start;
}

.tlist-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.trow {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: rgba(15, 24, 35, 0.76);
  padding-right: 16px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.14s ease;
  overflow: hidden;
}

.trow:hover,
.trow.active {
  background: linear-gradient(90deg, #325573 0%, #244058 100%);
}

.trow-thumb {
  position: relative;
  height: 78px;
  overflow: hidden;
  background: #0b121b;
}

.trow-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.trow-title {
  font-size: 15px;
  font-weight: 700;
  color: #edf4fa;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trow-meta {
  font-size: 12px;
  color: #8fa9bf;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.trow.active .trow-meta {
  color: #cde2f3;
}

.trow-inlib-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 2px;
  background: #5c7e10;
  color: #e6fabf;
}

.tpreview-card {
  position: sticky;
  top: 84px;
  background: linear-gradient(180deg, #2b475e 0%, #1c3144 100%);
  border-radius: 3px;
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.tpreview-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.tpreview-review {
  background: rgba(12, 22, 32, 0.55);
  border-radius: 2px;
  padding: 8px 11px;
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 12px;
}

.tpreview-review strong {
  color: var(--sky);
}

.tpreview-img {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}

.tpreview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Home Feature Strips: Membership & Custom ASMR Link Banner */
.promo-dual {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px;
}

.custom-home-banner {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: #132030;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 220px;
}

.custom-home-art {
  position: relative;
}

.custom-home-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-home-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 52%, #132030 100%);
}

.custom-home-copy {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.member-home-banner {
  border-radius: 3px;
  background: linear-gradient(135deg, #203752 0%, #152538 100%);
  box-shadow: var(--shadow-card);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   5. PAGE 2: DEDICATED ASMR CATALOG (#/asmr — User's Exact Left Sidebar Flow)
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--mute);
  margin: 22px 0 12px;
}

.breadcrumb a, .breadcrumb button {
  color: #8fb8d6;
  font-size: 12.5px;
}

.breadcrumb a:hover, .breadcrumb button:hover {
  color: #fff;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.filter-panel {
  background: var(--steam-slab);
  border-radius: 3px;
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.fp-group {
  margin-bottom: 18px;
}

.fp-group:last-child {
  margin-bottom: 0;
}

.fp-title {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: #d6e4f0;
  margin-bottom: 10px;
}

.fp-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 6px;
  border-radius: 2px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
}

.fp-check:hover {
  background: rgba(102, 192, 244, 0.1);
  color: #fff;
}

.fp-check label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex: 1;
}

.fp-check input {
  accent-color: var(--sky);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cat-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.steam-capsule {
  background: var(--steam-slab);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), background 0.2s ease;
}

.steam-capsule:hover {
  transform: translateY(-2px);
  background: var(--steam-card);
}

.cap-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b121b;
}

.cap-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.cap-play-mini {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 2px;
  background: rgba(15, 25, 34, 0.86);
  color: #e4f2fc;
  font-size: 11.5px;
  font-weight: 600;
}

.cap-play-mini:hover {
  background: #2f5c84;
}

.cap-body {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cap-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 5px;
  line-height: 1.35;
}

.cap-meta {
  font-size: 12px;
  color: var(--mute);
  margin-bottom: 12px;
}

.cap-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* ==========================================================================
   6. PAGE 3: DEDICATED STEAM PRODUCT PAGE (#/work/:id) + FULL-PAGE AGE GATE
   ========================================================================== */
.agegate-box {
  max-width: 780px;
  margin: 56px auto;
  background: linear-gradient(180deg, #162231 0%, #101924 100%);
  border-radius: 4px;
  padding: 40px 44px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.agegate-thumb {
  width: 340px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 22px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.agegate-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) brightness(0.45);
  transform: scale(1.1);
}

.agegate-selects {
  display: inline-flex;
  gap: 10px;
  background: #0d151f;
  padding: 16px 22px;
  border-radius: 3px;
  margin: 18px 0 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.agegate-selects select {
  height: 36px;
  padding: 0 12px;
  border-radius: 3px;
  border: none;
  background: #233447;
  color: #fff;
  font-size: 13.5px;
}

.prod-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.prod-h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
}

.prod-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, 1fr);
  gap: 20px;
  background: rgba(13, 21, 31, 0.72);
  padding: 18px;
  border-radius: 3px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.prod-main-img {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  overflow: hidden;
  background: #091018;
  margin-bottom: 12px;
}

.prod-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.prod-audio-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #172535;
  padding: 12px 16px;
  border-radius: 3px;
}

.prod-audio-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: #132130;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prod-spec-table {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 6px 10px;
  font-size: 12.5px;
  margin: 14px 0 16px;
}

.prod-spec-k { color: var(--mute); }
.prod-spec-v { color: var(--text-2); }
.prod-spec-v.hi { color: var(--sky); }

/* Iconic Steam Full-Width Purchase Bar */
.purchase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 3px;
  background: linear-gradient(135deg, #2b445d 0%, #1d3145 100%);
  box-shadow: var(--shadow-card);
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.purchase-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0c141d;
  padding: 5px 6px 5px 10px;
  border-radius: 3px;
}

.prod-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: start;
}

.prod-block {
  margin-bottom: 30px;
}

.prod-block-h {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  padding-bottom: 8px;
  margin: 0 0 14px;
  background: linear-gradient(90deg, rgba(102, 192, 244, 0.28), transparent) left bottom / 100% 1px no-repeat;
}

.prod-sidebar-card {
  background: var(--steam-slab);
  border-radius: 3px;
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}

.sysreq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: rgba(15, 25, 36, 0.65);
  padding: 16px 18px;
  border-radius: 3px;
  font-size: 13px;
  color: var(--text-2);
}

.review-card {
  background: var(--steam-slab);
  border-radius: 3px;
  padding: 16px 18px;
  margin-bottom: 10px;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(15, 24, 34, 0.7);
  border-radius: 2px;
  margin-bottom: 10px;
}

/* ==========================================================================
   7. PAGE 4: DEDICATED CUSTOM ASMR PAGE (#/custom — NO POPUP MODAL!)
   ========================================================================== */
.custom-hero-full {
  display: grid;
  grid-template-columns: 44% 56%;
  background: var(--steam-slab);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 26px;
}

.custom-steps-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.cstep-box {
  background: rgba(11, 18, 28, 0.65);
  padding: 12px;
  border-radius: 3px;
}

.custom-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

.custom-form-card {
  background: var(--steam-slab);
  border-radius: 3px;
  padding: 24px 26px;
  box-shadow: var(--shadow-card);
}

.sform-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}

.sform-input, .sform-select, .sform-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 3px;
  border: none;
  background: #0f1822;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 13.5px;
  margin-bottom: 16px;
  outline: none;
}

.sform-input:focus, .sform-select:focus, .sform-textarea:focus {
  background: #142130;
  box-shadow: inset 0 0 0 1px var(--sky);
}

/* ==========================================================================
   8. PAGE 5: DEDICATED STEAM DESKTOP CLIENT LIBRARY (#/library)
   ========================================================================== */
.lib-client {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  min-height: 760px;
  background: #141c27;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 20px;
}

.lib-left-rail {
  background: #171d25;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
}

.lib-rail-home {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 3px;
  background: #232d3a;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.lib-rail-home:hover,
.lib-rail-home.active {
  background: #2d465e;
  color: #fff;
}

.lib-rail-group {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mute);
  padding: 10px 10px 6px;
}

.lib-rail-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 2px;
  font-size: 13px;
  color: var(--text-2);
  text-align: left;
  transition: background 0.14s ease, color 0.14s ease;
}

.lib-rail-item:hover {
  background: #253344;
  color: #fff;
}

.lib-rail-item.active {
  background: #2f5170;
  color: #fff;
  font-weight: 600;
}

.lib-rail-item.unowned {
  opacity: 0.48;
}

.lib-rail-item.unowned:hover {
  opacity: 0.9;
}

.lib-rail-ico {
  width: 24px;
  height: 24px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.lib-rail-ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Steam Library Shelf View — 2:3 Vertical Box Art Covers! */
.lib-main-pane {
  background: linear-gradient(180deg, #1f2e3f 0%, #151e29 36%, #131b25 100%);
  padding: 26px 30px 34px;
}

.lib-shelf-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-radius: 3px;
  background: rgba(12, 19, 28, 0.65);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.lib-box-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* Iconic Steam 2:3 Vertical Library Poster Box Art */
.lib-box-card {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: #0d141d;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.lib-box-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.72);
}

.lib-box-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.lib-box-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 26, 38, 0.1) 0%, transparent 45%, rgba(10, 16, 24, 0.96) 100%);
  pointer-events: none;
}

.lib-box-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
}

.lib-box-title {
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  margin-bottom: 4px;
  text-wrap: balance;
}

.lib-box-sub {
  font-size: 11.5px;
  color: #b9d3e8;
}

.lib-box-card.missing img {
  filter: grayscale(0.85) brightness(0.45);
}

/* Steam Library Selected Work Detail Stage */
.lib-detail-hero {
  position: relative;
  height: 300px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0;
}

.lib-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.lib-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 24, 34, 0.15) 0%, rgba(16, 24, 34, 0.96) 100%);
}

.lib-detail-titlebar {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  z-index: 2;
}

.lib-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  background: #172330;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.lib-stat-group {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.lib-stat-k {
  font-size: 11px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lib-stat-v {
  font-size: 14px;
  font-weight: 700;
  color: #e4eef7;
  margin-top: 2px;
}

/* ==========================================================================
   9. PAGE 6 & 7: DEDICATED CART & WISHLIST PAGES
   ========================================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) 360px;
  gap: 22px;
  align-items: start;
}

.cart-row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 3px;
  background: var(--steam-slab);
  margin-bottom: 10px;
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   10. Bottom Audio Preview Bar & Steam Achievement Notification
   ========================================================================== */
.audio-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  background: #121a24;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.55);
  transform: translateY(110%);
  transition: transform 0.28s var(--ease);
}

.audio-dock.visible {
  transform: translateY(0);
}

.audio-dock-inner {
  width: var(--wrap);
  margin: 0 auto;
  height: 66px;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(260px, 1.6fr) auto;
  align-items: center;
  gap: 18px;
}

.dock-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}

.dock-bar {
  flex: 1;
  border-radius: 2px;
  background: #2b3e52;
  height: 28%;
  transition: height 0.15s ease, background 0.15s ease;
}

.dock-bar.filled {
  background: var(--sky);
}

/* Classic Steam Bottom-Right Notification Popup */
.steam-notif {
  position: fixed;
  right: 20px;
  bottom: 82px;
  z-index: 120;
  width: 340px;
  background: linear-gradient(180deg, #273647 0%, #1a2430 100%);
  border-radius: 3px;
  box-shadow: var(--shadow-lg);
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s var(--ease);
}

.steam-notif.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.notif-ico {
  width: 42px;
  height: 42px;
  border-radius: 2px;
  background: #5c7e10;
  color: #e9f9c5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   Official Ainomori SiteFooter (Synced with ainomori.tw)
   ========================================================================== */
body {
  padding-bottom: 0;
}

.ft {
  position: relative;
  z-index: 1;
  isolation: isolate;
  margin-top: 92px;
  padding: 0 0 42px;
  color: var(--text);
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(90, 120, 255, 0.16), rgba(7, 10, 26, 0) 70%),
    linear-gradient(180deg, #0b1224 0%, #06091b 60%, #03040f 100%);
}

.ft-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1px 1px at 28% 64%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1.4px 1.4px at 44% 36%, rgba(200, 220, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 58% 78%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1.2px 1.2px at 71% 18%, rgba(255, 240, 200, 0.5), transparent 60%),
    radial-gradient(1px 1px at 86% 52%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1.3px 1.3px at 93% 12%, rgba(200, 220, 255, 0.45), transparent 60%),
    radial-gradient(1px 1px at 6% 82%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1px 1px at 36% 90%, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(1.2px 1.2px at 64% 48%, rgba(255, 255, 255, 0.3), transparent 60%);
}

.ft-titan {
  position: absolute;
  right: max(-120px, -8vw);
  bottom: -18%;
  width: min(620px, 58vw);
  height: auto;
  opacity: 0.22;
  filter: brightness(1.7) saturate(1.2) drop-shadow(0 0 40px rgba(90, 150, 255, 0.45));
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, rgba(0, 0, 0, 0) 92%);
  mask-image: linear-gradient(180deg, #000 30%, rgba(0, 0, 0, 0) 92%);
}

.ft-crest {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(20px, 4vw, 64px);
  transform: translateY(-50%);
}

.ft-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 196, 106, 0), rgba(232, 196, 106, 0.75));
}

.ft-line.r {
  background: linear-gradient(90deg, rgba(232, 196, 106, 0.75), rgba(232, 196, 106, 0));
}

.ft-gem {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #16215c, #080c22 92%);
  border: 1px solid rgba(232, 196, 106, 0.6);
  box-shadow: 0 0 0 6px rgba(8, 12, 34, 0.9), 0 0 40px -6px rgba(90, 160, 255, 0.55);
}

.ft-gem::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(110, 180, 255, 0.35), rgba(110, 180, 255, 0));
  animation: ft-breathe 6s ease-in-out infinite;
}

.ft-gem img {
  position: relative;
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(60, 140, 255, 0.6));
}

@keyframes ft-breathe {
  0%, 100% { opacity: 0.45; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.04); }
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.15fr;
  gap: 44px;
  padding-top: 10px;
}

.ft-logo img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(40, 80, 200, 0.45));
}

.ft-tag {
  margin: 20px 0 0;
  max-width: 34em;
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 2;
  color: rgba(230, 235, 255, 0.8);
  letter-spacing: 0.04em;
}

.ft-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ft-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: rgba(230, 235, 255, 0.68);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.35s, border-color 0.35s, background 0.35s, transform 0.4s var(--ease);
}

.ft-social a:hover {
  color: var(--gold-2);
  border-color: rgba(232, 196, 106, 0.75);
  background: rgba(232, 196, 106, 0.1);
  transform: translateY(-3px);
}

.ft-social svg {
  width: 18px;
  height: 18px;
}

.ft-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ft-col h4 {
  position: relative;
  margin: 6px 0 18px;
  padding-bottom: 12px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--gold);
}

.ft-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.ft-col a,
.ft-col .ft-link-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 14.5px;
  color: rgba(230, 235, 255, 0.68);
  transition: color 0.3s, transform 0.4s var(--ease);
}

.ft-col a::after,
.ft-col .ft-link-btn::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--gold-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.ft-col a:hover,
.ft-col .ft-link-btn:hover {
  color: #fff;
}

.ft-col a:hover::after,
.ft-col .ft-link-btn:hover::after {
  transform: scaleX(1);
}

.ft-g i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
}

.ft-g::after {
  left: 18px !important;
  width: calc(100% - 18px) !important;
}

.ft-more {
  margin-top: 6px;
  color: var(--gold-2) !important;
  font-size: 13.5px !important;
}

.ft-more span {
  transition: transform 0.4s var(--ease);
}

.ft-more:hover span {
  transform: translateX(4px);
}

.ft-mail {
  margin-top: 4px;
  font-size: 12.5px !important;
  color: var(--faint) !important;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 22px;
  position: relative;
}

.ft-bottom::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.16) 20%, rgba(255, 255, 255, 0.16) 80%, rgba(255, 255, 255, 0));
}

.ft-copy {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.ft-made {
  display: inline-block;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-family: var(--serif);
  color: rgba(230, 235, 255, 0.55);
}

.ft-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ft-top {
  all: unset;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--gold-2);
  border: 1px solid rgba(232, 196, 106, 0.55);
  background: rgba(232, 196, 106, 0.06);
  transition: background 0.35s, transform 0.4s var(--ease);
}

.ft-top:hover {
  background: rgba(232, 196, 106, 0.16);
  transform: translateY(-3px);
}

.ft-top svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 980px) {
  .ft-grid { grid-template-columns: 1fr 1fr 1fr; gap: 34px 28px; }
  .ft-about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-grid > nav:last-child { grid-column: 1 / -1; }
  .ft-gem { width: 70px; height: 70px; }
  .ft-gem img { width: 44px; height: 44px; }
  .ft-logo img { width: 180px; }
  .ft-made { display: block; margin: 8px 0 0; padding: 0; border: 0; }
  .ft-bottom { margin-top: 40px; }
  .ft-titan { width: 90vw; right: -30vw; bottom: -6%; opacity: 0.16; }
}

/* Responsive */
@media (max-width: 1120px) {
  .car-arrow.prev { left: 10px; }
  .car-arrow.next { right: 10px; }
  .featured-cluster,
  .prod-hero-split,
  .prod-body-grid,
  .custom-hero-full,
  .custom-lower-grid,
  .promo-dual,
  .trending-grid,
  .cart-layout,
  .lib-client {
    grid-template-columns: 1fr;
  }
  .tpreview-card { display: none; }
  .cat-grid, .lib-box-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers-grid, .cat-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 24px); }
  .offers-grid, .cat-cards-grid, .cat-grid, .custom-steps-4, .footer-grid {
    grid-template-columns: 1fr;
  }
  .subbar-search { width: 100%; }
  .store-subbar { flex-direction: column; align-items: stretch; padding: 6px; }
  .trow { grid-template-columns: 120px minmax(0, 1fr); padding: 8px; }
  .audio-dock-inner { grid-template-columns: 1fr auto; height: auto; padding: 10px 0; }
}
