.mt-game{--ink:#162d3b;--accent:#c52c25;--orange:#ef8a36;font:16px/1.6 system-ui,-apple-system,sans-serif;color:var(--ink);background:#fff;border:1px solid #e0e7eb;border-radius:24px;overflow:hidden;text-align:left}.mt-game *{box-sizing:border-box}.mt-game [hidden]{display:none!important}.mt-game header{padding:30px 32px;background:#162d3b;color:white}.mt-game .eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;color:#f2b5b0}.mt-game h2{font-size:clamp(28px,5vw,40px);line-height:1.2;margin:8px 0}.mt-game header p{margin:0;color:#d0dce3}.mt-game .layout{padding:28px;display:grid;grid-template-columns:1.4fr 1fr;gap:26px}.mt-game h3{font-size:20px;margin:0 0 12px}.mt-game p{margin:0 0 16px}.mt-game .badge{display:inline-block;background:#fff0ee;color:#086b68;border-radius:20px;padding:4px 12px;font-size:12px;font-weight:700;margin-bottom:16px}.mt-game .scene{position:relative;height:240px;background:linear-gradient(#f3f6f7,#ffffff);border:1px solid #d7e3ea;border-radius:16px;overflow:hidden}.mt-game .belt{position:absolute;top:146px;left:6%;width:88%;height:38px;border:5px solid #162d3b;border-radius:22px;background:repeating-linear-gradient(90deg,#91a9b3 0 12px,#b9cad1 12px 26px);background-position:var(--belt-offset,0px) 0}.mt-game .leg{position:absolute;top:184px;width:12px;height:40px;background:#162d3b}.mt-game .leg.a{left:17%}.mt-game .leg.b{right:17%}.mt-game .box{position:absolute;left:var(--box-x,8%);top:98px;width:46px;height:48px;border:2px solid #b56c29;background:#eeb270;border-radius:4px;transform:translateX(-50%)}.mt-game .box:after{content:'';position:absolute;left:18px;top:0;width:8px;height:20px;background:#ffe0aa}.mt-game .sensor{position:absolute;left:65%;top:65px;transform:translateX(-50%);font-size:12px;text-align:center}.mt-game .sensor i{display:block;width:22px;height:22px;margin:5px auto;background:#829ba8;border:4px solid white;border-radius:50%;box-shadow:0 0 0 2px #829ba8}.mt-game .sensor.on i{background:#079b85;box-shadow:0 0 0 2px #079b85,0 0 20px #079b8580}.mt-game .beam{position:absolute;left:65%;top:114px;height:32px;border-left:2px dashed #079b85}.mt-game .target{position:absolute;left:65%;top:188px;transform:translateX(-50%);font-size:11px;white-space:nowrap;color:#5a6d7b}.mt-game .readouts{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.mt-game .readouts span{background:#eaf0f3;border-radius:8px;padding:6px 10px;font-size:12px}.mt-game button{font:inherit;cursor:pointer;border:1px solid #d6e0e5;border-radius:10px;padding:10px 16px;background:white;color:var(--ink);min-height:44px}.mt-game button:hover{border-color:var(--accent)}.mt-game button:focus-visible,.mt-game input:focus-visible{outline:3px solid #ef8a36;outline-offset:3px}.mt-game button:disabled{opacity:.5;cursor:default}.mt-game .primary{background:var(--accent);border-color:var(--accent);color:white;font-weight:700}.mt-game .controls{display:flex;gap:8px;flex-wrap:wrap}.mt-game fieldset{border:0;padding:0;margin:0 0 18px}.mt-game legend{font-weight:700;margin-bottom:12px}.mt-game label{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid #e0e7eb;border-radius:10px;margin:0 0 8px;cursor:pointer}.mt-game label:has(input:checked){border-color:var(--accent);background:#fff3f1}.mt-game input{accent-color:var(--accent);margin-top:6px;flex-shrink:0}.mt-game .feedback{padding:16px;background:#f3f6f7;border-radius:12px;margin-top:16px;min-height:88px}.mt-game .feedback.success{background:#e6f6ed;color:#16623e}.mt-game .feedback.fail{background:#fff3e8;color:#8b4b1b}.mt-game .hint{margin-top:12px;font-size:14px;color:#5a6d7b}.mt-game footer{border-top:1px solid #e1e9ed;padding:16px 28px;font-size:12px;color:#617380}.mt-game a{color:#c52c25}.mt-game .next{margin-top:12px}@media(max-width:760px){.mt-game .layout{grid-template-columns:1fr;padding:20px;gap:20px}.mt-game header{padding:24px 20px}.mt-game .scene{height:230px}}@media(prefers-reduced-motion:reduce){.mt-game *{scroll-behavior:auto}}
.mt-game .journey{padding:20px 28px 0}.mt-game .journey-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px}.mt-game progress{display:block;width:100%;height:10px;margin:12px 0;accent-color:var(--accent);border:0;border-radius:8px;overflow:hidden}.mt-game progress::-webkit-progress-bar{background:#edf3f5}.mt-game progress::-webkit-progress-value{background:var(--accent)}.mt-game .steps{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.mt-game .steps button{padding:6px 10px;min-width:44px;font-size:13px}.mt-game .steps button[aria-current]{background:var(--ink);color:#fff}.mt-game .scene-note{position:absolute;top:14px;left:12px;right:12px;font-size:12px;text-align:center;color:#5a6d7b}.mt-game .exit-sensor{position:absolute;left:88%;top:65px;transform:translateX(-50%);font-size:11px;text-align:center}.mt-game .exit-sensor i{display:block;width:18px;height:18px;margin:6px auto;border-radius:50%;background:#829ba8}.mt-game .exit-sensor.on i{background:#079b85;box-shadow:0 0 12px #079b8580}.mt-game .option-letter{display:inline-block;color:#c52c25;margin-right:4px}.mt-game [data-confirm]{border-color:#c87933;background:#fff3e8}@media(max-width:760px){.mt-game .journey{padding:20px 20px 0}.mt-game .journey-top{font-size:12px}}
.mt-game .valve-scene{height:300px;position:relative;border:1px solid #d7e3ea;border-radius:16px;background:linear-gradient(#f3f6f7,#ffffff);overflow:hidden}.mt-game .valve-note{position:absolute;top:14px;left:12px;right:12px;text-align:center;font-size:12px;color:#5a6d7b}.mt-game .tank{position:absolute;left:36%;top:65px;width:36%;height:175px;border:4px solid #162d3b;border-top:0;border-radius:0 0 12px 12px;overflow:hidden;background:#fff}.mt-game .water{position:absolute;bottom:0;left:0;right:0;background:#57b9d2;height:20%}.mt-game .level-mark{position:absolute;left:0;right:0;border-top:1px dashed #162d3b;font-size:11px;padding-left:5px;color:#162d3b}.mt-game .level-mark.upper{bottom:80%}.mt-game .level-mark.lower{bottom:20%}.mt-game .flow-pipe{position:absolute;height:8px;background:#91a9b3}.mt-game .flow-pipe.inlet{left:7%;top:93px;width:29%}.mt-game .flow-pipe.outlet{left:72%;top:218px;width:21%}.mt-game .valve{position:absolute;padding:7px 10px;border:2px solid #728d9b;background:#eff3f5;border-radius:8px;font-size:10px;font-weight:700;color:#5a6d7b}.mt-game .inlet-valve{left:8%;top:77px}.mt-game .outlet-valve{right:5%;top:201px}.mt-game .valve.open{background:#d0f4e7;border-color:#079b85;color:#086b68}.mt-game .valve.open:after{content:' ●';color:#079b85}.mt-game .cylinder{position:absolute;left:8%;right:8%;top:100px;height:120px}.mt-game .cylinder-body{position:absolute;left:0;top:22px;width:42%;height:60px;border:4px solid #162d3b;background:#d6e1e6;border-radius:8px;z-index:2}.mt-game .rod{position:absolute;left:20%;top:42px;height:20px;background:#7c98a6;border:2px solid #162d3b}.mt-game .end{position:absolute;top:100px;font-size:11px;color:#5a6d7b}.mt-game .end.back{left:0}.mt-game .end.front{right:0}.mt-game .pneumatic .tank,.mt-game .pneumatic .flow-pipe,.mt-game .pneumatic .valve{display:none}
.mt-game .scoreboard{padding:28px;border-top:1px solid #e0e7eb;background:#f3f6f7}.mt-game .board-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.mt-game .board-heading .badge{margin-bottom:6px}.mt-game .scoreboard h4{margin:0 0 12px;font-size:18px}.mt-game .board-mode{font-size:13px;color:#5a6d7b}.mt-game .run-summary{background:#f3f6f7;padding:14px 16px;border-radius:12px;margin:16px 0;font-weight:600}.mt-game .scoreboard form{max-width:550px;background:white;border:1px solid #e0e7eb;padding:20px;border-radius:14px;margin:18px 0}.mt-game .scoreboard form label{border:0;padding:0;display:block;font-weight:600}.mt-game .scoreboard input[type=text]{display:block;width:100%;font:inherit;border:1px solid #bbcfd8;border-radius:8px;padding:10px 12px;margin-top:8px;min-height:44px}.mt-game .scoreboard form .consent{display:flex;gap:10px;font-size:13px;font-weight:400;margin:16px 0}.mt-game .table-scroll{overflow-x:auto}.mt-game .scoreboard table{border-collapse:collapse;width:100%;background:#fff;font-size:14px;border:1px solid #e0e7eb}.mt-game .scoreboard caption{text-align:left;padding:10px 0;font-weight:700}.mt-game .scoreboard th,.mt-game .scoreboard td{padding:12px;text-align:left;border-bottom:1px solid #e3eaee;white-space:nowrap}.mt-game .scoreboard td:nth-child(2){white-space:normal;overflow-wrap:anywhere;min-width:90px}.mt-game .scoreboard th{background:#162d3b;color:white}.mt-game .scoreboard tbody tr:first-child{background:#eef8f2}.mt-game .board-status{font-size:14px;color:#5a6d7b;margin:12px 0}.mt-game .scoreboard .hint{margin-bottom:0}@media(max-width:760px){.mt-game .scoreboard{padding:20px}.mt-game .scoreboard th,.mt-game .scoreboard td{padding:9px 6px;font-size:12px}}

/* MarmoTeknik canlı site paleti: CTA #c52c25, başlık #162d3b, zemin #f3f6f7. */


.mt-game .badge{color:#a91f19}.mt-game button:focus-visible,.mt-game input:focus-visible{outline-color:#162d3b}.mt-game .primary:hover:not(:disabled){background:#a91f19;border-color:#a91f19}.mt-game .option-letter,.mt-game a{color:#a91f19}.mt-game .valve.open{color:#086b68}
.mt-game header h2{color:#fff}.mt-game h3,.mt-game h4{color:var(--ink)}
.mt-game .mt-language-bar{display:flex;justify-content:flex-end;margin-bottom:16px}.mt-game .mt-language-bar label{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:#162d3b}.mt-game .mt-language-bar select{width:auto;min-width:150px;padding:9px 34px 9px 12px;background:#fff;color:#162d3b;border:1px solid #b9c8d0;border-radius:8px;font:inherit;cursor:pointer}.mt-game .mt-language-bar select:focus-visible{outline:3px solid #c52c25;outline-offset:3px}.mt-game:lang(ja){font-family:system-ui,-apple-system,"Noto Sans JP","Yu Gothic",Meiryo,sans-serif}.mt-game:lang(de) button,.mt-game:lang(ja) button{white-space:normal}.mt-game:lang(ja) .option-letter{word-break:normal}@media(max-width:480px){.mt-game .mt-language-bar{justify-content:stretch}.mt-game .mt-language-bar label{width:100%;justify-content:space-between}.mt-game .mt-language-bar select{max-width:70%}}
.mt-game[hidden],.mt-game-welcome[hidden],.mt-game-welcome button[hidden]{display:none!important}.mt-game-welcome{max-width:1100px;margin:24px auto;padding:clamp(28px,5vw,64px);border-radius:20px;text-align:center;background:radial-gradient(ellipse at top right,#304d60,transparent 65%),#101f2b;color:#fff;box-shadow:0 16px 40px #162d3b25}.mt-game-welcome .mt-welcome-logo{display:block;width:min(320px,90%);height:auto;max-height:110px;object-fit:contain;background:#fff;border-radius:12px;padding:18px;margin:0 auto 30px;box-sizing:content-box}.mt-game-welcome h2{color:#fff!important;font-size:clamp(32px,5vw,52px);line-height:1.15;margin:0 0 12px}.mt-game-welcome p{color:#d4e0e8;line-height:1.65}.mt-game-welcome .mt-welcome-subtitle{font-size:20px;margin:0 0 20px}.mt-game-welcome .mt-welcome-facts{color:#ffb0aa;font-weight:600;margin:0 0 30px}.mt-welcome-languages{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:640px;margin:20px auto 24px}.mt-game-welcome button{font:inherit;cursor:pointer;min-height:52px;border:1px solid #7f99aa;border-radius:10px;background:#ffffff0d;color:#fff;padding:12px 18px;transition:background .2s}.mt-game-welcome button:hover{background:#ffffff20}.mt-game-welcome button[aria-pressed=true]{background:#fff;color:#162d3b;border-color:#fff;box-shadow:0 0 0 3px #c52c25}.mt-game-welcome .mt-welcome-start{display:block;background:#c52c25;border-color:#c52c25;font-size:19px;font-weight:700;min-width:220px;margin:0 auto 18px}.mt-game-welcome .mt-welcome-start:hover{background:#a91f19}.mt-game-welcome button:focus-visible{outline:3px solid #ffb0aa;outline-offset:5px}.mt-game-welcome .mt-welcome-note{font-size:13px;color:#b7cad6;margin-bottom:0}.mt-game-language-links{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;font-size:13px;margin:14px 0 24px}@media(max-width:600px){.mt-welcome-languages{grid-template-columns:repeat(2,1fr)}.mt-game-welcome .mt-welcome-logo{width:80%;padding:12px}.mt-game-welcome .mt-welcome-start{width:100%;min-width:0}}
