*{box-sizing:border-box}html{color-scheme:light;scroll-behavior:auto}body{margin:0;background:#f5f7fb;color:#172b41;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}main{max-width:760px;margin:auto;padding:24px 20px 40px}nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px}a{color:#174c93;text-underline-offset:3px}nav a,.primary,.policy{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border-radius:10px}nav a[aria-current=page]{background:#dfe9f8;color:#123c72;font-weight:700}.hero{display:flex;align-items:center;gap:16px;margin-bottom:18px}.hero img{width:80px;height:80px;border-radius:18px;flex:none}h1{font-size:28px;line-height:1.25;margin:0 0 6px;overflow-wrap:anywhere}h2{font-size:20px;margin:28px 0 12px}p{margin:12px 0}.subtle{color:#475b72}.status{display:inline-block;padding:4px 10px;background:#e8eef7;border-radius:6px;font-size:14px;margin-top:4px}.primary{background:#174c93;color:#fff;text-decoration:none;font-weight:700;width:100%;margin-top:8px}.contact{padding:20px;background:#fff;border:1px solid #d4deeb;border-radius:16px;margin-top:24px;overflow-wrap:anywhere}details{background:white;border:1px solid #d4deeb;border-radius:12px;margin:10px 0;padding:0 16px}summary{cursor:pointer;font-weight:650;min-height:52px;padding:14px 0;line-height:1.5}details p{padding-bottom:8px}.policy{padding-left:0}footer{font-size:14px;color:#475b72;border-top:1px solid #d4deeb;margin-top:32px;padding-top:18px}a:focus-visible,summary:focus-visible{outline:3px solid #b75b00;outline-offset:4px}@media(max-width:360px){main{padding:18px 16px 32px}.hero{gap:12px}.hero img{width:64px;height:64px}h1{font-size:23px}}
footer a{display:inline-flex;align-items:center;min-height:44px}

nav{margin-bottom:16px}.demo{border-top:1px solid #d4deeb;margin-top:24px;padding-top:4px}.demo-intro{margin-top:0}.demo-layout{display:grid;grid-template-columns:minmax(0,290px) minmax(0,1fr);gap:24px;align-items:start}.demo-player{min-width:0;text-align:center;background:#e8eef7;border-radius:16px;padding:14px}.demo video{display:block;width:auto;height:auto;max-width:100%;max-height:400px;aspect-ratio:540/1170;margin:0 auto;border-radius:9px;background:#e0e7ec}.video-toggle{display:block;width:100%;min-height:48px;margin-top:14px;border:0;border-radius:10px;padding:10px 12px;font:inherit;font-weight:700;color:#fff;background:#174c93;cursor:pointer;line-height:1.5}.video-toggle:disabled{opacity:.75;cursor:wait}.video-toggle:focus-visible,video:focus-visible{outline:3px solid #b75b00;outline-offset:4px}.video-file{display:inline-flex;align-items:center;min-height:44px;padding:8px 10px}.video-status{margin:8px 0 0;text-align:left;font-size:14px;overflow-wrap:anywhere}.video-status:empty{display:none}.demo-guide ol{padding-left:24px;margin:0}.demo-guide li{margin:0 0 18px;padding-left:4px}.demo-guide li::marker{font-weight:700;color:#174c93}.demo-guide p{margin:5px 0}.demo-disclosure{font-size:14px;border-top:1px solid #d4deeb;padding-top:12px!important}@media(max-width:600px){.demo-layout{grid-template-columns:minmax(0,1fr);gap:20px}.demo video{max-height:360px}.demo-player{padding:12px}.demo-guide li{margin-bottom:16px}}

.trial-note{font-size:14px;margin:8px 0 0}.trial{margin-top:4px}.video-toggle{background:#fff;color:#174c93;border:2px solid #174c93}.video-toggle:hover{background:#dfe9f8}

.friend-share{margin-top:24px;padding:20px;background:#fff;border:1px solid #d4deeb;border-radius:16px}.friend-share h2{margin:0 0 8px}.share-actions{display:flex;flex-wrap:wrap;gap:10px}.friend-share button{min-height:48px;padding:10px 16px;border:2px solid #174c93;border-radius:10px;background:#fff;color:#174c93;font:inherit;font-weight:700;cursor:pointer}.friend-share button:disabled{opacity:.7;cursor:wait}.friend-share button[hidden]{display:none}.friend-share button:focus-visible,.friend-share input:focus-visible{outline:3px solid #b75b00;outline-offset:3px}.share-status{font-size:14px;color:#475b72;overflow-wrap:anywhere}.share-status:empty{display:none}.share-link{margin-top:16px}.share-link label{display:block;font-size:14px;color:#475b72;margin-bottom:5px}.share-link input{display:block;width:100%;min-width:0;min-height:48px;padding:10px;border:1px solid #8496aa;border-radius:8px;font:inherit;font-size:14px;color:#172b41;background:#f5f7fb}.friend-select{margin-top:8px}@media(max-width:360px){.friend-share{padding:16px}.share-actions button{width:100%}}

.watch-page main{max-width:860px}.watch-page h1{font-size:25px}.watch-page .demo{border:0;margin-top:16px;padding-top:0}.watch-page .demo video{max-height:440px}.watch-page .demo-intro{font-size:17px}.watch-page .primary{margin-top:20px}.watch-page .support-link{display:flex}.watch-page .watch-link{display:none}@media(max-width:600px){.watch-page .demo video{max-height:340px}.watch-page h1{font-size:22px}.watch-page nav{margin-bottom:12px}.watch-page .demo-layout{gap:18px}}@media(max-width:360px){.watch-page .demo video{max-height:290px}.watch-page h1{font-size:20px}}

.current-step{margin-top:12px;text-align:left;border-top:1px solid #bdcadd;padding-top:10px;overflow-wrap:anywhere}.current-step[hidden]{display:none}.current-step-label{display:block;font-size:13px;color:#475b72}.current-step-title{display:block;font-size:16px}.current-step-body{font-size:14px;margin:4px 0 0}.solve-walkthrough{margin:24px 0 8px}.solve-walkthrough h2{margin-top:0}.solve-walkthrough>p{color:#475b72}.solve-walkthrough ol{padding-left:24px}.solve-walkthrough li{padding:12px 12px 12px 8px;margin-bottom:8px;border-left:3px solid transparent}.solve-walkthrough li[aria-current=step]{border-color:#174c93;background:#e8eef7}.solve-walkthrough strong{display:block}.solve-walkthrough p{margin:4px 0 0}.step-time{display:block;color:#475b72;font-size:14px;font-variant-numeric:tabular-nums}

.moment-link { display:inline-flex; align-items:center; min-height:44px; margin-top:4px; padding:4px 0; font-weight:700; }
.moment-label { display:block; margin:12px 0 6px; font-weight:700; }
.moment-start { box-sizing:border-box; width:100%; max-width:100%; min-height:48px; padding:8px; border:1px solid #59758b; border-radius:8px; background:#fff; color:#163047; font:inherit; }
.shared-start { padding:12px; border-left:4px solid #147d9b; background:#edf7fb; color:#163047; }

/* The completed solve gives viewers an explicit choice without covering gameplay. */
.solve-complete { margin: 16px 0; padding: 18px; border: 2px solid #bad88c; border-radius: 16px; background: #f5faec; color: #203417; }
.solve-complete[hidden] { display: none; }
.solve-complete h3 { margin: 0 0 8px; font-size: 1.15rem; }
.solve-complete p { margin: 0 0 14px; }
.complete-actions { display: flex; flex-direction: column; gap: 10px; }
.complete-trial, .complete-replay { display: flex; align-items: center; justify-content: center; min-height: 48px; box-sizing: border-box; padding: 12px 14px; border-radius: 12px; font: inherit; font-weight: 700; line-height: 1.35; text-align: center; overflow-wrap: anywhere; }
.complete-trial { background: #355a21; color: white; text-decoration: none; }
.complete-replay { border: 1px solid #61744e; background: white; color: #203417; cursor: pointer; }
.complete-trial:focus-visible, .complete-replay:focus-visible { outline: 3px solid #2463b4; outline-offset: 3px; }

.scene-controls { margin:16px 0; padding:16px; background:#edf7fb; border:1px solid #59758b; border-radius:12px; color:#163047; }
.scene-controls[hidden] { display:none; }
.scene-controls h3 { margin:0 0 10px; font-size:1.1rem; }
.scene-mode-label { display:flex; align-items:center; gap:10px; min-height:48px; cursor:pointer; font-weight:700; }
.scene-mode { width:24px; height:24px; flex-shrink:0; accent-color:#174c93; }
.scene-controls label[for=scene-select] { display:block; margin:12px 0 6px; }
.scene-select { width:100%; min-width:0; min-height:48px; box-sizing:border-box; font:inherit; background:white; color:#163047; border:1px solid #59758b; border-radius:8px; padding:8px; }
.scene-status { overflow-wrap:anywhere; font-weight:700; }
.scene-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.scene-actions button { min-width:0; min-height:48px; padding:10px 6px; font:inherit; font-weight:700; background:white; color:#174c93; border:1px solid #59758b; border-radius:8px; cursor:pointer; overflow-wrap:anywhere; }
.scene-actions .scene-repeat { grid-column:1 / -1; }
.scene-actions button:disabled { background:#e5e8eb; color:#475b72; cursor:default; }
.scene-actions button:focus-visible,.scene-select:focus-visible,.scene-mode:focus-visible { outline:3px solid #2463b4; outline-offset:3px; }

.analytics-preferences button{min-height:48px;padding:12px;margin:8px 8px 8px 0;max-width:100%;font:inherit;white-space:normal}.analytics-preferences button[hidden]{display:none}
