/* PEDAL QUEST トラベルガイド・埋め込み・地域別ページ用 エディトリアルスタイル
   ブランド4色トークン厳守: #132A35 (濃紺) / #FFFDF7 (生成り) / #F6C928 (黄) / #B3261E (紅) */

.seo-hero h1 {
  text-wrap: balance;
}

/* Metric / Imperial 切替ピル（明背景・暗背景どちらでも高コントラスト） */
.pq-unit-bar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(19, 42, 53, 0.1);
  border: 1.5px solid rgba(19, 42, 53, 0.24);
}

.pq-unit-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 6px 13px;
  font: 800 0.78rem/1.1 system-ui, sans-serif;
  background: transparent;
  color: #132A35;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.pq-unit-btn[aria-pressed="true"] {
  background: #132A35;
  color: #F6C928;
}

.seo-hero .pq-unit-bar {
  background: rgba(255, 253, 247, 0.12);
  border: 1.5px solid rgba(255, 253, 247, 0.34);
}

.seo-hero .pq-unit-btn {
  color: #FFFDF7;
}

.seo-hero .pq-unit-btn:hover {
  background: rgba(255, 253, 247, 0.16);
}

.seo-hero .pq-unit-btn[aria-pressed="true"] {
  background: #F6C928;
  color: #132A35;
}

/* 比較テーブル（地域別一覧・W/kg試算表） */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 16px;
  border: 2px solid #132A35;
  background: #FFFDF7;
  box-shadow: 0 6px 0 rgba(19, 42, 53, 0.08);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: #132A35;
  font-variant-numeric: tabular-nums;
}

.compare-table thead th {
  background: #132A35;
  color: #FFFDF7;
  text-align: left;
  padding: 13px 16px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.compare-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(19, 42, 53, 0.12);
  vertical-align: middle;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(19, 42, 53, 0.025);
}

.compare-table tbody tr:hover {
  background: rgba(246, 201, 40, 0.16);
}

.compare-table td small {
  color: rgba(19, 42, 53, 0.7);
  font-size: 0.78rem;
}

.compare-table a {
  color: #132A35;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.compare-table a:hover {
  color: #B3261E;
}

/* トラベルガイド フィルタ & コンセプトビジュアル */
.travel-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.travel-filter-chip {
  appearance: none;
  border: 1.5px solid #132A35;
  border-radius: 999px;
  padding: 7px 14px;
  background: #FFFDF7;
  color: #132A35;
  font: 700 0.82rem/1.1 system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.travel-filter-chip:hover {
  background: rgba(246, 201, 40, 0.35);
}

.travel-filter-chip[aria-pressed="true"] {
  background: #132A35;
  color: #F6C928;
}

.travel-filter-count {
  margin-left: auto;
  font: 700 0.82rem/1.2 ui-monospace, monospace;
  color: rgba(19, 42, 53, 0.78);
}

.travel-concept-banner {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-radius: 18px;
  background: #132A35;
  color: #FFFDF7;
  border: 2px solid #132A35;
}

.travel-concept-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 253, 247, 0.22);
}

.travel-concept-banner h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #F6C928;
}

.travel-concept-banner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 253, 247, 0.9);
}

@media (max-width: 760px) {
  .travel-concept-banner {
    grid-template-columns: 1fr;
  }
}

/* トラベルガイド 12峠カード */
.travel-editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.travel-climb-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 18px;
  background: #FFFDF7;
  border: 2px solid #132A35;
  box-shadow: 0 8px 0 rgba(19, 42, 53, 0.1);
}

.travel-climb-card[hidden],
.hill-card[hidden] {
  display: none !important;
}

.travel-climb-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.travel-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: 6px;
  background: #132A35;
  color: #F6C928;
  font: 800 0.72rem/1 ui-monospace, monospace;
  letter-spacing: 0.06em;
}

.travel-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  color: #132A35;
}

.travel-meta-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(246, 201, 40, 0.24);
  border: 1px solid rgba(19, 42, 53, 0.16);
  font-weight: 700;
}

.travel-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.travel-sv-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px solid #132A35;
  background: #FFFDF7;
  color: #132A35;
  text-decoration: none;
  font: 700 0.8rem/1.2 system-ui, sans-serif;
}

.travel-sv-btn:hover {
  background: #F6C928;
}

.travel-3d-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1.5px solid #132A35;
  background: #132A35;
  color: #F6C928;
  text-decoration: none;
  font: 800 0.8rem/1.2 system-ui, sans-serif;
}

/* ヒーロー内チェックポイント & ツール連携 */
.hero-checkpoint-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-checkpoint-pill {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.12);
  border: 1px solid rgba(255, 253, 247, 0.26);
  font-size: 0.78rem;
  color: #FFFDF7;
}

.hero-checkpoint-pill strong {
  color: #F6C928;
  margin-right: 4px;
}

.hill-next-tools {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #FFFDF7;
  border: 1.5px solid rgba(19, 42, 53, 0.24);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: #132A35;
}

/* ブログ埋め込みボックス＆ライブプレビュー */
.embed-snippet-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  background: #132A35;
  color: #FFFDF7;
}

.embed-live-preview {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.2);
  background: #0D2029;
}

.embed-live-preview iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.embed-snippet-code {
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 253, 247, 0.24);
  background: rgba(255, 253, 247, 0.08);
  color: #F6C928;
  font: 600 0.78rem/1.45 ui-monospace, monospace;
  resize: none;
}

.sponsor-local-strip {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px dashed rgba(19, 42, 53, 0.35);
  background: rgba(246, 201, 40, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: #132A35;
}

.area-directory-panel {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(19, 42, 53, 0.05);
  border: 1.5px solid rgba(19, 42, 53, 0.16);
}

.area-directory-label {
  margin: 0 0 8px;
  font: 800 0.84rem/1.3 system-ui, sans-serif;
  color: #132A35;
}

.area-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.area-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1.5px solid #132A35;
  background: #FFFDF7;
  color: #132A35;
  text-decoration: none;
  font: 700 0.82rem/1.1 system-ui, sans-serif;
}

.area-link-pill:hover {
  background: #F6C928;
}

.preset-power-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.preset-power-chip {
  appearance: none;
  border: 1px solid rgba(19, 42, 53, 0.25);
  border-radius: 999px;
  padding: 4px 10px;
  background: #FFFDF7;
  color: #132A35;
  font: 700 0.74rem/1.2 system-ui, sans-serif;
  cursor: pointer;
}

.preset-power-chip:hover {
  background: #F6C928;
}

/* 機材課金 vs 減量 vs 脚力 何秒縮むかシミュレーター */
.upgrade-sim-panel {
  margin-top: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #FFFDF7;
  border: 2px solid #132A35;
  box-shadow: 0 8px 0 rgba(19, 42, 53, 0.09);
}

.upgrade-sim-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.upgrade-sim-head h3 {
  margin: 0;
  font-size: 1.08rem;
  color: #132A35;
}

.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.upgrade-card {
  padding: 14px;
  border-radius: 14px;
  background: rgba(19, 42, 53, 0.04);
  border: 1.5px solid rgba(19, 42, 53, 0.18);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.upgrade-card--accent {
  background: #132A35;
  color: #FFFDF7;
  border-color: #132A35;
}

.upgrade-card-tag {
  font: 800 0.72rem/1.1 system-ui, sans-serif;
  letter-spacing: 0.04em;
  color: rgba(19, 42, 53, 0.72);
}

.upgrade-card--accent .upgrade-card-tag {
  color: #F6C928;
}

.upgrade-card-delta {
  font: 900 1.45rem/1.1 ui-monospace, monospace;
  color: #B3261E;
  font-variant-numeric: tabular-nums;
}

.upgrade-card--accent .upgrade-card-delta {
  color: #F6C928;
}

.upgrade-card-sub {
  font-size: 0.78rem;
  color: rgba(19, 42, 53, 0.76);
  font-variant-numeric: tabular-nums;
}

.upgrade-card--accent .upgrade-card-sub {
  color: rgba(255, 253, 247, 0.85);
}

/* 目標タイム別・トップチューブ貼付ペース配分表 */
.toptube-panel {
  margin-top: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #132A35;
  color: #FFFDF7;
  border: 2px solid #132A35;
}

.toptube-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.toptube-head h3 {
  margin: 0;
  font-size: 1.08rem;
  color: #F6C928;
}

.toptube-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.toptube-target-input {
  width: 92px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1.5px solid #F6C928;
  background: rgba(255, 253, 247, 0.12);
  color: #FFFDF7;
  font: 800 0.95rem/1.2 ui-monospace, monospace;
  text-align: center;
}

.toptube-req-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(246, 201, 40, 0.18);
  border: 1px solid rgba(246, 201, 40, 0.45);
  color: #F6C928;
  font: 800 0.82rem/1.2 ui-monospace, monospace;
}

.toptube-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 253, 247, 0.22);
  background: rgba(255, 253, 247, 0.05);
}

.toptube-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  color: #FFFDF7;
  font-variant-numeric: tabular-nums;
}

.toptube-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 0.76rem;
  color: #F6C928;
  border-bottom: 1px solid rgba(255, 253, 247, 0.2);
  white-space: nowrap;
}

.toptube-table td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 253, 247, 0.1);
}

.toptube-table tr:last-child td {
  border-bottom: 0;
}

/* 日本ヒルクライム旅プランナー */
.trip-planner-box {
  margin-top: 16px;
  padding: 20px;
  border-radius: 18px;
  background: #FFFDF7;
  border: 2px solid #132A35;
  box-shadow: 0 8px 0 rgba(19, 42, 53, 0.09);
}

.trip-planner-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.trip-plan-pane[hidden] {
  display: none !important;
}

.trip-plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

@media (max-width: 820px) {
  .trip-plan-grid {
    grid-template-columns: 1fr;
  }
}

.trip-day-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trip-day-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(19, 42, 53, 0.04);
  border: 1px solid rgba(19, 42, 53, 0.16);
}

.trip-day-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.trip-prep-box {
  padding: 16px;
  border-radius: 14px;
  background: #132A35;
  color: #FFFDF7;
}

.trip-prep-box h4 {
  margin: 0 0 8px;
  color: #F6C928;
  font-size: 0.92rem;
}

.trip-prep-box ul {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 253, 247, 0.92);
}

.trip-prep-note {
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 253, 247, 0.82);
  padding-top: 10px;
  border-top: 1px solid rgba(255, 253, 247, 0.16);
}

/* GPX 高低図ライブプレビュー＆診断バッジ＆シェアカードプレビュー */
.gpx-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.gpx-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(246, 201, 40, 0.16);
  border: 1px solid rgba(246, 201, 40, 0.55);
  color: #F6C928;
  font: 800 0.78rem/1.3 ui-monospace, monospace;
}

.gpx-profile-canvas-wrap {
  margin: 14px 0 16px;
  padding: 10px;
  border-radius: 14px;
  background: #0D2029;
  border: 1.5px solid rgba(246, 201, 40, 0.4);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.gpx-profile-canvas-wrap canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.gpx-card-preview-wrap {
  margin: 14px 0 18px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.06);
  border: 1px solid rgba(255, 253, 247, 0.16);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.gpx-card-preview-cap {
  margin: 0 0 8px;
  font: 700 0.78rem/1.35 system-ui, sans-serif;
  color: #F6C928;
}

.gpx-angle-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}

.gpx-angle-lead {
  font: 800 0.78rem/1.2 system-ui, sans-serif;
  color: rgba(255, 253, 247, 0.82);
}

.gpx-angle-btn {
  appearance: none;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 253, 247, 0.35);
  background: rgba(255, 253, 247, 0.08);
  color: #FFFDF7;
  font: 800 0.78rem/1.2 system-ui, sans-serif;
  cursor: pointer;
}

.gpx-angle-btn[aria-pressed="true"] {
  background: #F6C928;
  color: #132A35;
  border-color: #F6C928;
}

.pq-say--arisa .pq-say-face {
  background: #132A35;
  border-color: #F6C928;
}

.pq-say--arisa .pq-say-face img {
  object-fit: contain;
  padding: 4px;
  image-rendering: pixelated;
}

.pq-say--arisa .pq-say-name {
  color: #B3261E;
}

.diag-card .soyokaze-btn-row {
  gap: 10px;
}

.diag-card .soyokaze-action-btn--sub {
  background: rgba(255, 253, 247, 0.1);
  color: #FFFDF7;
  border: 1.5px solid rgba(255, 253, 247, 0.45);
}

.diag-card .soyokaze-action-btn--sub:hover {
  background: #F6C928;
  color: #132A35;
  border-color: #F6C928;
}

/* 全国47都道府県ヒルクライム制覇マップ */
.j47-workspace {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 880px) {
  .j47-workspace {
    grid-template-columns: 1fr;
  }
}

.j47-map-card {
  padding: 20px;
  border-radius: 18px;
  background: #132A35;
  color: #FFFDF7;
  border: 2px solid #132A35;
}

.j47-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.j47-stats-bar > div {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.08);
  border: 1px solid rgba(255, 253, 247, 0.16);
  text-align: center;
}

.j47-stats-bar small {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 253, 247, 0.74);
}

.j47-stats-bar strong {
  display: block;
  margin-top: 2px;
  font: 800 1.15rem/1.15 ui-monospace, monospace;
  color: #F6C928;
  font-variant-numeric: tabular-nums;
}

.j47-legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.78rem;
  color: rgba(255, 253, 247, 0.85);
  margin-bottom: 12px;
}

.j47-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
}

.j47-dot--0 {
  background: rgba(255, 253, 247, 0.16);
  border: 1px solid rgba(255, 253, 247, 0.4);
}

.j47-dot--1 {
  background: #F6C928;
}

.j47-dot--2 {
  background: #B3261E;
  border: 1px solid #F6C928;
}

.j47-tile-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(12, minmax(30px, 1fr));
  gap: 4px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.05);
  border: 1px solid rgba(255, 253, 247, 0.14);
}

.j47-tile {
  appearance: none;
  border: 1.5px solid rgba(255, 253, 247, 0.28);
  border-radius: 7px;
  background: rgba(255, 253, 247, 0.12);
  color: #FFFDF7;
  padding: 2px 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease;
}

.j47-tile span {
  font: 800 0.66rem/1.05 system-ui, sans-serif;
}

.j47-tile small {
  font: 700 0.58rem/1 ui-monospace, monospace;
  opacity: 0.78;
}

.j47-tile[data-state="1"] {
  background: #F6C928;
  color: #132A35;
  border-color: #132A35;
}

.j47-tile[data-state="2"] {
  background: #B3261E;
  color: #FFFDF7;
  border-color: #F6C928;
}

.j47-tile[data-selected="true"] {
  box-shadow: 0 0 0 2.5px #FFFDF7;
  transform: scale(1.06);
  z-index: 2;
}

.j47-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.j47-actions .soyokaze-action-btn:not(.soyokaze-action-btn--pedal):not(.soyokaze-action-btn--sub) {
  border: 1.5px solid rgba(255, 253, 247, 0.45);
  background: rgba(255, 253, 247, 0.08);
  color: #F6C928;
}

@media (max-width: 540px) {
  .j47-map-card {
    padding: 14px 10px;
  }

  .j47-tile-grid {
    gap: 2px;
    padding: 6px;
    grid-template-rows: repeat(12, minmax(26px, 1fr));
  }

  .j47-tile {
    border-radius: 5px;
    border-width: 1px;
  }

  .j47-tile span {
    font-size: 0.5rem;
    letter-spacing: -0.04em;
  }

  .j47-tile small {
    font-size: 0.46rem;
  }
}

.j47-detail-panel {
  padding: 20px;
  border-radius: 18px;
  background: #FFFDF7;
  border: 2px solid #132A35;
  box-shadow: 0 8px 0 rgba(19, 42, 53, 0.09);
}

.j47-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.j47-detail-head h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #132A35;
}

.j47-state-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.j47-course-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.j47-course-row {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(19, 42, 53, 0.04);
  border: 1px solid rgba(19, 42, 53, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.j47-course-name {
  font-weight: 800;
  font-size: 0.9rem;
  color: #132A35;
  text-decoration: none;
}

.j47-course-name:hover {
  text-decoration: underline;
}

.j47-course-meta {
  font-size: 0.76rem;
  color: rgba(19, 42, 53, 0.76);
  font-variant-numeric: tabular-nums;
}

.j47-course-actions {
  display: flex;
  gap: 6px;
}

/* サイト内1タップ即時SOYOKAZEソロライドモーダル（壁ゼロ・究極シンプル） */
.pq-instant-sz-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(11, 26, 33, 0.86);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pq-instant-sz-dialog {
  width: min(1040px, 100%);
  max-height: 94vh;
  overflow: hidden;
  border-radius: 20px;
  background: #132A35;
  border: 2.5px solid #F6C928;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
}

.pq-instant-sz-topbar {
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #0D2029;
  border-bottom: 1px solid rgba(255, 253, 247, 0.14);
}

.pq-instant-sz-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.pq-instant-sz-brand strong {
  color: #F6C928;
  font: 900 0.96rem/1.1 ui-monospace, monospace;
  letter-spacing: 0.05em;
}

.pq-instant-sz-brand span {
  color: rgba(255, 253, 247, 0.8);
  font-size: 0.78rem;
}

.pq-instant-sz-topbtns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pq-instant-sz-pill {
  appearance: none;
  border: 1.5px solid rgba(255, 253, 247, 0.35);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 253, 247, 0.08);
  color: #FFFDF7;
  font: 700 0.76rem/1.1 system-ui, sans-serif;
  cursor: pointer;
}

.pq-instant-sz-pill:hover {
  background: #F6C928;
  color: #132A35;
  border-color: #F6C928;
}

.pq-instant-sz-close {
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 253, 247, 0.4);
  background: transparent;
  color: #FFFDF7;
  font: 800 0.9rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.pq-instant-sz-close:hover {
  background: #B3261E;
  border-color: #B3261E;
}

.pq-instant-sz-screen {
  min-height: 360px;
  height: min(56vh, 480px);
  border-radius: 0 !important;
  border: 0 !important;
}

.pq-instant-sz-bar {
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: #132A35;
  border-top: 1px solid rgba(255, 253, 247, 0.14);
}

.pq-instant-sz-slider {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFDF7;
  font-size: 0.8rem;
  font-weight: 700;
}

.pq-instant-sz-slider strong {
  color: #F6C928;
  font-family: ui-monospace, monospace;
}

.pq-instant-sz-slider input[type="range"] {
  width: 110px;
  accent-color: #F6C928;
}

.pq-instant-sz-status {
  color: #F6C928;
  font: 700 0.8rem/1.3 system-ui, sans-serif;
}

.pq-instant-sz-ble-note {
  margin-left: auto;
  color: rgba(255, 253, 247, 0.72);
  font-size: 0.74rem;
}

.try-simple-bar {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #132A35;
  color: #FFFDF7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pq-instant-sz-bar .soyokaze-action-btn:not(.soyokaze-action-btn--pedal),
.try-simple-bar .soyokaze-action-btn:not(.soyokaze-action-btn--pedal) {
  border: 1.5px solid rgba(255, 253, 247, 0.45);
  background: rgba(255, 253, 247, 0.09);
  color: #F6C928;
}

.pq-instant-sz-bar .soyokaze-action-btn:not(.soyokaze-action-btn--pedal):hover,
.try-simple-bar .soyokaze-action-btn:not(.soyokaze-action-btn--pedal):hover {
  background: #F6C928;
  color: #132A35;
  border-color: #F6C928;
}

.try-ble-details {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(19, 42, 53, 0.05);
  border: 1px solid rgba(19, 42, 53, 0.18);
  font-size: 0.84rem;
  color: #132A35;
}

.try-ble-details summary {
  font-weight: 800;
  cursor: pointer;
}
