@font-face{font-family:Chakra;src:url('assets/fonts/ChakraPetch-Medium.ttf');font-display:swap}
@font-face{font-family:Display;src:url('assets/fonts/SpecialGothicExpandedOne-Regular.ttf');font-display:swap}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;color:#302a24;background:#f0ebe4;font-family:Chakra,sans-serif}
[hidden]{display:none!important}a{color:#7433df}button,input,textarea,select{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,header:focus-visible{outline:3px solid #e2328b;outline-offset:3px}
#desktop{min-height:100vh;background:linear-gradient(#f0ebe4 20%,#f0ebe400 90%),radial-gradient(circle,#ded9d380 6px,transparent 7px) 0 0/22px 22px}
.masthead{display:flex;align-items:center;gap:38px;padding:30px}.masthead img{width:90px;max-height:48px;object-fit:contain}.masthead i,.rules{height:15px;flex:1;border-top:2px solid #d5cec5;border-bottom:2px solid #d5cec5;background:linear-gradient(transparent 5px,#d5cec5 5px,#d5cec5 7px,transparent 7px)}
.mobile-legal-nav{display:flex;justify-content:center;gap:8px;padding:0 14px 4px}.mobile-legal-nav a{color:inherit;text-decoration:none;border:1px solid #c9bcac;border-radius:22px;padding:7px 14px;background:#faf8f5;white-space:nowrap}
.icons{display:flex;flex-wrap:wrap;gap:24px;padding:15px 50px}.shortcut{color:inherit;text-decoration:none;text-align:center;display:grid;justify-items:center;gap:8px;min-width:74px;font-size:14px}.shortcut span{display:grid;place-items:center;width:62px;height:49px;font-size:26px;background:#ffdc7e;border-top:6px solid #edb563;border-radius:3px}
.window{position:relative;margin:24px auto;scroll-margin-top:14px;border:6px solid white;background:#f0ebe4;border-radius:13px;box-shadow:0 3px 7px #302a2430;max-width:760px;overflow:hidden}
.window header{min-height:49px;padding:10px 18px;display:flex;align-items:center;gap:16px;user-select:none}.window strong{font-size:13px;letter-spacing:2px;white-space:nowrap}.controls{display:none;gap:8px}.controls button{background:transparent;border:1px solid #c9bcac;border-radius:2px;width:30px;height:30px;font:22px sans-serif}.content{padding:22px 38px;overflow-wrap:anywhere;scrollbar-color:#a3998c #e2dcd4;scrollbar-width:thin}.logo{width:178px;max-height:70px;object-fit:contain;object-position:left}h1{font:clamp(28px,3vw,46px)/1.12 Display,sans-serif;margin:26px 0 34px}h1 em{font-style:normal;color:#e2328b;text-decoration:underline;text-decoration-color:#faa44a}h2{font:36px/1.15 Display,sans-serif;margin:8px 0 26px}h3{font-size:20px;margin:28px 0 10px}p,li{line-height:1.45}li+li{margin-top:10px}.loading{font-size:13px;color:#6f655a}.loading:empty{display:none}
.welcome-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin:36px 0 18px}.discord-cta,.steam-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 17px;border-radius:8px;background:#373b80;color:white;font-size:18px;text-decoration:none;box-shadow:0 3px 0 #292d61,0 5px 0 #fff;white-space:nowrap}.steam-cta{background:#515568;box-shadow:0 3px 0 #333746,0 5px 0 #fff}.discord-cta:hover{background:#444997}.steam-cta:hover{background:#63687d}.discord-cta:active,.steam-cta:active{transform:translateY(2px)}.discord-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:6px;background:#6265ee}.discord-mark svg{width:21px;height:21px}
.faq-item{padding:18px 0}.faq-item summary{cursor:pointer;font-size:20px;font-weight:bold;line-height:1.35}.faq hr{border:0;border-top:2px dashed #c6bbaf;margin:0}.blue{background:#3b50e9;color:#fff}.blue .rules{opacity:.6}.blue .controls button{border-color:#a8b8ff;color:white}.blue a{color:#fff}.release{margin:30px 0 44px}.release-header{display:flex;gap:20px;align-items:baseline;flex-wrap:wrap}.release-version{font-size:19px;letter-spacing:1px}.release-date{color:#d9e4ff;font-size:13px}.release-notes{padding-left:24px}#load-more{display:block;margin:16px 0 28px auto;background:transparent;color:white;border:1px solid #b0bcff;border-radius:4px;padding:10px 16px;letter-spacing:2px;text-transform:uppercase}
.field{display:grid;gap:8px;margin:20px 0}input:not([type=hidden]),textarea,select{width:100%;background:#ebe5db;border:1px solid #cfc5b8;border-radius:10px;padding:13px 18px}textarea{resize:vertical;min-height:120px}label{font-size:16px}.optional{color:#6f655a}#submit-btn,#submit-another{display:block;background:#191919;color:white;border:1px solid white;border-radius:9px;padding:12px 22px;margin:18px 0 12px auto;box-shadow:0 3px 2px #302a2440}#submit-btn:disabled{opacity:.5}.char-counter-row{display:flex;justify-content:space-between}.char-counter{font-size:12px;color:#6f655a}.near-limit,.field-error,.error-summary{color:#a92230}.error-summary,.success-message{padding:16px;background:#fff8;border:1px solid currentColor;border-radius:8px}.success-message{color:#226433}.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.section h3{font-size:22px}.section ul{padding-left:22px}.window hr{border:0;border-top:1px solid #c9bcac}
#cats,#curtain,#skip,.desktop-hint{display:none}.taskbar{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px;flex-wrap:wrap;background:#f0ebe4;border-top:1px solid #c9bcac}.taskbar a{color:inherit;text-decoration:none}#restore{display:flex;flex-wrap:wrap;gap:8px}.restore,#sound{border:1px solid #c9bcac;border-radius:22px;padding:8px 16px;background:#faf8f5;white-space:nowrap}.restore[aria-current=true]{background:#e0d9ce}.studio{padding:10px 18px;border-radius:25px;background:#1e1c1a;color:#a39787!important;font-size:13px;white-space:nowrap}.studio b{color:white}time{white-space:nowrap}#sound{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html.desktop,html.desktop body{height:100vh;overflow:hidden}.desktop #desktop{height:calc(100% - 60px);min-height:0}.desktop .window{position:absolute;margin:0;max-width:none;min-width:320px;min-height:200px;z-index:100}.desktop .window header{height:49px;cursor:grab;touch-action:none}.desktop .controls{display:flex}.desktop .content{height:calc(100% - 49px);overflow:auto;overscroll-behavior:contain}.desktop #cats{display:block;position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:2200}.desktop #curtain{display:block;position:fixed;inset:0;background:#f0ebe4;z-index:1000;pointer-events:none;opacity:0;transition:opacity .65s}.desktop.intro #curtain{opacity:1}.intro .welcome{z-index:1100!important}.desktop.intro #skip{display:block;position:fixed;right:28px;bottom:82px;z-index:3000;background:#f8f5ef;border:1px solid #c9bcac;border-radius:22px;padding:10px 17px}kbd{font:12px Chakra;border:1px solid #c9bcac;border-radius:4px;padding:1px 5px;margin-left:8px}.desktop .taskbar{position:fixed;bottom:0;width:100%;height:60px;z-index:2100;flex-wrap:nowrap;padding:0 20px;gap:12px;justify-content:flex-start}.desktop #restore{flex-wrap:nowrap;overflow-x:auto;min-width:0;margin-right:auto;scrollbar-width:thin}.desktop .restore{font-size:13px;padding:7px 13px}.desktop #sound{display:block;white-space:nowrap;font-size:13px;padding:7px 13px}.intro .taskbar{visibility:hidden}.desktop .desktop-hint{display:block;position:absolute;bottom:25px;left:40px;background:#f0ebe4;border:1px solid #c9bcac;border-radius:14px;padding:18px 25px;font-size:14px;pointer-events:none}.resize{position:absolute;touch-action:none;z-index:1}.resize[data-edge=n],.resize[data-edge=s]{left:12px;right:12px;height:6px;cursor:ns-resize}.resize[data-edge=n]{top:0}.resize[data-edge=s]{bottom:0}.resize[data-edge=e],.resize[data-edge=w]{top:12px;bottom:12px;width:6px;cursor:ew-resize}.resize[data-edge=e]{right:0}.resize[data-edge=w]{left:0}.resize[data-edge=ne],.resize[data-edge=nw],.resize[data-edge=se],.resize[data-edge=sw]{width:12px;height:12px}.resize[data-edge=ne]{right:0;top:0;cursor:nesw-resize}.resize[data-edge=nw]{left:0;top:0;cursor:nwse-resize}.resize[data-edge=se]{right:0;bottom:0;cursor:nwse-resize}.resize[data-edge=sw]{left:0;bottom:0;cursor:nesw-resize}.window.maximized .resize{display:none}
.desktop .mobile-legal-nav{display:none}
@media(max-width:1100px){.studio{display:none}.masthead{padding:22px}.icons{padding:10px 28px}.content{padding:20px 26px}}
@media(max-width:767px){.window{margin:22px 14px}.content{padding:18px 22px}h2{font-size:28px}.window header{padding:10px 14px}.window strong{font-size:12px;letter-spacing:1px}.rules{min-width:10px}.icons{justify-content:center;gap:18px;padding:12px}.welcome-actions{flex-direction:column}.taskbar time{display:none}}
@media(prefers-reduced-motion:reduce){#curtain{transition:none!important}}

html:not(.desktop) .resize{display:none}
/* Keep the transparent WebGL canvas above the taskbar. Chromium can otherwise
   apply the bottom bar occlusion to the top of the flipped canvas texture. */
html[data-intro-phase=revealing] .welcome{z-index:1100!important}

.window strong{min-width:0;overflow:hidden;text-overflow:ellipsis}.controls{flex-shrink:0}.window .rules{min-width:0}
/* Geometry before app.js applies inline window rectangles. */
.desktop:not(.windows-ready) .window{display:none;width:min(740px,calc(100vw - 40px));height:min(760px,calc(100vh - 100px));left:max(20px,calc((100vw - 740px)/2));top:max(20px,calc((100vh - 820px)/2))}
.desktop:not(.windows-ready)[data-initial-window=welcome] #welcome,.desktop:not(.windows-ready)[data-initial-window=faq] #faq,.desktop:not(.windows-ready)[data-initial-window=changelog] #changelog,.desktop:not(.windows-ready)[data-initial-window=feedback] #feedback,.desktop:not(.windows-ready)[data-initial-window=privacy] #privacy,.desktop:not(.windows-ready)[data-initial-window=terms] #terms,.desktop:not(.windows-ready)[data-initial-window=eula] #eula{display:block}
.desktop:not(.windows-ready) .welcome{width:min(650px,calc(100vw - 40px));height:min(530px,calc(100vh - 100px));left:max(20px,calc((100vw - 650px)/2));top:max(20px,calc((100vh - 590px)/2))}
.desktop:is(.intro,[data-intro-phase=revealing]):not(.windows-ready) .welcome{--intro-top:max(96px,calc((100vh - 590px)/2));top:var(--intro-top);height:min(530px,calc(100vh - 80px - var(--intro-top)))}
