.rd{
 --paper:#FAF7F1; --surface:#FFFFFF; --surface2:#F4EFE6;
 --ink:#26211D; --muted:#75695F; --rule:#EAE2D8; --line2:#D5C9BC;
 --brand:#8E2F4A; --brand-tint:#F7E7ED;
 --brass:#C99227; --brass-ink:#8A6316; --brass-tint:#FBF4E4; --marker:#F3E2BC;
 --blue:#3D4E9C; --blue-tint:#E9EDF8;
 --ok:#3F7D5C; --ok-ink:#2F6449; --ok-tint:#E7EFE9;
 --alert:#B04343; --alert-ink:#A03B3B; --alert-tint:#FBEEE9;
 --shadow:0 10px 28px rgba(94,62,45,.07);
}
.rd *{box-sizing:border-box}
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.rd{--sticky:57px}
.rd :is(section,h2,h3)[id], .rd .dir[id], .rd #metodika, .rd .card, .rd .quiz[id]{scroll-margin-top:calc(var(--sticky) + 31px)}
@media(max-width:1000px){.rd{--sticky:53px}
  .rd :is(section,h2,h3)[id], .rd .dir[id], .rd #metodika, .rd .card, .rd .quiz[id]{scroll-margin-top:calc(var(--sticky) + 59px)}}
.rd{margin:0;background:var(--paper);color:var(--ink);font-family:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.62;-webkit-font-smoothing:antialiased}
.rd img{max-width:100%}
.rd a{color:var(--brand);text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
.rd a:hover{text-decoration-thickness:2px}
.rd a:focus-visible, .rd summary:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.rd .wrap{max-width:1240px;margin:0 auto;padding:0 24px}
.rd h1, .rd h2, .rd h3{font-family:Lora,Georgia,serif;font-weight:600;text-wrap:balance;margin:0}
.rd h1{font-size:clamp(28px,4.2vw,40px);line-height:1.16}
.rd h2{font-size:clamp(22px,2.8vw,29px);line-height:1.22}
.rd h3{font-size:clamp(17px,2vw,21px);line-height:1.28}
.rd p{margin:0 0 14px}
.rd .mark{font-style:italic;background:linear-gradient(transparent 58%,var(--marker) 58%)}
.rd .dash{color:#B7AC9E}
.rd .yes{color:var(--ok);font-weight:800}
.rd .free{color:var(--ok-ink);font-weight:800}
.rd .nowrap{white-space:nowrap}
.rd .muted{color:var(--muted)}

.rd .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 24px;border-radius:999px;font-weight:800;font-size:14.5px;text-decoration:none;white-space:nowrap}
.rd .btn.primary{background:var(--brand);color:#fff;box-shadow:0 8px 20px rgba(142,47,74,.25)}
.rd .btn.ghost{border:2px solid var(--line2);color:var(--ink);background:var(--surface);font-weight:600}

body.raduga-template,
body.post-template-template-raduga-rating{background:#FAF7F1}

body.raduga-template #main,
body.post-template-template-raduga-rating #main{background:transparent}

.rd .hero{background:var(--surface);padding:30px 0 24px;position:relative;overflow:hidden}
.rd .hero, .rd .hero-text{clip-path:inset(0 -100vmax);box-shadow:0 0 0 100vmax var(--surface)}
.rd .crumbs{font-size:12.5px;color:var(--muted);font-weight:600;margin-bottom:12px}
.rd .crumbs a{color:var(--brand)}
.rd .crumbs span{color:var(--line2);margin:0 6px}
.rd .lead{font-size:16px;line-height:1.62;color:#4E463F;max-width:64ch}
.rd .lead-2{font-size:15px;color:var(--muted);max-width:64ch}
.rd .byline{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:12.5px;color:var(--muted);font-weight:600;margin:6px 0 16px}
.rd .ava{width:26px;height:26px;border-radius:50%;background:var(--brand-tint);color:var(--brand);display:grid;place-items:center;font-family:Lora,Georgia,serif;font-weight:700;font-size:13px}
.rd .staff{position:absolute;top:34px;right:calc(50% - 40px);opacity:.8;pointer-events:none}@media(max-width:1240px){.rd .staff{display:none}}

.rd .medal{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:12px;flex:none;font-variant-numeric:tabular-nums}
.rd .medal.gold{background:var(--brass);color:#fff}
.rd .medal.wine{background:var(--brand);color:#fff}
.rd .medal.blue{background:var(--blue);color:#fff}
.rd .medal.plain{border:2px solid var(--line2);color:var(--muted)}

.rd .wave{height:26px;background:var(--surface);border-bottom:1px solid var(--rule);display:flex;align-items:flex-end;gap:3px;padding:0 24px;overflow:hidden}
.rd .wave i{width:4px;border-radius:2px 2px 0 0;background:#E9D9C4}
.rd .toc{background:var(--paper);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:14px 0}
.rd .toc .wrap{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.rd .toc b{font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-right:4px}
.rd .toc-line{display:flex;gap:7px;align-items:center;flex-wrap:wrap;min-width:0}
.rd .chip{border:1px solid var(--line2);background:var(--surface);color:var(--ink);font-size:12.5px;font-weight:600;padding:7px 13px;border-radius:999px;text-decoration:none;min-height:34px;display:inline-flex;align-items:center}
.rd .chip:first-of-type{background:var(--brand);color:#fff;border-color:var(--brand);font-weight:800}

.rd .tiles3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:24px 0}@media(max-width:860px){.rd .tiles3{grid-template-columns:1fr}}
.rd .tile3{background:var(--surface);border:1px solid var(--rule);border-radius:16px;padding:16px 18px}
.rd .tile3 b{display:block;font-size:13px;margin:8px 0 6px}
.rd .tile3 p{font-size:13px;line-height:1.5;color:var(--muted);margin:0}
.rd .tile3.grad{background:linear-gradient(135deg,var(--brand) 0%,var(--blue) 130%);color:#FFF7F0;border:none}
.rd .tile3.grad p{color:#F2DFE8}
.rd .tile3.grad a{color:#fff}
.rd .ic{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--brand-tint)}
.rd .ic.b{background:var(--brass-tint)}

.rd .rd-content > .wrap > div{padding:34px 0;border-top:1px solid var(--rule)}
.rd .rd-content > .wrap > div:first-of-type{padding-top:0;border-top:0}
.rd .rd-content > .wrap > div:last-of-type{padding-bottom:0}
.rd .rd-content > .wrap > div > h2{margin-bottom:12px}
.rd .rd-content h3{margin:22px 0 8px}
.rd .rd-content h3:first-child{margin-top:0}
.rd .rd-content > .wrap > div > :last-child,
.rd .rd-content .cols2 > div > :last-child{margin-bottom:0}
@media(max-width:860px){.rd .rd-content > .wrap > div{padding:26px 0}}

.rd section{padding:34px 0;border-top:1px solid var(--rule)}
.rd section > .wrap > h2{margin-bottom:12px}
.rd .sec-lead{max-width:70ch;color:#4E463F}
.rd .cols2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}@media(max-width:860px){.rd .cols2{grid-template-columns:1fr}}

.rd .cols2 > *{min-width:0}
.rd .note{background:var(--surface);border:1px solid var(--rule);border-radius:14px;padding:16px 18px}
.rd .note h3{font-size:16px;margin-bottom:6px}
.rd .note p:last-child{margin:0}
.rd ul.ticks{list-style:none;margin:0 0 14px;padding:0;max-width:70ch}
.rd ul.ticks li{display:flex;gap:10px;margin-bottom:8px;line-height:1.55}
.rd ul.ticks svg{width:16px;height:16px;flex:none;margin-top:5px}

.rd .filters{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:14px}

.rd .filters, .rd .rd-sort{display:block}
.rd .filters b, .rd .rd-sort > span{display:block;margin:0 0 7px}
.rd .filters-line, .rd .sort-line{display:flex;flex-wrap:wrap;align-items:center;
  gap:6px;min-width:0}
.rd .filters b{font-size:12px;font-weight:800;color:var(--muted)}
.rd .sortline{font-size:12.5px;color:var(--muted);margin:10px 0 0}
.rd .tw{overflow-x:auto;border:1px solid var(--rule);border-radius:16px;background:var(--surface);box-shadow:var(--shadow);margin-top:14px}
.rd table{border-collapse:collapse;width:100%;min-width:940px;font-size:13.5px;font-variant-numeric:tabular-nums}
.rd th{text-align:left;font-size:10.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);font-weight:800;padding:11px 13px;background:var(--surface2);white-space:nowrap}
.rd td{padding:11px 13px;border-top:1px solid var(--rule);vertical-align:top}
.rd tr.win td{background:var(--brass-tint)}
.rd td.c{text-align:center}
.rd .cell-name a{text-decoration:none}
.rd .cell-name b{font-weight:800;text-decoration:underline;text-underline-offset:2px}
.rd .cell-name small{display:block;color:var(--muted);font-size:11.5px;margin-top:2px;font-weight:400}
.rd .tcap{font-size:12.5px;color:var(--muted);line-height:1.55;margin:14px 0 0;max-width:80ch}

.rd .cards{display:flex;flex-direction:column;gap:18px;margin-top:18px}
.rd .card{background:var(--surface);border:1px solid var(--rule);border-radius:18px;padding:22px 24px;box-shadow:var(--shadow)}
.rd .card-head{display:flex;gap:13px;align-items:flex-start;margin-bottom:8px}
.rd .card-head .medal{width:30px;height:30px;font-size:14px;margin-top:2px}
.rd .rate{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:13px;margin-bottom:14px}
.rd .rate svg{width:14px;height:14px}
.rd .rate b{font-size:14px}
.rd .rate span{color:var(--muted)}
.rd .badge{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:#fff;background:var(--brand);padding:3px 10px;border-radius:999px;font-weight:800}

.rd .ment{margin:0 0 16px}
.rd .ment-t{display:block;font-size:11px;letter-spacing:.05em;text-transform:uppercase;
  color:var(--muted);font-weight:700;margin-bottom:8px}
.rd .ment-l{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.rd .ment-i{display:flex;gap:9px;align-items:flex-start;height:100%;
  border:1px solid #EFE7DA;background:var(--paper);border-radius:12px;padding:11px 13px;
  text-decoration:none;color:var(--muted);transition:border-color .15s,background-color .15s}
.rd .ment-i:hover,.rd .ment-i:focus-visible{border-color:var(--line2);background:var(--surface2)}
.rd .ment-i svg{width:15px;height:15px;flex:none;margin-top:1px}
.rd .ment-x{min-width:0;flex:1}
.rd .ment-i b{display:block;font-size:12.5px;font-weight:800;color:var(--ink);line-height:1.35}
.rd .ment-i em{display:block;font-style:normal;font-size:11.5px;line-height:1.4;margin-top:2px}
.rd .ment-go{flex:none;font-size:11px;opacity:.55;margin-top:1px}
.rd .ment-i.lead{background:var(--brass-tint);border-color:#EBD9A8;color:var(--brass-ink)}
.rd .ment-i.lead:hover,.rd .ment-i.lead:focus-visible{border-color:var(--brass);background:#FAEFD8}
.rd .ment-i.lead b{color:var(--brass-ink)}
.rd .ment-note{font-size:11.5px;line-height:1.55;color:var(--muted);margin:9px 0 0;max-width:88ch}
@media(max-width:860px){.rd .ment-l{grid-template-columns:1fr}}

.rd .tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}@media(max-width:860px){.rd .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rd .tile{border-radius:12px;padding:11px 13px;display:flex;gap:9px;align-items:flex-start;font-size:12.5px;font-weight:600;line-height:1.35}
.rd .tile svg{width:15px;height:15px;flex:none;margin-top:1px}
.rd .tile.neutral{background:var(--paper);border:1px solid #EFE7DA;color:var(--muted)}
.rd .tile.ok{background:var(--ok-tint);color:var(--ok-ink)}
.rd .tile.blue{background:var(--blue-tint);color:#33427F}
.rd .tile.brass{background:var(--brass-tint);color:var(--brass-ink)}
.rd .card-body{display:grid;grid-template-columns:1.45fr 1fr;gap:22px}@media(max-width:860px){.rd .card-body{grid-template-columns:1fr;gap:14px}}
.rd .card-text p{font-size:14px;line-height:1.6;color:#4E463F}
.rd ul.pm{list-style:none;margin:0;padding:0;font-size:13.5px;line-height:1.5}
.rd ul.pm li{display:flex;gap:9px;margin-bottom:7px}
.rd ul.pm svg{width:14px;height:14px;flex:none;margin-top:4px}
.rd ul.pm li.minus span{color:var(--alert-ink)}
.rd ul.pm li.minus.soft span{color:var(--brass-ink)}
.rd .whom{background:var(--paper);border:1px solid var(--rule);border-radius:14px;padding:13px 15px;font-size:13.5px;line-height:1.55;color:#4E463F;align-self:start}

.rd .card-act{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:14px 0 4px}
.rd .card-act .btn{font-size:13.5px;padding:10px 24px}
.rd .act-free{color:var(--ok-ink);font-size:12.5px;font-weight:800}
.rd .act-note{font-size:12px;color:var(--muted)}

.rd .card-full{background:none;border:0;border-top:1px solid var(--rule);border-radius:0;overflow:visible;
  margin:16px 0 0;padding-top:12px}
.rd .card-full[open]{background:none;border-color:var(--rule)}
.rd .card-full > summary::after{display:none}
.rd .card-full p{padding:0;margin:0 0 12px}
.rd .card-full > summary{cursor:pointer;list-style:none;font-size:13px;font-weight:700;color:var(--brand);
  display:inline-flex;align-items:center;gap:7px;min-height:34px}
.rd .card-full > summary::-webkit-details-marker{display:none}
.rd .card-full > summary::before{content:'+';font-size:15px;font-weight:800;width:20px;height:20px;
  border-radius:50%;background:var(--brand-tint);display:grid;place-items:center}
.rd .card-full > summary .s-less{display:none}
.rd .card-full[open] > summary .s-more{display:none}
.rd .card-full[open] > summary .s-less{display:inline}

.rd .card-full > summary .s-more::before{content:'Читать разбор целиком'}
.rd .card-full > summary .s-less::before{content:'Свернуть разбор'}
.rd .card-full[open] > summary::before{content:'−'}
.rd .card-full > div{padding-top:12px}

.rd .card-top{border-color:var(--line2);box-shadow:0 14px 34px rgba(94,62,45,.10)}
.rd .card-top::before{content:'';display:block;height:4px;border-radius:999px;margin:-8px 0 14px}
.rd .card-top.place-1{background:linear-gradient(180deg,#FEFBF3,var(--surface) 190px)}
.rd .card-top.place-1::before{background:var(--brass)}
.rd .card-top.place-2{background:linear-gradient(180deg,#FDF6F8,var(--surface) 190px)}
.rd .card-top.place-2::before{background:var(--brand)}
.rd .card-top.place-3{background:linear-gradient(180deg,#F4F6FD,var(--surface) 190px)}
.rd .card-top.place-3::before{background:var(--blue)}
@media(max-width:560px){.rd .act-note{flex:1 0 100%}}
.rd .checked{margin-left:auto;font-size:11.5px;color:var(--muted)}
.rd .disclaimer{display:flex;gap:11px;align-items:flex-start;background:var(--surface);border:1px solid var(--rule);border-radius:14px;padding:14px 18px;font-size:13px;line-height:1.55;color:#4E463F;margin-top:18px}
.rd .disclaimer svg{width:16px;height:16px;flex:none;margin-top:3px}

.rd .podbor{display:grid;grid-template-columns:1fr 1fr;gap:20px}@media(max-width:860px){.rd .podbor{grid-template-columns:1fr}}
.rd .quiz{background:linear-gradient(150deg,var(--brand) 0%,var(--blue) 130%);color:#FFF7F0;border-radius:20px;padding:24px 26px}
.rd .quiz h2, .rd .quiz h3{color:#fff;font-size:20px}
.rd .bar{display:flex;gap:5px;margin:14px 0 16px}
.rd .bar i{height:5px;flex:1;border-radius:3px;background:rgba(255,255,255,.22)}
.rd .bar i.on{background:var(--brass)}
.rd .opt{border:1px solid rgba(255,255,255,.3);border-radius:14px;padding:13px 16px;display:flex;align-items:center;gap:10px;font-size:14px;margin-bottom:9px}
.rd .opt.sel{border-color:var(--brass);background:rgba(201,146,39,.16);font-weight:800}
.rd .radio{width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.5);flex:none}
.rd .opt.sel .radio{border-color:var(--brass);display:grid;place-items:center}
.rd .opt.sel .radio i{width:8px;height:8px;border-radius:50%;background:var(--brass)}
.rd .form{background:var(--surface);border:1px solid var(--rule);border-radius:20px;padding:24px 26px;box-shadow:var(--shadow)}
.rd .field{border:1px solid var(--line2);border-radius:12px;padding:12px 14px;font-size:14px;color:#B7AC9E;background:#FBF9F5;margin-bottom:9px}
.rd .check{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.45;color:var(--muted);margin-bottom:9px}
.rd .box{width:15px;height:15px;border:1.5px solid var(--line2);border-radius:4px;flex:none;margin-top:2px;background:#fff}
.rd .form .btn{width:100%}
.rd .fine{font-size:11.5px;color:#B7AC9E;text-align:center;margin:9px 0 0}

.rd details{background:var(--surface);border:1px solid var(--rule);border-radius:14px;margin-bottom:9px;overflow:hidden}
.rd details[open]{background:var(--brass-tint);border-color:var(--brass)}
.rd summary{list-style:none;cursor:pointer;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px}
.rd summary::-webkit-details-marker{display:none}
.rd summary h3{font-family:Manrope,sans-serif;font-size:15px;font-weight:600}
.rd details[open] summary h3{font-weight:800}
.rd summary::after{content:"";width:24px;height:24px;border-radius:50%;background:var(--brand-tint);flex:none;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%238E2F4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
 background-size:12px;background-repeat:no-repeat;background-position:center}
.rd details[open] summary::after{background-color:var(--brass);transform:rotate(180deg);
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E")}
.rd details p{padding:0 18px 16px;margin:0;font-size:14px;line-height:1.6;color:#4E463F}

.rd .spb{background:var(--surface);border:1px solid var(--rule);border-radius:16px;padding:20px 22px}
.rd .mbar{position:fixed;bottom:0;left:0;right:0;background:var(--surface);border-top:1px solid var(--rule);padding:9px 14px;display:none;gap:9px;z-index:30;box-shadow:0 -6px 20px rgba(94,62,45,.1)}
.rd .mbar .btn{flex:1;font-size:13.5px;padding:10px 12px}@media(max-width:1000px){.rd .mbar{display:flex}.rd{padding-bottom:70px}}

.rd .dirs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}@media(max-width:980px){.rd .dirs{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.rd .dirs{grid-template-columns:1fr}}
.rd .dir{background:var(--surface);border:1px solid var(--rule);border-radius:16px;padding:18px 20px;box-shadow:var(--shadow)}
.rd .dir h3{font-size:16px;margin-bottom:10px;padding-bottom:9px;border-bottom:1px solid var(--rule);display:flex;align-items:center;gap:9px}
.rd .dir h3::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--brass);flex:none}
.rd .dir ul{list-style:none;margin:0;padding:0}
.rd .dir li{padding:7px 0;border-bottom:1px dashed var(--rule);display:flex;flex-wrap:wrap;align-items:baseline;gap:7px}
.rd .dir li:last-child{border-bottom:none}
.rd .dir li a{font-size:14px;font-weight:600}
.rd .dir .n{font-size:10.5px;font-weight:800;letter-spacing:.05em;color:var(--brass-ink);background:var(--brass-tint);border-radius:999px;padding:2px 8px;white-space:nowrap}

.rd .dir .note{flex-basis:100%;font-size:12px;color:var(--muted);line-height:1.4;
  background:none;border:0;border-radius:0;padding:0}
.rd .fmt{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}@media(max-width:900px){.rd .fmt{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.rd .fmt{grid-template-columns:1fr}}
.rd .fmt a{display:flex;flex-direction:column;gap:6px;background:var(--surface);border:1px solid var(--rule);border-radius:16px;padding:18px 20px;text-decoration:none;color:var(--ink);box-shadow:var(--shadow)}
.rd .fmt b{font-family:Lora,Georgia,serif;font-size:17px;font-weight:600}
.rd .fmt span{font-size:13px;color:var(--muted);line-height:1.45}
.rd .fmt .ic{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--brand-tint);margin-bottom:2px}
.rd .freshlist{list-style:none;margin:0;padding:0}
.rd .freshlist li{display:flex;gap:14px;align-items:baseline;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--rule)}
.rd .freshlist li:last-child{border-bottom:none}
.rd .freshlist a{font-weight:800;font-size:15px}
.rd .freshlist p{margin:3px 0 0;font-size:13px;color:var(--muted);line-height:1.45;max-width:62ch}
.rd .freshlist .when{font-size:12px;color:var(--muted);white-space:nowrap;font-weight:600}
.rd .stats{display:flex;gap:26px;flex-wrap:wrap;margin:14px 0 0}
.rd .stat b{display:block;font-family:Lora,Georgia,serif;font-size:26px;font-weight:700;color:var(--brand);line-height:1.1}
.rd .stat span{font-size:12.5px;color:var(--muted)}@media(max-width:900px){}

.rd .rd-sort { margin: 12px 0 0; font-size: 12.5px; }
.rd .rd-sort > span { color: var(--muted); font-weight: 800; }
.rd .rd-sort button {
	font: 600 12.5px/1 Manrope, system-ui, sans-serif;
	color: var(--ink); background: var(--surface);
	border: 1px solid var(--line2); border-radius: 999px;
	padding: 8px 14px; min-height: 34px; cursor: pointer;
}
.rd .rd-sort button:hover { border-color: var(--brand); color: var(--brand); }
.rd .rd-sort button.is-on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 800; }
.rd .rd-sort button[data-dir]::after { content: ' ↑'; font-size: 11px }
.rd .rd-sort button[data-dir="down"]::after { content: ' ↓' }
.rd .rd-sort button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.rd .pm .src { display:inline-block; margin-left:4px; color:var(--muted); text-decoration:none; font-size:12px;
  border:1px solid var(--line2); border-radius:5px; padding:0 4px; line-height:1.35; vertical-align:1px }
.rd .pm .src:hover { color:var(--brand); border-color:var(--brand) }
.rd .gap { font-size:12.5px; line-height:1.5; color:var(--muted); background:var(--brass-tint);
  border:1px solid var(--line2); border-radius:12px; padding:10px 13px; margin:10px 0 0 }
.rd .gap b { color:var(--ink); font-weight:700 }

.rd table thead th { position:sticky; top:0; z-index:2; background:var(--surface); box-shadow:0 1px 0 var(--rule) }
.rd .tw { max-height:78vh }

.rd table th:first-child, .rd table td:first-child {
  position:sticky; left:0; z-index:1; box-sizing:border-box; width:62px; min-width:62px;
  padding-left:9px; padding-right:9px; background:var(--surface) }
.rd table th:nth-child(2), .rd table td.cell-name {
  position:sticky; left:62px; z-index:1; min-width:190px; background:var(--surface);
  box-shadow:6px 0 8px -6px rgba(94,62,45,.22) }
.rd table tr.win td:first-child, .rd table tr.win td.cell-name { background:var(--brass-tint) }
.rd table thead th:first-child, .rd table thead th:nth-child(2) { z-index:3 }

.rd .calc { background:var(--surface); border:1px solid var(--rule); border-radius:16px; padding:16px 18px;
  margin-top:14px; box-shadow:var(--shadow) }

.rd .card-nums { display:grid; grid-template-columns:minmax(300px,1.15fr) minmax(220px,1fr);
  gap:10px 26px; align-items:center; margin-top:16px; padding-top:14px; border-top:1px solid var(--rule) }
.rd .card-nums .open { margin-top:0 }
.rd .stars { display:grid; gap:5px }
.rd .stars-g { display:grid; gap:3px }
.rd .stars-g i { display:grid; grid-template-columns:26px 1fr 44px; align-items:center; gap:8px; font-style:normal }
.rd .stars-g b { font-size:11.5px; color:var(--muted); font-weight:600; letter-spacing:.02em }
.rd .stars-g u { display:block; height:7px; border-radius:4px; background:var(--line2); text-decoration:none; overflow:hidden }
.rd .stars-g em { display:block; height:100%; background:var(--brass); font-style:normal }
.rd .stars-g i:nth-child(4) em, .rd .stars-g i:nth-child(5) em { background:var(--alert) }
.rd .stars-g s { font-size:12px; color:var(--ink); text-decoration:none; text-align:right;
  font-variant-numeric:tabular-nums }
.rd .stars-low { font-size:12.5px; color:var(--muted); font-variant-numeric:tabular-nums }
.rd .stars-low.warn { color:var(--alert-ink); font-weight:600 }
.rd .rate-low { font-variant-numeric:tabular-nums }
.rd .rate-low.warn { color:var(--alert-ink); font-weight:700 }
.rd .rate-when { color:var(--muted) }
.rd .stars-note { font-size:11.5px; color:var(--muted) }
@media (max-width: 760px) { .rd .card-nums { grid-template-columns:1fr; gap:14px } }
.rd .open { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:12px; font-size:12.5px; color:var(--muted) }
.rd .open-t { font-weight:600 }
.rd .open-bar { flex:0 0 120px; height:7px; border-radius:4px; background:var(--line2); overflow:hidden }
.rd .open-bar i { display:block; height:100%; background:var(--ok) }
.rd .open b { font-family:Lora,Georgia,serif; font-size:15px; color:var(--ink) }
.rd .open b span { font-size:11.5px; color:var(--muted); font-family:Manrope,sans-serif }
.rd .open-no { color:var(--muted) }
.rd sup.rank { font-size:10px; color:var(--muted); margin-left:3px; font-weight:600 }
.rd .chlog { list-style:none; margin:14px 0 0; padding:0; display:grid; gap:0; max-width:78ch }
.rd .chlog li { display:grid; grid-template-columns:150px 1fr; gap:16px; padding:12px 0;
  border-top:1px solid var(--rule); font-size:14px; line-height:1.55 }
.rd .chlog li:first-child { border-top:0 }
.rd .chlog .when { color:var(--muted); font-size:12.5px; font-weight:700; padding-top:2px }
@media (max-width: 640px) { .rd .chlog li { grid-template-columns:1fr; gap:4px } }

.rd .pt { display:inline; background:transparent; border:0; padding:0; margin:0; font:inherit;
  color:inherit; text-align:left; cursor:pointer; border-bottom:1px dotted var(--line2);
  border-radius:0; box-shadow:none; line-height:inherit; letter-spacing:inherit; text-transform:none }
.rd .src { white-space:nowrap }
.rd .pq .src-text { white-space:nowrap; color:var(--brand); border-bottom:1px solid var(--line2);
  text-decoration:none }
.rd .pq .src-text:hover { border-bottom-color:var(--brand) }
.rd .pt:hover { border-bottom-color:var(--brand); color:var(--brand) }
.rd .pt[aria-expanded="true"] { border-bottom-color:var(--brand) }
.rd .pq { display:block; margin-top:5px; font-size:12.5px; line-height:1.5; color:var(--muted);
  border-left:2px solid var(--line2); padding-left:10px }
.rd .sort-val { display:block; margin-top:3px; font-size:11.5px; color:var(--brand); font-weight:700;
  font-variant-numeric:tabular-nums }
.rd .rd-sort { margin-bottom:12px }
.rd .tw-note { font-size:12px; color:var(--muted); margin:10px 0 0; max-width:70ch; line-height:1.5 }
.rd .tw-note b { color:var(--ink) }

.rd .life { border-top: 1px solid var(--rule); margin-top: 14px; padding-top: 14px }
.rd .life-t { display: block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 9px }
.rd .life-t::before { content: 'Кроме уроков' }
.rd .life-b { display: flex; flex-wrap: wrap; gap: 7px }
.rd .life-b span { font-size: 12.5px; border: 1px solid var(--line2); border-radius: 999px;
  padding: 6px 12px; background: var(--brass-tint); color: var(--ink) }
.rd .media { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 12px }
.rd .media .vid, .rd .media a.vid { position: relative; padding: 0; border: 1px solid var(--rule); border-radius: 14px;
  overflow: hidden; background: #EFE9E1; cursor: pointer; text-align: left; display: block }
.rd .media .vid img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover }
.rd .media .noposter { display: block; width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2B2724 0%, #4A4038 100%) }
.rd .media .noposter.maps-ic { background: linear-gradient(135deg, #8E2F4A 0%, #4A4E7A 130%) }
.rd .media .play { position: absolute; left: 50%; top: 38%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(0,0,0,.25) }
.rd .media .play::after { content: ''; position: absolute; left: 17px; top: 13px; border-style: solid;
  border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #8E2F4A }
.rd .media .vid em { display: block; font-style: normal; font-size: 12.5px; line-height: 1.35;
  padding: 9px 11px; color: var(--ink); background: #fff }
.rd .media .vid:hover { border-color: var(--brand) }
.rd .media iframe, .rd .media video { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 14px;
  display: block; background: #000 }
.rd .media-note { font-size: 11.5px; color: var(--muted); margin: 8px 0 0 }
.rd .media .vid em .where { display:block; margin-top:3px; font-size:11.5px; color:var(--brand); font-weight:600 }
.rd .media .vid em .wh-maps::before { content: 'Открыть на Картах →' }
.rd .media .vid.out em { padding-bottom:11px }
.rd .media .opened { grid-column: 1 / -1 }
.rd .media .opened.maps iframe { aspect-ratio: auto; height: 420px }
@media (max-width: 720px) { .rd .media .opened.maps iframe { height: 320px } }

.rd .filters .chip { cursor: pointer; font: 600 12.5px/1 Manrope, system-ui, sans-serif;
  border: 1px solid var(--line2); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 11px }
.rd .filters .chip:hover { border-color: var(--brand); color: var(--brand) }
.rd .filters .chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff }
.rd .filters .rd-reset { background: transparent; border-style: dashed; color: var(--muted) }

.rd .tiles2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 24px 0 0 }
@media (max-width: 860px) { .rd .tiles2 { grid-template-columns: 1fr } }
.rd .quiz { margin: 20px 0 0 }
.rd .quiz-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  flex-wrap: wrap }
.rd .quiz-kicker { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: #EBD8E1; margin-bottom: 5px }
.rd .quiz-head h2, .rd .quiz-head h3 { margin: 0; font-size: 25px; line-height: 1.2; text-wrap: balance }
@media (max-width: 560px) { .rd .quiz-head h2, .rd .quiz-head h3 { font-size: 20px } }
.rd .quiz-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap }
.rd .rd-step { font-size: 12px; color: #E8D3DD; font-weight: 700; white-space: nowrap }
.rd .rd-count { font-size: 12.5px; font-weight: 800; color: #F7E6C9; background: rgba(255,255,255,.12);
  border-radius: 999px; padding: 5px 11px; white-space: nowrap; font-variant-numeric: tabular-nums }
.rd .rd-count:empty { display: none }
.rd .rd-count.warn { color: #FFE0B2 }
.rd .rd-count.zero { color: #FFD2D2; background: rgba(176,67,67,.35) }
.rd .quiz .q-sub { font-size: 13px; color: #EBD8E1; margin: 0 0 14px; max-width: 72ch; line-height: 1.5 }
.rd .quiz .opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px }
.rd .quiz .opt { margin: 0 }

.rd .quiz .opt-n { margin-left: auto; font-family: Lora, Georgia, serif; font-size: 16px;
  font-weight: 700; color: #F3D9A6 }
.rd .quiz .opt.sel .opt-n { color: #fff }
.rd .quiz .rd-nav { display: flex; gap: 10px; margin-top: 18px }
.rd .quiz .rd-back { border-color: rgba(255,255,255,.35); color: #F2E4EA; background: transparent }
.rd .quiz .rd-next { background: #fff; color: #8E2F4A }
.rd .quiz .rd-hint { font-size: 11.5px; color: #E8D3DD; margin: 14px 0 0; max-width: 80ch }
.rd .rd-again { background: #fff; color: #8E2F4A }
.rd .rd-again-wrap { margin-top: 14px }
.rd .rd-mini-note { font-size: 12.5px; color: #E8D3DD; margin: 8px 0 0; line-height: 1.5 }
.rd .rd-mini-note.big { font-size: 20px; font-weight: 800; color: #fff; margin: 0;
  font-family: Lora, Georgia, serif }
.rd .rd-result-more { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; line-height: 1.6 }
.rd .rd-result-more a { color: var(--brand) }

.rd [hidden] { display: none !important }
.rd .quiz .opt { width: 100%; text-align: left; cursor: pointer; background: transparent;
  color: inherit; font: inherit }
.rd .quiz .opt:hover { border-color: rgba(255,255,255,.6) }
.rd .quiz .rd-next[disabled] { opacity: .45; cursor: not-allowed }
.rd .quiz .rd-back[disabled] { opacity: .35; cursor: not-allowed }
.rd .rd-result { background: var(--surface); border: 1px solid var(--rule); border-radius: 20px;
  padding: 20px 22px; box-shadow: var(--shadow); margin-bottom: 16px }
.rd .rd-pick { display: flex; align-items: center; gap: 12px; border: 1px solid var(--rule);
  border-radius: 14px; padding: 11px 14px; margin-bottom: 9px; background: var(--brass-tint) }
.rd .rd-pick b { font-size: 14px }
.rd .rd-pick p { margin: 2px 0 0; font-size: 12px; color: var(--muted) }
.rd .rd-pick .btn { margin-left: auto; padding: 8px 14px; font-size: 12.5px }
.rd .rd-result-wrap { padding: 0 }
.rd .rd-result { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px;
  padding: 18px 20px; margin: 18px 0 0; box-shadow: var(--shadow) }
.rd .rd-pick-go { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end }
@media (max-width: 560px) { .rd .rd-pick-go { margin-left: 0; width: 100%; justify-content: flex-start } }
.rd .btn.quiet { background: transparent; border: 1px solid var(--line2); color: var(--muted); font-weight: 600 }
.rd .btn.quiet:hover { border-color: var(--brand); color: var(--brand) }

.rd, .rd p, .rd a, .rd span, .rd div, .rd li, .rd ul, .rd ol, .rd td, .rd th,
.rd b, .rd strong, .rd em, .rd small, .rd label, .rd summary,
.rd article, .rd aside, .rd section, .rd header, .rd footer, .rd figure {
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.rd h1, .rd h2, .rd h3, .rd h4,
.rd .medal, .rd .stat b, .rd .fmt b {
  font-family: Lora, Georgia, serif;
}
.rd summary h3 { font-family: Manrope, system-ui, sans-serif; }
.rd p { line-height: 1.62; }
.rd td, .rd th { line-height: 1.5; }
.rd a { box-shadow: none; }

.rd .hero .staff{display:none}
.rd .hero-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:10px}
.rd .hero-meta .crumbs{margin:0}
.rd .hero-meta-dot{color:var(--line2)}
.rd .hero-byline{font-size:12.5px;color:var(--muted);font-weight:600}
.rd .hero-byline a{font-weight:700}
.rd .hero h1{max-width:38ch}

@media(max-width:560px){.rd .hero h1{font-size:22px;line-height:1.18}}
.rd .whero{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:start;margin-top:16px}
@media(max-width:900px){.rd .whero{grid-template-columns:1fr;gap:12px}}

.rd .whero > .quiz{margin:0;box-shadow:0 16px 38px rgba(94,62,45,.18)}

@media(max-width:900px){
  .rd .whero > .quiz{order:2}
  .rd .whero-top{order:1}
}
@media(max-width:560px){
  .rd .whero > .quiz{padding:16px 15px 18px;border-radius:17px}
  
  .rd .quiz .rd-hint{display:none}
  .rd .quiz .rd-back[disabled]{display:none}
  .rd .quiz .rd-nav{margin-top:14px}
  .rd .quiz .opts{gap:8px}
  .rd .quiz .opt{padding:11px 14px}
}
.rd .whero-q{background:linear-gradient(150deg,var(--brand) 0%,var(--blue) 130%);color:#FFF7F0;
  border-radius:20px;padding:20px 22px;box-shadow:0 16px 38px rgba(94,62,45,.18)}
.rd .whero-q a{color:#fff}
.rd .whero-q a.wnext{color:var(--brand)}
.rd .wk{display:block;font-size:11.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#F0CBD8}
.rd .wq{font-family:Lora,Georgia,serif;font-size:23px;font-weight:700;color:#fff;line-height:1.2;margin:6px 0 0}
@media(max-width:560px){.rd .wq{font-size:19px}}
.rd .wbar{display:flex;gap:5px;margin:12px 0 14px}
.rd .wbar i{height:5px;flex:1;border-radius:3px;background:rgba(255,255,255,.22)}
.rd .wbar i.on{background:var(--brass)}
.rd .wopts{display:grid;grid-template-columns:1fr 1fr;gap:9px}
@media(max-width:330px){.rd .wopts{grid-template-columns:1fr}}
.rd .wopt{border:1px solid rgba(255,255,255,.3);border-radius:14px;padding:11px 14px;
  display:flex;align-items:center;justify-content:space-between;gap:10px;white-space:nowrap;
  font-size:14px;min-height:46px;color:#FFF7F0;text-decoration:none;cursor:pointer;min-width:0}
.rd .wopt:hover{border-color:rgba(255,255,255,.6)}
.rd .wopt b{font-family:Lora,Georgia,serif;font-size:16px;color:#F3D9A6}
.rd .wopt.is-on{border-color:var(--brass);background:rgba(201,146,39,.16);font-weight:800}
.rd .wopt.is-on b{color:#fff}
.rd .wfoot{display:flex;align-items:center;gap:14px;margin-top:14px;flex-wrap:wrap}
.rd .wcount{font-size:13px;color:#EBD8E1}
.rd .wcount b{font-family:Lora,Georgia,serif;font-size:22px;color:#fff;margin:0 3px}
.rd .wnext{margin-left:auto;background:#fff;color:var(--brand);font-weight:800;font-size:14px;
  border-radius:999px;padding:11px 22px;min-height:44px;display:inline-flex;align-items:center;text-decoration:none}
.rd .wnext:hover{background:#FBEFF3}
.rd .whint{font-size:11.5px;color:#E8D3DD;margin:12px 0 0;line-height:1.45}
@media(max-width:560px){
  .rd .whint{display:none}
  .rd .whero-q{padding:15px 15px 16px;border-radius:17px}
  .rd .wopt{font-size:13px;padding:9px 12px;min-height:44px;border-radius:12px}
  .rd .wnext{font-size:13px;padding:9px 16px;min-height:40px}
  .rd .hero-byline{font-size:11.5px}
  
  .rd .wfoot{flex-wrap:nowrap;gap:10px}
  .rd .wcount{font-size:12px;min-width:0}
  .rd .wcount b{font-size:19px}
  
  .rd .hero-meta .crumbs, .rd .hero-meta-dot, .rd .hero-meta .ava{display:none}
  .rd .hero-meta{margin-bottom:8px}
  
  .rd .hero{padding-top:14px}
  .rd .whero{margin-top:12px}
}

.rd .whero-top{display:flex;flex-direction:column;gap:9px}
.rd .wtop-h{font-size:11.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.rd .wrow{background:var(--surface);border:1px solid var(--rule);border-radius:14px;padding:11px 14px;
  display:flex;flex-direction:column;gap:5px;box-shadow:0 6px 18px rgba(94,62,45,.06)}
.rd .wrow.is-aff{border-color:#E7D3BA;background:linear-gradient(180deg,#FEFBF4,var(--surface) 52%)}
.rd .wrow-t{display:flex;align-items:baseline;gap:9px}
.rd .wrow-n{width:20px;height:20px;border-radius:50%;flex:none;display:grid;place-items:center;
  font-family:Lora,Georgia,serif;font-size:11.5px;font-weight:700;
  border:1.5px solid var(--line2);color:var(--muted);font-variant-numeric:tabular-nums}
.rd .wrow.is-aff .wrow-n{background:var(--brass);border-color:var(--brass);color:#fff}
.rd .wrow-name{font-family:Lora,Georgia,serif;font-size:15px;font-weight:700;color:var(--ink);
  line-height:1.25;text-decoration:none}
.rd .wrow-name:hover{color:var(--brand)}
.rd .wrow-f{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.rd .wrow-f b{color:var(--ink);font-weight:800}
.rd .wrow-f .is-free{color:var(--ok);font-weight:800}
.rd .wrow-m{font-size:11.5px;color:#6B5F55;line-height:1.4;margin:0}
.rd .wrow-disc{font-size:10.5px;color:var(--brass-ink);line-height:1.35;margin:0}
.rd .wall{font-size:12.5px;font-weight:800;color:var(--brand);border-top:1px solid var(--rule);
  padding-top:10px;text-decoration:none}

.rd .hero-text{background:var(--surface);border-top:1px solid var(--rule);padding:22px 0}
.rd .hero-text .lead{max-width:74ch}
.rd .hero-text .lead-2{margin-top:10px}

.rd .lead-row{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:26px;align-items:center}
.rd .lead-row .lead-2{margin:0}
.rd .facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.rd .fact{background:var(--surface);border:1px solid var(--rule);border-radius:14px;padding:14px 16px;
  text-decoration:none;display:block;transition:border-color .15s}
.rd .fact:hover{border-color:var(--brand);text-decoration:none}
.rd .fact b{display:block;font-family:Lora,Georgia,serif;font-size:23px;color:var(--brand);line-height:1.1}
.rd .fact span{display:block;font-size:12.5px;line-height:1.45;color:var(--muted);margin:6px 0 8px}
.rd .fact i{font-style:normal;font-size:12px;font-weight:800;color:var(--blue)}
@media(max-width:1000px){
  .rd .lead-row{grid-template-columns:1fr;gap:16px}
  .rd .facts{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  
  .rd .facts{display:flex;gap:8px}
  .rd .facts .fact{width:min(58vw,230px)}
  .rd .fact{padding:11px 12px;border-radius:12px}
  .rd .fact b{font-size:19px}
  .rd .fact span{font-size:11.5px;margin:4px 0 6px}
  .rd .fact i{font-size:11.5px}
}

.rd .sum-bar{display:flex;flex-wrap:wrap;gap:8px 28px;align-items:baseline;
  border-top:1px solid var(--rule);margin-top:20px;padding:14px 0 0;font-size:13px;color:var(--muted)}
.rd .sum-bar b{font-family:Lora,Georgia,serif;font-size:18px;color:var(--ink);margin-right:6px}
.rd .sum-bar-note{flex:1 0 100%;margin:2px 0 0;font-size:12.5px;line-height:1.5}
@media(max-width:560px){.rd .sum-bar{gap:6px 18px}.rd .sum-bar b{font-size:16px}}

@media(max-width:760px){
  .rd .swipe{display:flex;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -24px;padding:1px 24px 3px;
    
    scroll-padding:0 24px;
    -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 34px),transparent 100%);
    mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 34px),transparent 100%)}
  .rd .swipe::-webkit-scrollbar{display:none}
  .rd .swipe > *{flex:none;scroll-snap-align:start}

  .rd .toc{padding:10px 0}
  .rd .toc .wrap{display:block}
  .rd .toc b{display:block;margin:0 0 7px}
  .rd .filters{margin-bottom:12px}
}

.rd .site-link{display:inline-flex;align-items:center;gap:4px;margin-top:6px;font-size:12px;
  font-weight:700;color:var(--blue);text-decoration:none;line-height:1.2;
  border-bottom:1px solid rgba(61,78,156,.35)}
.rd .site-link:hover{color:var(--brand);border-color:var(--brand)}

.rd .cx-t{display:block;font-family:Lora,Georgia,serif;font-size:19px;margin:0 0 4px}
.rd .cx-sub{font-size:13px;color:var(--muted);margin:0 0 14px}
.rd .cx-row{display:flex;gap:22px;flex-wrap:wrap;margin:0 0 14px}
.rd .cx-f{min-width:0}
.rd .cx-f > span{display:block;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--muted);font-weight:800;margin:0 0 6px}
.rd .cx-opts{display:flex;gap:6px;flex-wrap:wrap}
.rd .cx-opt{border:1px solid var(--line2);background:var(--surface);border-radius:999px;padding:8px 16px;
  font:600 13px Manrope,system-ui,sans-serif;color:var(--ink);cursor:pointer;min-height:38px}
.rd .cx-opt:hover{border-color:var(--brand);color:var(--brand)}
.rd .cx-opt.on{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:800}
.rd .cx-sum{font-size:15px;margin:0 0 12px}
.rd .cx-sum b{font-family:Lora,Georgia,serif;font-size:20px}
.rd .cx-gt{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);
  font-weight:800;margin:14px 0 6px}
.rd .cx-gt:first-of-type{margin-top:0}
.rd .cx-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.rd .cx-list li{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:10px;align-items:baseline;
  padding:9px 10px;border-radius:10px;background:var(--paper)}
.rd .cx-list li:nth-child(odd){background:var(--surface2)}
.rd .cx-n{color:var(--muted);font-size:11.5px;font-variant-numeric:tabular-nums}
.rd .cx-name{font-weight:700;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line2)}
.rd .cx-name:hover{color:var(--brand);border-color:var(--brand)}
.rd .cx-free{color:var(--ok-ink);font-size:11px;font-weight:800}
.rd .cx-go{display:block;font-size:11.5px;font-weight:700;color:var(--blue);text-decoration:none;margin-top:2px}
.rd .cx-go:hover{color:var(--brand)}
.rd .cx-sum-cell{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:800}
.rd .cx-per{display:block;font-size:11px;color:var(--muted);font-weight:400}
.rd .cx-more{margin:12px 0 0;font-size:13px}
@media(max-width:560px){
  .rd .calc{padding:15px 14px}
  .rd .cx-row{gap:14px}
  
  .rd .cx-opts{gap:5px}
  .rd .cx-opt{padding:8px 12px;font-size:12.5px}
  
  .rd .cx-free{display:block;margin-top:2px}
}

.rd .dirs-nav{display:flex;align-items:center;gap:10px;margin:0 0 18px}
.rd .dirs-nav > b{font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);flex:none}
.rd .dirs-nav .toc-line{flex:1 1 0;min-width:0}
@media(max-width:760px){
  .rd .dirs-nav{display:block}
  .rd .dirs-nav > b{display:block;margin:0 0 7px}
  
  .rd .fmt{display:flex;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;
    scrollbar-width:none;margin:0 -24px;padding:1px 24px 4px;scroll-padding:0 24px;
    -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 34px),transparent 100%);
    mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 34px),transparent 100%)}
  .rd .fmt::-webkit-scrollbar{display:none}
  .rd .fmt > a{flex:none;width:min(76vw,300px);scroll-snap-align:start}
}

.rd .cat-tools{display:none}
.rd-js .rd .cat-tools{display:grid;gap:10px;margin:0 0 16px}
.rd .cat-find{display:block}
.rd .cat-q{width:100%;min-height:44px;border:1px solid var(--line2);border-radius:999px;
  padding:10px 18px;background:var(--surface);color:var(--ink);
  font:600 14px Manrope,system-ui,-apple-system,sans-serif}
.rd .cat-q::placeholder{color:var(--muted);font-weight:400}
.rd .cat-q:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-color:var(--brand)}
.rd .cat-cuts{display:flex;gap:7px;flex-wrap:wrap}
.rd .facet{border:1px solid var(--line2);background:var(--surface);border-radius:999px;
  padding:8px 14px;font:600 13px Manrope,system-ui,-apple-system,sans-serif;color:var(--ink);
  cursor:pointer;min-height:38px;white-space:nowrap}
.rd .facet b{font-weight:800;color:var(--muted);font-variant-numeric:tabular-nums}
.rd .facet:hover{border-color:var(--brand);color:var(--brand)}
.rd .facet[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:#fff}
.rd .facet[aria-pressed="true"] b{color:rgba(255,255,255,.78)}
.rd .cat-out{margin:0;font-size:12.5px;color:var(--muted);font-weight:600;min-height:18px}
.rd .dirs-nav a.off{opacity:.4}

.rd #nezavisimost .stats{margin:0 0 12px}
.rd #nezavisimost .lead-2{margin:0}

.rd #svezhee .freshlist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
@media(max-width:760px){.rd #svezhee .freshlist{grid-template-columns:1fr}}

.rd .fmt-razdely{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.rd .fmt-razdely a{gap:3px}
.rd .fmt-razdely b{font-size:16px}
.rd .fmt-razdely span{font-weight:700;color:var(--brand);font-size:12.5px}
@media(max-width:760px){
  
  .rd .fmt.fmt-razdely{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:0;
    -webkit-mask-image:none;mask-image:none}
  .rd .fmt.fmt-razdely > a{width:auto;padding:14px 15px}
}

.rd .msheet{width:100%;max-width:min(760px,100%);max-height:82vh;margin:auto auto 0;padding:0;border:0;
  border-radius:18px 18px 0 0;background:var(--surface);color:var(--ink);
  box-shadow:0 -10px 40px rgba(94,62,45,.24);overflow:hidden}
.rd .msheet::backdrop{background:rgba(36,31,27,.5)}
.rd .msheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 18px;border-bottom:1px solid var(--rule)}
.rd .msheet-head b{font-family:Lora,Georgia,serif;font-size:17px;font-weight:600}
.rd .msheet-x{border:0;background:none;font-size:17px;line-height:1;color:var(--muted);
  cursor:pointer;min-width:44px;min-height:44px}
.rd .msheet-x:hover{color:var(--brand)}
.rd .msheet-body{overflow-y:auto;max-height:calc(82vh - 58px);padding:14px 18px 22px;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
@media(max-width:560px){.rd .msheet-body{grid-template-columns:1fr}}
.rd .msheet-col > b{display:block;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--muted);margin:0 0 4px}
.rd .msheet-col ul{list-style:none;margin:0;padding:0}
.rd .msheet-col li{display:flex;gap:8px;align-items:baseline;padding:7px 0;
  border-bottom:1px dashed var(--rule)}
.rd .msheet-col li:last-child{border-bottom:none}
.rd .msheet-col a{font-size:14px;font-weight:600}
.rd .msheet-col .n{font-size:10.5px;font-weight:800;letter-spacing:.05em;color:var(--brass-ink);
  background:var(--brass-tint);border-radius:999px;padding:2px 8px;white-space:nowrap}

body:has(.msheet[open]) .rd-up{display:none}

.rd .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}

.rd .tile .tl-tr0::before { content: 'Пробный – ' }  
.rd .tile .tl-trp::before { content: 'Пробный: ' }
.rd .rate .rv::after { content: ' отзывов' }
.rd .rate .rate-when::before { content: 'проверено ' }
.rd .card-full .gap-t::before { content: 'Заявлено и на деле:' }
.rd .media .vid em .wh-out::before { content: 'Смотреть ' }
.rd .media .vid em .wh-out::after { content: ' →' }
.rd .life-b .ev::before { content: 'Последнее событие: ' }
.rd .open .open-t::before { content: 'Открытость данных' }

.rd .rd-text { max-width: 720px; }
.rd .rd-text h2 { margin: 28px 0 10px; }
.rd .rd-text p, .rd .rd-text li { line-height: 1.65; }
.rd .rd-text ul { margin: 10px 0 10px 20px; }
