/*
 * TORECANOMICS CARD DETAIL
 * UI U-4A
 *
 * Final readability / spacing / accessibility polish.
 * Premium feel comes from hierarchy and breathing room,
 * never from unreadably small text.
 */

/* ---------- Global reading comfort ---------- */

.breadcrumb {
  color: #91a3af;
  font-size: 12.5px;
  line-height: 1.55;
}

.series {
  font-size: 13px;
  line-height: 1.45;
}

.card-number {
  color: #c1cbd2;
  font-size: 16px;
}

.card-caption {
  color: #9dadb7;
  font-size: 12px;
  line-height: 1.55;
}

/* ---------- Hero spacing ---------- */

.hero {
  gap: clamp(28px, 4vw, 46px);
}

.summary {
  min-width: 0;
}

.tags {
  gap: 8px;
}

.tag {
  min-height: 32px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  line-height: 1.2;
}

/* ---------- Quick specs ---------- */

.quick-label {
  color: #96a7b2;
  font-size: 12px;
  line-height: 1.4;
}

.quick-value {
  font-size: 19px;
  line-height: 1.3;
}

/* ---------- Variant / illustration ---------- */

.section-kicker {
  color: #c2ccd3;
  font-size: 13px;
  line-height: 1.45;
}

.variant-key {
  font-size: 12px;
  line-height: 1.35;
}

.variant-card {
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

@media (hover:hover) {
  .variant-card:hover {
    transform: translateY(-2px);
  }
}

/* ---------- Current market block ---------- */

.market-copy strong {
  font-size: 15px;
  line-height: 1.4;
}

.market-copy span {
  color: #a9b7c0;
  font-size: 13px;
  line-height: 1.65;
}

.market-status {
  min-height: 34px;
  padding: 7px 11px;

  font-size: 11.5px;
  line-height: 1.25;
}

/* ---------- Price / evidence ---------- */

.price-condition-name {
  color: #c0cad1;
  font-size: 12px;
  line-height: 1.4;
}

.price-evidence {
  padding: 5px 8px;

  color: #9cadb8;
  font-size: 11px;
  line-height: 1.25;
}

.price-main-label {
  color: #94a5b0;
  font-size: 11px;
  line-height: 1.4;
}

.price-main {
  font-size: 30px;
  line-height: 1.1;
}

.price-lowest {
  color: #9fafb9;
  font-size: 11.5px;
  line-height: 1.55;
}

.price-sources {
  color: #b0bcc4;
  font-size: 11.5px;
  line-height: 1.65;
}

.price-disclaimer {
  color: #91a2ad;
  font-size: 11.5px;
  line-height: 1.7;
}

.price-basis {
  font-size: 11.5px;
  line-height: 1.6;
}

.price-evidence-detail summary {
  min-height: 32px;

  display: inline-flex;
  align-items: center;

  color: #b2bec6;
  font-size: 11.5px;
  line-height: 1.45;
}

.price-evidence-copy {
  color: #94a5b0;
  font-size: 11.5px;
  line-height: 1.7;
}

/* ---------- Market insights ---------- */

.market-insights-title {
  font-size: 13px;
  line-height: 1.4;
}

.market-insight {
  color: #b5c1c9;
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */

.official-button {
  min-height: 44px;
  padding: 10px 14px;

  font-size: 13px;
  line-height: 1.25;
}

.official-button,
.variant-card,
.tag,
.market-status,
.price-evidence-detail summary {
  -webkit-tap-highlight-color: transparent;
}

.official-button:focus-visible,
.variant-card:focus-visible,
.tag:focus-visible,
.market-status:focus-visible,
.price-evidence-detail summary:focus-visible {
  outline: 2px solid rgba(121,202,223,.72);
  outline-offset: 3px;
}

/* ---------- Information panels ---------- */

.panel {
  padding: clamp(22px, 2.7vw, 28px);
}

.panel h2,
.panel h3 {
  line-height: 1.35;
}

.data-row {
  min-height: 46px;
}

.effect-text {
  font-size: 14px;
  line-height: 1.9;
}

/* ---------- Footer / disclosure text ---------- */

.footer-note,
.page-note,
.disclaimer {
  color: #8fa0ab;
  font-size: 11.5px;
  line-height: 1.75;
}

/* ---------- Tablet ---------- */

@media (max-width: 900px) {
  .hero {
    gap: 28px;
  }

  .panel {
    padding: 22px;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 620px) {
  .breadcrumb {
    font-size: 11.5px;
  }

  .series {
    font-size: 12.5px;
  }

  .card-number {
    font-size: 14px;
  }

  .tags {
    margin-top: 18px;
    margin-bottom: 22px;
  }

  .tag {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 11.5px;
  }

  .card-caption {
    font-size: 11.5px;
  }

  .section-kicker {
    font-size: 12.5px;
  }

  .market-copy strong {
    font-size: 14px;
  }

  .market-copy span {
    font-size: 12.5px;
  }

  .market-status {
    min-height: 36px;
    font-size: 11px;
  }

  .official-button {
    min-height: 46px;
    width: 100%;

    justify-content: center;

    font-size: 13px;
  }

  .price-condition-name {
    font-size: 11.5px;
  }

  .price-evidence,
  .price-main-label,
  .price-lowest,
  .price-sources,
  .price-disclaimer,
  .price-basis,
  .price-evidence-detail summary,
  .price-evidence-copy {
    font-size: 11.5px;
  }

  .price-main {
    font-size: 28px;
  }

  .market-insights-title {
    font-size: 12.5px;
  }

  .market-insight {
    font-size: 12px;
    line-height: 1.7;
  }

  .panel {
    padding: 19px;
  }

  .data-row {
    min-height: 44px;
  }

  .effect-text {
    font-size: 14px;
    line-height: 1.85;
  }

  .footer-note,
  .page-note,
  .disclaimer {
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .panel {
    padding: 17px;
  }

  .official-button {
    min-height: 46px;
  }

  .effect-text {
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .variant-card,
  .official-button {
    transition: none !important;
  }
}

/* TORECANOMICS_P6_PURCHASE_LINKS_20260908 */

.price-purchase {
  margin-top: 14px;
  padding-top: 13px;

  border-top:
    1px solid
    rgba(255,255,255,.07);
}

.price-purchase-title {
  margin-bottom: 8px;

  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.price-purchase-links {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 8px;
}

.price-purchase-link {
  min-width: 0;
  min-height: 46px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;

  padding:
    10px
    12px;

  border:
    1px solid
    rgba(121,202,223,.24);

  border-radius: 11px;

  background:
    linear-gradient(
      135deg,
      rgba(121,202,223,.07),
      rgba(214,173,71,.055)
    );

  color: var(--text);
  text-decoration: none;

  transition:
    border-color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.price-purchase-link:hover {
  border-color:
    rgba(214,173,71,.45);

  background:
    linear-gradient(
      135deg,
      rgba(121,202,223,.11),
      rgba(214,173,71,.09)
    );

  transform:
    translateY(-1px);
}

.price-purchase-link:focus-visible {
  outline:
    2px solid
    rgba(121,202,223,.72);

  outline-offset: 2px;
}

.price-purchase-market {
  min-width: 0;

  color: var(--text-soft);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
}

.price-purchase-price {
  flex: 0 0 auto;

  color: var(--gold);
  font-size: 13px;
  font-weight: 850;

  white-space: nowrap;
}

.price-purchase-note {
  margin-top: 8px;

  color: var(--text-dim);
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 620px) {

  .price-purchase-links {
    grid-template-columns: 1fr;
  }

  .price-purchase-link {
    min-height: 48px;
  }

}


/* =========================================================
 * TORECANOMICS_CARD_READABILITY_POLISH_V3_20260918
 *
 * Goals:
 * - reduce excessive boldness
 * - increase Japanese body readability
 * - improve muted-text contrast
 * - add breathing room
 * - prevent purchase-link vertical wrapping
 * - preserve existing visual identity and layout
 * ========================================================= */


/* ---------- Typography hierarchy ---------- */

.summary h1 {
  font-weight: 700;
  line-height: 1.10;
  letter-spacing: -.02em;
}

.series {
  font-weight: 650;
}

.card-number {
  font-weight: 500;
}

.tag {
  font-weight: 500;
}

.illustration-switch-title {
  font-weight: 650;
}

.variant-key {
  font-weight: 600;
}


/* ---------- Variant market comparison ---------- */

.variant-market-compare-kicker {
  font-weight: 700;
}

.variant-market-compare-title {
  font-weight: 650;
}

.variant-market-compare-head-note {
  color: #aebbc3;
  font-size: 12px;
  line-height: 1.72;
}

.variant-market-compare-summary {
  color: #d9e1e5;
  font-size: 12.5px;
  line-height: 1.75;
}

.variant-market-variant-name {
  font-size: 13.5px;
  font-weight: 650;
}

.variant-market-key {
  font-size: 10px;
  font-weight: 600;
}

.variant-market-price-label {
  color: #9aabb5;
  font-size: 11px;
}

.variant-market-price {
  font-weight: 700;
}

.variant-market-reference,
.variant-market-sources {
  color: #a6b5bd;
  font-size: 11.5px;
  line-height: 1.68;
}

.variant-market-reference {
  color: #c4cfd5;
}

.variant-market-delta {
  font-size: 11.5px;
  line-height: 1.65;
}

.variant-market-compare-footnote {
  color: #94a5af;
  font-size: 11.5px;
  line-height: 1.78;
}


/* ---------- Current market ---------- */

.market-preview {
  padding: 23px 25px;
}

.market-copy strong {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}

.market-copy span {
  color: #bdc8cf;
  font-size: 14px;
  line-height: 1.78;
}

.market-status {
  color: #c6d0d6;
  font-size: 12px;
  font-weight: 500;
}

.price-condition-list {
  gap: 14px;
}

.price-condition {
  padding: 18px;
}

.price-condition-name {
  color: #cbd4d9;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.price-evidence {
  color: #aab8c1;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
}

.price-main-label {
  color: #a7b5be;
  font-size: 12px;
  line-height: 1.5;
}

.price-main {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
}

.price-lowest {
  color: #aab8c0;
  font-size: 12px;
  line-height: 1.7;
}

.price-sources {
  color: #bec8ce;
  font-size: 12px;
  line-height: 1.72;
}

.price-disclaimer {
  color: #9eafb8;
  font-size: 12px;
  line-height: 1.8;
}

.price-basis {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
}

.price-evidence-detail summary {
  color: #bdc8ce;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.price-evidence-copy {
  color: #a5b4bd;
  font-size: 12px;
  line-height: 1.82;
}


/* ---------- Purchase links ---------- */

/*
 * A two-column link grid inside an already narrow
 * price-condition card was causing Japanese text to
 * collapse into near-vertical wrapping.
 */
.price-purchase-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}

.price-purchase-links {
  grid-template-columns: 1fr;
  gap: 8px;
}

.price-purchase-link {
  min-width: 0;

  font-weight: 500;
  line-height: 1.45;

  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
}

.price-purchase-link > * {
  min-width: 0;
}


/* ---------- Market insights ---------- */

.market-insights {
  margin-top: 18px;
  padding: 20px 22px;
}

.market-insights-title {
  margin-bottom: 12px;

  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}

.market-insights-list {
  gap: 9px;
}

.market-insight {
  color: #c0cbd1;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.82;
}

.market-insight.muted {
  color: #a9b7bf;
}


/* ---------- Information panels ---------- */

.content-grid {
  margin-top: 36px;
  gap: 18px;
}

.panel {
  padding: 26px;
}

.panel-title {
  margin-bottom: 20px;

  font-size: 19px;
  font-weight: 650;
  line-height: 1.45;
}

.data-row {
  min-height: 48px;
}

dt {
  color: #a9b8c0;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
}

dd {
  color: #e0e6ea;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.72;
}

.effect-text {
  color: #e2e8eb;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.95;
}


/* ---------- Footer / small explanatory text ---------- */

.source-note {
  color: #9cabb4;
  font-size: 11.5px;
  line-height: 1.8;
}


/* ---------- Desktop width protection ---------- */

@media (min-width: 621px) {
  .price-condition-list {
    grid-template-columns:
      repeat(
        auto-fit,
        minmax(280px, 1fr)
      );
  }
}


/* ---------- Mobile readability ---------- */

@media (max-width: 620px) {
  .summary h1 {
    line-height: 1.12;
  }

  .market-preview {
    padding: 19px;
  }

  .market-copy span {
    font-size: 13.5px;
    line-height: 1.75;
  }

  .price-condition-list {
    grid-template-columns: 1fr;
  }

  .price-condition {
    padding: 16px;
  }

  .price-condition-name {
    font-size: 12.5px;
  }

  .price-evidence,
  .price-main-label,
  .price-lowest,
  .price-sources,
  .price-disclaimer,
  .price-basis,
  .price-evidence-detail summary,
  .price-evidence-copy {
    font-size: 12px;
  }

  .market-insights {
    padding: 17px;
  }

  .market-insights-title {
    font-size: 14px;
  }

  .market-insight {
    font-size: 13px;
    line-height: 1.78;
  }

  .panel {
    padding: 20px;
  }

  .panel-title {
    font-size: 18px;
  }

  dt {
    font-size: 13px;
  }

  dd {
    font-size: 14px;
  }

  .effect-text {
    font-size: 14px;
    line-height: 1.9;
  }

  .variant-market-compare-head-note,
  .variant-market-compare-summary {
    font-size: 12px;
  }

  .variant-market-reference,
  .variant-market-sources,
  .variant-market-delta,
  .variant-market-compare-footnote {
    font-size: 11.5px;
  }
}
