/* Desktop header with fewer items: see deskmenu.js. Phones keep the bottom dock, so this only applies from 761px. */
.dm-more, .dm-pop { display: none; }
@media (min-width: 761px) {
  header.top.dm-on .dm-hide { display: none !important; }
  header.top.dm-on nav.main { gap: 4px; }
  header.top.dm-on .dm-more { display: inline-flex; align-items: center; gap: 6px; background: transparent !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  header.top.dm-on .dm-more i { width: 7px; height: 7px; margin: -4px 2px 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
  header.top.dm-on .dm-more[aria-expanded="true"] i { transform: translateY(3px) rotate(-135deg); }
  .dm-pop:not([hidden]) { display: flex; flex-direction: column; position: fixed; z-index: 1000; width: 240px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px -12px rgba(20,16,12,.35), 0 0 0 1px rgba(20,16,12,.08); animation: dm-in .18s cubic-bezier(.2,.7,.2,1); }
  .dm-item { display: flex; align-items: center; min-height: 44px; width: 100%; padding: 0 14px; border: 0; border-radius: 12px; background: transparent; color: #16202C; font: 600 15px/1.2 Inter, system-ui, sans-serif; text-align: left; cursor: pointer; }
  .dm-item:hover, .dm-item:focus-visible { background: #F3EEE6; outline: none; }
  .dm-item:focus-visible { box-shadow: inset 0 0 0 2px #E8590C; }
  .dm-item[aria-current="page"] { color: #145C63; }
  html[data-night="1"] .dm-pop:not([hidden]) { background: #1E1A16; box-shadow: 0 24px 60px -12px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1); }
  html[data-night="1"] .dm-item { color: #F3EEE6; }
  html[data-night="1"] .dm-item:hover, html[data-night="1"] .dm-item:focus-visible { background: rgba(255,255,255,.08); }
}
@keyframes dm-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .dm-pop:not([hidden]) { animation: none; } header.top.dm-on .dm-more i { transition: none; } }
