/* SEREIN_CURRENT_DESIGN_NAVIGATION: preserve the user's existing homepage visual design across routes. */
.polish-header{display:block!important;min-height:0!important;padding:0!important;background:#0b1521!important;border-bottom:1px solid #293747;position:relative;z-index:100;box-shadow:none}
.current-nav-shell{max-width:1344px;margin:auto;min-height:82px;display:flex;align-items:center;gap:28px;padding:10px 0}
.polish-header .polish-logo{margin:0 auto 0 0;flex:none}.polish-header .polish-logo img{width:60px;height:60px;object-fit:contain}
.polish-header #polish-nav{display:flex!important;flex-direction:row;align-items:center;gap:20px;flex:0 1 auto;margin:0;padding:0;border:0;overflow:visible}
.polish-header a,.current-community summary{font:500 13px/1.5 system-ui,sans-serif;color:#aebdd0;white-space:nowrap;text-decoration:none}
.polish-header #polish-nav>a{padding:16px 0;border-radius:0}.polish-header #polish-nav>a[aria-current=page]{color:#f4d58a;box-shadow:inset 0 -2px #efd087}.polish-header a:hover,.current-community summary:hover{color:#f4d58a}
.current-community{position:relative}.current-community summary{cursor:pointer;list-style:none;padding:16px 0}.current-community summary::-webkit-details-marker{display:none}.current-community summary span{margin-left:5px}.current-community>div{position:absolute;top:100%;left:0;min-width:190px;padding:8px;background:#101f30;border:1px solid #34485d;border-radius:9px;box-shadow:0 16px 36px #0006}.current-community>div>a{display:block;padding:11px!important;border-radius:5px}.current-community>div>a:hover{background:#203245}
.current-actions{display:flex;align-items:center;gap:12px;margin-left:auto}.polish-header .polish-language{margin:0}.polish-header .polish-language select{height:48px;width:96px;max-width:none;border:1px solid #355069;border-radius:7px;padding:0 10px;background:#0c1724;color:#e4ecf5;font:600 12px system-ui;cursor:pointer}
.current-account{display:flex;align-items:center;gap:10px;border:1px solid #355069;border-radius:7px;min-height:48px;padding:0 15px;color:#e4ecf5!important}.polish-header .polish-play{display:flex;align-items:center;gap:16px;min-height:48px;padding:0 20px;background:#f4d385;border-radius:8px;color:#101a25!important;font-weight:600}.polish-header .refined-signout{font-size:12px}.polish-header .polish-menu-toggle{display:none!important}.current-discord{color:#efd087!important}
.polish-header :is(a,summary,select,button):focus-visible{outline:2px solid #f4d385;outline-offset:4px}
@media(max-width:1450px){.current-nav-shell{margin-inline:26px;gap:20px}.polish-header #polish-nav{gap:14px}.current-actions{gap:8px}}
@media(min-width:769px) and (max-width:1190px){.current-nav-shell{flex-wrap:wrap;gap:6px 18px;padding:10px 0}.polish-header #polish-nav{order:3;flex:1 0 100%;justify-content:center;gap:24px}.current-actions{order:2}.polish-header .polish-logo{order:0}}
@media(max-width:768px){.current-nav-shell{margin:0;padding:10px 16px;gap:8px;flex-wrap:wrap}.polish-header .polish-logo img{width:46px;height:46px}.polish-header .polish-menu-toggle{display:flex!important;align-items:center;justify-content:center;min-height:42px;padding:8px 12px;background:#101f30;border:1px solid #355069;border-radius:6px;color:#e4ecf5;order:2}.current-actions{order:1;gap:6px;margin-left:0}.polish-header .polish-language select{width:77px;height:42px}.current-account{min-height:42px;padding:0 10px}.polish-header .current-actions>.polish-play{display:none}.polish-header .refined-signout{font-size:11px}.polish-header #polish-nav{display:none!important;order:3;width:100%;flex:1 0 100%;flex-direction:column;align-items:stretch;gap:0;max-height:65vh;overflow-y:auto;padding-top:8px}.polish-header #polish-nav.open{display:flex!important}.polish-header #polish-nav>a,.current-community summary{padding:12px!important}.current-community>div{position:static;box-shadow:none}.current-account svg{display:none}}
/* SEREIN_SITE_VISUAL_FINISH: shared rhythm, contrast and controls across page families. */
.polish-content{padding-top:clamp(28px,4vw,52px)!important;padding-bottom:48px!important}
.polish-content :is(.login-form-serein,.download-card,.requirements-card,.vote-site-card){box-shadow:0 12px 36px #0002!important;border-color:#43576c!important}
.polish-content .login-form-serein{background:linear-gradient(145deg,#132436,#0e1c2b)!important;border-top:2px solid #c9ae71!important;border-radius:14px!important}
.polish-content :is(input,textarea,select){transition:border-color .16s,box-shadow .16s}
.polish-content :is(input,textarea,select):focus{border-color:#d8bd7c!important;box-shadow:0 0 0 3px #d8bd7714!important}
.polish-content .accordion-button{letter-spacing:.01em}
.polish-content .accordion-button:hover{background:#1b3044!important}
.polish-content .profile-info-list li{line-height:1.65}
.polish-content :is(.special-button,.vote-action,.vote-login-button){box-shadow:0 4px 14px #0002;transition:filter .16s}
.polish-content :is(.special-button,.vote-action,.vote-login-button):hover{filter:brightness(1.08)}
.polish-explore{margin-top:24px;padding:34px 36px;background:linear-gradient(115deg,#172a3c,#101d2b);box-shadow:0 12px 40px #0002;border-color:#c7ad7038}
.polish-explore h2{line-height:1.25;text-wrap:balance}
.polish-footer{display:grid;grid-template-columns:80px minmax(180px,1fr) minmax(320px,1.3fr);gap:28px;padding:36px max(24px,calc((100vw - 1240px)/2));align-items:center}
.polish-footer img{width:76px;height:84px}.polish-footer strong{font-size:17px;letter-spacing:.02em}.polish-footer p{max-width:35ch;line-height:1.8}
.polish-footer nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 22px;margin:0;max-width:none;width:100%}.polish-footer nav a{padding:5px 0;line-height:1.6;font-size:13px}
.refined-return{padding-block:24px}.refined-return button{min-height:44px}
.serein-public-content :is(.news-card,.wiki-guide-card){border-color:#3a4c5f;box-shadow:0 12px 32px #0002}
.serein-public-content .news-card-cover img{object-fit:cover}
.serein-public-content .wiki-reading-content{line-height:1.85}
.serein-public-content .wiki-reading-content :is(p,li){color:#c4d0db}
.serein-public-content .chapter-copy p{line-height:1.8;color:#c3cfda}
.serein-public-content .feature-chapter{padding-block:clamp(38px,5vw,66px)}
.serein-public-content .chapter-text-only{padding-block:28px}
.serein-public-content .chapter-art{padding:10px;border-color:#c2a56b50;box-shadow:0 18px 44px #0003}
.serein-public-content .feature-prologue{min-height:510px}
.serein-public-content .prologue-content{padding-block:66px}
.serein-public-content .feature-outro{padding-block:48px}
@media(max-width:768px){.polish-footer{grid-template-columns:64px 1fr;gap:20px;padding:28px 22px!important}.polish-footer img{width:60px;height:70px}.polish-footer nav{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}.polish-footer nav a{min-height:36px}.polish-explore{margin-inline:18px;padding:24px}.polish-explore nav{min-width:0}.serein-public-content .feature-prologue{min-height:460px}.serein-public-content .prologue-content{padding-block:42px}.serein-public-content .feature-chapter{padding-block:36px}}
@media(prefers-reduced-motion:reduce){.polish-header #polish-nav a,.polish-content :is(input,textarea,select,.special-button){transition:none}}

.polish-form-page{padding-bottom:24px!important}.polish-form-page+.polish-explore{margin-top:0}
@media(min-width:1191px){.polish-header #polish-nav{order:1!important}.current-actions{order:2!important}.polish-header .polish-logo{order:0!important}}
.polish-header .polish-language select{width:96px!important;max-width:96px!important;padding:0 10px!important}.current-actions .polish-play{font-size:13px!important}
@media(max-width:768px){.polish-header .polish-language select{width:77px!important;max-width:77px!important}}
/* SEREIN_FOLLOWUP_CHROME: one active indicator, SVG flags, consistent actions. */
.polish-header #polish-nav a[aria-current=page]{text-decoration:none!important;border-bottom:0!important;box-shadow:inset 0 -2px #efd087!important}.polish-header #polish-nav a[aria-current=page]:before,.polish-header #polish-nav a[aria-current=page]:after{display:none!important}
.current-community summary{display:flex;align-items:center;gap:7px}.ui-chevron{display:inline-block!important;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 2px 3px 4px!important;flex:none}details[open]>summary .ui-chevron{transform:rotate(225deg);margin-top:4px!important}
.current-actions>.refined-signout{display:flex;align-items:center;justify-content:center;border:1px solid #355069;border-radius:7px;min-height:48px;padding:0 13px;font-weight:500;color:#dbe7f2!important;background:#0c1724}.current-actions :is(.current-account,.polish-play){height:48px;box-shadow:none!important}.current-actions{gap:10px!important}
.language-picker{position:relative;flex:none}.language-picker summary{list-style:none;display:flex;gap:9px;align-items:center;justify-content:center;height:48px;padding:0 12px;border:1px solid #355069;border-radius:7px;background:#0c1724;color:#e4ecf5;font:600 12px system-ui;cursor:pointer}.language-picker summary::-webkit-details-marker{display:none}.language-picker img{display:inline-block!important;width:22px!important;height:14px!important;object-fit:cover;border-radius:2px;flex:none}.language-picker>nav{display:flex!important;position:absolute;top:calc(100% + 8px);right:0;min-width:180px;flex-direction:column!important;align-items:stretch!important;gap:3px!important;padding:8px!important;border:1px solid #355069;background:#101e2d;border-radius:10px;box-shadow:0 18px 36px #0006;z-index:110}.language-picker>nav>a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:5px}.language-picker>nav>a:hover,.language-picker>nav>a[aria-current=true]{background:#d8bd7715;color:#f4d385}.language-picker summary:focus-visible{outline:2px solid #f4d385;outline-offset:3px}
a[href*="discord.gg/"]:before,a[href*="discord.com/invite/"]:before{content:'';display:inline-block;width:20px;height:20px;flex:none;background:url('/media/ui/discord.svg') center/contain no-repeat;vertical-align:middle;margin-right:7px}a[href*="discord.gg/"]{align-items:center}a[href*="discord.gg/"]>svg{display:none}
.floating-top{position:fixed;right:24px;bottom:max(24px,env(safe-area-inset-bottom));z-index:90;width:48px;height:48px;display:grid;place-items:center;border:1px solid #d9bd79a0;border-radius:50%;background:#132334;color:#f4d385;box-shadow:0 8px 25px #0005;cursor:pointer;font:24px/1 system-ui;transition:background .2s,transform .2s}.floating-top[hidden]{display:none!important}.floating-top:hover{background:#263a50;transform:translateY(-3px)}.floating-top:focus-visible{outline:2px solid #f4d385;outline-offset:4px}
/* SEREIN_SINGLE_VOTE_PRESENTATION: keep existing voting URLs, rewards, cooldowns and handlers. */
.polish-content .vote-sites-grid:has(>.vote-site-card:only-child){display:block!important;max-width:760px;margin:28px auto!important}.polish-content .vote-site-card:only-child{display:grid;grid-template-columns:180px 1fr;column-gap:30px;align-items:center;padding:30px!important;background:radial-gradient(ellipse at top left,#25374a,#101e2d)!important}.polish-content .vote-site-card:only-child .vote-site-image{grid-row:1/6;min-height:150px!important;height:auto!important;background:#0a152180}.polish-content .vote-site-card:only-child>div:not(.vote-site-image){min-width:0}.polish-content .vote-site-card:only-child :is(.vote-action,.vote-action-disabled){justify-self:start;min-width:210px;text-align:center}.polish-content .vote-header{border-top:2px solid #d7ba7b!important}
@media(max-width:1320px) and (min-width:769px){.current-nav-shell{flex-wrap:wrap!important}.polish-header #polish-nav{order:3!important;flex:1 0 100%;justify-content:center;gap:24px}.current-actions{order:2!important}}
@media(max-width:768px){.current-actions{gap:6px!important;flex-wrap:wrap}.language-picker summary,.current-actions>.refined-signout,.current-actions .current-account{min-height:42px;height:42px;padding-inline:10px}.current-actions .current-account{font-size:12px}.current-actions>.refined-signout{font-size:11px}.language-picker summary{padding:0 9px}.language-picker img{width:20px!important}.current-nav-shell{gap:8px}.polish-header .polish-logo{margin-right:auto}.floating-top{right:14px;bottom:max(16px,env(safe-area-inset-bottom));width:44px;height:44px}.polish-content .vote-site-card:only-child{display:block;padding:24px!important}.polish-content .vote-site-card:only-child .vote-site-image{min-height:100px!important;margin-bottom:20px}.polish-content .vote-site-card:only-child :is(.vote-action,.vote-action-disabled){display:block;width:100%;min-width:0}}
@media(prefers-reduced-motion:reduce){.floating-top{transition:none}}
.polish-content .vote-site-card:only-child{width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box}.polish-content .vote-site-card:only-child .vote-site-image{grid-column:1;grid-row:1/8}.polish-content .vote-site-card:only-child>:not(.vote-site-image){grid-column:2}.polish-content .vote-site-card:only-child .vote-action{max-width:100%;box-sizing:border-box}@media(max-width:768px){.polish-content .vote-site-card:only-child{grid-template-columns:1fr}}
.discord-community-card h3:before{content:'';display:inline-block;width:25px;height:25px;background:url('/media/ui/discord.svg') center/contain no-repeat;vertical-align:middle;margin-right:10px}
