:root { color-scheme: light; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif; color: #223d42; background: #fbfaf7; }
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; }
button:focus-visible, .screen:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #e49655; outline-offset: 3px; }
.skip-link { position: absolute; top: -80px; left: 12px; z-index: 20; padding: 10px; background: #fff; }.skip-link:focus { top: 10px; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding: 8px max(20px, calc((100vw - 980px)/2)); border-bottom: 1px solid #e4e3dc; background: #fff; }
.site-header a { color: #245b53; text-decoration: none; }.brand { font-size: 20px; font-weight: 900; }.back { font-size: 13px; font-weight: 700; }
.page { max-width: 980px; margin: 28px auto 90px; padding: 0 20px; }
.eyebrow, .section-kicker { margin: 0 0 8px; color: #39736c; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
h1 { margin: 0 0 7px; color: #173b40; font-size: clamp(28px, 5vw, 40px); }
.intro { max-width: 720px; margin: 0 0 21px; color: #526a69; font-size: 14px; line-height: 1.8; }
.game { padding: 20px; border: 1px solid #d9e6e0; border-radius: 23px; background: #f3f7f3; box-shadow: 0 7px 24px #193d3710; }
.game-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 15px; }.game-kicker { margin: 0 0 2px; color: #4d8177; font-size: 11px; font-weight: 900; letter-spacing: .12em; }.game h2 { margin: 0; font-size: 20px; }
.badge-row { display: flex; flex-wrap: wrap; justify-content: end; gap: 5px; max-width: 370px; }.badge { padding: 5px 8px; border: 1px solid #cbdad3; border-radius: 99px; background: #fff; color: #698078; font-size: 10px; font-weight: 800; }.badge.earned { border-color: #e8c274; background: #fff2c7; color: #70582d; }
.play-layout { display: grid; grid-template-columns: minmax(0, 1fr) 278px; align-items: start; gap: 20px; }
.television { min-width: 0; }.tv-shell { padding: 13px 13px 0; border: 4px solid #637e79; border-radius: 24px 24px 14px 14px; background: linear-gradient(115deg, #f4eee1, #e2d9c8 58%, #d5ccbd); box-shadow: inset 0 3px #fffaf1, 0 10px 19px #42565125; }
.screen { position: relative; overflow: hidden; width: 100%; aspect-ratio: 1.62; border: 7px solid #3b5554; border-radius: 15px; background: #c6e9e5; box-shadow: inset 0 2px 15px #1c424647; }
.screen::after { position: absolute; inset: 0; z-index: 6; border-radius: 7px; background: linear-gradient(115deg, #ffffff35, transparent 38% 66%, #ffffff1b); content: ""; pointer-events: none; }
.scene-art { display: block; width: 100%; height: 100%; object-fit: cover; }
.actor { position: absolute; left: 49%; top: 56%; z-index: 2; width: 19%; max-width: 125px; height: 27%; max-height: 126px; object-fit: contain; transform: translate(-50%, -50%); transition: left .35s ease, top .35s ease; filter: drop-shadow(0 7px 4px #152c3452); }
.actor.reacting { animation: actor-bounce .42s ease; }.screen[data-channel="forest"] .actor { width: 16%; }.screen[data-channel="space"] .actor { width: 17%; }.screen[data-channel="town"] .actor { width: 23%; max-width: 144px; }
.effects { position: absolute; z-index: 4; width: 1px; height: 1px; pointer-events: none; }.effects span { position: absolute; left: 0; top: 0; width: 15px; height: 15px; border: 3px solid #fff; border-radius: 50%; animation: effect-float 1.1s ease-out forwards; }
.effects span:nth-child(1) { --dx: -63px; --dy: -61px; }.effects span:nth-child(2) { --dx: 43px; --dy: -80px; animation-delay: .05s; }.effects span:nth-child(3) { --dx: -32px; --dy: -95px; animation-delay: .1s; }.effects span:nth-child(4) { --dx: 64px; --dy: -27px; animation-delay: .08s; }.effects span:nth-child(5) { --dx: -84px; --dy: -22px; animation-delay: .13s; }.effects span:nth-child(6) { --dx: 8px; --dy: -67px; animation-delay: .19s; }.effects span:nth-child(7) { --dx: 77px; --dy: -58px; animation-delay: .25s; }.effects span:nth-child(8) { --dx: -54px; --dy: -35px; animation-delay: .3s; }.effects span:nth-child(9) { --dx: 24px; --dy: -106px; animation-delay: .15s; }
.effects.forest span { width: 21px; height: 21px; border: 0; border-radius: 40% 40% 55% 55%; background: #f9da74; box-shadow: inset 6px 0 #f49f9b; }.effects.space span { width: 19px; height: 19px; border: 0; border-radius: 0; background: #fff3a5; clip-path: polygon(50% 0, 60% 36%, 100% 50%, 60% 64%, 50% 100%, 40% 64%, 0 50%, 40% 36%); }.effects.town span { width: 16px; height: 16px; border: 0; border-radius: 3px; background: #fff2bd; box-shadow: 0 0 0 3px #f8b274; }
.standby-message { position: absolute; inset: 0; z-index: 7; display: none; align-items: center; justify-content: center; flex-direction: column; background: #253b40; color: #f1ead7; font-size: 24px; font-weight: 900; text-align: center; line-height: 1.6; }.standby-message small { font-size: 13px; font-weight: 600; }.screen.standby .standby-message { display: flex; }
.tv-base { display: flex; align-items: center; gap: 8px; height: 33px; padding: 0 9px; color: #40595a; font-size: 11px; font-weight: 900; }.tv-light { width: 9px; height: 9px; border-radius: 50%; background: #70bf9a; box-shadow: 0 0 5px #52bb8c; }.tv-brand { margin-left: auto; font-size: 9px; letter-spacing: .1em; opacity: .7; }.tv-foot { width: 30%; height: 11px; margin: 0 auto; border-radius: 0 0 13px 13px; background: #89998b; box-shadow: 0 5px 0 #536b6250; }
.task-panel { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 80px; margin-top: 13px; padding: 12px 16px; border: 1px solid #d6e3d8; border-radius: 13px; background: #fff; }.task-label { color: #668578; font-size: 11px; font-weight: 800; }.task-panel p { margin: 4px 0 0; font-size: 16px; font-weight: 900; }.progress { flex: none; color: #55776d; font-size: 13px; font-weight: 800; }
.remote-wrap { display: flex; justify-content: center; }
.remote {
  position: relative; width: 100%; padding: 14px 13px 22px;
  border: 3px solid #aab8ad; border-bottom-color: #879b8f; border-radius: 42px 42px 51px 51px;
  background: radial-gradient(ellipse at 28% 6%, #fffdf3 0, #eef0e7 30%, transparent 68%), linear-gradient(120deg, #dce4da, #f5f5ed 46%, #d4dfd5 100%);
  box-shadow: inset 2px 3px 2px #fff, inset -3px -3px 4px #9caca740, 0 8px 0 #7e998a, 0 17px 24px #274b3d40;
}
.remote-speaker { width: 52px; height: 8px; margin: 0 auto 11px; border-radius: 20px; background: repeating-linear-gradient(90deg, #728c81 0 2px, transparent 2px 7px); opacity: .72; }
.remote-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 0 2px; color: #526b62; font-size: 13px; font-weight: 900; }
.remote-heading > span { letter-spacing: .04em; }
.remote-heading > span::before { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #72bc9a; box-shadow: 0 0 0 3px #d8e8dc; content: ""; vertical-align: 2px; }
.remote-label { margin: 16px 3px 8px; color: #677d72; font-size: 11px; font-weight: 900; letter-spacing: .035em; }
.remote button { border: 1px solid #a8b8ad; background: linear-gradient(#fffefa, #f2f4ee); box-shadow: inset 0 2px 1px #fff, 0 3px 0 #a2b5a9, 0 5px 5px #2e53421b; color: #254841; cursor: pointer; touch-action: manipulation; transition: transform .1s ease, box-shadow .1s ease, filter .1s ease; }
.remote button:active { transform: translateY(3px); box-shadow: inset 0 2px 3px #78978950; }
.remote button:hover { filter: brightness(1.03); }
.remote .power { width: 45px; height: 45px; border: 2px solid #b57068; border-radius: 50%; background: radial-gradient(circle at 36% 27%, #ffd0bd, #e9857d 65%, #c66b68); box-shadow: inset 0 2px 2px #ffe2d2, 0 3px 0 #ae6966, 0 5px 8px #834d4d48; color: #fff; font-size: 25px; line-height: 1; text-shadow: 0 1px 2px #8b5148; }
.remote .power[aria-pressed="false"] { border-color: #839c91; background: linear-gradient(#bed0c1, #92aa9b); box-shadow: 0 3px 0 #728c7d; }
.number-pad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.number-pad button { display: flex; align-items: center; justify-content: flex-start; gap: 4px; min-width: 0; min-height: 76px; padding: 6px; border-radius: 15px; text-align: left; }
.number-pad img { flex: none; width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 2px 1px #385d4930); }
.channel-label { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; line-height: 1.1; }
.channel-label strong { font-size: 21px; font-weight: 900; }
.channel-label small { font-size: 12px; font-weight: 800; white-space: nowrap; }
.number-pad button:nth-child(1) { --channel: #297f9a; --channel-tint: #e6f5f7; }
.number-pad button:nth-child(2) { --channel: #57804b; --channel-tint: #edf6e7; }
.number-pad button:nth-child(3) { --channel: #756cac; --channel-tint: #f2effb; }
.number-pad button:nth-child(4) { --channel: #ae704b; --channel-tint: #fcf1e8; }
.number-pad button { color: var(--channel); }
.number-pad button[aria-pressed="true"] { border: 2px solid var(--channel); background: linear-gradient(#fff, var(--channel-tint)); box-shadow: inset 0 2px #fff, 0 3px 0 var(--channel), 0 0 0 2px #fff; }
.channel-switch { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 12px; }
.channel-switch button { min-height: 48px; border-radius: 14px; color: #49665b; font-size: 13px; font-weight: 900; letter-spacing: .05em; }
.direction-pad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, 64px); gap: 3px; padding: 8px; border: 2px solid #bdcbc0; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #e5eee4, #c7d5c9 82%); box-shadow: inset 0 3px 6px #6b8b7450, 0 2px 2px #fff; }
.direction-pad button { border-color: #97afa0; border-radius: 15px; font-size: 19px; font-weight: 900; }
.direction-pad .up { grid-column: 2; grid-row: 1; }.direction-pad .left { grid-column: 1; grid-row: 2; }.direction-pad .ok { grid-column: 2; grid-row: 2; border: 2px solid #275a50; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #5a9c84, #297364 72%); box-shadow: inset 0 2px 2px #b5d7bf, 0 3px 0 #1b5a51, 0 5px 6px #205a4c50; color: #fff; font-size: 11px; }.direction-pad .ok:hover { filter: brightness(1.07); }.direction-pad .right { grid-column: 3; grid-row: 2; }.direction-pad .down { grid-column: 2; grid-row: 3; }
.feedback { min-height: 24px; margin: 17px 0 0; color: #315f57; font-size: 14px; font-weight: 800; text-align: center; }.settings { width: fit-content; margin: 16px 0 0 auto; color: #526a62; font-size: 12px; }.settings summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }.settings[open] { width: min(100%, 330px); padding: 15px; border: 1px solid #d4e1d9; border-radius: 11px; background: #fff; }.settings label { display: flex; align-items: center; gap: 9px; min-height: 44px; font-weight: 800; cursor: pointer; }.settings input { width: 20px; height: 20px; accent-color: #246b5e; }.settings button { min-height: 39px; margin-top: 8px; padding: 7px 11px; border: 1px solid #9db4aa; border-radius: 8px; background: #fff; color: #315b52; cursor: pointer; }.settings p { margin: 10px 0 0; line-height: 1.7; }
.parent-prompt { margin: 19px 0 0; padding: 13px 16px; border-left: 4px solid #91b395; background: #edf5e9; font-size: 14px; line-height: 1.7; }.guide, .research { margin-top: 48px; }.guide h2, .research h2 { margin: 0 0 12px; font-size: 24px; }.section-lead, .guide-close { max-width: 780px; color: #536864; line-height: 1.9; }.guide-steps { display: grid; gap: 12px; margin: 23px 0; padding: 0; list-style: none; }.guide-steps li { display: flex; gap: 17px; padding: 17px; border: 1px solid #e0e8de; border-radius: 12px; background: #fff; }.guide-steps li > span { color: #729b80; font-size: 14px; font-weight: 900; }.guide-steps h3, .research h3 { margin: 0 0 5px; font-size: 16px; }.guide-steps p, .research-points p { margin: 0; color: #52645c; font-size: 14px; line-height: 1.9; }.research-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 21px; }.research-points > div { padding: 20px; border: 1px solid #e2e8e0; border-radius: 12px; background: #fff; }.research-points a, .sources a { color: #24675c; }.research-limit { margin: 24px 0 0; padding: 16px 19px; border-left: 4px solid #bca578; background: #f6f1e5; font-size: 13px; line-height: 1.85; }.sources { margin-top: 27px; }.sources h3 { font-size: 16px; }.sources ol { padding-left: 22px; }.sources li { margin: 8px 0; color: #53645d; font-size: 13px; line-height: 1.7; }
@keyframes effect-float { 0% { opacity: 0; transform: translate(0, 0) scale(.3); } 22% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.3); } }
@keyframes actor-bounce { 45% { transform: translate(-50%, -64%) scale(1.12); } }
@media (max-width: 720px) { .page { padding: 0 14px; }.game { padding: 14px; }.play-layout { grid-template-columns: 1fr; gap: 15px; }.remote { max-width: 350px; }.badge-row { max-width: 200px; }.screen { aspect-ratio: 1.65; }.remote .remote-label { margin-top: 13px; }.research-points { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .site-header { min-height: 57px; padding: 8px 14px; }.brand { font-size: 17px; }.page { margin-top: 19px; }.intro { font-size: 13px; }.game-heading { align-items: start; }.game h2 { font-size: 17px; }.badge-row { max-width: 134px; }.badge { padding: 4px 6px; font-size: 9px; }.tv-shell { padding: 8px 8px 0; border-width: 3px; border-radius: 17px; }.screen { border-width: 5px; border-radius: 12px; }.actor { width: 23%; }.screen[data-channel="town"] .actor { width: 28%; }.task-panel { min-height: 72px; padding: 10px 12px; }.task-panel p { font-size: 14px; }.remote { max-width: 310px; padding: 12px; }.guide, .research { margin-top: 38px; } }
@media (prefers-reduced-motion: reduce) { .actor, .remote button { transition: none; }.actor.reacting, .effects span { animation: none; }.effects { display: none; } }
