/* ==========================================================================
   CrownRP Launcher — shared styles (v2 · "Kronika")
   A chronicle on an oak desk: vellum folios, rubricated ink, gilt,
   a leather spine with silk ribbon bookmarks, wax seals.
   ========================================================================== */

:root {
  /* Desk, iron, leather */
  --night: #0d0a07;
  --oak: #1b140e;
  --oak-2: #261c13;
  --leather: #2b1a11;
  --leather-2: #3a2417;
  --iron: #121010;

  /* Vellum */
  --vellum: #ecdfbf;
  --vellum-2: #e0cd9f;
  --vellum-edge: #c4a877;
  --ink: #2a1c10;        /* body ink on vellum  ~12:1 */
  --ink-2: #4f3b26;      /* secondary ink       ~7:1  */
  --ink-3: #7a6246;      /* faded ink, decoration only */

  /* Light text on dark */
  --parch: #e8dcc2;
  --parch-2: #bfae8c;

  /* Pigments */
  --rubric: #8e2a22;     /* vermilion rubric, danger */
  --rubric-hi: #d98272;  /* rubric on dark */
  --gilt: #c9a45c;
  --gilt-hi: #e4c783;
  --gilt-lo: #8c6a2f;
  --verdigris: #4c6a2c;  /* online on vellum */
  --moss-hi: #a6c476;    /* online on dark */

  /* Type */
  --f-black: "Grenze Gotisch", "UnifrakturMaguntia", Georgia, serif;
  --f-serif: "EB Garamond", Garamond, Georgia, serif;
  --f-body: "Alegreya", "EB Garamond", Georgia, serif;

  --t: 200ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

/* ---------- Window ---------- */
.win {
  position: relative;
  width: 1280px;
  height: 760px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 34px minmax(0, 1fr) 76px;
  background: var(--night);
  color: var(--parch);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Background art (placeholder) ---------- */
.art {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 22% 16% at 83% 30%, rgba(236, 200, 130, .26), transparent 70%),
    linear-gradient(180deg, #120e0b 0%, #2a2016 34%, #4d3b25 52%, #2b2118 66%, #0f0c09 100%);
}
.art-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.l-far { fill: #3a2e21; opacity: .7; }
.l-rock { fill: #1c1611; }
.l-mid { fill: #17120e; }
.l-forest { fill: #0e0b08; }
.l-mist { fill: #c2b08c; opacity: .12; }
.art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 90% at 80% 35%, transparent 35%, rgba(8, 6, 4, .88) 100%),
    linear-gradient(180deg, transparent 55%, rgba(8, 6, 4, .75) 100%);
}
.art-tag { position: absolute; z-index: 2; right: 18px; top: 46px; }
.grain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.grain.dark { z-index: 1; opacity: .07; mix-blend-mode: overlay; }

/* Placeholder tag */
.ph-tag {
  display: inline-block;
  padding: 1px 7px;
  font-family: var(--f-serif);
  font-size: 11px;
  font-style: italic;
  letter-spacing: .02em;
  color: var(--gilt-hi);
  background: rgba(10, 8, 6, .8);
  border: 1px dashed rgba(201, 164, 92, .7);
  white-space: nowrap;
  line-height: 1.5;
}

/* ---------- Title bar: an iron band ---------- */
.titlebar {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 16px;
  background: linear-gradient(180deg, #1a1612, #0c0a08);
  border-bottom: 1px solid #000;
  box-shadow: 0 1px 0 rgba(201, 164, 92, .22);
  -webkit-app-region: drag;
  user-select: none;
}
.tb-brand { display: flex; align-items: center; gap: 10px; }
.tb-name { font-family: var(--f-black); font-size: 19px; color: var(--gilt); line-height: 1; }
.tb-controls { display: flex; height: 100%; -webkit-app-region: no-drag; }
.tb-btn {
  width: 46px;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: var(--parch-2);
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.tb-btn:hover { background: #2a221a; color: var(--parch); }
.tb-btn.close:hover { background: var(--rubric); color: #fff4e6; }
.ico { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Shell ---------- */
.shell { position: relative; z-index: 3; display: grid; grid-template-columns: 196px minmax(0, 1fr); min-height: 0; }

/* Leather spine with ribbon bookmarks */
.spine {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: 26px 0 16px;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .08) 0 2px, transparent 2px 5px),
    linear-gradient(90deg, #22150d 0%, #3a2417 45%, #2c1b11 100%);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .7), inset -8px 0 18px rgba(0, 0, 0, .45), 6px 0 20px rgba(0, 0, 0, .5);
}
.spine::before, .spine::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(201, 164, 92, .28);
}
.spine::before { right: 14px; }
.spine::after { right: 18px; }
.spine-band { height: 1px; margin: 0 26px 0 20px; background: rgba(201, 164, 92, .3); box-shadow: 0 3px 0 rgba(201, 164, 92, .18); }
.chapters { display: flex; flex-direction: column; gap: 4px; margin: 18px 0; }
.chapter {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  height: 44px;
  padding: 0 20px;
  align-items: center;
  font-family: var(--f-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--parch-2);
  text-decoration: none;
  transition: color var(--t);
}
.chapter .num {
  width: 26px;
  font-variant: small-caps;
  font-size: 15px;
  letter-spacing: .06em;
  color: var(--gilt-lo);
  text-align: right;
}
.chapter:hover { color: var(--parch); }
.chapter:hover .num { color: var(--gilt); }
.chapter[aria-current="page"] {
  margin-right: 24px;
  color: #f7e9cc;
  background: linear-gradient(180deg, #9a3027, #7c231c);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 200, 180, .18), inset 0 -1px 0 rgba(0, 0, 0, .35);
}
.chapter[aria-current="page"] .num { color: var(--gilt-hi); }
.chap-badge {
  margin-left: 2px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 46% 54% 50% 50% / 54% 45% 55% 46%;
  background: radial-gradient(circle at 34% 28%, #c4503f, #8e2a22 55%, #521410);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .55), inset 0 1px 1px rgba(255, 220, 200, .3);
  color: #f7e9cc;
  font-family: var(--f-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.spine-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.spine-user { display: flex; align-items: center; gap: 10px; padding: 10px 26px 0 20px; }
.spine-user-name { font-family: var(--f-serif); font-size: 16px; color: var(--parch); line-height: 1.1; }
.spine-user-role { font-family: var(--f-serif); font-variant: small-caps; letter-spacing: .06em; font-size: 13px; color: var(--parch-2); }

/* ---------- Stage (right of spine) ---------- */
.stage { position: relative; display: grid; grid-template-columns: 604px minmax(0, 1fr); gap: 0; min-height: 0; }

/* ---------- The folio (vellum page) ---------- */
.folio {
  position: relative;
  margin: 18px 0 16px 0;
  padding: 30px 40px 26px 52px;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 60% at 45% 40%, #f1e6c9 0%, #e7d8b2 55%, #d6c092 88%, #c4a877 100%);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .65), 0 2px 0 rgba(0, 0, 0, .4), inset 0 0 70px rgba(110, 72, 26, .32);
  clip-path: polygon(0 .6%, 12% 0, 31% .5%, 52% .1%, 74% .6%, 100% 0, 99.6% 18%, 100% 41%, 99.5% 63%, 100% 84%, 99.7% 100%, 78% 99.5%, 55% 100%, 33% 99.4%, 11% 100%, .3% 99.6%, 0 79%, .4% 56%, 0 33%, .5% 14%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.folio > .grain { z-index: 0; opacity: .32; mix-blend-mode: multiply; }
.folio > *:not(.grain) { position: relative; z-index: 1; }
/* Ruling: the scribe's margin line */
.folio::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 34px;
  width: 1px;
  background: rgba(142, 42, 34, .35);
}

.rubric {
  margin: 0;
  font-family: var(--f-serif);
  font-size: 15px;
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: .09em;
  color: var(--rubric);
  line-height: 1.2;
}
.rubric::before { content: "¶ "; font-variant: normal; letter-spacing: 0; }

/* Flourish divider */
.flourish { display: flex; align-items: center; gap: 12px; color: var(--ink-3); }
.flourish::before, .flourish::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, currentColor 20%, currentColor 80%, transparent); opacity: .7; }
.flourish svg { width: 46px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; }

/* Illuminated initial */
.initial {
  float: left;
  width: 64px;
  height: 64px;
  margin: 4px 12px 0 0;
  display: grid;
  place-items: center;
  font-family: var(--f-black);
  font-size: 54px;
  line-height: 1;
  color: #f4e6c4;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .18), transparent 60%),
    #7d241d;
  border: 2px solid var(--gilt);
  outline: 1px solid var(--ink);
  outline-offset: 2px;
  box-shadow: inset 0 0 0 3px #7d241d, inset 0 0 0 4px rgba(228, 199, 131, .6);
}
.entry-name { font-family: var(--f-serif); font-size: 34px; font-weight: 600; line-height: 1.05; color: var(--ink); }
.entry-sub { font-style: italic; font-size: 16px; color: var(--ink-2); }

/* Miniature (arched portrait frame) */
.miniature {
  position: relative;
  flex: none;
  overflow: hidden;
  border-radius: 999px 999px 3px 3px;
  border: 2px solid var(--gilt-lo);
  outline: 1px solid rgba(42, 28, 16, .6);
  outline-offset: 3px;
  background:
    repeating-linear-gradient(135deg, rgba(42, 28, 16, .08) 0 5px, transparent 5px 10px),
    linear-gradient(180deg, #cdb88c, #b39a6c);
  display: grid;
  place-items: end center;
}
.miniature .bust { width: 76%; fill: rgba(42, 28, 16, .35); display: block; }
.miniature .ph-tag { position: absolute; left: 50%; top: 38%; transform: translateX(-50%); font-size: 10px; }
.miniature.dark { background: repeating-linear-gradient(135deg, rgba(201, 164, 92, .08) 0 5px, transparent 5px 10px), #221a12; border-color: var(--gilt-lo); outline-color: rgba(0, 0, 0, .6); }
.miniature.dark .bust { fill: #3c2f22; }

/* Ledger lines with dotted leaders */
.ledger-lines { display: flex; flex-direction: column; gap: 5px; margin: 0; padding: 0; list-style: none; font-size: 16px; }
.leader { display: flex; align-items: baseline; gap: 8px; }
.leader .lbl { color: var(--ink-2); }
.leader .dots { flex: 1; border-bottom: 1.5px dotted rgba(79, 59, 38, .5); transform: translateY(-4px); }
.leader .val { color: var(--ink); font-weight: 500; font-variant-numeric: lining-nums; }
.leader .val.ok { color: var(--verdigris); }
.leader .val.bad { color: var(--rubric); }

/* Ink link */
.ink-link {
  color: var(--rubric);
  font-style: italic;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(142, 42, 34, .4);
  transition: text-decoration-color var(--t);
}
.ink-link:hover { text-decoration-color: var(--rubric); }

/* Chronicle (news) */
.chronicle { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chron { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; }
.chron-date { font-family: var(--f-serif); font-size: 14px; font-variant: small-caps; letter-spacing: .04em; color: var(--rubric); line-height: 1.5; text-align: right; font-variant-numeric: lining-nums; }
.chron-title { font-family: var(--f-serif); font-size: 18px; font-weight: 600; line-height: 1.25; color: var(--ink); text-decoration: none; }
.chron-title:hover { text-decoration: underline; text-decoration-color: rgba(42, 28, 16, .4); text-underline-offset: 3px; }
.chron-text { margin: 1px 0 0; font-size: 15px; line-height: 1.4; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Wax seal ---------- */
.wax {
  --w: #6e5237; --w-hi: #9a7851; --w-lo: #3d2b1a;
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 46% 54% 50% 50% / 54% 45% 55% 46%;
  background: radial-gradient(circle at 34% 28%, var(--w-hi), var(--w) 50%, var(--w-lo) 100%);
  box-shadow: 1px 2px 4px rgba(0, 0, 0, .45), inset 0 -2px 4px rgba(0, 0, 0, .35), inset 0 1px 2px rgba(255, 240, 210, .25);
  color: rgba(255, 236, 205, .88);
  font-family: var(--f-black);
  font-size: 20px;
  line-height: 1;
}
.wax::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .28); box-shadow: 0 1px 0 rgba(255, 240, 210, .12); }
.wax span { position: relative; text-shadow: 0 -1px 0 rgba(0, 0, 0, .45); }
.wax.sm { width: 30px; height: 30px; font-size: 15px; }
.wax.sm::before { inset: 4px; }
.wax.support { --w: #4b6533; --w-hi: #789653; --w-lo: #273718; }
.wax.admin { --w: #8e2a22; --w-hi: #bf4c3f; --w-lo: #521410; }
.wax.owner { --w: #b48d3c; --w-hi: #ecd08e; --w-lo: #6c5020; color: rgba(60, 40, 10, .88); }
.wax.owner span { text-shadow: 0 1px 0 rgba(255, 240, 200, .5); }

/* ---------- Herald (right side, over the art) ---------- */
.herald {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 0 44px 34px 56px;
}
.herald-title { margin: 0; font-family: var(--f-black); font-size: 92px; font-weight: 400; line-height: .9; color: #f1e3c3; text-shadow: 0 2px 18px rgba(0, 0, 0, .8), 0 1px 0 rgba(0, 0, 0, .9); }
.herald-sub { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: 20px; color: var(--parch); text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.herald-row { display: flex; align-items: center; gap: 26px; }

/* The Play seal (hero) */
.play-seal {
  position: relative;
  width: 124px;
  height: 124px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 47% 53% 51% 49% / 53% 47% 53% 47%;
  background: radial-gradient(circle at 34% 28%, #f0d596 0%, #c9a24f 38%, #93702c 78%, #6a4e1c 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .7), 0 0 40px rgba(226, 190, 110, .22), inset 0 -4px 8px rgba(60, 38, 8, .55), inset 0 2px 4px rgba(255, 246, 220, .5);
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.play-seal::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 1.5px solid rgba(70, 46, 10, .45); box-shadow: 0 1px 0 rgba(255, 240, 200, .35), inset 0 1px 0 rgba(255, 240, 200, .25); }
.play-seal::after { content: ""; position: absolute; inset: 18px; border-radius: 50%; border: 1px dashed rgba(70, 46, 10, .35); }
.play-seal:hover { transform: translateY(-2px) rotate(-2deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .7), 0 0 56px rgba(226, 190, 110, .32), inset 0 -4px 8px rgba(60, 38, 8, .55), inset 0 2px 4px rgba(255, 246, 220, .5); }
.play-seal-label { position: relative; font-family: var(--f-black); font-size: 36px; line-height: 1; color: #3b2708; text-shadow: 0 1px 0 rgba(255, 240, 200, .55); }

.herald-facts { display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: var(--parch); text-shadow: 0 1px 6px rgba(0, 0, 0, .9); }
.alive { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-serif); font-size: 18px; }
.alive i { width: 9px; height: 9px; border-radius: 50%; background: var(--moss-hi); box-shadow: 0 0 0 3px rgba(166, 196, 118, .2); animation: breathe 2.6s ease-in-out infinite; }
.alive.down i { background: var(--rubric-hi); box-shadow: 0 0 0 3px rgba(217, 130, 114, .2); animation: none; }
.facts-muted { color: var(--parch-2); font-style: italic; }
.waymarks { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 12px; border-top: 1px solid rgba(201, 164, 92, .3); }
.waymarks a { font-family: var(--f-serif); font-variant: small-caps; letter-spacing: .06em; font-size: 16px; color: var(--gilt); text-decoration: none; transition: color var(--t); }
.waymarks a:hover { color: var(--gilt-hi); }

/* ---------- Play bar: an oak plank ---------- */
.playbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 34px;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #2e2116 0%, #21170f 100%);
  border-top: 1px solid #000;
  box-shadow: inset 0 1px 0 rgba(201, 164, 92, .25), 0 -8px 24px rgba(0, 0, 0, .5);
}
/* iron studs */
.playbar::before, .playbar::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 35% 30%, #8d857a, #3a3632 60%, #1a1816);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .7);
}
.playbar::before { left: 12px; }
.playbar::after { right: 12px; }
.pb-char { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pb-kicker { font-family: var(--f-serif); font-style: italic; font-size: 14px; color: var(--parch-2); line-height: 1.2; }
.pb-name { font-family: var(--f-serif); font-size: 22px; font-weight: 600; line-height: 1.15; color: var(--parch); white-space: nowrap; }
.pb-mid { display: flex; align-items: center; gap: 16px; font-family: var(--f-serif); font-size: 16px; color: var(--parch-2); white-space: nowrap; }
.pb-mid .alive { font-size: 16px; color: var(--parch); }
.pb-dot { width: 4px; height: 4px; background: var(--gilt-lo); transform: rotate(45deg); }
.pb-right { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }

/* Gilded plaque button */
.plaque {
  position: relative;
  height: 50px;
  min-width: 190px;
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #5a3f14;
  background: linear-gradient(180deg, #d5b26a, #b8913f);
  color: #2e1f08;
  font-family: var(--f-black);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
  box-shadow: inset 0 0 0 3px rgba(255, 238, 190, .0);
  transition: filter var(--t);
}
.plaque::before { content: ""; position: absolute; inset: 4px 12px; border-top: 1px solid rgba(70, 46, 10, .45); border-bottom: 1px solid rgba(70, 46, 10, .45); }
.plaque:hover { filter: brightness(1.08); }
.plaque:focus-visible { outline: 2px solid var(--gilt-hi); outline-offset: 3px; }

/* ---------- Two-page spread (inner screens) ---------- */
.stage.full { grid-template-columns: minmax(0, 1fr); }
.spread {
  position: relative;
  margin: 18px 26px 16px 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 0;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, .6));
}
.spread .folio { margin: 0; box-shadow: inset 0 0 60px rgba(110, 72, 26, .28); }
.spread .page-l {
  clip-path: polygon(0 .6%, 18% 0, 43% .5%, 68% .1%, 100% .4%, 100% 99.6%, 72% 99.4%, 44% 100%, 16% 99.4%, .3% 99.7%, 0 76%, .5% 51%, 0 26%);
  background:
    linear-gradient(90deg, transparent 82%, rgba(96, 62, 22, .38) 100%),
    radial-gradient(ellipse 80% 70% at 45% 40%, #f1e6c9 0%, #e7d8b2 55%, #d6c092 90%, #c4a877 100%);
}
.spread .page-r {
  padding-left: 46px;
  clip-path: polygon(0 .4%, 30% 0, 57% .6%, 82% .1%, 100% .6%, 99.5% 25%, 100% 50%, 99.6% 75%, 100% 99.6%, 84% 99.4%, 56% 100%, 28% 99.5%, 0 99.6%);
  background:
    linear-gradient(270deg, transparent 84%, rgba(96, 62, 22, .4) 100%),
    radial-gradient(ellipse 80% 70% at 55% 40%, #f1e6c9 0%, #e7d8b2 55%, #d6c092 90%, #c4a877 100%);
}
.spread .page-r::before { display: none; }
.spread::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-1px);
  background: rgba(60, 38, 14, .45);
  pointer-events: none;
}
.page-h { margin: 0; font-family: var(--f-black); font-size: 46px; font-weight: 400; line-height: .95; color: var(--ink); }
.page-lede { margin: 4px 0 0; font-style: italic; font-size: 16px; color: var(--ink-2); text-wrap: pretty; }

/* ---------- Character slots as ledger entries ---------- */
.slot-e {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 108px;
  padding: 12px 14px;
  border: 1px solid rgba(79, 59, 38, .28);
  background: rgba(255, 250, 235, .22);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background var(--t), border-color var(--t);
}
.slot-e:hover { background: rgba(255, 250, 235, .45); border-color: rgba(79, 59, 38, .45); }
.slot-e.selected { background: rgba(255, 249, 232, .55); border-color: rgba(142, 42, 34, .55); box-shadow: inset 0 0 0 1px rgba(142, 42, 34, .15); }
.slot-e.selected::after {
  content: "";
  position: absolute;
  right: 16px;
  top: -1px;
  width: 14px;
  height: 36px;
  background: linear-gradient(180deg, #9a3027, #7c231c);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
}
.slot-e.free { border-style: dashed; cursor: default; background: transparent; }
.slot-e.locked { cursor: default; background: repeating-linear-gradient(135deg, rgba(79, 59, 38, .07) 0 6px, transparent 6px 12px); }
.slot-e.free:hover, .slot-e.locked:hover { border-color: rgba(79, 59, 38, .28); }
.slot-num { display: grid; place-items: center; height: 80px; font-family: var(--f-black); font-size: 40px; color: rgba(142, 42, 34, .55); }
.slot-name { font-family: var(--f-serif); font-size: 23px; font-weight: 600; line-height: 1.1; }
.slot-meta { font-size: 15px; color: var(--ink-2); }
.slot-note { font-style: italic; font-size: 15px; color: var(--ink-2); }
.slot-kicker { font-family: var(--f-serif); font-variant: small-caps; letter-spacing: .08em; font-size: 13px; color: var(--rubric); }

/* ---------- Ink controls (on vellum) ---------- */
.ink-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(42, 28, 16, .55);
  background: rgba(255, 250, 235, .35);
  color: var(--ink);
  font-family: var(--f-serif);
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(42, 28, 16, .16);
  transition: background var(--t), transform var(--t);
}
.ink-btn:hover { background: rgba(255, 250, 235, .7); }
.ink-btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 rgba(42, 28, 16, .16); }
.ink-btn:focus-visible { outline: 2px solid var(--rubric); outline-offset: 2px; }
.ink-btn.sm { height: 32px; padding: 0 12px; font-size: 15px; }
.ink-btn.icon { width: 32px; height: 32px; padding: 0; }
.ink-btn.red { color: var(--rubric); border-color: rgba(142, 42, 34, .6); }
.ink-btn .ico { width: 15px; height: 15px; }
.ink-input {
  height: 38px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1.5px solid rgba(42, 28, 16, .5);
  background: transparent;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  min-width: 0;
}
.ink-input:focus { outline: none; border-bottom-color: var(--rubric); }
.path-ink { font-family: var(--f-serif); font-style: italic; font-size: 15px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.choice { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ink); cursor: pointer; }
.choice input { appearance: none; margin: 0; width: 18px; height: 18px; border: 1.5px solid rgba(42, 28, 16, .6); border-radius: 50%; display: grid; place-items: center; background: transparent; }
.choice input:checked::after, .choice input.on::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rubric); }
.choice input[type="checkbox"] { border-radius: 2px; }
.choice input[type="checkbox"]:checked, .choice input[type="checkbox"].on { background: var(--rubric); border-color: var(--rubric); }
.choice input[type="checkbox"]:checked::after, .choice input[type="checkbox"].on::after { width: 5px; height: 9px; border-radius: 0; background: none; border: solid #f4e6c4; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.lang { display: flex; gap: 18px; }
.lang button { padding: 4px 0; border: 0; background: none; font-family: var(--f-serif); font-size: 18px; color: var(--ink-2); cursor: pointer; border-bottom: 2px solid transparent; }
.lang button[aria-pressed="true"] { color: var(--rubric); font-weight: 600; border-bottom-color: var(--rubric); }
.set-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; padding: 14px 0; border-bottom: 1px dotted rgba(79, 59, 38, .4); }
.set-row:last-child { border-bottom: 0; }
.set-lbl { font-family: var(--f-serif); font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.3; padding-top: 6px; }
.set-hint { font-size: 14px; font-style: italic; color: var(--ink-2); }
.tick { color: var(--verdigris); font-style: italic; }

/* ---------- Sanctions register ---------- */
.register { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.reg { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px dotted rgba(79, 59, 38, .4); }
.reg:last-child { border-bottom: 0; }
.reg-date { font-family: var(--f-serif); font-variant: small-caps; font-size: 14px; color: var(--rubric); text-align: right; line-height: 1.6; font-variant-numeric: lining-nums; }
.reg-type { font-family: var(--f-serif); font-size: 18px; font-weight: 600; color: var(--ink); }
.reg-text { margin: 2px 0 0; font-size: 15.5px; color: var(--ink-2); }
.reg-meta { margin-top: 4px; font-size: 14px; font-style: italic; color: var(--ink-2); }
.stamp { display: inline-block; margin-left: 8px; padding: 0 7px; border: 1.5px solid var(--rubric); color: var(--rubric); font-family: var(--f-serif); font-variant: small-caps; letter-spacing: .08em; font-size: 13px; line-height: 1.5; transform: rotate(-3deg); }
.stamp.faded { border-color: rgba(79, 59, 38, .5); color: var(--ink-2); }

/* ---------- Scrollbar: an ink-ruled margin with a leather strap ---------- */
.ink-scroll { scrollbar-width: thin; scrollbar-color: #7c5a36 rgba(79, 59, 38, .12); }
.ink-scroll::-webkit-scrollbar { width: 12px; }
.ink-scroll::-webkit-scrollbar-track {
  background: linear-gradient(90deg, transparent 5px, rgba(142, 42, 34, .35) 5px, rgba(142, 42, 34, .35) 6px, transparent 6px);
}
.ink-scroll::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 6px;
  background-clip: padding-box;
  background-color: #7c5a36;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(255, 230, 190, .18) 50%, rgba(0, 0, 0, .25));
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .55);
}
.ink-scroll::-webkit-scrollbar-thumb:hover { background-color: #8e2a22; }
.ink-scroll::-webkit-scrollbar-button { display: none; }

/* ---------- In-game chat (HUD) ---------- */
.chat {
  --c-do: #93b0d6;
  --c-me: #c3a4e6;
  --c-try: #e2b86c;
  --c-ooc: #b7a98c;
  --c-staff: #e38c7c;
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--parch);
  font-family: var(--f-body);
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .10) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, rgba(30, 22, 15, .90), rgba(16, 12, 8, .94));
  border: 1px solid rgba(201, 164, 92, .45);
  outline: 1px solid rgba(201, 164, 92, .15);
  outline-offset: -6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
}
/* corner rivets */
.chat::before, .chat::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #a39a8c, #3a3632 60%, #1a1816);
}
.chat::before { left: 8px; }
.chat::after { right: 8px; }
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 22px 10px;
  border-bottom: 1px solid rgba(201, 164, 92, .28);
}
.chat-title { font-family: var(--f-black); font-size: 24px; line-height: 1; color: #f1e3c3; }
.chat-tabs { display: flex; gap: 14px; }
.chat-tabs button {
  padding: 2px 0;
  border: 0;
  border-bottom: 1.5px solid transparent;
  background: none;
  font-family: var(--f-serif);
  font-variant: small-caps;
  letter-spacing: .06em;
  font-size: 15px;
  color: var(--parch-2);
  cursor: pointer;
}
.chat-tabs button[aria-pressed="true"] { color: var(--gilt-hi); border-bottom-color: var(--gilt); }
.chat-log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 18px 12px 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 15.5px;
  line-height: 1.4;
}
.chat-log.ink-scroll { scrollbar-color: #7c5a36 rgba(0, 0, 0, .2); }
.msg { display: grid; grid-template-columns: 40px auto minmax(0, 1fr); gap: 8px; align-items: baseline; }
.msg-time { font-family: var(--f-serif); font-size: 12.5px; color: rgba(191, 174, 140, .7); font-variant-numeric: tabular-nums lining-nums; }
.msg-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-serif);
  font-variant: small-caps;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
}
.msg-tag::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: currentColor; }
.msg-body { color: var(--parch); overflow-wrap: anywhere; }
.msg-body b { font-weight: 600; }
.msg.sys { grid-template-columns: 40px minmax(0, 1fr); }
.msg.sys .msg-body { color: var(--parch-2); font-style: italic; }
.msg.do .msg-tag { color: var(--c-do); }
.msg.do .msg-body { color: #cfdcef; }
.msg.me .msg-tag { color: var(--c-me); }
.msg.me .msg-body { color: #e2d3f3; font-style: italic; }
.msg.try .msg-tag { color: var(--c-try); }
.msg.try .msg-body { font-style: italic; }
.msg.ooc .msg-tag { color: var(--c-ooc); }
.msg.ooc .msg-body { color: var(--parch-2); }
.msg.staff .msg-tag { color: var(--c-staff); }
.msg.staff .msg-body { color: #f0cfc7; }
.msg.whisper .msg-body { color: var(--parch-2); font-style: italic; }
.verdict {
  display: inline-block;
  margin-left: 6px;
  padding: 0 6px;
  border: 1.5px solid;
  font-family: var(--f-serif);
  font-variant: small-caps;
  font-style: normal;
  font-size: 13px;
  letter-spacing: .06em;
  line-height: 1.35;
  transform: rotate(-2deg);
}
.verdict.win { color: var(--moss-hi); border-color: rgba(166, 196, 118, .7); }
.verdict.lose { color: var(--rubric-hi); border-color: rgba(217, 130, 114, .7); }
.cmd { font-family: var(--f-serif); font-style: italic; color: var(--gilt-hi); }
.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 14px;
  padding: 0 12px;
  height: 44px;
  border-top: 1px solid rgba(201, 164, 92, .3);
  border-bottom: 1px solid rgba(201, 164, 92, .3);
  background: rgba(0, 0, 0, .28);
}
.chat-input .prompt { font-family: var(--f-black); font-size: 20px; color: var(--gilt); line-height: 1; }
.chat-input input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--parch);
  font-family: var(--f-body);
  font-size: 16px;
}
.chat-input input::placeholder { color: rgba(191, 174, 140, .7); font-style: italic; }
.chat-input input:focus { outline: none; }
.chat-channel { font-family: var(--f-serif); font-variant: small-caps; letter-spacing: .06em; font-size: 14px; color: var(--c-do, #93b0d6); white-space: nowrap; }
.chat-keys { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 22px 12px; font-family: var(--f-serif); font-size: 13px; color: rgba(191, 174, 140, .8); }
.chat-keys kbd { font-family: var(--f-serif); font-size: 12px; padding: 0 5px; margin-right: 4px; border: 1px solid rgba(201, 164, 92, .4); border-bottom-width: 2px; color: var(--parch); background: rgba(0, 0, 0, .25); }
.suggest {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 96px;
  padding: 6px 0;
  background: linear-gradient(180deg, #2d2117, #1c150e);
  border: 1px solid rgba(201, 164, 92, .45);
  box-shadow: 0 -10px 24px rgba(0, 0, 0, .5);
}
.suggest-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 5px 14px; font-size: 14.5px; color: var(--parch-2); }
.suggest-row.on { background: rgba(201, 164, 92, .14); color: var(--parch); }
.suggest-row .cmd { font-style: normal; }

/* ---------- Changelog ---------- */
.cl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.cl-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(79, 59, 38, .28);
  background: rgba(255, 250, 235, .25);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), transform var(--t) var(--ease);
}
.cl-card:hover { background: rgba(255, 250, 235, .55); border-color: rgba(142, 42, 34, .45); transform: translateY(-1px); }
.cl-card.new { border-color: rgba(142, 42, 34, .5); }
.cl-thumb {
  position: relative;
  height: 110px;
  border: 1.5px solid var(--gilt-lo);
  outline: 1px solid rgba(42, 28, 16, .5);
  outline-offset: 2px;
  background:
    repeating-linear-gradient(135deg, rgba(42, 28, 16, .1) 0 5px, transparent 5px 10px),
    linear-gradient(160deg, #cdb88c, #9e8558);
  display: grid;
  place-items: center;
}
.cl-thumb .ph-tag { font-size: 10px; }
.cl-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cl-meta { display: flex; align-items: baseline; gap: 10px; font-family: var(--f-serif); font-variant: small-caps; letter-spacing: .06em; font-size: 14px; color: var(--rubric); font-variant-numeric: lining-nums; }
.cl-ver { font-family: var(--f-black); font-variant: normal; letter-spacing: 0; font-size: 18px; }
.cl-title { font-family: var(--f-serif); font-size: 20px; font-weight: 600; line-height: 1.15; color: var(--ink); }
.cl-desc { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-author { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-style: italic; color: var(--ink-2); }
.cl-author b { font-style: normal; font-weight: 600; color: var(--ink); }
.cl-more { margin-top: auto; font-style: italic; font-size: 14.5px; color: var(--rubric); }
.cl-new { font-family: var(--f-serif); font-variant: small-caps; font-size: 12.5px; letter-spacing: .08em; padding: 0 6px; border: 1.5px solid var(--rubric); color: var(--rubric); transform: rotate(-3deg); }
.scrim { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; background: rgba(8, 6, 4, .72); backdrop-filter: blur(2px); }
.cl-modal { position: relative; width: 780px; height: 620px; margin: 0; padding: 0; gap: 0; }
.cl-hero { position: relative; height: 170px; flex: none; border-bottom: 2px solid var(--gilt-lo); background: repeating-linear-gradient(135deg, rgba(42, 28, 16, .1) 0 6px, transparent 6px 12px), linear-gradient(160deg, #b9a275, #7e6843); display: grid; place-items: center; }
.cl-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(42, 28, 16, .6);
  background: rgba(241, 230, 201, .9);
  color: var(--ink);
  font-family: var(--f-serif);
  font-size: 15px;
  cursor: pointer;
}
.cl-close:hover { background: #f4ead0; }
.cl-content { flex: 1; min-height: 0; overflow-y: auto; padding: 22px 34px 26px 52px; display: flex; flex-direction: column; gap: 14px; }
.cl-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.cl-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 6px; }
.cl-list li::before { content: ""; width: 6px; height: 6px; margin-top: 9px; transform: rotate(45deg); background: var(--rubric); }

/* ---------- Launching steps ---------- */
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.step { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 16.5px; color: var(--ink); }
.step small { display: block; font-size: 14px; font-style: italic; color: var(--ink-2); }
.step.wait { color: rgba(79, 59, 38, .75); }
.step-mark { width: 22px; height: 22px; display: grid; place-items: center; justify-self: center; }
.step.done .step-mark { border-radius: 50%; background: var(--verdigris); color: #f4e6c4; }
.step.done .step-mark .ico { width: 13px; height: 13px; stroke-width: 2.4; }
.step.now .step-mark::before { content: ""; width: 12px; height: 12px; background: var(--gilt); border: 1px solid var(--gilt-lo); animation: turn 1.6s linear infinite; }
.step.now { font-weight: 600; }
.step.wait .step-mark::before { content: ""; width: 10px; height: 10px; border: 1.5px solid rgba(79, 59, 38, .5); transform: rotate(45deg); }
.quill-bar { position: relative; height: 8px; border: 1px solid rgba(79, 59, 38, .5); background: rgba(79, 59, 38, .08); overflow: hidden; }
.quill-bar > i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--gilt-lo), var(--gilt)); }
.quill-bar > i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 244, 214, .6), transparent); animation: sheen 1.8s ease-in-out infinite; }
@keyframes turn { from { transform: rotate(45deg); } to { transform: rotate(405deg); } }
@keyframes sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- Web portal ---------- */
.web { width: 100vw; height: 100vh; min-width: 360px; grid-template-rows: minmax(0, 1fr); }
.web .shell { grid-template-columns: clamp(200px, 13vw, 250px) minmax(0, 1fr); }
.web-brand { padding: 0 20px 18px; display: flex; flex-direction: column; gap: 2px; }
.web-brand b { font-family: var(--f-black); font-weight: 400; font-size: 34px; line-height: 1; color: var(--gilt); }
.web-brand span { font-family: var(--f-serif); font-style: italic; font-size: 13px; color: var(--parch-2); }
.spine-cta { margin: 0 26px 0 20px; }
.web-dl {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid #5a3f14;
  background: linear-gradient(180deg, #d5b26a, #b8913f);
  color: #2e1f08;
  font-family: var(--f-serif);
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(42, 28, 16, .25), inset 0 1px 0 rgba(255, 246, 220, .5);
}
.web-dl:hover { filter: brightness(1.07); color: #2e1f08; }
.join { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.join li { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid rgba(79, 59, 38, .3); background: rgba(255, 250, 235, .25); }
.join .n { font-family: var(--f-black); font-size: 34px; line-height: 1; color: var(--rubric); }
.join b { font-family: var(--f-serif); font-size: 18px; color: var(--ink); }
.join span { font-size: 14.5px; color: var(--ink-2); }
.dark-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 26px 20px;
  background: linear-gradient(180deg, rgba(20, 15, 10, .88), rgba(12, 9, 6, .92));
  border: 1px solid rgba(201, 164, 92, .38);
  outline: 1px solid rgba(201, 164, 92, .16);
  outline-offset: -6px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .6);
  color: var(--parch);
}
.dark-panel h2 { margin: 0; font-family: var(--f-black); font-weight: 400; font-size: 32px; line-height: 1; color: #f1e3c3; }
.dark-rule { height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 164, 92, .45) 15%, rgba(201, 164, 92, .45) 85%, transparent); }

/* Admin */
.admin-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tally > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1px solid rgba(79, 59, 38, .3); background: rgba(255, 250, 235, .3); }
.tally b { font-family: var(--f-serif); font-size: 34px; font-weight: 600; line-height: 1.05; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.tally span { font-family: var(--f-serif); font-variant: small-caps; letter-spacing: .06em; font-size: 14px; color: var(--ink-2); }
.tally .hot b { color: var(--rubric); }
.ledger-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ledger-table th { padding: 0 10px 8px; text-align: left; font-family: var(--f-serif); font-variant: small-caps; letter-spacing: .08em; font-size: 14px; font-weight: 600; color: var(--rubric); border-bottom: 1.5px solid rgba(79, 59, 38, .5); }
.ledger-table td { padding: 10px; border-bottom: 1px dotted rgba(79, 59, 38, .4); color: var(--ink); vertical-align: middle; }
.ledger-table td.dim { color: var(--ink-2); font-style: italic; }
.ledger-table tr:hover td { background: rgba(255, 250, 235, .35); }
.row-actions { display: flex; gap: 8px; justify-content: flex-end; }
.stamp.ok { border-color: var(--verdigris); color: var(--verdigris); }
.stamp.draft { border-color: rgba(79, 59, 38, .6); color: var(--ink-2); border-style: dashed; }
.fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fld > label { font-family: var(--f-serif); font-variant: small-caps; letter-spacing: .06em; font-size: 14.5px; color: var(--rubric); }
.fld input, .fld textarea, .fld select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(42, 28, 16, .45);
  background: rgba(255, 251, 240, .55);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15.5px;
  box-shadow: inset 1px 1px 0 rgba(42, 28, 16, .08);
}
.fld textarea { resize: vertical; line-height: 1.5; }
.fld input:focus, .fld textarea:focus { outline: 2px solid rgba(142, 42, 34, .5); outline-offset: 0; }
.fld .hint { font-size: 13px; font-style: italic; color: var(--ink-2); }
.drop { display: grid; place-items: center; gap: 4px; height: 96px; border: 1.5px dashed rgba(79, 59, 38, .5); background: repeating-linear-gradient(135deg, rgba(42, 28, 16, .05) 0 6px, transparent 6px 12px); font-size: 14px; font-style: italic; color: var(--ink-2); text-align: center; }

/* Novinky: štítky */
.cl-tag { display: inline-block; font-family: var(--f-serif); font-variant: small-caps; font-size: 12.5px; letter-spacing: .08em; line-height: 1.45; padding: 0 7px; border-radius: 2px; color: #f4e6c4; background: #6b5236; font-variant-numeric: normal; }
.cl-tag.chg { background: #6b5236; }
.cl-tag.ann { background: var(--verdigris); }
.cl-tag.out { background: transparent; color: var(--ink-2); border: 1px dashed rgba(79, 59, 38, .5); }

/* Oznámení — lišta pod titulkem launcheru */
.announce { position: relative; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 16px; background: linear-gradient(180deg, #8e2a22, #6e1f19); color: #f4e6c4; box-shadow: inset 0 1px 0 rgba(255, 220, 190, .18), inset 0 -1px 0 rgba(0, 0, 0, .4), 0 4px 12px rgba(0, 0, 0, .35); font-family: var(--f-serif); font-size: 15px; }
.announce .an-ico { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #f4e6c4; color: #6e1f19; font-weight: 700; font-size: 14px; }
.announce .an-kind { font-variant: small-caps; letter-spacing: .08em; font-size: 13.5px; opacity: .85; }
.announce .an-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce .an-until { font-style: italic; font-size: 13.5px; opacity: .8; white-space: nowrap; }
.announce .an-x { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border: 0; background: none; color: inherit; opacity: .75; cursor: pointer; }
.announce.info { background: linear-gradient(180deg, #5a4630, #43331f); }

/* Víceúrovňové číslování pravidel: 1. / 1.1 / 1.1.1 / 1.1.1.1 */
.rl { display: grid; grid-template-columns: var(--nw, 34px) minmax(0, 1fr); gap: 8px; margin: 0; }
.rl .n { color: var(--rubric); font-family: var(--f-serif); font-weight: 600; font-variant-numeric: lining-nums; }
.rl.l3 { --nw: 46px; margin-left: 30px; padding-left: 12px; border-left: 1.5px solid rgba(142, 42, 34, .28); font-size: .95em; }
.rl.l4 { --nw: 58px; margin-left: 72px; padding-left: 12px; border-left: 1.5px dotted rgba(142, 42, 34, .3); font-size: .9em; color: var(--ink-2); }
.rl.l3 .n { font-weight: 500; }
.rl.l4 .n { font-weight: 400; color: rgba(142, 42, 34, .8); }

/* Copyright */
.copy { font-family: var(--f-serif); font-size: 12px; letter-spacing: .03em; color: var(--parch-2); opacity: .6; white-space: nowrap; }

/* Notifikace */
.bell { position: relative; margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(201,164,92,.35); border-radius: 50%; background: rgba(0,0,0,.25); color: var(--gilt-hi); cursor: pointer; text-decoration: none; flex: none; }
.bell:hover, .bell[aria-expanded="true"] { background: rgba(201,164,92,.18); border-color: var(--gilt); }
.bell svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bell.tb { width: 30px; height: 26px; border-radius: 3px; margin: 0 10px 0 auto; align-self: center; }
.bell.tb svg { width: 16px; height: 16px; }
.bell-badge { position: absolute; top: -5px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #bf4c3f, #8e2a22 60%, #521410); color: #f4e6c4; font-family: var(--f-serif); font-size: 11.5px; font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.5); }
.ntf { position: absolute; z-index: 40; width: 420px; max-height: 560px; display: flex; flex-direction: column; background: #efe3c6; border: 1px solid rgba(79,59,38,.55); box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.ntf.side { left: 206px; bottom: 26px; }
.ntf.top { right: 12px; top: 40px; max-height: 520px; }
.ntf-head { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 18px 10px; border-bottom: 1.5px solid rgba(79,59,38,.4); }
.ntf-list { overflow-y: auto; }
.ntf-item { position: relative; display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; padding: 12px 18px 12px 16px; border-bottom: 1px dotted rgba(79,59,38,.4); color: var(--ink); font-size: 14.5px; line-height: 1.4; }
.ntf-item.unread { background: rgba(142,42,34,.07); box-shadow: inset 3px 0 0 var(--rubric); }
.ntf-item.unread .ntf-t { font-weight: 700; }
.ntf-item .dot { position: absolute; right: 16px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--rubric); }
.ntf-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #f4e6c4; font-family: var(--f-serif); font-size: 15px; }
.ntf-t { font-family: var(--f-serif); font-size: 15.5px; padding-right: 16px; }
.ntf-m { font-size: 12.5px; color: var(--ink-2); font-style: italic; margin-top: 2px; }


/* Launcher — střídající se pozadí (artworky) */
.bgshow { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.bgshow i { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; opacity: 0; }
/* design: statický snímek; rotace a animace popsány v poznámce na plátně */
.bgshow i:first-child { opacity: 1; }
.bgshow + .art-svg { display: none; }
.bgshow i:nth-child(1) { background-image: url("./bg/01.webp"); background-position: 40.5% 50%; }
.bgshow.right i:nth-child(1) { background-position: 18.9% 50%; }
.bgshow i:nth-child(2) { background-image: url("./bg/02.webp"); background-position: 31.0% 50%; }
.bgshow.right i:nth-child(2) { background-position: 9.4% 50%; }
.bgshow i:nth-child(3) { background-image: url("./bg/03.webp"); background-position: 59.5% 50%; }
.bgshow.right i:nth-child(3) { background-position: 37.9% 50%; }
.bgshow i:nth-child(4) { background-image: url("./bg/04.webp"); background-position: 97.5% 50%; }
.bgshow.right i:nth-child(4) { background-position: 75.9% 50%; }
.bgshow i:nth-child(5) { background-image: url("./bg/05.webp"); background-position: 69.0% 50%; }
.bgshow.right i:nth-child(5) { background-position: 47.4% 50%; }
.bgshow i:nth-child(6) { background-image: url("./bg/06.webp"); background-position: 40.5% 50%; }
.bgshow.right i:nth-child(6) { background-position: 18.9% 50%; }
.bgshow i:nth-child(7) { background-image: url("./bg/07.webp"); background-position: 65.2% 50%; }
.bgshow.right i:nth-child(7) { background-position: 43.6% 50%; }
.bgshow i:nth-child(8) { background-image: url("./bg/08.webp"); background-position: 34.8% 50%; }
.bgshow.right i:nth-child(8) { background-position: 13.2% 50%; }
.bgshow i:nth-child(9) { background-image: url("./bg/10.webp"); background-position: 59.5% 50%; }
.bgshow.right i:nth-child(9) { background-position: 37.9% 50%; }
.bgshow i:nth-child(10) { background-image: url("./bg/11.webp"); background-position: 53.8% 50%; }
.bgshow.right i:nth-child(10) { background-position: 32.2% 50%; }
.bgshow i:nth-child(11) { background-image: url("./bg/12.webp"); background-position: 72.8% 50%; }
.bgshow.right i:nth-child(11) { background-position: 51.2% 50%; }
.bgshow i:nth-child(12) { background-image: url("./bg/13.webp"); background-position: 15.8% 50%; }
.bgshow.right i:nth-child(12) { background-position: 0.0% 50%; }
.bgshow i:nth-child(13) { background-image: url("./bg/14.webp"); background-position: 59.5% 50%; }
.bgshow.right i:nth-child(13) { background-position: 37.9% 50%; }
.bgshow i:nth-child(14) { background-image: url("./bg/15.webp"); background-position: 61.4% 50%; }
.bgshow.right i:nth-child(14) { background-position: 39.8% 50%; }
.bgshow i:nth-child(15) { background-image: url("./bg/16.webp"); background-position: 91.8% 50%; }
.bgshow.right i:nth-child(15) { background-position: 70.2% 50%; }

@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

@keyframes pulse { 0%,100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1); } }

/* ==========================================================================
   Public web (veřejná část) + responsivita webu
   Výchozí náhled 1920 × 1080; zlomy 1500 / 1100 / 820 px
   ========================================================================== */
.pub .art { filter: saturate(.85) brightness(.62); }
.spine-status { display: flex; flex-direction: column; gap: 2px; padding: 0 22px 0 20px; font-family: var(--f-serif); font-size: 14px; color: var(--parch-2); }
.spine-status .alive { font-size: 15px; color: var(--parch); }
.spine-legal { display: flex; flex-wrap: wrap; gap: 2px 12px; padding: 4px 22px 0 20px; font-family: var(--f-serif); font-size: 13px; }
.spine-legal a { color: var(--parch-2); text-decoration: none; }
.spine-legal a:hover, .spine-legal a[aria-current="page"] { color: var(--gilt-hi); }
.burger { display: none; width: 42px; height: 42px; margin-left: auto; place-items: center; border: 1px solid var(--gilt-lo); background: rgba(201, 164, 92, .1); color: var(--gilt-hi); cursor: pointer; }
.burger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.btn-discord { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border: 1px solid rgba(42, 28, 16, .55); background: rgba(255, 250, 235, .45); color: var(--ink); font-family: var(--f-serif); font-size: 18px; font-weight: 600; text-decoration: none; box-shadow: 3px 3px 0 rgba(42, 28, 16, .18); }
.btn-discord:hover { background: rgba(255, 250, 235, .75); color: var(--ink); }
.btn-discord svg, .web-dl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.pub-folio { margin: 18px 28px 16px 10px; padding: 40px 56px 30px 76px; gap: 22px; }
.pub-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pub-head .page-h { font-size: 64px; margin-top: 6px; }
.lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink); max-width: 64ch; text-wrap: pretty; }
.muted { color: var(--ink-2); }

/* Domů */
.home-stage { display: grid; grid-template-columns: minmax(0, 1fr) clamp(380px, 27vw, 520px); gap: 0; min-height: 0; }
.home-stage > .side { display: flex; flex-direction: column; gap: 18px; margin: 18px 30px 16px 30px; min-height: 0; }
.hero-h { margin: 8px 0 0; font-family: var(--f-black); font-size: clamp(64px, 7vw, 132px); font-weight: 400; line-height: .86; color: var(--ink); }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.feat { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feat li { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid rgba(79, 59, 38, .3); background: rgba(255, 250, 235, .25); }
.feat svg { width: 30px; height: 30px; fill: none; stroke: var(--rubric); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feat b { font-family: var(--f-serif); font-size: 19px; color: var(--ink); }
.feat span { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.shot-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.shot-strip i { display: block; height: 120px; border: 2px solid var(--gilt-lo); background-size: cover; background-position: center; box-shadow: 0 6px 14px rgba(42, 28, 16, .3); }
.news-mini { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.news-mini li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
.news-mini .m { font-family: var(--f-serif); font-variant: small-caps; letter-spacing: .06em; font-size: 14px; color: var(--gilt); }
.news-mini .t { font-family: var(--f-serif); font-size: 18px; font-weight: 600; color: #f1e3c3; line-height: 1.2; }
.news-mini .cl-thumb { height: 56px; outline: none; border-width: 1px; }
.dark-panel .ledger-lines li { color: var(--parch); }
.dark-panel .ledger-lines .dots { border-bottom-color: rgba(191, 174, 140, .3); }
.dark-panel .lbl { color: var(--parch-2); }
.dc-invite { display: flex; align-items: center; gap: 14px; }
.dc-invite .ico-dc { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #3c3f8f; color: #fff; }
.dc-invite .ico-dc svg { width: 30px; height: 30px; fill: currentColor; }
.gold-link { font-family: var(--f-serif); font-style: italic; font-size: 15px; color: var(--gilt); }

/* Novinky */
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid rgba(79, 59, 38, .4); background: rgba(255, 250, 235, .35); font-family: var(--f-serif); font-size: 15.5px; color: var(--ink); text-decoration: none; }
.chip[aria-pressed="true"] { background: var(--rubric); border-color: var(--rubric); color: #f7e9cc; }
.chip i { font-style: normal; font-size: 13px; opacity: .7; }
.news-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 20px 22px; flex: 1; min-height: 0; }
.news-grid .cl-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 12px; }
.news-grid .cl-card .cl-thumb { height: 130px; }
.news-grid .cl-card.big { grid-row: span 2; }
.news-grid .cl-card.big { grid-template-rows: minmax(0, 1fr) auto; }
.news-grid .cl-card.big .cl-thumb { height: 100%; min-height: 280px; }
.news-grid .cl-card.big .cl-title { font-size: 30px; }
.news-grid .cl-card.big .cl-desc { -webkit-line-clamp: 4; font-size: 16px; }
.pager { display: flex; align-items: center; gap: 6px; }
.pager a { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid rgba(79, 59, 38, .35); font-family: var(--f-serif); font-size: 16px; color: var(--ink); text-decoration: none; background: rgba(255, 250, 235, .3); }
.pager a[aria-current="page"] { background: var(--rubric); color: #f7e9cc; border-color: var(--rubric); }

/* Dokumenty: pravidla, podmínky, soukromí */
.doc-grid { display: grid; grid-template-columns: 280px minmax(0, 880px) minmax(0, 1fr); gap: 44px; flex: 1; min-height: 0; }
.toc { display: flex; flex-direction: column; gap: 2px; min-height: 0; }
.toc a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px; padding: 7px 10px; border-left: 2px solid rgba(79, 59, 38, .2); font-family: var(--f-serif); font-size: 16.5px; line-height: 1.25; color: var(--ink); text-decoration: none; }
.toc a .n { color: var(--rubric); font-weight: 600; }
.toc a:hover { background: rgba(255, 250, 235, .45); }
.toc a[aria-current="true"] { border-left-color: var(--rubric); background: rgba(142, 42, 34, .08); color: var(--rubric); font-weight: 600; }
.doc-body { min-height: 0; overflow-y: auto; padding-right: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 16.5px; line-height: 1.6; }
.doc-body h2 { margin: 22px 0 2px; font-family: var(--f-black); font-weight: 400; font-size: 34px; line-height: 1; color: var(--ink); display: flex; gap: 14px; align-items: baseline; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h2 .n { font-family: var(--f-serif); font-size: 24px; font-weight: 600; color: var(--rubric); }
.doc-body h3 { margin: 10px 0 0; font-family: var(--f-serif); font-size: 19px; font-weight: 600; color: var(--ink); }
.doc-body p { margin: 0; max-width: 78ch; }
.doc-body ul.dot { margin: 0; padding-left: 22px; }
.doc-body ul.dot li { margin: 2px 0; }
.doc-body .rl { max-width: 80ch; }
.doc-body .cat { display: flex; flex-direction: column; gap: 2px; }
.doc-body .cat b { font-family: var(--f-serif); font-weight: 600; font-size: 17.5px; color: var(--ink); }
.doc-body .cat i { color: var(--ink-2); font-size: 15px; }
.doc-aside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.info-box { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border: 1px solid rgba(79, 59, 38, .3); background: rgba(255, 250, 235, .3); font-size: 15px; line-height: 1.5; }
.info-box.blue { border-left: 3px solid #3f5a78; background: rgba(63, 90, 120, .07); }
.info-box.red { border-left: 3px solid var(--rubric); background: rgba(142, 42, 34, .06); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th { text-align: left; font-family: var(--f-serif); font-variant: small-caps; letter-spacing: .06em; font-size: 14px; color: var(--rubric); font-weight: 600; padding: 6px 10px; border-bottom: 1.5px solid rgba(79, 59, 38, .45); }
.data-table td { padding: 8px 10px; border-bottom: 1px dotted rgba(79, 59, 38, .4); vertical-align: top; }

/* Stáhnout, Jak začít, Kontakt */
.cols-2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; flex: 1; min-height: 0; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dl-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 30px; align-items: center; padding: 26px 30px; border: 1px solid rgba(142, 42, 34, .45); background: rgba(255, 250, 235, .35); box-shadow: inset 0 0 40px rgba(110, 72, 26, .15); }
.pub-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0; counter-reset: s; }
.pub-steps li { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; padding: 12px 0; }
.pub-steps li::before { counter-increment: s; content: counter(s, upper-roman); display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--rubric); border-radius: 50%; font-family: var(--f-serif); font-weight: 600; font-size: 17px; color: var(--rubric); background: rgba(255, 250, 235, .5); }
.pub-steps li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 58px; bottom: -10px; border-left: 1.5px dotted rgba(142, 42, 34, .45); }
.pub-steps li > div > b { display: block; font-family: var(--f-serif); font-size: 19px; color: var(--ink); }
.pub-steps span { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.pub-steps li.done::before { content: "✓"; background: var(--verdigris); border-color: var(--verdigris); color: #f3ead2; }
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px dotted rgba(79, 59, 38, .45); padding: 10px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; gap: 10px; font-family: var(--f-serif); font-size: 17.5px; font-weight: 600; color: var(--ink); }
.faq summary::before { content: "+"; width: 16px; color: var(--rubric); font-weight: 700; }
.faq details[open] summary::before { content: "–"; }
.faq p { margin: 6px 0 2px 26px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.team .mem { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(79, 59, 38, .3); background: rgba(255, 250, 235, .25); }
.team .mem b { display: block; font-family: var(--f-serif); font-size: 17px; }
.team .mem span { font-size: 13.5px; font-style: italic; color: var(--ink-2); }
.contact-card { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border: 1px solid rgba(79, 59, 38, .32); background: rgba(255, 250, 235, .3); }
.contact-card.main { border-color: rgba(142, 42, 34, .5); background: rgba(255, 250, 235, .45); }
.contact-card h3 { margin: 0; font-family: var(--f-serif); font-size: 22px; font-weight: 600; color: var(--ink); }
.contact-card .val { font-family: var(--f-serif); font-size: 18px; color: var(--rubric); }
.contact-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.av { width: 40px; height: 40px; flex: none; border-radius: 50%; background: #221a12; border: 1.5px solid var(--gilt-lo); display: grid; place-items: center; overflow: hidden; }
.av svg { width: 80%; margin-top: 8px; fill: #3c2f22; }

.m-foot { display: none; }
.spine-legal { flex-direction: column; }

/* ---------- Zlomy ---------- */
@media (max-width: 1500px) {
  .doc-grid { grid-template-columns: 240px minmax(0, 1fr); }
  .doc-aside { display: none; }
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .web .shell { grid-template-columns: 180px minmax(0, 1fr); }
  .web-brand b { font-size: 28px; }
  .chapter { font-size: 17px; padding: 0 14px; }
  .home-stage { grid-template-columns: minmax(0, 1fr); }
  .home-stage > .side { display: none; }
  .cols-2 { grid-template-columns: minmax(0, 1fr); }
  .pub-folio, .web .folio { padding: 30px 30px 24px 50px !important; }
}
@media (max-width: 820px) {
  .web { height: auto; min-height: 100vh; overflow: visible; }
  .web .art { position: fixed; }
  .web .shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  .web .spine { position: sticky; top: 0; flex-direction: row; align-items: center; padding: 10px 14px; }
  .web .spine::before, .web .spine::after { display: none; }
  .web .spine > :not(.web-brand):not(.burger) { display: none; }
  .web-brand { flex-direction: row; align-items: center; gap: 10px; padding: 0; }
  .web-brand img { width: 40px !important; margin: 0 !important; }
  .web-brand span { display: none; }
  .web-brand b { font-size: 26px; }
  .burger { display: grid; }
  .web .stage, .home-stage { display: block; }
  .web .folio { margin: 10px 8px 14px !important; padding: 26px 18px 24px 30px !important; overflow: visible; }
  .home-stage > .side { display: flex; margin: 0 8px 16px; }
  .hero-h { font-size: 68px; }
  .pub-head .page-h { font-size: 46px; }
  .web .folio::before { left: 16px; }
  .pub-head .fld { width: 100% !important; }
  .feat, .join, .cols-3, .team, .news-grid, .shot-strip { grid-template-columns: minmax(0, 1fr); }
  .news-grid .cl-card.big { grid-row: auto; }
  .news-grid .cl-card.big .cl-thumb { min-height: 160px; }
  .doc-grid { display: block; }
  .toc { display: none; }
  .doc-body { overflow: visible; padding-right: 0; }
  .dl-hero { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .cta-row > * { flex: 1 1 100%; justify-content: center; }
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .feat li { padding: 12px; }
  .feat span { font-size: 13.5px; }
  .shot-strip { display: none; }
  .m-foot { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 26px; background: linear-gradient(180deg, #2c1b11, #1b120c); border-top: 1px solid var(--gilt-lo); }
  .m-foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .m-foot a { font-family: var(--f-serif); font-size: 15px; color: var(--parch-2); text-decoration: none; }
}
.pgrp { break-inside: avoid; padding-bottom: 10px; }
.about-roles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.about-roles li { padding: 12px 14px; }
.about-roles b { font-size: 17px; }
.about-roles span { font-size: 14px; font-style: italic; }
@media (max-width: 1100px) { .about-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Odznak role u autora (novinky, oznámení) */
.cl-author .rank { flex: none; margin: -2px -2px 0 0; }
.news-mini .m .rank, .cl-meta .rank { vertical-align: -2px; margin-right: 3px; }
.rk-role { font-style: italic; color: var(--ink-2); font-size: .95em; }
svg.rank title { pointer-events: none; }
.faq-ranks { margin: 8px 0 4px 26px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.faq-ranks li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; align-items: center; }
.faq-ranks .rank { grid-row: span 2; }
.faq-ranks b { font-family: var(--f-serif); font-size: 15.5px; color: var(--ink); line-height: 1.1; }
.faq-ranks span { font-size: 13.5px; font-style: italic; color: var(--ink-2); line-height: 1.2; }

/* ---------- Whitelist: procedurální přihláška ---------- */
.wl-steps { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.wl-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 0 6px; }
.wl-steps li::before { content: ""; position: absolute; top: 19px; left: -50%; right: 50%; height: 2px; background: rgba(79, 59, 38, .25); z-index: 0; }
.wl-steps li:first-child::before { display: none; }
.wl-steps li.done::before, .wl-steps li.cur::before, .wl-steps li.fix::before, .wl-steps li.fail::before { background: var(--verdigris); }
.wl-dot { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(79, 59, 38, .35); background: #efe3c6; font-family: var(--f-serif); font-weight: 700; font-size: 17px; color: var(--ink-3); }
.wl-steps b { font-family: var(--f-serif); font-size: 16px; color: var(--ink-2); line-height: 1.15; }
.wl-steps small { font-size: 13px; font-style: italic; color: var(--ink-3); }
.wl-steps .done .wl-dot { background: var(--verdigris); border-color: var(--verdigris); color: #f3ead2; }
.wl-steps .done b { color: var(--ink); }
.wl-steps .cur .wl-dot { border-color: var(--rubric); color: var(--rubric); box-shadow: 0 0 0 5px rgba(142, 42, 34, .15); animation: pulse 1.8s ease-in-out infinite; }
.wl-steps .cur b { color: var(--rubric); }
.wl-steps .fix .wl-dot { background: #b0773a; border-color: #b0773a; color: #fff6e6; }
.wl-steps .fix b { color: #8a5a22; }
.wl-steps .fail .wl-dot { background: var(--rubric); border-color: var(--rubric); color: #f7e9cc; }
.wl-steps .fail b { color: var(--rubric); }
.wl-steps .skip .wl-dot { border-style: dashed; }
.wl-card { display: flex; flex-direction: column; gap: 12px; padding: 22px 26px; border: 1.5px solid rgba(79, 59, 38, .35); background: rgba(255, 250, 235, .45); }
.wl-card.ok { border-color: rgba(76, 106, 44, .6); background: rgba(76, 106, 44, .07); }
.wl-card.warn { border-color: rgba(176, 119, 58, .7); background: rgba(176, 119, 58, .09); }
.wl-card.bad { border-color: rgba(142, 42, 34, .55); background: rgba(142, 42, 34, .06); }
.wl-card h2.big { margin: 0; font-family: var(--f-black); font-weight: 400; font-size: 40px; line-height: .98; color: var(--ink); }
.wl-card.ok h2.big { color: var(--verdigris); }
.wl-card.bad h2.big { color: var(--rubric); }
.wl-card.warn h2.big { color: #8a5a22; }
.wl-note { padding: 10px 14px; border-left: 3px solid currentColor; background: rgba(255, 250, 235, .5); font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.wl-answers { display: flex; flex-direction: column; gap: 10px; }
.wl-answers dt { font-family: var(--f-serif); font-variant: small-caps; letter-spacing: .06em; font-size: 14px; color: var(--rubric); }
.wl-answers dd { margin: 0 0 4px; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.chk { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
/* Skeleton načítání (launcher) */
.skel { display: block; border-radius: 2px; background: linear-gradient(90deg, rgba(79, 59, 38, .10) 0%, rgba(79, 59, 38, .22) 40%, rgba(79, 59, 38, .10) 80%); background-size: 250% 100%; animation: shimmer 1.5s linear infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -150% 0; } }
.cl-card.skel-card { cursor: default; pointer-events: none; }

/* ---------- Discord logo (slot: ./discord-logo.svg = oficiální logo z brand kitu) ---------- */
.dc-logo { display: inline-block; flex: none; width: 21px; height: 16px; fill: currentColor; stroke: none; }
.web-dl .dc-logo, .btn-discord .dc-logo { width: 22px; height: 17px; }
.spine-cta { display: flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 10px; border: 1px solid var(--gilt-lo); background: rgba(201, 164, 92, .1); color: var(--gilt-hi); font-family: var(--f-serif); font-size: 16px; text-decoration: none; white-space: nowrap; }
.spine-cta:hover { background: rgba(201, 164, 92, .18); color: var(--gilt-hi); }
.spine-cta .dc-logo { width: 19px; height: 14px; }
.dc-invite .ico-dc { background: #5865F2; border-radius: 14px; }
.dc-invite .ico-dc .dc-logo { width: 30px; height: 23px; color: #fff; }
@media (max-width: 1500px) { .spine-cta { font-size: 14.5px; gap: 8px; } }
@media (max-width: 1100px) { .spine-cta { font-size: 13.5px; gap: 7px; } .spine-cta .dc-logo { width: 17px; height: 13px; } }

/* Přihlášený uživatel ve spine (web) */
.spine-user.pub { padding: 4px 22px 0 20px; }
.spine-user.pub .av { flex: none; border: 1.5px solid var(--gilt-lo); }
.spine-user-links { font-family: var(--f-serif); font-variant: small-caps; letter-spacing: .06em; font-size: 13px; color: var(--parch-2); white-space: nowrap; }
.spine-user-links a { color: var(--parch-2); text-decoration: none; }
.spine-user-links a:hover { color: var(--gilt-hi); }

/* Dlouhá stránka v nižším okně: folio se skroluje, okrajová čára jde po celé výšce */
.pub-folio { overflow-y: auto; scrollbar-width: thin; scrollbar-color: #7c5a36 transparent;
  background: linear-gradient(90deg, transparent 34px, rgba(142, 42, 34, .35) 34px, rgba(142, 42, 34, .35) 35px, transparent 35px) local,
              radial-gradient(ellipse 70% 60% at 45% 40%, #f1e6c9 0%, #e7d8b2 55%, #d6c092 88%, #c4a877 100%) local; }
.pub-folio::before { display: none; }
.pub-folio > * { flex-shrink: 0; }
.pub-folio > .doc-grid { min-height: 520px; }
.pub-folio > .news-grid { min-height: 640px; }
.pub-folio > .cols-2 { min-height: 0; }
.home-stage > .side { overflow-y: auto; scrollbar-width: thin; scrollbar-color: #7c5a36 transparent; padding-right: 4px; }
.home-stage > .side > * { flex-shrink: 0; }
.home-stage > .side > .dark-panel[style*="flex: 1"] { flex: 1 0 auto !important; }

/* Mobil: otevřené menu */
.m-menu { display: none; }
@media (max-width: 820px) {
  .home-stage .feat { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .web.menu-open .m-menu { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 62px; z-index: 5; padding: 8px 0 18px; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .08) 0 2px, transparent 2px 5px), linear-gradient(90deg, #22150d 0%, #3a2417 45%, #2c1b11 100%); border-bottom: 2px solid var(--gilt-lo); box-shadow: 0 14px 28px rgba(0, 0, 0, .55); }
  .web.menu-open .m-menu .chapters { margin: 4px 0; }
  .web.menu-open .m-menu .spine-cta, .web.menu-open .m-menu .spine-user { margin: 0 22px 0 20px; }
  .web .spine { top: 0; z-index: 6; }
}
.web-dl svg.dc-logo, .btn-discord svg.dc-logo, .spine-cta svg.dc-logo { fill: currentColor; stroke: none; }
.sys-logo { width: 18px; height: auto; flex: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.35)); }

/* ==========================================================================
   IN-GAME UI (overlay nad hrou) — sdílí tokeny s launcherem a webem
   ========================================================================== */
.igx { position: relative; width: 1920px; height: 1080px; overflow: hidden; background: #0d0a07; font-family: var(--f-body); color: var(--parch); }
.igx-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.igx-bg.blur { filter: blur(4px) saturate(.6) brightness(.5); transform: scale(1.03); }
.igx-dim { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(8,6,4,.25), rgba(8,6,4,.8)); }
.igx > .igx-layer { position: absolute; inset: 0; z-index: 3; }

/* Panel = kožená hlavička + pergamen */
.igp { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.igp-head { display: flex; align-items: center; gap: 16px; padding: 16px 26px 14px 30px; background: repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 2px, transparent 2px 5px), linear-gradient(180deg, #3a2417, #22150d); border-bottom: 2px solid var(--gilt-lo); box-shadow: inset 0 1px 0 rgba(255,220,170,.12); }
.igp-head img { width: 44px; height: auto; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }
.igp-title { font-family: var(--f-black); font-weight: 400; font-size: 40px; line-height: 1; color: var(--gilt-hi); margin: 0; }
.igp-sub { font-family: var(--f-serif); font-style: italic; font-size: 14.5px; color: var(--parch-2); }
.igp-body { position: relative; margin: 0 !important; padding: 26px 34px 24px 52px !important; gap: 16px; clip-path: none !important; }
.igp-foot { display: flex; align-items: center; gap: 18px; padding: 12px 26px; background: linear-gradient(180deg, #22150d, #170e08); border-top: 1px solid var(--gilt-lo); font-family: var(--f-serif); font-size: 14px; color: var(--parch-2); }
.igp-foot .sp { flex: 1; }

/* Záložky (stuha) */
.ig-tabs { display: flex; gap: 4px; }
.ig-tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid transparent; background: none; font-family: var(--f-serif); font-size: 17px; color: var(--parch-2); cursor: pointer; }
.ig-tab:hover { color: var(--parch); }
.ig-tab[aria-selected="true"] { color: #f4e6c4; background: linear-gradient(180deg, #8e2a22, #6e1f19); border-color: rgba(0,0,0,.4); box-shadow: inset 0 1px 0 rgba(255,210,180,.2); }

/* Klávesa */
.kc { display: inline-grid; place-items: center; min-width: 30px; height: 28px; padding: 0 8px; border: 1px solid rgba(79,59,38,.55); border-bottom-width: 3px; border-radius: 3px; background: linear-gradient(180deg, #f6ecd4, #e2d0a6); font-family: var(--f-serif); font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; }
.kc.dark { background: rgba(0,0,0,.35); border-color: rgba(201,164,92,.55); color: var(--gilt-hi); }
.kc.wait { border-style: dashed; color: var(--rubric); background: rgba(142,42,34,.08); animation: pulse 1.4s ease-in-out infinite; }

/* Přepínač (mosazný) */
.sw { position: relative; display: inline-block; flex: none; width: 52px; height: 26px; border-radius: 13px; border: 1.5px solid rgba(79,59,38,.6); background: rgba(79,59,38,.18); box-shadow: inset 0 1px 3px rgba(0,0,0,.25); }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6dc, #b9954c 70%); border: 1px solid #6c5020; box-shadow: 0 1px 2px rgba(0,0,0,.4); }
.sw.on { background: linear-gradient(180deg, #9a3027, #7c231c); border-color: #521410; }
.sw.on::after { left: 27px; }

/* Posuvník */
.sl { position: relative; flex: 1; height: 6px; border-radius: 3px; background: rgba(79,59,38,.25); box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
.sl > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: linear-gradient(90deg, #7c231c, #a8342a); }
.sl > b { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6dc, #b9954c 70%); border: 1px solid #6c5020; box-shadow: 0 2px 3px rgba(0,0,0,.35); }
.slv { width: 58px; text-align: right; font-family: var(--f-serif); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; color: var(--ink); }

/* Výběr ‹ hodnota › */
.cyc { display: inline-flex; align-items: center; gap: 0; border: 1px solid rgba(79,59,38,.45); background: rgba(255,250,235,.45); }
.cyc button { width: 32px; height: 32px; border: 0; background: none; font-family: var(--f-serif); font-size: 18px; color: var(--rubric); cursor: pointer; }
.cyc span { min-width: 150px; text-align: center; font-family: var(--f-serif); font-size: 16px; color: var(--ink); }

/* Řádek nastavení */
.igs { display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 28px; padding: 12px 0; border-bottom: 1px dotted rgba(79,59,38,.4); }
.igs b { display: block; font-family: var(--f-serif); font-size: 18px; font-weight: 600; color: var(--ink); }
.igs small { display: block; font-size: 14px; font-style: italic; color: var(--ink-2); }
.igs .ctl { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.igs.hl { background: rgba(142,42,34,.07); box-shadow: inset 3px 0 0 var(--rubric); padding-left: 12px; margin-left: -12px; }

/* Toast / notifikace ve hře */
.igt { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; width: 420px; padding: 12px 16px 12px 12px; background: linear-gradient(180deg, rgba(20,15,10,.94), rgba(12,9,6,.94)); border: 1px solid rgba(201,164,92,.45); outline: 1px solid rgba(201,164,92,.15); outline-offset: -5px; box-shadow: 0 12px 30px rgba(0,0,0,.55); }
.igt b { display: block; font-family: var(--f-serif); font-size: 16.5px; color: #f1e3c3; }
.igt span { font-size: 14px; color: var(--parch-2); }
.igt .wax { width: 40px; height: 40px; font-size: 18px; }

/* Manuál */
.man { position: relative; width: 1920px; height: 1880px; overflow: hidden; background: radial-gradient(ellipse at 30% 10%, #2a2018, #0d0a07 70%); color: var(--parch); font-family: var(--f-body); }
.man-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; }
.man h3 { margin: 0 0 10px; font-family: var(--f-serif); font-variant: small-caps; letter-spacing: .1em; font-size: 16px; font-weight: 600; color: var(--gilt); }
.man .card { background: rgba(255,255,255,.03); border: 1px solid rgba(201,164,92,.25); padding: 20px 22px; }
.sw-chip { display: flex; flex-direction: column; gap: 6px; font-family: var(--f-serif); font-size: 13.5px; color: var(--parch-2); }
.sw-chip i { display: block; height: 64px; border: 1px solid rgba(255,255,255,.12); }
.sw-chip b { color: var(--parch); font-size: 15px; }
.spec { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--gilt-hi); }
.man .do, .man .dont { padding: 10px 14px; font-size: 15px; line-height: 1.5; }
.man .do { border-left: 3px solid #6f8f3a; background: rgba(111,143,58,.08); }
.man .dont { border-left: 3px solid var(--rubric-hi); background: rgba(217,130,114,.07); }

/* ===== in-game: select (popup) ===== */
.dd { position: relative; display: inline-block; }
.dd > button { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 300px; height: 40px; padding: 0 14px; border: 1px solid rgba(79,59,38,.5); background: rgba(255,250,235,.55); font-family: var(--f-serif); font-size: 16.5px; color: var(--ink); cursor: pointer; box-shadow: inset 0 1px 2px rgba(42,28,16,.12); text-align: left; }
.dd > button::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--rubric); border-bottom: 2px solid var(--rubric); transform: translateY(-3px) rotate(45deg); }
.dd > button:hover { border-color: var(--gilt-lo); background: rgba(255,250,235,.8); }
.dd.open > button { border-color: var(--rubric); background: #fbf3de; }
.dd.open > button::after { transform: translateY(2px) rotate(-135deg); }
.dd-pop { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 6px 0; list-style: none; background: #f4ead0; border: 1px solid var(--gilt-lo); box-shadow: 0 14px 30px rgba(20,12,6,.45), inset 0 0 0 1px rgba(255,250,235,.6); }
.dd-pop.up { top: auto; bottom: calc(100% + 4px); }
.dd-pop li { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 34px; font-family: var(--f-serif); font-size: 16px; color: var(--ink); position: relative; }
.dd-pop li small { margin-left: auto; font-family: var(--f-body); font-style: italic; font-size: 13px; color: var(--ink-2); }
.dd-pop li.hover { background: rgba(201,164,92,.25); }
.dd-pop li[aria-selected="true"] { color: var(--rubric); font-weight: 600; }
.dd-pop li[aria-selected="true"]::before { content: ""; position: absolute; left: 13px; top: 50%; width: 5px; height: 10px; border-right: 2px solid var(--rubric); border-bottom: 2px solid var(--rubric); transform: translateY(-65%) rotate(45deg); }
.dd-pop .sep { height: 1px; padding: 0; margin: 5px 12px; background: rgba(79,59,38,.3); }

/* ===== in-game: builder ===== */
.bld-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.bld { display: flex; flex-direction: column; gap: 0; padding: 0; border: 1px solid rgba(79,59,38,.4); background: rgba(255,250,235,.5); cursor: pointer; text-align: left; font: inherit; color: var(--ink); box-shadow: 0 2px 5px rgba(42,28,16,.15); position: relative; }
.bld:hover { border-color: var(--gilt-lo); background: rgba(255,250,235,.85); }
.bld-img { position: relative; aspect-ratio: 4 / 3; background-size: cover; background-position: center; border-bottom: 2px solid var(--gilt-lo); filter: sepia(.25) saturate(.85); }
.bld-name { padding: 10px 12px 12px; font-family: var(--f-serif); font-size: 17.5px; font-weight: 600; line-height: 1.15; }
.bld-cost { padding: 0 12px 10px; font-size: 13.5px; font-style: italic; color: var(--ink-2); }
.bld[aria-pressed="true"] { border-color: var(--rubric); background: #fbf3de; box-shadow: 0 0 0 2px var(--rubric), 0 8px 18px rgba(42,28,16,.3); }
.bld[aria-pressed="true"] .bld-name { color: var(--rubric); }
.bld[aria-pressed="true"]::after { content: "vybráno"; position: absolute; top: 8px; right: 8px; padding: 2px 8px; font-family: var(--f-serif); font-size: 12.5px; font-variant: small-caps; letter-spacing: .06em; color: #f7e9cc; background: linear-gradient(180deg, #9a3027, #7c231c); }
.bld.locked { cursor: not-allowed; }
.bld.locked .bld-img { filter: grayscale(1) brightness(.55); }
.bld.locked .bld-img::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 36px; transform: translate(-50%,-50%); background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28' fill='none' stroke='%23e8dcc2' stroke-width='2'%3E%3Crect x='3' y='12' width='18' height='14'/%3E%3Cpath d='M7 12V8a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
.bld.locked .bld-name, .bld.locked .bld-cost { opacity: .6; }
.bld-cost .no { color: var(--rubric); font-style: normal; font-weight: 600; }
