/* 도스토옙스키 팬 페이지: /classics/styles.css 위에 얹는다 */
.dv{--dv:#8a2a1c;--dv-soft:#f6efe9;max-width:980px;margin:0 auto;padding:0 24px 40px}
.dv a{color:var(--dv)}
.dv-nav{display:flex}
.dv-crumb{padding:22px 0 0;font-size:13px;color:#6f6f6f}
.dv-hero{padding:56px 0 36px;border-bottom:1px solid #eee}
.dv-hero h1{font-size:clamp(34px,5vw,56px);letter-spacing:-.04em;line-height:1.1;margin:0 0 18px;font-weight:800;word-break:keep-all}
.dv-lede{font-size:17px;color:#444;max-width:720px;word-break:keep-all;margin:0}
.dv-toc{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:26px 0 0}
.dv-toc a{display:inline-block;border:1px solid #ddd;border-radius:999px;padding:6px 13px;font-size:13px;text-decoration:none;color:#333}
.dv-toc a:hover{border-color:var(--dv);color:var(--dv)}
.dv-sec{padding:44px 0;border-bottom:1px solid #eee;scroll-margin-top:72px}
.dv-sec h2{font-size:28px;letter-spacing:-.03em;margin:0 0 18px}
.dv-sec h3{font-size:17px;margin:28px 0 8px}
.dv-sec p{word-break:keep-all;line-height:1.8;margin:0 0 12px}
.src{font-size:11px;color:#8a8a8a!important;text-decoration:none;border-bottom:1px dotted #bbb;margin-left:4px;white-space:nowrap}
.unv{font-size:11px;background:#fff3cd;color:#7a5b00;border-radius:4px;padding:1px 5px;margin-left:4px}
.dv-year{font-weight:800;color:var(--dv);font-variant-numeric:tabular-nums}
.dv-tag{display:inline-block;font-size:11px;font-weight:700;color:var(--dv);background:var(--dv-soft);border-radius:999px;padding:2px 8px}
.dv-steps{padding-left:22px;margin:0}.dv-steps li{margin:0 0 12px}.dv-steps li span{display:block;color:#555;font-size:14.5px}
.dv-works{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
.dv-work{display:flex;flex-direction:column;gap:4px;border:1px solid #e5e5e1;border-radius:13px;padding:16px;text-decoration:none;color:#181818!important;background:#fff}
.dv-work:hover{border-color:var(--dv)}
.dv-work b{font-size:17px}.dv-work small{color:#6f6f6f;font-size:12px}.dv-work>span:not(.dv-year):not(.dv-tag){font-size:13.5px;color:#444;line-height:1.6}
.dv-work .dv-tag{align-self:flex-start;margin-top:6px}
.dv-timeline{list-style:none;padding:0;margin:0;border-left:2px solid var(--dv-soft)}
.dv-timeline li{display:grid;grid-template-columns:96px 1fr;gap:14px;padding:8px 0 8px 16px;position:relative}
.dv-timeline li:before{content:"";position:absolute;left:-6px;top:15px;width:10px;height:10px;border-radius:50%;background:var(--dv)}
.dv-timeline small{display:block;font-weight:500;color:#6f6f6f;font-size:12px}
.dv-timeline p{margin:0}
.dv-places{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.dv-place{border:1px solid #e5e5e1;border-radius:13px;padding:16px;background:#fff}
.dv-place b{display:block}.dv-place small{color:#6f6f6f;font-size:12px}.dv-place p{font-size:14px;margin:8px 0 0}
.dv-facts{display:grid;grid-template-columns:70px 1fr;gap:8px 16px;margin:0 0 10px}.dv-facts dt{color:#6f6f6f;font-size:13px}.dv-facts dd{margin:0}
.dv-tablewrap{overflow-x:auto;margin-top:14px}
.dv-names{border-collapse:collapse;width:100%;font-size:14px;min-width:640px}
.dv-names th,.dv-names td{border-bottom:1px solid #eee;padding:9px 8px;text-align:left;vertical-align:top}
.dv-names th{font-size:12px;color:#6f6f6f;font-weight:700}
.dv-graph{overflow-x:auto;border:1px solid #eee;border-radius:13px;background:#fcfbf9;margin:6px 0 10px}
.dv-graph svg{display:block;width:100%;min-width:640px;height:auto}
.dv-graph .edges line{stroke:#d9cdc4;stroke-width:1.2}.dv-graph .edges line.m{stroke:#b9877a;stroke-width:1.6}
.dv-graph .n.hero rect{fill:#8a2a1c;stroke:#8a2a1c}.dv-graph .n.hero text{fill:#fff}
.dv-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12.5px;align-items:center}.lg i{display:inline-block;width:12px;height:12px;border-radius:3px;border:1px solid #d8d0c8;margin-right:5px;vertical-align:-1px;background:#fff}.lg.gi-0 i{background:#f6efe9}.lg.gi-2 i{background:#eef2f6}.lg.gi-3 i{background:#f1f1ec}.lg.gi-4 i{background:#eef5ee}
.dv-graph .edges path{fill:none;stroke:#c9b8ae;stroke-width:1.4}
.dv-graph .n rect{fill:#fff;stroke:#d8d0c8}
.dv-graph .n text{font-size:13.5px;text-anchor:middle;fill:#181818;font-weight:600}
.dv-graph a:hover rect{stroke:var(--dv);stroke-width:2}
.dv-graph .gi-0 rect{fill:#f6efe9}.dv-graph .gi-2 rect{fill:#eef2f6}.dv-graph .gi-3 rect{fill:#f1f1ec}.dv-graph .gi-4 rect{fill:#eef5ee}
.dv-chars{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.dv-char{border:1px solid #e5e5e1;border-radius:13px;padding:16px;background:#fff;scroll-margin-top:80px}
.dv-char:target{border-color:var(--dv);box-shadow:0 0 0 2px var(--dv-soft)}
.dv-char b{font-size:16px;display:block}.dv-char small{color:#6f6f6f;font-size:12px}
.dv-role{font-size:12.5px;color:var(--dv);font-weight:700;margin:6px 0}
.dv-char p{font-size:14px;margin:0 0 8px}.dv-rel{font-size:12.5px!important;color:#555}
details summary{cursor:pointer;color:#555;font-size:13.5px}
.dv-plot{padding:12px 0;border-top:1px solid #f0f0ec}.dv-plot b{display:inline-block;margin-bottom:4px}.dv-plot p{margin:6px 0 0}
.dv-quote{margin:0 0 14px;padding:16px 20px;background:var(--dv-soft);border-radius:12px}
.dv-quote p{margin:0 0 6px}.dv-quote p[lang=ru]{font-family:Georgia,serif;color:#555}.dv-quote cite{font-size:12px;color:#6f6f6f;font-style:normal}
.dv-next{display:flex;gap:10px;flex-wrap:wrap}.dv-next a{text-decoration:none}.dv-next .primary{color:#fff!important}
.dv-sources{font-size:13px;padding-left:18px;columns:2}.dv-sources li{margin-bottom:4px;break-inside:avoid}
footer a{color:#6f6f6f}
@media(max-width:900px){.dv-works{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.dv{padding:0 16px 30px}.dv-works,.dv-places,.dv-chars{grid-template-columns:1fr}.dv-timeline li{grid-template-columns:64px 1fr}.dv-sources{columns:1}.dv-nav{display:none}}
.dv-toc small{color:#8a8a8a;font-size:11px}
.dv-wsrc{font-size:12px;color:#6f6f6f}.dv-wsrc a{color:#6f6f6f}
