:root {
  font: 16px/1.5 system-ui, sans-serif;
  color: #152339;
  background: #f5f7fb;
  --navy: #10233e;
  --portfolio-blue: #006995;
  --ink: #152339;
  --muted: #4b5f76;
  --line: #cdd8e6;
  --gold: #f7ca68;
}
* { box-sizing: border-box; }
body { margin: 0; }
.shell { max-width: 960px; width: calc(100% - 36px); margin-inline: auto; }
.masthead, .footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; font-weight: 850; line-height: 1.1; }
.brand-mark { background: var(--navy); color: var(--gold); width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; font: 800 25px Georgia, serif; }
.brand-sub { display: block; margin-top: 4px; font-weight: 550; color: var(--muted); font-size: .875rem; }
.preview-label, .status { font-size: .875rem; border-radius: 30px; padding: 5px 11px; }
.preview-label { background: #e8edf5; color: #314761; }
.hero { padding: clamp(24px, 6vw, 58px); border-radius: 24px; color: white; background: radial-gradient(ellipse at 100% 0, #294c70, transparent 70%), var(--navy); }
.hero p { margin: 0; }
.hero .kicker { color: var(--gold); }
.kicker { font-weight: 750; letter-spacing: .06em; font-size: .875rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { font: 550 clamp(2.1rem, 6vw, 4rem)/1.05 Georgia, serif; letter-spacing: -.035em; margin-block: 12px; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1rem; }
.hero .status { display: inline-block; margin-top: 16px; background: #233e5f; color: white; }
.awards, .actions, .footer nav { display: flex; flex-wrap: wrap; gap: 8px; }
.awards { margin-block: 16px; }
button, select, input { font: inherit; }
button { min-height: 44px; border: 1px solid transparent; border-radius: 10px; padding: 9px 14px; background: var(--navy); color: white; cursor: pointer; font-weight: 680; }
button.secondary, .footer button { background: white; border-color: var(--line); color: var(--navy); }
button.secondary[aria-current="true"] { background: #e0ecfa; border-color: #7c9ec5; }
button:disabled { cursor: default; opacity: .65; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #527baa; outline-offset: 3px; }
.panel { border: 1px solid var(--line); background: white; border-radius: 17px; padding: clamp(16px, 4vw, 28px); margin-block: 14px; }
.panel > :last-child { margin-bottom: 0; }
.quiet, .deadline { color: var(--muted); }
.deadline { margin-bottom: 13px; font-size: .925rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 750; margin-bottom: 12px; }
.choice { display: grid; grid-template-columns: 24px 48px 1fr; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 9px; cursor: pointer; }
.choice:has(:checked) { background: #eaf2ff; border-color: #547daf; }
.choice input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; }
.choice strong { display: block; }
.choice small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.35; }
.logo { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 12px; color: #143453; background: #dceaf8; font: 800 1.15rem Georgia, serif; }
.logo.lantern { background: #f8e7bb; color: #614315; }
.logo.gather { background: #d9eee5; color: #1d5446; }
.submit-bar { position: sticky; bottom: 0; background: white; padding-block: 10px 0; }
.submit-bar button { width: 100%; }
input[type="text"], select { display: block; padding: 9px; margin: 6px 0 12px; border: 1px solid #8b9eb9; border-radius: 7px; max-width: 100%; }
.receipt { border-left: 4px solid #287453; }
.sponsor { color: var(--muted); font-size: .875rem; margin-block: 16px; padding-left: 10px; border-left: 3px solid var(--gold); }
.stage { min-height: 56vh; display: grid; justify-items: center; align-content: center; text-align: center; background: radial-gradient(ellipse at 50% 0, #2c5074, transparent 75%), #0c1b31; color: white; padding: clamp(20px, 5vw, 64px); border-radius: 20px; }
.stage .kicker { color: var(--gold); }
.stage .status { background: #1c3758; }
.reveal { background: var(--gold); color: #132239; margin-top: 16px; }
.countdown { font: 600 clamp(5rem, 21vw, 13rem)/1 Georgia, serif; color: var(--gold); margin: 12px 0; }
.winner { padding-block: 15px; }
.winner-name { display: block; font: 600 clamp(2.1rem, 7vw, 5.2rem)/1 Georgia, serif; margin-block: 14px; }
.winner .logo { width: 74px; height: 74px; border-radius: 50%; border: 4px double #8a6025; background: var(--gold); color: #211d16; font-size: 1.6rem; }
.stage .winner-name { color: var(--gold); }
.stage .sponsor { border: 0; padding: 0; color: #dce7f5; }
.stage:fullscreen { border-radius: 0; }
.stage:fullscreen .stage-controls { margin-top: 20px; }
canvas { position: fixed; inset: 0; pointer-events: none; z-index: 2; }
.footer { color: var(--muted); font-size: .875rem; }
.footer button { font-size: .875rem; }
#feedback { color: #a02739; }
#feedback:empty { display: none; }
@media (max-width: 570px) {
  .footer { align-items: start; flex-direction: column; }
  .awards button { flex: 1 1 100%; text-align: left; }
  .choice { gap: 9px; padding: 10px; }
}
:fullscreen body[data-screen="ceremony"] { background: #0c1b31; }
:fullscreen body[data-screen="ceremony"] .masthead,
:fullscreen body[data-screen="ceremony"] .footer { display: none; }
:fullscreen body[data-screen="ceremony"] main { width: min(100%, 1200px); }
:fullscreen body[data-screen="ceremony"] .stage { min-height: 76vh; }

.event-hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid;
  grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px;
  padding: clamp(13px, 2.8vw, 25px); border-radius: 16px; color: white; background: #102b45;
}
.event-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg,#08263bf5,#08263bd1 57%,#08263b32);
}
.event-hero > div { grid-column: 1 / -1; }
.event-hero .event-logo + div { grid-column: 2; }
.event-hero h1 { margin: 0 0 5px; font-size: clamp(1.45rem, 4.5vw, 2.65rem); }
.event-hero p { margin: 0; line-height: 1.4; }
.event-hero .event-time { color: #e0edf8; margin-top: 5px; font-size: .875rem; }
.event-hero .sponsor-credit { margin-top: 8px; }
.award-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 22px; }
.award-card { display: flex; flex-direction: column; min-width: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 28px #1421420b; }
.award-art { position: relative; aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.award-art.demo-award-art { aspect-ratio: 2.35; }
.award-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.artwork-0 { background-color: #2f786d; background-image: url('/booth.webp'), linear-gradient(135deg,#173f48,#83a781); }
.artwork-1 { background-color: #3d4a7d; background-image: url('/element.webp'), linear-gradient(135deg,#19223d,#636ba6); }
.artwork-2 { background-color: #a96938; background-image: url('/favorite.webp'), linear-gradient(135deg,#693846,#ddac61); }
.award-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 17px; }
.award-content h2 { line-height: 1.15; margin-bottom: 8px; }
.award-state { background: #e4f0ea; color: #205443; padding: 4px 9px; border-radius: 20px; font-size: .875rem; font-weight: 750; margin-bottom: 10px; }
.nominee-count { color: var(--muted); font-size: .875rem; margin-top: auto; }
.award-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
.award-actions > a { min-width: 0; padding-inline: 5px; font-size: .875rem; line-height: 1.2; text-align: center; }
.award-actions .primary-link { background: var(--portfolio-blue); }
.primary-link, .secondary-link { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 9px; font-weight: 700; text-decoration: none; }
.primary-link { background: var(--navy); color: white; }
.vote-action { background: var(--portfolio-blue); color: white; }
.secondary-link { border: 1px solid var(--line); color: var(--navy); }
.winner-link { background: var(--gold); color: #132239; border-color: #e2ad49; }
.event-link { display: inline-block; color: #284e80; font-weight: 700; padding-block: 10px; }
@media (max-width: 740px) { .award-directory { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 510px) {
  .award-directory { grid-template-columns: 1fr; }
  .award-art, .award-art.demo-award-art { aspect-ratio: 3 / 2; }
}

.awards.ballot-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.ballot-tabs button.secondary { padding: 9px 7px; text-align: center; line-height: 1.22; font-size: clamp(.875rem, 2.5vw, 1rem); }
.ballot-tabs button.secondary[aria-current="true"] { background: var(--portfolio-blue); color: white; border-color: var(--portfolio-blue); }
.nominee-grid { --card-size: 300px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--card-size)), min(100%, var(--card-size)))); gap: 12px; }
.nominee-card { display: grid; grid-template-rows: minmax(0, 1fr) auto; width: 100%; aspect-ratio: 1;  border-radius: 14px; overflow: hidden; }
.nominee-art { background-size: cover; background-position: center; display: grid; align-items: end; justify-items: start; padding: 9px; }
.nominee-art .logo { width: 36px; height: 36px; border-radius: 8px; font-size: .94rem; }
.nominee-content { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 12px; }
.nominee-card .nominee-art { width: 100%; min-height: 0; overflow: hidden; border: 0; border-radius: 0; }
.nominee-card .nominee-art:focus-visible { z-index: 1; outline-offset: -4px; }
.nominee-card .exhibitor-logo { width: 100px; max-width: 100%; height: 100px; max-height: 100%; }
.nominee-details { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.nominee-name { display: block; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nominee-details:hover .nominee-name { text-decoration: underline; }
.nominee-description { color: var(--muted); font-size: .875rem; font-weight: 400; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.nominee-content button[type="submit"] { width: 100%; margin-top: auto; }
.voting-preview { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.ballot-dialog { box-sizing: border-box; width: min(28rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0; border-radius: 16px; color: inherit; }
.award-card, .nominee-card, .ballot-dialog {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(130deg, #315ec2, #8654bd 42%, #cf527d 72%, #e5a32d) border-box;
}
.ballot-dialog::backdrop { background: rgb(12 27 49 / 62%); }
.ballot-dialog-content { padding: 16px 22px 24px; text-align: center; overflow-wrap: anywhere; }
.ballot-dialog-content form { display: flex; justify-content: flex-end; margin: 0 0 8px; }
.ballot-dialog-photo { display: grid; place-items: center; margin-bottom: 16px; }
.ballot-dialog-close { width: 44px; padding: 0; border-radius: 50%; font-size: 1.55rem; line-height: 1; }
.ballot-dialog-photo .exhibitor-logo { width: min(100%, 220px); max-width: none; object-fit: cover; }
.ballot-dialog-photo .logo { width: 72px; height: 72px; font-size: 1.5rem; }
.nominee-profile-description { white-space: pre-wrap; }
.ballot-dialog .nominee-sponsors { margin: 18px 0 0; }
.ballot-dialog .nominee-sponsors h2 { display: none; }
.ballot-dialog .sponsor-logos { justify-content: center; }
.vote-confirmation-actions { display: grid; width: min(100%, 22rem); margin: 18px auto 0; }
.vote-confirmation-actions > * { white-space: normal; overflow-wrap: anywhere; }
.demo-portrait { display: block; width: min(100%, 128px); aspect-ratio: 1; border-radius: 12px; background: url("/youth-soccer-demo-portraits.webp") 0 0 / 200% 200% no-repeat; }
.demo-portrait-1 { background-position: right top; }
.demo-portrait-2 { background-position: left bottom; }
.demo-portrait-3 { background-position: right bottom; }
.demo-portrait-4, .demo-portrait-6 { background-image: url("/soccer-ranking-demo.webp"); background-size: 100% 200%; }
.demo-portrait-6 { background-position: left bottom; }
.demo-portrait-5 { background-image: url("/riley-bennett.webp"); background-size: cover; background-position: center; }
.demo-portrait-7, .demo-portrait-8, .demo-portrait-9, .demo-portrait-10 { background-image: url("/womens-soccer-portraits.webp"); }
.demo-portrait-8 { background-position: right top; }
.demo-portrait-9 { background-position: left bottom; }
.demo-portrait-10 { background-position: right bottom; }
.demo-portrait-11 { background-image: url("/priya-shah.webp"); background-size: cover; background-position: center; }
.ballot-dialog-photo .demo-portrait { width: min(100%, 220px); }
.demo-photo-label { color: var(--muted); }
.attendee-code { display: block; margin-bottom: 15px; font-weight: 650; }
@media (max-width: 580px) {
  .nominee-grid { grid-template-columns: minmax(0, 1fr); }
  .nominee-card { aspect-ratio: auto; grid-template-rows: auto 1fr; }
  .nominee-card .nominee-art { aspect-ratio: 1; padding: 0; }
  .nominee-card .nominee-art .logo { width: 30%; height: auto; aspect-ratio: 1; border-radius: 18%; font-size: clamp(1.75rem, 9vw, 3rem); }
  .nominee-card .nominee-art-portrait .exhibitor-logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
  }
  .nominee-card .demo-portrait { width: 100%; border-radius: 0; }
  .nominee-content { gap: 8px; padding: 14px; }
  .nominee-name { margin-bottom: 4px; font-size: 1.125rem; white-space: normal; overflow-wrap: anywhere; }
  .nominee-description { font-size: 1rem; }
}

.attendee-stage { margin-block: 18px; min-height: 280px; }
.stage .winner { max-width: 100%; }
.stage .winner-name { overflow-wrap: anywhere; }

.grand-reveal { text-align: center; display: grid; justify-items: center; gap: 4px; width: min(100%, 680px); margin-inline: auto; }
.rosette { position: relative; isolation: isolate; width: 88px; height: 100px; display: grid; place-items: start center; margin-bottom: 10px; }
.rosette::before, .rosette::after { content: ""; position: absolute; z-index: -1; top: 49px; width: 24px; height: 48px; background: #bb772d; clip-path: polygon(0 0,100% 0,100% 100%,50% 80%,0 100%); }
.rosette::before { left: 22px; transform: rotate(17deg); }
.rosette::after { right: 22px; transform: rotate(-17deg); }
.rosette span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 6px double #8c561b; background: linear-gradient(140deg,#fff2c0,#efbe5c); color: #68401a; font-size: 32px; box-shadow: 0 0 28px #f7ca6855; }
.winner-award { margin-bottom: 0; font-weight: 750; }
.winner-spotlight { display: grid; justify-items: center; gap: 5px; }
.winner-spotlight .logo { margin-bottom: 10px; width: 56px; height: 56px; }
.winner-sponsor { border-top: 1px solid #798b9d80; margin: 16px 0 0; padding: 12px 12px 0; }
.winner-sponsor span { display: block; font-size: .875rem; }
.grand-countdown { display: grid; justify-items: center; }
.grand-countdown .countdown { color: var(--gold); display: grid; place-items: center; min-width: 1.4em; min-height: 1.2em; padding: 0 .1em; text-shadow: 0 0 28px #f7ca6855; }

.ceremony-stage.theme-gold, .ceremony-preview.theme-gold {
  color:#16324a;
  border:1px solid #dac69d;
  background:radial-gradient(ellipse at 50% 12%,#fffdf7,#f7e8c7 80%);
}
.theme-gold .kicker,.theme-gold .winner-name,.theme-gold .grand-countdown .countdown { color:#173851; }
.ready-title { font:600 clamp(1.65rem,5vw,3.4rem)/1.12 Georgia,serif; }
.envelope-scene { width:min(100%,600px); padding-inline:8px; }
.winner-reveal-message { font-size: clamp(1.15rem, 4.2vw, 1.8rem); font-weight: 750; }
.envelope-action { min-height:3.25rem; display:grid; place-items:center; }
.envelope-display { position:relative; width:min(100%,460px); margin:26px auto 28px; }
.envelope-display::before {
  content:""; position:absolute; inset:-23% -12%; pointer-events:none;
  background:radial-gradient(ellipse,#ffe7a891 0%,#eec67d30 48%,transparent 70%);
}
.award-envelope {
  position:relative; isolation:isolate; width:100%; aspect-ratio:1.7;
  border:1px solid #ba8647; border-radius:16px;
  background:linear-gradient(150deg,#fff8d4 0%,#edc779 47%,#b87837 100%);
  box-shadow:0 20px 36px #29203254,0 2px 1px #fff0b899 inset,0 0 0 4px #e8bd6540;
}
.envelope-lining {
  position:absolute; inset:8% 9% 6%; z-index:0; border-radius:9px;
  background:linear-gradient(140deg,#ffeab4,#c9863e);
}
.envelope-flap {
  position:absolute; inset:0 0 auto; height:69%; z-index:3;
  clip-path:polygon(0 0,100% 0,100% 6%,53% 99%,47% 99%,0 6%);
  transform-origin:top center;
  background:linear-gradient(164deg,#fff8d8 0%,#fce3a0 47%,#c68a3e);
  border-radius:15px 15px 0 0;
}
.envelope-pocket {
  position:absolute; inset:0; z-index:2; border-radius:inherit;
  clip-path:polygon(0 6%,50% 68%,100% 6%,100% 100%,0 100%);
  background:
    linear-gradient(33deg,transparent 49.6%,#96673480 50%,#fff0b988 50.4%,transparent 50.9%),
    linear-gradient(-33deg,transparent 49.6%,#96673480 50%,#fff0b988 50.4%,transparent 50.9%),
    linear-gradient(120deg,#d8a251,#f9dfa0 55%,#c68c49);
}
.envelope-ribbon {
  position:absolute; z-index:4; width:22%; aspect-ratio:1;
  top:54%; left:50%; transform:translate(-50%,-50%);
  filter:drop-shadow(0 5px 5px #57331165);
}
.envelope-ribbon::before,.envelope-ribbon::after {
  content:""; position:absolute; top:56%; width:34%; height:68%;
  background:linear-gradient(90deg,#4f142c,#8a3453 43%,#601c37);
  clip-path:polygon(0 0,100% 0,100% 100%,50% 75%,0 100%);
}
.envelope-ribbon::before { left:20%; transform:rotate(19deg); }
.envelope-ribbon::after { right:20%; transform:rotate(-19deg); }
.award-seal {
  position:absolute; inset:0; display:grid; place-items:center; border-radius:50%;
  background:repeating-conic-gradient(#a36825 0deg 8deg,#e9bc66 8deg 18deg,#fff3be 18deg 25deg);
}
.award-seal span {
  display:grid; place-items:center; width:78%; height:78%; border-radius:50%;
  border:3px double #fff0a9; box-shadow:0 0 0 1px #a47133,0 2px 8px #31172470 inset;
  background:radial-gradient(circle at 37% 26%,#ffecb3,#d49339 58%,#794c27);
  color:#fff5ca; font-size:clamp(18px,6vw,39px); line-height:1;
}
.envelope-foil {
  position:absolute; z-index:3; inset:auto 8px 8%; color:#562f1c;
  font-size:clamp(.55rem,1.5vw,.76rem); font-weight:800; letter-spacing:.17em;
}
.envelope-glint { position:absolute; z-index:1; color:#936322; font-size:clamp(18px,4vw,33px); line-height:1; }
.glint-left { left:-3%; top:4%; transform:translate(-50%,-50%); }
.glint-right { right:-3%; bottom:7%; transform:translate(50%,50%); }
.theme-midnight .envelope-glint, .attendee-stage .envelope-glint { color:#ffdf94; }
.is-opening .envelope-flap { animation:open-envelope 1.35s cubic-bezier(.42,0,.25,1) both; }
.is-opening .envelope-ribbon { animation:break-seal .55s ease-in-out both; }
.is-opening .envelope-display::before { animation:reveal-glow 2.6s ease-in-out both; }
@keyframes open-envelope {
  from { transform:perspective(720px) rotateX(0deg); z-index:3; }
  52% { z-index:3; }
  53% { z-index:0; }
  to { transform:perspective(720px) rotateX(158deg); z-index:0; }
}
@keyframes break-seal { to { opacity:0; transform:translate(-50%,-36%) scale(.8); } }
@keyframes reveal-glow { 45% { transform:scale(1.25); opacity:1; } to { transform:scale(1.35); opacity:0; } }
@media (prefers-reduced-motion:reduce) {
  .is-opening .envelope-flap, .is-opening .envelope-ribbon, .is-opening .envelope-display::before { animation:none; }
}
.countdown-actions { justify-content:center; }
#ceremony-design .actions { margin-top:16px; }
.stage.ranking-stage { min-height: 0; background: white; color: var(--navy); padding: clamp(12px, 3vw, 32px); }
.ranking-stage .kicker { color: var(--muted); }
.ranking-demo-note { margin: 8px 0 0; color: var(--muted); font-size: .875rem; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end;
  gap: clamp(5px, 2vw, 18px); width: min(100%, 700px); margin: 20px auto 24px; }
.podium-place { min-width: 0; grid-row: 1; --step-height: 2.9rem; --step-color: #c37a35; --step-tint: #f7eadf; --step-ink: #9b551a; }
.place-1 { grid-column: 2; --step-height: 5.65rem; --step-color: #df2631; --step-tint: #fce5e7; --step-ink: #bc1520; }
.place-2 { grid-column: 1; --step-height: 4rem; --step-color: #b8bec4; --step-tint: #f1f2f4; --step-ink: #586470; }
.place-3 { grid-column: 3; }
.podium-place ul, .ranking-list { list-style: none; padding: 0; }
.podium-place ul { display: grid; gap: 12px; margin: 6px 0 12px; }
.podium-place li { display: grid; justify-items: center; gap: 6px; overflow-wrap: anywhere; }
.podium-emblem { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  color: var(--step-ink); background: var(--step-tint); font-size: .875rem; }
.podium-emblem { position: relative; }
.podium-emblem::before {
  content: ""; position: absolute; width: 1.1rem; height: .42rem; bottom: calc(100% - 2px);
  background: var(--step-color); clip-path: polygon(0 0, 30% 0, 50% 67%, 70% 0, 100% 0, 72% 100%, 28% 100%);
}
.place-1 .podium-emblem {
  width: 1.65rem; font-size: 0; border-radius: 0; background: var(--step-color);
  clip-path: polygon(0 24%, 26% 50%, 50% 9%, 74% 50%, 100% 24%, 86% 83%, 80% 91%, 20% 91%, 14% 83%);
}
.place-1 .podium-emblem::before { content: none; }
.ranking-avatar { display: grid; place-items: center; width: min(56px, 100%); aspect-ratio: 1; overflow: hidden;
  border: 2px solid var(--line); border-radius: 50%; background: #edf2fa; }
.ranking-avatar :is(.logo, .exhibitor-logo, .demo-portrait) { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.podium .ranking-avatar { width: min(100%, clamp(42px, 14.5vw, 84px)); border: 3px solid var(--step-color); }
.place-1 .ranking-avatar { width: min(100%, clamp(54px, 18.5vw, 104px)); box-shadow: 0 3px 14px #df26313b; }
.podium-step { display: grid; place-items: start center; padding-top: 9px; min-height: var(--step-height);
  border: 1px solid var(--step-color); border-bottom: 0; border-radius: 12px 12px 0 0;
  background: linear-gradient(var(--step-tint), white); color: var(--step-ink);
  font: 700 clamp(1.35rem, 4vw, 2.5rem) Georgia, serif; }
.ranking-list { display: grid; gap: 12px; width: min(100%, 760px); margin: 14px auto 24px; text-align: left; }
.ranking-list li { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center;
  gap: clamp(5px, 2vw, 12px); padding: 10px 14px; min-height: 68px; border: 1px solid var(--line); border-radius: 11px; overflow-wrap: anywhere; }
.ranking-list .ranking-avatar { width: clamp(32px, 11vw, 50px); font-size: .8rem; }
.ranking-position, .ranking-votes { background: #edf2fa; border-radius: 999px; font-size: .875rem; font-weight: 700; }
.ranking-position { display: grid; place-items: center; min-width: 1.75rem; min-height: 1.75rem; padding: 0 4px; }
.ranking-votes { padding: 4px 9px; background: #fce8ea; white-space: nowrap; }
@media (max-width: 510px) {
  .attendee-stage.ranking-stage { margin-inline: -6px; padding-inline: 0; }
  .podium { gap: 8px; }
  .podium-place li { font-size: .875rem; }
  .place-1 li { font-size: 1rem; }
}
.ceremony-stage button + button { margin-top:10px; }

body[data-screen="nominees"] .nominees { margin-block:24px; }
.nominee-sponsors { margin:36px 0 18px; }
.sponsor-logos { display:flex; gap:12px; flex-wrap:wrap; }
.sponsor-tile { margin:0; flex:0 1 210px; padding:15px 12px 12px; border:1px solid var(--line);
  border-radius:14px; text-align:center; background:#fff; }
.sponsor-tile figcaption { color:var(--muted); font-size:.875rem; margin-top:8px; }
@media (max-width:520px) { .sponsor-tile { flex:1 1 138px; } }
.nominee-logo-art { background:#edf2fa; align-items:center; justify-items:center; }
.exhibitor-logo { display:block; width:100%; max-width:128px; aspect-ratio:1; object-fit:contain; border-radius:12px; background:white; }
.sponsor-image { display:block; width:100%; height:80px; object-fit:contain; }
.managed-records { list-style:none; padding:0; margin-top:20px; }
.managed-records li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; border-top:1px solid var(--line); }
#roster-import textarea { display:block; width:100%; padding:10px; border:1px solid var(--line); border-radius:8px; margin:6px 0 12px; font:inherit; }
#roster-import input[type=file] { display:block; max-width:100%; margin:6px 0 14px; }
#sponsor-edit input[type=url] { display:block; width:min(100%,440px); padding:9px; margin:6px 0 12px; border:1px solid var(--line); border-radius:8px; }
.grand-reveal .nominee-sponsors { color:#173851; }
.qr-list li { justify-content:flex-start; align-items:center; }
.qr-list img { flex:none; width:112px; height:112px; background:white; border:1px solid var(--line); border-radius:8px; }
@media (max-width:460px) { .qr-list li { align-items:flex-start; flex-direction:column; } }

.award-insert {
  position:absolute; z-index:1; inset:6% 12% auto; height:74%;
  display:grid; align-content:center; justify-items:center; gap:4px;
  border:2px solid #d1a352; border-radius:10px;
  background:linear-gradient(145deg,#fffef1,#f7e8bc);
  color:#56331c; box-shadow:0 6px 18px #35211649; opacity:0;
  transform:translateY(20%) scale(.96);
}
.award-insert span { color:#9c681d; font-size:clamp(18px,6vw,37px); line-height:1; }
.award-insert strong { font:700 clamp(.96rem,3.3vw,1.65rem) Georgia,serif; }
.is-opening .award-insert { animation:award-card-rise 1.3s .95s cubic-bezier(.3,.1,.25,1) both; }
@keyframes award-card-rise {
  0%,15% { opacity:0; transform:translateY(20%) scale(.96); }
  35% { opacity:1; }
  100% { opacity:1; transform:translateY(-54%) scale(1); }
}
.stage.winner-stage { padding:0; background:#0d1e36; border:0; }
.winner.grand-reveal.winner-feature {
  position:relative; overflow:hidden; isolation:isolate; width:100%; max-width:none;
  padding:clamp(16px,4vw,36px); gap:0; border-radius:18px;
  background:linear-gradient(140deg,#003854,#007da8 65%,#9d243b);
}
.winner-backdrop {
  position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .7;
}
.winner-foreground {
  width:min(100%,720px); margin-inline:auto; padding:clamp(17px,4vw,34px);
  border-radius:18px; border:1px solid #e8c381ad;
  color:#fff8df; background:linear-gradient(145deg,#063752ec,#07283af2);
  box-shadow:0 18px 38px #0d1e3650;
}
.winner-event,.winner-caption { margin:0; color:#ffdb83; font-size:.84rem; text-transform:uppercase; letter-spacing:.14em; font-weight:800; }
.winner-feature .winner-award { margin:.25rem 0 1rem; font-size:clamp(1rem,3vw,1.6rem); }
.winner-feature .winner-spotlight { gap:7px; }
.winner-brand { display:block; margin:0 auto 8px; border-radius:10px; }
.winner-medallion {
  display:grid; place-items:center; overflow:hidden; width:clamp(106px,23vw,174px); aspect-ratio:1; border-radius:50%;
  border:4px solid #f2c971; outline:3px solid #263652; background:#fff4d5; box-shadow:0 8px 22px #060c1955;
}
.winner-medallion :is(.exhibitor-logo, .demo-portrait) { width:100%; max-width:none; height:100%; object-fit:cover; border-radius:0; }
.winner-medallion .logo { width:100%; height:100%; margin:0; border:0; font-size:2.5rem; }
.winner-feature .winner-name { margin:0; font-size:clamp(2rem,6vw,4rem); color:#ffdb83; line-height:1.05; overflow-wrap:anywhere; }
.winner-feature .nominee-sponsors { margin:14px 0 0; }
.winner-feature .nominee-sponsors h2 { color:#fff3d9; margin:0 0 8px; font-size:1rem; }
.winner-feature .sponsor-logos { justify-content:center; }
.winner-feature .sponsor-tile { background:#fff6de; padding:6px 12px; }
.winner-feature .sponsor-image { height:48px; }
.stage-controls { justify-content:center; }
@media (prefers-reduced-motion:reduce) {
  .is-opening .award-insert { animation:none; opacity:1; transform:translateY(-54%); }
}
.invite-link { width:min(100%,700px); }
#presenter-invite-form { margin-bottom:16px; }
.event-logo { display: block; width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.event-banner { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.client-award-art { background:radial-gradient(ellipse at 72% 12%,#397088,transparent 75%),linear-gradient(135deg,#122845,#123c59); }
#event-create textarea,#event-create input[type=url],#event-settings input[type=url],#event-create input[type=datetime-local],#event-settings input[type=datetime-local] {
  display:block; width:min(100%,500px); border:1px solid var(--line); border-radius:8px; padding:8px; font:inherit; margin:6px 0 12px;
}
.artwork-field { border:1px solid var(--line); border-radius:10px; padding:14px; margin:14px 0; }
.artwork-field legend { padding:0 6px; }
.artwork-field input[type=file],.artwork-field input[type=url] { display:block; max-width:100%; margin:7px 0 10px; }
.artwork-field input[type=url] { width:min(100%,500px); border:1px solid var(--line); border-radius:8px; padding:8px; font:inherit; }
.artwork-preview { max-width:min(100%,320px); max-height:130px; object-fit:contain; border:1px solid var(--line); border-radius:8px; margin-bottom:10px; }
.artwork-preview:not([hidden]) { display:block; }

.participant-record { padding: .85rem 0; border-bottom: 1px solid #dce2e8; }
.participant-record summary, .panel > details > summary { cursor: pointer; font-weight: 700; }
.participant-record form { margin: .75rem 0; }
.nominee-logo-art { position: relative; }
.participant-banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nominee-logo-art .exhibitor-logo, .nominee-logo-art .logo { position: relative; }

.attendee-result-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  width: min(100%, 620px);
  margin: 16px auto 24px;
}
.attendee-result-actions > :is(button, a) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 8px clamp(4px, 2vw, 12px);
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.fanchoice-mark { display:block; border-radius:10px; }
body:has(.fanchoice-mark) .masthead { padding-block: 9px; border-bottom: 2px solid #e2edf2; }
body:has(.fanchoice-mark) #view > .event-link { padding-block: 6px; }
.event-heading { position:relative; isolation:isolate; overflow:hidden; padding:clamp(16px, 3vw, 30px); border-radius:16px; background:#075173; border-bottom:3px solid #ce3046; }
.event-heading-banner { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 54%; }
.event-heading::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#073b58f7,#075173bc 65%,#07517325); }
.event-heading-copy .kicker { display:flex; align-items:center; gap:8px; }
.event-heading-copy .kicker img { border-radius:7px; }
.event-heading-copy h1 { margin:5px 0 0; font-size:clamp(1.8rem, 4.4vw, 3rem); }
.event-heading-copy .status { margin-top:8px; }
.stage.reveal-demo-stage { min-height:300px; margin-top:9px; padding:clamp(14px, 3vw, 30px); background:radial-gradient(ellipse at top,#08769e,#063b58 75%); }
.reveal-demo-stage .reveal { box-shadow:0 3px #c73148; }


.demo-award-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.demo-award-links .secondary-link {
  background: white; border: 1px solid #93a9c2; border-radius: 9px; text-align: center;
}
.demo-award-links .secondary-link[aria-current="page"] {
  background: var(--portfolio-blue); border-color: var(--portfolio-blue); color: white;
}
.demo-award-short { display: none; }

@media (max-width: 600px) {
  .event-hero { gap: 8px; }
  .event-hero .event-logo { width: 34px; height: 34px; }
  .event-hero p { font-size: .875rem; }
  .event-hero .sponsor-credit { justify-content: flex-start; }
  .event-heading { padding: 11px 13px; }
  .event-heading-copy .kicker img { width: 26px; height: 26px; }
  .event-heading-copy h1 { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  body[data-screen="nominees"] .nominees { margin-block: 12px; }
  .demo-award-links .secondary-link { min-height: 44px; padding: 4px; font-size: .875rem; line-height: 1.15; }
  .demo-award-links + h2 { margin-top: 12px; }
  .demo-award-full { display: none; }
  .demo-award-short { display: inline; }
}

.sponsor-identity { display: flex; flex-direction: column; align-items: center; gap: 5px; line-height: 1.25; text-align: center; }
.sponsor-demo-mark { display: block; width: 54px; height: 54px; flex: none; border-radius: 8px;
  background: white url("/demo-sponsor-marks.webp") 0 0 / 300% 300% no-repeat; }
.sponsor-demo-1 { background-position: center top; }
.sponsor-demo-2 { background-position: right top; }
.sponsor-demo-3 { background-position: left center; }
.sponsor-demo-4 { background-position: center center; }
.sponsor-demo-5 { background-position: right center; }
.sponsor-demo-6 { background-position: left bottom; }
.sponsor-demo-7 { background-position: center bottom; }
.sponsor-credit {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px;
  max-width: 100%; margin-top: 12px; padding: 5px 10px; border: 1px solid #d6e3ec; border-radius: 9px;
  background: white; color: var(--navy); font-size: .875rem;
}
.sponsor-credit > span:first-child { color: #4d5f74; }
.sponsor-credit .sponsor-identity { flex-direction: row; text-align: left; }
.sponsor-credit :is(.sponsor-image,.sponsor-demo-mark) { width: 34px; height: 34px; }
.grand-countdown .sponsor-credit { margin-bottom: 10px; }

.sponsor-logos.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 164px), 1fr)); }
.sponsor-demo-8 { background-position: right bottom; }
.sponsor-initials {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: #e7f4fa; color: #075273; font-size: 1.05rem;
}
.ceremony-thanks-copy { margin: 14px 0; }
.demo-reveal-end { justify-content: center; margin-top: 12px; }
@media (max-width: 600px) {
  .sponsor-logos.sponsor-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); }
}

.event-heading + .demo-award-links { margin-top: 10px; }

.presenter-live-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.presenter-brief {
  margin-block: 8px 12px;
  padding: 14px 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 4px solid var(--portfolio-blue);
  border-radius: 12px;
}
.presenter-brief h2 { margin: 0; font-size: 1.2rem; }
.presenter-brief dl {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  margin: 8px 0;
}
.presenter-brief dt { font-size: .8rem; color: var(--muted); }
.presenter-brief dd { margin: 0; font-weight: 650; font-size: .9rem; }
.presenter-brief p { margin: 0; font-size: .9rem; }
.presenter-tools, .awards.presenter-tabs {
  display: grid;
  gap: 8px;
}
.presenter-tools { grid-template-columns: repeat(2,minmax(0,1fr)); }
.awards.presenter-tabs { grid-template-columns: repeat(auto-fit,minmax(min(100%,92px),1fr)); }
.presenter-tools > *, .awards.presenter-tabs button {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 8px 5px;
  text-align: center;
  overflow-wrap: anywhere;
  font-size: .9rem;
}
body[data-area="presenter"] .stage-controls:empty { display: none; }
body.presenter-fullscreen #view {
  position: fixed;
  z-index: 1;
  inset: 0;
  width: 100%;
  background: #f5f7fb;
  overflow: auto;
  padding: 10px;
}

body[data-area="presenter"] .stage-controls:not(:empty) {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  max-width: 540px;
  margin: 12px auto 0;
}
body[data-area="presenter"] .stage-controls button {
  min-height: 44px;
  margin: 0;
  overflow-wrap: anywhere;
}
