/* Willy's Ocean Games | Ocean Explorer visual refresh
   All rules are scoped to .wog so the plugin does not style the hosting site. */
.wog {
  --wog-ink:#123c57;
  --wog-muted:#5e8091;
  --wog-deep:#0b3c61;
  --wog-ocean:#087f9b;
  --wog-sea:#17a5b1;
  --wog-sky:#eaf8fd;
  --wog-coral:#fa897c;
  --wog-gold:#ffcd72;
  --wog-line:#d9eef3;
  box-sizing:border-box;
  max-width:1100px;
  margin:28px auto;
  padding:16px;
  border:1px solid #d1eaf1;
  border-radius:32px;
  background:#f3fbfd;
  background-image:radial-gradient(circle at 94% 2%,#d0f1f7 0,transparent 35%),linear-gradient(150deg,#eefbff 0%,#f8fdff 54%,#e7f7f7 100%);
  box-shadow:0 18px 65px rgba(13,67,102,.13);
  font-family:'Trebuchet MS','Avenir Next',ui-rounded,system-ui,-apple-system,Arial,sans-serif;
  line-height:1.5;
  color:var(--wog-ink);
  isolation:isolate;
}
.wog *, .wog *::before, .wog *::after {box-sizing:border-box}
.wog button,.wog select,.wog input{font:inherit}
.wog button{cursor:pointer}
.wog button:disabled{cursor:not-allowed;opacity:.6}
.wog button:focus-visible,.wog select:focus-visible,.wog input:focus-visible,.wog canvas:focus-visible{outline:3px solid #f6ab48;outline-offset:3px}
.wog h2,.wog h3,.wog p{letter-spacing:normal}

/* Illustrated hero */
.wog-header {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:255px;
  padding:34px 44px;
  overflow:hidden;
  border-radius:25px;
  background:linear-gradient(112deg,#0a3b63 3%,#075979 53%,#0797a8 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 10px 24px rgba(8,79,109,.18);
  color:#fff;
}
.wog-header::before {
  content:'';
  position:absolute;
  width:460px;
  height:460px;
  right:75px;
  top:-320px;
  border:1px solid rgba(208,252,255,.25);
  border-radius:50%;
  box-shadow:0 0 0 35px rgba(222,251,255,.045),0 0 0 75px rgba(222,251,255,.038),0 0 0 115px rgba(222,251,255,.03);
  pointer-events:none;
}
.wog-header::after {
  content:'';
  position:absolute;
  bottom:-57px;
  left:-8%;
  width:125%;
  height:100px;
  border-radius:50% 50% 0 0;
  background:rgba(32,185,189,.24);
  transform:rotate(-3deg);
  pointer-events:none;
}
.wog-hero-copy{position:relative;z-index:2;max-width:570px}
.wog-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:15px;
  padding:7px 13px;
  border:1px solid rgba(255,255,255,.26);
  border-radius:50px;
  background:rgba(255,255,255,.13);
  color:#d6fcfb;
  font-size:11px;
  font-weight:900;
  letter-spacing:1.8px;
  text-transform:uppercase;
}
.wog-eyebrow::before{content:'✦';color:#ffdb90;font-size:13px}
.wog-header h2 {
  max-width:560px;
  margin:0 0 12px;
  font-size:clamp(30px,4.15vw,53px);
  font-weight:900;
  line-height:1.08;
  letter-spacing:-1.7px;
  color:#fff;
  text-wrap:balance;
}
.wog-header p{max-width:380px;margin:0;color:#d3f2f4;font-size:16px;line-height:1.65}
.wog-hero-note{display:flex;align-items:center;gap:9px;margin-top:20px;color:#e9fffe;font-size:12px;font-weight:800;letter-spacing:.35px}
.wog-hero-note span{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#ffda8d;color:#0c5575;font-size:15px}
.wog-hero-art{
  position:relative;
  z-index:1;
  flex:none;
  width:225px;
  height:225px;
  margin:-20px 12px -20px 15px;
  border:6px solid rgba(255,255,255,.8);
  border-radius:35px;
  background:#0f82a0;
  box-shadow:0 20px 35px rgba(0,35,61,.3),0 0 0 7px rgba(255,255,255,.10);
  transform:rotate(7deg);
}
.wog-hero-art img{width:100%;height:100%;display:block;object-fit:cover;border-radius:29px}
.wog-hero-art::before,.wog-hero-art::after{content:'';position:absolute;border:2px solid rgba(217,255,255,.7);border-radius:50%;pointer-events:none}
.wog-hero-art::before{width:28px;height:28px;top:13px;left:-45px}
.wog-hero-art::after{width:15px;height:15px;bottom:6px;right:-37px}
.wog-bubble{position:absolute;z-index:1;display:block;border:1.5px solid rgba(228,255,255,.55);border-radius:50%;pointer-events:none}
.wog-bubble-one{width:18px;height:18px;right:32%;bottom:25px}
.wog-bubble-two{width:8px;height:8px;right:35%;bottom:52px}
.wog-bubble-three{width:12px;height:12px;left:40%;top:20px}

/* Game selector */
.wog-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 1px 20px}
.wog .wog-tab{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:11px;
  min-height:76px;
  padding:14px 15px;
  border:1.5px solid #dcecf0;
  border-radius:18px;
  background:#fff;
  color:#325f74;
  font-size:14px;
  font-weight:850;
  text-align:left;
  line-height:1.25;
  box-shadow:0 4px 11px rgba(10,68,94,.035);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease;
}
.wog .wog-tab:hover{transform:translateY(-2px);border-color:#9bd5df;box-shadow:0 8px 20px rgba(12,73,100,.10)}
.wog .wog-tab.is-active{background:linear-gradient(130deg,#0c7797,#075d81);color:#fff;border-color:#0b7993;box-shadow:0 8px 18px rgba(8,103,135,.22)}
.wog-tab-icon{display:grid;flex:none;place-items:center;width:45px;height:45px;border-radius:13px;background:#eaf7fb;font-size:23px;line-height:1;transition:background .2s}
.wog .wog-tab.is-active .wog-tab-icon{background:rgba(255,255,255,.19)}
.wog-tab-copy{display:flex;flex-direction:column;gap:2px}
.wog-tab-copy small{font-size:11px;font-weight:650;color:#85a2af;letter-spacing:.1px}
.wog .wog-tab.is-active small{color:#bfeaf2}

/* Game shell and headings */
.wog-body {
  min-width:0;
  padding:25px 27px 27px;
  border:1px solid #dbedf3;
  border-radius:23px;
  background:rgba(255,255,255,.93);
  box-shadow:0 8px 25px rgba(8,66,91,.05);
}
.wog-game-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}
.wog-kicker{display:block;margin-bottom:6px;color:#14909e;font-size:11px;font-weight:900;letter-spacing:1.9px;text-transform:uppercase}
.wog-game-heading h3{margin:0 0 5px;color:#103b5a;font-size:clamp(23px,2.7vw,30px);line-height:1.2;font-weight:900;letter-spacing:-.65px}
.wog-hint{max-width:760px;margin:0;color:#6c8997;font-size:13px;line-height:1.7}
.wog-heading-symbol{flex:none;display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:linear-gradient(140deg,#f1fdff,#d8f4f5);border:1px solid #d1eff2;font-size:30px;transform:rotate(7deg)}
.wog-toolbar {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:space-between;
  min-height:69px;
  margin-bottom:12px;
  padding:12px 15px;
  background:#f2f9fb;
  border:1px solid #e2f0f4;
  border-radius:16px;
}
.wog-toolbar-caption{color:#6d90a0;font-size:11px;font-weight:900;letter-spacing:1.35px;text-transform:uppercase}
.wog-toolbar-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.wog-buttons{display:flex;flex-wrap:wrap;gap:8px}
.wog .wog-select {
  appearance:none;
  -webkit-appearance:none;
  max-width:100%;
  padding:11px 37px 11px 14px;
  border:1.5px solid #c5e4e9;
  border-radius:12px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='m2 3 5 5 5-5' fill='none' stroke='%230a7391' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 13px center;
  color:#285a70;
  font-size:13px;
  font-weight:850;
  line-height:1.2;
  box-shadow:0 2px 3px rgba(4,58,81,.025);
}
.wog .wog-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:43px;
  padding:10px 17px;
  border:1.5px solid #bddce5;
  border-radius:12px;
  background:#fff;
  color:#13647e;
  font-size:13px;
  font-weight:850;
  line-height:1.15;
  white-space:nowrap;
  box-shadow:0 3px 6px rgba(10,71,97,.04);
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
.wog .wog-btn:hover{transform:translateY(-1px);box-shadow:0 6px 12px rgba(9,80,103,.12)}
.wog .wog-btn.primary{background:linear-gradient(135deg,#108ba7,#087292);border-color:#087b9b;color:#fff;box-shadow:0 4px 9px rgba(9,110,146,.17)}
.wog .wog-btn.primary:hover{filter:brightness(1.055)}
.wog-status {
  position:relative;
  display:flex;
  align-items:center;
  min-height:47px;
  margin:0 0 20px;
  padding:10px 14px 10px 43px;
  border:1px solid #d0ebed;
  border-radius:13px;
  background:linear-gradient(115deg,#effafa,#f8fdfd);
  color:#247481;
  font-size:13px;
  font-weight:800;
  line-height:1.45;
}
.wog-status::before{content:'✦';position:absolute;left:14px;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#c9f1eb;color:#18847d;font-size:13px}
.wog-status.is-celebration{background:linear-gradient(105deg,#fff5df,#f3ffec);border-color:#e4dfb4;color:#44754c}
.wog-status.is-celebration::before{content:'★';background:#ffe39e;color:#b16a12}
.wog-stage-caption{display:flex;gap:9px;align-items:center;justify-content:space-between;margin:0 0 11px;font-size:11px;color:#6a8a98;font-weight:900;letter-spacing:1.2px;text-transform:uppercase}
.wog-stage-caption strong{color:#087f93;font-size:11px}

/* Maze */
.wog-maze-layout{display:grid;grid-template-columns:minmax(0,1fr) 222px;align-items:start;gap:19px}
.wog-maze-frame{min-width:0;padding:15px;border:1px solid #dceef4;border-radius:21px;background:linear-gradient(160deg,#fbfeff,#effafd);box-shadow:0 8px 19px rgba(14,83,117,.05)}
.wog-canvas-wrap{display:flex;justify-content:center;width:100%;overflow:hidden;border-radius:14px}
.wog-canvas{display:block;max-width:100%;touch-action:none;background:#ecfbfd}
.wog-maze-canvas{width:100%;height:auto;aspect-ratio:1;outline-offset:4px}
.wog-side-panel{min-width:0;padding:20px 16px;border:1px solid #deecf1;border-radius:20px;background:linear-gradient(160deg,#effbfe,#f8fdfc);box-shadow:0 5px 12px rgba(14,75,94,.045)}
.wog-side-icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:13px;background:#d5f2f5;border-radius:13px;font-size:25px}
.wog-side-panel h4{margin:0 0 6px;font-size:17px;line-height:1.3;font-weight:900;color:#14475e}
.wog-side-panel p{margin:0 0 14px;color:#668997;font-size:12px;line-height:1.65}
.wog-maze-legend{display:grid;gap:8px;margin:14px 0 18px;padding:12px 0;border-top:1px dashed #ccdee5;border-bottom:1px dashed #ccdee5}
.wog-legend-item{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:850;color:#4b7486}
.wog-legend-dot{width:12px;height:12px;border-radius:4px;background:#83d9a3;box-shadow:0 0 0 3px #dff7e8}
.wog-legend-dot.end{background:#ff9888;box-shadow:0 0 0 3px #ffeddf}
.wog-move-total{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:14px;color:#648496;font-size:12px;font-weight:850}
.wog-move-total strong{color:#0a708f;font-size:24px;font-weight:900;line-height:1}
.wog-joypad{display:grid;grid-template-columns:repeat(3,44px);justify-content:center;gap:6px;margin:5px auto 0}
.wog .wog-joypad .wog-btn{width:44px;min-height:44px;padding:0;border:1px solid #acdbe2;border-radius:12px;background:#fff;color:#0a7795;font-size:21px;font-weight:900;box-shadow:0 3px 5px rgba(12,97,123,.08)}
.wog .wog-joypad .wog-btn:active{background:#c9f0f5;transform:scale(.94)}
.wog-joypad .wog-btn:nth-child(1){grid-column:2}
.wog-joypad .wog-btn:nth-child(2){grid-column:1;grid-row:2}
.wog-joypad .wog-btn:nth-child(3){grid-column:2;grid-row:2}
.wog-joypad .wog-btn:nth-child(4){grid-column:3;grid-row:2}
.wog-joystick-note{display:block;margin-top:12px;text-align:center;color:#90a7ae;font-size:11px;line-height:1.5}

/* Picture swap puzzle */
.wog-jigsaw-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:19px;align-items:start}
.wog-jigsaw-frame{min-width:0;padding:15px;border:1px solid #d8edf1;border-radius:20px;background:linear-gradient(135deg,#fafdff,#eff9fc);box-shadow:0 7px 18px rgba(8,71,101,.05)}
.wog-jigsaw-board{position:relative;width:min(100%,550px);aspect-ratio:1;margin:0 auto;overflow:hidden;touch-action:none;border:5px solid #fff;border-radius:16px;background:#b1e7ef;box-shadow:0 3px 15px rgba(13,86,121,.14)}
.wog-jigsaw-board canvas{display:block;width:100%;height:100%;touch-action:none;cursor:pointer}
.wog-jigsaw-preview{overflow:hidden;border:1px solid #dceaf0;border-radius:18px;background:#fff}
.wog-preview-title{margin:0;padding:12px 13px;background:#e7f7fa;color:#0f7e91;font-size:11px;letter-spacing:1.1px;font-weight:900;text-transform:uppercase}
.wog-jigsaw-preview img{display:block;max-width:100%;width:100%;aspect-ratio:1;object-fit:cover}
.wog-preview-description{margin:0;padding:12px 14px;color:#6b8b96;font-size:12px;line-height:1.65}
.wog-progress-panel{margin-top:14px;padding:13px 14px;border-radius:14px;background:#e8f8f8}
.wog-progress-panel span{display:block;margin-bottom:4px;color:#698c96;font-size:11px;font-weight:900;letter-spacing:1px;text-transform:uppercase}
.wog-progress-panel strong{color:#08718d;font-size:20px;font-weight:900}

/* Crossword */
.wog-crosswrap{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(270px,.82fr);align-items:start;gap:18px}
.wog-cross-board-shell{min-width:0;padding:14px;border:1px solid #d9eaf0;border-radius:20px;background:#f5fbfd;box-shadow:0 5px 16px rgba(15,79,104,.045)}
.wog-cross-grid{display:grid;gap:3px;width:100%;max-width:520px;margin:0 auto;padding:6px;border:1px solid #b7e2e8;border-radius:12px;background:#92c5d4;box-shadow:0 5px 15px rgba(16,92,124,.1);overflow:hidden}
.wog-cross-cell{position:relative;min-width:0;min-height:0;background:#fff;border-radius:3px;transition:background .13s}
.wog-cross-cell.is-block{background:linear-gradient(135deg,#cde8ee,#b8dce6)}
.wog-cross-cell:focus-within{z-index:1;background:#dcf8fc;outline:2px solid #0c94ac;outline-offset:-1px}
.wog-cross-cell input{display:block;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:6px 0 0;border:0;border-radius:3px;outline:none!important;background:transparent;color:#164d69;font-size:clamp(11px,1.9vw,21px);text-align:center;font-weight:900;line-height:1;text-transform:uppercase;box-shadow:none!important}
.wog-cross-cell span{position:absolute;top:1px;left:2px;color:#3d8496;font-family:system-ui,sans-serif;font-size:clamp(7px,.9vw,10px);font-weight:800;pointer-events:none}
.wog-cross-cell.is-correct{background:#c9f5d9}
.wog-cross-cell.is-wrong{background:#ffe2da}
.wog-cross-cell.is-correct input{color:#216948}
.wog-cross-cell.is-wrong input{color:#ac493d}
.wog-clues{min-width:0;display:grid;gap:13px}
.wog-clue-group{padding:15px;border:1px solid #deedf2;border-radius:17px;background:#f8fcfd}
.wog-clues h3{margin:0 0 12px;font-size:17px;color:#114e68;font-weight:900}
.wog-clues h3::before{content:'↗';display:inline-grid;place-items:center;width:26px;height:26px;margin-right:8px;background:#d6f3f4;border-radius:8px;color:#137c93;font-size:17px}
.wog-clue-group.is-down h3::before{content:'↘'}
.wog-clues p{display:flex;gap:9px;align-items:flex-start;margin:0 0 9px;color:#4c7282;font-size:12px;line-height:1.5}
.wog-clues p:last-child{margin-bottom:0}
.wog-clue-number{display:inline-grid;flex:none;place-items:center;min-width:25px;height:25px;padding:0 5px;border-radius:8px;background:#e1f4f5;color:#0b7990;font-size:11px;font-weight:900}
.wog-clue-text{padding-top:3px}

/* Word search */
.wog-search-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:19px;align-items:start}
.wog-search-board-shell{min-width:0;padding:14px;border:1px solid #d9ebef;border-radius:20px;background:linear-gradient(145deg,#faffff,#eef8fb);box-shadow:0 7px 20px rgba(14,73,108,.05)}
.wog-search-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:4px;width:100%;max-width:660px;margin:0 auto;padding:8px;border:1px solid #bfe3ea;border-radius:15px;background:#cceaf0;box-shadow:0 4px 12px rgba(13,90,113,.06);touch-action:none}
.wog-search-cell{display:grid;place-items:center;aspect-ratio:1;min-width:0;border:1px solid rgba(255,255,255,.75);border-radius:6px;background:#fff;color:#24536b;font-family:'Trebuchet MS',system-ui,sans-serif;font-size:clamp(11px,1.65vw,19px);font-weight:900;user-select:none;cursor:crosshair;touch-action:none;transition:background .13s,box-shadow .13s,color .13s}
.wog-search-cell.selected{z-index:1;background:#ffe3a3;color:#8f5a16;box-shadow:0 0 0 2px #f7be6e inset}
.wog-search-cell.found{background:#bdeeda;color:#185b57;box-shadow:inset 0 0 0 1px #88d7bb}
.wog-word-bank{padding:17px 14px;border:1px solid #d7e9ef;border-radius:19px;background:linear-gradient(155deg,#f2fcfd,#fff)}
.wog-word-bank h4{margin:0 0 4px;color:#144b68;font-size:18px;font-weight:900}
.wog-word-bank p{margin:0 0 13px;color:#7293a1;font-size:12px;line-height:1.5}
.wog-words{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.wog-word{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;padding:9px 4px;border:1px solid #d7ebf0;border-radius:10px;background:#fff;color:#266981;font-size:11px;font-weight:900;letter-spacing:.45px;line-height:1.2;transition:background .2s,color .2s}
.wog-word::before{content:'○';font-size:13px;color:#9db8bf}
.wog-word.found{border-color:#a1dac4;background:#e0f8e9;color:#397a58;text-decoration:line-through}
.wog-word.found::before{content:'✓';color:#16845c}
.wog-found-summary{margin-top:15px;padding:11px 12px;border-radius:12px;background:#e6f8f3;color:#33816e;text-align:center;font-size:12px;font-weight:850}
.wog-found-summary strong{color:#067e77;font-size:18px;font-weight:900}
.wog-footer{margin:20px 0 0;text-align:center;color:#6e91a1;font-size:12px}
.wog small{line-height:inherit}

@media(max-width:920px){
  .wog-header{padding:28px 29px;min-height:218px}
  .wog-hero-art{width:180px;height:180px;border-radius:27px}
  .wog-hero-art img{border-radius:21px}
  .wog-header h2{font-size:clamp(29px,4.4vw,43px)}
  .wog .wog-tab{padding:11px 9px;gap:8px;min-height:67px;font-size:12px}
  .wog-tab-icon{width:37px;height:37px;border-radius:12px;font-size:19px}
  .wog-tab-copy small{font-size:10px}
  .wog-maze-layout,.wog-jigsaw-layout,.wog-search-layout{grid-template-columns:minmax(0,1fr) 185px;gap:12px}
  .wog-crosswrap{grid-template-columns:1fr;gap:15px}
  .wog-clues{grid-template-columns:1fr 1fr}
  .wog-word-bank{padding:12px 10px}
  .wog-words{grid-template-columns:1fr 1fr;gap:5px}
  .wog-word{font-size:10px;letter-spacing:0}
}
@media(max-width:670px){
  .wog{margin:12px auto;padding:10px;border-radius:23px}
  .wog-header{min-height:195px;padding:22px 22px;border-radius:18px;gap:8px}
  .wog-eyebrow{font-size:9px;letter-spacing:1.2px;margin-bottom:11px;padding:6px 9px}
  .wog-header h2{font-size:clamp(26px,5.6vw,35px);letter-spacing:-.8px}
  .wog-header p{font-size:12px;line-height:1.5}
  .wog-hero-note{font-size:10px;margin-top:14px}
  .wog-hero-art{width:125px;height:155px;border-width:4px;border-radius:22px;margin:0 -15px 0 6px;transform:rotate(7deg)}
  .wog-hero-art img{border-radius:17px}
  .wog-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 14px}
  .wog .wog-tab{min-height:63px;padding:10px 11px;font-size:13px}
  .wog-tab-icon{width:37px;height:37px}
  .wog-body{padding:17px 13px;border-radius:18px}
  .wog-game-heading{gap:9px}
  .wog-game-heading h3{font-size:22px}
  .wog-hint{font-size:12px}
  .wog-heading-symbol{width:45px;height:45px;border-radius:13px;font-size:23px}
  .wog-toolbar{gap:9px;padding:10px}
  .wog-toolbar-caption{font-size:10px}
  .wog-toolbar-actions{width:100%;justify-content:flex-start}
  .wog .wog-btn,.wog .wog-select{min-height:40px;font-size:12px}
  .wog-status{margin-bottom:15px;font-size:12px}
  .wog-maze-layout,.wog-jigsaw-layout,.wog-search-layout{grid-template-columns:1fr}
  .wog-maze-frame,.wog-jigsaw-frame,.wog-search-board-shell{padding:9px;border-radius:15px}
  .wog-side-panel{display:grid;grid-template-columns:1fr auto;gap:7px 15px;align-items:start;padding:14px}
  .wog-side-panel>.wog-side-icon{display:none}
  .wog-side-panel h4,.wog-side-panel p,.wog-maze-legend,.wog-move-total{grid-column:1}
  .wog-side-panel p{margin-bottom:4px}
  .wog-maze-legend{margin:5px 0;padding:7px 0}
  .wog-joypad{grid-column:2;grid-row:1 / span 4;align-self:center;margin:0}
  .wog-joystick-note{grid-column:1 / -1;margin:0}
  .wog-jigsaw-side{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
  .wog-jigsaw-preview img{max-height:140px;object-fit:cover}
  .wog-progress-panel{margin-top:0;align-self:start}
  .wog-search-grid{gap:3px;padding:5px;border-radius:10px}
  .wog-search-cell{border-radius:4px;font-size:clamp(11px,2.6vw,17px)}
  .wog-word-bank{padding:13px}
  .wog-words{grid-template-columns:repeat(3,minmax(0,1fr))}
  .wog-clues{grid-template-columns:1fr 1fr;gap:9px}
  .wog-clue-group{padding:10px}
  .wog-cross-board-shell{padding:8px}
  .wog-cross-grid{gap:2px;padding:4px}
}
@media(max-width:400px){
  .wog-header{padding:19px 15px;min-height:180px}
  .wog-header h2{font-size:25px}
  .wog-header p{font-size:11px}
  .wog-hero-art{width:99px;height:130px}
  .wog-hero-note{display:none}
  .wog-joypad{grid-template-columns:repeat(3,38px);gap:5px}
  .wog .wog-joypad .wog-btn{width:38px;min-height:38px}
  .wog-clues{grid-template-columns:1fr}
  .wog-search-grid{gap:2px;padding:3px}
  .wog-search-cell{font-size:10px;border-radius:2px}
  .wog .wog-tab{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.wog *, .wog *::before, .wog *::after{transition:none!important;animation:none!important}}
