.edge-hero{padding-block:clamp(1.65rem,4vw,3.4rem)}
.edge-hero h1{max-width:none;font-size:clamp(2.2rem,5vw,4rem)}
.edge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.65rem,2vw,1.4rem)}
.edge-cell{margin:0;border:1px solid var(--line,#c5b69d);background:#fff;min-width:0}
.edge-cell a{display:block;height:auto}
.edge-cell a:focus-visible{outline:3px solid #996a10;outline-offset:-4px}
.edge-cell img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#eee5d5}
.edge-cell figcaption{padding:.7rem .9rem;color:var(--ink,#2b241b)}
.edge-plain{display:block;margin-top:.1rem;font-size:.9rem;color:#6f4e1d}
.edge-back{margin:2rem 0 clamp(2rem,5vw,5rem)}
.edge-dialog{width:min(1060px,calc(100% - 1.25rem));max-width:none;max-height:calc(100dvh - 1.25rem);padding:clamp(.65rem,2vw,1.3rem);margin:auto;background:#f7f3eb;color:#2b241b;border:1px solid #6f4e1d;overscroll-behavior:contain}
.edge-dialog::backdrop{background:#2b241bd9}
.edge-dialog-top,.edge-dialog-controls{display:flex;gap:.55rem;align-items:center;justify-content:space-between}
.edge-dialog-top h2{font-size:1rem}
.edge-dialog img{display:block;width:100%;height:min(65dvh,680px);object-fit:contain;background:white;margin-block:.6rem}
.edge-dialog button{appearance:none;min-height:44px;min-width:44px;border:1px solid #30261c;background:#ffda58;color:#2b241b;font:inherit;font-weight:680;padding:.3rem .65rem;cursor:pointer}
.edge-dialog button:hover{background:#d2aa37}
.edge-dialog button:focus-visible{outline:3px solid #996a10;outline-offset:3px}
.edge-dialog button[hidden]{display:none}
.edge-dialog-controls p{margin:0;text-align:center;font-size:.92rem}
@media(max-width:660px){.edge-grid{grid-template-columns:1fr}.edge-cell img{max-height:60vh}.edge-dialog img{height:min(58dvh,580px)}}
