/* Machine design: page sections. Loaded only on pages with the new templates. */
.mx *, .mx *::before, .mx *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.6rem; -webkit-text-size-adjust: 100%; }
body.mx { margin: 0; background: var(--enamel); color: var(--ink); font: 400 1.08rem/1.58 var(--f); overflow-x: clip; }
.mx h1, .mx h2, .mx h3 { letter-spacing: -.03em; margin: 0; font-weight: 800; text-wrap: balance; }
.mx main p { margin: 0 0 1em; max-width: 66ch; }
.mx main a { color: var(--start-d); text-underline-offset: .2em; }
.mx main ul, .mx main ol { list-style: none; margin: 0; padding: 0; }
.mx main dl, .mx main dd { margin: 0; }
.mx svg { display: block; }
.mx main :focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.mx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.mx .mx-h { font-size: clamp(2.1rem, 5vw, 3.9rem); line-height: 1.02; letter-spacing: -.04em; }
.mx-h3 { font-size: 1.35rem; line-height: 1.15; margin: 1.6rem 0 .6rem !important; }
.mx main .mx-sub { color: var(--ink2); font-size: 1.15rem; max-width: 56ch; margin: 1rem 0 0; }
.mx main .mx-row { margin: 1.5rem 0 0; max-width: none; }
.mx main .mx-btn { color: #fff; }
.mx-s { padding-block: clamp(3.6rem, 8.5vw, 7rem); }
.mx-tight { padding-top: 0; }
.mx-prog + .mx-tight, .mx-fridge + .mx-tight, .mx-city + .mx-tight { padding-top: clamp(3.6rem, 8.5vw, 7rem); }
.mx-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.mx-two .mx-h { margin-bottom: 1.2rem; }
.mx-top { padding-top: clamp(1.6rem, 4vw, 3rem); }
.mx .mx-top + .mx-s { padding-top: 1.6rem; }
.mx-top + .mx-care { margin-top: 2.4rem; }
.mx .crumbs { font-size: .95rem; margin-bottom: 1rem; }
.mx .crumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; }
.mx .crumbs li[aria-current] { padding: .15rem 0; }
.mx .crumbs li + li::before { content: "/"; margin-inline-end: .4rem; color: var(--steel); }
.mx main .crumbs a { color: var(--ink2); display: inline-block; padding: .15rem 0; }

/* machine front */
.mx-machine { position: relative; background: linear-gradient(100deg, #fff 0, #f7f9fa 45%, #e9edf0 100%); overflow: hidden; border-bottom: 14px solid #23292d; }
.mx-machine::before, .mx-machine::after { content: ""; position: absolute; inset-block: 0; width: 1px; background: #d9e0e4; box-shadow: 1px 0 0 #fff; }
.mx-machine::before { left: max(1rem, calc(50% - 690px)); }
.mx-machine::after { right: max(1rem, calc(50% - 690px)); }
.mx-front { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(1.4rem, 3vw, 2.4rem) clamp(1.8rem, 3.4vw, 2.6rem); min-height: min(820px, calc(100svh - 88px)); }
.mx h1 { font-size: clamp(2.4rem, 4.5vw, 4.2rem); line-height: .99; letter-spacing: -.04em; }
.mx h1 small { display: block; font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 700; letter-spacing: -.01em; color: var(--start-d); margin-bottom: .7rem; line-height: 1.2; }
.mx main .mx-lead { margin: .9rem 0 0; font-size: 1.1rem; color: var(--ink2); max-width: 52ch; }
.mx-deck { margin-top: 1.4rem; background: #fff; border-radius: 28px; padding: 1.2rem; display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 1.3rem; align-items: center; box-shadow: 0 0 0 1px #dbe2e6, inset 0 2px 0 #fff, 0 22px 40px -18px rgb(30 45 55 / .35); }
.mx-dial { position: relative; width: 264px; height: 264px; margin: auto; }
.mx-ring { position: absolute; inset: 0; }
.mx-knob { position: absolute; inset: 62px; border-radius: 50%; background: conic-gradient(from 20deg, #f9fbfc, #cbd3d8, #f4f7f8, #b9c3c9, #f9fbfc, #cdd5da, #f9fbfc); box-shadow: 0 10px 18px rgb(30 45 55 / .35), 0 0 0 6px #eef2f4, 0 0 0 7px #d2dade; cursor: grab; touch-action: none; transition: rotate .45s cubic-bezier(.3, 1.5, .5, 1); }
.mx-knob:active { cursor: grabbing; }
.mx-knob::after { content: ""; position: absolute; left: 50%; top: 9px; width: 8px; height: 34px; margin-left: -4px; border-radius: 4px; background: var(--start); }
.mx main .mx-pos { position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px; border-radius: 50%; display: grid; place-items: center; color: #5c676e; cursor: pointer; }
.mx-pos svg { width: 29px; height: 29px; }
.mx main .mx-pos:hover { color: var(--ink); background: #eef2f4; }
.mx main .mx-pos[aria-checked=true] { color: #fff; background: var(--ink); }
.mx-led { background: radial-gradient(120% 140% at 50% 0, #2a1410, #120806); border-radius: 16px; padding: 1rem 1.1rem; color: var(--led); box-shadow: inset 0 3px 10px #000, 0 1px 0 #fff; min-height: 122px; display: grid; align-content: center; gap: .35rem; }
.mx-led b { font: 900 clamp(1.35rem, 2.1vw, 1.75rem)/1.05 var(--dot); text-transform: uppercase; }
.mx-led span { font: 800 1.12rem/1.2 var(--dot); color: #ffb39e; display: flex; justify-content: space-between; gap: .6rem; }
.mx-led i { font-style: normal; }
.mx-keys { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: .5rem; margin-top: .7rem; }
.mx .mx-key { -webkit-appearance: none; appearance: none; min-height: 48px; border: 1px solid #d0d8dc; border-radius: 12px; background: linear-gradient(#fff, #eef2f4); box-shadow: 0 2px 0 #cbd4d9; font: 700 1rem/1 var(--f); color: var(--ink); cursor: pointer; padding: 0 .8rem; text-align: center; width: 100%; }
.mx .mx-key:active { translate: 0 2px; box-shadow: none; }
.mx select.mx-key { text-align: start; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315191c' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .7rem center / 16px no-repeat, linear-gradient(#fff, #eef2f4); padding-inline-end: 2rem; text-overflow: ellipsis; }
.mx-go { display: flex; align-items: center; gap: 1rem; margin-top: .9rem; }
.mx main a.mx-start { flex: none; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #f0552a, var(--start) 55%, var(--start-d)); color: #fff; font: 800 1.2rem/1.05 var(--f); text-decoration: none; display: grid; place-items: center; text-align: center; box-shadow: 0 8px 16px rgb(185 44 6 / .4), 0 0 0 6px #fff, 0 0 0 7px #d2dade; }
.mx-start:hover { filter: brightness(1.07); }
.mx-start:active { translate: 0 2px; }
.mx main .mx-go p { margin: 0; line-height: 1.35; color: var(--ink2); font-size: 1rem; }
.mx main .mx-go p a { font-weight: 700; color: var(--ink); white-space: nowrap; display: inline-block; padding: .3rem 0; }

/* porthole */
.mx-portwrap { position: relative; display: grid; place-items: center; }
.mx-port { position: relative; width: min(100%, 600px); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 210deg, #f5f8f9, #9aa6ad, #e9eef0, #7f8c94, #fbfcfd, #a9b4ba, #f5f8f9); padding: 6.4%; box-shadow: 0 40px 60px -26px rgb(20 35 45 / .55), 0 0 0 1px #8f9ba2; }
.mx-port::before { content: ""; position: absolute; inset: 4.2%; border-radius: 50%; background: #12181c; box-shadow: inset 0 0 0 10px #262f35; }
.mx-glass { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #8f9ca5; isolation: isolate; }
.mx-glass > svg { width: 100%; height: 100%; }
.mx-glass::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(60% 34% at 30% 14%, rgb(255 255 255 / .55), transparent 70%), radial-gradient(90% 90% at 50% 50%, transparent 62%, rgb(0 0 0 / .55) 100%); pointer-events: none; }
.mx-handle { position: absolute; right: -2.2%; top: 38%; width: 8.5%; height: 24%; border-radius: 18px; background: linear-gradient(90deg, #8d99a0, #f3f6f7 45%, #98a4ab); box-shadow: 0 10px 18px rgb(0 0 0 / .3); }
.mx-hinge { position: absolute; left: -1%; top: 41%; width: 5%; height: 18%; border-radius: 8px; background: linear-gradient(90deg, #cfd7db, #8d99a0); }
.mx-drips { position: absolute; left: 20%; bottom: -4%; width: 60%; height: 90px; opacity: 0; pointer-events: none; }
.mx-d1 { animation: mx-drop 1.1s infinite; }
.mx-d2 { animation: mx-drop .9s .3s infinite; }
.mx-d3 { animation: mx-drop 1.3s .6s infinite; }
.fx-leak .mx-drips { opacity: 1; }
.fx-shake .mx-port { animation: mx-shake .14s linear infinite; }
.fx-dark .mx-glass > svg { filter: brightness(.22) saturate(.4); transition: filter .3s; }
.fx-dark .mx-glass *, .mx-off * { animation-play-state: paused !important; }
.fx-hot .mx-glass::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 50% 85%, rgb(255 80 20 / .55), transparent 65%); mix-blend-mode: screen; animation: mx-pulse 1.6s infinite; }
.fx-cold .mx-glass::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle, transparent 45%, rgb(225 244 255 / .95) 92%); }
.fx-code .mx-glass::before { content: "E18"; position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; font: 900 clamp(3.6rem, 8vw, 6.6rem) var(--dot); color: var(--led); background: rgb(12 6 4 / .72); animation: mx-blink 1s steps(2) infinite; }
.mx-bplate { position: absolute; left: 50%; bottom: 5%; translate: -50% 0; width: min(78%, 420px); display: grid; grid-template-columns: 1.2fr 1fr 1fr; background: linear-gradient(165deg, #f4f6f7, #fff 40%, #cfd7db); border: 2px solid #7d8990; border-radius: 10px; box-shadow: 0 16px 26px -10px rgb(20 30 40 / .6); z-index: 2; }
.mx-bplate div { padding: .6rem .9rem; border-inline-start: 1px solid #9aa6ad; min-width: 0; }
.mx-bplate div:first-child { border: 0; }
.mx-bplate dt { font-size: .86rem; color: var(--ink2); line-height: 1.2; }
.mx-bplate dd { font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
@keyframes mx-shake { 0% { translate: 0 0; } 25% { translate: 5px -3px; } 50% { translate: -5px 2px; } 75% { translate: 3px 4px; } }
@keyframes mx-blink { 50% { color: #4a1b10; } }
@keyframes mx-pulse { 50% { opacity: .45; } }
@keyframes mx-spin { to { transform: rotate(360deg); } }
@keyframes mx-tumble { 0% { transform: rotate(0); } 40% { transform: rotate(130deg); } 55% { transform: rotate(150deg); } 100% { transform: rotate(360deg); } }
@keyframes mx-wave { to { transform: translateX(-200px); } }
@keyframes mx-rise { from { transform: translateY(0); opacity: .9; } to { transform: translateY(-220px); opacity: 0; } }
@keyframes mx-fall { from { transform: translateY(-30px); } to { transform: translateY(430px); } }
@keyframes mx-jet { to { stroke-dashoffset: -60; } }
@keyframes mx-glow { 50% { opacity: .55; } }
@keyframes mx-flick { 50% { transform: scale(1.09); } }
@keyframes mx-arm { 50% { transform: scaleX(.12); } }
@keyframes mx-bake { 0%, 100% { transform: scale(1, .92); } 50% { transform: scale(1.03, 1.06); } }
@keyframes mx-roll { from { transform: translateY(-60px); } to { transform: translateY(420px); } }
@keyframes mx-door { 0%, 20% { transform: scaleX(1); } 50%, 80% { transform: scaleX(.18); } 100% { transform: scaleX(1); } }
@keyframes mx-drop { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(80px); opacity: 0; } }
.mx-o { transform-box: fill-box; transform-origin: center; }
.mx-c { transform-origin: 200px 200px; }

/* care label */
.mx-care { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: -6px; }
.mx-tag { background: linear-gradient(90deg, #fbfaf6, #fff 20% 80%, #f1efe8); box-shadow: 0 18px 30px -12px rgb(20 30 40 / .35); padding: 2.1rem clamp(1.2rem, 4vw, 3rem) 1.8rem !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.6rem; max-width: 1080px; width: calc(100% - 2rem); position: relative; }
.mx-tag::before { content: ""; position: absolute; inset: 9px 0 auto; border-top: 2px dashed #b9b4a4; }
.mx-tag li { display: grid; justify-items: center; text-align: center; gap: .7rem; font-weight: 650; line-height: 1.25; }
.mx-tag svg { width: 64px; height: 64px; }

/* line-up */
.mx-lineup { margin-top: clamp(2rem, 5vw, 3.6rem); display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(.6rem, 1.6vw, 1.5rem); border-bottom: 10px solid #d6dde1; }
.mx-lineup a { display: block; flex: 0 1 auto; position: relative; }
.mx-lineup svg { height: auto; width: 100%; overflow: visible; transition: translate .25s; }
.mx-lineup a::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -22px; height: 12px; background: radial-gradient(closest-side, rgb(20 30 40 / .28), transparent); }
.mx-lineup a:hover svg, .mx-lineup a.mx-hot svg { translate: 0 -10px; }
.mx-names { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem 2rem; margin-top: 3rem !important; }
.mx main .mx-names a, .mx-names .nolink { display: block; text-decoration: none; border-top: 4px solid var(--ink); padding-top: .8rem; color: var(--ink); height: 100%; }
.mx main .mx-names a:hover { border-color: var(--start); }
.mx-names b { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; display: block; }
.mx-names span { color: var(--ink2); font-size: 1rem; line-height: 1.4; display: block; margin-top: .2rem; }

/* programme */
.mx-prog { background: #15191c; color: #fff; }
.mx-track { margin-top: clamp(2rem, 5vw, 3.6rem); position: relative; }
.mx-track::before, .mx-bar { content: ""; position: absolute; left: 0; top: 37px; height: 6px; border-radius: 3px; background: #333b40; width: 100%; }
.mx-bar { background: var(--start); width: 0; }
.mx-track ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.mx-track li { position: relative; padding-top: 104px; }
.mx-track li > i { position: absolute; top: 0; left: 0; width: 80px; height: 80px; border-radius: 50%; background: #23292d; border: 6px solid #15191c; box-shadow: 0 0 0 2px #444e54; display: grid; place-items: center; font: 900 2.1rem/1 var(--dot); color: #8b969c; transition: .3s; }
.mx-track li.mx-lit > i { color: #fff; background: var(--start); box-shadow: 0 0 0 2px var(--start), 0 0 34px rgb(226 58 12 / .6); }
.mx-track h3 { font-size: 1.5rem; line-height: 1.15; }
.mx main .mx-track p { color: #b6c0c6; margin: .5rem 0 0; }

/* error code */
.mx-code { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.mx-pad { background: linear-gradient(160deg, #2b3338, #14191c); border-radius: 34px; padding: clamp(1.1rem, 3vw, 2.2rem); box-shadow: 0 40px 60px -30px rgb(15 25 30 / .7), inset 0 1px 0 #56616a; min-height: 380px; }
.mx-seg { background: #0d0706; border-radius: 18px; padding: 1.3rem; display: flex; justify-content: center; gap: 1rem; box-shadow: inset 0 4px 14px #000; min-height: 150px; }
.mx-seg svg { height: clamp(96px, 14vw, 150px); width: auto; }
.mx-seg polygon { fill: #2a0f0a; }
.mx-seg polygon.on { fill: #ff5a34; filter: drop-shadow(0 0 5px rgb(255 80 40 / .8)); }
.mx-kp { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin-top: 1.1rem; }
.mx .mx-kp button { -webkit-appearance: none; appearance: none; min-height: 52px; border-radius: 12px; border: 0; background: #3a444a; color: #fff; font: 700 1.1rem/1 var(--f); cursor: pointer; box-shadow: 0 3px 0 #1c2226; padding: 0; }
.mx .mx-kp button:hover { background: #4a565d; }
.mx .mx-kp button:active { translate: 0 3px; box-shadow: none; }
.mx-pills, .mx .tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem !important; }
.mx main .mx-pills a, .mx main .tags a { display: inline-block; border: 1.5px solid #aab5bb; border-radius: 99px; padding: .6rem 1.1rem; text-decoration: none; font-weight: 650; color: var(--ink); background: #fff; line-height: 1.3; }
.mx main .mx-pills a:hover, .mx main .tags a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.mx-h3 + .mx-pills { margin-top: 0 !important; }

/* fridge door */
.mx-fridge { position: relative; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .06) 0 1px, transparent 1px 3px), linear-gradient(95deg, #dfe5e8, #f4f6f7 30%, #c9d1d6 78%, #b6c0c6); overflow: hidden; }
.mx-hbar { position: absolute; left: max(1.2rem, calc(50% - 640px)); top: 12%; bottom: 12%; width: 26px; border-radius: 14px; background: linear-gradient(90deg, #8a959c, #fff 40%, #9aa5ac); box-shadow: 12px 8px 18px rgb(20 30 40 / .3); }
.mx-fridge .mx-wrap { padding-inline-start: calc(var(--pad) + 60px); }
.mx-mags { margin-top: 2.8rem !important; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.4rem; align-items: start; }
.mx main .mx-mag { text-decoration: none; display: grid; justify-items: center; gap: .8rem; text-align: center; font-weight: 750; font-size: 1.15rem; line-height: 1.2; color: var(--ink); transition: rotate .25s, translate .25s; }
.mx-mag svg { width: 100%; max-width: 150px; height: auto; filter: drop-shadow(3px 7px 5px rgb(20 30 40 / .35)); }
.mx-mags li:nth-child(odd) .mx-mag { rotate: -4deg; }
.mx-mags li:nth-child(even) .mx-mag { rotate: 3deg; translate: 0 26px; }
.mx-mags li .mx-mag:hover { rotate: 0deg; translate: 0 -6px; }
.mx main .mx-note { background: #ffe45e; padding: 1.4rem 1.2rem 1.6rem; rotate: 2.5deg; box-shadow: 4px 12px 18px rgb(20 30 40 / .28); font-weight: 650; line-height: 1.35; position: relative; text-decoration: none; display: block; color: var(--ink); }
.mx-note::before { content: ""; position: absolute; left: 50%; top: -14px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9a7c, var(--start) 60%, var(--start-d)); box-shadow: 2px 4px 5px rgb(20 30 40 / .4); }
.mx-note u { display: block; margin-top: .7rem; text-underline-offset: .2em; }
.mx-city { padding-block: clamp(2.2rem, 5vw, 3.8rem); border-bottom: 1px solid var(--line); background: #fff; }
.mx-city:nth-of-type(odd) { background: var(--enamel); }
.mx-city > .mx-wrap { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: start; }
.mx-city > .mx-wrap > svg { width: 100%; height: auto; filter: drop-shadow(3px 7px 5px rgb(20 30 40 / .3)); }
.mx-city .mx-h { font-size: clamp(1.8rem, 3.6vw, 2.8rem) !important; }
.mx-more { margin-top: 1.4rem; }
.mx-more summary { cursor: pointer; font-weight: 750; padding: .7rem 0; min-height: 46px; color: var(--start-d); }

/* rating plate */
.mx-plate { margin-top: 2.6rem; background: linear-gradient(165deg, #e4e9ec, #fafbfc 40%, #cfd7db); border-radius: 10px; border: 2px solid #7d8990; padding: clamp(1rem, 3vw, 2.2rem); position: relative; box-shadow: 0 20px 34px -20px rgb(20 30 40 / .5); }
.mx-plate::before, .mx-plate::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #8c989f 70%); box-shadow: inset 0 0 0 1px #69757c; }
.mx-plate::before { left: 12px; }
.mx-plate::after { right: 12px; }
.mx-plate ul { columns: 5; column-gap: 0; margin-inline: 22px !important; column-rule: 1px solid #9aa6ad; }
.mx-plate li { break-inside: avoid; border-bottom: 1px solid #9aa6ad; }
.mx main .mx-plate a { display: flex; align-items: center; padding: .55rem .9rem; text-decoration: none; font-weight: 700; min-height: 46px; color: var(--ink); }
.mx main .mx-plate a:hover { background: var(--ink); color: #fff; }
.mx-where { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.4rem !important; }
.mx-where div { padding-inline-start: 1rem; border-inline-start: 4px solid var(--cobalt); }
.mx-where dt { font-weight: 750; }

/* manual */
.mx-manual { background: #fff; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); box-shadow: 0 30px 60px -34px rgb(20 30 40 / .5); position: relative; }
.mx-manual::before { content: ""; position: absolute; left: 40%; top: 0; bottom: 0; width: 60px; margin-left: -30px; background: linear-gradient(90deg, transparent, rgb(20 30 40 / .13) 48%, rgb(20 30 40 / .13) 52%, transparent); pointer-events: none; }
.mx-manual > div { padding: clamp(1.5rem, 4vw, 3.4rem); min-width: 0; }
.mx-manual .mx-h { font-size: clamp(1.9rem, 4vw, 3.1rem) !important; overflow-wrap: break-word; }
.mx-manual details { border-bottom: 2px solid var(--ink); }
.mx-manual summary { cursor: pointer; list-style: none; font-weight: 750; font-size: 1.22rem; line-height: 1.25; letter-spacing: -.015em; padding: 1.1rem 2.4rem 1.1rem 0; position: relative; }
.mx-manual summary::-webkit-details-marker { display: none; }
.mx-manual summary::after { content: ""; position: absolute; right: .3rem; top: 1.4rem; width: 13px; height: 13px; border: solid var(--start); border-width: 0 3px 3px 0; rotate: 45deg; }
.mx-manual details[open] summary::after { rotate: 225deg; top: 1.7rem; }
.mx main .mx-manual details p { padding-bottom: 1.2rem; margin: 0; color: var(--ink2); }
.mx .places li { border-bottom: 1px solid var(--line); }
.mx main .places a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 0; font-weight: 650; text-decoration: none; color: var(--ink); min-height: 48px; line-height: 1.3; }
.mx main .places a:hover { color: var(--start-d); text-decoration: underline; }
.mx .places span { color: var(--ink2); font-weight: 500; text-align: end; }
.mx-two > .places { border-top: 1px solid var(--line); }

/* faults */
.mx-scroll { position: relative; overflow-x: auto; margin-top: 2.2rem; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px #dbe2e6, 0 22px 40px -24px rgb(30 45 55 / .4); }
.mx-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.mx-table th, .mx-table td { text-align: start; vertical-align: middle; padding: 1rem 1.2rem; border-top: 1px solid #e2e8eb; }
.mx-table thead th { border: 0; background: #23292d; color: #fff; font-weight: 650; padding-block: .8rem; }
.mx-table tbody th { font-weight: 750; font-size: 1.12rem; letter-spacing: -.01em; }
.mx-table tbody th::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #d6dde1; box-shadow: inset 0 1px 2px rgb(0 0 0 / .3); margin-inline-end: .7rem; vertical-align: 1px; transition: .16s; }
.mx-table tbody tr:hover th::before, .mx-table tbody tr:focus-within th::before { background: var(--start); box-shadow: 0 0 12px var(--start); }
.mx-table tbody tr:hover { background: #f6f8f9; }
.mx main .mx-table a { font-weight: 700; color: #0a6838; white-space: nowrap; display: inline-block; padding: .5rem 0; }
.mx-faults { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.4rem); margin-top: 2.2rem !important; }
.mx-faults > div { padding: 1.3rem 0 1.3rem 2rem; border-top: 1px solid #c3ccd1; position: relative; }
.mx-faults > div::before { content: ""; position: absolute; left: 0; top: 1.75rem; width: 13px; height: 13px; border-radius: 50%; background: var(--start); box-shadow: 0 0 0 4px #fff, 0 0 0 5px #c3ccd1; }
.mx-faults dt { font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; margin-bottom: .3rem; }
.mx-faults dd { color: var(--ink2); max-width: 60ch; }
.mx-sticky { background: #ffe45e; padding: 1.8rem 1.8rem 1.4rem; rotate: .8deg; box-shadow: 4px 14px 22px -4px rgb(20 30 40 / .28); }
.mx-sticky .mx-h3:first-child { margin-top: 0 !important; }

/* guides */
.mx .guide { padding-block: clamp(1.6rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem); }
.mx .guide .mx-wrap, .mx .guide .wrap { max-width: 900px; margin-inline: auto; padding-inline: var(--pad); }
.mx .guide h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); margin-bottom: .35em; }
.mx main .guide-meta, .mx main .guide .lead { color: var(--ink2); }
.mx main .guide .lead { font-size: 1.15rem; }
.mx .guide-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 26px; margin: .6rem 0 1.6rem; display: block; border: 8px solid #fff; box-shadow: 0 0 0 1px #c3ccd1, 0 24px 40px -24px rgb(20 30 40 / .5); background: #dfe5e8; }
.mx .guide-body { font-size: 1.1rem; line-height: 1.7; overflow-wrap: break-word; }
.mx .guide-body h2 { margin: 2.4rem 0 .7rem; scroll-margin-top: 6rem; font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.1; }
.mx .guide-body h3 { margin: 1.6rem 0 .4rem; font-size: 1.28rem; line-height: 1.2; }
.mx main .guide-body ul:not(.places) { list-style: disc; padding-inline-start: 1.3rem; margin-bottom: 1em; }
.mx main .guide-body ol { list-style: decimal; padding-inline-start: 1.5rem; margin-bottom: 1em; }
.mx .guide-body li { margin-bottom: .4rem; }
.mx .guide-body img, .mx .guide-body iframe, .mx .guide-body video { max-width: 100%; height: auto; border-radius: 18px; }
.mx .guide-body figure { margin: 1.4rem 0; }
.mx .guide-body table { display: block; overflow-x: auto; border-collapse: collapse; }
.mx .guide-body td, .mx .guide-body th { border: 1px solid #c3ccd1; padding: .5rem .8rem; }
.mx .rsu-toc { background: #fff; border-radius: 20px; padding: 1.2rem 1.5rem; margin: 1.6rem 0; box-shadow: 0 0 0 1px #dbe2e6; }
.mx main .rsu-toc p { font-weight: 800; margin: 0 0 .4rem; }
.mx main .rsu-toc ul:not(.places) { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.mx .rsu-toc li { break-inside: avoid; margin: 0; }
.mx main .rsu-toc a { display: inline-block; padding: .4rem 0; text-decoration: none; font-weight: 650; color: var(--ink); line-height: 1.3; }
.mx main .rsu-toc a:hover { color: var(--start-d); text-decoration: underline; }
.mx .rsu-next { background: radial-gradient(120% 140% at 50% 0, #2a1410, #120806); color: #ffe3d9; border-radius: 22px; padding: 1.6rem 1.8rem; margin: 2.4rem 0; box-shadow: inset 0 3px 12px #000; }
.mx main .rsu-next p { margin: 0 0 .5rem; }
.mx main .rsu-next-h { font: 900 1.6rem/1.15 var(--dot); color: var(--led); }
.mx main .rsu-next a { color: #fff; font-weight: 700; }
.mx .guide-more { border-top: 2px solid var(--ink); margin-top: 2.6rem; padding-top: 1.8rem; }
.mx .guide-more h2 { font-size: 1.7rem; margin-bottom: .6rem; }
.mx .guide-items { margin-top: 1.8rem !important; border-top: 2px solid var(--ink); }
.mx .guide-items li { border-bottom: 1px solid #c3ccd1; padding: 1.3rem 0; }
.mx .guide-items h2 { font-size: 1.4rem; line-height: 1.2; margin: 0 0 .35rem; }
.mx main .guide-items h2 a { color: var(--ink); text-decoration: none; display: inline-block; padding: .2rem 0; }
.mx main .guide-items h2 a:hover { color: var(--start-d); text-decoration: underline; }
.mx main .guide-items p { margin: 0; color: var(--ink2); }
.mx .guide-list .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.mx .guide-list .page-numbers { min-width: 48px; min-height: 48px; padding: .5rem .9rem; border: 1px solid #c3ccd1; border-radius: 12px; display: inline-grid; place-items: center; text-decoration: none; background: #fff; color: var(--ink); font-weight: 700; }
.mx .guide-list .page-numbers.current { background: var(--ink); color: #fff; }
.mx .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* Short laptop screens: keep the Start button in view. */
@media (min-width: 1081px) and (max-height: 800px) {
  .mx-front { padding-block: 1.1rem 1.4rem; }
  .mx-machine h1 { font-size: clamp(2.1rem, 3.5vw, 3rem); }
  .mx-machine h1 small { margin-bottom: .3rem; }
  .mx-machine .crumbs { margin-bottom: .5rem; }
  .mx main .mx-lead { font-size: 1.02rem; line-height: 1.45; max-width: 62ch; margin-top: .6rem; }
  .mx-deck { margin-top: .9rem; padding: .8rem 1rem; }
  .mx-led { min-height: 96px; padding: .7rem 1rem; }
  .mx-port { width: min(100%, 480px); }
  .mx main a.mx-start { width: 84px; height: 84px; font-size: 1.17rem; }
  .mx-go { margin-top: .7rem; }
}
@media (max-width: 1080px) {
  .mx-machine::before, .mx-machine::after { display: none; }
  .mx-front { grid-template-columns: 1fr; min-height: 0; }
  .mx-portwrap { order: -1; }
  .mx-port { width: min(70vw, 400px); }
  .mx-names { grid-template-columns: 1fr 1fr; }
  .mx-mags { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.4rem; }
  .mx-code { grid-template-columns: 1fr; }
  .mx-where { grid-template-columns: 1fr 1fr; }
  .mx-plate ul { columns: 3; }
}
@media (max-width: 820px) { .mx-two, .mx-manual, .mx-faults { grid-template-columns: 1fr; } .mx-manual::before { display: none; } .mx-manual > div + div { padding-top: 0; } }
@media (max-width: 700px) {
  .mx-front { padding-top: 1.1rem; gap: 1.1rem; }
  .mx-port { width: min(58vw, 270px); }
  .mx h1 { font-size: 2.25rem; }
  .mx main .mx-lead { font-size: 1.05rem; }
  .mx-deck { grid-template-columns: 1fr; border-radius: 24px; }
  .mx-tag { grid-template-columns: 1fr 1fr; }
  .mx-lineup { overflow-x: auto; justify-content: flex-start; padding: 14px var(--pad) 0; margin-inline: calc(var(--pad) * -1); scroll-snap-type: x proximity; gap: 1.4rem; scrollbar-width: none; }
  .mx-lineup a { flex: none; scroll-snap-align: center; }
  .mx-names { grid-template-columns: 1fr; }
  .mx-track::before, .mx-bar { left: 37px; top: 0; width: 6px; height: 100%; }
  .mx-bar { height: 0; }
  .mx-track ol { grid-template-columns: 1fr; gap: 1.4rem; }
  .mx-track li { padding: 8px 0 8px 104px; min-height: 84px; }
  .mx-fridge .mx-wrap { padding-inline-start: calc(var(--pad) + 34px); }
  .mx-hbar { left: .8rem; width: 18px; }
  .mx-mags { grid-template-columns: 1fr 1fr; }
  .mx-plate ul { columns: 2; margin-inline: 0 !important; }
  .mx-plate::before, .mx-plate::after { display: none; }
  .mx main .mx-plate a { padding-inline: .5rem; }
  .mx-where { grid-template-columns: 1fr; }
  .mx-city > .mx-wrap { grid-template-columns: 1fr; }
  .mx-city > .mx-wrap > svg { width: 104px; }
  .mx main .mx-row .mx-btn { width: 100%; }
  .mx-bplate { width: max-content; max-width: 92vw; bottom: -6%; grid-template-columns: auto auto auto; }
  .mx-bplate div { padding: .45rem .7rem; }
  .mx-bplate dd { font-size: 1rem; overflow-wrap: normal; }
  .mx-mags li:nth-child(even) .mx-mag { translate: 0 0; }
  .mx main .rsu-toc ul:not(.places) { columns: 1; }
  .mx-kp { gap: .4rem; }
  .mx .guide-img { border-width: 5px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { .mx *, .mx *::before, .mx *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
