/* DailyBrainArc 0.764 · Morse Atelier. Scoped, progressive styling. Original scoring and audio engine unchanged. */
body.mc764-skin{--mc764-forest:#0b2c29;--mc764-dark:#082421;--mc764-green:#d5f082;--mc764-ivory:#f7f4e9;--mc764-muted:#60736b;color:#233b36;background:#f5f4ed}
.mc764-page{--line:#dfe6dc;--ink:#183e35;--muted:#62786d;max-width:1328px;padding-bottom:34px}
.mc764-page .gameheader.mc764-intro{margin:8px 0 12px;display:block;max-width:none}
.mc764-intro .eyebrow{font-size:10px;font-weight:900;letter-spacing:.20em;color:#3c7962;border:0;background:transparent;padding:0}
.mc764-intro h1{font-size:clamp(33px,3.2vw,56px);letter-spacing:-.055em;margin:4px 0 3px;line-height:1.05;font-weight:900;color:#103c31}
.mc764-intro p{margin:0;font-size:13px;color:#708177;max-width:none;line-height:1.5}
.mc764-core{margin-top:0}
.mc764-workspace{display:grid;grid-template-columns:minmax(0,1.52fr) minmax(265px,.72fr);gap:15px;align-items:start}
.mc764-page .mc764-game{border:1px solid #d9e3d8;background:#fffcf6;border-radius:24px;box-shadow:0 18px 48px rgba(10,44,37,.07);min-width:0;overflow:visible}
.mc764-panel-head{padding:14px 19px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.mc764-heading{display:flex;flex-direction:column;gap:1px}
.mc764-heading strong{font-size:13px;letter-spacing:-.02em;color:#234a3f}
.mc764-live{font-size:10px;letter-spacing:.16em;color:#59816b;font-weight:900}
.mc764-live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#95c567;margin-right:5px}
.mc764-stage{font-size:10px;letter-spacing:.14em;color:#90a197;font-weight:850;white-space:nowrap}
.mc764-page .mc764-toolbar{padding:7px 17px 9px;flex-wrap:nowrap;gap:9px;align-items:center;border-bottom:1px solid #e9eee6;position:relative}
.mc764-page .mc306-tabs{display:flex;gap:6px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;min-width:0;flex:1}
.mc764-page .mc306-tabs::-webkit-scrollbar{display:none}
.mc764-page .mc306-tabs button{border-radius:10px;background:#eef4ed;border:1px solid #e4ebe2;font-weight:800;font-size:11px;color:#46645b;padding:10px 11px;min-height:37px;white-space:nowrap}
.mc764-page .mc306-tabs button.active{background:#113e34;color:#ecf8df;border-color:#113e34;box-shadow:inset 0 -2px rgba(201,235,131,.3)}
.mc764-more,.mc764-levels{position:relative;flex-shrink:0}
.mc764-more>summary,.mc764-levels>summary{list-style:none;cursor:pointer;border-radius:10px;border:1px solid #dde6dc;background:#fff;min-height:37px;padding:9px 11px;color:#2c5546;font-weight:800;font-size:11px;white-space:nowrap;display:flex;align-items:center;gap:8px}
.mc764-more>summary::-webkit-details-marker,.mc764-levels>summary::-webkit-details-marker{display:none}
.mc764-more>summary>span{color:#94a89a}
.mc764-more-panel,.mc764-levels>.mc306-setupbar{position:absolute;top:calc(100% + 6px);right:0;width:min(300px,calc(100vw - 30px));background:#fffcf7;border:1px solid #dbe5d9;border-radius:14px;padding:10px;box-shadow:0 14px 35px rgba(7,38,30,.18);z-index:30}
.mc764-page .mc306-secondary{display:grid;gap:6px;margin:0;width:100%;overflow:visible;padding:0}
.mc764-page .mc306-secondary button{width:100%;text-align:left;background:#f1f5ed;border-radius:9px;padding:11px}
.mc764-page .mc306-setupbar{display:flex;flex-direction:column;align-items:stretch;border:1px solid #dbe5d9}
.mc764-page .mc306-setupbar .mc306-levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:6px;overflow:visible}
.mc764-page .mc306-setupbar button{border-radius:9px;font-size:11px}
.mc764-page .mc306-setupbar .mc306-speednote{font-size:11px;display:block;width:100%;margin:4px 0 0}
.mc764-level-value{font-size:10px;font-weight:650;color:#7f988a}
.mc764-page .mc306-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:10px 17px 0;overflow:visible}
.mc764-page .mc306-metric{border:1px solid #edf0e9;background:#f5f6ee;border-radius:9px;padding:7px 11px;min-width:0}
.mc764-page .mc306-metric small{font-size:9px;color:#72867a;letter-spacing:.10em}
.mc764-page .mc306-metric strong{font-size:14px;color:#224a39;font-weight:850}
.mc764-progress{height:3px;background:#e9eae0;margin:9px 18px 0;border-radius:999px;overflow:hidden}
.mc764-progress span{display:block;width:0%;height:100%;background:#83b46d;transition:width .23s}
.mc764-page .mc764-player{padding:12px 17px 10px;min-width:0}
.mc764-orbit{display:flex;gap:5px;justify-content:center;align-items:center;color:#aecb70;font-weight:900;font-size:17px;letter-spacing:.07em;height:20px}
.mc764-page .mc306-kicker{color:#678574;font-size:10px;letter-spacing:.15em;margin:2px 0 1px}
.mc764-page .mc306-prompt{font-size:clamp(36px,4vw,58px);min-height:0;font-weight:900;letter-spacing:-.045em;color:#143e34;line-height:1;margin:3px 0 1px}
.mc764-page .mc306-code{font-size:clamp(19px,2.15vw,26px);min-height:0;margin:0;color:#9fba77;line-height:1.15}
.mc764-page .mc306-help{font-size:11px;color:#6d8477;line-height:1.35;margin:5px auto 9px}
.mc764-page .mc306-playrow button{min-height:37px;border:0;border-radius:10px;font-size:12px;font-weight:850;padding:8px 18px;background:#123e32;color:#eff8e1}
.mc764-page .mc306-playrow button.secondary{background:#edf2e8;color:#345849}
.mc764-input-help{display:none}
.mc764-page .mc306-answer{margin:9px auto;max-width:590px;gap:7px}
.mc764-page .mc306-answer input{border:1px solid #cbdccf;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px #f1f6ed;min-height:40px;font-size:14px;padding:8px 10px}
.mc764-page .mc306-answer button,.mc764-page .mc306-bottom button{border-radius:10px;min-height:38px;padding:8px 13px;font-weight:800;font-size:11px}
.mc764-page .mc306-answer button{background:#d6ed98;color:#174236;border:0}
.mc764-page .mc306-status{margin:8px auto 0;padding:8px 12px;min-height:36px;font-size:11px;background:#f2f5ec;color:#35594c;border-radius:10px;line-height:1.45}
.mc764-page .mc306-bottom{gap:7px;padding:1px 14px 10px;align-items:center}
.mc764-page .mc306-bottom button{background:#eff3e8;color:#33594b;border:1px solid #e1eade}
.mc764-page .mc306-bottom button#m306Next:not([disabled]){background:#d6ed98;color:#113e34;border:0}
.mc764-page .mc306-bottom button[disabled]{opacity:.45}
.mc764-page .mc306-bottom .pill{padding:7px 11px;border-radius:10px;color:#496e59;background:#f5f6ef;font-size:11px}
.mc764-page .mc306-weakstrip{padding:8px 16px;font-size:10px;background:#f2f5ed;border-color:#e5eee6;border-radius:0 0 24px 24px}
.mc764-page .mc306-key{min-height:60px;border-radius:12px;background:#d9eea6;border:1px solid #aed28a;color:#124234}
.mc764-page .mc306-keywrap{margin:5px auto}
.mc764-page .mc306-keycode{min-height:23px;font-size:17px;margin:3px}
.mc764-page .mc306-symbols{margin:4px auto;gap:7px}
.mc764-page .mc306-symbols button{min-width:55px;min-height:35px;border-radius:9px;padding:6px}
.mc764-page .mc306-coach{padding:9px;margin-top:7px;font-size:11px;background:#f5f7ee}
.mc764-page .mc306-coach p{margin-bottom:5px}
.mc764-sidebar{border:1px solid #cddcd3;border-radius:23px;background:#103c32;box-shadow:0 18px 40px rgba(18,63,47,.09);overflow:hidden;color:#f5f4e7;min-width:0}
.mc764-side-top{padding:15px 18px 10px;display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:9px;font-weight:850;letter-spacing:.12em;color:#b5d3b9}
.mc764-note-card{margin:0 12px;background:#204b3d;border:1px solid #345948;border-radius:16px;padding:19px 18px 14px}
.mc764-wave{font-size:25px;color:#d5eb86;letter-spacing:.16em}
.mc764-note-card h2{font-size:clamp(27px,2.6vw,38px);line-height:1.07;color:#f7f6e9;margin:12px 0;font-weight:850;letter-spacing:-.045em}
.mc764-note-card>p{font-size:12px;color:#baccba;line-height:1.6;margin-bottom:17px}
.mc764-rule{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid #476754;color:#ecf4e5;font-size:12px}
.mc764-rule b{color:#c7e588;font-size:10px}
.mc764-side-caption{padding:17px 17px 0;color:#c0d6be;font-size:9px;font-weight:850;letter-spacing:.15em}
.mc764-page .mc306-settings{background:transparent;border:1px solid #4b6955;margin:8px 12px 10px;border-radius:12px;color:#e5f3e2}
.mc764-page .mc306-settings>summary{font-size:11px;font-weight:750;padding:12px;color:#e5f3e2}
.mc764-page .mc306-settings label{font-size:11px;color:#e5f3e2}
.mc764-page .mc306-settings select,.mc764-page .mc306-settings input{color:#153b30;background:#f8f5eb}
.mc764-page .mc306-settings-body{grid-template-columns:repeat(2,minmax(0,1fr))}
.mc764-side-foot{font-size:10px;line-height:1.5;padding:4px 18px 14px;color:#a9c4b4;margin:0}
.mc764-page .mc306-legacy{border:1px solid #dce4d7;border-radius:16px;margin:14px 0;background:#fffcf6}
.mc764-page .mc306-overlay{z-index:100}
.mc764-page :is(button,input,summary,a):focus-visible{outline:3px solid #8fc46a;outline-offset:2px}
@media(max-width:1100px){.mc764-workspace{grid-template-columns:minmax(0,1fr) 265px;gap:11px}.mc764-page .mc764-toolbar{padding:7px 10px}.mc764-page .mc306-tabs button{padding:9px 8px}}
@media(max-width:880px){.mc764-workspace{grid-template-columns:minmax(0,1fr)}.mc764-sidebar{margin-top:8px}.mc764-note-card{display:none}.mc764-side-top,.mc764-side-foot{display:none}.mc764-side-caption{padding:10px 14px 0}.mc764-page .mc306-settings{margin:7px 10px 10px}}
@media(max-width:720px){.mc764-page{padding:0 10px 30px}.mc764-page .topbar{position:static}.mc764-page .gameheader.mc764-intro{margin:4px 0 8px}.mc764-intro .eyebrow{font-size:8px}.mc764-intro h1{font-size:29px;margin:1px 0;line-height:1.05}.mc764-intro p{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.mc764-page .mc764-game{border-radius:15px}.mc764-panel-head{padding:8px 10px 4px}.mc764-heading strong{display:none}.mc764-live{font-size:9px}.mc764-stage{font-size:9px}.mc764-page .mc764-toolbar{padding:5px 8px 7px;gap:5px}.mc764-page .mc306-tabs button{font-size:10px;padding:7px 9px;min-height:32px}.mc764-more>summary,.mc764-levels>summary{font-size:10px;min-height:32px;padding:7px 7px}.mc764-level-value{display:none}.mc764-page .mc306-metrics{padding:7px 9px 0;gap:5px;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}.mc764-page .mc306-metric{padding:5px 6px;border-radius:7px}.mc764-page .mc306-metric small{font-size:8px;letter-spacing:0}.mc764-page .mc306-metric strong{font-size:12px}.mc764-progress{margin:6px 10px 0}.mc764-page .mc764-player{padding:6px 9px 5px}.mc764-orbit{height:13px;font-size:12px}.mc764-page .mc306-kicker{font-size:9px;margin:0}.mc764-page .mc306-prompt{font-size:38px;line-height:1;margin:2px 0}.mc764-page .mc306-code{font-size:19px}.mc764-page .mc306-help{font-size:10px;margin:3px auto 6px;line-height:1.25}.mc764-page .mc306-playrow{gap:6px}.mc764-page .mc306-playrow button{min-height:32px;font-size:11px;padding:6px 11px;border-radius:8px}.mc764-page .mc306-answer{margin:6px 0;gap:6px}.mc764-page .mc306-answer input{min-height:36px;font-size:14px;padding:6px 9px}.mc764-page .mc306-answer button{min-height:36px;padding:6px 10px}.mc764-page .mc306-status{min-height:30px;padding:6px 9px;margin:5px auto 0;font-size:10px}.mc764-page .mc306-bottom{gap:5px;padding:3px 8px 7px}.mc764-page .mc306-bottom button{min-height:32px;font-size:10px;padding:6px 9px}.mc764-page .mc306-bottom .pill{padding:6px 8px}.mc764-page .mc306-weakstrip{padding:7px 9px;font-size:9px;border-radius:0 0 15px 15px}.mc764-page .mc306-coach{font-size:10px;padding:6px}.mc764-page .mc306-key{min-height:54px}.mc764-page .mc306-keycode{font-size:16px;min-height:19px}.mc764-page .mc306-symbols button{min-height:31px}.mc764-page .mc306-result{max-height:85vh;overflow:auto}}
@media(max-width:370px){.mc764-page{padding-left:7px;padding-right:7px}.mc764-intro h1{font-size:27px}.mc764-levels>summary{font-size:9px;padding:6px}.mc764-more>summary{font-size:9px;padding:6px}.mc764-page .mc306-tabs button{padding:7px 8px}.mc764-page .mc306-bottom .pill{font-size:9px}}
@media(prefers-reduced-motion:reduce){.mc764-progress span{transition:none}}
