/* =========================================================
   MIRIDEA · «Веб-программирование» — редактор кода и терминал. Только transform/opacity.
   ========================================================= */
.m-web { position: relative; min-width: 0; contain: inline-size; border-radius: 12px 28px 12px 28px; background: #1e2128; overflow: hidden; box-shadow: 0 34px 80px -44px rgba(24,78,174,.6); font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.m-web__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #181a20; }
.m-web__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3f4a; }
.m-web__bar span { margin-left: 8px; padding: 4px 10px; border-radius: 6px 6px 0 0; background: #1e2128; font-size: 11.5px; color: #c8cdd6; }
.m-web__bar span + span { background: transparent; color: #6b7280; margin-left: 0; }
.m-web__code { overflow: hidden; margin: 0; padding: 14px 16px 10px; font-size: 12.5px; line-height: 1.7; color: #c8cdd6; list-style: none; counter-reset: ln; min-height: 220px; }
.m-web__code li { counter-increment: ln; white-space: pre; opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s; }
.m-web__code li.on { opacity: 1; transform: none; }
.m-web__code li::before { content: counter(ln); display: inline-block; width: 22px; margin-right: 12px; text-align: right; color: #4b5260; }
.m-web .k { color: #c792ea; } .m-web .f { color: #82aaff; } .m-web .s { color: #c3e88d; } .m-web .c { color: #6b7280; } .m-web .v { color: #f78c6c; }
.m-web__term { padding: 10px 16px 14px; background: #15171c; border-top: 1px solid #2a2e37; font-size: 12px; line-height: 1.75; min-height: 104px; }
.m-web__term p { margin: 0; color: #9aa3b2; opacity: 0; transition: opacity .25s; }
.m-web__term p.on { opacity: 1; }
.m-web__term b { color: #c3e88d; font-weight: 600; }
.m-web__term u { text-decoration: none; color: #ff5370; }
.m-web__term .ok { color: #22c55e; font-weight: 700; }
@media (max-width: 480px) { .m-web__code li { white-space: pre-wrap; overflow-wrap: anywhere; } .m-web__code { font-size: 10.5px; padding: 12px 10px 8px; } .m-web__code li::before { width: 16px; margin-right: 8px; } .m-web__term { font-size: 10.5px; } }
@media (prefers-reduced-motion: reduce) { .m-web * { transition: none !important; } }
.m-wb .m-about-hero__title { font-size: clamp(28px, 3.7vw, 54px); }
@media (max-width: 760px) { .m-wb .m-about-hero__title { font-size: 7.4vw; } }
