:root { color-scheme: dark; --night: #24152d; --cream: #fff1d8; --rose: #ff92af; --mint: #9de8d1; --rule: #6e485b; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 76% 28%, #452242, transparent 55%),var(--night); color: var(--cream); font: 1rem/1.55 system-ui,sans-serif; }
.beta-shell { max-width: 66.5rem; margin: 0 auto; padding: max(1.2rem,env(safe-area-inset-top)) clamp(1.1rem,4.5vw,3.5rem) max(1.1rem,env(safe-area-inset-bottom)); }
.beta-mast { display: flex; justify-content: space-between; align-items: center; gap: .9rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.logotype { width: clamp(11.3rem,27vw,19rem); height: auto; }
.beta-label, .venue, .portrait figcaption, .manual-link label { font-weight: 750; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.beta-label { border: 1px solid #b39394; border-radius: 100px; padding: .22rem .72rem; color: var(--cream); white-space: nowrap; }
.bill { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-areas: "title portrait" "action portrait"; column-gap: clamp(2rem,5vw,5rem); align-items: center; margin: clamp(1.6rem,4vw,3.7rem) 0; }
.bill-title { grid-area: title; align-self: end; }
.venue { margin: 0 0 .8rem; color: var(--mint); }
.venue span { color: var(--rose); }
h1, h2, h3, p, figure { margin: 0; }
h1 { font: 700 clamp(3.9rem,6.5vw,6.7rem)/.84 Georgia,'Times New Roman',serif; letter-spacing: -.067em; }
h1 em { display: inline-block; margin-left: -.025em; color: var(--rose); font-weight: 700; }
.portrait { grid-area: portrait; position: relative; width: 100%; max-width: 25rem; align-self: center; justify-self: center; }
.portal { position: relative; isolation: isolate; aspect-ratio: 4 / 4.5; border: 1px solid #facda4; border-radius: 48% 48% .7rem .7rem; overflow: hidden; background: radial-gradient(ellipse at 45% 74%,#ffc392,#ec838c 40%,#ae486a 70%,#673052 100%); box-shadow: .37rem .37rem 0 #1d1427,.43rem .43rem 0 #91cdbb; }
.rim { position: absolute; inset: 3.7% 4.2%; border: 1px solid #ffe6b8; border-radius: inherit; }
.portal::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 15deg at 48% 69%,transparent 0 10deg,#fff2c732 11deg,transparent 12deg 23deg); }
.captain { position: absolute; height: 90%; width: 100%; bottom: 0; left: 0; object-fit: contain; object-position: bottom center; filter: drop-shadow(-3px 2px 0 #94515b); }
.spark { position: absolute; inset: 12% 10% auto auto; width: clamp(.7rem,2vw,1.8rem); aspect-ratio: 1; background: #fff3c4; clip-path: polygon(50% 0,59% 39%,100% 48%,61% 60%,50% 100%,41% 61%,0 50%,40% 39%); }
.portrait figcaption { display: flex; justify-content: space-between; gap: .4rem; color: #dec6cd; font-size: .64rem; line-height: 1.2; margin: 1rem 0 0 .3rem; }
.portrait figcaption span { color: var(--cream); }
.bill-action { grid-area: action; align-self: start; padding-top: 1.45rem; }
.intro { max-width: 29rem; font-size: clamp(1rem,1.9vw,1.23rem); line-height: 1.42; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
a { color: var(--mint); text-underline-offset: .18em; }
button,input { font: inherit; }
.actions a, .actions button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: .63rem 1.15rem; font-size: 1rem; font-weight: 760; line-height: 1.2; border-radius: .35rem; text-decoration: none; cursor: pointer; }
.play { color: #2b162d; background: #ffacc2; border: 1px solid #ffacc2; }
.share { background: transparent; color: var(--cream); border: 1px solid #b594a2; }
.actions a:hover, .actions button:hover { box-shadow: 0 0 0 2px var(--mint); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
.invite-note,.share-status { color: #d9c4ce; font-size: .83rem; line-height: 1.5; margin-top: .8rem; max-width: 27rem; }
.share-status { color: var(--mint); } .share-status:empty { display: none; }
.manual-link { margin: .8rem 0 0; } .manual-link label { display: block; } .manual-link input { width: 100%; padding: .5rem; color: var(--cream); background: #27172c; border: 1px solid var(--rule); }
.scorecard { padding: clamp(1rem,3vw,2rem); background: #fbebd5; color: #392535; border-radius: .65rem; border-top: .35rem solid #eb8ea9; }
.scorecard h2 { font: 700 clamp(1.85rem,3.5vw,2.7rem)/1.1 Georgia,serif; letter-spacing: -.04em; }
.card-entries { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; margin: 1.1rem 0 .25rem; }
.card-entries section { border-top: 1px dashed #926e78; padding-top: .7rem; }
.card-entries h3 { font-size: 1rem; } .card-entries p { font-size: .94rem; line-height: 1.48; margin-top: .25rem; }
.card-entries a { color: #70224c; font-weight: 700; white-space: nowrap; }
footer,footer nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
footer { justify-content: space-between; color: #ddc9d2; font-size: .83rem; margin-top: .9rem; }
footer a { min-height: 44px; display: inline-flex; align-items: center; color: inherit; }
@media(max-width:640px) {
  .bill { grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); grid-template-areas: "title portrait" "action action"; gap: 0 .8rem; }
  .bill-title { align-self: center; }
  .venue { font-size: .62rem; line-height: 1.5; max-width: 9.4rem; }
  h1 { font-size: clamp(2.8rem,11.8vw,4.5rem); }
  .portrait { max-width: 14rem; } .portrait figcaption { font-size: .6rem; justify-content: center; margin-top: .7rem; }
  .portrait figcaption span { display: none; } .bill-action { padding-top: 1.35rem; }
  .actions { margin-top: .9rem; } .actions a,.actions button { flex: 1 1 8rem; }
  .card-entries { grid-template-columns: 1fr; gap: .7rem; margin-top: .75rem; } 
  .invite-note { font-size: .8rem; }
}
@media(prefers-contrast:more) { :root { --rule: #c1a5b2; } }
