@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/font-1.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/font-2.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/font-3.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/font-4.ttf) format('truetype');
}
@font-face {
  font-family: 'Libre Caslon Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/font-5.ttf) format('truetype');
}

:root{--paper:#f8f6ef;--ink:#173f35;--muted:#59675e;--line:#dcded2;--green:#184a3c;--red:#b53d35;--gold:#e3bc70;font-family:'DM Sans',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button svg,a svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button{color:inherit}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b77926;outline-offset:5px}::selection{background:#e3bc70;color:#173f35}h1,h2,h3,p{margin:0}h1,h2{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;text-wrap:balance}button{border:0}a,button{transition:background .18s ease,color .18s ease,transform .18s ease}a:hover,button:hover{color:#8b4d25}button:disabled:hover{color:inherit}.site-header{height:100px;max-width:1360px;margin:auto;padding:0 56px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-family:'Libre Caslon Display',Georgia,serif;font-size:34px;display:flex;align-items:center;gap:11px;letter-spacing:-1px}.brand svg{width:35px;height:37px;fill:var(--paper);stroke:var(--ink);stroke-width:1.5}.brand svg path{fill:var(--ink);stroke:none}.brand-dot{margin-left:-11px;color:#ab7246}nav{display:flex;gap:35px;align-items:center;font-size:15px;font-weight:500}.plain{background:none;padding:12px 0}.icon-button{display:grid;place-items:center;background:none;width:42px;height:42px;border:1px solid var(--line);border-radius:50%}main{max-width:1360px;margin:auto}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:540px;gap:20px;padding:66px 56px 68px;align-items:center}.hero h1{font-size:clamp(58px,5.6vw,84px);line-height:1.04;letter-spacing:-2px}.hero h1 em{font-weight:400;color:#40684e}.hero-copy>p{font-size:17px;line-height:1.85;color:var(--muted);margin:25px 0 27px}.primary{background:var(--ink);color:#fffaf0;border-radius:6px;display:inline-flex;justify-content:center;align-items:center;gap:32px;padding:17px 24px;font-weight:600;font-size:16px;min-height:52px}.primary:hover{background:#286348;color:white;transform:translateY(-2px)}.hero-note{display:block;font-size:12px;margin-top:17px;color:var(--muted)}.hero-art{height:402px;position:relative;background:#174c3e;border-radius:49% 49% 8px 8px;overflow:hidden;box-shadow:0 17px 34px #173f3514}.table-orbit{position:absolute;inset:19px;border:1px solid #e8dba533;border-radius:49% 49% 4px 4px}.table-lettering{position:absolute;top:46px;width:100%;text-align:center;font-size:10px;letter-spacing:4px;color:#e4d7b5}.hero-card{width:124px;height:177px;background:#fffaf0;border-radius:9px;position:absolute;top:127px;left:calc(50% - 62px);box-shadow:0 10px 16px #061f3540;font-family:Georgia,serif;color:#183e34;padding:12px;transform-origin:50% 120%}.hero-card>span{font-size:27px;line-height:1;display:block}.hero-card small{display:block;font-size:25px}.hero-card b{position:absolute;font-size:68px;left:42px;top:65px;font-weight:400}.hc-one{transform:rotate(-27deg) translateX(-71px)}.hc-two{transform:rotate(-9deg) translateX(-24px)}.hc-three{transform:rotate(11deg) translateX(23px)}.hc-four{transform:rotate(30deg) translateX(68px)}.red{color:var(--red)!important}.table-caption{position:absolute;bottom:36px;width:100%;display:flex;justify-content:center;align-items:center;gap:12px;font-family:Georgia,serif;font-style:italic;color:#eadfc4;font-size:14px}.tiny-line{height:1px;width:25px;background:#e3bc7080}.collection{padding:38px 56px 65px;border-top:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:20px}.section-heading h2{font-size:35px;letter-spacing:-.6px}.section-heading p{color:var(--muted);font-size:14px;margin-top:10px}.collection-note{font-size:10px;letter-spacing:2px;white-space:nowrap;color:var(--muted)}.game-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:22px}.tile-art{height:175px;position:relative;overflow:hidden;border-radius:8px;margin-bottom:18px;display:flex;align-items:center;justify-content:center}.game-tile h3{font-size:16px;font-weight:600}.game-tile>p{font-size:12px;line-height:1.65;color:var(--muted);margin-top:7px}.tile-title{display:flex;align-items:center;justify-content:space-between}.tile-title svg{width:18px}.solitaire-art{background:#285846}.mini-card{width:58px;height:85px;background:#fffaf0;border-radius:5px;box-shadow:0 5px 10px #16372822;position:absolute;color:var(--ink);font:23px Georgia,serif;padding:6px}.mini-card span{display:block;font-size:31px;text-align:center}.tile-art .mini-card:nth-child(1){transform:translate(-34px,-6px) rotate(-17deg)}.tile-art .mini-card:nth-child(2){transform:translate(0,-3px) rotate(-2deg)}.tile-art .mini-card:nth-child(3){transform:translate(34px,3px) rotate(15deg)}.play-badge,.soon{position:absolute;bottom:12px;font-size:10px;letter-spacing:.15px;border-radius:20px;padding:6px 10px;background:#ffffffd9;z-index:3;color:#254c3e}.play-badge{background:#efe7cb;display:flex;gap:16px}.available:hover .tile-art{box-shadow:0 8px 20px #173f3520}.spider-art{background:#e6dcc6}.sudoku-art{background:#dfe5df}.sudoku-mini{display:grid;grid-template-columns:repeat(3,32px);transform:rotate(-9deg);border:1px solid #8d9c8f;background:#faf8ef;color:#546753;margin-top:-17px}.sudoku-mini span{height:32px;display:grid;place-items:center;border:.5px solid #acb6aa;font:23px Georgia,serif}.word-art{background:#ede0d0}.word-mini{font:17px/1.65 Georgia,serif;letter-spacing:3px;transform:rotate(6deg);color:#745c48;margin-top:-17px}.mahjong-art{background:#e3e5cc;gap:5px}.mahjong-piece{border-radius:5px;background:#faf8ec;padding:8px;width:51px;height:71px;color:#5a704f;font-size:16px;text-align:center;box-shadow:0 5px 0 #9d9f7b;transform:rotate(-12deg) translateY(-7px)}.mahjong-piece+.mahjong-piece{transform:rotate(12deg) translateY(-4px)}.closing{text-align:center;padding:48px 24px 56px;border-top:1px solid var(--line);background:#edeee4}.closing>svg{width:25px;height:25px;fill:none;stroke:#687b60;stroke-width:1.4;margin-bottom:15px}.closing h2{font-size:34px}.closing p{font-size:14px;line-height:1.85;color:var(--muted);margin-top:13px}footer{max-width:1360px;margin:auto;padding:30px 56px;display:flex;align-items:center;gap:25px;font-size:12px;color:var(--muted)}footer .brand{font-size:25px;color:var(--ink)}footer>span{margin-left:auto}.skip{position:fixed;top:-100px;left:16px;background:white;padding:15px;z-index:99}.skip:focus{top:12px}
#game-view{padding:28px 56px 25px}.game-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.back-link{font-size:13px;color:var(--muted);display:inline-block;margin-bottom:8px}.game-heading h1{font-size:44px;display:flex;align-items:center;gap:20px}.game-heading h1 span{font:13px 'DM Sans',sans-serif;color:var(--muted)}.outline{background:transparent;border:1px solid #adb8a9;border-radius:6px;padding:13px 20px;min-height:46px}.outline:hover{background:#e8ecdf}.game-shell{background:#174b3d;border-radius:12px;color:#f9f6e9;overflow:hidden;box-shadow:0 12px 24px #153e3514}.game-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:20px 28px;border-bottom:1px solid #f0e5c920}.game-stats{display:flex;gap:24px;flex-shrink:0}.game-stats span{display:flex;align-items:center;gap:10px}.game-stats small{font-size:9px;letter-spacing:1.4px;color:#d4dfcf}.game-stats strong{font-size:17px;font-weight:500;font-variant-numeric:tabular-nums}.game-toolbar>p{font-size:12px;color:#dbe6d7;text-align:center;max-width:430px;line-height:1.5}.game-tools{display:flex;gap:16px}.game-tools button{display:flex;align-items:center;gap:7px;color:#fff9eb;background:none;padding:8px 0;font-size:14px;min-height:40px}.game-tools svg{width:18px;height:18px}.board-scroll{padding:25px 28px 0;overflow-x:auto}#board{--card-w:min(10.4vw,124px);--card-h:calc(var(--card-w)*1.42);--step:31px;max-width:990px;margin:auto;min-height:500px}.top-row,.tableau{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:18px}.top-row{margin-bottom:27px}.pile-slot{height:var(--card-h);width:100%;max-width:var(--card-w);border:1px solid #e8e9d342;border-radius:7px;position:relative;background:transparent;color:#d2ddce}.empty-label{font-family:Georgia,serif;font-size:40px;opacity:.65;pointer-events:none}.pile-slot .card{position:absolute;inset:0}.card{height:var(--card-h);width:100%;border:0;border-radius:7px;background:#fffcf2;box-shadow:0 2px 3px #032f2a55;color:#183e34;padding:0;position:relative;text-align:left;user-select:none;cursor:pointer;overflow:hidden}.card:hover{color:#183e34;background:#fffdf6;box-shadow:0 0 0 2px #dab466,0 3px 8px #032f2a55;z-index:20!important}.card .corner{position:absolute;top:6px;left:8px;display:flex;gap:3px;align-items:center;font:600 24px Georgia,serif;line-height:1}.card .center-suit{position:absolute;inset:35% 0 0;text-align:center;font:normal 53px Georgia,serif}.card .bottom-corner{position:absolute;right:7px;bottom:6px;font:18px Georgia,serif;transform:rotate(180deg)}.card.back{background:#eae9d6;cursor:default;border:4px solid #f7f2dc;box-shadow:0 2px 3px #032f2a55}.card.back:before{content:'';position:absolute;inset:3px;border:1px solid #b4bba7;background:repeating-linear-gradient(45deg,transparent,transparent 5px,#496b5720 5px,#496b5720 6px),repeating-linear-gradient(-45deg,#466a5510,#466a5510 5px,#496b5730 5px,#496b5730 6px)}.card.back:after{content:'L';position:absolute;inset:30% 0;text-align:center;font:33px 'Libre Caslon Display',Georgia,serif;color:#55715b}.stock-slot{cursor:pointer}.stock-slot .card{pointer-events:none}.stock-caption{font:10px 'DM Sans',sans-serif;position:absolute;bottom:-20px;left:0;width:100%;text-align:center;color:#d0dfd0;white-space:nowrap}.tableau-pile{position:relative;min-height:var(--card-h);padding:0}.tableau-pile>.card{position:absolute;top:calc(var(--pos)*var(--step));left:0}.tableau-pile .empty-label{display:grid;place-items:center;width:100%;height:100%;font-size:25px}.selected{outline:3px solid #f4c86a!important;outline-offset:2px;filter:brightness(1.025)}.hinted{outline:3px dashed #f4c86a!important;outline-offset:4px}.legal-target{background:#f3d88e22;border-color:#f1d78e}.table-bottom{display:flex;align-items:center;justify-content:space-between;padding:18px 28px;font-size:11px;color:#d3dfcf;gap:15px}.table-bottom button{background:none;color:#f6f0db;display:flex;align-items:center;gap:8px;font-size:12px;padding:8px}.table-bottom svg{width:16px;height:16px}.game-footnote{color:var(--muted);font-size:12px;margin-top:20px;text-align:center;line-height:1.8}.game-footnote span{white-space:nowrap}.extra-clear .card{outline:1px solid #183e34}.extra-clear .card .corner{font-size:30px;left:5px}.extra-clear .card .center-suit{font-size:60px}.reduced-motion *{transition:none!important;animation:none!important}dialog{border:0;border-radius:12px;background:var(--paper);color:var(--ink);width:min(530px,calc(100% - 32px));padding:30px;box-shadow:0 24px 80px #051f3555}dialog::backdrop{background:#102c28a8}dialog h2{font-size:34px;line-height:1.08}dialog p{font-size:15px;line-height:1.7;color:var(--muted);margin:18px 0 24px}.dialog-heading{display:flex;align-items:flex-start;gap:15px;justify-content:space-between}.close{background:none;font-size:28px;padding:0 8px;min-height:35px}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-top:1px solid var(--line);gap:20px;font-size:16px}.setting-row small{display:block;font-size:12px;color:var(--muted);margin-top:7px}.setting-row input{width:23px;height:23px;accent-color:var(--green);cursor:pointer}.setting-row:last-of-type{margin-bottom:14px}.dialog-actions{display:flex;gap:12px;justify-content:flex-end}.rules{padding-left:23px;font-size:14px;line-height:1.7;margin:22px 0}.rules li{margin:14px 0;padding-left:7px}.rules strong{display:block}.keyboard-note{font-size:12px!important}.no-motion{animation:none!important}[hidden]{display:none!important}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#76907b;border-radius:4px}::-webkit-scrollbar-track{background:#dfe5d8}
@media(min-width:1500px){.hero{padding-top:78px;padding-bottom:78px}.hero-art{height:430px}.hero-card{top:144px}}
@media(max-width:1000px){.site-header{padding:0 30px}.hero{padding:45px 30px;gap:25px}.hero-art{height:355px}.hero-card{width:104px;height:150px;top:120px;left:calc(50% - 52px)}.hero-card b{font-size:53px;left:34px}.hero h1{font-size:64px}.collection{padding:32px 30px 45px}.game-grid{gap:15px}.tile-art{height:147px}.game-tile h3{font-size:14px}.game-tile p{font-size:11px}.section-heading h2{font-size:30px}.collection-note{display:none}#game-view{padding:25px 24px}.game-toolbar{padding:16px 20px}.game-stats{gap:15px}.game-stats span{display:block}.game-stats small{display:block;margin-bottom:4px}#board{--card-w:100%;--card-h:132px;--step:29px;min-height:465px}.top-row,.tableau{gap:12px}.board-scroll{padding:23px 20px 0}.card .corner{font-size:22px}.card .center-suit{font-size:44px}.extra-clear .card .corner{font-size:26px}footer{padding:25px 30px}}
@media(max-width:700px){.site-header{height:78px;padding:0 20px}.brand{font-size:29px;gap:8px}.brand svg{width:27px}.brand-dot{margin-left:-8px}nav{gap:15px;font-size:12px}#nav-how{display:none}.icon-button{width:36px;height:36px}.hero{grid-template-columns:1fr;padding:38px 24px 32px;gap:34px}.hero h1{font-size:62px;letter-spacing:-1px}.hero-copy{text-align:center}.hero-copy>p{font-size:15px;margin:20px 0 22px}.hero-art{height:320px;max-width:440px;width:100%;margin:auto;border-radius:47% 47% 8px 8px}.hero-card{top:95px}.table-lettering{top:36px}.table-caption{bottom:26px}.collection{padding:30px 24px}.section-heading h2{font-size:32px}.section-heading p{font-size:13px;line-height:1.7}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}.game-tile:first-child{grid-column:span 2}.game-tile:first-child .tile-art{height:205px}.game-tile:first-child .mini-card{width:76px;height:110px;font-size:28px}.game-tile:first-child .mini-card span{font-size:45px}.game-tile:first-child .mini-card:nth-child(1){transform:translate(-48px,-6px) rotate(-17deg)}.game-tile:first-child .mini-card:nth-child(3){transform:translate(48px,3px) rotate(15deg)}.tile-art{height:155px;margin-bottom:12px}.game-tile h3{font-size:16px}.game-tile p{font-size:12px}.closing{padding:35px 24px}.closing h2{font-size:32px}footer{padding:24px;flex-wrap:wrap;gap:9px 18px}footer>span{width:100%;margin:0;font-size:11px}.game-heading h1{font-size:36px;display:block}.game-heading h1 span{display:block;font-size:11px;margin-top:5px}.game-heading{margin-bottom:16px}#game-view{padding:20px 10px}.game-heading{padding:0 7px}.game-heading .outline{padding:10px 13px;font-size:13px}.game-toolbar{padding:14px 12px;flex-wrap:wrap;gap:10px}.game-stats{order:1;gap:20px}.game-stats span{display:flex;gap:7px}.game-stats small{margin:0}.game-stats strong{font-size:14px}.game-tools{order:2;gap:17px}.game-tools button{font-size:13px;min-height:36px}.game-toolbar>p{order:3;text-align:left;width:100%;max-width:none;font-size:11px;min-height:17px}#board{--card-h:calc((100vw - 68px)/7 * 1.55);--step:25px;min-height:390px}.board-scroll{padding:20px 9px 0;overflow:visible}.top-row,.tableau{gap:5px}.top-row{margin-bottom:30px}.card{border-radius:4px}.pile-slot{border-radius:4px}.card .corner{font-size:17px;top:5px;left:3px;gap:0}.card .center-suit{font-size:28px;inset:36% 0 0}.card .bottom-corner{font-size:11px;right:3px;bottom:4px}.empty-label{font-size:27px}.stock-caption{font-size:8px}.card.back{border-width:2px}.card.back:after{font-size:22px}.table-bottom{padding:15px 12px;font-size:9px;gap:8px}.table-bottom button{font-size:11px;padding:8px 0}.game-footnote{font-size:11px;padding:0 15px}.extra-clear .card .corner{font-size:20px;left:2px;flex-direction:column;gap:0;align-items:flex-start}.extra-clear .card .center-suit{display:none}.extra-clear #board{--step:40px}.dialog-actions{flex-direction:column}.dialog-actions button{width:100%}dialog{padding:25px}dialog h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Readability refinements for a relaxed, accessible table. */
.table-caption{bottom:20px;font-size:13px}.hero-note,.section-heading p,.game-tile>p{font-size:14px}.soon,.play-badge{font-size:12px}.game-toolbar>p{font-size:14px}.game-stats small{font-size:11px}.table-bottom{font-size:12px}.table-bottom button{font-size:14px}.game-footnote{font-size:14px}.keyboard-note{font-size:14px!important}.setting-row small{font-size:14px}.table-bottom button,.game-tools button{min-height:44px}.card.back:disabled{opacity:1}.board-scroll{overflow-y:visible;overflow-x:clip;padding-bottom:10px}
@media(max-width:700px){.hero-card{top:80px}.table-caption{bottom:17px}.game-toolbar>p{font-size:13px}.table-bottom{flex-wrap:wrap}.table-bottom #save-status{font-size:12px}.stock-caption{font-size:10px}.game-footnote{font-size:13px}.game-heading h1 span{font-size:13px}footer>span{font-size:12px}.game-stats small{font-size:10px}.game-tile p{font-size:14px}}

@media(max-width:700px){.site-header{padding-inline:16px}.site-header .brand{font-size:24px;gap:6px;white-space:nowrap}.site-header nav{gap:12px}.site-header .brand-dot{margin-left:-6px}}
/* Shared comfort preferences */
#settings-btn{width:auto;display:inline-flex;align-items:center;gap:7px;padding:10px;min-height:44px;font-size:15px}
#selection-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 20px;color:#fffdf5;border-top:1px solid #658477}
#selection-actions[hidden]{display:none}#selection-actions button{min-height:44px;padding:10px 14px;background:#fffdf5;color:#173f35;border-radius:6px}#selection-name{flex:1;min-width:160px}
.board-size-note{color:#fffdf5;padding:10px 20px;font-size:14px}
#comfort-save{font-size:14px;margin:14px 0}.setting-row input{width:24px;height:24px;accent-color:#173f35}
.extra-clear #board{min-width:650px;--card-h:126px;--step:44px}.extra-clear .board-scroll{overflow-x:auto;overscroll-behavior-x:contain}.extra-clear .spider-columns{min-width:980px}.extra-clear .free-table{min-width:800px}
.high-contrast{--muted:#263e32;--line:#6b796f;--red:#9b201a}.high-contrast .card{background-color:#fff;color:#10251d;border:2px solid #10251d}.high-contrast .card.red{color:#9b201a}.high-contrast .card.back{background-color:#173f35}.high-contrast .table-bottom,.high-contrast .game-toolbar>p{color:#fff}.high-contrast .small-help,.high-contrast .setting-row small{color:#263e32}
.high-contrast .sudoku-cell,.high-contrast .letter-cell,.high-contrast .mahjong-tile,.high-contrast .memory-card{border-color:#283f33}.high-contrast .column-number{color:#fff}
.high-contrast .card.back:after{color:#fffdf5}
.reduced-motion *, .reduced-motion *::before,.reduced-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:700px){.site-header{height:auto;min-height:78px;flex-wrap:wrap;gap:8px;padding-block:12px}.site-header nav{gap:8px}#settings-btn{font-size:14px}.game-toolbar>p{font-size:15px;line-height:1.5;max-width:none}.board-scroll{padding-inline:6px}#board{--card-h:calc((100vw - 36px)/7 * 1.5);--step:34px}.top-row,.tableau{gap:4px}#board .corner{font-size:18px;left:2px;gap:1px;flex-direction:row;align-items:center}#board .corner span{font-size:15px}#board .center-suit{font-size:27px}#board .bottom-corner{display:none}#board .card{min-height:0}.extra-clear #board .corner{font-size:26px;gap:3px}.extra-clear #board .corner span{font-size:22px}.extra-clear #board .center-suit{display:block;font-size:42px}.game-footnote{font-size:15px}#selection-actions{padding:10px;gap:8px}#selection-name{flex-basis:100%}.stock-caption{font-size:11px}}

@media(min-width:701px){.board-size-note{display:none}.extra-clear #board{--card-h:185px;--step:44px}}
@media(max-width:360px){#board{min-width:650px;--card-h:126px;--step:44px}.board-scroll{overflow-x:auto;overscroll-behavior-x:contain}#board .corner{font-size:24px}#board .corner span{font-size:21px}#board .center-suit{font-size:40px}}

/* Show available destinations on the card people actually tap. */
#board .card.legal-target{background:#fffcf2;outline:3px solid #f4c86a;outline-offset:2px;box-shadow:0 0 0 5px #174b3d,0 5px 12px #032f2a66}
#board .card.hinted{outline:3px dashed #f4c86a;outline-offset:3px}
@media(max-width:700px){#board .card.legal-target{outline-offset:1px;box-shadow:0 0 0 3px #174b3d,0 3px 9px #032f2a66}}
