/* =====================================================================
   06d-features.css (2026-11-11): fortsættelse af 06c (delt ved ~76 KB, se NOTES "Hold filerne store nok").
   Samme lag og samme rækkefølge: 06c → 06d → 07-cabin. Nye regler for begge udseender sidst her.
   ===================================================================== */
/* v6: tynd hvid kant om kanonen, løbet drejer mod skærmens midte, flyt-knappen er tilbage */
html body #battery .gcard .gname .gmodel { transition: transform 0.35s ease-out, opacity 0.2s;
  filter: drop-shadow(0.6px 0 0 #fff) drop-shadow(-0.6px 0 0 #fff) drop-shadow(0 0.6px 0 #fff) drop-shadow(0 -0.6px 0 #fff) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6)); }
html body #battery .gcard.broken .gname .gmodel { filter: grayscale(0.9) brightness(0.55) sepia(0.4) hue-rotate(-30deg) drop-shadow(0.6px 0 0 #fff) drop-shadow(-0.6px 0 0 #fff) drop-shadow(0 0.6px 0 #fff) drop-shadow(0 -0.6px 0 #fff); }
html body #battery .gcard .gn { display: block !important; position: absolute; top: 3px; right: 3px; z-index: 1; }
html body #battery .gcard .gn .lant { display: none !important; }
html body #battery .gcard .mv:not([hidden]) { position: static !important; display: block !important; padding: 0 5px !important; font-size: 0.62rem !important; line-height: 1.45 !important; }

/* v7: kanonen fra siden (mundingen mod højre, hævet løb), ingen drejning; uden advarselslinjen i overskriften */
html body.in-combat { --batH: 168px; }
@media (max-width: 760px) { html body.in-combat { --batH: 156px; } }
html body #battery .gcard .gname .gmodel { width: 74px; aspect-ratio: 184 / 120; transform: none !important; }
@media (max-width: 760px) { html body #battery .gcard .gname .gmodel { width: 66px; } }
html body #battery > h2 #gunHint { display: none !important; }

/* svinger ud fra venstre side som en hængslet tavle */
html body #battery { transform-origin: 0% 100%; backface-visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.55, 0, 0.8, 0.3), opacity 0.35s ease-in, visibility 0s linear 0.45s; }
html body:not(.in-combat) #battery { transform: perspective(1100px) translateX(-60px) rotateY(-96deg); opacity: 0; visibility: hidden; pointer-events: none; }
html body.in-combat #battery { transform: none; opacity: 1; visibility: visible;
  transition: opacity 0.25s ease-out, visibility 0s; animation: gunsSwingIn 0.8s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
@keyframes gunsSwingIn {
  0%   { transform: perspective(1100px) translateX(-60px) rotateY(-96deg); }
  58%  { transform: perspective(1100px) translateX(0) rotateY(10deg); }
  78%  { transform: perspective(1100px) rotateY(-4deg); }
  100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html body #battery, html body.in-combat #battery { animation: none !important; transition: opacity 0.2s, visibility 0s linear 0.2s !important; }
  html body:not(.in-combat) #battery { transform: none; }
}

/* ---------- 2026-11-09: Battle orders kan foldes op som posterne (#btnCbFold/#cbFold, foldPanel i 10-hud) ---------- */
html body #combatBoard #cbFold { display: flex; flex-direction: column; gap: 8px; transform-origin: 50% 0; min-height: 0; }
html body #combatBoard #cbFold[hidden] { display: none !important; }
html body #combatBoard > .cbHead { padding-right: 30px !important; }
html body #combatBoard > .cbHead #btnCbFold { order: 2; margin-left: auto; min-width: 22px; font-weight: 800; cursor: pointer; }
html body #combatBoard.folded > .cbHead { border-bottom-color: transparent !important; }
html body #crewPanel #btnFold { margin-left: auto; }

/* ---------- Posterne: ingen farvet klods i venstre side, og ingen tilstandstekst under kanonerne ---------- */
html body #crewPanel .srow, html body #crewPanel .srow[data-state="good"], html body #crewPanel .srow[data-state="bad"], html body #crewPanel .srow.wrecked { border-left: 0 !important; }
html body #crewPanel .srow[data-id="port"] .se, html body #crewPanel .srow[data-id="stbd"] .se { display: none !important; }
html body #crewPanel .srow[data-id="port"].full .sl2, html body #crewPanel .srow[data-id="stbd"].full .sl2 { display: none !important; }
html body #crewPanel .srow.enemyside .sn::after { content: none !important; }

/* ---------- Kanonerne vender mod hende, men ingen lader dem (.needMen, sat i updateStationList):
   rækken pulserer, de tomme pladser blinker med et +, og mærkatet på dækket pulserer med ---------- */
html body #crewPanel .srow.needMen { animation: needMenPulse 1.1s ease-in-out infinite; }
html body #crewPanel .srow.needMen::before { content: "⚔ Man the guns!"; position: absolute; right: 6px; top: -7px; z-index: 3; padding: 1px 6px; border-radius: 3px; pointer-events: none;
  font: 800 0.6rem/1.35 var(--body); letter-spacing: 0.04em; color: #2a1606; background: linear-gradient(180deg, #ffe7a8, #e0a840); box-shadow: 0 0 0 1px #1a0e05, 0 0 8px rgba(255, 180, 60, 0.8); }
html body #crewPanel .srow.needMen .es { position: relative; animation: needMenSlot 1.1s ease-in-out infinite; }
html body #crewPanel .srow.needMen .es::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font: 900 1rem/1 var(--body); color: #ffe7a8; text-shadow: 0 0 6px rgba(255, 200, 90, 0.9); }
html body .stag.needMen { animation: needMenTag 1.1s ease-in-out infinite; }
@keyframes needMenPulse {
  0%, 100% { box-shadow: inset 0 0 0 2px rgba(255, 200, 90, 0.55), 0 0 0 rgba(255, 170, 60, 0); }
  50% { box-shadow: inset 0 0 0 2px #ffd98a, 0 0 14px rgba(255, 170, 60, 0.85); }
}
@keyframes needMenSlot {
  0%, 100% { background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 200, 90, 0.5); }
  50% { background: rgba(120, 72, 14, 0.75); box-shadow: inset 0 0 0 2px #ffd98a; }
}
@keyframes needMenTag { 0%, 100% { filter: none; } 50% { filter: brightness(1.35) drop-shadow(0 0 8px rgba(255, 180, 60, 0.95)); } }
@media (prefers-reduced-motion: reduce) {
  html body #crewPanel .srow.needMen, html body #crewPanel .srow.needMen .es, html body .stag.needMen { animation: none; }
  html body #crewPanel .srow.needMen { box-shadow: inset 0 0 0 2px #ffd98a; }
}

/* ---------- hændelser i 3D (15b): dialogen er væk, mens valget spilles som scene; "Skip ▸" viser udfaldet ---------- */
html body #eventBox.acting { opacity: 0 !important; pointer-events: none !important; transition: opacity 0.2s ease; }
#actSkip {
  position: fixed; right: 20px; bottom: 22px; z-index: 80; padding: 8px 16px 6px; border: 0; border-radius: 0; cursor: pointer;
  font: 400 1.05rem "IM Fell English SC", var(--display); letter-spacing: 0.05em; color: var(--brass-l);
  background: linear-gradient(180deg, transparent 0 3px, #1a0e05 3px 4px, #f0cd78 4px 5px, #8f6420 5px 6px, transparent 6px) top / 100% 100% no-repeat,
    linear-gradient(180deg, #74482a 0%, #573419 50%, #3e2410 100%) #4a2c14;
  box-shadow: inset 0 0 0 1px rgba(201, 160, 74, 0.6), 0 3px 8px rgba(0, 0, 0, 0.55); text-shadow: 0 1px 0 #1a0e05;
  animation: actSkipIn 0.35s ease 0.6s both;
}
#actSkip:hover, #actSkip:focus-visible { filter: brightness(1.18); outline: none; }
#actSkip[hidden] { display: none; }
@keyframes actSkipIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #actSkip { animation: none; } html body #eventBox.acting { transition: none; } }
/* råb over vandet (15b e3Shout): en lille tekstboble over den, der råber */
html body #floaters .floater.shout { font: 400 1rem "IM Fell English", var(--display) !important; color: var(--ink2) !important; background: var(--parch); padding: 3px 9px 2px; border-radius: 10px; box-shadow: 0 0 0 1px #5e4220, 0 2px 6px rgba(0, 0, 0, 0.45); text-shadow: none !important; white-space: nowrap; }
html body #floaters .floater.shout b { font: inherit !important; color: inherit !important; }

/* ---------- jagten (12-voyage-port startChase): eget skilt i stedet for halvtomme Battle orders ---------- */
#chaseTag {
  position: fixed; left: 50%; top: calc(var(--topH, 96px) + 18px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 28;
  display: grid; gap: 3px; justify-items: center; width: min(360px, calc(100vw - 32px)); padding: 9px 14px 8px; text-align: center;
  background: linear-gradient(180deg, #74482a 0%, #573419 50%, #3e2410 100%) #4a2c14; color: #e8dcc0;
  box-shadow: inset 0 0 0 1px rgba(201, 160, 74, 0.65), 0 4px 12px rgba(0, 0, 0, 0.55); pointer-events: none;
  animation: chaseTagIn 0.45s cubic-bezier(.2, .8, .3, 1.2) both;
}
#chaseTag b { font: 400 1.35rem "Pirata One", var(--display, serif); color: #ffd98a; letter-spacing: 0.03em; text-shadow: 0 1px 0 #1a0e05; }
#chaseTag .ctName { font: 0.88rem var(--body, serif); }
#chaseTag .ctTrack { display: block; width: 100%; height: 7px; background: rgba(0, 0, 0, 0.5); box-shadow: inset 0 0 0 1px rgba(201, 160, 74, 0.45); }
#chaseTag .ctTrack i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #c9a04a, #ffd98a); transition: width 0.15s linear; }
#chaseTag .ctNote { font-size: 0.78rem; opacity: 0.85; }
#chaseTag[hidden], body:not(.chasing) #chaseTag { display: none !important; }
@keyframes chaseTagIn { from { opacity: 0; transform: translate(-50%, -14px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { #chaseTag { animation: none; } }

/* ---------- doktriner (12d): mærker på opgraderinger, skrogtavlens doktrin-mærke, Ship's log "Builds" ---------- */
.docTags { display: flex; flex-wrap: wrap; gap: 3px 5px; margin-top: 5px; }
.docTag { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px 1px 3px; border-radius: 9px; font: 600 0.7rem/1.35 var(--body, serif); color: #f3ead2;
  background: color-mix(in srgb, var(--dc) 42%, #1a1009); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dc2) 55%, transparent); white-space: nowrap; }
.docTag svg, .docTag img { width: 13px; height: 13px; }
.docTag.mine { background: color-mix(in srgb, var(--dc) 75%, #1a1009); box-shadow: inset 0 0 0 1.5px var(--dc2), 0 0 6px color-mix(in srgb, var(--dc) 60%, transparent); }
html body #conds > span.docCond { cursor: pointer; padding: 0 7px 0 3px; border-radius: 9px; font-weight: 700; color: #fff7e2;
  background: color-mix(in srgb, var(--dc, #5a4a30) 70%, #140c06); box-shadow: inset 0 0 0 1px var(--dc2, #c9a04a); }
html body #conds > span.docCond svg, html body #conds > span.docCond img { width: 14px; height: 14px; }
html body #conds > span.docCond.pending { background: rgba(0, 0, 0, 0.35); color: var(--gold-l, #ffe3a0); box-shadow: inset 0 0 0 1px rgba(201, 160, 74, 0.5); font-weight: 600; }
#shipLog .docHero { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 10px; padding: 10px 12px; border-radius: 8px;
  background: linear-gradient(110deg, color-mix(in srgb, var(--dc, #3a3a3a) 55%, #0d0805), rgba(10, 6, 3, 0.7)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dc2, #c9a04a) 70%, transparent); }
#shipLog .docHero.none { background: rgba(10, 18, 28, 0.5); box-shadow: inset 0 0 0 1px rgba(201, 194, 176, 0.35); }
#shipLog .docHero > i svg, #shipLog .docHero > i img { width: 44px; height: 44px; }
#shipLog .docHero b { font: 400 1.35rem "Pirata One", var(--display, serif); color: #fff3d0; letter-spacing: 0.02em; }
#shipLog .docHero small { color: #e8dcc0; opacity: 0.85; }
#shipLog .docHero p { margin: 3px 0 0; color: #f1e6cc; font-size: 0.86rem; }
#shipLog .docNow .pos { color: #a8e6bf; } #shipLog .docNow .neg { color: #ffb09a; } #shipLog .docNow .dim { color: #cfc4aa; opacity: 0.8; }
#shipLog .docGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 8px; }
#shipLog .docCard { padding: 8px 10px; border-radius: 7px; background: rgba(10, 18, 28, 0.5); border: 1px solid rgba(201, 194, 176, 0.3); border-left: 4px solid var(--dc); color: #f1e6cc; font-size: 0.8rem; }
#shipLog .docCard.on { border-color: var(--dc2); border-left-color: var(--dc); background: linear-gradient(180deg, color-mix(in srgb, var(--dc) 22%, transparent), rgba(10, 18, 28, 0.55)); }
#shipLog .docCard header { display: flex; align-items: center; gap: 6px; }
#shipLog .docCard header i svg, #shipLog .docCard header i img { width: 22px; height: 22px; }
#shipLog .docCard header b { font: 400 1.08rem "Pirata One", var(--display, serif); color: #fff3d0; }
#shipLog .docCard header small { margin-left: auto; opacity: 0.8; }
#shipLog .docCard p { margin: 4px 0 0; line-height: 1.35; }
#shipLog .docCard .docTag1 { font-style: italic; color: #fff0c8; }
#shipLog .docBar { position: relative; display: block; height: 7px; margin: 5px 0 2px; border-radius: 4px; background: rgba(0, 0, 0, 0.45); overflow: hidden; }
#shipLog .docBar i { position: absolute; inset: 0 auto 0 0; background: var(--dc); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
#shipLog .docBar b { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(255, 240, 200, 0.75); }
#shipLog .docKeys { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
#shipLog .docKeys span { padding: 0 6px; border-radius: 8px; background: rgba(0, 0, 0, 0.35); font-size: 0.74rem; opacity: 0.85; }
#shipLog .docKeys span.have { background: color-mix(in srgb, var(--dc) 50%, #000); opacity: 1; color: #fff; }
#shipLog .docPerks { display: flex; flex-direction: column; gap: 1px; font-size: 0.76rem; }
#shipLog .docPerks .cur { color: #a8e6bf; font-weight: 700; } #shipLog .docPerks .neg { color: #ffb09a; }
#shipLog .docVs { font-size: 0.74rem; } #shipLog .docVs .pos { color: #a8e6bf; } #shipLog .docVs .neg { color: #ffb09a; }
#shipLog .docArts { font-size: 0.74rem; color: var(--gold-l, #ffe3a0); }

/* ---------- 2026-11-09: Ship's log hænger under Log-knappen (placeShipLog i 12f sætter --logL/--logT/--logW/--logA) ---------- */
#shipLog.anchored { display: block; padding: 0; background: rgba(6, 12, 22, 0.38); }
#shipLog.anchored > .panel { position: absolute; left: var(--logL); top: var(--logT); width: var(--logW); max-height: calc(100vh - var(--logT) - 12px); box-sizing: border-box;
  transform-origin: var(--logA) 0; animation: logDrop 0.2s cubic-bezier(0.2, 0.8, 0.3, 1.1) both; }
#shipLog.anchored::before, #shipLog.anchored::after { content: ""; position: absolute; z-index: 1; width: 0; height: 0; pointer-events: none;
  border-left: 10px solid transparent; border-right: 10px solid transparent; }
#shipLog.anchored::before { left: calc(var(--logL) + var(--logA) - 10px); top: calc(var(--logT) - 10px); border-bottom: 10px solid #c99a44; }
#shipLog.anchored::after { left: calc(var(--logL) + var(--logA) - 7px); top: calc(var(--logT) - 6px); border-left-width: 7px; border-right-width: 7px; border-bottom: 7px solid #5a3519; }
@keyframes logDrop { from { opacity: 0; transform: translateY(-8px) scaleY(0.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #shipLog.anchored > .panel { animation: none; } }

/* ---------- 2026-11-09: Guns-tavlen ---------- */
/* hele hjørner på kortene og deres knapper (rollemærket beholder sine skrå sider, og skjoldene deres klip) */
html body #battery .glist .gcard, html body #battery .gcard .rep, html body #battery .gcard .mv, html body #battery > h2 .focusBtn { clip-path: none !important; }
html body #battery .gcard .rep, html body #battery .gcard .mv { border-radius: 3px !important; }
/* siden vises med en lille lanterne i hjørnet (rød bagbord, grøn styrbord), tegnet som postikonerne */
html body #battery .glist .gcard::before { content: none !important; }
html body #battery .gcard > .lant { display: block !important; position: absolute; top: 3px; left: 3px; z-index: 1; width: 15px; height: 15px; pointer-events: none; }
html body #battery .gcard > .lant.p { color: #ff4a32; filter: drop-shadow(0 0 0.6px #1a0f06) drop-shadow(0 0 3px rgba(255, 74, 50, 0.85)); }
html body #battery .gcard > .lant.s { color: #3fe068; filter: drop-shadow(0 0 0.6px #1a0f06) drop-shadow(0 0 3px rgba(63, 224, 104, 0.85)); }
html body #battery .gcard.broken > .lant, html body #battery .gcard.off > .lant { filter: grayscale(0.8) brightness(0.6); }
/* rækkevidde: et bogstav (C / M / L) i den hvide boks */
html body #battery .gcard .gam .rng { min-width: 14px; height: 13px; box-sizing: border-box; justify-content: center; padding: 0 3px !important; }
html body #battery .gcard .rngL { display: block; font: 800 0.6rem/1 var(--body); letter-spacing: 0; color: inherit; }
/* Focus target: som før (lys rød pille), men mens fokus er sat, gløder og flimrer den langsomt rødt */
html body #battery > h2 .focusBtn { border-radius: 9px !important; }
html body #battery > h2 .focusBtn.on { animation: focusGlow 2.4s ease-in-out infinite; }
/* baggrunden er låst med !important i 05, så gløden er lys (brightness) og et rødt skær udenom */
@keyframes focusGlow {
  0%, 100% { filter: brightness(1); box-shadow: inset 0 0 0 1px var(--rope), inset 0 0 0 2px rgba(18, 10, 4, 0.75), 0 2px 0 #1a0e05, 0 0 0 0 rgba(255, 50, 30, 0); }
  18% { filter: brightness(1.12); box-shadow: inset 0 0 0 1px var(--rope), inset 0 0 0 2px rgba(18, 10, 4, 0.75), 0 2px 0 #1a0e05, 0 0 6px 1px rgba(255, 50, 30, 0.5); }
  24% { filter: brightness(1.04); box-shadow: inset 0 0 0 1px var(--rope), inset 0 0 0 2px rgba(18, 10, 4, 0.75), 0 2px 0 #1a0e05, 0 0 4px 0 rgba(255, 50, 30, 0.35); }
  52% { filter: brightness(1.28) saturate(1.25); box-shadow: inset 0 0 0 1px var(--rope), inset 0 0 0 2px rgba(18, 10, 4, 0.75), 0 2px 0 #1a0e05, 0 0 13px 3px rgba(255, 40, 20, 0.75); }
  70% { filter: brightness(1.12); box-shadow: inset 0 0 0 1px var(--rope), inset 0 0 0 2px rgba(18, 10, 4, 0.75), 0 2px 0 #1a0e05, 0 0 8px 2px rgba(255, 50, 30, 0.5); }
}
@media (prefers-reduced-motion: reduce) { html body #battery > h2 .focusBtn.on { animation: none; box-shadow: 0 0 8px rgba(255, 60, 40, 0.6); } }

/* ---------- startgaverne som tre medaljoner i en kompasring (12d buildStartRing) · v2 2026-11-10 ---------- */
/* ringen står til højre for teksten, så boksen ikke vokser op over skibet */
html body #eventBox.startGifts { width: min(900px, calc(100vw - 32px)); display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; column-gap: 26px; align-items: center; }
html body #eventBox.startGifts > h2 { grid-column: 1; grid-row: 1; align-self: end; }
html body #eventBox.startGifts > p { grid-column: 1; grid-row: 2; align-self: start; }
html body #eventBox.startGifts > .fx:empty { display: none; }
html body #eventBox .choices button.evc[hidden] { display: none !important; }   /* de skjulte tekstknapper bag ringen (display: grid slog [hidden] ud) */
html body #eventBox.startGifts > .choices { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
@media (max-width: 640px) {
  html body #eventBox.startGifts { grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; }
  html body #eventBox.startGifts > p { font-size: 0.95rem; }
}
/* skiven: alt måles i procent af --sz, så medaljoner, nav og plade står præcist om samme midte */
#eventBox .sgRing { --sz: min(272px, calc(46vh - 40px), 46vw); --ease: cubic-bezier(0.22, 1, 0.36, 1); --spring: cubic-bezier(0.3, 1.45, 0.5, 1); display: grid; place-items: center; margin: 4px auto 10px; }
#eventBox .sgDialWrap { position: relative; width: var(--sz); height: var(--sz); animation: sgDialIn 0.6s var(--ease) backwards; }
#eventBox .sgDial { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.5)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45)); }
#eventBox .sgTicks path { stroke: #d9b566; stroke-width: 0.9; stroke-linecap: round; opacity: 0.55; fill: none; }
#eventBox .sgTicks path.maj { stroke: #f3d68c; stroke-width: 1.5; opacity: 0.9; }
#eventBox .sgCards text { font: 400 11px/1 "IM Fell English SC", Georgia, serif; fill: #f3d68c; text-anchor: middle; dominant-baseline: central; letter-spacing: 0; opacity: 0.92; }
#eventBox .sgRose .ra { fill: rgba(243, 214, 140, 0.11); } #eventBox .sgRose .rb { fill: rgba(243, 214, 140, 0.045); }
#eventBox .sgOrbit { fill: none; stroke: rgba(243, 214, 140, 0.22); stroke-width: 0.8; stroke-dasharray: 0.8 4.2; stroke-linecap: round; }
/* lysbuen på den indre messingring bag den medaljon, man holder over */
#eventBox .sgArc { fill: none; stroke: #fff3c9; stroke-width: 2.6; stroke-linecap: round; opacity: 0; stroke-dasharray: 112; stroke-dashoffset: 112; filter: drop-shadow(0 0 4px rgba(255, 214, 120, 0.95)); transition: opacity 0.35s var(--ease), stroke-dashoffset 0.55s var(--ease); }
#eventBox .sgRing[data-h="0"] .s0, #eventBox .sgRing[data-h="1"] .s1, #eventBox .sgRing[data-h="2"] .s2 { opacity: 1; stroke-dashoffset: 0; }
/* et langsomt lysglimt, der vandrer rundt på messingkanten */
#eventBox .sgGlint { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; opacity: 0.8;
  background: conic-gradient(from 0deg, transparent 0 18deg, rgba(255, 250, 225, 0.85) 34deg, transparent 52deg 190deg, rgba(255, 250, 225, 0.4) 212deg, transparent 232deg);
  -webkit-mask: radial-gradient(closest-side, transparent 93.4%, #000 94.2%, #000 96.6%, transparent 97.4%); mask: radial-gradient(closest-side, transparent 93.4%, #000 94.2%, #000 96.6%, transparent 97.4%);
  animation: sgSpin 16s linear infinite; }
@keyframes sgSpin { to { transform: rotate(360deg); } }
/* kompasset i midten: huset står stille, nålen drejes fra JS og følger musen */
#eventBox .sgHub { position: absolute; left: 50%; top: 50%; width: 19%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; z-index: 1; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.6)); transition: opacity 0.25s, scale 0.35s var(--ease); }
#eventBox .sgHub > svg, #eventBox .sgNeedle, #eventBox .sgNeedle svg, #eventBox .sgGlass { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#eventBox .sgNeedle { transform: rotate(0deg); transform-origin: 50% 50%; will-change: transform; filter: drop-shadow(0 1.5px 1px rgba(40, 20, 0, 0.45)); }
#eventBox .sgGlass { inset: 14%; width: auto; height: auto; border-radius: 50%; background: linear-gradient(160deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.08) 36%, transparent 48%); }
/* veteranens segl sidder på skalaen mellem N og Ø */
#eventBox .sgVet { position: absolute; left: 80.2%; top: 19.8%; transform: translate(-50%, -50%); z-index: 3; width: 7.6%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; cursor: help;
  font: 900 calc(var(--sz) * 0.05)/1 var(--body); color: #2a1606; background: radial-gradient(circle at 40% 32%, #fff4cf, #e3b04a 62%, #8f6420); box-shadow: 0 0 0 1px #120a04, 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 9px rgba(255, 210, 110, 0.75); }
/* medaljonerne: samme bane (--r), samme størrelse, 120° imellem */
#eventBox .sgRing .sgGift { --r: calc(var(--sz) * 0.2467); --gem: rgba(255, 226, 160, 0.26); --glow: rgba(255, 205, 110, 0.8);
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 25%; aspect-ratio: 1; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important; cursor: pointer; clip-path: none !important; overflow: visible !important; min-height: 0 !important; min-width: 0 !important;
  background: none !important; box-shadow: none !important; color: #f6ecd2; font: inherit; display: block; -webkit-tap-highlight-color: transparent;
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a)));
  transition: transform 0.6s cubic-bezier(0.5, 0, 0.2, 1.15), opacity 0.35s var(--ease), filter 0.35s var(--ease);
  animation: sgGiftIn 0.6s var(--spring) backwards; animation-delay: calc(0.18s + var(--i) * 0.09s); }
@keyframes sgGiftIn { from { opacity: 0; scale: 0.55; } }
#eventBox .sgGift.r-uncommon { --gem: #6fcf68; --glow: rgba(110, 215, 100, 0.8); }
#eventBox .sgGift.r-rare { --gem: #6db4ff; --glow: rgba(110, 180, 255, 0.85); }
#eventBox .sgMed { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: conic-gradient(from 215deg, #8a5f1e, #f9e7ae 11%, #cb9a42 23%, #74500f 38%, #e6c573 51%, #fff3cb 60%, #b78732 72%, #6a4712 87%, #8a5f1e);
  box-shadow: 0 0 0 1px #120a04, 0 7px 12px rgba(0, 0, 0, 0.55), 0 2px 3px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.35s var(--ease), scale 0.4s var(--spring); animation: sgBob 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * -1.4s); }
#eventBox .sgMed::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 50% 28%, #51351c, #1f1208 60%, #0d0703);
  box-shadow: 0 0 0 1px #120a04, inset 0 0 0 1.5px var(--gem), inset 0 5px 9px rgba(0, 0, 0, 0.8), inset 0 -3px 5px rgba(255, 220, 150, 0.07); transition: box-shadow 0.35s var(--ease); }
#eventBox .sgMed::after { content: ""; position: absolute; inset: 10%; border-radius: 50%; z-index: 2; pointer-events: none; background: linear-gradient(162deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 36%, transparent 46%); }
#eventBox .sgIco { position: relative; z-index: 1; display: grid; place-items: center; width: 56%; height: 56%; transition: scale 0.4s var(--spring); }
#eventBox .sgIco svg, #eventBox .sgIco img { width: 100% !important; height: 100% !important; display: block; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.7)); }
#eventBox .sgGift.wide .sgIco { width: 74%; } #eventBox .sgGift.wide .sgIco img { height: auto !important; }
@keyframes sgBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -2px; } }
/* holder over / fokus: medaljonen løfter sig og gløder, de andre træder tilbage */
#eventBox .sgRing[data-h="0"] .g0 .sgMed, #eventBox .sgRing[data-h="1"] .g1 .sgMed, #eventBox .sgRing[data-h="2"] .g2 .sgMed, #eventBox .sgGift:focus-visible .sgMed { scale: 1.09;
  box-shadow: 0 0 0 1px #120a04, 0 0 0 2.5px rgba(255, 240, 200, 0.9), 0 12px 18px rgba(0, 0, 0, 0.55), 0 0 26px 5px var(--glow); }
#eventBox .sgRing[data-h="0"] .g0 .sgMed::before, #eventBox .sgRing[data-h="1"] .g1 .sgMed::before, #eventBox .sgRing[data-h="2"] .g2 .sgMed::before { box-shadow: 0 0 0 1px #120a04, inset 0 0 0 1.5px var(--gem), inset 0 5px 9px rgba(0, 0, 0, 0.6), inset 0 0 14px rgba(255, 215, 130, 0.28); }
#eventBox .sgRing[data-h="0"] .g0 .sgIco, #eventBox .sgRing[data-h="1"] .g1 .sgIco, #eventBox .sgRing[data-h="2"] .g2 .sgIco { scale: 1.1; }
#eventBox .sgGift:focus-visible { outline: none; }
#eventBox .sgRing[data-h="0"] .sgGift:not(.g0), #eventBox .sgRing[data-h="1"] .sgGift:not(.g1), #eventBox .sgRing[data-h="2"] .sgGift:not(.g2) { opacity: 0.55; filter: saturate(0.7); }
/* navnepladen: den eneste tekst, og kun mens man holder over et valg. Ligger over skivens nederste kant */
#eventBox .sgPlate { position: absolute; left: 50%; bottom: -3.5%; z-index: 5; display: grid; justify-items: center; gap: 3px; min-width: 46%; max-width: 112%; box-sizing: border-box; padding: 6px 16px 7px; border-radius: 11px; white-space: nowrap; pointer-events: none;
  background: linear-gradient(180deg, #33200f, #1c1007 58%, #120a04); box-shadow: 0 0 0 1px #120a04, inset 0 0 0 1px rgba(243, 214, 140, 0.55), inset 0 0 0 2px rgba(18, 10, 4, 0.9), inset 0 1px 0 2px rgba(255, 240, 200, 0.12), 0 10px 18px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translate(-50%, 8px) scale(0.96); transition: opacity 0.22s var(--ease), transform 0.32s var(--ease); }
#eventBox .sgRing[data-h]:not([data-h=""]) .sgPlate { opacity: 1; transform: translate(-50%, 0) scale(1); transition: opacity 0.25s var(--ease), transform 0.45s var(--spring); }
#eventBox .sgPTop { display: inline-flex; align-items: center; gap: 9px; }
#eventBox .sgPName { font: 400 1.08rem/1.1 "IM Fell English SC", var(--display, serif) !important; color: #ffe6a8 !important; letter-spacing: 0.07em; text-shadow: 0 1px 0 #000; }
#eventBox .sgPVal { display: inline-flex; align-items: center; gap: 6px; padding: 1px 9px; border-radius: 9px; font: 800 0.86rem/1.4 var(--body, sans-serif); color: #2a1606; background: linear-gradient(180deg, #fff3cb, #e6bd63 58%, #b98a35); box-shadow: 0 0 0 1px #120a04, inset 0 1px 0 rgba(255, 255, 255, 0.5); }
#eventBox .sgPVal:empty { display: none; }
#eventBox .sgPHint { font: italic 400 0.86rem/1.2 "IM Fell English", Georgia, serif !important; color: #d8c49a !important; letter-spacing: 0.01em; }
#eventBox .sgMini { display: inline-flex; align-items: center; gap: 2px; }
#eventBox .sgMini .px { width: 15px !important; height: 15px !important; filter: none; }
#eventBox .sgMini b { font: 800 0.84rem/1 var(--body, sans-serif); }
/* valgt: medaljonen sejler ind til midten og blusser op, de andre og kompasset viger */
#eventBox .sgRing.picked .sgGift { pointer-events: none; }
#eventBox .sgRing.picked .sgGift:not(.chosen) { opacity: 0; scale: 0.7; filter: none; transition: opacity 0.3s, scale 0.3s; }
#eventBox .sgRing.picked .sgGift.chosen { --r: 0px; z-index: 4; }
#eventBox .sgRing.picked .sgGift.chosen .sgMed { scale: 1.3; animation: sgFlare 0.65s ease-out both; }
#eventBox .sgRing.picked .sgHub { opacity: 0; scale: 0.7; }
#eventBox .sgRing.picked .sgDialWrap::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 236, 170, 0.95), rgba(255, 190, 80, 0.45) 40%, transparent 70%); animation: sgBurst 0.65s ease-out 0.25s both; }
@keyframes sgFlare { 0% { filter: brightness(1); } 55% { filter: brightness(1.6); } 100% { filter: brightness(1.15); } }
@keyframes sgBurst { from { opacity: 0; scale: 0.4; } 40% { opacity: 1; } to { opacity: 0; scale: 3.2; } }
@media (prefers-reduced-motion: reduce) {
  #eventBox .sgDialWrap, #eventBox .sgGlint, #eventBox .sgMed, #eventBox .sgRing .sgGift { animation: none !important; }
  #eventBox .sgRing .sgGift, #eventBox .sgPlate, #eventBox .sgArc { transition: none !important; }
}

/* ---------- 2026-11-09: kamploggen er flyttet ind i Ship's log (fanen "Battle"); den lille liste på skærmen vises ikke ---------- */
html body #battleLog, html body.in-combat #battleLog { display: none !important; }
#shipLog .bhList { display: flex; flex-direction: column; gap: 2px; font-size: 0.86rem; color: #e8dcc0; }
#shipLog .bhList > div { padding: 2px 8px; border-bottom: 1px solid rgba(226, 180, 90, 0.1); }
#shipLog .bhList b { font-weight: 700; }
#shipLog .bhList .us b { color: #8fe6a8; }
#shipLog .bhList .them b { color: #ffb09a; }
#shipLog .bhList .bhHead { margin-top: 10px; padding: 3px 8px; border: 0; font: 400 1.05rem "Pirata One", var(--display, serif); letter-spacing: 0.03em; color: #e2b45a;
  background: linear-gradient(90deg, rgba(226, 180, 90, 0.18), transparent); }
#shipLog .bhList .bhHead:first-child { margin-top: 0; }
#shipLog .bhList > div:last-child:not(.bhHead) { color: #fff3d0; }

/* ---------- 2026-11-09 (b): moral-mærket, infamy-glød, røde kryds, Guns-tavlens knapper ---------- */
/* moral-noten (Crew eager / inspired / mutiny) hænger under skrogtavlen som en lille træbrik, ligesom byttet i dialogen.
   JS (updateMoraleGauge, 14) flytter #mgNote ud af målerne og ind i #hullFrame */
html body #hullFrame > #mgNote {
  position: absolute !important; top: calc(100% + 8px) !important; right: 22px !important; left: auto !important; bottom: auto !important;
  grid-column: auto; justify-self: auto; max-width: none !important; overflow: visible !important; z-index: 8; pointer-events: none;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 3px 10px !important; border-radius: 3px !important; border: 1px solid #c99a44 !important;
  font: 700 0.72rem/1.2 "Alegreya Sans", var(--body) !important; letter-spacing: 0.02em;
  background: linear-gradient(180deg, #4a2c14, #2a170a) !important;
  box-shadow: 0 0 0 1px #1a0e05, inset 0 1px 0 rgba(255, 228, 178, 0.12), 0 3px 6px rgba(0, 0, 0, 0.55) !important;
  text-shadow: 0 1px 0 #000; color: #f6e7c4;
  animation: mgNoteIn 0.35s ease-out;
}
html body #hullFrame > #mgNote:empty { display: none !important; }
html body #hullFrame > #mgNote.good { color: #bfe6ff !important; }
html body #hullFrame > #mgNote.good::before { content: "▲"; font-size: 0.6rem; color: #8fd0ff; }
html body #hullFrame > #mgNote.bad { color: #ffb4a2 !important; border-color: #ff5a3c !important; background: linear-gradient(180deg, #5a1a0e, #2a0a04) !important; }
html body #hullFrame > #mgNote.bad::before { content: "▼"; font-size: 0.6rem; color: #ff5a3c; }
@keyframes mgNoteIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* infamy-mærket gløder klart et øjeblik, når vores ry er grunden (højere havnepriser, folk der frygter eller hader os) */
html body #hullPlank > .chips #infamyBox.infGlow { animation: infGlow 0.9s ease-in-out 3; position: relative; z-index: 2; }
html body #infamyBox.infGlow #infStars, html body #infamyBox.infGlow #infStars i { color: #ffe08a !important; text-shadow: 0 0 6px #ff5a1a, 0 0 14px #ff3a0a, 0 0 2px #fff4c0 !important; }
@keyframes infGlow {
  0%, 100% { filter: brightness(1); box-shadow: inset 0 0 0 1px #ff6a40, 0 0 6px rgba(255, 60, 20, 0.4) !important; transform: scale(1); }
  50% { filter: brightness(1.5) saturate(1.3); box-shadow: inset 0 0 0 2px #ffd08a, 0 0 22px 6px rgba(255, 70, 20, 0.9), 0 0 4px #fff0c0 !important; transform: scale(1.08); }
}
/* samme mærke i havnens overskrift og øverst i hændelsesdialogen */
html body .infBadge { display: inline-flex !important; align-items: center; gap: 6px; margin-right: 8px; padding: 2px 9px !important; border-radius: 3px;
  font: 700 0.74rem/1.3 "Alegreya Sans", var(--body) !important; font-style: normal !important; letter-spacing: 0.02em; color: #ffd8c8 !important;
  background: linear-gradient(180deg, #6a1a0e, #3a0c05) !important; border: 1px solid #ff6a40 !important;
  box-shadow: 0 0 0 1px #1a0e05, 0 0 8px rgba(255, 60, 20, 0.45) !important; text-shadow: 0 1px 0 #000; }
html body .infBadge i { font-style: normal; color: #ffb07a; text-shadow: 0 0 6px rgba(255, 90, 40, 0.9); letter-spacing: 0.05em; }
html body #eventBox .fx span.infBadge { color: #ffd8c8 !important; background: linear-gradient(180deg, #6a1a0e, #3a0c05) !important; border-color: #ff6a40 !important; }
html body .infBadge.glow { animation: infGlow 0.9s ease-in-out 3; }
/* infamy-valg i dialogen: rødbejdset, med stjernemærket; låste valg er krydset ud */
html body #eventBox .choices button.evc.infamy:not(:disabled) {
  background-image: linear-gradient(100deg, rgba(170, 40, 20, 0.45), rgba(80, 16, 8, 0.25) 45%, rgba(42, 26, 12, 0.6)) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 120, 80, 0.8), inset 0 0 0 2px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 70, 30, 0.3), 0 2px 4px rgba(0, 0, 0, 0.35) !important;
}
html body #eventBox .choices button.evc.infamy .evTag { color: #ffb07a !important; }
html body #eventBox .choices button.evc.infamy .evTag::before { content: "☠"; }
html body #eventBox .choices button.evc.infamy:disabled small { color: #ff9a80 !important; font-style: italic; }
html body #eventBox .choices button.evc.infamy:disabled .evTxt { text-decoration: line-through; text-decoration-color: rgba(255, 90, 60, 0.7); }
@media (prefers-reduced-motion: reduce) { html body #infamyBox.infGlow, html body .infBadge.glow, html body #hullFrame > #mgNote { animation: none !important; } }

/* fjendepanelet: ødelagte poster og kanoner får et tydeligt rødt kryds over ikonet */
html body #enemyPanel .eBadges .vb.wrecked { opacity: 1 !important; }
html body #enemyPanel .eBadges .vb.wrecked .sti { opacity: 0.5 !important; }
html body #enemyPanel .eBadges .vb.wrecked::after,
html body #enemyPanel .egb.off::after {
  content: "" !important; position: absolute; inset: 3px 6px 9px 6px; pointer-events: none; z-index: 3; font-size: 0 !important; text-shadow: none !important;
  background:
    linear-gradient(45deg, transparent calc(50% - 3px), #1a0303 calc(50% - 3px) calc(50% - 1.8px), #ff2a14 calc(50% - 1.8px) calc(50% + 1.8px), #1a0303 calc(50% + 1.8px) calc(50% + 3px), transparent calc(50% + 3px)),
    linear-gradient(-45deg, transparent calc(50% - 3px), #1a0303 calc(50% - 3px) calc(50% - 1.8px), #ff2a14 calc(50% - 1.8px) calc(50% + 1.8px), #1a0303 calc(50% + 1.8px) calc(50% + 3px), transparent calc(50% + 3px));
  filter: drop-shadow(0 0 3px rgba(255, 40, 20, 0.8));
}
html body #enemyPanel .egb.off::after { inset: 0; }
html body #enemyPanel .egb:not(.pin) { position: relative; }
html body #enemyPanel .egb.off > svg, html body #enemyPanel .egb.off > canvas, html body #enemyPanel .egb.off > img { opacity: 0.5; filter: grayscale(1); }

/* Guns-tavlen: side-knappen (⇄P / ⇄S) står nu nede ved rækkeviddebogstavet og rollen */
html body #battery .gcard .gam { align-items: center; }
html body #battery .gcard .gam .mv:not([hidden]) { position: static !important; display: inline-block !important; margin: 0 !important; padding: 0 4px !important; font-size: 0.55rem !important; line-height: 1.5 !important; flex: none; }
html body #battery .gcard.broken .gam:has(.mv:not([hidden])) { display: flex !important; }
html body #battery .gcard.broken .gam .rng, html body #battery .gcard.broken .gam .role { display: none !important; }
html body #battery .gcard .gn:empty { display: none !important; }

/* Focus target: en ru planke af rødbejdset træ (som fjendepanelet) med jernbånd og nitter */
html body #battery > h2 .focusBtn {
  border-radius: 2px !important; border: 0 !important; height: 20px !important; padding: 0 16px !important; line-height: 20px !important;
  font: 400 0.82rem/20px "IM Fell English SC", var(--display) !important; letter-spacing: 0.06em !important; text-transform: none !important;
  color: #ffe2cc !important; text-shadow: 0 1px 0 #1a0402, 0 0 4px rgba(0, 0, 0, 0.6);
  background:
    radial-gradient(circle, #f6dca0 0 0.8px, #a8823e 1.3px 2px, #1a0e05 2.4px, transparent 2.9px) left 4px center / 7px 7px no-repeat,
    radial-gradient(circle, #f6dca0 0 0.8px, #a8823e 1.3px 2px, #1a0e05 2.4px, transparent 2.9px) right 4px center / 7px 7px no-repeat,
    repeating-linear-gradient(178deg, rgba(255, 190, 150, 0.06) 0 1px, transparent 1px 3px, rgba(0, 0, 0, 0.12) 3px 4px, transparent 4px 7px),
    radial-gradient(ellipse 14px 4px at 62% 40%, rgba(20, 4, 2, 0.4), transparent 70%),
    linear-gradient(180deg, rgba(120, 18, 8, 0.5), rgba(70, 8, 4, 0.6)),
    linear-gradient(170deg, #6a3a20, #4a2412 55%, #34180c) !important;
  box-shadow: 0 0 0 1.5px #1a0e05, 0 0 0 2.5px #8a5a28, inset 0 1px 0 rgba(255, 200, 160, 0.18), inset 0 -2px 3px rgba(0, 0, 0, 0.5), 0 2px 0 #1a0e05 !important;
}
html body #battery > h2 .focusBtn:hover:not(:disabled) { filter: brightness(1.18); box-shadow: 0 0 0 1.5px #1a0e05, 0 0 0 2.5px #e2b45a, inset 0 1px 0 rgba(255, 200, 160, 0.22), inset 0 -2px 3px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 90, 50, 0.35) !important; }
html body #battery > h2 .focusBtn:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 0 0 1.5px #1a0e05, 0 0 0 2.5px #8a5a28, inset 0 3px 6px rgba(0, 0, 0, 0.6) !important; }
html body #battery > h2 .focusBtn.arm { animation: focusArmWood 0.9s ease-in-out infinite !important; }
html body #battery > h2 .focusBtn.on { color: #fff2e4 !important; animation: focusGlowWood 2.4s ease-in-out infinite !important; }
@keyframes focusArmWood { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }
@keyframes focusGlowWood {
  0%, 100% { filter: brightness(1); box-shadow: 0 0 0 1.5px #1a0e05, 0 0 0 2.5px #c94a2a, inset 0 -2px 3px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(255, 50, 30, 0); }
  52% { filter: brightness(1.28) saturate(1.25); box-shadow: 0 0 0 1.5px #1a0e05, 0 0 0 2.5px #ff7a4a, inset 0 -2px 3px rgba(0, 0, 0, 0.5), 0 0 13px 3px rgba(255, 40, 20, 0.75); }
}
@media (prefers-reduced-motion: reduce) { html body #battery > h2 .focusBtn.on, html body #battery > h2 .focusBtn.arm { animation: none !important; } }

/* ---------- Battle orders hænger i jernbeslag ligesom posterne, med samme afstand (14px) til skrogtavlen ---------- */
@media (min-width: 901px) {
  html body #combatBoard:not(.floating) { top: calc((var(--hullB, 150px) + 14px) / var(--z, 1)) !important; }
  html body.in-combat #combatBoard { transform-origin: 50% calc(-14px / var(--z, 1)); }
  html body #combatBoard:not(.floating)::after { content: none !important; display: none !important; }
  html body #combatBoard:not(.floating)::before {
    content: "" !important; display: block !important; position: absolute; pointer-events: none; z-index: 2;
    left: 22px !important; right: 22px !important; width: auto !important;
    top: calc(-14px / var(--z, 1)) !important; height: calc(14px / var(--z, 1)) !important;
    filter: none; transform: none !important; clip-path: none !important; border: 0 !important; box-shadow: none !important;
    background:
      radial-gradient(circle, #fff1c4 0 1px, #c99a44 1.6px 2.6px, #1a0e05 3.2px, transparent 3.8px) left 3px top 3px / 8px 8px no-repeat,
      radial-gradient(circle, #fff1c4 0 1px, #c99a44 1.6px 2.6px, #1a0e05 3.2px, transparent 3.8px) right 3px top 3px / 8px 8px no-repeat,
      linear-gradient(90deg, #1a0e05 0 1px, #5a5048 1px 4px, #2e2722 4px 13px, #1a0e05 13px 14px) left top / 14px 100% no-repeat,
      linear-gradient(90deg, #1a0e05 0 1px, #5a5048 1px 4px, #2e2722 4px 13px, #1a0e05 13px 14px) right top / 14px 100% no-repeat !important;
  }
}

/* ---------- Range-sporet: messingviser under rillen = hvor vi er nu; skibene over rillen = den afstand hun vil (rødt skib,
   sejler mod venstre) og den vi vil (vores skib, sejler mod højre). Fritstående og store, ingen kasse. ---------- */
html body #combatBoard #rangePanel .rTrack { height: 54px !important; }
html body #combatBoard #rangePanel .rTrack .rLine { top: 36px !important; height: 7px !important; }
html body #rangePanel #rngTNow { display: block !important; }
html body #combatBoard #rangePanel .rTrack .rNow {
  top: 39px !important; width: 15px !important; height: 16px !important; border-radius: 0 !important; z-index: 3;
  box-shadow: none !important; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 4px rgba(255, 220, 140, 0.55));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 15'%3E%3Cpath d='M7 .7 13.3 8v6.3H.7V8z' fill='%23e9c46e' stroke='%231a0e05' stroke-width='1.2' stroke-linejoin='round'/%3E%3Cpath d='M7 2.6 3 7.3h4z' fill='%23fff3cf'/%3E%3Cpath d='M2 11h10' stroke='%237a5418' stroke-width='1'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important;
}
html body #combatBoard #rangePanel .rTrack .rHer, html body #combatBoard #rangePanel .rTrack .rUs {
  top: 2px !important; width: 40px !important; height: 33px !important; display: block !important;
  font-size: 0 !important; color: transparent !important; background-color: transparent !important; box-shadow: none !important;
  background-position: center !important; background-size: 100% 100% !important; background-repeat: no-repeat !important;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.9)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55));
}
html body #combatBoard #rangePanel .rTrack .rHer::after, html body #combatBoard #rangePanel .rTrack .rUs::after { content: none !important; display: none !important; }
html body #combatBoard #rangePanel .rTrack .rUs {
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 26'%3E%3Cg stroke='%231a0e05' stroke-linejoin='round'%3E%3Cpath d='M11 3v14M20 2v15' stroke-width='1.6'/%3E%3Cpath d='M20 1.5l5.5 1.5-5.5 1.5z' fill='%23f0cd78' stroke-width='.8'/%3E%3Cpath d='M6 4.5q5 1.5 10 0v10q-5-1.5-10 0z' fill='%23f6e7c4' stroke-width='1.1'/%3E%3Cpath d='M15 3.5q5 1.5 10 0v11q-5-1.5-10 0z' fill='%23fff3d8' stroke-width='1.1'/%3E%3Cpath d='M21 4l9 11h-8z' fill='%23f6e7c4' stroke-width='1'/%3E%3Cpath d='M1 16.5h30l-3.8 7H5z' fill='%23744418' stroke-width='1.3'/%3E%3C/g%3E%3Cpath d='M3.5 19h25' stroke='%23f0cd78' stroke-width='1.4'/%3E%3C/svg%3E") !important;
}
html body #combatBoard #rangePanel .rTrack .rHer {
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 26'%3E%3Cg transform='translate(32 0) scale(-1 1)'%3E%3Cg stroke='%231a0e05' stroke-linejoin='round'%3E%3Cpath d='M11 3v14M20 2v15' stroke-width='1.6'/%3E%3Cpath d='M20 .8h6v4.4h-6z' fill='%23140a04' stroke-width='.7'/%3E%3Cpath d='M6 4.5q5 1.5 10 0v10q-5-1.5-10 0z' fill='%23a3271a' stroke-width='1.1'/%3E%3Cpath d='M15 3.5q5 1.5 10 0v11q-5-1.5-10 0z' fill='%23c2321f' stroke-width='1.1'/%3E%3Cpath d='M21 4l9 11h-8z' fill='%23a3271a' stroke-width='1'/%3E%3Cpath d='M1 16.5h30l-3.8 7H5z' fill='%232a1608' stroke-width='1.3'/%3E%3C/g%3E%3Ccircle cx='23' cy='3' r='1.1' fill='%23f2e6cc'/%3E%3Cpath d='M3.5 19h25' stroke='%23c2321f' stroke-width='1.4'/%3E%3C/g%3E%3C/svg%3E") !important;
}
/* vil vi det samme som hun: skibene ligger stævn mod stævn om mærket i stedet for oven i hinanden */
html body #combatBoard #rangePanel .rTrack .rUs.same { translate: -100% 0 !important; }
html body #combatBoard #rangePanel .rTrack:has(.rUs.same) .rHer { translate: 0 0 !important; }

/* særlige valg i farve efter kilden: --spc sættes på knappen i showDialog (specialHue i 12-voyage); blå er standarden */
html body #eventBox .choices button.evc.special {
  --spc: #6fb9f2;
  --spl: color-mix(in srgb, var(--spc) 40%, #fff);
  background-color: color-mix(in srgb, var(--spc) 9%, rgba(20, 18, 16, 0.95));
  background-image: linear-gradient(100deg, color-mix(in srgb, var(--spc) 36%, transparent), color-mix(in srgb, var(--spc) 12%, transparent) 45%, rgba(42, 26, 12, 0.6));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--spc) 80%, transparent), inset 0 0 0 2px rgba(0, 0, 0, 0.4), 0 0 12px color-mix(in srgb, var(--spc) 28%, transparent), 0 2px 4px rgba(0, 0, 0, 0.35);
}
html body #eventBox .choices button.evc.special::before { background: linear-gradient(180deg, var(--spl), var(--spc)); box-shadow: 0 0 8px color-mix(in srgb, var(--spc) 90%, transparent); }
html body #eventBox .choices button.evc.special::after {
  background: linear-gradient(105deg, transparent 35%, color-mix(in srgb, var(--spl) 16%, transparent) 46%, rgba(255, 255, 255, 0.3) 50%, color-mix(in srgb, var(--spl) 16%, transparent) 54%, transparent 65%);
}
html body #eventBox .choices button.evc.special:hover:not(:disabled), html body #eventBox .choices button.evc.special:focus-visible:not(:disabled) {
  background-color: color-mix(in srgb, var(--spc) 15%, rgba(22, 20, 18, 0.97));
  box-shadow: inset 0 0 0 1px var(--spl), inset 0 0 0 2px rgba(0, 0, 0, 0.4), 0 0 20px color-mix(in srgb, var(--spc) 50%, transparent), 0 4px 10px rgba(0, 0, 0, 0.4);
}
html body #eventBox .evc.special .evIco {
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--spl) 38%, transparent), color-mix(in srgb, var(--spc) 30%, rgba(14, 12, 10, 0.92)) 70%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--spl) 85%, transparent), 0 0 10px color-mix(in srgb, var(--spc) 50%, transparent);
}
html body #eventBox .evc.special .evIco::after { color: var(--spl); text-shadow: 0 0 6px var(--spc); }
html body #eventBox .evc.special .evTag { color: var(--spl); text-shadow: 0 0 8px color-mix(in srgb, var(--spc) 65%, transparent); }
html body #eventBox .evc.special .cp { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--spc) 55%, transparent); }
html body #eventBox .evc.special .cp.short { box-shadow: inset 0 0 0 1px rgba(240, 110, 80, 0.75); }
@media (prefers-reduced-motion: no-preference) {
  html body #eventBox .evc.special .evIco { animation-name: evcBreathC; }
}
@keyframes evcBreathC {
  from { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--spl) 70%, transparent), 0 0 6px color-mix(in srgb, var(--spc) 35%, transparent); }
  to { box-shadow: inset 0 0 0 1px var(--spl), 0 0 14px color-mix(in srgb, var(--spc) 75%, transparent); }
}

/* Fjendepanelets infoboks (#eInfo) har fast højde: før voksede den, når der kom flere linjer (fx masterne under
   "Sails and rigging"), og hele panelet hoppede. Plads til overskrift + fire linjer; mere ruller inde i boksen,
   og rullebjælkens plads er altid reserveret, så teksten ikke brydes om, når den kommer og går. */
body #enemyPanel #eInfo { flex: none; box-sizing: border-box; height: 7.4rem; min-height: 7.4rem; max-height: 7.4rem; overflow-x: hidden; overflow-y: auto; scrollbar-gutter: stable; overscroll-behavior: contain; }
body #enemyPanel #eInfo:empty { display: block; }

/* ---------- 2026-11-10: artefaktbjælken — tynd kant i sjældenhedens farve, antal på stakbare småting ---------- */
/* .r-* alene taber til "#artifactBar .artSlot { --r }" (id vinder), så alle kanter blev grå: sæt farven med samme vægt */
html body #artifactBar .artSlot.r-common { --r: #c9c2b0; }
html body #artifactBar .artSlot.r-rare { --r: #4f9be8; }
html body #artifactBar .artSlot.r-exceptional { --r: #b26ae8; }
html body #artifactBar .artSlot.r-unique { --r: #ffb52e; }
html body #artifactBar .artSlot { border: 1.5px solid var(--r) !important; border-radius: 6px !important; clip-path: none !important; outline: none; overflow: visible; }
html body #artifactBar .artSlot.r-common { box-shadow: 0 0 0 1px #0e0804, inset 0 0 6px rgba(0, 0, 0, 0.6); }
html body #artifactBar .artSlot .artN {
  position: absolute; right: -5px; bottom: -6px; min-width: 16px; padding: 0 3px; border-radius: 7px; pointer-events: none;
  background: #1c1007; border: 1px solid var(--r); color: #fff2cf; font: 700 10px/13px "Alegreya Sans", sans-serif; text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
/* mange artefakter: bjælken bliver bredere i stedet for at vokse langt ned */
html body #artifactBar { max-width: min(560px, 46vw); max-height: 132px; overflow-y: auto; scrollbar-width: thin; }

/* ---------- 2026-11-10: kanonernes slid på kanonkortet ---------- */
html body #battery .gcard .gwear { display: flex; gap: 2px; width: 100%; height: 4px; margin-top: 2px; }
html body #battery .gcard .gwear i { flex: 1; border-radius: 1px; background: rgba(255, 240, 210, 0.12); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45); }
html body #battery .gcard .gwear i.on { background: var(--wc, #3f9a6c); }
html body #battery .gcard .gwear.w-new { --wc: #4fb37c; }
html body #battery .gcard .gwear.w-good { --wc: #7fa85a; }
html body #battery .gcard .gwear.w-worn { --wc: #d0a040; }
html body #battery .gcard .gwear.w-bad { --wc: #d8612f; }
html body #battery .gcard .gwear.w-ruin { --wc: #c2302a; }
html body #battery .gcard .gwear.w-ruin i.on { animation: gwearPulse 1.2s ease-in-out infinite; }
@keyframes gwearPulse { 50% { filter: brightness(1.6); } }
/* slidte kanoner: rustskjolder og en revne over kortets ikon */
html body #battery .gcard.wearBad .gname > :first-child, html body #battery .gcard.wearRuin .gname > :first-child { filter: sepia(0.7) saturate(1.4) hue-rotate(-12deg) brightness(0.85); }
html body #battery .gcard.wearRuin .gname > :first-child { filter: sepia(0.9) saturate(1.8) hue-rotate(-18deg) brightness(0.72); }
html body #battery .gcard.wearRuin { box-shadow: inset 0 0 0 1px rgba(194, 48, 42, 0.55) !important; }
@media (prefers-reduced-motion: reduce) { html body #battery .gcard .gwear.w-ruin i.on { animation: none; } }

/* ---------- 2026-11-10: artefakter v2 ---------- */
.r-uncommon { --r: #5fbf5a; }
#artifactBar .artSlot.r-uncommon { box-shadow: 0 0 0 1px #0e0804, 0 0 6px rgba(95, 191, 90, 0.45), inset 0 0 6px rgba(0, 0, 0, 0.6); }
html body #artifactBar .artSlot.r-uncommon { --r: #5fbf5a; }
#shipLog .logArt.r-uncommon { border-color: #5fbf5a; }
#chartSvg .compassMark { pointer-events: auto; }
#chartSvg .compassMark circle { fill: #b0402a; stroke: #1a0e05; stroke-width: 1.4; }
#chartSvg .compassMark path { stroke: #f6e6c4; stroke-width: 1.8; stroke-linecap: round; fill: none; }
#nodeInfo .ledgerInfo { display: block; margin-top: 4px; color: #d8c49a; line-height: 1.35; }
#artifactBar .artSlot[data-art="drogue"] { cursor: pointer; }

/* =====================================================================
   2026-11-10 · FJENDEPANELET FAST I HØJRE SIDE · SKIBSVINDUET MED FANER · NYT VÅBENKAMMER
   Gælder begge udseender (farverne står direkte her, så html.cab ikke skal rettes særskilt)
   ===================================================================== */

/* ---------- fjendepanelet: fast i højre side fra lige under menuknapperne og helt ned (--epTop sættes af dockEnemyPanel, 10-hud) ---------- */
html body #enemyPanel > .wtools, html body #enemyPanel > .eResize { display: none !important; }
html body #enemyPanel header, html body #enemyPanel header h2 { cursor: default; }
@media (min-width: 1181px) {
  :root { --epW: clamp(420px, 31vw, 820px); }
  html body.in-combat #enemyPanel.panel {
    position: fixed !important; top: var(--epTop, 66px) !important; right: 0 !important; bottom: 0 !important; left: auto !important;
    width: var(--epW) !important; max-width: none !important; height: auto !important; max-height: none !important; margin: 0 !important;
    box-sizing: border-box; overflow-x: hidden; overflow-y: auto;
  }
  /* billedet af hende tager al den højde, de faste dele ikke bruger */
  html body.in-combat #enemyPanel #ePlan.v3d { flex: 1 1 0; min-height: 240px; height: auto !important; aspect-ratio: auto !important; }
}
/* fire menuknapper på én række, når Harbor er fremme */
html.cab body #hudTop .hudBtns:has(#btnHarbor:not([hidden])) { grid-template-columns: repeat(4, minmax(0, 152px)) !important; }

/* ---------- skibsvinduet: våbenkammer, værksted og inventar deler ramme, størrelse og fanerække ---------- */
html body :is(#armory, #workshop, #inventory) > .panel {
  width: min(1400px, 100%) !important; height: min(980px, calc(100dvh - 40px)); max-height: calc(100dvh - 40px) !important; box-sizing: border-box !important;
}
html body :is(#armory, #workshop, #inventory) > .panel > .portFoot { margin-top: auto !important; }
html body .chartHead.shipHead {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-start; gap: 6px 14px;
  padding-bottom: 0 !important; border-bottom: 3px solid #f0cd78; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.55);
}
html body .chartHead.shipHead::after { display: none; }
html body .chartHead.shipHead > h2 { position: absolute !important; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html body .chartHead.shipHead > .res { margin-left: auto; align-self: center; margin-bottom: 6px; display: flex; gap: 6px 16px; flex-wrap: wrap; }
html body .chartHead.shipHead > .res[hidden] { display: none; }
.shipTabs { display: flex; gap: 6px; min-width: 0; flex: 0 1 auto; }
html body .shipTabs .shipTab {
  position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 58px; margin: 0;
  padding: 8px 12px 8px 10px !important; text-align: left; cursor: pointer; clip-path: none !important;
  border: 0 !important; border-radius: 8px 8px 0 0 !important;
  color: #e6d8ba !important; text-shadow: 0 1px 0 #100803 !important;
  background: linear-gradient(180deg, #33200f, #1c1109) !important;
  box-shadow: inset 0 0 0 1px rgba(240, 205, 120, 0.4), inset 0 -8px 10px -6px rgba(0, 0, 0, 0.7) !important;
  transform: none !important; filter: none !important; transition: background-color 0.12s ease, color 0.12s ease;
}
html body .shipTabs .shipTab:hover:not([aria-selected="true"]):not(.off) { color: #fff !important; background: linear-gradient(180deg, #553619, #2e1b0c) !important; box-shadow: inset 0 0 0 1.5px #fff0c0 !important; }
html body .shipTabs .shipTab[aria-selected="true"] {
  cursor: default; min-height: 64px; color: #2a180a !important; text-shadow: none !important;
  background: linear-gradient(180deg, #fff0c0, #f0cd78 60%, #d9ad55) !important;
  box-shadow: inset 0 0 0 1px #6a4a14, inset 0 2px 0 rgba(255, 255, 255, 0.55), 0 -2px 10px rgba(255, 220, 130, 0.25) !important;
}
html body .shipTabs .shipTab.off { opacity: 0.45; cursor: not-allowed; }
html body .shipTabs .shipTab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.shipTab .stIco { flex: none; box-sizing: border-box; width: 38px; height: 38px; padding: 6px; border-radius: 50%; color: #f0cd78; background: #100803; box-shadow: 0 0 0 1.5px #b98a3c; }
.shipTab[aria-selected="true"] .stIco { color: #fff0c0; background: #2a180a; box-shadow: 0 0 0 1.5px #6a4a14; }
.shipTab .stTx { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.shipTab .stTx b { font: 400 1.3rem "IM Fell English", "Iowan Old Style", Georgia, serif; letter-spacing: 0.01em; white-space: nowrap; }
.shipTab .stTx small { display: block; font: 600 0.8rem var(--body); letter-spacing: 0.01em; text-transform: none; color: inherit; opacity: 0.85; white-space: nowrap; }
.shipTab kbd { flex: none; margin-left: 4px; min-width: 1.5em; padding: 1px 6px; text-align: center; font: 800 0.8rem/1.5 var(--body); color: #1a1206; background: #f0cd78; border: 0; border-radius: 3px; box-shadow: inset 0 0 0 1px #6a4a14; }
.shipTab[aria-selected="true"] kbd { color: #fff0c0; background: #2a180a; box-shadow: none; }
@media (max-width: 860px) {
  .shipTab .stTx small, .shipTab kbd { display: none; }
  html body .shipTabs .shipTab { min-height: 48px; padding: 6px 10px 6px 8px !important; }
  .shipTab .stTx b { font-size: 1.05rem; }
  .shipTab .stIco { width: 30px; height: 30px; padding: 5px; }
}

/* ---------- våbenkammeret: skibet ovenfra på et stykke hav, kortene for hver port lige over og under ---------- */
html body #armory .arGrid { grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
@media (max-width: 900px) { html body #armory .arGrid { grid-template-columns: 1fr; } }
html body #armory .arShipWrap { gap: 10px; }
.arDeck {
  /* på lave skærme bliver tegningen (og rækkerne med den) smallere, så lasten og knapperne stadig kan ses uden at rulle */
  display: flex; flex-direction: column; box-sizing: border-box; width: 100%; max-width: max(640px, calc((100dvh - 500px) * var(--arAsp, 2.2))); margin: 0 auto; padding: 12px 12px; border-radius: 8px;
  background:
    repeating-radial-gradient(ellipse 140% 60% at 50% 120%, transparent 0 22px, rgba(160, 205, 225, 0.05) 22px 23px),
    radial-gradient(ellipse at 50% 50%, #1f4a66 0%, #123048 62%, #0a1c2c 100%);
  box-shadow: inset 0 0 0 1px #05101a, inset 0 0 0 2px rgba(240, 205, 120, 0.45), inset 0 0 40px rgba(0, 0, 0, 0.5);
}
html body #armory .arRow { gap: 8px; }
html body #armory .arRow::before { content: none; }
html body #armory .arShip svg { display: block; width: 100%; height: auto; overflow: visible; }
html body #armory .arSlot {
  min-height: 74px; box-sizing: border-box; border: 1.5px solid rgba(240, 205, 120, 0.5); border-radius: 7px; background: rgba(16, 8, 3, 0.86);
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
html body #armory .arSlot.empty { border-style: dashed; background: rgba(16, 8, 3, 0.55); cursor: default; }
html body #armory .arSlot .lbl {
  left: 8px; top: 0; padding: 1px 7px; border-radius: 9px; font: 800 0.74rem/1.4 var(--body); letter-spacing: 0.06em;
  color: #1a1206; background: #f0cd78; box-shadow: 0 0 0 1px #100803; z-index: 1;
}
html body #armory :is(.arSlot, .arHold).hot, html body #armory :is(.arSlot, .arHold).over { border-color: #fff0c0; border-style: solid; box-shadow: 0 0 0 2px rgba(255, 240, 192, 0.35), 0 0 14px rgba(255, 220, 130, 0.35); }
.arFree { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; font: 600 0.9rem var(--body); color: #e6d8ba; }
.arFree i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 700 1.1rem/1 var(--body); font-style: normal; color: #f0cd78; box-shadow: inset 0 0 0 1.5px rgba(240, 205, 120, 0.7); }
html body #armory.moving .arSlot.empty .arFree, html body #armory .arSlot.empty.hot .arFree { color: #fff0c0; }
html body #armory .wc {
  grid-template-columns: 40px 1fr; gap: 3px 10px; min-height: 66px; padding: 10px 10px 8px; border-radius: 6px; clip-path: none !important;
  color: #fbf3df; background: linear-gradient(180deg, #3d2713, #2a190b); border: 1px solid rgba(240, 205, 120, 0.4); box-shadow: none;
}
html body #armory .arSlot > .wc { border-color: transparent; background: none; }
html body #armory .wc:hover { border-color: #fff0c0; }
html body #armory .wc.sel { border-color: #fff0c0 !important; background: linear-gradient(180deg, #6a4a1c, #46300f) !important; box-shadow: 0 0 0 2px #f0cd78, 0 0 16px rgba(255, 220, 130, 0.4); }
html body #armory .wc .px { width: 38px; height: 38px; }
html body #armory .wc b { font-size: 0.98rem; color: #fbf3df; }
html body #armory .wc .cb { height: 6px; border-radius: 3px; background: rgba(0, 0, 0, 0.55); box-shadow: inset 0 0 0 1px rgba(240, 205, 120, 0.25); }
html body #armory .wc small { font-size: 0.8rem; color: #e6d8ba; }
html body #armory .arH { margin: 4px 0 0; }
html body #armory .arH small { font-size: 0.85rem; }
html body #armory .arHold { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); min-height: 88px; padding: 10px; border: 1.5px dashed rgba(240, 205, 120, 0.5); border-radius: 7px; background: rgba(16, 8, 3, 0.5); }
html body #armory .arHold .epnote { grid-column: 1 / -1; align-self: center; font-size: 0.9rem; color: #e6d8ba; }
