.ld-sec{scroll-margin-top:60px}
.ld-sec h2{display:flex;align-items:center;gap:10px;font-size:1.35rem;margin:0 0 8px}
.ld-sec h2 .n{width:34px;height:34px;border-radius:10px;display:inline-grid;place-items:center;color:#fff;background:#37474f;font-size:1rem;flex:none}
.ld-vid{position:relative;padding-top:56.25%;border-radius:14px;overflow:hidden;background:#000;margin:8px 0}
.ld-vid iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ld-vcap{font-size:.92rem;color:#5b6670;margin:4px 0 12px}
.ld-sum{background:linear-gradient(180deg,#fffdf5,#fff);border:2px solid #ffd54f;border-radius:18px;padding:18px 20px}
.ld-sum .lead{font-size:1.08rem;margin:0 0 12px}
.ld-pts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px}
.ld-pts li{background:#fff;border:1px solid #e3e8ec;border-inline-start:6px solid #ffb300;border-radius:12px;padding:10px 12px}
.ld-pts li b{display:block;margin-bottom:3px;color:#263238}
.ld-tip{margin:12px 0 0;background:#e8f5e9;border-radius:12px;padding:10px 14px;border:1px solid #c8e6c9}
.ld-gal{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:14px 0 0}
.ld-gal figure{margin:0;background:#fff;border:1px solid #e3e8ec;border-radius:12px;padding:8px;text-align:center}
.ld-gal img{max-width:100%;max-height:170px;object-fit:contain;border-radius:8px}
.ld-gal figcaption{font-size:.88rem;color:#37474f;margin-top:5px}
.ld-terms{width:100%;border-collapse:collapse;margin:12px 0 0;background:#fff;border-radius:12px;overflow:hidden}
.ld-terms td{border:1px solid #e3e8ec;padding:7px 10px;vertical-align:top}.ld-terms td:first-child{font-weight:700;background:#fff8e1;width:30%}
.ld-dl{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.ld-dl a{display:inline-flex;gap:6px;align-items:center;padding:8px 14px;border-radius:10px;text-decoration:none;color:#1d252c;border:1px solid #d5dee6;background:#eef3f7;font-weight:600}
.ld-dl a.p{background:#fdecea}.ld-dl a.w{background:#e3f0fb}.ld-dl a.r{background:#e8f5e9}
.lq-vid{position:relative;padding-top:56.25%;margin:0 0 10px;border-radius:10px;overflow:hidden}.lq-vid iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ld-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin-top:10px}
.ld-card{display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid #e3e8ec;border-radius:14px;padding:12px 14px;text-decoration:none;color:#1d252c;border-inline-start:6px solid #ffb300}
.ld-card:hover{background:#fff8e1}.ld-card b{font-size:1.02rem}.ld-card small{color:#5b6670}
.ld-card .k{font-size:.8rem;color:#fff;background:#37474f;border-radius:999px;padding:1px 9px;align-self:flex-start}
/* ===== game lomda v2 ===== */
:root{--asph:#263238;--lane:#ffca28;--gr:#2e9d4a;--rd:#e53935;--bl:#1e88e5;--or:#fb8c00}
.lg-hero{position:relative;margin:0 0 12px;padding:22px 18px 46px;border-radius:0 0 26px 26px;background:linear-gradient(160deg,#1565c0 0%,#1e88e5 55%,#29b6f6 100%);color:#fff;overflow:hidden}
.lg-hero:after{content:"";position:absolute;inset-inline:0;bottom:0;height:34px;background:var(--asph);box-shadow:0 -4px 0 #9ccc65}
.lg-hero:before{content:"";position:absolute;inset-inline:0;bottom:15px;height:4px;z-index:1;background:repeating-linear-gradient(90deg,var(--lane) 0 34px,transparent 34px 62px)}
.lg-hero .in{position:static;z-index:2;max-width:980px;margin:0 auto;display:flex;gap:14px;align-items:center}.lg-hero .in>div{position:relative;z-index:2}
.lg-hero img.th-logo{position:absolute;z-index:3;left:14px;top:14px;width:54px;height:54px;border-radius:14px;background:#fff;padding:4px;object-fit:contain;box-shadow:0 3px 0 #0002}
.lg-hero .in>div{min-width:0;flex:1;padding-left:64px}.lg-hero h1{overflow-wrap:anywhere}
.lg-hero h1{margin:0;font-size:1.55rem;line-height:1.25;color:#fff}
.lg-hero p{margin:4px 0 0;opacity:.95;font-size:.95rem}
.lg-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.lg-chips span{background:#ffffff2b;border:1px solid #ffffff55;border-radius:999px;padding:2px 10px;font-size:.85rem;font-weight:600}
.lg-hero .lg-tl{position:absolute;z-index:2;inset-inline-end:16px;top:12px;display:flex;flex-direction:column;gap:4px;background:#263238;padding:5px;border-radius:10px;box-shadow:0 3px 0 #0003}
.lg-hero .lg-tl i{width:13px;height:13px;border-radius:50%;background:#e53935}.lg-hero .lg-tl i+i{background:#ffca28}.lg-hero .lg-tl i+i+i{background:#43a047}
.lg-hero .lg-cta{display:inline-flex;margin-top:12px;background:var(--lane);color:#263238;font-weight:800;padding:10px 18px;border-radius:14px;text-decoration:none;box-shadow:0 4px 0 #c79100}
.lg-map{position:relative;display:flex;gap:8px;overflow-x:auto;padding:10px 4px;margin:6px 0 10px;background:var(--bg,#f6f8fa);-webkit-overflow-scrolling:touch;scrollbar-width:none}
.lg-map::-webkit-scrollbar{display:none}
.lg-map a{flex:1 0 auto;display:flex;align-items:center;gap:7px;padding:8px 12px;border-radius:14px;background:#fff;border:2px solid #e0e6eb;text-decoration:none;color:#1d252c;font-weight:700;font-size:.93rem;min-height:44px;box-shadow:0 2px 0 #e0e6eb}
.lg-map a i{font-style:normal;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#fff;font-size:.85rem;background:#37474f}
.lg-map a.c1 i{background:#8e24aa}.lg-map a.c2 i{background:#f9a825}.lg-map a.c3 i{background:var(--bl)}.lg-map a.c4 i{background:var(--gr)}.lg-map a.c5 i{background:var(--or)}
.lg-map a:hover{border-color:#90a4ae}
.ld-sec.lg-s{background:#fff;border-radius:22px;padding:16px 16px 18px;margin:0 0 16px;border:1px solid #e3e8ec;box-shadow:0 3px 0 #e3e8ec;border-top:7px solid #37474f}
.ld-sec.lg-s.c1{border-top-color:#8e24aa}.ld-sec.lg-s.c2{border-top-color:#f9a825}.ld-sec.lg-s.c3{border-top-color:var(--bl)}.ld-sec.lg-s.c4{border-top-color:var(--gr)}.ld-sec.lg-s.c5{border-top-color:var(--or)}
.ld-sec.lg-s h2 .n{border-radius:50%}.lg-s.c1 h2 .n{background:#8e24aa}.lg-s.c2 h2 .n{background:#f9a825}.lg-s.c3 h2 .n{background:var(--bl)}.lg-s.c4 h2 .n{background:var(--gr)}.lg-s.c5 h2 .n{background:var(--or)}
.ld-sec.lg-s>p{color:#455a64;margin:0 0 10px}
/* start / end screens */
.lq-start,.lq-end{text-align:center;padding:20px 14px;border-radius:20px;background:linear-gradient(180deg,#e3f2fd,#fff);border:2px dashed #90caf9;position:relative;overflow:hidden}
.lq-start.lq-green,.lq-end.lq-green{background:linear-gradient(180deg,#e8f5e9,#fff);border-color:#a5d6a7}
.lq-start.lq-orange,.lq-end.lq-orange{background:linear-gradient(180deg,#fff3e0,#fff);border-color:#ffcc80}
.lq-start h3,.lq-end h3{margin:6px 0;font-size:1.45rem}.lq-start p{margin:0 auto 10px;max-width:520px;color:#37474f}
.lq-st-ic{font-size:3.2rem;line-height:1;animation:lq-bob 1.6s ease-in-out infinite}
@keyframes lq-bob{50%{transform:translateY(-6px)}}
.lq-light{display:inline-flex;gap:5px;background:#263238;padding:5px 8px;border-radius:12px;margin-bottom:6px}
.lq-light i{width:14px;height:14px;border-radius:50%;background:#546e7a;animation:lq-tl 2.4s infinite}
.lq-light i:nth-child(1){--c:#e53935;animation-delay:0s}.lq-light i:nth-child(2){--c:#ffca28;animation-delay:.8s}.lq-light i:nth-child(3){--c:#43a047;animation-delay:1.6s}
@keyframes lq-tl{0%,30%{background:var(--c);box-shadow:0 0 8px var(--c)}34%,100%{background:#546e7a;box-shadow:none}}
.lq-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:8px 0}.lq-chips span{background:#fff;border:1px solid #d5dee6;border-radius:999px;padding:4px 12px;font-weight:700;font-size:.92rem}
.lq-sw{display:inline-flex;gap:8px;align-items:center;margin:6px 0 12px;font-weight:600;cursor:pointer;font-size:.95rem}.lq-sw input{width:22px;height:22px;accent-color:var(--or)}
.lq-start-row{display:flex;gap:10px;justify-content:center;align-items:center}
.lq-btn{font:inherit;font-weight:800;padding:12px 20px;border-radius:14px;border:0;background:#37474f;color:#fff;cursor:pointer;min-height:50px;box-shadow:0 4px 0 #1c262b;transition:transform .08s}
.lq-btn:active{transform:translateY(3px);box-shadow:0 1px 0 #1c262b}
.lq-btn.go{background:var(--or);box-shadow:0 4px 0 #bf5f00}.lq-btn.big{font-size:1.2rem;padding:14px 30px}
.lq-btn.ghost{background:#fff;color:#37474f;border:2px solid #b0bec5;box-shadow:0 3px 0 #cfd8dc}.lq-btn:disabled{opacity:.35;cursor:default}
.lq-ico{font-size:1.3rem;width:46px;height:46px;border-radius:50%;border:2px solid #d5dee6;background:#fff;cursor:pointer;flex:none}
/* HUD */
.lq-hud{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:0 0 8px}.lq-hud .lq-ico{width:40px;height:40px;font-size:1.1rem;margin-inline-start:auto}
.lq-pill{background:#fff8e1;border:2px solid #ffe082;border-radius:999px;padding:4px 11px;font-weight:700;font-size:.92rem;white-space:nowrap}
.lq-pill.fire{background:#fff3e0;border-color:#ffcc80}.lq-pill.fire.hot{animation:lq-pop .5s}.lq-pill.tmr{background:#e3f2fd;border-color:#90caf9}.lq-pill.tmr.low{background:#ffebee;border-color:#ef9a9a;color:#c62828;animation:lq-pop .5s infinite}
@keyframes lq-pop{50%{transform:scale(1.12)}}
.lq-prog{position:relative;height:16px;border-radius:99px;background:var(--asph);margin:14px 0 4px;overflow:visible}
.lq-prog:before{content:"";position:absolute;inset-inline:6px;top:7px;height:2px;background:repeating-linear-gradient(90deg,#ffffffaa 0 10px,transparent 10px 18px)}
.lq-prog i{position:absolute;inset-inline-start:0;top:0;bottom:0;border-radius:99px;background:linear-gradient(90deg,#66bb6a,#43a047);transition:width .4s;opacity:.9}
.lq-prog b{position:absolute;top:-14px;font-size:1.5rem;transition:inset-inline-start .4s;line-height:1}
.lq-num{font-size:.9rem;color:#5b6670;margin:4px 0 8px;font-weight:600}
/* card */
.lq-card{position:relative;background:#fff;border:2px solid #e3e8ec;border-radius:18px;padding:14px;overflow:hidden}
.lq-card.lq-in{animation:lq-in .35s ease-out}@keyframes lq-in{from{opacity:0;transform:translateY(12px)}}
.lq-card.lq-good{border-color:#66bb6a;animation:lq-glow .7s}@keyframes lq-glow{0%{box-shadow:0 0 0 0 #66bb6a99}100%{box-shadow:0 0 0 16px #66bb6a00}}
.lq-fig{display:block;position:relative;width:100%;margin:0 0 12px;padding:8px;border:2px solid #eceff1;border-radius:14px;background:#fff;cursor:zoom-in}
.lq-fig img{display:block;max-width:100%;max-height:300px;margin:0 auto;object-fit:contain}
.lq-fig i{position:absolute;inset-inline-end:6px;bottom:6px;font-style:normal;font-size:.9rem;background:#ffffffd0;border-radius:8px;padding:1px 5px}
.lq-qt{font-weight:800;font-size:1.12rem;margin:0 0 12px;line-height:1.55;color:#1d252c}
.lq-opts{display:grid;gap:9px}
@media(min-width:760px){.lq-opts{grid-template-columns:1fr 1fr}}
.lq-o{display:flex;gap:10px;align-items:center;text-align:start;width:100%;padding:12px 12px;border-radius:14px;border:2px solid #d5dee6;background:#f7fafc;font:inherit;font-size:1.02rem;cursor:pointer;line-height:1.45;min-height:56px;box-shadow:0 3px 0 #d5dee6;transition:transform .08s,background .15s;color:#1d252c}
.lq-o:hover{border-color:#64b5f6;background:#f0f7ff}.lq-o:active{transform:translateY(2px)}
.lq-o b{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#37474f;color:#fff;font-size:.95rem}
.lq-o.sel{border-color:var(--bl);background:#e3f2fd;box-shadow:0 3px 0 #90caf9}.lq-o.sel b{background:var(--bl)}
.lq-o.ok{border-color:#2e7d32;background:#e8f5e9;box-shadow:0 3px 0 #a5d6a7;animation:lq-pop .45s}.lq-o.ok b{background:#2e7d32}
.lq-o.bad{border-color:#c62828;background:#ffebee;box-shadow:0 3px 0 #ef9a9a}.lq-o.bad b{background:#c62828}
.lq-o.dim{opacity:.55}.lq-o[aria-disabled]{cursor:default}
.lq-shake{animation:lq-shake .45s}@keyframes lq-shake{20%,60%{transform:translateX(-7px)}40%,80%{transform:translateX(7px)}}
.lq-fb{margin-top:12px;padding:11px 14px;border-radius:14px;font-weight:700;animation:lq-in .3s}.lq-fb.ok{background:#e8f5e9;color:#1b5e20;border:2px solid #a5d6a7}.lq-fb.bad{background:#ffebee;color:#8e1c1c;border:2px solid #ef9a9a}
.lq-plus{display:inline-block;background:#ffca28;color:#5d4037;border-radius:99px;padding:0 9px;margin-inline-start:6px;animation:lq-pop .6s}
.lq-nav{display:flex;gap:10px;justify-content:space-between;margin:14px 0 4px;flex-wrap:wrap}.lq-nav.c{justify-content:center}
.lq-note{font-size:.9rem;color:#5b6670;margin:4px 0 0}
/* confetti */
.lq-conf{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:3}
.lq-conf i{position:absolute;top:-12px;width:9px;height:14px;border-radius:2px;animation:lq-fall 1.4s ease-in forwards}
@keyframes lq-fall{to{transform:translate(var(--dx),420px) rotate(var(--r));opacity:0}}
/* road */
.lg-road{position:relative;height:78px;border-radius:16px;background:var(--asph);margin:4px 0 8px;overflow:hidden;border-top:6px solid #9ccc65;border-bottom:6px solid #9ccc65}
.lg-lane{position:absolute;inset-inline:0;top:31px;height:5px;background:repeating-linear-gradient(90deg,var(--lane) 0 30px,transparent 30px 56px)}
.lg-flag{position:absolute;inset-inline-end:8px;top:10px;font-size:2.3rem}
.lg-car{position:absolute;top:10px;font-size:2.5rem;transition:inset-inline-start .7s cubic-bezier(.3,1.4,.6,1);line-height:1.1}
/* end */
.lq-stars{font-size:2.9rem;letter-spacing:8px;margin:6px 0}.lq-stars span{display:inline-block;color:#cfd8dc}.lq-stars span.on{color:#ffb300;text-shadow:0 3px 0 #e65100;animation:lq-star .6s both}
@keyframes lq-star{from{transform:scale(0) rotate(-90deg)}70%{transform:scale(1.3)}}
.lq-big{direction:ltr;unicode-bidi:isolate;font-size:2.4rem;font-weight:900;color:#263238}.lq-nb{font-weight:800;color:#e65100}
.lq-revw{text-align:start;margin-top:12px;background:#fff;border-radius:14px;padding:8px 12px;border:1px solid #e3e8ec}.lq-revw summary{font-weight:800;cursor:pointer;padding:4px 0}
.lq-rev{padding-inline-start:20px;margin:6px 0}.lq-rev li{margin:8px 0;padding:8px 10px;border-radius:12px}.lq-rev li.ok{background:#f1f8e9}.lq-rev li.bad{background:#fff3f3}
.lq-rev img{display:block;max-width:180px;max-height:110px;object-fit:contain;background:#fff;border-radius:8px;margin:0 0 4px}
.lq-rev p{margin:2px 0}.lq-rev .yours{color:#b71c1c}.lq-rev .right{color:#1b5e20;font-weight:700}
/* zoom */
.lq-zoom{position:fixed;inset:0;z-index:99;background:#000c;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;gap:12px}
.lq-zoom img{max-width:100%;max-height:82vh;background:#fff;border-radius:12px;padding:8px}
.lq-zoom button{font:inherit;font-weight:700;padding:10px 18px;border-radius:12px;border:0;background:#fff;cursor:pointer}
@media(max-width:420px){.ld-sec.lg-s{padding:12px 9px 14px;border-radius:18px}.lq-card{padding:11px}.lq-start,.lq-end{padding:16px 8px}.lg-hero h1{font-size:1.3rem}.lq-qt{font-size:1.05rem}.lq-o{font-size:.98rem}.lq-pill{font-size:.82rem;padding:3px 7px}.lq-hud .lq-ico{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.lq-card,.lq-o,.lq-st-ic,.lq-light i,.lq-conf{animation:none!important}}
@media print{.lg-map,.lq-start,.lq-hud{display:none}}

#task-a,#task-b,#game-box{scroll-margin-top:72px}.ld-sec.lg-s{scroll-margin-top:66px}

.lq-start p{margin-bottom:14px}
