:root{--shell-ink:#18382c;--shell-gold:#bc9657;--shell-paper:#f6f3eb}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--shell-paper);color:var(--shell-ink);font-family:'DM Sans',system-ui,sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-underline-offset:4px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #c9973a;outline-offset:3px}.site-header{max-width:1392px;margin:auto;padding:18px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px}.wordmark{font-family:'Cormorant Garamond',Georgia,serif;font-size:28px;font-weight:700;text-decoration:none;white-space:nowrap}.wordmark em{font-weight:600}.brand-spade{font-size:30px;color:#164e36;margin-right:8px}.site-header nav{display:flex;gap:28px;font-size:14px;font-weight:600}.site-header nav a{text-decoration:none}.play-section{max-width:1392px;margin:auto;padding:0 32px 32px}.stage-heading{display:flex;align-items:end;justify-content:space-between;padding:22px 0 20px;gap:24px}.eyebrow{font-size:12px;letter-spacing:.18em;font-weight:700}.stage-heading h1{font-family:'Cormorant Garamond',Georgia,serif;font-weight:700;font-size:44px;line-height:1.1;margin:4px 0 0}.stage-heading p{margin:0;color:#68776d;font-size:14px}.stage{height:810px;width:100%;position:relative;background:#08402c;border:1px solid #a18750;border-radius:16px;overflow:hidden;box-shadow:0 14px 45px #18382c18}.stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.game-cover{position:absolute;inset:0;overflow:hidden;background:#073e29}.game-cover>img{width:100%;height:100%;object-fit:cover;opacity:.45}.cover-caption{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#fff8df;background:linear-gradient(90deg,#063420cc,#06342025,#063420cc);padding:24px}.cover-caption .eyebrow{color:#e3c484}.cover-caption h2{font:600 clamp(32px,4vw,58px)/1.15 'Cormorant Garamond',Georgia,serif;margin:18px 0 8px}.cover-caption p{color:#eee6cd;margin:0 0 26px}.play-button{background:#e0c28a;border:1px solid #f5dfb3;border-radius:8px;padding:14px 30px;color:#193a2a;font-weight:700;font-size:18px;min-height:52px;box-shadow:0 6px 20px #0004}.play-button:hover{background:#f4dba8}.play-button span{margin-left:26px}.cover-caption small{margin-top:24px;color:#e4dfcf;font-size:12px}.loader{position:absolute;inset:0;display:none;align-items:center;justify-content:center;flex-direction:column;color:#fff3d7;gap:16px}.stage[data-gf-state=loading] .loader{display:flex}.loading-spade{font-size:48px;animation:breathe 1s ease-in-out infinite alternate}@keyframes breathe{to{opacity:.4;transform:translateY(-5px)}}.under-game{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:12px;color:#667368;padding:12px 0}.under-game>div{display:flex;gap:8px}.under-game button{background:transparent;border:1px solid #c8cec3;border-radius:6px;color:#365142;padding:8px 12px;min-height:40px}.editorial{max-width:1120px;margin:32px auto 64px;padding:0 24px;columns:2;column-gap:64px}.editorial h2{font:700 32px/1.2 'Cormorant Garamond',Georgia,serif;break-after:avoid;margin:0 0 18px;padding-top:24px}.editorial h3{font-size:18px;break-after:avoid}.editorial p,.editorial ul,.editorial ol{font-size:16px;line-height:1.8;color:#46564d}.community{max-width:1120px;margin:0 auto 64px;padding:32px 24px;border-top:1px solid #d5dacd;display:grid;grid-template-columns:1fr 1fr;gap:64px}.community h2{font:700 32px/1.2 'Cormorant Garamond',Georgia,serif}.community p{color:#657165}.community label{display:block;font-size:13px;margin-bottom:12px}.community input,.community textarea{display:block;width:100%;margin-top:4px;background:#fffdf8;border:1px solid #bac4b6;border-radius:8px;padding:12px}.community button{padding:12px 24px;background:#1c4c35;color:white;border:0;border-radius:8px}.comment{padding:12px 0;border-bottom:1px solid #d2d8cb}.comment time{font-size:12px;margin-left:12px}.site-footer{border-top:1px solid #d2d8cb;background:#eaece2;padding:36px 24px;text-align:center}.site-footer p{margin:4px 0 18px;color:#657165;font-size:14px}.site-footer nav{display:flex;gap:24px;justify-content:center;flex-wrap:wrap;font-size:13px}.site-footer small{display:block;margin-top:24px;font-size:12px;color:#657165}.reading-page{max-width:850px;margin:32px auto 72px;padding:0 24px}.reading-page h1{font:700 44px/1.15 'Cormorant Garamond',Georgia,serif;margin:24px 0}.reading-page h2{font:700 30px/1.2 'Cormorant Garamond',Georgia,serif;margin-top:40px}.reading-page h3{font-size:20px}.reading-page p,.reading-page li{line-height:1.85}.back-link{font-size:14px}.reading-page a{color:#1b6946}@media(max-width:700px){.site-header{padding:16px;gap:12px}.wordmark{font-size:23px}.site-header nav{gap:16px;font-size:12px}.site-header nav a:last-child{display:none}.play-section{padding:0 8px 24px}.stage-heading{padding:12px 8px 16px}.stage-heading h1{font-size:32px}.stage-heading p{display:none}.eyebrow{font-size:12px}.stage{height:730px;border-radius:10px}.under-game{padding:12px 8px}.under-game>span{display:none}.under-game>div{margin-left:auto}.editorial{columns:1;margin-top:0}.community{grid-template-columns:1fr;gap:16px}.reading-page h1{font-size:34px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(max-width:700px),(hover:none) and (pointer:coarse){.desktop-only{display:none!important}}

.kf{--felt:#08432d;--felt2:#052f21;--gold:#d3b579;--line:#b99b5b;--text:#fff0d0;--back:#702637;--card:#fffaf0;--ink:#18211e;--red:#b62f3c;--button:#0c3a28;--step:30px;--hidden-step:15px;--radius:10px;color:var(--text);font:14px/1.45 'DM Sans',system-ui,sans-serif;background:radial-gradient(ellipse at 50% 20%,var(--felt),var(--felt2));min-height:100vh;padding:12px 16px 10px;overflow-x:hidden}.kf *{box-sizing:border-box}.kf button{font:inherit;cursor:pointer;touch-action:manipulation}.kf-title{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:0 2px 10px}.kf-title h1{font:700 32px/1 'Cormorant Garamond',Georgia,serif;letter-spacing:.03em;margin:0}.kf-title h1 em{font-weight:600}.kf-crest{font-size:35px;color:var(--gold)}.kf button{border:1px solid var(--line);border-radius:7px;color:var(--text);background:var(--button);min-height:40px;padding:8px 14px}.kf button:hover{filter:brightness(1.14)}.kf button:disabled{opacity:.45;cursor:default}.kf button:focus-visible{outline:3px solid #f4ca64;outline-offset:3px}.kf .kf-boss{margin-left:auto;border-radius:22px;font-size:12px;background:var(--back)}.kf-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0 8px}.kf-draw{display:inline-flex;gap:0}.kf-draw button{border-radius:0}.kf-draw button:first-child{border-radius:7px 0 0 7px}.kf-draw button:last-child{border-radius:0 7px 7px 0;border-left:0}.kf-draw [aria-pressed=true]{background:var(--gold);color:var(--felt2);font-weight:700}.kf-status{display:flex;justify-content:space-between;color:var(--gold);font-size:12px;padding:3px 2px 10px;letter-spacing:.03em}.kf-board{position:relative;border:1px solid #d3b57955;border-radius:var(--radius);padding:14px 12px 20px;min-height:485px;background-image:repeating-linear-gradient(0deg,transparent,transparent 2px,#ffffff02 2px,#ffffff02 3px);isolation:isolate}.kf-top,.kf-tableau{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}.kf-tableau{margin-top:24px;min-height:260px}.kf-pile{position:relative;min-width:0;aspect-ratio:5/7}.kf-pile.tableau-pile{aspect-ratio:auto;min-height:260px}.kf .pile-target{position:absolute;inset:0 0 auto;width:100%;aspect-ratio:5/7;border:1px solid #d3b57966;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;color:var(--gold);background:#ffffff02;min-height:0;font-family:Georgia,serif;font-size:clamp(22px,4vw,54px);padding:0}.kf .card{position:absolute;isolation:isolate;z-index:0;top:var(--top,0);left:0;width:100%;aspect-ratio:5/7;min-height:0;overflow:hidden;padding:0;border-radius:var(--radius);border:1px solid #e1d7bd;background:var(--card);color:var(--ink);box-shadow:0 2px 4px #0003;touch-action:none;text-align:left;font-family:Georgia,serif;user-select:none}.kf .card.red{color:var(--red)}.kf .card.back{background-color:var(--back);background-image:repeating-linear-gradient(45deg,transparent,transparent 5px,#fff4 5px,#fff4 6px),repeating-linear-gradient(-45deg,transparent,transparent 5px,#fff2 5px,#fff2 6px);border:4px solid var(--card)}.kf .card.back::after{content:'♠';position:absolute;inset:18% 16%;border:1px solid #f1dabd88;border-radius:30%;font-size:clamp(20px,4vw,54px);color:#fff8;display:grid;place-items:center}.corner{position:absolute;left:6%;top:3%;display:flex;flex-direction:column;align-items:center;font-weight:700;font-size:clamp(18px,2.5vw,33px);line-height:.96;z-index:2}.corner small{font-size:.75em}.corner.bottom{left:auto;top:auto;right:6%;bottom:3%;transform:rotate(180deg)}.card-center{position:absolute;inset:16% 20%;display:grid;grid-template-columns:repeat(2,1fr);align-items:center;justify-items:center;gap:0;font-size:clamp(16px,2.8vw,36px);line-height:1}.card-center.single{grid-template-columns:1fr;font-size:clamp(28px,5vw,66px)}.card-center.court{inset:14% 19%;border:1px solid currentColor;background:linear-gradient(135deg,#c5a25822,#fff0);grid-template-columns:1fr;font-size:clamp(27px,5vw,72px)}.court small{font:700 clamp(12px,1vw,14px)/1 'Cormorant Garamond',Georgia,serif;letter-spacing:.08em}.kf .card.selected{outline:3px solid #ffda79;outline-offset:2px;transform:translateY(-3px)}.kf .card.hinted{outline:3px solid #c6ffb2;outline-offset:2px}.kf .card.dragging{opacity:.65}.kf-board.left-handed .kf-top{direction:rtl}.kf-board.left-handed .kf-top>*{direction:ltr}#kf-message{font-size:12px;min-height:34px;margin:10px 2px;color:var(--text);opacity:.85}.kf-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:10px}.kf-stats{display:flex;gap:22px;font-size:12px;color:var(--gold)}.kf-stats b{color:var(--text);font-variant-numeric:tabular-nums;margin-left:4px;font-size:14px}.kf-secondary{display:flex;gap:6px}.kf-secondary button{font-size:12px;padding:6px 10px;min-height:36px}.kf dialog{border:1px solid var(--line);border-radius:14px;background:#fcf8ee;color:#223b2e;max-width:570px;width:calc(100% - 28px);padding:0;max-height:88vh;box-shadow:0 16px 70px #0006}.kf dialog::backdrop{background:#001d18bb;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid #d7d7c7}.dialog-heading h2{font:700 28px/1.1 'Cormorant Garamond',Georgia,serif;margin:0}.kf #dialog-close{background:transparent;color:#34483b;border:0;font-size:25px;min-height:36px;padding:0 4px}#dialog-body{padding:20px 22px;overflow:auto}#dialog-body p{font-size:14px;color:#566357}#dialog-body .dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}#dialog-body button{background:#174d36;color:#fff7df;border-color:#174d36}#dialog-body button.secondary{background:transparent;color:#174d36;border-color:#9bab9d}.kf label.field{display:block;font-size:13px;margin-bottom:16px;font-weight:600}.kf input,.kf select{font:inherit;padding:11px;border:1px solid #a9b8a9;border-radius:7px;width:100%;margin-top:6px;color:#233b2c;background:#fffef9}.kf .check-field{display:flex;align-items:center;gap:10px;font-size:14px;margin:13px 0}.kf .check-field input{width:auto;margin:0}.theme-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.kf .theme-choice{display:flex;gap:10px;align-items:center;background:#f2efe4!important;color:#233b2c!important;border-color:#bfc7b8!important;text-align:left;font-size:12px;padding:10px!important}.theme-choice[aria-pressed=true]{outline:2px solid #94773e}.theme-swatch{display:inline-block;width:25px;height:32px;border:2px solid #fdf8e8;border-radius:4px;box-shadow:0 0 0 1px #aaa;flex-shrink:0}.kf table{border-collapse:collapse;width:100%;font-size:13px}.kf th,.kf td{text-align:left;border-bottom:1px solid #d9ddd1;padding:9px 5px}.kf tr.mine{background:#e6eddb;font-weight:700}.kf td:last-child{text-align:right;font-variant-numeric:tabular-nums}.board-controls{display:flex;gap:10px;align-items:end;margin-bottom:12px}.board-controls select{width:auto;margin:0}.muted-note{font-size:12px!important;color:#657367!important}.kf #paused-overlay{position:absolute;inset:0;background:var(--felt);z-index:120;display:flex;align-items:center;justify-content:center;flex-direction:column;border-radius:var(--radius)}.kf #paused-overlay[hidden],.kf #boss-shield[hidden]{display:none}.kf #paused-overlay>span{font-size:60px;color:var(--gold)}.kf #paused-overlay h2{font:600 32px 'Cormorant Garamond',Georgia,serif}.kf #boss-shield{position:fixed;inset:0;background:#f5f6f7;z-index:2147483647}.learn-card{font:700 30px Georgia,serif;letter-spacing:8px;padding:20px;background:#f2efe5;border-radius:8px;text-align:center}.kf[data-theme=cream]{--felt:#f4f0e8;--felt2:#e8e3d8;--gold:#a55249;--line:#b5a99c;--text:#25342f;--back:#d77f70;--button:#faf7f0;--card:#fff;--radius:5px}.kf[data-theme=cream] .kf-title h1{font-family:'DM Sans',sans-serif;letter-spacing:-.04em}.kf[data-theme=midnight]{--felt:#122946;--felt2:#081426;--gold:#9cbce7;--line:#496d9b;--text:#eff4ff;--back:#214f88;--button:#0c1b32;--card:#fcfcf8}.kf[data-theme=retro]{--felt:#087e7e;--felt2:#086c6c;--gold:#fff;--line:#bbb;--text:#111;--back:#17407e;--button:#ccc;--card:#fff;--radius:0}.kf[data-theme=retro] .kf-toolbar,.kf[data-theme=retro] .kf-title,.kf[data-theme=retro] .kf-footer{background:#c7c7c7;padding:8px;border:2px outset #eee;font-family:monospace}.kf[data-theme=retro] .kf-title h1{font-family:monospace;font-size:24px}.kf[data-theme=retro] button{border-radius:0;border:2px outset #eee}.kf[data-theme=zen]{--felt:#a5af98;--felt2:#89997c;--gold:#2d4051;--line:#d9d3bd;--text:#28372e;--back:#324e70;--button:#eeebdf;--card:#faf4df;--radius:12px}.kf[data-theme=zen] .card.back{background-image:repeating-radial-gradient(ellipse at 50% 100%,transparent 0 5px,#fff4 6px 7px,transparent 8px 12px)}.kf[data-theme=neon]{--felt:#25133e;--felt2:#100b23;--gold:#6ff6f1;--line:#b66ff5;--text:#f7edff;--back:#691e84;--button:#231330;--card:#fff;--radius:6px}.kf[data-theme=neon] .kf-title,.kf[data-theme=neon] .kf-board{box-shadow:inset 0 0 18px #d32cba44,0 0 10px #58f7ee22}.kf[data-theme=neon] .card.back{background-image:linear-gradient(45deg,transparent 48%,#55fff6 49%,transparent 51%),linear-gradient(-45deg,transparent 48%,#fb69ff 49%,transparent 51%);background-size:16px 16px}.kf[data-theme=wood]{--felt:#744b2c;--felt2:#382719;--gold:#ead4a2;--line:#be945c;--text:#fff0d4;--back:#7d3828;--button:#513321;--card:#fff1d2}.kf[data-theme=wood] .kf-board{background-image:repeating-linear-gradient(2deg,#0001 0 2px,transparent 2px 7px,#f7d69b0c 8px 11px)}.kf[data-theme=nordic]{--felt:#d7e8ed;--felt2:#b8d2df;--gold:#395c6b;--line:#91adb8;--text:#264351;--back:#e7b957;--button:#f5f7ec;--card:#fff;--radius:14px}.kf[data-theme=nordic] .kf-title h1{font-family:'DM Sans',sans-serif;font-weight:600}.kf[data-theme=deco]{--felt:#173a30;--felt2:#0a1915;--gold:#e1bc71;--line:#c5a25d;--text:#fff1cb;--back:#123d30;--button:#102d25;--card:#fff0ce;--radius:2px}.kf[data-theme=deco] .kf-board{border:5px double var(--line)}.kf[data-theme=deco] .card.back{background-image:repeating-linear-gradient(60deg,transparent 0 13px,#d8b164 14px 15px),repeating-linear-gradient(-60deg,transparent 0 13px,#d8b164 14px 15px)}.kf[data-theme=paper]{--felt:#eee0c7;--felt2:#dfcbaa;--gold:#294969;--line:#627a91;--text:#29415c;--back:#547a9b;--button:#f9edda;--card:#fff3dd;--radius:10px}.kf[data-theme=paper] button,.kf[data-theme=paper] .kf-board{border-style:dashed}.kf[data-theme=paper] .card.back{background-image:repeating-linear-gradient(35deg,transparent 0 9px,#fff8 10px 11px,transparent 12px 18px)}@media(min-width:1300px){.kf{--step:35px}.kf-board{min-height:560px}}@media(max-width:700px){.kf{padding:8px 6px;--step:25px;--hidden-step:12px}.kf-title{gap:6px;padding-bottom:8px}.kf-title h1{font-size:25px}.kf-crest{font-size:26px}.kf .kf-boss{font-size:12px;padding:6px 8px;min-height:34px}.kf-toolbar{gap:5px;padding-top:8px}.kf-toolbar>button,.kf-draw button{font-size:12px;padding:7px 8px;min-height:36px}.kf-top,.kf-tableau{gap:5px}.kf-board{padding:10px 5px 16px;min-height:425px}.kf-tableau{margin-top:16px}.kf .card{border-radius:5px}.kf .card.back{border-width:2px}.corner{font-size:clamp(14px,3.8vw,24px)}.card-center{font-size:clamp(13px,3.7vw,22px)}.card-center.court{font-size:clamp(20px,6vw,38px)}.card-center.single{font-size:clamp(22px,7vw,40px)}.kf-footer{flex-direction:column;gap:10px}.kf-stats{width:100%;justify-content:space-around;gap:8px}.kf-secondary{justify-content:center;flex-wrap:wrap}.kf-secondary button{font-size:12px}.kf-status{font-size:12px}.kf dialog{max-height:90vh}.kf #dialog-body{padding:16px}.kf[data-theme=retro] .kf-title h1{font-size:18px}.kf .pile-target{font-size:26px}}@media(prefers-reduced-motion:reduce){.kf *{animation:none!important;transition:none!important}}

/* Fit a complete desktop table within its embedded viewport. */
body:has(>.kf){background:#052f21}.kf{max-width:1120px;margin:0 auto}#kf-message{min-height:17px;margin:6px 2px}.kf-footer{padding-top:8px}.kf-title{padding-bottom:8px}.kf-toolbar{padding-top:8px;padding-bottom:6px}@media(min-width:1300px){.kf{--step:30px}.kf-board{min-height:485px}}
.kf .card:disabled{opacity:1;cursor:default}.card-center{font-size:clamp(16px,2.1vw,26px)}@media(max-width:700px){.card-center:not(.court):not(.single){display:flex;align-items:center;justify-content:center;font-size:24px}.card-center:not(.court):not(.single)>span:not(:first-child){display:none}}

@media(max-width:700px),(hover:none) and (pointer:coarse){.kf .kf-boss,.kf .kf-desktop-only{display:none!important}}

.kf .pile-target{color:var(--gold)}@media(max-width:700px){.court small{display:none}}

.kf.is-embedded{min-height:0}
