:root{--cream:#fff8ed;--plum:#59233f;--rose:#aa5872;--sage:#788765;--wood:#bf8449}body{color:var(--plum);font-family:Georgia,serif;background:radial-gradient(ellipse at 0 0,#e1e6cb80,transparent 40%),radial-gradient(ellipse at 100% 100%,#e4e8d080,transparent 40%),var(--cream)}a{color:inherit}.back{min-height:44px;padding:8px 4px;display:inline-block;text-decoration:none}button{font-family:inherit}button:focus-visible,a:focus-visible{outline:3px solid #735895;outline-offset:4px}#restart,#reset{background:linear-gradient(#b96379,#9e4d69);color:#fff8ef;border:2px solid #d5ad65;box-shadow:inset 0 1px 2px #fff5,0 2px 4px #5b351a24;border-radius:32px;cursor:pointer}header h1{color:var(--plum)}.game-hero{display:block!important;object-fit:contain;width:100%;height:clamp(75px,19vh,190px);margin:auto}body.tic-refresh{background:radial-gradient(ellipse at 0 0,#e1e6cb80,transparent 40%),#fff8ed}.tic-refresh .storybook-stars{opacity:.32}.tic-refresh .board{border:9px solid #bd854b;border-radius:16px;background:repeating-linear-gradient(3deg,#fff2d2,#f9e6be 3px,#fceacc 6px);box-shadow:inset 0 0 12px #8b532d60,0 3px 6px #69452430}.tic-refresh .cell{border-color:#bd854b;border-width:4px}.tic-refresh .tray{border:5px solid #bd854b;background:#eff0d9;box-shadow:inset 0 0 8px #81572c30;border-radius:16px}.tic-refresh .tray.o{background:#eeeadf;border-color:#bd854b}.tic-refresh .tray.active{box-shadow:0 0 0 3px #e3b65080}.tic-refresh .piece.selected{background:#fff8df;outline-color:#765b38}.tic-refresh .cell.over{background:#d8dfbd80}.tic-refresh #win-line{stroke:#aa5872}.memory-refresh{background:radial-gradient(ellipse at 0 0,#e1e6cb80,transparent 40%),#fff8ed}.memory-refresh .card{border:4px solid #bd854b;background:#203e5a;border-radius:14px;box-shadow:0 2px 3px #5f3b2030}.memory-refresh .card-back{background-image:url('/assets/games-refresh/compass-back.svg');background-size:100% 100%}.memory-refresh .card-face{background-image:url('/assets/games-refresh/pirate-faces.png');background-size:300% 200%}.memory-refresh .score{border:2px solid #b9bf98;background:#fff3dc;color:#59233f;border-radius:20px}.memory-refresh .score.purple{background:#eee5f2;border-color:#bda8c9}.memory-refresh .score.active{box-shadow:0 0 0 3px #e5b556}.memory-refresh .score .sprig{display:none}.memory-refresh h1{font-size:clamp(26px,5vh,50px)}.memory-refresh .play{gap:14px}.memory-refresh .cards{max-width:72%}.memory-refresh .score strong{color:#aa5872}.memory-refresh .score.purple strong{color:#776091}@media(orientation:portrait){.memory-refresh .cards{max-width:100%}.game-hero{height:clamp(90px,17vh,180px)}.memory-refresh .play{gap:10px}.memory-refresh .score{padding:7px}.memory-refresh .score h2{font-size:clamp(16px,3vw,22px)}.tic-refresh .play{height:min(45vh,62vw)}.tic-refresh header{padding-top:0}}@media(max-height:500px) and (orientation:landscape){.game-hero{display:none!important}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
