/*
 * GtR identity colors (match gtr_tui Style palettes).
 * Material and its leadable role share one hue; buildings use their material color.
 */

.mat,
.role-ink {
  font-weight: 600;
}

/* Site supply pills — material fill; name hidden on max-sm via markup. */
.site-pill {
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1.25rem;
  -webkit-tap-highlight-color: transparent;
}

/* Fixed near the tapped control via tip_controller (or centered when data-tip-center). */
.site-tip {
  z-index: 40;
  box-sizing: border-box;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgb(214 211 209);
  border-radius: 0.5rem;
  background: rgb(255 255 255);
  color: rgb(41 37 36);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.14);
  font-size: 0.75rem;
  line-height: 1.35;
  max-width: min(16rem, calc(100vw - 1rem));
  white-space: normal;
  text-align: left;
}

.dark .site-tip {
  border-color: rgb(68 64 60);
  background: rgb(28 25 23);
  color: rgb(231 229 228);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.45);
}

.site-tip-label {
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 0.15rem;
}

.site-tip-hint {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  color: rgb(120 113 108);
}

.dark .site-tip-hint {
  color: rgb(168 162 158);
}

/* Tap/click board card → centered 2× md preview (hand, structures). */
.gtr-card-zoomable {
  flex: 0 0 auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.gtr-card-zoomable:focus-visible {
  outline: 2px solid rgb(217 119 6);
  outline-offset: 2px;
  border-radius: 0.5rem;
}

.site-tip.gtr-card-zoom {
  padding: 0.4rem;
  max-width: none;
  background: rgb(250 250 249);
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.28);
}

.dark .site-tip.gtr-card-zoom {
  background: rgb(12 10 9);
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.55);
}

/* Layout box = 2× default md card; child is scale(2) so type scales too. */
.gtr-card-zoom-scale {
  --gtr-zoom: 2;
  width: calc(8.75rem * var(--gtr-zoom));
  height: calc(11rem * var(--gtr-zoom));
}

.gtr-card-zoom-scale > .gtr-card {
  transform: scale(var(--gtr-zoom));
  transform-origin: top left;
}

/* Keep the 2× scale; don't let hover lift override it. */
.site-tip.gtr-card-zoom .gtr-card:hover,
.site-tip.gtr-card-zoom .gtr-card:focus-within {
  transform: scale(var(--gtr-zoom));
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
}

/* Narrow phones: fit width, keep aspect (still much larger than board cards). */
@media (max-width: 22rem) {
  .gtr-card-zoom-scale {
    --gtr-zoom: 1.75;
  }
}
.site-pill.mat-rubble {
  background: rgb(183, 149, 11);
  color: rgb(28 25 23);
  border-color: rgb(146 120 9 / 0.45);
}
.site-pill.mat-wood {
  background: rgb(29, 131, 72);
  color: rgb(236 253 245);
  border-color: rgb(22 101 52 / 0.45);
}
.site-pill.mat-brick {
  background: rgb(192, 57, 43);
  color: rgb(254 242 242);
  border-color: rgb(153 46 34 / 0.45);
}
.site-pill.mat-concrete {
  background: rgb(93, 109, 126);
  color: rgb(248 250 252);
  border-color: rgb(71 85 105 / 0.45);
}
.site-pill.mat-stone {
  background: rgb(31, 97, 141);
  color: rgb(239 246 255);
  border-color: rgb(24 74 108 / 0.45);
}
.site-pill.mat-marble {
  background: rgb(108, 52, 131);
  color: rgb(250 245 255);
  border-color: rgb(88 42 108 / 0.45);
}
.dark .site-pill.mat-rubble {
  background: rgb(241, 196, 15);
  color: rgb(28 25 23);
  border-color: rgb(202 163 12 / 0.5);
}
.dark .site-pill.mat-wood {
  background: rgb(46, 204, 113);
  color: rgb(6 78 59);
  border-color: rgb(34 160 90 / 0.5);
}
.dark .site-pill.mat-brick {
  background: rgb(231, 76, 60);
  color: rgb(69 10 10);
  border-color: rgb(192 57 43 / 0.5);
}
.dark .site-pill.mat-concrete {
  background: rgb(189, 195, 199);
  color: rgb(28 25 23);
  border-color: rgb(149 165 166 / 0.5);
}
.dark .site-pill.mat-stone {
  background: rgb(52, 152, 219);
  color: rgb(12 45 72);
  border-color: rgb(41 128 185 / 0.5);
}
.dark .site-pill.mat-marble {
  background: rgb(155, 89, 182);
  color: rgb(46 16 66);
  border-color: rgb(125 60 152 / 0.5);
}

/* No in-town sites left: material border + ink, no fill (out-of-town may remain). */
.site-pill.site-pill-outline.mat-rubble {
  background: transparent;
  color: rgb(183, 149, 11);
  border-color: rgb(183, 149, 11);
}
.site-pill.site-pill-outline.mat-wood {
  background: transparent;
  color: rgb(29, 131, 72);
  border-color: rgb(29, 131, 72);
}
.site-pill.site-pill-outline.mat-brick {
  background: transparent;
  color: rgb(192, 57, 43);
  border-color: rgb(192, 57, 43);
}
.site-pill.site-pill-outline.mat-concrete {
  background: transparent;
  color: rgb(93, 109, 126);
  border-color: rgb(93, 109, 126);
}
.site-pill.site-pill-outline.mat-stone {
  background: transparent;
  color: rgb(31, 97, 141);
  border-color: rgb(31, 97, 141);
}
.site-pill.site-pill-outline.mat-marble {
  background: transparent;
  color: rgb(108, 52, 131);
  border-color: rgb(108, 52, 131);
}
.dark .site-pill.site-pill-outline.mat-rubble {
  background: transparent;
  color: rgb(241, 196, 15);
  border-color: rgb(241, 196, 15);
}
.dark .site-pill.site-pill-outline.mat-wood {
  background: transparent;
  color: rgb(46, 204, 113);
  border-color: rgb(46, 204, 113);
}
.dark .site-pill.site-pill-outline.mat-brick {
  background: transparent;
  color: rgb(231, 76, 60);
  border-color: rgb(231, 76, 60);
}
.dark .site-pill.site-pill-outline.mat-concrete {
  background: transparent;
  color: rgb(189, 195, 199);
  border-color: rgb(189, 195, 199);
}
.dark .site-pill.site-pill-outline.mat-stone {
  background: transparent;
  color: rgb(52, 152, 219);
  border-color: rgb(52, 152, 219);
}
.dark .site-pill.site-pill-outline.mat-marble {
  background: transparent;
  color: rgb(155, 89, 182);
  border-color: rgb(155, 89, 182);
}

.site-pill-depleted {
  opacity: 0.38;
  filter: grayscale(0.35);
}

/* Light theme — deep hues for white backgrounds */
.mat-rubble,
.role-laborer { color: rgb(183, 149, 11); }
.mat-wood,
.role-craftsman { color: rgb(29, 131, 72); }
.mat-brick,
.role-legionary { color: rgb(192, 57, 43); }
.mat-concrete,
.role-architect { color: rgb(93, 109, 126); }
.mat-stone,
.role-merchant { color: rgb(31, 97, 141); }
.mat-marble,
.role-patron { color: rgb(108, 52, 131); }
.role-thinker { color: rgb(127, 140, 141); }
/* Jacks are B&W (physical game is black face / white ink) — not laborer gold. */
.role-jack { color: rgb(28, 25, 23); }

/* Dark theme — brighter hues for stone-950 */
.dark .mat-rubble,
.dark .role-laborer { color: rgb(241, 196, 15); }
.dark .mat-wood,
.dark .role-craftsman { color: rgb(46, 204, 113); }
.dark .mat-brick,
.dark .role-legionary { color: rgb(231, 76, 60); }
.dark .mat-concrete,
.dark .role-architect { color: rgb(189, 195, 199); }
.dark .mat-stone,
.dark .role-merchant { color: rgb(52, 152, 219); }
.dark .mat-marble,
.dark .role-patron { color: rgb(155, 89, 182); }
.dark .role-thinker { color: rgb(149, 165, 166); }
.dark .role-jack { color: rgb(250, 250, 249); }

.chip {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
  border: 1px solid currentColor;
  background: transparent;
  font-weight: 600;
}

/* --- Physical-ish order cards (role spine · name · text · value/material) --- */

.gtr-card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-start;
}

/* Pool: material groups side by side, each group fanned. */
.gtr-pool-fans {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem 1rem;
}

/* Camp zones: horizontal fan — spines peek (role or material face). */
.gtr-card-fan {
  --gtr-fan-peek: 1.35rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0.35rem 0.15rem 0.5rem;
  min-height: 0;
}

.gtr-card-fan > .gtr-card {
  flex: 0 0 auto;
  /* Collapse so only the left spine (and a sliver) shows between cards. */
  margin-inline-end: calc(-1 * (var(--gtr-card-w) - var(--gtr-fan-peek)));
  transition: box-shadow 0.15s ease, transform 0.15s ease, margin 0.15s ease;
}

.gtr-card-fan > .gtr-card:last-child {
  margin-inline-end: 0;
}

.gtr-card-fan > .gtr-card:hover,
.gtr-card-fan > .gtr-card:focus-within {
  z-index: 8;
  margin-inline-end: 0.35rem;
  transform: translateY(-3px);
}

.gtr-card-fan > .gtr-card:last-child:hover,
.gtr-card-fan > .gtr-card:last-child:focus-within {
  margin-inline-end: 0;
}

.gtr-card {
  --gtr-card-w: 8.75rem;
  --gtr-card-h: 11rem;
  --gtr-card-spine-w: 1.15rem;
  display: grid;
  grid-template-columns: var(--gtr-card-spine-w) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: var(--gtr-card-w);
  height: var(--gtr-card-h);
  min-height: var(--gtr-card-h);
  max-height: var(--gtr-card-h);
  border: 1px solid rgb(214 211 209);
  border-radius: 0.45rem;
  background: rgb(255 255 255);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.15s ease, transform 0.15s ease, z-index 0s;
}

/* Shared badge chrome (stack ×N + structure progress). */
.gtr-card-count {
  position: absolute;
  z-index: 2;
  border-radius: 9999px;
  background: rgb(28 25 23 / 0.88);
  color: rgb(255 251 235);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

/* Stacked copies in hand — over the role spine (left gutter has room). */
.gtr-card-count:not(.gtr-card-progress) {
  top: 0.2rem;
  left: 0.12rem;
  right: auto;
  min-width: 1.15rem;
  max-width: calc(var(--gtr-card-spine-w) - 0.12rem);
  padding: 0.05rem 0.2rem;
  font-size: 0.62rem;
}

.dark .gtr-card-count {
  background: rgb(251 191 36 / 0.95);
  color: rgb(28 25 23);
}

/* Structure fill progress (N/M) — lower-middle of the *main* pane (not including spine).
   `bottom` clears the material footer so the badge doesn’t sit on its top border. */
.gtr-card-progress {
  top: auto;
  right: auto;
  bottom: 1.95rem;
  /* Center in the content column: spine width + half of remaining width. */
  left: calc(var(--gtr-card-spine-w) + (100% - var(--gtr-card-spine-w)) / 2);
  transform: translateX(-50%);
  min-width: 1.85rem;
  max-width: none;
  padding: 0.12rem 0.45rem;
  font-size: 0.72rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.22);
  /* Default when no site material class is present */
  background: rgb(28 25 23 / 0.88);
  color: rgb(255 251 235);
}

.gtr-card-sm .gtr-card-progress {
  bottom: 1.75rem;
  min-width: 1.7rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.65rem;
}

.gtr-card-xs .gtr-card-progress {
  bottom: 1.55rem;
  min-width: 1.55rem;
  padding: 0.08rem 0.35rem;
  font-size: 0.6rem;
}

/* Site-material badge fills (override .mat-* text color with readable ink). */
.gtr-card-progress.mat-rubble {
  background: rgb(183, 149, 11);
  color: rgb(28 25 23);
}
.gtr-card-progress.mat-wood {
  background: rgb(29, 131, 72);
  color: rgb(236 253 245);
}
.gtr-card-progress.mat-brick {
  background: rgb(192, 57, 43);
  color: rgb(254 242 242);
}
.gtr-card-progress.mat-concrete {
  background: rgb(93, 109, 126);
  color: rgb(248 250 252);
}
.gtr-card-progress.mat-stone {
  background: rgb(31, 97, 141);
  color: rgb(239 246 255);
}
.gtr-card-progress.mat-marble {
  background: rgb(108, 52, 131);
  color: rgb(250 245 255);
}

.dark .gtr-card-progress.mat-rubble {
  background: rgb(241, 196, 15);
  color: rgb(28 25 23);
}
.dark .gtr-card-progress.mat-wood {
  background: rgb(46, 204, 113);
  color: rgb(6 78 59);
}
.dark .gtr-card-progress.mat-brick {
  background: rgb(231, 76, 60);
  color: rgb(69 10 10);
}
.dark .gtr-card-progress.mat-concrete {
  background: rgb(189, 195, 199);
  color: rgb(28 25 23);
}
.dark .gtr-card-progress.mat-stone {
  background: rgb(52, 152, 219);
  color: rgb(12 45 72);
}
.dark .gtr-card-progress.mat-marble {
  background: rgb(155, 89, 182);
  color: rgb(46 16 66);
}

/* Complete: keep site-material fill; add a crisp ring so finished stands out. */
.gtr-card-progress-complete {
  box-shadow:
    0 0 0 1.5px rgb(255 255 255 / 0.95),
    0 0 0 3px rgb(16 185 129 / 0.55),
    0 1px 2px rgb(0 0 0 / 0.22);
}

.dark .gtr-card-progress-complete {
  box-shadow:
    0 0 0 1.5px rgb(28 25 23 / 0.9),
    0 0 0 3px rgb(52 211 153 / 0.75),
    0 1px 2px rgb(0 0 0 / 0.3);
}

.gtr-card-structure-complete {
  box-shadow: 0 0 0 1px rgb(16 185 129 / 0.35), 0 1px 2px rgb(0 0 0 / 0.06);
}

.dark .gtr-card-structure-complete {
  box-shadow: 0 0 0 1px rgb(52 211 153 / 0.45), 0 1px 2px rgb(0 0 0 / 0.2);
}

.gtr-card-xs .gtr-card-count:not(.gtr-card-progress) {
  top: 0.1rem;
  left: 0.08rem;
  min-width: 0.95rem;
  max-width: calc(var(--gtr-card-spine-w) - 0.08rem);
  padding: 0.02rem 0.15rem;
  font-size: 0.5rem;
}

.gtr-structure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--gtr-card-w, 7.25rem);
}

.gtr-card-sm {
  --gtr-card-w: 7.25rem;
  --gtr-card-h: 9rem;
  width: var(--gtr-card-w);
}

.gtr-card-xs {
  --gtr-card-w: 5.75rem;
  --gtr-card-h: 7.25rem;
  width: var(--gtr-card-w);
}

.gtr-card-xs .gtr-card-name {
  font-size: 0.58rem;
  -webkit-line-clamp: 2;
}

.gtr-card-xs .gtr-card-text {
  font-size: 0.48rem;
  -webkit-line-clamp: 3;
}

.gtr-card-xs .gtr-card-role {
  font-size: 0.52rem;
}

.dark .gtr-card {
  border-color: rgb(68 64 60);
  background: rgb(28 25 23);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.35);
}

.gtr-card:hover,
.gtr-card:focus-within {
  z-index: 5;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.18);
  transform: translateY(-2px);
}

.dark .gtr-card:hover,
.dark .gtr-card:focus-within {
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.55);
}

/* Left gutter: vertical role/material label (+ value pips on sm/xs). */
.gtr-card-spine {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid rgb(231 229 228);
  background: rgb(250 250 249);
}

.dark .gtr-card-spine {
  border-right-color: rgb(68 64 60);
  background: rgb(41 37 36);
}

.gtr-card-role {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0.35rem 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.08em;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.gtr-card-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 0.35rem 0.4rem 0.3rem;
  gap: 0.25rem;
  overflow: hidden;
}

.gtr-card-name {
  flex: 0 0 auto;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  /* Long names wrap, then clamp so the fixed card height still holds. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.gtr-card-sm .gtr-card-name {
  font-size: 0.65rem;
}

.gtr-card-body {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

/* Ability copy wraps within the fixed card; overflow is clamped (full text in title). */
.gtr-card-text {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 0.58rem;
  line-height: 1.3;
  color: rgb(87 83 78);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

.gtr-card-sm .gtr-card-text {
  font-size: 0.52rem;
  -webkit-line-clamp: 4;
}

.dark .gtr-card-text {
  color: rgb(168 162 158);
}

.gtr-card-text-empty {
  opacity: 0.35;
}

.gtr-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  padding-top: 0.15rem;
  border-top: 1px solid rgb(231 229 228);
  min-height: 1.1rem;
  flex: 0 0 auto;
}

.dark .gtr-card-footer {
  border-top-color: rgb(68 64 60);
}

.gtr-card-pips {
  display: inline-flex;
  gap: 0.15rem;
  align-items: center;
  flex-shrink: 0;
}

.gtr-card-pip {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 9999px;
  border: 1.5px solid currentColor;
  background: currentColor;
  opacity: 0.85;
}

/* Spine pips: hidden on full-size (footer carries value); shown on sm/xs. */
.gtr-card-pips-edge {
  display: none;
}

.gtr-card-material {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: auto;
  min-width: 0;
}

/* sm/xs: value lives in the left spine under the vertical label; footer is label-only. */
.gtr-card-sm .gtr-card-pips-edge,
.gtr-card-xs .gtr-card-pips-edge {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  padding: 0.2rem 0 0.3rem;
  border-top: 1px solid rgb(231 229 228);
}

.dark .gtr-card-sm .gtr-card-pips-edge,
.dark .gtr-card-xs .gtr-card-pips-edge {
  border-top-color: rgb(68 64 60);
}

.gtr-card-sm .gtr-card-pips-footer,
.gtr-card-xs .gtr-card-pips-footer {
  display: none;
}

.gtr-card-sm .gtr-card-footer,
.gtr-card-xs .gtr-card-footer {
  justify-content: center;
}

.gtr-card-sm .gtr-card-pip {
  width: 0.32rem;
  height: 0.32rem;
  border-width: 1.25px;
}

.gtr-card-xs .gtr-card-pip {
  width: 0.26rem;
  height: 0.26rem;
  border-width: 1px;
}

.gtr-card-sm .gtr-card-material,
.gtr-card-xs .gtr-card-material {
  margin-left: 0;
  flex: 1 1 auto;
  text-align: center;
  overflow: visible;
  white-space: nowrap;
}

.gtr-card-sm .gtr-card-material {
  font-size: 0.5rem;
  letter-spacing: 0.02em;
}

.gtr-card-xs .gtr-card-material {
  font-size: 0.42rem;
  letter-spacing: 0.01em;
}

/* Soft left edge tint by material (matches role spine hue family). */
.gtr-card-wood { border-left: 3px solid rgb(29, 131, 72); }
.gtr-card-brick { border-left: 3px solid rgb(192, 57, 43); }
.gtr-card-concrete { border-left: 3px solid rgb(93, 109, 126); }
.gtr-card-stone { border-left: 3px solid rgb(31, 97, 141); }
.gtr-card-marble { border-left: 3px solid rgb(108, 52, 131); }
.gtr-card-rubble { border-left: 3px solid rgb(183, 149, 11); }

/* Jack: invert the face — black body / white ink (physical GtR nod).
   Always black regardless of site theme so it stays “the reverse card”. */
.gtr-card-jack {
  border-color: rgb(68 64 60);
  border-left: 3px solid rgb(250 250 249);
  background: rgb(28 25 23);
  color: rgb(250 250 249);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.35);
}

.gtr-card-jack .gtr-card-spine {
  border-right-color: rgb(68 64 60);
  background: rgb(12 10 9);
}

.gtr-card-jack .gtr-card-role,
.gtr-card-jack .gtr-card-name,
.gtr-card-jack .role-jack,
.gtr-card-jack .gtr-card-material {
  color: rgb(250 250 249);
}

.gtr-card-jack .gtr-card-text {
  color: rgb(214 211 209);
}

.gtr-card-jack .gtr-card-footer {
  border-top-color: rgb(68 64 60);
}

.gtr-card-jack:hover,
.gtr-card-jack:focus-within {
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.55);
}

/* Dark theme: other cards are already dark — flip Jack to white face / black ink. */
.dark .gtr-card-jack {
  border-color: rgb(214 211 209);
  border-left-color: rgb(28 25 23);
  background: rgb(250 250 249);
  color: rgb(28 25 23);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.12);
}

.dark .gtr-card-jack .gtr-card-spine {
  border-right-color: rgb(214 211 209);
  background: rgb(231 229 228);
}

.dark .gtr-card-jack .gtr-card-role,
.dark .gtr-card-jack .gtr-card-name,
.dark .gtr-card-jack .role-jack,
.dark .gtr-card-jack .gtr-card-material {
  color: rgb(28 25 23);
}

.dark .gtr-card-jack .gtr-card-text {
  color: rgb(87 83 78);
}

.dark .gtr-card-jack .gtr-card-footer {
  border-top-color: rgb(214 211 209);
}

.dark .gtr-card-jack:hover,
.dark .gtr-card-jack:focus-within {
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.35);
}
