/*--------------------------------------------------
  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(94%, 300px);
  min-width: 160px;
  aspect-ratio: 1792 / 1024;
  padding: 0;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
  background: #000 url('../images/infinite-boost-rank-logo.png') center / cover no-repeat;
  border: none;
  border-radius: 8px;
  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;
}

/* ========= 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;
}

/* ── 回線速度ランク比較 広告バー（コストバー同等高さ・長方形プレミアム） ── */
@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;
}

.rank-view-controls {
  max-width: 1200px;
  margin: -10px auto 18px;
  padding: 0 16px;
  display: flex;
  justify-content: center;
}

.gyaru-toggle-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 42px;
  padding: 0 18px;
  border: 3px solid #000;
  border-radius: 8px;
  background: #fff;
  color: #000;
  box-shadow: 0 4px 0 #000;
  cursor: pointer;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease, color .14s ease;
}

.gyaru-toggle-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #000;
}

.gyaru-toggle-button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #000;
}

.gyaru-toggle-button:focus-visible {
  outline: 3px solid #00d5ff;
  outline-offset: 3px;
}

.gyaru-toggle-button[aria-pressed="true"] {
  background: #ff4d8d;
  color: #fff;
}

.gyaru-toggle-button[hidden] {
  display: none;
}

/* ========= 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;
  }

  .rank-view-controls {
    margin: 4px auto 10px;
    padding: 0 8px;
  }

  .gyaru-toggle-button {
    min-width: 106px;
    min-height: 36px;
    padding: 0 12px;
    border-width: 2px;
    box-shadow: 0 3px 0 #000;
    font-size: 14px;
  }

  .gyaru-toggle-button:hover {
    box-shadow: 0 4px 0 #000;
  }

  .gyaru-toggle-button:active {
    box-shadow: 0 1px 0 #000;
  }

  .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;
  }

  /* (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(90%, 220px);
    min-width: 150px;
    padding: 0;
  }

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

}

/* ========= 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;
  }
}


/* === wp-custom-css from bo2rank_home.html === */

			/*--------------------------------------------------
  Child-Theme : Hello-Elementor Child   v9.0.0
  2025-06-24  –  最終完成版（画像フィット最終調整）
--------------------------------------------------*/

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

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

/* ========= 2. ヘッダータイトル =========================== */
/* ヘッダー全体を中央揃えに */
#site-header {
  text-align: center;
}
.site-title {
  padding: 4px 12px;
}
.site-title a {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(18px, 5.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: #d22f7b;
  text-decoration: none;
}

/* ========= 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 {
  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;
}

/* ========= 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: 100%; /* ← fillを使うためautoから変更 */
  aspect-ratio: 6 / 5;
  object-fit: fill; /* ← coverからfillに変更 */
  border-radius: 4px;
}
.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;
  }
  
  /* (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;
  }
}




/* =================================== */
/* 背景設定（地上/宇宙 分離版）      */
/* =================================== */

/* ヘッダーの背景画像（ここは共通） */
#site-header {
    background-image: url('https://bo2rank.xyz/wp-content/uploads/2025/07/img_d11c6d063b81b7395c963ecb55bca643499138.avif');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* ヘッダー内の文字色など */
#site-header .site-title a,
#site-header .cost-table .label,
#site-header .cost-table a {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}


/* ★★★ ここからが地上/宇宙ごとの背景設定 ★★★ */

/* 【地上ページ】の背景 */
.env-ground main.unit-rank-page {
    background-image: url('https://bo2rank.xyz/wp-content/uploads/2025/07/ec38cb7584d0b9114362f061f8f8525aq.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 15px;
    border-radius: 5px;
}

/* 【宇宙ページ】の背景 */
.env-space main.unit-rank-page {
    background-image: url('https://bo2rank.xyz/wp-content/uploads/2025/07/OIP.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 15px;
    border-radius: 5px;
}


/* =================================== */
/* カードのレイアウト修正 (2025/07/02)   */
/* =================================== */

/* 問題1の修正：カードが縦に伸びるのを防ぐ */
/* ランクの行内の要素を、引き伸ばさずに上揃えにします */
.unit-cards {
    align-items: start;
}

/* 問題2の修正：カードが入っているブロックの点線を消す */
/* 「is-empty」クラスが付いていないブロックの点線と最小の高さをリセットします */
.unit-block:not(.is-empty) {
    border-style: none !important; /* 点線を強制的に消します */
    min-height: initial !important;  /* 高さをリセットします */
}

/* =================================== */
/* 複数選択されたカードのスタイル      */
/* =================================== */
.unit-card.selected {
    box-shadow: 0 0 0 3px #007bff !important; /* 青い枠線で囲む */
    border-radius: 5px;
    background-color: rgba(0, 123, 255, 0.1);
}

.heading-container {
    display: flex;
    align-items: center; /* Aligns items vertically centered */
}

.image-container {
    margin-left: 20px; /* Space between heading and image */
}

.image-container img {
    width: 100px; /* Adjust the size as needed */
    height: auto; /* Maintain aspect ratio */
}

/* ===== ホームのランダムピックアップ（地上S/300-750） ===== */
.random-unit-spot {
  max-width: min(960px, 92vw);
  margin: 12px auto 0;
  padding: 4px;
}
.random-unit-card {
  display: block;
  position: relative;
  text-decoration: none;
}
.random-unit-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.random-unit-meta {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 4px 8px;
  background: rgba(0,0,0,.6);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
}
.random-unit-meta .badge {
  display: inline-block;
  font-weight: 700;
  line-height: 1.15;
  border: 2px solid #fff;
  border-radius: 4px;
  padding: 0 6px;
  letter-spacing: .5px;
}
@media (max-width: 768px) {
  .random-unit-spot { margin-top: 8px; }
  .random-unit-meta { font-size: 12px; }
}
/* ===== ランダム3機（S/地上/750-700-650） ===== */
.random-unit-grid {
  max-width: min(1040px, 96vw);
  margin: 8px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.random-unit-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  background: #0e0e0e;
  box-shadow: 0 1px 6px rgba(0,0,0,.18);
}

.random-unit-aspect {
  width: 100%;
  aspect-ratio: 16 / 9;     /* ← 高さを取りすぎない */
  background: #111;
}

.random-unit-card .thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* ← サムネをトリミングして小さめに */
  display: block;
}

.random-unit-placeholder {
  width: 100%;
  height: 100%;
  font-weight: 700;
  color: #ddd;
  display: grid;
  place-content: center;
  gap: 4px;
  opacity: .8;
}

.random-unit-chip {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 3px 8px;
  background: rgba(0,0,0,.55);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .2px;
  backdrop-filter: blur(2px);
}

.random-unit-chip .chip-cost {
  font-weight: 800;
}
.random-unit-chip .chip-rank {
  font-weight: 700;
  border: 1.5px solid #fff;
  border-radius: 6px;
  padding: 0 6px;
}
.random-unit-chip .chip-env {
  opacity: .9;
}

@media (max-width: 768px) {
  .random-unit-grid { gap: 6px; }
  .random-unit-chip { font-size: 11px; padding: 2px 7px; }
}
/* ===== 見出し（今週の環境機） ===== */
.env-pickup {
  max-width: min(1040px, 96vw);
  margin: 10px auto 0;
  padding: 0 4px;
}
.env-pickup-title {
  margin: 0 2px 8px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
  padding-left: .6em;
  border-left: 4px solid #3faaff; /* アクセントライン */
  letter-spacing: .02em;
}

/* 既存のランダム3機（必要なら調整） */
.random-unit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.random-unit-card { position: relative; display:block; text-decoration:none; border-radius:10px; overflow:hidden; background:#0e0e0e; box-shadow:0 1px 6px rgba(0,0,0,.18); }
.random-unit-aspect { width:100%; aspect-ratio:16/9; background:#111; }
.random-unit-card .thumb { width:100%; height:100%; object-fit:cover; display:block; }
.random-unit-placeholder { width:100%; height:100%; font-weight:700; color:#ddd; display:grid; place-content:center; gap:4px; opacity:.8; }
.random-unit-chip { position:absolute; left:8px; bottom:8px; display:inline-flex; gap:6px; align-items:center; padding:3px 8px; background:rgba(0,0,0,.55); color:#fff; border-radius:999px; font-size:12px; letter-spacing:.2px; backdrop-filter:blur(2px); }
.random-unit-chip .chip-cost { font-weight:800; }
.random-unit-chip .chip-rank { font-weight:700; border:1.5px solid #fff; border-radius:6px; padding:0 6px; }
.random-unit-chip .chip-env { opacity:.9; }

@media (max-width: 768px) {
  .random-unit-grid { gap: 6px; }
  .env-pickup-title { font-size: 16px; }
  .random-unit-chip { font-size: 11px; padding: 2px 7px; }
}
/* 見出し（今週の環境機）：白＆丸ゴ系で“かわいく” */
.env-pickup-title {
  color: #fff; /* ← 白文字 */
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c",
               "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 900;       /* しっかり太めでポップに */
  letter-spacing: .02em;  /* ちょい可読性アップ */
}
		

html, body {
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #111;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
.cost-table a.is-active {
  transform: translateY(-2px);
  border-color: #fff;
  filter: brightness(.92);
}
.home-page {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 16px 40px;
}
.home-hero {
  padding: 22px 0 18px;
  text-align: center;
}
.home-hero h1 {
  margin: 0 0 10px;
  color: #d22f7b;
  font-size: clamp(30px, 7vw, 58px);
  line-height: 1.1;
}
.home-hero p {
  max-width: 720px;
  margin: 8px auto;
  font-weight: 700;
}
.home-count {
  color: #555;
}
.home-cost-grid {
  display: grid;
  gap: 18px;
}
.home-cost-band {
  padding: 14px;
  border: 3px solid #000;
  border-radius: 8px;
}
.home-cost-band h2 {
  margin: 0 0 12px;
  font-size: 24px;
}
.home-cost-band div {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.home-cost-band a {
  min-height: 58px;
  padding: 8px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #f5f5f5;
  border: 2px solid #111;
  color: inherit;
  text-decoration: none;
}
.home-cost-band a span {
  color: #555;
  font-size: 12px;
}
.site-footer {
  padding: 24px 12px 36px;
  text-align: center;
  color: #666;
  font-size: 12px;
}
@media (max-width: 768px) {
  .home-page {
    padding: 0 10px 28px;
  }
  .home-cost-band div {
    grid-template-columns: repeat(4, 1fr);
  }
  .home-cost-band a {
    min-height: 48px;
  }
}

/* === ランクページ DnD リセット === */
.rank-view-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 12px;
}
.rank-order-reset {
  appearance: none;
  padding: 0 14px;
  height: 38px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  border-radius: 6px;
  font: 700 14px/1 inherit;
  cursor: pointer;
}
.rank-order-reset[hidden] { display: none; }
.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: #d22f7b;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.admin-badge[hidden] { display: none; }
.rank-order-status {
  font-size: 12px;
  min-width: 1em;
}
.unit-block.is-dragging-active { outline: 2px dashed rgba(0,0,0,.25); border-radius: 6px; }
.drag-ghost { opacity: 0.4; }
.unit-card-link { cursor: grab; }
.unit-card-link:active { cursor: grabbing; }

/* === コメント === */
.site-comments {
  max-width: 1040px;
  margin: 28px auto 0;
  padding: 18px 16px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}
.site-comments__title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  padding-left: 10px;
  border-left: 4px solid #d22f7b;
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}
.comment {
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 6px;
}
.comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}
.comment-author { font-weight: 700; color: #222; }
.comment-body {
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.55;
}
.comment-empty, .comment-error {
  color: #888;
  text-align: center;
  padding: 10px 6px;
  border: 1px dashed #ddd;
  border-radius: 6px;
}
.comment-form p {
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.comment-form label {
  font-size: 12px;
  color: #555;
  font-weight: 700;
}
.comment-form input,
.comment-form textarea {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font: inherit;
  background: #fff;
}
.comment-form textarea { resize: vertical; min-height: 80px; }
.comment-form button {
  appearance: none;
  background: #d22f7b;
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
}
.comment-form button:hover { filter: brightness(0.93); }
.comment-form-status { font-size: 12px; color: #555; min-height: 1em; }

@media (max-width: 768px) {
  .site-comments { margin-top: 18px; padding: 14px 12px; border-radius: 8px; }
  .site-comments__title { font-size: 18px; }
}
