/* Plateau et salons : les couleurs de groupes et de joueurs restent indépendantes. */
.game-shell{max-width:1480px;padding:28px 36px 48px}.game-heading{margin-bottom:24px}.game-heading h1{font-size:25px;letter-spacing:-.7px}.game-layout{grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}.board-column{min-width:0}.game-board{width:100%;max-width:920px;padding:8px;gap:3px;border:1px solid #a9b9a9;background:var(--line);border-radius:12px;box-shadow:0 4px 0 var(--line);isolation:isolate}.board-cell{border:1px solid transparent;border-radius:4px;padding:10px 3px 19px;gap:3px;transition:background .12s,opacity .12s}.board-cell:hover,.board-cell:focus-visible{border-color:var(--accent);z-index:3;outline-offset:0}.board-cell .icon{width:22px;height:22px;color:var(--ink)}.cell-name{font-size:9px;line-height:1.15;font-weight:600;max-height:32px;overflow:hidden;overflow-wrap:anywhere}.cell-price{font-size:10px;line-height:1;font-variant-numeric:tabular-nums;color:var(--muted)}.property-band{height:6px;border-radius:3px 3px 0 0}.cell-number{position:absolute;top:7px;left:3px;font-size:7px;line-height:1;color:var(--muted)}.owner-tag{display:inline-flex!important;align-items:center;justify-content:center;min-width:23px;padding:1px 5px;background:var(--owner);color:#192c25;font-size:9px!important;font-weight:800;line-height:1.3;border-radius:4px;border:1px solid #25372e40;white-space:nowrap}.board-cell>.owner-tag{position:absolute;bottom:3px;right:3px}.owner-tag.unowned{background:var(--wash);color:var(--muted);border-color:var(--line);font-weight:400;font-size:8px!important}.owned{box-shadow:inset 0 -3px var(--owner);border-inline:1px solid var(--owner)}.cell-muted{opacity:.32}.cell-selected{outline:2px solid var(--accent);outline-offset:-2px}.corner-cell{background:var(--wash)}.corner-cell .icon{width:28px;height:28px;color:var(--accent)}.buildings{position:absolute;top:8px;right:3px;line-height:1;border-radius:3px;background:var(--wash);padding:2px}.broken-mark{top:7px;right:2px;z-index:1}.cell-pawns{bottom:16px;left:2px;right:2px;gap:0;pointer-events:none;justify-content:center}.cell-pawns .board-pawn{margin-inline:-2px}.cell-pawns:has(.board-pawn:nth-child(4)) .board-pawn{width:17px;height:18px}.cell-pawns:has(.board-pawn:nth-child(4)) .pawn-cheek{display:none}
.game-board .board-middle{background:var(--art);border:1px solid var(--line);border-radius:8px;padding:30px 25px;gap:20px;justify-content:space-between}.center-top{display:flex;justify-content:space-between;align-items:center;width:100%;gap:12px}.game-board .board-wordmark{font-size:24px;letter-spacing:-1.3px}.center-top .eyebrow{font-size:9px;letter-spacing:.8px}.center-turn{display:flex;flex-direction:column;align-items:center;gap:10px;margin:auto 0}.center-turn>strong{font-size:28px;max-width:100%;overflow-wrap:anywhere;line-height:1.2}.center-instruction{font-size:12px;color:var(--muted);max-width:260px;margin:0}.center-metrics{display:flex;justify-content:center;width:100%;border-block:1px solid var(--line);padding:15px 0;gap:20px}.game-metric{min-width:0}.game-metric>span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.game-metric>strong{font-size:20px;font-variant-numeric:tabular-nums;line-height:1.2;display:block}.board-key{font-size:9px;color:var(--muted);margin:0}.forecast{border-left:2px solid #b88b49;text-align:left;padding:3px 10px;max-width:100%;font-size:11px;margin:0}.board-middle .test-label{font-size:8px;padding:3px 7px}
/* Expressions dessinées en CSS : aucune image ni ressource externe. */
.board-pawn{--pawn:#70a283;background:var(--pawn);width:30px;height:29px;border:1.5px solid #34493e;border-radius:48% 48% 44% 44%;gap:4px;align-items:flex-start;padding-top:7px;box-shadow:0 2px 0 #25372e35}.player-color-0{--pawn:#86b799;background:var(--pawn)}.player-color-1{--pawn:#e1b083;background:var(--pawn)}.player-color-2{--pawn:#91bed2;background:var(--pawn)}.player-color-3{--pawn:#dfc77e;background:var(--pawn)}.player-color-4{--pawn:#e0a3a9;background:var(--pawn)}.player-color-5{--pawn:#8fc7bb;background:var(--pawn)}.player-color-6{--pawn:#c6b8a0;background:var(--pawn)}.player-color-7{--pawn:#a8b8d2;background:var(--pawn)}.board-pawn i{height:9px;width:7px;flex-shrink:0;z-index:1}.board-pawn i:after{height:4px;width:3px;top:3px}.pawn-mouth{position:absolute;width:7px;height:4px;left:50%;bottom:5px;transform:translateX(-50%);border:1.3px solid #34493e;border-top:0;border-radius:0 0 8px 8px}.pawn-cheek{position:absolute;width:5px;height:3px;background:#bd6f663d;border-radius:50%;top:16px}.cheek-left{left:3px}.cheek-right{right:3px}.mood-eager .pawn-mouth,.mood-happy .pawn-mouth{height:5px;background:#34493e}.mood-happy i{height:6px;border-radius:8px 8px 3px 3px}.mood-surprised .pawn-mouth{width:4px;height:5px;border:1.3px solid #34493e;border-radius:50%;background:#34493e}.mood-worried .pawn-mouth,.mood-sad .pawn-mouth{border:1.3px solid #34493e;border-bottom:0;border-radius:8px 8px 0 0;height:3px}.mood-worried i:first-child{rotate:-12deg}.mood-sad{opacity:.65}.pawn-large{width:88px;height:80px;padding-top:22px;gap:10px;border-width:2px;box-shadow:0 4px 0 #25372e22;margin-bottom:10px}.pawn-large i{width:18px;height:23px}.pawn-large i:after{width:8px;height:11px;right:3px;top:7px}.pawn-large .pawn-mouth{width:18px;height:9px;bottom:13px;border-width:2px}.pawn-large.mood-eager .pawn-mouth,.pawn-large.mood-happy .pawn-mouth{height:11px}.pawn-large.mood-surprised .pawn-mouth{width:10px;height:12px}.pawn-large .pawn-cheek{width:13px;height:7px;top:47px}.pawn-large .cheek-left{left:9px}.pawn-large .cheek-right{right:9px}.player-border-0{--owner:#86b799}.player-border-1{--owner:#e1b083}.player-border-2{--owner:#91bed2}.player-border-3{--owner:#dfc77e}.player-border-4{--owner:#e0a3a9}.player-border-5{--owner:#8fc7bb}.player-border-6{--owner:#c6b8a0}.player-border-7{--owner:#a8b8d2}
.turn-panel{margin:18px 0;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:10px}.turn-panel .action-row{margin-left:auto}.turn-panel .action-row>button:first-of-type,.primary-action{background:var(--accent);color:var(--surface);border-color:var(--accent)}.turn-panel .action-row>button:first-of-type:hover,.primary-action:hover{background:var(--accent-hover)}.pip-die{padding:7px;display:grid;grid-template:repeat(3,1fr)/repeat(3,1fr);gap:3px;width:36px;height:36px}.pip-die i{width:5px;height:5px;border-radius:50%;background:var(--ink)}.game-sidebar>section{padding:20px;border-radius:10px;margin-bottom:16px}.panel-heading,.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-heading h2{margin:0}.panel-heading>span,.workspace-heading>span{font-size:11px}.panel-hint{font-size:10px;color:var(--muted);margin:10px 0 16px}.player-row{align-items:center;padding:13px 0;gap:10px;position:relative}.player-row.current{border-left:0;border-radius:6px;padding-inline:8px;margin-inline:-8px}.player-row.current::before{content:'';position:absolute;left:0;top:17px;bottom:17px;width:3px;background:var(--owner);border-radius:3px}.player-identity{display:flex;flex-direction:column;align-items:center;gap:5px;padding:0;border:0;background:none;color:var(--ink);min-width:35px}.player-identity[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:4px;border-radius:5px}.player-number{font-size:9px!important;font-weight:700;color:var(--ink)!important}.player-row>div{min-width:0}.player-row strong{overflow-wrap:anywhere}.player-cash{font-size:15px!important;font-variant-numeric:tabular-nums}.player-out{opacity:.55}.player-row .report-link{position:absolute;bottom:3px;right:0;font-size:8px}.event-panel ol{max-height:270px}.event-panel li{padding:10px 0 10px 12px;border-left:1px solid var(--line);position:relative}.event-panel li::before{content:'';position:absolute;width:5px;height:5px;background:var(--muted);left:-3px;top:16px;border-radius:50%}.event-panel li:first-child{font-weight:600;color:var(--accent)}.event-panel h2,.chat-panel h2{margin-bottom:18px}.chat-panel input{min-height:40px}.game-tabs{background:var(--surface);padding:5px;border:1px solid var(--line);border-radius:9px;gap:3px;margin-top:24px}.game-tabs>button{padding:11px 12px;border-radius:6px;display:flex;align-items:center;gap:6px}.game-tabs>button.selected{background:var(--wash);border-bottom:0;color:var(--accent)}.tab-count{font-size:10px;padding:1px 5px;border-radius:4px;background:var(--accent);color:var(--surface)}.workspace-panel{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:24px;margin:14px 0 20px}.workspace-panel h2{margin:0 0 20px;font-size:18px}.workspace-panel>h2:not(:first-child){margin-top:30px}.workspace-panel .table-scroll{margin-top:0}.workspace-panel table{font-variant-numeric:tabular-nums}.workspace-panel th,.workspace-panel td{padding:13px 10px}.workspace-panel .action-form{background:var(--bg);padding:20px}.workspace-panel .action-form h3{font-size:14px}.workspace-panel .action-form input,.workspace-panel .action-form select{background:var(--surface);min-height:40px}.workspace-panel>p{font-size:12px}.empty-workspace{padding:30px 18px;border:1px dashed var(--line);border-radius:8px;color:var(--muted);text-align:center}.technology-row{align-items:flex-start}.technology-row>.icon{width:34px;height:34px;padding:5px;border:1px solid var(--line);border-radius:8px}
#property-dialog{padding:0;width:min(600px,calc(100vw - 24px));max-height:90dvh}#close-property{position:absolute;right:16px;top:16px;float:none;z-index:2;width:32px;height:32px;padding:0;font-size:22px}#property-content{padding:28px}#property-content>h2{font-size:17px;margin-top:26px}.property-heading{display:flex;gap:16px;align-items:center;border-top:8px solid var(--group);margin:-28px -28px 0;padding:30px 60px 20px 28px;background:var(--wash)}.property-heading>.icon{width:42px;height:42px}.property-heading h2{font-size:25px;margin:6px 0 0;line-height:1.15}.property-owner{display:flex;gap:12px;align-items:center;padding:20px 0;font-size:13px}.property-owner>.owner-tag{margin-left:auto}.property-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border-block:1px solid var(--line);padding:18px 0;margin-bottom:18px}.property-help{font-size:11px;line-height:1.6;color:var(--muted);margin:14px 0}.property-group h3{font-size:12px;margin:20px 0 10px}.property-group>button{display:flex;justify-content:space-between;align-items:center;width:100%;border-radius:0;border:0;border-bottom:1px solid var(--line);padding:10px 0;text-align:left;font-size:12px;gap:12px}.property-group>button.selected{font-weight:700}.asset-health{display:flex;gap:10px;flex-direction:column;font-size:12px;margin:20px 0}.asset-health meter{width:100%;height:10px;accent-color:var(--accent)}.property-group .owner-tag{flex-shrink:0}.property-owner .board-pawn{flex-shrink:0}#property-content .action-row{gap:8px}#property-content .action-row button{font-size:12px}
.trade-composer{border:1px solid var(--line);border-radius:10px;padding:22px;background:var(--bg);margin:8px 0 30px}.trade-recipient{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;margin-bottom:22px}.trade-recipient select{width:220px;background:var(--surface)}.trade-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.trade-side{padding:18px;border:1px solid var(--line);border-top:4px solid var(--owner);background:var(--surface);border-radius:8px}.trade-side-heading{display:flex;align-items:center;gap:12px}.trade-side h3{font-size:15px;margin:0}.trade-side>p{font-size:11px;margin:12px 0}.trade-side>label{display:block;font-size:11px;margin-top:16px}.trade-side label input,.trade-side label select{margin-top:7px;font-size:12px;min-width:0}.trade-summary{font-size:12px;padding:14px 0;border-bottom:1px solid var(--line);margin:12px 0}.trade-composer>.button{width:auto;justify-content:center;margin-top:18px}.offer-card{padding:20px;background:var(--bg)}.offer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:20px}.offer-status{font-size:10px;padding:3px 8px;border:1px solid var(--line);border-radius:5px;white-space:nowrap}.offer-incoming{border-left:3px solid var(--accent)}.offer-incoming .offer-status{background:var(--wash);color:var(--accent)}.offer-card h3{font-size:12px}.trade-items{list-style:none;margin:0;padding:0;font-size:12px}.trade-items li{display:flex;gap:8px;align-items:center;padding:6px 0}.trade-items .icon{width:16px;height:16px}
/* Paramètres de salon */
.room-setup{max-width:1140px;padding-top:36px}.room-setup>h1{margin-top:0}.setup-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start}.setup-section{border:1px solid var(--line);border-radius:10px;padding:24px;margin:0 0 18px;background:var(--surface);min-width:0}.setup-section legend{float:left;width:100%;font-size:17px;font-weight:700;margin-bottom:8px}.setup-section>p{clear:both;color:var(--muted);font-size:12px;margin-bottom:22px}.setup-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;clear:both}.setup-field{min-width:0}.setup-field>label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.setup-field input,.setup-field select{font-size:13px}.setup-field:has(input[type=checkbox]){display:flex;gap:12px;align-items:flex-start;padding:12px;background:var(--bg);border-radius:6px;flex-wrap:wrap}.setup-field:has(input[type=checkbox])>label{flex:1;margin:0;order:2}.setup-field:has(input[type=checkbox])>input{order:1;margin:0;flex-shrink:0}.setup-field:has(input[type=checkbox])>.helptext{order:3;width:100%}.setup-field .errorlist{width:100%;order:4}.setup-field:has(#id_name),.setup-field:has(#id_max_players),.setup-field:has(#id_complexity){grid-column:1/-1}.choice-chips{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 2px}.choice-chips button{min-width:44px;min-height:40px;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--ink);font-size:13px}.choice-chips button[aria-pressed=true]{background:var(--accent);color:var(--surface);border-color:var(--accent)}.setup-summary{position:sticky;top:24px;background:var(--art);border:1px solid var(--line);border-radius:10px;padding:24px}.setup-summary h2{font-size:18px}.setup-summary .summary-seats{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0}.summary-seats .seat-empty{width:30px;height:29px;border:1px dashed var(--muted);border-radius:45%;display:grid;place-items:center;font-size:11px;color:var(--muted)}.setup-summary dl{margin-bottom:20px}.setup-summary dt{font-size:11px}.setup-summary dd{font-size:15px;font-weight:600;margin:4px 0 16px}.setup-summary p{font-size:11px;color:var(--muted);line-height:1.7}.setup-summary ul{padding-left:18px;font-size:12px}.setup-summary .test-label{display:inline-block;margin-bottom:12px}.room-setup .button{width:auto;min-width:220px;justify-content:center}.preset-note{font-size:12px;background:var(--wash);padding:12px;border-radius:6px}.setup-field.disabled-field{opacity:.55}.room-waiting{max-width:1000px}.waiting-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}.waiting-seats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.waiting-seat{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);min-width:0}.waiting-seat strong{display:block;font-size:13px;overflow-wrap:anywhere}.waiting-seat small{display:block;color:var(--muted);font-size:10px}.waiting-seat a{font-size:10px}.waiting-seat.empty{border-style:dashed;background:none;color:var(--muted);font-size:12px;min-height:81px}.waiting-layout .panel{padding:24px}.waiting-layout .panel h2{font-size:17px;margin-bottom:18px}.room-facts{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 28px}.room-facts>span{font-size:12px;padding:7px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}.share-field{display:flex;gap:8px;margin-top:10px}.share-field input{min-width:0;font-size:12px}.room-waiting .share-panel{margin-top:24px}.room-waiting .rules-list{padding:0;list-style:none;font-size:12px}.rules-list li{padding:9px 0;border-bottom:1px solid var(--line)}.waiting-status{font-size:11px;color:var(--muted);margin-top:18px}.lobby .room-token{font-size:0}.lobby .room-token::after{content:'→';font-size:20px;color:var(--accent)}
@media(min-width:1700px){.game-shell{max-width:1560px}.game-layout{grid-template-columns:minmax(0,1fr) 330px}.game-board{max-width:980px}.cell-name{font-size:10px}}
@media(max-width:1200px){.game-shell{padding:20px}.game-layout{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.game-board{padding:5px;gap:2px}.board-cell{padding:8px 2px 15px;gap:1px}.board-cell .icon{width:18px;height:18px}.cell-name{font-size:8px}.cell-price{font-size:9px}.cell-number{display:none}.game-board .board-middle{padding:20px;gap:14px}.center-turn>strong{font-size:23px}.center-metrics{padding:10px 0;gap:14px}.game-metric>strong{font-size:17px}.game-sidebar>section{padding:16px}.player-cash{font-size:13px!important}.board-cell>.owner-tag{font-size:8px!important;padding:0 3px;bottom:2px}.cell-pawns .board-pawn{width:23px;height:23px;padding-top:5px;gap:3px}.cell-pawns .board-pawn i{width:5px;height:7px}.cell-pawns .pawn-mouth{bottom:3px}.cell-pawns .pawn-cheek{top:13px}.game-board[data-size="48"] .cell-price{display:none}.game-board[data-size="48"] .cell-name{font-size:7px}.workspace-panel{padding:20px}}
@media(max-width:980px){.game-layout{grid-template-columns:minmax(0,1fr)}.game-board{max-width:800px}.game-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px}.game-sidebar>section{margin:0}.chat-panel{grid-column:1/-1}.cell-name{font-size:10px}.game-board[data-size="48"] .cell-name{font-size:9px}.game-board[data-size="48"] .cell-price{display:block}.board-cell .icon{width:24px;height:24px}.game-board .board-middle{gap:18px}.setup-layout{grid-template-columns:minmax(0,1fr) 240px;gap:18px}.setup-section{padding:20px}.setup-fields{gap:16px}.setup-summary{padding:20px}.trade-columns{gap:12px}}
@media(max-width:680px){.game-shell{padding:18px 10px}.game-heading{margin-bottom:18px}.game-heading h1{font-size:21px}.game-board{padding:4px;gap:2px;border-radius:8px}.board-cell{padding:8px 1px 13px;border-radius:2px}.board-cell .icon{width:15px;height:15px}.corner-cell .icon{width:20px;height:20px}.cell-name,.game-board[data-size="48"] .cell-name{font-size:6px;max-height:21px;font-weight:400}.cell-price,.game-board[data-size="48"] .cell-price{display:none}.property-band{height:4px}.board-cell>.owner-tag{font-size:7px!important;min-width:16px;right:1px;bottom:1px;padding:0 2px;border-radius:2px}.board-cell>.owner-tag.unowned{display:none!important}.game-board .board-middle{padding:12px;gap:10px}.game-board .board-wordmark{font-size:18px;letter-spacing:-.7px}.center-top{gap:5px}.center-top .eyebrow{font-size:7px;letter-spacing:0}.center-turn{gap:5px}.center-turn>strong{font-size:18px}.center-turn>.eyebrow{font-size:8px}.center-instruction{font-size:9px;max-width:180px}.center-metrics{gap:12px;padding:8px 0}.center-metrics .game-metric>span{font-size:8px}.center-metrics .game-metric>strong{font-size:13px}.board-key{font-size:7px}.board-middle .test-label{font-size:6px}.forecast{font-size:8px;padding:1px 5px}.pawn-large{width:56px;height:51px;padding-top:13px;gap:6px;margin-bottom:5px}.pawn-large i{width:12px;height:15px}.pawn-large i:after{width:5px;height:7px;top:4px;right:2px}.pawn-large .pawn-mouth{width:11px;height:6px;bottom:7px}.pawn-large.mood-eager .pawn-mouth,.pawn-large.mood-happy .pawn-mouth{height:7px}.pawn-large .pawn-cheek{width:8px;height:4px;top:30px}.pawn-large .cheek-left{left:4px}.pawn-large .cheek-right{right:4px}.cell-pawns{bottom:12px}.cell-pawns .board-pawn{width:17px;height:18px;padding-top:4px;gap:2px}.cell-pawns .board-pawn i{width:4px;height:5px}.cell-pawns .board-pawn i:after{width:2px;height:3px;top:1px;right:0}.cell-pawns .pawn-mouth{width:4px;height:2px;bottom:3px}.cell-pawns .pawn-cheek{display:none}.turn-panel{padding:14px;margin:14px 0;gap:12px}.turn-panel .action-row{width:100%;margin-left:0}.turn-panel .action-row button{flex:1;font-size:12px;min-height:42px}.game-tabs{margin-top:16px}.game-tabs>button{padding:10px;font-size:11px}.workspace-panel{padding:16px;margin-top:10px}.workspace-heading{flex-wrap:wrap;margin-bottom:15px}.workspace-heading h2{margin:0}.trade-composer{padding:14px}.trade-columns{grid-template-columns:1fr}.trade-recipient{align-items:flex-start;flex-direction:column}.trade-recipient select{width:100%}.trade-side{padding:16px}.trade-side>label{margin-top:12px}.offer-header{align-items:flex-start}.game-sidebar{grid-template-columns:1fr}.chat-panel{grid-column:auto}.property-heading{padding-left:22px;padding-right:55px}.property-heading h2{font-size:21px}#property-content{padding:22px}.property-heading{margin:-22px -22px 0}.property-heading>.icon{width:30px;height:30px}.property-metrics{gap:9px}.property-metrics .game-metric>strong{font-size:17px}.property-metrics .game-metric>span{font-size:9px}.setup-layout{grid-template-columns:1fr}.setup-summary{position:static;grid-row:1}.setup-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px}.setup-summary dt{margin-top:0}.setup-summary dd{margin:0 0 8px}.setup-summary .summary-seats{margin:14px 0}.setup-section{padding:18px}.setup-fields{grid-template-columns:1fr}.room-setup{padding:25px 16px}.waiting-layout{grid-template-columns:1fr}.waiting-seats{gap:8px}.waiting-seat{padding:13px 10px;gap:10px}.room-facts{gap:6px}.room-facts>span{font-size:11px}.share-field{flex-wrap:wrap}.share-field button{width:100%}.room-setup .button{width:100%}.buildings{font-size:6px;top:5px;padding:1px}.broken-mark{width:10px;height:10px;font-size:8px;top:4px}.game-board[data-size="48"] .center-instruction{display:none}.game-board[data-size="48"] .center-turn{gap:4px}.game-board[data-size="48"] .board-middle{gap:6px}.game-board[data-size="48"] .pawn-large{width:50px;height:47px}}
/* Les cases latérales se lisent horizontalement, comme des petites étiquettes. */
@media(min-width:981px){.game-board{width:min(100%,max(620px,calc(100dvh - 300px)));max-width:920px}.game-board .board-middle{padding:22px;gap:12px}.center-turn{gap:8px}.center-turn>strong{font-size:24px}.center-metrics{padding:12px 0}}
.board-cell{padding:8px 2px 17px;gap:2px}.board-cell .cell-price{position:absolute;bottom:5px;left:4px;font-size:8px}.board-cell .cell-name{flex-shrink:0;max-height:26px}.board-cell .icon{width:18px;height:18px}.side-cell{display:grid;grid-template-columns:18px minmax(0,1fr);align-content:center;column-gap:3px}.side-cell .cell-name{text-align:left;max-height:36px;font-size:8px}.side-cell .icon{grid-column:1;grid-row:1}.side-cell .cell-name{grid-column:2;grid-row:1}.side-cell .cell-number{display:none}.side-cell .cell-pawns{bottom:16px;justify-content:flex-start}.board-cell>.owner-tag.unowned{min-width:19px;font-size:7px!important;padding:0 2px}.portfolio-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:0 0 22px;margin-bottom:20px;border-bottom:1px solid var(--line)}.share-field button{white-space:nowrap}
@media(max-width:680px){.game-board{width:100%}.board-cell{padding:6px 1px 12px}.board-cell .icon{width:14px;height:14px}.side-cell{display:flex;flex-direction:column;justify-content:center}.side-cell .cell-name{display:none}.board-cell .cell-price{display:none}.board-cell .cell-name{font-size:6px;max-height:21px}.center-turn>strong{font-size:18px}.game-board .board-middle{min-height:0}.cell-pawns{bottom:11px}.side-cell .cell-pawns{bottom:11px;justify-content:center}.portfolio-summary{gap:10px}.portfolio-summary .game-metric>strong{font-size:17px}.portfolio-summary .game-metric>span{font-size:9px}}
.game-tabs .icon{width:16px;height:16px}.property-heading .eyebrow{line-height:1.7}.offer-card .action-row{align-items:stretch}.offer-card .action-row button{margin:0;font-size:12px}
@media(max-width:680px){.board-middle>.test-label,.board-middle>.board-key,.center-instruction{display:none}.game-board .board-middle{gap:6px}.center-turn{gap:4px}.center-metrics{padding:6px 0}.center-metrics .game-metric>span{margin-bottom:3px}.game-tabs .icon{width:14px;height:14px}.pawn-large{width:50px;height:47px;padding-top:12px}.pawn-large .pawn-cheek{top:28px}}
.cell-pawns{flex-wrap:nowrap;align-items:center}.pawn-stack-count{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 2px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--ink);font-size:8px;font-weight:700}.board-cell:has(.cell-pawns:not(:empty))>.icon{opacity:.35}.room-setup>.eyebrow{display:block;margin-bottom:12px}.room-setup>.back-link{margin-bottom:18px}@media(max-width:680px){.setup-summary{grid-row:auto}.pawn-stack-count{min-width:12px;height:13px;font-size:7px}.cell-pawns{gap:0;right:1px;left:1px}}

.recovery-panel{flex:1 1 100%;border:1px solid var(--danger,#b64c40);border-radius:8px;padding:14px;background:var(--surface);line-height:1.5}.recovery-panel p{margin:6px 0}.recovery-panel .small-button{margin:5px 8px 0 0}.rulebook-text{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:15px;line-height:1.75;max-width:88ch;border-top:1px solid var(--border);padding-top:24px}
