/* Shared interior styling. Existing page content and URLs stay intact. */
body.interior {
  --ink:#183951;
  --muted:#526979;
  --sky:#e3f5fc;
  --blue:#08647d;
  --gold:#d5a144;
  --line:#d6e5e9;
  --paper:#fffefb;
  --color-ink:#183951;
  --color-ink-muted:#526979;
  --color-primary:#183951;
  --color-accent:#08647d;
  --color-gold:#b67b20;
  --color-line:#d6e5e9;
  --color-surface:#f2f7f7;
  margin:0;
  padding:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Hiragino Maru Gothic ProN','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;
  font-size:16px;
  line-height:1.85;
}
body.interior *,body.interior *::before,body.interior *::after {
  box-sizing:border-box;
}
body.interior :where(a,button,summary) {
  min-width:44px;
  min-height:44px;
  touch-action:manipulation;
}
body.interior a {
  color:var(--blue);
  text-underline-offset:5px;
  word-break:normal;
  overflow-wrap:anywhere;
}
body.interior a:where(:not(.brand):not(.skip-link)) {
  display:inline-flex;
  align-items:center;
}
body.interior :where(a,button,summary):focus-visible {
  outline:3px solid #b57e23;
  outline-offset:4px;
}
body.interior img,body.interior video {
  max-width:100%;
  height:auto;
}
body.interior [id] {
  scroll-margin-top:150px;
}
body.interior main :where(p,li,td,th,dt,dd,figcaption,small) {
  font-size:16px;
  overflow-wrap:anywhere;
}
body.interior h1,body.interior h2,body.interior h3 {
  color:var(--ink);
  line-height:1.55;
  letter-spacing:.025em;
}
body.interior main,body.interior .doc-main {
  max-width:1060px;
  margin:0 auto;
  padding:32px 30px 64px;
}
body.interior main .doc-main {
  padding:0;
}
body.interior .doc,body.interior .doc-wide {
  max-width:900px;
  margin:0 auto;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
  border-radius:0;
}
body.interior h1,body.interior .page-title {
  margin:0 0 22px;
  font-size:34px;
  font-weight:800;
}
body.interior main h2 {
  margin:45px 0 20px;
  padding:19px 0 0;
  border:0;
  border-top:2px solid #d5e9ee;
  font-size:25px;
}
body.interior main h3 {
  margin:25px 0 12px;
  font-size:21px;
}
body.interior main p {
  margin:12px 0;
  color:var(--ink);
  line-height:1.95;
}
body.interior .doc-lead,body.interior .lead {
  color:var(--muted);
  font-size:18px;
}
body.interior main ul,body.interior main ol {
  padding-left:1.5em;
}
body.interior main li {
  margin:9px 0;
  line-height:1.95;
}
body.interior .callout,body.interior .box {
  padding:20px 23px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#edf6f8;
  color:var(--ink);
}
body.interior .doc-table-wrap {
  max-width:100%;
  overflow-x:auto;
  border:1px solid var(--line);
  border-radius:12px;
  margin:22px 0;
}
body.interior table {
  width:100%;
  max-width:100%;
  border-collapse:collapse;
  font-size:16px;
  background:white;
}
body.interior th,body.interior td {
  padding:15px 17px;
  text-align:left;
  white-space:normal;
  border-bottom:1px solid var(--line);
  color:var(--ink);
  vertical-align:top;
}
body.interior th {
  background:#edf5f7;
  font-weight:700;
}
body.interior .doc-table th,body.interior .doc-table td {
  font-size:16px;
}
body.interior .breadcrumb {
  max-width:1060px;
  margin:0 auto;
  padding:12px 30px;
  background:transparent;
  color:var(--muted);
}
body.interior .breadcrumb .container {
  padding:0;
}
body.interior .interior-contents {
  max-width:1000px;
  margin:24px auto 0;
  padding:0 30px;
}
body.interior .interior-contents summary {
  min-height:48px;
  padding:10px 18px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--sky);
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}
body.interior .interior-contents nav {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5px 20px;
  padding:16px 18px;
}
body.interior .interior-contents a {
  min-height:44px;
  font-size:16px;
}
body.interior .page-hero {
  background:linear-gradient(120deg,#e8f7fc,#e0f0f7);
  padding:45px 30px;
  color:var(--ink);
}
body.interior .page-hero-inner {
  max-width:1000px;
  margin:auto;
  text-align:left;
}
body.interior .page-hero h1 {
  font-size:36px;
  margin:0 0 15px;
}
body.interior .page-hero-lead {
  font-size:18px;
  color:var(--muted);
}
body.interior .star-layer,body.interior .glow-a,body.interior .hero-wave {
  display:none;
}
body.interior .section-eyebrow,body.interior .eyebrow,body.interior .nc-label {
  display:none;
}
body.interior .hp-section,body.interior .hp-section.alt,body.interior .next-see {
  background:transparent;
  padding:0;
  border:0;
}
body.interior .hp-section-inner,body.interior .next-see-inner,body.interior .container {
  max-width:100%;
  padding:0;
}
body.interior .activity-list {
  list-style:none;
  padding:0;
}
body.interior .activity-item {
  border:1px solid var(--line);
  border-radius:15px;
  padding:25px;
  margin:20px 0;
  background:white;
}
body.interior .activity-meta {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 17px;
}
body.interior .activity-cat,body.interior .activity-status {
  background:#e8f4f7;
  color:var(--ink);
  font-size:13px;
}
body.interior .next-see-grid,body.interior .news-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
body.interior .next-card,body.interior .news-card {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  padding:23px;
  border:1px solid var(--line);
  background:white;
  border-radius:15px;
  color:var(--ink);
  text-decoration:none;
}
body.interior .nc-title {
  color:var(--ink);
  font-size:20px;
}
body.interior .nc-arrow {
  color:var(--blue);
  margin-top:12px;
}
body.interior .news-body {
  padding:18px 0 0;
}
body.interior .news-thumb {
  border-radius:10px;
  overflow:hidden;
  aspect-ratio:16/9;
}
body.interior .news-thumb img {
  width:100%;
  height:100%;
  object-fit:cover;
}
body.interior .news-tag,body.interior .news-date {
  color:var(--muted);
}
body.interior .cup-podium {
  list-style:none;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  align-items:stretch;
}
body.interior .cup-podium-item {
  min-width:0;
  padding:23px 17px;
  background:#f0f7f8;
  border:1px solid var(--line);
  border-top:4px solid var(--gold);
  border-radius:15px;
  box-shadow:none;
  transform:none;
  order:initial;
}
body.interior .cp-score {
  font-size:23px;
  font-weight:800;
}
body.interior .cup-facts>div,body.interior .charity-meta>div {
  padding:10px 0;
  border-bottom:1px solid var(--line);
}
body.interior .game-quick {
  display:flex;
  align-items:start;
  gap:20px;
  padding:23px;
  background:#eef7f8;
  border:1px solid var(--line);
  border-radius:15px;
}
body.interior .gq-img {
  width:65px;
  height:65px;
  object-fit:contain;
}
body.interior .gq-rows dd {
  margin-left:0;
}
body.interior .link-row,body.interior .gq-links,body.interior .error-links {
  display:flex;
  flex-wrap:wrap;
  gap:12px 22px;
}
body.interior .doc-cover {
  border-radius:17px;
  overflow:hidden;
  margin:25px 0;
}
body.interior .charity-hero {
  padding:35px;
  border-radius:22px;
  background:linear-gradient(120deg,#e9f8fc,#f9f2dc);
  color:var(--ink);
}
body.interior .charity-hero-inner {
  display:block;
  text-align:left;
  padding:0;
}
body.interior .charity-logo-hero {
  width:150px;
  height:150px;
  margin:0 0 23px;
  border-radius:20px;
  object-fit:cover;
}
body.interior .charity-hero h1 {
  font-size:28px;
}
body.interior .charity-hero-catch {
  font-size:25px;
  font-weight:700;
}
body.interior .charity-disclaimer.on-dark {
  color:var(--ink);
  background:#fff8e8;
  border-color:#e9d6a6;
}
body.interior .charity-band {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px;
  margin-top:25px;
}
body.interior .charity-stat {
  background:white;
  border:1px solid var(--line);
  padding:18px;
  border-radius:12px;
}
body.interior .charity-band-hero .cs-num {
  color:var(--ink);
}
body.interior .charity-band-hero .cs-label {
  color:var(--muted);
  font-size:14px;
}
body.interior .charity-zukai,body.interior .charity-archive,body.interior .charity-articles {
  background:transparent;
  padding:15px 0;
}
body.interior .zukai-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
body.interior .zukai-card {
  background:#f1f7f8;
  border:1px solid var(--line);
  padding:22px;
  border-radius:14px;
}
body.interior .zk-icon {
  display:none;
}
body.interior .charity-faq {
  border:1px solid #e7d4a5;
  background:#fff8e9;
  padding:23px;
  border-radius:14px;
  margin-top:24px;
}
body.interior .charity-timeline {
  list-style:none;
  padding:0;
}
body.interior .charity-row {
  display:grid;
  grid-template-columns:280px 1fr;
  gap:28px;
  padding:25px;
  border:1px solid var(--line);
  background:white;
  border-radius:17px;
}
body.interior .cr-media img {
  width:100%;
  border-radius:12px;
}
body.interior .cr-body {
  min-width:0;
  padding:0;
}
body.interior .charity-meta dt {
  min-width:80px;
}
body.interior .charity-meta dd {
  margin:0;
}
body.interior .doc-btn {
  padding:12px 23px;
  background:var(--ink);
  color:white;
  border-radius:10px;
  text-decoration:none;
}
body.interior .site-footer h3 {
  margin:0 0 12px;
  padding:0;
  border:0;
}
body.interior .site-header a,body.interior .site-footer a {
  min-width:44px;
  min-height:44px;
}
body.interior a:not(.brand) {
  min-height:44px;
}

body.interior .skip-link {
  position:absolute;
  top:-100px;
  left:10px;
  background:white;
  padding:12px;
  z-index:20;
}

body.interior .skip-link:focus {
  top:10px;
}

body.interior .site-header {
  background:#fffefbf5;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter:blur(12px);
}

body.interior .header-inner {
  max-width:1180px;
  margin:auto;
  padding:17px 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
}

body.interior .brand {
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  font-size:23px;
  font-weight:800;
  color:var(--ink);
  line-height:1.3;
}

body.interior .brand img {
  border-radius:12px;
}

body.interior .brand-small {
  display:block;
  font-size:11px;
  letter-spacing:.12em;
  margin-top:5px;
}

body.interior .header-inner nav {
  display:flex;
  gap:24px;
  align-items:center;
}

body.interior .header-inner nav a {
  display:flex;
  align-items:center;
  font-size:14px;
  text-decoration:none;
  font-weight:700;
  color:var(--ink);
}

body.interior .header-inner nav a:last-child {
  background:var(--ink);
  color:white;
  border-radius:24px;
  padding:6px 21px;
}

body.interior .site-footer {
  background:#edf3f3;
  margin-top:35px;
}

body.interior .footer-top {
  max-width:1120px;
  margin:auto;
  padding:55px 30px;
  display:grid;
  grid-template-columns:1.4fr 1fr 1.2fr;
  gap:45px;
}

body.interior .footer-top h3 {
  font-size:16px;
  margin-bottom:12px;
}

body.interior .footer-top>div>a:not(.brand) {
  align-items:center;
}

body.interior .footer-top p {
  font-size:14px;
  color:var(--muted);
  margin:20px 0 10px;
}

body.interior .footer-bottom {
  border-top:1px solid var(--line);
  padding:23px 30px;
  text-align:center;
}

@media(max-width:760px) {
body.interior .header-inner {
    padding:12px 20px;
    display:block;
  }

body.interior .brand {
    font-size:20px;
  }

body.interior .brand img {
    width:41px;
    height:41px;
  }

body.interior .brand-small {
    font-size:10px;
  }

body.interior .header-inner nav {
    gap:0;
    justify-content:space-between;
    margin-top:9px;
  }

body.interior .header-inner nav a {
    font-size:12px;
    min-height:44px;
  }

body.interior .header-inner nav a:last-child {
    padding:4px 13px;
  }

body.interior .footer-top {
    grid-template-columns:1fr 1fr;
    padding:36px 23px;
    gap:28px 20px;
  }

body.interior .footer-top>div:first-child {
    grid-column:1/-1;
  }

body.interior .footer-top>div>a:not(.brand) {
    font-size:13px;
  }

body.interior .footer-bottom {
    font-size:11px;
    line-height:2;
  }
}

body.interior a:where(:not(.brand):not(.skip-link)) {
  display:inline-flex;
  align-items:center;
}

body.interior .brand {
  min-height:44px;
}

body.interior .header-inner nav a {
  justify-content:center;
  min-width:44px;
}

body.interior .footer-top>div>a:not(.brand) {
  display:flex;
  font-size:16px;
}

body.interior .footer-bottom {
  font-size:14px;
}

body.interior .footer-bottom a {
  font-size:16px;
}

body.interior .small,
body.interior .fine-print,
body.interior .spec-note,
body.interior .store-note,
body.interior .footer-top p,
body.interior .app-info .small,
body.interior .app-detail-showcase figcaption {
  font-size:16px;
}

body.interior .footer-top .brand {
  display:flex;
}

@media(max-width:760px) {
body.interior .header-inner nav a {
    font-size:12px;
    min-width:44px;
  }

body.interior .footer-top>div>a:not(.brand) {
    font-size:16px;
  }

body.interior .footer-bottom {
    font-size:14px;
  }

body.interior .app-info .small,
body.interior .small,
body.interior .fine-print,
body.interior .spec-note,
body.interior .store-note,
body.interior .footer-top p {
    font-size:16px;
  }
}
/* Mobile reading and table containment. */
@media(max-width:760px) {
  body.interior main,body.interior .doc-main {
    padding:25px 22px 45px;
  }
  body.interior main .doc-main {
    padding:0;
  }
  body.interior h1,body.interior .page-title,body.interior .page-hero h1 {
    font-size:28px;
  }
  body.interior main h2 {
    font-size:23px;
    margin-top:32px;
  }
  body.interior main h3 {
    font-size:20px;
  }
  body.interior .interior-contents {
    padding:0 22px;
    margin-top:18px;
  }
  body.interior .interior-contents nav {
    grid-template-columns:1fr;
  }
  body.interior .breadcrumb {
    padding:10px 22px;
  }
  body.interior .page-hero {
    padding:32px 22px;
  }
  body.interior .next-see-grid,body.interior .news-grid,body.interior .cup-podium,body.interior .zukai-grid,body.interior .charity-row {
    grid-template-columns:1fr;
  }
  body.interior .charity-hero {
    padding:23px;
  }
  body.interior .charity-hero h1 {
    font-size:25px;
  }
  body.interior .charity-band {
    grid-template-columns:1fr;
    gap:10px;
  }
  body.interior .charity-stat {
    padding:13px;
  }
  body.interior .charity-row {
    padding:20px;
  }
  body.interior th,body.interior td {
    padding:12px 10px;
  }
  body.interior .box {
    padding:15px;
  }
  body.interior .game-quick {
    gap:15px;
    padding:18px;
  }
  body.interior .gq-img {
    width:45px;
    height:45px;
  }
}
/* Neutralize legacy dark surfaces without changing the page text. */
body.interior {
  --color-bg:#fffefb;
  --color-accent-soft:#edf5f7;
  --color-accent-strong:#08647d;
}
body.interior .site-footer {
  color:var(--ink);
}
body.interior .doc .cup-podium-item p,
body.interior .doc .cup-podium-item .cp-score,
body.interior .doc .cup-podium-item .cp-prize {
  color:var(--ink);
  font-size:16px;
}
body.interior .doc .cup-podium-item .cp-score {
  font-size:23px;
}
body.interior .doc .game-quick dd {
  font-size:16px;
}
body.interior .cup-podium-item.is-rank-1,
body.interior .cup-podium-item.is-rank-2,
body.interior .cup-podium-item.is-rank-3 {
  order:initial;
}
body.interior .charity-articles .news-thumb img {
  object-fit:contain;
}
body.interior main p.activity-sub,
body.interior main .charity-articles p.excerpt,
body.interior main p.muted2,
body.interior main p.desc {
  font-size:16px;
}

/* ---- 11/23 Claude：公開前の確認（REVIEW.md）の直し ---- */
/* must-fix 2：主ボタンの文字。body.interior a の色（--blue）が .btn-primary の白を上書きして、地と同じ色になっていた */
body.interior a.btn-primary,body.interior a.btn-primary:visited,body.interior a.btn-primary:hover{color:#fff}
/* /coinhall/delete/ の削除の申し込みボタン：同じ上書きで、橙の地に青い字になっていた（地との差 2.7）→ 濃い字 */
body.interior a.btn,body.interior a.btn:visited{color:#183951}
/* should-fix：パンくずの「›」が薄い（差 1.3） */
body.interior .breadcrumb .sep{color:#6b8494}
/* should-fix：/rates/ のスマホ幅で在庫の数字が途中で折れる（td の overflow-wrap:anywhere）。言葉の途中では折らない */
body.interior #rates-container .doc-table :where(td,th){overflow-wrap:break-word}
/* should-fix：/testers/ のスマホ幅で手順の番号の「.」が次の行に落ちる（番号が縮んで折れる） */
body.interior.page-testers .st-num{flex:none;white-space:nowrap}
/* should-fix（確かめ r1 の S1）：暗い地の小さな札（カードの SAR・チャリティーの「解説」「募集期間終了」）の文字が、明るい地向けの暗い色になっていた */
body.interior .rarity-badge.is-sar,body.interior .charity-status.is-closed{color:#ffe5a2}
body.interior .news-tag{color:#e9f0ff}
