@font-face {
    font-family: Nunito;
    src: url("?asset=nunito-latin.woff2") format("woff2");
    font-display: swap;
    font-weight: 400 900;
}

#cx-contest {
    color: #211836;
    background: #fffaf0;
    font-family: Nunito, system-ui, sans-serif;
    font-synthesis: none;
    font-size: 16px;
    line-height: 1.5;
    --ink: #211836;
    --purple: #5f2cc8;
    --paper: #fffaf0;
}

#cx-contest *, #cx-contest *::before, #cx-contest *::after { box-sizing: border-box; }
#cx-contest img { display: block; width: 100%; height: auto; }
#cx-contest a, #cx-contest button { color: inherit; }
#cx-contest :focus-visible { outline: 3px solid #5f2cc8; outline-offset: 4px; }
#cx-contest .wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
#cx-contest .hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 48px; padding: 30px 0 34px; }
#cx-contest .eyebrow { color: #5f2cc8; font-size: .83rem; font-weight: 900; letter-spacing: .09em; }
#cx-contest h1, #cx-contest h2, #cx-contest h3, #cx-contest p { margin-top: 0; padding-bottom: 0; }
#cx-contest h1, #cx-contest h2, #cx-contest h3 { color: inherit; font-family: inherit; }
#cx-contest h1 { font-weight: 900; font-size: clamp(2.8rem, 6.1vw, 5.4rem); line-height: .99; letter-spacing: -.052em; margin-bottom: 24px; }
#cx-contest h1 em { color: var(--purple); font-style: normal; }
#cx-contest h2 { font-size: clamp(1.9rem, 4.1vw, 3.2rem); font-weight: 900; line-height: 1.06; letter-spacing: -.035em; margin-bottom: 12px; }
#cx-contest h3, #cx-contest legend { font-size: 1.28rem; line-height: 1.24; font-weight: 900; }
#cx-contest .hero-copy > p:not(.eyebrow) { max-width: 48ch; }
#cx-contest .lead { font-size: 1.55rem; font-weight: 900; margin-bottom: 8px; }
#cx-contest p { line-height: 1.55; margin-bottom: 1em; }
#cx-contest .lead { margin-bottom: 8px; }
#cx-contest .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
#cx-contest .button { display: inline-block; border-radius: 100px; border: 2px solid var(--ink); background: var(--purple); color: white;
    padding: 10px 18px; box-shadow: 3px 3px var(--ink); text-decoration: none; font: inherit; font-weight: 900; cursor: pointer; }
#cx-contest .button:hover { background: #481b9f; }
#cx-contest .button.secondary { background: #fff; color: var(--ink); font-size: .9rem; }
#cx-contest .button.secondary:hover { background: #eee3ff; }
#cx-contest .text-link { font-weight: 850; text-underline-offset: .2em; text-decoration: underline; }
#cx-contest .hero-art { margin: 0; padding: 7px; background: white; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px #e5d2ff; }
#cx-contest .hero-art img { border-radius: 9px; }
#cx-contest .hero-art figcaption { padding: 7px 7px 2px; font-size: .84rem; }
#cx-contest .participation { display: grid; grid-template-columns: 1fr 1.3fr; align-items: start; gap: 32px; padding: clamp(20px, 4.5vw, 48px);
    border: 2px solid var(--ink); border-radius: 22px; background: #ece0ff; scroll-margin-top: 20px; }
#cx-contest .panel { min-width: 0; border-radius: 16px; padding: clamp(17px, 3vw, 30px); background: white; }
#cx-contest .panel p:last-child { margin-bottom: 0; }
#cx-contest .panel form + form { margin-top: 20px; }
#cx-contest .panel form > label:not(.consent) { display: block; font-weight: 850; margin-bottom: 6px; }
#cx-contest input[type="radio"], #cx-contest input[type="checkbox"] { accent-color: var(--purple); }
#cx-contest fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
#cx-contest legend { margin-bottom: 10px; }
#cx-contest .book-option, #cx-contest .consent { display: flex; align-items: flex-start; gap: 10px; padding: 10px; }
#cx-contest .book-option { border: 1px solid #d4c7e4; border-radius: 9px; margin-bottom: 7px; cursor: pointer; overflow-wrap: anywhere; }
#cx-contest .book-option:hover, #cx-contest .book-option:has(:checked) { background: #f3ebff; }
#cx-contest .book-option small { display: block; }
#cx-contest .consent { margin: 5px 0 12px; padding-inline: 0; }
#cx-contest .feedback { background: #e5f5d7; padding: 12px 14px; border-radius: 9px; margin-bottom: 12px; overflow-wrap: anywhere; }
#cx-contest .feedback.error { background: #ffe3e0; }
#cx-contest .feedback p { margin: 2px 0; }
#cx-contest .plain { font: inherit; font-weight: 850; border: 0; padding: 0; background: transparent; cursor: pointer; }
#cx-contest .pager { display: flex; flex-wrap: wrap; gap: 18px; padding: 13px 0; }
#cx-contest .examples { padding: 26px 0 48px; }
#cx-contest .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
#cx-contest .example { background: white; border: 2px solid var(--ink); border-radius: 15px; overflow: hidden; text-decoration: none; }
#cx-contest .example:hover { box-shadow: 4px 4px var(--ink); }
#cx-contest .example span { display: block; padding: 13px 15px; }
#cx-contest .example strong, #cx-contest .example small { display: block; }
#cx-contest .example small { color: var(--purple); font-weight: 900; margin-top: 5px; }
#cx-contest .reader { width: min(850px, 100%); margin: 28px auto 50px; }
#cx-contest .reader h1 { font-size: clamp(2.4rem, 6vw, 4.7rem); }
#cx-contest .reader figure { margin: 0; }
#cx-contest .reader figure img { border-radius: 13px; }
#cx-contest .reader figcaption { margin-top: 9px; }
#cx-contest .reader h1, #cx-contest .example strong { overflow-wrap: anywhere; }
#cx-contest .card-link { display: block; text-decoration: none; }
#cx-contest .card-link:focus-visible { outline-offset: -4px; }
#cx-contest .cover-frame { width: 100%; aspect-ratio: 2 / 3; max-height: 440px; background: #f4eefb; border-bottom: 2px solid var(--ink); display: grid; place-items: center; }
#cx-contest .cover-frame img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
#cx-contest .book-list { max-height: 260px; overflow: auto; padding: 4px; }
#cx-contest .book-option { display: grid; grid-template-columns: auto 44px minmax(0,1fr); align-items: center; }
#cx-contest .book-option input { margin: 0; }
#cx-contest .book-thumb { width: 44px; height: 66px; object-fit: contain; border-radius: 4px; background: #f4eefb; }
#cx-contest .book-thumb.placeholder { display: grid; place-items: center; font-size: .72rem; font-weight: 900; color: var(--purple); }
#cx-contest .card-actions { padding: 0 15px 14px; }
#cx-contest .card-actions:empty { display: none; }
#cx-contest .button.compact { padding: 6px 13px; font-size: .92rem; }
#cx-contest .example .vote-chip, #cx-contest .vote-chip { display: inline-block; padding: 5px 10px; border-radius: 20px; background: #e5f5d7; font-weight: 900; font-size: .9rem; }
#cx-contest .empty { background: white; padding: 15px 18px; border: 1px dashed #cbb8e0; border-radius: 12px; margin-bottom: 0; }
#cx-contest .hint { margin-top: 13px; font-size: .9rem; }
#cx-contest .participation { margin-bottom: 34px; }
#cx-contest .contest-status { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 21px; background: #fff; border: 1px solid #d8c6ef; border-radius: 14px; margin-bottom: 28px; }
#cx-contest .contest-status p { margin: 4px 0 0; }
#cx-contest .contest-status time { color: var(--purple); font-size: 1.35rem; font-weight: 900; }
#cx-contest .library-after { margin-bottom: 28px; padding: clamp(16px, 4vw, 30px); background: white; border: 1px solid #d8c6ef; border-radius: 16px; }
#cx-contest .library-after h2 { font-size: clamp(1.55rem, 4vw, 2.3rem); }
#cx-contest .library-after p:last-child { margin-bottom: 0; }
#cx-contest .gifts { background: #24153c; color: #fff; border-radius: 26px; padding: clamp(20px, 4vw, 42px); box-shadow: 7px 7px #e5d2ff; margin-bottom: 25px; }
#cx-contest .gifts > .eyebrow { color: #f6d888; }
#cx-contest .gifts h2 { margin-bottom: 22px; }
#cx-contest .podium { display: grid; grid-template-columns: 2.35fr 1fr 1fr; gap: 12px; }
#cx-contest .prize { min-width: 0; border-radius: 16px; padding: clamp(14px, 2.1vw, 24px); background: #e8ddff; color: var(--ink); }
#cx-contest .prize.winner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 12px; background: #ffe07d; }
#cx-contest .prize.third { background: #ffdfd5; }
#cx-contest .prize h3 { margin-bottom: 12px; font-size: 1rem; }
#cx-contest .prize p { margin-bottom: 6px; }
#cx-contest .prize .prize-value { font-size: clamp(2.3rem, 4.8vw, 4.45rem); font-weight: 900; line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
#cx-contest .credit { font-weight: 900; margin-top: 12px; }
#cx-contest .gift-visual { margin: 0; }
#cx-contest .gift-visual img { border-radius: 8px; box-shadow: 3px 4px var(--ink); }
#cx-contest .gift-visual figcaption { font-size: .68rem; margin-top: 7px; }
#cx-contest .brands { margin-top: 23px; }
#cx-contest .brands h3 { margin-bottom: 9px; }
#cx-contest .brands ul { display: flex; gap: 7px; flex-wrap: wrap; padding: 0; margin: 0 0 13px; list-style: none; line-height: inherit; }
#cx-contest .brands li { border: 1px solid #a489c9; padding: 4px 9px; border-radius: 20px; font-size: .87rem; }
#cx-contest .brands p { margin-bottom: 6px; }
#cx-contest .faq { padding-bottom: 28px; }
#cx-contest .faq details { padding: 12px 0; border-bottom: 1px solid #d8c6ef; }
#cx-contest .faq summary { font-weight: 850; cursor: pointer; }
#cx-contest .faq details p { margin: 7px 0 0; }

@media (max-width: 760px) {
    #cx-contest .hero, #cx-contest .participation { grid-template-columns: 1fr; gap: 23px; }
    #cx-contest .hero { padding: 15px 0 23px; }
    #cx-contest .hero-art { max-width: 490px; }
    #cx-contest .examples { padding-top: 24px; }
    #cx-contest .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #cx-contest .podium { grid-template-columns: 1fr 1fr; }
    #cx-contest .prize.winner { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    #cx-contest .wrap { width: calc(100% - 30px); }
    #cx-contest .grid { grid-template-columns: 1fr; }
    #cx-contest .participation { padding: 16px; }
    #cx-contest .contest-status { flex-wrap: wrap; gap: 8px; }
}
