/* Shared homepage navigation. Edit this surface for both the cottage and games. */
body>header{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:normal;box-sizing:border-box}body>header a{border:0;background:transparent;text-decoration:none;box-shadow:none;margin:0}body>header .brand{line-height:normal}body>header nav a{line-height:1.4;font:inherit}body>header .brand-icon svg{display:block}body>header [hidden]{display:none!important}
header{max-width:1040px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:28px 40px;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:11px;font-size:13px;font-weight:550;letter-spacing:.3px}
.brand-icon{width:32px;height:32px;border:1px solid #6f5d53;border-radius:8px;color:var(--accent);display:grid;place-items:center;font-size:16px}
.brand-sub{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px;letter-spacing:1px}
body>header nav{display:flex;gap:24px;align-items:center;font-size:12px;color:var(--muted)}
@media(max-width:650px){header{padding:22px 22px}
body>header nav{gap:18px}
.brand{font-size:12px}
}
.brand-icon{background:#38302b;border-color:#66564d;color:#d0bfb6}
header{color:#ded6bc;border-color:#5d4e46;padding-top:25px;padding-bottom:25px}
.brand-icon{background:#3c332d;border:1px solid #9d7b66;border-radius:50%;width:42px;height:42px;color:#bfa89b}
.brand-icon svg{width:34px;height:34px}
.brand-sub{color:#aaa991}
.brand{font-family:"Songti SC","STSong",Georgia,serif;font-size:15px}
body>header nav{color:#bca496}
@media(max-width:650px){header{padding:20px 23px}
.brand-icon{width:34px;height:34px}
.brand-icon svg{width:29px;height:29px}
.brand{font-size:13px}
}
.brand{font-family:HunterTitle,"Songti SC",serif;font-weight:600;font-synthesis:none}
@media(max-width:650px){header nav{gap:15px!important}
}
header nav a{position:relative}
header nav a:after{content:"";position:absolute;bottom:-6px;left:50%;width:0;height:1px;background:#d4bf83;transition:width .25s,left .25s}
header nav a:hover:after,header nav a:focus-visible:after{width:100%;left:0}
@media(hover:hover) and (pointer:fine){.brand:hover .brand-icon{transform:rotate(-8deg)}
}
.brand-icon{transition:transform .25s,background .25s,color .25s}
@media(max-width:650px){header{padding:14px 18px!important;gap:12px}
.brand-icon{width:32px!important;height:32px!important}
.brand-sub{font-size:10px!important}
header nav{gap:14px!important;font-size:12px}
}
@media(max-width:360px){header nav{gap:10px!important}
.brand{font-size:12px!important}
}
.reading-brand .brand-sub{margin:0;font-size:11px;letter-spacing:2px}
@media(max-width:650px){.reading-brand .brand-sub{font-size:10px!important;letter-spacing:1px}
}
header{max-width:1180px;border:0!important;padding:20px 28px!important;align-items:center}
header nav a{color:#423731}
.brand{color:#352d28!important;font-family:inherit!important;font-weight:650}
.brand-sub{color:#93715e!important}
.brand-icon{color:#554840;border:0!important;background:none!important}
.brand-icon svg{width:36px;height:36px}
@media(max-width:650px){header{padding:16px 19px!important}
}
header nav a.active{color:#382f2a!important}
header nav a:after{background:#ba8b37}
@media(min-width:651px){header .brand>span:last-child{font-size:16px}
header .brand .brand-sub{display:inline!important;margin-left:0!important;font:inherit!important;color:#352d28!important;letter-spacing:0!important}
}
body>header{position:sticky;top:10px;z-index:20;width:calc(100% - 32px);max-width:1120px!important;margin:10px auto!important;padding:13px 22px!important;border:1px solid #ffffffa8!important;border-radius:16px;background:#f2ece9e8!important;box-shadow:inset 0 1px 0 #fff9,0 5px 18px #352d2810;min-height:66px}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body>header{background:linear-gradient(120deg,#f7f4f2cc,#eee5e0ad)!important;-webkit-backdrop-filter:blur(12px) saturate(125%);backdrop-filter:blur(12px) saturate(125%)}
}
body:has(.modern-home)>header{margin-bottom:-76px!important}
body>header nav a{padding:8px 10px;border-radius:9px;color:#453a34!important;transition:background .16s ease-out}
body>header nav a:hover{background:#fff5}
body>header .brand-icon{background:#ffffff35!important}
@media(max-width:650px){body>header{top:8px;width:calc(100% - 20px);padding:10px 12px!important;border-radius:13px;min-height:62px}
body>header nav{gap:2px!important}
body>header nav a{padding:8px 6px}
body:has(.modern-home)>header{margin-bottom:-72px!important}
}
@media(prefers-reduced-transparency:reduce){body>header{background:#f2ece9!important;backdrop-filter:none;-webkit-backdrop-filter:none}
}
body>header{border-radius:0!important;clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px);box-shadow:inset 0 0 0 1px #ffffff90!important}
body>header nav a{border-radius:2px}
@media(min-width:651px){body>header{padding:11px 26px!important;min-height:64px}
body>header .brand{font-size:17px!important}
body>header nav{gap:13px!important;font-size:16px!important}
body>header nav a{padding:10px 16px;font-weight:550;line-height:1.4}
body>header .brand-icon{width:36px!important;height:36px!important}
body:has(.modern-home)>header{margin-bottom:-74px!important}
}
body>header{clip-path:none!important;border-radius:5px!important;border:1px solid #6f5e5429!important;background:linear-gradient(120deg,#f2ece9ce,#ebe1dcb8)!important;box-shadow:0 5px 18px #27211d26!important}
body>header .brand-icon{border-color:#6c5b5140!important}
@media(prefers-reduced-transparency:reduce){body>header{background:#f2ece9!important}
}
body>header{border-radius:0!important}
body>header{clip-path:none!important;border-radius:22px!important;border:1px solid #ffffff38!important;background:#faf8f7e8!important;box-shadow:inset 0 1px 0 #ffffff73,0 8px 24px #1d18151c!important;color:#372f2a}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body>header{background:linear-gradient(135deg,#ffffff63,#f9f6f536)!important;-webkit-backdrop-filter:blur(18px) saturate(115%);backdrop-filter:blur(18px) saturate(115%)}
}
body>header nav a,body>header .brand,body>header .brand-sub{color:#322a26!important;text-shadow:0 1px 1px #ffffff45}
body>header nav a{border-radius:12px;transition:background .18s ease-out}
body>header nav a:hover{background:#ffffff35}
body>header .brand-icon{background:transparent!important;border-color:#52453d2e!important;color:#4b4039!important}
@media(max-width:650px){body>header{border-radius:18px!important;-webkit-backdrop-filter:blur(14px) saturate(115%);backdrop-filter:blur(14px) saturate(115%)}
}
@media(prefers-reduced-transparency:reduce){body>header{background:#f9f6f4!important;-webkit-backdrop-filter:none;backdrop-filter:none}
}
body>header nav a:link,body>header nav a:visited,body>header .brand:link,body>header .brand:visited,body>header .brand span{color:#322a26!important}
body>header nav a{transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .22s ease,transform .22s cubic-bezier(.2,.7,.3,1)!important;transform:translateY(0)}
@media(hover:hover) and (pointer:fine){body>header nav a:hover{transform:translateY(-1px);background:#ffffff45!important}
}
@media(prefers-reduced-motion:reduce){body>header nav a{transition:none!important;transform:none!important}
}
.language-switch{font:600 12px/1.2 -apple-system,sans-serif!important;padding:7px 9px!important;border:1px solid #dfd0c7;border-radius:10px;white-space:nowrap}
html[lang=en] .brand{font-size:15px!important}
html[lang=en] header nav{gap:12px!important}
@media(max-width:650px){header nav{gap:10px!important}
.language-switch{font-size:11px!important;padding:6px 7px!important}
html[lang=en] .brand{font-size:12px!important}
html[lang=en] header nav{gap:8px!important;font-size:12px!important}
}
html[lang=en] .brand-sub{margin-left:5px}
html[lang=en] .hero-title .brand-sub{margin-left:0}
@media(max-width:650px){html[lang=en] header .brand{flex-shrink:0;gap:6px!important;font-size:11px!important}
html[lang=en] header .brand>span:last-child{white-space:nowrap}
html[lang=en] header .brand-icon{width:26px!important;height:26px!important}
html[lang=en] header .brand-sub{display:block;white-space:nowrap;font-size:9px!important;letter-spacing:0!important;margin-left:0}
html[lang=en] header nav a{padding:7px 4px!important;font-size:11px!important}
html[lang=en] header nav{gap:4px!important}
}
body>header nav a.language-switch,html[lang=en] body>header nav a.language-switch{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;aspect-ratio:1!important;padding:0!important;border:1px solid #1c1815!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;color:#1c1815!important;font:500 11px/1 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif!important;letter-spacing:0!important;clip-path:none!important;transform:none!important;text-decoration:none!important;transition:background-color .2s ease!important}
body>header nav a.language-switch:hover,html[lang=en] body>header nav a.language-switch:hover{background:rgba(0,0,0,.05)!important;color:#1c1815!important;border-color:#1c1815!important;box-shadow:none!important;transform:none!important}
@media(max-width:650px){body>header nav a.language-switch,html[lang=en] body>header nav a.language-switch{flex-basis:30px!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;font-size:10px!important}
}
body>header{border-color:rgba(52,44,40,.12)!important;box-shadow:0 8px 24px rgba(29,24,21,.10)!important}
body>header nav a,body>header .brand,body>header .brand-sub{text-shadow:none!important}
body>header nav a.language-switch,html[lang=en] body>header nav a.language-switch{font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace!important;font-weight:500!important;font-stretch:normal!important;font-kerning:normal!important;font-variant:normal!important;text-shadow:none!important;letter-spacing:0!important;margin-left:8px!important}
@media(max-width:650px){body>header nav a.language-switch,html[lang=en] body>header nav a.language-switch{margin-left:10px!important}
html[lang=en] body>header nav{gap:3px!important}
html[lang=en] body>header nav a:not(.language-switch){padding-left:3px!important;padding-right:3px!important}
}
body>header nav a.language-switch,html[lang=en] body>header nav a.language-switch{font-size:13px!important;font-weight:600!important}
@media(max-width:650px){body>header nav a.language-switch,html[lang=en] body>header nav a.language-switch{font-size:12px!important}
}
body>header nav a.language-switch,html[lang=en] body>header nav a.language-switch{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif!important;font-weight:400!important;letter-spacing:.015em!important}
body>header nav a.language-switch{position:relative!important}
body>header nav a.language-switch:before{content:""!important;position:absolute!important;inset:-5px!important;background:transparent!important;border:0!important;border-radius:50%!important;box-shadow:none!important;clip-path:none!important;transform:none!important;pointer-events:auto!important}
@media(max-width:650px){body>header nav a.language-switch:before{inset:-8px!important}
}

body>header .brand{padding:0!important;background:transparent!important;border:0!important;min-height:0;box-shadow:none}body>header nav{justify-content:flex-start;flex:none}

/* Keep game-wide anchor treatments out of the shared navigation. */
body>header nav a:not(.language-switch){display:inline-block!important;min-height:0!important;max-height:none!important;height:auto!important;border:0!important;box-shadow:none!important;background:transparent!important;text-decoration:none!important;border-radius:12px!important;cursor:pointer;position:relative;transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .22s ease,transform .22s cubic-bezier(.2,.7,.3,1)!important}body>header nav a:not(.language-switch)::after{content:"";position:absolute;bottom:-6px;left:50%;right:auto;width:0;height:1px;border:0;background:#ba8b37;transition:width .25s,left .25s;pointer-events:none}body>header nav a:not(.language-switch):focus-visible::after{width:100%;left:0}@media(hover:hover) and (pointer:fine){body>header nav a:not(.language-switch):hover{transform:translateY(-1px)!important;background:#ffffff45!important;box-shadow:none!important;border:0!important}body>header nav a:not(.language-switch):hover::after{width:100%;left:0}}@media(prefers-reduced-motion:reduce){body>header nav a:not(.language-switch),body>header nav a:not(.language-switch)::after{transition:none!important;transform:none!important}}

body>header .brand .brand-sub{color:#322a26!important;text-shadow:none!important}
