/* V71 – Noten-Millionär: freigegebene Spielmaske im Zwei-Ebenen-Schema. */
body.nm71-body .nm71-wrap{max-width:700px!important;padding:0 10px 24px!important;min-height:100vh}
body.nm71-body .nm71-nav{max-width:700px!important;padding:8px 12px 10px!important}
body.nm71-body .nm71-nav b{font-size:19px}
body.nm71-body .nm71-mask{display:block!important;position:relative!important;isolation:isolate!important;width:100%!important;max-width:600px!important;aspect-ratio:1086/1448!important;margin:0 auto!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
body.nm71-body .nm71-mask[hidden]{display:none!important}
.nm71-background{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}
.nm71-overlay{position:absolute;inset:0;z-index:2;pointer-events:none}
.nm71-overlay :is(button,select){pointer-events:auto}
.nm71-difficulty-wrap{position:absolute;left:36.45%;top:61.12%;width:43.55%;height:4.20%;display:block}
.nm71-difficulty-wrap select{display:block;width:100%;height:100%;min-width:0;appearance:none;-webkit-appearance:none;border-radius:999px;border:1.5px solid #ecc15b;background:linear-gradient(180deg,#fffefb,#fff5e7);color:#26134f;font:900 clamp(9px,1.9vw,15px)/1.2 system-ui,-apple-system,'Segoe UI',sans-serif;padding:0 24px 0 14px;box-shadow:0 3px 5px #74329b2e;cursor:pointer}
.nm71-difficulty-wrap::after{content:'⌄';position:absolute;right:5.8%;top:50%;transform:translateY(-55%);font-size:20px;color:#321567;pointer-events:none;font-weight:900}
.nm71-modes{border:0;padding:0;margin:0;min-inline-size:0;display:contents}
.nm71-modes .nm71-mode{position:absolute;display:block;margin:0;padding:0;background:transparent!important;border:0!important;border-radius:999px!important;box-shadow:none!important;cursor:pointer;touch-action:manipulation;transition:filter .15s ease}
.nm71-mode img,.nm71-start img{width:100%;height:100%;display:block;object-fit:fill;pointer-events:none}
.nm71-mode.is-selected{filter:none!important}
#nm71-mode-practice{left:13.44%;top:65.61%;width:36.37%;height:8.70%}
#nm71-mode-ranking{left:48.34%;top:65.54%;width:38.40%;height:8.77%}
.nm71-overlay .nm71-start{position:absolute;left:21.55%;top:74.17%;width:55.98%;height:11.67%;display:block;margin:0;padding:0;background:transparent!important;border:0!important;border-radius:999px!important;box-shadow:none!important;cursor:pointer;touch-action:manipulation}
.nm71-start:hover,.nm71-mode:hover{filter:none!important}
.nm71-overlay :is(button,select):focus-visible{outline:3px solid #7df0ff!important;outline-offset:2px!important}
.nm71-native,.nm71-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;white-space:nowrap!important;clip-path:inset(50%)!important}
.nm71-access{position:absolute;left:13%;top:90.75%;width:74%;text-align:center;font-size:10px;line-height:1.3;color:#f7f0d0;text-shadow:0 1px 2px rgba(44,17,82,.6);pointer-events:none}
.nm71-access strong{color:#fff7cf}
.nm71-play-area{display:none;max-width:600px;margin:14px auto 0}
body.nm71-body.nm71-playing .nm71-play-area{display:block}
body.nm71-body.nm71-playing .nm71-mask{display:none!important}
body.nm71-body .nm71-columns{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
body.nm71-body .nm-ladder{order:2}
body.nm71-body .nm-panel{order:1;padding:clamp(16px,4vw,26px)!important;min-height:330px!important}
body.nm71-body .nm-panel .nm-meta{margin-bottom:12px}
body.nm71-body .nm-foot{margin-top:14px}
@media(max-width:520px){body.nm71-body .nm71-wrap{padding:0 4px 14px!important}body.nm71-body .nm71-nav{padding-inline:6px!important}body.nm71-body .nm71-mask{max-width:100%!important}.nm71-difficulty-wrap select{font-size:clamp(8px,2.1vw,12px);padding-left:7px;padding-right:16px}.nm71-difficulty-wrap::after{font-size:14px;right:4.8%}#nm71-mode-practice,#nm71-mode-ranking{min-height:38px}.nm71-start{min-height:48px}.nm71-access{font-size:9px;top:91.4%;width:78%;left:11%}}
@media(prefers-reduced-motion:reduce){.nm71-modes .nm71-mode{transition:none!important}}

/* V71C: proper native-image sizing and no rectangular hover/shadow artifacts. */
.nm71-overlay .nm71-mode,.nm71-overlay .nm71-start{filter:none!important;transform:none!important}
.nm71-overlay .nm71-mode img,.nm71-overlay .nm71-start img{width:100%!important;height:100%!important;object-fit:fill!important;border:0!important;border-radius:0!important;box-shadow:none!important}

/* V75: Eindeutig sichtbarer aktiver Modus, ohne Grafiktausch oder rechteckige Rahmen. */
.nm71-mode{position:absolute!important;isolation:isolate}
.nm71-mode:not(.is-selected) img{opacity:.66!important;filter:saturate(.8)!important}
.nm71-mode.is-selected img{opacity:1!important;filter:drop-shadow(0 0 6px rgba(255,234,132,.78))!important}
.nm71-mode.is-selected::after{content:'✓';position:absolute;right:2%;top:4%;z-index:5;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;border:2px solid #fff6c2;background:#168759;color:#fff;font:900 15px/1 system-ui;box-shadow:0 0 0 2px #e2bb55,0 0 11px #f9f18b;pointer-events:none}
@media(max-width:520px){.nm71-mode.is-selected::after{width:18px;height:18px;font-size:12px;border-width:1px}}
