* { box-sizing:border-box; }
:root { color-scheme:dark; }
html,body { margin:0; min-height:100%; background:#050505; color:#f2f0eb; }
body { font-family:"Noto Serif SC","Songti SC","SimSun",Georgia,serif; }
header { padding:26px 30px; }
.brand { color:inherit; font-size:17px; letter-spacing:.16em; text-decoration:none; }
main { width:min(88vw,460px); margin:32px auto 10vh; text-align:center; }
.game { display:block; width:100%; appearance:none; padding:13px 4px; margin:0 0 8px; border:0; background:none; color:inherit; cursor:pointer; font:inherit; }
.name { display:block; font-size:16px; font-weight:400; line-height:1.7; letter-spacing:.08em; overflow-wrap:anywhere; }
.english { display:block; margin:5px 0 0; color:#888; font:10px/1.5 Arial,sans-serif; letter-spacing:.13em; overflow-wrap:anywhere; }
.meta { display:block; margin-top:8px; color:#aaa; font-size:11px; line-height:1.8; letter-spacing:.04em; }
.game:hover .name { color:#aaa; }
a:focus-visible,button:focus-visible { outline:1px solid #ddd; outline-offset:5px; }
footer { color:#888; font-size:11px; line-height:2; letter-spacing:.04em; }
dialog { width:min(92vw,600px); max-height:90svh; padding:0; overflow:auto; border:1px solid #272727; background:#0b0b0b; color:#eee; box-shadow:0 28px 90px #000; }
.game-photo { margin:0; height:clamp(220px,38svh,380px); padding:24px; display:grid; place-items:center; background:#141414; }
.game-photo img { width:100%; height:100%; min-height:0; object-fit:contain; }
.game-photo [hidden] { display:none; }
#image-status { color:#aaa; font-size:12px; line-height:1.8; text-align:center; }
.detail-body { padding:30px 40px 36px; }
dialog::backdrop { background:rgba(0,0,0,.84); backdrop-filter:blur(4px); }
body:has(dialog[open]) { overflow:hidden; }
.close { position:absolute; top:12px; right:12px; z-index:1; width:44px; height:44px; border:1px solid #555; border-radius:50%; background:#0b0b0be6; color:#eee; font-size:25px; cursor:pointer; }
.detail-kicker { color:#aaa; margin:0 0 16px; font-size:11px; letter-spacing:.2em; }
dialog h2 { margin:0 24px 7px 0; font-size:27px; line-height:1.5; font-weight:400; letter-spacing:.08em; overflow-wrap:anywhere; }
dl { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin:28px 0; padding:24px 0; border-top:1px solid #252525; border-bottom:1px solid #252525; }
dt { color:#888; font-size:11px; margin-bottom:8px; }
dd { margin:0; font-size:14px; line-height:1.7; }
.wide { grid-column:1 / -1; }
.description { color:#d0cdc7; font-size:14px; line-height:2; margin:0 0 18px; }
.note { color:#999; font-size:12px; line-height:1.9; margin:0 0 24px; }
.detail-links { display:flex; gap:24px; flex-wrap:wrap; }
.detail-links a { color:#aaa; font-size:11px; text-underline-offset:4px; }
@media(max-width:520px) { header { padding:22px 20px; } main { margin-top:4vh; } .detail-body { padding:26px 24px 28px; } .game-photo { padding:20px; } dialog h2 { font-size:24px; } }
