/* A private, finite ritual in the site's existing bronze and ink palette. */
.is-releasing,.is-releasing body{overflow:hidden}
.release-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:22px 40px 20px;overflow:auto;border:1px solid #8e7545;background:#0d1718;color:var(--text);box-shadow:0 30px 100px #0009}
.release-dialog::backdrop{background:#040b0cd9;backdrop-filter:blur(3px)}
.release-dialog>:not(.release-smoke){position:relative;z-index:2}
.release-smoke{position:fixed;inset:0;display:block;width:100vw;height:100dvh;max-width:none;pointer-events:none;z-index:1}
.release-dialog[data-state=releasing],.release-dialog[data-state=complete]{background:transparent;border-color:transparent;box-shadow:none}
.release-dialog[data-state=releasing]::backdrop,.release-dialog[data-state=complete]::backdrop{background:#040c0de6;backdrop-filter:blur(8px)}
.release-dialog[data-state=releasing] #release-title,.release-dialog[data-state=complete] #release-title{z-index:0;color:#c4cec6}
.release-dialog[data-state=releasing] .release-footer,.release-dialog[data-state=complete] .release-footer{border-color:transparent}
.release-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:11px;letter-spacing:.12em;color:var(--muted)}
.release-heading button{min-width:44px;min-height:44px;font-size:27px;color:var(--gold)}
.release-dialog h2{font-size:32px;line-height:1.6;letter-spacing:.12em;margin:22px 0 30px;font-weight:400;outline:none}
.release-dialog label{display:block;font-size:12px;color:#d4c8ab;letter-spacing:.12em;margin-bottom:10px}
.release-intro{font-size:12px;color:#a9b7af;margin:0 0 20px;line-height:1.9}
.release-dialog textarea{display:block;resize:vertical;width:100%;min-height:120px;max-height:220px;border:1px solid #b9a37742;border-radius:0;background:#091213;color:#e2d5b8;padding:18px;font:16px/1.9 'Noto Serif SC','Songti SC',serif;letter-spacing:.05em;outline-offset:4px}
.release-dialog textarea::placeholder{color:#8b9c96;font-size:14px}
.release-dialog textarea:focus-visible{outline:2px solid var(--gold)}
.release-input-meta{display:flex;justify-content:space-between;gap:12px;color:#9aaba4;font-size:10px;margin:10px 0 27px}
.release-dialog .button-primary{min-width:154px;justify-content:center;font-size:12px;min-height:44px}
.release-dialog button:disabled{cursor:wait;opacity:.6}
.release-duration{color:#a9b6ae;font-size:11px;line-height:1.9;margin:17px 0 7px}
.release-privacy{font-size:11px;line-height:1.9;color:#a9b6ae;margin:0 0 24px}
.release-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;color:#9aaba4;font-size:10px;letter-spacing:.04em;padding-top:9px}
.release-footer button,.release-controls button{min-height:44px;padding:8px 10px;color:var(--gold);font-size:11px}
.release-dialog[data-state=releasing] h2,.release-dialog[data-state=complete] h2{text-align:center;margin:18px 0 0;font-size:28px}
.release-art{position:relative;margin:0 -15px;aspect-ratio:900/480}
.release-words{position:absolute;left:10%;right:10%;top:42%;transform:translateY(-50%);margin:0;color:#decba5;font:24px/1.9 'Noto Serif SC','Songti SC',serif;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:none}
.release-guide{text-align:center;color:#b8c1b5;letter-spacing:.1em;font-size:13px;line-height:1.9;min-height:50px;margin:14px 0 14px}
.release-progress{height:2px;width:170px;max-width:60%;background:#c5ad7f1f;margin:0 auto 12px}
.release-progress span{display:block;width:var(--release-progress,0%);height:100%;background:#c5ad7f9e}
.release-controls,.release-ending{display:flex;justify-content:center;align-items:center;gap:26px;margin:0 0 22px}
.release-controls button{border-bottom:1px solid var(--line)}
.release-controls button[aria-pressed=true]{color:#eee0b9;border-bottom-color:#c5ad7f}
.release-ending .button{font-size:12px;min-height:44px;justify-content:center}
@media(max-width:600px){
 .release-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:12px 22px 14px}
 .release-heading{font-size:10px;letter-spacing:.04em}
 .release-dialog h2{font-size:25px;letter-spacing:.07em;margin:17px 0 25px}
 .release-intro{font-size:11px}
 .release-dialog textarea{padding:14px;min-height:116px;font-size:16px}
 .release-dialog textarea::placeholder{font-size:13px}
 .release-input-meta{margin-bottom:22px}
 .release-duration,.release-privacy{font-size:10px}
 .release-dialog[data-state=releasing] h2,.release-dialog[data-state=complete] h2{font-size:22px;letter-spacing:.04em;margin-top:14px}
 .release-art{margin:8px -14px 0;height:255px;aspect-ratio:auto}
 .release-words{font-size:18px;line-height:1.8}
 .release-guide{font-size:12px;letter-spacing:.03em;margin:9px 0 12px}
 .release-controls,.release-ending{gap:15px;margin-bottom:18px}
 .release-ending .button{min-width:0;font-size:11px;padding:0 16px}
 .release-footer{font-size:9px;letter-spacing:0}
}
@media(max-height:580px){.release-dialog h2{margin-top:8px;margin-bottom:17px}.release-art{height:200px;aspect-ratio:auto}.release-guide{min-height:0;margin:8px 0}.release-controls,.release-ending{margin-bottom:10px}}
