
    :root { color-scheme: dark; background: #080809; }
    * { box-sizing: border-box; }
    html { min-height: 100%; }
    body {
      margin: 0;
      min-width: 280px;
      
      
      background: radial-gradient(ellipse at 50% 35%, #303032 0%, #202022 34%, #101011 68%, #050506 100%);
    }
    .masthead {
      display: grid;
      justify-items: center;
      align-content: start;
      
      
      padding: max(16px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    }
    .logo {
      display: block;
      width: min(100%, 1080px);
      height: auto;
      max-height: 76svh;
      object-fit: contain;
    }
    .header-divider {
      width: min(94%, 1100px);
      height: 1px;
      margin: 2px auto 0;
      border: 0;
      background: linear-gradient(90deg, transparent, rgba(166, 119, 43, .28) 14%, #c49a4a 35%, #f4d98f 50%, #c49a4a 65%, rgba(166, 119, 43, .28) 86%, transparent);
      position: relative;
    }
    .header-divider::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 22%;
      height: 1px;
      border-radius: 50%;
      background: linear-gradient(90deg, transparent, #e6c377 35%, #fff3cb 50%, #e6c377 65%, transparent);
      box-shadow: 0 0 4px rgba(243, 206, 121, .12);
      opacity: 0;
      pointer-events: none;
      animation: gold-glint 12s ease-in-out infinite;
    }
    @keyframes gold-glint {
      0%, 12% { transform: translateX(0); opacity: 0; }
      22% { opacity: .22; }
      42% { opacity: .3; }
      56%, 100% { transform: translateX(354%); opacity: 0; }
    }
    @keyframes gold-glow {
      0%, 100% { opacity: .15; }
      50% { opacity: .3; }
    }
    .header-divider::after {
      content: "";
      position: absolute;
      inset: -3px 12%;
      background: radial-gradient(ellipse, rgba(219, 175, 81, .2), transparent 70%);
      filter: blur(3px);
      pointer-events: none;
      animation: gold-glow 12s ease-in-out infinite;
    }
    @media (prefers-reduced-motion: reduce) {
      .header-divider::before { animation: none; opacity: 0; }
      .header-divider::after { animation: none; opacity: .5; }
    }
    body { font-family: system-ui, sans-serif; color: #f5f0e6; }
    .header { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; width: min(100%, 1200px); direction: ltr; }
    .logo-link { z-index: 1; position: relative; display: block; min-width: 0; border-radius: 8px; }
    .header-stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
    .header .logo { position: relative; width: 100%; max-height: 300px; }
    button { font: inherit; color: inherit; cursor: pointer; }
    .icon-button { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: #e5c16e; }
    .icon-button:hover, .icon-button[aria-expanded="true"] { background: #e5c16e14; }
    .icon-button svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
    :focus-visible { outline: 2px solid #e5c16e; outline-offset: 3px; }
    .panel { position: absolute; top: calc(100% + 12px); z-index: 2; width: min(260px, calc(100vw - 32px)); padding: 8px; border: 1px solid #e5c16e38; border-radius: 16px; background: #171719f5; box-shadow: 0 16px 48px #0006; }
    .panel[hidden] { display: none; }
    #languages { left: 0; }
    #navigation { right: 0; max-height: min(70svh, 440px); overflow-y: auto; overscroll-behavior: contain; }
    .panel button, .panel a { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 10px 14px; border: 0; border-radius: 9px; background: transparent; color: inherit; text-decoration: none; font-size: 16px; text-align: start; }
    .panel button:hover, .panel a:hover, .panel button[aria-pressed="true"] { background: #e5c16e14; color: #e5c16e; }
    .panel button[aria-pressed="true"]::after { content: '✓'; }
    @media (min-width: 768px) {
      .masthead { padding: 24px 48px; }
      .logo { width: min(82vw, 1080px); }
    }
    @media (max-height: 480px) and (orientation: landscape) {
      .masthead { padding: 16px; }
      .logo { max-height: 86svh; width: min(75vw, 800px); }
    }
  
body { min-height:100svh; background-attachment:fixed; }
.masthead {padding-bottom:0;}
