�/* ============================================================
   Lorcana Results — Mobile-First CSS
   カラーテーマ: #373b70 (navy) / #d3ba84 (gold) / #e3caa8 (cream)
   ============================================================ */

/* ---- リセット & ベース ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #373b70;
  --navy-dk:#252850;
  --gold:   #d3ba84;
  --cream:  #e3caa8;
  --bg:     #f5f0e8;
  --card-bg:#ffffff;
  --text:   #1a1a2e;
  --muted:  #6b7280;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(55,59,112,.13);

  /* インクカラー */
  --amber:     #f0a020;
  --amethyst:  #8b3fa8;
  --emerald:   #2e9e3a;
  --ruby:      #cc1f3a;
  --sapphire:  #1e8fcc;
  --steel:     #8a9ab5;

  /* 相性表 */
  --win-high: #1f8c4e;
  --win-mid:  #4a9fd4;
  --win-low:  #e07b28;
  --win-bad:  #c0392b;
  --win-na:   #d1d5db;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: 70px !important;
}

/* ---- ヘッダー ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 16px;
}
.header-logo {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---- タブセクション ---- */
.tab-section { display: none; animation: fadeIn .2s ease; }
.tab-section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- フィルターバー ---- */
.filter-bar {
  background: var(--navy);
  position: sticky;
  top: 52px;
  z-index: 90;
  padding: 8px 0;
}
.filter-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 0 14px;
  scrollbar-width: none;
}
.filter-scroll::-webkit-scrollbar { display: none; }
.filter-row { display: flex; align-items: center; gap: 8px; padding: 6px 14px; }
.filter-row-label { font-size: .7rem; color: rgba(211,186,132,.6); white-space: nowrap; min-width: 36px; text-align: right; }
.season-select { background: rgba(211,186,132,.1); border: 1.5px solid rgba(211,186,132,.4); border-radius: 20px; color: var(--gold); font-size: .8rem; padding: 4px 12px; cursor: pointer; appearance: none; }
.season-select:focus { outline: none; border-color: var(--gold); }

.filter-btn {
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1.5px solid rgba(211,186,132,.4);
  background: transparent;
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.filter-btn.active,
.filter-btn:active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dk);
}

.filter-sep {
  flex-shrink: 0;
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,.2);
  margin: 0 2px;
}

.filter-ink {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .15s;
  opacity: .65;
}
.filter-ink.active,
.filter-ink:active { opacity: 1; background: rgba(255,255,255,.12); }

/* ---- インクアイコン (六角形) ---- */
.ink-icon {
  display: inline-block;
  width: 26px;
  height: 26px;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}
.ink-amber    { background: var(--amber); }
.ink-amethyst { background: var(--amethyst); }
.ink-emerald  { background: var(--emerald); }
.ink-ruby     { background: var(--ruby); }
.ink-sapphire { background: var(--sapphire); }
.ink-steel    { background: var(--steel); }

.ink-icon-img {
  display: inline-block;
  width: 26px;
  height: 26px;
  object-fit: contain;
  vertical-align: middle;
}
.ink-icon-img.sz-sm { width: 20px; height: 20px; }
.ink-icon-img.sz-lg { width: 32px; height: 32px; }

/* ---- デッキ一覧 ---- */
.deck-list {
  padding: 14px 14px 8px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

/* ---- デッキカード ---- */
.deck-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s, box-shadow .12s;
  border: 1.5px solid transparent;
}
.deck-card:active { transform: scale(.985); box-shadow: 0 1px 6px rgba(55,59,112,.1); }

.deck-banner {
  position: relative;
  height: 130px;
  overflow: hidden;
  background: var(--navy-dk);
}
.deck-banner-panels { display: flex; height: 100%; width: 100%; }
.banner-panel { position: relative; overflow: hidden; }
.banner-panel-1 { border-right: 2px solid rgba(18,20,48,.6); }
.banner-panel-2 {}
.banner-panel img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.banner-panel-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: .3;
}
.deck-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, rgba(18,20,48,.82) 100%);
  pointer-events: none;
}
.deck-banner-meta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 10px;
  pointer-events: none;
}
.banner-top-row { display: flex; justify-content: flex-end; gap: 4px; }
.banner-bottom-row { display: flex; align-items: flex-end; justify-content: space-between; }

.rank-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--gold);
  color: var(--navy-dk);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .02em;
}
.rank-pill.rank-1 { background: #d3ba84; color: #2a2000; }
.rank-pill.rank-2 { background: #c0c8d4; color: #1a1a2e; }
.rank-pill.rank-3 { background: #c8a97a; color: #2a1800; }
.rank-num { font-size: 1.1rem; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.rank-unit { font-size: .72rem; font-weight: 700; opacity: .8; }
.modal-rank-pill { font-size: .88rem; }

.tournament-label {
  font-size: .7rem;
  color: rgba(255,255,255,.75);
  background: rgba(18,20,48,.5);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: .02em;
}
.banner-inks { display: flex; gap: 3px; }

/* ---- デッキカード下部情報 ---- */
.deck-card-body { padding: 10px 13px 12px; }
.deck-meta-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.deck-archetype {
  font-size: .95rem; font-weight: 700; color: var(--text);
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.deck-set-badge {
  font-size: .68rem; background: var(--cream); color: var(--navy);
  border-radius: 4px; padding: 2px 7px; font-weight: 600; margin-left: 8px; white-space: nowrap;
}
.deck-player { font-size: .8rem; color: var(--muted); }
.deck-tournament-name { font-size: .75rem; color: var(--muted); margin-top: 2px; }

/* ---- Empty state ---- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ---- セクション見出し ---- */
.section-heading { padding: 16px 16px 8px; display: flex; align-items: baseline; gap: 10px; }
.section-heading h2 { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.section-sub { font-size: .75rem; color: var(--muted); }

/* ---- 使用率タブ ---- */
.usage-filter-row,
.matchup-filter-row { display: flex; gap: 6px; padding: 0 16px 12px; }
.usage-filter-btn,
.matchup-filter-btn {
  padding: 5px 14px; border-radius: 20px; border: 1.5px solid var(--navy);
  background: transparent; color: var(--navy); font-size: .78rem; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.usage-filter-btn.active,
.matchup-filter-btn.active { background: var(--navy); color: #fff; }

.usage-chart { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.usage-row { background: var(--card-bg); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.usage-row-header { display: flex; align-items: center; padding: 10px 12px 6px; gap: 8px; }
.usage-ink-icons { display: flex; gap: 3px; flex-shrink: 0; }
.usage-archetype { font-size: .88rem; font-weight: 700; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usage-count { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.usage-bar-wrap { padding: 0 12px 10px; }
.usage-bar-bg { height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.usage-bar-fill { height: 100%; background: linear-gradient(90deg, var(--navy), var(--gold)); border-radius: 4px; transition: width .6s ease; }
.usage-pct { font-size: .72rem; color: var(--muted); text-align: right; margin-top: 3px; }

/* ---- 相性表タブ ---- */
.matchup-note { font-size: .75rem; color: var(--muted); padding: 0 16px 8px; }
.matchup-scroll-wrap { overflow-x: auto; padding: 0 16px 12px; scrollbar-width: thin; }
.matchup-table { border-collapse: collapse; min-width: 500px; font-size: .72rem; }
.matchup-table th,
.matchup-table td { padding: 0; text-align: center; border: 1px solid #e5e7eb; }
.matchup-table th { background: var(--navy); color: #fff; font-weight: 600; padding: 6px 4px; min-width: 56px; }
.matchup-table th.row-header { text-align: left; padding-left: 8px; min-width: 90px; position: sticky; left: 0; z-index: 2; }
.matchup-table td.row-label { background: var(--navy); color: #fff; text-align: left; padding: 6px 8px; font-weight: 600; position: sticky; left: 0; z-index: 2; min-width: 90px; background-clip: padding-box; }
.matchup-cell { width: 56px; height: 36px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .75rem; }
.matchup-cell.win-high { background: #d4edda; color: var(--win-high); }
.matchup-cell.win-mid  { background: #d0eaf7; color: #1a6a9a; }
.matchup-cell.win-low  { background: #fde8cc; color: var(--win-low); }
.matchup-cell.win-bad  { background: #faddda; color: var(--win-bad); }
.matchup-cell.win-na   { background: #f3f4f6; color: #9ca3af; }
.matchup-cell.win-self { background: #f0ece4; color: var(--muted); }
.matchup-legend { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 16px 20px; }
.legend-item { display: flex; align-items: center; gap: 5px; font-size: .72rem; color: var(--muted); }
.legend-dot { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.legend-dot.win-high { background: #d4edda; border: 1px solid var(--win-high); }
.legend-dot.win-mid  { background: #d0eaf7; border: 1px solid #1a6a9a; }
.legend-dot.win-low  { background: #fde8cc; border: 1px solid var(--win-low); }
.legend-dot.win-bad  { background: #faddda; border: 1px solid var(--win-bad); }
.legend-dot.win-na   { background: #f3f4f6; border: 1px solid #d1d5db; }

/* ---- デッキ詳細モーダル ---- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(18,20,48,.55); backdrop-filter: blur(3px); }
.modal-sheet {
  position: absolute; bottom: 0; left: 0; right: 0;
  max-height: 90vh; background: var(--bg); border-radius: 20px 20px 0 0;
  overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 40px;
  animation: slideUp .22s ease;
}
@keyframes slideUp { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: sticky; top: 12px; float: right; margin: 12px 14px 0 0; z-index: 10;
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: rgba(55,59,112,.12); color: var(--navy); font-size: .85rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.modal-banner { position: relative; height: 180px; overflow: hidden; background: var(--navy-dk); border-radius: 20px 20px 0 0; }
.modal-banner-panels { display: flex; height: 100%; }
.modal-banner-panel { position: relative; overflow: hidden; }
.modal-banner-panel-1 { width: 58%; border-right: 2px solid rgba(18,20,48,.6); }
.modal-banner-panel-2 { width: 42%; }
.modal-banner-panel img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.modal-banner-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(18,20,48,.85) 100%); pointer-events: none; }
.modal-banner-meta { position: absolute; bottom: 12px; left: 14px; right: 14px; display: flex; align-items: flex-end; justify-content: space-between; }
.modal-rank-pill { display: flex; align-items: center; gap: 5px; background: var(--gold); color: var(--navy-dk); border-radius: 20px; padding: 3px 12px 3px 8px; font-weight: 800; font-size: .85rem; }
.modal-tournament-label { font-size: .75rem; color: rgba(255,255,255,.8); background: rgba(18,20,48,.5); border-radius: 6px; padding: 3px 8px; }
.modal-body { padding: 16px 16px 0; }
.modal-archetype { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.modal-inks { display: flex; gap: 5px; align-items: center; margin-bottom: 10px; }
.modal-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.modal-info-item { background: var(--card-bg); border-radius: 10px; padding: 10px 12px; }
.modal-info-label { font-size: .68rem; color: var(--muted); margin-bottom: 2px; }
.modal-info-value { font-size: .88rem; font-weight: 700; color: var(--text); }
.modal-section-title { font-size: .82rem; font-weight: 700; color: var(--navy); border-left: 3px solid var(--gold); padding-left: 8px; margin-bottom: 10px; }
.modal-decklist-img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); display: block; }
.modal-decklist-placeholder { width: 100%; height: 200px; background: var(--cream); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem; }
.modal-notes { margin-top: 14px; background: var(--card-bg); border-radius: 10px; padding: 12px 14px; font-size: .85rem; line-height: 1.7; color: var(--text); white-space: pre-wrap; }

/* ---- ボトムナビ ---- */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy); display: flex; height: 62px;
  border-top: 1px solid rgba(211,186,132,.2);
}
.nav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; border: none; background: transparent; color: rgba(255,255,255,.5);
  cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .15s;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.nav-btn.active { color: var(--gold); }
.nav-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }
.nav-icon svg { width: 22px; height: 22px; }
.nav-label { font-size: .65rem; font-weight: 600; letter-spacing: .03em; }

/* ---- ユーティリティ ---- */
.text-muted { color: var(--muted); }
.mt-12 { margin-top: 12px; }
.mb-12 { margin-bottom: 12px; }

/* === キーカード均等幅・反転対応 === */
.deck-banner-panel {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}
.deck-banner-panel img {
  transition: transform 0.2s;
}

/* パネル均等幅（正しいセレクタ） */
.banner-panel { flex: 1 1 0 !important; min-width: 0 !important; }

/* ─── シーズン・デッキコード・SNS ─── */
.deck-season-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 99px;
  margin-left: 5px;
  vertical-align: middle;
  white-space: nowrap;
}
.deck-code-row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  font-size: .72rem;
  color: var(--muted);
}
.deck-code-label { font-weight: 600; white-space: nowrap; }
.deck-code-val {
  font-family: 'Courier New', monospace;
  background: var(--bg);
  border-radius: 4px;
  padding: 1px 5px;
  letter-spacing: .05em;
  user-select: all;
  cursor: text;
}
.deck-sns-row {
  padding: 2px 8px 5px;
  font-size: .72rem;
}
.deck-sns-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.deck-sns-link:hover { text-decoration: underline; }
/* ---- デッキコード（モーダル詳細） ---- */
.modal-info-full {
  grid-column: 1 / -1;
}
.modal-deck-code {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.deck-code-text {
  font-family: monospace;
  font-size: 0.95em;
  background: rgba(0,0,0,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.deck-copy-btn {
  font-size: 0.78em;
  padding: 3px 10px;
  border: 1px solid #8b6914;
  background: #fdf3dc;
  color: #8b6914;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.deck-copy-btn:hover {
  background: #8b6914;
  color: #fff;
}

/* ---- powered by illuminator ---- */
.powered-by {
  font-size: 0.78em;
  color: #888;
  margin: 2px 0 0 0;
}
.powered-by a {
  color: #8b6914;
  text-decoration: underline;
}
.powered-by a:hover { color: #5a4200; }

/* ---- data-meta-block (使用率・相性表 説明文) ---- */
.data-meta-block {
  margin: 8px 0 14px;
  padding: 10px 14px;
  background: rgba(139,105,20,0.06);
  border-left: 3px solid #c8a84b;
  border-radius: 4px;
}
.data-meta-note {
  font-size: 0.80em;
  color: #555;
  margin: 2px 0;
  line-height: 1.5;
}
.data-meta-updated {
  font-size: 0.80em;
  color: #777;
  margin: 6px 0 0;
}

/* ---- matchup scroll & sticky column ---- */
.matchup-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.matchup-table {
  border-collapse: collapse;
  white-space: nowrap;
  min-width: 100%;
}
.matchup-table thead th,
.matchup-table tbody td {
  padding: 6px 8px;
  border: 1px solid #d8c98a;
  text-align: center;
  font-size: 0.78em;
}
.matchup-table .row-header,
.matchup-table .row-label {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #f4edd0;
  text-align: left;
  font-weight: 600;
  min-width: 80px;
  max-width: 110px;
  white-space: normal;
  word-break: break-word;
}
.matchup-table thead .row-header {
  z-index: 3;
  background: var(--navy);
  color: #fff;
}
.matchup-table .total-col {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}
.matchup-table tbody td.row-label {
  background: var(--navy);
  color: #fff;
}

/* ---- match-count (cell trial count) ---- */
.match-count {
  display: block;
  font-size: 0.72em;
  color: rgba(0,0,0,0.45);
  line-height: 1.1;
}
.matchup-cell.total-rate {
  background: transparent;
  color: #000;
  font-weight: 700;
}

/* ---- filter toggle button ---- */
.filter-toggle-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 0.78rem;
  text-align: right;
  padding: 4px 12px 2px;
  cursor: pointer;
  opacity: 0.8;
}
.filter-toggle-btn:hover { opacity: 1; }
.filter-bar.collapsed .filter-body { display: none; }

/* ---- 並び替えボタン ---- */
.filter-scroll-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}
.sort-btn {
  padding: 4px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.sort-btn.active {
  background: var(--gold);
  color: var(--navy-dk);
}

/* ---- PC表示: 1行5枚バナー ---- */
@media (min-width: 768px) {
  .deck-list {
    display: flex !important;
    flex-direction: column;
    padding: 14px;
  }
  .tournament-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }
  .tournament-group-label {
    flex-basis: 100%;
    width: 100%;
  }
  .deck-card {
    flex: 0 0 calc(20% - 8px);
    min-width: 0;
    box-sizing: border-box;
  }
  .deck-banner {
    height: 110px;
  }
}
/* ---- バナー右下バッジ（大会種別・日付） ---- */
.banner-tag-row { position:absolute; bottom:7px; right:7px; display:flex; align-items:center; gap:4px; z-index:2; }
.banner-type-tag { background:rgba(255,215,100,.92); color:#1a1e45; border-radius:4px; padding:2px 7px; font-size:.6rem; font-weight:800; letter-spacing:.04em; }
.banner-date-tag { background:rgba(10,12,38,.68); color:rgba(255,255,255,.9); border-radius:4px; padding:2px 6px; font-size:.6rem; font-weight:600; backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px); }
/* ---- ヘッダー powered by ---- */
.header-powered { display:block; font-size:.62rem; color:rgba(255,255,255,.5); margin-top:2px; }
.header-powered a { color:rgba(255,255,255,.65); text-decoration:none; }
.header-powered a:hover { color:var(--gold); }

/* ---- 相性表インクアイコン ---- */
.mu-ink-icon { width: 22px; height: 22px; display: block; margin: 0 auto; vertical-align: middle; }
.matchup-table th { padding: 4px 6px; }
.matchup-table td.row-label { padding: 4px 8px; }
/* ---- Task #71: 絞り込みタブ デフォルト折り畳み ---- */
.filter-bar.collapsed .filter-body { display: none; }

/* ---- Task #73: バナーインクアイコン視認性向上 ---- */
.banner-inks { background: rgba(0,0,0,0.28); border-radius: 8px; padding: 2px 5px; gap: 2px; }

/* ---- Task #74: 使用率インクアイコン背景修正 ---- */
.usage-ink-icons .ink-icon-img { border-radius: 50%; object-fit: cover; }

/* ---- Task #83: その他タブ + 免責事項 ---- */
#tab-other { padding: 16px; }
.other-content { max-width: 720px; margin: 0 auto; }
.other-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--ink-amber, #f0a020); }
.other-body { font-size: 0.88rem; line-height: 1.7; color: #333; }
.other-body p { margin-bottom: 12px; }
.other-body h3 { font-size: 0.95rem; font-weight: 700; margin: 18px 0 8px; padding: 4px 10px; background: rgba(0,0,0,0.05); border-left: 3px solid var(--ink-amber, #f0a020); }
.other-body ol, .other-body ul { padding-left: 1.5em; margin-bottom: 12px; }
.other-body li { margin-bottom: 6px; }
.other-body a { color: #1a73e8; word-break: break-all; }

/* ---- baguetteBox (Cocoon注入ライトボックス) 非表示 ---- */
#baguetteBox-overlay { display: none !important; }

/* ---- 募集バナー + デッキ数バッジ ---- */
.recruit-bar {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 9px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  position: sticky;
  top: 52px;
  z-index: 95;
}
.recruit-message {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
}
.recruit-icon {
  width: 26px;
  height: 26px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy-dk);
}
.recruit-text { font-size: .8rem; color: var(--text); line-height: 1.5; font-weight: 500; }
.recruit-link { color: #1d9bf0; text-decoration: none; font-weight: 700; }
.recruit-link:hover { text-decoration: underline; }
.deck-count-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--navy);
  border-radius: 20px;
  padding: 5px 12px 5px 10px;
}
#deck-count-num { color: var(--gold); font-size: 1rem; font-weight: 900; line-height: 1; }
.deck-count-badge-label { color: rgba(255,255,255,.78); font-size: .7rem; font-weight: 600; letter-spacing: .03em; }
