.dy-utility { padding: 12px 0 0; color: var(--dy-muted); font-size: 0.82rem; }
.dy-utility-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 28px; }
.dy-utility-meta { display: flex; align-items: center; gap: 16px; }
.dy-utility time { display: inline-flex; align-items: center; gap: 6px; }
.dy-utility time::before { content: ""; width: 14px; height: 14px; background: currentColor; opacity: 0.7; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v2h6V2h2v2h3v18H4V4h3zm11 6H6v10h12z'/%3E%3C/svg%3E") center / contain no-repeat; }
.dy-utility time + time::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a9 9 0 1 0 9 9 9 9 0 0 0-9-9zm1 9.4 3.2 1.9-.9 1.5L11 13V7h2z'/%3E%3C/svg%3E"); }
.dy-social { display: flex; align-items: center; gap: 4px; }
.dy-social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--dy-muted); text-decoration: none; }
.dy-social svg { width: 15px; height: 15px; fill: currentColor; }
.dy-social a:hover { color: var(--dy-accent); }
.dy-social.is-labeled { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dy-social.is-labeled a { width: auto; height: auto; justify-content: flex-start; gap: 8px; border: 1px solid var(--dy-border); border-radius: 10px; padding: 10px 12px; color: var(--dy-text); font-weight: 700; font-size: 0.84rem; background: var(--dy-surface); }
.dy-header { background: transparent; padding: 10px 0 0; }
.dy-header.is-sticky { position: sticky; top: 8px; z-index: 30; }
.dy-header-card { display: flex; align-items: center; gap: 18px; min-height: 74px; padding: 10px 14px 10px 18px; background: var(--dy-surface); border: 1px solid var(--dy-border); border-radius: var(--dy-radius-lg, 16px); box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06); }
.dy-logo { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; max-width: 240px; text-decoration: none; color: var(--dy-text); line-height: 1; }
.dy-logo-name { font-weight: 800; font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -0.04em; }
.dy-logo small { margin-top: 5px; color: var(--dy-muted); font-size: 0.68rem; font-weight: 650; letter-spacing: 0.04em; }
.dy-logo img { display: block; width: auto; height: 42px; max-width: min(220px, 46vw); object-fit: contain; object-position: left center; }
.dy-logo img.dy-logo-mobile, .dy-logo img.dy-logo-dark { display: none; }
html.dy-dark .dy-logo img.dy-logo-dark { display: block; }
html.dy-dark .dy-logo:has(.dy-logo-dark) .dy-logo-desktop { display: none; }
.dy-nav { display: flex; align-items: center; justify-content: flex-end; gap: 2px; flex: 1; min-width: 0; }
.dy-nav > a, .dy-item > a, .dy-more > summary { color: var(--dy-text); text-decoration: none; font-weight: 600; font-size: 0.94rem; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.dy-nav > a:hover, .dy-item > a:hover, .dy-more > summary:hover { color: var(--dy-accent); }
.dy-nav > a[aria-current="page"], .dy-item > a[aria-current="page"] { background: var(--dy-accent); color: #fff; }
.dy-item, .dy-more { position: relative; display: flex; align-items: center; }
.dy-caret { width: 28px; height: 28px; margin-left: -6px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.dy-caret::before { content: ""; display: block; margin: 0 auto; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.dy-sub { display: none; position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px; padding: 8px; background: var(--dy-surface); color: var(--dy-text); border-radius: 14px; box-shadow: var(--dy-shadow); z-index: 40; }
.dy-sub a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 620; white-space: normal; }
.dy-sub a:hover, .dy-sub a:focus-visible { background: color-mix(in srgb, var(--dy-accent) 12%, var(--dy-surface)); color: var(--dy-accent); }
.dy-sub a.is-child { padding-left: 22px; color: var(--dy-muted); font-weight: 550; }
.dy-item:hover > .dy-sub, .dy-item:focus-within > .dy-sub, .dy-item.is-open > .dy-sub, .dy-more[open] > .dy-sub { display: block; }
.dy-more > summary { cursor: pointer; list-style: none; }
.dy-more > summary::-webkit-details-marker { display: none; }
.dy-tools { position: relative; display: flex; align-items: center; gap: 6px; }
.dy-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--dy-text); cursor: pointer; }
.dy-iconbtn svg { width: 20px; height: 20px; fill: currentColor; }
.dy-iconbtn:hover { background: color-mix(in srgb, var(--dy-text) 6%, transparent); }
.dy-moon, .dy-sun { width: 20px; height: 20px; }
html.dy-dark .dy-moon, html:not(.dy-dark) .dy-sun { display: none; }
.dy-search { display: flex; gap: 8px; align-items: center; }
.dy-header-card .dy-search { position: absolute; top: calc(100% + 10px); right: 0; z-index: 45; width: min(320px, 80vw); padding: 10px; background: var(--dy-surface); border-radius: 14px; box-shadow: var(--dy-shadow); }
.dy-search[hidden] { display: none; }
.dy-search input { flex: 1; min-width: 0; border: 1px solid var(--dy-border); border-radius: 999px; padding: 10px 14px; background: var(--dy-bg); color: var(--dy-text); font: inherit; }
.dy-search button { border: 0; border-radius: 999px; background: var(--dy-accent); color: #fff; min-height: 40px; padding: 0 14px; cursor: pointer; font: inherit; font-weight: 700; }
.dy-burger { display: inline-flex; }
.dy-backdrop { position: fixed; inset: 0; background: rgba(15, 18, 28, 0.45); z-index: 40; }
.dy-backdrop[hidden] { display: none; }
.dy-drawer { display: block; position: fixed; inset: 0 0 0 auto; width: min(360px, 100%); background: var(--dy-surface); color: var(--dy-text); z-index: 50; overflow: auto; padding: 18px 16px 28px; box-shadow: var(--dy-shadow); }
.dy-drawer[hidden] { display: none; }
.dy-drawer .dy-search { display: flex; margin: 12px 0; }
.dy-drawer a, .dy-drawer button.dy-theme { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 650; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; width: 100%; text-align: left; }
.dy-drawer a.is-child { padding-left: 14px; color: var(--dy-muted); font-weight: 550; }
.dy-footer { margin-top: 28px; background: #141820; color: #d5d8e0; padding: 42px 0 18px; border-top: 4px solid var(--dy-accent); }
.dy-footer a { color: inherit; text-decoration: none; }
.dy-footer a:hover { color: #fff; }
.dy-footer-grid { display: grid; grid-template-columns: 1.2fr 1.1fr 0.9fr; gap: 32px; }
.dy-footer h2 { margin: 0 0 14px; color: #fff; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.dy-footer-logo { display: inline-flex; align-items: center; margin-bottom: 12px; color: #fff; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.04em; }
.dy-footer-logo img { height: 42px; width: auto; max-width: 200px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.dy-footer p { margin: 0 0 10px; color: #a8b0bd; max-width: 36ch; }
.dy-footer-pages, .dy-footer nav { display: grid; gap: 8px; }
.dy-footer-story { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; margin: 0 0 12px; }
.dy-footer-story img { width: 92px; height: 68px; object-fit: cover; border-radius: 8px; }
.dy-footer-story strong { display: block; color: #fff; line-height: 1.3; }
.dy-footer-story small, .dy-footer-copy { color: #8b93a1; }
.dy-footer .dy-social.is-labeled { margin-top: 4px; }
.dy-footer .dy-social.is-labeled a { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.16); }
.dy-footer-topics { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.dy-footer-copy { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.84rem; text-align: center; }
.dy-main { padding: 18px 0 56px; }
.dy-top { position: fixed; right: 18px; bottom: 18px; z-index: 35; width: 42px; height: 42px; border: 0; border-radius: 8px; background: var(--dy-accent); color: #fff; font-size: 1.3rem; cursor: pointer; box-shadow: var(--dy-shadow); }
.dy-top[hidden] { display: none; }
.dy-sticky { display: none; }
body.dy-lock { overflow: hidden; }
@media (max-width: 1023px) {
    .dy-utility { display: none; }
    .dy-nav { display: none; }
    .dy-header-card { min-height: 64px; }
    .dy-logo { flex: 1; align-items: center; max-width: none; }
    .dy-logo img { height: 36px; object-position: center; }
    .dy-logo img.dy-logo-mobile { display: block; }
    .dy-logo:has(.dy-logo-mobile) .dy-logo-desktop { display: none; }
    html.dy-dark .dy-logo:has(.dy-logo-dark) img.dy-logo-mobile { display: none; }
    html.dy-dark .dy-logo:has(.dy-logo-dark) img.dy-logo-dark { display: block; }
    .dy-footer-grid { grid-template-columns: 1fr; }
    .dy-sticky { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: var(--dy-surface); border: 1px solid var(--dy-border); border-radius: var(--dy-radius-md); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); max-height: 28vh; overflow: auto; }
    .dy-sticky.is-closed { display: none; }
    .dy-sticky [data-dy-sticky-close] { border: 0; background: transparent; color: var(--dy-muted); cursor: pointer; font: inherit; min-height: 44px; }
    .dy-top { bottom: 76px; }
}
html.dy-dark .dy-footer { background: #07090e; }
