/* Wave 3 (SkillSafe additions, not part of the original game): one paper tab, a note slip and the journal
   dialogs, in paper and ink. The game hides the mouse cursor on purpose; it is shown only over these pieces. */
.ssk-root {
  --ssk-bg: #f6ecd8; --ssk-fg: #3b2a17; --ssk-muted: #7a6245; --ssk-line: rgba(59, 42, 23, .22);
  --ssk-accent: #b5532a; --ssk-accent-fg: #fff7ea; --ssk-radius: 4px; --ssk-scrim: rgba(28, 19, 13, .62);
  --ssk-font: Georgia, "Iowan Old Style", "Times New Roman", serif;
}
.ssk-root, .ssk-root * { cursor: auto; }
.ssk-root button { cursor: pointer; }
.w3-tab { position: fixed; z-index: 5; top: 0; right: max(18px, env(safe-area-inset-right)); padding: calc(8px + env(safe-area-inset-top)) 12px 9px; border: 0; border-radius: 0 0 4px 4px;
  background: #f3e7cf; color: #5a3d1e; font: italic 14px/1 Georgia, "Times New Roman", serif; letter-spacing: .04em; box-shadow: 0 2px 6px rgba(28, 19, 13, .45); opacity: .72; cursor: pointer; }
.w3-tab:hover, .w3-tab:focus-visible { opacity: 1; outline: none; }
.w3-open .w3-tab { visibility: hidden; }
.w3-slip { position: fixed; z-index: 5; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px) rotate(-1deg); max-width: min(86vw, 440px); padding: 9px 16px;
  background: #f6ecd8; color: #3b2a17; font: italic 15px/1.35 Georgia, "Times New Roman", serif; box-shadow: 0 3px 10px rgba(28, 19, 13, .5); opacity: 0; pointer-events: none; transition: opacity .8s, transform .8s; }
.w3-slip.on { opacity: .96; transform: translate(-50%, 0) rotate(-1deg); }
.w3-map { display: block; width: 100%; height: auto; border: 1px solid rgba(59, 42, 23, .3); image-rendering: pixelated; }
.w3-legend { margin: 6px 0; font-size: .82em; color: var(--ssk-muted); }
.w3-versus { margin: 8px 0; font-style: italic; }
.w3-phrases { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
@media (max-width: 420px) { .w3-phrases { grid-template-columns: 1fr; } }
/* the host's corner mascot would be the only fixed thing on a page with no interface: it shows only while the journal is open */
html:not(.w3-open) #ss-overlay { display: none !important; }
