/* Gameadelic player v0.5 (STAGING) - colours come from the puzzle's brand palette via CSS variables */
.gmd{--gmd-ink:#1F1A17;--gmd-accent:#C2185B;--gmd-paper:#fff;--gmd-soft:color-mix(in srgb,var(--gmd-accent) 12%,#fff);
  color:var(--gmd-ink);background:var(--gmd-paper);max-width:720px;margin:1.5rem auto;padding:1rem 1rem 1.25rem;
  border:1px solid color-mix(in srgb,var(--gmd-ink) 15%,transparent);border-radius:14px;font:16px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;box-sizing:border-box}
.gmd *{box-sizing:border-box}
.gmd-head{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;flex-wrap:wrap}
.gmd-title{font-size:1.3rem;font-weight:700}
.gmd-meta{display:flex;gap:.35rem}
.gmd-badge{font-size:.78rem;padding:.1rem .55rem;border-radius:999px;background:var(--gmd-soft);color:var(--gmd-ink);text-transform:capitalize}
.gmd-how{margin:.35rem 0 .8rem;font-size:.92rem;opacity:.85}
.gmd-board{display:flex;flex-direction:column;align-items:center;gap:.9rem}
.gmd-bar{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:center;margin-top:1rem}
.gmd-btn{font:inherit;font-size:.9rem;padding:.45rem .95rem;border-radius:999px;border:1.5px solid var(--gmd-ink);background:var(--gmd-paper);color:var(--gmd-ink);cursor:pointer}
.gmd-btn:hover,.gmd-btn:focus-visible{background:var(--gmd-ink);color:var(--gmd-paper)}
.gmd-ghost{border-color:transparent;text-decoration:underline}
.gmd-status{min-height:1.5em;text-align:center;margin-top:.6rem;font-weight:600}
.gmd-win{color:var(--gmd-accent)} .gmd-warn{color:#B3261E}
.gmd-solved .gmd-board{animation:gmd-pop .5s ease}
@keyframes gmd-pop{50%{transform:scale(1.015)}}
/* maze */
.gmd-maze{width:100%;max-width:640px;height:auto;touch-action:none;color:var(--gmd-ink);cursor:crosshair;outline:none}
.gmd-maze:focus-visible{outline:2px dashed var(--gmd-accent)}
/* sudoku */
.gmd-sudoku{display:grid;width:min(100%,480px);aspect-ratio:1;border:3px solid var(--gmd-ink)}
.gmd-cell{border:0;border-right:1px solid color-mix(in srgb,var(--gmd-ink) 35%,transparent);border-bottom:1px solid color-mix(in srgb,var(--gmd-ink) 35%,transparent);
  background:var(--gmd-paper);display:flex;align-items:center;justify-content:center;font:inherit;font-size:clamp(.9rem,4.2vw,1.6rem);color:var(--gmd-accent);cursor:pointer;padding:0;aspect-ratio:1}
.gmd-cell.gmd-given{color:var(--gmd-ink);font-weight:700;cursor:default}
.gmd-cell.gmd-bt{border-top:3px solid var(--gmd-ink)} .gmd-cell.gmd-bl{border-left:3px solid var(--gmd-ink)}
.gmd-cell img{width:66%;height:66%;object-fit:contain}
.gmd-cell:not(.gmd-given) img{filter:none;opacity:.9}
.gmd-sel{background:var(--gmd-soft)!important;outline:2px solid var(--gmd-accent);outline-offset:-2px}
.gmd-wrong{background:#FDECEA!important}
.gmd-hrow{}
.gmd-solved .gmd-hrow{background:var(--gmd-soft)}
.gmd-pad{display:flex;flex-wrap:wrap;gap:.35rem;justify-content:center}
.gmd-key{width:2.6rem;height:2.6rem;border-radius:10px;border:1.5px solid var(--gmd-ink);background:var(--gmd-paper);font:inherit;font-weight:700;color:var(--gmd-ink);cursor:pointer;display:flex;align-items:center;justify-content:center}
.gmd-key img{width:70%;height:70%}
/* word search */
.gmd-ws{position:relative;width:min(100%,560px)}
.gmd-wsgrid{display:grid;touch-action:none;user-select:none}
.gmd-wl{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:clamp(.7rem,3.4vw,1.15rem);cursor:pointer}
.gmd-void{visibility:hidden}
.gmd-wsmarks{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.gmd-wsfound,.gmd-wslive{stroke:var(--gmd-accent);opacity:.28}
.gmd-wsshown{stroke:var(--gmd-ink);opacity:.18}
.gmd-wlist{columns:3;list-style:none;padding:0;margin:0;width:100%;max-width:560px;font-size:.95rem}
.gmd-wlist li.gmd-done{text-decoration:line-through;opacity:.5}
/* crossword */
.gmd-cw{display:grid;width:min(100%,560px);gap:0}
.gmd-cwx{}
.gmd-cwc{position:relative;border:1px solid var(--gmd-ink);margin:-.5px;background:#fff}
.gmd-cwc.gmd-cwact{background:var(--gmd-soft)}
.gmd-cwn{position:absolute;top:1px;left:3px;font-size:clamp(.45rem,1.6vw,.68rem);line-height:1}
.gmd-cwi{width:100%;height:100%;border:0;background:transparent;text-align:center;font:inherit;font-weight:700;font-size:clamp(.75rem,3.2vw,1.25rem);text-transform:uppercase;color:var(--gmd-ink);padding:0;caret-color:var(--gmd-accent)}
.gmd-cwi:focus{outline:2px solid var(--gmd-accent);outline-offset:-2px}
.gmd-clues{display:grid;grid-template-columns:1fr 1fr;gap:1rem;width:100%;font-size:.92rem}
.gmd-clues .gmd-h{margin:.2rem 0;color:var(--gmd-accent)}
.gmd-clist,.gmd-flist{margin:0;padding-left:0;list-style:none}
.gmd-clist li{padding:.12rem .3rem;border-radius:6px;cursor:pointer}
.gmd-clist li.gmd-cact{background:var(--gmd-soft)}
.gmd-flist li{display:inline-block;margin:0 .6rem .2rem 0}
/* scramble */
.gmd-scr{width:100%;max-width:560px;padding-left:1.4rem}
.gmd-scr li{margin:.45rem 0}
.gmd-scrw{font-weight:700;letter-spacing:.06em;margin-right:.6rem}
.gmd-scr small{display:block;opacity:.75}
.gmd-scri{font:inherit;padding:.25rem .5rem;border:1.5px solid color-mix(in srgb,var(--gmd-ink) 40%,transparent);border-radius:8px;width:12rem;max-width:100%;text-transform:uppercase}
.gmd-ok{border-color:#2E7D32!important;background:#EAF5EA}
/* cryptogram */
.gmd-cg{display:flex;flex-wrap:wrap;gap:.4rem 1rem;justify-content:center;width:100%}
.gmd-cgw{display:inline-flex;gap:.15rem}
.gmd-cgc{display:inline-flex;flex-direction:column;align-items:center}
.gmd-cgc small{font-size:.7rem;opacity:.7}
.gmd-cgi{width:1.7rem;height:2rem;border:0;border-bottom:2px solid var(--gmd-ink);text-align:center;font:inherit;font-weight:700;text-transform:uppercase;background:transparent;color:var(--gmd-accent)}
.gmd-cgi.gmd-lock{color:var(--gmd-ink)}
.gmd-cgp{align-self:flex-start;font-weight:700;padding-top:.3rem}
.gmd-cgs{width:100%;text-align:right;font-style:italic}
@media (max-width:520px){.gmd-clues{grid-template-columns:1fr}.gmd-wlist{columns:2}}
/* print only the chosen puzzle */
@media print{html.gmd-printing body *{visibility:hidden}html.gmd-printing .gmd-print-me,html.gmd-printing .gmd-print-me *{visibility:visible}
  html.gmd-printing .gmd-print-me{position:absolute;left:0;top:0;width:100%;border:0}
  .gmd-bar,.gmd-status,.gmd-pad{display:none!important}}

/* v0.2.1 drag & drop + stamp mode */
.gmd-key,.gmd-sudoku .gmd-cell{touch-action:none;user-select:none;-webkit-user-select:none}
.gmd-key img,.gmd-cell img{pointer-events:none;-webkit-user-drag:none}
.gmd-key{cursor:grab}
.gmd-key.gmd-armed{background:var(--gmd-accent-fill,var(--gmd-accent));color:var(--gmd-paper);box-shadow:0 0 0 3px color-mix(in srgb,var(--gmd-accent) 35%,transparent)}
.gmd-cell.gmd-drop{outline:3px dashed var(--gmd-accent);outline-offset:-4px}
.gmd-dragghost{position:fixed;z-index:99999;width:3rem;height:3rem;margin:-1.5rem 0 0 -1.5rem;border-radius:12px;background:var(--gmd-paper);border:2px solid var(--gmd-accent);display:flex;align-items:center;justify-content:center;pointer-events:none;box-shadow:0 6px 18px rgba(0,0,0,.25);font-weight:700;font-size:1.4rem;color:var(--gmd-ink)}
.gmd-dragghost img{width:75%;height:75%}
.gmd-tip{font-size:.85rem;opacity:.75;margin:.4rem 0 0;text-align:center}
.gmd-key.gmd-armed img{filter:brightness(0) invert(1)}

/* ---------------- v0.3 ---------------- */
.gmd-meta{align-items:center;flex-wrap:wrap}
.gmd-icon{font:inherit;font-size:1rem;line-height:1;width:2rem;height:2rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--gmd-ink) 20%,transparent);background:var(--gmd-paper);color:var(--gmd-ink);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}
.gmd-icon:hover,.gmd-icon:focus-visible{border-color:var(--gmd-accent)}
.gmd-panel{margin:.6rem 0;padding:.75rem 1rem;border-radius:12px;background:var(--gmd-soft)}
.gmd-panel .gmd-h{margin:0 0 .5rem}
.gmd-pref{display:flex;align-items:center;gap:.5rem;padding:.3rem 0;cursor:pointer;min-height:2.2rem}
.gmd-pref input{width:1.15rem;height:1.15rem;accent-color:var(--gmd-accent)}
.gmd-small{font-size:.82rem;opacity:.75;margin:.45rem 0 0}
.gmd-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(6.2rem,1fr));gap:.5rem}
.gmd-stat{background:var(--gmd-paper);border-radius:10px;padding:.5rem;text-align:center}
.gmd-stat b{display:block;font-size:1.35rem;color:var(--gmd-accent)}
.gmd-stat span{font-size:.78rem;opacity:.8}
/* sudoku tools, notes, highlights */
.gmd-tools{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:center}
.gmd-tool{font:inherit;font-size:.88rem;padding:.35rem .8rem;border-radius:999px;border:1.5px solid color-mix(in srgb,var(--gmd-ink) 45%,transparent);background:var(--gmd-paper);color:var(--gmd-ink);cursor:pointer;min-height:2.3rem}
.gmd-tool.gmd-on{background:var(--gmd-accent-fill,var(--gmd-accent));border-color:var(--gmd-accent-fill,var(--gmd-accent));color:var(--gmd-paper)}
.gmd-notemode{box-shadow:0 0 0 3px color-mix(in srgb,var(--gmd-accent) 30%,transparent)}
.gmd-notes{display:grid;width:92%;height:92%;pointer-events:none}
.gmd-note{display:flex;align-items:center;justify-content:center;font-size:clamp(.45rem,1.5vw,.7rem);line-height:1;color:color-mix(in srgb,var(--gmd-ink) 75%,transparent);font-weight:600}
.gmd-note img{width:80%;height:80%;opacity:.75}
.gmd-cell.gmd-peer{background:color-mix(in srgb,var(--gmd-accent) 6%,var(--gmd-paper))}
.gmd-cell.gmd-same{background:color-mix(in srgb,var(--gmd-accent) 22%,var(--gmd-paper))}
.gmd-cell.gmd-hinted{box-shadow:inset 0 0 0 2px color-mix(in srgb,#E0A800 70%,transparent)}
.gmd-key{position:relative}
.gmd-left{position:absolute;top:-.45rem;right:-.45rem;min-width:1.05rem;height:1.05rem;padding:0 .2rem;border-radius:999px;background:var(--gmd-ink);color:var(--gmd-paper);font-size:.62rem;line-height:1.05rem;font-weight:700}
.gmd-key.gmd-keydone{opacity:.45}
.gmd-key.gmd-keydone .gmd-left{background:#2E7D32}
.gmd-erase .gmd-left{display:none}
/* hints in other games */
.gmd-hintcell{animation:gmd-glow 1.2s ease 3;border-radius:50%}
@keyframes gmd-glow{50%{background:color-mix(in srgb,#E0A800 55%,transparent)}}
.gmd-wlist li.gmd-hintword{text-decoration:underline dotted}
.gmd-cwc.gmd-hinted{background:color-mix(in srgb,#E0A800 18%,#fff)}
.gmd-cgi.gmd-hinted{border-bottom-color:#E0A800}
/* archive picker */
.gmd-archlabel{font-size:.88rem;display:inline-flex;align-items:center;gap:.35rem}
.gmd-archive{font:inherit;font-size:.88rem;padding:.35rem .5rem;border-radius:999px;border:1.5px solid var(--gmd-ink);background:var(--gmd-paper);color:var(--gmd-ink)}
/* after-solve card */
.gmd-after:empty{display:none}
.gmd-card{margin-top:.8rem;padding:1rem 1.1rem;border-radius:14px;border:1.5px solid color-mix(in srgb,var(--gmd-accent) 45%,transparent);background:color-mix(in srgb,var(--gmd-accent) 6%,var(--gmd-paper));animation:gmd-rise .45s ease}
@keyframes gmd-rise{from{opacity:0;transform:translateY(6px)}}
.gmd-card .gmd-h{margin:0 0 .45rem;color:var(--gmd-accent)}
.gmd-phrase{margin:.2rem 0;font-size:1.15rem;font-weight:600;font-style:italic}
.gmd-phrase cite{font-size:.85rem;font-weight:400;opacity:.8}
.gmd-note{margin:.25rem 0 0;opacity:.9}
.gmd-terms{margin:0;padding:0;list-style:none;columns:2;column-gap:1.2rem;font-size:.92rem}
.gmd-terms li{break-inside:avoid;margin:.12rem 0}
.gmd-terms a{color:var(--gmd-accent)}
.gmd-acts{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.75rem}
a.gmd-btn{text-decoration:none;display:inline-block}
.gmd-btn.gmd-primary{background:var(--gmd-accent-fill,var(--gmd-accent));border-color:var(--gmd-accent-fill,var(--gmd-accent));color:var(--gmd-paper)}
@media (max-width:520px){.gmd-terms{columns:1}}
/* settings: larger text, high contrast, dark */
.gmd.gmd-big{font-size:19px}
.gmd.gmd-big .gmd-sudoku{width:min(100%,560px)}
.gmd.gmd-big .gmd-key{width:3.2rem;height:3.2rem}
.gmd.gmd-big .gmd-wl{font-size:clamp(.85rem,4vw,1.4rem)}
.gmd.gmd-big .gmd-cwi{font-size:clamp(.9rem,3.8vw,1.5rem)}
.gmd.gmd-hc{--gmd-ink:#000!important;--gmd-paper:#fff!important;--gmd-accent:#0B3D91!important}
.gmd.gmd-hc .gmd-cell,.gmd.gmd-hc .gmd-cwc{border-color:#000}
.gmd.gmd-hc .gmd-how,.gmd.gmd-hc .gmd-tip,.gmd.gmd-hc .gmd-small{opacity:1}
.gmd.gmd-dark{--gmd-ink:#F2ECE4!important;--gmd-paper:#1B1714!important}
.gmd.gmd-dark .gmd-cwc{background:#26211d}
.gmd.gmd-dark img{filter:invert(1) hue-rotate(180deg)}
.gmd.gmd-dark .gmd-key.gmd-armed img{filter:none}
.gmd.gmd-dark .gmd-wrong{background:#5a1f1a!important}
.gmd.gmd-dark .gmd-ok{background:#1f3a22}
@media (prefers-reduced-motion:reduce){.gmd *,.gmd{animation:none!important;transition:none!important}}
@media print{.gmd-after,.gmd-panel,.gmd-tools,.gmd-icon,.gmd-tip{display:none!important}}
.gmd.gmd-dark{--gmd-soft:color-mix(in srgb,var(--gmd-accent) 28%,#1B1714)}
.gmd.gmd-dark .gmd-cwc.gmd-hinted{background:color-mix(in srgb,#E0A800 22%,#26211d)}
.gmd.gmd-dark .gmd-card{background:color-mix(in srgb,var(--gmd-accent) 14%,#1B1714)}
/* v0.4 */
.gmd-cluebar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:.4rem;width:min(100%,560px);padding:.45rem .5rem;border-radius:10px;background:var(--gmd-soft);font-size:.95rem;min-height:2.8rem}
.gmd-cluetext{flex:1;text-align:center;font-weight:600}
.gmd-cluenav{font:inherit;font-size:1.3rem;line-height:1;width:2.6rem;height:2.6rem;border-radius:999px;border:1.5px solid color-mix(in srgb,var(--gmd-ink) 35%,transparent);background:var(--gmd-paper);color:var(--gmd-ink);cursor:pointer;flex:none}
.gmd-clist li.gmd-done,.gmd-flist li.gmd-done{opacity:.55;text-decoration:line-through}
.gmd-badgewin{margin:0 0 .5rem;font-weight:700}
.gmd-cgi.gmd-wrong{background:#FDECEA}
@media print{.gmd-cluebar{display:none!important}}
/* v0.4 review fixes */
.gmd{--gmd-accent-text:color-mix(in srgb,var(--gmd-accent) 70%,var(--gmd-ink));--gmd-sticky-top:0px}
.gmd-cell,.gmd-cgi,.gmd-clues .gmd-h,.gmd-win,.gmd-card .gmd-h,.gmd-stat b,.gmd-terms a{color:var(--gmd-accent-text)}
.gmd-cell.gmd-given{color:var(--gmd-ink);background:color-mix(in srgb,var(--gmd-ink) 7%,var(--gmd-paper))}
.gmd-cwi:focus{outline-color:var(--gmd-accent-text)}
.gmd-cwi{font-size:16px}                                   /* iOS: no zoom when a square gets focus */
@media (min-width:600px){.gmd-cwi{font-size:clamp(16px,2.4vw,1.3rem)}}
.gmd-cluebar{top:var(--gmd-sticky-top)}
.gmd-maze{touch-action:manipulation}
.gmd-icon{width:2.75rem;height:2.75rem}
.gmd-btn{min-height:2.75rem}
.gmd-cell:focus-visible,.gmd-key:focus-visible,.gmd-tool:focus-visible,.gmd-btn:focus-visible,.gmd-icon:focus-visible,.gmd-cluenav:focus-visible,.gmd-clist li:focus-visible,.gmd-wsgrid:focus-visible{outline:3px solid var(--gmd-accent-text);outline-offset:2px}
.gmd-clist li[role=button]{cursor:pointer}
.gmd-wl.gmd-wscur{outline:2px solid var(--gmd-accent-text);border-radius:50%}
.gmd-wl.gmd-wsstart{background:color-mix(in srgb,var(--gmd-accent) 25%,transparent);border-radius:50%}
.gmd-more{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:center;width:100%}
.gmd-more[hidden]{display:none}
.gmd-btn[data-armed]{background:#B3261E;border-color:#B3261E;color:#fff}
.gmd-revealed .gmd-board{opacity:.85}
.gmd.gmd-dark{--gmd-accent-text:color-mix(in srgb,var(--gmd-accent) 45%,#fff)}
.gmd.gmd-dark .gmd-cell.gmd-given{background:color-mix(in srgb,#fff 6%,var(--gmd-paper))}
.gmd.gmd-dark.gmd-hc{--gmd-ink:#fff!important;--gmd-paper:#000!important;--gmd-accent:#FFD400!important;--gmd-accent-text:#FFD400;--gmd-soft:#222}
.gmd.gmd-dark.gmd-hc .gmd-cwc{background:#000}
.gmd.gmd-hc:not(.gmd-dark){--gmd-accent-text:#0B3D91}
/* match the pairs */
.gmd-match{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:.6rem 1rem;width:100%;max-width:620px}
.gmd-mcol{display:flex;flex-direction:column;gap:.5rem}
.gmd-mcard{font:inherit;font-size:.95rem;min-height:3rem;padding:.45rem .7rem;border-radius:12px;border:1.5px solid color-mix(in srgb,var(--gmd-ink) 30%,transparent);background:var(--gmd-paper);color:var(--gmd-ink);cursor:pointer;text-align:left;line-height:1.25}
.gmd-mterm{font-weight:700;font-size:1.02rem}
.gmd-mcard.gmd-mpick{border-color:var(--gmd-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--gmd-accent) 30%,transparent);background:var(--gmd-soft)}
.gmd-mcard.gmd-mdone{border-color:#2E7D32;background:color-mix(in srgb,#2E7D32 12%,var(--gmd-paper));opacity:.75;cursor:default}
.gmd-mcard.gmd-mno{animation:gmd-shake .35s ease}
@keyframes gmd-shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.gmd-mcard:focus-visible{outline:3px solid var(--gmd-accent-text);outline-offset:2px}

/* ---------------- v0.5 ---------------- */
/* first-time guide */
.gmd-guide{margin:.6rem 0;padding:.8rem 1rem;border-radius:12px;border:1.5px dashed color-mix(in srgb,var(--gmd-accent) 55%,transparent);background:color-mix(in srgb,var(--gmd-accent) 5%,var(--gmd-paper))}
.gmd-guide[hidden]{display:none}
.gmd-guide .gmd-h{margin:0 0 .4rem;color:var(--gmd-accent-text)}
.gmd-steps{list-style:none;margin:0 0 .6rem;padding:0;display:grid;gap:.4rem}
.gmd-steps li{display:flex;gap:.6rem;align-items:flex-start;line-height:1.35}
.gmd-stepn{flex:none;width:1.7rem;height:1.7rem;border-radius:999px;background:var(--gmd-accent-fill,var(--gmd-accent));color:var(--gmd-paper);display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.gmd-langsel{font:inherit;font-size:.9rem;padding:.3rem .5rem;border-radius:8px;border:1.5px solid var(--gmd-ink);background:var(--gmd-paper);color:var(--gmd-ink);margin-left:.4rem}
/* easier reading: plain, wide, calm (offered as an option, never forced) */
.gmd.gmd-easy{font-family:Verdana,Tahoma,"Segoe UI",Arial,sans-serif!important;letter-spacing:.035em;word-spacing:.12em;line-height:1.6}
.gmd.gmd-easy *{font-family:inherit!important;font-style:normal!important}
.gmd.gmd-easy:not(.gmd-dark):not(.gmd-hc){--gmd-paper:#FBF7EC!important;--gmd-ink:#222!important}
.gmd.gmd-easy .gmd-how,.gmd.gmd-easy .gmd-tip,.gmd.gmd-easy .gmd-small{opacity:1}
/* colour-blind safe feedback: shape + symbol, not only red/green */
.gmd-cell.gmd-wrong,.gmd-cwc.gmd-wrong{background-image:repeating-linear-gradient(135deg,transparent 0 5px,rgba(179,38,30,.18) 5px 8px)!important}
.gmd-cell.gmd-wrong::after,.gmd-cwc.gmd-wrong::after{content:"\2717";position:absolute;right:2px;bottom:0;font-size:.55em;line-height:1;color:#B3261E;font-weight:700}
.gmd-cell,.gmd-cwc{position:relative}
.gmd-cgi.gmd-wrong{border-bottom-style:dashed!important;background-image:repeating-linear-gradient(135deg,transparent 0 4px,rgba(179,38,30,.18) 4px 7px)}
.gmd-mcard.gmd-mdone::before{content:"\2713  ";font-weight:700;color:#2E7D32}
.gmd-mcard.gmd-mno{outline:2px dashed #B3261E}
.gmd-wlist li.gmd-done::before{content:"\2713 ";color:#2E7D32;font-weight:700}
/* print sheet: off-screen while preparing, alone on paper */
.gmd-printsheet{position:absolute;left:-10000px;top:0;width:760px}
.gmd-nameline{font:14px/1.4 Verdana,Arial,sans-serif;margin:0 0 12px;color:#000}
@media print{
  html.gmd-printing-sheet body>*:not(.gmd-printsheet){display:none!important}
  html.gmd-printing-sheet .gmd-printsheet{position:static;width:auto}
  .gmd-printpage{break-after:page;page-break-after:always}
  .gmd-printpage:last-child{break-after:auto;page-break-after:auto}
  .gmd-printbox .gmd-bar,.gmd-printbox .gmd-icon,.gmd-printbox .gmd-tools,.gmd-printbox .gmd-pad,.gmd-printbox .gmd-tip,
  .gmd-printbox .gmd-status,.gmd-printbox .gmd-cluebar,.gmd-printbox .gmd-after,.gmd-printbox .gmd-guide,.gmd-printbox .gmd-panel,.gmd-printbox .gmd-time{display:none!important}
  .gmd-printbox{box-shadow:none!important;border:0!important}
}
@media print{html.gmd-printing-sheet,html.gmd-printing-sheet body{background:#fff!important}}

/* v0.6 one-question feedback */
.gmd-fb { margin-top: .9em; padding-top: .8em; border-top: 1px solid var(--gmd-line, #ddd); }
.gmd-fbrow { display: flex; align-items: center; gap: .5em; flex-wrap: wrap; }
.gmd-fbq { margin: 0; font-weight: 600; }
.gmd-fbv { min-width: 44px; min-height: 44px; font-size: 1.3em; border: 1px solid var(--gmd-line, #ccc); border-radius: 10px; background: transparent; cursor: pointer; }
.gmd-fbv.gmd-on { background: var(--gmd-soft, #eee); border-color: var(--gmd-accent, #333); }
.gmd-fbmore { margin-top: .6em; display: flex; flex-direction: column; gap: .5em; }
.gmd-fbmore[hidden] { display: none; }
.gmd-fbt { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: .5em; border: 1px solid var(--gmd-line, #ccc); border-radius: 8px; background: transparent; color: inherit; }
.gmd-fbmore .gmd-btn { align-self: flex-start; }
.gmd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
@media print { .gmd-fb { display: none !important; } }

/* v0.7.3 headings: level set by the page (h3 default), size kept small */
.gameadelic .gmd-h{font-size:1rem;line-height:1.3;font-weight:700}

/* v0.7.4 contrast: filled controls use --gmd-accent-fill (accent darkened by the player until white text reaches 4.5:1);
   dark and high-contrast modes keep their own accent */
.gmd.gmd-dark,.gmd.gmd-hc{--gmd-accent-fill:var(--gmd-accent)!important}
