:root {
    --pd-white: #FFFFFF;
    --pd-paper: #FFFFFF;
    --pd-soft: #F4F4F2;
    --pd-soft-2: #EAEAE6;
    --pd-ink: #0B0A0A;
    --pd-ink-2: #2A2A2A;
    --pd-muted: #52525B;
    --pd-line: #E4E4E7;
    --pd-line-ui: #85858F;
    --pd-black: #000000;
    --pd-black-2: #1C1C1C;
    --pd-on-black: #FFFFFF;
    --pd-on-black-muted: #C9C9CF;
    --pd-red: #B23426;
    --pd-red-dark: #8E2519;
    --pd-red-soft: #FBEAE7;
    --pd-up: #0E7A3B;
    --pd-up-soft: #E3F4EA;
    --pd-navy: #07142B;
    --pd-neon: #36E57F;
    --pd-shade: rgba(0, 0, 0, .6);
    --pd-shadow-soft: 0 6px 24px rgba(0, 0, 0, .08);
    --pd-mark: 'Inria Serif', Georgia, serif;
    --pd-head: 'Inria Serif', Georgia, serif;
    --pd-body: 'Inter', Arial, Helvetica, sans-serif;
    --pd-head-track: 0;
    --pd-g: 40px;
    --pd-ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--pd-paper); color: var(--pd-ink); font-family: var(--pd-body); font-size: 18px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--pd-red); outline-offset: 3px; }
.pd-on-dark :focus-visible { outline-color: var(--pd-neon); }
.pd-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pd-skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 12px 14px; border-radius: 8px; background: var(--pd-black); color: var(--pd-on-black); text-decoration: none; }
.pd-skip:focus { top: 12px; }
.pd-js-only { display: none !important; }
.js .pd-js-only { display: revert !important; }
.pd-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pd-wrap { max-width: calc(1200px + 2 * var(--pd-g)); margin: 0 auto; padding: 0 var(--pd-g); }
.pd-narrow { max-width: calc(800px + 2 * var(--pd-g)); }

.js 
.pd-header { background: var(--pd-paper); }
.pd-header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.pd-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--pd-ink); font-family: var(--pd-mark); font-size: 30px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; }
.pd-logo img { width: 34px; height: auto; }
.pd-actions { display: flex; align-items: center; gap: 10px; }
.pd-search { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.pd-search:hover { background: var(--pd-soft); }
.pd-nav-search { display: none; width: 40px; height: 40px; margin-left: auto; color: var(--pd-on-black); }
.pd-nav-search:hover { background: var(--pd-black-2); }
.pd-nav :focus-visible { outline-color: var(--pd-neon); }

.pd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 15px; border: 2px solid var(--pd-black); border-radius: 8px; background: var(--pd-black); color: var(--pd-on-black); font-family: var(--pd-body); font-size: 17px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--pd-ease); }
.pd-btn:hover { background: var(--pd-black-2); border-color: var(--pd-black-2); }
.pd-btn:active { transform: translateY(1px); }
.pd-btn-sm { min-height: 40px; padding: 0 8px; font-size: 16px; }
.pd-btn-line { background: transparent; color: var(--pd-ink); }
.pd-btn-line:hover { background: var(--pd-soft); color: var(--pd-ink); border-color: var(--pd-black); }

.pd-nav { background: var(--pd-black); color: var(--pd-on-black); }
.pd-nav-in { display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: center; min-height: 54px; padding-top: 8px; padding-bottom: 8px; }
.pd-nav a { font-family: var(--pd-mark); font-size: 19px; font-weight: 700; text-decoration: none; }
.pd-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.pd-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pd-menu { display: contents; }
.pd-burger { display: none; }

.pd-h1 { font-family: var(--pd-head); font-size: clamp(36px, 4.6vw, 60px); font-weight: 700; line-height: 1.08; letter-spacing: var(--pd-head-track); }
.pd-h2 { font-family: var(--pd-head); font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.12; letter-spacing: var(--pd-head-track); }
.pd-h3 { font-family: var(--pd-head); font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: var(--pd-head-track); }
.pd-label { color: var(--pd-muted); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pd-label-red { color: var(--pd-red); }
.pd-lead { color: var(--pd-ink-2); font-size: 20px; line-height: 1.4; }
.pd-small { color: var(--pd-muted); font-size: 16px; }
.pd-sec { padding: 88px 0; }
.pd-sec-soft { background: var(--pd-soft); }
.pd-sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.pd-sec-head p { max-width: 640px; margin-top: 10px; }

.pd-form { width: 100%; max-width: 540px; }
.pd-form-box { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--pd-line-ui); border-radius: 12px; background: var(--pd-white); }
.pd-input { flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--pd-ink); font-family: var(--pd-body); font-size: 18px; }
.pd-input::placeholder { color: var(--pd-muted); }
.pd-input:focus { outline: none; }
.pd-form-box:focus-within { outline: 3px solid var(--pd-red); outline-offset: 3px; }
.pd-on-dark .pd-form-box:focus-within { outline-color: var(--pd-neon); }
.pd-form-note { margin-top: 12px; }
.pd-form-ok { display: none; padding: 16px; border-radius: 12px; background: var(--pd-white); color: var(--pd-ink); font-weight: 600; }
.pd-form-err { display: none; margin-top: 10px; color: var(--pd-red); font-size: 16px; }
.pd-form.loading .pd-btn { opacity: .7; }
.pd-form.success .pd-form-box, .pd-form.success .pd-form-note { display: none; }
.pd-form.success .pd-form-ok { display: block; }
.pd-form.error .pd-form-err { display: block; }

.pd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.pd-card { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.pd-card-img { aspect-ratio: 1.9 / 1; width: 100%; height: auto; border-radius: 6px; object-fit: cover; background: var(--pd-navy); }
.pd-card-title { font-family: var(--pd-head); font-size: 24px; font-weight: 700; line-height: 1.18; letter-spacing: var(--pd-head-track); }
.pd-card:hover .pd-card-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pd-card-ex { color: var(--pd-ink-2); font-size: 16px; }
.pd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--pd-muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pd-meta i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.pd-more { display: flex; justify-content: center; margin-top: 48px; }

.pd-author { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; padding: 40px; border: 1px solid var(--pd-line); border-radius: 12px; background: var(--pd-white); box-shadow: var(--pd-shadow-soft); }
.pd-author-q { margin-top: 10px; font-family: var(--pd-head); font-size: 24px; font-style: italic; line-height: 1.35; }
.pd-author p + p { margin-top: 12px; }
.pd-author-bio { max-width: 760px; color: var(--pd-ink-2); }

.pd-band { position: relative; overflow: hidden; background: var(--pd-black); color: var(--pd-on-black); }
.pd-band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-band::after { content: ""; position: absolute; inset: 0; background: var(--pd-shade); }
.pd-band-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 32px 56px; align-items: start; padding-top: 72px; padding-bottom: 72px; }
.pd-band-title { font-family: var(--pd-mark); font-size: clamp(30px, 3vw, 40px); font-weight: 700; line-height: 1.1; }
.pd-check { display: inline-flex; width: 26px; height: 26px; flex: none; align-items: center; justify-content: center; border-radius: 6px; background: var(--pd-neon); color: var(--pd-navy); }
.pd-check .pd-icon { width: 18px; height: 18px; stroke-width: 3; }
.pd-band-line { display: flex; gap: 12px; align-items: center; margin-top: 16px; font-size: 20px; font-weight: 600; }
.pd-band-sub { margin-top: 10px; color: var(--pd-on-black-muted); }

.pd-footer { background: var(--pd-black); color: var(--pd-on-black); font-size: 16px; }
.pd-footer-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: start; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--pd-black-2); }
.pd-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pd-footer a { text-underline-offset: 3px; }
.pd-footer-note { grid-column: 1 / -1; color: var(--pd-on-black-muted); font-size: 14px; }

.pd-post-head { padding-top: 48px; }
.pd-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--pd-muted); font-size: 14px; }
.pd-crumbs a { text-underline-offset: 3px; }
.pd-crumbs .pd-icon { width: 14px; height: 14px; }
.pd-post-title { margin-top: 22px; font-family: var(--pd-head); font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; line-height: 1.1; letter-spacing: var(--pd-head-track); }
.pd-post-ex { margin-top: 16px; color: var(--pd-ink-2); font-size: 21px; line-height: 1.4; }
.pd-byline { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; color: var(--pd-muted); font-size: 16px; }
.pd-byline b { color: var(--pd-ink); font-weight: 600; }
.pd-post-img { margin: 32px 0 30px; }
.pd-post-img img { width: 100%; max-height: 420px; border-radius: 6px; object-fit: cover; }

.pd-content { padding: 0 0 72px; font-size: 18px; line-height: 1.4; }
.pd-content > * + * { margin-top: 20px; }
.pd-content p a, .pd-content li a { color: var(--pd-red); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pd-content p a:hover, .pd-content li a:hover { color: var(--pd-red-dark); }
.pd-content h2 { margin-top: 56px; font-family: var(--pd-head); font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: var(--pd-head-track); }
.pd-content h3 { margin-top: 32px; font-family: var(--pd-body); font-size: 19px; font-weight: 700; line-height: 1.3; }
.pd-content h2 + * { margin-top: 18px; }
.pd-content h3 + p { margin-top: 8px; }
.pd-content ul { display: grid; gap: 14px; }
.pd-content ul > li { position: relative; padding-left: 22px; }
.pd-content ul > li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--pd-red); }
.pd-content strong { font-weight: 700; }
.pd-content h3 + p + p:has(> a:only-child) a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.pd-content h3 + p + p:has(> a:only-child) a::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.pd-content h3 + p + p:has(> a:only-child) a:hover { text-decoration: underline; }
.pd-content h3 + p + p:has(> a:only-child) { margin-top: 10px; }

.pd-related { padding: 72px 0 88px; border-top: 1px solid var(--pd-line); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 1024px) {
    .pd-cards { gap: 28px; }
    .pd-band-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
    :root { --pd-g: 24px; }
    .pd-cards { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .pd-sec { padding: 64px 0; }
    .pd-author { padding: 24px; }
    .pd-footer-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .pd-logo { font-size: 23px; gap: 9px; }
    .pd-logo img { width: 27px; }
    .pd-login { display: none; }
}
@media (max-width: 560px) {
    :root { --pd-g: 20px; }
    .pd-header-in { min-height: 68px; gap: 8px; }
    .pd-actions { gap: 4px; }
    .pd-nav-in { gap: 2px 18px; }
    .pd-nav a { font-size: 17px; }
    .pd-form-box { flex-direction: column; }
    .pd-form-box .pd-btn { width: 100%; }
    .pd-content h2 { font-size: 26px; }
    .pd-post-ex { font-size: 19px; }
}
@media (max-width: 560px) {
    .js .pd-burger { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--pd-on-black); font-family: var(--pd-mark); font-size: 17px; font-weight: 700; cursor: pointer; }
    .js .pd-burger .pd-icon-x, .js .pd-nav.is-open .pd-burger .pd-icon-menu { display: none; }
    .js .pd-nav.is-open .pd-burger .pd-icon-x { display: block; }
    .js .pd-menu { display: none; order: 3; flex: 1 0 100%; flex-direction: column; padding: 4px 0 8px; }
    .js .pd-nav.is-open .pd-menu { display: flex; }
    .js .pd-menu a { padding: 12px 0; border-top: 1px solid var(--pd-black-2); }
    .js .pd-nav-in { gap: 0 18px; }
    .js .pd-nav-search { display: inline-flex; }
    .js .pd-actions .pd-search { display: none; }
}
@media (max-width: 420px) {
    .pd-actions .pd-search { display: none; }
    .pd-nav-search { display: inline-flex; }
}
@media (max-width: 360px) {
    .pd-logo { font-size: 19px; gap: 7px; }
    .pd-logo img { width: 24px; }
    .pd-nav a { font-size: 16px; }
    .pd-btn-sm { padding: 0 8px; font-size: 15px; }
}

.pda-hero { position: relative; overflow: hidden; background: var(--pd-black); color: var(--pd-on-black); }
.pda-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.pda-hero::after { content: ""; position: absolute; inset: 0; background: var(--pd-shade); }
.pda-hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-top: 88px; padding-bottom: 88px; text-align: center; }
.pda-hero .pd-h1 { max-width: 850px; }
.pda-hero .pd-lead { max-width: 640px; margin-top: 16px; color: var(--pd-on-black); }
.pda-hero .pd-form { margin-top: 32px; }
.pda-hero .pd-form-note { color: var(--pd-on-black-muted); }

.pda-latest-title { font-family: var(--pd-head); font-size: clamp(26px, 2.4vw, 32px); font-weight: 700; letter-spacing: var(--pd-head-track); }
.pda-cards .pd-card { position: relative; }
.pda-cards .pd-card + .pd-card::before { content: ""; position: absolute; left: -20px; top: 0; bottom: 0; border-left: 1px solid var(--pd-line); }

.pda-inside { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.pda-inside-h { margin-top: 12px; }
.pda-inside .pd-lead { max-width: 640px; margin-top: 14px; }
.pda-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.pda-tab { min-height: 44px; padding: 0 11px; border: 1px solid var(--pd-line-ui); border-radius: 8px; background: var(--pd-white); font-size: 16px; font-weight: 600; cursor: pointer; }
.pda-tab:hover { border-color: var(--pd-black); }
.pda-tab[aria-selected="true"] { border-color: var(--pd-black); background: var(--pd-black); color: var(--pd-on-black); }
.pda-panel { margin-top: 20px; padding: 32px; border: 1px solid var(--pd-line); border-radius: 12px; background: var(--pd-white); }
.pda-panel-desc { color: var(--pd-ink-2); font-size: 19px; }
.pda-sample { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--pd-line); }
.pda-sample .pd-label { display: block; margin-bottom: 14px; }
.pda-sample.pd-content { padding: 24px 0 0; }
.pda-sample.pd-content h3 { margin-top: 0; }
.js .pda-panel[hidden] { display: none; }
.pda-nojs-name { margin-bottom: 8px; font-family: var(--pd-head); font-size: 22px; font-weight: 700; }
.js .pda-nojs-name { display: none; }
html:not(.js) .pda-panel + .pda-panel { margin-top: 16px; }

.pda-content h2 { padding-top: 28px; border-top: 2px solid var(--pd-black); }
.pda-content h3 { padding-top: 20px; border-top: 1px solid var(--pd-line); }
.pda-content h2 + h3 { padding-top: 0; border-top: 0; }
.pda-content p > strong:first-child { color: var(--pd-red); }

@media (max-width: 1024px) {
    .pda-inside { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
    .pda-cards .pd-card + .pd-card::before { left: 0; right: 0; top: -20px; bottom: auto; border-left: 0; border-top: 1px solid var(--pd-line); }
    .pda-panel { padding: 22px; }
    .pda-hero-in { padding-top: 64px; padding-bottom: 64px; }
}

.pdc-markets { padding: 8px 0 88px; }
.pdc-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 24px; }
.pdc-head .pd-h2 { margin-top: 10px; }
.pdc-live { display: inline-flex; align-items: center; gap: 10px; }
.pdc-live::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pd-red); }
.pdc-markets.is-live .pdc-live::before { animation: pdc-pulse 1.8s ease-in-out infinite; }
@keyframes pdc-pulse { 50% { opacity: .35; } }
.pdc-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pdc-stamp { color: var(--pd-muted); font-size: 16px; }
.pdc-refresh { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 9px; border: 1px solid var(--pd-line-ui); border-radius: 8px; background: var(--pd-white); font-size: 16px; font-weight: 600; cursor: pointer; }
.pdc-refresh:hover { border-color: var(--pd-black); }
.pdc-refresh .pd-icon { width: 18px; height: 18px; }
.pdc-markets.is-loading .pdc-refresh .pd-icon { animation: pdc-spin 1s linear infinite; }
@keyframes pdc-spin { to { transform: rotate(360deg); } }

.pdc-tape { min-height: 72px; padding: 10px 0; border-top: 2px solid var(--pd-black); border-bottom: 1px solid var(--pd-line); }

.pdc-boards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.pdc-box { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--pd-line); border-radius: 12px; background: var(--pd-white); box-shadow: var(--pd-shadow-soft); }
.pdc-box-head { padding-bottom: 14px; border-bottom: 2px solid var(--pd-black); }
.pdc-box h3 { font-family: var(--pd-head); font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: var(--pd-head-track); }
.pdc-box-head p { margin-top: 4px; color: var(--pd-muted); font-size: 15px; }
.pdc-list { display: grid; min-height: 380px; align-content: start; }
.pdc-row + .pdc-row { border-top: 1px solid var(--pd-line); }
.pdc-link { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 8px; border-radius: 8px; color: inherit; text-decoration: none; }
.pdc-link:hover { background: var(--pd-soft); }
.pdc-link:hover .pdc-q { text-decoration: underline; text-underline-offset: 3px; }
.pdc-icon { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--pd-soft-2); }
.pdc-rank { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; background: var(--pd-black); color: var(--pd-on-black); font-size: 15px; font-weight: 700; }
.pdc-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pdc-q { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 16px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.pdc-sub { color: var(--pd-muted); font-size: 14px; }
.pdc-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.pdc-pct { font-size: clamp(18px, 1.5vw, 20px); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; white-space: nowrap; }
.pdc-out { max-width: 120px; overflow: hidden; color: var(--pd-muted); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.pdc-chg { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 4px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.pdc-chg .pd-icon { width: 14px; height: 14px; stroke-width: 2.5; }
.pdc-chg.is-up { background: var(--pd-up-soft); color: var(--pd-up); }
.pdc-chg.is-down { background: var(--pd-red-soft); color: var(--pd-red); }
.pdc-sub.is-up { color: var(--pd-up); }
.pdc-sub.is-down { color: var(--pd-red); }
.pdc-empty { padding: 20px 8px; color: var(--pd-muted); font-size: 16px; }
.pdc-skel { display: grid; gap: 10px; padding: 16px 8px; }
.pdc-skel span { height: 46px; border-radius: 8px; background: var(--pd-soft); }
.pdc-box-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--pd-line); font-size: 15px; }
.pdc-box-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--pd-red); font-weight: 700; text-underline-offset: 3px; }
.pdc-box-foot .pd-icon { width: 14px; height: 14px; stroke-width: 2.5; }
.pdc-nojs { margin-top: 20px; color: var(--pd-muted); }
.js .pdc-nojs { display: none; }
html:not(.js) .pdc-boards, html:not(.js) .pdc-status { display: none; }
.pdc-credit { margin-top: 16px; color: var(--pd-muted); font-size: 14px; }

@media (max-width: 900px) {
    .pdc-boards { grid-template-columns: minmax(0, 1fr); }
    .pdc-list { min-height: 0; }
}
@media (max-width: 560px) {
    .pdc-box { padding: 16px; }
    .pdc-link { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 12px 4px; }
    .pdc-icon, .pdc-rank { width: 36px; height: 36px; }
    .pdc-out { max-width: 90px; }
}
@media (prefers-reduced-motion: reduce) {
    .pdc-tape { display: none; }
    .pdc-markets.is-live .pdc-live::before, .pdc-markets.is-loading .pdc-refresh .pd-icon { animation: none; }
}

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
.pd-logo:hover { text-decoration: none; }
.pd-card-empty { display: block; aspect-ratio: 1.9 / 1; width: 100%; border-radius: 6px; background: var(--pd-navy); }

.pd-article { --pd-g: 30px; overflow-x: clip; }
.pd-post-img figcaption { margin-top: 10px; color: var(--pd-muted); font-size: 15px; text-align: center; }
.pd-content h4 { margin-top: 28px; font-size: 18px; font-weight: 700; }
.pd-content a { color: var(--pd-red); }
.pd-content ol { padding-left: 1.4em; list-style: decimal; }
.pd-content ol > li { padding-left: 4px; }
.pd-content ol > li + li { margin-top: 10px; }
.pd-content blockquote { padding-left: 20px; border-left: 4px solid var(--pd-red); font-family: var(--pd-head); font-size: 22px; font-style: italic; line-height: 1.35; }
.pd-content hr { margin: 40px 0; border: 0; border-top: 1px solid var(--pd-line); }
.pd-content figure { margin-left: 0; margin-right: 0; }
.pd-content img { height: auto; border-radius: 6px; }
.pd-content .kg-image-card img { margin: 0 auto; }
.pd-content figcaption { margin-top: 10px; color: var(--pd-muted); font-size: 15px; text-align: center; }
.pd-content .kg-width-wide { position: relative; left: 50%; width: min(1200px, calc(100vw - 2 * var(--pd-g))); max-width: none; transform: translateX(-50%); }
.pd-content .kg-width-full { position: relative; left: 50%; width: 100vw; max-width: none; transform: translateX(-50%); }
.pd-content .kg-width-full img { border-radius: 0; }
.pd-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 18px; }
.pd-content th, .pd-content td { padding: 10px 12px; border-bottom: 1px solid var(--pd-line); text-align: left; }
.pd-content th { font-weight: 700; }
.pd-content pre { overflow-x: auto; padding: 16px; border-radius: 8px; background: var(--pd-soft); font-size: 15px; }
.pd-content code { font-size: 1em; overflow-wrap: anywhere; }
.pd-content .kg-callout-card { display: flex; gap: 12px; padding: 20px; border-radius: 12px; background: var(--pd-soft); }
.pd-content .kg-callout-card div.kg-callout-text { font-size: 18px; line-height: 1.4; }
.pd-content .kg-callout-emoji { font-size: 20px; line-height: 1.4; }
.pd-content .kg-toggle-card { padding: 20px; border: 1px solid var(--pd-line); border-radius: 12px; }
.pd-content .kg-toggle-card h4.kg-toggle-heading-text { margin-top: 0; font-size: 18px; line-height: 1.4; }
.pd-content .kg-toggle-card .kg-toggle-content p { font-size: 18px; line-height: 1.4; }
.pd-content .kg-toggle-card svg { color: var(--pd-ink); }
.pd-content .kg-button-card a.kg-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 17px; border-radius: 8px; background: var(--pd-black); color: var(--pd-on-black); font-size: 17px; font-weight: 600; text-decoration: none; }
.pd-content .kg-bookmark-card a.kg-bookmark-container { border: 1px solid var(--pd-line); border-radius: 12px; color: var(--pd-ink); font-weight: 400; text-decoration: none; }

.pd-page-head { padding: 56px 0 40px; }
.pd-page-head .pd-lead { max-width: 760px; margin-top: 12px; }
.pd-page-head .pd-label { display: block; margin-bottom: 10px; }
.pd-search-field { display: flex; align-items: center; gap: 10px; width: min(560px, 100%); min-height: 52px; margin-top: 24px; padding: 0 16px; border: 1px solid var(--pd-line-ui); border-radius: 12px; background: var(--pd-white); color: var(--pd-muted); font-size: 18px; text-align: left; cursor: pointer; }
.pd-search-field:hover { border-color: var(--pd-black); }
.pd-list { padding-bottom: 88px; }
.pd-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; }
.pd-tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding-bottom: 88px; }
.pd-tagcard { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--pd-line); border-radius: 12px; color: inherit; text-decoration: none; }
.pd-tagcard:hover { border-color: var(--pd-black); }
.pd-tagcard-name { font-family: var(--pd-head); font-size: 22px; font-weight: 700; line-height: 1.2; }
.pd-tagcard p { color: var(--pd-ink-2); font-size: 16px; }
.pd-author-page { padding: 56px 0 40px; }
.pd-author-page .pd-h1 { margin-top: 10px; }
.pd-author-page .pd-author-bio { margin-top: 12px; }
.pd-404 { padding: 120px 0; }
.pd-404 .pd-lead { margin-top: 16px; }
.pd-404-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

@media (max-width: 820px) {
    .pd-article { --pd-g: 20px; }
    .pd-post-img { margin-bottom: 20px; }
    .pd-page-head, .pd-author-page { padding: 40px 0 32px; }
    .pd-404 { padding: 72px 0; }
}
.pd-footer-note, .pdc-credit, .pda-panel-desc, .pda-sample > * { max-width: 850px; }
