
:root{--paper:#f4f1e8;--card:#fffdf6;--ink:#272b27;--muted:#4f5b52;--line:#d8d5c7;--accent:#22534a}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.78 system-ui,"Malgun Gothic",sans-serif;overflow-wrap:anywhere}.wrap{width:min(100% - 2rem,60rem);margin-inline:auto}.mast{background:#203c34;color:#fffaf0;padding:clamp(2.3rem,8vw,5rem) 0 2.6rem;border-bottom:.3rem solid #b49d64}.brand{margin:0;color:#ece0c1;font-size:.9rem}h1,h2,h3{line-height:1.28;word-break:keep-all}h1{font:700 clamp(2.4rem,7vw,4.55rem)/1.16 Georgia,"Batang",serif;margin:.5rem 0 .8rem}.mast p:last-child{max-width:39rem;margin:0}main{padding:1.6rem 0 4rem}section{margin-top:2.6rem}h2{margin:0 0 .6rem;font-size:clamp(1.35rem,4vw,1.85rem)}h3{margin:0 0 .35rem;font-size:1.2rem}p{max-width:44rem}[id]{scroll-margin-top:1rem}a{color:var(--accent);text-underline-offset:.22em}a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.45rem}nav a{display:block;padding:.4rem .7rem;border:1px solid var(--line);background:var(--card);border-radius:.25rem}
article,figure,details{background:var(--card);border:1px solid var(--line);border-radius:.4rem}article,details{padding:clamp(1rem,4vw,1.6rem)}article p:last-child{margin-bottom:0}.meta,figcaption span,.note{display:block;color:var(--muted);font-size:.9rem}.note{border-left:3px solid #b49d64;padding-left:.85rem}
.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}figure{margin:0;overflow:hidden}img{display:block;width:100%;height:auto}figcaption{padding:.75rem .9rem;border-top:1px solid var(--line)}details{margin-top:1rem}summary{cursor:pointer;font-weight:700}details .gallery{margin-top:1rem}footer{margin-top:2.6rem}@media(max-width:40rem){.gallery{grid-template-columns:1fr}}

.screen-poem{margin:.9rem 0}.screen-poem .meta{margin:.25rem 0 .8rem}
.poem-stage{height:clamp(15rem,64vh,32rem);position:relative;overflow:hidden;isolation:isolate;background:#121318;border-radius:.3rem}
.poem-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.poem-stage.active::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.40);z-index:0}
.poem-motion{position:absolute;top:100%;left:0;right:0;z-index:1;padding:0 1rem;color:#fffdf6;text-align:center;visibility:hidden;font:600 clamp(1.02rem,3.4vw,1.43rem)/1.62 Georgia,"Batang",serif;text-shadow:0 1px 4px #090909,0 0 12px #101010}
.poem-stage.active .poem-motion{visibility:visible}
.poem-blue .poem-motion{color:#87bdff;text-shadow:0 1px 4px #10141f,0 0 12px #111827}
.poem-red .poem-motion{color:#ff999f;text-shadow:0 1px 4px #201013,0 0 12px #260c11}
.poem-blue .poem-text p{color:#164c9c}
.poem-red .poem-text p{color:#a62332}

.poem-motion p{margin:0 auto 1.18em;max-width:31rem}
.poem-buttons{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.7rem}
.poem-buttons[hidden],.poem-audio[hidden]{display:none}
.poem-buttons button{font:inherit;color:var(--accent);background:var(--card);border:1px solid var(--line);border-radius:.25rem;padding:.32rem .72rem;cursor:pointer}
.poem-buttons button:focus-visible,.poem-audio input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.poem-buttons button:disabled{opacity:.55;cursor:default}
.poem-text{padding:.65rem .85rem}.poem-text p{margin:1em 0}
.poem-audio label{display:inline-flex;align-items:center;gap:.55rem;cursor:pointer}
@media(orientation:landscape) and (max-height:540px){.poem-stage{height:69vh;min-height:9rem}}

.guide-back{max-width:68rem;margin:auto;padding:.75rem 1rem;font:inherit}.guide-back a{color:inherit}