#rdguide .wrap {
position: relative; z-index: 5; max-width: 1040px; margin: 0 auto;
          padding: 100px 24px 140px;
}
@media (min-width: 1000px) {
#rdguide .wrap {
max-width: min(1040px, calc(100vw - 420px));
}

  
}
#rdguide .hero {
padding: 50px 40px 46px; text-align: center; background: var(--surface-solid); border: 1px solid var(--glass-border); border-radius: 26px; box-shadow: var(--shadow), var(--glass-edge); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass);
}
#rdguide .hero h1 {
margin: 0 auto; max-width: 20ch; font-family: 'Old Standard TT', serif; font-size: clamp(34px, 5.4vw, 60px); font-weight: 700; letter-spacing: -.015em; line-height: 1.06;
}
#rdguide .hero .sub {
margin: 12px auto 0; max-width: 64ch; color: var(--muted); font-size: 15.5px;
}
#rdguide .hero .sub b {
color: var(--text); font-weight: 600;
}
#rdguide .hero-grid {
display: flex; flex-direction: column; align-items: center; gap: 28px;
}
#rdguide .hero-mark {
order: -1; min-width: 0;
}
#rdguide .hero p {
margin: 0 0 13px; font-size: 15.5px; line-height: 1.68;
}
#rdguide .hero p:last-child {
margin-bottom: 0;
}
#rdguide .hero-mark .emblem-gold {
max-width: 300px;
}
#rdguide .hero-mark .emblem {
position: relative; width: min(300px, 62vw); aspect-ratio: 1; margin: 0 auto; border-radius: 28px; overflow: hidden;
    background: radial-gradient(118% 118% at 50% 30%, #f8ecc2 0%, #eccb72 34%, #c19338 62%, #6d4d1c 100%);
    box-shadow: 0 30px 70px -28px rgba(122, 86, 22, .68), inset 0 0 0 1px rgba(255, 240, 200, .42), inset 0 1px 0 rgba(255, 255, 255, .6);
}
#rdguide .hero-mark .emblem svg {
display: block; width: 100%; height: 100%;
}
#rdguide .hero-mark .emblem .em-core {
animation: emPulse 4.6s ease-in-out infinite;
}
#rdguide .hero-mark .emblem .em-core-halo {
animation: emHalo 4.6s ease-in-out infinite;
}
#rdguide .hero-mark .emblem-cap {
margin: 16px 0 0; text-align: center; font-family: 'Old Standard TT', serif; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
#rdguide .hero-mark .emblem * {
animation: none !important;
}
 
}
@keyframes emPulse {
 0%, 100% { opacity: .82; } 50% { opacity: 1; } 
}
@keyframes emHalo {
 0%, 100% { opacity: .5; } 50% { opacity: .95; } 
}
@keyframes rd-spin {
 to { transform: rotate(360deg) } 
}
@keyframes rd-spin-rev {
 to { transform: rotate(-360deg) } 
}
@keyframes rd-pulse {
 0%,100% { transform: scale(1); opacity: 1 } 50% { transform: scale(1.6); opacity: .7 } 
}
@keyframes rd-soft {
 0%,100% { opacity: .5; transform: scale(.94) } 50% { opacity: 1; transform: scale(1.07) } 
}
@media (prefers-reduced-motion: reduce) {
#rdguide .hero-mark .emblem * {
animation: none !important;
}
 
}
#rdguide .rail {
position: fixed; top: 50%; right: 18px; transform: translateY(-50%); z-index: 7;
          width: 210px; max-height: min(72vh, 620px); display: flex; flex-direction: column;
          padding: 12px 10px; background: var(--surface-solid); border: 1px solid var(--glass-border);
          border-radius: 16px; box-shadow: var(--shadow), var(--glass-edge);
          backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass);
}
#rdguide .rail-h {
margin: 0 0 8px; padding: 0 4px; color: var(--muted); font-size: 11px; font-weight: 700;
            letter-spacing: .08em; text-transform: uppercase;
}
#rdguide .rail-bar {
position: relative; height: 3px; margin: 0 4px 10px; background: var(--border); border-radius: 2px;
}
#rdguide .rail-bar > i {
position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); border-radius: 2px;
                  transition: width .18s ease-out;
}
#rdguide .rail ol {
margin: 0; padding: 0 0 0 2px; overflow-y: auto; list-style: none; counter-reset: rail;
             scrollbar-width: thin;
}
#rdguide .rail li {
counter-increment: rail;
}
#rdguide .rail a {
position: relative; display: flex; align-items: baseline; gap: 7px; padding: 5px 8px 5px 16px;
            color: var(--muted); border-radius: 8px; font-size: 12.5px; line-height: 1.3;
            text-decoration: none; transition: color var(--motion), background-color var(--motion);
}
#rdguide .rail a::before {
content: counter(rail, decimal-leading-zero); position: absolute; left: 0;
                    color: var(--muted); opacity: .45; font-size: 10px; font-weight: 700;
                    font-variant-numeric: tabular-nums;
}
#rdguide .rail a:hover {
color: var(--text); background: var(--surface-raised);
}
#rdguide .rail a:focus-visible {
outline: 2px solid var(--accent); outline-offset: 1px;
}
#rdguide .rail a.on {
color: #fff; background: var(--accent); font-weight: 600;
}
#rdguide .rail a.on::before {
color: #fff; opacity: .8;
}
#rdguide .rail-meta {
margin: 9px 0 0; padding: 8px 4px 0; color: var(--muted); border-top: 1px solid var(--border);
               font-size: 11.5px; font-variant-numeric: tabular-nums;
}
#rdguide .rail-meta b {
color: var(--text); font-weight: 600;
}
@media (max-width: 999px) {
#rdguide .rail {
position: fixed; top: 62px; right: 8px; left: 8px; width: auto; transform: none;
            max-height: none; flex-direction: column; padding: 7px 9px 6px; border-radius: 13px;
}
#rdguide .rail-h, #rdguide .rail-meta {
display: none;
}
#rdguide .rail-bar {
margin: 0 0 7px;
}
#rdguide .rail ol {
display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 4px;
               scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 0;
}
#rdguide .rail ol::-webkit-scrollbar {
display: none;
}
#rdguide .rail li {
flex: 0 0 auto;
}
#rdguide .rail a {
padding: 6px 12px; white-space: nowrap; border-radius: 999px; font-size: 12.5px;
}
#rdguide .rail a::before {
display: none;
}
#rdguide .wrap {
padding-top: 124px;
}

  
}
#rdguide .layout {
display: grid; grid-template-columns: minmax(0, 1fr); gap: 0;
}
#rdguide .layout > * {
min-width: 0;
}
#rdguide .toc {
position: sticky; top: 76px; z-index: 6; margin: 26px 0 0; padding: 16px 15px 14px; background: var(--surface-solid); border: 1px solid var(--glass-border); border-radius: 18px; box-shadow: var(--shadow), var(--glass-edge); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass);
}
#rdguide .toc-h {
margin: 0 0 9px; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
#rdguide .toc ol {
margin: 0; padding: 0; list-style: none; counter-reset: toc;
}
#rdguide .toc li {
counter-increment: toc;
}
#rdguide .toc a {
position: relative; display: block; padding: 7px 10px 7px 30px; color: var(--muted); border-radius: 9px; font-size: 13.5px; font-weight: 500; line-height: 1.35; text-decoration: none; transition: color var(--motion), background-color var(--motion);
}
#rdguide .toc a::before {
content: counter(toc, decimal-leading-zero); position: absolute; top: 7px; left: 2px; color: var(--muted); opacity: .5; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums;
}
#rdguide .toc a:hover {
color: var(--text); background: var(--surface-raised);
}
#rdguide .toc a:focus-visible {
outline: 2px solid var(--accent); outline-offset: 1px;
}
#rdguide .toc a.on {
color: #fff; background: var(--accent); font-weight: 600;
}
#rdguide .toc a.on::before {
color: #fff; opacity: .85;
}
#rdguide .toc-meta {
margin: 12px 0 0; padding-top: 11px; color: var(--muted); border-top: 1px solid var(--border); font-size: 12.5px; font-variant-numeric: tabular-nums;
}
#rdguide .toc-meta b {
color: var(--text); font-weight: 600;
}
#rdguide section {
scroll-margin-top: 132px; margin-top: 26px; padding: 32px 34px; background: var(--surface-solid); border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: var(--shadow), var(--glass-edge); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass);
}
#rdguide section > h2 {
margin: 0 0 8px; font-family: 'Old Standard TT', serif; font-size: clamp(28px, 3.2vw, 44px); font-weight: 700; letter-spacing: -.02em; line-height: 1.08;
}
#rdguide section > h2::after {
content: ""; display: block; width: 72px; height: 3px; margin-top: 16px; border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(255, 106, 0, 0)); transform-origin: left; transform: scaleX(0); transition: transform .7s var(--ease);
}
#rdguide section.am-in > h2::after {
transform: scaleX(1);
}
#rdguide section > .dek {
margin: 0 0 22px; color: var(--muted); font-size: 14.5px; line-height: 1.6;
}
#rdguide section h3 {
margin: 26px 0 9px; font-size: 16.5px; font-weight: 650;
}
#rdguide section p {
margin: 0 0 12px; font-size: 15px; line-height: 1.68;
}
#rdguide section p:last-child {
margin-bottom: 0;
}
#rdguide .faces {
display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px;
}
#rdguide .face {
padding: 14px 15px; text-align: left; cursor: pointer; background: var(--surface-raised); border: 1px solid var(--border); border-radius: 14px; font: inherit; transition: border-color .18s, background-color .18s;
}
#rdguide .face:hover {
border-color: rgba(255,106,0,.4);
}
#rdguide .face:focus-visible {
outline: 2px solid var(--accent); outline-offset: 2px;
}
#rdguide .face .fn {
display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 16px; font-weight: 650;
}
#rdguide .face .fn i {
width: 11px; height: 11px; border-radius: 50%;
}
#rdguide .face .fa {
color: var(--muted); font-size: 12.5px;
}
#rdguide .face[aria-selected="true"] {
background: var(--surface-solid); border-color: var(--accent);
}
#rdguide .face-body {
padding: 18px 20px; background: var(--surface-raised); border: 1px solid var(--border); border-radius: 14px;
}
#rdguide .face-body .fb-t {
margin: 0 0 7px; font-size: 16px; font-weight: 650;
}
#rdguide .face-body p {
margin: 0; font-size: 14.5px;
}
#rdguide .lv {
display: block; margin: 0; padding: 0; list-style: none;
}
#rdguide .lv li {
display: grid; grid-template-columns: 168px minmax(0, 1fr) 104px; gap: 16px; align-items: start; padding: 14px 0; border-top: 1px solid var(--border);
}
#rdguide .lv li:first-child {
border-top: 0;
}
#rdguide .lv .lvn {
display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; line-height: 1.35;
}
#rdguide .lv .lvn i {
width: 26px; height: 26px; flex: 0 0 auto; color: #fff; background: var(--muted); border-radius: 7px; font-size: 13px; font-style: normal; font-weight: 700; line-height: 26px; text-align: center;
}
#rdguide .lv li.has .lvn i {
background: var(--accent);
}
#rdguide .lv .lvd {
font-size: 14px; line-height: 1.5;
}
#rdguide .lv .lvd small {
display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; line-height: 1.45;
}
#rdguide .lv .lvc {
font-size: 13px; font-weight: 600; line-height: 1.45; text-align: right;
}
#rdguide .lv .lvc b {
font-variant-numeric: tabular-nums;
}
#rdguide .lv .lvc small {
display: block; margin-top: 3px; color: var(--muted); font-size: 11.5px; font-weight: 400;
}
#rdguide .steps {
margin: 0; padding: 0; list-style: none;
}
#rdguide .steps li {
position: relative; padding: 0 0 20px 30px;
}
#rdguide .steps li::before {
content: ""; position: absolute; top: 7px; left: 6px; width: 11px; height: 11px; background: var(--muted); border-radius: 50%;
}
#rdguide .steps li.done::before {
background: #2C8B77;
}
#rdguide .steps li.wip::before {
background: var(--accent); box-shadow: 0 0 0 4px rgba(255,106,0,.16);
}
#rdguide .steps li::after {
content: ""; position: absolute; top: 18px; bottom: -2px; left: 11px; width: 1px; background: var(--border);
}
#rdguide .steps li:last-child {
padding-bottom: 0;
}
#rdguide .steps li:last-child::after {
display: none;
}
#rdguide .steps .st-t {
margin: 0 0 3px; font-size: 15.5px; font-weight: 650;
}
#rdguide .steps .st-s {
margin: 0 0 5px; color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
}
#rdguide .steps .st-p {
margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.62;
}
#rdguide .valleys {
display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 11px;
}
#rdguide .val {
padding: 13px 14px; background: var(--surface-raised); border: 1px solid var(--border); border-radius: 13px;
}
#rdguide .val .vn {
display: flex; align-items: center; gap: 8px; margin-bottom: 5px; font-size: 14.5px; font-weight: 600;
}
#rdguide .val .vn i {
width: 9px; height: 9px; border-radius: 50%;
}
#rdguide .val .vc2 {
color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums;
}
#rdguide .notes {
margin: 22px 0 0; padding: 16px 18px; background: var(--surface-raised); border: 1px solid var(--border); border-radius: 14px;
}
#rdguide .notes p {
margin: 0 0 9px; font-size: 14.5px; line-height: 1.65;
}
#rdguide .notes p:last-child {
margin-bottom: 0;
}
#rdguide details {
margin: 0 0 9px; background: var(--surface-raised); border: 1px solid var(--border); border-radius: 13px;
}
#rdguide details[open] {
background: var(--surface-solid);
}
#rdguide summary {
padding: 13px 16px; cursor: pointer; font-size: 15px; font-weight: 600; list-style: none;
}
#rdguide summary::-webkit-details-marker {
display: none;
}
#rdguide summary::after {
content: "＋"; float: right; color: var(--muted); font-size: 15px;
}
#rdguide details[open] summary::after {
content: "－";
}
#rdguide summary:focus-visible {
outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 13px;
}
#rdguide details .dbody {
padding: 0 16px 15px;
}
#rdguide details .dbody p {
margin: 0 0 9px; font-size: 14.5px; line-height: 1.65;
}
#rdguide details .dbody p:last-child {
margin-bottom: 0;
}
#rdguide details .dbody ul {
margin: 0 0 9px 18px; font-size: 14.5px; line-height: 1.62;
}
#rdguide details .dbody li {
margin-bottom: 4px;
}
#rdguide .mark {
padding: 0 3px; background: rgba(255,106,0,.15); border-radius: 3px;
}
#rdguide .fig {
margin: 20px 0; padding: 16px 16px 12px; background: var(--surface-raised); border: 1px solid var(--border); border-radius: 14px;
}
#rdguide .viz {
position: relative; margin: 20px 0 24px; padding: 18px 16px 14px; background: var(--surface-raised); border: 1px solid var(--border); border-radius: 16px;
}
#rdguide .chain-hot {
animation: chainPulse 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center;
}
#rdguide .chain-dash {
animation: progFlow 1.5s linear infinite;
}
@keyframes chainPulse {
 0%, 100% { opacity: 1; } 50% { opacity: .45; } 
}
@media (prefers-reduced-motion: reduce) {
#rdguide .chain-hot, #rdguide .chain-dash {
animation: none;
}
 
}
#rdguide .viz-hold {
position: relative; display: flex; justify-content: center;
}
#rdguide .viz-cap {
margin: 12px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; text-align: center;
}
#rdguide .viz-rings .viz-hold {
min-height: 300px;
}
#rdguide .ring-svg {
width: 100%; max-width: 400px; height: auto; overflow: visible;
}
#rdguide .map-svg {
width: 100%; height: auto; overflow: visible;
}
#rdguide .lvl-w {
cursor: pointer; outline: none;
}
#rdguide .lvl-w circle {
transition: fill-opacity var(--motion), stroke-opacity var(--motion);
}
#rdguide .lvl-w:hover circle:first-of-type, #rdguide .lvl-w:focus circle:first-of-type {
fill-opacity: .3;
}
#rdguide .lvl-w:focus-visible circle:last-of-type {
stroke-width: 3.4;
}
#rdguide .lvl-n {
font-family: Inter, sans-serif; font-size: 13px; font-weight: 700; opacity: .95;
}
#rdguide .lvl-n.off {
opacity: .45;
}
#rdguide .pn-v {
font-family: Inter, sans-serif; font-size: 12.5px; font-weight: 600; fill: var(--text);
}
#rdguide .pn-c {
font-family: Inter, sans-serif; font-size: 11px; fill: var(--muted);
}
#rdguide .pn-core-l {
font-family: Inter, sans-serif; font-size: 13px; font-weight: 700; fill: var(--text);
}
#rdguide .pn-a {
cursor: pointer; outline: none; transition: opacity .14s;
}
#rdguide .pn-a circle {
transition: fill-opacity var(--motion), stroke-width var(--motion);
}
#rdguide .pn-a:hover circle:last-of-type, #rdguide .pn-a:focus circle:last-of-type {
fill-opacity: .95; stroke-width: 2;
}
#rdguide .pn-a.hot {
filter: drop-shadow(0 0 6px rgba(255,106,0,.85));
}
#rdguide .pn-a[data-crown] circle:last-of-type {
stroke-dasharray: 3 2;
}
#rdguide .viz-map .viz-hold {
min-height: 300px;
}
#rdguide .viz-tip {
position: absolute; z-index: 8; max-width: 260px; padding: 9px 12px; color: var(--text);
             background: var(--surface-solid); border: 1px solid var(--glass-border); border-radius: 12px;
             box-shadow: var(--shadow); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass);
             font-size: 12.5px; line-height: 1.45; pointer-events: none; opacity: 0; transform: translate(-50%, -100%);
             transition: opacity 140ms;
}
#rdguide .viz-tip.on {
opacity: 1;
}
#rdguide .viz-tip b {
display: block; font-size: 13.5px; font-weight: 650;
}
#rdguide .viz-tip span {
display: block; color: var(--muted);
}
#rdguide .viz-tip em {
display: block; margin-top: 3px; color: var(--accent); font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums;
}
#rdguide .viz-tip i {
display: block; margin-top: 4px; color: var(--muted); font-size: 11.5px;
}
#rdguide .fig svg {
display: block; width: 100%; height: auto;
}
#rdguide .fig figcaption {
margin-top: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.55; text-align: center;
}
#rdguide .fig.chain .tall {
display: none;
}
@media (max-width: 720px) {
#rdguide .fig.chain {
padding: 14px 14px 10px;
}
#rdguide .fig.chain .wide {
display: none;
}
#rdguide .fig.chain .tall {
display: block; width: 100%; max-width: 320px; margin: 0 auto;
}

  
}
#rdguide section .bullets {
margin: 0 0 12px; padding-left: 20px; font-size: 15px; line-height: 1.62;
}
#rdguide section .bullets li {
margin-bottom: 8px;
}
#rdguide section .bullets li:last-child {
margin-bottom: 0;
}
#rdguide section .numlist {
margin: 0 0 12px; padding-left: 22px; font-size: 15px; line-height: 1.62;
}
#rdguide section .numlist li {
margin-bottom: 8px;
}
#rdguide section .numlist li:last-child {
margin-bottom: 0;
}
#rdguide section h3 {
padding-top: 20px; margin-top: 24px; border-top: 1px solid var(--border);
}
@media (max-width: 1080px) {
#rdguide .layout {
grid-template-columns: minmax(0, 1fr) 236px; gap: 20px;
}
#rdguide .hero-grid {
grid-template-columns: 1fr 230px; gap: 24px;
}
#rdguide .hero-mark .emblem-gold {
max-width: 230px;
}

  
}
@media (max-width: 860px) {
#rdguide .hero-grid {
grid-template-columns: 1fr;
}
#rdguide .hero {
padding: 30px 22px 26px;
}
#rdguide .hero-mark {
order: -1;
}
#rdguide .hero-mark .emblem-gold {
max-width: 216px;
}
#rdguide section {
padding: 26px 20px;
}
#rdguide .faces {
grid-template-columns: 1fr;
}
#rdguide .lv li {
grid-template-columns: 1fr; gap: 7px;
}
#rdguide .lv .lvc {
text-align: left;
}
#rdguide .lv .lvc small, #rdguide .lv .lvd small {
display: inline; margin-left: 6px;
}
#rdguide .layout {
grid-template-columns: minmax(0, 1fr); gap: 0;
}
#rdguide .wrap {
padding: 124px 16px 130px;
}
#rdguide section {
scroll-margin-top: 124px;
}

  
}
#rdguide .prog-svg {
display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto;
}
#rdguide .prog-pulse {
transform-box: fill-box; transform-origin: center; animation: progPulse 2.6s ease-in-out infinite;
}
#rdguide .prog-rays line {
stroke-dasharray: 5 4; animation: progFlow 1.6s linear infinite;
}
#rdguide .prog-dash {
transform-box: fill-box; transform-origin: center; animation: progSpin 26s linear infinite;
}
@keyframes progPulse {
 0%,100% { transform: scale(.72); opacity: .85 } 55% { transform: scale(2.3); opacity: 0 } 
}
@keyframes progFlow {
 to { stroke-dashoffset: -18 } 
}
@keyframes progSpin {
 to { transform: rotate(360deg) } 
}
#rdguide .loop-svg {
display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto;
}
#rdguide .loop-node {
fill: var(--surface-solid); stroke: var(--border);
}
#rdguide .loop-t {
font-family: Inter, sans-serif; font-size: 12px; font-weight: 600; fill: var(--text);
}
#rdguide .loop-dot {
fill: var(--accent);
}
#rdguide .loop-flow {
stroke-dasharray: 6 5; animation: progFlow 1.6s linear infinite;
}
#rdguide .loop-list {
display: none;
}
#rdguide .agents-viz {
display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; margin: 20px 0 6px;
}
#rdguide .av-col {
padding: 16px; background: var(--surface-raised); border: 1px solid var(--border); border-radius: 16px;
}
#rdguide .av-h {
margin: 0 0 12px; font-size: 13.5px; font-weight: 650;
}
#rdguide .av-bad .av-h {
color: var(--muted);
}
#rdguide .av-one {
display: flex; align-items: center; justify-content: center; min-height: 120px; margin: 0 auto 12px; width: 116px; text-align: center; color: var(--muted); background: var(--surface-solid); border: 1.5px dashed var(--border); border-radius: 50%; font-size: 13px; line-height: 1.35;
}
#rdguide .av-many {
display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
}
#rdguide .av-many span {
padding: 8px 12px; font-size: 13px; font-weight: 600; color: #fff; background: var(--accent); border-radius: 999px; opacity: 0; animation: avIn .5s ease forwards;
}
#rdguide .av-many span:nth-child(1) {
animation-delay: .05s
}
#rdguide .av-many span:nth-child(2) {
animation-delay: .15s
}
#rdguide .av-many span:nth-child(3) {
animation-delay: .25s
}
#rdguide .av-many span:nth-child(4) {
animation-delay: .35s
}
#rdguide .av-many span:nth-child(5) {
animation-delay: .45s
}
#rdguide .av-many span:nth-child(6) {
animation-delay: .55s
}
#rdguide .av-many span:nth-child(even) {
background: #C2681F;
}
#rdguide .av-note {
margin: 0; color: var(--muted); font-size: 12.5px;
}
@keyframes avIn {
 from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } 
}
@media (max-width: 720px) {
#rdguide .agents-viz {
grid-template-columns: 1fr;
}
 
}
@media (prefers-reduced-motion: reduce) {
#rdguide .av-many span {
animation: none; opacity: 1
}
 
}
@media (max-width: 640px) {
#rdguide .loop-svg {
display: none;
}
#rdguide .loop-list {
display: block; margin: 0; padding-left: 20px; font-size: 14.5px; line-height: 1.7;
}

  
}
@media (prefers-reduced-motion: reduce) {
#rdguide .prog-pulse, #rdguide .prog-rays line, #rdguide .prog-dash, #rdguide .loop-flow {
animation: none;
}

  
}
#rdguide .tiles {
display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 6px;
}
#rdguide .tile {
padding: 10px 15px; font-size: 13.5px; font-weight: 600; color: var(--text); background: var(--surface-raised); border: 1px solid var(--border); border-radius: 12px; opacity: 0; animation: tileIn .55s cubic-bezier(.22,1,.36,1) forwards;
}
#rdguide .tile b {
color: var(--accent);
}
#rdguide .tile:nth-child(1) {
animation-delay:.05s
}
#rdguide .tile:nth-child(2) {
animation-delay:.13s
}
#rdguide .tile:nth-child(3) {
animation-delay:.21s
}
#rdguide .tile:nth-child(4) {
animation-delay:.29s
}
#rdguide .tile:nth-child(5) {
animation-delay:.37s
}
#rdguide .tile:nth-child(6) {
animation-delay:.45s
}
#rdguide .tile:nth-child(7) {
animation-delay:.53s
}
#rdguide .tile:nth-child(8) {
animation-delay:.61s
}
@keyframes tileIn {
 from { opacity: 0; transform: translateY(10px) scale(.95); } to { opacity: 1; transform: none; } 
}
@media (prefers-reduced-motion: reduce) {
#rdguide .tile {
animation: none; opacity: 1;
}
 
}
#rdguide .pipe {
width: 100%; overflow-x: auto;
}
#rdguide .pipe-svg {
display: block; width: 100%; min-width: 820px; height: auto;
}
#rdguide .pipe-node {
fill: var(--surface-solid); stroke: var(--border);
}
#rdguide .pipe-num {
font-family: Inter, sans-serif; font-size: 10px; font-weight: 700; fill: var(--muted); text-anchor: middle;
}
#rdguide .pipe-t {
font-family: Inter, sans-serif; font-size: 11.5px; font-weight: 600; fill: var(--text); text-anchor: middle;
}
#rdguide .pipe-link {
stroke: var(--border); stroke-width: 2; stroke-dasharray: 5 5; animation: progFlow 1.8s linear infinite;
}
#rdguide .pipe-dot {
fill: var(--accent);
}
#rdguide .bars {
display: grid; gap: 14px; margin: 12px 0 6px;
}
#rdguide .bar {
display: grid; grid-template-columns: 148px minmax(0, 1fr) 54px; gap: 12px; align-items: center;
}
#rdguide .bar > b {
font-size: 13.5px; font-weight: 600;
}
#rdguide .bar-track {
height: 16px; background: var(--surface-raised); border: 1px solid var(--border); border-radius: 9px; overflow: hidden;
}
#rdguide .bar-fill {
height: 100%; width: 0; background: linear-gradient(90deg, #C2681F, var(--accent)); border-radius: 9px; transition: width 1.1s cubic-bezier(.22,1,.36,1);
}
#rdguide .bar.zero .bar-fill {
background: #9a9aa0;
}
#rdguide .bar-val {
font-size: 13.5px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; text-align: right;
}
#rdguide .bar.zero .bar-val {
color: #8a8a90;
}
#rdguide .radar-svg {
display: block; width: 100%; max-width: 430px; height: auto; margin: 0 auto;
}
#rdguide .radar-grid {
fill: none; stroke: var(--border); stroke-width: 1;
}
#rdguide .radar-poly {
fill: rgba(255,106,0,.22); stroke: var(--accent); stroke-width: 2; animation: radarIn .9s ease;
}
#rdguide .radar-l {
font-family: Inter, sans-serif; font-size: 10.5px; fill: var(--muted);
}
#rdguide .radar-v {
font-family: Inter, sans-serif; font-size: 11px; font-weight: 700; fill: var(--accent); text-anchor: middle;
}
@keyframes radarIn {
 from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } 
}
#rdguide .wheel-svg {
display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto;
}
#rdguide .wheel-svg .pet {
cursor: pointer;
}
#rdguide .wheel-svg .pet circle {
transition: fill-opacity .2s, stroke-width .2s;
}
#rdguide .wheel-svg .pet.on circle {
fill-opacity: .95; stroke-width: 2.4;
}
#rdguide .wheel-l {
font-family: Inter, sans-serif; font-size: 10.5px; fill: var(--text); text-anchor: middle;
}
#rdguide .flow {
display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin: 14px 0 6px;
}
#rdguide .flow-n {
flex: 1 1 158px; padding: 12px 14px; background: var(--surface-raised); border: 1px solid var(--border); border-radius: 12px; opacity: 0; animation: tileIn .55s cubic-bezier(.22,1,.36,1) forwards;
}
#rdguide .flow-n b {
display: block; margin-bottom: 4px; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent);
}
#rdguide .flow-n span {
font-size: 13.5px; line-height: 1.45;
}
#rdguide .flow-a {
align-self: center; color: var(--accent); font-weight: 700; font-size: 15px; opacity: 0; animation: tileIn .5s ease forwards;
}
#rdguide .flow > :nth-child(1) {
animation-delay: .05s;
}
#rdguide .flow > :nth-child(3) {
animation-delay: .17s;
}
#rdguide .flow > :nth-child(5) {
animation-delay: .29s;
}
#rdguide .flow > :nth-child(7) {
animation-delay: .41s;
}
@media (prefers-reduced-motion: reduce) {
#rdguide .flow > * {
animation: none; opacity: 1;
}
 
}
@media (max-width: 560px) {
#rdguide .bar {
grid-template-columns: 108px minmax(0, 1fr) 46px; gap: 9px;
}
 
}


@media (prefers-reduced-motion: reduce) {

 
}
#rdguide .statgrid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 12px; margin: 8px 0 16px;
}
#rdguide .stat {
padding: 15px 16px; text-align: center; background: var(--surface-raised); border: 1px solid var(--border); border-radius: 14px;
}
#rdguide .stat b {
display: block; font-family: 'Old Standard TT', serif; font-size: 32px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums;
}
#rdguide .stat span {
display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.35;
}
#rdguide .orch {
position: relative; width: min(460px, 92vw); aspect-ratio: 1; margin: 10px auto 4px; --r: 158px;
}
#rdguide .orch-core {
position: absolute; inset: 0; margin: auto; width: 108px; height: 108px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: var(--accent); border-radius: 50%; font-family: 'Old Standard TT', serif; font-size: 17px; font-weight: 700; box-shadow: 0 0 0 7px rgba(255,106,0,.14), 0 10px 26px rgba(0,0,0,.14); z-index: 2; animation: rd-pulse2 4.4s ease-in-out infinite;
}
#rdguide .orch-ring {
position: absolute; inset: 0;
}
#rdguide .orch-chip {
position: absolute; top: 50%; left: 50%; width: 96px; margin: -17px 0 0 -48px; padding: 8px 6px; text-align: center; font-size: 12px; font-weight: 600; color: var(--text); background: var(--surface-solid); border: 1px solid var(--accent); border-radius: 11px; box-shadow: var(--shadow); transform: translate(-50%,-50%) rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); opacity: 0; animation: orchPop .55s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes orchPop {
 from { opacity: 0; } to { opacity: 1; } 
}
@keyframes rd-pulse2 {
 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } 
}
@media (max-width: 620px) {
#rdguide .orch {
--r: 112px;
}
#rdguide .orch-core {
width: 84px; height: 84px; font-size: 14px;
}
#rdguide .orch-chip {
width: 80px; margin-left: -40px; font-size: 11px;
}
 
}
@media (prefers-reduced-motion: reduce) {
#rdguide .orch-core, #rdguide .orch-chip {
animation: none; opacity: 1;
}
 
}
#rdguide section, #rdguide .viz, #rdguide .fig, #rdguide .face, #rdguide .face-body, #rdguide .val, #rdguide .steps li, #rdguide .stat, #rdguide .statgrid, #rdguide .av-col, #rdguide .av-one, #rdguide .av-many, #rdguide .orch, #rdguide .tile, #rdguide .bar, #rdguide .flow-n, #rdguide .loop-list, #rdguide details, #rdguide .agents-viz {
background-color: var(--surface-raised);
    background-image: var(--glass-sheen);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow), var(--glass-edge);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
}
#rdguide .face[aria-selected="true"] {
background-color: var(--surface-solid); border-color: var(--accent);
}


/* =====================================================================
   HOME INTEGRATION — главы-пространства на галактике.
   Коробок-«карточек» на весь текст нет: текст лежит на фоне, стекло —
   только на интерактивных модулях (схемы, шаги, детали, плитки).
   ===================================================================== */
#rdguide {
  --canvas: transparent;
  --text: #EEF1FF;
  --muted: rgba(205, 214, 255, .7);
  --border: rgba(150, 170, 255, .14);
  --surface: rgba(255, 255, 255, .06);
  --surface-solid: rgba(9, 11, 26, .55);
  --surface-raised: rgba(255, 255, 255, .055);
  --accent: #FF9E63;
  --accent-hover: #FFB27A;
  --glass: blur(26px) saturate(165%) brightness(.9);
  --glass-border: rgba(255, 255, 255, .13);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(0, 0, 0, .4);
  --glass-sheen: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 52%, transparent);
  --shadow: 0 44px 90px -54px rgba(0, 0, 0, .95), 0 3px 12px -6px rgba(0, 0, 0, .6);
  --motion: 220ms;
  --ease: cubic-bezier(.16, 1, .3, 1);
  position: relative;
  color: var(--text);
  padding: clamp(60px, 9vh, 120px) 0 clamp(60px, 10vh, 140px);
}
/* Лёгкое галактическое свечение за гидом — фон должен быть виден. */
#rdguide::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 30% at 50% 6%, rgba(255, 178, 122, .1), transparent 70%),
    radial-gradient(40% 26% at 18% 42%, rgba(110, 155, 255, .09), transparent 72%),
    radial-gradient(40% 26% at 84% 74%, rgba(142, 123, 255, .085), transparent 72%);
}
/* «Зона чтения»: слева поле приглушено, справа галактика светит.
   Текст остаётся читаемым, но фон не превращается в серую пелену. */
#rdguide::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(100deg, rgba(3, 4, 10, .93) 0%, rgba(3, 4, 10, .88) 34%, rgba(3, 4, 10, .62) 52%, rgba(3, 4, 10, .18) 72%, rgba(3, 4, 10, 0) 90%),
    linear-gradient(180deg, rgba(3, 4, 10, .40), transparent 12%, transparent 86%, rgba(3, 4, 10, .46));
}
@media (max-width: 1100px) {
  #rdguide::after {
    background:
      linear-gradient(180deg, rgba(3, 4, 10, .72), rgba(3, 4, 10, .5) 40%, rgba(3, 4, 10, .68));
  }
}
#rdguide .wrap {
  position: relative; z-index: 2;
  max-width: 1040px; margin: 0 auto;
  padding: 40px 26px 110px;
  width: auto;
}
@media (min-width: 1000px) {
  #rdguide .wrap { max-width: min(1040px, calc(100vw - 200px)); }
}

/* ---------- обложка гида ---------- */
#rdguide .hero {
  display: block; min-height: 0; margin: 0 0 clamp(46px, 8vh, 96px);
  flex-direction: initial; align-items: initial; justify-content: initial;
  text-align: center;
  background: none;
  border: 0; border-radius: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  padding: clamp(30px, 5vw, 60px) 0 0;
}
#rdguide .rdg-h1 {
  margin: 0 auto; max-width: 22ch;
  font-family: 'Old Standard TT', Georgia, serif;
  font-size: clamp(30px, 5.4vw, 62px); font-weight: 700;
  letter-spacing: -.015em; line-height: 1.04;
  color: var(--text);
  text-shadow: 0 4px 40px rgba(0, 0, 0, .6);
}
#rdguide .hero .emblem-cap { color: rgba(205, 214, 255, .6); }
#rdguide .hero-mark .emblem {
  /* Тот же знак, что на главной: кольцо и ядро, светящиеся прямо на галактике. */
  background: radial-gradient(58% 58% at 50% 50%, rgba(255, 178, 122, .17), transparent 70%);
  box-shadow: none; border-radius: 0;
}
#rdguide .hero-mark .emblem svg { filter: drop-shadow(0 0 22px rgba(255, 255, 255, .35)); }

/* ---------- главы: без коробок, текст прямо на галактике ---------- */
#rdguide .rdg-ch {
  position: relative;
  margin: 0; padding: clamp(34px, 6vh, 64px) 0 clamp(26px, 4vh, 44px);
  background: none; border: 0; border-radius: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  scroll-margin-top: 96px;
}
#rdguide .rdg-ch::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16) 14%, rgba(255, 255, 255, .05) 62%, transparent);
}
#rdguide .rdg-ch__t {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin: 0 0 18px;
}
#rdguide .rdg-ch__n {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: .82rem; font-weight: 600; letter-spacing: .28em;
  color: var(--accent); text-shadow: 0 0 18px rgba(255, 158, 99, .6);
}
#rdguide .rdg-ch__name {
  font-family: 'Old Standard TT', Georgia, serif;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.05;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .8), 0 0 60px rgba(3, 4, 10, .7);
}
#rdguide .rdg-ch__t::after {
  content: ""; flex: 0 0 96px; width: 96px; height: 2px; margin-bottom: .5em;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 106, 0, 0));
  transform-origin: left; transform: scaleX(0);
  transition: transform .9s var(--ease);
}
#rdguide .rdg-ch.am-in .rdg-ch__t::after { transform: scaleX(1); }
#rdguide .rdg-ch__lead {
  max-width: 62ch; margin: 0 0 26px;
  color: rgba(218, 226, 255, .88); font-size: clamp(1rem, 1.45vw, 1.14rem); line-height: 1.66;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .9), 0 0 40px rgba(3, 4, 10, .8);
}
#rdguide .rdg-ch__body > p {
  max-width: 60ch; margin: 0 0 14px;
  color: rgba(232, 238, 255, .93); font-size: 16px; line-height: 1.78;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 2px 18px rgba(0, 0, 0, .9), 0 0 50px rgba(3, 4, 10, .9);
}
#rdguide .rdg-ch__body > p b { color: #fff; font-weight: 600; }
#rdguide .rdg-ch__body ul { max-width: 62ch; margin: 0 0 18px; padding-left: 20px; }
#rdguide .rdg-ch__body li {
  color: rgba(230, 237, 255, .9); font-size: 15.5px; line-height: 1.7; margin-bottom: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 2px 16px rgba(0, 0, 0, .88), 0 0 40px rgba(3, 4, 10, .85);
}
#rdguide .rdg-ch__body ul li::marker { color: var(--accent); }
#rdguide .rdg-cap { margin: 14px 0 0; color: rgba(205, 214, 255, .6); font-size: 12.5px; line-height: 1.6; text-align: center; }
#rdguide .mark { background: rgba(255, 158, 99, .26); color: #FFF6EE; padding: 0 4px; border-radius: 4px; }

/* ---------- стеклянные модули ---------- */
#rdguide .viz, #rdguide .fig, #rdguide .faces, #rdguide .statgrid, #rdguide .steps,
#rdguide .tiles, #rdguide .bars, #rdguide .flow, #rdguide .orch, #rdguide .agents-viz,
#rdguide .lv, #rdguide details, #rdguide .loop-list, #rdguide .face-body {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .022) 42%, rgba(255, 255, 255, .045)),
    radial-gradient(120% 90% at 50% -10%, rgba(255, 178, 122, .07), transparent 60%);
  -webkit-backdrop-filter: blur(26px) saturate(170%) brightness(.86);
  backdrop-filter: blur(26px) saturate(170%) brightness(.86);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 44px 90px -56px rgba(0, 0, 0, .95);
  overflow: hidden;
}
#rdguide .viz::after, #rdguide .fig::after, #rdguide .faces::after, #rdguide .statgrid::after,
#rdguide .steps::after, #rdguide .tiles::after, #rdguide .bars::after, #rdguide .flow::after,
#rdguide .orch::after, #rdguide .agents-viz::after, #rdguide .lv::after, #rdguide details::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 1px 0 rgba(255, 146, 88, .16), inset -1px 0 rgba(120, 162, 255, .16);
}
#rdguide .viz { padding: 22px 18px 16px; }
#rdguide .fig { padding: 18px 18px 14px; }
#rdguide .viz-cap, #rdguide .fig figcaption { color: rgba(205, 214, 255, .62); }
#rdguide .stat { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
#rdguide .stat b { color: var(--accent); }
#rdguide .stat span { color: rgba(205, 214, 255, .6); }
#rdguide details { border-radius: 16px; }
#rdguide details[open] { background: rgba(255, 255, 255, .07); }
#rdguide summary { color: var(--text); font-weight: 600; }
#rdguide .dbody p, #rdguide .dbody li { color: rgba(222, 230, 255, .84); }
#rdguide .tile { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .11); color: var(--text); }
#rdguide .tile b { color: var(--accent); }
#rdguide .face { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: var(--text); }
#rdguide .face[aria-selected="true"] { border-color: rgba(255, 178, 122, .6); background: rgba(255, 178, 122, .13); }
#rdguide .face-body { background: rgba(255, 255, 255, .035); }
#rdguide .lv li { border-color: rgba(255, 255, 255, .09); }
#rdguide .lv .lvn i { background: rgba(255, 255, 255, .12); }
#rdguide .steps li.done::before { background: #63e08a; }
#rdguide .steps li.wip::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 158, 99, .18); }
#rdguide .steps .st-p, #rdguide .steps .st-t { color: rgba(222, 230, 255, .88); }
#rdguide .steps .st-s { color: rgba(205, 214, 255, .55); }
#rdguide .bar.zero .bar-fill { background: #6b7280; }
#rdguide .bar.zero .bar-val { color: rgba(205, 214, 255, .55); }
#rdguide .viz-tip { background: rgba(9, 11, 26, .92); border-color: rgba(255, 255, 255, .14); }
#rdguide .notes p { color: rgba(205, 214, 255, .68); }

/* ---------- оглавление гида в обложке ---------- */
#rdguide .rdg-index {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  margin: 30px auto 0; max-width: 860px; text-align: left;
}
#rdguide .rdg-index__i {
  display: flex; align-items: baseline; gap: 12px; padding: 11px 15px;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  -webkit-backdrop-filter: blur(20px) saturate(160%) brightness(.9);
  backdrop-filter: blur(20px) saturate(160%) brightness(.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
  color: rgba(224, 231, 255, .86); font-size: .9rem; line-height: 1.3;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
#rdguide .rdg-index__i b {
  font-family: var(--f-display); font-size: .68rem; letter-spacing: .16em;
  color: var(--accent); font-weight: 600; flex: none;
}
#rdguide .rdg-index__i:hover {
  transform: translateY(-2px); border-color: rgba(255, 178, 122, .42);
  background: linear-gradient(180deg, rgba(255, 178, 122, .12), rgba(255, 255, 255, .02));
  color: #fff;
}
@media (max-width: 720px) { #rdguide .rdg-index { grid-template-columns: 1fr; } }

/* ---------- уровни: кольца + карточки ---------- */
#rdguide .rdg-levels {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 22px; margin: 30px 0 0; align-items: start;
}
@media (max-width: 900px) { #rdguide .rdg-levels { grid-template-columns: 1fr; } }
#rdguide .rdg-levels__viz {
  position: relative; padding: 22px 18px 16px; border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .022) 42%, rgba(255, 255, 255, .045));
  -webkit-backdrop-filter: blur(26px) saturate(170%) brightness(.86);
  backdrop-filter: blur(26px) saturate(170%) brightness(.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 44px 90px -56px rgba(0, 0, 0, .95);
}
#rdguide .rdg-levels__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#rdguide .rdg-lvl {
  display: grid; grid-template-columns: 34px 1fr; gap: 12px 14px; align-items: baseline;
  padding: 14px 16px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  -webkit-backdrop-filter: blur(20px) saturate(160%) brightness(.9);
  backdrop-filter: blur(20px) saturate(160%) brightness(.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
#rdguide .rdg-lvl:hover { transform: translateX(4px); border-color: rgba(255, 178, 122, .4); }
#rdguide .rdg-lvl__n {
  font-family: 'Rajdhani', 'Inter', sans-serif; font-size: 1.05rem; font-weight: 600;
  color: var(--accent); letter-spacing: .08em;
}
#rdguide .rdg-lvl__t {
  font-family: var(--f-display); font-size: .95rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(238, 243, 255, .95);
}
#rdguide .rdg-lvl__d {
  grid-column: 2; color: rgba(214, 223, 255, .78); font-size: 14px; line-height: 1.68;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .8);
}

/* ---------- три лика ---------- */
#rdguide .rdg-faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 0; }
@media (max-width: 760px) { #rdguide .rdg-faces { grid-template-columns: 1fr; } }
#rdguide .rdg-face {
  position: relative; overflow: hidden; padding: 24px 22px;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .015) 55%, rgba(255, 255, 255, .04));
  -webkit-backdrop-filter: blur(24px) saturate(165%) brightness(.88);
  backdrop-filter: blur(24px) saturate(165%) brightness(.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 40px 80px -54px rgba(0, 0, 0, .95);
  transition: transform .5s var(--ease), border-color .45s var(--ease);
}
#rdguide .rdg-face::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 1px 0 rgba(255, 146, 88, .18), inset -1px 0 rgba(120, 162, 255, .18);
}
#rdguide .rdg-face:hover { transform: translateY(-4px); border-color: rgba(255, 178, 122, .42); }
#rdguide .rdg-face h3 {
  margin: 0 0 8px; font-family: 'Old Standard TT', Georgia, serif;
  font-size: 1.5rem; font-weight: 700; letter-spacing: .01em; color: #fff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .6);
}
#rdguide .rdg-face p { margin: 0; color: rgba(220, 229, 255, .8); font-size: 14.5px; line-height: 1.6; }

/* ---------- пантеон агентов ---------- */
#rdguide .rdg-pantheon { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; margin: 28px 0 0; align-items: start; }
@media (max-width: 900px) { #rdguide .rdg-pantheon { grid-template-columns: 1fr; } }
#rdguide .rdg-pantheon__viz {
  position: relative; padding: 20px 16px 14px; border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02) 45%, rgba(255, 255, 255, .04));
  -webkit-backdrop-filter: blur(26px) saturate(170%) brightness(.86);
  backdrop-filter: blur(26px) saturate(170%) brightness(.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 44px 90px -56px rgba(0, 0, 0, .95);
}
#rdguide .rdg-valleys { display: flex; flex-direction: column; gap: 10px; }
#rdguide .rdg-valleys .val {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  -webkit-backdrop-filter: blur(18px) saturate(160%) brightness(.9);
  backdrop-filter: blur(18px) saturate(160%) brightness(.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
}
#rdguide .rdg-valleys .vn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-display); font-size: .95rem; color: rgba(236, 241, 255, .92); }
#rdguide .rdg-valleys .vn i { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
#rdguide .rdg-valleys .vc2 { font-size: .8rem; color: rgba(205, 214, 255, .6); font-variant-numeric: tabular-nums; }

/* ---------- 99% практики: четыре шага ---------- */
#rdguide .rdg-steps { margin: 30px 0 0; }
#rdguide .rdg-steps__h {
  margin: 0 0 16px; font-family: var(--f-display); font-size: .8rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
#rdguide .rdg-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 760px) { #rdguide .rdg-steps__list { grid-template-columns: 1fr; } }
#rdguide .rdg-step {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .11);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  -webkit-backdrop-filter: blur(22px) saturate(165%) brightness(.9);
  backdrop-filter: blur(22px) saturate(165%) brightness(.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
#rdguide .rdg-step:hover { transform: translateY(-3px); border-color: rgba(255, 178, 122, .4); }
#rdguide .rdg-step__n {
  font-family: 'Rajdhani', 'Inter', sans-serif; font-size: 1.1rem; font-weight: 600;
  color: var(--accent); letter-spacing: .08em;
}
#rdguide .rdg-step p { margin: 0; color: rgba(224, 231, 255, .88); font-size: 15px; line-height: 1.62; }
#rdguide .rdg-steps__note {
  margin: 16px 0 0; max-width: 60ch; color: rgba(205, 214, 255, .6); font-size: 14px; line-height: 1.6;
  font-style: italic;
}

/* ---------- визуал главы: контейнер + анимации схем ---------- */
#rdguide .rdg-fig { margin: 26px 0 6px; }
#rdguide .rdg-fig .viz {
  position: relative; padding: 22px 18px 16px; border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02) 45%, rgba(255, 255, 255, .04));
  -webkit-backdrop-filter: blur(26px) saturate(170%) brightness(.86);
  backdrop-filter: blur(26px) saturate(170%) brightness(.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 44px 90px -56px rgba(0, 0, 0, .95);
  overflow: hidden;
}
#rdguide .rdg-fig .viz::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 1px 0 rgba(255, 146, 88, .16), inset -1px 0 rgba(120, 162, 255, .16);
}
#rdguide .rdg-fig .viz-hold { display: flex; justify-content: center; }
#rdguide .rdg-fig svg { width: 100%; max-width: 640px; height: auto; }
#rdguide .rdg-cap { margin: 14px 0 0; color: rgba(205, 214, 255, .6); font-size: 12.5px; line-height: 1.6; text-align: center; }

/* горизонт (Мудрость и Знание) */
#rdguide .hz-rings circle { transform-box: fill-box; transform-origin: center; animation: hzPulse 5.2s ease-in-out infinite; }
#rdguide .hz-rings circle:nth-child(2) { animation-delay: .5s; }
#rdguide .hz-rings circle:nth-child(3) { animation-delay: 1s; }
#rdguide .hz-rays line { transform-box: fill-box; transform-origin: center; animation: hzRay 6s ease-in-out infinite; }
#rdguide .hz-rays line:nth-child(2n) { animation-delay: .8s; }
#rdguide .hz-core { animation: hzCore 4.2s ease-in-out infinite; }
@keyframes hzPulse { 0%, 100% { transform: scale(.96); opacity: .5; } 50% { transform: scale(1.04); opacity: .95; } }
@keyframes hzRay { 0%, 100% { transform: scaleY(.9); opacity: .45; } 50% { transform: scaleY(1.08); opacity: .95; } }
@keyframes hzCore { 0%, 100% { filter: drop-shadow(0 0 8px rgba(255,255,255,.6)); } 50% { filter: drop-shadow(0 0 22px rgba(255,178,122,.9)); } }

/* платформы */
#rdguide .plat-t { fill: rgba(232, 238, 255, .92); font-family: 'Rajdhani', 'Inter', sans-serif; font-size: 13px; letter-spacing: .04em; }
#rdguide .plat-core-t { fill: #FFE0C8; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
#rdguide .plat-core circle { animation: platCore 3.6s ease-in-out infinite; }
@keyframes platCore { 0%, 100% { filter: drop-shadow(0 0 6px rgba(255,158,99,.35)); } 50% { filter: drop-shadow(0 0 20px rgba(255,158,99,.75)); } }

/* организация */
#rdguide .org-t { fill: #FFE0C8; font-family: 'Rajdhani', 'Inter', sans-serif; font-size: 16px; letter-spacing: .08em; }
#rdguide .org-core circle { animation: platCore 3.2s ease-in-out infinite; }
#rdguide .org-links path { stroke-dasharray: 6 8; animation: orgFlow 3.4s linear infinite; }
@keyframes orgFlow { to { stroke-dashoffset: -28; } }

/* знак Прогресса: точка и лучи */
#rdguide .prog-rays line { animation: rdProgRay 6.5s ease-in-out infinite; }
#rdguide .prog-dash { animation: rdProgSpin 34s linear infinite; transform-box: fill-box; transform-origin: center; }
#rdguide .prog-pulse { animation: rdProgPulse 3.6s ease-in-out infinite; }
@keyframes rdProgRay { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes rdProgSpin { to { transform: rotate(360deg); } }
@keyframes rdProgPulse { 0%, 100% { opacity: .55; r: 5; } 50% { opacity: 1; r: 9; } }

/* петля саморазвития */
#rdguide .loop-dot { animation: loopDot 4.4s ease-in-out infinite; }
#rdguide .loop-flow { animation: orgFlow 5s linear infinite; }
@keyframes loopDot { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* статистика: числа досчитываются */
#rdguide .stat b { font-variant-numeric: tabular-nums; }

/* ---------- Пратик: свет, что идёт по главам ---------- */
#rdguide .pratiik {
  position: fixed; left: 0; top: 0; z-index: 3; pointer-events: none;
  width: 0; height: 0; opacity: 0; transition: opacity .5s ease;
}
#rdguide .pratiik.is-on { opacity: 1; }
#rdguide .pratiik__core, #rdguide .pratiik__halo {
  position: absolute; border-radius: 50%; transform: translate(-50%, -50%);
  left: 197px; top: calc(var(--pratiik-p, 0) * 100vh);
}
#rdguide .pratiik__core {
  width: 7px; height: 7px; background: #FFF6E8;
  box-shadow: 0 0 10px 2px rgba(255, 214, 170, .95), 0 0 26px 8px rgba(255, 158, 99, .5);
}
#rdguide .pratiik__halo {
  width: 46px; height: 46px; background: radial-gradient(circle, rgba(255, 190, 130, .30), rgba(255, 158, 99, 0) 68%);
  transition: opacity .4s ease;
}
#rdguide .pratiik.is-reading .pratiik__halo { width: 62px; height: 62px; opacity: .8; }
@media (max-width: 900px) {
  #rdguide .pratiik__core, #rdguide .pratiik__halo { left: 14px; }
}

/* глава подсвечивается, когда свет проходит по ней */
#rdguide .rdg-ch { transition: filter .5s ease; }
#rdguide .rdg-ch.is-lit .rdg-ch__num { color: #FFC58A; text-shadow: 0 0 18px rgba(255, 158, 99, .8); }
#rdguide .rdg-ch.is-lit .rdg-ch__title { text-shadow: 0 2px 30px rgba(255, 178, 122, .28); }

/* ---------- Пратик внутри схем ---------- */
#rdguide .pratiik-orb { pointer-events: none; }
#rdguide .rdg-fig .pratiik-orb { filter: drop-shadow(0 0 10px rgba(255, 190, 130, .9)); }
#rdguide .chain-hot.is-hot rect { fill: rgba(255, 158, 99, .34) !important; stroke: #FFB27A !important; }
#rdguide .chain-hot.is-hot + text { fill: #FFF3E2 !important; }

/* интерактив фигуры */
#rdguide .rdg-fig { transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease; }
#rdguide .rdg-fig.is-hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 60px 120px -54px rgba(255, 140, 80, .35); }
#rdguide .av-many span { transition: transform .3s cubic-bezier(.2, .7, .2, 1), filter .3s ease, opacity .3s ease; }
#rdguide .av-many.is-focus span { opacity: .34; }
#rdguide .av-many span.is-lit { opacity: 1 !important; transform: translateY(-3px) scale(1.05); filter: brightness(1.18) drop-shadow(0 6px 16px rgba(255, 120, 50, .45)); }
#rdguide .bars .bar-fill { transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
#rdguide .bars.is-grow .bar-fill { width: var(--w, 50%); }
#rdguide .bars:not(.is-grow) .bar-fill { width: 0; }

/* ---------- Чакры: свет идёт снизу вверх ---------- */
#rdguide .chak { transition: transform .45s cubic-bezier(.2, .7, .2, 1); transform-box: fill-box; transform-origin: center; }
#rdguide .chak.is-hot { transform: scale(1.16); }
#rdguide .chak.is-hot .chak__core { filter: drop-shadow(0 0 12px var(--c)); }
#rdguide .chak.is-hot .chak__ring { opacity: 1; stroke-width: 1.8; }
#rdguide .chak.is-hot .chak__petals ellipse { opacity: .9; }
#rdguide .chak__petals ellipse { transition: opacity .45s ease; }
#rdguide .chak__name { fill: rgba(233, 238, 255, .88); font-family: 'Rajdhani', 'Inter', sans-serif; font-size: 14px; letter-spacing: .05em; }
#rdguide .chak__sub { fill: rgba(205, 214, 255, .48); font-family: 'Inter', sans-serif; font-size: 11px; }
#rdguide .chak.is-hot .chak__name { fill: #FFF3E2; }
#rdguide .chak-pratiik { pointer-events: none; filter: drop-shadow(0 0 14px rgba(255, 200, 150, .95)); }
#rdguide #chakSpine { stroke-dasharray: 4 7; animation: chakDash 3.6s linear infinite; }
@keyframes chakDash { to { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) {
  #rdguide .chak-pratiik, #rdguide #chakSpine, #rdguide .pratiik-orb { display: none; }
}
@media (max-width: 720px) {
  #rdguide .chak__name { font-size: 12.5px; }
  #rdguide .chak__sub { font-size: 9.5px; }
  #rdguide .rdg-fig .viz { padding: 16px 10px 12px; border-radius: 18px; }
}
