/* Festival Island Expedition — bright dimensional treatment. */
body.adventure-fun {
  --island-ink:#17315b;
  --island-blue:#1677ff;
  --island-red:#ff4057;
  --island-yellow:#ffd52f;
  --island-green:#35c76f;
  --island-orange:#ff8a2b;
  --island-violet:#8d55e8;
  background:#38b9ff !important;
  color:var(--island-ink) !important;
  font-family:"Arial Rounded MT Bold","Trebuchet MS",sans-serif !important;
}
body.adventure-fun canvas#game { filter:saturate(1.3) contrast(1.12) brightness(1.04) !important; }
body.adventure-fun #kenney-cloud-layer,
body.adventure-fun #kenney-grade-layer { display:none !important; }

body.adventure-fun #hud {
  min-width:420px !important;
  border:4px solid var(--island-blue) !important;
  border-radius:20px !important;
  color:var(--island-ink) !important;
  background:rgba(255,255,255,.97) !important;
  box-shadow:0 8px 0 #0959be,0 18px 34px rgba(23,49,91,.22) !important;
  text-shadow:none !important;
  backdrop-filter:none !important;
}
body.adventure-fun #hud .title { color:var(--island-red) !important;background:#fff0f2 !important;text-shadow:none !important; }
body.adventure-fun .hud-row { gap:5px !important; }
body.adventure-fun .hud-row > span { padding:6px 9px;border-radius:9px;background:#edf8ff;color:var(--island-ink);font-weight:1000; }
body.adventure-fun .hud-row > span:nth-child(2){background:#fff0f2}body.adventure-fun .hud-row > span:nth-child(3){background:#fff8c9}body.adventure-fun .hud-row > span:nth-child(4){background:#ecfff2}body.adventure-fun .hud-row > span:nth-child(5){background:#f3edff}
body.adventure-fun #controls { color:#536a88 !important;background:#fff !important;font-size:10px; }
body.adventure-fun #hint { border:3px solid #e2ac00 !important;color:var(--island-ink) !important;background:rgba(255,249,201,.97) !important;box-shadow:0 5px 0 #a97f00 !important;backdrop-filter:none !important; }

body.adventure-fun #menu { background:radial-gradient(circle at 12% 13%,#fff 0 5%,transparent 5.2%),radial-gradient(circle at 86% 10%,rgba(255,255,255,.9) 0 7%,transparent 7.2%),linear-gradient(180deg,#4dbbff 0 63%,#35c76f 63.2% 100%) !important;backdrop-filter:none !important; }
body.adventure-fun #menu .panel { border:5px solid var(--island-blue) !important;border-radius:26px !important;color:var(--island-ink) !important;background:rgba(255,255,255,.985) !important;box-shadow:0 10px 0 #0959be,0 28px 52px rgba(23,49,91,.25) !important; }
body.adventure-fun .menu-kicker { color:var(--island-violet);font-size:11px;font-weight:1000;letter-spacing:.2em;text-align:center;text-transform:uppercase; }
body.adventure-fun #menu h1 { margin:0 0 10px !important;color:var(--island-blue) !important;font-family:"Arial Rounded MT Bold","Trebuchet MS",sans-serif !important;text-shadow:0 4px 0 #a7d0ff !important; }
body.adventure-fun #menu h1 span { color:var(--island-red) !important; }
body.adventure-fun .menu-lead { max-width:760px;margin:0 auto 5px !important;color:#526783 !important;text-align:center; }
body.adventure-fun .menu-rule { max-width:700px;margin:0 auto 13px !important;color:#637894 !important;font-size:13px;text-align:center; }
body.adventure-fun #character-grid .char-card { border:3px solid var(--island-blue) !important;border-radius:16px !important;color:var(--island-ink) !important;background:#edf8ff !important;box-shadow:0 5px 0 #9ebed7 !important; }
body.adventure-fun #character-grid .char-card:nth-child(6n + 2){border-color:var(--island-red)!important;background:#fff0f2!important;box-shadow:0 5px 0 #e8a4ae!important}body.adventure-fun #character-grid .char-card:nth-child(6n + 3){border-color:#e2ac00!important;background:#fff8c9!important;box-shadow:0 5px 0 #dfc76e!important}body.adventure-fun #character-grid .char-card:nth-child(6n + 4){border-color:var(--island-green)!important;background:#ecfff2!important;box-shadow:0 5px 0 #9dd9b1!important}body.adventure-fun #character-grid .char-card:nth-child(6n + 5){border-color:var(--island-orange)!important;background:#fff0df!important;box-shadow:0 5px 0 #e3b98f!important}body.adventure-fun #character-grid .char-card:nth-child(6n){border-color:var(--island-violet)!important;background:#f3edff!important;box-shadow:0 5px 0 #beace0!important}
body.adventure-fun #character-grid .char-card:hover,body.adventure-fun #character-grid .char-card:focus-visible{outline:4px solid var(--island-yellow)!important;outline-offset:2px!important;transform:translateY(-4px) rotate(-1deg)!important}body.adventure-fun .char-card img{border:0!important;border-radius:50%;filter:drop-shadow(0 5px 6px rgba(23,49,91,.22)) saturate(1.1)!important}body.adventure-fun .char-card span{color:var(--island-ink)!important;font-weight:1000!important}
body.adventure-fun .chip,body.adventure-fun button.chip,body.adventure-fun a.chip { min-height:44px;border:3px solid var(--island-blue) !important;color:var(--island-ink) !important;background:#fff !important;box-shadow:0 5px 0 #9ebed7 !important;text-shadow:none !important; }
body.adventure-fun #toggle-sfx{border-color:#e2ac00!important;background:#fff8c9!important}body.adventure-fun #toggle-music{border-color:var(--island-green)!important;background:#ecfff2!important}body.adventure-fun #end-controls .chip-primary{border-color:var(--island-red)!important;color:#fff!important;background:var(--island-red)!important;box-shadow:0 6px 0 #b51e33!important}body.adventure-fun #result{border:3px solid var(--island-red)!important;color:var(--island-ink)!important;background:#fff0f2!important}
body.adventure-fun .touch-btn,body.adventure-fun #dmg-global-controls .dmg-ctl-btn { min-width:48px;min-height:48px;border:3px solid var(--island-blue) !important;color:var(--island-ink) !important;background:#fff !important;box-shadow:0 5px 0 #0959be !important;text-shadow:none !important; }
body.adventure-fun #touch-right .touch-btn:last-child{border-color:var(--island-red)!important;background:#fff0f2!important}body.adventure-fun #touch-right .touch-btn:first-child{border-color:#e2ac00!important;background:#fff8c9!important}
body.adventure-fun #dmg-pause-overlay{background:rgba(77,187,255,.62)!important;backdrop-filter:blur(8px)!important}
@media(max-width:700px){body.adventure-fun #hud{min-width:0!important;right:8px}body.adventure-fun #menu .panel{padding:18px 14px!important;border-width:4px!important}}
@media(prefers-reduced-motion:reduce){body.adventure-fun *,body.adventure-fun *::before,body.adventure-fun *::after{transition:none!important;animation-duration:.01ms!important}}
