:root{--night:#142b27;--night2:#1b3c34;--felt:#235347;--ivory:#f6f0df;--paper:#fffaf0;--brass:#d9b978;--muted:#a6baad;--ink:#162620;--alert:#bd4c4c;--r:20px;--size:1;--cardw:76px;--cardh:106px;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 85% 0%,#31564a 0%,transparent 47%),var(--night);color:var(--ivory);font:calc(17px*var(--size))/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}
body.light{--night:#f4eddb;--night2:#e2ddc8;--felt:#37695a;--ivory:#1c302a;--paper:#fffdf7;--muted:#537267;--ink:#20352d;--brass:#a07838;color-scheme:light;background:radial-gradient(ellipse at 85% 0%,#faf9ec 0%,transparent 47%),var(--night)}
body.large{--size:1.14}body.extra-large{--size:1.27}body.reduce-motion *,body.reduce-motion *:before,body.reduce-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,[tabindex]:focus-visible{outline:3px solid #e6c773;outline-offset:4px}a{color:inherit}p{margin:0}.skip-link{position:absolute;transform:translateY(-160%);background:var(--paper);color:var(--ink);padding:12px;z-index:10}.skip-link:focus{transform:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.grain{pointer-events:none;position:fixed;inset:0;opacity:.065;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");z-index:0}
.site-header,.site-footer,main{position:relative;z-index:1}.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1380px;margin:auto;padding:26px clamp(18px,4vw,54px);border-bottom:1px solid #ffffff15}.brand{display:flex;gap:12px;align-items:center;color:var(--ivory);border:0;background:none;text-align:left;padding:0;min-height:50px}.brand-glyph{width:45px;height:45px;display:grid;place-items:center;border:1px solid var(--brass);border-radius:14px;color:var(--brass);font:italic 31px Georgia,serif}.brand-name{font:700 21px/1.03 Georgia,serif;letter-spacing:.18em}.brand-sub{display:block;margin-top:7px;font:600 9px/1.1 system-ui,sans-serif;letter-spacing:.22em;color:var(--muted)}.header-right{display:flex;align-items:center;gap:18px}.header-note{font:italic 18px Georgia,serif;color:var(--muted)}.icon-button{width:48px;height:48px;display:grid;place-items:center;background:#ffffff0d;color:var(--ivory);border:1px solid #ffffff2d;border-radius:15px}.icon-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.pill-button,.primary-button,.secondary-button,.small-button{border-radius:100px;min-height:50px;padding:12px 24px;border:1px solid transparent;font-weight:700;letter-spacing:.01em}.pill-button,.primary-button{background:var(--brass);color:#192720}.pill-button:hover,.primary-button:hover{filter:brightness(1.08)}.secondary-button,.small-button{color:var(--ivory);background:#ffffff12;border-color:#ffffff30}.small-button{min-height:44px;padding:8px 16px;font-size:.86em}.secondary-button:hover,.small-button:hover{background:#ffffff25}.text-button{padding:10px 0;background:none;border:0;color:var(--brass);font-weight:700;text-decoration:underline;text-underline-offset:5px}
main{max-width:1380px;margin:auto;min-height:calc(100vh - 200px);padding:clamp(22px,3vw,40px) clamp(18px,4vw,54px) 70px}
.eyebrow{font-size:.74em;letter-spacing:.22em;color:var(--brass);font-weight:750;text-transform:uppercase}.hero{display:grid;grid-template-columns:1.08fr .92fr;gap:30px;align-items:stretch}.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:30px 10px 34px 0}.hero h1{font:normal clamp(42px,5.1vw,76px)/1.08 Georgia,serif;letter-spacing:-.045em;max-width:740px;margin:20px 0}.hero h1 em{color:var(--brass);font-weight:400}.hero p{max-width:510px;font-size:1.05em;color:var(--muted)}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:29px}.hero-scene{position:relative;min-height:360px;border-radius:28px;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#3a7162,#173c33 68%,#102c25);box-shadow:0 28px 58px #061a1640,inset 0 0 0 1px #ffffff1a;display:grid;place-items:center;perspective:1000px}.scene-ring{position:absolute;width:90%;aspect-ratio:1;border-radius:50%;border:1px solid #ffffff20;transform:rotateX(66deg) translateY(65px);box-shadow:0 0 0 40px #ffffff04,0 0 0 120px #ffffff03}.scene-table{width:min(85%,450px);height:245px;border-radius:48%;background:radial-gradient(ellipse,#3b7b65,#215143 70%);border:16px solid #5b4834;box-shadow:0 27px 10px #0c201d,0 45px 40px #051c19a9,inset 0 0 0 5px #9f885c,inset 0 0 45px #153f36;transform:rotateX(40deg) rotateZ(-12deg);position:relative}.scene-card{position:absolute;top:52px;left:calc(50% - 32px);width:67px;height:96px;background:#fffaf0;border:3px solid #e8d9b8;border-radius:9px;box-shadow:4px 9px 3px #0003;display:grid;place-items:center;font:32px Georgia,serif;color:#a74146;transform:rotate(var(--angle)) translateX(var(--offset))}.scene-caption{position:absolute;bottom:22px;left:25px;color:#e8dcc2;font:italic 16px Georgia,serif}.scene-star{position:absolute;right:30px;top:24px;border:1px solid #dcbf80;color:#edd6aa;border-radius:40px;padding:8px 14px;font-size:.68em;letter-spacing:.17em}
.section-title{display:flex;justify-content:space-between;gap:20px;align-items:end;margin:55px 0 21px}.section-title h2{font:normal clamp(29px,3vw,40px) Georgia,serif;margin:9px 0 0}.section-title p{color:var(--muted);max-width:350px}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.game-tile{position:relative;text-align:left;border:1px solid #ffffff24;border-radius:24px;padding:25px;color:var(--ivory);background:linear-gradient(140deg,#ffffff13,#ffffff06);min-height:253px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 20px 55px #071c192b;overflow:hidden;transition:transform .18s,background .18s}.game-tile:hover{transform:translateY(-5px);background:#ffffff1a}.game-tile h3{font:normal 29px Georgia,serif;margin:13px 0 5px}.game-tile p{font-size:.85em;color:var(--muted);max-width:290px}.game-badge{border:1px solid #ffffff32;border-radius:30px;padding:5px 10px;font-size:.65em;letter-spacing:.1em;text-transform:uppercase;color:var(--brass)}.game-emblem{font:normal 64px Georgia,serif;height:85px;color:#eddbb3;filter:drop-shadow(4px 9px 4px #071c1950)}.game-tile:nth-child(2) .game-emblem{color:#dc8283}.game-tile:nth-child(3) .game-emblem{color:#a7d9c8}.game-tile .play-affordance{position:absolute;right:24px;bottom:25px;border-radius:50%;width:44px;height:44px;background:var(--brass);color:var(--ink);display:grid;place-items:center;font-size:26px}.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;border-top:1px solid #ffffff25;border-bottom:1px solid #ffffff25;padding:25px 0;margin:45px 0}.feature-strip div{display:flex;align-items:center;gap:11px;color:var(--muted);font-size:.82em}.feature-strip strong{font-size:1.4em;color:var(--brass);font-family:Georgia,serif;font-weight:normal}
.game-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px}.game-head h1{font:normal clamp(34px,4vw,54px) Georgia,serif;margin:8px 0 4px}.game-head p{color:var(--muted)}.game-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.game-stage{min-height:400px;border:1px solid #ffffff25;border-radius:28px;padding:clamp(14px,3vw,30px);background:radial-gradient(ellipse at 50% 0%,#2d6959,#1c463c 80%);box-shadow:inset 0 1px 0 #ffffff21,0 25px 50px #0b221a44;position:relative;overflow:auto}.game-notice{font-size:.9em;margin:0 0 18px;color:#f5e5be}.game-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.game-toolbar .stat{color:#e7deb9;min-height:46px;display:flex;align-items:center;padding:7px 15px;border:1px solid #ffffff2b;border-radius:16px}.table-note{padding:17px 0 0;color:#e6e1cf;font-size:.82em}.hand{display:flex;justify-content:center;gap:clamp(5px,1vw,13px);flex-wrap:wrap}.playing-card{border:2px solid #dacdae;color:#24271f;background:linear-gradient(155deg,#fffdf6,#f5ead4);border-radius:10px;position:relative;width:var(--cardw);height:var(--cardh);display:grid;place-items:center;box-shadow:2px 5px 6px #09251d78;flex-shrink:0;user-select:none;font:normal calc(29px*var(--size)) Georgia,serif}.playing-card.red{color:#b7434c}.playing-card .corner{position:absolute;left:7px;top:5px;font:700 calc(13px*var(--size)) Georgia,serif;line-height:1.05;text-align:center}.playing-card .corner.bottom{left:auto;top:auto;right:7px;bottom:5px;transform:rotate(180deg)}.playing-card.back{background:repeating-linear-gradient(40deg,#234b44 0 5px,#315f54 5px 8px);border:4px solid #f0deb4;color:#e4d49d;font-size:38px}.playing-card.selected{transform:translateY(-14px);outline:4px solid #f0d18d;outline-offset:2px}.playing-card:disabled{opacity:1}.playing-card:focus-visible{outline:3px solid #e6c773;outline-offset:2px}
.sol-top{display:flex;gap:clamp(5px,1vw,14px);align-items:flex-start;justify-content:space-between;margin:8px 0 30px}.sol-set{display:flex;gap:clamp(4px,1vw,12px)}.sol-slot{width:var(--cardw);height:var(--cardh);border:2px dashed #ffffff55;border-radius:10px;display:grid;place-items:center;color:#ffffff78;background:#091e1535;position:relative;font-size:30px}.sol-slot button.playing-card{position:absolute;inset:-2px}.sol-columns{display:grid;grid-template-columns:repeat(7,var(--cardw));gap:clamp(4px,1vw,12px);width:max-content;margin:0 auto;min-height:290px}.sol-column{position:relative;min-height:220px;width:var(--cardw);border:2px dashed #ffffff36;border-radius:9px}.sol-column .playing-card{position:absolute;left:-2px}.sol-column .drop-target{position:absolute;inset:0;min-height:220px;width:100%;background:none;border:0;border-radius:10px}.sol-column .playing-card{z-index:2}.sol-column .playing-card:last-child{z-index:3}.sol-column .drop-target{z-index:1}.sol-column[data-selected=true]{outline:3px solid #edcd78}.sol-wrap{overflow:auto;padding:6px 3px 25px}
.poker-table{padding:5px 0 12px;text-align:center}.poker-seat-label{font-size:.75em;letter-spacing:.2em;color:#e0d7b9;margin:8px 0 14px}.poker-divider{margin:25px auto 19px;border-bottom:1px solid #ffffff32;max-width:480px}.poker-result{font:normal 27px Georgia,serif;color:#f5dfaf;min-height:38px;margin:14px 0}.poker-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:11px;margin:24px 0}.card-button.selected .playing-card{transform:translateY(-14px);outline:4px solid #f0d18d;outline-offset:2px}.memory-card.matched:disabled{opacity:1}.poker-stat{display:flex;justify-content:center;gap:20px;font-size:.85em;color:#f4e4bc}.poker-stat strong{color:#fff}
.memory-grid{display:grid;grid-template-columns:repeat(4,minmax(67px,112px));gap:14px;justify-content:center;margin:auto}.memory-card{aspect-ratio:3/4;border:2px solid #bca46c;border-radius:15px;background:linear-gradient(130deg,#20453d,#17352e);box-shadow:2px 7px 10px #09231e5c;color:#e8d2a0;font:normal clamp(27px,5vw,48px) Georgia,serif;min-height:80px;transition:transform .25s,background .25s}.memory-card.revealed,.memory-card.matched{background:var(--paper);color:#234a3d;transform:rotateY(0)}.memory-card.matched{box-shadow:0 0 0 3px #f0d394,2px 7px 10px #09231e5c}.memory-card:not(.revealed):not(.matched):hover{transform:translateY(-3px)}
.modal-cover{position:fixed;inset:0;background:#061915b9;backdrop-filter:blur(10px);z-index:20;display:grid;place-items:center;padding:20px}.modal{width:min(100%,540px);max-height:90vh;overflow:auto;background:#f5eee0;border-radius:25px;color:#24372e;padding:clamp(22px,4vw,37px);box-shadow:0 25px 90px #0008}.modal h2{font:normal 40px Georgia,serif;margin:8px 0 15px}.modal p{color:#49645b;margin-bottom:17px}.modal .primary-button{background:#254c41;color:#fff}.modal-close{float:right;border:0;background:none;font-size:27px;color:#24372e;width:44px;height:44px}.option-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #b1baa9;padding:17px 0}.option-row select{padding:10px;background:#fff;border:1px solid #82978b;border-radius:10px;min-width:120px;font-size:1em}.plan{border:1px solid #b1baa9;padding:17px;border-radius:17px;margin:10px 0}.plan strong{font:normal 27px Georgia,serif}.plan small{display:block;color:#527064}.planned{display:inline-block;font-size:.72em;text-transform:uppercase;letter-spacing:.1em;color:#526c5e;margin-bottom:8px}
.site-footer{max-width:1380px;margin:0 auto;padding:20px clamp(18px,4vw,54px) 34px;display:flex;justify-content:space-between;gap:16px;border-top:1px solid #ffffff19;color:var(--muted);font-size:.65em;letter-spacing:.15em}
body.light .hero p,body.light .section-title p,body.light .game-head p,body.light .game-tile p{color:#476d5b}body.light .game-tile,body.light .icon-button{border-color:#6d84756b;background:#e9e8d6}body.light .game-tile .game-badge{border-color:#476d5b}body.light .small-button,body.light .secondary-button{background:#235246;color:#fff}
@media(max-width:900px){.hero{grid-template-columns:1fr}.hero-copy{padding:10px 0}.hero-scene{min-height:280px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-note{display:none}.feature-strip{grid-template-columns:1fr}.game-head{flex-direction:column}.game-actions{justify-content:flex-start}}
@media(max-width:600px){:root{--cardw:49px;--cardh:72px}.site-header{padding:16px}.brand-name{font-size:17px}.brand-sub{font-size:7px}.brand-glyph{width:40px;height:40px}.header-right{gap:8px}.header-right .pill-button{display:none}.hero h1{font-size:44px}.hero-scene{min-height:250px}.game-grid{grid-template-columns:1fr}.game-tile{min-height:185px;padding:20px}.game-tile .game-emblem{font-size:48px;height:53px}.game-tile h3{margin-top:7px}.feature-strip{margin:30px 0}.game-stage{border-radius:20px;padding:13px 8px}.sol-top{justify-content:flex-start}.sol-set{gap:4px}.sol-slot{font-size:17px}.sol-columns{gap:4px}.playing-card{font-size:22px}.playing-card .corner{font-size:11px;left:4px}.playing-card .corner.bottom{right:4px}.poker-table .playing-card{width:56px;height:80px;font-size:26px}.poker-table .hand{gap:5px}.memory-grid{gap:9px}.memory-card{min-height:70px}.site-footer{flex-direction:column}.section-title{margin-top:38px}.header-right .icon-button{width:44px;height:44px}.scene-table{height:200px}}
@media(max-width:395px){:root{--cardw:43px;--cardh:63px}.sol-top{gap:7px}.sol-set{gap:4px}.poker-table .playing-card{width:50px;height:75px}.hero h1{font-size:40px}}