/* web/hud/window_tabs.css
   The game window's tabs (web/hud/window_tabs.js), over the game window, and which lines
   each shows. data-tab on #screen is the tab picked, data-tabbed what is in a tab of its own:
   Game hides your Link's fighting while it has a tab, and chat while it has one; Link shows
   only theirs; Chat only chat. A line marked wt-probe is passed over, so the count of what
   arrived unseen can ask whether anything else hides it. */

#wintabs { flex: none; display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--line); }
#wintabs[hidden], #wintabs button[hidden] { display: none; }
#wintabs button {
  background: none; border: none; border-bottom: 2px solid transparent; border-radius: 0;
  padding: 5px 12px; font-size: 12px; color: var(--dim);
}
#wintabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
#wintabs .wt-badge {
  margin-left: 6px; padding: 0 5px; border-radius: 8px; font-size: 11px;
  background: #3a2a20; color: #ffd9b8;
}
#wintabs .wt-badge[hidden] { display: none; }

#screen[data-tab="game"][data-tabbed~="link"] .col > [data-whose="link"]:not(.wt-probe),
#screen[data-tab="game"][data-tabbed~="chat"] .col > [data-chat]:not(.wt-probe),
#screen[data-tab="link"] .col > :not([data-whose="link"]):not(.wt-probe),
#screen[data-tab="chat"] .col > :not([data-chat]):not(.wt-probe) { display: none; }
