.lore-layout{max-width:1120px;padding-block:24px 64px}.fixture-banner{display:flex;gap:12px 24px;align-items:center;flex-wrap:wrap;border:1px solid #d18e60;border-left:4px solid #ff9a80;background:#192c39;padding:15px 18px;font-size:16px}.fixture-banner strong{color:#ffbda6;white-space:nowrap}.fixture-banner span{max-width:75ch}.lore-breadcrumb{font-size:15px;color:var(--dim);margin:20px 0 14px}.lore-nav{display:flex;gap:8px 22px;flex-wrap:wrap;padding:0 0 20px;margin-bottom:26px;border-bottom:1px solid var(--line)}.lore-nav a{min-height:36px;display:inline-flex;align-items:center;font-size:16px}.lore-layout h1{font-size:clamp(36px,5vw,58px);max-width:25ch;margin:0 0 22px}.lore-layout h2{font-size:31px;margin:0 0 16px}.lore-layout h3{font-size:25px;margin:0 0 12px}.lore-layout p{max-width:76ch}.lore-layout section{margin-top:32px;padding-top:28px;border-top:1px solid var(--line)}.lore-layout .lead{font-size:22px}.result-summary{border:1px solid var(--line-strong);background:var(--board);padding:22px 24px;margin:28px 0}.result-summary .eyebrow{margin-bottom:10px}.result-summary p:last-child{margin-bottom:0}.crossing-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-block:24px}.crossing-figure{margin:0}.crossing-figure figcaption{font-size:17px;color:var(--dim);margin-bottom:12px}.crossing{display:grid;grid-template-columns:1fr 1fr 1fr;gap:3px}.map-cell{min-height:124px;padding:14px 10px;display:flex;flex-direction:column;justify-content:center;text-align:center;color:#0b1824}.map-cell b{font-family:var(--head);font-size:23px;line-height:1.1;margin-bottom:12px}.map-cell span{font-size:14px}.map-cell.france{background:#58c9c0}.map-cell.tokugawa{background:#ff9a80}.map-cell.gate{outline:3px solid #f5f1e8;outline-offset:-5px}.historical-fact{padding:20px 24px;background:var(--board);border-left:3px solid var(--teal);margin:20px 0}.historical-fact p:last-child{margin-bottom:0}.story-draft{border-left:3px solid #ff9a80!important;padding-left:22px}.fiction-label{background:#122836;padding:24px!important}.editor-review dl,.lore-boundaries dl{display:grid;grid-template-columns:170px 1fr;gap:14px 24px}.editor-review dt,.lore-boundaries dt{font-weight:600}.editor-review dd,.lore-boundaries dd{margin:0;color:var(--dim)}.editor-review li,.lore-guidance li{margin-bottom:14px}.lore-guidance{padding-left:25px;max-width:78ch}.prompt-panel{max-width:900px}.prompt-panel label{display:block;font-size:18px;margin:20px 0 9px}.prompt-panel input,.prompt-panel textarea{display:block;width:100%;font:17px/1.5 var(--body);background:#07121b;color:var(--paper);border:1px solid var(--line-strong);border-radius:5px;padding:13px}.prompt-panel textarea{min-height:420px;max-height:70vh;resize:vertical}.prompt-panel button{margin-top:18px}.prompt-panel #copy-status{min-height:28px;color:var(--dim);font-size:16px;margin-top:12px}
@media(max-width:700px){.lore-layout{padding-top:18px}.fixture-banner{font-size:14px;gap:5px}.lore-nav{gap:4px 18px;margin-bottom:22px}.lore-nav a{font-size:15px;min-height:38px}.lore-layout .lead{font-size:20px}.lore-layout h2{font-size:28px}.result-summary{padding:18px}.crossing-pair{grid-template-columns:1fr;gap:24px}.map-cell{min-height:114px;padding:12px 7px}.map-cell b{font-size:21px}.map-cell span{font-size:13px}.historical-fact{padding:18px}.editor-review dl,.lore-boundaries dl{grid-template-columns:1fr;gap:6px}.editor-review dd,.lore-boundaries dd{margin-bottom:15px}.prompt-panel textarea{min-height:360px}.lore-layout section{margin-top:26px;padding-top:24px}}
@media(max-width:360px){.map-cell b{font-size:19px}.map-cell span{font-size:12px}.lore-layout h1{font-size:35px}}

.declared-stake{display:grid;grid-template-columns:170px 1fr;gap:10px 18px;margin:16px 0 22px}.declared-stake dt{font-weight:600}.declared-stake dd{margin:0;color:var(--dim)}#border-change:focus-visible{outline:2px solid var(--teal);outline-offset:6px}#border-change .eyebrow{color:#ffbda6;font-size:15px}#border-change{scroll-margin-top:100px}@media(max-width:700px){.declared-stake{grid-template-columns:1fr;gap:5px}.declared-stake dd{margin-bottom:12px}}
