:root{--bg:#060a10;--surface:#0d1624;--surface-raised:#152338;--accent:#1476ff;--accent-hover:#0d62db;--accent-soft:#112b4d;--focus:#62c7ff;--text:#f5f8ff;--secondary:#b0bed1;--muted:#899bb3;--font:'Noto Sans Thai',Tahoma,sans-serif;--latin:'Space Grotesk',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.7}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;color:inherit}button:disabled{cursor:default;opacity:.35}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button svg use[href='#i-play'],.guide-icon svg use[href='#i-play']{fill:currentColor;stroke:none}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}a,button,summary{transition:background .16s ease,color .16s ease,transform .16s ease}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid var(--focus);outline-offset:5px}button:active{transform:scale(.97)}.wrap{width:min(1280px,calc(100% - 96px));margin-inline:auto}.site-header{height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-family:var(--latin);font-size:28px;font-weight:700;letter-spacing:-1.2px;line-height:1}.brand-light{font-weight:400;margin-left:3px}.brand-dot{color:var(--accent);font-weight:700}.brand-icon{background:var(--accent);display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:9px;color:white;font-size:29px;font-style:italic;letter-spacing:-5px;padding-right:5px}.brand-icon span{transform:translateY(2px)}nav{display:flex;gap:36px;color:var(--secondary);font-size:15px}nav a:hover,nav .nav-active{color:var(--text)}.header-favorites{background:var(--surface);border-radius:8px;height:46px;display:flex;align-items:center;gap:10px;padding:0 16px;font-size:14px}.header-favorites:hover{background:var(--surface-raised)}.header-favorites svg{width:19px;height:19px;color:var(--focus)}.count{font-family:var(--latin);background:var(--surface-raised);border-radius:5px;min-width:24px;text-align:center;font-size:13px}
.hero{display:grid;grid-template-columns:1fr 1.1fr;gap:48px;align-items:center;min-height:620px;padding:28px 0 40px;position:relative}.hero-copy{position:relative;z-index:2;padding-bottom:20px}h1{font-size:clamp(40px,4.4vw,62px);font-weight:700;line-height:1.4;letter-spacing:0}.hero-description{color:var(--secondary);font-size:18px;line-height:1.85;margin-top:22px}.gesture-guide{display:flex;gap:28px;margin-top:48px}.gesture-guide>div{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;white-space:nowrap}.guide-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--surface-raised);color:var(--secondary)}.guide-icon svg{width:18px;height:18px}.guide-icon.blue{background:var(--accent-soft);color:var(--focus)}.gesture-guide small{display:block;font-weight:400;font-size:12px;color:var(--muted);margin-top:1px}.hero-note{display:flex;gap:12px;align-items:center;margin-top:38px;color:var(--muted);font-size:13px}.note-line{width:18px;height:3px;background:var(--accent)}.dot-separator{margin:0 7px}.hero-stage{position:relative;display:flex;flex-direction:column;align-items:center;padding:8px 0 0;isolation:isolate}.ambient-covers{position:absolute;inset:40px -15px 50px;z-index:-1;overflow:hidden;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.ambient-covers img{width:180px;height:300px;object-fit:cover;opacity:.16;border-radius:14px}.ambient-covers img:first-child{transform:rotate(-10deg) translate(-3px,-34px)}.ambient-covers img:last-child{transform:rotate(10deg) translate(3px,46px)}.deck-stack{position:relative;width:340px;max-width:100%}.stack-sheet{position:absolute;background:var(--surface-raised);border-radius:20px;inset:0;z-index:-1}.sheet-back{transform:translate(18px,2px) rotate(6deg);background:#10243b}.sheet-middle{transform:translate(-12px,1px) rotate(-4deg);background:#183557}.discovery-card{background:var(--surface);border-radius:20px;overflow:hidden;transition:transform .24s ease,opacity .24s ease}.card-art{height:340px;position:relative;overflow:hidden;touch-action:pan-y;user-select:none;cursor:grab;background:#082137}.card-art img{width:100%;height:100%;object-fit:cover;object-position:center 35%;pointer-events:none}.game-wordmark{position:absolute;bottom:14px;left:16px;right:16px;text-align:center;color:#fff;font-family:var(--latin);line-height:.95;pointer-events:none;text-shadow:0 2px 6px #05152b}.game-wordmark>span{font-size:46px;font-weight:700;letter-spacing:3px}.game-wordmark small{display:block;font-size:19px;font-weight:600;letter-spacing:8px;margin:8px 0 0 7px}.card-meta{display:flex;justify-content:space-between;align-items:center;padding:17px 20px 0;gap:12px}.studio-label{font-family:var(--latin);font-size:12px;color:var(--muted)}.card-meta h2{font-family:var(--latin);font-size:23px;line-height:1.5;font-weight:600;letter-spacing:-.5px}.icon-button{display:flex;align-items:center;justify-content:center;background:var(--surface-raised);height:48px;width:48px;border-radius:50%;flex-shrink:0;color:var(--secondary)}.icon-button:hover{background:#203b5b;color:var(--text)}.info-button{width:44px;height:44px;background:transparent}.info-button svg{width:22px;height:22px}.card-tags{display:flex;gap:8px;padding:9px 20px 18px}.card-tags span{font-size:12px;background:var(--surface-raised);padding:2px 10px;border-radius:4px;color:var(--secondary)}.deck-controls{display:flex;align-items:center;gap:10px;margin-top:24px;position:relative}.deck-controls .icon-button{width:46px;height:46px}.deck-controls svg{width:21px;height:21px}.play-button{height:50px;display:flex;align-items:center;justify-content:center;gap:9px;padding:0 23px;background:var(--accent);border-radius:8px;font-weight:600;font-size:16px;white-space:nowrap}.play-button:hover{background:var(--accent-hover)}.favorite-button[aria-pressed=true]{background:var(--accent-soft);color:var(--focus)}.favorite-button[aria-pressed=true] svg{fill:currentColor}.deck-caption{font-size:12px;color:var(--muted);margin-top:15px}.deck-caption span{margin-left:8px;color:var(--focus)}.swipe-feedback{position:absolute;top:28px;left:24px;background:var(--accent);border-radius:6px;font-weight:700;padding:6px 18px;opacity:0;transform:rotate(-8deg);pointer-events:none}.prototype-note{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);padding:16px 0 24px}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--focus);flex-shrink:0}
.catalog-section{padding-top:65px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.section-heading h2{font-size:30px;line-height:1.4;font-weight:600}.section-heading p{margin-top:10px;color:var(--secondary);font-size:16px}.section-heading>span{font-size:14px;color:var(--muted);white-space:nowrap}.filter-row{display:flex;gap:20px;justify-content:space-between;align-items:center;margin:30px 0 24px}.category-tabs{display:flex;gap:8px;flex-wrap:wrap}.category-tabs button{height:44px;border-radius:6px;background:transparent;padding:0 17px;color:var(--secondary);font-size:14px}.category-tabs button:hover{background:var(--surface)}.category-tabs button.selected{background:var(--accent-soft);color:var(--focus)}.search-field{display:flex;align-items:center;gap:10px;background:var(--surface);padding:0 14px;border-radius:6px;min-width:230px;height:44px;color:var(--muted)}.search-field svg{width:18px;height:18px}.search-field input{background:transparent;color:var(--text);border:0;width:180px;max-width:100%;outline:none;font-size:14px}.search-field:focus-within{outline:2px solid var(--focus)}.search-field input:focus-visible{outline:0}.search-field input::placeholder{color:var(--muted)}.game-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.catalog-card{min-width:0;position:relative}.catalog-cover{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:4/3;background:var(--surface);display:block;width:100%;padding:0}.catalog-cover img{width:100%;height:100%;object-fit:cover;object-position:center 30%;transition:transform .35s}.catalog-card:hover .catalog-cover img{transform:scale(1.04)}.catalog-cover .game-wordmark{bottom:12px}.catalog-cover .game-wordmark>span{font-size:26px;letter-spacing:2px}.catalog-cover .game-wordmark small{font-size:11px;letter-spacing:4px;margin:5px 0 0 4px}.catalog-favorite{position:absolute;right:10px;top:10px;z-index:1;width:36px;height:36px;background:var(--bg);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--text)}.catalog-favorite svg{width:17px;height:17px}.catalog-favorite[aria-pressed=true]{color:var(--focus)}.catalog-favorite[aria-pressed=true] svg{fill:currentColor}.catalog-meta{padding:14px 0 0;display:flex;justify-content:space-between;align-items:center;gap:8px}.catalog-meta h3{font-family:var(--latin);font-size:18px;line-height:1.5;font-weight:500}.catalog-meta p{font-size:12px;color:var(--muted);font-family:var(--latin);margin-top:3px}.catalog-meta>button{background:var(--surface);border-radius:50%;width:34px;height:34px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.catalog-meta>button:hover{background:var(--accent)}.catalog-meta svg{width:16px;height:16px}.catalog-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:32px;font-size:12px;color:var(--muted)}.catalog-bottom a{display:flex;align-items:center;gap:10px;color:var(--secondary);font-size:14px}.catalog-bottom svg{width:18px}.empty-state{padding:60px 20px;background:var(--surface);border-radius:12px;text-align:center}.secondary-button{background:var(--surface-raised);border-radius:8px;padding:10px 20px;margin-top:16px}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:var(--surface-raised);color:var(--text);padding:13px 24px;border-radius:10px;font-size:14px;opacity:0;pointer-events:none;z-index:10;transition:opacity .2s,transform .2s;max-width:calc(100% - 32px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:0;color:var(--text);background:var(--surface);border-radius:16px;padding:32px;width:min(540px,calc(100% - 32px));max-height:85dvh;overflow:auto;box-shadow:0 20px 80px #0009}dialog::backdrop{background:#02060dcc}.dialog-close{position:absolute;top:14px;right:14px;background:var(--surface-raised);width:40px;height:40px}.dialog-art{width:100%;height:210px;object-fit:cover;object-position:center 30%;border-radius:10px;margin-bottom:20px}.dialog-content h2{font-size:25px;line-height:1.5;padding-right:38px}.dialog-content p{color:var(--secondary);margin-top:14px;font-size:16px}.dialog-content .play-button{margin-top:24px;width:100%}.dialog-label{font-size:13px!important;color:var(--focus)!important}.dialog-content .game-grid{grid-template-columns:1fr 1fr;margin-top:24px}.dialog-content .catalog-meta h3{font-size:15px}.dialog-content .catalog-cover .game-wordmark>span{font-size:20px}.dialog-content .catalog-cover .game-wordmark small{font-size:9px}.dialog-content .catalog-favorite{width:32px;height:32px}.hero-copy,.hero-stage,.section-heading{animation:arrive .6s both}.hero-stage{animation-delay:.12s}.section-heading{animation-delay:.18s}@keyframes arrive{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}[hidden]{display:none!important}
@media(min-width:1500px){.hero{min-height:700px}.deck-stack{width:370px}.card-art{height:390px}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.hero{gap:30px;grid-template-columns:1fr 1fr}h1{font-size:44px}.gesture-guide{gap:17px}.gesture-guide>div{gap:7px}.guide-icon{width:30px;height:30px}.ambient-covers{inset-inline:-15px}.ambient-covers img{width:125px}.hero-description{font-size:17px}.game-grid{gap:16px}.catalog-meta h3{font-size:16px}}
@media(max-width:850px){nav{gap:20px}.wrap{width:calc(100% - 48px)}.hero{gap:20px}.deck-stack{width:300px}.card-art{height:300px}h1{font-size:36px}.hero{min-height:580px}.gesture-guide{flex-wrap:wrap;gap:16px;margin-top:30px}.hero-note{font-size:12px}.deck-controls{gap:7px}.deck-controls .icon-button{width:40px;height:44px}.play-button{padding:0 17px}.ambient-covers{display:none}.game-grid{grid-template-columns:repeat(3,1fr)}.filter-row{flex-wrap:wrap}.search-field{width:100%}.search-field input{width:100%}}
@media(max-width:650px){.wrap{width:calc(100% - 36px)}.site-header{height:76px;gap:12px}.brand{font-size:24px;gap:9px}.brand-icon{width:33px;height:33px;font-size:24px}nav{display:none}.header-favorites{padding:0 12px;height:42px;gap:8px}.favorite-label{display:none}.hero{display:flex;flex-direction:column;gap:20px;padding:20px 0 24px;min-height:0;align-items:stretch}.hero-copy{padding:0}.hero h1{font-size:34px;line-height:1.4}.hero h1 br{display:none}.hero-description{font-size:15px;margin-top:10px;line-height:1.8}.desktop-break{display:none}.gesture-guide{display:none}.hero-note{display:none}.hero-stage{padding:5px 10px 0}.deck-stack{width:min(330px,100%)}.card-art{height:clamp(240px,38dvh,330px)}.game-wordmark>span{font-size:38px}.game-wordmark small{font-size:16px;letter-spacing:6px}.card-meta{padding:12px 16px 0}.card-meta h2{font-size:22px}.card-tags{padding:6px 16px 13px}.sheet-back{transform:translate(10px,0) rotate(4deg)}.sheet-middle{transform:translate(-7px,0) rotate(-3deg)}.deck-controls{margin-top:20px;gap:10px}.deck-controls .icon-button{width:44px;height:44px}.play-button{height:48px;font-size:15px;padding:0 18px}.deck-caption{margin-top:10px}.prototype-note{font-size:11px;line-height:1.8;padding:10px 0 0;align-items:baseline}.catalog-section{padding-top:50px}.section-heading h2{font-size:24px;line-height:1.5}.section-heading p{font-size:14px;margin-top:7px}.section-heading>span{font-size:12px}.filter-row{gap:16px;margin:22px 0 20px}.category-tabs{gap:3px;width:100%;justify-content:space-between}.category-tabs button{font-size:13px;padding:0 12px}.search-field{height:46px}.game-grid{grid-template-columns:repeat(2,1fr);gap:24px 14px}.catalog-cover{border-radius:9px}.catalog-cover .game-wordmark{bottom:10px;left:8px;right:8px}.catalog-cover .game-wordmark>span{font-size:21px;letter-spacing:1px}.catalog-cover .game-wordmark small{font-size:9px;letter-spacing:3px}.catalog-favorite{width:32px;height:32px;right:7px;top:7px}.catalog-meta{padding-top:10px;gap:4px}.catalog-meta h3{font-size:15px}.catalog-meta p{font-size:11px}.catalog-meta>button{width:30px;height:34px}.catalog-bottom{margin-top:28px;align-items:flex-start;flex-direction:column;gap:12px}dialog{padding:24px}.dialog-art{height:180px}.dialog-content h2{font-size:22px}.dialog-content p{font-size:15px}}
/* Readable Thai labels and a darker action blue for white-text contrast. */
:root{--accent:#0865e5;--accent-hover:#0756c5}
.studio-label,.card-tags span,.deck-caption,.hero-note,.prototype-note,.gesture-guide small,.catalog-meta p,.catalog-bottom{font-size:14px}
.hero-description,.section-heading p{font-size:16px}
.game-wordmark{text-shadow:none;background:#071323e6;width:fit-content;max-width:calc(100% - 32px);margin-inline:auto;padding:10px 15px;border-radius:5px}
.catalog-cover .game-wordmark{max-width:calc(100% - 16px);padding:7px 10px}
.catalog-meta>button,.catalog-favorite{min-width:44px;min-height:44px}
.home-faq{margin-top:clamp(48px,6vw,80px)}
.motion-in{animation:arrive .5s both}
.card-art img{animation:art-breathe 9s ease-in-out infinite alternate}
@keyframes art-breathe{to{transform:scale(1.025)}}
@media(max-width:650px){.hero h1 br{display:block}.hero h1{font-size:32px}.card-art{height:clamp(220px,34dvh,290px)}.hero-description{font-size:16px}.deck-caption,.prototype-note,.catalog-bottom,.catalog-meta p,.card-tags span,.studio-label{font-size:14px}.section-heading>span{font-size:14px}.catalog-meta{align-items:flex-start}.catalog-meta>button{display:none}.catalog-favorite{top:5px;right:5px}.section-heading p{font-size:16px}.catalog-cover .game-wordmark>span{font-size:18px}.catalog-cover .game-wordmark small{font-size:10px;letter-spacing:2px}.prototype-note{align-items:center}}
.deck-viewport{width:100%;display:grid;place-items:center;overflow:hidden;padding:32px 26px;margin-block:-32px;position:relative}
.deck-stack{isolation:isolate}
.discovery-card{position:relative;z-index:3;touch-action:pan-y;transition:none;transform-origin:50% 65%;will-change:transform}
.discovery-card.is-dragging,.discovery-card.is-dragging .card-art{cursor:grabbing}
.rear-card{position:absolute;inset:0;z-index:2;pointer-events:none;transform:translate3d(-6%,18px,0) scale(.94) rotate(-8deg);transform-origin:50% 65%}
.third-card{z-index:1;transform:translate3d(7%,28px,0) scale(.9) rotate(10deg)}
.rear-shade{position:absolute;inset:0;background:#000;opacity:.34;pointer-events:none;z-index:5}
.third-card .rear-shade{opacity:.45}
.rewind-card .rear-shade{opacity:0}
.rewind-card{z-index:4;transform:translate3d(0,0,0)}
.discovery-card .card-art img{animation:none}
.deck-end-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;gap:24px;text-align:center;background:var(--surface);font-size:22px;line-height:1.6;border-radius:20px}
.deck-end-content>svg{width:48px;height:48px;color:var(--focus)}
.is-exhausted>.card-art,.is-exhausted>.card-meta,.is-exhausted>.card-tags{visibility:hidden}
@media(max-width:650px){.deck-viewport{padding-inline:18px;width:calc(100% + 20px);margin-inline:-10px}}
/* Reference-led italic wordmark and color-coded discovery controls. */
.brand{gap:0;line-height:1}
.brand-svg{width:180px;height:auto;display:block;fill:currentColor;stroke:none}

.mobile-description{display:none}
.hero{min-height:calc(100svh - 96px)}
#skip{background:#bf2946;color:#fff}
#skip:hover{background:#d73353}
#hero-favorite{background:#087d68;color:#fff}
#hero-favorite:hover{background:#09957b}
#hero-favorite[aria-pressed=true]{background:#065f50;color:#fff}
#hero-favorite[aria-pressed=true] svg{fill:currentColor}
.instruction-skip,.instruction-skip svg{color:#ff7f98}
.instruction-favorite,.instruction-favorite svg{color:#57d8b2}
.instruction-play,.instruction-play svg{color:var(--focus)}
.guide-icon:has(use[href='#i-skip']){background:#bf2946;color:#fff}
.guide-icon:has(use[href='#i-heart']){background:#087d68;color:#fff}
.swipe-instructions{display:flex;align-items:center;justify-content:space-between;gap:24px;width:340px;max-width:100%;margin-top:20px}
.swipe-instructions>div{display:flex;gap:7px;align-items:center;font-size:14px;line-height:1.5;white-space:nowrap}
.swipe-instructions svg{width:18px;height:18px}
.swipe-instructions small{display:block;color:var(--secondary);font-size:13px;margin-top:2px}
.instruction-favorite{text-align:right}
.instruction-play use[href='#i-play']{fill:currentColor;stroke:none}
@media(max-width:650px){
  .site-header{height:64px}
  .brand-svg{width:152px}
  .hero{height:calc(100vh - 64px);height:calc(100dvh - 64px);min-height:560px;gap:14px;padding:12px 0 max(18px,env(safe-area-inset-bottom));align-items:stretch}
  .hero-copy{flex:0 0 auto}
  .hero h1{font-size:28px;line-height:1.35}
  .desktop-description{display:none}
  .mobile-description{display:block}
  .hero-description{font-size:15px;line-height:1.7;margin-top:8px}
  .hero-stage{flex:1;min-height:0;padding:0 10px}
  .deck-viewport{flex:1;min-height:0;padding:12px 18px 24px;margin-block:0;align-items:stretch;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}
  .deck-stack{width:min(330px,100%);height:auto;min-height:0;max-height:none;align-self:stretch}
  .discovery-card{height:100%;display:flex;flex-direction:column}
  .card-art{height:auto;min-height:130px;flex:1}
  .card-meta,.card-tags{flex-shrink:0}
  .card-meta{padding-top:12px}
  .card-meta h2{font-size:21px}
  .card-tags{padding-bottom:14px}
  .deck-controls{flex:0 0 auto;margin-top:32px;gap:10px}
  .deck-controls .icon-button{width:46px;height:46px}
  .deck-controls .play-button{height:50px;padding-inline:20px}
  .swipe-instructions{flex:0 0 auto;margin-top:18px;width:320px;gap:12px}
  .swipe-instructions>div{font-size:14px}
  .swipe-instructions small{font-size:13px}
  .deck-caption{flex:0 0 auto;margin-top:10px}
  .catalog-section{padding-top:48px}
}
@media(max-width:650px) and (max-height:680px){
  .hero{gap:8px;padding-top:6px;padding-bottom:12px}
  .hero h1{font-size:25px}
  .hero-description{margin-top:5px;font-size:14px}
  .card-meta h2{font-size:19px}
  .card-tags{padding-top:4px;padding-bottom:10px}
  .swipe-instructions{margin-top:14px}
}
/* User-requested moving game wall; its gradients are readability masks. */
.hero{isolation:isolate;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.hero-copy,.hero-stage{min-width:0}
body{overflow-x:clip}
.hero-wall{position:absolute;top:0;bottom:0;left:calc((100vw - 100%)/-2);width:100vw;overflow:hidden;z-index:-1;pointer-events:none;opacity:.68}
.hero-wall-inner{position:absolute;top:50%;left:22%;width:100%;display:flex;flex-direction:column;gap:18px;transform:translateY(-50%) rotate(-9deg);transform-origin:0 50%}
.wall-row{display:flex;width:max-content;animation:game-wall-scroll 64s linear infinite;will-change:transform}
.wall-row.row-0{animation-duration:58s;animation-delay:-15s}
.wall-row.row-1{animation-duration:74s;animation-direction:reverse;animation-delay:-28s}
.wall-row.row-2{animation-duration:66s;animation-delay:-8s}
.wall-group{display:flex;gap:14px;padding-right:14px;flex-shrink:0}
.wall-group img{width:168px;height:206px;object-fit:cover;border-radius:13px}
.hero-wall::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#060a10 0%,#060a10 29%,rgba(6,10,16,.96) 40%,rgba(6,10,16,.62) 59%,rgba(6,10,16,.26) 100%),linear-gradient(0deg,#060a10 0%,transparent 22%,transparent 77%,#060a10 100%)}
@keyframes game-wall-scroll{to{transform:translateX(-25%)}}
.providers-strip{margin-top:24px;max-width:450px}
.providers-strip>p{font-size:13px;color:var(--muted);margin-bottom:12px}
.provider-logos{display:flex;align-items:center;justify-content:space-between;gap:20px;min-width:0}
.provider-logos img{object-fit:contain;display:block;height:32px;width:auto;max-width:106px;min-width:0;flex-shrink:1;opacity:.85}
.provider-logos img:first-child{width:102px;height:28px}
.provider-logos img:nth-child(2){width:108px;height:34px}
.provider-logos img:nth-child(3){width:66px;height:32px}
.provider-logos img:nth-child(4){width:100px;height:28px}
.card-art{height:410px;background:#070c15}
.card-art img{object-fit:contain;object-position:center}
.deck-stack{width:334px}
.game-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.catalog-cover{aspect-ratio:334/410}
.catalog-cover img{object-fit:contain;object-position:center}
.catalog-meta h3{font-size:17px}
.dialog-art{object-fit:contain;background:#070c15}
@media(min-width:651px) and (max-height:800px){.deck-stack{width:280px}.card-art{height:344px}}
@media(min-width:651px) and (max-height:740px){.deck-stack{width:250px}.card-art{height:307px}.card-meta{position:relative;display:block}.card-meta h2{font-size:19px}.card-meta .info-button{position:absolute;top:0;right:12px;width:40px;height:40px}.providers-strip{margin-top:18px}.providers-strip>p{margin-bottom:8px}.hero-note{margin-top:26px}}
@media(max-width:1100px) and (min-width:651px){.game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.provider-logos{gap:12px}.provider-logos img{max-width:90px}}
@media(max-width:650px){
  .hero-wall{opacity:.24}
  .hero-wall-inner{left:-35%;gap:14px;transform:translateY(-50%) rotate(-9deg) scale(.8)}
  .hero-wall::after{background:linear-gradient(90deg,rgba(6,10,16,.92),rgba(6,10,16,.74) 48%,rgba(6,10,16,.58)),linear-gradient(0deg,#060a10,transparent 28%,transparent 74%,#060a10)}
  .providers-strip{display:none}
  .providers-strip>p{display:none}
  .provider-logos{gap:12px;justify-content:space-between}
  .provider-logos img:first-child{width:76px;height:23px}
  .provider-logos img:nth-child(2){width:84px;height:28px}
  .provider-logos img:nth-child(3){width:46px;height:27px}
  .provider-logos img:nth-child(4){width:72px;height:23px}
  .card-art{height:auto}
  .deck-viewport{width:calc(100% + 40px);margin-inline:-20px}
  .deck-stack{width:min(300px,calc(100% - 28px))}
  .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .catalog-meta h3{font-size:15px}
  .category-tabs{justify-content:flex-start;gap:4px}
}
@media(max-width:1023px){.providers-strip{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.catalog-card:hover .catalog-cover img{transform:none}.wall-row{will-change:auto}}

/* Free demo guide, horizontal discovery categories and provider catalog. */
[hidden]{display:none!important}
.free-demo-section{padding-block:64px 0}
.free-demo-panel{background:var(--surface);border-radius:20px;padding:40px}
.free-demo-intro{display:grid;grid-template-columns:1fr 1.2fr;gap:48px;align-items:start}
.section-kicker{font-size:14px;color:var(--focus);font-weight:600;margin-bottom:12px}
.free-demo-intro h2{font-size:clamp(26px,2.5vw,36px);line-height:1.45}
.free-demo-copy>p{color:var(--secondary);line-height:1.8}
.demo-benefits{display:flex;flex-wrap:wrap;gap:12px 22px;list-style:none;padding:0;margin:22px 0 0;font-size:14px;font-weight:500}
.demo-benefits li{display:flex;align-items:center;gap:8px}
.demo-benefits li:before{content:'✓';width:22px;height:22px;border-radius:50%;background:#16392f;color:#57d8b2;display:grid;place-items:center;flex-shrink:0;font-size:13px}
.free-demo-copy>.demo-availability{font-size:14px;color:var(--muted);margin-top:16px}
.discovery-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:32px}
.discovery-categories:focus-visible{outline:3px solid var(--focus);outline-offset:5px}
.discovery-category{display:grid;grid-template-columns:minmax(0,1fr) 108px;column-gap:12px;align-items:center;min-height:184px;background:var(--bg);border-radius:12px;padding:22px 18px;overflow:hidden}
.discovery-category:hover{background:var(--surface-raised)}
.category-copy{position:relative;min-width:0;align-self:stretch;display:flex;flex-direction:column;align-items:flex-start}
.category-copy h3{font-size:18px;line-height:1.5;font-weight:600}
.category-description{display:block;font-size:14px;line-height:1.65;color:var(--secondary);margin-top:4px}
.category-browse{display:flex;white-space:nowrap;align-items:center;gap:8px;color:var(--focus);font-size:14px;margin-top:auto;padding-top:16px;min-height:40px}
.category-browse svg{width:17px;height:17px}
.category-art{position:relative;width:108px;height:108px;pointer-events:none;align-self:center}
.category-art img{position:absolute;width:55px;height:68px;object-fit:contain;border-radius:5px;bottom:8px;box-shadow:0 8px 16px #0005}
.category-art img:first-child:not(:last-child){left:0;transform:rotate(-10deg);z-index:1}
.category-art img:last-child:not(:first-child){right:0;transform:rotate(10deg);z-index:1}
.category-art img:nth-child(2):not(:last-child){left:23px;bottom:18px;width:63px;height:78px;transform:none;z-index:2}
.category-art img:only-child{width:84px;height:103px;left:12px;bottom:2px;transform:none}
.category-slider-controls{display:none}
.provider-sections{padding-block:72px 0}
.provider-section{padding-block:0 48px;margin-bottom:48px;border-bottom:1px solid #1b293d;scroll-margin-top:32px}
.provider-section:last-child{margin-bottom:0;border-bottom:0;padding-bottom:0}
.provider-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;min-height:50px}
.provider-identity{display:flex;gap:16px;align-items:center;min-width:0;margin:0}
.provider-identity>img{width:114px;height:50px;object-fit:contain;object-position:left center;flex-shrink:0}
.provider-wordmark{font-family:var(--latin);font-size:28px;font-weight:700;line-height:1.3;color:var(--text)}
.provider-count{font-family:var(--font);font-size:14px;font-weight:400;white-space:nowrap;color:var(--muted)}
.provider-more{display:inline-flex;align-items:center;justify-content:flex-end;gap:12px;min-height:44px;font-size:15px;color:var(--focus);flex-shrink:0;border-radius:4px}
.provider-more:hover{color:var(--text)}
.provider-more svg{width:19px;height:19px}
.provider-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.provider-grid .catalog-meta h3{font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.provider-grid .catalog-meta{min-height:89px;align-items:flex-start;padding:14px 12px}
.provider-grid .catalog-meta>button{flex-shrink:0}
.provider-grid .catalog-meta p{font-size:14px;margin-top:3px}
.provider-grid .catalog-cover{aspect-ratio:334/410}
.provider-grid .catalog-cover img{width:100%;height:100%;object-fit:contain}
.catalog-card:focus-within .catalog-favorite{opacity:1}
@media(max-width:1199px){
.free-demo-panel{padding:32px}.free-demo-intro{gap:32px;grid-template-columns:1fr 1fr}.discovery-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.discovery-category{grid-template-columns:minmax(0,1fr) 126px;min-height:176px;padding:22px}.category-art{width:126px}.category-art img{width:62px;height:76px}.category-art img:nth-child(2):not(:last-child){left:28px;width:70px;height:86px}.category-art img:only-child{left:21px;width:84px;height:103px}.provider-grid{gap:16px}.provider-grid .catalog-meta{padding-inline:10px}.provider-grid .catalog-meta>button{display:none}
}
@media(max-width:900px){
.free-demo-intro{grid-template-columns:1fr;gap:24px}.free-demo-intro h2{font-size:30px}.provider-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.provider-grid .catalog-meta>button{display:flex}
}
@media(max-width:650px){
.free-demo-section{padding-top:48px}.free-demo-panel{padding:24px 18px 18px;border-radius:16px}.free-demo-intro{gap:20px}.free-demo-intro h2{font-size:25px}.section-kicker{font-size:14px;margin-bottom:10px}.free-demo-copy>p{font-size:15px}.demo-benefits{gap:12px 16px;font-size:14px}.demo-benefits li{gap:6px}.demo-benefits li:before{width:20px;height:20px}
.discovery-categories{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:70%;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:18px;margin:24px -18px 0;padding:6px 18px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.discovery-categories::-webkit-scrollbar{display:none}
.discovery-category{scroll-snap-align:start;scroll-snap-stop:normal;grid-template-columns:minmax(0,1fr) 84px;gap:8px;min-height:198px;padding:20px 14px;align-items:center}
.category-copy h3{font-size:17px}.category-description{font-size:14px;line-height:1.65}.category-browse{font-size:14px;padding-top:12px;gap:6px;min-height:38px}
.category-art{width:84px;height:100px}.category-art img{width:43px;height:53px;bottom:10px}.category-art img:nth-child(2):not(:last-child){left:17px;bottom:20px;width:50px;height:62px}.category-art img:only-child{width:72px;height:88px;left:6px;bottom:6px}
.category-slider-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.category-slider-hint{display:flex;align-items:center;gap:7px;font-size:14px;color:var(--muted)}.category-slider-hint svg{width:15px;height:15px}.category-slider-controls>div{display:flex;gap:8px}.category-step{display:grid;place-items:center;width:44px;height:44px;border-radius:8px;background:var(--surface-raised);color:var(--focus)}.category-step svg{width:18px;height:18px}.category-step:disabled{opacity:.35}
.provider-sections{padding-top:40px}.provider-section{padding-bottom:28px;margin-bottom:28px}.provider-heading{gap:12px;margin-bottom:16px;min-height:44px}.provider-identity{gap:9px}.provider-identity>img{width:76px;height:38px}.provider-wordmark{font-size:21px}.provider-count{font-size:14px}.provider-more{gap:7px;font-size:14px}.provider-more svg{width:16px;height:16px}
.provider-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:72%;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:5px}.provider-grid>.catalog-card{scroll-snap-align:start}.provider-grid .catalog-meta{min-height:70px;padding:12px 10px}.provider-grid .catalog-meta h3{font-size:15px}.provider-grid .catalog-meta>button{display:none}
}
@media(max-width:380px){.discovery-category{grid-template-columns:minmax(0,1fr) 76px}.category-art{width:76px}.category-copy h3{font-size:16px}.category-art img:nth-child(2):not(:last-child){left:13px}.category-art img:only-child{left:2px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.discovery-category,.provider-more{transition:none}.discovery-categories{scroll-behavior:auto}}
/* Hero catalog and Telegram community. */
.hero{grid-template-areas:"copy stage" "actions stage";grid-template-rows:auto auto;align-content:center;column-gap:clamp(20px,4vw,48px);row-gap:24px}
.hero-main{display:contents}
.hero-copy{grid-area:copy;align-self:end;padding-bottom:0}
.hero-stage{grid-area:stage}
.hero-actions{grid-area:actions;position:relative;z-index:2;align-self:start;min-width:0}
.hero-copy .gesture-guide{margin-top:28px}
.hero-telegram{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px;width:fit-content;max-width:100%;color:var(--text);border-radius:12px}
a.hero-telegram{grid-template-columns:auto minmax(0,1fr) auto}
a.hero-telegram:hover strong{color:var(--focus)}
.hero-telegram-qr{width:clamp(112px,9vw,136px);height:auto;aspect-ratio:1;border-radius:12px;background:#fff}
.hero-telegram-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--accent-soft);color:var(--focus)}
.hero-telegram-qr + .hero-telegram-icon{display:none}
.hero-telegram-icon svg{width:21px;height:21px}
.hero-telegram-copy{display:grid;gap:2px;min-width:0}
.hero-telegram-copy strong{font-size:18px;font-weight:700;line-height:1.45}
.hero-telegram-description,.hero-telegram-scan{font-size:14px;line-height:1.55;color:var(--secondary)}
.hero-telegram-scan{color:var(--focus);margin-top:2px}
.hero-telegram-arrow{width:18px;height:18px;color:var(--focus)}
.hero-actions .hero-note,.hero-actions .providers-strip{margin-top:16px}
.hero-actions .providers-strip>p{margin-bottom:7px}
@media(max-width:650px){
  .hero{display:block;height:auto;min-height:0;padding:0}
  .hero-main{display:flex;flex-direction:column;position:relative;isolation:isolate;min-height:560px;height:calc(100vh - 64px);height:calc(100dvh - 64px);gap:14px;padding:12px 0 max(18px,env(safe-area-inset-bottom))}
  .hero-actions{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding-top:16px}
  .hero-copy{align-self:stretch}
  .hero-telegram{width:100%;gap:12px;padding:12px;background:var(--surface);border:1px solid #203750}
  .hero-telegram-qr{display:none}
  .hero-telegram-qr + .hero-telegram-icon{display:grid}
  .hero-telegram-copy strong{font-size:16px}
  .hero-telegram-scan{display:none}
}
@media(max-width:650px) and (max-height:680px){.hero-main{gap:8px;padding-top:6px;padding-bottom:12px}}

/* Homepage section shortcuts and popular games. */
.hero-section-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.popular-section{margin-top:clamp(48px,6vw,84px)}
.popular-heading{margin-bottom:24px}
.popular-heading h2{font-size:clamp(27px,3vw,38px);line-height:1.35;font-weight:700}
.popular-heading h2 span{font:700 .66em/1 var(--latin);color:var(--focus);margin-inline-start:8px;white-space:nowrap}
.popular-heading p{margin-top:6px;color:var(--muted);font-size:14px}
.popular-grid{display:grid;grid-template-columns:minmax(0,2.04fr) repeat(4,minmax(0,1fr));gap:20px 15px;list-style:none;margin:0;padding:0}
.popular-game{display:flex;min-width:0}
.popular-featured{grid-row:span 2}
.popular-card{display:flex;flex-direction:column;text-align:left;width:100%;min-width:0;border:0;border-radius:12px;background:transparent;padding:0}
.popular-cover{position:relative;display:block;width:100%;aspect-ratio:334/410;overflow:hidden;background:var(--surface);border-radius:12px}
.popular-cover img{width:100%;height:100%;object-fit:cover}
.popular-card:hover .popular-title{color:var(--focus)}
.popular-badge{position:absolute;top:9px;left:9px;min-width:30px;border-radius:7px;padding:3px 7px;text-align:center;background:#07101ee8;color:#fff;font:700 13px/1.35 var(--latin)}
.popular-meta{display:grid;gap:2px;padding:9px 2px 0}
.popular-title{font-size:15px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.popular-provider{color:var(--secondary);font-size:13px;line-height:1.4}
.popular-featured .popular-card{background:var(--surface);padding:8px}
.popular-featured .popular-cover{flex:1;min-height:0;aspect-ratio:auto}
.popular-featured .popular-cover img{position:absolute;inset:0}
.popular-featured .popular-badge{padding:5px 10px;background:#dceeff;color:#082348;font-size:15px}
.popular-featured .popular-meta{gap:4px;padding:12px 9px 9px}
.popular-featured .popular-title{font-size:clamp(18px,1.8vw,24px)}
.popular-cta{align-self:flex-start;margin:2px 8px 4px}
.provider-sections>.section-heading{margin-bottom:22px}
@media(max-width:1023px){
  .popular-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .popular-featured{grid-column:span 2}
}
@media(max-width:850px){
  .hero-section-links{gap:8px}
}
@media(max-width:650px){
  .hero-section-links{margin-top:0}
  .popular-heading{margin-bottom:17px}
  .popular-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
  .popular-featured{grid-row:auto}
  .popular-featured .popular-cover{flex:none;aspect-ratio:1 / 1.1}
  .popular-featured .popular-cover img{object-position:center 38%}
  .popular-title{font-size:14px}
  .provider-sections>.section-heading{margin-bottom:16px}
}
@media(prefers-reduced-motion:reduce){
  .popular-cover img{transition:none}
  .popular-card:hover img{transform:none}
}

/* SHARED_GAME_UI */

/* EZ_SITE_HEADER_CSS */

/* Keep the discovery frame and controls in place as game content changes. */
.deck-stack .card-meta { position: static; display: flex; height: 76px; padding-block: 8px 0; }
.deck-stack .card-meta > div { min-width: 0; }
.deck-stack .card-meta h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.2; }
.deck-stack .card-meta .info-button { position: static; }
.deck-stack .card-tags { height: 46px; overflow: hidden; align-items: flex-start; }
.deck-stack .card-tags span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deck-stack .card-art { flex: none; }
.hero-stage .ezgo-deck-status { position: absolute; top: 100%; max-width: 100%; text-align: center; }
.provider-grid .catalog-card:hover .catalog-cover img { transform: none; }

@media (max-width: 650px) {
  .hero-main { height: auto; min-height: 0; }
  .hero-stage { width: 100%; flex: none; padding-inline: 0; }
  .deck-stack { width: 80%; min-width: 0; margin-inline: auto; }
  .deck-stack .card-art { height: auto; aspect-ratio: 334 / 410; }
  .deck-stack .card-art img { position: absolute; inset: 0; object-fit: contain; }
  .hero-stage .deck-controls { margin-top: 18px; }
}

/* Motion belongs to the cards. The discovery frame stays in the layout. */
html:has(.hero-wall) { overflow-x: clip; }
.deck-stack .deck-outgoing { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.deck-stack > #discovery-card { user-select: none; transform-origin: 50% 72%; }
.deck-stack > #discovery-card[data-swipe="skip"] { box-shadow: 0 0 0 2px var(--ezgo-swipe-left, #e96077); }
.deck-stack > #discovery-card[data-swipe="favorite"] { box-shadow: 0 0 0 2px var(--ezgo-swipe-right, #45d4af); }
.hero-stage .deck-controls button { transition: transform .14s ease, background-color .14s ease; }
.hero-stage .deck-controls button:active { transform: scale(.92); }
@media (prefers-reduced-motion: reduce) {
  .hero-stage .deck-controls button:active { transform: none; }
}



.deck-card-link { position: absolute; inset: 0; z-index: 6; border-radius: inherit; cursor: grab; touch-action: pan-y; }
.deck-card-link:focus-visible { outline-offset: -4px; }
.is-dragging .deck-card-link { cursor: grabbing; }
.deck-stack .card-meta .info-button { position: relative; z-index: 7; }
.is-exhausted .info-button { visibility: hidden; }

.deck-stack .stack-sheet { overflow: hidden; pointer-events: none; }
.deck-stack .stack-sheet img { display: block; width: 100%; height: auto; aspect-ratio: 334 / 410; object-fit: contain; }
.deck-stack .stack-sheet::after { content: ""; position: absolute; inset: 0; background: rgb(6 10 16 / 22%); }
.deck-stack .sheet-back::after { background: rgb(6 10 16 / 36%); }
