/* A compact table keeps the current prices, news and order within reach. */
body.is-playing .topbar {
  height: 58px;
  max-width: 1560px;
  padding: 0 24px;
}
body.is-playing .brand-chicken {
  width: 46px;
  height: 46px;
}
body.is-playing #app {
  max-width: 1512px;
  width: calc(100% - 48px);
  padding: 12px 0 24px;
}
body.is-playing .game-top {
  margin: 0 0 10px;
  min-height: 46px;
}
body.is-playing .game-top h1 {
  font-size: 1.5rem;
  margin: 3px 0 0;
}
body.is-playing .game-top .eyebrow {
  font-size: .62rem;
  margin: 0;
}
body.is-playing .game-toolbar {
  gap: 12px;
}
body.is-playing .players-strip {
  margin-bottom: 12px;
  gap: 8px;
}
body.is-playing .players-strip .player-card {
  min-height: 88px;
  padding: 7px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
}
body.is-playing .player-name {
  grid-column: 1;
  grid-row: 1;
  font-size: .8rem;
}
body.is-playing .player-name .chicken-face {
  width: 25px;
  height: 25px;
}
body.is-playing .player-value {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.2rem;
  margin: 0;
}
body.is-playing .player-value > small {
  font-size: .6rem;
  margin-left: 4px;
}
body.is-playing .round-change {
  display: none;
}
body.is-playing .player-meta {
  grid-column: 1;
  grid-row: 2;
  gap: 10px;
  font-size: .68rem;
}
body.is-playing .player-state {
  grid-column: 2;
  grid-row: 2;
  font-size: .6rem;
}
body.is-playing .player-holdings {
  grid-column: 1 / -1;
  grid-row: 3;
}
body.is-playing .player-holdings .holding-row {
  margin: 0;
  padding: 0;
  gap: 4px;
}
body.is-playing .player-holdings .holding-row > span {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  padding: 2px 3px;
  border-top-width: 2px;
}
body.is-playing .player-holdings b {
  font-size: .95rem;
}
body.is-playing .player-holdings small {
  font-size: .55rem;
}
.compact-table {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(360px, 1.18fr) 280px;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 12px;
  height: clamp(460px, calc(100dvh - 238px), 740px);
}
.compact-table > [hidden] {
  display: none !important;
}
.compact-table > .panel {
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  position: relative;
  top: auto;
  margin: 0;
  padding: 14px;
}
.compact-table .section-heading {
  margin-bottom: 10px;
  gap: 8px;
}
.compact-table .section-heading h2 {
  font-size: 1.05rem;
  margin: 0;
}
.compact-table .market-heading > span {
  font-size: .57rem;
}
.compact-table .market {
  display: block;
}
.compact-table .stock-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}
.compact-table .stock-tile {
  padding: 8px 10px;
  min-height: 99px;
}
.compact-table .stock-tile > div:first-child {
  gap: 5px;
}
.compact-table .stock-tile > div:first-child strong {
  font-size: 1.35rem;
}
.compact-table .stock-tile > span {
  font-size: .72rem;
}
.compact-table .stock-tile .owned-shares {
  padding-top: 5px;
  margin-top: 6px;
  gap: 7px;
}
.compact-table .owned-shares b {
  font-size: 1.5rem;
}
.compact-table .owned-shares span {
  font-size: .68rem;
}
.compact-table .stock-tile .listing-placeholder {
  display: none;
}
.compact-table .stock-tile:disabled:not(.delisted) {
  opacity: 1 !important;
}
.compact-table .market-history {
  width: 100%;
  border-radius: 0;
  padding: 10px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
.compact-table .market-history > summary {
  display: block;
  margin: 0 0 10px;
  font-size: .75rem;
}
.compact-table .market-chart {
  width: 100%;
  height: auto;
  max-height: 225px;
  margin: 6px 0;
}
.compact-table .chart-controls {
  flex-wrap: wrap;
  gap: 5px;
}
.compact-table .chart-toggle button, .compact-table .chart-controls select {
  min-height: 32px;
  font-size: .64rem;
  padding: 6px;
}
.compact-table .chart-inspection {
  padding: 5px 0;
  gap: 5px 10px;
  min-height: 35px;
  font-size: .65rem;
}
.compact-table .delisting-band {
  margin: 8px 0 0;
  padding: 8px;
  font-size: .65rem;
}
.compact-table .delisting-band.listing-placeholder {
  display: none;
}
.compact-table .trading-panel {
  background: #fff5d1;
}
.compact-table .trading-panel .news-hint {
  min-height: 0;
  padding: 9px 10px;
  margin-bottom: 10px;
}
.compact-table .news-hint strong {
  font-size: .93rem;
  margin-top: 2px;
}
.compact-table .news-hint small {
  font-size: .66rem;
  margin-top: 2px;
}
.compact-table .action-tabs {
  margin-bottom: 10px;
}
.compact-table .action-tabs button {
  min-height: 40px;
  font-size: .75rem;
  padding: 8px 4px;
}
.compact-table .trading-panel label {
  font-size: .73rem;
  margin-bottom: 5px;
}
.compact-table .trading-panel select {
  min-height: 39px;
  padding: 8px;
  font-size: .8rem;
}
.compact-table .quantity-row {
  margin-top: 10px;
  gap: 5px;
}
.compact-table .quantity-buttons {
  gap: 4px;
}
.compact-table .quantity-buttons button {
  min-width: 31px;
  width: 31px;
  min-height: 36px;
  height: 36px;
  padding: 5px;
}
.compact-table .quantity-limit {
  font-size: .65rem;
  margin: 5px 0 8px;
}
.compact-table .order-summary {
  min-height: 56px;
  padding: 8px;
  font-size: .74rem;
}
.compact-table .order-summary > div {
  font-size: .68rem;
  margin-top: 4px;
}
.compact-table .protection-box {
  margin: 6px 0;
}
.compact-table .protection-box summary {
  font-size: .73rem;
  padding: 7px 0;
}
.compact-table .draft-status {
  margin: 6px 0;
  font-size: .62rem;
}
.compact-table .saved-order {
  font-size: .65rem;
  padding: 7px;
  margin-bottom: 8px;
}
.compact-table .primary.full {
  min-height: 44px;
  padding: 10px;
  font-size: .88rem;
}
.compact-table .solo-clock {
  margin-top: 8px;
  gap: 5px;
}
.compact-table .solo-clock select {
  width: 115px;
  min-height: 30px;
  padding: 5px;
  font-size: .68rem;
}
.compact-table .recap-panel {
  background: #faf7ed;
  padding: 10px 12px;
}
.compact-table .recap-main {
  padding: 0;
}
.compact-table .recap-heading {
  min-height: 22px;
  margin: 0 0 3px;
  gap: 8px;
}
.compact-table .recap-heading .eyebrow {
  margin: 0;
  font-size: .58rem;
}
.compact-table .recap-status {
  font-size: .59rem;
}
.compact-table .news-slot {
  height: auto;
  margin: 0;
}
.news-slot .compact-paper, .compact-paper {
  height: auto;
  padding: 70px 15px 20px;
  overflow: visible;
}
.compact-paper .reporter-head {
  width: 118px;
  height: 73px;
}
.compact-paper .held-paper {
  min-height: 0;
  height: auto;
  padding: 9px 12px;
}
.compact-paper .reporter-grip {
  width: 30px;
  height: 46px;
  top: 36%;
}
.compact-paper .left-grip {
  left: -17px;
}
.compact-paper .right-grip {
  right: -17px;
}
.compact-paper .reporter-feet {
  width: 74px;
  height: 22px;
  bottom: -20px;
}
.compact-paper .newspaper-masthead {
  padding: 3px 0 5px;
  border-top-width: 2px;
  border-bottom-width: 3px;
}
.compact-paper .newspaper-masthead > strong {
  font-size: 1.65rem;
  margin: 2px 0 0;
}
.compact-paper .newspaper-masthead > span, .compact-paper .newspaper-masthead > div {
  display: none;
}
.compact-paper .newspaper-ribbon {
  padding: 5px 0;
  font-size: .59rem;
  gap: 5px;
}
.compact-paper .newspaper-ribbon b {
  padding: 3px 5px;
  letter-spacing: .035em;
}
.compact-paper .newspaper-ribbon > span {
  font-size: .65rem;
  letter-spacing: 0;
}
.compact-paper .newspaper-front {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0 7px;
}
.compact-paper .newspaper-kicker {
  font-size: .58rem;
  margin-bottom: 5px;
}
.compact-paper .held-paper h2 {
  font-size: 1.55rem;
  line-height: 1.08;
  margin: 0 0 8px;
}
.compact-paper .newspaper-description, .compact-paper .newspaper-reason p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}
.compact-paper .newspaper-reason {
  padding: 8px 0 0;
  margin: 9px 0 0;
}
.compact-paper .newspaper-reason h3 {
  font-size: .95rem;
  margin-bottom: 5px;
}
.compact-paper .newspaper-byline {
  display: none;
}
.compact-paper .newspaper-impact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  text-align: left;
  padding: 6px 0;
  border: 0;
  border-top: 1px solid #c6bea8;
  width: 100%;
}
.compact-paper .newspaper-impact > strong {
  font-size: 1.6rem;
  margin: 0;
}
.compact-paper .newspaper-impact > b {
  font-size: .58rem;
}
.compact-paper .newspaper-impact > span, .compact-paper .newspaper-impact > p {
  display: none;
}
.compact-paper .newspaper-targets {
  justify-content: start;
  flex: 1;
  gap: 4px;
}
.compact-paper .newspaper-targets > span {
  font-size: .58rem;
  padding: 3px;
}
.compact-paper .newspaper-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 6px;
  margin: 0;
}
.compact-paper .newspaper-footer p {
  font-size: .6rem;
  margin: 0;
  flex: 1 1 130px;
  line-height: 1.4;
}
.compact-paper .newspaper-footer button {
  padding: 6px 8px;
  min-height: 30px;
  font-size: .62rem;
  border-width: 1px;
}
.news-tools {
  display: flex;
  justify-content: flex-end;
}
.news-tools .quiet {
  font-size: .67rem;
  min-height: 32px;
  padding: 6px 0;
}
.table-dice {
  display: flex;
  gap: 6px;
  align-items: center;
  border: 1px solid #e0d29c;
  background: #fff3c7;
  padding: 7px;
  border-radius: 5px;
  margin: 0 0 8px;
  min-height: 45px;
}
.table-dice .die {
  width: 28px;
  height: 28px;
  gap: 2px;
  padding: 4px;
  border-radius: 4px;
  flex: none;
}
.table-dice strong {
  font-size: .69rem;
  line-height: 1.4;
}
.compact-table .round-details {
  height: auto;
  min-height: 0;
  overflow: visible;
  padding: 0;
  background: transparent;
  border: 0;
}
.compact-table .round-details > summary {
  cursor: pointer;
  font-size: .7rem;
  font-weight: 750;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.compact-table .round-details[open] > summary {
  margin-bottom: 10px;
}
.compact-table .round-details h2 {
  font-size: 1rem;
}
.compact-table .round-details p {
  font-size: .75rem;
}
.compact-table .price-equation {
  flex-wrap: wrap;
}
.compact-table .movement-row {
  grid-template-columns: 1fr;
}
.compact-table .reveal-dice {
  padding: 10px;
}
.compact-table .reveal-dice .dice-row {
  flex-wrap: wrap;
}
.compact-table .reveal-dice .dice-row > div:not(.die) {
  flex: 1 1 140px;
}
.compact-table .next-round-placeholder {
  min-height: 0;
  padding: 5px 0;
  font-size: .65rem;
}
body.is-playing .mobile-order-bar {
  display: none;
}
body.is-playing .below-board {
  margin-top: 12px;
}
body.is-playing .activity {
  padding: 12px 16px;
}
body.is-playing .activity h2 {
  font-size: 1rem;
}
#newspaper-dialog {
  width: min(1180px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 20px;
}
#newspaper-dialog .dialog-heading {
  position: sticky;
  top: -20px;
  z-index: 5;
  background: var(--paper);
  padding: 8px 0;
  margin-bottom: 4px;
}
#newspaper-dialog .dialog-heading h2 {
  font-size: 1rem;
  margin: 0;
}
#expanded-newspaper .newspaper-holder {
  max-width: 1080px;
}
@media (max-width: 1099px) {
  body.is-playing #app {
    width: calc(100% - 24px);
    padding-top: 8px;
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }
  body.is-playing .topbar {
    height: 48px;
    padding: 0 12px;
  }
  body.is-playing .brand-chicken {
    width: 38px;
    height: 38px;
  }
  body.is-playing .brand-title {
    font-size: .65rem;
  }
  body.is-playing .header-controls {
    gap: 8px;
  }
  body.is-playing .game-top h1 {
    font-size: 1.12rem;
  }
  body.is-playing .game-top {
    min-height: 40px;
    margin-bottom: 8px;
    gap: 6px;
  }
  body.is-playing .game-toolbar {
    gap: 6px;
  }
  body.is-playing .game-toolbar .quiet {
    font-size: .65rem;
  }
  body.is-playing .round-box strong {
    font-size: 1.1rem;
  }
  body.is-playing .round-box {
    gap: 2px 5px;
  }
  body.is-playing .round-box > span {
    font-size: .55rem;
  }
  body.is-playing .players-strip {
    display: grid;
    overflow: visible;
    gap: 6px;
    margin-bottom: 8px;
  }
  body.is-playing .players-strip .player-card {
    padding: 6px 7px;
    gap: 2px 5px;
    min-height: 78px;
  }
  body.is-playing .player-name .chicken-face {
    width: 20px;
    height: 20px;
  }
  body.is-playing .player-name > strong {
    font-size: .7rem;
    max-width: 100px;
  }
  body.is-playing .player-name > span:last-child {
    display: none;
  }
  body.is-playing .player-value {
    font-size: 1rem;
  }
  body.is-playing .player-value > small {
    display: none;
  }
  body.is-playing .player-state {
    font-size: .5rem;
  }
  body.is-playing .player-meta {
    font-size: .58rem;
    gap: 6px;
  }
  body.is-playing .player-holdings .holding-row > span {
    display: grid;
    gap: 1px;
    padding: 2px 0;
  }
  body.is-playing .player-holdings small {
    font-size: .48rem;
  }
  body.is-playing .player-holdings b {
    font-size: .9rem;
  }
  .compact-table {
    display: block;
    height: max(400px, calc(100dvh - 226px - env(safe-area-inset-bottom)));
    margin: 0;
  }
  .compact-table > .panel {
    width: 100%;
  }
  .compact-table .stock-tile {
    min-height: 100px;
  }
  .compact-table .market-chart {
    max-height: 240px;
  }
  .compact-table .trading-panel {
    max-width: none;
    padding: 14px;
  }
  .compact-table .news-hint {
    display: block;
  }
  .compact-table .news-slot {
    max-width: 640px;
    margin: auto;
  }
  .compact-table .news-tools, .compact-table .table-dice, .compact-table .round-details {
    max-width: 610px;
    margin-left: auto;
    margin-right: auto;
  }
  .news-slot .compact-paper {
    padding-top: 52px;
  }
  .compact-paper .reporter-head {
    width: 88px;
    height: 55px;
  }
  .compact-paper .held-paper {
    padding: 8px 10px;
  }
  .compact-paper .held-paper h2 {
    font-size: 1.4rem;
  }
  #newspaper-dialog {
    padding: 12px;
  }
  #newspaper-dialog .dialog-heading {
    top: -12px;
  }
}
@media (max-width: 420px) {
  body.is-playing .game-top > div:first-child {
    max-width: 49%;
  }
  body.is-playing .game-top h1 {
    font-size: .95rem;
  }
  body.is-playing .game-top .eyebrow {
    font-size: .52rem;
  }
  body.is-playing .game-toolbar {
    display: grid;
    grid-template-columns: auto auto;
    gap: 2px 8px;
  }
  body.is-playing .game-toolbar .round-box {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
  }
  body.is-playing .players-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.is-playing .player-name {
    gap: 3px;
  }
  body.is-playing .player-holdings .holding-row {
    gap: 2px;
  }
  .compact-table .recap-panel {
    padding: 8px;
  }
  .compact-paper .held-paper h2 {
    font-size: 1.3rem;
  }
  .compact-paper .newspaper-front {
    padding-top: 7px;
  }
  .compact-paper .newspaper-reason h3 {
    font-size: .9rem;
  }
}
body.is-playing .game-toolbar .round-box {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
body.is-playing .game-toolbar .round-box > span {
  font-size: .65rem;
}
body.is-playing .players-strip .player-card {
  grid-template-rows: 25px 14px 24px;
}
.compact-table .order-commit {
  position: sticky;
  bottom: -14px;
  z-index: 3;
  padding: 3px 0 8px;
  background: #fff5d1;
}
.compact-table .table-dice {
  min-height: 34px;
  padding: 4px 6px;
  margin-bottom: 3px;
}
.compact-table .table-dice .die {
  width: 24px;
  height: 24px;
}
.compact-table .table-dice strong {
  font-size: .64rem;
}
body.is-playing #app {
  margin: 0 auto;
}
.compact-table .trading-panel {
  display: flex;
  flex-direction: column;
}
.compact-table .trading-panel > .section-heading, .compact-table .solo-clock {
  flex: none;
}
.compact-table .trade-fields {
  min-height: 0;
  flex: 1;
  overflow: auto;
  padding: 2px 1px;
}
.compact-table .quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.compact-table .quantity-row label {
  margin: 0;
}
.compact-table .order-commit {
  position: static;
  flex: none;
  padding: 5px 0 0;
}
.compact-table .saved-order b {
  display: inline;
  margin: 0;
}
.compact-table .recap-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 30px;
}
.compact-table .recap-status {
  display: none;
}
.compact-table .news-tools {
  margin: 0;
}
.compact-table .news-tools .quiet {
  min-height: 30px;
  padding: 4px 0;
}
.compact-paper .newspaper-footer button {
  width: auto;
  flex: none;
}
.compact-table .trading-panel .news-hint {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 6px;
  padding: 6px 8px;
}
.compact-table .news-hint > span {
  font-size: .58rem;
}
.compact-table .news-hint strong {
  grid-column: 2;
  grid-row: 1;
  font-size: .78rem;
  margin: 0;
  text-align: right;
}
.compact-table .news-hint small {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .64rem;
}
@media (max-width: 1099px) {
  .news-slot .compact-paper {
    padding-top: 44px;
  }
  .compact-paper .reporter-head {
    width: 75px;
    height: 47px;
  }
}

/* One continuous table: news is on the main surface at every screen width. */
@media (max-width: 1099px) {
  body.is-playing #app {
    padding-bottom: 24px;
  }
  .compact-table {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
    grid-template-areas: "news market" "news trade";
    grid-template-rows: auto auto;
    gap: 12px;
    height: auto;
    align-items: start;
  }
  .compact-table > .panel {
    height: auto;
    min-height: 0;
  }
  .compact-table .recap-panel {
    grid-area: news;
    height: clamp(610px, calc(100dvh - 226px), 740px);
    position: sticky;
    top: 12px;
  }
  .compact-table .market {
    grid-area: market;
  }
  .compact-table .trading-panel {
    grid-area: trade;
    height: 590px;
  }
  .compact-table .market-history {
    margin-bottom: 0;
  }
}
@media (max-width: 740px) {
  .compact-table {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "news" "market" "trade";
  }
  .compact-table .recap-panel {
    position: relative;
    top: auto;
  }
}

/* Softly handled paper: the irregular silhouette never clips live text. */
.held-paper,
.news-slot .held-paper {
  isolation: isolate;
  border-color: transparent;
  border-radius: 9px 5px 12px 7px;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(2px 5px 5px #20202020);
}
.held-paper::before {
  content: "";
  position: absolute;
  inset: -3px -4px -5px;
  z-index: -2;
  pointer-events: none;
  border-radius: 9px 5px 12px 7px;
  clip-path: polygon(
    1% 1.1%, 14% .4%, 29% 1%, 43% .2%, 58% .9%, 73% .3%, 88% .8%, 98.5% 0,
    99.3% 3%, 98.9% 18%, 99.8% 34%, 99.2% 49%, 100% 66%, 99.3% 82%, 99.8% 97.7%,
    97% 99.2%, 82% 98.7%, 67% 99.8%, 52% 99.1%, 37% 100%, 22% 99.1%, 7% 99.7%, .5% 98.3%,
    1.1% 83%, .2% 67%, .8% 51%, 0 36%, .9% 20%, .3% 5%
  );
  background:
    linear-gradient(91deg, transparent 46%, #9090900c 49%, #ffffff80 50%, #77777718 50.8%, transparent 54%),
    linear-gradient(174deg, transparent 28%, #88888808 29%, #ffffff55 29.8%, transparent 31%),
    radial-gradient(ellipse at 2% 85%, #b6b6b618, transparent 38%),
    radial-gradient(ellipse at 95% 4%, #ffffff, transparent 40%),
    repeating-linear-gradient(0deg, #00000003 0 1px, transparent 1px 4px),
    #f5f5f2;
}
.held-paper::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 25px;
  height: 23px;
  pointer-events: none;
  z-index: 2;
  border-radius: 2px 5px 3px 9px;
  clip-path: polygon(0 0, 100% 100%, 0 92%);
  transform: rotate(7deg);
  background: linear-gradient(135deg, #88888825, #d7d7d2 46%, #ffffff 53%, #ecece8);
  box-shadow: -2px 3px 4px #30303020;
}
@media (max-width: 740px) {
  .held-paper::after {
    width: 19px;
    height: 18px;
  }
}

/* Keep spendable cash separate from the portfolio total (cash + stocks). */
body.is-playing .players-strip .player-card {
  grid-template-rows: auto auto auto auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
}
body.is-playing .player-name {
  grid-column: 1 / -1;
}
.player-finances {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.player-finances > div {
  display: flex;
  flex-direction: column;
  padding: 5px 8px;
  border-radius: 6px;
  background: #f4f2e9;
}
.player-finances .cash-metric {
  background: #eaf5e9;
}
.player-finances small {
  font-size: .68rem;
  font-weight: 700;
  color: #514d43;
}
body.is-playing .player-finances strong {
  text-align: left;
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 2px 0;
  font-variant-numeric: tabular-nums;
}
.player-finances .cash-metric strong {
  color: #285e39;
}
.player-finances .portfolio-metric > span {
  font-size: .62rem;
  color: #514d43;
}
body.is-playing .player-meta,
body.is-playing .player-state {
  grid-row: 3;
  margin: 0;
  align-self: center;
}
body.is-playing .player-holdings {
  grid-row: 4;
}
body.is-playing .game-toolbar .round-box > #timer,
body.is-playing #trade-timer {
  font-size: 1.4rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: #332b14;
  background: #ffeb9b;
  border: 2px solid #d2ae3f;
  border-radius: 8px;
  padding: 5px 10px;
  min-width: 66px;
  text-align: center;
}
body.is-playing .game-toolbar .round-box > #timer.urgent,
body.is-playing #trade-timer.urgent {
  background: #ffe0da;
  border-color: #b33831;
  color: #9e2923;
}
body.is-playing .game-toolbar .round-box > #timer:not(.counting),
body.is-playing #trade-timer:not(.counting) {
  font-size: .72rem;
}
@media (max-width: 740px) {
  .player-finances { gap: 4px; }
  .player-finances > div { padding: 4px 5px; }
  .player-finances small { font-size: .6rem; }
  body.is-playing .player-finances strong { font-size: 1.25rem; }
  .player-finances .portfolio-metric > span { font-size: .55rem; }
  body.is-playing .game-toolbar .round-box { flex-wrap: wrap; justify-content: flex-end; }
  body.is-playing .game-toolbar .round-box > #timer { font-size: 1.25rem; padding: 4px 7px; min-width: 58px; }
}
@media (max-width: 740px) {
  .compact-table .chart-inspection {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 50px;
    gap: 4px;
  }
  .compact-table .chart-inspection > strong { grid-column: 1 / -1; }
  .compact-table .chart-inspection > span { white-space: nowrap; }
}

/* Neutral newsprint, with colored news badges kept as clear signals. */
.held-paper { color: #292929; }
.held-paper .newspaper-reason,
.held-paper .newspaper-impact { border-top-color: #bfbfba; }
.held-paper .newspaper-footer { border-color: #949490; }
.held-paper .newspaper-footer p,
.held-paper .newspaper-byline,
.held-paper .news-effect-note { color: #62625e; }
