@font-face{font-family:Bricolage;src:url("fonts/bricolage-display.woff2") format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:DM;src:url("fonts/dm-sans.woff2") format("woff2");font-weight:100 1000;font-display:swap}
:root{--ink:#32251f;--cream:#fff9eb;--paper:#fffcf4;--butter:#ffdd84;--red:#ae3c25;--rule:#c9bdab;--display:Bricolage,"Arial Black",system-ui,sans-serif;font:16px/1.48 DM,system-ui,sans-serif;color:var(--ink);background:var(--cream)}
*{box-sizing:border-box}
body{margin:0}
img{display:block;max-width:100%}
button,a{color:inherit;font:inherit;-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
[hidden]{display:none!important}
a{text-underline-offset:3px}
button:focus-visible,a:focus-visible{outline:3px solid #126f92;outline-offset:4px}
h1,h2,h3,p{margin:0}
h1,h2,h3,.brand{font-family:var(--display);font-weight:800}
.wrap{width:min(1200px,calc(100% - clamp(36px,8vw,132px)));margin-inline:auto}
.symbols{display:none}
.icon{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;top:8px;left:10px;padding:10px 14px;background:white;z-index:5}
.top{background:var(--cream);border-bottom:2px solid var(--ink)}
.top-row,.foot-row{display:flex;align-items:center;justify-content:space-between;gap:24px}
.top-row{min-height:66px}
.brand{display:inline-flex;align-items:center;gap:8px;font-size:24px;line-height:1;letter-spacing:-.048em;text-decoration:none;white-space:nowrap}
.brand img{object-fit:contain;transform:rotate(-9deg);width:32px;height:39px}
.top nav{display:flex;align-items:center;gap:31px;margin-left:auto;margin-right:8px}
.top nav a,.foot-row>a:last-child{font-size:14px;font-weight:690;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.top nav a:hover,.foot-row>a:last-child:hover{text-decoration:underline}
.surprise,.hero-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:2px solid var(--ink);border-radius:10px;text-decoration:none;font-weight:760}
.surprise{padding:8px 15px;min-height:41px;background:var(--cream);font-size:13px;box-shadow:2px 2px 0 var(--ink)}
.surprise .icon{width:17px;height:17px;transform:rotate(-8deg)}
.surprise:hover{background:#ffebbc}
.hero{position:relative;overflow:hidden;background:#ffde8c}
.hero-wrap{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:410px}
.hero-copy{position:relative;z-index:1;padding:30px 0 32px}
h1{font-size:clamp(76px,7.5vw,112px);line-height:.75;letter-spacing:-.054em;display:table;transform:rotate(-3deg);margin:0 0 21px -3px;padding:0 5px 4px 0}
h1 span{display:block;white-space:nowrap}
h1 span:first-child{color:#3b291f;position:relative;z-index:1}
h1 span+span{color:#fff5ce;-webkit-text-stroke:2.7px #3c291e;paint-order:stroke fill;text-shadow:1px 2px #3c291e,2px 3px #3c291e,3px 4px #3c291e,4px 5px #3c291e,5px 6px #3c291e;margin:5px 0 0 21px}
.hero-copy p{max-width:410px;font-size:17px;line-height:1.4;font-weight:560;margin-bottom:19px}
.hero-link{min-height:45px;padding:9px 17px;background:#ac3c26;color:#fffbed;box-shadow:3px 3px 0 #39291f;font-size:14px}
.hero-link .icon:last-child{width:15px;height:15px;margin-left:5px}
.hero-link:hover{background:#96331f}
.surprise:active,.hero-link:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.scene{position:relative;width:min(110%,660px);justify-self:center;aspect-ratio:610/380;pointer-events:none}
.scenery{display:block;width:100%;height:100%;overflow:visible}
.hero-mascot{position:absolute;left:32%;top:9%;width:47%;height:auto;transform:rotate(11deg);filter:drop-shadow(3px 6px 0 #68381b38)}
.pixel-seam{height:12px;border-block:2px solid var(--ink);background-color:#ffdc86;background-image:repeating-conic-gradient(var(--ink) 0% 25%,transparent 0% 50%);background-size:16px 16px;background-position:0 0}
.shelf{padding-block:40px 50px}
.shelf-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}
.shelf-title,.atelier-title{display:flex;align-items:center;gap:12px}
h2{font-size:clamp(31px,3.3vw,49px);letter-spacing:-.045em;line-height:1.05}
.total{align-self:center;font-size:13px;font-weight:760;background:#f5ddab;min-width:28px;height:27px;display:grid;place-items:center;border:1px solid #b69a69;border-radius:8px}
.filters{display:flex;border:1.5px solid #b7a88f;background:#fffdf7;gap:2px;padding:3px;border-radius:10px}
.filters button{background:transparent;border:0;border-radius:6px;min-height:35px;padding:5px 13px;font-weight:670;font-size:13px}
.filters button[aria-pressed=true]{background:var(--ink);color:var(--cream)}
.filters button:not([aria-pressed=true]):hover{background:#f4ead4}
.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 20px}
.game{border:2px solid var(--ink);border-radius:16px;overflow:hidden;background:var(--paper);display:flex;flex-direction:column;min-width:0;box-shadow:3px 4px 0 #3b2a201b}
.cover{position:relative;aspect-ratio:11/6;border-bottom:2px solid var(--ink);overflow:hidden;background:#ecdfc5}
.cover>img{width:100%;height:100%;object-fit:cover}
.preview-button,.dialog-close{background:var(--cream);border:1.5px solid var(--ink);color:var(--ink);border-radius:50%;width:36px;height:36px;display:grid;place-items:center;box-shadow:1px 2px 0 #35271f;position:absolute}
.preview-button{bottom:10px;right:10px;opacity:0}
.preview-button .icon{width:16px;height:16px}
.game:hover .preview-button,.preview-button:focus-visible{opacity:1}
.game-content{padding:14px 18px 15px;display:flex;flex-direction:column;flex:1}
.game-meta{display:flex;align-items:center;gap:6px;justify-content:space-between;color:#665543;font-size:11.5px;line-height:1.35;font-weight:700}
.tags{display:inline-flex;align-items:center;gap:5px;flex:none}
.medium,.fresh{border-radius:4px;padding:3px 6px;white-space:nowrap;font-size:10px}
.medium{background:#f0e9d7;color:#554738}
.fresh{background:var(--butter);color:var(--ink)}
.game h3{font-size:clamp(23px,2.2vw,34px);line-height:1.07;letter-spacing:-.038em;margin:8px 0}
.game-content>p{font-size:14px;color:#5b4d40;line-height:1.47;margin:0 0 13px}
.game-links{display:flex;align-items:center;gap:6px 13px;flex-wrap:wrap;margin-top:auto}
.game-action,.text-action{border:0;background:none;text-decoration:none;display:inline-flex;align-items:center;gap:5px;padding:3px 0;min-height:34px;color:var(--red);font-size:13px;font-weight:760}
.game-action:hover,.text-action:hover{text-decoration:underline}
.game-action .icon,.text-action .icon{width:15px;height:15px}
.game-action[data-kind=web]{padding:4px 12px;background:var(--ink);color:#fff7dc;border-radius:7px}
.game-action[data-kind=web]:hover{background:#503a2c;text-decoration:none}
.atelier{background:#ebeccb;border-block:2px solid var(--ink);padding:39px 0 46px}
.atelier-title{gap:8px}
.atelier-title img{width:35px;height:45px;object-fit:contain;transform:rotate(-14deg)}
.atelier-lead{margin:6px 0 19px;color:#504d39;font-size:15px}
.workshop-grid .game{background:#fffced}
footer{padding:22px 0 12px;background:var(--cream)}
.foot-row .brand{font-size:22px}
.foot-row .brand img{width:26px;height:34px}
.credit{text-align:center;color:#675746;font-size:12px;margin:14px 0 0}
.credit a{color:inherit}
dialog{border:2px solid var(--ink);border-radius:16px;padding:0;max-width:min(700px,calc(100% - 24px));width:100%;max-height:93dvh;color:var(--ink);background:var(--cream);overscroll-behavior:contain;box-shadow:6px 7px 0 #19130c80}
dialog::backdrop{background:#271b15cb}
body.has-dialog{overflow:hidden}
.dialog-close{top:10px;right:10px;z-index:1;width:40px;height:40px}
.dialog-art{display:block;width:100%;height:auto;aspect-ratio:11/6;object-fit:cover;border-bottom:2px solid var(--ink)}
.dialog-content{padding:20px 23px 24px}
.dialog-genre{font-size:12px;color:#685643;font-weight:700}
.dialog-content h2{margin:5px 0 8px}
.dialog-content p{font-size:15px;line-height:1.5}
.dialog-more{color:#5b4d40;margin:7px 0 11px}
.dialog-links .game-action{min-height:42px}
@media(min-width:1550px){.hero-wrap{min-height:445px}}
@media(max-width:960px){.wrap{width:calc(100% - 48px)}.hero-wrap{min-height:355px}.game-grid{gap:18px 13px}.game-content{padding:12px}.game h3{font-size:24px}.hero-copy p{max-width:340px}.scene{width:110%}.hero-mascot{width:49%}}
@media(max-width:760px){.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top-row{gap:16px;min-height:58px}.brand{font-size:21px}.top nav{gap:17px;margin-right:0}.hero-copy p{font-size:15px}.scene{width:119%;margin-left:-6%}.shelf-head{align-items:flex-start}.shelf{padding-block:30px 34px}.shelf-title{gap:8px}.filters button{padding-inline:8px}.preview-button{opacity:1;width:37px;height:37px}}
@media(max-width:565px){.wrap{width:calc(100% - 32px)}.top-row{gap:10px;min-height:55px}.brand{font-size:20px;gap:5px}.brand img{width:25px;height:33px}.top nav{gap:14px;margin-left:auto}.top nav a{font-size:12px}.top nav a:first-child{display:none}.surprise{padding:8px;min-height:38px;gap:4px;border-radius:8px;font-size:11.5px}.surprise .icon{width:15px;height:15px}.hero-wrap{display:block;min-height:0;padding:26px 0 25px}.hero-copy{padding:0;pointer-events:none}.hero-copy a{pointer-events:auto}h1{font-size:clamp(55px,14.8vw,83px);line-height:.78;margin:0 0 23px}.hero-copy p{font-size:14px;line-height:1.44;max-width:315px;margin-bottom:13px}.hero-link{min-height:43px;font-size:13px;padding:7px 12px}.scene{width:56%;position:absolute;right:-7%;top:17px;margin:0}.hero-mascot{width:52%;top:10%;left:31%}.shelf-head{display:block;margin-bottom:14px}.filters{display:inline-flex;margin-top:12px}.filters button{min-height:36px;padding-inline:14px}.shelf{padding-block:24px 28px}.game-grid{grid-template-columns:1fr;gap:16px}.game-content{padding:12px 15px}.game h3{font-size:28px}.game-links a,.game-links button{min-height:41px}.game-content>p{margin-bottom:8px}.atelier{padding:27px 0}.atelier-lead{font-size:14px}.foot-row{gap:10px}.foot-row .brand{font-size:18px}.foot-row>a:last-child{font-size:12px}.dialog-content{padding:15px}}
@media(max-width:360px){.wrap{width:calc(100% - 24px)}.surprise{padding:7px}.top nav{gap:4px}.top-row{gap:7px}.brand{font-size:18px}.hero-copy p{max-width:280px}.scene{right:-7%}.shelf-title h2{font-size:30px}}
@media(hover:none){.preview-button{opacity:1}}
@media(prefers-reduced-motion:no-preference){.hero-link,.surprise{transition:background .15s,transform .15s}.preview-button{transition:opacity .16s}}
