.tvk-public-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--t-border); background: var(--t-bg); color: var(--t-text); }
.tvk-public-header__inner { width: min(1120px, calc(100% - 32px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tvk-public-header__brand { display: flex; align-items: center; flex: 0 0 auto; min-height: 44px; }
.tvk-public-header__brand img { display: block; width: 160px; height: auto; }
.tvk-public-header__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.tvk-public-header__app, .tvk-public-menu > summary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.4; font-weight: 700; white-space: nowrap; text-decoration: none; color: var(--t-text); cursor: pointer; }
.tvk-public-header__app:hover, .tvk-public-menu > summary:hover { background: var(--t-surface); }
.tvk-public-header__app:active, .tvk-public-menu > summary:active { transform: scale(.96); }
.tvk-public-menu { position: relative; }
.tvk-public-menu > summary { list-style: none; border: 1px solid var(--t-border); }
.tvk-public-menu > summary::-webkit-details-marker { display: none; }
.tvk-public-menu > summary svg { display: block; flex-shrink: 0; }
.tvk-public-menu[open] > summary { background: var(--t-surface); }
.tvk-public-menu__panel { position: absolute; right: 0; top: calc(100% + 14px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: min(580px, calc(100vw - 32px)); max-height: calc(100dvh - 108px); overflow-y: auto; overscroll-behavior: contain; padding: 22px; border: 1px solid var(--t-border); border-radius: 16px; background: var(--t-surface); box-shadow: var(--t-shadow, none); }
.tvk-public-menu__section { min-width: 0; }
.tvk-public-menu__section p { margin: 0 0 10px; color: var(--t-text-subtle); font-size: 12px; font-weight: 600; line-height: 1.5; }
.tvk-public-menu__section a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; margin-inline: -12px; border-radius: 10px; color: var(--t-text); font-size: 14px; line-height: 1.5; text-decoration: none; }
.tvk-public-menu__section a:hover, .tvk-public-menu__section a[aria-current] { background: var(--t-bg); }
@media (max-width: 600px) {
  .tvk-public-header__inner { min-height: 68px; }
  .tvk-public-header__brand img { width: 120px; }
  .tvk-public-header__actions { gap: 4px; }
  .tvk-public-header__app { padding-inline: 8px; }
  .tvk-public-menu > summary { width: 44px; padding: 10px; }
  .tvk-public-menu__label { display: none; }
  .tvk-public-menu__panel { grid-template-columns: 1fr; gap: 20px; top: calc(100% + 12px); max-height: calc(100dvh - 96px); }
}

@media (prefers-reduced-motion: reduce) {
  .tvk-public-header__app:active, .tvk-public-menu > summary:active { transform: none; }
}
