﻿/* 第3章 表紙付き入口：一画面表示＋先読み状態（内部候補） */
:root { --entry-gold:#d8bd87; --entry-line:#d8bd8745; --entry-panel:#241b17; --entry-deep:#17110e; --entry-text:#f4ecdf; --entry-muted:#c8bbab; }
html:has(body.entry-v2), body.entry-v2 { width:100%; height:100%; min-height:100%; overflow:hidden !important; }
body.entry-v2 *, body.entry-v2 *::before, body.entry-v2 *::after { box-sizing:border-box; }
body.entry-v2 { margin:0 !important; min-height:100svh !important; height:100dvh !important; background:radial-gradient(circle at 82% 12%,#6b493456,transparent 34%),#211915 !important; color:var(--entry-text); }
body.entry-v2 { font-family:"Yu Gothic",Meiryo,sans-serif; }
body.entry-v2 h1 { font-family:"Yu Mincho","Noto Serif JP",serif; font-weight:600; }
body.entry-v2 a { color:var(--entry-text) !important; text-decoration:none !important; border:1px solid #9e7953 !important; }
body.entry-v2 > main.preview:not(.preview-card) { width:100%; height:100%; min-height:0; display:grid; place-items:center; padding:clamp(6px,1.4vh,14px); overflow:hidden; }
body.entry-v2 > main.preview-card,
body.entry-v2 main.preview > .preview-card {
  width:min(1180px,calc(100vw - clamp(12px,2.8vw,36px))) !important;
  height:calc(100dvh - clamp(12px,2.8vh,28px)) !important;
  max-width:none !important; max-height:none !important;
  margin:auto !important; padding:clamp(12px,2.2vh,24px) !important;
  overflow:hidden !important;
  display:grid !important;
  grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);
  grid-template-areas:"cover eyebrow" "cover title" "cover lead" "cover recap" "cover status" "cover actions" "cover spec";
  grid-template-rows:auto auto auto auto auto auto auto;
  align-content:center; align-items:center;
  column-gap:clamp(18px,3vw,42px); row-gap:clamp(5px,1.15vh,12px);
  border:1px solid var(--entry-line) !important; border-radius:14px !important;
  background:linear-gradient(145deg,#30251ff2,#241b17f7) !important;
  box-shadow:0 22px 65px #0008 !important;
}
body.entry-v2 .thumb { grid-area:cover; width:100% !important; height:100% !important; min-width:0; min-height:0; margin:0 !important; display:grid; place-items:center; overflow:hidden; border:1px solid #ffffff12; border-radius:10px; background:#100c0a; }
body.entry-v2 .thumb img { display:block; width:100% !important; height:100% !important; max-width:100%; max-height:100%; object-fit:contain !important; object-position:center; }
body.entry-v2 .eyebrow { grid-area:eyebrow; margin:0 !important; color:var(--entry-gold) !important; font-size:clamp(10px,1.15vw,13px) !important; line-height:1.35; letter-spacing:.12em; }
body.entry-v2 h1 { grid-area:title; margin:0 !important; font-size:clamp(23px,2.8vw,40px) !important; line-height:1.28 !important; text-wrap:balance; }
body.entry-v2 .lead { grid-area:lead; margin:0 !important; color:var(--entry-muted) !important; font-size:clamp(12px,1.18vw,15px) !important; line-height:1.65 !important; }
.entry-recap { grid-area:recap; min-height:0; padding:clamp(8px,1.35vh,14px) clamp(10px,1.5vw,16px); border-left:3px solid var(--entry-gold); background:#ffffff0a; border-radius:0 8px 8px 0; }
.entry-recap__label { display:block; margin-bottom:2px; color:var(--entry-gold); font-size:10px; letter-spacing:.12em; }
.entry-recap p { margin:0; color:var(--entry-text); font-size:clamp(11px,1.08vw,14px); line-height:1.58; }
.preload-status { grid-area:status; display:flex; align-items:center; gap:8px; min-height:20px; color:var(--entry-muted); font-size:11px; }
.preload-status__dot { width:7px; height:7px; flex:0 0 auto; border-radius:50%; background:#b88b58; box-shadow:0 0 0 0 #b88b5880; animation:entry-pulse 1.45s infinite; }
.preload-status.is-ready { color:#d8c9b6; }
.preload-status.is-ready .preload-status__dot { background:#81b692; animation:none; box-shadow:0 0 0 3px #81b69222; }
@keyframes entry-pulse { 70%{box-shadow:0 0 0 7px #b88b5800} 100%{box-shadow:0 0 0 0 #b88b5800} }
body.entry-v2 .entry-actions { grid-area:actions; margin:0 !important; display:grid !important; grid-template-columns:1fr 1fr; gap:8px !important; }
body.entry-v2 .entry-actions a { min-width:0; min-height:40px; margin:0 !important; padding:8px 10px !important; display:flex !important; align-items:center; justify-content:center; border-radius:8px !important; font-size:clamp(11px,1.05vw,14px) !important; line-height:1.3; text-align:center; }
body.entry-v2 .entry-actions .primary { background:#725036 !important; border-color:#c99a63 !important; }
body.entry-v2 .spec { grid-area:spec; margin:0 !important; padding:0 !important; display:flex !important; flex-wrap:wrap; gap:5px 14px; color:var(--entry-muted); font-size:10px !important; line-height:1.3; }
body.entry-v2 .spec div { display:flex !important; gap:5px; margin:0 !important; padding:0 !important; border:0 !important; }
body.entry-v2 .spec dt, body.entry-v2 .spec dd { margin:0 !important; padding:0 !important; }
body.entry-v2 .spec dt { color:#a9957d; }
@media (max-width:700px) {
  body.entry-v2 > main.preview:not(.preview-card) { padding:6px; }
  body.entry-v2 > main.preview-card,
  body.entry-v2 main.preview > .preview-card {
    width:100% !important; height:100% !important; padding:8px !important;
    grid-template-columns:1fr;
    grid-template-areas:"cover" "eyebrow" "title" "lead" "recap" "status" "actions" "spec";
    grid-template-rows:minmax(100px,36dvh) auto auto auto auto auto auto auto;
    align-content:stretch; align-items:center; gap:4px; border-radius:10px !important;
  }
  body.entry-v2 .thumb { max-height:none; }
  body.entry-v2 .eyebrow { font-size:9px !important; }
  body.entry-v2 h1 { font-size:clamp(17px,5.1vw,23px) !important; line-height:1.2 !important; }
  body.entry-v2 .lead { font-size:clamp(10px,3vw,13px) !important; line-height:1.4 !important; }
  .entry-recap { padding:5px 8px; }
  .entry-recap__label { font-size:8px; margin:0; }
  .entry-recap p { font-size:clamp(9px,2.75vw,12px); line-height:1.4; }
  .preload-status { min-height:16px; font-size:9px; }
  body.entry-v2 .entry-actions a { min-height:34px; padding:5px 7px !important; font-size:10px !important; }
  body.entry-v2 .spec { gap:3px 8px; font-size:8px !important; white-space:nowrap; overflow:hidden; }
}
@media (max-height:620px) and (min-width:701px) {
  body.entry-v2 > main.preview-card,
  body.entry-v2 main.preview > .preview-card { padding:9px 14px !important; row-gap:3px; }
  body.entry-v2 h1 { font-size:clamp(19px,2.5vw,30px) !important; }
  body.entry-v2 .lead, .entry-recap p { font-size:11px !important; line-height:1.35 !important; }
  .entry-recap { padding:5px 8px; }
  body.entry-v2 .entry-actions a { min-height:32px; padding:4px 7px !important; }
  body.entry-v2 .spec { font-size:8px !important; }
}
@media (max-height:570px) and (max-width:700px) {
  body.entry-v2 > main.preview-card,
  body.entry-v2 main.preview > .preview-card {
    grid-template-columns:minmax(0,1.08fr) minmax(260px,.92fr);
    grid-template-areas:"cover eyebrow" "cover title" "cover lead" "cover recap" "cover status" "cover actions" "cover spec";
    grid-template-rows:auto auto auto auto auto auto auto;
    align-content:center; column-gap:10px;
  }
}
@media (prefers-reduced-motion:reduce) { .preload-status__dot { animation:none; } }

body.entry-v2 .entry-actions a[aria-disabled="true"]{opacity:.52;cursor:wait;pointer-events:none}


