.header-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex-shrink:0}.header-actions .header-search{margin:0;width:180px}.account-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;white-space:nowrap;padding:9px 18px;border:2px solid #8b6126;border-radius:6px;background:repeating-linear-gradient(120deg,#ffe86b 0 20px,#ffda43 20px 38px);box-shadow:inset 0 2px 0 #fff6b0,0 3px 0 #694b26;color:#302f26;font-size:14px;font-weight:800}.account-button:hover{filter:brightness(1.06)}.checkin-panel{border:3px solid #243a3c;border-radius:9px;background:#f5f0dc;box-shadow:0 5px 0 #154b50;margin:22px 0 0;overflow:hidden;scroll-margin-top:18px}.checkin-panel .module-heading,.login-panel .module-heading{background:repeating-linear-gradient(118deg,transparent 0 25px,#ffffff30 25px 41px),#ffda45;box-shadow:inset 0 3px 0 #fff19b}.checkin-content{padding:18px}.checkin-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px}.checkin-intro strong{font-size:16px}.checkin-intro p{font-size:14px;line-height:1.8;color:#5e6b60;margin:6px 0 0}.checkin-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}.checkin-day{display:flex;align-items:center;flex-direction:column;gap:8px;background:#e3eee0;border:2px solid #85afa1;border-radius:7px;overflow:hidden;box-shadow:inset 0 2px 0 #f8fff2;padding-top:10px;transition:background .15s}.checkin-day:hover{background:#d1ebd7;border-color:#346f63}.checkin-day>span:first-child{font-size:14px;font-weight:800}.checkin-day b{font-size:29px;color:#467b6d;text-shadow:0 2px 0 #fff6da}.checkin-day small{font-size:12px;color:#52685b}.day-status{display:block;width:100%;text-align:center;background:#ccd9c4;border-top:1px solid #a4b6a0;font-size:12px;color:#536651;padding:6px}.checkin-day:last-child{background:#f4e8bd;border-color:#c6a65c}.checkin-note{font-size:12px;line-height:1.8;margin:14px 0 0;color:#62715e}.news-entry.article-link{display:flex;gap:14px;align-items:flex-start;padding:19px 0;cursor:pointer}.news-entry.article-link>img{width:94px;height:108px;flex-shrink:0;object-fit:cover;object-position:50% 43%;border:2px solid #5b746e;border-radius:7px;box-shadow:0 3px 0 #acb1a0}.article-link .entry-toggle:before{content:'›'}.article-link:hover h3{color:#087b78}.login-panel{max-width:620px;margin:35px auto 70px;border:3px solid #243a3c;border-radius:10px;background:#f5f0dc;box-shadow:0 5px 0 #154b50;overflow:hidden}.login-panel h1{font-size:25px;line-height:1.5;margin:0;letter-spacing:0}.login-content{padding:28px}.login-prompt{background:#e0edce;border-left:4px solid #4d9c7e;padding:13px 15px;color:#325d4b;line-height:1.8;font-size:14px}.login-content h2{font-size:23px;margin:25px 0 14px}.login-content>p{font-size:16px;line-height:1.9;color:#566652}.login-content .unavailable{width:100%;white-space:normal;background:#dfdfc9;border-color:#a0aa92;color:#646f60;box-shadow:inset 0 2px 0 #f9f6e9,0 3px 0 #a1aa93;cursor:not-allowed;filter:none;margin:14px 0 6px;min-height:49px}.login-content .login-help{font-size:13px;line-height:1.8;color:#6b7661}.continue-link{display:block;margin-top:26px;color:#087b78;font-size:16px;font-weight:700}.guest-link{display:inline-block;margin-top:20px;color:#596f5e;font-size:14px;text-decoration:underline}.header-inner{gap:20px}nav{gap:7px}nav a{padding-left:11px;padding-right:11px}@media(max-width:1100px){.header-inner{flex-wrap:wrap}.header-inner nav{order:3;flex-basis:100%;justify-content:flex-start}.header-actions{margin-left:auto}.header-actions .header-search{width:220px}.news-entry.article-link>img{width:76px;height:91px}}@media(max-width:640px){.header-inner{gap:12px;padding:13px 12px}.header-actions{gap:6px}.header-actions .header-search{width:125px;padding:8px 6px}.header-actions .account-button{padding:8px 10px;font-size:13px;min-height:39px}.brand strong{font-size:24px}.brand small{font-size:10px}.header-inner nav{gap:5px;justify-content:space-between}nav a{padding:8px;font-size:12px}.checkin-panel{margin-top:17px}.checkin-content{padding:13px}.checkin-intro{align-items:flex-start;gap:10px}.checkin-intro strong{font-size:15px}.checkin-intro p{font-size:13px}.checkin-intro .account-button{font-size:13px;padding:8px 10px}.checkin-days{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.checkin-day{gap:6px}.checkin-day b{font-size:25px}.checkin-day:last-child{grid-column:span 2}.checkin-day>span:first-child{font-size:13px}.news-entry.article-link{gap:10px;padding:17px 0}.news-entry.article-link>img{width:67px;height:84px}.login-panel{margin:25px auto 40px}.login-panel h1{font-size:22px}.login-content{padding:20px}.login-content h2{font-size:21px}}@media(max-width:360px){.header-actions{width:100%}.header-actions .header-search{width:auto;flex:1}.header-inner nav{flex-wrap:wrap}}
.auth-scene{max-width:520px;margin:38px auto 60px}
.auth-brand{text-align:center;color:#fff3a4;font-size:36px;font-weight:900;text-shadow:0 3px 0 #174a4b;margin-bottom:22px}
.auth-brand em{color:#ffdd4d;font-style:normal}.auth-brand span{display:block;font-size:11px;letter-spacing:3px;color:#cbede0;margin-top:7px;text-shadow:none}
.auth-card{border:3px solid #243a3c;border-radius:10px;background:#f5f0dc;box-shadow:0 5px 0 #154b50;overflow:hidden;padding:0 28px 26px}
.auth-card h1{margin:0 -28px 26px;padding:17px 28px;border-bottom:3px solid #344341;background:repeating-linear-gradient(118deg,transparent 0 25px,#ffffff30 25px 41px),#82d7b3;box-shadow:inset 0 3px 0 #c6f4c2;font-size:24px;color:#263e36;line-height:1.4}
.auth-card label{display:block;font-size:13px;font-weight:700;color:#426251;margin:16px 0 8px}
.auth-input{display:flex;align-items:center;gap:10px;padding:0 12px;min-height:50px;background:#e6edd9;border:2px solid #85aaa0;border-radius:7px;box-shadow:inset 0 2px 0 #cddcc5}
.auth-input:focus-within{border-color:#217b79;outline:2px solid #78c6b2;outline-offset:2px}
.auth-input>span{font-size:22px;color:#427e71}.auth-input input{flex:1;width:100%;min-width:0;background:transparent;border:0;color:#263e36;font:inherit;font-size:16px;padding:12px 0;outline:none}
.auth-input button{border:0;background:transparent;color:#526f60;min-width:40px;min-height:44px;font-size:24px;cursor:pointer}
/* Use one consistent reveal control instead of the browser's duplicate eye. */
#auth-password::-ms-reveal,#auth-password::-ms-clear{display:none}
#show-password{display:inline-flex;align-items:center;justify-content:center;border-radius:5px}
#show-password:hover{background:#d0e1c5}
#show-password .eye-slash{display:none}
#show-password[aria-pressed="true"] .eye-slash{display:block}
.auth-links{display:flex;justify-content:space-between;gap:12px;margin:14px 0 20px;flex-wrap:wrap}
.auth-links button{padding:5px 0;min-height:36px;font:inherit;font-size:14px;color:#276d63;background:none;border:0;cursor:pointer}.auth-links button:hover{text-decoration:underline}
.auth-submit{width:100%;min-height:48px;border:2px solid #88602a;border-radius:6px;background:repeating-linear-gradient(118deg,#ffe66b 0 24px,#ffda45 24px 42px);box-shadow:inset 0 2px 0 #fff5ad,0 3px 0 #6a512d;color:#303c2d;font-size:17px;font-weight:800;cursor:pointer;padding:10px 16px}
.auth-submit:hover{filter:brightness(1.04)}.auth-submit:disabled{opacity:.65;cursor:wait}
.auth-social{margin-top:26px;border-top:1px solid #c0cbb0;padding-top:17px}.auth-social>p{margin:0 0 15px;text-align:center;font-size:12px;color:#60735f}
.auth-social>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.auth-social button{display:flex;align-items:center;justify-content:center;gap:10px;border:2px solid #789b8a;border-radius:7px;background:#e3ead2;min-height:54px;color:#293f35;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 2px 0 #b1bf9e}
.auth-social button:hover{background:#d1e6c5}.auth-social svg{width:27px;height:27px;flex-shrink:0}
#auth-status{margin:18px 0 0;font-size:13px;line-height:1.7;color:#806328;overflow-wrap:anywhere}#auth-status:empty{display:none}
.auth-scope{font-size:12px;color:#66765e;line-height:1.7;margin:14px 0}.auth-guest{display:block;text-align:center;color:#257569;font-size:14px;margin-top:19px}
.auth-card [hidden]{display:none!important}
@media(max-width:640px){.auth-scene{margin:26px auto 40px;max-width:440px}.auth-brand{font-size:30px;margin-bottom:20px}.auth-card{padding:0 18px 22px}.auth-card h1{margin:0 -18px 22px;padding:16px 18px;font-size:22px}.auth-social>div{gap:10px}.auth-social button{font-size:13px;gap:8px}.auth-social svg{width:25px;height:25px}}
.auth-submit.is-loading::before {content:'';display:inline-block;width:14px;height:14px;margin-right:9px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:auth-spin .7s linear infinite}
@keyframes auth-spin {to {transform:rotate(360deg)}}
#auth-status:not(:empty) {padding:12px 14px;border:1px solid #b9c6a5;border-radius:7px;background:#e8edd7;color:#4c6454}
#auth-status[data-state="error"] {background:#fff0d7;border-color:#cfac73;color:#845322}
#auth-status[data-state="success"] {background:#deedcf;border-color:#88b18c;color:#2f624b}
.auth-retry {margin-top:10px;padding:9px 16px;min-height:42px;border:1px solid #729d88;border-radius:6px;background:#dce8cd;color:#285f50;font:inherit;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 2px 0 #b3c2a3}
.auth-card button:disabled {cursor:wait;opacity:.65}
.auth-card input:disabled {opacity:.75}
@media(prefers-reduced-motion:reduce) {.auth-submit.is-loading::before {animation:none}}

/* Logged-in game character menu */
.player-account{position:relative;min-width:0}
.player-account>summary{display:block;max-width:220px;white-space:pre-line;overflow-wrap:anywhere;line-height:1.4;cursor:pointer;list-style:none}
.player-account>summary::-webkit-details-marker{display:none}
.player-account-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(320px,calc(100vw - 28px));padding:14px;background:#f5f0dc;border:2px solid #25494b;border-radius:9px;box-shadow:0 5px 0 #154b50;z-index:110;color:#25494b}
.player-account-panel p{margin:0 0 12px;font-size:13px;overflow-wrap:anywhere}
.player-role-list{display:grid;gap:8px;max-height:45vh;overflow-y:auto;overscroll-behavior:contain}
.player-account-panel button,.player-account-panel>a{display:block;width:100%;box-sizing:border-box;text-align:left;white-space:normal;overflow-wrap:anywhere;font:inherit;font-size:14px;padding:10px 12px;border:1px solid #9caf91;border-radius:6px;background:#e7ecd6;color:#25494b;cursor:pointer;min-height:44px}
.player-account-panel button:hover{filter:brightness(1.04)}
.player-account-panel button[aria-pressed=true]{background:#ffdf54;border-color:#9a7c31;font-weight:700}
.player-account-panel>a{margin-top:12px;background:#195c63;color:#fff3ce;text-decoration:none}
.player-account-panel [hidden]{display:none!important}
.player-account :focus-visible{outline:3px solid #32c6ec;outline-offset:3px}
@media(max-width:600px){.player-account>summary{max-width:135px;padding-inline:10px}.player-account-panel{position:fixed;top:auto;right:14px;margin-top:12px}}

.auth-input:has(input[aria-invalid="true"]){border-color:#b9553e;box-shadow:0 0 0 2px #b9553e22}

/* Keep the registration entry visible alongside sign-in. */
.account-register{background:#267b7c;color:#fff6d5;border-color:#183f45;box-shadow:inset 0 2px 0 #ffffff25,0 3px 0 #183f45}
.auth-links button[data-mode="register"]:not([hidden]){margin-left:auto;align-self:center;display:inline-flex;align-items:center;padding:0;min-height:44px;border:0;border-radius:0;background:none;color:#276d63;font:inherit;font-size:14px;box-shadow:none;text-decoration:none}
@media(max-width:600px){.header-actions .account-register{padding-inline:10px}.header-actions:has(.account-register){gap:7px;flex-wrap:wrap}}
.auth-forgot{align-self:center;color:#276d63;font-size:14px;min-height:44px;display:inline-flex;align-items:center;text-decoration:none}
.auth-forgot:hover,.auth-links button[data-mode="register"]:hover{text-decoration:underline}
.auth-code-row{display:flex;gap:8px;align-items:stretch}.auth-code-row .auth-input{flex:1;min-width:0}
#recovery-send{max-width:48%;border:2px solid #a18432;border-radius:7px;background:#ffdf58;color:#293b35;font:inherit;font-size:14px;font-weight:700;padding:8px 12px;cursor:pointer}
#recovery-submit{margin-top:22px}#recovery-status{font-size:14px;line-height:1.7;overflow-wrap:anywhere}
#recovery-status[data-state=error]{color:#a6382a}#recovery-status[data-state=success]{color:#267459}
#recovery-form button:disabled{opacity:.6;cursor:default}
#recovery-show .eye-slash{display:none}#recovery-show[aria-pressed=true] .eye-slash{display:block}
#recovery-form input::-ms-reveal{display:none}
.auth-social button{transition:background .14s ease,transform .1s ease,box-shadow .1s ease}
.auth-social button:active:not(:disabled){transform:translateY(2px);box-shadow:none}
.auth-social button:focus-visible{outline:3px solid #217b79;outline-offset:3px}
.auth-social button:disabled{cursor:wait;opacity:.65}
@media(prefers-reduced-motion:reduce){.auth-social button{transition:none}}
