@font-face{font-family:Poppins;src:url('/assets/fonts/Poppins-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url('/assets/fonts/Poppins-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Poppins;src:url('/assets/fonts/Poppins-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Poppins;src:url('/assets/fonts/Poppins-700.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Poppins;src:url('/assets/fonts/Poppins-800.ttf') format('truetype');font-weight:800;font-display:swap}
:root{font-family:Poppins,Arial,sans-serif;color:#09193b;background:#eef2ff;font-synthesis:none;--red:#bb1222;--muted:#52617c;--line:#d6deef;--surface:#fff;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}[hidden]{display:none!important}img{max-width:100%;display:block}a{text-underline-offset:4px}.wrap{max-width:1240px;margin:auto;padding:0 40px}.skip{position:fixed;left:12px;top:-100px;background:#fff;color:#111;padding:12px;z-index:100}.skip:focus{top:12px}:focus-visible{outline:3px solid #ff9c91;outline-offset:5px}.topbar{background:#fff;border-bottom:1px solid #e0e5f0}.topbar .wrap{height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}.logo img{width:178px;height:auto}.topnav{display:flex;align-items:center;gap:24px;font-size:13px}.topnav a{text-decoration:none;color:#344363}.topnav a:hover{color:#fff}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:49px;padding:14px 22px;background:var(--red);border:1px solid var(--red);border-radius:3px;color:#fff;text-decoration:none;font-weight:700;font-size:14px;transition:background .18s,transform .18s}.button:hover{background:#d21c2e;border-color:#d21c2e}.button:active{transform:translateY(1px)}.button.secondary{background:#fff;border-color:#c5cfe4}.button.secondary:hover{background:#eef2ff}.button.small{padding:10px 16px;min-height:40px;font-size:12px}.quiet{border:0;background:transparent;padding:10px;color:var(--muted);font-size:12px}.quiet:hover{color:white}.eyebrow{display:flex;align-items:center;gap:12px;letter-spacing:2px;font-weight:700;font-size:10px;text-transform:uppercase;color:#d5b7bb;margin:0 0 26px}.eyebrow:before{content:'';width:28px;height:2px;background:#e24452}.hero{position:relative;border-bottom:1px solid #393236;background:radial-gradient(ellipse at 85% 65%,#6b172642,transparent 55%),linear-gradient(100deg,#121316f5,#1a1c20e8),url('/assets/textures/aluminium-a4.webp') center/cover}.hero:before{content:'';position:absolute;top:0;left:0;right:0;height:66px;background:url('/assets/seasonal/drips.svg') top center/1440px 66px repeat-x;opacity:.65;pointer-events:none}.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:70px;align-items:center;padding-top:84px;padding-bottom:64px;min-height:620px}.hero h1{font-size:clamp(48px,5.4vw,76px);font-weight:800;line-height:1.02;letter-spacing:-3.5px;margin:0 0 24px;max-width:690px}.hero h1 em{color:#f04c5b;font-style:normal}.lead{color:#bfc0c6;max-width:440px;font-size:17px;line-height:1.7;margin:0 0 28px}.sponsor{display:flex;align-items:center;gap:10px;font-size:12px;color:#bbbcc2;margin-top:26px}.sponsor img{width:110px;height:auto}.signin-note{font-size:11px;color:#52617c;line-height:1.6;max-width:400px;margin:14px 0 0}.notice{border:1px solid #74414a;background:#321c23;padding:16px 20px;font-size:13px;line-height:1.6;margin:20px 0;border-radius:3px}.notice:empty{display:none}.notice.success{background:#192b24;border-color:#466457}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;padding-top:38px;padding-bottom:40px;border-bottom:1px solid var(--line)}.step{display:grid;grid-template-columns:28px 1fr;gap:12px}.step .number{color:#f46672;font-size:11px;letter-spacing:1px;padding-top:2px}.step h2{font-size:14px;margin:0 0 8px}.step p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.section{padding-top:48px;padding-bottom:60px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:26px}.section-head h2{font-size:27px;margin:0;font-weight:800;letter-spacing:-.7px}.section-head p{color:var(--muted);font-size:12px;margin:8px 0 0}.pill{font-size:10px;letter-spacing:1px;text-transform:uppercase;border:1px solid #59444a;padding:9px 12px;border-radius:3px;white-space:nowrap;color:#f8c9cf}.pill:before{content:'';display:inline-block;width:5px;height:5px;background:#f15e6e;border-radius:50%;margin-right:8px}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.candidate{border:1px solid #d6deef;background:#fff;border-radius:5px;overflow:hidden;position:relative;transition:border-color .2s,transform .2s}.candidate.selected{border-color:#fa6572;box-shadow:0 0 0 1px #fa6572}.photo-button{display:block;width:100%;border:0;background:#e6eaf4;padding:0;position:relative;text-align:left}.photo-button img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;transition:transform .3s}.photo-button:hover img{transform:scale(1.025)}.photo-button{overflow:hidden}.zoom{position:absolute;right:12px;bottom:12px;padding:8px 10px;background:#101114b8;color:#fff;border:1px solid #ffffff33;font-size:10px}.card-body{padding:22px}.card-body .costume{color:#52617c;font-size:12px;margin:7px 0 20px;min-height:16px}.card-body h3{font-size:22px;font-weight:800;letter-spacing:-.4px;margin:0}.card-body .button{width:100%;background:transparent;border-color:#b7c5e5}.selected .card-body .button{background:#86202c;border-color:#cd4051}.card-tag{position:absolute;z-index:1;top:13px;left:13px;background:#a71526;color:#fff;padding:8px 11px;font-size:10px;font-weight:700;letter-spacing:.8px}.empty{padding:55px 25px;border:1px dashed #505158;text-align:center;color:var(--muted);line-height:1.8;border-radius:4px}.vote-bar{position:sticky;bottom:16px;margin:0 auto 25px;z-index:5;max-width:760px;background:#24252af5;border:1px solid #6a444b;box-shadow:0 10px 45px #0008;border-radius:6px;padding:17px 20px;display:flex;gap:20px;align-items:center;justify-content:space-between;backdrop-filter:blur(12px)}.vote-bar small{display:block;color:#52617c;font-size:10px;text-transform:uppercase;letter-spacing:1px;margin-bottom:5px}.vote-bar strong{font-size:16px}.compact-hero .hero-grid{min-height:0;padding-top:64px;padding-bottom:42px;grid-template-columns:1fr auto;gap:35px}.compact-hero h1{font-size:52px;letter-spacing:-2px;margin-bottom:16px}.compact-hero .lead{margin-bottom:0}.compact-hero .seal,.compact-hero figcaption{display:none}.account{font-size:12px;color:#52617c;margin-top:15px}.footer{border-top:1px solid #33353a;padding-top:28px;padding-bottom:30px;color:#52617c;font-size:11px;line-height:1.8}.footer-top{display:flex;justify-content:space-between;gap:20px}.footer p{font-size:10px;color:#52617c;margin:12px 0 0}.footer-links{display:flex;gap:20px}.modal{width:min(460px,calc(100% - 32px));border:1px solid #d6deef;border-radius:6px;padding:32px;background:#fff;color:#09193b;box-shadow:0 25px 100px #0009}.modal::backdrop{background:#000b;backdrop-filter:blur(5px)}.modal h2{font-size:28px;letter-spacing:-.6px;margin:0 0 14px}.modal p{font-size:14px;color:var(--muted);line-height:1.7}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:28px}.photo-modal{max-width:850px;width:calc(100% - 32px);padding:16px}.photo-modal img{width:100%;height:70vh;object-fit:contain}.photo-modal button{margin-left:auto;display:block}.content-page{max-width:820px;padding-top:70px;padding-bottom:70px}.content-page h1{font-size:46px;letter-spacing:-1.5px;margin:0 0 28px}.content-page h2{font-size:20px;margin-top:34px}.content-page p,.content-page li{color:#52617c;font-size:15px;line-height:1.8}.content-page li{margin:8px 0}.winner{background:radial-gradient(ellipse at top,#7b192c55,transparent 70%),#fff;border:1px solid #b44453;padding:35px;border-radius:4px;margin-bottom:28px}.winner h2{font-size:38px;margin:12px 0}.winner p{color:#52617c}.ranking{list-style:none;padding:0;counter-reset:rank}.ranking li{counter-increment:rank;display:flex;gap:24px;border-top:1px solid var(--line);padding:18px 0}.ranking li:before{content:attr(data-rank);color:#f46672}.rank-name{font-weight:700}.loading{padding:30px;color:var(--muted)}.admin-title{font-size:42px;font-weight:800;letter-spacing:-1px;margin:40px 0 10px}.admin-lead{font-size:14px;color:var(--muted);margin-bottom:30px}.admin-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:15px;overflow-x:auto}.admin-tabs button{white-space:nowrap}.admin-tabs button[aria-selected=true]{background:#8e1726;border-color:#c14454}.panel{border:1px solid var(--line);background:#fff;padding:26px;border-radius:5px;margin:25px 0}.panel h2{font-size:22px;margin:0 0 20px}.panel p{font-size:13px;line-height:1.7;color:var(--muted)}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#344363}.field input,.field select,.field textarea{width:100%;padding:12px;border:1px solid #b7c5e5;border-radius:3px;background:#eef2ff;color:#09193b;min-width:0}.field textarea{min-height:130px;resize:vertical}.field.wide{grid-column:1/-1}.checks{display:flex;align-items:center;gap:22px;flex-wrap:wrap;font-size:13px}.checks label{display:flex;gap:8px;align-items:center}.checks input{accent-color:#c63144;width:18px;height:18px}.form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;font-weight:700;color:#52617c;font-size:10px;text-transform:uppercase;letter-spacing:.5px}th,td{padding:15px 12px;border-bottom:1px solid #d6deef;vertical-align:top}td small{display:block;color:#52617c;margin-top:4px}.table-wrap input[type=search]{width:100%;margin-bottom:18px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.stat{border:1px solid #d6deef;padding:22px;border-radius:4px}.stat strong{font-size:32px;display:block;margin-bottom:5px}.stat span{color:#52617c;font-size:12px}.audit-detail{font-size:11px;color:#52617c;word-break:break-word;white-space:pre-wrap}.local-demo{background:#50400e;color:#fff4bc;padding:10px;text-align:center;font-size:12px}.admin-photos{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:24px}.admin-photos img{aspect-ratio:4/5;width:100%;object-fit:cover;border-radius:3px}.admin-photos p{margin:9px 0;font-size:12px}.search{padding:12px;border:1px solid #b7c5e5;background:#eef2ff;color:white;border-radius:3px;width:100%;margin-bottom:16px}.inline-error{color:#ff9aa5!important}.status-line{display:flex;justify-content:space-between;align-items:center;gap:15px}.admin-current{font-size:12px;color:#52617c}.return-link{font-size:12px;color:#2041b0;margin:25px 0;display:inline-block}.toast{position:fixed;bottom:25px;right:25px;z-index:30;max-width:400px;background:#283c32;border:1px solid #658670;border-radius:5px;padding:18px 24px;font-size:13px;box-shadow:0 10px 40px #0009}.toast.error{background:#3e2028;border-color:#9e4b5c}
@media(min-width:1500px){.hero-grid{min-height:670px}}@media(max-width:900px){.wrap{padding-left:26px;padding-right:26px}.hero-grid{gap:40px}.hero h1{font-size:56px}.gallery{gap:18px}.card-body{padding:17px}.card-body h3{font-size:19px}.admin-photos{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.wrap{padding-left:20px;padding-right:20px}.topbar .wrap{height:72px;gap:12px}.logo img{width:140px}.topnav{gap:8px;font-size:11px}.topnav .desktop-link{display:none}.topnav .button{padding:10px}.hero-grid{grid-template-columns:1fr;gap:40px;padding-top:66px;padding-bottom:40px;min-height:0}.hero h1{font-size:52px;letter-spacing:-2.3px}.lead{font-size:15px}.eyebrow{font-size:9px;letter-spacing:1.5px}.steps{grid-template-columns:1fr;gap:22px;padding-top:30px;padding-bottom:30px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.card-body{padding:14px 12px}.card-body h3{font-size:18px}.card-body .button{font-size:12px;min-height:42px;padding:10px 5px}.card-body .costume{font-size:11px;min-height:28px;margin-bottom:12px}.photo-button img{aspect-ratio:3/4}.zoom{font-size:0;padding:7px}.zoom:after{content:'↗';font-size:16px}.card-tag{font-size:8px;top:9px;left:9px;padding:6px 8px}.section-head h2{font-size:23px}.section-head{align-items:start}.compact-hero .hero-grid{grid-template-columns:1fr;padding-top:55px;padding-bottom:30px}.compact-hero h1{font-size:43px}.vote-bar{margin:0 12px 15px;bottom:12px;padding:13px;gap:12px}.vote-bar strong{font-size:14px}.vote-bar .button{padding:12px;font-size:12px;min-width:130px}.footer-top{flex-direction:column;gap:12px}.fields{grid-template-columns:1fr}.panel{padding:19px}.stats{gap:10px}.stat{padding:15px 12px}.stat strong{font-size:25px}.stat span{font-size:10px}.admin-photos{grid-template-columns:repeat(2,1fr)}.admin-title{font-size:34px}.content-page h1{font-size:36px}.modal{padding:24px}.photo-modal{padding:12px}.toast{left:15px;right:15px;bottom:15px}.admin-tabs{gap:6px}.admin-tabs .button{font-size:11px;padding:10px 12px}.winner h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Halloween collaboration: charcoal, warm paper, blood red and quiet cobalt accents. */
@font-face{font-family:Lato;src:url('/assets/fonts/Lato-Regular.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Lato;src:url('/assets/fonts/Lato-Bold.woff2') format('woff2');font-weight:700;font-display:swap}@font-face{font-family:Lato;src:url('/assets/fonts/Lato-Black.woff2') format('woff2');font-weight:900;font-display:swap}
:root{font-family:Lato,Arial,sans-serif;background:#111015;color:#f0e9df;color-scheme:dark;--red:#b7283a;--muted:#aba5b0;--line:#363039;--surface:#1c1921;--blue:#6b82c7;--navy:#111015;--mint:#9ebda8}
body{background:radial-gradient(ellipse at 0 55%,#29142355,transparent 55%),#111015}.wrap{max-width:1250px}.topbar{background:#121015;border-color:#332831}.topbar .wrap{height:86px}.collab-brand{display:flex;gap:18px;align-items:center;text-decoration:none;flex-shrink:0}.collab-brand .mjg-mark{width:156px;height:auto;filter:brightness(0) invert(1);opacity:.86}.collab-brand .frigi-mark{width:126px;height:auto}.collab-brand>span{color:#bc7e77;font-size:23px;font-weight:400}.topnav{font-size:12px;gap:22px}.topnav a{color:#bab3bf}.topnav a:hover,.quiet:hover{color:#fff}.quiet{color:#bab3bf}:focus-visible{outline:3px solid #edac75;outline-offset:4px}
.button{background:#b7283a;border-color:#c63b4e;color:#fff3eb;border-radius:7px;font-weight:700;letter-spacing:.2px}.button:hover{background:#d13549;border-color:#ed6576}.button.secondary{background:#211c25;border-color:#51434e;color:#e9dfe8}.button.secondary:hover{background:#322633}.eyebrow{color:#c79284;font-size:10px;letter-spacing:2.1px}.eyebrow:before{background:#cf5260;width:25px}.hero{background:radial-gradient(ellipse at 82% 55%,#6a20282b,transparent 50%),linear-gradient(120deg,#16131a,#181218);border-bottom:1px solid #382630;color:#f0e9df;overflow:hidden}.hero:before{opacity:.7;height:45px;background-size:1200px 55px}.hero-grid{grid-template-columns:1.55fr 1fr;gap:50px;min-height:510px;padding-top:68px;padding-bottom:55px}.hero h1{font-family:Lato,Arial,sans-serif;font-weight:900;font-size:57px;line-height:1.03;letter-spacing:-2px;margin-bottom:23px}.halloween-word{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:400;font-size:1.45em;color:#f2dfc9;letter-spacing:-4px;line-height:1.15}.hero h1 em{font-style:normal;color:#ed8c76;font-size:.76em;letter-spacing:3px;text-transform:uppercase}.hero .lead{color:#b9acb8;font-size:15px;max-width:440px;line-height:1.75}.signin-note,.account{color:#a999a9;font-size:11px}.hero-signature{color:#cba48e;font-size:12px;letter-spacing:.6px;margin-top:20px}.hero-art{max-width:310px;width:100%;justify-self:end;text-align:center;position:relative}.hero-art img{width:100%;height:auto;filter:drop-shadow(0 0 40px #a7362b14)}.hero-art span{display:block;font-size:8px;letter-spacing:2.6px;color:#9d797b;margin-top:-5px}.compact-hero .hero-grid{grid-template-columns:1.55fr 1fr;min-height:320px;padding-top:48px;padding-bottom:32px;gap:30px}.compact-hero h1{font-size:47px;letter-spacing:-1px;margin-bottom:14px}.compact-hero .hero-art{max-width:235px}.compact-hero .hero-signature{margin-top:12px}.compact-hero .lead{font-size:13px}.compact-hero .account{font-size:10px;margin:12px 0}
.steps{border-color:var(--line)}.step .number{color:#eb8b74}.step p{color:var(--muted)}.section{padding-top:38px}.section-head{margin-bottom:26px}.section-head h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:32px;letter-spacing:-.7px;color:#eadacb}.section-head p{font-size:12px;color:#a899a8}.pill{color:#c3cfb7;border-color:#435041;background:#202820;border-radius:30px;font-size:9px;padding:9px 13px}.pill:before{background:#a8bb8b}.gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}.candidate{display:flex;flex-direction:column;background:#201a22;border:1px solid #49313c;border-radius:13px;overflow:hidden;box-shadow:0 8px 24px #0003;transition:transform .2s,border-color .2s,box-shadow .2s}.candidate:hover{transform:translateY(-3px);border-color:#9c4b54;box-shadow:0 12px 35px #0005}.candidate.selected{border-color:#eb7e65;box-shadow:0 0 0 2px #eb7e65,0 12px 35px #0005}.photo-button{aspect-ratio:3/4;width:100%;display:block;position:relative;overflow:hidden;border:0;background:#2a252c;border-radius:0;padding:0;flex-shrink:0}.photo-button img,.photo-button .portrait{display:block;width:100%;height:100%;aspect-ratio:3/4;object-fit:cover}.photo-button:hover img{transform:none}.photo-button:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#130e1820,transparent 20%,transparent 72%,#120e1766);box-shadow:inset 0 0 0 1px #fff1}.photo-button:before{content:'';position:absolute;right:9px;top:9px;width:38px;height:38px;border-top:1px solid #f3d8b780;border-right:1px solid #f3d8b780;z-index:1;pointer-events:none}.zoom{position:absolute;right:12px;bottom:12px;z-index:2;background:#151018d9;color:#f5e9e1;border:1px solid #f2dbc645;padding:8px 10px;border-radius:30px;font-size:10px;backdrop-filter:blur(6px)}.card-body{display:flex;flex-direction:column;flex:1;padding:19px 20px 20px;position:relative;background:linear-gradient(120deg,#261c25,#1c1920)}.card-body:before{content:'';position:absolute;left:20px;top:0;width:33px;height:3px;background:#bb3848;box-shadow:41px 0 0 #53669c}.card-body:after{content:'✧';position:absolute;right:20px;top:13px;font-size:23px;color:#ba7864;pointer-events:none}.card-body h3{font-size:24px;letter-spacing:-.4px;color:#f1e6dc;margin:0 25px 17px 0;font-weight:700;min-height:29px}.card-body .button{margin-top:auto;background:#34232d;border:1px solid #70404e;color:#f0d9d5;min-height:44px;border-radius:7px;font-size:13px}.card-body .button:hover{background:#572b39;border-color:#bb5967}.selected .card-body .button{background:#ad2b3e;border-color:#de6674;color:#fff}.card-tag{background:#a9293a;color:#fff4eb;border:1px solid #ec8a88;border-radius:4px;top:13px;left:13px;z-index:3;font-size:9px;letter-spacing:1px;padding:8px 10px;transform:rotate(-3deg)}
.notice{background:#301f2b;border:1px solid #694151;color:#e8c6d0;border-radius:8px;font-size:13px}.notice.success{background:#212a26;border-color:#42594a;color:#c5d8c8}.vote-bar{background:#241c26ef;border:1px solid #76505b;border-radius:12px;box-shadow:0 8px 45px #0009;color:#f1e6dc}.vote-bar small{color:#ba9cad}.vote-bar .button,#vote-submit{background:#b7283a;border-color:#d75262}.footer{background:#100e13;border-color:#302633;color:#b2a0ae}.footer p{color:#8c7f8d}.modal{background:#1d1720;border-color:#74505e;color:#f1e4dc;border-radius:14px}.modal p{color:#c1acbb}.modal .eyebrow{color:#d7977f}.modal::backdrop{background:#07050cda;backdrop-filter:blur(8px)}.photo-modal{background:#151219;border-color:#544151}.photo-modal img{object-fit:contain;height:75vh}.content-page p,.content-page li{color:#c5b8c6}.content-page h1,.content-page h2{color:#f1e4dc}.winner{background:radial-gradient(ellipse at top,#73243766,transparent 75%),#211923;border-color:#9f5060;border-radius:12px}.winner p{color:#bfaaba}.ranking li:before{color:#e89b7f}.panel,.stat{background:#1d1921;border-color:#433442;border-radius:10px}.field{color:#c7b9c8}.field input,.field select,.field textarea,.search{background:#141118;color:#f2e5ec;border-color:#60485b;border-radius:6px}.admin-tabs button[aria-selected=true]{background:#a72a3c;border-color:#d55669}.admin-current,.stat span,.audit-detail,td small{color:#aa98ad}th{color:#bc9fb5}th,td{border-color:#44313f}.return-link{color:#dba8a1}.inline-error{color:#ffa7b5!important}.toast{background:#25342b;color:#d7e8d8;border-color:#5a7a63}.toast.error{background:#482332;color:#ffd6df}.local-demo{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 20px;background:#2a202b;color:#bfabc2;font-size:10px;padding:9px 20px;border-bottom:1px solid #463044}.local-demo a{color:#e6b4a7}.local-demo strong{font-weight:400}
@media(min-width:1500px){.hero-grid{min-height:540px}.compact-hero .hero-grid{min-height:340px}}
@media(max-width:950px){.collab-brand{gap:12px}.collab-brand .mjg-mark{width:135px}.collab-brand .frigi-mark{width:109px}.topnav{gap:14px;font-size:11px}.hero h1{font-size:49px}.compact-hero h1{font-size:43px}.hero-art{max-width:245px}.compact-hero .hero-art{max-width:210px}.gallery{gap:18px}.card-body{padding:17px 15px}.card-body h3{font-size:21px}.card-body:before{left:15px}.card-body:after{right:13px}}
@media(max-width:650px){.topbar .wrap{height:auto;min-height:100px;display:flex;flex-wrap:wrap;justify-content:center;padding-top:17px;padding-bottom:13px;gap:15px}.collab-brand .mjg-mark{width:142px}.collab-brand .frigi-mark{width:116px}.topnav{justify-content:center;width:100%;font-size:11px;gap:22px}.topnav .quiet{font-size:11px;padding:0}.hero-grid,.compact-hero .hero-grid{grid-template-columns:1fr;min-height:0;padding-top:46px;padding-bottom:30px;gap:0}.hero h1,.compact-hero h1{font-size:45px;letter-spacing:-1.5px}.halloween-word{font-size:1.25em;letter-spacing:-3px}.hero h1 em{font-size:.62em;letter-spacing:2.5px}.hero .eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:20px}.hero .lead{font-size:13px;max-width:310px}.hero-art,.compact-hero .hero-art{position:absolute;right:-63px;bottom:-73px;width:200px;opacity:.22;pointer-events:none}.hero-art span{display:none}.hero-grid>div:first-child{position:relative;z-index:1}.hero-signature{font-size:11px}.section{padding-top:30px}.section-head{flex-wrap:wrap;gap:15px}.section-head h2{font-size:27px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 12px}.candidate{border-radius:9px}.card-body{padding:16px 12px 12px}.card-body h3{font-size:19px;margin:0 0 12px;min-height:46px;line-height:1.2;padding-right:12px}.card-body:after{right:9px;top:11px;font-size:17px}.card-body:before{left:12px;width:23px;box-shadow:29px 0 0 #53669c}.card-body .button{font-size:12px;min-height:42px}.zoom{font-size:9px;padding:7px 9px;bottom:9px;right:8px}.zoom:after{display:none}.photo-button img,.photo-button .portrait{aspect-ratio:3/4}.photo-button:before{width:25px;height:25px}.card-tag{font-size:8px;padding:6px;left:8px;top:9px}.local-demo{font-size:9px;gap:7px 14px}.local-demo strong{flex-basis:100%;text-align:center}.footer-top{gap:15px}.footer-links{flex-wrap:wrap}.vote-bar .button{font-size:12px}.photo-modal img{height:70vh}}
/* Selected directions: illustrated Halloween gallery and full-photo viewer. */
.voting-page{background:#100f14;color:#f4e8d4}
.voting-page .wrap{max-width:1200px}
.voting-page .topbar{background:#100f14}
.voting-page .topbar .wrap{height:72px}
.ui-icon,.icon-button img,.choice-icon{filter:brightness(0) invert(1);flex-shrink:0}
.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px;border:1px solid #66515e;border-radius:50%;background:#201a23;color:#fff}
.icon-button:hover{background:#44303e}
.nav-toggle{display:none}
.voting-page .hero{background:#181118}
.voting-page .hero:before{opacity:.95;height:46px}
.voting-page .hero-grid,.voting-page .compact-hero .hero-grid{grid-template-columns:minmax(0,1fr) 310px;gap:24px;min-height:330px;padding-top:35px;padding-bottom:25px}
.voting-page .hero h1,.voting-page .compact-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:76px;font-weight:700;font-style:italic;line-height:.98;letter-spacing:-3px;max-width:none;margin:0 0 17px}
.voting-page .halloween-word{font:inherit;color:#f5e6ca;letter-spacing:inherit}
.voting-page .hero h1 em{font:inherit;color:#ef5862;letter-spacing:inherit;text-transform:none}
.voting-page .hero-signature,.voting-page .compact-hero .hero-signature{font-size:21px;color:#f3e8d8;letter-spacing:0;margin:0 0 14px;line-height:1.4}
.voting-page .hero .lead{font-size:13px;line-height:1.6;max-width:650px;margin-bottom:0;color:#c4bfc8}
.voting-page .hero-art,.voting-page .compact-hero .hero-art{max-width:310px;width:100%;opacity:1;position:static}
.voting-page .hero-art img{filter:none}
.voting-page #signin{margin-top:22px}
.voting-page .section{padding-top:26px}
.voting-page .section-head{margin-bottom:22px}
.voting-page .section-head h2{font-weight:700;font-size:32px;color:#f4e8d4}
.voting-page .section-head p{font-size:12px;margin-top:8px}
.voting-page #receipt{padding:10px 14px;margin:0 0 20px;font-size:12px;border-left:3px solid #8bae99;background:#1b231f}
.voting-page .gallery{gap:26px 24px}
/* Affiche de minuit: original portrait, transparent artwork, live text and controls. */
.voting-page .candidate{position:relative;display:flex;flex-direction:column;border:1px solid #e36559;border-radius:14px;background:#160b0d;overflow:hidden;box-shadow:0 5px 18px #0004,inset 0 0 0 1px #682b2b;transition:border-color .2s,box-shadow .2s}
.voting-page .candidate:hover{transform:none;border-color:#ff8271;box-shadow:0 0 0 1px #b44d43,0 7px 24px #0006}
.voting-page .candidate.selected{border-color:#ff786a;box-shadow:0 0 0 3px #ff7166,0 0 20px #fb514f70,0 8px 32px #0008}
.candidate-media{position:relative;isolation:isolate;aspect-ratio:3/4}
.voting-page .photo-button{height:100%;background:#21191c;aspect-ratio:3/4;overflow:hidden}
.voting-page .photo-button:before,.voting-page .photo-button:after{display:none}
.candidate-media:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,transparent 52%,#160b0d18 62%,#160b0dd9 88%,#160b0d 100%)}
.voting-page .candidate>.card-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;z-index:2}
.voting-page .candidate-name{position:absolute;left:20px;right:17px;bottom:9px;z-index:3;pointer-events:none;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:700;font-size:clamp(35px,3.65vw,52px);line-height:1.02;letter-spacing:-1.6px;margin:0;color:#fff0d0;text-shadow:0 2px 10px #13090d70;overflow-wrap:anywhere}
.voting-page .zoom{position:absolute;right:12px;top:12px;bottom:auto;display:flex;align-items:center;justify-content:center;width:43px;height:43px;padding:11px;border:1px solid #ef8277;border-radius:50%;background:#151116df;z-index:4;color:#fff;backdrop-filter:blur(5px)}
.voting-page .zoom .ui-icon{width:20px;height:20px}
.voting-page .zoom span{position:absolute;top:49px;right:-3px;white-space:nowrap;padding:4px 7px;font:11px Lato,Arial,sans-serif;background:#151116e6;border:1px solid #ffffff35;border-radius:4px;opacity:0;transition:opacity .15s}
.voting-page .photo-button:hover .zoom span,.voting-page .photo-button:focus-visible .zoom span{opacity:1}
.voting-page .zoom:after{display:none}
.voting-page .card-body{display:block;flex:1;padding:14px 15px 16px;background:transparent;border:0;position:relative;z-index:3}
.voting-page .card-body:before,.voting-page .card-body:after{display:none}
.choose{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-height:49px;padding:12px;border:1px solid #ff776a;border-radius:9px;background:#ff6359;color:#190b0e;font-size:15px;line-height:1.2;font-weight:700;transition:background .18s,border-color .18s}
.choose:hover{background:#ff8073;border-color:#ff9c8b}
.choice-icon{display:none;width:21px;height:21px;filter:none}
.choose[aria-pressed=true]{color:#ff887a;background:#301317;border-color:#b3534e;gap:9px}
.choose[aria-pressed=true] .choice-person{display:none}
.choose[aria-pressed=true] .choice-icon{display:block;filter:invert(60%) sepia(70%) saturate(730%) hue-rotate(315deg) brightness(104%) contrast(103%)}
.voting-page .card-tag{top:12px;left:50%;transform:translateX(-50%);letter-spacing:.3px;font-size:9px;padding:6px 9px;border-radius:5px;background:#2d1118e8;border:1px solid #ff8b7e;color:#ffe4ce;z-index:4;white-space:nowrap}
.voting-page .vote-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:16px;width:min(1120px,calc(100% - 48px));max-width:none;margin:0;border:1px solid #59414c;border-top-color:#c94e61;border-radius:12px;padding:14px 24px;background:#19131bf5;backdrop-filter:blur(16px);z-index:8;box-shadow:0 12px 55px #0008;display:flex;align-items:center;justify-content:space-between;gap:16px}
.voting-page .vote-bar small{font-size:11px;text-transform:none;letter-spacing:0;color:#bcb0c2}
.voting-page .vote-bar strong{display:block;margin-top:3px;font-size:21px}
.voting-page .button{background:#ca2944;border-color:#dc3c55;border-radius:8px}
.voting-page .button:hover{background:#e53853}
.voting-page .button.secondary{background:#25202c;border-color:#675365}
.voting-page .vote-bar .button{border-radius:30px;padding:14px 25px}
.has-pending-vote .footer{padding-bottom:125px}
.dialog-open{overflow:hidden}
@media(max-width:1050px){.voting-page .hero-grid,.voting-page .compact-hero .hero-grid{grid-template-columns:minmax(0,1fr) 250px}.voting-page .hero h1,.voting-page .compact-hero h1{font-size:61px}.voting-page .hero-signature,.voting-page .compact-hero .hero-signature{font-size:18px}}
@media(max-width:650px){
.voting-page .wrap{padding-left:18px;padding-right:18px}
.voting-page .topbar .wrap{position:relative;min-height:64px;height:64px;padding-top:0;padding-bottom:0;flex-wrap:nowrap;justify-content:space-between;gap:10px}
.voting-page .collab-brand{gap:10px}.voting-page .collab-brand .mjg-mark{width:123px}.voting-page .collab-brand .frigi-mark{width:99px}.voting-page .collab-brand>span{font-size:17px}
.nav-toggle{display:flex;border:0;background:transparent;flex-shrink:0;border-radius:6px}
.voting-page .topnav{display:none;position:absolute;left:0;right:0;top:100%;z-index:10;background:#1c1720;border-bottom:1px solid #5d3d4b;padding:18px;flex-direction:column;align-items:stretch;gap:0;font-size:13px}
.voting-page .topnav a,.voting-page .topnav .quiet{padding:12px;min-height:44px;text-align:left}
.voting-page .nav-toggle[aria-expanded=true]+.topnav{display:flex}
.voting-page .hero-grid,.voting-page .compact-hero .hero-grid{position:relative;display:block;min-height:0;padding-top:29px;padding-bottom:22px}
.voting-page .hero h1,.voting-page .compact-hero h1{font-size:44px;letter-spacing:-1.7px;line-height:.97;max-width:220px;margin-bottom:13px;min-height:125px}
.voting-page .hero-signature,.voting-page .compact-hero .hero-signature{font-size:13px;line-height:1.45;max-width:215px;margin-bottom:14px}
.voting-page .hero .lead{font-size:11px;max-width:100%;line-height:1.6}
.voting-page .hero-art,.voting-page .compact-hero .hero-art{position:absolute;width:145px;max-width:none;right:8px;top:48px;bottom:auto;opacity:1;pointer-events:none}
.voting-page .hero-grid>div:first-child{z-index:auto}
.voting-page .hero:before{height:30px;background-size:900px 36px}
.voting-page .section{padding-top:22px}.voting-page .section-head{margin-bottom:16px}.voting-page .section-head h2{font-size:25px;line-height:1.15;letter-spacing:-.7px}.voting-page .section-head p{font-size:11px;margin-top:6px}
.voting-page .gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
.voting-page .candidate{border-radius:11px}
.voting-page .card-body{padding:9px 9px 11px}
.voting-page .candidate-name{left:12px;right:10px;bottom:5px;font-size:30px;line-height:1.05;letter-spacing:-1px}
.voting-page .zoom{top:8px;right:8px;bottom:auto;width:35px;height:35px;padding:9px}.voting-page .zoom span{display:none}
.voting-page .zoom .ui-icon{width:14px;height:14px}
.choose{min-height:44px;width:100%;font-size:13px;padding:10px 6px;gap:6px;border-radius:7px}.choice-person{display:none}
.choice-icon{width:16px;height:16px}
.voting-page #receipt{font-size:11px;padding:8px 10px;margin-bottom:16px}
.voting-page .vote-bar{width:100%;left:0;right:0;bottom:0;transform:none;border-radius:0;margin:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));gap:10px}
.voting-page .vote-bar .button{font-size:12px;min-width:0;padding:13px 16px;gap:8px}.voting-page .vote-bar .button img{width:15px;height:15px}.voting-page .vote-bar strong{font-size:17px}.voting-page .vote-bar small{font-size:10px}
.voting-page .modal-actions{gap:8px}.voting-page .modal-actions .button{padding:12px;font-size:12px}
}
@media(max-width:360px){.voting-page .hero h1,.voting-page .compact-hero h1{font-size:39px;max-width:190px;min-height:114px}.voting-page .hero-art,.voting-page .compact-hero .hero-art{width:120px;right:5px;top:48px}.voting-page .collab-brand .mjg-mark{width:110px}.voting-page .collab-brand .frigi-mark{width:89px}.voting-page .hero-signature{max-width:190px}.voting-page .card-body{padding:8px}.voting-page .candidate-name{font-size:26px;left:10px;right:8px}.choose{font-size:12px}}

/* Keep every validated first name intact, including Emmanuelle A. */
.voting-page .candidate-name{white-space:nowrap;overflow-wrap:normal}
.voting-page .candidate-name.name-long{font-size:clamp(30px,3vw,44px)}
.voting-page .candidate-name.name-extra-long{font-size:clamp(26px,2.65vw,38px)}
@media(max-width:650px){.voting-page .candidate-name{font-size:29px}.voting-page .candidate-name.name-long{font-size:24px;letter-spacing:-.8px}.voting-page .candidate-name.name-extra-long{font-size:20px;letter-spacing:-.7px}}
@media(max-width:360px){.voting-page .candidate-name{font-size:25px}.voting-page .candidate-name.name-long{font-size:20px}.voting-page .candidate-name.name-extra-long{font-size:16px;letter-spacing:-.8px}}

/* Full-photo cards: flat rim and an action sliding over the photograph. */
.voting-page .candidate,.voting-page .candidate:hover,.voting-page .candidate.selected{border:0;box-shadow:none;transform:none;background:#160b0d}
.voting-page .candidate:hover{border-color:#ee8a79}
.voting-page .candidate.selected{border-color:#ff776a}
.voting-page .candidate-media{width:100%;aspect-ratio:3/4}
.voting-page .candidate-name{bottom:72px;text-shadow:none;transition:transform .25s ease}
.voting-page .card-body{position:absolute;left:0;right:0;bottom:0;padding:12px;z-index:4;flex:none;background:transparent;transition:transform .25s ease,opacity .2s ease}
.voting-page .choose{min-height:44px;border-radius:6px;box-shadow:none;font-size:14px}
.voting-page .choose[aria-pressed=true]{background:#241013eb;border-color:#ff887a;color:#ffb5a8}
.voting-page .zoom{border:0;background:#151116a6;backdrop-filter:none;width:36px;height:36px;padding:9px}
@media(min-width:651px) and (hover:hover) and (pointer:fine){
  .voting-page .candidate-name{bottom:18px}
  .voting-page .card-body{transform:translateY(100%);opacity:0;pointer-events:none}
  .voting-page .candidate:hover .card-body,.voting-page .candidate:focus-within .card-body{transform:translateY(0);opacity:1;pointer-events:auto}
  .voting-page .candidate:hover .candidate-name,.voting-page .candidate:focus-within .candidate-name{transform:translateY(-60px)}
}
@media(max-width:650px){.voting-page .card-body{padding:9px}.voting-page .candidate-name{bottom:65px}.voting-page .choose{font-size:12px}}
.photo-lightbox{position:fixed;inset:0;box-sizing:border-box;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:64px 24px 24px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden}
.photo-lightbox[open]{display:flex;align-items:center;justify-content:center}
.photo-lightbox::backdrop{background:#08070be8}
.photo-lightbox #photo-full{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;flex:0 1 auto}
.lightbox-close{position:absolute;right:max(16px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:0;border-radius:50%;background:#17151bd9;color:#fff;cursor:pointer}
.lightbox-close:hover{background:#38333e}
.lightbox-close img{width:24px;height:24px;filter:brightness(0) invert(1)}
@media(max-width:650px){.photo-lightbox{padding:64px 16px 24px}}
@media(max-width:650px){.candidate-media:after{background:linear-gradient(180deg,transparent 30%,#160b0d80 64%,#160b0df2 100%)}}

/* The blood artwork is the only card frame; no extra CSS ring or elevation. */
.voting-page .candidate,.voting-page .candidate:hover,.voting-page .candidate.selected{border:0;box-shadow:none}
.voting-page .candidate>.card-frame{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;object-fit:fill;z-index:2}
.voting-page .card-select:disabled{opacity:1;cursor:default}
.voting-page .zoom{cursor:zoom-in;z-index:5}
.voting-page .zoom:hover span,.voting-page .zoom:focus-visible span{opacity:1}
.voting-page .choose:disabled{opacity:1}
@media(min-width:651px) and (hover:hover) and (pointer:fine){
  .voting-page .candidate.selected .card-body{transform:translateY(0);opacity:1;pointer-events:auto}
  .voting-page .candidate.selected .candidate-name{transform:translateY(-60px)}
}
@media(max-width:650px){.voting-page .choose{font-size:11px;gap:5px;padding-left:4px;padding-right:4px}.voting-page .choose .choice-label{min-width:0}.voting-page .choose .choice-icon{width:16px;height:16px;flex-shrink:0}}

/* Email sign-in keeps the existing Halloween gallery intact. */
.signin-form{max-width:430px;display:grid;gap:13px}
.signin-form[hidden]{display:none}
.signin-form .field{display:grid;gap:8px;font-size:13px}
.signin-form input{box-sizing:border-box;min-height:48px;width:100%;padding:12px 14px;font:inherit;font-size:16px}
.signin-form .button{min-height:48px;justify-content:center}
.signin-form .signin-note{margin:0;line-height:1.6}
.code-destination{font-size:13px;line-height:1.6;overflow-wrap:anywhere;margin:0;color:#d6c7d1}
.signin-form .code-input{letter-spacing:.4em;font-size:24px;font-variant-numeric:tabular-nums}
.code-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
.code-actions .quiet{min-height:44px;font-size:12px;padding:6px 0}

/* Connected vestibule: the chosen welcome screen, then the existing voting gallery. */
.voting-page .nav-toggle[aria-expanded=true]~.topnav{display:flex}
.signed-in .topbar .wrap{position:relative;gap:14px}
.signed-in .collab-brand{margin-right:auto}
.signed-in .account-home{color:#f4e8d4;font-size:14px;min-height:44px;padding:8px 0}
.signed-in .nav-toggle{display:flex;order:2;border:0;background:transparent}
.signed-in .topnav{display:none;position:absolute;top:100%;right:40px;left:auto;width:240px;padding:12px;z-index:12;background:#1c1720;border:1px solid #41313e;border-radius:8px;flex-direction:column;align-items:stretch;gap:0}
.signed-in .topnav a,.signed-in .topnav .quiet{padding:12px;text-align:left;min-height:44px}
.welcome{min-height:calc(100svh - 160px);padding-top:80px;padding-bottom:90px;display:grid;grid-template-columns:1fr 1.15fr;grid-template-areas:'kicker visuals' 'copy visuals' 'actions visuals';column-gap:40px;align-content:center}
.welcome-kicker{grid-area:kicker;margin:0 0 22px;font-size:12px;letter-spacing:4px;text-transform:uppercase;color:#f0626c}
.welcome-copy{grid-area:copy}
.welcome h1{font:italic 700 clamp(74px,7.5vw,108px)/.95 Georgia,'Times New Roman',serif;letter-spacing:-4px;color:#f5e6ca;margin:0 0 28px;overflow-wrap:anywhere}
.welcome h1 em{color:#ef5862;font:inherit}
.welcome-signature{font-size:20px;line-height:1.4;margin:0 0 22px;color:#f3e8d8}
.welcome-lead{font-size:15px;line-height:1.75;color:#bfb5c5;max-width:420px;margin:0}
.welcome-visuals{grid-area:visuals;align-self:center;display:flex;flex-direction:column;align-items:flex-end;gap:26px;min-width:0}
.welcome-art{width:250px;height:auto;aspect-ratio:1;object-fit:contain;margin-right:26px}
.welcome-preview{width:100%;height:340px;display:flex;align-items:center;justify-content:center;padding:22px 12px}
.welcome-card{position:relative;flex:0 0 36%;aspect-ratio:3/4;overflow:hidden;border-radius:10px;min-width:0;background:#160b0d}
.welcome-card:first-child{transform:rotate(-8deg) translateX(8px);margin-right:-18px}
.welcome-card:nth-child(2){z-index:1;transform:translateY(-14px)}
.welcome-card:last-child{transform:rotate(8deg) translateX(-8px);margin-left:-18px}
.welcome-portrait{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:3/4}
.welcome-frame{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
.welcome-card-name{position:absolute;bottom:12px;left:10px;right:10px;padding:5px 0;background:transparent;text-shadow:0 1px 6px #000;text-align:center;font:italic 700 clamp(18px,2.4vw,32px)/1.1 Georgia,'Times New Roman',serif;letter-spacing:-.5px;color:#fff0d0;z-index:3}
.welcome-actions{grid-area:actions;margin-top:32px;max-width:430px;display:grid;gap:12px}
.voting-page .welcome-actions .button{min-height:62px;font-size:16px;gap:20px;border-radius:10px}
.voting-page .welcome-actions .button.secondary{background:#211a27;color:#d6bfd1;border-color:#60485e;justify-content:flex-start;padding-left:24px}
.voting-page .welcome-actions .button:disabled{opacity:.45}
.welcome-deadline{font-size:12px;line-height:1.7;color:#bfb5c5;margin:4px 0 0}
.welcome-receipt{font-size:13px;line-height:1.6;color:#c5d8c8;margin:0}
.gallery-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 28px}
.gallery-navigation .quiet{display:inline-flex;align-items:center;gap:6px;padding:8px 0;color:#d1c2d0;min-height:44px;font-size:14px}
.gallery-navigation p{font-size:12px;line-height:1.6;color:#bfb5c5;text-align:right;margin:0}
.signed-in #gallery-title{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:48px}
.signed-in .section{min-height:65svh;padding-top:26px}
.signed-in #hero .hero-grid{min-height:0;padding-top:0;padding-bottom:0;display:block}
.signed-in #hero h1,.signed-in #hero .hero-signature,.signed-in #hero .lead,.signed-in #hero .hero-art{display:none}
.signed-in #hero:before{display:none}
@keyframes vote-view-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){.signed-in #welcome:not([hidden]),.signed-in #voting:not([hidden]){animation:vote-view-enter .28s ease both}}
@media(max-width:900px) and (min-width:651px){.welcome{column-gap:20px;padding-top:60px;padding-bottom:60px}.welcome-art{width:210px}.welcome-preview{height:270px}.welcome h1{font-size:78px}.welcome-signature{font-size:17px}}
@media(max-width:650px){
  .signed-in .topbar .wrap{gap:8px}.signed-in .collab-brand{gap:7px}.signed-in .collab-brand .mjg-mark{width:103px}.signed-in .collab-brand .frigi-mark{width:85px}.signed-in .collab-brand>span{font-size:15px}.signed-in .account-home{font-size:12px;max-width:78px;overflow-wrap:anywhere}.signed-in .nav-toggle{min-width:36px;width:36px;padding:8px}.signed-in .topnav{right:18px}
  .welcome{grid-template-columns:minmax(0,1fr);grid-template-areas:'kicker' 'art' 'copy' 'previews' 'actions';gap:0;min-height:0;padding-top:24px;padding-bottom:38px}
  .welcome-kicker{font-size:10px;letter-spacing:3px;margin-bottom:16px}
  .welcome-visuals{display:contents}.welcome-art{grid-area:art;width:136px;margin:0 0 22px 0}
  .welcome h1{font-size:72px;line-height:.95;letter-spacing:-2.5px;margin-bottom:20px}
  .welcome-signature{font-size:17px;margin-bottom:14px;max-width:340px}
  .welcome-lead{font-size:13px;line-height:1.65;max-width:none}
  .welcome-preview{grid-area:previews;height:auto;aspect-ratio:1.65;margin-top:24px;padding:14px 4px}
  .welcome-card{flex-basis:35%;border-radius:7px}.welcome-card:first-child{margin-right:-10px;transform:rotate(-8deg) translateX(4px)}.welcome-card:last-child{margin-left:-10px;transform:rotate(8deg) translateX(-4px)}.welcome-card:nth-child(2){transform:translateY(-9px)}
  .welcome-card-name{font-size:19px;left:5px;right:5px;bottom:7px;letter-spacing:-.5px;padding:3px 0}
  .welcome-actions{margin-top:22px;max-width:none;gap:11px}
  .voting-page .welcome-actions .button{min-height:52px;font-size:14px;border-radius:8px}
  .welcome-deadline{font-size:11px;margin-top:2px}.welcome-receipt{font-size:12px}
  .gallery-navigation{margin-bottom:20px;gap:20px;align-items:flex-start}.gallery-navigation p{font-size:10px;max-width:210px}.gallery-navigation .quiet{font-size:12px;flex-shrink:0}
  .signed-in #gallery-title{font-size:36px}
}
@media(max-width:360px){.signed-in .collab-brand .mjg-mark{width:89px}.signed-in .collab-brand .frigi-mark{width:73px}.signed-in .account-home{max-width:55px}.welcome h1{font-size:64px}.welcome-card-name{font-size:16px}}

.welcome-card-name.name-long{font-size:clamp(14px,1.5vw,22px);white-space:nowrap;letter-spacing:-.6px}
@media(max-width:650px){
  .welcome{padding-top:20px}.welcome-kicker{margin-bottom:12px}
  .welcome-art{width:120px;margin-bottom:14px}
  .welcome h1{font-size:66px;margin-bottom:16px}
  .welcome-signature{font-size:16px;margin-bottom:12px}
  .welcome-preview{aspect-ratio:1.85;margin-top:18px}
  .welcome-actions{margin-top:16px}
  .welcome-card-name.name-long{font-size:14px;letter-spacing:-.6px}
}
.welcome-card:first-child .welcome-card-name{right:22px}
.welcome-card:last-child .welcome-card-name{left:22px}
@media(max-width:650px){.welcome-card-name.name-long{font-size:12px;letter-spacing:-.5px}}

.welcome-receipt.invalidated{color:#ffa7b5}
@media(max-width:360px){.welcome-card-name.name-long{font-size:11px;white-space:normal;line-height:1.1}}

/* Personal ballot is a separate SPA view, not a link into the gallery. */
.ballot{min-height:calc(100svh - 210px);padding-top:26px;padding-bottom:64px}
.ballot-layout{display:grid;grid-template-columns:minmax(240px,350px) minmax(0,1fr);align-items:center;gap:70px;max-width:920px;margin:30px auto}
.ballot-photo{min-width:0}.ballot-photo .ballot-card{border-radius:14px}.ballot-photo .candidate-media:after{display:none}
.ballot-enlarge{cursor:zoom-in}.ballot-enlarge .portrait,.ballot-enlarge>img{display:block;width:100%;height:100%;aspect-ratio:3/4;object-fit:cover}
.ballot-enlarge .zoom{display:flex;align-items:center;justify-content:center;top:12px;right:12px;bottom:auto}
.ballot-enlarge .zoom img{width:18px;height:18px;aspect-ratio:1}
.ballot-details h1{font:italic 700 64px/1 Georgia,'Times New Roman',serif;letter-spacing:-2px;color:#f5e6ca;margin:0 0 28px}
.ballot-details h2{font:italic 700 42px/1.1 Georgia,'Times New Roman',serif;color:#ef7c83;margin:12px 0 22px;overflow-wrap:anywhere}
.ballot-status{font-size:16px;color:#c5d8c8;line-height:1.5;margin:0}.ballot-status.invalidated{color:#ffa7b5}
.ballot-note{color:#bfb5c5;line-height:1.8;font-size:14px;max-width:440px}
.ballot-actions{display:flex;align-items:flex-start;flex-direction:column;gap:14px;margin-top:28px}
.ballot-actions .quiet{font-size:14px;color:#d6bfd1;text-decoration:underline;text-underline-offset:4px;padding-left:0;min-height:44px}
.no-ballot .ballot-layout{grid-template-columns:1fr;max-width:620px}
@media(max-width:650px){.ballot-layout{grid-template-columns:1fr;gap:26px;margin:20px auto;max-width:390px}.ballot-photo{max-width:220px;width:65%;margin:auto}.ballot-details h1{font-size:44px;margin-bottom:18px}.ballot-details h2{font-size:34px;margin-bottom:14px}.ballot-details .welcome-kicker{margin-bottom:12px}.ballot-actions{margin-top:22px}.ballot-actions .button{width:100%}.ballot-note{font-size:13px}.ballot{padding-bottom:35px}}

/* The welcome portraits cycle independently of the voting gallery. */
.welcome-carousel{width:100%;position:relative}
.preview-toggle{position:absolute;right:0;bottom:-20px;width:44px;height:44px;border:0;background:transparent;color:#bfb5c5;font-size:18px;cursor:pointer;border-radius:50%}
.preview-toggle:hover{color:#f5e6ca;background:#ffffff0a}
@keyframes portrait-enter{from{opacity:.15}to{opacity:1}}
@media(prefers-reduced-motion:no-preference){.preview-enter .welcome-portrait,.preview-enter .welcome-card-name{animation:portrait-enter .55s ease both}}
@media(max-width:650px){.welcome-carousel{grid-area:previews}.preview-toggle{bottom:-10px;right:-8px}}

/* The closed contest shares the ceremony's sealed-envelope visual. */
.closed-award{position:relative;isolation:isolate;overflow:hidden;background:#110b16;color:#f5e6ca;min-height:calc(100svh - 88px)}
.closed-award:before{content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#100b16dd 0%,#100b1666 60%,#100b1644),url('/assets/seasonal/award-night.png') center bottom/cover}
.closed-layout{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:65px;min-height:calc(100svh - 88px);padding-top:65px;padding-bottom:80px}
.closed-kicker{font-size:10px;letter-spacing:3px;text-transform:uppercase;color:#d6b3ab;margin:0 0 40px}
.closed-status{font-size:12px;color:#e8aeaf;margin:0 0 18px;display:flex;align-items:center;gap:12px}.closed-status:before{content:'';width:28px;height:1px;background:#e8aeaf}
.closed-copy h1{font:400 clamp(52px,5.7vw,84px)/1.02 Georgia,serif;letter-spacing:-3px;margin:0 0 26px}.closed-copy h1 em{font-weight:400;color:#ec8e9c}
.closed-lead{font-size:16px;line-height:1.8;max-width:480px;color:#e4d8db;margin:0 0 14px}.closed-detail{font-size:13px;line-height:1.8;color:#b8a6b9;max-width:450px;margin:0 0 28px}
.closed-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.closed-actions .button{background:#88304b;border-color:#bc667c;color:#fff3e2;border-radius:5px}.closed-actions .button:hover{background:#a43b5c}.closed-actions .quiet{color:#e3c8ce;text-decoration:underline;text-underline-offset:5px}
.closed-login-note{font-size:11px;color:#b8a6b9;margin:14px 0 0}.closed-deadline{font-size:10px;color:#b8a6b9;margin:34px 0 0;line-height:1.7}
.closed-art{position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;perspective:1100px;padding:20px 0}.closed-envelope{position:relative;width:min(100%,340px);height:auto;transform:rotate(-7deg) rotateY(-8deg);filter:drop-shadow(15px 30px 25px #0009);animation:sealed-arrival 1.3s ease-out both}
.closed-halo{position:absolute;inset:8% -10%;background:radial-gradient(ellipse,#be64722e,transparent 67%);pointer-events:none}.closed-seal-note{font:italic 17px Georgia,serif;color:#d8b5af;margin-top:40px;letter-spacing:.2px}
.closed-auth{max-width:440px;margin-top:24px;padding-top:24px;border-top:1px solid #e5b2bb33}.closed-auth .notice{margin-bottom:0}.closed-auth .signin-note{color:#b8a6b9}.closed-auth .field{color:#e4d8db}
body.contest-closed .footer{background:#100b16}body.contest-closed .topbar{background:#100b16}
@keyframes sealed-arrival{from{opacity:0;transform:translateY(18px) rotate(-3deg) rotateY(0)}to{opacity:1;transform:rotate(-7deg) rotateY(-8deg)}}
@media(max-width:750px){.closed-layout{grid-template-columns:1fr;gap:22px;padding-top:36px;padding-bottom:46px;min-height:auto}.closed-kicker{font-size:9px;letter-spacing:2px;margin-bottom:28px}.closed-copy h1{font-size:58px;letter-spacing:-2px}.closed-lead{font-size:14px}.closed-detail{font-size:12px}.closed-art{grid-row:2;padding:12px 0}.closed-envelope{width:200px}.closed-seal-note{font-size:14px;margin-top:24px}.closed-deadline{margin-top:24px}.closed-award:before{background-position:65% bottom}.closed-actions{gap:8px}.closed-actions .button{font-size:13px}}
