/* V0.7 extends the V0.6 tabletop without a second application shell. */
.brand-official{object-fit:contain;width:105px;height:46px}.welcome-logo{width:220px;max-width:100%;height:150px;object-fit:contain;display:block;margin:0 auto 8px}.archetype-mini{object-fit:contain}.token:has(.archetype-mini){background:transparent!important;border:0}.setup-archetype-strip{display:flex;justify-content:center;gap:8px}.setup-archetype-strip button{background:transparent;border:0;padding:4px}.setup-archetype-strip img{object-fit:contain}.choose-archetype{font-size:.8rem;margin:4px 0 0;padding:4px 8px;min-height:28px}.teacher-setup summary,.challenge-extra summary{cursor:pointer;font-weight:700;padding:9px 0}.module-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin:14px 0}.module-grid .check-line{font-size:.9rem;line-height:1.4;display:flex;align-items:center;gap:8px}.module-grid input{width:18px;height:18px;accent-color:#176984}.preset-controls{display:flex;gap:10px;margin-top:12px}.archetype-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.archetype-choice{display:flex;flex-direction:column;align-items:center;background:#f6eee1;border:2px solid #d5c3a0;padding:12px 6px;border-radius:14px;gap:6px;color:#19354a}.archetype-choice strong{font-size:1.05rem}.archetype-choice span{font-size:.85rem}.choice-pawn{object-fit:contain;transform:scale(.88);transition:transform .2s}.archetype-choice.selected{border-color:var(--team-color);box-shadow:0 0 0 2px var(--team-color)}.archetype-choice.selected .choice-pawn{transform:scale(1.06)}.archetype-description{display:flex;gap:20px;align-items:center;border-top:1px solid #d5c3a0;padding-top:18px;margin-top:20px}.archetype-description img{object-fit:contain}.archetype-description h3{margin:0}.archetype-description p{line-height:1.55;margin:6px 0}.archetype-description small{font-size:.8rem;color:#52606a}
.engagement-hud{display:flex;gap:7px;align-items:center;justify-content:space-between;border-top:1px solid #d9c6a5;padding-top:7px;margin:8px 0 4px;font-size:14px}.engagement-hud button{font-size:13px;min-height:28px;padding:3px 6px}.power-arm{width:100%;font-size:13px;min-height:28px;padding:4px;margin-top:4px}.session-controls{flex-wrap:wrap}.session-controls button{min-height:28px;font-size:12px;padding:4px 6px}.city-development{background:#183746;color:white;padding:9px 14px;border-radius:9px;margin-top:4px;display:grid;grid-template-columns:1fr 170px;gap:4px 15px;align-items:center}.city-development>div{display:flex;align-items:center;gap:12px}.city-development strong{font-size:22px;color:#f2cd76}.city-development span{font-size:14px}.city-development progress{width:100%;height:9px;accent-color:#e5bb63}.city-development small{grid-column:1/-1;font-size:12px;color:#e9dec5}.city-board[data-development-stage="1"] .city-base-art{filter:saturate(.65) brightness(.78)}.city-board[data-development-stage="2"] .city-base-art{filter:saturate(.85) brightness(.88)}.city-board[data-development-stage="3"] .city-base-art{filter:saturate(1) brightness(.98)}.city-board[data-development-stage="4"] .city-base-art{filter:saturate(1.1) brightness(1.05)}.city-base-art{transition:filter .8s}.official-pawn .pawn-motion-scale{transform:scale(1)!important}.official-pawn.pawn-travelling .pawn-motion-scale{transform:scale(1.02)!important}.official-pawn .pawn-number{font-family:system-ui,sans-serif}.city-board[data-seal-milestone="true"] .district-beacon{filter:drop-shadow(0 0 5px #f2cd76)}
.profile-heading{display:flex;gap:15px;align-items:center;margin-bottom:16px}.profile-heading img{object-fit:contain}.profile-heading h3,.profile-heading p{margin:4px 0}.seal-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 22px}.seal-badge{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid #d6c4a4;border-radius:10px;background:#f8f1e7}.seal-badge b{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:var(--seal-color);color:white;font-size:24px}.seal-badge span{font-weight:700}.seal-badge small{display:block;font-weight:400;font-size:12px;color:#53616b;margin-top:3px}.seal-badge.missing b{background:#736b5f}.seal-badge.collected{border-color:var(--seal-color);background:white}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:22px}.collection-card{background:#f5eddf;border:1px solid #d3bf98;border-radius:10px;padding:12px}.collection-card h4{margin:0 0 8px;font-size:15px}.collection-card p{font-size:13px;line-height:1.55}.collection-card small{display:block;line-height:1.4;font-size:12px}.collection-card strong{display:block;margin-top:8px;color:#185d64}.collection-card.complete{border:2px solid #287467;background:#e9f5ef}.item-grid{display:grid;gap:12px;grid-template-columns:repeat(3,1fr);margin-bottom:20px}.item-card{background:#19394b;color:#fff6e4;padding:15px;border-radius:12px}.item-card h4{margin:8px 0}.item-card p{font-size:14px;line-height:1.5}.item-card small{color:#ddd8cb;font-size:12px}.item-card button{margin:3px;font-size:13px}.item-symbol{font-size:32px;color:#edc875}.item-offer button{margin:4px}.mission-cover,.secret-mission{text-align:center;background:#19394b;color:#fff6e4;padding:30px;border:2px solid #dfb757;border-radius:14px}.mission-cover>span{font-size:65px;color:#edc875}.secret-mission h3{font-size:1.6rem}.secret-mission .notice{color:#183746}.achievement{border-left:3px solid #caa454;padding:6px 10px;font-size:14px}
.challenge-resources{margin-top:12px;border-top:1px solid #d5c19b;padding-top:10px}.challenge-resources>button{margin:0 6px 8px 0;font-size:14px}.challenge-extra{border-top:1px solid #d5c19b;font-size:14px}.challenge-extra p{line-height:1.5}.challenge-extra button,.help-panel button{margin:4px;font-size:14px;min-height:32px}.guess-row{display:flex;justify-content:space-between;align-items:center;padding:7px 0;border-bottom:1px solid #d5c19b;gap:10px}.guess-row div{display:flex}.help-panel{background:#f2e4c8;padding:14px;border-radius:10px}.minigame h3{font-size:1.15rem;line-height:1.5}.mini-order{list-style:none;padding:0;display:grid;gap:9px}.mini-order li{background:white;border:1px solid #c5af85;border-radius:9px;display:flex;gap:10px;padding:10px;align-items:center}.mini-order li p{flex:1;margin:0;line-height:1.5}.mini-order li>div{display:flex;flex-direction:column;gap:4px}.mini-order button{font-size:12px;min-height:28px;padding:4px 8px}.order-number{background:#174d69;color:white;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;flex:none}.mini-order [draggable]{cursor:grab}.mini-pairs{display:grid;gap:12px}.mini-pair{padding:12px;border:1px solid #cbb78f;border-radius:9px;background:white}.mini-pair p{margin:0 0 8px;line-height:1.5}.mini-pair select{width:100%;padding:8px;font-size:16px;background:#f8f1e7;color:#183746;border:1px solid #a78a5b;min-height:40px;border-radius:6px}.fact-bins{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.fact-bins>div{padding:16px 8px;text-align:center;border:2px dashed #957840;background:#ede3ce;border-radius:10px;font-weight:700;font-size:14px}.clue-text{background:#fffdf6;padding:12px;line-height:1.9}.clue-text p{margin:12px 0}.clue-word{display:inline;font:inherit;font-size:16px;line-height:1.55;color:#173b45;background:transparent;border:1px solid transparent;padding:2px 1px;min-height:28px;white-space:normal;border-radius:4px;box-shadow:none}.clue-word.selected{background:#f3d786;border:1px solid #8c6320}.clue-word:hover{background:#ede0bc}.clue-segment{font-size:12px;display:inline-block;background:#19394b;color:white;padding:0 6px;margin-right:7px;border-radius:5px}.mini-feedback{grid-column:1/-1}.mini-feedback p{line-height:1.55}.extra-team-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.extra-team-tabs button{font-size:14px}.extra-question h3{font-size:1.15rem;line-height:1.6}.extra-evidence{display:grid;gap:7px}.extra-evidence button{display:flex;gap:9px;line-height:1.6;text-align:left;font-size:16px;padding:10px}.extra-evidence button>span{flex:none;border-radius:4px;background:#19394b;color:white;padding:0 7px}.extra-story{border:1px solid #d2bc91;padding:15px;border-radius:12px}.rare-card{border:2px solid #b08727;background:#fff5d4}.power-dice{display:flex;justify-content:center;gap:25px;margin:25px}.power-dice>div{display:flex;flex-direction:column;align-items:center;gap:12px}.high-contrast .seal-badge,.high-contrast .collection-card,.high-contrast .mini-pair,.high-contrast .clue-text{background:#fff;color:#111;border-color:#111}.high-contrast .city-development,.high-contrast .item-card,.high-contrast .mission-cover{background:#111;color:#fff}.reduced-motion .choice-pawn,.reduced-motion .city-base-art{transition:none}
@media(min-width:900px) and (max-height:850px){.engagement-hud{margin:4px 0;padding-top:4px}.player-meta{gap:4px 8px}.session-panel .history{max-height:42px}.session-controls button{font-size:12px}.turn-panel .dice-summary{margin:4px 0}.city-development{padding:6px 12px;gap:2px 12px}.city-development strong{font-size:19px}.city-development small{font-size:12px}}
@media(max-width:650px){.archetype-grid{grid-template-columns:1fr 1fr}.archetype-description{gap:10px}.collection-grid,.item-grid{grid-template-columns:1fr}.module-grid{grid-template-columns:1fr}.city-development{grid-template-columns:1fr 90px;padding:7px 9px}.city-development>div{gap:7px}.city-development span{font-size:12px}.city-development small{font-size:12px}.seal-grid{gap:6px}.seal-badge{padding:6px}.seal-badge span{font-size:13px}.seal-badge b{width:28px;height:28px;font-size:21px}.brand-official{width:90px}.mission-cover,.secret-mission{padding:20px}.mini-order li{padding:8px;gap:7px}.extra-team-tabs{gap:4px}}
@media(prefers-reduced-motion:reduce){.choice-pawn,.city-base-art{transition:none}}

.turn-panel .quiet{color:#fff1c4;background:#244c5e;border:1px solid #66818b}.turn-panel .quiet:hover{background:#315d70}.turn-panel .quiet:disabled{color:#d2dfe2}.engagement-hud{white-space:nowrap}.engagement-hud span{font-size:13px}.session-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.session-controls button{padding:5px 3px!important;font-size:12px;min-height:30px}.current-team-heading .eyebrow{line-height:1.3}.other-players .player-compact{min-height:48px}.city-region-light{pointer-events:none}

.help-logo{object-fit:contain;display:block;margin:0 auto 14px}.help-archetypes{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.help-archetypes section{background:#f2e7d5;border-radius:9px;padding:10px;text-align:center}.help-archetypes img{object-fit:contain}.help-archetypes p{font-size:13px;line-height:1.5}.help-chapter summary,.help-topic summary{cursor:pointer;font-weight:700;padding:12px 0;border-bottom:1px solid #d4c19b}.help-topic p{line-height:1.6;padding:10px 0}.help-topic{padding:0 10px}@media(max-width:650px){.help-archetypes{grid-template-columns:1fr 1fr}}
@media(min-width:851px) and (max-height:850px){.session-panel.panel{padding:8px}.session-panel .history{max-height:30px;line-height:1.4;margin:4px 0}.session-panel .history p{font-size:12px;line-height:1.4}.session-panel .session-bar{margin:5px 0}.turn-panel .player-finance{margin-bottom:6px}}

@media(min-width:851px) and (max-height:740px){.sidebar .panel{padding:10px}.turn-panel .player-money{margin:6px 0}.turn-panel .player-finance{margin:4px 0}.other-players .player-compact{padding:7px}.other-players{gap:4px}.sidebar{gap:6px}}
/* V0.8: interfaces breves e peões oficiais contidos na casa. */
.official-pawn .pawn-body{filter:drop-shadow(0 0 .65px #fff1c5) drop-shadow(0 1px .65px #061725)}
.official-pawn.pawn-current .pawn-base-ring{stroke:#fff5ab;stroke-width:1.5;animation:current-pawn-light 1.4s ease-in-out infinite}
.official-pawn.pawn-current .pawn-body{animation:current-pawn-light 1.4s ease-in-out infinite}
@keyframes current-pawn-light{0%,100%{opacity:1}50%{opacity:.72}}
.reduced-motion .official-pawn .pawn-body,.reduced-motion .pawn-base-ring{animation:none}
.service-choice{padding:16px;border:1px solid #a98a45;border-radius:12px;background:#fff6df;margin:18px 0}.service-choice>div{display:flex;gap:10px;flex-wrap:wrap}.service-choice button{flex:1;text-align:left;min-width:180px}.service-choice small{display:block;margin-top:5px;font-size:13px}.service-reread{margin-top:14px}
.fair-offers{display:grid;gap:15px}.fair-offers article{border:1px solid #bba170;padding:16px;border-radius:10px}.fair-offers button{margin:5px}.archive-intro{text-align:center}.archive-folder{width:min(100%,340px);margin:22px auto;padding:32px 24px 22px;border-radius:8px 25px 8px 8px;background:#e9c87b;border:2px solid #936324;box-shadow:6px 8px 0 #18374633;display:grid;justify-items:center;gap:10px;animation:archive-arrival .6s ease-out}.archive-folder span{font-size:13px;letter-spacing:.12em;font-weight:800;color:#183746}.archive-folder strong{font-size:23px;color:#183746}.archive-folder b{font-size:30px;color:#713b99}.answer-option.selected{border:3px solid #164e6a;background:#f9e4a8;box-shadow:0 0 0 2px #fff2cf}.answer-check{margin-left:auto;font-weight:900;color:#164e6a}.mini-order li{will-change:transform}.mini-order li.mini-reordered{background:#fff1ce;border-color:#927026}
@keyframes archive-arrival{from{opacity:0;transform:translateY(14px) rotate(-2deg)}to{opacity:1;transform:none}}
.reduced-motion .archive-folder{animation:none}
@media(prefers-reduced-motion:reduce){.archive-folder,.official-pawn .pawn-body,.pawn-base-ring{animation:none}}

.city-board .tile-name{font-size:12px}.city-board .tile-price{font-size:11px}
