.beta-locked .app-shell,.beta-locked #modal,.beta-locked #navigation-dialog,.beta-locked #toast{display:none!important}
/* Public landing remains visible before the player chooses to enter. */
#beta-public-landing{max-width:1400px;margin:0 auto;padding:0 30px 24px;color:#263e33}
#beta-public-landing[hidden]{display:none!important}
.beta-public-header{display:flex;align-items:center;gap:24px;padding:22px 0}
.beta-public-header>a{margin-right:auto;min-width:0}.beta-public-header img{width:360px;max-width:100%;height:auto}
.beta-public-header>span{font-size:11px;font-weight:800;letter-spacing:.1em}
#beta-public-landing>.beta-public-content{padding:0!important;max-width:none!important}
.beta-tester-notice{max-width:1280px;margin:0 auto 16px;padding:14px 20px;border-radius:12px;background:#ebe5f4;border:1px solid #b8a0ca;font-size:14px;line-height:1.5}
#beta-public-landing>.beta-public-footer{display:flex;justify-content:space-between;align-items:center;padding:24px 0 0;margin:0;background:transparent}
#beta-public-landing>.beta-public-footer a{color:#264f3d;font-size:13px}
dialog.beta-gate{position:fixed;inset:0;width:min(550px,calc(100vw - 24px));height:auto;max-height:calc(100dvh - 32px);min-height:0!important;padding:0!important;border:0!important;border-radius:22px;overflow-y:auto;background:transparent;box-shadow:0 22px 90px #101e1866;color:#202725}
dialog.beta-gate:not([open]){display:none!important}
dialog.beta-gate::backdrop{background:#21372bd6;backdrop-filter:blur(5px)}
.beta-gate .beta-auth-card{position:relative;width:100%;max-width:none;background:linear-gradient(150deg,#fffaf0 65%,#e9e1f2);border:2px solid #253e31;border-top:9px solid #dfae49;box-shadow:none}
.beta-gate-close{position:absolute;top:10px;right:12px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid #344c3f;background:#ebdfef;color:#263e33;font:28px/1 system-ui;cursor:pointer}
.beta-gate .beta-kicker{color:#775221;letter-spacing:.09em}
.beta-gate .beta-auth-card h1{font-family:Georgia,serif;color:#264f3d}
.beta-gate .beta-primary{background:#234f3d;box-shadow:3px 4px 0 #b7cda1;border-color:#1c362c}
.beta-gate .beta-primary:hover{background:#356c52;transform:translateY(-1px)}
.beta-login-humor{font-size:13px;color:#766246;font-style:italic}
.beta-consent-details{margin:20px 0 12px;border:1px solid #c4b7d2;border-radius:12px;background:#f3edf7;padding:12px}
.beta-consent-details summary{font-size:13px;font-weight:700;cursor:pointer;line-height:1.5}
.beta-consent-details summary span{font-weight:400;font-size:11px;float:right}
.beta-consent-details .beta-check{font-size:12px;margin:13px 0 6px}
.beta-gate video{width:100%;border-radius:12px;margin:12px 0;background:#202725}
.beta-account-dialog input[type=email],.beta-account-dialog input[type=date]{max-width:100%;padding:10px;border:1px solid #879384;border-radius:7px;background:white;color:#202725;font:inherit}
.beta-audit-person{padding:12px;border:1px solid #d4cabb;border-radius:9px;margin:10px 0;font-size:13px}
.beta-audit-person summary{cursor:pointer;overflow-wrap:anywhere;font-weight:700}.beta-audit-person li{margin:7px 0}.beta-audit-person time{color:#665e4f;font-size:11px}
@media(max-width:600px){#beta-public-landing{padding:0 14px 16px}.beta-public-header{gap:10px;padding:16px 0}.beta-public-header img{width:180px;max-width:100%}.beta-public-header>span{display:none}.beta-tester-notice{font-size:12px;padding:11px 13px}.beta-gate .beta-auth-card{padding-top:30px}.beta-gate-close{top:7px;right:8px;width:44px;height:44px}.beta-gate .beta-brand{max-width:85%}}
.beta-gate[hidden]{display:none!important}.beta-gate{min-height:100dvh;display:grid;place-items:center;padding:32px 18px;background:#f6f3e9;color:#202725;background-image:radial-gradient(ellipse at 12% 18%,#efc56855,transparent 50%),radial-gradient(ellipse at 88% 82%,#c5b5e355,transparent 48%)}
.beta-auth-card{width:min(100%,510px);background:#fffdf6;border:2px solid #202725;border-radius:22px;padding:34px;box-shadow:7px 9px 0 #234f3d22}.beta-brand{display:inline-flex;max-width:100%;background:#193b2e;padding:13px 16px;border-radius:12px}.beta-brand img{max-width:100%;height:auto}.beta-kicker{font-size:.72rem;letter-spacing:.12em;font-weight:800;margin:24px 0 12px}.beta-auth-card h1{font-size:clamp(1.8rem,5vw,2.6rem);line-height:1.12;letter-spacing:-.035em;margin:0 0 16px}.beta-auth-card p,.beta-account-dialog p{line-height:1.55}.beta-auth-card a,.beta-account-dialog a{color:#234f3d;text-decoration:underline;text-underline-offset:3px}.beta-status:empty{display:none}.beta-status{background:#eef3df;border-radius:10px;padding:12px;margin:18px 0}.beta-status.beta-error,[data-beta-status][role=alert]{background:#ffe8db;color:#793b28;padding:12px;border-radius:8px}
.beta-auth-tabs{display:flex;gap:6px;background:#ebe7db;padding:5px;border-radius:12px;margin:20px 0}.beta-auth-tabs button{flex:1;border:0;border-radius:8px;background:transparent;padding:11px;color:#202725;font-weight:700}.beta-auth-tabs button[aria-pressed=true]{background:#fffdf6;box-shadow:0 1px 4px #20272522}.beta-auth-card label:not(.beta-check){display:block;font-weight:700;font-size:.88rem;margin:16px 0 7px}.beta-auth-card input:not([type=checkbox]){width:100%;min-height:46px;padding:12px;border:1.5px solid #69736b;border-radius:10px;background:white;font:inherit;color:#202725}.beta-check{display:flex;align-items:flex-start;gap:10px;line-height:1.45;font-size:.9rem;margin:18px 0}.beta-check input{flex:0 0 auto;width:19px;height:19px;margin-top:2px;accent-color:#234f3d}.beta-primary,.beta-secondary,.beta-danger{border:1.5px solid #234f3d;border-radius:10px;padding:12px 17px;min-height:44px;font:inherit;font-weight:700;cursor:pointer}.beta-primary{background:#234f3d;color:#fffdf6}.beta-auth-card .beta-primary{width:100%;margin:14px 0}.beta-secondary{background:#eef2d9;color:#234f3d}.beta-danger{background:#fff1e7;color:#853f2b;border-color:#853f2b}.beta-text-button{border:0;padding:8px 0;background:transparent;text-decoration:underline;font:inherit;color:#234f3d}.beta-hint{font-size:.82rem;color:#556258;margin:10px 0}.beta-gate button:disabled,.beta-account-dialog button:disabled{opacity:.55;cursor:wait}.beta-gate :focus-visible,.beta-account-dialog :focus-visible,.beta-account-button:focus-visible{outline:3px solid #996b09;outline-offset:3px}
.beta-account-button{min-height:38px;background:#fffdf6;border:1.5px solid #234f3d;color:#234f3d;border-radius:9px;padding:7px 12px;font:inherit;font-size:.84rem;font-weight:750;white-space:nowrap}.beta-account-dialog{padding:26px!important;width:min(740px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow-y:auto;background:#fffdf6;color:#202725;border:2px solid #202725!important;border-radius:18px}.beta-account-dialog::backdrop{background:#15241dcc;backdrop-filter:blur(3px)}.beta-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.beta-dialog-head h2{font-size:1.65rem;margin:0}.beta-dialog-head button{background:transparent;border:0;font-size:1.8rem;min-width:44px;min-height:44px;cursor:pointer}.beta-account-dialog section{margin:22px 0;padding-top:18px;border-top:1px solid #d5d4c5}.beta-account-dialog h3{font-size:1.1rem;margin:0 0 10px}.beta-account-dialog h4{margin:18px 0 9px}.beta-account-email{overflow-wrap:anywhere;font-size:.9rem;color:#566259}.beta-note{padding:14px;background:#eee8f5;border-radius:10px}.beta-delete{margin-top:18px}.beta-delete summary{cursor:pointer;color:#793b28;padding:9px 0}.beta-table-wrap{overflow-x:auto}.beta-account-dialog table{border-collapse:collapse;width:100%;font-size:.87rem}.beta-account-dialog td,.beta-account-dialog th{text-align:left;padding:9px 10px;border-bottom:1px solid #dddacf}.beta-account-dialog th{background:#f0eddf}.beta-account-dialog td{overflow-wrap:anywhere}.beta-account-dialog [data-beta-status]:empty{display:none}
@media(max-width:600px){.beta-gate{padding:18px 12px}.beta-auth-card{padding:24px 20px;border-radius:16px;box-shadow:4px 5px 0 #234f3d22}.beta-account-dialog{padding:20px 16px!important}.beta-account-button{font-size:.75rem;padding:7px 9px}.topbar-right:has(.beta-account-button) .edition{display:none}}
/* Match the letterpress titles on the public game cover. */
.beta-gate .beta-auth-card h1{font-family:var(--display-font,Georgia,serif);font-weight:900;line-height:1.14;letter-spacing:-.045em;text-shadow:var(--display-shadow);padding-bottom:5px;}
.beta-gate .beta-kicker{display:table;padding:5px 9px;border:1px solid #ac8952;border-radius:3px;background:#efc56845;box-shadow:2px 2px 0 #d0b887;font-weight:850;}
.beta-tester-notice strong{font-family:var(--display-font,Georgia,serif);font-size:1.12em;letter-spacing:-.015em;color:#483851;}
.beta-public-header .beta-account-button{font-weight:800;box-shadow:2px 3px 0 #d5b879;}
.beta-gate .beta-primary{font-weight:800;letter-spacing:.02em;text-shadow:0 1px 0 #153225;}
.beta-account-dialog h2{font-family:var(--display-font,Georgia,serif);font-weight:700;text-shadow:1px 1px 0 #e6d4ae;}
@media(max-width:600px){.beta-gate .beta-auth-card h1{text-shadow:1px 1px 0 #fff9e9,2px 2px 0 #c6a160,3px 4px 0 #263e3314;}}
@media(forced-colors:active){.beta-gate .beta-auth-card h1,.beta-gate .beta-primary,.beta-account-dialog h2{text-shadow:none;}.beta-gate .beta-kicker,.beta-public-header .beta-account-button{box-shadow:none;}}

#beta-public-landing :is([data-beta-education],[data-beta-board]){padding:14px 0 30px}#beta-public-landing [hidden]{display:none!important}
@media(max-width:600px){.beta-public-header img{width:230px;}.beta-public-header .beta-account-button{flex:none;}}
