/* View preference and pause sheet use the current published Clubs shell. */
#n-view-bar.n-site {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; min-height: 56px; width: calc(100% - 40px); max-width: none;
  margin-inline: auto; padding: 0; gap: 12px;
  color: #d3b4e5; font-family: Manrope, Arial, sans-serif;
}
#n-view-bar.n-site .wordmark { color: #d3b4e5; }
#n-view-controls { display: flex; align-items: center; flex: none; }
.nvs-view-controls { display: flex; gap: 2px; padding: 2px; border: 1px solid #53445e; border-radius: 4px; }
.nvs-view-controls > .game-button { min-height: 44px; min-width: 0; padding: 7px 12px; border: 0; border-radius: 2px; background: transparent; color: #d3b4e5; font-family: Manrope, Arial, sans-serif; font-size: 14px; font-weight: 700; line-height: 1.5; cursor: pointer; }
.nvs-view-controls > [aria-pressed='true'] { background: #d3b4e5; color: #211c25; }
.nvs-view-controls > .game-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

#game-frame #n-dialog:where(:not(.n-clubs-owned-dialog))::backdrop { background: #09112ad9; }

#game-frame #n-dialog:has(.nvs-pause-options) { width: calc(100% - 20px); max-width: 350px; padding: 0; border: 1px solid #70858c; border-radius: 2px; background: var(--navy); color: var(--cream); box-shadow: 0 12px 44px #0007; overflow: auto; overscroll-behavior: contain; }

#game-frame #n-dialog:has(.nvs-pause-options) > .n-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; background: var(--navy); border-bottom: 1px solid var(--edge); }
#game-frame #n-dialog:has(.nvs-pause-options) > .n-dialog-header > h2 { margin: 0; font-family: Manrope, Arial, sans-serif; font-size: 20px; line-height: 1.2; color: var(--cream); font-weight: 800; letter-spacing: -.025em; }
#game-frame #n-dialog:has(.nvs-pause-options) > .n-dialog-header > .game-button { flex: none; min-width: 44px; min-height: 44px; padding: 8px 12px; font-size: 14px; line-height: 1.3; border-color: #60788e; background: #2147a8; }
#game-frame #n-dialog:has(.nvs-pause-options) > .n-dialog-body { padding: 12px; gap: 0; font-family: Manrope, Arial, sans-serif; font-size: 14px; line-height: 1.5; }
.nvs-pause-options { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nvs-audio-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; margin-block: 8px; }
#game-frame #n-shell .nvs-audio-toggle { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 2px solid #7189b7; border-radius: 3px; background: #142548; color: #fff9e9; text-align: left; box-shadow: none; font-family: Manrope, Arial, sans-serif; font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: normal; }
#game-frame #n-shell .nvs-audio-toggle:hover:not(:disabled) { background: #264473; border-color: #c4d4f4; }
#game-frame #n-shell .nvs-audio-toggle[aria-pressed='true'] { border-color: #a4e1af; background: #1d3b48; color: #fff9e9; }
.nvs-audio-icon { display: block; width: 24px; height: 24px; fill: currentColor; }
.nvs-audio-label { font-weight: 700; min-width: 0; }
.nvs-audio-state { font-size: 12px; line-height: 1; font-weight: 900; letter-spacing: normal; text-transform: none; color: #c4d4f4; white-space: nowrap; }
.nvs-audio-toggle[aria-pressed='true'] .nvs-audio-state { color: #a4e1af; }
#game-frame #n-shell .nvs-pause-action { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 10px 12px; font-family: Manrope, Arial, sans-serif; font-size: 16px; line-height: 1.3; border-radius: 2px; border-color: #60788e; background: #2147a8; }
.nvs-fullscreen-icon { width: 22px; height: 22px; flex: none; }
.nvs-menu-back { margin-top: 0; }
#game-frame #n-shell .nvs-review-action { border-color: var(--gold); color: var(--gold); }
.nvs-match-tools { margin-top: 0; border-top: 1px solid var(--edge); }
.nvs-match-tools > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 10px 0 0; list-style: none; color: var(--dim); font-family: Manrope, Arial, sans-serif; font-size: 14px; line-height: 1.3; font-weight: 700; cursor: pointer; }
.nvs-match-tools > summary::-webkit-details-marker { display: none; }
.nvs-match-tools > summary > span { font-size: 18px; line-height: 1; }
.nvs-match-tools[open] > summary > span { transform: rotate(180deg); }
.nvs-match-tools > div { display: grid; gap: 8px; padding-top: 12px; }
#game-frame #n-shell .nvs-tool-action { width: 100%; min-height: 44px; padding: 10px 12px; font-size: 14px; line-height: 1.3; text-align: left; }
.nvs-tool-action:disabled { opacity: .45; cursor: default; }
@media (max-width: 600px) { #n-view-bar.n-site { display: none; } }
