/* HUD sizes are in 1080p pixels times --u (= min(width/1920, height/1080)), set by game.js */
:root { --u: 1px; --ink: #081b2b; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #081b2b; }
#view { position: fixed; inset: 0; display: block; cursor: crosshair; }

#hud { position: fixed; inset: 0; pointer-events: none; user-select: none; color: #e8f7ff; font-family: 'Baloo 2', 'Mitr', system-ui, sans-serif; }
.hud-open {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit;
  background: transparent; pointer-events: auto; cursor: pointer; touch-action: manipulation;
}
.hud-open:focus-visible { outline: 3px solid #416e87; outline-offset: 3px; }
.cframe > .hud-open { bottom: calc(-14 * var(--u)); height: auto; border-radius: calc(18 * var(--u)); }
.cframe .cbadges { position: relative; z-index: 4; }
.outlined { -webkit-text-stroke: calc(5 * var(--u)) #061421; paint-order: stroke fill; }

/* ---------- the hero's frame (top left): portrait, name, job, HP / SP, points ---------- */
.cframe { position: absolute; left: calc(16 * var(--u)); top: calc(16 * var(--u)); display: flex; align-items: center; }
.cport {
  position: relative; z-index: 2; width: calc(116 * var(--u)); height: calc(116 * var(--u)); border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #10283b, #17364b); border: calc(5 * var(--u)) solid #37637b;
  box-shadow: inset 0 0 0 calc(4 * var(--u)) #a88a55, 0 calc(5 * var(--u)) 0 rgba(0, 0, 0, 0.25);
}
.cport canvas { display: block; width: 100%; height: 100%; border-radius: 50%; }
.clv {
  position: absolute; left: 50%; bottom: calc(-14 * var(--u)); transform: translateX(-50%); padding: 0 calc(12 * var(--u));
  border-radius: calc(12 * var(--u)); background: #23516b; border: calc(4 * var(--u)) solid #37637b; white-space: nowrap;
  font: 700 calc(17 * var(--u)) / 1.35 'Baloo 2', sans-serif; color: var(--ink);
}
.clv b { font-size: calc(23 * var(--u)); font-weight: 800; }
.cbody {
  margin-left: calc(-22 * var(--u)); width: calc(420 * var(--u)); padding: calc(10 * var(--u)) calc(16 * var(--u)) calc(10 * var(--u)) calc(34 * var(--u));
  display: flex; flex-direction: column; gap: calc(6 * var(--u)); border-radius: 0 calc(18 * var(--u)) calc(18 * var(--u)) 0;
  background: linear-gradient(#081b2b, #081b2b); border: calc(4 * var(--u)) solid #37637b;
  box-shadow: inset 0 0 0 calc(3 * var(--u)) #a88a55, 0 calc(5 * var(--u)) 0 rgba(0, 0, 0, 0.25);
}
.crow { display: flex; align-items: baseline; gap: calc(10 * var(--u)); white-space: nowrap; overflow: hidden; }
.cname { font: 600 calc(25 * var(--u)) / 1.2 'Mitr', sans-serif; color: #e8f7ff; -webkit-text-stroke: calc(4 * var(--u)) #061421; paint-order: stroke fill; }
.cjob { font: 400 calc(16 * var(--u)) 'Mitr', sans-serif; color: #c8e1ee; }
.cjob b { font: 800 calc(18 * var(--u)) 'Baloo 2', sans-serif; color: #c8e1ee; }
.gauge {
  position: relative; height: calc(28 * var(--u)); border-radius: calc(10 * var(--u)); overflow: hidden;
  background: #081b2b; border: calc(3 * var(--u)) solid #37637b;
}
.gauge i, .gauge em { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; }
.gauge i { transition: width 0.15s; }
.gauge em { background: #17364b; transition: width 0.5s 0.3s; }
.gauge.hp i { background: linear-gradient(#f07c84 0 38%, #cd4b56 38%); }
.gauge.sp { height: calc(21 * var(--u)); }
.gauge.sp i { background: linear-gradient(#17364b 0 38%, #4f8fe0 38%); }
.gauge b, .gauge .glbl {
  position: absolute; top: 50%; transform: translateY(-50%); color: #e8f7ff; white-space: nowrap;
  -webkit-text-stroke: calc(4 * var(--u)) #061421; paint-order: stroke fill;
}
.gauge b { left: 0; right: 0; text-align: center; font: 700 calc(19 * var(--u)) 'Baloo 2', sans-serif; }
.gauge.sp b { font-size: calc(15 * var(--u)); }
.gauge .glbl { left: calc(8 * var(--u)); font: 800 calc(15 * var(--u)) 'Baloo 2', sans-serif; opacity: 0.95; }
.gauge.sp .glbl { font-size: calc(13 * var(--u)); }
.cbadges { display: flex; gap: calc(8 * var(--u)); }
.cbadges:not(:has(.badge:not([hidden]))) { display: none; }
.badge {
  pointer-events: auto; cursor: pointer; padding: 0 calc(10 * var(--u)); border-radius: calc(10 * var(--u)); border: calc(3 * var(--u)) solid #37637b;
  font: 500 calc(15 * var(--u)) / 1.55 'Mitr', sans-serif; color: var(--ink); animation: glow 0.9s ease-in-out infinite alternate;
}
.badge[hidden] { display: none; }
.badge b { font: 800 calc(17 * var(--u)) 'Baloo 2', sans-serif; }
.badge.st { background: #23516b; }
.badge.sk { background: #17364b; }
@keyframes glow { to { box-shadow: 0 0 calc(12 * var(--u)) rgba(255, 232, 150, 0.9); transform: translateY(calc(-1 * var(--u))); } }

/* ---------- the monster aimed at (top centre) ---------- */
.tframe {
  position: absolute; left: 50%; top: calc(16 * var(--u)); transform: translateX(-50%); width: calc(430 * var(--u));
  padding: calc(8 * var(--u)) calc(14 * var(--u)) calc(10 * var(--u)); display: flex; flex-direction: column; gap: calc(6 * var(--u));
  border-radius: calc(16 * var(--u)); background: linear-gradient(#081b2b, #081b2b); border: calc(4 * var(--u)) solid #37637b;
  box-shadow: inset 0 0 0 calc(3 * var(--u)) #3c7d98, 0 calc(5 * var(--u)) 0 rgba(0, 0, 0, 0.25);
}
.tframe[hidden] { display: none; }
.trow { display: flex; align-items: center; gap: calc(8 * var(--u)); white-space: nowrap; }
.trow img { width: calc(30 * var(--u)); height: calc(30 * var(--u)); }
.tname { font: 600 calc(22 * var(--u)) 'Mitr', sans-serif; color: #e8f7ff; -webkit-text-stroke: calc(4 * var(--u)) #061421; paint-order: stroke fill; }
.tlv { font: 800 calc(19 * var(--u)) 'Baloo 2', sans-serif; color: #c8e1ee; }
.teff { margin-left: auto; padding: 0 calc(8 * var(--u)); border-radius: calc(8 * var(--u)); background: rgba(16, 12, 26, 0.5); font: 500 calc(15 * var(--u)) / 1.6 'Mitr', sans-serif; }
.gauge.thp { height: calc(20 * var(--u)); }
.gauge.thp i { background: linear-gradient(#f07c84 0 38%, #c8404c 38%); }
.gauge.thp b { font-size: calc(15 * var(--u)); }

/* ---------- minimap, day/night dial, zone (top right) ---------- */
.tr { position: absolute; right: calc(20 * var(--u)); top: calc(20 * var(--u)); width: calc(212 * var(--u)); }
.minimap {
  width: calc(212 * var(--u)); height: calc(212 * var(--u)); border-radius: calc(12 * var(--u)); overflow: hidden;
  border: calc(4 * var(--u)) solid #37637b; box-shadow: inset 0 0 0 calc(5 * var(--u)) #3c7d98; background: #081b2b; position: relative; z-index: 1;
}
.minimap canvas { display: block; width: 100%; height: 100%; }
.dial { position: relative; width: calc(196 * var(--u)); height: calc(112 * var(--u)); margin: calc(-4 * var(--u)) auto 0; }
.dial canvas { width: 100%; height: 100%; display: block; }
.time {
  position: absolute; left: 50%; top: calc(8 * var(--u)); transform: translateX(-50%); padding: 0 calc(12 * var(--u));
  background: #081b2b; border: calc(4 * var(--u)) solid #37637b; box-shadow: inset 0 0 0 calc(2 * var(--u)) #3c7d98;
  border-radius: calc(10 * var(--u)); font: 700 calc(26 * var(--u)) 'Baloo 2', sans-serif; white-space: nowrap; line-height: 1.5;
}
.zonelbl {
  margin-top: calc(-4 * var(--u)); text-align: center; font: 600 calc(19 * var(--u)) 'Mitr', sans-serif; color: #e8f7ff; white-space: nowrap;
  -webkit-text-stroke: calc(4 * var(--u)) #061421; paint-order: stroke fill;
}

/* ---------- messages (bottom left) ---------- */
.log { position: absolute; left: calc(16 * var(--u)); bottom: calc(24 * var(--u)); width: calc(470 * var(--u)); display: flex; flex-direction: column; gap: calc(3 * var(--u)); }
.log .ln {
  align-self: flex-start; max-width: 100%; padding: calc(1 * var(--u)) calc(10 * var(--u)); border-radius: calc(8 * var(--u));
  background: rgba(22, 18, 32, 0.62); color: #e8f7ff; font: 400 calc(16 * var(--u)) / 1.5 'Mitr', sans-serif;
  animation: lnfade 14s ease forwards;
}
.log .ln.exp { color: #c8e1ee; }
.log .ln.item { color: #c8e1ee; }
.log .ln.level { color: #c8e1ee; font-weight: 600; }
.log .ln.job { color: #c8e1ee; font-weight: 600; }
.log .ln.warn { color: #c8e1ee; }
@keyframes lnfade { 0%, 82% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- skills + items, and the EXP bars (bottom centre) ---------- */
.hotbar {
  position: absolute; left: 50%; bottom: calc(14 * var(--u)); transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: flex-end;
  gap: calc(10 * var(--u)); padding: calc(30 * var(--u)) calc(16 * var(--u)) calc(10 * var(--u)); width: max-content;
  border-radius: calc(18 * var(--u)); background: linear-gradient(rgba(61, 56, 72, 0.94), rgba(46, 42, 56, 0.94)); border: calc(4 * var(--u)) solid #37637b;
  box-shadow: inset 0 0 0 calc(3 * var(--u)) #a88a55, 0 calc(5 * var(--u)) 0 rgba(0, 0, 0, 0.25);
}
.hslot {
  position: relative; width: calc(76 * var(--u)); height: calc(76 * var(--u)); border-radius: calc(10 * var(--u));
  background: linear-gradient(#16445c, #16445c); border: calc(4 * var(--u)) solid #37637b; box-shadow: inset 0 0 0 calc(3 * var(--u)) #3c7d98;
}
.hslot.skill { background: linear-gradient(#16445c, #081b2b); box-shadow: inset 0 0 0 calc(3 * var(--u)) #a88a55; }
.hslot img { position: absolute; left: 9%; top: 9%; width: 82%; height: 82%; object-fit: contain; }
.hslot.empty { opacity: 0.55; }
.hslot.nosp img { opacity: 0.4; filter: grayscale(0.6); }
.key {
  position: absolute; left: 50%; top: calc(-27 * var(--u)); transform: translateX(-50%); min-width: calc(28 * var(--u));
  padding: 0 calc(6 * var(--u)); border-radius: calc(6 * var(--u)); background: #10283b; color: var(--ink);
  border: calc(3 * var(--u)) solid #37637b; font: 800 calc(16 * var(--u)) / 1.35 'Baloo 2', sans-serif; text-align: center;
}
.cd { position: absolute; inset: 0; border-radius: calc(6 * var(--u)); background: conic-gradient(rgba(10, 12, 28, 0.74) var(--p, 0%), transparent 0); }
.cdt, .count, .slv {
  position: absolute; font-weight: 800; color: #e8f7ff; -webkit-text-stroke: calc(4 * var(--u)) #061421; paint-order: stroke fill; font-family: 'Baloo 2', sans-serif;
}
.cdt { inset: 0; display: grid; place-items: center; font-size: calc(32 * var(--u)); }
.count { right: calc(4 * var(--u)); bottom: calc(-6 * var(--u)); font-size: calc(21 * var(--u)); }
.slv { left: calc(4 * var(--u)); top: calc(-1 * var(--u)); font-size: calc(14 * var(--u)); color: #e8f7ff; }
.spc {
  position: absolute; left: 50%; bottom: calc(-11 * var(--u)); transform: translateX(-50%); padding: 0 calc(6 * var(--u)); white-space: nowrap;
  border-radius: calc(6 * var(--u)); background: #185776; border: calc(2 * var(--u)) solid #37637b; color: #e8f7ff;
  font: 700 calc(12 * var(--u)) / 1.3 'Baloo 2', sans-serif;
}
.hslot.nosp .spc { background: #b8404a; }
.hsep { width: calc(4 * var(--u)); align-self: stretch; border-radius: calc(2 * var(--u)); background: #a88a55; margin: 0 calc(2 * var(--u)); }
.expbars { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: calc(10 * var(--u)); margin-top: calc(8 * var(--u)); }
.xbar { position: relative; height: calc(17 * var(--u)); border-radius: calc(8 * var(--u)); overflow: hidden; background: #081b2b; border: calc(3 * var(--u)) solid #37637b; }
.xbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; transition: width 0.3s; }
.xbar.base i { background: linear-gradient(90deg, #10283b, #23516b); }
.xbar.job i { background: linear-gradient(90deg, #10283b, #185776); }
.xbar span, .xbar b {
  position: absolute; top: 50%; transform: translateY(-50%); font: 800 calc(12 * var(--u)) 'Baloo 2', sans-serif; color: #e8f7ff;
  -webkit-text-stroke: calc(3 * var(--u)) #061421; paint-order: stroke fill;
}
.xbar span { left: calc(8 * var(--u)); }
.xbar b { right: calc(8 * var(--u)); }

/* ---------- menu buttons (bottom right) ---------- */
.menubar { position: absolute; right: calc(18 * var(--u)); bottom: calc(18 * var(--u)); display: flex; gap: calc(12 * var(--u)); }
.mbtn { position: relative; width: calc(58 * var(--u)); height: calc(58 * var(--u)); padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; }
.mbtn img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 calc(2 * var(--u)) 0 var(--ink)); }
.mbtn:hover img { transform: translateY(calc(-3 * var(--u))) scale(1.06); }
.mbtn b {
  position: absolute; right: calc(-8 * var(--u)); bottom: calc(-10 * var(--u)); font: 800 calc(20 * var(--u)) 'Baloo 2', sans-serif;
  color: #e8f7ff; -webkit-text-stroke: calc(4 * var(--u)) #061421; paint-order: stroke fill;
}

/* narrow screens (the hotbar, the log and the menu can't share the bottom row): the log and the menu go above the
   hotbar, the target frame under the hero's frame */
@media (max-aspect-ratio: 7/5) {
  .log { bottom: calc(168 * var(--u)); }
  .menubar { bottom: calc(172 * var(--u)); }
  .tframe { top: calc(156 * var(--u)); }
}

/* ---------- messages ---------- */
#zone, #toast {
  position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; opacity: 0; font-family: 'Mitr', sans-serif;
  -webkit-text-stroke: calc(6 * var(--u)) #061421; paint-order: stroke fill;
}
#zone { top: calc(150 * var(--u)); font-size: calc(46 * var(--u)); font-weight: 600; color: #e8f7ff; }
/* The toast answers what the player just pressed (a refusal's reason), so it is read over any open window: it stands
   outside #hud (index.html) on a layer of its own, over the windows (the K windows' .kw-panel 30, the check-in 41, the new
   look's #sq 45, the modals 60-70 and the notice cards' #ncnote 75) and under the screens that cover the whole game (the
   result scene's #rfx 80, the creator 90, the loading screen 100, the film 300). It takes no presses: a window's buttons
   under it stay pressable (a real play of 20 Nov 2026: the stall's refusal half under the daily check-in; tests/toast-layer-20261120.test.mjs) */
/* (a line wider than the screen wraps inside it, centred; one that fits stays one line: the story room's give-up line of 23 Nov 2026 ran off both sides of a phone, tests/toast-layer-20261120.test.mjs) */
#toast { position: fixed; z-index: 76; pointer-events: none; user-select: none; color: #e8f7ff; top: calc(220 * var(--u)); font-size: calc(30 * var(--u)); font-weight: 500;
  width: max-content; max-width: calc(100vw - 24px); white-space: normal; text-align: center; }
#zone.show { animation: zone 3.2s ease forwards; }
#toast.show { animation: zone 2.6s ease forwards; }
/* the line's states (js/hud.js toast's lv, 22 Nov 2026): white as it was, a warning yellow, a failure red */
#toast[data-lv="warn"] { color: #ffd95e; }
#toast[data-lv="bad"] { color: #ff7d86; }
@keyframes zone { 0% { opacity: 0; transform: translate(-50%, calc(10 * var(--u))); } 12%, 75% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }

/* ---------- panels ---------- */
.panel { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(12, 12, 28, 0.55); }
.panel[hidden] { display: none; }
/* never on screen, whatever opens it: #pause is only the controls' lines the ESC menu (js/menuwin.js) reads (the old
   dark windows are gone, the user, 2026-10-21: no more of the old dark look) */
#pause { display: none !important; }
.card {
  min-width: calc(640 * var(--u)); max-width: 92vw; padding: calc(26 * var(--u)) calc(34 * var(--u)); border-radius: calc(20 * var(--u));
  background: #081b2b; border: calc(5 * var(--u)) solid #37637b; box-shadow: inset 0 0 0 calc(4 * var(--u)) #a88a55, 0 calc(12 * var(--u)) 0 rgba(0, 0, 0, 0.3);
  color: #e8f7ff; font: 400 calc(22 * var(--u)) / 1.6 'Mitr', sans-serif;
}
.card.wide { width: min(92vw, calc(1500 * var(--u))); }
.ptitle { display: flex; justify-content: space-between; align-items: center; font: 800 calc(40 * var(--u)) 'Baloo 2', 'Mitr', sans-serif; color: #e8f7ff; margin-bottom: calc(12 * var(--u)); }
.ptitle button, .big {
  pointer-events: auto; cursor: pointer; border: calc(4 * var(--u)) solid #37637b; border-radius: calc(10 * var(--u));
  background: #10283b; color: var(--ink); font: 700 calc(22 * var(--u)) 'Mitr', sans-serif; padding: 0 calc(14 * var(--u));
}
.big { display: block; margin: calc(18 * var(--u)) auto 0; padding: calc(4 * var(--u)) calc(40 * var(--u)); font-size: calc(26 * var(--u)); background: #23516b; }
.keys { margin: 0; padding-left: calc(10 * var(--u)); list-style: none; }
kbd {
  display: inline-block; min-width: calc(34 * var(--u)); padding: 0 calc(8 * var(--u)); border-radius: calc(6 * var(--u)); text-align: center;
  background: #10283b; color: var(--ink); border: calc(3 * var(--u)) solid #37637b; font: 800 calc(18 * var(--u)) / 1.4 'Baloo 2', 'Mitr', sans-serif;
}
/* ---------- the menu buttons' red dot ---------- */
.mbtn .dot {
  position: absolute; right: calc(-2 * var(--u)); top: calc(-2 * var(--u)); width: calc(16 * var(--u)); height: calc(16 * var(--u));
  border-radius: 50%; background: #ff5a64; border: calc(3 * var(--u)) solid #37637b; animation: pulse 1s ease-in-out infinite alternate;
}
.mbtn .dot[hidden] { display: none; }
@keyframes pulse { to { transform: scale(1.25); } }
/* the old collection screen (#bag) is gone (the bag: css/inventory.css). These four stay only because
   scripts/lib/unity-export-skins.mjs still draws them into Unity's skins (Unity is paused, 2026-10-18). */
#doll {
  width: 100%; height: calc(260 * var(--u)); border-radius: calc(14 * var(--u)); border: calc(4 * var(--u)) solid #37637b;
  background: radial-gradient(ellipse at 50% 40%, #16445c, #081b2b 75%);
}
.eq-slot {
  display: grid; justify-items: center; gap: calc(2 * var(--u)); padding: calc(6 * var(--u)) calc(2 * var(--u)); cursor: pointer;
  border-radius: calc(12 * var(--u)); border: calc(4 * var(--u)) solid #37637b; background: linear-gradient(#16445c, #081b2b);
  box-shadow: inset 0 0 0 calc(3 * var(--u)) #a88a55; color: #e8f7ff; font: 500 calc(16 * var(--u)) / 1.2 'Mitr', sans-serif;
}
.eq-cell {
  position: relative; aspect-ratio: 1; padding: calc(6 * var(--u)); cursor: pointer; border-radius: calc(12 * var(--u));
  border: calc(4 * var(--u)) solid #37637b; background: linear-gradient(#16445c, #16445c);
  box-shadow: inset 0 0 0 calc(3 * var(--u)) var(--rc), inset 0 calc(-26 * var(--u)) calc(30 * var(--u)) calc(-20 * var(--u)) var(--rc);
}
.eq-info {
  min-height: calc(170 * var(--u)); padding: calc(10 * var(--u)) calc(16 * var(--u)); border-radius: calc(12 * var(--u));
  background: rgba(20, 18, 30, 0.45); border: calc(3 * var(--u)) solid #37637b; font-size: calc(19 * var(--u)); line-height: 1.5;
}

#loading { position: fixed; inset: 0; display: grid; place-items: center; background: #081b2b; color: #e8f7ff; font: 500 24px 'Mitr', sans-serif; }

.big.alt { background: #17364b; }

/* ---------- small words under a window's rows (the forge, auto farm, runes) ---------- */
.st-note { margin: calc(8 * var(--u)) 0 0; font: 400 calc(15 * var(--u)) / 1.5 'Mitr', sans-serif; color: #c8e1ee; }

/* ---------- the ultimate slot, buffs, the job change ---------- */
.hslot.ult { background: linear-gradient(#16445c, #081b2b); box-shadow: inset 0 0 0 calc(3 * var(--u)) #416e87, 0 0 calc(12 * var(--u)) rgba(255, 216, 115, 0.45); }
.hslot.ult .key { background: #23516b; }
.buffs { position: absolute; left: calc(548 * var(--u)); top: calc(26 * var(--u)); display: flex; flex-wrap: wrap; gap: calc(6 * var(--u)); max-width: calc(186 * var(--u)); } /* (right of the status frame: at 152, under it, the taller frame of the HUD redesign hid the icons; below it the party list sits) */
.buff {
  position: relative; width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: calc(8 * var(--u)); background: #081b2b;
  border: calc(3 * var(--u)) solid #37637b; box-shadow: inset 0 0 0 calc(2 * var(--u)) #a88a55;
}
.buff img { width: 100%; height: 100%; object-fit: contain; }
.buff b {
  position: absolute; right: calc(-4 * var(--u)); bottom: calc(-8 * var(--u)); font: 800 calc(15 * var(--u)) 'Baloo 2', sans-serif; color: #e8f7ff;
  -webkit-text-stroke: calc(3 * var(--u)) #061421; paint-order: stroke fill;
}
.buff.ending { animation: blink 0.35s steps(2) infinite; }
/* a buff the weapon in hand can't use (js/skillui.js): greyed, a red mark */
.buff.nowpn { cursor: pointer; box-shadow: inset 0 0 0 calc(2 * var(--u)) #c0503f; }
.buff.nowpn img { filter: grayscale(1) brightness(0.6); }
.buff.nowpn::after { content: '✕'; position: absolute; left: calc(-5 * var(--u)); top: calc(-8 * var(--u)); font: 800 calc(16 * var(--u)) 'Baloo 2', sans-serif;
  color: #ff6a5a; -webkit-text-stroke: calc(3 * var(--u)) #061421; paint-order: stroke fill; }
@keyframes blink { 50% { opacity: 0.35; } }
.jobs-h { font: 500 calc(17 * var(--u)) 'Mitr', sans-serif; color: #c8e1ee; margin: calc(2 * var(--u)) 0; }
.jobs { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(10 * var(--u)); margin-bottom: calc(8 * var(--u)); }
.job {
  display: flex; flex-direction: column; align-items: center; gap: calc(4 * var(--u)); padding: calc(8 * var(--u)); border-radius: calc(14 * var(--u));
  background: rgba(20, 18, 30, 0.5); border: calc(3 * var(--u)) solid #37637b; box-shadow: inset 0 0 0 calc(2 * var(--u)) #a88a55; text-align: center;
}
.job.locked { opacity: 0.75; }
.job canvas { width: calc(110 * var(--u)); height: calc(130 * var(--u)); }
.job-name { font: 600 calc(21 * var(--u)) 'Mitr', sans-serif; color: #e8f7ff; }
.job-desc { font: 400 calc(14 * var(--u)) / 1.4 'Mitr', sans-serif; color: #c8e1ee; min-height: 2.8em; }
.job-sk { display: flex; gap: calc(3 * var(--u)); }
.job-sk img { width: calc(34 * var(--u)); height: calc(34 * var(--u)); object-fit: contain; }
.big.job-go { margin: calc(4 * var(--u)) 0 0; padding: calc(2 * var(--u)) calc(12 * var(--u)); font-size: calc(17 * var(--u)); }
.big.job-go:disabled { opacity: 0.4; cursor: default; }
