/* Flight of the Sea Eagle · 08b: v15 Joinery, del 2 (delt fra 08 2026-11-25) Indlæses lige efter 08; logbogen står i 08c-logbook. */
/* guldlinjerne */
html.cab body #menu.mm2 .mmDeck > :is(#howTo, #sailsMenu)::before, html.cab body #menu.mm2 .mmDeck > :is(#howTo, #sailsMenu)::after {
  content: ""; position: absolute; left: 6%; right: 6%; height: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(90deg, rgba(231, 199, 122, 0), #e7c77a 18%, #fff1c4 48%, #c9a14a 78%, rgba(201, 161, 74, 0)); box-shadow: 0 0 6px rgba(255, 214, 140, 0.35);
}
html.cab body #menu.mm2 .mmDeck > :is(#howTo, #sailsMenu)::before { top: 0; }
html.cab body #menu.mm2 .mmDeck > :is(#howTo, #sailsMenu)::after { bottom: 0; left: 30%; right: 3%; opacity: 0.6; }
/* overskrifter */
html.cab body #menu.mm2 :is(#howTo, #sailsMenu) h2 {
  font: 600 clamp(1.25rem, 0.5vw + 1rem, 1.55rem)/1.1 var(--body) !important; letter-spacing: 0.18em; text-transform: uppercase; color: #f6f0e2 !important; text-shadow: none !important;
}
html.cab body #menu.mm2 :is(#howTo, #sailsMenu) h2 small { font: 400 0.86rem var(--body) !important; letter-spacing: 0.02em; text-transform: none; color: rgba(246, 240, 226, 0.55) !important; text-shadow: none !important; }
/* fanerne: tekst; den valgte med penselstrøget */
html.cab body #menu.mm2 #howTo .htTabs { gap: 4px; border-bottom: 1px solid rgba(246, 240, 226, 0.14) !important; box-shadow: none !important; padding-bottom: 8px; }
html.cab body #menu.mm2 #howTo .htTabs button {
  position: relative; isolation: isolate; min-height: 0 !important; padding: 9px 34px 9px 12px !important; margin: 0 !important;
  font: 600 0.92rem/1.2 var(--body) !important; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(246, 240, 226, 0.7) !important; text-shadow: none !important;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; clip-path: none !important; filter: none !important; transform: none !important;
}
html.cab body #menu.mm2 #howTo .htTabs button:hover:not([aria-selected="true"]) { color: #fff !important; background: none !important; }
html.cab body #menu.mm2 :is(#howTo .htTabs button, #howTo .htDone, #sailsMenu .sdDone)::before {
  content: ""; position: absolute; z-index: -1; left: -8px; right: 0; top: -1px; bottom: -1px; pointer-events: none;
  background: var(--mmBrush) 0 0 / 100% 100% no-repeat; clip-path: inset(0 100% 0 0); opacity: 0;
  transition: clip-path 0.35s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.15s ease;
}
html.cab body #menu.mm2 #howTo .htTabs button[aria-selected="true"] { color: #14100a !important; }
html.cab body #menu.mm2 #howTo .htTabs button[aria-selected="true"]::before { clip-path: inset(0 0 0 0) !important; opacity: 1 !important; }
html.cab body #menu.mm2 #howTo .htTabs button:focus-visible { outline: 1px solid rgba(246, 240, 226, 0.6) !important; outline-offset: 2px !important; }
/* siderne */
html.cab body #menu.mm2 :is(#howTo .htPage, #sailsMenu .sailGrid, #sailsMenu #sailInfo) {
  background: rgba(246, 240, 226, 0.03) !important; box-shadow: none !important; border-radius: 2px !important;
}
html.cab body #menu.mm2 #howTo .htLead { color: #f6f0e2; }
html.cab body #menu.mm2 #howTo ul { gap: 0; }
html.cab body #menu.mm2 #howTo li {
  position: relative; padding: 10px 6px 10px 22px; border-radius: 0; background: none !important; box-shadow: none !important;
  border-bottom: 1px solid rgba(246, 240, 226, 0.07); color: rgba(246, 240, 226, 0.75);
}
html.cab body #menu.mm2 #howTo li:last-child { border-bottom: 0; }
html.cab body #menu.mm2 #howTo li::before { content: ""; position: absolute; left: 5px; top: 18px; width: 5px; height: 5px; rotate: 45deg; background: #e7c77a; }
html.cab body #menu.mm2 #howTo li > b:first-child { color: #f6f0e2; text-transform: uppercase; font-size: 0.86em; letter-spacing: 0.1em; margin-right: 8px; }
html.cab body #menu.mm2 #howTo b { color: #f6f0e2; }
html.cab body #menu.mm2 :is(#howTo kbd, #howTo .htFoot kbd) {
  color: #14100a !important; background: rgba(246, 240, 226, 0.9) !important; border: 0 !important; border-radius: 2px !important; box-shadow: none !important; text-shadow: none !important;
}
html.cab body #menu.mm2 #howTo .htFoot { background: none !important; border-top: 1px solid rgba(246, 240, 226, 0.1) !important; box-shadow: none !important; }
html.cab body #menu.mm2 #howTo .htFoot > span { color: rgba(246, 240, 226, 0.55) !important; text-shadow: none !important; }
/* Done-knapperne: det lyse strøg står altid bag dem (den ventede handling), mørk tekst */
html.cab body #menu.mm2 #howTo .htDone { position: relative; }
html.cab body #menu.mm2 :is(#howTo .htDone, #sailsMenu .sdDone) {
  isolation: isolate; min-width: 0 !important; min-height: 0 !important; padding: 10px 42px 10px 16px !important;
  font: 700 0.95rem/1.2 var(--body) !important; letter-spacing: 0.16em; text-transform: uppercase; color: #14100a !important; text-shadow: none !important;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; clip-path: none !important; filter: none !important; transform: none !important;
  transition: translate 0.25s cubic-bezier(0.3, 0.7, 0.2, 1.3);
}
html.cab body #menu.mm2 :is(#howTo .htDone, #sailsMenu .sdDone)::before { clip-path: inset(0 0 0 0) !important; opacity: 1 !important; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35)); }
html.cab body #menu.mm2 :is(#howTo .htDone, #sailsMenu .sdDone):is(:hover, :focus-visible) { translate: 4px 0; color: #000 !important; }
html.cab body #menu.mm2 :is(#howTo .htDone, #sailsMenu .sdDone):is(:hover, :focus-visible)::before { right: -14px; filter: drop-shadow(0 3px 12px rgba(255, 240, 210, 0.35)); }
html.cab body #menu.mm2 :is(#howTo .htDone, #sailsMenu .sdDone):focus-visible { outline: none !important; }
/* sejlene */
html.cab body #menu.mm2 #sailsMenu #sailLockNote { color: rgba(246, 240, 226, 0.6) !important; text-shadow: none !important; }
html.cab body #menu.mm2 #sailsMenu .sgHead { color: #f6f0e2; font: 600 0.86rem var(--body); letter-spacing: 0.16em; text-transform: uppercase; border-bottom-color: rgba(246, 240, 226, 0.12) !important; text-shadow: none !important; }
html.cab body #menu.mm2 #sailsMenu .sgHead small { font: 400 0.8rem var(--body); letter-spacing: 0.02em; text-transform: none; color: rgba(246, 240, 226, 0.5); }
html.cab body #menu.mm2 #sailsMenu .sailOpt { border-radius: 2px !important; background: rgba(246, 240, 226, 0.035) !important; color: rgba(246, 240, 226, 0.85); }
html.cab body #menu.mm2 #sailsMenu .sailOpt:not(.t3, .t4, .t5), html.cab body #menu.mm2 #sailsMenu .sailOpt.locked { box-shadow: inset 0 0 0 1px rgba(246, 240, 226, 0.12) !important; }
html.cab body #menu.mm2 #sailsMenu .sailOpt:hover { background: rgba(246, 240, 226, 0.09) !important; box-shadow: inset 0 0 0 1px rgba(246, 240, 226, 0.45) !important; }
html.cab body #menu.mm2 #sailsMenu .sailOpt.on { background: rgba(246, 240, 226, 0.1) !important; box-shadow: inset 0 0 0 2px #f4ecdb, 0 0 16px rgba(246, 240, 226, 0.15) !important; }
html.cab body #menu.mm2 #sailsMenu .sailOpt.on::after { color: #14100a; background: #f4ecdb; box-shadow: 0 0 0 1.5px rgba(6, 9, 15, 0.9); }
html.cab body #menu.mm2 #sailsMenu #sailInfo b { color: #f6f0e2; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--body); }
html.cab body #menu.mm2 #sailsMenu #sailInfo { color: rgba(246, 240, 226, 0.75); }
html.cab body #menu.mm2 #sailsMenu #achTest button {
  color: rgba(246, 240, 226, 0.7) !important; background: none !important; border: 1px solid rgba(246, 240, 226, 0.2) !important; border-radius: 2px !important; box-shadow: none !important; text-shadow: none !important; clip-path: none !important;
}
html.cab body #menu.mm2 #sailsMenu #achTest button:hover { color: #fff !important; border-color: rgba(246, 240, 226, 0.6) !important; }

/* "Start a new voyage?" (#newConfirm, newConfirmBuild i 17) i startskærmens stil (11-24y): mørkt glas med guldlinjer, overskrift i
   versaler; "Keep my voyage" med det lyse penselstrøg (fokus fra start), "Start anew" som tekst, der får et rødt strøg ved hover/fokus */
html.cab body #menu.mm2 #newConfirm { background: rgba(3, 5, 10, 0.66); backdrop-filter: blur(5px); }
html.cab body #menu.mm2 #newConfirm .ncBox {
  position: relative; width: min(560px, calc(100vw - 40px)); box-sizing: border-box; padding: 34px 40px 30px; text-align: left;
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.96), rgba(6, 9, 15, 0.98)) !important; border: 0 !important; border-radius: 3px !important;
  box-shadow: inset 0 0 0 1px rgba(246, 240, 226, 0.07), 0 30px 80px rgba(0, 0, 0, 0.65) !important;
}
html.cab body #menu.mm2 #newConfirm .ncBox::before, html.cab body #menu.mm2 #newConfirm .ncBox::after {
  content: ""; position: absolute; left: 6%; right: 6%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(231, 199, 122, 0), #e7c77a 18%, #fff1c4 48%, #c9a14a 78%, rgba(201, 161, 74, 0)); box-shadow: 0 0 6px rgba(255, 214, 140, 0.35);
}
html.cab body #menu.mm2 #newConfirm .ncBox::before { top: 0; }
html.cab body #menu.mm2 #newConfirm .ncBox::after { bottom: 0; left: 30%; right: 3%; opacity: 0.6; }
html.cab body #menu.mm2 #newConfirm h2 { margin: 0 0 14px; font: 600 1.4rem/1.15 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: #f6f0e2; text-shadow: none; }
html.cab body #menu.mm2 #newConfirm p { margin: 0 0 28px; font: 400 1.02rem/1.55 var(--body); color: rgba(246, 240, 226, 0.72); }
html.cab body #menu.mm2 #newConfirm p b { color: #f3d58c; }
html.cab body #menu.mm2 #newConfirm .ncBtns { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: flex-start !important; gap: 26px !important; }
html.cab body #menu.mm2 #newConfirm .ncBtns button {
  position: relative; isolation: isolate; min-width: 0 !important; min-height: 0 !important; padding: 11px 34px 11px 16px !important;
  font: 700 0.95rem/1.2 var(--body) !important; letter-spacing: 0.16em; text-transform: uppercase; text-shadow: none !important;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; clip-path: none !important; filter: none !important; transform: none !important;
  transition: translate 0.25s cubic-bezier(0.3, 0.7, 0.2, 1.3), color 0.2s ease; outline: none !important;
}
html.cab body #menu.mm2 #newConfirm .ncBtns button::before {
  content: ""; position: absolute; z-index: -1; left: -8px; right: 0; top: -1px; bottom: -1px; pointer-events: none;
  background: var(--mmBrush) 0 0 / 100% 100% no-repeat; transition: clip-path 0.35s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.15s ease, right 0.3s ease;
}
html.cab body #menu.mm2 #newConfirm #ncKeep { color: #14100a !important; }
html.cab body #menu.mm2 #newConfirm #ncKeep::before { filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35)); }
html.cab body #menu.mm2 #newConfirm #ncKeep:is(:hover, :focus-visible) { translate: 4px 0; }
html.cab body #menu.mm2 #newConfirm #ncKeep:is(:hover, :focus-visible)::before { right: -14px; }
html.cab body #menu.mm2 #newConfirm #ncNew { color: rgba(255, 210, 196, 0.85) !important; }
html.cab body #menu.mm2 #newConfirm #ncNew::before { clip-path: inset(0 100% 0 0); opacity: 0; filter: hue-rotate(-8deg) saturate(4) brightness(0.62) sepia(0.2); }
html.cab body #menu.mm2 #newConfirm #ncNew:is(:hover, :focus-visible) { color: #fff !important; }
html.cab body #menu.mm2 #newConfirm #ncNew:is(:hover, :focus-visible)::before { clip-path: inset(0 0 0 0); opacity: 1; background-image: var(--mmRedS, var(--mmBrush)); filter: none; }
@media (max-width: 520px) { html.cab body #menu.mm2 #newConfirm .ncBtns { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; } }

/* LOGBOGEN (2026-11-25): maskinelle kopier af alle #howTo-regler ovenfor, med #voyLog (se 07c) */
html.cab body #menu :is(#voyLog, #newsLog) h2,
html.cab body #menu :is(#voyLog, #newsLog) .htLead,
html.cab body :is(.logTabs .logTab, #menu :is(#voyLog, #newsLog) .htTabs button) {
  font-family: var(--jn-title) !important;
}
html.cab body #menu.mm2 .mmDeck > :is(:is(#voyLog, #newsLog), #sailsMenu) {
  --wood-bg: none !important; --rope-frame: none !important;
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.95), rgba(6, 9, 15, 0.97)) !important;
  border: 0 !important; border-radius: 3px !important; color: rgba(246, 240, 226, 0.78);
  box-shadow: inset 0 0 0 1px rgba(246, 240, 226, 0.07), 0 30px 80px rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(6px);
}
html.cab body #menu.mm2 .mmDeck > :is(#voyLog, #newsLog) { box-shadow: inset 0 0 0 1px rgba(246, 240, 226, 0.07), 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 100vmax rgba(3, 5, 10, 0.6) !important; }
html.cab body #menu.mm2 .mmDeck > :is(:is(#voyLog, #newsLog), #sailsMenu)::before,
html.cab body #menu.mm2 .mmDeck > :is(:is(#voyLog, #newsLog), #sailsMenu)::after {
  content: ""; position: absolute; left: 6%; right: 6%; height: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(90deg, rgba(231, 199, 122, 0), #e7c77a 18%, #fff1c4 48%, #c9a14a 78%, rgba(201, 161, 74, 0)); box-shadow: 0 0 6px rgba(255, 214, 140, 0.35);
}
html.cab body #menu.mm2 .mmDeck > :is(:is(#voyLog, #newsLog), #sailsMenu)::before { top: 0; }
html.cab body #menu.mm2 .mmDeck > :is(:is(#voyLog, #newsLog), #sailsMenu)::after { bottom: 0; left: 30%; right: 3%; opacity: 0.6; }
html.cab body #menu.mm2 :is(:is(#voyLog, #newsLog), #sailsMenu) h2 {
  font: 600 clamp(1.25rem, 0.5vw + 1rem, 1.55rem)/1.1 var(--body) !important; letter-spacing: 0.18em; text-transform: uppercase; color: #f6f0e2 !important; text-shadow: none !important;
}
html.cab body #menu.mm2 :is(:is(#voyLog, #newsLog), #sailsMenu) h2 small { font: 400 0.86rem var(--body) !important; letter-spacing: 0.02em; text-transform: none; color: rgba(246, 240, 226, 0.55) !important; text-shadow: none !important; }
html.cab body #menu.mm2 :is(#voyLog, #newsLog) .htTabs { gap: 4px; border-bottom: 1px solid rgba(246, 240, 226, 0.14) !important; box-shadow: none !important; padding-bottom: 8px; }
html.cab body #menu.mm2 :is(#voyLog, #newsLog) .htTabs button {
  position: relative; isolation: isolate; min-height: 0 !important; padding: 9px 34px 9px 12px !important; margin: 0 !important;
  font: 600 0.92rem/1.2 var(--body) !important; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(246, 240, 226, 0.7) !important; text-shadow: none !important;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; clip-path: none !important; filter: none !important; transform: none !important;
}
html.cab body #menu.mm2 :is(#voyLog, #newsLog) .htTabs button:hover:not([aria-selected="true"]) { color: #fff !important; background: none !important; }
html.cab body #menu.mm2 :is(:is(#voyLog, #newsLog) .htTabs button, :is(#voyLog, #newsLog) .htDone, #sailsMenu .sdDone)::before {
  content: ""; position: absolute; z-index: -1; left: -8px; right: 0; top: -1px; bottom: -1px; pointer-events: none;
  background: var(--mmBrush) 0 0 / 100% 100% no-repeat; clip-path: inset(0 100% 0 0); opacity: 0;
  transition: clip-path 0.35s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.15s ease;
}
html.cab body #menu.mm2 :is(#voyLog, #newsLog) .htTabs button[aria-selected="true"] { color: #14100a !important; }
html.cab body #menu.mm2 :is(#voyLog, #newsLog) .htTabs button[aria-selected="true"]::before { clip-path: inset(0 0 0 0) !important; opacity: 1 !important; }
html.cab body #menu.mm2 :is(#voyLog, #newsLog) .htTabs button:focus-visible { outline: 1px solid rgba(246, 240, 226, 0.6) !important; outline-offset: 2px !important; }
html.cab body #menu.mm2 :is(:is(#voyLog, #newsLog) .htPage, #sailsMenu .sailGrid, #sailsMenu #sailInfo) {
  background: rgba(246, 240, 226, 0.03) !important; box-shadow: none !important; border-radius: 2px !important;
}
html.cab body #menu.mm2 :is(#voyLog, #newsLog) .htLead { color: #f6f0e2; }
html.cab body #menu.mm2 :is(#voyLog, #newsLog) ul { gap: 0; }
html.cab body #menu.mm2 :is(#voyLog, #newsLog) li {
  position: relative; padding: 10px 6px 10px 22px; border-radius: 0; background: none !important; box-shadow: none !important;
  border-bottom: 1px solid rgba(246, 240, 226, 0.07); color: rgba(246, 240, 226, 0.75);
}
html.cab body #menu.mm2 :is(#voyLog, #newsLog) li:last-child { border-bottom: 0; }
html.cab body #menu.mm2 :is(#voyLog, #newsLog) li::before { content: ""; position: absolute; left: 5px; top: 18px; width: 5px; height: 5px; rotate: 45deg; background: #e7c77a; }
html.cab body #menu.mm2 :is(#voyLog, #newsLog) li > b:first-child { color: #f6f0e2; text-transform: uppercase; font-size: 0.86em; letter-spacing: 0.1em; margin-right: 8px; }
html.cab body #menu.mm2 :is(#voyLog, #newsLog) b { color: #f6f0e2; }
html.cab body #menu.mm2 :is(:is(#voyLog, #newsLog) kbd, :is(#voyLog, #newsLog) .htFoot kbd) {
  color: #14100a !important; background: rgba(246, 240, 226, 0.9) !important; border: 0 !important; border-radius: 2px !important; box-shadow: none !important; text-shadow: none !important;
}
html.cab body #menu.mm2 :is(#voyLog, #newsLog) .htFoot { background: none !important; border-top: 1px solid rgba(246, 240, 226, 0.1) !important; box-shadow: none !important; }
html.cab body #menu.mm2 :is(#voyLog, #newsLog) .htFoot > span { color: rgba(246, 240, 226, 0.55) !important; text-shadow: none !important; }
html.cab body #menu.mm2 :is(#voyLog, #newsLog) .htDone { position: relative; }
html.cab body #menu.mm2 :is(:is(#voyLog, #newsLog) .htDone, #sailsMenu .sdDone) {
  isolation: isolate; min-width: 0 !important; min-height: 0 !important; padding: 10px 42px 10px 16px !important;
  font: 700 0.95rem/1.2 var(--body) !important; letter-spacing: 0.16em; text-transform: uppercase; color: #14100a !important; text-shadow: none !important;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; clip-path: none !important; filter: none !important; transform: none !important;
  transition: translate 0.25s cubic-bezier(0.3, 0.7, 0.2, 1.3);
}
html.cab body #menu.mm2 :is(:is(#voyLog, #newsLog) .htDone, #sailsMenu .sdDone)::before { clip-path: inset(0 0 0 0) !important; opacity: 1 !important; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35)); }
html.cab body #menu.mm2 :is(:is(#voyLog, #newsLog) .htDone, #sailsMenu .sdDone):is(:hover, :focus-visible) { translate: 4px 0; color: #000 !important; }
html.cab body #menu.mm2 :is(:is(#voyLog, #newsLog) .htDone, #sailsMenu .sdDone):is(:hover, :focus-visible)::before { right: -14px; filter: drop-shadow(0 3px 12px rgba(255, 240, 210, 0.35)); }
html.cab body #menu.mm2 :is(:is(#voyLog, #newsLog) .htDone, #sailsMenu .sdDone):focus-visible { outline: none !important; }

/* =====================================================================
   §S INDSTILLINGERNE (2026-11-25, brugerens ønske): pausemenuen/Settings i to klæder.
   - Til søs (#escMenu uden .inMenu): Joinery-træ som resten af UI'et: flade brønde med tynde messinglinjer,
     faner som portens sidefaner (messinglinje til venstre), valgknapper som ét samlet greb, den valgte en messingplade.
   - Fra startskærmen (#escMenu.inMenu, 12f openMenuSettings): samme mørke vindue som How to play, Sails og Logbook
     (guldlinjer, versaler, det lyse penselstrøg bag det valgte). Fluebenet på det valgte bliver (tilgængelighed, 07 A3).
   ===================================================================== */
/* ---------- til søs: træ ---------- */
html.cab body #escMenu:not(.inMenu) #escPanel { border-radius: var(--jn-r) !important; }
html.cab body #escMenu:not(.inMenu) #escPanel > h2 { letter-spacing: 0.02em !important; border-bottom: 1px solid var(--jn-inlay-3) !important; padding-bottom: 8px !important; }
html.cab body #escMenu:not(.inMenu) #escPanel > h2 small { font: 600 0.72rem var(--body) !important; letter-spacing: 0.14em !important; text-transform: uppercase; color: var(--jn-inlay-2) !important; }
html.cab body #escMenu:not(.inMenu) #escPanel .escNav { gap: 5px; }
html.cab body #escMenu:not(.inMenu) #escPanel .escNav :is([data-esc], .escCam) {
  min-height: 50px; padding: 7px 12px !important; gap: 11px; transform: none !important;
  background: var(--jn-well) !important; background-image: none !important;
  box-shadow: inset 0 0 0 1px var(--jn-inlay-3) !important; border-radius: var(--jn-r) !important; color: var(--jn-cream) !important;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
html.cab body #escMenu:not(.inMenu) #escPanel .escNav :is([data-esc], .escCam):hover { background-color: rgba(100, 63, 30, 0.55) !important; box-shadow: inset 0 0 0 1px var(--jn-inlay-2) !important; }
html.cab body #escMenu:not(.inMenu) #escPanel .escNav [data-esc][aria-selected="true"] {
  background-color: var(--jn-wood-hi) !important; background-image: linear-gradient(90deg, rgba(226, 187, 104, 0.22), rgba(226, 187, 104, 0.03) 70%) !important;
  box-shadow: inset 3px 0 0 var(--jn-inlay), inset 0 0 0 1px var(--jn-inlay-2), 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}
html.cab body #escMenu:not(.inMenu) #escPanel .escNav :is([data-esc], .escCam):focus-visible { outline: 2px solid var(--jn-cream) !important; outline-offset: 1px !important; }
html.cab body #escMenu:not(.inMenu) #escPanel .enIco { width: 32px; height: 32px; background: var(--jn-tar); box-shadow: 0 0 0 1px var(--jn-inlay-3); }
html.cab body #escMenu:not(.inMenu) #escPanel [aria-selected="true"] .enIco { box-shadow: 0 0 0 1px var(--jn-inlay), 0 0 8px rgba(226, 187, 104, 0.3); }
html.cab body #escMenu:not(.inMenu) #escPanel .enIco .px { width: 20px; height: 20px; }
html.cab body #escMenu:not(.inMenu) #escPanel .enTx b { font: 500 1.08rem/1.1 var(--jn-title) !important; color: var(--jn-cream); }
html.cab body #escMenu:not(.inMenu) #escPanel .enTx small { font-size: 0.74rem; color: rgba(248, 239, 220, 0.62); }
html.cab body #escMenu:not(.inMenu) #escPanel [aria-selected="true"] .enTx small { color: rgba(248, 239, 220, 0.82); }
html.cab body #escMenu:not(.inMenu) #btnEscClose.escGo { min-height: 46px !important; font: 700 0.98rem var(--body) !important; letter-spacing: 0.06em; }
html.cab body #escMenu:not(.inMenu) #escPanel .escGo small { background: rgba(28, 18, 6, 0.14); box-shadow: inset 0 0 0 1px rgba(28, 18, 6, 0.35); }
/* siderne */
html.cab body #escMenu:not(.inMenu) #escPanel .uiSet { gap: 0; padding: 10px 14px 6px; border-radius: var(--jn-r); background: var(--jn-well); box-shadow: inset 0 0 0 1px var(--jn-inlay-3); }
html.cab body #escMenu:not(.inMenu) #escPanel .uiSet > legend { float: left; width: 100%; margin: 0 0 4px; padding: 0 0 7px; border-bottom: 1px solid var(--jn-inlay-3); font: 700 0.72rem var(--body); letter-spacing: 0.18em; color: var(--jn-inlay); }
html.cab body #escMenu:not(.inMenu) #escPanel .uiSet > legend + * { clear: both; }
html.cab body #escMenu:not(.inMenu) #escPanel .uiRow { min-height: 46px; padding: 6px 0; border-bottom: 1px solid rgba(226, 187, 104, 0.09); }
html.cab body #escMenu:not(.inMenu) #escPanel .uiRow:last-child { border-bottom: 0; }
html.cab body #escMenu:not(.inMenu) #escPanel .uiRow > span { font: 500 0.92rem var(--body); color: var(--jn-cream); }
html.cab body #escMenu:not(.inMenu) #escPanel .uiSet .seg { gap: 2px; padding: 3px; border-radius: var(--jn-r); background: rgba(10, 6, 2, 0.55); box-shadow: inset 0 0 0 1px var(--jn-inlay-3), inset 0 1px 3px rgba(0, 0, 0, 0.5); }
html.cab body #escMenu:not(.inMenu) #escPanel .uiSet .seg button {
  min-height: 30px; border-radius: 2px !important; background: none !important; background-image: none !important; box-shadow: none !important;
  color: rgba(248, 239, 220, 0.72) !important; font: 600 0.84rem var(--body); text-shadow: none !important; transition: background-color 0.12s ease, color 0.12s ease;
}
html.cab body #escMenu:not(.inMenu) #escPanel .uiSet .seg button:hover:not([aria-pressed="true"]) { background-color: rgba(226, 187, 104, 0.12) !important; color: var(--jn-cream) !important; }
html.cab body #escMenu:not(.inMenu) #escPanel .uiSet .seg button[aria-pressed="true"] {
  color: #1c1206 !important; background: linear-gradient(180deg, #edc874, #d9ae58) !important; font-weight: 800;
  box-shadow: 0 1px 0 rgba(255, 240, 200, 0.35) inset, 0 1px 3px rgba(0, 0, 0, 0.45) !important;
}
html.cab body #escMenu:not(.inMenu) #escPanel .uiSet .seg button[aria-pressed="true"]::before { font-size: 0.85em; }
html.cab body #escMenu:not(.inMenu) #escPanel .uiSet .seg button:focus-visible { outline: 2px solid var(--jn-cream) !important; outline-offset: 1px !important; }
html.cab body #escMenu:not(.inMenu) #escPanel :is(.uiRange input, .volRow input)[type="range"] { accent-color: var(--jn-inlay); }
html.cab body #escMenu:not(.inMenu) #escPanel .uiRange b { color: var(--jn-inlay); font-variant-numeric: tabular-nums; }
html.cab body #escMenu:not(.inMenu) #escPanel .escPage .volRow { border-radius: var(--jn-r); background: rgba(10, 6, 2, 0.35) !important; box-shadow: inset 0 0 0 1px var(--jn-inlay-3) !important; }
html.cab body #escMenu:not(.inMenu) #escPanel .escPage .volRow label { color: var(--jn-cream) !important; letter-spacing: 0.08em; }
html.cab body #escMenu:not(.inMenu) #escPanel .escStatus { border-radius: var(--jn-r); background: var(--jn-well); box-shadow: inset 0 0 0 1px var(--jn-inlay-3); }
html.cab body #escMenu:not(.inMenu) #escPanel .esItem { border-radius: var(--jn-r); background: rgba(10, 6, 2, 0.5); box-shadow: inset 0 0 0 1px var(--jn-inlay-3); }
html.cab body #escMenu:not(.inMenu) #escPanel .escSave { border-top: 1px solid var(--jn-inlay-3); }
html.cab body #escMenu:not(.inMenu) #escPanel kbd { border-radius: 2px; box-shadow: inset 0 0 0 1px var(--jn-inlay-2); color: var(--jn-cream); }
html.cab body #escMenu:not(.inMenu) #escPanel .subNote, html.cab body #escMenu:not(.inMenu) #escPanel #gfxNote { color: rgba(248, 239, 220, 0.6); font-size: 0.8rem; }
html.cab body #escMenu:not(.inMenu) #escPanel .keysGrp { color: var(--jn-inlay); }
html.cab body #escMenu:not(.inMenu) #escPanel .escPages { scrollbar-color: var(--jn-inlay-2) transparent; }

/* ---------- fra startskærmen: det mørke vindue ---------- */
html.cab body #escMenu.inMenu { --setBrush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x2='1'%3E%3Cstop offset='0' stop-color='%23f4ecdb'/%3E%3Cstop offset='.55' stop-color='%23f4ecdb'/%3E%3Cstop offset='1' stop-color='%23f4ecdb' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23g)'%3E%3Cpath d='M6 17C40 9 120 12 200 10c60-1 110 2 150 5l48 3-46 4 44 5-50 3 40 6-60 5c-80 6-190 9-300 5C14 50 4 45 7 38 2 32 2 24 6 17z'/%3E%3Cpath d='M210 6c60-2 120 0 175 3-50 1-120 1-175-3zM220 53c50 2 110 1 160-3-50 6-110 7-160 3z' opacity='.7'/%3E%3C/g%3E%3C/svg%3E"); background-color: rgba(3, 5, 10, 0.6) !important; }
html.cab body #escMenu.inMenu > #escPanel {
  --wood-bg: none !important; --rope-frame: none !important; --planks: none;
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.96), rgba(6, 9, 15, 0.97)) !important; background-image: linear-gradient(180deg, rgba(12, 16, 24, 0.96), rgba(6, 9, 15, 0.97)) !important;
  border: 0 !important; border-radius: 3px !important; color: rgba(246, 240, 226, 0.78);
  box-shadow: inset 0 0 0 1px rgba(246, 240, 226, 0.07), 0 30px 80px rgba(0, 0, 0, 0.6) !important;
  outline: 0 !important; backdrop-filter: blur(6px); position: relative;
}
html.cab body #escMenu.inMenu > #escPanel::before, html.cab body #escMenu.inMenu > #escPanel::after {
  content: "" !important; position: absolute !important; inset: auto 6% auto 6% !important; height: 1px !important; width: auto !important; pointer-events: none; z-index: 2;
  border: 0 !important; border-radius: 0 !important; box-shadow: 0 0 6px rgba(255, 214, 140, 0.35) !important; opacity: 1; transform: none !important;
  background: linear-gradient(90deg, rgba(231, 199, 122, 0), #e7c77a 18%, #fff1c4 48%, #c9a14a 78%, rgba(201, 161, 74, 0)) !important;
}
html.cab body #escMenu.inMenu > #escPanel::before { top: 0 !important; }
html.cab body #escMenu.inMenu > #escPanel::after { bottom: 0 !important; left: 30% !important; right: 3% !important; opacity: 0.6; }
html.cab body #escMenu.inMenu #escPanel > h2 {
  font: 600 clamp(1.25rem, 0.5vw + 1rem, 1.55rem)/1.1 var(--body) !important; letter-spacing: 0.18em !important; text-transform: uppercase;
  color: #f6f0e2 !important; text-shadow: none !important; border-bottom: 1px solid rgba(246, 240, 226, 0.12) !important; padding-bottom: 12px !important;
}
html.cab body #escMenu.inMenu #escPanel > h2 small { font: 400 0.86rem var(--body) !important; letter-spacing: 0.02em !important; text-transform: none; color: rgba(246, 240, 226, 0.5) !important; text-shadow: none !important; }
html.cab body #escMenu.inMenu #escPanel .escNav { gap: 2px; }
html.cab body #escMenu.inMenu #escPanel .escNav [data-esc] {
  position: relative; isolation: isolate; min-height: 50px; padding: 6px 30px 6px 10px !important; gap: 12px; transform: none !important;
  background: none !important; background-image: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; clip-path: none !important;
  color: rgba(246, 240, 226, 0.72) !important; transition: color 0.2s ease, translate 0.25s cubic-bezier(0.3, 0.7, 0.2, 1.3);
}
html.cab body #escMenu.inMenu #escPanel .escNav [data-esc]::before {
  content: ""; position: absolute; z-index: -1; left: -10px; right: -12px; top: -3px; bottom: -3px; pointer-events: none;
  background: var(--setBrush) 0 0 / 100% 100% no-repeat; clip-path: inset(0 100% 0 0); opacity: 0;
  transition: clip-path 0.35s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.15s ease;
}
html.cab body #escMenu.inMenu #escPanel .escNav [data-esc]:hover:not([aria-selected="true"]) { color: #fff !important; translate: 3px 0; }
html.cab body #escMenu.inMenu #escPanel .escNav [data-esc][aria-selected="true"] { color: #14100a !important; }
html.cab body #escMenu.inMenu #escPanel .escNav [data-esc][aria-selected="true"]::before { clip-path: inset(0 0 0 0); opacity: 1; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35)); }
html.cab body #escMenu.inMenu #escPanel .escNav [data-esc]:focus-visible { outline: 1px solid rgba(246, 240, 226, 0.6) !important; outline-offset: 2px !important; }
html.cab body #escMenu.inMenu #escPanel .enIco { width: 30px; height: 30px; background: rgba(246, 240, 226, 0.06); box-shadow: 0 0 0 1px rgba(246, 240, 226, 0.16); }
html.cab body #escMenu.inMenu #escPanel [aria-selected="true"] .enIco { background: #14100a; box-shadow: none; }
html.cab body #escMenu.inMenu #escPanel .enIco .px { width: 18px; height: 18px; }
html.cab body #escMenu.inMenu #escPanel .enTx b { font: 600 0.9rem/1.2 var(--body) !important; letter-spacing: 0.14em !important; text-transform: uppercase; color: inherit !important; }
html.cab body #escMenu.inMenu #escPanel .enTx small { font: 400 0.76rem/1.25 var(--body); color: rgba(246, 240, 226, 0.45); }
html.cab body #escMenu.inMenu #escPanel [aria-selected="true"] .enTx small { color: rgba(20, 16, 10, 0.68); }
/* Back: som Done i de andre vinduer */
html.cab body #escMenu.inMenu #btnEscClose.escGo {
  position: relative; isolation: isolate; align-self: flex-start; min-height: 0 !important; margin-top: auto; padding: 10px 44px 10px 16px !important;
  font: 700 0.95rem/1.2 var(--body) !important; letter-spacing: 0.16em; text-transform: uppercase; color: #14100a !important; text-shadow: none !important;
  background: none !important; background-image: none !important; background-color: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; clip-path: none !important; filter: none !important;
  transition: translate 0.25s cubic-bezier(0.3, 0.7, 0.2, 1.3);
}
html.cab body #escMenu.inMenu #btnEscClose.escGo::before { content: ""; position: absolute; z-index: -1; inset: -1px 0 -1px -8px; background: var(--setBrush) 0 0 / 100% 100% no-repeat; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35)); transition: right 0.25s ease; }
html.cab body #escMenu.inMenu #btnEscClose.escGo:is(:hover, :focus-visible) { translate: 4px 0; color: #000 !important; outline: none !important; }
html.cab body #escMenu.inMenu #btnEscClose.escGo:is(:hover, :focus-visible)::before { right: -14px; filter: drop-shadow(0 3px 12px rgba(255, 240, 210, 0.35)); }
html.cab body #escMenu.inMenu #escPanel .escGo small { color: #14100a; background: none; box-shadow: inset 0 0 0 1px rgba(20, 16, 10, 0.45); letter-spacing: 0.06em; }
/* siderne */
html.cab body #escMenu.inMenu #escPanel .uiSet { gap: 0; padding: 12px 16px 6px; border-radius: 2px; background: rgba(246, 240, 226, 0.03); box-shadow: inset 0 0 0 1px rgba(246, 240, 226, 0.06); }
html.cab body #escMenu.inMenu #escPanel .uiSet > legend { float: left; width: 100%; margin: 0 0 4px; padding: 0 0 8px; border-bottom: 1px solid rgba(246, 240, 226, 0.12); font: 600 0.78rem var(--body); letter-spacing: 0.2em; color: #f6f0e2; }
html.cab body #escMenu.inMenu #escPanel .uiSet > legend + * { clear: both; }
html.cab body #escMenu.inMenu #escPanel .uiRow { min-height: 46px; padding: 6px 0; border-bottom: 1px solid rgba(246, 240, 226, 0.07); }
html.cab body #escMenu.inMenu #escPanel .uiRow:last-child { border-bottom: 0; }
html.cab body #escMenu.inMenu #escPanel .uiRow > span { font: 500 0.92rem var(--body); color: rgba(246, 240, 226, 0.85); }
html.cab body #escMenu.inMenu #escPanel .uiSet .seg { gap: 2px; padding: 3px; border-radius: 2px; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(246, 240, 226, 0.12); }
html.cab body #escMenu.inMenu #escPanel .uiSet .seg button {
  min-height: 30px; border-radius: 1px !important; background: none !important; background-image: none !important; box-shadow: none !important; border: 0 !important; clip-path: none !important;
  color: rgba(246, 240, 226, 0.66) !important; font: 600 0.8rem var(--body); letter-spacing: 0.08em; text-transform: uppercase; text-shadow: none !important;
  transition: background-color 0.12s ease, color 0.12s ease;
}
html.cab body #escMenu.inMenu #escPanel .uiSet .seg button:hover:not([aria-pressed="true"]) { background-color: rgba(246, 240, 226, 0.08) !important; color: #fff !important; }
html.cab body #escMenu.inMenu #escPanel .uiSet .seg button[aria-pressed="true"] { color: #14100a !important; background: #f4ecdb !important; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important; }
html.cab body #escMenu.inMenu #escPanel .uiSet .seg button:focus-visible { outline: 1px solid rgba(246, 240, 226, 0.8) !important; outline-offset: 2px !important; }
html.cab body #escMenu.inMenu #escPanel :is(.uiRange input, .volRow input)[type="range"] { accent-color: #f4ecdb; }
html.cab body #escMenu.inMenu #escPanel .uiRange b { color: #f6f0e2; font-variant-numeric: tabular-nums; }
html.cab body #escMenu.inMenu #escPanel .escPage .volRow { border-radius: 2px; background: rgba(246, 240, 226, 0.03) !important; box-shadow: inset 0 0 0 1px rgba(246, 240, 226, 0.08) !important; }
html.cab body #escMenu.inMenu #escPanel .escPage .volRow label { color: #f6f0e2 !important; font-weight: 600; letter-spacing: 0.12em; }
html.cab body #escMenu.inMenu #escPanel .escPage .volRow b { color: rgba(246, 240, 226, 0.75) !important; }
html.cab body #escMenu.inMenu #escPanel :is(.volRow button, .keyBtn, .keysReset, button.mini) {
  background: none !important; background-image: none !important; border: 0 !important; border-radius: 2px !important; clip-path: none !important;
  box-shadow: inset 0 0 0 1px rgba(246, 240, 226, 0.22) !important; color: rgba(246, 240, 226, 0.85) !important; text-shadow: none !important;
}
html.cab body #escMenu.inMenu #escPanel :is(.volRow button, .keyBtn, .keysReset, button.mini):hover { background: rgba(246, 240, 226, 0.08) !important; color: #fff !important; }
html.cab body #escMenu.inMenu #escPanel :is(.volRow button[aria-pressed="true"]) { box-shadow: inset 0 0 0 1px rgba(246, 240, 226, 0.55) !important; }
html.cab body #escMenu.inMenu #escPanel .keyBtn.wait { color: #14100a !important; background: #f4ecdb !important; }
html.cab body #escMenu.inMenu #escPanel .keysGrp { color: #e7c77a; }
html.cab body #escMenu.inMenu #escPanel kbd { color: #14100a; background: rgba(246, 240, 226, 0.9); box-shadow: none; }
html.cab body #escMenu.inMenu #escPanel .subNote, html.cab body #escMenu.inMenu #escPanel #gfxNote { color: rgba(246, 240, 226, 0.5); font-size: 0.8rem; }
html.cab body #escMenu.inMenu #escPanel .uiSet .gqNote { color: #e7c77a; }
html.cab body #escMenu.inMenu #escPanel .escPages { scrollbar-color: rgba(246, 240, 226, 0.3) transparent; }
@media (max-width: 720px) { html.cab body #escMenu.inMenu #btnEscClose.escGo { margin: 0; align-self: auto; } }
html.cab body #escMenu.inMenu #escPanel .escNav { align-self: stretch; }
html.cab body #escMenu.inMenu #escPanel .escNav [data-esc] { min-height: 54px; }
html.cab body #escMenu:not(.inMenu) #escPanel > h2 small { color: var(--jn-inlay) !important; opacity: 0.8; }
html.cab body #escMenu.inMenu #escPanel .escNav [data-esc]:focus-visible { outline: none !important; box-shadow: inset 2px 0 0 #f6f0e2 !important; }
html.cab body #escMenu.inMenu #gfxSet .seg:is([aria-labelledby="gfLbl_q"], [aria-labelledby="gfLbl_fc"]) button { letter-spacing: 0.03em; padding-inline: 7px; }
/* logbogen (#eventBox.lbBook) står i 08c-logbook.css */
