/* PARLOR BLACKLINE 5.0 / Game-by-game visual material pass
 * Real playing surfaces only. Preserves engine hit targets, move rules, game data,
 * explicit quality settings, reduced motion and high-contrast modes.
 */
/* 01 - Classic Checkers: walnut board, readable move states and dimensional pieces */
body.parlor-site.at-game .game-stage .checkers-board{
 position:relative;isolation:isolate;
 box-shadow:0 0 0 1px #f4dfb68a,0 13px 0 #47362b,0 23px 30px #07150e8f;
}
body.parlor-site.at-game .game-stage .checkers-board.pack-walnut .checkers-cell.light{
 background:linear-gradient(137deg,#ead6b0,#e0bf8a 68%,#d0aa72);
}
body.parlor-site.at-game .game-stage .checkers-board.pack-walnut .checkers-cell.dark{
 background:linear-gradient(135deg,#3f614b,#244b3b 65%,#1c3b31);
}
body.parlor-site.at-game .game-stage .checker{
 position:relative;isolation:isolate;
 filter:drop-shadow(0 4px 3px #06150c85) drop-shadow(0 1px 1px #fff3);
}
body.parlor-site.at-game .game-stage .checker::after{
 content:"";position:absolute;inset:8%;border-radius:50%;
 border:1px solid #fff5d285;box-shadow:inset 0 2px 1px #ffffff38;
 pointer-events:none;z-index:1;
}
body.parlor-site.at-game .game-stage .checkers-cell.target{
 box-shadow:inset 0 0 0 3px #f5d38df1,inset 0 0 18px #f7d28a58;
}
body.parlor-site.at-game .game-stage .checkers-cell.selected{
 box-shadow:inset 0 0 0 4px #ffe3a4,0 0 0 1px #433221;
}
body.parlor-site.at-game .game-stage .checkers-cell:focus-visible{
 outline:3px solid #fff1b9!important;outline-offset:-3px;
}
/* 02 - Solitaire & FreeCell: readable, ivory-finished pieces. No transform on movable cards. */
body.parlor-site.at-game .game-stage .playing-card:not(.back),
body.parlor-site.at-game .game-stage .fc-card-original{
 background:linear-gradient(136deg,#fffdf3 0%,#f5e8d0 74%,#e5ceab 100%);
 border:1px solid #bfad8a;
 box-shadow:inset 0 1px 0 #fff,inset -1px -1px #b49a7145,0 3px 5px #071c1454,0 7px 12px #05150d5c;
}
body.parlor-site.at-game .game-stage .playing-card:not(.back):focus-visible,
body.parlor-site.at-game .game-stage .fc-table-card:focus-visible .fc-card-original{
 outline:3px solid #ffe2a4!important;outline-offset:2px!important;
 box-shadow:0 0 0 4px #173728a8,0 10px 18px #0007;
}
body.parlor-site.at-game .game-stage .sol-slot,
body.parlor-site.at-game .game-stage .fc-slot{
 background:linear-gradient(160deg,#092b217c,#0621183b);
 border:2px dashed #d7b781a6;
 box-shadow:inset 0 4px 10px #00170e65;
}
body.parlor-site.at-game .game-stage .playing-card.back{
 border:2px solid #e8d3a9;
 box-shadow:inset 0 0 0 3px #183f30,inset 0 0 0 5px #f0d9ac91,0 5px 10px #07180e75;
}
body.parlor-site.at-game .game-stage .fc-table-card.selected .fc-card-original{
 outline:3px solid #ffe0a1;outline-offset:2px;
}
/* 03 - Word Search: strong, unmistakable found/chosen/hint states */
body.parlor-site.at-game .game-stage .word-grid{
 padding:8px;border:1px solid #e7cd986b;border-radius:13px;
 background:linear-gradient(143deg,#0c392b,#08271e);
 box-shadow:inset 0 5px 11px #021a1270,0 7px 20px #081c1755;
}
body.parlor-site.at-game .game-stage .word-cell{
 border-radius:6px;border:1px solid #dfc89d82;
 background:linear-gradient(132deg,#f6edda,#e8dabd);
 color:#183d2d;font-weight:800;box-shadow:inset 0 1px #fff7,0 2px 4px #00160e40;
 touch-action:manipulation;
}
body.parlor-site.at-game .game-stage .word-cell.chosen{
 background:#f9d38e;color:#132e20;outline:3px solid #fff2b3;outline-offset:-3px;
}
body.parlor-site.at-game .game-stage .word-cell.found{
 background:#40866b;color:#fff5d8;border-color:#b7d5a0;
}
body.parlor-site.at-game .game-stage .word-cell.hint-start{
 outline:3px solid #dfad60;outline-offset:-3px;background:#ffe0a9;color:#153a2c;
}
body.parlor-site.at-game .game-stage .word-cell:focus-visible{
 outline:3px solid #fff0aa!important;outline-offset:1px;position:relative;z-index:1;
}
body.parlor-site.at-game .game-stage .word-chip.done{
 color:#f6eac9;background:#286a4c;border-color:#98c49a;text-decoration:none;
}
body.parlor-site.at-game .game-stage .word-chip.done::before{content:"✓ ";color:#e7d19c}
/* 04 - Memory Garden: premium depth without motion dependency */
body.parlor-site.at-game .game-stage .memory-card:not(.revealed):not(.matched){
 border:2px solid #bba06f;
 background:linear-gradient(142deg,#286a51,#174936 54%,#0c3026);
 box-shadow:inset 0 0 0 3px #dfc89e5e,inset 0 3px 0 #ffffff24,0 8px 14px #02170f77;
}
body.parlor-site.at-game .game-stage .memory-card.matched{
 border:2px solid #e9cf8f;background:#f2e6ca;
 box-shadow:inset 0 0 0 3px #d9bd8b,0 6px 13px #00190f63;
}
body.parlor-site.at-game .game-stage .memory-card:focus-visible{
 outline:3px solid #ffe2a1!important;outline-offset:3px;
}
/* 05 - Game instructions and state feedback across mechanics */
body.parlor-site.at-game .game-stage .game-notice{
 background:#0f362c;border-left:3px solid #e5c388;color:#f6eddb;
 border-radius:0 9px 9px 0;font:650 13px/1.6 Arial,sans-serif;
}
body.parlor-site.at-game .game-stage .game-toolbar{
 background:#0b3329b5;border:1px solid #c9ad7d71;
 box-shadow:inset 0 1px #e1d0a425;border-radius:12px;
}
body.parlor-site.at-game .game-stage .game-toolbar :is(.small-button,.stat){
 min-height:44px;
}
/* Respect explicit access and device constraints */
body.parlor-site.high-contrast.at-game .game-stage :is(.word-cell,.checkers-cell,.playing-card,.memory-card){
 border-color:#fff!important;
}
:root[data-graphics-quality=low] body.parlor-site.at-game .game-stage :is(.checker,.playing-card,.memory-card){
 filter:none!important;box-shadow:none!important;
}
@media(max-width:460px){
 body.parlor-site.at-game .game-stage .word-grid{padding:4px;border-radius:8px}
 body.parlor-site.at-game .game-stage .word-cell{border-radius:4px}
 body.parlor-site.at-game .game-stage .game-toolbar{padding:8px}
}
@media(prefers-reduced-motion:reduce){
 body.parlor-site.at-game .game-stage :is(.checker,.playing-card,.word-cell,.memory-card){
 transition:none!important;animation:none!important;transform:none!important;
 }
}

/* BLACKLINE v279: preserve accessible 44px Checkers hit areas on every phone.
   An 8x8 board at 44px per cell cannot physically fit a 320px viewport.
   Keep horizontal scrolling inside the named, keyboard-focusable checkers region,
   not on the document, instead of shrinking interactive squares to 33px. */
@media(max-width:480px){
 body.parlor-site.at-game .game-stage .checkers-wrap{justify-content:flex-start!important;overflow-x:auto!important;overscroll-behavior-inline:contain;max-width:100%;scrollbar-width:thin}
 body.parlor-site.at-game .game-stage .checkers-board{grid-template-columns:repeat(8,44px)!important;grid-template-rows:repeat(8,44px)!important;width:max-content!important;min-width:max-content!important;max-width:none!important;flex:none!important}
 body.parlor-site.at-game .game-stage .checkers-cell{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;touch-action:manipulation}
}
@media(max-width:660px){
 body.parlor-site.at-game .game-stage .word-grid{grid-template-columns:repeat(8,min(44px,calc((100vw - 54px)/8)));width:auto;max-width:100%}
 body.parlor-site.at-game .game-stage .word-cell{width:auto;min-height:40px}
}
@media(max-width:600px){
 body.parlor-site.at-game .game-stage .number-board{margin:auto}
 body.parlor-site.at-game .game-stage .number-cell{width:min(47px,calc((100vw - 72px)/9));height:min(47px,calc((100vw - 72px)/9));min-width:0;min-height:40px}
}