/* Citizen profiles, the register, the Board of Honour, medals and the awards.
   Uses the tokens of site.css only: red for merit, gold for the fills of
   honours (rank stars, held awards), ochre for their labels on paper, and
   --danger, striped, for the warning end of the vitals. No inline styles
   anywhere (strict CSP): heads are sized by these classes alone. */

/* --- Heads ------------------------------------------------------------------
   The head is drawn by the website from the skin, as the game draws a
   player's face (/citizens/<name>/head.png: 8×8 skin pixels, eight image
   pixels each); here it is only sized, in whole skin pixels, and kept sharp. */

.head {
  position: relative; display: inline-block; flex: none; overflow: hidden;
  width: 2rem; height: 2rem;
  background: var(--paper-deep); border-radius: 2px;
  vertical-align: middle;
}
.head img {
  display: block; width: 100%; height: 100%;
  image-rendering: pixelated; image-rendering: crisp-edges;
}
.head--s { width: 1.5rem; height: 1.5rem; }  /* 24px */
.head--m { width: 2.5rem; height: 2.5rem; }  /* 40px */
.head--l { width: 7rem; height: 7rem; box-shadow: 0 0 0 3px var(--ink); } /* 112px */

.online { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--civic); font-weight: 600; font-size: 0.92rem; }
.online::before { content: ''; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--civic); }

/* --- A profile: the motto, rank insignia, vitals and the daily sparkline ----------- */

.motto { margin: 0.75rem 0 0; padding-left: 0.9rem; border-left: 3px solid var(--ochre); font-style: italic; max-width: var(--measure); overflow-wrap: anywhere; }


.insignia { display: block; width: 7.5rem; height: 1.5rem; }
.insignia__on { fill: var(--gold); stroke: var(--ink); stroke-width: 0.6; }
.insignia__off { fill: none; stroke: var(--rule); stroke-width: 0.8; }

.motto-form { margin-bottom: 1rem; }

.vitals { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem 2rem; margin: 0 0 1.5rem; }
.vitals dt { font-size: 0.85rem; color: var(--ink-soft); }
.vitals dd { margin: 0; font-weight: 700; display: flex; align-items: center; gap: 0.6rem; white-space: nowrap; }

.vitals meter { width: 5.5rem; height: 0.8rem; flex: none; }
.vitals meter::-webkit-meter-bar { background: var(--paper-deep); border: 0; border-radius: 0; height: 0.8rem; }
.vitals meter::-webkit-meter-optimum-value { background: var(--civic); }
.vitals meter::-webkit-meter-suboptimum-value { background: var(--gold); }
.vitals meter::-webkit-meter-even-less-good-value { background: repeating-linear-gradient(-45deg, var(--danger) 0 5px, var(--gold-light) 5px 7px); }
.vitals meter:-moz-meter-optimum::-moz-meter-bar { background: var(--civic); }
.vitals meter:-moz-meter-sub-optimum::-moz-meter-bar { background: var(--gold); }
.vitals meter:-moz-meter-sub-sub-optimum::-moz-meter-bar { background: repeating-linear-gradient(-45deg, var(--danger) 0 5px, var(--gold-light) 5px 7px); }

.sparkline { margin: 0 0 1.5rem; }
.sparkline__chart { display: block; width: 100%; height: 4rem; }
.sparkline__bar { fill: var(--civic); }
.sparkline__bar:hover { fill: var(--civic-deep); }
.sparkline__base { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sparkline figcaption { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.35rem; }

/* --- Medals ---------------------------------------------------------------------- */

.medal-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); gap: 1.25rem 2rem; }
.medal { display: flex; gap: 0.85rem; align-items: flex-start; min-width: 0; }
.medal__text { min-width: 0; flex: 1; }
.medal__holder { display: flex; align-items: center; gap: 0.4rem; font-weight: 600; }
.medal p { margin: 0; }
.medal__name { font-weight: 700; }
.medal__meta { color: var(--ink-soft); font-size: 0.85rem; }
.medal__reason { font-size: 0.95rem; }
.medal progress { margin: 0.4rem 0 0.2rem; }
.medal-list--progress .medal__name { color: var(--ink-soft); }

/* --- The Board of Honour ------------------------------------------------------------ */

.honour-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 0 2.5rem; }
.honour-grid h2 { margin-top: 1rem; }
.leaders { list-style: none; margin: 0 0 1rem; padding: 0; border-top: 3px solid var(--ink); }
.leader { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--rule); }
.leader a { font-weight: 650; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.leader__place { width: 1.5rem; text-align: right; font-weight: 800; font-stretch: 75%; color: var(--ink-soft); }
.leader__merit { font-weight: 700; white-space: nowrap; }
.leader--first { padding: 0.9rem 0; }
.leader--first .leader__place { color: var(--ochre); font-size: 1.6rem; }
.leader--first a { font-size: 1.2rem; }

/* --- Profile pictures ---------------------------------------------------------------
   An uploaded picture is shown square, cropped to fill, framed like the heads. */

.avatar {
  position: relative; display: inline-block; flex: none; overflow: hidden; vertical-align: middle;
  width: 1.5rem; height: 1.5rem; border-radius: 2px; background: var(--paper-deep);
}
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.avatar--s { width: 1.5rem; height: 1.5rem; }   /* 24px, as .head--s */
.avatar--m { width: 2.5rem; height: 2.5rem; }   /* 40px, as .head--m */
.avatar--l { width: 7rem; height: 7rem; box-shadow: 0 0 0 3px var(--ink); } /* 112px, as .head--l */

.avatar-settings { margin: 0 0 2rem; }
.avatar-settings form { margin-bottom: 0.5rem; }
.avatar-choice .choice { display: flex; width: fit-content; margin: 0.25rem 0 0.5rem; }
.avatar-upload input[type="file"] { max-width: 100%; }

.avatar-review { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--rule); }
.avatar-review__item { display: flex; gap: 1.25rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.avatar-review__item p { margin: 0 0 0.35rem; }
.avatar-review__who { font-weight: 700; }
.removals { color: var(--ink-soft); }

.page-links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }

/* --- Medal pictures (/medals/<key>.svg) ------------------------------------------------ */

.medal-art { display: block; flex: none; width: 2.5rem; height: auto; }
.medal-art--s { width: 1.5rem; }
.medal-art--m { width: 2.5rem; }
.medal-art--l { width: 4.5rem; }
.medal-art--missing { height: 3.75rem; background: var(--paper-deep); }
.medal-art--locked { filter: grayscale(1); opacity: 0.45; }

/* The moment a medal was earned: the map picture and what the citizen did. */
.moment { margin: 0.6rem 0 0; }
.moment__picture {
  display: block; width: 100%; max-width: 16rem; height: auto;
  image-rendering: pixelated; border: 2px solid var(--black);
}
.moment figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.3rem; font-style: italic; }

/* --- The awards of the Commonwealth ---------------------------------------------------- */

.award-index { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.award-index a {
  padding: 0.2rem 0.6rem; border: 2px solid var(--red); color: var(--red);
  font-weight: 700; font-size: 0.85rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em;
}
.award-index a:hover { background: var(--red); color: var(--cream); }

.award-category { margin-top: 2.5rem; }
.award-category h2 {
  display: inline-block; margin: 0 0 0.5rem; padding: 0.3rem 0.9rem 0.3rem 0.7rem;
  background: var(--red); color: var(--cream);
  text-transform: uppercase; letter-spacing: 0.03em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.7rem) 100%, 0 100%);
}
.award-category__about { color: var(--ink-soft); max-width: var(--measure); }

.award-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1rem; }
.award {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 0 1rem; align-items: start;
  padding: 1rem; background: var(--paper-deep); border-top: 4px solid var(--black);
}
.award--held { border-top-color: var(--gold); }
.award p { margin: 0 0 0.25rem; }
.award__name { margin: 0 0 0.2rem; font-size: 1.05rem; font-stretch: 110%; }
.award__tier { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.award--held .award__tier { color: var(--red); }
.award__description { font-size: 0.95rem; }
.award__how { font-size: 0.85rem; font-weight: 650; }
.award__count, .award__holders { font-size: 0.85rem; color: var(--ink-soft); }
.award__holders { overflow-wrap: anywhere; }

/* --- The register as poster cards ---------------------------------------------------
   Each card is a small poster: the bust of the citizen's figure (the top of
   the full figure, cut by the box) on a black field with a red wedge, then
   name, job, rank and the figures on paper. */

.register-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem 1rem; margin: 0 0 0.75rem; }
.register-filter__field label { display: block; font-size: 0.85rem; font-weight: 650; margin-bottom: 0.2rem; }
.register-filter select { min-width: 11rem; max-width: 100%; }
.register-count { color: var(--ink-soft); margin: 0 0 1.25rem; }

.citizen-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(11.5rem, 100%), 1fr)); gap: 1.25rem;
}
.citizen-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 0 0 0.9rem; background: var(--paper-deep); border-bottom: 4px solid var(--ink); }
.citizen-card p { margin: 0 0.9rem; }
.citizen-card__link { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.citizen-card__link:hover .citizen-card__name { text-decoration: underline; text-decoration-thickness: 2px; }
.citizen-card__bust {
  position: relative; isolation: isolate; display: block; height: 9.5rem; overflow: hidden;
  background: var(--black); border-bottom: 5px solid var(--red);
}
.citizen-card__bust::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--red); clip-path: polygon(58% 0, 100% 0, 100% 100%, 30% 100%);
}
.citizen-card__figure { display: block; width: 6.5rem; height: auto; margin: 0.9rem auto 0; image-rendering: pixelated; image-rendering: crisp-edges; }
.citizen-card__name {
  padding: 0.6rem 0.9rem 0.1rem; font-weight: 850; font-size: 1.15rem; font-stretch: 112%; line-height: 1.15;
  overflow-wrap: anywhere;
}
.citizen-card__badge { position: absolute; top: 0.55rem; left: 0.55rem; line-height: 0; }
.citizen-card__badge .avatar, .citizen-card__badge .head { box-shadow: 0 0 0 2px var(--cream); }
.citizen-card__job { font-weight: 650; }
.citizen-card__rank { color: var(--ink-soft); font-size: 0.9rem; }
/* A sitting People's Commissar: a small red mark with the portfolio. */
.citizen-card__office { display: flex; align-items: flex-start; gap: 0.35rem; color: var(--red); font-size: 0.82rem; font-weight: 750; line-height: 1.25; }
.citizen-card__office-icon { flex: none; width: 1rem; height: 1rem; }
.citizen-card__figures { display: flex; gap: 1.25rem; margin: 0.55rem 0.9rem 0; }
.citizen-card__figures div { display: flex; flex-direction: column-reverse; }
.citizen-card__figures dt { font-size: 0.78rem; color: var(--ink-soft); }
.citizen-card__figures dd { margin: 0; font-weight: 800; font-stretch: 75%; font-size: 1.35rem; line-height: 1; }
.citizen-card .online { margin: 0.45rem 0.9rem 0; }

/* --- A citizen's poster --------------------------------------------------------------
   Black field, a red wedge behind the figure, a gold band across the wedge,
   the figure standing on it with a hard shadow. All text on the field is
   cream (it reads on black and on red); the figures run along a black strip
   under a gold rule, so no number ever lies on the wedge. */

.citizen-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.4rem 1rem; margin: 0 0 1rem; font-weight: 650; }
.citizen-nav a { overflow-wrap: anywhere; }
.citizen-nav--bottom { margin: 2.5rem 0 0; padding-top: 1rem; border-top: 3px solid var(--ink); }

.citizen-poster { margin: 0 0 1.5rem; }
.citizen-poster__field {
  container-type: inline-size;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'text stage' 'figures figures';
  gap: 1rem clamp(0.75rem, 3vw, 2rem); padding: clamp(1rem, 3.5vw, 2rem) clamp(1rem, 3.5vw, 2rem) 0;
  background: var(--black); color: var(--cream);
}
.citizen-poster__field::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: var(--red); clip-path: polygon(66% 0, 100% 0, 100% 100%, 50% 100%);
}
.citizen-poster__field::after {
  /* Starts on the wedge's edge (at 76% of the height it is at 66% - 16% x 0.76) and
     climbs behind the figure's feet, so it never runs under the text. */
  content: ''; position: absolute; z-index: -1; left: 54%; right: -10%; top: 76%; height: 0.6rem;
  background: var(--gold); transform: rotate(-12deg); transform-origin: 0 50%;
}
.citizen-poster__text { grid-area: text; min-width: 0; align-self: end; padding-bottom: 0.5rem; }
.citizen-poster__text p { margin: 0; }
.citizen-poster__kicker {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 750; font-stretch: 115%; text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.35;
}
.citizen-poster__text .citizen-poster__kicker { margin-bottom: 0.9rem; }
.citizen-poster__kicker .head, .citizen-poster__kicker .avatar { box-shadow: 0 0 0 2px var(--cream); }
.citizen-poster__name {
  margin: 0 0 0.6rem; color: var(--cream);
  font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.01em;
  font-size: clamp(1.6rem, 7vw, 3.4rem); font-size: clamp(1.6rem, 8cqi, 3.4rem); overflow-wrap: anywhere;
}
.citizen-poster__rank { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.75rem; font-size: 1.2rem; font-weight: 800; font-stretch: 110%; }
.citizen-poster__rank .insignia__on { stroke: var(--black); }
.citizen-poster__rank .insignia__off { stroke: var(--cream); }
.citizen-poster__text .citizen-poster__job { margin-top: 0.35rem; font-size: 1.05rem; font-weight: 700; }
.citizen-poster__grade { font-weight: 500; }
.citizen-poster__text .citizen-poster__office { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.35rem; font-weight: 800; }
.citizen-poster__office a { color: var(--gold-light); }
.citizen-poster__office-icon { flex: none; width: 1.2rem; height: 1.2rem; color: var(--gold); }
.citizen-poster__text .citizen-poster__world { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; margin-top: 0.6rem; font-size: 0.92rem; }
.citizen-poster__world .online { color: var(--cream); }
.citizen-poster__world .online::before { background: var(--gold); }

.citizen-poster__stage { grid-area: stage; position: relative; display: flex; align-items: flex-end; justify-content: center; min-width: 7rem; }
.citizen-poster__star {
  position: absolute; left: 50%; top: 40%; width: 190%; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%);
  color: var(--red-deep);
}
.citizen-poster__figure {
  position: relative; display: block; width: auto; height: clamp(11rem, 42cqi, 20rem);
  image-rendering: pixelated; image-rendering: crisp-edges;
  filter: drop-shadow(0.45rem 0.45rem 0 var(--black));
}

.citizen-poster__figures {
  grid-area: figures; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem 1rem;
  margin: 0 calc(-1 * clamp(1rem, 3.5vw, 2rem)); padding: 0.8rem clamp(1rem, 3.5vw, 2rem) 1rem;
  background: var(--black); border-top: 5px solid var(--gold);
}
.citizen-poster__figures div { display: flex; flex-direction: column-reverse; min-width: 0; }
.citizen-poster__figures dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.3; }
.citizen-poster__figures dd { margin: 0; font-weight: 800; font-stretch: 62%; line-height: 1; font-size: clamp(1.7rem, 7cqi, 2.8rem); color: var(--gold-light); }
.citizen-poster__motto { margin-top: 1rem; }

.own-settings { margin: 0 0 1.5rem; padding: 0.75rem 1rem; border: 2px solid var(--rule); }
.own-settings summary { font-weight: 750; cursor: pointer; }
.own-settings[open] summary { margin-bottom: 0.75rem; }
.own-settings h3 { margin-top: 1rem; }

.citizen-sections { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.5rem; }
.citizen-sections a {
  padding: 0.2rem 0.6rem; border: 2px solid var(--ink); color: var(--ink);
  font-weight: 700; font-size: 0.85rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em;
}
.citizen-sections a:hover { background: var(--ink); color: var(--cream); }
.citizen-section { scroll-margin-top: 1rem; }

/* --- The wall of honour: a black board per category ----------------------------------- */

.medal-wall__summary { color: var(--ink-soft); }
.medal-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr)); gap: 1.25rem; margin: 0 0 1.5rem; }
.medal-board { padding: 1rem 1rem 1.1rem; background: var(--black); color: var(--cream); border-top: 6px solid var(--gold); }
.medal-board__name {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin: 0 0 0.9rem;
  color: var(--cream); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.medal-board__count { flex: none; color: var(--gold-light); font-size: 0.8rem; font-weight: 700; letter-spacing: 0; }
.medal-board__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: 1rem 0.6rem; }
.medal-tile { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; min-width: 0; text-align: center; }
.medal-tile .medal-art--l { width: 3.4rem; }
.medal-tile__name { font-size: 0.8rem; font-weight: 700; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; max-width: 100%; }
.medal-tile__meta { font-size: 0.72rem; line-height: 1.25; color: var(--silver); }
.medal-tile--locked .medal-tile__name { font-weight: 500; color: var(--silver); }

/* --- The record: a rail of red markers, month by month ------------------------------------ */

/* The offices held in the Council of People's Commissars. */
.office-record { list-style: none; margin: 0.5rem 0 1.25rem; padding: 0; display: grid; gap: 0.6rem; }
.office-record__item { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: 0 0.85rem; padding: 0.6rem 0.75rem; border-left: 6px solid var(--red); background: var(--paper-deep); }
.office-record__icon { width: 2.1rem; height: 2.1rem; padding: 0.4rem; background: var(--black); color: var(--gold); }
.office-record__body p { margin: 0; }
.office-record__title { font-weight: 800; font-stretch: 110%; }
.office-record__when, .office-record__how { color: var(--ink-soft); font-size: 0.9rem; overflow-wrap: anywhere; }

.record { list-style: none; margin: 1.5rem 0 1rem; padding: 0; }
.record__month-name { margin: 0 0 0.6rem; color: var(--civic); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; }
.record__entries { position: relative; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.record__entries::before { content: ''; position: absolute; left: 0.95rem; top: 0.5rem; bottom: 0.5rem; width: 3px; background: var(--ink); }
.record__entry { position: relative; display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: 0 0.85rem; padding: 0.4rem 0; }
.record__icon { position: relative; width: 2.1rem; height: 2.1rem; padding: 0.4rem; background: var(--red); color: var(--cream); }
.record__body p { margin: 0; }
.record__text { font-weight: 650; }
.record__quote { font-style: italic; overflow-wrap: anywhere; }
.record__quote::before { content: '“'; }
.record__quote::after { content: '”'; }
.record__when { color: var(--ink-soft); font-size: 0.85rem; }

/* --- The work in the world: dials and bars ------------------------------------------------ */

.gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem 1.5rem; margin: 1rem 0 1.5rem; }
.gauge { margin: 0; text-align: center; }
.gauge__svg { display: block; width: 100%; max-width: 12rem; height: auto; margin: 0 auto; }
.gauge__track { fill: none; stroke: var(--paper-deep); stroke-width: 11; }
.gauge__fill { fill: none; stroke: var(--civic); stroke-width: 11; }
.gauge__fill--full { stroke: var(--gold); }
.gauge__text { fill: var(--ink); font-size: 17px; font-weight: 800; font-stretch: 75%; }
.gauge figcaption { font-size: 0.9rem; line-height: 1.35; }
.gauge__label { display: block; font-weight: 700; }
.gauge__caption { color: var(--ink-soft); }

.compare { display: grid; gap: 0.7rem; margin: 0 0 1.5rem; }
.compare__row { display: grid; grid-template-columns: minmax(8rem, 15rem) minmax(0, 1fr); gap: 0.15rem 1rem; align-items: center; }
.compare__label { font-size: 0.92rem; }
.compare__chart { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.75rem; margin: 0; }
.compare__svg { display: block; flex: 1 1 100%; width: 100%; height: 1.15rem; }
.compare__track { fill: var(--paper-deep); }
.compare__bar { fill: var(--steel); }
.compare__bar--above { fill: var(--civic); }
.compare__mark { stroke: var(--ink); stroke-width: 3; vector-effect: non-scaling-stroke; }
.compare__value { font-weight: 800; font-stretch: 75%; font-size: 1.15rem; }
.compare__average { color: var(--ink-soft); font-size: 0.85rem; }

/* --- Comrades at work ------------------------------------------------------------------------ */

.comrades { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(8.5rem, 100%), 1fr)); gap: 1rem; }
.comrade { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.comrade__bust { display: block; height: 5.5rem; overflow: hidden; background: var(--black); border-bottom: 4px solid var(--red); margin-bottom: 0.3rem; }
.comrade__figure { display: block; width: 4rem; height: auto; margin: 0.55rem auto 0; image-rendering: pixelated; image-rendering: crisp-edges; }
.comrade__name { font-weight: 750; overflow-wrap: anywhere; }
.comrade__job { color: var(--ink-soft); font-size: 0.88rem; }

@media (max-width: 40rem) {
  .head--l { width: 5rem; height: 5rem; }
  .avatar--l { width: 5rem; height: 5rem; }
  .award { grid-template-columns: 3.5rem 1fr; }
  .award .medal-art--l { width: 3.5rem; }
  .award-list { grid-template-columns: 1fr; }
  .citizen-poster__figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .citizen-poster__figure { height: 10rem; }
  .compare__row { grid-template-columns: 1fr; }
}
