/* Paper Snip — Snipperclips-inspired cut-to-match puzzle, KidSafe Play pastel theme.
   Scoped under .gw so the generic class names don't clobber the site nav/buttons.
   No full-page html,body rules — the site owns <body>; .game-* chrome matches the
   other game pages. */

.game-page{width:min(96vw,920px);margin:0 auto}
.game-head{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.game-thumb{border-radius:16px;flex:none;box-shadow:0 6px 14px rgba(255,150,180,.25)}
.game-head h1{margin:0;font-size:26px;color:#5a4a6a;text-shadow:0 2px 0 #fff}
.game-head .sub{margin:2px 0 0;color:#9a86ad;font-size:14px}

.gw{user-select:none}
.gw *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.gw .app{display:flex;flex-direction:column;align-items:center;gap:12px;padding:6px 0;max-width:min(96vw,520px);margin:0 auto}

.gw .toprow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:center}
.gw .lbl{font-size:13px;font-weight:800;color:#9a86ad}
.gw .toggle{display:flex;gap:6px;background:#fff;padding:4px;border-radius:999px;box-shadow:0 4px 12px rgba(255,150,180,.18)}
.gw .opt{cursor:pointer;border:none;background:transparent;color:#9a86ad;padding:6px 14px;border-radius:999px;font-size:14px;font-weight:800}
.gw .opt.active{background:linear-gradient(180deg,#ffa9cf,#ff7eb3);color:#fff}
.gw .iconbtn{cursor:pointer;border:none;border-radius:999px;padding:6px 14px;font-size:13px;font-weight:800;color:#fff;background:linear-gradient(180deg,#9bd0ff,#5fb8ff);box-shadow:0 4px 0 #3a93dd}
.gw .iconbtn:active{transform:translateY(2px);box-shadow:0 2px 0 #3a93dd}
.gw .iconbtn.ghost{background:linear-gradient(180deg,#e9dff3,#d9c8ec);color:#6a5a7a;box-shadow:0 4px 0 #c3b0dd}
.gw .iconbtn.ghost:active{box-shadow:0 2px 0 #c3b0dd}

/* Word Search-style: keep the fullscreen button inline in the row (not floating over
   the board corner where it would cover the art). Overrides fullscreen.css. */
.gw .fs-btn{position:static;top:auto;right:auto;width:38px;height:38px;flex:none}

.gw .level-tag{font-size:14px;font-weight:900;color:#7a678f;background:#fff;border-radius:999px;padding:6px 18px;box-shadow:0 4px 12px rgba(150,120,200,.18)}
.gw .level-tag b{color:#ff7eb3;font-size:16px;margin-left:2px}

.gw .board-wrap{position:relative;padding:4px}
.gw .ps-stage{position:relative;width:min(94vw,460px);background:#fff7fb;border:3px solid #ffe1ee;border-radius:18px;overflow:hidden;touch-action:none;display:flex;align-items:center;justify-content:center}
.gw #psCanvas{display:block;touch-action:none;cursor:crosshair}

.gw .overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.9);backdrop-filter:blur(4px);border-radius:18px;text-align:center;padding:18px;z-index:5}
.gw .overlay.hidden{display:none}
.gw .ovcard{display:flex;flex-direction:column;align-items:center;gap:12px}
.gw .ovcard h2{margin:0;font-size:24px;color:#ff8fb1}
.gw .ovcard p{margin:0;font-size:15px;color:#7a67a0}
.gw .ov-btns{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.gw .ps-btn{cursor:pointer;border:none;display:inline-block;width:auto;padding:12px 22px;border-radius:999px;font-size:15px;font-weight:800;color:#fff;background:linear-gradient(180deg,#ffa9cf,#ff7eb3);box-shadow:0 5px 0 #ef5e98}
.gw .ps-btn:active{transform:translateY(3px);box-shadow:0 2px 0 #ef5e98}
.gw .ps-btn.alt{background:linear-gradient(180deg,#c9b6e6,#a98fda);box-shadow:0 5px 0 #8a6db0}
.gw .ps-btn.alt:active{box-shadow:0 2px 0 #8a6db0}

.gw .photo-btn{display:inline-flex;align-items:center;gap:4px;cursor:pointer}
.gw .photo-btn input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}

.gw .hint{margin:0;font-size:12.5px;color:#9a86ad;text-align:center;max-width:420px;line-height:1.5}
.gw .privacy{margin:2px 0 0;font-size:11.5px;color:#a99cbf;text-align:center;max-width:420px}
