/* Shared platform navigation; the game's own styles remain scoped below it. */
:root { --platform-header-height: 136px; }
.platform-header { position: relative; z-index: 25; color: #102044; background: #fff; font: 16px/1.4 Inter, Arial, sans-serif; }
.platform-header a { color: inherit; text-decoration: none; }
.platform-header button { width: auto; margin: 0; border: 0; border-radius: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.platform-header a:focus-visible, .platform-header button:focus-visible { outline: 3px solid #008e98; outline-offset: 4px; }
.platform-nav { display: flex; align-items: center; gap: clamp(40px, 14vw, 240px); min-height: 84px; padding: 0 40px; border-bottom: 1px solid #e8ecef; }
.platform-brand { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; font-size: 36px; font-weight: 800; letter-spacing: -1.3px; }
.platform-brand svg { width: 42px; height: 42px; color: #00a0ad; }
.platform-accent { color: #00a0ad; }
.platform-header svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.platform-links { display: flex; align-self: stretch; align-items: stretch; gap: 28px; }
.platform-links a, .platform-links button { display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-bottom: 4px solid transparent; }
.platform-links .is-active { border-bottom-color: #00a0ad; font-weight: 700; }
.platform-links a:hover, .platform-links button:hover, .platform-breadcrumb a:hover { color: #008e98; }
.platform-context { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; padding: 8px 40px; border-bottom: 1px solid #e8ecef; }
.platform-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.platform-breadcrumb li { display: inline-flex; align-items: center; gap: 12px; }
.platform-breadcrumb li + li::before { content: '›'; font-size: 22px; line-height: 1; color: #52627c; }
.platform-breadcrumb li:last-child { font-weight: 700; }
.platform-header .platform-fullscreen { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; white-space: nowrap; font-size: 14px; }
.platform-fullscreen svg { width: 22px; height: 22px; }
.platform-help { width: min(460px, calc(100% - 40px)); padding: 28px; border: 1px solid #e8ecef; border-radius: 14px; color: #182534; background: #fff; font: 15px/1.65 Inter, Arial, sans-serif; }
.platform-help::backdrop { background: #18253466; }
.platform-help h2 { margin: 0 0 16px; font: 700 22px/1.3 Inter, Arial, sans-serif; }
.platform-help button { padding: 10px 18px; border: 0; border-radius: 8px; color: #fff; background: #008e98; font: 600 14px Inter, Arial, sans-serif; cursor: pointer; }
:root:is(:fullscreen, .platform-presentation) { --platform-header-height: 0px; }
:root:is(:fullscreen, .platform-presentation) .platform-header { display: none; }
.platform-exit-fullscreen { display: none; }
:root:is(:fullscreen, .platform-presentation) .platform-exit-fullscreen { position: fixed; top: 12px; right: 12px; z-index: 25; display: block; padding: 8px 12px; border: 1px solid #e8ecef; border-radius: 8px; color: #102044; background: #fffffff0; font: 13px Inter, Arial, sans-serif; cursor: pointer; }
@media (max-width: 760px) {
    .platform-nav { min-height: 100px; padding: 14px 20px 0; flex-wrap: wrap; gap: 10px 24px; }
    .platform-brand { font-size: 26px; gap: 9px; letter-spacing: -.8px; }
    .platform-brand svg { width: 32px; height: 32px; }
    .platform-links { min-height: 42px; gap: 12px; }
    .platform-links a, .platform-links button { padding: 8px 6px; font-size: 14px; }
    .platform-context { min-height: 52px; padding: 8px 20px; gap: 12px; }
    .platform-breadcrumb, .platform-breadcrumb li { gap: 8px; font-size: 12px; }
    .platform-header .platform-fullscreen { padding: 6px; }
    .platform-fullscreen span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
