/* The public site: the gate (log in, today's picture, see you tomorrow), the account chip, the leaderboard,
   feedback and admin sheets, and the board position under a premiere. Same system as ui.css: square, hairlines on
   every side, gold for the one action. */
.site-gate { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 36; display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 64px; align-items: end; padding: 0 64px 92px 140px;
  background: linear-gradient(180deg, rgba(5,6,10,0) 0, rgba(5,6,10,.35) 300px, rgba(5,6,10,.9) 470px, rgba(5,6,10,.97) 100%); animation: fffade .3s both; }
.site-gate.out { opacity: 0; transition: opacity .26s; pointer-events: none; }
html.gated .top-progress { visibility: hidden; }
.sg-in { display: flex; flex-direction: column; gap: 20px; max-width: 1080px; }
.sg-k { font-family: var(--f-ui); font-weight: 700; font-size: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--g); }
.site-gate h1 { margin: 0; font-family: var(--f-d); font-weight: 800; font-size: 118px; line-height: .9; color: var(--ivory); letter-spacing: -.5px; }
.site-gate h1 em { font-style: normal; color: var(--g-hi); }
.sg-lede { margin: 4px 0 0; max-width: 900px; font-family: var(--f-ui); font-weight: 500; font-size: 25px; line-height: 1.4; color: var(--silver); }
.sg-lede b { color: var(--ivory); }
.sg-acts { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.sg-acts.small { margin-top: 0; }
.sg-acts .btn.big { height: 66px; padding: 0 28px; font-family: var(--f-d); font-weight: 800; font-size: 28px; letter-spacing: .05em; }
.sg-acts a.btn { text-decoration: none; }
.sg-fine { margin: 0; font-family: var(--f-ui); font-weight: 600; font-size: 18px; color: var(--mute); }
.ic.tw { width: 24px; height: 24px; }
.sg-top { align-self: end; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 18px; background: var(--ink-1); border: 1px solid var(--line); }
.sgt-k { font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); margin-bottom: 8px; }
.sgt-empty { font-family: var(--f-ui); font-weight: 500; font-size: 19px; color: var(--mute); line-height: 1.4; }
.sgt-row { display: grid; grid-template-columns: 30px 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 6px; background: none; border: 0; cursor: pointer; text-align: left; }
.sgt-row:hover { background: var(--ink-2); }
.sgt-row .r { font-family: var(--f-d); font-weight: 800; font-size: 24px; color: var(--mute); text-align: center; }
.sgt-row:first-of-type .r { color: var(--g-hi); }
.sgt-row .n { display: flex; flex-direction: column; min-width: 0; }
.sgt-row .n b { font-family: var(--f-d); font-weight: 700; font-size: 23px; line-height: 1.05; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sgt-row .n small { font-family: var(--f-ui); font-weight: 600; font-size: 14px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sgt-row .s { font-family: var(--f-d); font-weight: 800; font-size: 32px; color: var(--ivory); font-variant-numeric: tabular-nums; }
.ava { width: 40px; height: 40px; object-fit: cover; background: var(--ink-3); display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-d); font-weight: 800; font-size: 20px; color: var(--silver); text-transform: uppercase; flex: none; }

/* the account chip in the top bar */
.site-acct { display: flex; align-items: center; gap: 10px; }
.site-acct .acct { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 4px 0 2px; border: 1px solid var(--line); background: var(--ink-1); }
.site-acct .acct .ava { width: 38px; height: 38px; font-size: 18px; }
.site-acct .an { display: flex; flex-direction: column; line-height: 1.05; max-width: 170px; }
.site-acct .an b { font-family: var(--f-d); font-weight: 700; font-size: 18px; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-acct .an small { font-family: var(--f-ui); font-weight: 600; font-size: 12px; letter-spacing: .06em; color: var(--silver); white-space: nowrap; }
.site-acct .lo { width: 30px; height: 30px; border: 0; background: none; color: var(--mute); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.site-acct .lo:hover { color: var(--ivory); }
.site-acct .lo .ic { width: 14px; height: 14px; }

/* sheets: leaderboard, feedback, admin */
.site-sheet .sheet-inner { width: 1280px; }
.site-sheet .sheet-inner.narrow { width: 860px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); }
.seg button { height: 44px; padding: 0 18px; border: 0; background: none; cursor: pointer; font-family: var(--f-ui); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button.on { background: var(--g); color: #110d04; }
.lb-tabs { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.lb-note { margin-left: auto; font-family: var(--f-ui); font-weight: 600; font-size: 15px; color: var(--mute); }
.lb-list { display: flex; flex-direction: column; gap: 4px; }
.lb-wait { padding: 40px 0; font-family: var(--f-ui); font-weight: 500; font-size: 20px; color: var(--mute); text-align: center; }
.lb-row { display: grid; grid-template-columns: 54px 46px 260px minmax(0, 1fr) 150px 80px; align-items: center; gap: 16px; padding: 10px 14px; background: var(--ink-2); border: 1px solid transparent; cursor: pointer; text-align: left; }
.lb-row:hover { border-color: var(--line-2); background: var(--ink-3); }
.lb-row.me { border-color: var(--g-a); }
.lb-row .ava { width: 46px; height: 46px; }
.lb-row .r { font-family: var(--f-d); font-weight: 800; font-size: 30px; color: var(--mute); text-align: right; font-variant-numeric: tabular-nums; }
.lb-row:nth-child(-n+3) .r { color: var(--g-hi); }
.lb-row .who, .lb-row .ti { display: flex; flex-direction: column; min-width: 0; }
.lb-row .who b, .lb-row .ti b { font-family: var(--f-d); font-weight: 700; font-size: 24px; line-height: 1.1; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-row .who small, .lb-row .ti small { font-family: var(--f-ui); font-weight: 600; font-size: 14px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-row .tier { font-family: var(--f-ui); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); text-align: right; }
.lb-row.t-gold .tier { color: var(--g); } .lb-row.t-legendary .tier { color: var(--g-hi); } .lb-row.t-flop .tier { color: var(--red-hi); }
.lb-row .sc { font-family: var(--f-d); font-weight: 800; font-size: 40px; color: var(--ivory); text-align: right; font-variant-numeric: tabular-nums; }
.fb-lede { margin: 0 0 18px; font-family: var(--f-ui); font-weight: 500; font-size: 21px; line-height: 1.4; color: var(--silver); }
.fb-lede b { color: var(--ivory); }
.fb-kind { margin-bottom: 14px; }
#fbText { width: 100%; height: 220px; resize: none; padding: 16px 18px; background: var(--ink-0); border: 1px solid var(--line-2); color: var(--ivory); font-family: var(--f-ui); font-weight: 500; font-size: 20px; line-height: 1.4; outline: none; }
#fbText:focus { border-color: var(--g); }
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-acts { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.fb-msg { font-family: var(--f-ui); font-weight: 600; font-size: 17px; color: var(--red-hi); }
.ad-stats { display: flex; gap: 28px; margin-bottom: 20px; font-family: var(--f-ui); font-size: 18px; color: var(--silver); }
.ad-stats b { font-family: var(--f-d); font-size: 30px; color: var(--ivory); margin-right: 6px; }
.site-sheet h3 { font-family: var(--f-d); font-weight: 800; font-size: 30px; margin: 22px 0 10px; color: var(--ivory); }
.ad-list { display: flex; flex-direction: column; gap: 6px; }
.ad-row { display: grid; grid-template-columns: 80px 240px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 12px 14px; background: var(--ink-2); }
.ad-row .k { font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
.ad-row .w { display: flex; flex-direction: column; font-family: var(--f-ui); font-weight: 700; font-size: 16px; color: var(--ivory); }
.ad-row .w small { font-weight: 500; font-size: 13px; color: var(--mute); }
.ad-row p { margin: 0; font-family: var(--f-ui); font-size: 17px; line-height: 1.4; color: var(--silver); white-space: pre-wrap; }

/* under the verdict: where it landed on the boards */
.site-rank { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-family: var(--f-ui); font-weight: 600; font-size: 19px; color: var(--silver); }
.site-rank > .ic { color: var(--g); width: 20px; height: 20px; }
.site-rank b { font-family: var(--f-d); font-weight: 800; font-size: 26px; color: var(--g-hi); margin-right: 4px; }
.site-rank i { display: inline-block; width: 5px; height: 5px; background: var(--g); margin: 0 12px 4px; }
.site-rank.warn > .ic { color: var(--red-hi); }
.p-by { align-self: center; margin-left: 6px; font-family: var(--f-ui); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); }
html.gated .lower, html.gated #picture, html.gated .trades-bar, html.gated #rival { visibility: hidden; }
.site-gate .btn { flex: none; width: auto; justify-content: center; }
.site-gate .sg-acts .btn.big kbd { margin-left: 6px; }
.sg-fine a { color: var(--silver); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.site-sheet .fb-lede p { margin: 0 0 14px; }
/* phones held upright: the studio is widescreen */
html.site body::after { content: 'Turn your phone sideways. The studio is widescreen.'; position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 40px; text-align: center; background: #05060a; color: #f4efe4; font: 700 22px/1.4 'Barlow', sans-serif; letter-spacing: .02em; }
@media (orientation: portrait) and (max-width: 900px) { html.site body::after { display: flex; } html.site body:has(#phoneTurn)::after { display: none; } }
/* the upright-phone screen (8 Nov) */
#phoneTurn { display: none; position: fixed; inset: 0; z-index: 101; align-items: center; justify-content: center; padding: 32px 28px; background: radial-gradient(120% 70% at 50% 30%, #161a26 0%, #05060a 70%); color: #f4efe4; text-align: center; }
@media (orientation: portrait) and (max-width: 900px) { html.site #phoneTurn { display: flex; } }
#phoneTurn .pt-in { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 340px; }
#phoneTurn img { width: 250px; max-width: 80vw; height: auto; }
#phoneTurn .pt-v { padding: 4px 10px; border: 1px solid #c9a24a; color: #f3dc95; font: 700 12px 'Barlow', sans-serif; letter-spacing: .16em; text-transform: uppercase; }
#phoneTurn .pt-ph { width: 76px; height: 76px; margin: 26px 0 6px; color: #f3dc95; animation: ptTurn 2.6s ease-in-out infinite; }
#phoneTurn h2 { margin: 0; font: 800 30px/1.1 'Barlow Condensed', 'Barlow', sans-serif; letter-spacing: .01em; }
#phoneTurn p { margin: 0; font: 500 17px/1.4 'Barlow', sans-serif; color: #aeb3c2; text-wrap: balance; }
#phoneTurn .pt-v b { text-transform: none; letter-spacing: .04em; font-size: 14px; margin-right: 4px; }
@keyframes ptTurn { 0%, 25% { transform: rotate(0deg); } 55%, 80% { transform: rotate(90deg); } 100% { transform: rotate(0deg); } }
@media (prefers-reduced-motion: reduce) { #phoneTurn .pt-ph { animation: none; transform: rotate(90deg); } }
.site-sheet .fb-lede a:not(.btn) { color: var(--ivory, #f3eee2); text-decoration: underline; text-underline-offset: 3px; }
.site-sheet .fb-lede a:not(.btn):hover { color: var(--gold, #e8c56a); }
.site-sheet .pm-h { margin: 22px 0 6px; font: 700 15px var(--f-d); letter-spacing: .22em; text-transform: uppercase; color: var(--g-hi); }
.site-sheet .pm-thanks { color: var(--ivory); }

/* the closed beta: the gate for an account that isn't on the list, the count on the Invites button, the Invites sheet,
   and the list on the Admin sheet. Square, hairlines on every side, gold for the one action */
.sg-who { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-family: var(--f-ui); font-weight: 600; font-size: 19px; color: var(--mute); }
.sg-who .ava { width: 34px; height: 34px; font-size: 17px; border: 1px solid var(--line-2); }
.sg-who b { font-weight: 700; color: var(--ivory); }
.sg-who a { color: var(--silver); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.sg-who a:hover { color: var(--ivory); }
.sg-n { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 6px; border: 1px solid var(--g-a); font-family: var(--f-d); font-weight: 800; font-size: 17px; letter-spacing: 0; color: var(--g-hi); }
.inv-form, .ad-beta { display: flex; align-items: center; gap: 12px; }
.inv-form input, .ad-beta input { flex: 1; min-width: 0; height: 58px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 0; background: var(--ink-0); color: var(--ivory); font-family: var(--f-ui); font-weight: 600; font-size: 22px; outline: none; }
.inv-form input::placeholder, .ad-beta input::placeholder { color: var(--mute); }
.inv-form input:focus, .ad-beta input:focus { border-color: var(--g); }
.inv-form input:disabled { opacity: .5; }
.inv-form .btn { height: 58px; padding: 0 30px; font-size: 17px; }
.inv-meta { display: flex; align-items: baseline; gap: 20px; min-height: 30px; margin: 14px 0 22px; }
.inv-left { font-family: var(--f-ui); font-weight: 600; font-size: 19px; color: var(--silver); }
.inv-left b { font-family: var(--f-d); font-weight: 800; font-size: 28px; color: var(--g-hi); margin-right: 4px; }
.inv-msg { font-family: var(--f-ui); font-weight: 600; font-size: 17px; color: var(--silver); }
.inv-msg.ok { color: var(--ivory); }
.inv-msg.bad { color: var(--red-hi); }
.inv-list { display: flex; flex-direction: column; gap: 6px; }
.inv-row { display: grid; grid-template-columns: minmax(0, 1fr) 130px 150px; align-items: center; gap: 16px; min-height: 70px; padding: 10px 14px 10px 18px; background: var(--ink-2); border: 1px solid var(--line); }
.inv-row.on { border-color: var(--g-a); }
.inv-row .who { display: flex; flex-direction: column; min-width: 0; }
.inv-row .who b { font-family: var(--f-d); font-weight: 700; font-size: 25px; line-height: 1.1; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-row .who small { font-family: var(--f-ui); font-weight: 600; font-size: 14px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-row .st { display: flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.inv-row.on .st { color: var(--g); }
.inv-row .st .ic { width: 16px; height: 16px; }
.inv-row .btn { justify-self: stretch; justify-content: center; }
.ad-note { margin: 0 0 12px; font-family: var(--f-ui); font-weight: 600; font-size: 17px; color: var(--silver); }
.ad-beta { margin-bottom: 12px; }
.ad-beta input { height: 44px; font-size: 18px; }
.ad-beta #adbN { flex: none; width: 120px; }
.ad-row.bta { align-items: center; }
.ad-row.bta .k { color: var(--mute); }
.ad-row.bta.on .k { color: var(--g); }
/* early access (8 Nov): the version next to the logo, a feedback button with a label, the one-off splash */
.logo { position: relative; }
.site-v { position: absolute; left: calc(100% + 16px); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border: 1px solid var(--g); background: transparent; color: var(--g-hi); font: 800 16px var(--f-d); letter-spacing: .04em; white-space: nowrap; cursor: pointer; }
.site-v span { font: 700 11px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.site-v:hover { background: rgba(243,220,149,.08); }
.site-acct .fbb { height: 44px; padding: 0 16px 0 13px; gap: 9px; border-color: var(--g); color: var(--g-hi); }
.site-acct .fbb .ic { width: 18px; height: 18px; }
.site-acct .fbb span { font: 700 15px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.site-acct .fbb:hover { background: rgba(243,220,149,.08); }
.site-sheet.splash .sp-v { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; }
.site-sheet.splash .sp-v b { font: 900 88px/0.9 var(--f-d); color: var(--g-hi); }
.site-sheet.splash .sp-v span { font: 700 15px var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--silver); }
.sp-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.sp-list li { display: grid; gap: 3px; padding: 14px 16px; background: var(--ink-1); border: 1px solid var(--line); }
.sp-list li b { font: 700 21px var(--f-d); color: var(--ivory); }
.sp-list li span { font: 500 17px/1.4 var(--f-ui); color: var(--silver); }
.sg-why { align-self: center; margin-left: 6px; font: 600 16px var(--f-ui); color: var(--silver); text-decoration: underline; text-underline-offset: 3px; }
.sg-why:hover { color: var(--ivory); }
.ad-bulk { display: flex; align-items: center; gap: 10px; font: 600 16px var(--f-ui); color: var(--silver); }
.ad-bulk input { flex: none; width: 84px; }
/* in play the producer and budget sit right of the logo: the version tag is a homepage thing (8 Nov) */
html.site:not(.gated) .site-v { display: none; }
/* the homepage gate covers the stage from the top: the top bar has to sit above it or nothing in it can be clicked (QA 9 Nov) */
html.site.gated header.top { position: relative; z-index: 37; }
