:root {
    --hw-wall: #F2F3EF;
    --hw-paper: #FFFFFF;
    --hw-ink: #1D2522;
    --hw-mute: #5B6761;
    --hw-line: #D5D9D2;
    --hw-accent: #2D3FA8;
    --hw-accent-ink: #FFFFFF;
    --hw-band: #1D2522;
    --hw-band-ink: #ECEEE8;
    --hw-band-mute: #AEB8B2;
    --hw-foot: #E7E9E3;
    --hw-frame: #A9B2AB;
    --hw-frame-hover: var(--hw-accent);
    --hw-shadow: 0 1px 0 rgba(29, 37, 34, .06), 0 14px 28px -18px rgba(29, 37, 34, .45);
    --hw-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", P052, Georgia, serif;
    --hw-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --hw-wall: #141817;
        --hw-paper: #1D2321;
        --hw-ink: #E6E9E3;
        --hw-mute: #9DA8A2;
        --hw-line: #313936;
        --hw-accent: #A3AEFF;
        --hw-accent-ink: #141817;
        --hw-band: #222A28;
        --hw-band-ink: #E6E9E3;
        --hw-band-mute: #9DA8A2;
        --hw-foot: #101413;
        --hw-frame: transparent;
        --hw-frame-hover: transparent;
        --hw-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 30px -18px rgba(0, 0, 0, .9);
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --hw-wall: #141817;
    --hw-paper: #1D2321;
    --hw-ink: #E6E9E3;
    --hw-mute: #9DA8A2;
    --hw-line: #313936;
    --hw-accent: #A3AEFF;
    --hw-accent-ink: #141817;
    --hw-band: #222A28;
    --hw-band-ink: #E6E9E3;
    --hw-band-mute: #9DA8A2;
    --hw-foot: #101413;
    --hw-frame: transparent;
    --hw-frame-hover: transparent;
    --hw-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 30px -18px rgba(0, 0, 0, .9);
    color-scheme: dark;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    background: var(--hw-wall);
    color: var(--hw-ink);
}

.hw-site {
    font-family: var(--hw-sans);
    font-size: 17px;
    line-height: 1.6;
    background: var(--hw-wall);
    color: var(--hw-ink);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

.hw-site *, .hw-site *::before, .hw-site *::after {
    box-sizing: border-box;
}

.hw-site img {
    display: block;
    max-width: 100%;
    height: auto;
}

.hw-site a {
    color: inherit;
}

.hw-site h1, .hw-site h2, .hw-site h3 {
    font-family: var(--hw-serif);
    font-weight: 400;
    margin: 0;
    letter-spacing: -0.01em;
}

.hw-site :focus-visible {
    outline: 2px solid var(--hw-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

.hw-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

.hw-skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    background: var(--hw-ink);
    color: var(--hw-wall) !important;
    padding: 10px 16px;
    text-decoration: none;
}

.hw-skip:focus {
    top: 12px;
}

.hw-head {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--hw-line);
}

.hw-head::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: color-mix(in srgb, var(--hw-wall) 92%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

.hw-head-row {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 68px;
}

.hw-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--hw-ink);
    font-family: var(--hw-serif);
    font-size: 22px;
    white-space: nowrap;
}

.hw-logo svg {
    flex: none;
}

.hw-nav {
    margin-left: auto;
}

.hw-nav-top {
    display: none;
}

.hw-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hw-ml {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font: inherit;
    font-size: 16px;
    color: var(--hw-ink);
    background: none;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    border-radius: 6px;
}

.hw-ml:hover {
    color: var(--hw-accent);
}

.hw-tools {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hw-ibtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--hw-ink);
    cursor: pointer;
}

.hw-ibtn:hover {
    background: var(--hw-foot);
}

.hw-sun {
    display: none;
}

:root[data-theme="dark"] .hw-sun {
    display: block;
}

:root[data-theme="dark"] .hw-moon {
    display: none;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .hw-sun {
        display: block;
    }

    :root:not([data-theme="light"]) .hw-moon {
        display: none;
    }
}

.hw-burger {
    display: none;
}

.hw-scrim {
    display: none;
}

.hw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1.5px solid var(--hw-accent);
    background: var(--hw-accent);
    color: var(--hw-accent-ink) !important;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.2;
    text-align: center;
}

.hw-btn:hover {
    filter: brightness(1.12);
}

.hw-link {
    font-weight: 600;
    text-decoration-color: var(--hw-line);
    text-underline-offset: 5px;
    text-decoration-thickness: 1.5px;
}

.hw-link:hover {
    color: var(--hw-accent);
    text-decoration-color: currentColor;
}

.hw-foot {
    background: var(--hw-foot);
    border-top: 1px solid var(--hw-line);
    padding: 48px 0 28px;
    font-size: 15px;
}

.hw-foot-row {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr);
    gap: 32px;
}

.hw-foot-brand p {
    margin: 12px 0 0;
    color: var(--hw-mute);
    max-width: 34ch;
}

.hw-foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    align-content: start;
}

.hw-foot-links a {
    text-decoration: none;
}

.hw-foot-links a:hover {
    color: var(--hw-accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hw-foot-contact b {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
}

.hw-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hw-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--hw-line);
    border-radius: 50%;
    color: var(--hw-ink);
}

.hw-social a:hover {
    color: var(--hw-accent);
    border-color: var(--hw-accent);
}

.hw-social svg {
    width: 24px;
    height: 24px;
}

.hw-copyline {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--hw-line);
    color: var(--hw-mute);
    font-size: 14px;
}

.hw-totop {
    position: fixed;
    right: clamp(16px, 2.4vw, 32px);
    bottom: clamp(16px, 2.4vw, 32px);
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--hw-line);
    border-radius: 50%;
    background: var(--hw-paper);
    color: var(--hw-ink);
    box-shadow: var(--hw-shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.hw-totop.hw-show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.hw-totop:hover {
    color: var(--hw-accent);
    border-color: var(--hw-accent);
}

.hw-hero {
    padding: clamp(40px, 6vw, 88px) 0 0;
}

.hw-hero-row {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hw-kind {
    margin: 0 0 6px;
    font-size: 17px;
    color: var(--hw-mute);
}

.hw-hero h1 {
    font-size: clamp(46px, 6vw, 84px);
    line-height: 1;
    letter-spacing: -0.02em;
}

.hw-lead {
    margin: 20px 0 0;
    font-size: clamp(17px, 1.35vw, 20px);
    color: var(--hw-mute);
    max-width: 48ch;
}

.hw-chain {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 4px;
    font-size: 14px;
}

.hw-chain li {
    white-space: nowrap;
    padding: 3px 10px;
    border: 1px solid var(--hw-line);
    border-radius: 999px;
    background: var(--hw-paper);
}

.hw-chain li:not(:last-child) {
    position: relative;
    margin-right: 18px;
}

.hw-chain li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 1.5px solid var(--hw-mute);
    border-right: 1.5px solid var(--hw-mute);
    transform: translateY(-50%) rotate(45deg) scale(.7);
}

.hw-chain li:last-child {
    background: var(--hw-ink);
    border-color: var(--hw-ink);
    color: var(--hw-wall);
}

.hw-acts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 22px;
    margin-top: 30px;
}

.hw-hero-fig {
    margin: 0;
}

.hw-frame {
    display: block;
    padding: 8px;
    background: var(--hw-paper);
    border: 1px solid var(--hw-frame);
    box-shadow: var(--hw-shadow);
    transform: rotate(1deg);
    transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease, border-color .15s ease;
}

.hw-frame:hover {
    border-color: var(--hw-frame-hover);
    transform: rotate(0deg) translateY(-8px) scale(1.06);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .05), 0 30px 48px -20px rgba(0, 0, 0, .5);
}

.hw-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: clamp(40px, 5vw, 64px);
    padding: 18px 0;
    border-top: 1px solid var(--hw-line);
    border-bottom: 1px solid var(--hw-line);
}

.hw-toc a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 6px 14px;
    border: 1px solid var(--hw-line);
    border-radius: 999px;
    background: var(--hw-paper);
    font-size: 15px;
    text-decoration: none;
}

.hw-toc a:hover {
    border-color: var(--hw-ink);
}

.hw-sec {
    padding: clamp(52px, 6vw, 88px) 0;
}

.hw-sec + .hw-sec {
    border-top: 1px solid var(--hw-line);
}

.hw-sec h2 {
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.12;
}

.hw-sec h3 {
    font-size: 22px;
    line-height: 1.25;
}

.hw-sub-lead {
    margin: 12px 0 0;
    color: var(--hw-mute);
    max-width: 62ch;
}

.hw-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: start;
}

.hw-prose p {
    margin: 0 0 14px;
    max-width: 64ch;
}

.hw-prose p + p {
    color: var(--hw-mute);
}

.hw-band {
    background: var(--hw-band);
    color: var(--hw-band-ink);
}

.hw-sec.hw-band + .hw-sec {
    border-top: 0;
}

.hw-mods {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(20px, 3vw, 44px);
}

.hw-mods li {
    padding: 18px 0 20px;
    border-top: 1px solid var(--hw-line);
}

.hw-mods p {
    margin: 6px 0 0;
    color: var(--hw-mute);
    font-size: 16px;
}

.hw-paper {
    background: var(--hw-paper);
}

.hw-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 32px);
    margin-top: 28px;
}

.hw-card {
    padding: clamp(22px, 2.6vw, 34px);
    background: var(--hw-paper);
    border: 1px solid var(--hw-line);
    border-radius: 10px;
}

.hw-card h3 {
    font-size: 26px;
}

.hw-card p {
    margin: 10px 0 0;
    color: var(--hw-mute);
}

.hw-mini {
    margin: 18px 0 0;
    padding: 0 0 0 22px;
}

.hw-mini li + li {
    margin-top: 6px;
}

.hw-mini-check {
    list-style: none;
    padding: 0;
}

.hw-mini-check li {
    position: relative;
    padding-left: 26px;
}

.hw-mini-check li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 6px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--hw-accent);
    border-bottom: 2px solid var(--hw-accent);
    transform: rotate(-45deg);
}

.hw-price {
    list-style: none;
    margin: 28px 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 28px);
}

.hw-price li {
    padding: 24px;
    background: var(--hw-paper);
    border: 1px solid var(--hw-line);
    border-radius: 10px;
}

.hw-price li:first-child {
    border-color: var(--hw-accent);
}

.hw-price span {
    display: block;
    font-size: 15px;
    color: var(--hw-mute);
}

.hw-price b {
    display: block;
    margin-top: 6px;
    font-family: var(--hw-serif);
    font-weight: 400;
    font-size: 36px;
    line-height: 1.1;
}

.hw-price p {
    margin: 10px 0 0;
    font-size: 16px;
    color: var(--hw-mute);
}

.hw-lp-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hw-lp-link:hover {
    color: var(--hw-accent);
}

.hw-lp {
    width: min(780px, calc(100vw - 32px));
    max-width: none;
    height: min(86vh, 900px);
    max-height: none;
    margin: auto;
    padding: 0;
    border: 1px solid var(--hw-line);
    border-radius: 12px;
    background: var(--hw-paper);
    color: var(--hw-ink);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55);
    overflow: hidden;
}

.hw-lp[open] {
    display: flex;
    flex-direction: column;
}

.hw-lp::backdrop {
    background: rgba(10, 14, 12, .62);
}

.hw-lp-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px 12px 24px;
    border-bottom: 1px solid var(--hw-line);
}

.hw-lp-bar h2 {
    margin: 0;
    font-family: var(--hw-serif);
    font-size: 22px;
    font-weight: 400;
}

.hw-lp-x {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.hw-lp-x:hover {
    background: var(--hw-line);
}

.hw-lp-body {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 20px 24px 32px;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--hw-ink);
}

.hw-lp-body:focus-visible {
    outline: 2px solid var(--hw-accent);
    outline-offset: -2px;
}

@media (max-width: 1100px) {
    .hw-mods {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hw-hero-row, .hw-split, .hw-two, .hw-price {
        grid-template-columns: minmax(0, 1fr);
    }

    .hw-hero-fig {
        max-width: 640px;
    }
}

@media (max-width: 560px) {
    .hw-mods {
        grid-template-columns: minmax(0, 1fr);
    }

    .hw-acts .hw-btn {
        flex: 1 1 0;
        min-width: 0;
    }

    .hw-acts .hw-link {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hw-frame {
        transition: none;
    }

    .hw-frame:hover {
        transform: rotate(1deg);
    }
}

@media (max-width: 900px) {
    .hw-burger {
        display: inline-flex;
    }

    .hw-tools {
        margin-left: auto;
    }

    .hw-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 86vw);
        background: var(--hw-paper);
        border-left: 1px solid var(--hw-line);
        padding: 16px 20px 32px;
        transform: translateX(100%);
        transition: transform .25s ease;
        z-index: 120;
        overflow-y: auto;
        visibility: hidden;
    }

    .hw-nav.hw-open {
        transform: none;
        visibility: visible;
    }

    .hw-nav-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .hw-nav-top b {
        font-family: var(--hw-serif);
        font-weight: 400;
        font-size: 22px;
    }

    .hw-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .hw-menu > li {
        border-bottom: 1px solid var(--hw-line);
    }

    .hw-ml {
        width: 100%;
        justify-content: space-between;
        padding: 14px 4px;
        font-size: 18px;
    }

    .hw-scrim.hw-open {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10, 14, 12, .45);
        z-index: 110;
    }

    .hw-foot-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .hw-foot-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .hw-site {
        font-size: 16px;
    }

    .hw-head-row {
        height: 60px;
        gap: 12px;
    }

    .hw-logo {
        font-size: 20px;
    }

    .hw-foot-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hw-nav, .hw-totop {
        transition: none;
    }
}

.hw-shots {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
}

.hw-shots figure {
    margin: 0;
}

.hw-shots img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--hw-line);
}

.hw-shots figcaption {
    margin-top: 10px;
    font-size: 0.95rem;
    color: var(--hw-mute);
}

@media (max-width: 900px) {
    .hw-shots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .hw-shots {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hw-shot {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.hw-shot img {
    transition: transform .2s ease, box-shadow .2s ease;
}

.hw-shot:hover img, .hw-shot:focus-visible img {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}

.hw-lb {
    width: min(1480px, 96vw);
    max-width: none;
    max-height: 94vh;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: var(--hw-paper);
    color: var(--hw-ink);
    overflow: hidden;
}

.hw-lb::backdrop {
    background: rgba(8, 11, 10, .82);
}

.hw-lb-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 8px 8px 18px;
    border-bottom: 1px solid var(--hw-line);
}

.hw-lb-cap {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hw-lb-count {
    font-size: 14px;
    color: var(--hw-mute);
    margin-right: 6px;
    font-variant-numeric: tabular-nums;
}

.hw-lb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--hw-ink);
    cursor: pointer;
}

.hw-lb-btn:hover {
    background: var(--hw-foot);
}

.hw-lb-body {
    overflow: auto;
    max-height: calc(94vh - 60px);
    background: var(--hw-wall);
}

.hw-lb-body img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 560px) {
    .hw-lb-count {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hw-shot img {
        transition: none;
    }
}

.hw-band .hw-card {
    color: var(--hw-ink);
}

.hw-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 32px);
    margin-top: 28px;
}

.hw-band .hw-sub-lead {
    color: var(--hw-band-mute);
}

.hw-tbl {
    margin-top: 28px;
    overflow-x: auto;
    border: 1px solid var(--hw-line);
    border-radius: 10px;
    background: var(--hw-paper);
    color: var(--hw-ink);
}

.hw-tbl table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.hw-tbl th, .hw-tbl td {
    padding: 12px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--hw-line);
}

.hw-tbl th {
    font-size: 14px;
    font-weight: 600;
    color: var(--hw-mute);
}

.hw-tbl tr:last-child td {
    border-bottom: 0;
}

.hw-tbl td:first-child {
    width: 34%;
    font-weight: 600;
}

.hw-yt {
    display: inline-flex;
    flex: 0 0 auto;
    border-radius: 14px;
    line-height: 0;
    transition: transform .15s ease, filter .15s ease;
}

.hw-yt svg {
    display: block;
}

.hw-yt:hover {
    transform: scale(1.06);
    filter: brightness(1.1);
}

.hw-diagram-fig {
    margin: 28px 0 0;
}

.hw-diagram-fig img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--hw-line);
}

.hw-warn {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 0 clamp(28px, 4vw, 44px);
    padding: 16px 20px;
    border: 1px solid #D92D20;
    border-left-width: 5px;
    border-radius: 10px;
    background: #FEF3F2;
    color: #7A271A;
    font-size: 16px;
    line-height: 1.55;
}

.hw-warn svg {
    flex: 0 0 auto;
    margin-top: 1px;
    color: #D92D20;
}

.hw-warn b {
    color: #B42318;
}

:root[data-theme="dark"] .hw-warn {
    background: #2A1513;
    border-color: #F04438;
    color: #FECDCA;
}

:root[data-theme="dark"] .hw-warn svg, :root[data-theme="dark"] .hw-warn b {
    color: #FF7A6E;
}

.hw-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    color: var(--hw-mute);
}

.hw-facts li:not(:last-child)::after {
    content: "\00B7";
    margin-left: 14px;
}

.hw-note {
    margin: 24px 0 0;
    max-width: 72ch;
    color: var(--hw-band-mute);
}

.hw-note b {
    color: var(--hw-band-ink);
    font-weight: 600;
}

.hw-shot img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center top;
    background: var(--hw-paper);
}

.hw-lb-body img {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}

.hw-dlnote {
    margin: 16px 0 0;
    max-width: 66ch;
    font-size: 15px;
    color: var(--hw-mute);
}

.hw-dl-btn {
    cursor: pointer;
    font-family: inherit;
}

.hw-dlg {
    width: min(500px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 0;
    border: 1px solid var(--hw-line);
    border-radius: 14px;
    background: var(--hw-paper);
    color: var(--hw-ink);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55);
    overflow: auto;
}

.hw-dlg::backdrop {
    background: rgba(10, 14, 12, .62);
}

.hw-dlg-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px 12px 24px;
    border-bottom: 1px solid var(--hw-line);
}

.hw-dlg-bar h2 {
    margin: 0;
    font-size: 24px;
}

.hw-dlg-in {
    padding: 20px 24px 24px;
}

.hw-dlg-in p {
    margin: 0 0 14px;
    font-size: 16px;
}

.hw-dlg-in .hw-quiet {
    color: var(--hw-mute);
    font-size: 15px;
}

.hw-field {
    display: grid;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
}

.hw-field input {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--hw-line);
    border-radius: 10px;
    background: var(--hw-wall);
    color: var(--hw-ink);
    font: inherit;
    font-weight: 400;
    font-size: 17px;
}

.hw-field input:focus {
    outline: 2px solid var(--hw-accent);
    outline-offset: 1px;
    border-color: transparent;
}

.hw-gm {
    display: flex;
    align-items: center;
    min-height: 48px;
    border: 1px solid var(--hw-line);
    border-radius: 10px;
    background: var(--hw-wall);
}

.hw-gm:focus-within {
    outline: 2px solid var(--hw-accent);
    outline-offset: 1px;
    border-color: transparent;
}

.hw-field .hw-gm input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    padding-right: 4px;
}

.hw-field .hw-gm input:focus {
    outline: none;
}

.hw-gm b {
    flex: 0 0 auto;
    padding: 0 14px 0 0;
    font-size: 17px;
    font-weight: 400;
    color: var(--hw-mute);
}

.hw-pin {
    letter-spacing: .4em;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important;
    font-size: 24px !important;
    text-align: center;
}

.hw-err {
    min-height: 1.4em;
    margin: 6px 0 4px !important;
    font-size: 14px !important;
    color: #B42318;
}

:root[data-theme="dark"] .hw-err {
    color: #FF9C8F;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .hw-err {
        color: #FF9C8F;
    }
}

.hw-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hw-dlg .hw-btn {
    width: 100%;
    margin-top: 4px;
    cursor: pointer;
    font-family: inherit;
}

.hw-dlg .hw-btn:disabled {
    opacity: .6;
    cursor: default;
}

.hw-alt {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-top: 14px;
}

.hw-txt {
    padding: 4px 2px;
    border: 0;
    background: none;
    color: var(--hw-accent);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hw-done {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 0 12px;
    border-radius: 50%;
    background: #1F8A5B;
    color: #FFFFFF;
}

.hw-dlg-in h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.hw-next {
    margin: 6px 0 16px;
    padding-left: 22px;
    font-size: 15px;
}

.hw-next li + li {
    margin-top: 6px;
}

@media (max-width: 900px) {
    .hw-three {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .hw-dlg-in {
        padding: 18px 18px 20px;
    }
}
