
  .reversal-btn{border-radius:999px}
  .header-interactives{
    position:relative;
    display:flex;
    align-items:center;
    margin-left:8px;
  }
  .restricted-access-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:34px;
    padding:0 14px;
    border-radius:999px;
    white-space:nowrap;
  }
  .restricted-access-toggle__label{
    font-size:10px;
    letter-spacing:.16em;
    text-transform:uppercase;
    opacity:.84;
  }
  .restricted-access-toggle__caret{
    font-size:12px;
    line-height:1;
    opacity:.82;
    transition:transform .18s ease;
  }
  .header-interactives.open .restricted-access-toggle__caret{
    transform:translateX(2px) rotate(90deg);
  }

  .restricted-access-panel{
    --flyout-gap:12px;
    position:absolute;
    top:0;
    left:calc(100% + var(--flyout-gap));
    min-width:230px;
    max-width:min(280px, calc(100vw - 24px));
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:10px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:18px;
    background:linear-gradient(180deg, rgba(17,22,30,.98), rgba(8,11,16,.96));
    box-shadow:0 18px 48px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.04);
    opacity:0;
    transform:translateX(-10px);
    pointer-events:none;
    transition:opacity .18s ease, transform .18s ease;
    z-index:1200;
  }
  .restricted-access-panel[hidden]{
    display:none;
  }
  .header-interactives.open .restricted-access-panel{
    opacity:1;
    transform:translateX(0);
    pointer-events:auto;
  }
  .header-interactives.align-left .restricted-access-panel{
    left:auto;
    right:calc(100% + var(--flyout-gap));
    transform:translateX(10px);
  }
  .header-interactives.drop-below .restricted-access-panel{
    top:calc(100% + 10px);
    left:auto;
    right:0;
    transform:translateY(-8px);
  }
  .header-interactives.open.drop-below .restricted-access-panel{
    transform:translateY(0);
  }
  .restricted-access-panel__label{
    display:block;
    padding:1px 3px 7px;
    margin:0 0 2px;
    border-bottom:1px solid rgba(255,255,255,.06);
    font-size:9px;
    letter-spacing:.2em;
    text-transform:uppercase;
    opacity:.58;
    white-space:nowrap;
  }

  .reversal-trigger,
  .header-interactive-btn{
    display:grid;
    grid-template-columns:18px minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
    width:100%;
    min-height:40px;
    padding:0 10px;
    border-radius:12px;
    white-space:nowrap;
    font-size:12px;

    line-height:1;
    border-color:rgba(255,255,255,.06);
    background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
    transition:transform .14s ease, border-color .14s ease, background .14s ease;
    }
  .reversal-trigger:hover,
  .header-interactive-btn:hover{
    transform:translateY(-1px);
    border-color:rgba(195,178,143,.22);
    background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  }

  .restricted-item__icon,
  .reversal-trigger__sigil{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:18px;
    font-size:11px;
    opacity:.82;
  }
  .restricted-item__title,
  .reversal-trigger__label{
    min-width:0;
    text-align:left;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:11px;
    letter-spacing:.08em;
    text-transform:uppercase;
  }
  .restricted-item__status,
  .reversal-trigger__sigil--right{
    justify-self:end;
    font-size:9px;
    letter-spacing:.16em;
    text-transform:uppercase;
    opacity:.48;
  }

  .header-interactive-btn--forbidden{
    border-color:rgba(176,139,86,.18);
  }
  .header-interactive-btn--47c{
    border-color:rgba(151,174,207,.14);
  }
  .header-interactive-btn--testimony{
    border-color:rgba(121,151,196,.18);
  }
  .header-interactive-btn--vigil{
    border-color:rgba(173,146,201,.18);
  }
  .header-interactive-btn--broadcast{
    border-color:rgba(148,122,171,.18);
  }
    .header-interactive-btn--observation{
    border-color:rgba(132,146,189,.20);
  }
  .header-interactive-btn--saints{
    border-color:rgba(188,171,130,.20);
  }
  .header-interactive-btn--orchard{
    border-color:rgba(152,122,92,.22);
  }
  html[data-theme="light"] .restricted-access-toggle{
    background:linear-gradient(180deg, rgba(249,251,254,.95), rgba(240,245,250,.9)) !important;
    border-color:rgba(52,77,118,.12) !important;
  }
  html[data-theme="light"] .restricted-access-panel{
    background:linear-gradient(180deg, rgba(255,255,255,.985), rgba(243,247,251,.975)) !important;
    border-color:rgba(52,77,118,.14) !important;
    box-shadow:0 18px 48px rgba(57,83,121,.14), inset 0 1px 0 rgba(255,255,255,.9) !important;
  }
  html[data-theme="light"] .restricted-access-toggle__label,
  html[data-theme="light"] .restricted-access-panel__label,
  html[data-theme="light"] .restricted-item__title,
  html[data-theme="light"] .reversal-trigger__label{
    color:rgba(22,32,49,.74) !important;
  }

  @media (max-width: 900px){
    .controls{width:100%;justify-content:flex-start}
    .modebar{order:1;width:100%;overflow:auto}
    .searchwrap{order:2;width:100%;min-width:0}
    .header-interactives{order:3;margin-left:0}
    .restricted-access-panel{
      top:calc(100% + 10px);
      left:auto;
      right:0;
      min-width:min(260px, calc(100vw - 28px));
      max-width:min(320px, calc(100vw - 28px));
      transform:translateY(-8px);
    }
    .header-interactives.align-left .restricted-access-panel{
      right:0;
    }
    .header-interactives.open .restricted-access-panel,
    .header-interactives.open.drop-below .restricted-access-panel{
      transform:translateY(0);
    }
  }
  @media (max-width: 640px){
    .header-interactives{width:100%}
    .restricted-access-toggle{
      width:100%;
      justify-content:space-between;
    }
    .restricted-access-panel{
      width:100%;
      min-width:0;
      max-width:none;
    }
  }
