.wanted-poster-page {
    --poster-ink: #f6f2e7;
    --poster-panel: rgba(10, 12, 28, 0.92);
    --poster-line: rgba(255, 255, 255, 0.13);
    --poster-pink: #ff3b9d;
    --poster-cyan: #45e7ec;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 30px 0 64px;
    color: #eef2fb;
}

.wanted-poster-page *,
.wanted-poster-page *::before,
.wanted-poster-page *::after {
    box-sizing: border-box;
}

.wanted-poster-page h1,
.wanted-poster-page h2,
.wanted-poster-page h3,
.wanted-poster-page p {
    max-width: none;
}

.wanted-poster-hero,
.wanted-poster-use-cases,
.wanted-poster-closing {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
    gap: 32px;
    align-items: center;
}

.wanted-poster-hero {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    padding: clamp(28px, 5vw, 64px);
    border: 1px solid var(--poster-line);
    border-radius: 22px;
    background:
        linear-gradient(125deg, rgba(255, 59, 157, 0.13), transparent 44%),
        radial-gradient(circle at 88% 18%, rgba(69, 231, 236, 0.16), transparent 30%),
        #0a0c1c;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.wanted-poster-hero::after {
    position: absolute;
    right: -55px;
    bottom: -110px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(69, 231, 236, 0.24);
    border-radius: 50%;
    box-shadow: 0 0 0 32px rgba(255, 59, 157, 0.04), 0 0 0 64px rgba(69, 231, 236, 0.03);
    content: "";
}

.wanted-poster-hero h1 {
    margin: 6px 0 18px;
    color: #fff;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.025em;
}

.wanted-poster-hero .public-lead {
    margin-bottom: 24px;
    color: #c7ccdd;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.65;
}

.wanted-poster-hero__file {
    position: relative;
    z-index: 1;
    padding: 26px;
    border: 1px solid rgba(69, 231, 236, 0.42);
    border-radius: 5px 18px 5px 18px;
    background: rgba(5, 8, 20, 0.84);
    box-shadow: 12px 12px 0 rgba(255, 59, 157, 0.08);
    transform: rotate(1.5deg);
}

.wanted-poster-hero__file span,
.wanted-poster-hero__file strong {
    display: block;
    text-transform: uppercase;
}

.wanted-poster-hero__file span {
    color: var(--poster-cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.wanted-poster-hero__file strong {
    margin: 30px 0 12px;
    color: #fff;
    font-family: Anton, Impact, sans-serif;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: 0.04em;
}

.wanted-poster-hero__file p,
.wanted-poster-maker__heading p,
.wanted-poster-share-note,
.wanted-poster-preview__description {
    color: #aeb5ca;
}

.wanted-poster-notice {
    margin: 24px 0;
}

.wanted-poster-maker {
    scroll-margin-top: 20px;
    padding: clamp(18px, 3vw, 34px);
    border: 1px solid var(--poster-line);
    border-radius: 18px;
    background: rgba(7, 9, 22, 0.95);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.35);
}

.wanted-poster-maker__heading,
.wanted-poster-preview__heading {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.wanted-poster-maker__heading {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--poster-line);
}

.wanted-poster-maker__heading h2,
.wanted-poster-preview__heading h3 {
    margin: 3px 0 0;
    color: #fff;
}

.wanted-poster-maker__heading > p {
    width: min(330px, 100%);
    margin: 0;
    text-align: right;
}

.wanted-poster-workbench {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(340px, 1.22fr);
    gap: clamp(24px, 4vw, 50px);
    align-items: start;
    padding-top: 30px;
}

.wanted-poster-editor,
.wanted-poster-preview {
    min-width: 0;
}

.wanted-poster-fieldset {
    min-width: 0;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
}

.wanted-poster-fieldset legend {
    width: 100%;
    margin: 0 0 14px;
    padding: 0 0 9px;
    border-bottom: 1px solid var(--poster-line);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wanted-poster-templates {
    display: grid;
    gap: 10px;
}

.wanted-poster-template {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    width: 100%;
    min-height: 74px;
    padding: 9px;
    border: 1px solid var(--poster-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    color: #dfe3ef;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.wanted-poster-template:hover,
.wanted-poster-template:focus-visible {
    border-color: rgba(69, 231, 236, 0.62);
    background: rgba(69, 231, 236, 0.07);
}

.wanted-poster-template:focus-visible {
    outline: 3px solid rgba(69, 231, 236, 0.26);
    outline-offset: 2px;
}

.wanted-poster-template.is-active {
    border-color: var(--poster-pink);
    background: rgba(255, 59, 157, 0.09);
    box-shadow: inset 3px 0 0 var(--poster-pink);
}

.wanted-poster-template strong,
.wanted-poster-template small {
    display: block;
}

.wanted-poster-template strong {
    color: #fff;
    font-size: 15px;
}

.wanted-poster-template small {
    margin-top: 4px;
    color: #9ca4bb;
    font-size: 12px;
    line-height: 1.35;
}

.wanted-poster-template__swatch {
    display: block;
    width: 52px;
    height: 54px;
    border-radius: 4px;
}

.wanted-poster-template__swatch--neon {
    border: 2px solid #ff3b9d;
    background: linear-gradient(145deg, #10122b 0 55%, #45e7ec 56% 61%, #10122b 62%);
    box-shadow: inset 0 0 0 4px #080916;
}

.wanted-poster-template__swatch--ink {
    border: 2px solid #231d18;
    background: linear-gradient(25deg, transparent 0 43%, #8e3d2d 44% 49%, transparent 50%), #e7d8b6;
    box-shadow: inset 0 0 0 4px #f6edda;
}

.wanted-poster-fields {
    display: grid;
    gap: 15px;
}

.wanted-poster-fields label,
.wanted-poster-share-fallback label {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #f4f5fa;
    font-size: 14px;
    font-weight: 800;
}

.wanted-poster-fields input,
.wanted-poster-fields textarea,
.wanted-poster-fields select,
.wanted-poster-share-fallback input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #414866;
    border-radius: 7px;
    background: #101326;
    color: #fff;
    font: inherit;
}

.wanted-poster-fields textarea {
    min-height: 86px;
    resize: vertical;
}

.wanted-poster-fields input:focus,
.wanted-poster-fields textarea:focus,
.wanted-poster-fields select:focus,
.wanted-poster-share-fallback input:focus {
    border-color: var(--poster-cyan);
    outline: 3px solid rgba(69, 231, 236, 0.18);
}

.wanted-poster-fields small {
    color: #929bb5;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.wanted-poster-editor__actions,
.wanted-poster-preview__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wanted-poster-editor__actions .public-button,
.wanted-poster-preview__actions .public-button {
    flex: 1 1 150px;
    margin: 0;
}

.wanted-poster-preview {
    position: sticky;
    top: 20px;
    padding: 18px;
    border: 1px solid rgba(69, 231, 236, 0.22);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(69, 231, 236, 0.055), rgba(255, 59, 157, 0.045));
}

.wanted-poster-preview__heading {
    align-items: center;
    margin-bottom: 14px;
}

.wanted-poster-preview__heading > span {
    flex: 0 0 auto;
    color: var(--poster-cyan);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wanted-poster-canvas-frame {
    overflow: hidden;
    width: min(100%, 560px);
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    background: #060713;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
}

.wanted-poster-canvas-frame canvas {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
}

.wanted-poster-preview__description {
    margin: 13px 0;
    font-size: 13px;
    line-height: 1.5;
}

.wanted-poster-share-note {
    margin: 13px 0 7px;
    font-size: 12px;
    line-height: 1.5;
}

.wanted-poster-share-fallback {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
}

.wanted-poster-share-fallback input {
    font-size: 12px;
}

.wanted-poster-status {
    min-height: 22px;
    margin: 8px 0 0;
    color: #9df6d7;
    font-size: 13px;
    font-weight: 700;
}

.wanted-poster-fallback,
.wanted-poster-guide,
.wanted-poster-use-cases,
.wanted-poster-closing {
    margin-top: 44px;
}

.wanted-poster-fallback__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 350px);
    gap: 34px;
    align-items: center;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--poster-line);
    border-radius: 18px;
    background: rgba(7, 9, 22, 0.82);
}

.wanted-poster-static-example {
    padding: 18px;
    border: 8px solid #ff3b9d;
    outline: 3px solid #45e7ec;
    outline-offset: -14px;
    background: #0c0e20;
    color: #fff;
    text-align: center;
    box-shadow: 14px 16px 0 rgba(69, 231, 236, 0.09);
}

.wanted-poster-static-example > span,
.wanted-poster-static-example > p,
.wanted-poster-static-example > small,
.wanted-poster-static-example > b,
.wanted-poster-static-example > q {
    display: block;
}

.wanted-poster-static-example > span,
.wanted-poster-static-example > p {
    color: #45e7ec;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.wanted-poster-static-example > strong {
    display: block;
    margin: 10px 0;
    color: #fff;
    font-family: Anton, Impact, sans-serif;
    font-size: 52px;
    letter-spacing: 0.08em;
}

.wanted-poster-static-example > div {
    position: relative;
    height: 150px;
    margin: 12px 18px;
    border: 1px solid rgba(69, 231, 236, 0.4);
    background: linear-gradient(135deg, rgba(69, 231, 236, 0.08), rgba(255, 59, 157, 0.09));
}

.wanted-poster-static-example > div::before,
.wanted-poster-static-example > div::after,
.wanted-poster-static-example > div i {
    position: absolute;
    left: 50%;
    display: block;
    background: #02030a;
    content: "";
    transform: translateX(-50%);
}

.wanted-poster-static-example > div::before {
    top: 26px;
    width: 52px;
    height: 58px;
    border-radius: 45% 45% 42% 42%;
}

.wanted-poster-static-example > div::after {
    bottom: 0;
    width: 126px;
    height: 72px;
    border-radius: 55px 55px 0 0;
}

.wanted-poster-static-example > div i {
    top: 20px;
    z-index: 1;
    width: 96px;
    height: 12px;
}

.wanted-poster-static-example h3 {
    margin: 8px 0 2px;
    color: #fff;
    font-size: 28px;
    letter-spacing: 0.06em;
}

.wanted-poster-static-example > small {
    color: #b9c1d6;
}

.wanted-poster-static-example > b {
    margin: 14px 0;
    padding: 8px;
    background: #45e7ec;
    color: #081017;
    font-size: 16px;
}

.wanted-poster-static-example > q {
    color: #d3d7e4;
    font-size: 13px;
    line-height: 1.45;
}

.wanted-poster-guide {
    scroll-margin-top: 20px;
}

.wanted-poster-guide > h2,
.wanted-poster-use-cases h2,
.wanted-poster-closing h2,
.wanted-poster-fallback h2 {
    margin: 5px 0 18px;
    color: #fff;
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.08;
}

.wanted-poster-guide__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.wanted-poster-guide__grid article {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--poster-line);
    border-radius: 12px;
    background: rgba(10, 12, 28, 0.76);
}

.wanted-poster-guide__grid article > span {
    color: var(--poster-pink);
    font-family: Anton, Impact, sans-serif;
    font-size: 26px;
}

.wanted-poster-guide__grid h3 {
    margin: 18px 0 9px;
    color: #fff;
    font-size: 18px;
}

.wanted-poster-guide__grid p,
.wanted-poster-use-cases p,
.wanted-poster-closing p,
.wanted-poster-fallback p {
    color: #b6bdcf;
    line-height: 1.65;
}

.wanted-poster-use-cases,
.wanted-poster-closing {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--poster-line);
    border-radius: 18px;
    background: rgba(10, 12, 28, 0.82);
}

.wanted-poster-use-cases__links {
    display: grid;
    gap: 10px;
}

.wanted-poster-use-cases__links a {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid rgba(69, 231, 236, 0.2);
    border-radius: 8px;
    background: rgba(69, 231, 236, 0.04);
    color: #fff;
    text-decoration: none;
}

.wanted-poster-use-cases__links a:hover,
.wanted-poster-use-cases__links a:focus-visible {
    border-color: var(--poster-cyan);
}

.wanted-poster-use-cases__links span {
    color: #aeb5ca;
    font-size: 13px;
    line-height: 1.4;
}

.wanted-poster-closing {
    border-color: rgba(255, 59, 157, 0.34);
    background: linear-gradient(120deg, rgba(255, 59, 157, 0.1), rgba(69, 231, 236, 0.06)), #0a0c1c;
}

.wanted-poster-closing .public-button {
    justify-self: end;
}

html[data-theme="day"] .wanted-poster-page {
    color: #281f35;
}

html[data-theme="day"] .wanted-poster-hero,
html[data-theme="day"] .wanted-poster-maker,
html[data-theme="day"] .wanted-poster-fallback__layout,
html[data-theme="day"] .wanted-poster-guide__grid article,
html[data-theme="day"] .wanted-poster-use-cases,
html[data-theme="day"] .wanted-poster-closing {
    border-color: rgba(64, 42, 70, 0.17);
    background-color: rgba(255, 252, 247, 0.95);
    color: #281f35;
    box-shadow: 0 18px 55px rgba(70, 42, 80, 0.12);
}

html[data-theme="day"] .wanted-poster-page :is(h1, h2, h3),
html[data-theme="day"] .wanted-poster-maker__heading h2,
html[data-theme="day"] .wanted-poster-preview__heading h3,
html[data-theme="day"] .wanted-poster-template strong,
html[data-theme="day"] .wanted-poster-fields label {
    color: #281f35;
}

html[data-theme="day"] .wanted-poster-page :is(.public-lead, p),
html[data-theme="day"] .wanted-poster-template small,
html[data-theme="day"] .wanted-poster-fields small {
    color: #685d75;
}

html[data-theme="day"] .wanted-poster-hero__file {
    background: rgba(255, 255, 255, 0.9);
}

html[data-theme="day"] .wanted-poster-hero__file strong {
    color: #281f35;
}

html[data-theme="day"] .wanted-poster-template,
html[data-theme="day"] .wanted-poster-preview,
html[data-theme="day"] .wanted-poster-use-cases__links a {
    background: rgba(255, 255, 255, 0.74);
    color: #281f35;
}

html[data-theme="day"] .wanted-poster-fields :is(input, textarea, select),
html[data-theme="day"] .wanted-poster-share-fallback input {
    border-color: #c8bbc9;
    background: #fff;
    color: #281f35;
}

@media (max-width: 900px) {
    .wanted-poster-hero,
    .wanted-poster-use-cases,
    .wanted-poster-closing {
        grid-template-columns: 1fr;
    }

    .wanted-poster-workbench {
        grid-template-columns: minmax(0, 1fr);
    }

    .wanted-poster-preview {
        position: static;
    }

    .wanted-poster-guide__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wanted-poster-closing .public-button {
        justify-self: start;
    }
}

@media (max-width: 600px) {
    .wanted-poster-page {
        width: min(100% - 20px, 1180px);
        padding-top: 14px;
    }

    .wanted-poster-hero {
        min-height: 0;
        padding: 24px 18px;
        border-radius: 14px;
    }

    .wanted-poster-hero h1 {
        font-size: clamp(34px, 12vw, 46px);
    }

    .wanted-poster-hero__file {
        padding: 20px;
        transform: none;
    }

    .wanted-poster-maker {
        padding: 15px;
    }

    .wanted-poster-maker__heading,
    .wanted-poster-preview__heading {
        display: block;
    }

    .wanted-poster-maker__heading > p {
        width: auto;
        margin-top: 12px;
        text-align: left;
    }

    .wanted-poster-preview__heading > span {
        display: block;
        margin-top: 8px;
    }

    .wanted-poster-preview {
        padding: 10px;
    }

    .wanted-poster-template {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .wanted-poster-template__swatch {
        width: 44px;
        height: 50px;
    }

    .wanted-poster-guide__grid,
    .wanted-poster-fallback__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .wanted-poster-editor__actions,
    .wanted-poster-preview__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .wanted-poster-editor__actions .public-button,
    .wanted-poster-preview__actions .public-button {
        width: 100%;
    }
}

@media print {
    .public-header,
    .public-footer,
    .sc-theme-toggle,
    .wanted-poster-hero,
    .wanted-poster-notice,
    .wanted-poster-editor,
    .wanted-poster-preview__actions,
    .wanted-poster-share-note,
    .wanted-poster-share-fallback,
    .wanted-poster-status,
    .wanted-poster-fallback,
    .wanted-poster-guide,
    .wanted-poster-use-cases,
    .wanted-poster-closing {
        display: none !important;
    }

    .wanted-poster-page,
    .wanted-poster-maker,
    .wanted-poster-workbench,
    .wanted-poster-preview {
        display: block !important;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        background: #fff;
        box-shadow: none;
    }

    .wanted-poster-maker__heading,
    .wanted-poster-preview__heading,
    .wanted-poster-preview__description {
        display: none;
    }

    .wanted-poster-canvas-frame {
        width: 160mm;
        margin: 0 auto;
        box-shadow: none;
    }
}
