.band{background:var(--band);color:var(--band-ink);padding:1.5rem 0 2.5rem}.band h1{letter-spacing:0;color:var(--band-muted);max-width:34rem;margin:0 0 2rem;font-size:1rem;font-weight:500}.band :focus-visible{outline-color:var(--thread-a)}.poem-wrap{padding-right:4rem;position:relative}.poem{display:grid}.poem .row{grid-template-columns:4.75rem 1fr 1.25rem;align-items:baseline;gap:.75rem;min-height:3.1rem;display:grid}.poem .row.isi-start{margin-top:1.1rem}.poem .role{color:var(--band-muted);font-size:.78rem}.poem .letter{text-align:right;color:var(--band-muted);font-size:.78rem;font-weight:700}.poem .letter.a{color:var(--thread-a)}.poem .letter.b{color:var(--thread-b)}.poem .line{font-family:var(--font-poem);overflow-wrap:anywhere;font-size:clamp(1.4rem,.95rem + 2.1vw,2.35rem);line-height:1.3}.poem .line.placeholder:before{content:"";background:var(--band-line);vertical-align:middle;width:72%;height:1px;display:inline-block}.poem .row.extra .line{color:var(--band-muted)}.poem .tail.a{color:var(--thread-a)}.poem .tail.b{color:var(--thread-b)}.poem .caret{background:var(--thread-a);vertical-align:-.1em;width:.07em;height:.95em;margin-left:2px;animation:1s step-end infinite blink;display:inline-block}@keyframes blink{50%{opacity:0}}.threads{width:4rem;height:100%;position:absolute;top:0;right:0;overflow:visible}.threads path{fill:none;stroke-width:2px;stroke-linecap:round}.threads .ghost{stroke:var(--band-line);stroke-dasharray:3 5}.threads path.drawn{stroke-dasharray:var(--len);stroke-dashoffset:var(--len);animation:.7s ease-out forwards draw}@keyframes draw{to{stroke-dashoffset:0}}.actions{border-top:1px solid var(--band-line);margin-top:2rem;padding-top:1.5rem}.band [class*=when-]{display:none}.band[data-state=idle] .when-idle,.band[data-state=error] .when-idle,.band[data-state=loading] .when-loading{display:block}.band[data-state=ready] .when-ready{display:flex}.btn-gold,.btn-ghost{font:inherit;cursor:pointer;border-radius:10px;min-height:46px;padding:.65rem 1.15rem;font-size:.95rem;font-weight:650}.btn-gold{background:var(--thread-a);color:var(--band);border:1px solid var(--thread-a)}.btn-gold:hover:not(:disabled){background:#f6c477}.btn-gold .size{opacity:.75;margin-left:.35rem;font-weight:500}.btn-ghost{color:var(--band-ink);border:1px solid var(--band-line);background:0 0}.btn-ghost:hover:not(:disabled){border-color:var(--band-muted)}.btn-ghost[aria-expanded=true]{background:var(--band-line)}.btn-gold:disabled,.btn-ghost:disabled{opacity:.4;cursor:not-allowed}.buttons{flex-wrap:wrap;gap:.5rem}.progress{background:var(--band-line);border-radius:2px;max-width:22rem;height:3px;margin:1.3rem 0;overflow:hidden}.progress span{background:var(--thread-a);width:0;height:100%;transition:width .15s linear;display:block}.status{color:var(--band-muted);margin:.85rem 0 0;font-size:.88rem}.status.error{color:#ffb4a8}.stats{flex-wrap:wrap;gap:.35rem 1.5rem;margin:.5rem 0 0;font-size:.88rem;display:flex}.stats div{gap:.4rem;display:flex}.stats dt{color:var(--band-muted)}.stats dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.stats button{font:inherit;color:var(--band-ink);cursor:pointer;text-underline-offset:3px;background:0 0;border:none;padding:0;font-weight:600;text-decoration:underline dotted}.settings:not([hidden]){border:1px solid var(--band-line);border-radius:12px;grid-template-columns:1fr;gap:.25rem 1rem;max-width:34rem;margin-top:1.25rem;padding:1rem 1.1rem;display:grid}@media (width>=560px){.settings:not([hidden]){grid-template-columns:7.5rem 1fr;align-items:center}}.settings label{color:var(--band-muted);padding-top:.4rem;font-size:.85rem}.settings input[type=text],.settings input[type=number],.settings select{font:inherit;box-sizing:border-box;width:100%;min-height:44px;color:var(--band-ink);border:1px solid var(--band-line);background:#ffffff0f;border-radius:8px;padding:.45rem .7rem;font-size:.95rem}.settings select option{color:#1a2147}.settings input::placeholder{color:var(--band-muted);opacity:.7}.range-row{align-items:center;gap:.75rem;min-height:44px;display:flex}.range-row input{width:100%;accent-color:var(--thread-a)}.range-row output{font-variant-numeric:tabular-nums;min-width:2.5ch}.note{color:var(--thread-a);margin:.3rem 0 0;font-size:.8rem}.note:empty{display:none}.footnote{color:var(--ink-2);margin:0;font-size:.9rem}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=479px){.poem-wrap{padding-right:2.75rem}.poem .row{grid-template-columns:1fr 1rem;gap:.5rem;min-height:2.6rem}.poem .role{display:none}.threads{width:2.75rem}.band h1{margin-bottom:1.5rem}}
