/* Interface consolidada: base, tabuleiro, cenas, movimento e acessibilidade. */
:root {
  font-family: Inter,Arial,Helvetica,sans-serif;
  font-size: 16px;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,input,select {
  font: inherit;
}
button,a,input,select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 9px;
  padding: .65rem .85rem;
  line-height: 1.3;
  font-size: .88rem;
  font-weight: 650;
}
button:hover:not(:disabled) {
  border-color: #8b9cab;
  background: #edf2f5;
}
button { transition:background .15s,border-color .15s,box-shadow .15s,transform .15s; }
button.primary { box-shadow:0 3px 0 #0a414d; }
button.primary:hover:not(:disabled) { transform:translateY(-1px); }
button.primary:active:not(:disabled) { transform:translateY(2px); box-shadow:none; }
button:disabled {
  opacity: .46;
  cursor: not-allowed;
}
button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
button.primary:hover:not(:disabled) {
  background: #2c4963;
}
button.gold {
  background: var(--accent);
  border-color: var(--accent);
}
button.danger {
  color: #9e263d;
  border-color: #e4b5bf;
}
button.quiet {
  border-color: transparent;
  background: transparent;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid #157ca0;
  outline-offset: 3px;
}
a {
  color: inherit;
}
input,select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #b9c9d5;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: .55rem .7rem;
}
input[type=checkbox] {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--ink);
}
label {
  font-size: .9rem;
  line-height: 1.5;
}
small {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
}
h1,h2,h3,p {
  margin: 0;
}
h1 {
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -.055rem;
}
h2 {
  font-size: 1.3rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.05rem;
}
p {
  line-height: 1.6;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  font-size: .65rem;
  line-height: 1.4;
  letter-spacing: .1rem;
}
.brand strong {
  font-size: .95rem;
  letter-spacing: .07rem;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 2.2rem;
  line-height: 1;
}
.header-tag {
  font-size: .72rem;
  letter-spacing: .15rem;
  color: var(--muted);
}
nav {
  display: flex;
  gap: .35rem;
}
.eyebrow {
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .11rem;
  text-transform: uppercase;
  color: var(--muted);
}
.tile-price {
  font-weight: 700;
}
.board-tile {
  cursor: pointer;
}
.construction-symbol {
  font-size: 18px;
  fill: #172b40;
}
.mortgage-symbol {
  font-size: 15px;
  fill: #9e263d;
  font-weight: bold;
}
.panel {
  border: 1px solid var(--line);
  padding: 1.2rem;
}
.setup-panel {
  padding: 1.4rem;
}
.setup-panel h2 {
  margin: .4rem 0 .65rem;
}
.setup-panel .intro {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.form-stack {
  display: grid;
}
.form-stack label {
  display: grid;
  gap: .3rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}
.check-line {
  display: flex!important;
  align-items: center;
  gap: .5rem!important;
}
.team-input {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: .45rem;
  align-items: center;
}
.team-dot {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-weight: 750;
  font-size: .8rem;
}
.button-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
}
.full {
  width: 100%;
}
.setup-footer {
  margin-top: .5rem;
}
.saved-card {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 1rem;
  display: grid;
  gap: .55rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: .26rem .6rem;
  font-size: .78rem;
  font-weight: 650;
  gap: .35rem;
}
.turn-panel h2 {
  margin: .5rem 0 .65rem;
}
.turn-panel p {
  font-size: .9rem;
}
.dice-row {
  display: flex;
  align-items: center;
}
.die {
  display: grid;
  place-items: center;
  min-width: 55px;
  height: 55px;
  border-radius: 12px;
  background: #ffffff12;
  border: 1px solid #ffffff28;
  font-size: 1.8rem;
  font-weight: 800;
}
.turn-panel .primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  flex: 1;
}
.turn-panel .primary:hover {
  background: #f4c975;
}
.players {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.player-card {
  position: relative;
  border: 1px solid var(--line);
}
.player-heading {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.player-heading h3 {
  flex: 1;
  overflow-wrap: anywhere;
}
.player-heading .token {
  display: grid;
  place-items: center;
  color: white;
  font-size: .9rem;
  font-weight: 800;
}
.player-money {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.045rem;
  margin: .45rem 0 .1rem;
}
.player-money span {
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--muted);
}
.player-meta {
  justify-content: space-between;
  color: var(--muted);
}
.bankrupt .player-money {
  color: #9e263d;
}
.session-bar {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  margin: .7rem 0;
  font-size: .84rem;
  color: var(--muted);
}
.history {
  display: grid;
  gap: .5rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}
.history p {
  font-size: .82rem;
  line-height: 1.45;
  color: var(--muted);
}
.compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.compact-actions button {
  flex: 1;
  font-size: .8rem;
}
.empty {
  padding: 1rem;
  text-align: center;
  background: var(--paper);
  border-radius: 8px;
  color: var(--muted);
  font-size: .9rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.dialog-head h2 {
  margin-top: .3rem;
}
.dialog-head button {
  flex-shrink: 0;
}
.dialog-footer small {
  margin-right: auto;
}
.challenge-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 1.7rem;
}
.text-side {
  border-right: 1px solid var(--line);
  padding-right: 1.7rem;
}
.reading-text {
  font-size: var(--reading-size);
  line-height: 1.85;
}
.reading-text .segment {
  display: block;
  text-align: left;
  padding: .45rem .55rem;
  margin: .15rem 0;
  border: 1px solid transparent;
  background: transparent;
  font-weight: 400;
  border-radius: 8px;
  color: var(--ink);
  font-size: inherit;
  line-height: inherit;
  width: 100%;
}
.reading-text .segment.static {
  cursor: default;
  padding: .25rem 0;
}
.reading-text .segment.accepted {
  border-color: #32805f;
  background: #eaf5ef;
}
.reading-text .segment.missed {
  border-color: #b44f6b;
  background: #fbeef2;
}
.segment-num {
  font-size: .73rem;
  font-weight: 750;
  display: inline-block;
  min-width: 1.25rem;
  vertical-align: baseline;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-bottom: .8rem;
}
.route-list {
  display: grid;
  gap: .7rem;
  margin-top: 1rem;
}
.route-option {
  display: flex;
  gap: .75rem;
  align-items: center;
  text-align: left;
  padding: 1rem;
  border-radius: 12px;
}
.route-icon {
  font-size: 1.7rem;
  color: #9b720e;
  width: 30px;
  text-align: center;
}
.route-option strong {
  display: block;
  font-size: 1rem;
  margin-bottom: .2rem;
}
.route-option small {
  display: block;
}
.route-reward {
  margin-left: auto;
  white-space: nowrap;
}
.suggestion {
  padding: .65rem .8rem;
  background: #edf2f5;
  border-radius: 9px;
  font-size: .84rem;
  color: var(--muted);
  margin: .8rem 0;
}
.question-title {
  font-size: 1.18rem;
  line-height: 1.45;
  margin: .75rem 0 1rem;
}
.answers {
  display: grid;
  gap: .65rem;
}
.answer-option {
  display: flex;
  gap: .7rem;
  text-align: left;
  align-items: flex-start;
  font-weight: 500;
}
.answer-option .letter {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  min-width: 25px;
  height: 25px;
  font-size: .78rem;
  font-weight: 750;
}
.hint-box {
  padding: .85rem;
  background: #fff5da;
  border: 1px solid #e8d4a1;
  border-radius: 10px;
  font-size: .95rem;
  line-height: 1.55;
  margin-top: .9rem;
}
.step-label {
  font-size: .78rem;
  letter-spacing: .1rem;
  color: var(--muted);
  font-weight: 700;
}
.evidence-instruction {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--muted);
  margin: .6rem 0;
}
.feedback-title {
  font-size: 1.5rem;
  line-height: 1.2;
  margin: .5rem 0 .85rem;
}
.feedback {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #b8d7c6;
  background: #eff8f2;
}
.feedback.failure {
  background: #fbf1f4;
  border-color: #e7bdc7;
}
.feedback p {
  font-size: 1rem;
  line-height: 1.7;
}
.feedback .reward {
  font-size: 1.7rem;
  font-weight: 800;
  margin-top: .5rem;
}
.answer-correction {
  font-size: .93rem;
  margin: 1rem 0;
  padding: .75rem;
  border-left: 3px solid #8fa4b5;
  background: var(--paper);
}
.visual-table {
  width: 100%;
  border-collapse: collapse;
  margin: .8rem 0;
}
.visual-table th,.visual-table td {
  border: 1px solid var(--line);
  text-align: left;
}
.bars {
  margin: .8rem 0;
}
.bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 35px;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  margin: .5rem 0;
}
.bar-track {
  background: #edf2f5;
  border-radius: 4px;
  height: 20px;
}
.bar-value {
  background: #9b720e;
  height: 100%;
  border-radius: 4px;
}
.comic {
  display: grid;
  gap: .65rem;
  margin-bottom: .75rem;
}
.comic-panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: .75rem;
  background: #f7f9fa;
}
.comic-panel blockquote {
  margin: .5rem 0;
  font-weight: 650;
  line-height: 1.5;
  font-size: 1rem;
}
.property-hero {
  border-left: 6px solid var(--district-color,#526778);
  padding-left: 1rem;
  margin-bottom: 1rem;
}
.property-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1rem 0;
}
.property-table div {
  padding: .65rem;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.property-table div:nth-child(even) {
  text-align: right;
  font-weight: 750;
}
.asset-list {
  display: grid;
  gap: .85rem;
}
.asset-card {
  border: 1px solid var(--line);
  border-left: 5px solid var(--district-color);
  padding: 1rem;
  border-radius: 10px;
  display: grid;
  gap: .5rem;
}
.asset-card h3 {
  font-size: 1rem;
}
.asset-meta {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--muted);
}
.asset-actions {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
}
.asset-actions button {
  font-size: .8rem;
}
.district-status {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  padding: .7rem 0;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.notice {
  padding: 1rem;
  border-radius: 10px;
  line-height: 1.6;
  font-size: .95rem;
  margin-bottom: 1rem;
}
.debt-amount {
  font-size: 2.4rem;
  font-weight: 800;
  margin: .6rem 0;
}
.trade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.trade-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}
.trade-box label {
  display: flex;
  gap: .5rem;
  align-items: center;
  margin: .65rem 0;
  font-size: .88rem;
}
.trade-box .money-label {
  display: grid;
  align-items: stretch;
}
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}
.rules-grid section {
  border-top: 2px solid var(--line);
  padding-top: .8rem;
}
.rules-grid h3 {
  margin-bottom: .45rem;
}
.rules-grid p,.rules-grid li {
  font-size: .95rem;
  line-height: 1.7;
}
.rules-grid ol {
  padding-left: 1.2rem;
  margin: .4rem 0;
}
.report-intro {
  padding: 1.5rem;
  background: var(--ink);
  color: white;
  border-radius: 16px;
  margin-bottom: 1.3rem;
}
.report-intro .eyebrow {
  color: #d8e3ec;
}
.report-intro h1 {
  font-size: 2rem;
  margin: .6rem 0;
}
.report-intro p {
  color: #d8e3ec;
  font-size: .95rem;
}
.report-cards {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
}
.report-card h2 {
  margin: .5rem 0 1rem;
}
.report-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.report-metrics div {
  padding: .7rem;
  background: var(--paper);
  border-radius: 8px;
  font-size: .78rem;
  color: var(--muted);
}
.report-metrics strong {
  display: block;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: .25rem;
}
.report-table {
  width: 100%;
  border-collapse: collapse;
  margin: .85rem 0;
  font-size: .88rem;
}
.report-table th,.report-table td {
  text-align: left;
  padding: .5rem .25rem;
  border-bottom: 1px solid var(--line);
}
.report-table th {
  color: var(--muted);
  font-size: .78rem;
}
.report-note {
  font-size: .85rem;
  color: var(--muted);
  margin: .7rem 0;
}
.skill-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .86rem;
  padding: .4rem 0;
}
.access-list {
  display: grid;
  gap: 1.1rem;
}
.access-list label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  max-width: calc(100vw - 32px);
  background: #172b40;
  color: white;
  padding: .9rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 6px 30px #172b4030;
  font-size: .9rem;
}
.high-contrast .tile-name,.high-contrast .tile-price,.high-contrast .tile-number {
  fill: #07101a;
}
.high-contrast button {
  border-color: #314b60;
}
.high-contrast .panel,.high-contrast .player-card {
  border-color: #314b60;
}
.focused-board .city-board {
  min-width: 900px;
  max-height: none;
}
.focused-board {
  max-height: 70vh;
}
.inline-error {
  color: #9e263d;
  font-size: .9rem;
  line-height: 1.5;
  margin-top: .7rem;
}
.recent-reports {
  display: grid;
  gap: .55rem;
  margin-top: .7rem;
}
.recent-reports button {
  text-align: left;
  font-size: .8rem;
}
@keyframes pawn-in {
  from {
    opacity: .6;
  }
  to {
    opacity: 1;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    animation: none!important;
    scroll-behavior: auto!important;
  }
}

@media(max-width:1120px) {
  .header-tag {
    display: none;
  }
  .tile-name {
    font-size: 14px;
  }
}
@media(max-width:850px) {
  .setup-panel {
    grid-column: 1/-1;
    max-width: 560px;
    width: 100%;
    margin: auto;
  }
  .sidebar .session-panel {
    grid-column: 1/-1;
  }
  .challenge-grid {
    grid-template-columns: 1fr;
  }
  .text-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 1rem;
  }
  .rules-grid {
    grid-template-columns: 1fr;
  }
  .dialog-head,.dialog-body {
    padding: 1.1rem;
  }
}
@media(max-width:550px) {
  .brand {
    font-size: .55rem;
    gap: .35rem;
  }
  .brand strong {
    font-size: .75rem;
  }
  .brand-symbol {
    width: 33px;
    height: 33px;
  }
  .app-header nav button {
    padding: .5rem;
  }
  .sidebar .session-panel {
    grid-column: auto;
  }
  .players {
    display: grid;
  }
  .player-card {
    padding: .65rem;
  }
  .player-meta {
    font-size: .73rem;
    flex-wrap: wrap;
  }
  .report-cards,.trade-grid {
    grid-template-columns: 1fr;
  }
  .report-intro h1 {
    font-size: 1.6rem;
  }
  .dialog-footer small {
    flex-basis: 100%;
  }
  .report-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media print {
  .app-header,.button-row,.dialog-footer,.toast {
    display: none;
  }
  .report-cards {
    display: block;
  }
  .report-card {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
  body {
    background: white;
  }
}
:root {
  --ink: #193c46;
  --muted: #65706a;
  --paper: #e9dfcc;
  --white: #f8f0df;
  --line: #d3c6ad;
  --accent: #d4aa54;
  --reading-size: 1.16rem;
  background: #e9dfcc;
}
body {
  background: radial-gradient(ellipse at 20% 0,#f5ecd9,transparent 65%),#e9dfcc;
}
.brand-symbol {
  background: #294d52;
  color: #e1be72;
  border: 1px solid #5a7170;
}
.app-header .header-tag {
  color: #d7c7a5;
}
.app-header button {
  color: #f6ead0;
  background: #ffffff08;
  border-color: #63716a;
}
.app-header button:hover:not(:disabled) {
  background: #ffffff18;
  color: #fff5df;
}
.app-header nav {
  gap: .5rem;
}
#access-button {
  min-width: 44px;
}
.tile-name {
  fill: #193c46;
  font-size: 12px;
  font-weight: 700;
}
.tile-price {
  fill: #52645b;
  font-size: 10px;
}
.tile-number {
  fill: #63705c;
  font-size: 11px;
}
.board-tile:hover path:first-of-type,.board-tile:focus path:first-of-type {
  fill: #e7d4a6;
  stroke: #193c46;
  stroke-width: 2;
}
.panel {
  background: #f4ead6;
  border-color: #d3c6ad;
  border-radius: 16px;
  box-shadow: 0 5px 14px #554c2a07;
}
.chip {
  background: #f4ead6;
  border-color: #d3c6ad;
}
.setup-panel {
  background: #f6ecd9;
}
.setup-panel .intro {
  margin: .7rem 0 1rem;
}
.setup-label {
  margin: 1rem 0 .7rem;
  font-size: 1rem;
}
.launch-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
  margin: .9rem 0;
}
.launch-menu button:first-child {
  grid-column: 1/-1;
  padding: .8rem;
}
.launch-menu button {
  font-size: .8rem;
}
.form-stack {
  gap: .65rem;
}
.form-stack input,.form-stack select {
  background: #fff9ed;
  border-color: #c5b692;
}
.team-dot {
  width: 27px;
  height: 27px;
  box-shadow: 0 3px 0 #2d403317;
}
.legacy-notice {
  font-size: .8rem;
  background: #ece2c8;
  border: 1px solid #c9b688;
  margin: 1rem 0 0;
}
.turn-panel {
  background: #193c46;
  color: #fff5df;
  border-color: #193c46;
  box-shadow: 0 6px 16px #193c4615;
}
.turn-panel h2 {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.4rem;
}
.turn-panel .eyebrow,.turn-panel small {
  color: #d6c5a6;
}
.turn-panel p {
  color: #eee4cc;
}
.dice-row {
  min-height: 54px;
  margin: .9rem 0 .6rem;
  gap: 1rem;
}
.dice-summary {
  font-size: .8rem!important;
  letter-spacing: .03rem;
}
.mini-dice-pair {
  display: flex;
  gap: .7rem;
  align-items: center;
  padding: .25rem;
}
.player-card {
  background: #f7edda;
  border-color: #cfc1a5;
  border-radius: 13px;
  padding: .8rem 1rem;
}
.player-card.active {
  border-color: var(--team-color);
  box-shadow: inset 4px 0 var(--team-color),0 4px 12px #193c4610;
}
.player-heading .token {
  border-radius: 9px;
  width: 31px;
  height: 31px;
  box-shadow: 0 3px 0 #213c4322;
}
.token svg {
  width: 21px;
  height: 21px;
}
.player-heading h3 {
  font-size: .94rem;
}
.player-money {
  color: #193c46;
}
.player-money>strong {
  font-variant-numeric: tabular-nums;
}
.cash-changing {
  color: #936e20;
}
.player-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .2rem;
  font-size: .77rem;
}
.player-finance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .55rem;
  padding-top: .45rem;
  border-top: 1px solid var(--line);
  gap: .3rem;
}
.player-finance small {
  font-size: .73rem;
}
.finance-status {
  font-size: .65rem;
  border-radius: 20px;
  background: #e3e8d2;
  color: #405d47;
  padding: .2rem .45rem;
  font-weight: 700;
}
.status-debt {
  background: #eed2bf;
  color: #803e37;
}
.bankrupt {
  filter: saturate(.5);
  background: #e6dcc8;
}
.bankrupt .player-money {
  font-size: 1.1rem;
}
.property-art {
  display: inline-block;
  width: 100%;
  aspect-ratio: 1;
  background-image: var(--art-url);
  background-size: 500% 200%;
  background-position: var(--art-x) var(--art-y);
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.asset-heading {
  display: flex;
  gap: .8rem;
  align-items: center;
}
.asset-heading .property-art {
  width: 70px;
}
.asset-card {
  background: #f9f1e2;
}
.property-hero {
  position: relative;
  min-height: 105px;
  padding-right: 125px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.property-hero>.property-art {
  position: absolute;
  right: 0;
  top: 0;
  width: 110px;
}
.inspector-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}
.inspector-head .property-art {
  width: 64px;
}
.inspector-head h3 {
  font-size: 1rem;
}
.inspector-head>div {
  flex: 1;
}
.inspector-head .eyebrow {
  font-size: .6rem;
}
.inspector-head button {
  padding: .3rem .5rem;
  font-size: 1.2rem;
}
.property-inspector p {
  font-size: .8rem;
}
.inspector-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
  margin: .6rem 0;
}
.inspector-values span {
  padding: .45rem;
  background: #eee2c8;
  border-radius: 6px;
}
.inspector-values strong {
  display: block;
}
.property-inspector>button {
  font-size: .75rem;
  margin-top: .45rem;
  padding: .4rem 0;
}
.notice {
  background: #ebe2cc;
  color: #29464c;
}
.dialog-body .property-table {
  background: #fff6e6;
  border-radius: 9px;
}
.scene-progress li>span {
  display: grid;
  place-items: center;
  border: 1px solid #cfc2a9;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  font-size: .7rem;
}
.scene-progress .current {
  color: var(--scene-accent);
  font-weight: 800;
}
.scene-progress .current>span {
  background: var(--scene-accent);
  border-color: var(--scene-accent);
  color: #fff5df;
  box-shadow: 0 0 0 3px #daceb66b;
}
.scene-progress .complete {
  color: #567269;
}
.scene-progress .complete>span {
  background: #e0e4ce;
  border-color: #bcc7ae;
}
.encounter-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: 2rem;
}
.encounter-art {
  border-radius: 50%;
  background: radial-gradient(circle,#e1d3aa,transparent 70%);
  text-align: center;
}
.encounter-art .property-art {
  width: min(100%,270px);
  filter: none;
}
.encounter-copy h3 {
  font-size: 1.7rem;
  margin: .9rem 0;
  line-height: 1.25;
  letter-spacing: -.04em;
}
.encounter-copy p {
  font-size: 1.05rem;
}
.deck-emblem {
  display: block;
  font-size: 180px;
  color: #be9843;
  line-height: 1.5;
}
.scene-reading {
  background: #fcf4e4;
}
.reading-tools {
  display: flex;
  justify-content: flex-end;
  gap: .3rem;
  margin-bottom: .6rem;
}
.reading-bottom {
  padding: .9rem 0;
  margin-top: 1rem;
  color: #697566;
  font-size: .86rem;
  border-top: 1px solid var(--line);
}
.route-scene-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}
.route-scene-card {
  --route-color: #2d7784;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-height: 245px;
  padding: 1.4rem;
  background: #eee8d9;
  border: 1px solid #b4c6b6;
  border-top: 5px solid var(--route-color);
  border-radius: 14px;
  font-weight: 400;
  transition: transform .15s ease,box-shadow .15s;
}
.route-mark {
  font-size: 2.1rem;
  color: var(--route-color,#96711e);
  margin-bottom: .4rem;
  line-height: 1;
}
.route-scene-card h3 {
  font-size: 1.4rem;
  color: var(--route-color);
  margin: .35rem 0 .65rem;
}
.route-scene-card p {
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}
.route-scene-card strong {
  font-size: 1rem;
}
.route-scene-card small {
  margin-top: .8rem;
  font-size: .68rem;
}
.route-conectar {
  --route-color: #9a752e;
  background: #eee3ca;
  border-color: #cdbc96;
}
.route-entrelinhas {
  --route-color: #88556e;
  background: #ebe0dc;
  border-color: #c9b0b9;
}
.rent-brief {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: .8rem 1rem;
  background: #e6ddc3;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.rent-brief strong {
  font-size: 1.5rem;
}
.rent-brief small {
  margin-left: auto;
}
.question-scene-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.6rem;
}
.question-scene .question-title {
  margin: .2rem 0 1rem;
  font-size: 1.35rem;
}
.text-reference {
  padding: 1rem 1.2rem;
  border: 1px solid #d8caae;
  background: #efe7d5;
  border-radius: 12px;
}
.text-reference h3 {
  margin: .45rem 0;
}
.text-reference .reading-text {
  font-size: 1rem;
  line-height: 1.65;
}
.text-reference .segment.static {
  padding: .35rem 0;
}
.answer-option {
  background: #fff5e3;
  border-color: #d2c2a0;
  border-radius: 11px;
  padding: 1rem;
  animation: answer-enter .22s ease-out both;
  animation-delay: calc(var(--answer-order)*35ms);
}
.answer-option:hover:not(:disabled) {
  background: #eee4cb;
}
.answer-option.selected {
  border-color: var(--scene-accent);
  background: #e4e9d8;
  box-shadow: inset 4px 0 var(--scene-accent);
}
.answer-option .letter {
  border-color: #c2b394;
}
.evidence-text {
  font-size: 1.2rem;
  line-height: 1.8;
}
.reading-text .segment.selectable:hover {
  background: #e9e3cb;
  border-color: #5f8e84;
}
.reading-text .segment.selected {
  background: #dce8d3;
  border-color: #4b8274;
  box-shadow: inset 5px 0 #4b8274;
}
.segment-num {
  color: #697961;
}
.economic-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 1.4rem;
  align-items: stretch;
}
.protection-card {
  padding: 1.4rem;
  background: #193c46;
  color: #f7ead0;
  border-radius: 15px;
  text-align: center;
}
.protection-card>.route-mark {
  display: block;
  color: #e0ba65;
  font-size: 2.7rem;
}
.protection-card>strong {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -.05em;
  color: #edd08e;
}
.protection-card h3 {
  font-size: 1.1rem;
  margin: .6rem 0;
}
.protection-card p {
  font-size: .85rem;
  color: #e3d9bf;
}
.rent-receipt {
  background: #fff6e5;
  border: 1px dashed #bdaa81;
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 8px 18px #736f4812;
}
.rent-receipt>div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid #d9c8a3;
  font-size: 1.05rem;
}
.rent-receipt .discount-line {
  color: #397760;
}
.rent-receipt .receipt-total {
  font-size: 1.25rem;
  border-bottom: 3px double #bcaa82;
  font-weight: 700;
}
.rent-receipt small {
  display: block;
  margin: .8rem 0;
  font-size: .75rem;
}
.rent-receipt p {
  font-size: .85rem;
}
.strategic-result {
  text-align: center;
  max-width: 640px;
  margin: auto;
  padding: .5rem 0 1rem;
}
.strategic-result .property-art {
  width: 200px;
  display: block;
  margin: auto;
}
.strategic-result h3 {
  font-size: 1.8rem;
  margin: 1rem 0;
  color: #936d26;
}
.strategic-result p {
  font-size: 1.1rem;
  line-height: 1.8;
}
.strategy-seal {
  font-size: 70px;
  color: #b39852;
}
.quick-tutorial {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: .8rem;
  margin-bottom: 1.6rem;
}
.quick-tutorial section {
  background: #e9dfc6;
  border-radius: 12px;
  padding: 1rem;
}
.quick-tutorial span {
  font-size: 2rem;
  color: #997328;
}
.quick-tutorial h3 {
  font-size: .95rem;
  margin: .4rem 0;
}
.quick-tutorial p {
  font-size: .82rem;
  line-height: 1.6;
}
.audio-controls {
  display: grid;
  gap: .5rem;
  border: 1px solid #cbb894;
  padding: 1rem;
  border-radius: 10px;
  background: #eee4ce;
}
.audio-controls label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}
.audio-controls input[type=range] {
  accent-color: #193c46;
  padding: 0;
  min-height: 30px;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.access-list>label {
  padding: .5rem 0;
  border-bottom: 1px solid #dacbae;
}
.visual-table {
  background: #fff6e4;
  font-size: 1rem;
  border: 1px solid #c8b38c;
}
.visual-table caption {
  padding: .6rem;
  font-weight: 700;
  text-align: left;
  color: #6e652f;
}
.visual-table thead {
  background: #294d52;
  color: #fff6df;
}
.visual-table th,.visual-table td {
  border-color: #cdbf9d;
  padding: .6rem .7rem;
}
.visual-table tbody tr:nth-child(even) {
  background: #eee5cd;
}
.column-chart {
  display: flex;
  align-items: flex-end;
  gap: 1.6rem;
  justify-content: center;
  padding: 1rem 1rem .5rem;
  border-bottom: 2px solid #b8ab88;
}
.chart-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
}
.chart-column>div {
  width: 45px;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(#2c8590,#193c46);
  min-height: 4px;
}
.chart-column strong {
  font-size: .82rem;
}
.chart-column span {
  font-size: .75rem;
}
.infograph {
  background: #e8e3cd;
  border-radius: 12px;
  padding: 1rem;
}
.infograph figcaption {
  font-size: 1rem;
  font-weight: 700;
}
.chart-note {
  font-size: .75rem;
  line-height: 1.5;
  margin-top: .5rem;
}
.comic-strip {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .6rem;
  margin: .8rem 0;
}
.comic-frame {
  position: relative;
  min-height: 195px;
  border: 2px solid #294d52;
  border-radius: 4px;
  background: #e6dcc2;
  padding: .8rem;
  text-align: center;
  overflow: hidden;
}
.comic-number {
  position: absolute;
  top: 0;
  left: 0;
  padding: .15rem .45rem;
  background: #294d52;
  color: #fff3d7;
  font-size: .65rem;
}
.comic-scene-symbol {
  font-size: 2.1rem;
  color: #6b8274;
  line-height: 1.2;
  margin: .3rem;
}
.comic-frame blockquote {
  position: relative;
  background: #fff7e6;
  border: 1px solid #8c9d8d;
  border-radius: 12px;
  padding: .5rem;
  margin: .6rem 0;
  font-size: .8rem;
  line-height: 1.5;
}
.comic-frame blockquote strong {
  display: block;
  font-size: .64rem;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.comic-frame>p {
  font-size: .65rem;
  line-height: 1.5;
  color: #596d60;
}
.dice-space {
  --dice-size: 70px;
  --half-dice: 35px;
  width: var(--dice-size);
  height: var(--dice-size);
  perspective: 600px;
  display: inline-block;
  flex-shrink: 0;
}
.dice-cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-16deg) rotateY(24deg);
  filter: none;
}
.dice-face {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template: repeat(3,1fr)/repeat(3,1fr);
  gap: 5%;
  padding: 16%;
  border: 1px solid #bda878;
  border-radius: 13%;
  background: #fff0cc;
  backface-visibility: hidden;
  box-shadow: inset 0 0 12px #7b5f2625;
}
.face-front {
  transform: translateZ(var(--half-dice));
}
.face-back {
  transform: rotateY(180deg) translateZ(var(--half-dice));
}
.face-right {
  transform: rotateY(90deg) translateZ(var(--half-dice));
  background: #d7c294;
}
.face-left {
  transform: rotateY(-90deg) translateZ(var(--half-dice));
  background: #e4d3ad;
}
.face-top {
  transform: rotateX(90deg) translateZ(var(--half-dice));
  background: #fff7e0;
}
.face-bottom {
  transform: rotateX(-90deg) translateZ(var(--half-dice));
}
.pip {
  border-radius: 50%;
  background: #193c46;
  box-shadow: inset 0 1px 2px #0004;
}
.rolling .dice-cube {
  animation: dice-roll .8s cubic-bezier(.12,.64,.3,1) both;
}
.mini-dice-pair .dice-space {
  --dice-size: 32px;
  --half-dice: 16px;
}
.mini-dice-pair .dice-cube {
  filter: none;
}
.presentation-card p>span {
  display: block;
}
.transfer-arrow {
  color: #997322;
  font-size: 2rem;
  line-height: 1.5;
}
.library-presentation,.double-presentation {
  background: #13344038;
  backdrop-filter: none;
}
.library-presentation .presentation-card,.double-presentation .presentation-card {
  max-width: 380px;
  background: #ebcd86;
  padding: 1.3rem;
}
.victory-presentation .presentation-card {
  background: #f2dda9;
  border: 3px solid #b89245;
}
.bankruptcy-presentation .presentation-card {
  background: #ddc9b3;
  border-color: #8f7e62;
}
.debt-presentation .presentation-card {
  border-left: 6px solid #a4563b;
}
.interaction-locked .board-tile {
  pointer-events: none;
}
.pawn {
  animation: none;
  filter: none;
}
.pawn-moving .pawn-body {
  animation: pawn-hop .145s ease-out both;
}
.pawn-moving .pawn-shadow {
  animation: shadow-hop .145s ease-out;
}
.high-contrast {
  --ink: #071f24;
  --muted: #172f28;
  --paper: #fff8e7;
  --line: #667467;
}
.high-contrast .text-reference,.high-contrast .panel,.high-contrast .player-card {
  background: #fff8e7;
  color: #071f24;
  border-color: #314b40;
}
.high-contrast .turn-panel {
  background: #071f24;
  color: white;
}
.high-contrast .chip,.high-contrast .segment.selectable,.high-contrast .answer-option {
  background: #fff8e7;
  border-color: #314b40;
  color: #071f24;
}
.high-contrast .segment.selected {
  background: #d0e2b9;
}
.high-contrast .eyebrow,.high-contrast small {
  color: #243b31;
}
.high-contrast .turn-panel .eyebrow,.high-contrast .turn-panel small {
  color: #f5e7c3;
}
.reduced-motion * {
  animation: none!important;
  scroll-behavior: auto!important;
  transition: none!important;
}
@keyframes dice-roll {
  0% {
    transform: translateY(-40px) rotateX(220deg) rotateY(500deg) rotateZ(50deg);
  }
  55% {
    transform: translateY(8px) rotateX(610deg) rotateY(1050deg) rotateZ(-8deg);
  }
  100% {
    transform: translateY(0) rotateX(704deg) rotateY(1104deg) rotateZ(0);
  }
}
@keyframes pawn-hop {
  0%,100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-7px);
  }
}
@keyframes shadow-hop {
  50% {
    opacity: .12;
    transform: scale(.8);
  }
}
@keyframes answer-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes presentation-in {
  from {
    opacity: 0;
    transform: scale(.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media(max-width:850px) {
  .welcome .sidebar {
    order: 0;
  }
  .welcome .setup-panel {
    max-width: 640px;
  }
  .welcome .board-area {
    order: 1;
  }
  .question-scene-grid {
    grid-template-columns: 1fr;
  }
  .question-scene-grid .text-reference {
    max-height: 400px;
    overflow: auto;
  }
  .comic-frame {
    min-height: 170px;
  }
  .quick-tutorial {
    grid-template-columns: 1fr 1fr;
  }
  .encounter-grid {
    grid-template-columns: .8fr 1.2fr;
    gap: 1rem;
  }
  .encounter-copy h3 {
    font-size: 1.3rem;
  }
  .encounter-copy p {
    font-size: .95rem;
  }
  .rent-brief {
    flex-wrap: wrap;
  }
  .rent-brief small {
    margin: 0;
    flex-basis: 100%;
  }
  .route-scene-card {
    padding: 1rem;
  }
  .route-scene-card h3 {
    font-size: 1.1rem;
  }
  .route-scene-card p {
    font-size: .85rem;
  }
  .route-scene-card strong {
    font-size: .85rem;
  }
  .economic-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}
@media(max-width:550px) {
  .app-header nav button {
    font-size: .72rem;
  }
  .app-header nav {
    gap: .3rem;
  }
  .app-header #print-button {
    display: none;
  }
  .players {
    grid-template-columns: 1fr;
  }
  .player-money {
    font-size: 1.5rem;
  }
  .player-heading h3 {
    font-size: 1rem;
  }
  .board-top .chip {
    font-size: .7rem;
  }
  .scene-progress li>span {
    width: 20px;
    height: 20px;
  }
  .scene-footer button {
    flex: 1;
  }
  .encounter-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: .3rem;
  }
  .encounter-art .property-art {
    width: 180px;
  }
  .encounter-copy h3 {
    font-size: 1.3rem;
  }
  .route-scene-grid {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .route-scene-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 35px 1fr;
    padding: .9rem;
    column-gap: .8rem;
  }
  .route-scene-card .route-mark {
    grid-row: 1/4;
    margin: .6rem 0;
  }
  .route-scene-card h3 {
    margin: 0 0 .2rem;
  }
  .route-scene-card p {
    margin: 0 0 .4rem;
  }
  .route-scene-card strong,.route-scene-card small {
    grid-column: 2;
  }
  .route-scene-card small {
    margin-top: .4rem;
  }
  .reading-text {
    font-size: 1.1rem;
  }
  .economic-grid {
    grid-template-columns: 1fr;
  }
  .protection-card {
    padding: .8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .protection-card>.route-mark {
    display: none;
  }
  .protection-card>strong {
    font-size: 2.5rem;
    grid-row: 1/3;
  }
  .protection-card p {
    font-size: .75rem;
    grid-column: 2;
  }
  .protection-card h3 {
    font-size: .85rem;
  }
  .rent-receipt {
    padding: .9rem;
  }
  .rent-receipt>div {
    font-size: .9rem;
  }
  .rent-receipt .receipt-total {
    font-size: 1rem;
  }
  .comic-strip {
    grid-template-columns: 1fr;
  }
  .comic-frame {
    display: grid;
    grid-template-columns: 50px 1fr;
    min-height: 0;
    align-items: center;
    column-gap: .5rem;
  }
  .comic-frame blockquote {
    margin: .2rem 0;
  }
  .comic-frame>p {
    grid-column: 2;
  }
  .dialog-body .property-hero {
    padding-right: 95px;
  }
  .property-hero>.property-art {
    width: 90px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
}
@media print {
  .property-inspector,.presentation-layer {
    display: none;
  }
  .report-intro {
    background: white;
    color: #193c46;
  }
  .report-intro p,.report-intro .eyebrow {
    color: #193c46;
  }
}
.tile-purchase>path:first-of-type,.tile-redeem>path:first-of-type {
  animation: ownership-light .7s ease-out;
}
.tile-build .building-marker {
  animation: building-rise .55s ease-out;
}
.tile-mortgage>path:first-of-type {
  animation: mortgage-shade .5s ease-out;
}
@keyframes ownership-light {
  0% {
    fill: #c2dab0;
    stroke: #43816e;
    stroke-width: 6;
  }
  100% {
    fill: #f4ead8;
    stroke: #c9b995;
    stroke-width: 1;
  }
}
@keyframes building-rise {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes mortgage-shade {
  from {
    fill: #d8bdaa;
  }
  to {
    fill: #f4ead8;
  }
}
.fixed-credits {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .7rem .8rem;
  border: 1px solid #c5b692;
  border-radius: 8px;
  background: #eee3c8;
  gap: .25rem;
}
.fixed-credits>span {
  font-size: .78rem;
  font-weight: 700;
}
.fixed-credits>strong {
  font-size: 1.3rem;
  color: #193c46;
}
.fixed-credits small {
  font-size: .7rem;
}
.debt-restriction {
  padding: .8rem 1rem;
  border-left: 4px solid #974b3e;
  background: #efdbc5;
  font-weight: 700;
  margin: 1rem 0;
}
.cash-delta {
  display: inline-block;
  font-size: .8rem;
  color: #3e725a;
  margin-left: .5rem;
  font-weight: 800;
}
.cash-delta.negative {
  color: #a14c3d;
}
.cash-changing {
  font-variant-numeric: tabular-nums;
}
.player-money {
  flex-wrap: wrap;
}
.current-tile>.tile-base {
  fill: #e8d5a9;
  stroke: #193b45;
  stroke-width: 3;
}
.owned-tile>.tile-base {
  fill: #f0e7d3;
}
.mortgaged-tile>.tile-art {
  filter: grayscale(1);
  opacity: .42;
}
.mortgaged-tile>.tile-base {
  fill: #ded9cd;
}
.pawn {
  transform-box: view-box;
  transform-origin: 0 0;
}
.pawn-body,.pawn-shadow {
  transform-box: fill-box;
  transform-origin: center;
}
.owner-name {
  paint-order: stroke;
  stroke: #f4ead8;
  stroke-width: 2px;
}
.owner-border {
  stroke-linejoin: round;
}
.tile-arrival>.tile-base,.tile-library>.tile-base {
  animation: arrival-light .8s ease-out;
}
.tile-purchase>.tile-base,.tile-redeem>.tile-base {
  animation: ownership-light .9s ease-out;
}
g.tile-build .building-marker {
  animation: shelf-insert .55s ease-out;
}
g.tile-build .building-level-2 {
  animation: library-insert .7s cubic-bezier(.2,.9,.3,1.2);
}
g.tile-mortgage .mortgage-seal {
  animation: seal-enter .5s ease-out;
}
g.tile-purchase .owner-name {
  animation: seal-enter .6s ease-out;
}
.title-stamp {
  display: inline-block;
  padding: .6rem .9rem;
  margin-top: 1rem;
  border: 2px solid #477567;
  color: #345b4f;
  border-radius: 5px;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .12em;
  transform: rotate(-5deg);
  animation: seal-enter .35s ease-out;
}
.purchase-presentation .presentation-card {
  border-top: 6px solid #5b8673;
}
.build-presentation .presentation-card {
  border-top: 6px solid #ae872e;
}
.mortgage-presentation .presentation-card {
  background: #e4dcc9;
  filter: saturate(.7);
}
.arrival-presentation {
  background: #13344030;
  backdrop-filter: none;
}
.arrival-presentation .presentation-card {
  padding: 1rem 1.4rem;
  border-left: 5px solid #b39143;
}
.arrival-presentation h2 {
  font-size: 1.15rem;
}
.arrival-presentation p {
  font-size: .9rem;
}
.transfer-coin {
  position: fixed;
  z-index: 102;
  pointer-events: none;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1px solid #96712b;
  background: #e9c66e;
  color: #5b421d;
  font-size: 8px;
  font-weight: 800;
  box-shadow: 0 2px 3px #172c4440;
}
.dice-space {
  position: relative;
}
.dice-space::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -17px;
  height: 14px;
  border-radius: 50%;
  background: #172e3c28;
  filter: blur(4px);
  z-index: -1;
}
.rolling.die-0 .dice-cube {
  animation: city-die-one var(--roll-time,1250ms) cubic-bezier(.17,.55,.18,1) both;
}
.rolling.die-1 .dice-cube {
  animation: city-die-two var(--roll-time,1250ms) cubic-bezier(.12,.6,.22,1) both;
}
.rolling::after {
  animation: die-shadow var(--roll-time,1250ms) ease-out both;
}
.die-1 .dice-cube {
  transform: rotateX(-16deg) rotateY(-18deg);
}
.dice-total[hidden] {
  display: none;
}
.dice-total:not([hidden]) {
  animation: sum-enter .2s ease-out;
}
.evidence-guide {
  margin: .6rem 0;
  font-size: .85rem;
  color: #59674e;
}
.evidence-extras {
  border-left: 3px solid #ae934d;
  padding: .7rem 1rem;
  background: #eee3c9;
  margin-top: .7rem;
  font-size: .9rem;
}
.ownership-banner {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1rem;
  background: #e5dcc3;
  border-left: 5px solid var(--owner-color,#897642);
  border-radius: 8px;
  margin: .85rem 0;
}
.ownership-banner .token-svg {
  width: 30px;
  height: 30px;
  color: var(--owner-color);
}
.ownership-banner strong {
  display: block;
}
.ownership-banner small {
  display: block;
  font-size: .8rem;
}
.rent-original {
  font-size: 1.45rem;
  color: #674b22;
}
.result-denied {
  padding: .8rem 1rem;
  border: 1px solid #c8a273;
  background: #efdfc7;
  border-radius: 8px;
  margin-top: .8rem;
}
.board-tile:focus-visible {
  outline: none;
}
.board-tile:focus-visible>.tile-base {
  stroke: #082831;
  stroke-width: 4;
}
.scene-dialog:focus-visible {
  outline: 2px solid #536d60;
}
.high-contrast .debt-restriction,.high-contrast .ownership-banner,.high-contrast .evidence-extras {
  background: #fff4dd;
  color: #102a26;
  border-color: #203d33;
}
.high-contrast .result-denied {
  background: #fff4dd;
  color: #3f2117;
  border-color: #774631;
}
.high-contrast .fixed-credits {
  background: #fff4dd;
  border-color: #314b40;
}
.high-contrast .owner-name {
  stroke: white;
}
.high-contrast .reading-bottom,.high-contrast .evidence-guide {
  color: #23382a;
}
@keyframes city-die-one {
  0% {
    transform: translate(-60px,-65px) rotateX(180deg) rotateY(540deg) rotateZ(-45deg);
  }
  40% {
    transform: translate(9px,-2px) rotateX(550deg) rotateY(990deg) rotateZ(14deg);
  }
  59% {
    transform: translate(-7px,-29px) rotateX(645deg) rotateY(1054deg) rotateZ(-9deg);
  }
  76% {
    transform: translate(4px,1px) rotateX(690deg) rotateY(1090deg) rotateZ(4deg);
  }
  88% {
    transform: translate(-1px,-5px) rotateX(700deg) rotateY(1100deg) rotateZ(-2deg);
  }
  100% {
    transform: translate(0,0) rotateX(704deg) rotateY(1104deg) rotateZ(0);
  }
}
@keyframes city-die-two {
  0% {
    transform: translate(67px,-40px) rotateX(-270deg) rotateY(-480deg) rotateZ(58deg);
  }
  34% {
    transform: translate(-11px,-6px) rotateX(-555deg) rotateY(-680deg) rotateZ(-17deg);
  }
  53% {
    transform: translate(8px,-35px) rotateX(-646deg) rotateY(-711deg) rotateZ(12deg);
  }
  74% {
    transform: translate(-4px,1px) rotateX(-700deg) rotateY(-732deg) rotateZ(-5deg);
  }
  87% {
    transform: translate(2px,-7px) rotateX(-732deg) rotateY(-737deg) rotateZ(2deg);
  }
  100% {
    transform: translate(0,0) rotateX(-736deg) rotateY(-738deg) rotateZ(0);
  }
}
@keyframes die-shadow {
  0% {
    opacity: .25;
    transform: scale(1.5);
  }
  40% {
    opacity: 1;
    transform: scale(.95);
  }
  59% {
    opacity: .5;
    transform: scale(1.15);
  }
  76% {
    opacity: 1;
    transform: scale(.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes arrival-light {
  0% {
    fill: #eacd83;
    stroke: #a77b28;
    stroke-width: 5;
  }
  100% {
    fill: #f4ead8;
    stroke: #c9b995;
    stroke-width: 1;
  }
}
@keyframes shelf-insert {
  from {
    opacity: 0;
    filter: none;
  }
  to {
    opacity: 1;
    filter: none;
  }
}
@keyframes library-insert {
  0% {
    opacity: 0;
    filter: none;
  }
  65% {
    opacity: 1;
    filter: none;
  }
  100% {
    opacity: 1;
    filter: none;
  }
}
@keyframes seal-enter {
  from {
    opacity: 0;
    filter: blur(3px);
  }
  to {
    opacity: 1;
    filter: none;
  }
}
@keyframes sum-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media(max-width:550px) {
  .ownership-banner {
    align-items: flex-start;
    text-align: left;
  }
  .ownership-banner .token-svg {
    min-width: 24px;
  }
  .fixed-credits {
    padding: .6rem;
  }
  .player-meta {
    grid-template-columns: 1fr 1fr;
  }
  .dialog-footer button {
    flex: 1;
    min-width: 110px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .dice-space .dice-cube {
    animation: none!important;
  }
  .transfer-coin {
    display: none;
  }
}
.reduced-motion .dice-space .dice-cube {
  animation: none!important;
}
.reduced-motion .transfer-coin {
  display: none;
}
@media print {
  .transfer-coin {
    display: none;
  }
}
.dice-cube,.mini-dice-pair .dice-cube {
  filter: none;
}
.dice-space {
  filter: none;
}
.mini-dice-pair .dice-space {
  filter: none;
}

/* Cartas de rota, comprovação, feedback e releitura. */
/* Fonte de manutenção integrada em game.css pelo script de empacotamento. */
.route-draw-grid .route-scene-card { min-height: 220px; }
.route-unavailable { opacity: .48; }
.route-scene-card.draw-cursor { transform: translateY(-4px); border-color: #173b45; box-shadow: 0 0 0 3px #d6b45c; }
.route-scene-card.draw-selected { background: #fff5dc; border: 3px solid #173b45; border-top: 6px solid var(--route-color); }
.route-announcement { padding: 1rem 1.2rem; margin: 1.25rem 0 .8rem; border-radius: 12px; background: #193c46; color: #fff4df; }
.route-announcement strong { font-size: 1.55rem; }
.route-announcement p { margin-bottom: .25rem; }
.draw-instruction, .draw-profile { font-size: 1rem; line-height: 1.6; margin: .8rem 0; }
.learning-card { background: #fff8e9; border: 1px solid #ad9d7b; border-radius: 12px; padding: 1.2rem 1.35rem; color: #173b45; }
.response-card { background: #e2eadd; border-left: 6px solid #365d50; }
.mission-card { background: #f3e3ba; border-left: 6px solid #88621d; }
.feedback-message { padding: 1rem 1.2rem; font-size: 1.13rem; line-height: 1.6; border-left: 5px solid #426b56; background: #e1ead8; margin: .7rem 0 1rem; }
.feedback-message.to-review { border-color: #815c28; background: #f1e1c5; }
.feedback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.supported-answer { border-left: 6px solid #426b56; background: #e4ecdb; }
.evidence-answer blockquote { border-left: 3px solid #8b733a; padding-left: .8rem; margin-bottom: .65rem; }
.review-article { max-width: 850px; margin: auto; }
.review-question { padding: .9rem 1rem; background: #e5e9d9; font-size: 1.15rem; line-height: 1.6; margin-bottom: 1rem; }
.review-text { font-size: var(--reading-size); line-height: 1.85; }
.review-text .segment { padding: .85rem 1rem; border: 1px solid transparent; border-radius: 9px; margin: .35rem 0; }
.review-text .review-accepted { background: #dce8d0; border-color: #365d50; box-shadow: inset 5px 0 #365d50; }
.evidence-tag { display: block; font-size: .875rem; font-weight: 700; color: #234d3c; margin-top: .5rem; }
.review-explanation { padding: 1rem; background: #eee1c0; border-radius: 10px; margin-top: 1rem; font-size: 1.05rem; line-height: 1.6; }
.review-explanation h3 { margin-bottom: .5rem; }
.review-note { margin: 1rem 0; font-size: 1rem; }
.dice-space { filter: none; }
.mini-dice-pair .dice-space { filter: none; }
.encounter-art .property-art { filter: drop-shadow(0 12px 16px #5f654829); }
.high-contrast .learning-card, .high-contrast .review-question, .high-contrast .review-explanation { color: #071f24; border-color: #243b31; background: #fff8e7; }
.high-contrast .review-accepted { background: #d0e2b9; color: #071f24; }
@supports (background-image: image-set(url('x.webp') type('image/webp'))) {
  .property-art { background-image: image-set(var(--art-webp) type('image/webp'), var(--art-url) type('image/png')); }
}
@media (max-width: 700px) {
  .route-draw-grid { grid-template-columns: 1fr; gap: .7rem; }
  .route-draw-grid .route-scene-card { min-height: 100px; padding: .8rem 1rem; }
  .route-draw-grid .route-mark { display: none; }
  .route-draw-grid .route-scene-card h3 { font-size: 1.2rem; margin: 0 0 .3rem; }
  .route-draw-grid .route-scene-card p { margin-bottom: .35rem; }
  .prove-summary, .feedback-grid { grid-template-columns: 1fr; }
  .learning-card { padding: 1rem; }
}
@media (max-width: 550px) {
  .scene-progress li span { font-size: .8rem; width: 25px; height: 25px; }
  .scene-footer button { flex: 1; }
  .app-header .header-tag { display: none; }
}
.dice-space { transform-style: preserve-3d; }
/* A grade cede espaço ao viewport; o tabuleiro amplo rola dentro do painel. */
.workbench > *, .board-area, .sidebar { min-width: 0; }


/* Dimensões de mesa e componentes de apresentação: declarações anteriores consolidadas. */
.app-header { height:52px; padding:0 20px; display:flex; align-items:center; justify-content:space-between; gap:16px; background:#12343e; color:#f7f4e9; border-bottom:1px solid #4a6c70; }
.app-header .brand { font-size:12px; letter-spacing:.04em; gap:8px; line-height:1.15; }
.app-header .brand strong { font-size:14px; }
.app-header .brand-symbol { width:32px; height:32px; font-size:26px; }
.app-header .header-tag { font-size:14px; letter-spacing:.04em; color:#dfebe9; }
.app-header nav { gap:6px; }
.app-header button { font-size:14px; padding:7px 12px; color:#f7f4e9; border-color:#5a7b80; background:#ffffff0a; }
#app { margin:0; max-width:none; padding:0; }
body.tabletop-mode, body.welcome-mode { height:100dvh; overflow:hidden; background:#173c45; }
.tabletop-mode #app,.welcome-mode #app { height:calc(100dvh - 52px); overflow:hidden; }
.workbench { display:grid; grid-template-columns:minmax(0,1fr) 306px; gap:16px; height:100%; padding:12px 16px; align-items:stretch; min-height:0; }
.workbench.welcome { grid-template-columns:minmax(0,1fr) 350px; }
.workbench>* { min-width:0; min-height:0; }
.board-area { display:flex; flex-direction:column; position:relative; min-height:0; }
.board-top { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; gap:12px; min-height:44px; color:#f5f5eb; }
.board-top h1 { font-size:18px; line-height:1.2; margin:0; max-width:none; }
.board-top .eyebrow { font-size:12px; margin:0 0 3px; color:#afd6d7; letter-spacing:.05em; }
.board-top .button-row { width:auto; justify-content:flex-end; }
.board-top button { color:#dfebe9; border:1px solid #5c7b7c; padding:6px 10px; font-size:14px; }
.board-surface { flex:1; min-height:0; position:relative; border-radius:22px; background:radial-gradient(ellipse,#355c6066,#12323e00 68%); }
.board-scroll { position:absolute; inset:0; width:100%; max-width:100%; height:100%; display:grid; place-items:center; margin:0; overflow:hidden; scrollbar-width:thin; }
.city-board { display:block; min-width:0; width:var(--board-size,100%); height:var(--board-size,100%); max-width:none; max-height:none; aspect-ratio:1; border-radius:50%; overflow:visible; filter:drop-shadow(0 9px 10px #071f2845); }
.board-scroll.focused-board { display:block; overflow:auto; }
.focused-board .city-board { width:calc(var(--board-size)*1.45); height:calc(var(--board-size)*1.45); margin:auto; }
.tile-name { font-size:14px; }
.tile-price { font-size:12px; }
.tile-number { font-size:12px; }
.legend { display:flex; flex:0 0 auto; justify-content:center; flex-wrap:wrap; gap:14px; padding:4px 0; margin:0; border:0; color:#dfebe9; }
.legend span { display:flex; gap:5px; align-items:center; font-size:12px; font-weight:700; }
.legend i { font-style:normal; font-size:15px; color:var(--district-color); }
.board-note { color:#d5e4e3; text-align:center; margin:4px 0 0; font-size:14px; }
.sidebar { display:flex; flex-direction:column; gap:10px; min-height:0; height:100%; overflow:auto; scrollbar-width:thin; }
.sidebar>* { flex:0 0 auto; }
.sidebar .panel { border-radius:14px; padding:14px; }
.turn-panel.player-card { background:#fffaf0; color:#173b45; border:1px solid var(--team-color); border-top:5px solid var(--team-color); box-shadow:0 5px 20px #071f2825; }
.current-team-heading { display:flex; gap:10px; align-items:center; }
.current-team-heading h2 { font-size:18px; margin:0; color:#173b45; }
.current-team-heading .eyebrow { font-size:12px; color:#496369; margin:0 0 3px; }
.current-team-heading .token { width:36px; height:36px; }
.turn-panel .player-money { margin:12px 0 10px; color:#173b45; align-items:baseline; }
.turn-panel .player-money strong { font-size:36px; line-height:1; }
.turn-panel .player-money span { font-size:16px; }
.turn-panel .player-meta { font-size:14px; display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:9px 0; border-top:1px solid #d2ddd8; }
.turn-panel .player-finance { font-size:14px; margin:6px 0 14px; }
.turn-panel .player-finance small { font-size:13px; color:#526970; }
.turn-panel .dice-row { display:grid; grid-template-columns:76px minmax(0,1fr); gap:14px; margin:0; }
.turn-panel .dice-row .primary { min-height:46px; background:#0b6979; color:white; font-size:16px; border-color:#0b6979; }
.turn-panel .dice-summary { margin:8px 0 0; font-size:14px; color:#355b60; }
.other-players { display:grid; gap:7px; }
.player-card.player-compact { display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:8px; align-items:center; padding:10px; border-left:4px solid var(--team-color); border-radius:10px; background:#f1f2e9; }
.player-compact h3 { font-size:14px; margin:0 0 3px; }
.player-compact .token { width:26px; height:26px; border-radius:8px; }
.player-compact .token svg { width:18px; height:18px; }
.player-compact small { font-size:12px; color:#4e6369; }
.player-compact .player-money { margin:0; font-size:13px; justify-content:flex-end; color:#173b45; }
.player-compact .player-money strong { font-size:19px; }
.session-panel { background:#f1f2e9; color:#173b45; }
.session-panel .compact-actions { gap:6px; }
.session-panel button { font-size:14px; padding:9px 7px; }
.session-panel .session-bar { font-size:12px; margin:10px 0; }
.session-panel .history { max-height:70px; overflow:auto; margin:8px 0; font-size:13px; line-height:1.5; }
.session-panel .history p { margin:4px 0; }
.session-controls { border-top:1px solid #cbd5cb; padding-top:9px; }
.property-inspector { position:absolute; right:12px; bottom:10px; width:min(340px,calc(100% - 24px)); max-height:75%; overflow:auto; z-index:6; background:#fffaf0; border:1px solid #899c8a; border-radius:14px; box-shadow:0 10px 40px #071f2860; padding:15px; color:#173b45; font-size:14px; }
.property-inspector[hidden] { display:none; }
dialog { padding:0; border:1px solid #8aa0a0; border-radius:17px; color:#173b45; background:#fffaf2; width:min(970px,calc(100vw - 40px)); max-width:none; max-height:calc(100dvh - 64px); box-shadow:0 24px 80px #071f2860; overflow:hidden; }
dialog::backdrop { background:#0b263e65; backdrop-filter:blur(1px); }
dialog[open] { display:flex; flex-direction:column; }
.dialog-head { padding:20px 24px 12px; display:flex; justify-content:space-between; gap:12px; flex:0 0 auto; }
.dialog-head h2 { font-size:24px; line-height:1.25; }
.dialog-body { padding:16px 24px 22px; overflow:auto; min-height:0; font-size:16px; line-height:1.6; }
.dialog-footer { padding:14px 24px; display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px; border-top:1px solid #d5d9d1; background:#edf1e9; flex:0 0 auto; }
.drawer-dialog { width:min(520px,calc(100vw - 24px)); height:calc(100dvh - 76px); max-height:none; inset:64px 12px 12px auto; margin:0; border-radius:16px; }
.drawer-dialog .dialog-body { flex:1; }
.card-dialog { width:min(1120px,calc(100vw - 48px)); height:min(820px,calc(100dvh - 76px)); max-height:none; }
.card-dialog .dialog-body { flex:1; min-height:0; }
.challenge-scene { height:100%; min-height:0; display:flex; flex-direction:column; border-top:5px solid var(--scene-accent); background:#fffaf2; }
.card-context { display:grid; grid-template-columns:auto 1fr auto; gap:15px; align-items:center; padding:10px 24px; background:#183c47; color:#f8f5e9; font-size:14px; min-height:42px; flex:0 0 auto; }
.card-context strong { font-size:16px; text-align:center; }
.card-context span { color:#d6e4e1; }
.scene-content { padding:18px 26px; min-height:0; overflow:auto; flex:1; }
.scene-heading h2 { font-size:25px; line-height:1.2; margin:6px 0 12px; letter-spacing:-.02em; }
.scene-progress { display:flex; justify-content:space-between; list-style:none; gap:8px; padding:0 0 10px; margin:0 0 16px; border-bottom:1px solid #c7d6d1; flex:0 0 auto; }
.scene-progress li { display:flex; align-items:center; gap:5px; color:#4a6167; font-size:13px; font-weight:700; white-space:nowrap; }
.scene-footer { padding:12px 24px; display:flex; justify-content:flex-end; align-items:center; gap:10px; flex:0 0 auto; background:#eaf0e9; border-top:1px solid #c7d6d1; min-height:64px; }
.scene-footer small { margin-right:auto; font-size:14px; }
.scene-footer .primary { font-size:16px; padding:11px 16px; background:#096b7b; border-color:#096b7b; color:white; }
.scene-reading .scene-heading { margin:0; max-width:none; }
.scene-reading .scene-content,.scene-evidence .scene-content { display:flex; flex-direction:column; overflow:hidden; }
.reading-article { flex:1; min-height:0; overflow:auto; width:100%; max-width:840px; margin:0 auto; color:#173b45; }
.reading-tools { margin:0 0 9px; }
.reading-bottom { font-size:14px; color:#4a6269; }
.question-scene-grid { min-height:0; }
.text-reference { max-height:430px; overflow:auto; }
.evidence-workspace { display:flex; flex-direction:column; flex:1; min-height:0; }
.prove-summary { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:10px; margin:0 0 14px; max-width:none; flex:0 0 auto; }
.prove-summary .learning-card:first-child { grid-column:auto; }
.prove-summary .learning-card { padding:12px 14px; }
.learning-card h3 { font-size:14px; margin:0 0 7px; letter-spacing:.02em; }
.learning-card p,.learning-card blockquote { font-size:max(17px,1rem); line-height:1.55; margin:0; }
.mission-card .mission-detail { margin-top:8px; font-size:14px; }
.mission-detail summary { cursor:pointer; font-weight:700; }
.mission-detail p { margin-top:8px; font-size:16px; }
.evidence-article { overflow:auto; flex:1; min-height:0; }
.feedback-grid { gap:12px; }
.scene-feedback:has(.feedback-message.confirmed) { animation:interpretation-confirmed .6s ease-out; }
@keyframes interpretation-confirmed { 0%{box-shadow:inset 0 0 0 3px #4c9c8b} 100%{box-shadow:inset 0 0 0 0 #4c9c8b00} }
.feedback-grid .learning-card { padding:16px; }
.feedback-message { padding:11px 14px; margin:8px 0 14px; }
.route-draw-grid .route-scene-card { min-height:170px; padding:18px; }
.route-announcement { margin:12px 0; padding:14px 18px; }
.route-draw-grid .route-mark { font-size:36px; }
.presentation-layer { position:absolute; inset:0; z-index:10; display:grid; place-items:center; pointer-events:none; background:none; backdrop-filter:none; }
.presentation-card { width:min(360px,80%); background:#143c47f5; color:#fffaf0; border:1px solid #71a09d; border-radius:16px; box-shadow:0 8px 28px #071f2840; padding:20px; text-align:center; }
.presentation-card h2 { font-size:22px; color:#fffaf0; line-height:1.2; margin:0 0 10px; }
.presentation-card p { font-size:16px; line-height:1.5; color:#e6efdf; margin:0; }
.dice-presentation .presentation-card { width:min(370px,80%); background:none; border:0; box-shadow:none; padding:10px; animation:none; opacity:1; transform:none; }
.dice-presentation .eyebrow { display:inline-block; padding:7px 12px; border-radius:8px; background:#143c47ef; color:#fffaf0; font-size:13px; }
.dice-pair { display:flex; align-items:center; justify-content:center; gap:64px; min-height:150px; padding:35px 15px; }
.dice-total { display:inline-block; background:#fff5d8; color:#173b45!important; padding:8px 15px; border:1px solid #bd9b51; border-radius:10px; font-size:26px!important; letter-spacing:.04em; box-shadow:0 3px 12px #071f2830; }
.dice-space { --dice-size:66px; --half-dice:33px; }
.dice-space::after { background:#0c1c3e70; bottom:-20px; }
.dice-presentation .presentation-card h2 { margin:5px 0 0; }
.purchase-presentation .presentation-card,.build-presentation .presentation-card { border-color:#e4bd63; }
.arrival-presentation .presentation-card { background:#143c47eb; padding:12px 18px; }
.library-presentation .presentation-card,.double-presentation .presentation-card,.victory-presentation .presentation-card,.bankruptcy-presentation .presentation-card,.mortgage-presentation .presentation-card { color:#173b45; }
.library-presentation .presentation-card h2,.library-presentation .presentation-card p,.double-presentation .presentation-card h2,.double-presentation .presentation-card p,.victory-presentation .presentation-card h2,.victory-presentation .presentation-card p,.bankruptcy-presentation .presentation-card h2,.bankruptcy-presentation .presentation-card p { color:#173b45; }
.mortgage-presentation .presentation-card h2,.mortgage-presentation .presentation-card p { color:#173b45; }
.city-districts { pointer-events:none; }
.district-aura { opacity:0; transition:opacity .4s; }
.district-progress-ring { opacity:calc(.2 + var(--city-progress,0)*.7); transition:opacity .4s; }
.district-beacon { opacity:.45; transition:opacity .4s; }
[data-city-district]:not([data-owned="0"]) .district-beacon { opacity:1; }
.district-complete .district-progress-ring { fill:var(--complete-color); opacity:1; }
.district-complete .district-beacon rect { stroke:var(--complete-color); stroke-width:4; }
.district-reacting .district-aura { animation:district-react .85s ease-out; }
.district-reacting .district-progress-ring { animation:district-edge .85s ease-out; }
.city-board[data-progress-stage="start"] [data-layer="city"]>image { filter:saturate(.85); }
.city-board[data-progress-stage="growing"] [data-layer="city"]>image { filter:saturate(1.1); }
.city-board[data-progress-stage="developed"] [data-layer="city"]>image { filter:saturate(1.22); }
.owned-tile>.tile-base { fill:#e4eddf; }
.board-tile[data-level="2"]>.tile-base { fill:#d2e6db; }
.owner-border { stroke-width:5; }
.owner-name { font-size:12px; }
.building-marker { filter:drop-shadow(0 3px 2px #071f2840); }
.path-current>.tile-base { fill:#efd083; stroke:#0e5767; stroke-width:5; }
.path-next>.tile-base { fill:#f8e9ad; stroke:#b08528; stroke-width:3; }
.pawn-body { filter:drop-shadow(0 3px 2px #071f2840); }
@keyframes district-react { 0%{opacity:.06} 35%{opacity:.25} 100%{opacity:0} }
@keyframes district-edge { 0%,100%{opacity:.6} 35%{opacity:1} }
/* Gêneros: o banco e o HTML semântico continuam sendo a fonte do conteúdo. */
.genre-document { background:#fffefd; color:#203b46; border:1px solid #b9cac9; border-radius:9px; margin:0 0 10px; overflow:hidden; }
.genre-masthead { display:flex; align-items:center; gap:10px; padding:12px 16px; background:#e9efed; color:#284a52; border-bottom:1px solid #b9cac9; font-size:14px; font-weight:750; }
.genre-kind { margin-left:auto; font-size:13px; font-weight:600; }
.genre-document-body { padding:14px 18px; }
.genre-document .reading-text { font-size:var(--reading-size,17px); line-height:1.75; margin:0; }
.genre-document .segment { margin:0 0 9px; padding:9px 11px; }
.genre-document .segment-num { font-size:12px; }
.genre-document .segment.selectable { width:100%; border:1px solid #abbfba; background:#fffefd; text-align:left; border-radius:7px; color:inherit; font-size:inherit; }
.genre-document .segment.selected { background:#cce7de; border:2px solid #17685b; box-shadow:inset 4px 0 #17685b; }
.genre-news .genre-masthead { color:#fff; background:#173f54; text-transform:uppercase; letter-spacing:.05em; }
.genre-news .segment:first-child { border-bottom:1px solid #bccbd0; font-weight:700; padding-bottom:16px; font-size:1.06em; }
.genre-interview { border-left:6px solid #21899a; }
.genre-interview .segment { padding:12px; background:#e9f4f3; margin:7px 0; border-radius:9px; }
.genre-interview .segment:nth-child(even),.genre-interview .segment.selectable:nth-child(even) { width:calc(100% - 30px); margin-left:30px; background:#fff6e8; border-left:3px solid #c79549; }
.genre-speaker { display:block; color:#146377; font-size:.9em; margin-bottom:4px; }
.genre-literature .genre-masthead,.genre-poetry .genre-masthead { background:#ede5df; color:#75394e; }
.genre-literature .reading-text,.genre-poetry .reading-text { font-family:Georgia,'Times New Roman',serif; font-size:calc(var(--reading-size,17px)*1.08); }
.genre-literature .genre-document-body { padding:22px 30px; }
.genre-literature .segment { border-bottom:1px solid #eaded6; }
.genre-poetry .genre-document-body { padding:20px 36px; }
.genre-poetry .segment { margin-bottom:20px; line-height:1.8; }
.genre-post { border-color:#9db4c4; }
.genre-post .genre-masthead { background:#e9eff7; color:#235678; }
.genre-avatar { width:30px; height:30px; display:grid; place-items:center; background:#286485; color:white; border-radius:50%; }
.genre-post-footer { padding:10px 16px; background:#edf1f6; color:#52697b; border-top:1px solid #c5d3de; font-size:13px; }
.genre-conversation .genre-document-body { background:#e9efeb; }
.genre-conversation .segment { width:92%; border-radius:13px 13px 13px 2px; padding:13px 15px; background:#fffefd; border:1px solid #bed1c6; }
.genre-conversation .segment.selectable { width:92%; }
.genre-conversation .segment:nth-child(even) { margin-left:auto; background:#d4e9df; border-radius:13px 13px 2px 13px; }
.genre-infographic .genre-masthead { background:#68511f; color:white; }
.genre-infographic .genre-document-body { background:#fffbed; }
.genre-infographic .reading-text { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.genre-infographic .segment { border:1px solid #d3be88; background:#fffef9; border-radius:8px; }
.genre-document .genre-document-body { position:relative; }
.genre-document .visual-table { width:100%; }
.genre-document .segment.review-accepted { background:#cce7de; border:2px solid #17685b; }
.genre-document .evidence-tag { color:#175345; }
.genre-document .bars { margin:0 0 16px; }
.genre-document .column-chart { min-height:175px; }
.genre-document .comic-strip { margin:0; }
.genre-document .comic-frame { min-height:180px; }
.genre-document .genre-comic-art { display:block; width:100%; height:auto; margin-bottom:15px; border:1px solid #57666b; }
.genre-comic .reading-text { display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; }
.genre-comic .segment { border:1px solid #a7b8b6; font-size:.95em; border-radius:7px; background:#f6f5ee; }
.genre-official { border:1px solid #718789; border-top:5px solid #526973; border-radius:3px; }
.genre-official .genre-masthead { background:#e8ebea; color:#294d58; text-transform:uppercase; letter-spacing:.06em; padding:16px; border-bottom:2px solid #718789; }
.genre-official .genre-document-body { padding:20px 26px; }
.genre-official .segment { border-bottom:1px solid #cbd4d2; border-radius:0; padding:12px 8px; }
.genre-official .segment-num { display:inline-block; min-width:25px; color:#526973; font-weight:800; }
.genre-poster { border:3px solid #b04465; }
.genre-poster .genre-masthead { background:#9b3052; color:white; }
.genre-poster .genre-document-body { background:#fff5e2; text-align:center; padding:20px 25px; }
.genre-poster .segment:first-child { font-size:1.32em; font-weight:850; color:#8c2547; letter-spacing:-.01em; line-height:1.45; margin-bottom:20px; border-top:3px solid #bd963e; border-bottom:3px solid #bd963e; padding:15px; }
.genre-notice .genre-masthead { background:#e9d59a; color:#3f371f; }
.genre-notice .genre-document-body { background:#fff9db; border:9px solid #d9c58f; }
.genre-dictionary .genre-masthead { background:#526e70; color:white; }
.genre-dictionary .segment:first-child { font-family:Georgia,serif; font-size:1.13em; }
.genre-abstract { border-left:7px solid #bb9845; }
.genre-abstract .genre-masthead { text-transform:uppercase; background:#ede7d7; letter-spacing:.05em; }
.genre-compact .genre-masthead { padding:8px 10px; font-size:13px; }
.genre-compact .genre-kind { display:none; }
.genre-compact .genre-document-body { padding:10px; }
.genre-compact .reading-text { font-size:max(16px,1rem); line-height:1.6; }
.genre-compact .reading-text:not(.evidence-text) { display:block; }
.high-contrast .genre-document { color:#071f24; background:white; border:2px solid #173b45; }
.high-contrast .genre-document .segment { color:#071f24; }
.reduced-motion .district-reacting .district-aura { opacity:.18; animation:none; }
.reduced-motion .path-current>.tile-base { fill:#efd083; }
@media (prefers-reduced-motion:reduce) { .district-reacting .district-aura { opacity:.18; } }
@media (min-width:851px) and (max-height:820px) { .sidebar { gap:8px; } .sidebar .panel { padding:12px; } .turn-panel .player-money { margin:9px 0 7px; } .turn-panel .player-meta { padding:7px 0; gap:4px; } .turn-panel .player-finance { margin:4px 0 9px; } .current-team-heading .token { width:30px; height:30px; } .turn-panel .dice-row .primary { min-height:42px; } .player-card.player-compact { padding:8px; } .player-compact h3 { margin:0 0 1px; } .other-players { gap:5px; } .session-panel .history { max-height:46px; margin:5px 0; } .session-panel .session-bar { margin:8px 0; } .session-panel button { padding:8px 6px; } }
@media (max-width:1000px) { .workbench { grid-template-columns:minmax(0,1fr) 280px; gap:10px; padding:10px; } .workbench.welcome { grid-template-columns:minmax(0,1fr) 300px; } .card-context { grid-template-columns:1fr auto; } .card-context>span:first-child { display:none; } }
@media (max-width:850px) { .workbench,.workbench.welcome { grid-template-columns:1fr; grid-template-rows:minmax(0,1fr) 235px; } .sidebar { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto; align-content:start; } .other-players { display:block; } .other-players>* { margin-bottom:7px; } .session-panel { grid-column:1 / -1; } .welcome .sidebar { display:block; } .welcome .sidebar .panel { margin-bottom:10px; } .app-header .header-tag { display:none; } .card-dialog { width:calc(100vw - 20px); height:calc(100dvh - 70px); } .prove-summary { grid-template-columns:1fr 1fr; } .prove-summary .learning-card:first-child { grid-column:1/-1; } .scene-content { padding:14px; } }
@media (max-width:550px) { .app-header { padding:0 8px; gap:8px; } .app-header .brand-symbol { display:none; } .app-header nav { gap:2px; } .app-header nav button { padding:6px; font-size:12px; } .app-header #print-button { display:none; } .board-top h1 { font-size:16px; } .board-top button { font-size:12px; } .legend { gap:8px; } .legend span { font-size:10px; } .workbench,.workbench.welcome { padding:6px; gap:6px; grid-template-rows:minmax(0,1fr) 250px; } .sidebar { display:block; } .sidebar>* { margin-bottom:8px; } .card-context { padding:8px 12px; } .card-context strong { font-size:14px; text-align:left; } .card-context span { font-size:12px; } .scene-heading h2 { font-size:20px; } .scene-progress li { font-size:0; gap:0; } .scene-progress li>span { font-size:12px; } .scene-footer { padding:10px; flex-wrap:wrap; } .prove-summary { display:block; } .prove-summary .learning-card { margin-bottom:7px; } .evidence-workspace { overflow:auto; } .evidence-article { flex:none; overflow:visible; } .genre-infographic .reading-text,.genre-comic .reading-text { grid-template-columns:1fr; } .genre-document-body { padding:12px; } .genre-poetry .genre-document-body { padding:14px; } .genre-kind { font-size:11px; } }
@media print { .tabletop-mode,.welcome-mode { overflow:visible!important; height:auto!important; background:white; } .presentation-layer,.card-context { display:none; } }
