:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#233c32;background:#f5f4ef;font-synthesis:none;--green:#2c604a;--muted:#707a73;--line:#dedfd7}
*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}button,input,a{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}[hidden]{display:none!important}a{color:inherit;text-decoration:none}button{border:0}button,a,input,summary{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #c27b36}input:focus{border-color:var(--green)}.topbar{height:96px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 6vw;gap:16px}.brand{display:flex;align-items:center;gap:11px;font-size:27px;font-weight:750;letter-spacing:-1px;min-height:44px}.brand-icon{width:38px;height:38px;background:var(--green);color:#fff;border-radius:12px;display:grid;place-items:center;font-size:30px;font-weight:400}.private{font-size:10px;font-weight:600;letter-spacing:1.5px;border-left:1px solid #c5ccc3;margin-left:14px;padding-left:24px;color:var(--muted)}.quiet,.text-button{background:transparent;color:var(--green);min-height:44px;padding:10px 12px}.quiet{display:flex;align-items:center;gap:20px}.quiet:hover,.text-button:hover{text-decoration:underline}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2.1px;margin:0 0 20px}.muted{color:var(--muted);line-height:1.65}h1,h2,p{margin-top:0}h1{font-size:54px;font-weight:650;line-height:1.09;letter-spacing:-2px}h2{font-size:27px;font-weight:650;letter-spacing:-.7px}.login-layout{width:min(1080px,88vw);margin:auto;display:grid;grid-template-columns:1fr 430px;align-items:center;gap:90px;padding:60px 0}.welcome>p:not(.eyebrow){line-height:1.8;font-size:17px;color:var(--muted)}.welcome h1{margin-bottom:25px}.welcome-art{position:relative;width:310px;height:200px;margin:35px 0 0 23px}.paper{position:absolute;width:236px;height:160px;border:1px solid #d1d7cc;border-radius:11px}.paper-back{background:#d9e1d2;transform:rotate(-10deg);left:4px;top:12px}.paper-front{background:#ecece3;transform:rotate(4deg);padding:18px;left:20px;top:7px;box-shadow:0 8px 25px #233c3209;display:flex;flex-direction:column;justify-content:space-between}.paper-front>span{font:10px monospace;letter-spacing:2px}.paper-front>small{font-size:10px;color:#7d8578}.controller{margin:auto;width:108px;height:52px;border:2px solid #628068;border-radius:19px;display:flex;align-items:center;justify-content:space-around;background:#e2e8db}.controller i{width:20px;height:6px;background:#628068;position:relative}.controller i:after{content:"";position:absolute;width:6px;height:20px;left:7px;top:-7px;background:#628068}.controller b{color:#628068;letter-spacing:4px;font-size:15px}.stamp{position:absolute;right:-3px;bottom:12px;color:#aa754b;border:1px solid #aa754b;border-radius:50%;width:80px;height:80px;display:grid;place-content:center;text-align:center;font-size:10px;font-weight:700;line-height:1.5;letter-spacing:1px;transform:rotate(-13deg);background:#f5f4ef}.login-card{padding:36px;background:#fffefa;border:1px solid #e0e2d9;border-radius:18px;box-shadow:0 12px 45px #263f3205}.small-icon{width:44px;height:44px;background:#eef2e9;border:1px solid #e1e6db;border-radius:13px;display:grid;place-items:center;font-size:24px;margin-bottom:29px}.login-card .eyebrow{font-size:10px;margin-bottom:12px}.login-card h2{margin-bottom:10px}.login-card>.muted{font-size:14px;margin-bottom:29px}label{display:block;font-size:13px;font-weight:600;margin-bottom:9px}input{width:100%;min-height:49px;background:#fffefa;border:1px solid #ced5ca;border-radius:7px;padding:12px;color:#233c32}input#username{margin-bottom:16px}.password-label{display:flex;align-items:center;justify-content:space-between}.password-label label{margin:0}.password-label button{font-size:12px;padding:10px 0}.primary{min-height:48px;background:var(--green);color:white;border:1px solid var(--green);border-radius:8px;padding:13px 18px;display:flex;align-items:center;justify-content:center;gap:28px;font-size:14px;font-weight:600}.primary:hover{background:#214c3a}.login-card .primary{width:100%;justify-content:space-between;margin-top:18px}.error{color:#a83928;font-size:13px;line-height:1.5;margin:12px 0}.error:empty{display:none}.login-note{font-size:11px;line-height:1.6;text-align:center;color:var(--muted);margin:22px 0 0}.footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:24px 6vw;font-size:11px;color:#7e877d;gap:20px;margin-top:auto}.catalog{width:min(1200px,88vw);margin:0 auto;padding:64px 0 45px;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px}.page-heading .eyebrow{margin-bottom:17px}.page-heading h1{font-size:48px;margin-bottom:16px}.heading-dot{color:#bf9366}.page-heading .muted{font-size:15px;margin-bottom:0}.access-mark{font-size:11px;display:flex;align-items:center;gap:9px;color:#707d70;border:1px solid #d6dbcf;border-radius:24px;padding:11px 15px}.access-mark>span{color:var(--green);font-size:19px}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;margin:44px 0 27px;border-bottom:1px solid var(--line);gap:16px}.filters{display:flex;gap:26px;flex-wrap:wrap}.filter{background:transparent;min-height:55px;color:var(--muted);padding:0 1px;border-bottom:2px solid transparent;font-size:13px;white-space:nowrap}.filter.active{color:var(--green);border-color:var(--green);font-weight:650}.filter span{display:inline-grid;place-items:center;width:21px;height:21px;background:#e7ebdf;border-radius:5px;font-size:10px;margin-left:5px}.shelf-count{font:11px monospace;color:#8c9588;margin:0}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.game-card{border:1px solid #dcded4;border-radius:14px;background:#fffefa;overflow:hidden}.game-cover{height:215px;position:relative;background:#dbe6d7;overflow:hidden;isolation:isolate}.cover-image{position:absolute;width:100%;height:100%;object-fit:cover;z-index:-2;inset:0}.postal:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#162b2c8c,transparent 65%)}.status{position:absolute;top:17px;left:17px;font-size:10px;padding:7px 10px;border-radius:5px;background:#fff7e7;color:#7c571b;font-weight:650;box-shadow:0 2px 8px #0001}.status.development{background:#e8edf9;color:#405980}.status.finished{background:#e5f1e6;color:#2c604a}.cover-stamp{position:absolute;left:20px;bottom:18px;color:#fff4df;font:10px monospace;letter-spacing:2px}.generic-cover{display:grid;place-items:center;height:100%;font-size:90px;color:#709274}.game-body{padding:24px}.game-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.game-title h2{font-size:26px;margin:0}.game-number{font:10px monospace;color:#969c90}.build-date{font-size:11px;color:var(--muted);margin:12px 0 23px}.play{justify-content:space-between;width:100%}.versions{border-top:1px solid #e6e7de;margin-top:22px;padding-top:4px}.versions summary{font-size:11px;min-height:44px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;color:#657363;list-style:none}.versions summary::-webkit-details-marker{display:none}.versions summary:after{content:"+";font-size:18px}.versions[open] summary:after{content:"−"}.version-list{padding:0;list-style:none;margin:0}.version-row{border-top:1px solid #e7e8e0;padding:15px 0;display:flex;flex-direction:column;gap:10px}.version-row strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}.version-row small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.version-row code{display:block;font-size:9px;color:#8b9487;margin-top:6px;overflow-wrap:anywhere}.version-actions{display:flex;align-items:center;gap:10px;justify-content:flex-end}.version-actions>a{font-size:11px}.secondary{min-height:44px;background:#f0f2e9;border:1px solid #d4dccd;color:var(--green);border-radius:7px;padding:10px 14px;font-size:12px}.secondary:hover{background:#e3e9da}.current-badge{font-size:10px;color:var(--green);padding:8px 0}.version-note{border-top:1px solid var(--line);margin-top:60px;padding-top:26px;display:flex;align-items:center;gap:18px;color:#75806f}.version-note>span:first-child{font-size:28px;line-height:1;align-self:flex-start}.version-note strong{font-size:12px;font-weight:600}.version-note p{font-size:11px;margin:7px 0 0;line-height:1.6}.note-number{margin-left:auto;font:24px Georgia,serif;color:#adb5a5}.empty{padding:65px 20px;text-align:center;border:1px dashed #ccd4c3;border-radius:14px}.empty>span{font-size:36px;color:#839579}.empty h2{font-size:22px;margin:18px 0 10px}.empty p{font-size:14px;margin-bottom:0}#loading{padding:60px 6vw;flex:1}dialog{border:1px solid #d5dccd;border-radius:17px;padding:0;background:#fffefa;color:#233c32;width:min(480px,calc(100% - 32px));box-shadow:0 30px 100px #12251b33}dialog::backdrop{background:#192b2380;backdrop-filter:blur(3px)}.dialog-inner{padding:30px}.dialog-inner h2{font-size:26px;line-height:1.2}.dialog-inner p.muted{font-size:13px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}#toast:not(:empty){position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:17px 25px;border-radius:10px;background:#233c32;color:#fff;font-size:13px;box-shadow:0 10px 40px #0002;width:max-content;max-width:90vw}
@media(min-width:1500px){.game-cover{height:235px}}
@media(max-width:1000px){.login-layout{gap:45px;grid-template-columns:1fr 390px}.welcome h1{font-size:44px}.welcome-art{transform:scale(.85);transform-origin:left center;margin-left:0}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.private{display:none}.filters{gap:20px}}
@media(max-width:740px){.topbar{height:77px;padding:0 6vw}.brand{font-size:24px}.brand-icon{width:34px;height:34px;font-size:27px}.login-layout{display:block;width:min(430px,88vw);padding:38px 0;margin:0 auto}.welcome .eyebrow{margin-bottom:15px}.welcome h1{font-size:37px}.welcome h1 br{display:none}.welcome>p:not(.eyebrow),.welcome-art{display:none}.login-card{margin-top:28px;padding:27px}.login-card .small-icon{display:none}.login-card h2{font-size:26px}.footer{padding:20px 6vw;font-size:10px}.footer>span:last-child{display:none}.catalog{padding:38px 0 32px}.page-heading h1{font-size:40px}.page-heading .muted{font-size:13px}.page-heading .eyebrow{font-size:10px}.access-mark{display:none}.catalog-toolbar{margin-top:28px;gap:0}.filters{gap:0;width:100%;justify-content:space-between}.filter{font-size:11px;padding:0 4px;min-height:52px}.filter span{width:18px;height:18px;margin-left:2px}.shelf-count{display:none}.game-grid{grid-template-columns:1fr;gap:22px}.game-cover{height:230px}.game-body{padding:22px}.version-note{margin-top:35px;gap:12px}.note-number{font-size:20px;white-space:nowrap}.version-note strong{font-size:11px}.version-note p{font-size:10px}.dialog-actions{flex-wrap:wrap}.dialog-inner{padding:25px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s,color .15s}.game-card{animation:appear .25s ease-out}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
