/* Wave 3 (SkillSafe additions, not part of the original game): the title chip, the lines added to the
   victory screen and the dialogs, in the game's steel-and-gold colours. The added screens themselves are
   built with the author's own AWKit.screen and use the author's styles. */
.ssk-root {
  --ssk-bg: #141a2e; --ssk-fg: #f4ecd8; --ssk-muted: #b9b3a2; --ssk-line: rgba(244, 236, 216, .25);
  --ssk-accent: #f5c542; --ssk-accent-fg: #1a1408; --ssk-radius: 8px; --ssk-scrim: rgba(8, 10, 20, .78);
  --ssk-font: var(--font-i18n, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif);   /* the game's own per-language font stack */
  position: relative; z-index: 9000;
}
.w3-chip { display: none; position: fixed; z-index: 30; right: max(14px, env(safe-area-inset-right)); top: calc(max(14px, env(safe-area-inset-top)) + 74px);
  min-height: 40px; padding: 6px 14px; border: 2px solid #3b2606; border-radius: 8px; cursor: pointer;
  background: linear-gradient(#2a3350, #141a2e); color: #f4ecd8; font: 800 15px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .02em;
  box-shadow: inset 0 0 0 2px rgba(245, 197, 66, .55), 0 3px 0 rgba(0, 0, 0, .45); }
.w3-chip:hover, .w3-chip:focus-visible { background: linear-gradient(#f9dd7a, #f5c542); color: #1a1408; outline: none; }
.w3-on-title .w3-chip { display: block; }
@media (max-width: 560px) { .w3-chip { top: auto; right: auto; left: 50%; transform: translateX(-50%); bottom: calc(max(10px, env(safe-area-inset-bottom)) + 6px); font-size: 14px; white-space: nowrap; width: max-content; max-width: 92vw; } }
.w3scr { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 24px 16px 96px; box-sizing: border-box; overflow-y: auto; }
.w3scr .w3-col { display: flex; flex-direction: column; width: min(620px, 92vw); }
.w3scr .w3-waitline { max-width: 640px; }
.w3scr .w3-by { opacity: .7; font-size: 14px; max-width: 640px; }
.w3-res { margin-top: 10px; font: 600 15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; color: #f4ecd8; text-shadow: 0 1px 0 rgba(0, 0, 0, .6); }
.w3-res p { margin: 4px 0; }
.w3-res .w3-verdict { color: #f5c542; font-weight: 800; }
.w3-res .w3-by { opacity: .7; font-size: 12px; font-weight: 400; }
.w3-res .w3-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.w3-btn { min-height: 38px; padding: 4px 14px; border: 2px solid #3b2606; border-radius: 8px; cursor: pointer; background: rgba(14, 18, 32, .7); color: #f4ecd8; font: 800 14px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; }
.w3-btn.focus, .w3-btn:hover { background: linear-gradient(#f9dd7a, #f5c542); color: #1a1408; transform: none; }
/* the host's corner mascot would sit on the battle HUD: hidden during active play, shown on the title, menus and the victory screen */
.w3-playing #ss-overlay { display: none !important; }
