/* Maple woodgrain panels with dark boxes inside (Doug, 7 Nov 2026, 1:26pm: "too much brown... lighten up the background
   maybe with the woodgrain like the background of the backgammon game board..."; 1:48pm: "i like the dark boxes... but i
   dont like the dark background... woodgrain on the background dark with light writing on the boxes... basically combine
   the two..."). A panel (.card, an opened game button's inside) is the backgammon field's light maple with its grain and
   dark writing; the boxes inside it (the gold box's bars) stay dark with light writing. Light theme only. */
:root:not([data-theme="dark"]) .card:not(.fold),:root:not([data-theme="dark"]) .folded .foldbody{
  --panel-fg:#2A1A0F;--panel-muted:#4a2e14;color:#2A1A0F;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='120'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.0035 0.11' numOctaves='3' seed='11'/><feColorMatrix values='0 0 0 0 .22  0 0 0 0 .11  0 0 0 0 .03  0 0 0 -1.6 .95'/></filter><rect width='600' height='120' filter='url(%23g)' opacity='.35'/></svg>"),linear-gradient(135deg,#ecd09e,#ddb577 55%,#cf9e5c);background-size:600px 120px,100% 100%;
  box-shadow:inset 0 0 0 2px rgba(90,58,28,.35),0 4px 12px rgba(26,15,8,.15)}
:root:not([data-theme="dark"]) .card:not(.fold) h2,:root:not([data-theme="dark"]) .folded .foldbody h2,:root:not([data-theme="dark"]) .card:not(.fold)>h3,:root:not([data-theme="dark"]) .card:not(.fold) .board-h{color:#6b3410}
:root:not([data-theme="dark"]) .card:not(.fold) .board-h small{color:#4a2e14}
:root:not([data-theme="dark"]) .card:not(.fold) .sub,:root:not([data-theme="dark"]) .folded .foldbody .sub,:root:not([data-theme="dark"]) .card:not(.fold) .small,:root:not([data-theme="dark"]) .card:not(.fold) .empty{color:#4a2e14}
:root:not([data-theme="dark"]) .card:not(.fold) button,:root:not([data-theme="dark"]) .folded .foldbody button{background:#2A1A0F;color:#F7D57A;border-color:#2A1A0F}
:root:not([data-theme="dark"]) .card:not(.fold) button.ghost,:root:not([data-theme="dark"]) .folded .foldbody button.ghost{background:rgba(255,250,235,.35);color:#2A1A0F;border-color:rgba(42,26,15,.55)}
:root:not([data-theme="dark"]) .card:not(.fold) button[aria-pressed="true"],:root:not([data-theme="dark"]) .folded .foldbody button[aria-pressed="true"]{background:#2A1A0F;color:#F7D57A;border-color:#2A1A0F}
:root:not([data-theme="dark"]) .card:not(.fold) input,:root:not([data-theme="dark"]) .card:not(.fold) select,:root:not([data-theme="dark"]) .card:not(.fold) textarea,:root:not([data-theme="dark"]) .folded .foldbody input,:root:not([data-theme="dark"]) .folded .foldbody select,:root:not([data-theme="dark"]) .folded .foldbody textarea{background:#fffaf0 !important;color:#2A1A0F !important;border-color:#8a6a2a !important}
:root:not([data-theme="dark"]) .card:not(.fold) a,:root:not([data-theme="dark"]) .folded .foldbody a{color:#7a2a12}
:root:not([data-theme="dark"]) .card:not(.fold) th,:root:not([data-theme="dark"]) .folded .foldbody th{color:#4a2e14}
:root:not([data-theme="dark"]) .card:not(.fold) td,:root:not([data-theme="dark"]) .folded .foldbody td{color:#2A1A0F;border-color:rgba(90,58,28,.25)}
:root:not([data-theme="dark"]) .card:not(.fold) .rows li,:root:not([data-theme="dark"]) .folded .foldbody .rows li{border-color:rgba(90,58,28,.25)}
:root:not([data-theme="dark"]) .card:not(.fold) .meta,:root:not([data-theme="dark"]) .folded .foldbody .meta{color:#4a2e14}
:root:not([data-theme="dark"]) .folded .foldbody label{color:#2A1A0F}
/* the boxes inside stay dark, with light writing */
:root:not([data-theme="dark"]) .card .bfold,:root:not([data-theme="dark"]) .folded .foldbody .card:not(.foldinner){--panel-fg:#F5EAD3;--panel-muted:#C4A684;color:#F5EAD3;
  background:linear-gradient(160deg,#33200f,#24150b);box-shadow:0 3px 8px rgba(26,15,8,.3)}
:root:not([data-theme="dark"]) .card .bfold .board-h{color:var(--paint)}
:root:not([data-theme="dark"]) .card .bfold .board-h small,:root:not([data-theme="dark"]) .card .bfold th,:root:not([data-theme="dark"]) .card .bfold .meta,:root:not([data-theme="dark"]) .card .bfold .sub,:root:not([data-theme="dark"]) .card .bfold .empty{color:#C4A684}
:root:not([data-theme="dark"]) .card .bfold td{color:#F5EAD3;border-color:rgba(245,234,211,.12)}
:root:not([data-theme="dark"]) .card .bfold a{color:var(--paint)}
:root:not([data-theme="dark"]) .card .bfold button{background:var(--paint);color:#2A1A0F;border-color:var(--paint)}
:root:not([data-theme="dark"]) .card .bfold button.ghost{background:transparent;color:#F5EAD3;border-color:rgba(255,255,255,.3)}
:root:not([data-theme="dark"]) .card .bfold>summary::after{color:var(--paint)}
/* gold writing on maple is too faint: darker gold-brown */
:root:not([data-theme="dark"]) .card:not(.fold) .story .kicker{color:#8a5a12}
:root:not([data-theme="dark"]) .card:not(.fold) .story h2{color:#6b3410}
:root:not([data-theme="dark"]) .card:not(.fold) .story .rule{color:#5a2e10}
:root:not([data-theme="dark"]) .folded .foldbody .board-h{color:#6b3410}
:root:not([data-theme="dark"]) .folded .foldbody .board-h small{color:#4a2e14}
:root:not([data-theme="dark"]) .folded .foldbody .foldinner{color:#2A1A0F}
:root:not([data-theme="dark"]) .folded .foldbody .card.foldinner{background:none;box-shadow:none}
