.beta-dialog{width:min(480px,calc(100vw - 24px));padding:32px;border:1px solid var(--line);border-radius:18px;max-height:90dvh;overflow:auto}.beta-dialog h2{font-size:25px;line-height:1.4;margin:12px 0 20px}.beta-dialog label{display:grid;gap:8px;margin:16px 0;color:var(--ink)}.beta-dialog input{width:100%;min-width:0;height:44px}.beta-dialog small,.beta-dialog .note{color:#707c70;line-height:1.8}.beta-dialog .note{font-size:12px}.beta-code{display:flex;align-items:end;gap:12px}.beta-code label{flex:1;min-width:0}.beta-code button{margin-bottom:16px;height:44px;white-space:nowrap}.beta-message{line-height:1.8;background:#f2f4ee;padding:12px 14px;border-radius:8px;overflow-wrap:anywhere;min-height:40px}.beta-wide{width:min(700px,calc(100vw - 24px))}.beta-identity{display:flex;justify-content:space-between;align-items:center;gap:10px;overflow-wrap:anywhere}.beta-package{display:flex;justify-content:space-between;align-items:center;padding:24px;margin-top:20px;background:#f4ecde;border:1px solid #e9d7be;border-radius:12px;gap:16px}.beta-package p{margin:10px 0}.beta-package strong{font-family:Georgia,serif;font-size:50px;font-weight:400}.beta-package>div:last-child{display:grid;gap:14px;text-align:center}.beta-package b{font-size:18px}.beta-dialog h3{font-size:16px;margin:26px 0 12px}.beta-section-title{display:flex;align-items:baseline;justify-content:space-between}.beta-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line)}.beta-row>div{min-width:0;flex:1;overflow-wrap:anywhere}.beta-row b{font-size:13px}.beta-row p{font-size:12px;color:#74806d;line-height:1.7;margin:6px 0 0}.beta-row .btn{flex-shrink:0}.beta-list{font-size:12px;color:#626d5e;line-height:1.8}.beta-dialog details{margin:24px 0}.beta-dialog summary{cursor:pointer}.beta-pay{text-align:center}.beta-pay>strong{font-family:Georgia,serif;display:block;font-size:30px;margin:20px}.beta-pay img{max-width:100%;background:white}.beta-pay .btn{margin:6px}.beta-banner{background:#fff0df;border-bottom:1px solid #ebdac5;padding:9px 20px;text-align:center;color:#825331;font-size:12px;line-height:1.6}.beta-banner[hidden]{display:none}.beta-admin-actions{display:flex;gap:10px;flex-wrap:wrap}.beta-admin-actions a{color:inherit;text-decoration:none}.beta-dialog output{display:block;overflow-wrap:anywhere;margin:16px 0;padding:8px;background:#fff7e9;user-select:all}.beta-table{overflow-x:auto}.beta-table table{border-collapse:collapse;width:100%;font-size:12px}.beta-table th,.beta-table td{padding:10px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.beta-enabled #seedreamConfig,.beta-unavailable #seedreamConfig{display:none!important}.beta-enabled header{gap:22px}.beta-enabled header nav{gap:20px}.beta-enabled .header-right{color:var(--ink)}.beta-enabled .header-right .btn{white-space:nowrap}.beta-enabled #saveStatus{max-width:100%}@media(max-width:650px){.beta-dialog{padding:26px 20px}.beta-dialog h2{font-size:22px}.beta-package{padding:18px 14px}.beta-package strong{font-size:42px}.beta-package b{font-size:15px}.beta-identity{font-size:12px}.beta-enabled header{gap:12px}.beta-enabled header .header-right{margin-left:auto}.beta-enabled header nav{gap:18px}.beta-banner{font-size:11px;padding:7px 14px}.beta-row{gap:8px}.beta-row .btn{font-size:12px;padding:0 10px}.beta-package .btn{padding:0 12px}}

.beta-credit-offer .beta-credit-intro{font-size:16px;line-height:1.8;color:#52604e}
.beta-credit-price{display:block;padding:20px 0 8px;font-size:26px;color:#714522}
.beta-credit-offer .beta-message{font-size:15px;color:#374b35}
.beta-support{border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin:20px 0;background:#f7f5ef;display:grid;gap:8px}
.beta-support b{font-size:14px}
.beta-support p{margin:0;font-size:12px;line-height:1.8;color:#5f6a5b}
.beta-support a{color:#3f5b3c;overflow-wrap:anywhere}
.beta-support .note{color:#7a8375}
/* The account dialog hides rows per login mode, and the dialog grid rules
   would otherwise keep the hidden rows on screen. */
.beta-dialog label[hidden],.beta-dialog .beta-code[hidden]{display:none}
.beta-dialog .beta-message.error{background:#fbeae5;color:#9b3a24;box-shadow:inset 3px 0 0 #c4553a}
.beta-dialog .beta-qr-tabs{margin:18px 0 4px}
.beta-dialog .beta-qr-tabs[hidden]{display:none}
#betaAgreementMessage:empty{display:none}.beta-dialog .beta-agree{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.7}.beta-dialog .beta-agree input{width:18px;height:18px;flex:none;margin:3px 0 0;accent-color:var(--green)}
.beta-auth-links{display:flex;gap:18px;justify-content:center;align-items:center;margin:16px 0 2px}
.beta-auth-links .link{font-size:13px}
.beta-credit-offer>.btn{width:100%;min-height:48px;font-size:16px}
.beta-credit-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}
.beta-credit-actions .link{min-height:44px;font-size:14px}
#animeStatus.anime-credit-warning{font-size:16px;font-weight:600;line-height:1.7;color:#823a14;background:#fff1dd;border:1px solid #dfb57e;border-radius:10px;padding:14px 16px}
#animeCreditBuy{display:flex;width:fit-content;max-width:100%;margin:16px 0 12px}
#animeCreditBuy[hidden]{display:none}
.beta-feedback{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:12px;margin:12px 0;color:#74806d}@media(max-width:700px){.beta-enabled header .header-right{display:flex;order:1;margin-left:auto}.beta-enabled header .brand{order:0}.beta-enabled header nav{order:2;width:100%;margin-left:0;justify-content:space-between;gap:4px}.beta-enabled #betaAccount{font-size:12px;height:34px;padding:0 10px}}
.migration-choices{max-height:260px;overflow:auto}.beta-dialog .migration-choice,.beta-dialog .migration-option{display:flex;align-items:flex-start;gap:10px;line-height:1.7;margin:12px 0}.beta-dialog .migration-choice input,.beta-dialog .migration-option input{width:18px;height:18px;min-width:18px;margin:2px 0}.migration-choice span{overflow-wrap:anywhere}#migrationImportFile{height:auto;font-size:12px}#migrationImportForm .note{margin:16px 0}
.beta-manual{text-align:left}.beta-manual .beta-steps{margin:12px 0 0;padding-left:20px;font-size:13px;line-height:1.85;color:#5c6757}.beta-qr-channels{display:grid;gap:12px;justify-items:center}.beta-qr-tabs{display:flex;gap:8px}.beta-qr-tab{height:38px;padding:0 18px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#64705e;font:inherit;font-size:13px;cursor:pointer}.beta-qr-tab[aria-selected="true"]{border-color:#55754d;background:#eef3e9;color:#31452c;font-weight:650}.beta-qr-card{display:grid;gap:8px;justify-items:center;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff}.beta-qr-card[hidden]{display:none}.beta-qr-card strong{font-size:13px}.beta-qr-card img{width:190px;height:190px;background:white;border-radius:8px}.beta-qr-card .btn{font-size:12px;padding:0 12px}.beta-ref{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;font-size:13px;margin:12px 0}.beta-ref b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:16px;letter-spacing:1px}.beta-ref .btn{font-size:12px;padding:0 12px}.beta-pay-action{position:sticky;bottom:0;z-index:2;display:grid;gap:10px;margin:14px -10px 0;padding:14px 10px 10px;border-top:1px solid #dfe5d8;background:linear-gradient(180deg,#fffdf9f2 0%,#fff 28%);box-shadow:0 -12px 22px #3d512d12}.beta-pay-action-copy{display:grid;gap:2px}.beta-pay-action-copy b{font-size:16px;line-height:1.4}.beta-pay-action-copy span{font-size:12px;line-height:1.6;color:#6d7868}.beta-pay-action label{display:grid;gap:6px;margin:0;font-size:12px;color:#6d7868}.beta-pay-action input{height:42px}.beta-pay-action .btn{height:50px;font-size:15px;font-weight:650;box-shadow:0 6px 18px #e8754530}.beta-pay-action .note{margin:0;font-size:11px}.beta-pay-more{margin:14px 0 0!important;padding-top:10px;border-top:1px solid var(--line)}.beta-pay-more summary{font-size:13px;font-weight:600;color:#5f6b5a;padding:4px 0}.beta-pay-more-body{padding-top:4px}.beta-pay-more .beta-support{margin-top:12px;padding:14px}.beta-pay #betaPayMessage:empty{display:none}@media(max-width:650px){.beta-pay{padding-bottom:12px}.beta-pay>strong{margin:12px 0}.beta-qr-card img{width:170px;height:170px}.beta-pay-action{margin:10px -20px 0;padding:13px 20px 6px}.beta-pay-action-copy b{font-size:17px}.beta-pay-action .btn{height:52px}}

.beta-entry{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:18px 20px;margin-top:18px;background:#f7f5ef;border:1px solid var(--line);border-radius:12px}
.beta-entry p{margin:0;font-size:12px;line-height:1.8;color:#626d5e}
.beta-entry .btn{flex-shrink:0}
.beta-dialog .beta-privacy-section{margin-top:24px;padding-top:1px;border-top:1px solid var(--line)}
.beta-enabled header nav{gap:15px}
.beta-enabled header nav>button{white-space:nowrap}
@media(max-width:700px){.beta-enabled header nav{justify-content:flex-start;gap:2px;overflow-x:auto;scrollbar-width:none}.beta-enabled header nav::-webkit-scrollbar{display:none}.beta-enabled header nav>button{font-size:11px;padding:8px 7px}.beta-entry{align-items:flex-start;flex-direction:column;padding:16px}.beta-entry .btn{width:100%}}
.admin-menu-link{text-decoration:none}.beta-enabled .header-right{min-width:0}.beta-enabled #betaAdminPage{background:#f4f1e8;border-color:#ded8ca;color:#52634f}.beta-enabled #betaAdminPage:hover{background:#ebe7dc}@media(max-width:700px){.beta-enabled #betaAdminPage{padding:0 9px;font-size:0}.beta-enabled #betaAdminPage:before{content:"后台";font-size:11px}}
/* The top menu keeps every first-level entry reachable on narrow and
   landscape screens, so it scrolls inside its own row instead of pushing
   the page wider than the viewport. */
.beta-enabled header{min-width:0}.beta-enabled header nav{min-width:0;overflow-x:auto;scrollbar-width:none}.beta-enabled header nav::-webkit-scrollbar{display:none}.beta-enabled header nav>button{flex:0 0 auto}
