* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font:
        15px/1.6 system-ui,
        -apple-system,
        'Segoe UI',
        Roboto,
        sans-serif;
    color: #222;
    background: #fff;
}
.wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}
a {
    color: #c8221c;
}
img {
    max-width: 100%;
    height: auto;
}
.site-header {
    position: relative;
    z-index: 20;
    background: #fff;
}
.site-header[data-sticky='1'] {
    position: sticky;
    top: 0;
}
.top {
    border-bottom: 1px solid #eee;
    font-size: 11px;
    text-align: right;
    padding: 6px 0;
}
.top a {
    color: #555;
    text-decoration: none;
}
.hd {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px 16px;
}
.logo img {
    display: block;
}
.cartl {
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #222;
    white-space: nowrap;
}
.sb {
    flex: 1;
    display: flex;
    max-width: 640px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}
.sb input {
    flex: 1;
    border: 0;
    padding: 9px 12px;
    font: inherit;
    min-width: 0;
}
.sb button {
    background: #ffe500;
    border: 0;
    padding: 0 18px;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
}
.ybar {
    background: #ffe500;
}
.nv {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.nv > a {
    color: #222;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 14px;
}
.nv > a:hover {
    text-decoration: underline;
}
.bc {
    position: relative;
    background: #e4312b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 14px 22px;
    margin-right: 18px;
    cursor: pointer;
}
.bc ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 4px 14px #0003;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 220px;
    z-index: 5;
}
.bc:hover ul,
.bc:focus-within ul {
    display: block;
}
.bc li a {
    display: block;
    padding: 7px 16px;
    color: #222;
    text-decoration: none;
    font-weight: 500;
}
.bc li a:hover {
    background: #f5f5f5;
}
.vid {
    display: block;
    width: 100%;
    max-width: none;
    margin: 4px auto 0;
    background: #000;
    aspect-ratio: 16/9;
}
.feat {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 18px 0 34px;
    font-size: 12px;
}
.feat b {
    display: block;
}
.feat span {
    color: #888;
    font-size: 10px;
}
.sh {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    margin: 18px 0;
    flex-wrap: wrap;
}
.sh h1,
.sh h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}
.tabs a {
    font-size: 11px;
    color: #999;
    text-decoration: none;
    margin-left: 18px;
    padding-bottom: 6px;
    display: inline-block;
}
.tabs a.on {
    color: #222;
    border-bottom: 1px solid #222;
}
.grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px 12px;
}
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 560px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.card {
    text-align: center;
    font-size: 11px;
}
.card a {
    text-decoration: none;
    color: #222;
}
.card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    background: #fff;
}
.card form {
    margin: 4px 0 0;
}
.card h3 {
    margin: 8px 0 2px;
    font-size: 11px;
    font-weight: 500;
    min-height: 2.6em;
    line-height: 1.3;
}
.pr {
    display: block;
    color: #777;
    font-size: 10px;
}
.wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #111;
    color: #fff !important;
    border-radius: 20px;
    padding: 2px 14px 2px 2px;
    margin-top: 6px;
    text-decoration: none;
    text-align: left;
    line-height: 1.05;
    font-weight: 700;
    font-size: 12px;
}
.wa small {
    display: block;
    font-size: 8px;
    color: #25d366;
    font-weight: 600;
}
.btn {
    display: inline-block;
    background: #e4312b;
    color: #fff;
    border: 0;
    padding: 8px 22px;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
}
.btn.alt {
    background: #fff;
    color: #e4312b;
    border: 1px solid #e4312b;
}
.btn.sm {
    padding: 4px 12px;
    font-size: 10px;
}
.more {
    text-align: center;
    margin: 28px 0;
}
.prod {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 10px;
}
@media (max-width: 700px) {
    .prod {
        grid-template-columns: 1fr;
    }
}
.price {
    font-size: 1.3rem;
    font-weight: 700;
}
.cat,
.crumb {
    color: #777;
    font-size: 0.85rem;
}
.crumb {
    margin: 14px 0;
}
.addf {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 12px 0;
}
.addf input {
    width: 70px;
}
.form label {
    display: block;
    margin: 10px 0;
}
.form input,
.form textarea,
.form select,
.filter input,
.filter select,
.addf input,
textarea {
    width: 100%;
    padding: 9px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
}
.form input[type='checkbox'] {
    width: auto;
}
.addf input {
    width: 70px;
}
.filter {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}
.filter input,
.filter select {
    width: auto;
    flex: 1;
}
.hp {
    position: absolute;
    left: -9999px;
}
.narrow {
    max-width: 640px;
}
.narrow2 {
    max-width: 380px;
}
.ok {
    background: #e6f6ea;
    padding: 10px;
    border-radius: 4px;
}
.bad {
    background: #fdeaea;
    padding: 10px;
    border-radius: 4px;
}
.ft {
    margin-top: 50px;
    padding: 30px 0 10px;
    font-size: 11px;
    color: #444;
}
.fg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}
@media (max-width: 700px) {
    .fg {
        grid-template-columns: 1fr;
    }
}
.ft h4 {
    margin: 14px 0 2px;
    font-size: 13px;
}
.ft p {
    margin: 0;
}
.ft a {
    color: #444;
    text-decoration: none;
}
.soc a {
    margin-right: 10px;
    font-weight: 600;
}
.fl img {
    max-width: 260px;
}
.cp {
    text-align: center;
    color: #999;
    margin-top: 20px;
}
.hd2 .wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-bottom: 1px solid #ddd;
}
.hd2 a {
    margin-left: 14px;
}
table {
    width: 100%;
    border-collapse: collapse;
}
td,
th {
    padding: 8px;
    border-bottom: 1px solid #e3e8ec;
    text-align: left;
}
td input[type='number'] {
    width: 70px;
    padding: 5px;
}
.inline {
    display: inline;
}
.link {
    background: none;
    border: 0;
    color: #b00020;
    cursor: pointer;
    font: inherit;
    padding: 0;
}
.tr {
    text-align: right;
}

/* Preserve the existing shop layout and brand palette while polishing controls and content cards. */
a,
button,
.btn,
.card {
    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #222;
    outline-offset: 3px;
}
.card {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 8px;
    background: #fff;
}
.card:hover {
    border-color: #ddd;
    box-shadow: 0 8px 22px #00000012;
    transform: translateY(-2px);
}
.card img {
    border-radius: 3px;
}
.btn:hover,
.sb button:hover {
    filter: brightness(0.96);
    box-shadow: 0 4px 12px #0000001a;
}
.btn:active {
    transform: translateY(1px);
}
.form input:not([type='checkbox']):focus,
.form textarea:focus,
.form select:focus,
.filter input:focus,
.filter select:focus {
    border-color: #e4312b;
    box-shadow: 0 0 0 3px #e4312b1a;
}
.ok,
.bad {
    border: 1px solid transparent;
}
.ok {
    border-color: #c8e8ce;
}
.bad {
    border-color: #f1cccc;
}
table {
    font-size: 0.92rem;
}
th {
    font-weight: 700;
    background: #fafafa;
}
.hd2 {
    background: #fff;
    box-shadow: 0 2px 10px #0000000a;
}
.hd2 nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.hd2 a {
    padding: 5px 7px;
    border-radius: 4px;
    text-decoration: none;
}
.hd2 a:hover {
    background: #fff8cc;
}
.table-scroll {
    overflow-x: auto;
}

.vote-heading {
    gap: 20px;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 18px;
}
.vote-heading > div > p:last-child {
    margin: 4px 0 12px;
    color: #777;
}
.vote-kicker {
    margin: 0;
    color: #e4312b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.vote-status {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #eee;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.vote-status.is-open {
    border-color: #ffe500;
    background: #fffce0;
}
.vote-status.is-closed {
    color: #777;
    background: #f7f7f7;
}
.vote-empty {
    margin: 18px 0 30px;
    padding: 32px 20px;
    border: 1px solid #eee;
    border-radius: 6px;
    text-align: center;
    background: #fff;
}
.vote-empty h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}
.vote-empty p {
    max-width: 620px;
    margin: 0 auto 18px;
    color: #777;
}
.nominee-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 20px 0;
}
.nominee-card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 10px #00000008;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}
.nominee-card:hover {
    box-shadow: 0 8px 22px #00000012;
    transform: translateY(-2px);
}
.nominee-photo-link {
    display: block;
    min-width: 0;
    min-height: 132px;
    background: #f7f7f7;
}
.nominee-card .nominee-photo {
    width: 100%;
    height: 132px;
    min-height: 132px;
    object-fit: cover;
}
.nominee-list-summary {
    margin: 18px 0 8px;
    color: #6a665f;
    font-size: 0.85rem;
}
.nominee-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 22px 0;
}
.nominee-pagination a {
    padding: 8px 14px;
    border: 1px solid #e8e2d7;
    border-radius: 6px;
    color: #292620;
    text-decoration: none;
}
.nominee-pagination a:hover {
    border-color: #e4312b;
    color: #e4312b;
}
.nominee-pagination span {
    color: #6a665f;
    font-size: 0.88rem;
}
.vote-leaders {
    margin: 22px 0;
    padding: 18px;
    border: 1px solid #eee6d9;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff 0%, #fbfaf7 100%);
}
.vote-leaders-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.vote-leaders-heading .vote-kicker {
    margin: 0 0 4px;
}
.vote-leaders-heading h2 {
    margin: 0;
    font-size: 1.25rem;
}
.vote-leaders-heading > span {
    color: #777;
    font-size: 0.82rem;
}
.vote-leaders-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.vote-leader-card {
    min-width: 0;
    padding: 13px;
    border: 1px solid #eee7dc;
    border-top: 3px solid var(--leader-accent, #e4312b);
    border-radius: 8px;
    background: #fff;
}
.vote-leader-card h3 {
    margin: 0 0 10px;
    font-size: 0.95rem;
}
.vote-leader-person {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 8px 0;
    border-top: 1px solid #f1eee8;
}
.vote-leader-photo,
.vote-leader-photo img {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.vote-leader-photo img {
    object-fit: cover;
}
.vote-leader-details {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.vote-leader-details small {
    color: var(--leader-accent, #e4312b);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}
.vote-leader-name,
.vote-leader-details > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vote-leader-name {
    color: #292620;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}
.vote-leader-name:hover {
    color: var(--leader-accent, #e4312b);
}
.vote-leader-details > span {
    color: #777;
    font-size: 0.75rem;
}
.vote-leader-count {
    color: #292620;
    font-size: 1rem;
    text-align: right;
}
.vote-leader-count small {
    display: block;
    color: #777;
    font-size: 0.65rem;
    font-weight: 500;
}
.vote-leader-empty {
    margin: 0;
    color: #777;
    font-size: 0.82rem;
}
.contestant-profile {
    max-width: 1000px;
    margin: 22px auto 42px;
}
.contestant-profile-back {
    display: inline-block;
    margin-bottom: 14px;
    color: #655f55;
    text-decoration: none;
}
.contestant-profile-back:hover {
    color: #e4312b;
}
.contestant-profile-hero {
    display: grid;
    grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 42px);
    align-items: center;
    padding: clamp(18px, 4vw, 36px);
    border: 1px solid #eee7dc;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff 0%, #fbfaf7 100%);
}
.contestant-profile-hero > img {
    display: block;
    width: 100%;
    height: 330px;
    border-radius: 8px;
    background: #f4f1eb;
    object-fit: cover;
}
.contestant-profile-hero h1 {
    margin: 5px 0 10px;
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1.1;
}
.contestant-profile-hero p {
    margin: 8px 0;
    color: #625e56;
}
.contestant-profile-hero .vote-kicker {
    color: #e4312b;
    font-weight: 800;
}
.contestant-profile-headline {
    font-size: 1.08rem;
    font-weight: 600;
}
.contestant-profile-votes strong {
    color: #292620;
    font-size: 1.25rem;
}
.contestant-profile-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}
.contestant-profile-actions .contestant-profile-votes {
    font-size: 0.82rem;
}
.contestant-profile-content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 18px;
    margin: 18px 0;
}
.contestant-profile-story,
.contestant-profile-social,
.contestant-profile-editor,
.contestant-profile-empty {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
}
.contestant-profile-story h2,
.contestant-profile-social h2,
.contestant-profile-editor h2 {
    margin: 0 0 12px;
    font-size: 1.15rem;
}
.contestant-profile-story p {
    margin: 0;
    color: #555;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.contestant-profile-social {
    display: flex;
    align-content: start;
    flex-wrap: wrap;
    gap: 8px;
}
.contestant-profile-social h2 {
    width: 100%;
}
.contestant-profile-social a {
    padding: 8px 11px;
    border: 1px solid #eee7dc;
    border-radius: 20px;
    color: #292620;
    font-size: 0.85rem;
    text-decoration: none;
}
.contestant-profile-social a:hover {
    border-color: #e4312b;
    color: #e4312b;
}
.contestant-profile-editor {
    margin-top: 20px;
    background: #fbfaf7;
}
.contestant-profile-editor > p {
    color: #625e56;
}
.contestant-profile-editor .form {
    max-width: 760px;
}
.contestant-profile-editor label {
    display: block;
}
.contestant-profile-editor input,
.contestant-profile-editor textarea {
    width: 100%;
}
.contestant-profile-url-prefix {
    color: #777;
    font-size: 0.8rem;
}
.contestant-profile-social-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.contestant-profile-claim {
    margin: 18px 0;
    color: #625e56;
}
.contestant-profile-empty {
    margin: 36px auto;
    max-width: 680px;
    text-align: center;
}
.nominee-grid.head-to-head {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.nominee-grid.head-to-head .nominee-card {
    border-color: #e4312b55;
    box-shadow: 0 8px 24px #29262012;
}
.vote-head-to-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin: 18px 0 8px;
    padding: 14px 18px;
    border-left: 4px solid #e4312b;
    border-radius: 6px;
    background: #fff8e9;
}
.vote-head-to-head strong {
    color: #292620;
}
.vote-head-to-head span {
    color: #625e56;
    font-size: 14px;
}
.nominee-photo {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f7f7f7;
}
.nominee-body {
    padding: 16px;
}
.nominee-body h2 {
    margin: 2px 0;
    font-size: 1.15rem;
    line-height: 1.3;
}
.nominee-body > p {
    margin: 8px 0;
    color: #555;
}
.nominee-course {
    font-size: 0.75rem !important;
    color: #888 !important;
}
.nominee-university {
    font-weight: 700;
    color: #333 !important;
}
.nominee-sponsor {
    padding-top: 10px;
    border-top: 1px solid #eee;
}
.nominee-sponsor small {
    color: #888;
}
.nominee-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}
.nominee-actions > span {
    font-size: 0.85rem;
    color: #777;
}
.nominee-actions > span strong {
    font-size: 1.15rem;
    color: #222;
}
.nominee-actions form {
    margin: 0;
}
.nominee-body {
    min-width: 0;
    padding: 11px 12px;
}
.nominee-body h2 {
    display: -webkit-box;
    margin: 2px 0 5px;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.nominee-body h2 a {
    color: inherit;
    text-decoration: none;
}
.nominee-body h2 a:hover {
    color: #e4312b;
}
.nominee-body > p {
    margin: 4px 0;
    overflow: hidden;
    color: #666;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nominee-body .nominee-course {
    font-size: 0.68rem !important;
}
.nominee-body .nominee-study {
    color: #666;
}
.nominee-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 7px;
    margin-top: 8px;
    padding-top: 8px;
}
.nominee-actions > span {
    margin-right: auto;
    font-size: 0.76rem;
}
.nominee-actions > span strong {
    font-size: 1rem;
}
.nominee-actions .btn.sm {
    padding: 7px 9px;
    font-size: 0.74rem;
}
.vote-note {
    margin: 22px 0;
    color: #777;
    font-size: 0.85rem;
}
.member-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 20px 0;
}
.member-panel,
.member-section {
    padding: 18px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fff;
}
.member-panel h2,
.member-section h2 {
    margin: 0 0 12px;
    font-size: 1.12rem;
}
.member-panel p {
    margin: 8px 0;
}
.member-panel .form label {
    margin: 8px 0;
}
.member-section {
    margin: 20px 0;
}
.member-section > .sh {
    margin-top: 0;
}
.member-section > .sh a {
    font-size: 0.85rem;
}
.vote-nomination-form {
    margin: 16px 0;
}
.verify-panel {
    margin: 34px auto;
    padding: 24px;
    border: 1px solid #eee;
    border-radius: 6px;
}
.vote-admin-summary {
    padding: 12px 16px;
    border-left: 3px solid #ffe500;
    background: #fffce0;
}
.vote-settings-form {
    margin-bottom: 30px;
}
.check-row {
    display: flex !important;
    align-items: center;
    gap: 10px;
}
.check-row input {
    width: auto !important;
}
.nomination-filters {
    margin: 18px 0;
}
.admin-nominations {
    display: grid;
    gap: 14px;
}
.admin-nomination {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border: 1px solid #eee;
    border-radius: 6px;
}
.admin-nomination > img {
    width: 140px;
    height: 120px;
    object-fit: cover;
    background: #f7f7f7;
    border-radius: 4px;
}
.admin-nomination h2 {
    margin: 0;
    font-size: 1.1rem;
}
.admin-nomination p {
    margin: 7px 0;
}
.nomination-review-actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 760px) {
    .nominee-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contestant-profile-hero {
        grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
        gap: 18px;
    }
}
@media (max-width: 560px) {
    .member-panels,
    .nominee-grid {
        grid-template-columns: 1fr;
    }
    .nominee-card {
        grid-template-columns: 78px minmax(0, 1fr);
    }
    .nominee-photo-link,
    .nominee-card .nominee-photo {
        min-height: 126px;
    }
    .vote-heading {
        align-items: flex-start;
    }
    .vote-leaders {
        padding: 12px;
    }
    .vote-leaders-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .vote-leaders-grid {
        grid-template-columns: 1fr;
    }
    .contestant-profile-hero,
    .contestant-profile-content {
        grid-template-columns: 1fr;
    }
    .contestant-profile-hero {
        gap: 16px;
        padding: 16px;
    }
    .contestant-profile-hero > img {
        width: min(100%, 280px);
        height: min(76vw, 330px);
        margin: 0 auto;
    }
    .contestant-profile-social-fields {
        grid-template-columns: 1fr;
    }
    .admin-nomination {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }
    .admin-nomination > img {
        width: 90px;
        height: 100px;
    }
}
@media (max-width: 760px) {
    .nominee-grid.head-to-head {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .vote-head-to-head {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 420px) {
    .nominee-grid.head-to-head .nominee-card {
        grid-template-columns: 58px minmax(0, 1fr);
    }
    .nominee-grid.head-to-head .nominee-photo-link,
    .nominee-grid.head-to-head .nominee-photo {
        min-height: 126px;
    }
    .nominee-grid.head-to-head .nominee-body {
        padding: 10px;
    }
    .nominee-grid.head-to-head .nominee-body h2 {
        font-size: 17px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

:root {
    --ink: #262522;
    --muted: #77736e;
    --line: #ece9e3;
    --surface: #fbfaf8;
    --brand-red: #e4312b;
    --brand-yellow: #ffe500;
}
body {
    color: var(--ink);
    background: #fff;
    font-size: 15px;
    letter-spacing: -0.01em;
}
.ui-icon {
    display: inline-block;
    flex: none;
    vertical-align: middle;
}
.site-header {
    box-shadow: 0 8px 22px #1c1a1610;
}
.top {
    background: #fbfaf8;
    border-bottom-color: #eeece7;
    color: var(--muted);
    font-size: 11px;
    padding: 6px 0;
}
.top .wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}
.top a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #625f59;
}
.top-welcome,
.top-account {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.hd {
    min-height: 78px;
    padding-top: 13px;
    padding-bottom: 13px;
    gap: 28px;
}
.logo img {
    max-width: 160px;
    height: auto;
}
.sb {
    height: 48px;
    max-width: 670px;
    border-color: #e7e4de;
    border-radius: 9px;
    background: #fff;
}
.sb input {
    padding: 10px 15px;
    font-size: 14px;
}
.sb button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 120px;
    padding: 0 16px;
    background: var(--brand-yellow);
    font-size: 11px;
    letter-spacing: 0.04em;
}
.cartl {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-size: 13px;
}
.cartl .ui-icon {
    color: #45413b;
}
.cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border-radius: 50px;
    background: #f2f0eb;
    color: #38352f;
    font-size: 11px;
}
.ybar {
    background: var(--brand-yellow);
}
.nv {
    min-height: 54px;
}
.nv > a {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    padding: 0 17px;
    color: #2c2922;
    font-size: 12px;
    letter-spacing: 0.015em;
}
.nv > a:hover {
    background: #ffffff33;
    text-decoration: none;
}
.nv > .nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 54px;
}
.nav-dropdown > summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 0 17px;
    color: #2c2922;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.015em;
    cursor: pointer;
    list-style: none;
}
.nav-dropdown > summary::-webkit-details-marker {
    display: none;
}
.nav-dropdown > summary::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
}
.nav-dropdown[open] > summary,
.nav-dropdown:hover > summary {
    background: #ffffff33;
}
.nav-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    z-index: 45;
    width: max-content;
    min-width: 220px;
    max-width: min(320px, calc(100vw - 32px));
    max-height: 70vh;
    overflow: auto;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 12px 28px #00000018;
}
.nav-dropdown[open] > .nav-dropdown-panel {
    display: block;
}
@media (hover: hover) {
    .nav-dropdown:hover > .nav-dropdown-panel {
        display: block;
    }
}
.nav-dropdown-panel > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-dropdown-panel li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-dropdown-panel .nav-overview,
.nav-dropdown-panel li > a,
.nav-dropdown-panel li > details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 5px;
    color: #3b3832;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}
.nav-dropdown-panel .nav-overview {
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-weight: 700;
}
.nav-dropdown-panel li > a:hover,
.nav-dropdown-panel li > details > summary:hover,
.nav-dropdown-panel .nav-overview:hover {
    background: #fff8cc;
    color: #222;
}
.nav-dropdown-panel li > details {
    position: relative;
}
.nav-dropdown-panel li > details > summary {
    cursor: pointer;
    list-style: none;
}
.nav-dropdown-panel li > details > summary::-webkit-details-marker {
    display: none;
}
.nav-dropdown-panel li > details > summary::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
}
.nav-dropdown-panel li > details > .nav-dropdown-panel {
    top: -8px;
    left: 100%;
    border-radius: 8px;
}
.nav-dropdown-panel li > details[open] > .nav-dropdown-panel {
    display: block;
}
@media (hover: hover) {
    .nav-dropdown-panel li > details:hover > .nav-dropdown-panel {
        display: block;
    }
}
.page-copy {
    max-width: 880px;
    margin: 12px auto 42px;
    color: #55514a;
    font-size: 15px;
    line-height: 1.85;
}
.page-copy p {
    margin: 0 0 1.2em;
}
.bc {
    display: flex;
    align-items: center;
    min-height: 54px;
    margin-right: 20px;
    padding: 0 20px;
    border-radius: 7px 7px 0 0;
}
.bc > span {
    display: flex;
    align-items: center;
    gap: 9px;
}
.bc ul {
    border-radius: 0 0 8px 8px;
}
.feat {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 20px 0 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 84px;
    padding: 14px 16px;
}
.feature-item + .feature-item {
    border-left: 1px solid var(--line);
}
.feature-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff9d9;
    color: var(--brand-red);
}
.feature-copy {
    display: grid;
    gap: 2px;
}
.feature-copy b {
    font-size: 12px;
    font-weight: 700;
}
.feature-copy > span {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0;
}
.sh {
    margin: 20px 0 18px;
    border-bottom-color: #e9e6e0;
}
.sh h1,
.sh h2 {
    margin-bottom: 10px;
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: -0.025em;
}
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tabs a {
    display: inline-block;
    margin: 0;
    padding: 7px 12px;
    border: 1px solid #e6d000;
    border-radius: 6px;
    background: var(--brand-yellow);
    color: #302c1a;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}
.tabs a:hover {
    background: #ffdf00;
    border-color: #c5a900;
}
.tabs a.on {
    border-color: #b89e00;
    background: #ffdf00;
    color: #201d13;
    box-shadow: inset 0 -2px 0 #b89e00;
}
.grid {
    gap: 20px 16px;
    align-items: stretch;
}
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 11px;
    border-color: #efede8;
    border-radius: 11px;
    text-align: left;
    box-shadow: 0 2px 8px #19171305;
}
.card:hover {
    border-color: #e2ddd3;
    box-shadow: 0 12px 28px #19171312;
    transform: translateY(-3px);
}
.card-link {
    display: block;
    flex: 1;
    text-align: left;
}
.card-media {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1/1;
    padding: 13px;
    border-radius: 8px;
    background: #f8f7f4;
}
.product-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.card h3 {
    min-height: 2.8em;
    margin: 12px 1px 3px;
    color: #2d2b27;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}
.pr {
    margin: 2px 1px 0;
    color: #6b6257;
    font-size: 12px;
    font-weight: 600;
}
.card-actions {
    display: grid;
    gap: 7px;
    margin-top: 12px;
}
.card form {
    margin: 0;
}
.card form .btn {
    width: 100%;
    min-height: 36px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 650;
}
.wa {
    width: 100%;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    padding: 5px 9px;
    border: 1px solid #e3eee6;
    border-radius: 7px;
    background: #f7fbf8;
    color: #17643b !important;
    font-size: 11px;
}
.wa small {
    color: #56846a;
    font-size: 8px;
    letter-spacing: 0.02em;
}
.wa svg {
    width: 25px;
    height: 25px;
}
.btn {
    border-radius: 7px;
    font-weight: 600;
}
.prod {
    gap: 38px;
    margin-top: 14px;
}
.product-detail-image {
    display: block;
    width: 100%;
    height: clamp(340px, 42vw, 520px);
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8f7f4;
    object-fit: contain;
}
.prod h1 {
    margin-top: 0;
    font-size: 1.8rem;
    line-height: 1.25;
    letter-spacing: -0.035em;
}
.price {
    color: #292620;
}
.ft {
    margin-top: 64px;
    padding: 38px 0 14px;
    border-top: 1px solid var(--line);
    background: #fbfaf8;
}
.ft h4 {
    font-size: 13px;
    letter-spacing: 0.01em;
}
.table-scroll {
    border: 1px solid var(--line);
    border-radius: 8px;
}
.recent-order-toast {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 90;
    display: flex;
    width: min(380px, calc(100vw - 32px));
    padding: 14px 38px 14px 14px;
    border: 1px solid #eae7e1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 38px #19171320;
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.28s ease,
        transform 0.28s ease;
}
.recent-order-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.toast-link {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    color: var(--ink);
    text-decoration: none;
}
.toast-image {
    display: grid;
    place-items: center;
    flex: none;
    width: 68px;
    height: 68px;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f7f4;
}
.toast-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.toast-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.toast-kicker {
    color: #77736e;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.toast-product {
    overflow: hidden;
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
}
.toast-note {
    color: #77736e;
    font-size: 10px;
    line-height: 1.35;
}
.toast-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #38875a;
    font-size: 10px;
}
.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #777;
    cursor: pointer;
}
.toast-close:hover {
    background: #f3f1ec;
    color: #222;
}
.field-help {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
}
.admin-poster-preview {
    display: block;
    width: min(100%, 360px);
    height: auto;
    margin: 8px 0 18px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8f7f4;
    object-fit: contain;
}
.admin-brand-preview {
    display: block;
    width: min(100%, 280px);
    height: 72px;
    margin: 6px 0 18px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
}
.admin-brand-preview.favicon {
    width: 72px;
    height: 72px;
}
.publication-documents {
    max-width: 1000px;
    margin: 30px auto 56px;
}
.publication-documents > h2 {
    margin-bottom: 18px;
}
.publication-document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 16px;
}
.publication-document {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 190px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(27, 37, 44, 0.05);
}
.publication-document-type {
    color: var(--brand-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
}
.publication-document h3 {
    margin: 12px 0 6px;
    font-size: 17px;
}
.publication-document-size {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 12px;
}
.publication-document .btn {
    margin-top: auto;
    text-decoration: none;
}
.publication-document-download {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
}
.flipbook-dialog {
    width: min(94vw, 980px);
    max-width: 980px;
    max-height: 92vh;
    padding: 0;
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    background: #f5f6f7;
    color: #222;
    box-shadow: 0 24px 80px #0005;
}
.flipbook-dialog::backdrop {
    background: #111b;
}
.flipbook-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e4e6e8;
}
.flipbook-toolbar h2 {
    margin: 0;
    font-size: 16px;
}
.flipbook-toolbar > div {
    display: flex;
    align-items: center;
    gap: 8px;
}
.flipbook-toolbar button {
    padding: 7px 10px;
    border: 1px solid #d7dce0;
    border-radius: 6px;
    background: #fff;
    color: #222;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
}
.flipbook-toolbar button:disabled {
    opacity: 0.45;
    cursor: default;
}
.flipbook-page-status {
    min-width: 78px;
    text-align: center;
    font-size: 12px;
    color: #666;
}
.flipbook-stage {
    display: grid;
    place-items: center;
    min-height: 44vh;
    max-height: 72vh;
    padding: 18px;
    overflow: auto;
    perspective: 1600px;
}
.flipbook-stage canvas {
    max-width: 100%;
    max-height: 68vh;
    box-shadow: 0 8px 24px #0003;
    background: #fff;
    transform-origin: left center;
}
.flipbook-stage canvas.turn-forward {
    animation: page-turn-forward 0.3s ease;
}
.flipbook-stage canvas.turn-back {
    animation: page-turn-back 0.3s ease;
}
.flipbook-error {
    padding: 14px;
    background: #fff1f0;
    color: #9e211c;
}
.flipbook-credit {
    margin: 0;
    padding: 4px 16px 10px;
    text-align: right;
    color: #777;
    font-size: 10px;
}
@keyframes page-turn-forward {
    0% {
        transform: rotateY(0);
    }
    50% {
        transform: rotateY(-70deg);
        opacity: 0.5;
    }
    100% {
        transform: rotateY(0);
        opacity: 1;
    }
}
@keyframes page-turn-back {
    0% {
        transform: rotateY(0);
    }
    50% {
        transform: rotateY(70deg);
        opacity: 0.5;
    }
    100% {
        transform: rotateY(0);
        opacity: 1;
    }
}
.admin-documents {
    max-width: 840px;
    margin: 32px auto;
}
.admin-settings-group {
    margin: 28px 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fbfaf8;
}
.admin-settings-group code {
    overflow-wrap: anywhere;
}
.campaign-delete {
    margin-top: 8px;
}
.campaign-delete > summary {
    color: #b92722;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.campaign-delete form {
    min-width: 250px;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid #f0c4c1;
    border-radius: 8px;
    background: #fff8f7;
}
.campaign-delete form p {
    font-size: 12px;
    line-height: 1.5;
}
.contestant-portal {
    max-width: 920px;
    margin: 24px auto 50px;
}
.contestant-portal-heading {
    margin-bottom: 20px;
    padding: 30px 24px;
    border: 1px solid var(--line);
    border-top: 8px solid var(--brand-red);
    border-radius: 10px;
    background: #fff;
    text-align: center;
}
.contestant-kicker,
.admin-eyebrow {
    margin: 0;
    color: var(--brand-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.contestant-portal-heading h1 {
    margin: 8px 0;
    font-size: clamp(24px, 4vw, 36px);
}
.contestant-portal-heading p:last-child {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
}
.contestant-form {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 28px #0000000a;
}
.contestant-form section + section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.contestant-form h2 {
    margin: 0 0 14px;
    padding-left: 12px;
    border-left: 4px solid var(--brand-red);
    font-size: 16px;
    text-transform: uppercase;
}
.contestant-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 18px;
}
.contestant-form label > span:not(.field-help) {
    color: var(--brand-red);
}
.vote-category-tabs,
.vote-universities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}
.vote-category-tabs a,
.vote-universities a {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}
.vote-category-tabs a.on,
.vote-universities a.on {
    border-color: var(--brand-red);
    background: var(--brand-red);
    color: #fff;
}
.payment-message {
    margin: 16px 0;
    padding: 12px 16px;
    border-radius: 8px;
}
.payment-message.ok {
    background: #e6f6ea;
}
.payment-message.bad {
    background: #fdeaea;
}
.analytics-consent {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: min(620px, calc(100vw - 36px));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 42px #0002;
}
.analytics-consent[hidden] {
    display: none;
}
.analytics-consent p {
    margin: 5px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.analytics-consent details {
    font-size: 11px;
}
.analytics-consent summary {
    cursor: pointer;
    font-weight: 700;
}
.analytics-consent-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.analytics-consent-actions button {
    padding: 8px 12px;
    border: 1px solid #d5d9de;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}
.analytics-consent-actions button[data-analytics-choice='yes'] {
    border-color: var(--brand-red);
    background: var(--brand-red);
    color: #fff;
}
.admin-ui {
    min-height: 100vh;
    background: #f4f6fa;
    color: #1f2937;
}
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: 8px 22px;
    border-bottom: 1px solid #e6e9ef;
    background: #fff;
    box-shadow: 0 3px 12px #14233a0a;
}
.admin-brand-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-menu-toggle {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.admin-menu-toggle:hover {
    border-color: #bd2823;
    background: #fff8f7;
}
.admin-menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: #344054;
}
.admin-menu-toggle:focus-visible,
.admin-nav-backdrop:focus-visible {
    outline: 3px solid #e4312b;
    outline-offset: 2px;
}
.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    text-decoration: none;
    font-weight: 700;
}
.admin-brand img {
    display: block;
    width: 156px;
    height: auto;
}
.admin-brand span {
    padding-left: 12px;
    border-left: 1px solid #e6e9ef;
    font-size: 12px;
    color: #667085;
}
.admin-topbar > div {
    display: flex;
    gap: 16px;
}
.admin-topbar > div a {
    color: #4b5563;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}
.admin-topbar > div a:hover {
    color: var(--brand-red);
}
.admin-sidebar {
    position: fixed;
    top: 66px;
    bottom: 0;
    left: 0;
    z-index: 40;
    width: 244px;
    padding: 18px 12px;
    overflow-y: auto;
    border-right: 1px solid #e6e9ef;
    background: #fff;
    transition:
        transform 0.2s ease,
        visibility 0.2s ease;
}
.admin-nav-backdrop {
    display: none;
}
.admin-menu-collapsed .admin-sidebar {
    visibility: hidden;
    transform: translateX(-105%);
}
.admin-menu-collapsed .admin-content.wrap {
    width: 100%;
    margin-left: 0;
}
.admin-nav-group {
    margin-bottom: 8px;
    padding: 4px;
    border-radius: 8px;
}
.admin-nav-group[open] {
    background: #fafbfc;
}
.admin-nav-group summary {
    padding: 8px 10px;
    cursor: pointer;
    color: #344054;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.admin-nav-group ul {
    margin: 2px 0 4px;
    padding: 0;
    list-style: none;
}
.admin-nav-group li a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: #667085;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.admin-nav-group li a:hover {
    background: #fff;
    color: #bd2823;
}
.admin-nav-group li a[aria-current='page'] {
    background: #fff0ef;
    color: #b92722;
}
.admin-content.wrap {
    width: calc(100% - 244px);
    max-width: none;
    margin: 0 0 0 244px;
    padding: 26px 30px;
}
.admin-content h1 {
    margin: 0 0 14px;
    font-size: 26px;
    letter-spacing: -0.02em;
}
.admin-page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.admin-page-heading h1 {
    margin: 3px 0 0;
}
.admin-search-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    max-width: 760px;
    margin: 18px 0;
}
.admin-search-form label {
    flex: 1;
}
.admin-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 170px;
}
.admin-row-actions form {
    margin: 0;
}
.admin-row-actions .btn {
    white-space: nowrap;
}
.admin-ui .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-ui .checkbox-label input {
    width: auto;
}
.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667085;
    font-size: 12px;
}
.live-indicator i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #12b76a;
    box-shadow: 0 0 0 4px #12b76a1a;
}
.analytics-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}
.analytics-summary article {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border: 1px solid #e7eaf0;
    border-radius: 10px;
    background: #fff;
}
.analytics-summary span {
    color: #667085;
    font-size: 12px;
}
.analytics-summary strong {
    font-size: 24px;
}
.analytics-detail {
    margin: 26px 0;
}
.admin-content .table-scroll {
    background: #fff;
}
.is-selected {
    background: #fff8e6;
}
@media (max-width: 900px) {
    .feat {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .feature-item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .feature-item:nth-child(4) {
        border-top: 1px solid var(--line);
    }
}
@media (max-width: 900px) {
    .admin-sidebar {
        width: 218px;
    }
    .admin-content.wrap {
        width: calc(100% - 218px);
        margin-left: 218px;
        padding: 22px 20px;
    }
    .admin-brand img {
        width: 136px;
    }
}
@media (max-width: 700px) {
    .admin-menu-open {
        overflow: hidden;
    }
    .admin-sidebar {
        display: none;
        position: fixed;
        top: 58px;
        right: auto;
        bottom: 0;
        left: 0;
        width: min(86vw, 320px);
        padding: 14px 12px;
        overflow-y: auto;
        border-right: 1px solid #e6e9ef;
        border-bottom: 0;
        box-shadow: 12px 0 28px #14233a1a;
        transform: translateX(-105%);
        visibility: hidden;
    }
    .admin-menu-open .admin-sidebar {
        display: block;
        transform: translateX(0);
        visibility: visible;
    }
    .admin-nav-backdrop:not([hidden]) {
        display: block;
        position: fixed;
        inset: 58px 0 0;
        z-index: 39;
        border: 0;
        background: #10182866;
    }
    .admin-content.wrap,
    .admin-menu-collapsed .admin-content.wrap {
        width: 100%;
        margin: 0;
        padding: 20px 16px;
    }
    .admin-topbar {
        min-height: 58px;
        padding: 8px 14px;
    }
    .admin-brand img {
        width: 118px;
    }
    .admin-search-form {
        align-items: stretch;
        flex-direction: column;
    }
    .analytics-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .analytics-summary article {
        padding: 12px;
    }
    .analytics-summary strong {
        font-size: 20px;
    }
    .analytics-consent {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        flex-direction: column;
        gap: 12px;
    }
    .analytics-consent-actions {
        align-self: flex-end;
    }
    .contestant-portal {
        margin-top: 14px;
    }
    .contestant-form {
        padding: 18px;
    }
}
@media (max-width: 480px) {
    .admin-brand span {
        display: none;
    }
    .admin-topbar > div:not(.admin-brand-group) {
        gap: 9px;
    }
    .admin-topbar > div:not(.admin-brand-group) a {
        font-size: 11px;
    }
    .admin-nav-group summary {
        font-size: 10px;
    }
    .analytics-summary {
        grid-template-columns: 1fr;
    }
    .analytics-summary article {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .contestant-form-grid {
        grid-template-columns: 1fr;
    }
    .flipbook-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
    .flipbook-toolbar > div {
        width: 100%;
        justify-content: space-between;
        gap: 4px;
    }
    .flipbook-toolbar button {
        padding: 6px 7px;
    }
    .nominee-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .hd {
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 11px;
        padding-bottom: 11px;
    }
    .logo {
        margin-right: auto;
    }
    .logo img {
        max-width: 138px;
    }
    .sb {
        order: 3;
        flex: 1 0 100%;
        max-width: none;
    }
    .cartl {
        padding: 8px 2px;
    }
    .nv {
        flex-wrap: wrap;
        overflow: visible;
        scrollbar-width: none;
    }
    .nv > a {
        flex: none;
        padding: 0 12px;
    }
    .nv > .nav-dropdown {
        flex: none;
    }
    .nv > .nav-dropdown > summary {
        padding: 0 12px;
    }
    .nav-dropdown-panel {
        max-height: 60vh;
    }
    .nav-dropdown-panel li > details > .nav-dropdown-panel {
        position: static;
        width: auto;
        max-width: none;
        max-height: none;
        overflow: visible;
        margin-left: 12px;
        padding: 3px 4px;
        border: 0;
        box-shadow: none;
    }
    .bc {
        flex: none;
        margin-right: 8px;
        padding: 0 14px;
    }
    .prod {
        gap: 22px;
    }
    .product-detail-image {
        height: min(78vw, 440px);
    }
}
@media (max-width: 560px) {
    .grid {
        gap: 13px 10px;
    }
    .card {
        padding: 8px;
        border-radius: 9px;
    }
    .card-media {
        padding: 8px;
        border-radius: 6px;
    }
    .card h3 {
        margin-top: 9px;
        font-size: 12px;
    }
    .card-actions {
        gap: 6px;
    }
    .feature-item {
        min-height: 76px;
        padding: 11px 9px;
        gap: 9px;
    }
    .feature-icon {
        width: 36px;
        height: 36px;
    }
    .feature-copy b {
        font-size: 11px;
    }
    .feature-copy > span {
        font-size: 9px;
    }
    .nv > a {
        padding: 0 9px;
        font-size: 11px;
    }
    .bc {
        padding: 0 10px;
        font-size: 10px;
    }
    .recent-order-toast {
        left: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .recent-order-toast {
        transition: none;
    }
}
@media (max-width: 900px) {
    .site-header .sb {
        display: none;
    }
    .site-header .hd {
        min-height: 58px;
        flex-wrap: nowrap;
        gap: 12px;
    }
    .site-header .logo img {
        max-width: 132px;
    }
    .site-header .cartl {
        padding: 5px 0;
    }
    .site-header .nv {
        min-height: 44px;
        gap: 0;
    }
    .site-header .bc {
        min-height: 44px;
        margin-right: 4px;
        padding: 0 11px;
        border-radius: 0;
    }
    .site-header .nv > a,
    .site-header .nv > .nav-dropdown,
    .site-header .nv > .nav-dropdown > summary {
        min-height: 44px;
    }
    .site-header .nv > a {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 11px;
    }
    .site-header .nv > .nav-dropdown > summary {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 11px;
    }
}
.nomination-admin-actions {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}
.nomination-admin-actions .nomination-review-actions {
    flex-wrap: wrap;
    align-items: flex-end;
}
.admin-role-nomination-list {
    max-height: 360px;
    overflow: auto;
    margin: 10px 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.admin-role-nomination-list label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f1efeb;
    font-size: 13px;
}
.admin-role-nomination-list label:last-child {
    border-bottom: 0;
}
.admin-role-nomination-list input {
    width: auto;
    margin-top: 5px;
}
.admin-nomination-photo-preview {
    display: block;
    width: 180px;
    height: 180px;
    margin: 10px 0 16px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
.admin-nomination-edit {
    max-width: 900px;
}
.admin-settings-group table code {
    display: block;
    max-width: 420px;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 11px;
}
.admin-role-nomination-list + button {
    margin-top: 8px;
}
@media (max-width: 560px) {
    .nomination-admin-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .nomination-admin-actions .nomination-review-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .nomination-admin-actions .nomination-review-actions label {
        grid-column: 1/-1;
    }
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
#home-products[aria-busy='true'] {
    opacity: 0.65;
}
.home-products-error {
    grid-column: 1/-1;
    margin: 0;
}
.vote-category-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
}
.vote-category-tabs > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 118px;
    padding: 18px 48px 18px 20px;
    overflow: hidden;
    border: 1px solid #e8e2d7;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff 0%, #fbfaf7 100%);
    box-shadow: 0 5px 18px #241e1210;
    color: #292620;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}
.vote-category-tabs > a {
    background: var(--vote-card-bg, #fbfaf8);
    color: var(--vote-card-text, #292620);
}
.vote-category-tabs > a:hover {
    transform: translateY(-2px);
    border-color: var(--vote-card-accent, #e4312b);
    box-shadow: 0 12px 28px #241e1218;
}
.vote-category-tabs > a.on {
    border-color: var(--vote-card-accent, #e4312b);
    background: var(--vote-card-active-bg, #e4312b);
    color: var(--vote-card-active-text, #fff);
    box-shadow:
        0 0 0 2px #e4312b18,
        0 8px 24px #241e1214;
}
.vote-category-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 62px;
    height: 62px;
    border: 1px solid var(--vote-card-accent, #e4312b);
    border-radius: 18px;
    background: #fff;
    color: var(--vote-card-accent, #e4312b);
}
.vote-category-tabs > a.on .vote-category-icon {
    border-color: #ffffff75;
    background: #fff;
    color: var(--vote-card-accent, #e4312b);
}
.vote-category-tabs > a.on .vote-category-copy small,
.vote-category-tabs > a.on .vote-category-copy > span,
.vote-category-tabs > a.on .vote-category-arrow {
    color: var(--vote-card-active-text, #fff);
}
.vote-category-icon .ui-icon {
    width: 32px;
    height: 32px;
}
.vote-category-copy {
    display: grid;
    gap: 3px;
}
.vote-category-copy small {
    color: var(--vote-card-accent, #9a6d60);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.vote-category-copy strong {
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.25;
}
.vote-category-copy > span {
    color: var(--vote-card-text, #292620);
    font-size: 11px;
    line-height: 1.4;
}
.vote-category-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    color: var(--vote-card-accent, #e4312b);
    font-size: 22px;
    transform: translateY(-50%);
}
@media (max-width: 600px) {
    .vote-category-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .vote-category-tabs > a {
        display: grid;
        grid-template-columns: 1fr auto;
        align-content: start;
        gap: 9px;
        min-height: 148px;
        padding: 12px;
        border-radius: 11px;
    }
    .vote-category-icon {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }
    .vote-category-icon .ui-icon {
        width: 26px;
        height: 26px;
    }
    .vote-category-copy {
        grid-column: 1/-1;
        gap: 4px;
    }
    .vote-category-copy small {
        font-size: 8px;
    }
    .vote-category-copy strong {
        font-size: 13px;
    }
    .vote-category-copy > span {
        font-size: 10px;
    }
    .vote-category-arrow {
        position: static;
        align-self: start;
        font-size: 20px;
        transform: none;
    }
}
.vote-card-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.vote-card-settings {
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.vote-card-settings legend {
    padding: 0 6px;
    font-weight: 800;
}
.vote-card-settings label {
    font-size: 12px;
}
.vote-card-settings input[type='color'] {
    height: 42px;
    padding: 4px;
}
@media (max-width: 600px) {
    .vote-card-settings-grid {
        grid-template-columns: 1fr;
    }
}
.voting-overview-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
    max-width: none;
    margin: 18px 0;
    padding: 18px;
    border: 1px solid #e8e2d7;
    border-radius: 10px;
    background: #fff;
}
.voting-overview-filters label {
    min-width: 0;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
}
.voting-overview-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.voting-overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 12px;
    margin: 20px 0;
}
.voting-overview-stat {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 16px;
    border: 1px solid #eee8df;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 12px #29262008;
}
.voting-overview-stat > span {
    color: #625e56;
    font-size: 12px;
    font-weight: 700;
}
.voting-overview-stat strong {
    color: #292620;
    font-size: 27px;
    line-height: 1.15;
}
.voting-overview-stat small {
    color: #777;
    font-size: 11px;
}
.voting-overview-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}
.voting-overview-chart {
    min-width: 0;
    margin: 0;
    padding: 18px;
    border: 1px solid #eee8df;
    border-radius: 10px;
    background: #fff;
}
.voting-overview-chart figcaption {
    margin-bottom: 12px;
    color: #292620;
    font-size: 14px;
    font-weight: 800;
}
.voting-overview-chart-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.voting-overview-chart-list li {
    min-width: 0;
}
.voting-overview-chart-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    color: #555;
    font-size: 12px;
}
.voting-overview-chart-label span {
    overflow-wrap: anywhere;
}
.voting-overview-chart-label strong {
    flex: none;
    color: #292620;
}
.voting-overview-progress {
    display: block;
    width: 100%;
    height: 12px;
    border: 0;
    border-radius: 99px;
    accent-color: #e4312b;
}
.voting-overview-progress::-webkit-progress-bar {
    border-radius: 99px;
    background: #f1efeb;
}
.voting-overview-progress::-webkit-progress-value {
    border-radius: 99px;
    background: #e4312b;
}
.voting-overview-progress::-moz-progress-bar {
    border-radius: 99px;
    background: #e4312b;
}
.voting-overview-section {
    margin: 18px 0;
}
.voting-overview-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}
.voting-overview-section-heading h2 {
    margin: 0;
}
.voting-overview-section-heading .field-help {
    max-width: 760px;
    margin: 5px 0 0;
}
.voting-overview-table {
    min-width: 1120px;
    font-size: 12px;
}
.voting-overview-table td {
    vertical-align: top;
}
.voting-overview-table .voting-overview-group th {
    background: #fff8e9;
    color: #292620;
    font-size: 13px;
}
.voting-overview-table td:first-child {
    min-width: 190px;
}
.voting-overview-table small {
    color: #777;
}
.voting-overview-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    color: #667085;
    font-size: 12px;
}
@media (max-width: 850px) {
    .voting-overview-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .voting-overview-filters,
    .voting-overview-charts {
        grid-template-columns: 1fr;
    }
    .voting-overview-section-heading {
        flex-direction: column;
    }
}
