
/* Place preview and its full-page edition share the same photo and typographic scale. */
.sg-dialog,.sg-page{--sg-ink:#122d3d;--sg-paper:#fffefb;--sg-muted:#52626a;--sg-line:#dce1db;--sg-accent:#a54a33;--sg-serif:Georgia,"Noto Serif CJK SC","Songti SC","Yu Mincho",Batang,serif;color:var(--sg-ink)}
.ra-section dialog.sg-dialog{position:fixed;inset:0;padding:0;margin:auto;width:min(510px,calc(100vw - 28px));max-height:min(89dvh,820px);box-sizing:border-box;border:0;border-radius:16px;background:var(--sg-paper);color:var(--sg-ink);overflow:auto;overscroll-behavior:contain;box-shadow:0 25px 100px #071e3055}
.sg-dialog::backdrop{background:#081923a8}.sg-dialog[open]{animation:sg-open .16s ease-out}
@keyframes sg-open{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.ra-section .sg-dialog .sg-close{position:absolute;z-index:2;inset:14px 14px auto auto;background:#fffef9f7;color:#143040;border:1px solid #fff9;border-radius:50%;width:39px;height:39px;padding:0;font:26px/1 system-ui;box-shadow:0 2px 12px #13232b24}
.sg-photo{position:relative;isolation:isolate;margin:0;overflow:hidden;background:#d4e1df}.sg-photo img{display:block;width:100%;height:100%;object-fit:cover}.sg-dialog .sg-photo{aspect-ratio:2.15}
.sg-photo figcaption{position:absolute;bottom:8px;right:10px;max-width:85%;background:#102835d9;border-radius:3px;color:#fff;padding:3px 6px;font:10px/1.4 system-ui}.sg-photo figcaption a{color:inherit;text-decoration:underline}.sg-photo [hidden]{display:none}
.sg-body{padding:20px 25px 19px}.sg-kicker{color:#97472f;font:700 11px/1.5 system-ui;letter-spacing:.075em}.sg-dialog h3,.sg-page h1{font:600 clamp(26px,3vw,39px)/1.16 var(--sg-serif);letter-spacing:-.035em;margin:6px 0;color:var(--sg-ink);overflow-wrap:anywhere}.sg-name{margin:3px 0;color:var(--sg-muted);font:13px/1.5 system-ui}.sg-brief{margin:14px 0;color:#314650;font:15px/1.7 system-ui;overflow-wrap:anywhere}.sg-dialog .sg-brief{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sg-facts{display:flex;flex-wrap:wrap;gap:8px 25px;border-block:1px solid var(--sg-line);padding:11px 0;margin:14px 0}.sg-facts div{min-width:0}.sg-facts small,.sg-facts b{display:block}.sg-facts small{color:var(--sg-muted);font:12px/1.5 system-ui}.sg-facts b{color:var(--sg-ink);font:600 14px/1.5 system-ui}
.sg-actions,.sg-links{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.sg-actions .sg-main,.sg-page .sg-main{display:inline-flex;align-items:center;justify-content:space-between;gap:15px;background:#143448;color:#fff;border:1px solid #143448;border-radius:6px;padding:10px 14px;font:650 14px/1.45 system-ui;text-decoration:none}.sg-main:hover{background:#214759}
.ra-section .sg-actions button{padding:10px 12px;border-radius:6px;font:600 13px/1.45 system-ui}.sg-links{margin-top:12px;gap:16px}.sg-links a,.ra-section .sg-links button{background:none;border:0;padding:3px 0;color:var(--sg-muted);font:12px/1.5 system-ui;text-decoration:underline;text-underline-offset:3px}
.ra-map [data-mark]:focus-visible .ra-pin{stroke:#0a3f57;stroke-width:6}
.sg-page{margin:0;background:#f8f7f2;font:16px/1.65 system-ui;min-height:100vh}.sg-page *{box-sizing:border-box}.sg-page a{color:inherit;text-underline-offset:4px}.sg-page header{background:#fffefb;border-bottom:1px solid var(--sg-line)}.sg-head,.sg-article{width:min(94%,1020px);margin:auto}.sg-head{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px}.sg-brand{font:700 19px var(--sg-serif);text-decoration:none}.sg-head nav{display:flex;align-items:center;gap:14px;font-size:13px}.sg-head select{padding:6px;max-width:105px;border:1px solid var(--sg-line);border-radius:4px;background:white;color:inherit}
.sg-article{padding:clamp(22px,5vw,66px) 0}.sg-lead{display:grid;grid-template-columns:1.12fr 1fr;align-items:center;gap:clamp(18px,4vw,52px)}.sg-lead .sg-photo{min-height:180px;aspect-ratio:1.48;border-radius:12px}.sg-page h1{font-size:clamp(30px,4vw,48px)}.sg-content{display:grid;grid-template-columns:1.12fr 1fr;gap:clamp(18px,4vw,52px);margin-top:34px}.sg-page h2{font:600 23px/1.4 var(--sg-serif);margin:0 0 12px}.sg-page dl,.sg-near{border-top:1px solid var(--sg-line);margin:0}.sg-page dl>div{display:grid;grid-template-columns:minmax(75px,.45fr) 1fr;padding:10px 0;gap:8px;border-bottom:1px solid var(--sg-line)}.sg-page dt,.sg-near small{font:12px/1.6 system-ui;color:var(--sg-muted)}.sg-page dd{margin:0;overflow-wrap:anywhere;font-size:14px}.sg-near a{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:9px;border-bottom:1px solid var(--sg-line);text-decoration:none;font-weight:600}.sg-near small{white-space:nowrap}.sg-page .sg-more{display:flex;gap:15px;flex-wrap:wrap;font-size:13px;margin:11px 0}.sg-page button{cursor:pointer}.sg-error{padding:20px 0}
@media(max-width:650px){.ra-section dialog.sg-dialog{inset:auto 0 0;width:100%;max-width:100%;max-height:90dvh;border-radius:18px 18px 0 0;margin:0;padding-bottom:env(safe-area-inset-bottom)}.sg-body{padding:16px 18px}.sg-dialog .sg-photo{aspect-ratio:2.15}.sg-page .sg-lead,.sg-page .sg-content{grid-template-columns:1fr}.sg-head{width:94%}.sg-head nav{gap:7px}.sg-lead .sg-photo{max-height:310px}.sg-article{width:91%}}
@media(prefers-reduced-motion:reduce){.sg-dialog[open]{animation:none}}

