/*
Theme Name: Infinite Boost Rank Child
Template: hello-elementor
Version: 9.0.0
Text Domain: infinite-boost-rank-child
Description: Unofficial EXVS2 INFINITE BOOST rank site child theme.
*/

/*--------------------------------------------------
  Child-Theme : Hello-Elementor Child   v8.0.0
  2025-06-24  –  最終完成版（タイトル中央揃え・接地調整）
--------------------------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,800&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap");

/* ========= 0. 共通ガード ================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ???????????????????????? */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========= 1. 基本変数（PC表示向け） ===================== */
:root {
  --gap: 8px;
  /* 列内カード間ギャップ */
  --bgap: 12px;
  /* 左右ブロック間ギャップ */
}

/* ========= 2. ???????? =========================== */
/* ???????????? */
#site-header {
  text-align: center;
}

.header-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  column-gap: 8px;
  row-gap: 6px;
  margin-bottom: 6px;
}

.site-title {
  width: 100%;
  padding: 4px 8px;
}

.site-title a {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(17px, 4vw, 26px);
  font-weight: 700;
  line-height: 1.15;
  color: #d22f7b;
  text-decoration: none;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

/* ========= 2.5. ????CTA??? ======================== */
.header-actions {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  margin: 8px auto 12px;
}

.unit-db-button {
  position: relative;
  display: block;
  width: min(92%, 220px);
  min-width: 140px;
  aspect-ratio: 1408 / 768;
  padding: 0;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
  background: #0f2835 url('./images/unit-db-button.png') center / cover no-repeat;
  border: none;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.unit-db-button::before,
.unit-db-button::after {
  content: none;
}

.unit-db-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  filter: saturate(1.08);
}

.unit-db-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.unit-db-icon {
  display: none;
}

.unit-db-text {
  display: none;
}

.unit-db-title {
  display: none;
}

.unit-db-sub {
  display: none;
}

/* ========= 2.6. Home PayPay AD ==================== */
.home-paypay-ad {
  max-width: 1120px;
  margin: 20px auto 24px;
  padding: 0 12px;
}

.home-paypay-ad__heading {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.home-paypay-ad__heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d7dde5;
}

.home-paypay-ad__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-paypay-ad__card {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #ffd2dd;
  background: #fff;
  box-shadow: 0 10px 20px -16px rgba(50, 20, 35, 0.4);
  text-decoration: none;
  color: #212029;
  text-align: left;
  transition: transform .16s ease, box-shadow .16s ease;
}

.home-paypay-ad__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 22px -16px rgba(50, 20, 35, 0.46);
}

.home-paypay-ad__media {
  display: block;
  background: #ff0033;
}

.home-paypay-ad__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.home-paypay-ad__body {
  display: block;
  min-width: 0;
  padding: 8px 8px 10px;
  background: linear-gradient(180deg, #fff7f9 0%, #ffffff 70%);
}

.home-paypay-ad__name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: #2a2a2a;
  min-height: 2.6em;
  overflow: hidden;
}

.home-paypay-ad__price {
  display: block;
  margin-top: 6px;
  color: #e00037;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.home-paypay-ad__shipping {
  display: inline-block;
  margin-top: 6px;
  width: fit-content;
  border-radius: 999px;
  background: #ffe7ef;
  color: #cf0032;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  padding: 3px 7px;
}

/* ========= 3. コスト表ナビ =============================== */
@font-face {
  font-family: "Bebas Neue";
  src: local("Bebas Neue"),
    url(https://fonts.gstatic.com/s/bebasneue/v10/JTUSjIg1_i6t8kCHKm459Wlh.woff2) format("woff2");
  font-display: swap;
}

.cost-table {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  width: 100%;
  /* 上の余白を0にしてタイトルと接地させる */
  margin: 0 auto 24px;
}

.cost-table .row {
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
  flex-wrap: nowrap;
}

.cost-table .label {
  flex: 0 0 50px;
  height: 38px;
  background: #111;
  color: #fff;
  font-size: 18px;
  line-height: 38px;
  text-align: center;
}

.cost-table a {
  flex: 1 0 0;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
  transition: .2s;
}

.cost-table .row:nth-child(1) a {
  background: #6ec6ff;
  color: #000;
}

.cost-table .row:nth-child(1) a:hover {
  background: #0095d5;
  color: #fff;
}

.cost-table .row:nth-child(2) a {
  background: #5c6bc0;
  color: #fff;
}

.cost-table .row:nth-child(2) a:hover {
  background: #283593;
}

.cost-table a:hover {
  transform: translateY(-2px);
  border-color: #fff;
}

/* ========= 4. コスト帯見出し ============================= */
.cost-heading-row {
  position: relative;
  max-width: 1200px;
  margin: 32px auto 24px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cost-heading-ad-link {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 1;
  text-decoration: none;
  color: inherit;
}

.cost-heading-ad-image {
  display: block;
  width: 120px;
  height: 60px;
}

.cost-heading-ad-pixel {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ── 回線速度ランク比較 広告バー（コストバー同等高さ・長方形プレミアム） ── */
@keyframes rankBarFillS {
  from {
    width: 0;
  }

  to {
    width: 95%;
  }
}

@keyframes rankBarFillC {
  from {
    width: 0;
  }

  to {
    width: 35%;
  }
}

@keyframes rankShimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.line-rank-ad {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  gap: 8px;
  box-sizing: border-box;
  height: auto;
  width: auto;
  padding: 2px 2px 2px 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #0a1120 0%, #112240 100%);
  border: 1px solid rgba(255, 200, 60, 0.25);
  box-shadow: 0 4px 12px rgba(10, 24, 52, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.line-rank-ad:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 200, 60, 0.6);
  box-shadow: 0 6px 16px rgba(10, 24, 52, 0.6), 0 0 15px rgba(255, 200, 60, 0.15);
}

.line-rank-ad__badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.3);
  flex-shrink: 0;
}

.line-rank-ad__banner {
  display: block;
  height: 32px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.line-rank-ad__row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
}

.line-rank-ad__vs {
  font-size: 9px;
  font-weight: 900;
  font-style: italic;
  color: rgba(255, 255, 255, 0.3);
  padding: 0 2px;
  flex-shrink: 0;
}

.line-rank-ad__label-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.line-rank-ad__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}

.line-rank-ad__row.is-s .line-rank-ad__rank {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #1a0f00;
  box-shadow: 0 1px 4px rgba(255, 200, 0, 0.4);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.line-rank-ad__row.is-c .line-rank-ad__rank {
  background: linear-gradient(135deg, #64748b, #334155);
  color: #fff;
}

.line-rank-ad__name {
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.line-rank-ad__row.is-s .line-rank-ad__name {
  color: #fff;
}

.line-rank-ad__row.is-c .line-rank-ad__name {
  color: rgba(255, 255, 255, 0.4);
  /* "あなたの回線" is long, hide it on tight layout, showing just C + Bar is intuitive enough */
  display: none;
}

.line-rank-ad__bar {
  width: 36px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  flex-shrink: 0;
}

.line-rank-ad__bar-fill {
  display: block;
  height: 100%;
  border-radius: 99px;
}

.line-rank-ad__bar-fill.is-s-fill {
  width: 95%;
  background: linear-gradient(90deg, #ffc800, #ff8c00);
  background-size: 200% 100%;
  animation: rankBarFillS .8s ease-out both, rankShimmer 2.4s linear .8s infinite;
}

.line-rank-ad__bar-fill.is-c-fill {
  width: 35%;
  background: linear-gradient(90deg, #5a6a80, #3d4d60);
  animation: rankBarFillC .8s ease-out both;
}

.line-rank-ad__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 32px;
  padding: 0 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ffc800, #ff9500);
  font-size: 11px;
  font-weight: 800;
  color: #1a0f00;
  letter-spacing: 0.04em;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.line-rank-ad:hover .line-rank-ad__cta {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.line-rank-ad__arrow {
  display: inline-block;
  transition: transform .15s ease;
}

.line-rank-ad:hover .line-rank-ad__arrow {
  transform: translateX(3px);
}

.cost-heading {
  width: max-content;
  margin: 32px auto 24px;
  padding: 6px 24px;
  background: #c7effb;
  border: 3px solid #000;
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
}

.cost-heading-row .cost-heading {
  margin: 0 !important;
  width: auto !important;
  display: inline-block !important;
  max-width: none;
  flex: 0 1 auto !important;
  text-align: center;
  white-space: nowrap !important;
}

/* ========= 5. ランク表テーブル =========================== */
.unit-rank-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0 20px;
}

.unit-rank-table th,
.unit-rank-table td {
  padding: 0;
  border-style: solid;
  border-width: 8px;
}

.unit-rank-table th {
  width: 64px;
  font-size: 2rem;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  border-right: none;
}

.unit-rank-table td {
  border-left: none;
}

/* ──── ランク枠色 ──── */
.unit-rank-table th.rank-S,
.unit-rank-table td.rank-S {
  border-color: #7B1FA2;
  color: #7B1FA2;
}

.unit-rank-table th.rank-A,
.unit-rank-table td.rank-A {
  border-color: #e63946;
  color: #e63946;
}

.unit-rank-table th.rank-B,
.unit-rank-table td.rank-B {
  border-color: #457b9d;
  color: #457b9d;
}

.unit-rank-table th.rank-C,
.unit-rank-table td.rank-C {
  border-color: #2a9d8f;
  color: #2a9d8f;
}

.unit-rank-table th.rank-D,
.unit-rank-table td.rank-D {
  border-color: #8d99ae;
  color: #8d99ae;
}

/* ========= 6. 3ブロック x 複数カードのグリッドレイアウト ========= */
.unit-cards {
  display: grid;
  grid-template-columns: 2fr 3fr 2fr;
  gap: var(--bgap);
  padding: var(--bgap);
  align-items: start;
}

.unit-block {
  display: grid;
  gap: var(--gap);
  min-width: 0;
}

.block-left,
.block-right {
  grid-template-columns: repeat(2, 1fr);
}

.block-center {
  grid-template-columns: repeat(3, 1fr);
}

.unit-card {
  width: 100%;
  overflow: hidden;
  text-align: center;
}

.unit-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.unit-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.unit-name {
  display: none !important;
}

/* ========= 7. ちょっとした演出 =========================== */
.drag-ghost {
  opacity: .4;
}

/* ========= 8. rank-wrapper ============================= */
.rank-wrapper {
  width: 100%;
}

/* ========= 9. 空の列にドロップ先を明示 =================== */
.unit-block.is-empty {
  min-height: 90px;
  border: 2px dashed #ddd;
  border-radius: 8px;
  align-self: stretch;
}

/* ==========================================================
   10. スマホ向けレイアウト最終調整 (768px以下)
   ========================================================== */
@media (max-width: 768px) {

  /* (1) 全体的な間隔を詰める */
  :root {
    --gap: 4px;
    --bgap: 4px;
  }

  /* (2) コスト表の左右の余白をなくし、タイトルに近付ける */
  .cost-table {
    padding-left: 4px;
    padding-right: 4px;
    margin-top: 4px;
    margin-bottom: 0;
  }

  /* (3) コスト見出しを小さく、上下の要素と接地させる */
  .cost-heading {
    margin-top: 16px;
    margin-bottom: 8px;
    padding: 4px 16px;
    font-size: 20px;
    border-width: 2px;
  }

  .cost-heading-row {
    margin-top: 16px;
    margin-bottom: 8px;
    padding: 0 8px;
    gap: 8px;
  }

  .cost-heading-row .cost-heading {
    margin: 0 !important;
    padding: 4px 10px;
    font-size: 18px;
    border-width: 2px;
    width: auto !important;
    display: inline-block !important;
    max-width: none;
    flex: 0 1 auto !important;
    white-space: nowrap !important;
  }

  .line-rank-ad {
    height: auto;
    gap: 4px;
    padding: 0 4px 0 6px;
    border-radius: 5px;
  }

  .line-rank-ad__badge {
    font-size: 8px;
  }

  .line-rank-ad__banner {
    height: 24px;
  }

  .line-rank-ad__label-group {
    gap: 2px;
  }

  .line-rank-ad__row {
    gap: 3px;
  }

  .line-rank-ad__rank {
    width: 14px;
    height: 14px;
    font-size: 9px;
    border-radius: 3px;
  }

  .line-rank-ad__name {
    font-size: 8px;
  }

  .line-rank-ad__bar {
    width: 24px;
    height: 4px;
  }

  .line-rank-ad__vs {
    font-size: 7px;
  }

  .line-rank-ad__cta {
    height: 26px;
    padding: 0 6px;
    font-size: 9px;
    border-radius: 3px;
  }

  .cost-heading-ad-image {
    width: 96px;
    height: 48px;
  }

  /* (4) ランク表の枠線を細くし、ランク間の隙間を詰める */
  .unit-rank-table {
    border-spacing: 0 8px;
  }

  .unit-rank-table th,
  .unit-rank-table td {
    border-width: 4px;
  }

  .unit-rank-table th {
    width: 32px;
    font-size: 1.5rem;
  }

  /* (5) カードエリアの余白を調整 */
  .unit-cards {
    padding: 8px 4px;
  }

  .header-actions {
    margin: 8px auto 10px;
    padding: 0 8px;
  }

  .unit-db-button {
    width: min(84%, 180px);
    min-width: 130px;
    padding: 0;
  }

  .unit-db-icon {
    display: none;
  }

  .home-paypay-ad {
    margin: 14px auto 16px;
    padding: 0 8px;
  }

  .home-paypay-ad__heading {
    margin-bottom: 8px;
    font-size: 11px;
    gap: 8px;
  }

  .home-paypay-ad__grid {
    gap: 6px;
  }

  .home-paypay-ad__card {
    border-radius: 10px;
  }

  .home-paypay-ad__body {
    padding: 6px 6px 7px;
  }

  .home-paypay-ad__name {
    font-size: 10px;
    line-height: 1.3;
    min-height: 2.5em;
  }

  .home-paypay-ad__price {
    margin-top: 4px;
    font-size: 14px;
  }

  .home-paypay-ad__shipping {
    margin-top: 4px;
    font-size: 9px;
    padding: 2px 5px;
  }

}

/* ========= SDカード広告 (Yahoo!フリマ風) ==================== */
.sdcard-ad {
  color-scheme: only light;
  --bg: #fff4f7;
  --bg-accent: #ffe0e8;
  --bg-mint: #ffeccf;
  --ink: #2b1b22;
  --muted: #6f515b;
  --accent: #f72e52;
  --accent-2: #ff8aa0;
  --card: #ffffff;
  --ring: rgba(247, 46, 82, 0.45);
  --shadow: rgba(43, 27, 34, 0.18);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  margin: 28px auto 36px;
  max-width: 1120px;
  padding: 0 12px;
}

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

.sdcard-ad__frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(30, 26, 22, 0.08);
  background: #fff;
  box-shadow: 0 18px 36px -28px rgba(43, 27, 34, 0.35);
}

.sdcard-ad__label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(43, 27, 34, 0.08);
}

.sdcard-ad__wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 8% 10%, rgba(255, 224, 232, 0.85), transparent 60%),
    radial-gradient(740px 520px at 92% 18%, rgba(255, 236, 207, 0.7), transparent 60%),
    linear-gradient(140deg, var(--bg), #fff1f5 55%, #fff7ef);
}

.sdcard-ad__wrap::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(247, 46, 82, 0.2) 0%, transparent 68%);
  filter: blur(10px);
  z-index: 0;
}

.sdcard-ad__wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0) 45%,
      rgba(255, 255, 255, 0.16) 100%),
    repeating-linear-gradient(45deg,
      rgba(43, 27, 34, 0.025),
      rgba(43, 27, 34, 0.025) 1px,
      transparent 1px,
      transparent 6px);
  pointer-events: none;
  z-index: 0;
}

.sdcard-ad__shell {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 40px;
}

.sdcard-ad .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

.sdcard-ad .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(247, 46, 82, 0.12);
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
}

.sdcard-ad .hero h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  margin: 12px 0 12px;
}

.sdcard-ad .hero h2 span {
  display: block;
  font-family: "Zen Kaku Gothic New", "Zen Maru Gothic", sans-serif;
  font-size: clamp(16px, 2.1vw, 22px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.sdcard-ad .hero p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.sdcard-ad .hero-card {
  background: var(--card);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 16px 30px -20px var(--shadow);
  border: 1px solid rgba(30, 26, 22, 0.08);
}

.sdcard-ad .seller-group {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.sdcard-ad .seller-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--muted);
}

.sdcard-ad .seller-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sdcard-ad .seller-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(247, 46, 82, 0.18);
  color: var(--ink);
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  box-shadow: 0 10px 18px -16px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sdcard-ad .seller-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -18px var(--shadow);
}

.sdcard-ad .seller-link img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #fff;
  object-fit: cover;
}

.sdcard-ad .seller-link span {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sdcard-ad .stats {
  display: grid;
  gap: 12px;
}

.sdcard-ad .stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(247, 46, 82, 0.08);
  font-size: 14px;
  font-weight: 600;
}

.sdcard-ad .stat-value {
  font-family: "Fraunces", serif;
  font-size: 20px;
  color: var(--accent);
}

.sdcard-ad .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.sdcard-ad .card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
  border: 1px solid rgba(30, 26, 22, 0.08);
  box-shadow: 0 18px 36px -26px var(--shadow);
  transform: translateY(6px);
  opacity: 0;
  animation: sdcard-rise 0.6s ease forwards;
  animation-delay: var(--delay, 0s);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sdcard-ad .card:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.sdcard-ad .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -26px var(--shadow);
}

.sdcard-ad .card[data-status="SOLD"] {
  filter: grayscale(0.2);
}

.sdcard-ad .card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.sdcard-ad .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.sdcard-ad .card:hover .card-image {
  transform: scale(1.06);
}

.sdcard-ad .card-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sdcard-ad .card-avatar {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 12px -8px var(--shadow);
  object-fit: cover;
  background: #fff;
}

.sdcard-ad .status-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
}

.sdcard-ad .card[data-status="OPEN"] .status-pill {
  background: rgba(247, 46, 82, 0.9);
  color: #fff;
}

.sdcard-ad .card-body {
  padding: 16px 18px 20px;
  display: grid;
  gap: 10px;
}

.sdcard-ad .card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  min-height: 2.6em;
}

.sdcard-ad .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.sdcard-ad .price {
  font-family: "Fraunces", serif;
  font-size: 18px;
  color: var(--accent);
}

.sdcard-ad .cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sdcard-ad .note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .sdcard-ad .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sdcard-ad__shell {
    padding: 24px 18px 32px;
  }

  .sdcard-ad .hero-card {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sdcard-ad .card {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sdcard-ad .card-image,
  .sdcard-ad .seller-link {
    transition: none;
  }
}

@keyframes sdcard-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========= Comments ================================ */
.site-comments-wrap {
  max-width: 1120px;
  margin: 40px auto;
  padding: 20px 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.site-comments {
  font-family: "Zen Kaku Gothic New", "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #1f1d22;
}

.site-comments__title {
  margin: 0 0 16px;
  font-size: 20px;
}

.comment-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.site-comment {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fafafa;
}

.site-comment__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: #6b6b73;
}

.site-comment__author {
  font-weight: 700;
  color: #1f1d22;
}

.site-comment__date {
  font-size: 12px;
}

.site-comment__content {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.site-comment__reply {
  margin-top: 10px;
}

.site-comment__reply a {
  font-size: 12px;
  font-weight: 700;
  color: #d22f7b;
  text-decoration: none;
}

.comment-empty {
  margin: 0 0 24px;
  color: #6b6b73;
  font-size: 14px;
}

.comment-form {
  display: grid;
  gap: 12px;
}

.comment-form label {
  font-size: 12px;
  font-weight: 700;
  color: #6b6b73;
  display: block;
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}

.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.comment-form .form-submit {
  margin: 0;
}

.comment-form .submit {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  background: #d22f7b;
  color: #fff;
  cursor: pointer;
}

.comment-navigation {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 12px;
}

.comment-navigation a {
  color: #d22f7b;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 640px) {
  .site-comments-wrap {
    margin: 28px auto;
    padding: 16px 10px;
  }
}

/* ========= Infinite Boost Theme Layer ======================= */
body {
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(0, 214, 255, 0.14), transparent 58%),
    radial-gradient(900px 520px at 90% 10%, rgba(255, 166, 0, 0.12), transparent 60%),
    linear-gradient(180deg, #050b14 0%, #07111f 38%, #09192d 100%);
  color: #e8f3ff;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", sans-serif;
}

.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 12px 0;
}

.header-top {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  align-items: stretch;
  gap: 14px;
  margin-bottom: 18px;
}

.site-title--boost {
  padding: 0;
}

.site-title--boost a {
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 18px 22px;
  min-height: 120px;
  text-align: left;
  color: #f5fbff;
  text-decoration: none;
  border: 1px solid rgba(123, 230, 255, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(7, 20, 35, 0.94), rgba(11, 33, 57, 0.94)),
    linear-gradient(90deg, rgba(123, 230, 255, 0.18), transparent 45%);
  box-shadow: 0 28px 48px -36px rgba(0, 0, 0, 0.8);
}

.site-title__eyebrow {
  font-family: "Oxanium", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #7be6ff;
  text-transform: uppercase;
}

.site-title__main {
  display: block;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
}

.header-actions {
  justify-content: stretch;
  margin: 0;
}

.unit-db-button {
  width: 100%;
  min-width: 0;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 157, 0, 0.18), rgba(255, 98, 0, 0.08)),
    linear-gradient(140deg, rgba(9, 22, 38, 0.98), rgba(14, 38, 62, 0.92));
  border: 1px solid rgba(255, 191, 71, 0.28);
  box-shadow: 0 28px 48px -34px rgba(0, 0, 0, 0.85);
}

.unit-db-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 52px -34px rgba(0, 0, 0, 0.92);
  filter: none;
}

.unit-db-text,
.unit-db-title,
.unit-db-sub {
  display: block;
}

.unit-db-text {
  display: grid;
  gap: 4px;
  text-align: left;
}

.unit-db-kicker {
  font-family: "Oxanium", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #ffb347;
  text-transform: uppercase;
}

.unit-db-title {
  font-family: "Oxanium", sans-serif;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff7e5;
}

.unit-db-sub {
  font-size: 13px;
  font-weight: 600;
  color: #c7d7e8;
}

.boost-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 18px;
  margin-bottom: 20px;
}

.boost-hero__copy,
.boost-hero__panel {
  border-radius: 28px;
  border: 1px solid rgba(123, 230, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(6, 18, 31, 0.96), rgba(9, 27, 46, 0.94));
  box-shadow: 0 28px 50px -38px rgba(0, 0, 0, 0.8);
}

.boost-hero__copy {
  padding: 26px 28px 28px;
}

.boost-hero__eyebrow {
  margin: 0 0 12px;
  font-family: "Oxanium", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #7be6ff;
  text-transform: uppercase;
}

.boost-hero__title {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.98;
  letter-spacing: 0.03em;
  color: #f6fbff;
}

.boost-hero__title span {
  color: #ffb347;
}

.boost-hero__lead {
  margin: 18px 0 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.8;
  color: #adc2d7;
}

.boost-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.boost-stat {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.boost-stat__label {
  display: block;
  margin-bottom: 6px;
  font-family: "Oxanium", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #78dfff;
  text-transform: uppercase;
}

.boost-stat strong {
  font-family: "Oxanium", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}

.boost-hero__panel {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.boost-hero__panel::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -15%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 230, 255, 0.18), transparent 68%);
}

.boost-hero__panel-line {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(123, 230, 255, 0.14);
}

.boost-hero__panel-label {
  font-family: "Oxanium", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7be6ff;
}

.boost-hero__panel-line strong {
  font-size: 20px;
  color: #fff4de;
}

.boost-cost-table {
  margin-bottom: 24px;
}

.boost-cost-table .row {
  gap: 6px;
}

.boost-cost-table .label {
  flex-basis: 82px;
  height: 42px;
  border-radius: 12px;
  background: #0c1b2e;
  font-family: "Oxanium", sans-serif;
  font-size: 14px;
  line-height: 42px;
  letter-spacing: 0.12em;
  color: #7be6ff;
}

.boost-cost-table a {
  height: 42px;
  border-radius: 12px;
  font-family: "Oxanium", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.boost-cost-table .row:nth-child(1) a {
  background: linear-gradient(180deg, #0c2742 0%, #123c61 100%);
  color: #f4fbff;
}

.boost-cost-table .row:nth-child(2) a {
  background: linear-gradient(180deg, #171f4a 0%, #24467c 100%);
  color: #f8fbff;
}

.boost-cost-table a:hover {
  border-color: rgba(123, 230, 255, 0.35);
}

.boost-pickup {
  margin-bottom: 24px;
}

.boost-pickup__heading {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 0 4px;
}

.boost-pickup__eyebrow {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #7be6ff;
  text-transform: uppercase;
}

.boost-pickup__title {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #f5fbff;
}

.boost-pickup__lead {
  margin: 0;
  max-width: 720px;
  color: #9fb6cb;
  font-size: 14px;
  line-height: 1.7;
}

.boost-pickup > .env-pickup-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.random-unit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.boost-random-unit-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8, 20, 35, 0.98), rgba(10, 28, 48, 0.96));
  border: 1px solid rgba(123, 230, 255, 0.15);
  box-shadow: 0 24px 38px -30px rgba(0, 0, 0, 0.9);
}

.boost-random-unit-card .random-unit-aspect {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(255, 179, 71, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(8, 19, 32, 0.3), rgba(6, 12, 21, 0.1));
}

.boost-random-unit-card .thumb,
.boost-random-unit-card img {
  width: 100%;
  display: block;
}

.boost-random-unit-card__chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 0;
}

.boost-random-unit-card__chip .chip-cost {
  font-family: "Oxanium", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.boost-random-unit-card__chip .chip-rank,
.boost-random-unit-card__chip .chip-env {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-family: "Oxanium", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.boost-random-unit-card__chip .chip-rank {
  background: rgba(255, 179, 71, 0.16);
  color: #ffbf5f;
}

.boost-random-unit-card__chip .chip-env {
  background: rgba(123, 230, 255, 0.12);
  color: transparent;
  position: relative;
}

.boost-random-unit-card__chip .chip-env::before {
  content: "GROUND";
  color: #7be6ff;
}

.boost-random-unit-card__body {
  display: grid;
  gap: 8px;
  padding: 12px 16px 16px;
}

.boost-random-unit-card__role {
  font-family: "Oxanium", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #7be6ff;
}

.boost-random-unit-card__note {
  margin: 0;
  min-height: 3.4em;
  font-size: 13px;
  line-height: 1.6;
  color: #a3b6ca;
}

.random-unit-placeholder {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 220px;
  color: #f5fbff;
  text-align: center;
}

.random-unit-placeholder span {
  font-family: "Oxanium", sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.random-unit-placeholder small {
  font-size: 0;
}

.random-unit-placeholder small::before {
  content: "ARCHIVE PENDING";
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #7be6ff;
}

.home-feature-deck {
  margin: 20px auto 32px;
}

.home-feature-deck .home-paypay-ad__heading {
  color: #7be6ff;
}

.home-feature-deck .home-paypay-ad__heading::after {
  background: linear-gradient(90deg, rgba(123, 230, 255, 0.5), rgba(123, 230, 255, 0));
}

.home-feature-deck .home-paypay-ad__grid {
  gap: 12px;
}

.home-paypay-ad__card.home-feature-card {
  display: grid;
  gap: 10px;
  min-height: 188px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(123, 230, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(9, 22, 38, 0.96), rgba(10, 29, 48, 0.92));
  color: #eef7ff;
  box-shadow: 0 22px 36px -28px rgba(0, 0, 0, 0.85);
}

.home-paypay-ad__card.home-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 44px -28px rgba(0, 0, 0, 0.92);
}

.home-feature-card__eyebrow {
  font-family: "Oxanium", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #7be6ff;
  text-transform: uppercase;
}

.home-feature-card__title {
  font-family: "Oxanium", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.home-feature-card__copy {
  font-size: 13px;
  line-height: 1.7;
  color: #9fb4c9;
}

.home-feature-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 179, 71, 0.14);
  color: #ffbf5f;
  font-family: "Oxanium", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sdcard-ad {
  --bg: #081320;
  --bg-accent: rgba(123, 230, 255, 0.12);
  --bg-mint: rgba(255, 179, 71, 0.12);
  --ink: #f5fbff;
  --muted: #9fb6cb;
  --accent: #7be6ff;
  --accent-2: #ffb347;
  --card: rgba(8, 20, 34, 0.94);
  --ring: rgba(123, 230, 255, 0.45);
  --shadow: rgba(0, 0, 0, 0.45);
}

.sdcard-ad__frame {
  border-radius: 28px;
  border: 1px solid rgba(123, 230, 255, 0.14);
  background: rgba(5, 12, 22, 0.96);
}

.sdcard-ad__label {
  color: #7be6ff;
  background: rgba(9, 21, 37, 0.82);
  border-color: rgba(123, 230, 255, 0.18);
}

.sdcard-ad__wrap {
  background:
    radial-gradient(760px 440px at 6% 0%, rgba(123, 230, 255, 0.18), transparent 58%),
    radial-gradient(760px 460px at 96% 10%, rgba(255, 179, 71, 0.14), transparent 60%),
    linear-gradient(140deg, #06111d, #0b1828 55%, #0c1f33);
}

.sdcard-ad__wrap::after {
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0.08) 100%),
    repeating-linear-gradient(135deg, rgba(123, 230, 255, 0.05), rgba(123, 230, 255, 0.05) 1px, transparent 1px, transparent 18px);
}

.sdcard-ad .eyebrow {
  background: rgba(123, 230, 255, 0.12);
  color: #7be6ff;
}

.sdcard-ad .hero h2 {
  font-family: "Oxanium", sans-serif;
  color: #f8fbff;
}

.sdcard-ad .hero h2 span {
  color: #ffb347;
}

.sdcard-ad .hero-card,
.sdcard-ad .card,
.sdcard-ad .seller-link {
  background: rgba(8, 20, 34, 0.9);
  border-color: rgba(123, 230, 255, 0.12);
}

.sdcard-ad .seller-link {
  box-shadow: none;
}

.seller-link__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #7be6ff, #00a6d6);
  box-shadow: 0 0 12px rgba(123, 230, 255, 0.55);
}

.sdcard-ad .stat {
  background: rgba(255, 255, 255, 0.04);
}

.sdcard-ad .stat-value,
.sdcard-ad .price,
.sdcard-ad .cta {
  font-family: "Oxanium", sans-serif;
}

.sdcard-ad .card-media {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(123, 230, 255, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(9, 21, 36, 0.98), rgba(11, 30, 50, 0.98));
}

.sdcard-ad .card-glyph {
  position: relative;
  z-index: 1;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f7fbff;
  text-shadow: 0 0 24px rgba(123, 230, 255, 0.22);
}

.sdcard-ad .status-pill {
  background: rgba(123, 230, 255, 0.14);
  color: #7be6ff;
}

.sdcard-ad .card-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.sdcard-ad .price {
  color: #7be6ff;
}

.sdcard-ad .cta {
  color: #ffbf5f;
}

.site-disclaimer {
  color: #8da3bb !important;
}

@media (max-width: 900px) {
  .boost-hero,
  .random-unit-grid {
    grid-template-columns: 1fr;
  }

  .boost-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 18px 10px 0;
  }

  .header-top {
    grid-template-columns: 1fr;
  }

  .site-title--boost a,
  .unit-db-button,
  .boost-hero__copy,
  .boost-hero__panel {
    border-radius: 22px;
  }

  .boost-hero__copy {
    padding: 20px 18px 22px;
  }

  .boost-hero__panel {
    padding: 16px;
  }

  .boost-hero__stats {
    grid-template-columns: 1fr;
  }

  .random-unit-grid {
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .boost-cost-table .label {
    flex-basis: 72px;
    font-size: 12px;
  }

  .boost-cost-table a {
    font-size: 15px;
  }

  .home-feature-deck .home-paypay-ad__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-paypay-ad__card.home-feature-card {
    min-height: 160px;
    padding: 14px;
  }

  .home-feature-card__title {
    font-size: 22px;
  }

  .sdcard-ad__shell {
    padding: 22px 16px 28px;
  }
}

/* ========= Infinite Boost rank site ======================== */
body {
  background:
    radial-gradient(circle at 12% 12%, rgba(15, 224, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(255, 196, 64, 0.16), transparent 26rem),
    linear-gradient(180deg, #050914 0%, #081423 42%, #05070d 100%);
  color: #eaf6ff;
}

.site-main {
  position: relative;
  z-index: 1;
}

.ib-rank-site {
  padding: 18px 16px 70px;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", sans-serif;
}

.ib-rank-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.ib-rank-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid rgba(125, 230, 255, 0.28);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(10, 28, 50, 0.92), rgba(8, 12, 24, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 46px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ib-rank-intro::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 58%;
  width: 460px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.26), transparent 68%);
  filter: blur(4px);
  pointer-events: none;
}

.ib-rank-intro__kicker,
.ib-cost-panel__eyebrow {
  margin: 0 0 10px;
  color: #7be6ff;
  font-family: "Oxanium", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ib-rank-intro__title {
  position: relative;
  margin: 0;
  color: #fff;
  font-family: "Oxanium", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(38px, 8vw, 94px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.ib-rank-intro__lead {
  position: relative;
  width: min(760px, 100%);
  margin: 20px 0 0;
  color: #bed3e7;
  font-size: clamp(14px, 2.2vw, 17px);
  line-height: 1.9;
}

.ib-rank-intro__meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.ib-rank-intro__meta span,
.ib-cost-panel__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(125, 230, 255, 0.28);
  border-radius: 999px;
  background: rgba(125, 230, 255, 0.08);
  color: #d9f8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ib-cost-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(3, 8, 18, 0.82);
  backdrop-filter: blur(14px);
}

.ib-cost-tab {
  display: grid;
  gap: 2px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(125, 230, 255, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(12, 34, 59, 0.92), rgba(5, 12, 24, 0.92));
  color: #a9bdd3;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, transform .18s ease, background .18s ease;
}

.ib-cost-tab span {
  font-family: "Oxanium", sans-serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  line-height: 1;
}

.ib-cost-tab small {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ib-cost-tab:hover,
.ib-cost-tab.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 213, 89, 0.72);
  background: linear-gradient(135deg, rgba(255, 213, 89, 0.22), rgba(20, 66, 104, 0.95));
  color: #fff;
}

.ib-cost-panel {
  display: grid;
  gap: 18px;
}

.ib-cost-panel[hidden] {
  display: none;
}

.ib-cost-panel__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border: 1px solid rgba(125, 230, 255, 0.18);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(8, 23, 42, 0.9), rgba(4, 10, 20, 0.92));
}

.ib-cost-panel__header h3 {
  margin: 0;
  color: #fff;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(32px, 7vw, 76px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.ib-cost-panel__header p {
  max-width: 760px;
  margin: 12px 0 0;
  color: #bed3e7;
  line-height: 1.8;
}

.ib-cost-panel__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 200px;
}

.ib-tier-board {
  display: grid;
  gap: 14px;
}

.ib-tier-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(5, 12, 24, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.ib-tier-label {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  min-height: 150px;
  padding: 16px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.ib-tier-label strong {
  font-family: "Oxanium", sans-serif;
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 900;
  line-height: 0.9;
}

.ib-tier-label span {
  color: #9eb4c9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ib-tier-row--s .ib-tier-label strong {
  color: #ffe66d;
  text-shadow: 0 0 26px rgba(255, 230, 109, 0.42);
}

.ib-tier-row--aplus .ib-tier-label strong {
  color: #ff8d63;
}

.ib-tier-row--a .ib-tier-label strong {
  color: #64e6ff;
}

.ib-tier-row--b .ib-tier-label strong {
  color: #97ffb9;
}

.ib-tier-row--c .ib-tier-label strong {
  color: #b5c1d1;
}

.ib-tier-units {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 10px;
  padding: 14px;
}

.ib-unit-card {
  position: relative;
  display: grid;
  grid-template-rows: 96px 1fr;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid hsla(var(--unit-hue), 90%, 66%, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(180deg, hsla(var(--unit-hue), 80%, 42%, 0.24), rgba(5, 12, 24, 0.96)),
    #071321;
  color: #edf9ff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ib-unit-card:hover {
  transform: translateY(-4px);
  border-color: hsla(var(--unit-hue), 90%, 72%, 0.78);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28), 0 0 0 1px hsla(var(--unit-hue), 90%, 72%, 0.16);
  color: #fff;
}

.ib-unit-card__art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, hsla(var(--unit-hue), 100%, 70%, 0.46), transparent 62%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent);
}

.ib-unit-card__art::after {
  content: "";
  position: absolute;
  inset: auto -20% -52% -20%;
  height: 76%;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 2px, transparent 2px 16px);
  transform: rotate(-7deg);
}

.ib-unit-card__art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ib-unit-card__fallback {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 22px;
  background: rgba(2, 8, 16, 0.48);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  line-height: 1.05;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.ib-unit-card__body {
  display: grid;
  gap: 8px;
  padding: 12px 12px 14px;
}

.ib-unit-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ib-unit-card__meta span {
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #b9cee1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.ib-unit-card__name {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.ib-unit-card__note {
  color: #adc2d5;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.ib-rank-note {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  color: #a9bdd3;
  font-size: 13px;
  line-height: 1.8;
}

.ib-rank-note p {
  margin: 0;
}

.ib-rank-note p + p {
  margin-top: 8px;
}

.ib-rank-note a {
  color: #7be6ff;
  font-weight: 800;
}

.ib-rank-note code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
}

@media (max-width: 860px) {
  .ib-cost-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }

  .ib-cost-panel__header {
    display: grid;
  }

  .ib-cost-panel__badges {
    justify-content: flex-start;
  }

  .ib-tier-row {
    grid-template-columns: 1fr;
  }

  .ib-tier-label {
    min-height: auto;
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 12px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 560px) {
  .ib-rank-site {
    padding: 12px 10px 48px;
  }

  .ib-rank-intro,
  .ib-cost-panel__header {
    border-radius: 22px;
    padding: 18px;
  }

  .ib-cost-tabs {
    gap: 6px;
    padding: 6px;
    border-radius: 18px;
  }

  .ib-cost-tab {
    min-height: 54px;
    padding: 8px;
    border-radius: 12px;
  }

  .ib-tier-units {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
  }

  .ib-unit-card {
    grid-template-rows: 82px 1fr;
    min-height: 214px;
    border-radius: 14px;
  }

  .ib-unit-card__fallback {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    font-size: 15px;
  }

  .ib-unit-card__body {
    padding: 10px;
  }

  .ib-unit-card__name {
    font-size: 12px;
  }

  .ib-unit-card__note {
    font-size: 11px;
  }
}

/* ========= Static Infinite Boost rank site ================== */
.ib-static-page {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(19, 22, 31, 0.96), rgba(9, 11, 16, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 44px);
  color: #eef3f7;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", "Meiryo", sans-serif;
}

.ib-static-page a {
  color: inherit;
}

.ib-static-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 14, 20, 0.94);
  backdrop-filter: blur(12px);
}

.ib-brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.ib-brand span,
.ib-kicker,
.ib-density button,
.ib-cost-tabs button small,
.ib-unit-card__meta span {
  font-family: "Oxanium", "Zen Kaku Gothic New", sans-serif;
}

.ib-brand span {
  color: #5fd3ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ib-brand strong {
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}

.ib-link-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ib-link-nav a,
.ib-density button,
.ib-cost-tabs button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #d9e6ef;
  text-decoration: none;
}

.ib-link-nav a {
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.ib-static-main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0 32px;
}

.ib-control-band,
.ib-rank-area {
  margin-bottom: 10px;
}

.ib-control-band {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 29, 40, 0.96), rgba(14, 17, 25, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
}

.ib-title-block {
  display: grid;
  gap: 5px;
  max-width: none;
}

.ib-kicker {
  margin: 0;
  color: #5fd3ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ib-title-block h1,
.ib-section-heading h2 {
  margin: 0;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
}

.ib-title-block h1 {
  font-size: 24px;
  text-wrap: balance;
}

.ib-title-block p:not(.ib-kicker) {
  display: none;
}

.ib-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.ib-summary-grid div {
  display: grid;
  gap: 2px;
  min-height: 0;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ib-summary-grid > div > span {
  color: #9eb0bf;
  font-size: 10px;
  font-weight: 800;
}

.ib-summary-grid strong {
  color: #ffffff;
  font-family: "Oxanium", "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  font-weight: 900;
}

.ib-summary-grid strong span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.ib-static-page .ib-cost-tabs {
  position: static;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.ib-static-page .ib-cost-tabs button {
  display: grid;
  gap: 2px;
  min-height: 50px;
  padding: 7px 9px;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.ib-static-page .ib-cost-tabs button:hover,
.ib-static-page .ib-cost-tabs button.is-active,
.ib-density button:hover,
.ib-density button.is-active {
  transform: translateY(-1px);
  border-color: rgba(255, 198, 72, 0.68);
  background: linear-gradient(135deg, rgba(255, 198, 72, 0.18), rgba(20, 96, 126, 0.28));
  color: #ffffff;
}

.ib-static-page .ib-cost-tabs button span {
  font-family: "Oxanium", "Zen Kaku Gothic New", sans-serif;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

.ib-static-page .ib-cost-tabs button small {
  color: #9eb0bf;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.ib-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.ib-search {
  display: grid;
  gap: 3px;
  min-width: min(380px, 100%);
}

.ib-search span {
  color: #9eb0bf;
  font-size: 12px;
  font-weight: 900;
}

.ib-search input {
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(2, 5, 10, 0.55);
  color: #ffffff;
  font: inherit;
}

.ib-search input::placeholder {
  color: #728292;
}

.ib-density {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.ib-tool-groups {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.ib-density button {
  min-height: 36px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.ib-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 4px 14px;
  margin: 0 0 7px;
}

.ib-section-heading .ib-kicker {
  grid-column: 1 / -1;
}

.ib-section-heading h2 {
  font-size: 20px;
}

.ib-section-heading span {
  color: #9eb0bf;
  font-size: 13px;
  font-weight: 800;
}

.ib-pick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.ib-pick-card {
  display: grid;
  grid-template-rows: 130px minmax(74px, auto);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
}

.ib-pick-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ib-pick-card span {
  display: grid;
  gap: 5px;
  padding: 10px;
}

.ib-pick-card small {
  color: #ffc648;
  font-family: "Oxanium", "Zen Kaku Gothic New", sans-serif;
  font-size: 11px;
  font-weight: 900;
}

.ib-pick-card strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.ib-static-page .ib-tier-board {
  display: grid;
  gap: 8px;
}

.ib-static-page .ib-tier-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(13, 16, 23, 0.92);
  box-shadow: none;
}

.ib-static-page .ib-tier-label {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  min-height: 128px;
  padding: 12px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.ib-static-page .ib-tier-label strong {
  font-family: "Oxanium", "Zen Kaku Gothic New", sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.ib-static-page .ib-tier-label span {
  color: #9eb0bf;
  font-size: 11px;
  font-weight: 900;
}

.ib-tier-row--top .ib-tier-label strong {
  color: #ffe066;
}

.ib-tier-row--high .ib-tier-label strong {
  color: #5fd3ff;
}

.ib-tier-row--mid .ib-tier-label strong {
  color: #95e38f;
}

.ib-tier-row--low .ib-tier-label strong {
  color: #ff9d5c;
}

.ib-tier-row--watch .ib-tier-label strong {
  color: #b5bfca;
}

.ib-static-page .ib-tier-units {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 8px;
  padding: 8px;
}

.ib-static-page .ib-unit-card {
  display: grid;
  grid-template-rows: 118px minmax(74px, auto);
  min-height: 192px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #151a23;
  color: #eef3f7;
  text-decoration: none;
  box-shadow: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.ib-static-page .ib-unit-card:hover {
  transform: translateY(-2px);
  border-color: rgba(95, 211, 255, 0.5);
  background: #1a2230;
  box-shadow: none;
}

.ib-static-page .ib-unit-card__art {
  display: block;
  overflow: hidden;
  background: #0c1018;
}

.ib-static-page .ib-unit-card__art::after {
  content: none;
}

.ib-static-page .ib-unit-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ib-static-page .ib-unit-card__body {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 9px;
}

.ib-static-page .ib-unit-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ib-static-page .ib-unit-card__meta span {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #b9c8d4;
  font-size: 10px;
  font-weight: 900;
}

.ib-static-page .ib-unit-card__name {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ib-static-page .is-large-art .ib-unit-card {
  grid-template-rows: 162px minmax(74px, auto);
}

.ib-static-page .is-compact .ib-tier-units {
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
}

.ib-static-page .is-compact .ib-unit-card {
  grid-template-rows: 82px minmax(58px, auto);
  min-height: 140px;
}

.ib-static-page .is-compact .ib-unit-card__meta {
  display: none;
}

.ib-static-page .is-compact .ib-unit-card__name {
  font-size: 11px;
}

.ib-empty {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #c7d4de;
}

.ib-static-footer {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 36px;
  color: #9eb0bf;
  font-size: 12px;
  line-height: 1.8;
}

.ib-static-footer p {
  margin: 0;
}

.ib-static-footer p + p {
  margin-top: 8px;
}

.ib-static-footer a {
  color: #5fd3ff;
  font-weight: 900;
}

.ib-static-footer code {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

@media (max-width: 980px) {
  .ib-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ib-tools {
    display: grid;
  }

  .ib-density {
    justify-content: flex-start;
  }

  .ib-tool-groups {
    justify-items: start;
  }
}

@media (max-width: 720px) {
  .ib-static-header {
    position: static;
    display: grid;
    gap: 6px;
    padding: 7px 10px;
  }

  .ib-link-nav {
    justify-content: flex-start;
    gap: 5px;
  }

  .ib-link-nav a {
    padding: 4px 6px;
    font-size: 11px;
  }

  .ib-static-main,
  .ib-static-footer {
    width: min(100% - 12px, 1280px);
  }

  .ib-static-main {
    padding-top: 6px;
  }

  .ib-control-band {
    gap: 8px;
    padding: 10px;
  }

  .ib-tools,
  .ib-search,
  .ib-tool-groups {
    width: 100%;
    min-width: 0;
  }

  .ib-title-block h1 {
    font-size: 20px;
  }

  .ib-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ib-static-page .ib-cost-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ib-static-page .ib-cost-tabs button {
    min-height: 44px;
    padding: 6px 5px;
  }

  .ib-static-page .ib-cost-tabs button span {
    font-size: 18px;
  }

  .ib-static-page .ib-cost-tabs button small {
    font-size: 9px;
  }

  .ib-section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2px;
    margin-bottom: 5px;
  }

  .ib-section-heading .ib-kicker,
  .ib-section-heading span {
    grid-column: auto;
  }

  .ib-static-page .ib-tier-row {
    grid-template-columns: 1fr;
  }

  .ib-static-page .ib-tier-label {
    min-height: 42px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 7px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ib-static-page .ib-tier-label strong {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .ib-summary-grid {
    display: none;
  }

  .ib-static-page .ib-cost-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-summary-grid div {
    padding: 6px;
  }

  .ib-summary-grid strong {
    font-size: 14px;
  }

  .ib-title-block h1 {
    font-size: 18px;
  }
}

@media (max-width: 460px) {
  .ib-control-band {
    padding: 8px;
  }

  .ib-summary-grid {
    display: none;
  }

  .ib-static-page .ib-cost-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-static-page .ib-tier-units {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
