/* A lightweight, original illustration system for the games directory. */
.hub-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}
.games-page{--hub-surface:#fffdf9;--hub-border:#ebdfda;--hub-ink:#392c2e;--hub-muted:#77666a;--hub-pink:#b83d68;background:#fffaf5;color:var(--hub-ink)}
.game-hub h1,.game-hub h2,.game-hub h3{font-family:Outfit,sans-serif}.game-hub p{line-height:1.8}.hub-hero{position:relative;overflow:hidden;background:#fff8f2}.hub-hero-inner{min-height:555px;display:grid;grid-template-columns:.95fr 1.05fr;gap:5%;align-items:center;padding:70px 0 58px;position:relative;z-index:1}.hub-intro{max-width:540px}.hub-intro h1{font-size:clamp(60px,6.5vw,94px);line-height:.97;letter-spacing:-.065em;margin:20px 0 22px}.hub-intro h1 em{color:#bd3c69}.hub-intro>p:not(.eyebrow){font-size:16px;color:var(--hub-muted);max-width:460px}.hub-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:30px}.hub-actions .button{min-height:54px}.hero-free{font-size:9px;font-weight:800;letter-spacing:.12em;color:#765f63}.hero-free b{font-size:19px;color:#da9b68;vertical-align:middle;margin-right:7px}.hub-art{position:relative;padding:20px 10px 18px 30px}.hub-halo{position:absolute;width:78%;aspect-ratio:1;max-height:460px;right:4%;top:0;border-radius:50%;background:#f8e5dc}.hub-photo{position:relative;overflow:hidden;border-radius:45% 45% 30% 30% / 30% 30% 28% 28%;border:7px solid #fffdf8;box-shadow:0 25px 65px #a6745e30;transform:rotate(2deg);background:#f6e2d4}.hub-photo img{display:block;width:100%;height:auto;aspect-ratio:1200/670;object-fit:cover}.hub-art-note{position:absolute;bottom:0;left:0;display:flex;align-items:center;gap:11px;background:#fffdf9;border:1px solid #f0ded6;border-radius:13px;padding:13px 17px;box-shadow:0 10px 30px #73505b26}.hub-art-note>span{color:#d8a16c;font-size:23px}.hub-art-note strong,.hub-art-note small{display:block}.hub-art-note strong{font-size:9px;letter-spacing:.12em}.hub-art-note small{font-size:11px;color:#756166;margin-top:3px}.hub-chip{position:absolute;display:grid;place-items:center;border:4px solid #fffdf9;border-radius:50%;box-shadow:0 10px 22px #8f6b5d25;font-weight:800;animation:hub-float 5s ease-in-out infinite}.chip-one{width:57px;height:57px;right:0;top:6%;background:#d9e9d7;color:#5e8a70;font-size:28px}.chip-two{width:43px;height:43px;left:8%;top:5%;background:#f8dce3;color:#b74268;font-size:23px;animation-delay:-1.3s}.chip-three{width:48px;height:48px;right:3%;bottom:2%;background:#5a5962;color:white;font-size:19px;animation-delay:-2.5s}.hub-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}.confetti{position:absolute;color:#dfb8ad;font-style:normal;animation:hub-drift 9s ease-in-out infinite}.confetti-a{left:4%;top:18%;font-size:26px}.confetti-b{left:48%;top:15%;font-size:27px;animation-delay:-2s}.confetti-c{right:4%;top:40%;font-size:25px;animation-delay:-4s}.confetti-d{left:43%;bottom:14%;font-size:31px;animation-delay:-6s}.confetti-e{right:37%;bottom:10%;font-size:19px;animation-delay:-3s}.hub-hero-bottom{display:flex;justify-content:space-between;gap:20px;padding-bottom:20px;color:#aa8d8c;font-size:9px;font-weight:800;letter-spacing:.13em}.hub-ribbon{background:#f5e7dc;border-top:1px solid #efdfd6;border-bottom:1px solid #efdfd6}.hub-ribbon .wrap{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;color:#775350;font-size:10px;font-weight:800;letter-spacing:.14em}.hub-ribbon b{font-size:15px;color:#d39278}.hub-collection{padding-top:90px;padding-bottom:30px}.hub-section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px}.hub-section-head h2{font-size:clamp(40px,4.6vw,57px);margin-top:14px}.hub-section-head>p{max-width:350px;color:var(--hub-muted);font-size:14px}.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.game-card{min-width:0;display:flex;flex-direction:column;background:var(--hub-surface);border:1px solid var(--hub-border);border-radius:19px;overflow:hidden;box-shadow:0 12px 35px #62464b0c;transition:transform .25s ease,box-shadow .25s ease}.game-card:hover{transform:translateY(-5px);box-shadow:0 20px 40px #62464b1a}.game-visual{height:178px;position:relative;overflow:hidden;display:grid;place-items:center}.game-visual svg{width:85%;height:150px;transition:transform .3s ease}.game-card:hover .game-visual svg{transform:scale(1.04) rotate(-2deg)}.chess-card .game-visual{background:#e6f0e4}.battleship-card .game-visual{background:#e2f0f2}.pool-card .game-visual{background:#e5f0e5}.connect-card .game-visual{background:#e6edf7}.tic-card .game-visual{background:#f8e9e8}.hangman-card .game-visual{background:#fbebdc}.visual-label,.visual-index{position:absolute;font-size:9px;font-weight:800;letter-spacing:.12em;color:#5e5553;z-index:1}.visual-label{top:18px;left:19px}.visual-index{bottom:15px;right:18px;opacity:1}.game-info{display:flex;flex:1;flex-direction:column;padding:23px 24px 25px}.game-tags{display:flex;gap:7px;flex-wrap:wrap}.game-tags span{color:#a1536c;background:#fcf0f1;border-radius:5px;font-size:9px;letter-spacing:.08em;font-weight:800;padding:5px 7px}.game-info h3{font-size:27px;margin:15px 0 8px}.game-info p{font-size:13px;color:var(--hub-muted);min-height:4.8em}.game-info a{display:flex;align-items:center;justify-content:space-between;gap:20px;text-decoration:none;border-top:1px solid var(--hub-border);color:var(--hub-pink);font-size:12px;font-weight:800;margin-top:auto;padding-top:17px}.game-info a span{font-size:16px;transition:transform .2s}.game-info a:hover span{transform:translate(3px,-3px)}.hub-closing{margin-top:45px;margin-bottom:90px;padding:29px 35px;background:#f4e9e2;border:1px solid #ebdcd5;border-radius:19px;display:flex;align-items:center;gap:22px}.closing-icon{width:55px;height:55px;border-radius:16px;display:grid;place-items:center;background:#fff8f1;color:#cb8b68;font-size:28px;flex:none}.hub-closing .eyebrow{font-size:9px}.hub-closing h2{font-size:27px;margin:6px 0}.hub-closing p:not(.eyebrow){color:var(--hub-muted);font-size:12px}.hub-home{margin-left:auto;white-space:nowrap;text-decoration:none;color:var(--hub-pink);font-size:12px;font-weight:800;border-bottom:1px solid #d9a6b5;padding-bottom:5px}.hub-home span{margin-left:8px}
html[data-theme="night"] .games-page{--hub-surface:#332a33;--hub-border:#594651;--hub-ink:#f8edf1;--hub-muted:#d1bdc6;--hub-pink:#ffc0d4;background:#1c1921;color:var(--hub-ink)}html[data-theme="night"] .hub-hero{background:#241e27}html[data-theme="night"] .hub-intro h1 em{color:#f2a2bf}html[data-theme="night"] .hub-halo{background:#46323a}html[data-theme="night"] .hub-photo{border-color:#54424a}html[data-theme="night"] .hub-art-note{background:#392d37;border-color:#604a58}html[data-theme="night"] .hub-art-note small,html[data-theme="night"] .hub-hero-bottom,html[data-theme="night"] .hero-free{color:#cdb6bf}html[data-theme="night"] .hub-chip{border-color:#55434d}html[data-theme="night"] .hub-ribbon{background:#342932;border-color:#55434c}html[data-theme="night"] .hub-ribbon .wrap{color:#e6cdd5}html[data-theme="night"] .game-card{box-shadow:0 14px 35px #0003}html[data-theme="night"] .game-tags span{background:#503540;color:#ffcad9}html[data-theme="night"] .hub-closing{background:#392c35;border-color:#5b4853}html[data-theme="night"] .closing-icon{background:#513d43;color:#f0b386}html[data-theme="night"] .hub-home{border-color:#ad7288}html[data-theme="night"] .confetti{color:#775460}
@keyframes hub-float{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-10px) rotate(7deg)}}@keyframes hub-drift{0%,100%{transform:translate3d(0,0,0) rotate(0)}50%{transform:translate3d(0,-15px,0) rotate(20deg)}}
@media(max-width:900px){.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-hero-inner{min-height:0}.hub-intro h1{font-size:clamp(51px,7vw,75px)}.hub-closing{flex-wrap:wrap}.hub-home{margin-left:77px}}
@media(max-width:760px){.hub-hero-inner{grid-template-columns:1fr;gap:28px;padding:55px 0 40px}.hub-intro h1{font-size:clamp(54px,12vw,78px)}.hub-art{width:min(600px,95%);margin:auto}.hub-hero-bottom span:last-child{display:none}.hub-ribbon .wrap{flex-wrap:wrap;justify-content:center}.hub-section-head{display:block}.hub-section-head>p{margin-top:16px}.hub-collection{padding-top:65px}.hub-closing{margin-bottom:65px}.hub-confetti .confetti-b,.hub-confetti .confetti-d{display:none}}
@media(max-width:520px){.hub-grid{grid-template-columns:1fr}.game-visual{height:165px}.game-info p{min-height:0;margin-bottom:22px}.hub-section-head h2{font-size:42px}.hub-closing{padding:25px;gap:16px}.closing-icon{width:48px;height:48px}.hub-closing>div:nth-child(2){flex:1;min-width:200px}.hub-home{margin-left:0}.hub-art-note{padding:10px}.hub-hero-bottom{font-size:8px}.hub-intro>p:not(.eyebrow){font-size:15px}}
@media(prefers-reduced-motion:reduce){.hub-chip,.confetti{animation:none}.game-card,.game-visual svg,.game-info a span{transition:none}.game-card:hover{transform:none}.game-card:hover .game-visual svg{transform:none}}

.snakes-card .game-visual{background:#f7e6d4}html[data-theme="night"] .snakes-card .game-visual{background:#504047}
