/* Domo Arcade v1.7: styles for games whose JS does not inject its own CSS. Generated from domotime-games/<id>.css + hotfixes. */
/* ---- parkour ---- */
/* Domo Parkour (arcade game "parkour"). Every selector is scoped to .g-parkour* classes the game adds on mount. */
.ag-stage.g-parkour{display:block;position:relative;overflow:hidden;border-radius:1.2rem;border:3px solid rgba(255,255,255,.9);box-shadow:0 6px 18px rgba(0,30,90,.35);background:#0c0a26;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.g-parkour .g-parkour-cv{display:block;position:absolute;left:0;top:0;touch-action:none}
.ag-over.g-parkour-ov{border-radius:1.2rem}
.ag-over.g-parkour-ov.g-parkour-menu{background:rgba(12,10,38,.84)}
.g-parkour-ov .g-parkour-levels{display:flex;flex-wrap:wrap;justify-content:center;width:100%;max-width:30rem;margin-top:.15rem;margin-left:auto;margin-right:auto}
.g-parkour-ov .g-parkour-lv{display:flex;align-items:center;width:47%;max-width:11rem;box-sizing:border-box;margin:.18rem;padding:.3rem .4rem;border-radius:.9rem;border:2px solid #fff;background:#e6f6ff;background:linear-gradient(180deg,#fff,#c9ecff);color:#063a78;font:inherit;text-align:left;cursor:pointer;box-shadow:0 3px 0 rgba(4,70,150,.35);-webkit-tap-highlight-color:transparent}
.g-parkour-ov .g-parkour-lv:active{transform:translateY(2px);box-shadow:0 1px 0 rgba(4,70,150,.35)}
.g-parkour-ov .g-parkour-lv:focus{outline:3px solid #ffe14d;outline-offset:1px}
.g-parkour-ov .g-parkour-n{flex:0 0 auto;width:1.85rem;height:1.85rem;line-height:1.85rem;margin-right:.4rem;border-radius:50%;background:#ff8a1f;color:#fff;text-align:center;font-weight:900;font-size:.95rem;text-shadow:0 1px 1px rgba(0,0,0,.35)}
.g-parkour-ov .g-parkour-txt{display:flex;flex-direction:column;min-width:0;overflow:hidden}
.g-parkour-ov .g-parkour-name{font-weight:900;font-size:.76rem;line-height:1.1}
.g-parkour-ov .g-parkour-sub{font-size:.66rem;line-height:1.2;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.g-parkour-ov .g-parkour-st{font-style:normal;color:#e09b00;letter-spacing:-1px}
.g-parkour-ov .g-parkour-lock{opacity:.5;cursor:default}
.g-parkour-ov .g-parkour-done .g-parkour-n{background:#38c95a}
.g-parkour-ov .g-parkour-inf .g-parkour-n{background:#b14bff;font-size:1.2rem}
.g-parkour-ov .g-parkour-res{display:flex;flex-direction:column;align-items:center;background:rgba(255,255,255,.93);border-radius:1rem;padding:.35rem .9rem;color:#063a78;max-width:20rem}
.g-parkour-ov .g-parkour-big{font-size:1.7rem;font-weight:900;line-height:1.1;color:#ffb300;text-shadow:0 2px 0 #b56a00}
.g-parkour-ov .g-parkour-line{font-size:.8rem;font-weight:800;line-height:1.35;text-align:center}
.g-parkour-hint{text-align:center}
@media (max-height:420px){.g-parkour-ov .g-parkour-lv{padding:.22rem .35rem}.g-parkour-ov .g-parkour-n{width:1.6rem;height:1.6rem;line-height:1.6rem}.g-parkour-ov .g-parkour-big{font-size:1.35rem}}
/* Landscape phones: slim left rail like Boss Wave so the run gets the width (same media query + nogrid fallback the site uses). */
@media (orientation:landscape) and (max-height:540px){
  .ag[data-game="parkour"]{grid-template-columns:8.6rem minmax(0,1fr);grid-column-gap:.55rem;grid-column-gap:.55rem;column-gap:.55rem}
  .ag[data-game="parkour"] .g-top{justify-content:space-between}
  .ag[data-game="parkour"] .g-title{order:3;flex-basis:100%;text-align:center;font-size:1.05rem}
  .ag[data-game="parkour"] .g-stat{padding:.15rem .5rem}
  .ag[data-game="parkour"] .g-k{font-size:.62rem}
  .ag[data-game="parkour"] .g-v{font-size:1rem}
  .ag[data-game="parkour"] .g-parkour-hint{display:none}
  html.nogrid .ag[data-game="parkour"]>*{width:8.6rem}
  html.nogrid .ag[data-game="parkour"]>.ag-wrap{left:9.75rem;width:auto}
  html.nogrid .ag[data-game="parkour"] .g-top{flex-wrap:wrap}
}
/* ---- golf ---- */
/* Mini Golf (golf.js) */
.ag-stage.g-golf{display:block;padding:0;border-radius:1.2rem;overflow:hidden;border:3px solid rgba(255,255,255,.92);box-shadow:0 6px 18px rgba(0,30,90,.35);background:#06261b}
.ag-stage.g-golf canvas{display:block;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.g-golf-hint{font-size:.74rem}
@media (max-height:420px){.g-golf-hint{display:none}}
/* ---- muncher ---- */
/* Dot Muncher (muncher.js) */
.ag-stage.g-muncher{display:block;padding:0;border-radius:1.2rem;overflow:hidden;border:3px solid rgba(255,255,255,.92);box-shadow:0 6px 18px rgba(0,30,90,.35);background:#050a2e}
.ag-stage.g-muncher canvas{display:block;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.g-muncher-pad{display:flex;flex-direction:column;align-items:center;margin:0 auto}
.g-muncher-row{display:flex;justify-content:center}
.g-muncher-k,.g-muncher-gap{width:3.1rem;height:2.5rem;margin:.1rem .2rem;padding:0;font-size:1.1rem;line-height:1;flex:none}
.g-muncher-gap{display:block}
.g-muncher-k{touch-action:none;-webkit-user-select:none;user-select:none}
@media (orientation:landscape) and (max-height:540px){
  .ag[data-game="muncher"] .ag-ctl{justify-content:center}
  .g-muncher-k,.g-muncher-gap{width:2.6rem;height:2.3rem;margin:.08rem .12rem}
}
@media (orientation:portrait) and (max-height:700px){.g-muncher-k,.g-muncher-gap{height:2.2rem;margin:.06rem .2rem}}
/* ---- hangman ---- */
/* Word Guess (hangman.js) */
.ag-stage.g-hangman{display:block;padding:0;border-radius:1.2rem;overflow:hidden;border:3px solid rgba(255,255,255,.92);box-shadow:0 6px 18px rgba(0,30,90,.35);background:#c8f1ff}
.g-hangman-wrap{display:flex;flex-direction:column;overflow:hidden}
.g-hangman-wrap.wide{flex-direction:row}
.g-hangman-scene{position:relative;flex:none;overflow:hidden}
.g-hangman-scene canvas{display:block}
.g-hangman-side{flex:none;display:flex;flex-direction:column;justify-content:center;padding:4px 0 6px;background:linear-gradient(180deg,#0b2c7a,#071a4d)}
.g-hangman-wrap.wide .g-hangman-side{margin-left:6px;padding:4px 2px}
.g-hangman-cat{text-align:center;color:#fff36b;font-weight:900;margin:2px 4px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.g-hangman-len{color:#bfe6ff;font-weight:700;font-size:.85em}
.g-hangman-word{display:flex;justify-content:center;margin:2px 0 6px}
.g-hangman-ch{display:block;margin:0 2px;text-align:center;font-weight:900;color:#fff;border-bottom:3px solid #7df9ff;border-radius:4px;background:rgba(255,255,255,.08)}
.g-hangman-ch.on{background:rgba(125,249,255,.18);animation:ghpop .3s ease-out}
.g-hangman-ch.miss{color:#ff9fb3;border-bottom-color:#ff5f7e}
@keyframes ghpop{0%{transform:scale(.4)}70%{transform:scale(1.15)}100%{transform:scale(1)}}
.g-hangman-kb{display:flex;flex-direction:column;align-items:center}
.g-hangman-row{display:flex;justify-content:center;margin:2px 0}
.g-hangman-key{flex:none;margin:0 2px;padding:0;border:2px solid #fff;border-radius:.6rem;font-family:inherit;font-weight:900;color:#063a78;cursor:pointer;background:linear-gradient(180deg,#fff,#bfeaff);box-shadow:0 3px 0 rgba(4,70,150,.45);touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.g-hangman-key:active{transform:translateY(2px);box-shadow:0 1px 0 rgba(4,70,150,.45)}
.g-hangman-key.ok{color:#fff;border-color:#2f8f12;background:linear-gradient(180deg,#b8ff6a,#4cc416)}
.g-hangman-key.bad{color:#fff;border-color:#a3243f;background:linear-gradient(180deg,#ff9fb3,#e0405f);opacity:.55}
.g-hangman-key:disabled{cursor:default}
.g-hangman-hint{font-size:.8rem}
/* ---- reaction ---- */
/* Reaction Rush (reaction.js) */
.ag-stage.g-reaction{display:block;padding:0;border-radius:1.2rem;overflow:hidden;border:3px solid rgba(255,255,255,.92);box-shadow:0 6px 18px rgba(0,30,90,.35);background:#0a1033}
.ag-stage.g-reaction canvas{display:block;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.g-reaction-hint{font-size:.74rem}
@media (max-height:420px){.g-reaction-hint{display:none}}
/* ---- whack ---- */
.g-whack{display:block;position:relative;border-radius:1.2rem;overflow:hidden;border:3px solid #fff;box-shadow:0 8px 24px rgba(0,40,110,.35);background:#0b3d91}
.g-whack-cv{display:block;position:absolute;left:0;top:0;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
/* ---- simon ---- */
.g-simon{display:block;position:relative;border-radius:1.2rem;overflow:hidden;border:3px solid #fff;box-shadow:0 8px 24px rgba(0,40,110,.35);background:#0a0a2e}
.g-simon-cv{display:block;position:absolute;left:0;top:0;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
/* ---- hop ---- */
.g-hop{display:block;position:relative;border-radius:1.2rem;overflow:hidden;border:3px solid #fff;box-shadow:0 8px 24px rgba(0,40,110,.35);background:#0b3d91}
.g-hop-cv{display:block;position:absolute;left:0;top:0;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.g-hop-pads{display:flex;justify-content:center;align-items:center}
.g-hop-pad{min-width:3.1rem;min-height:2.6rem;font-size:1.15rem;padding:.35rem .7rem;margin:0 .2rem;touch-action:manipulation}
.g-hop-pause{margin-left:.4rem;padding:.45rem .7rem}
@media (orientation:landscape) and (max-height:500px){.g-hop-pads{flex-wrap:wrap}.g-hop-pad{min-width:2.6rem;min-height:2.3rem;margin:.15rem;padding:.25rem .5rem}.g-hop-pause{margin:.2rem 0 0}}
/* ---- skyhop ---- */
.g-skyhop{display:block;position:relative;border-radius:1.2rem;overflow:hidden;border:3px solid #fff;box-shadow:0 8px 24px rgba(0,40,110,.35);background:#5fd0ff}
.g-skyhop-cv{display:block;position:absolute;left:0;top:0;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
/* ---- slice ---- */
.g-slice{display:block;position:relative;border-radius:1.2rem;overflow:hidden;border:3px solid #fff;box-shadow:0 8px 24px rgba(0,40,110,.35);background:#1a0d40}
.g-slice-cv{display:block;position:absolute;left:0;top:0;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
/* ---- v1.7 hotfixes ---- */
/* Dot Muncher: bigger d-pad (arrow-key layout: up on top, left/down/right below) */
.g-muncher-k,.g-muncher-gap{width:4.4rem;height:3rem;margin:.12rem .25rem;font-size:1.35rem}
@media (orientation:portrait) and (max-height:700px){.g-muncher-k,.g-muncher-gap{width:4.3rem;height:2.85rem;margin:.08rem .25rem;font-size:1.3rem}}
@media (orientation:landscape) and (max-height:540px){.g-muncher-k,.g-muncher-gap{width:3.2rem;height:2.7rem;margin:.1rem .14rem;font-size:1.15rem}}
@media (orientation:landscape) and (max-height:400px){.g-muncher-k,.g-muncher-gap{width:3rem;height:2.5rem}}
/* Minesweeper: side rail fits at 640x360 */
@media (orientation:landscape) and (max-height:420px){
  .ag[data-game="mines"] .ag-ctl .ag-hint{display:none}
  .ag[data-game="mines"] .ag-ctl .ag-btn{padding-top:.28rem;padding-bottom:.28rem;min-height:0;font-size:.86rem}
  .ag[data-game="mines"] .g-title{font-size:1.05rem}
}
/* MP3 player sideways (no-grid landscape): keep the left rail inside the screen */
@media (orientation:landscape) and (max-height:400px){
  html.nogrid .ag>.ag-ctl .ag-hint{display:none}
  html.nogrid .ag>.ag-ctl>*{margin-bottom:.25rem}
  html.nogrid .ag[data-game="ttt"] .ag-ctl .ag-btn{padding-top:.3rem;padding-bottom:.3rem}
  html.nogrid .ag[data-game="ttt"] .g-title{font-size:1.05rem}
}


/* v1.9 tiles */
.t-dash .a-ico{background:#888;background:linear-gradient(180deg,#a8e8ff,#2f8cff)}
.t-colortap .a-ico{background:#888;background:linear-gradient(180deg,#ffd1f0,#ff4fa8)}
.t-meteor .a-ico{background:#888;background:linear-gradient(180deg,#d8b4fe,#7c3aed)}
.t-balloon .a-ico{background:#888;background:linear-gradient(180deg,#fecaca,#ef4444)}
.t-darts .a-ico{background:#888;background:linear-gradient(180deg,#fde68a,#f59e0b)}

.t-rooms .a-ico{background:#3a2a5a;background:linear-gradient(180deg,#5b3d8f,#1b1230)}
