/* Isolated proposal. Existing landing geometry is unchanged. */
.race-day-entrance{--race-ivory:#f2f1e9;position:absolute;z-index:3;left:50%;bottom:0;transform:translateX(-50%);width:clamp(481px,30.55vw,1144px);top:51%;clip-path:polygon(50% 0,100% 100%,0 100%);color:var(--race-ivory);text-decoration:none;text-align:center;isolation:isolate;background:#020403;-webkit-tap-highlight-color:transparent;container-type:inline-size}
.race-day-entrance__scene{position:absolute;inset:0;z-index:-2;background:url('../images/race-day-flag.svg') center/cover;filter:brightness(.58) saturate(.55);transition:filter .35s}
.race-day-entrance__light{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% -10%,#e2c16a33,transparent 65%),linear-gradient(90deg,#16251488,#06080788 30%,#05060588 70%,#35291577),linear-gradient(0deg,#020403 0%,#02040325 35%,#020403dd 100%)}
.race-day-entrance::before,.race-day-entrance::after{content:'';position:absolute;top:-5%;bottom:-10%;width:1px;transform-origin:top;opacity:.52;pointer-events:none}
.race-day-entrance::before{left:29%;transform:rotate(29deg);background:linear-gradient(transparent,#97f24888,#d9e9cbbb)}
.race-day-entrance::after{right:29%;transform:rotate(-29deg);background:linear-gradient(transparent,#ffbe5a88,#f8dec8bb)}
.race-day-entrance__content{position:absolute;inset:calc(clamp(218px,22vw,340px)/2 + 20px) 8% 56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(6px,.65svh,12px)}
.race-day-entrance__category{font:bold clamp(9px,.64vw,13px)/1.35 Arial,sans-serif;letter-spacing:.16em;color:#dfce98;white-space:nowrap}
.race-day-entrance__category>span{font-size:.8em;color:#aaaa95;padding-right:10px;margin-right:9px;border-right:1px solid #aaaa9577}
.race-day-entrance h2{font-family:Impact,'Arial Narrow','Arial Black',sans-serif;font-style:italic;font-weight:900;font-size:clamp(42px,3.8vw,100px);letter-spacing:-.015em;line-height:.87;text-shadow:0 4px 18px #000b;margin:3px 0 0}
.race-day-entrance h2 span{color:#e5d4a0;margin-left:.13em}
.race-day-entrance__description{font-size:clamp(11px,.83vw,16px);line-height:1.5;color:#d4d6cb;text-shadow:0 2px 8px #000}
.race-day-entrance__faces{display:flex;justify-content:center;margin:2px 0;gap:0}
.race-day-entrance__faces img{width:clamp(28px,2.3vw,57px);height:clamp(28px,2.3vw,57px);border:2px solid #181d16;border-radius:50%;object-fit:cover;box-shadow:0 2px 10px #000b}
.race-day-entrance__faces img+img{margin-left:-8px}.race-day-entrance__faces img:nth-child(2){z-index:1;transform:translateY(-3px)}
.race-day-entrance__details{font:bold clamp(8px,.57vw,12px)/1.4 Arial,sans-serif;letter-spacing:.09em;color:#bbc0b0;white-space:nowrap}.race-day-entrance__details span{color:#dac886;margin:0 4px}
.race-day-entrance__enter{font:900 clamp(10px,.69vw,14px)/1.3 Arial,sans-serif;letter-spacing:.08em;border-bottom:1px solid #d9d0ab88;padding:5px 0 9px;display:flex;align-items:center;gap:23px;transition:color .2s,border-color .2s}
.race-day-entrance__enter>span{font-size:1.65em;color:#e9d998;line-height:1;transition:transform .2s}
.race-day-entrance:hover .race-day-entrance__scene{filter:brightness(.65) saturate(.85)}.race-day-entrance:hover .race-day-entrance__enter{color:#eee1b3;border-color:#e9d998}.race-day-entrance:hover .race-day-entrance__enter>span{transform:translate(3px,-3px)}
.race-day-entrance:focus-visible{outline:none;background:#eee1b3}.race-day-entrance:focus-visible .race-day-entrance__enter{outline:3px solid #eee1b3;outline-offset:7px}.race-day-entrance:focus-visible .race-day-entrance__scene{opacity:.5}
@media(min-width:761px) and (max-width:1100px){.race-day-entrance{top:54%;width:468px}.race-day-entrance__content{inset:113px 7% 49px;gap:7px}.race-day-entrance h2{font-size:45px}.race-day-entrance__description{font-size:11px}.race-day-entrance__faces{display:none}}
@media(min-width:1101px) and (max-height:850px){.race-day-entrance__content{inset:calc(clamp(218px,22vw,340px)/2 + 26px) 8% 49px;gap:5px}.race-day-entrance h2{font-size:clamp(39px,3.4vw,72px)}.race-day-entrance__faces{display:none}.race-day-entrance__category{font-size:9px}.race-day-entrance__description{font-size:11px}}
@media(max-width:760px){.race-day-entrance{position:relative;grid-column:1;left:auto;top:auto;bottom:auto;transform:none;width:100%;min-height:340px;clip-path:none;border-top:1px solid #726d4a}.race-day-entrance__content{inset:30px 20px 65px;gap:12px}.race-day-entrance h2{font-size:62px}.race-day-entrance__category{font-size:10px}.race-day-entrance__description{font-size:14px}.race-day-entrance__faces img{width:39px;height:39px}.race-day-entrance__details{font-size:10px}.race-day-entrance__enter{font-size:12px}.race-day-entrance::before,.race-day-entrance::after{display:none}.portal{grid-auto-rows:auto}.choice-seal{top:calc(max(540px,75svh));}.portal-divider{top:calc(max(540px,75svh));}.race-day-entrance__scene{background-size:cover}}
@media(prefers-reduced-motion:reduce){.race-day-entrance *{transition:none!important}}

.portal-account-actions .preview-bell{min-width:44px;padding:10px;background:#243633;border:1px solid #779477;color:#ffcb62;box-shadow:none}

/* The two diagonal boundaries meet behind the center badge. */
.race-day-entrance::before,.race-day-entrance::after{display:none}
.race-day-boundaries{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:visible}
.race-day-entrance__content{z-index:2}
.race-day-entrance__light{background:linear-gradient(0deg,#020403 0%,#02040322 35%,#02040333 70%,#020403 100%)}
@media(min-width:761px){
.race-day-entrance__scene{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='b' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='3.5'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M50 15L90 105H10Z' fill='white' filter='url(%23b)'/%3E%3C/svg%3E");mask-size:100% 100%;mask-repeat:no-repeat}
.portal:has(.race-day-entrance)>.portal-divider{bottom:49%}
}
@media(min-width:761px) and (max-width:1100px){.portal:has(.race-day-entrance)>.portal-divider{bottom:46%}}
@media(max-width:760px){.race-day-boundaries{display:none}}

/* After Dark colors; preserve the approved three-way landing geometry. */
.race-day-entrance{background:#08090a;--race-ivory:#f5f5ef}
.race-day-entrance__light{background:linear-gradient(0deg,#08090a 0%,#08090a22 35%,#08090a33 70%,#08090a 100%)}
.race-day-entrance__category{color:#c1c8ca}.race-day-entrance__category>span{color:#86ff37}
.race-day-entrance h2 span{color:#f5f5ef}.race-day-entrance__description{color:#d1d4d5}
.race-day-entrance__details{color:#c5cbce}.race-day-entrance__details span:first-child{color:#58aaff}.race-day-entrance__details span:last-child{color:#ff4257}
.race-day-entrance__enter{border-bottom:2px solid #86ff37}.race-day-entrance__enter>span{color:#58aaff}
.race-day-entrance:hover .race-day-entrance__enter{color:#fff;border-color:#58aaff}.race-day-entrance:focus-visible{background:#fff}.race-day-entrance:focus-visible .race-day-entrance__enter{outline-color:#86ff37}
.race-day-entrance__faces img{border-color:#b6bec1}
