.vdf-avatar { position: relative; display: inline-flex; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--bg-brand); text-decoration: none; box-shadow: 0 0 0 2px var(--bg-surface-low), 0 0 0 3px var(--border-color-default); }
.vdf-avatar__img { width: 100%; height: 100%; background-size: cover; background-position: center; }
.vdf-avatar__initials { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: var(--font-label-lg-family); font-weight: 600; font-size: .95rem; color: var(--fg-on-brand); text-transform: uppercase; }

.vdf-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 .5rem; border-radius: var(--border-radius-sm); background: var(--bg-accent); color: var(--fg-on-accent); font-family: var(--font-label-sm-family); font-size: var(--font-label-sm-size); font-weight: 600; letter-spacing: var(--font-label-sm-letter-spacing); text-transform: uppercase; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.block--tone-inverse .vdf-badge, .vdf-on-night .vdf-badge { background: rgba(240,162,58,.16); color: var(--brand-accent); }

.vdf-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 1.4rem; border-radius: var(--border-radius-md); font-family: var(--font-label-lg-family); font-size: var(--font-label-lg-size); font-weight: 600; line-height: 1.1; letter-spacing: var(--font-label-lg-letter-spacing); text-decoration: none; white-space: nowrap; cursor: pointer; border: 1.5px solid transparent; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.vdf-btn .vdf-ico { transition: transform .18s ease; }
.vdf-btn:hover .vdf-ico { transform: translateX(3px); }
.vdf-btn:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .vdf-btn, .vdf-btn .vdf-ico { transition: none; } .vdf-btn:hover .vdf-ico { transform: none; } }

.vdf-btn--primary { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--fg-on-inverse); }
.vdf-btn--primary:hover { background: var(--brand-primary-hover); border-color: var(--brand-primary-hover); color: var(--fg-on-inverse); }
.block--tone-inverse .vdf-btn--primary, .vdf-on-night .vdf-btn--primary { background: var(--brand-accent); border-color: var(--brand-accent); color: #0D1430; }
.block--tone-inverse .vdf-btn--primary:hover, .vdf-on-night .vdf-btn--primary:hover { background: var(--brand-accent-hover); border-color: var(--brand-accent-hover); color: #0D1430; }

.vdf-btn--secondary { background: var(--bg-surface-low); border-color: var(--border-color-strong); color: var(--fg-on-default); }
.vdf-btn--secondary:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.block--tone-inverse .vdf-btn--secondary, .vdf-on-night .vdf-btn--secondary { background: transparent; border-color: rgba(242,244,250,.38); color: var(--fg-on-inverse); }
.block--tone-inverse .vdf-btn--secondary:hover, .vdf-on-night .vdf-btn--secondary:hover { border-color: var(--fg-on-inverse); color: var(--fg-on-inverse); }

.vdf-link { display: inline-flex; align-items: center; gap: .45em; padding: .35rem 0; font-family: var(--font-label-lg-family); font-size: var(--font-label-lg-size); font-weight: 600; color: var(--brand-primary); text-decoration: none; border-bottom: 1.5px solid transparent; transition: border-color .18s ease, color .18s ease; }
.vdf-link .vdf-ico { transition: transform .18s ease; }
.vdf-link:hover { border-bottom-color: currentColor; color: var(--brand-primary-hover); }
.vdf-link:hover .vdf-ico { transform: translateX(3px); }
.vdf-link:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 3px; }
.block--tone-inverse .vdf-link, .vdf-on-night .vdf-link { color: var(--brand-accent); }
@media (prefers-reduced-motion: reduce) { .vdf-link .vdf-ico { transition: none; } .vdf-link:hover .vdf-ico { transform: none; } }

.vdf-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 .95rem; border-radius: var(--border-radius-md); border: 1.5px solid var(--border-color-default); background: var(--bg-surface-low); color: var(--fg-on-default); font-family: var(--font-label-md-family); font-size: var(--font-label-md-size); font-weight: 600; line-height: 1.1; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.vdf-chip:hover { border-color: var(--brand-primary); }
.vdf-chip[aria-pressed="true"], .vdf-chip.is-on { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--fg-on-inverse); }
.vdf-chip:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 2px; }
.block--tone-inverse .vdf-chip, .vdf-on-night .vdf-chip { background: rgba(242,244,250,.06); border-color: rgba(242,244,250,.22); color: var(--fg-on-inverse); }
.block--tone-inverse .vdf-chip[aria-pressed="true"], .vdf-on-night .vdf-chip[aria-pressed="true"] { background: var(--brand-accent); border-color: var(--brand-accent); color: #0D1430; }

.vdf-frame { position: relative; margin: 0; border-radius: var(--border-radius-lg); overflow: hidden; background: var(--bg-subtle); }
.vdf-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vdf-frame::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(13,20,48,.08); pointer-events: none; }

.vdf-pill { display: inline-flex; align-items: center; gap: .5em; min-height: 28px; padding: 0 .65rem; border-radius: var(--border-radius-sm); background: var(--bg-brand); color: var(--fg-on-brand); font-family: var(--font-label-md-family); font-size: var(--font-label-md-size); font-weight: 600; line-height: 1; white-space: nowrap; }
.block--tone-inverse .vdf-pill, .vdf-on-night .vdf-pill { background: rgba(141,162,240,.16); color: #C9D3FA; }

.vdf-progress { --progress: 0; }
.vdf-progress[data-variant="overlay-top"] { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 1200; background: transparent; pointer-events: none; }
.vdf-progress[data-variant="overlay-top"] .vdf-progress__bar { display: block; height: 100%; width: calc(var(--progress) * 1%); background: linear-gradient(90deg, var(--brand-secondary), var(--brand-primary)); }
.vdf-progress[data-variant="overlay-top"] .vdf-progress__value { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vdf-progress[data-variant="inline-content"], .vdf-progress[data-variant="sidebar"] { display: flex; align-items: center; gap: .7rem; }
.vdf-progress[data-variant="inline-content"] .vdf-progress__bar, .vdf-progress[data-variant="sidebar"] .vdf-progress__bar { flex: 1; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-secondary) calc(var(--progress) * 1%), var(--border-color-subtle) 0); }
.vdf-progress__value { font-family: var(--font-label-sm-family); font-size: var(--font-label-sm-size); font-weight: 600; letter-spacing: .04em; color: var(--fg-secondary); font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: right; }

.vdf-search { position: relative; display: flex; align-items: center; width: 100%; }
.vdf-search__input { width: 100%; min-height: 44px; padding: 0 3rem 0 1rem; border: 1.5px solid var(--border-color-default); border-radius: var(--border-radius-md); background: var(--bg-surface-low); color: var(--fg-on-default); font-family: var(--font-body-md-family); font-size: 1rem; }
.vdf-search__input::placeholder { color: var(--fg-secondary); }
.vdf-search__input:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px var(--bg-brand); }
.vdf-search__btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 36px; border: 0; border-radius: var(--border-radius-sm); background: var(--brand-primary); color: var(--fg-on-inverse); font-size: 1.05rem; cursor: pointer; }
.vdf-search__btn:hover { background: var(--brand-primary-hover); }
.vdf-search__btn:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 2px; }

.vdf-card { min-width: 0; height: 100%; }
.vdf-card__link { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--border-color-subtle); border-radius: var(--border-radius-lg); background: var(--bg-surface-low); overflow: hidden; color: inherit; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.vdf-card__link:hover { border-color: var(--border-color-default); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.vdf-card__link:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 3px; }
.vdf-card__media { display: block; aspect-ratio: 16 / 10; background: var(--bg-subtle); overflow: hidden; }
.vdf-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.vdf-card__link:hover .vdf-card__media img { transform: scale(1.03); }
.vdf-card__media--empty { position: relative; background: radial-gradient(120% 140% at 85% 120%, rgba(61,88,196,.55) 0 18%, transparent 18.4%), radial-gradient(120% 140% at 85% 120%, transparent 0 30%, rgba(24,120,154,.35) 30.3% 30.8%, transparent 31%), radial-gradient(120% 140% at 85% 120%, transparent 0 44%, rgba(242,244,250,.12) 44.2% 44.6%, transparent 44.8%), #0D1430; }
.vdf-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.25rem 1.35rem; }
.vdf-card__title { font-family: var(--font-title-lg-family); font-size: var(--font-title-lg-size); font-weight: 600; line-height: var(--font-title-lg-line-height); letter-spacing: var(--font-title-lg-letter-spacing); color: var(--fg-on-default); }
.vdf-card__link:hover .vdf-card__title { color: var(--brand-primary); }
.vdf-card__excerpt { font-family: var(--font-body-sm-family); font-size: var(--font-body-sm-size); line-height: var(--font-body-sm-line-height); color: var(--fg-secondary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .vdf-card__link, .vdf-card__media img { transition: none; } .vdf-card__link:hover { transform: none; } .vdf-card__link:hover .vdf-card__media img { transform: none; } }

.vdf-cat { position: relative; display: flex; flex-direction: column; height: 100%; border: 1px solid var(--border-color-subtle); border-radius: var(--border-radius-lg); background: var(--bg-surface-low); overflow: hidden; color: var(--fg-on-default); text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease; }
.vdf-cat:hover { border-color: var(--brand-primary); box-shadow: var(--shadow-md); }
.vdf-cat:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 3px; }
.vdf-cat__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-subtle); }
.vdf-cat__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.vdf-cat:hover .vdf-cat__media img { transform: scale(1.03); }
.vdf-cat__body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 3.2rem 1.15rem 1.2rem; }
.vdf-cat__title { font-family: var(--font-title-lg-family); font-size: var(--font-title-lg-size); font-weight: 600; line-height: 1.3; }
.vdf-cat__count { font-family: var(--font-label-sm-family); font-size: var(--font-label-sm-size); font-weight: 600; letter-spacing: var(--font-label-sm-letter-spacing); text-transform: uppercase; color: var(--brand-secondary); font-variant-numeric: tabular-nums; }
.vdf-cat__go { position: absolute; right: 1.1rem; bottom: 1.15rem; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-brand); color: var(--brand-primary); transition: background-color .18s ease, color .18s ease; }
.vdf-cat:hover .vdf-cat__go { background: var(--brand-primary); color: var(--fg-on-inverse); }
@media (prefers-reduced-motion: reduce) { .vdf-cat__media img { transition: none; } .vdf-cat:hover .vdf-cat__media img { transform: none; } }

.vdf-faq { border-bottom: 1px solid var(--border-color-default); }
.vdf-faq:first-child { border-top: 1px solid var(--border-color-default); }
.vdf-faq__q { position: relative; display: block; padding: 1.2rem 3rem 1.2rem 0; font-family: var(--font-title-lg-family); font-size: var(--font-title-lg-size); font-weight: 600; line-height: 1.35; color: var(--fg-on-default); cursor: pointer; list-style: none; }
.vdf-faq__q::-webkit-details-marker { display: none; }
.vdf-faq__q::before, .vdf-faq__q::after { content: ''; position: absolute; right: .55rem; top: 50%; width: 14px; height: 2px; border-radius: 1px; background: var(--brand-primary); transition: transform .2s ease; }
.vdf-faq__q::after { transform: rotate(90deg); }
.vdf-faq[open] > .vdf-faq__q::after { transform: rotate(0); }
.vdf-faq__q:hover { color: var(--brand-primary); }
.vdf-faq__q:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 3px; }
.vdf-faq__a { padding: 0 3rem 1.35rem 0; font-family: var(--font-body-md-family); font-size: var(--font-body-md-size); line-height: var(--font-body-md-line-height); color: var(--fg-secondary); }
.vdf-faq__a > :first-child { margin-top: 0; }
.vdf-faq__a > :last-child { margin-bottom: 0; }
.vdf-faq__a a { color: var(--brand-primary); }
@media (prefers-reduced-motion: reduce) { .vdf-faq__q::before, .vdf-faq__q::after { transition: none; } }

.vdf-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.vdf-form__field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.vdf-form__field--wide { grid-column: 1 / -1; }
.vdf-form__label { font-family: var(--font-label-md-family); font-size: var(--font-label-md-size); font-weight: 600; color: var(--fg-on-default); }
.vdf-form__label em { font-style: normal; font-weight: 500; color: var(--fg-secondary); margin-left: .3em; }
.vdf-form input, .vdf-form textarea { width: 100%; box-sizing: border-box; min-height: 48px; padding: .7rem .9rem; border: 1.5px solid var(--border-color-default); border-radius: var(--border-radius-md); background: var(--bg-surface-low); color: var(--fg-on-default); font-family: var(--font-body-md-family); font-size: 1rem; line-height: 1.4; }
.vdf-form textarea { resize: vertical; min-height: 9rem; }
.vdf-form input:focus, .vdf-form textarea:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px var(--bg-brand); }
.vdf-form__hp { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.vdf-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.4rem; }
.vdf-form__status { margin: 0; font-family: var(--font-label-lg-family); font-size: var(--font-label-lg-size); color: var(--fg-secondary); }
.vdf-form__status[data-state="success"] { color: var(--color-success); }
.vdf-form__status[data-state="error"] { color: var(--color-error); }
@media (max-width: 640px) { .vdf-form__grid { grid-template-columns: 1fr; } }

.vdf-reassure { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.vdf-reassure__item { display: flex; align-items: flex-start; gap: .75rem; min-width: 0; }
.vdf-reassure__ico { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--border-radius-md); background: var(--bg-brand); color: var(--brand-primary); }
.vdf-reassure__txt { padding-top: .45rem; font-family: var(--font-body-sm-family); font-size: var(--font-body-sm-size); line-height: 1.45; color: var(--fg-on-default); }
.block--tone-inverse .vdf-reassure__ico, .vdf-on-night .vdf-reassure__ico { background: rgba(141,162,240,.14); color: var(--brand-accent); }
.block--tone-inverse .vdf-reassure__txt, .vdf-on-night .vdf-reassure__txt { color: var(--fg-on-inverse); }
@media (max-width: 960px) { .vdf-reassure { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vdf-reassure { grid-template-columns: 1fr; } }
