/* Stone dialogs (owner, 2026-10-13: "dialog frames" from the supplied sheets; qa/prepare-ui-kit-art.py). Options,
   Leaderboard, Friends, Player Rooms, How to Play, Invite to Party and the Settings menu wear the diamond-riveted stone frame on the dark
   stone tile, and their title sits on the stone title plate.
   Game Menu shares the frame and tile with the recruitment board.
   - The frame is each dialog's own border image (frame.png, 4x art: slices of 115 px shown at 58 px, pushed 6 px
     outside the box), so a scrolling dialog never clips it; the 9 px border under it is the stone bar.
   - The plate (title-plate.png, 2x art, end caps 123 px) is a three-slice behind the title, 46 px high.
   Doubled ids outrank the older per-dialog frames (wow-skin, dialogue-panels, war-camp-theme, account-ui, friends,
   player-rooms, account-menu), several of which use !important. */
:root{
 --wb-kit-frame:url('./skin/ui-kit/frame.png?art=fed1a7c1de722149');
 --wb-kit-title:url('./skin/ui-kit/title-plate.png?art=f1544111a2966e42');
 --wb-kit-stone:url('./skin/ui-kit/stone-dark.png?art=54db0b108c7a7b4e');
}
:is(#wb-modal#wb-modal .wb-game-menu,#wb-graphics-options#wb-graphics-options .wb-graphics-frame,#wb-leaderboard#wb-leaderboard .wb-leaderboard-frame,#wb-friends#wb-friends .wb-friends-frame,
 #wb-match-lobbies#wb-match-lobbies .wb-rooms-frame,#wb-lobby#wb-lobby .wb-help-card,#wb-account-menu#wb-account-menu .wb-account-menu-card,#wb-lobby#wb-lobby .wb-party-invite-frame,#wb-player-profile#wb-player-profile .wb-player-profile-frame){
 position:relative;box-sizing:border-box;border:9px solid transparent!important;border-radius:0!important;
 border-image:var(--wb-kit-frame) 115 / 58px / 6px stretch!important;
 background:linear-gradient(#ffffff06,#00000030),var(--wb-kit-stone) 0 0/256px 256px repeat,#1b1713!important;background-clip:border-box!important;
 box-shadow:0 18px 50px #000c!important;color:#e8dcc4;
}
/* Title plates */
:is(#wb-graphics-options#wb-graphics-options .wb-graphics-frame>h1,#wb-leaderboard#wb-leaderboard .wb-leaderboard-frame>header>h1,#wb-friends#wb-friends .wb-friends-frame>header>h1,
 #wb-match-lobbies#wb-match-lobbies .wb-rooms-heading>h1,#wb-lobby#wb-lobby .wb-help-card>h2,#wb-account-menu#wb-account-menu .wb-account-menu-card>h2,#wb-lobby#wb-lobby .wb-party-invite-frame>h2,#wb-player-profile#wb-player-profile .wb-pp-head h1){
 display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;box-sizing:border-box;height:46px;min-width:180px;max-width:100%;
 margin:0 0 12px!important;padding:0 6px 2px!important;border:0 solid transparent;border-width:0 40px;
 border-image:var(--wb-kit-title) 0 123 fill / 0 40px stretch;
 color:#ffd100!important;font:400 21px/1 WarbandFriz,Georgia,serif!important;letter-spacing:.02em;text-shadow:0 1px 2px #000,0 0 6px #000!important;white-space:nowrap;
}
#wb-account-menu#wb-account-menu .wb-account-menu-card>h2,#wb-lobby#wb-lobby .wb-help-card>h2,#wb-lobby#wb-lobby .wb-party-invite-frame>h2{align-self:center;justify-self:center;margin-left:auto!important;margin-right:auto!important}
#wb-lobby#wb-lobby .wb-help-card>h2{display:flex;width:max-content}

/* Shared interface scrollbars, including both leaderboard overflow axes. */
:is([data-options-panel],[data-graphics-controls],[data-leaderboard-rows],.wb-leaderboard-scroll,.wb-interface-scroll){scrollbar-width:thin;scrollbar-color:#777 #080808}
:is([data-options-panel],[data-graphics-controls],[data-leaderboard-rows],.wb-leaderboard-scroll,.wb-interface-scroll)::-webkit-scrollbar{width:8px;height:8px}
:is([data-options-panel],[data-graphics-controls],[data-leaderboard-rows],.wb-leaderboard-scroll,.wb-interface-scroll)::-webkit-scrollbar-track{background:#080808}
:is([data-options-panel],[data-graphics-controls],[data-leaderboard-rows],.wb-leaderboard-scroll,.wb-interface-scroll)::-webkit-scrollbar-thumb{background:#777;border:1px solid #aaa}
:is([data-options-panel],[data-graphics-controls],[data-leaderboard-rows],.wb-leaderboard-scroll,.wb-interface-scroll)::-webkit-scrollbar-corner{background:#080808}
@media(max-width:560px){
 :is(#wb-graphics-options#wb-graphics-options .wb-graphics-frame>h1,#wb-leaderboard#wb-leaderboard .wb-leaderboard-frame>header>h1,#wb-friends#wb-friends .wb-friends-frame>header>h1,
  #wb-match-lobbies#wb-match-lobbies .wb-rooms-heading>h1,#wb-lobby#wb-lobby .wb-help-card>h2,#wb-account-menu#wb-account-menu .wb-account-menu-card>h2,#wb-lobby#wb-lobby .wb-party-invite-frame>h2,#wb-player-profile#wb-player-profile .wb-pp-head h1){height:40px;min-width:140px;border-width:0 34px;font-size:18px!important}
}
/* Friends was parchment too: light text on stone. */
#wb-friends#wb-friends{color:#e8dcc4}
#wb-friends#wb-friends :is(header p,.wb-friends-status,.wb-friends-count,.wb-friend-status,.wb-friends-empty){color:#bfb39a}
#wb-friends#wb-friends .wb-friends-add label{color:#d8ccb0}
#wb-friends#wb-friends .wb-friend-name{color:#f3e6c4}
#wb-friends#wb-friends .wb-friend.is-offline .wb-friend-name{color:#9d917b}
#wb-friends#wb-friends .wb-friend-status.is-match{color:#e0b45c}
#wb-friends#wb-friends .wb-friend-status.is-online{color:#7fd08a}
#wb-friends#wb-friends .wb-friend-status.is-lobby{color:#8fc3ff}
/* Choice dialogs (A Legendary squad!, training rewards, enchant picks) wear the same stone kit as the
   other dialogs instead of the old parchment card (owner, 2026-10-27); their cards are unchanged. */
#wb-modal#wb-modal :is(.wb-reward-modal,.wb-enchant-modal){
 position:relative;box-sizing:border-box;border:9px solid transparent!important;border-radius:0!important;
 border-image:var(--wb-kit-frame) 115 / 58px / 6px stretch!important;
 background:linear-gradient(#ffffff06,#00000030),var(--wb-kit-stone) 0 0/256px 256px repeat,#1b1713!important;background-clip:border-box!important;
 box-shadow:0 18px 50px #000c!important;color:#e8dcc4;padding:16px 26px 24px!important;
}
#wb-modal#wb-modal :is(.wb-reward-modal,.wb-enchant-modal)>h2{
 display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;width:max-content;max-width:100%;height:46px;min-width:220px;
 margin:0 auto 10px!important;padding:0 6px 2px!important;border:0 solid transparent;border-width:0 40px;
 border-image:var(--wb-kit-title) 0 123 fill / 0 40px stretch;background:none!important;
 color:#ffd100!important;font:400 21px/1 WarbandFriz,Georgia,serif!important;letter-spacing:.02em;text-shadow:0 1px 2px #000,0 0 6px #000!important;white-space:nowrap;
}
#wb-modal#wb-modal :is(.wb-reward-modal,.wb-enchant-modal)>h2 img{width:26px;height:26px}
#wb-modal#wb-modal :is(.wb-reward-modal,.wb-enchant-modal)>p{margin:0 auto 16px!important;text-align:center;color:#d8c9a8!important;font:13px/1.4 Arial,sans-serif!important;text-shadow:0 1px 1px #000}
/* The "What's new" update window now wears the login pop-up frame (login-notices.css, owner, 2026-10-29). */
