#surface-relations.sponsors-scene-room{background:#102c38;--room-art:none!important;padding:16px 20px}.sponsors-scene-room>.surface-page-heading{display:none}.sponsors-scene-room .illustrated-relations,.sponsors-scene-room [data-relation-panel=sponsors]{min-width:0;max-width:100%}.government-shell .sponsors-scene{display:block;max-width:1400px;min-width:0;margin:auto;padding:0;border:0;background:none;color:#f4e8cf;box-sizing:border-box}.government-shell .sponsor-scene-heading{display:block;background:none;border:0;padding:0;box-shadow:none}.sponsor-scene-heading h2{font:700 28px Georgia,serif;margin:8px 0}.sponsors-scene p{font-size:16px;line-height:1.6}.sponsor-council{margin:20px 0;padding:18px;border:1px solid #9c8559;background:#173943}.government-shell .sponsor-council button{display:grid;grid-template-columns:1fr auto;gap:8px 20px;width:100%;text-align:left;background:#102f39;color:#f9e2b2;padding:14px;border:1px solid #aa905f;font-size:16px}.sponsor-council strong{font-size:28px}.sponsor-council meter{width:100%;grid-column:1/-1}.sponsor-council button>span:last-child{grid-column:1/-1;font-size:14px}.sponsor-salon{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-width:100%;min-width:0}.sponsor-bay{position:relative;min-width:0;border:3px solid #846b44;background:#11333c;box-sizing:border-box}.sponsor-bay.is-selected{border-color:#ffe3a0;box-shadow:inset 0 0 0 2px #ffe3a0}.government-shell .sponsor-bay-art{display:block;width:100%;height:auto;min-width:0;max-width:100%;max-height:none;aspect-ratio:1 / 2;flex:none}.sponsor-bay-art g{cursor:pointer;outline:none}.sponsor-bay-art g:is(:hover,:focus-visible) rect{stroke:#fff0b9;stroke-width:8;fill:#ffe8ae22}.government-shell .sponsor-nameplate{display:grid;width:100%;gap:6px;text-align:left;background:#163c45;color:#fff0cf;border:0;border-top:2px solid #b2935b;padding:16px;font-size:19px;line-height:1.3;min-height:160px;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}.sponsor-nameplate strong{font-size:28px}.sponsor-nameplate small{font-size:14px;font-weight:400}.sponsor-bay[data-sponsor-mood=hostile] .sponsor-nameplate strong{color:#ffb49d}.sponsor-bay[data-sponsor-mood=friendly] .sponsor-nameplate strong{color:#b7efca}.sponsor-readout,.sponsor-terms,.sponsor-history{margin-top:22px;border:1px solid #887a55;background:#173943;padding:22px;min-width:0;overflow-wrap:anywhere}.sponsors-scene h3{font:700 24px Georgia,serif;margin:6px 0 16px}.sponsor-readout blockquote{margin:20px 0;padding:12px 18px;border-left:3px solid #e3bc74;font-size:17px;line-height:1.6}.sponsor-recipient{border-top:1px solid #6a7769;margin-top:22px;padding-top:6px}.sponsor-recipient small{display:block;font-size:14px;line-height:1.5;margin-top:12px}.sponsors-scene button:focus-visible,.sponsor-history summary:focus-visible{outline:3px solid #ffe3a0;outline-offset:3px}.sponsor-recipient button,.sponsor-terms button{display:block;margin-top:22px;min-height:48px;max-width:100%;white-space:normal;font-size:16px;line-height:1.4;padding:12px 18px;box-sizing:border-box}.sponsor-ultimatum{border:2px solid #ffb49d;background:#542e2d;padding:18px;margin:18px 0}.sponsor-history summary{cursor:pointer;font-size:18px;line-height:1.5}.sponsors-scene-room .panel-original-details{margin-top:22px}.sponsors-scene-room .panel-original-details:has(.relation-originals:empty){display:none}@media(max-width:650px){#surface-relations.sponsors-scene-room{padding:10px}.sponsor-scene-heading h2{font-size:24px}.sponsor-salon{grid-template-columns:1fr;gap:18px}.sponsor-bay{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.government-shell .sponsor-nameplate{align-content:center;min-height:0;border-top:0;border-left:2px solid #b2935b;padding:12px;font-size:18px}.sponsor-readout,.sponsor-terms,.sponsor-history{padding:16px}.sponsor-council{padding:12px}.sponsors-scene h3{font-size:22px}}
/* The legacy board lays its direct divs out as a flex row. This one is a scene. */
.government-shell .sponsors-scene>.sponsor-salon{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-items:stretch;flex-wrap:initial}
.government-shell .sponsor-council meter{width:100%;min-width:0;max-width:none}
@media(max-width:650px){.government-shell .sponsors-scene>.sponsor-salon{grid-template-columns:minmax(0,1fr);gap:18px}}
.government-shell .sponsors-scene{font-size:16px;line-height:1.6}
.government-shell .sponsors-scene .sponsor-nameplate strong,.government-shell .sponsors-scene .sponsor-council strong{font-size:28px}
/* Match the coalition desk panels; selection belongs to the label, never the props. */
#app .sponsors-scene .sponsor-bay,#app .sponsors-scene .sponsor-bay.is-selected{border:0;box-shadow:none;background:transparent}
#app .sponsors-scene .sponsor-nameplate,#app .sponsors-scene .sponsor-council>button{font:400 1rem/1.5 Georgia,serif;text-align:left;color:#f2e9d6;background:linear-gradient(#073d46,#062e35);border:3px solid #b78a48;border-radius:18px;box-shadow:none;transform:none;padding:18px 20px;transition:none;letter-spacing:0}
#app .sponsors-scene .sponsor-nameplate{margin-top:12px;min-height:182px;align-content:start;gap:8px}
#app .sponsors-scene .sponsor-nameplate>span{font:700 1.35rem/1.3 Georgia,serif;color:#ffe3a0}
#app .sponsors-scene .sponsor-nameplate>strong{font:700 1.65rem/1.3 Georgia,serif;color:#fff1cf}
#app .sponsors-scene .sponsor-nameplate>small{font:400 1rem/1.4 Georgia,serif;color:#eee7d7}
#app .sponsors-scene .sponsor-bay[data-sponsor-mood=hostile] .sponsor-nameplate>strong{color:#ffb49d}
#app .sponsors-scene .sponsor-bay[data-sponsor-mood=friendly] .sponsor-nameplate>strong{color:#b7efca}
#app .sponsors-scene .sponsor-bay.is-selected .sponsor-nameplate,#app .sponsors-scene .sponsor-bay:has(g:is(:hover,:focus-visible)) .sponsor-nameplate,#app .sponsors-scene .sponsor-nameplate:is(:hover,:focus-visible){border-color:#ffe6a0;box-shadow:inset 0 0 0 2px #ffe6a0;background:linear-gradient(#073d46,#062e35);transform:none}
#app .sponsors-scene .sponsor-bay-art g rect,#app .sponsors-scene .sponsor-bay-art g:is(:hover,:focus-visible) rect{stroke:none;fill:transparent}
#app .sponsors-scene .sponsor-council{border:0;background:none;padding:0}
#app .sponsors-scene .sponsor-council>button>span{font-family:Georgia,serif;color:#ffe3a0}
#app .sponsors-scene .sponsor-council>button>strong{font:700 1.8rem/1.3 Georgia,serif;color:#fff1cf}
#app .sponsors-scene .sponsor-council>button:is(:hover,:focus-visible),#app .sponsors-scene .sponsor-council>button[aria-expanded=true]{border-color:#ffe6a0;box-shadow:inset 0 0 0 2px #ffe6a0;background:linear-gradient(#073d46,#062e35)}
@media(max-width:650px){#app .sponsors-scene .sponsor-bay{display:block}#app .sponsors-scene .sponsor-bay-art{max-width:300px;margin:auto}#app .sponsors-scene .sponsor-nameplate{min-height:0;padding:18px}}
/* Adjacent native-coordinate image slices form a single uninterrupted salon. */
#app .government-shell .sponsors-scene>.sponsor-salon{gap:0}
#app .sponsors-scene .sponsor-nameplate{width:calc(100% - 12px);margin:12px 6px 0}
#app .sponsors-scene .sponsor-council>button{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
#app .sponsors-scene .sponsor-council>button>strong{justify-self:end}
#app .sponsors-scene .sponsor-council>button>.sponsor-council-explain{grid-column:1;grid-row:3;align-self:end}
#app .sponsors-scene .sponsor-council>button>.sponsor-council-quote{grid-column:2;grid-row:3;text-align:right;align-self:end;font:italic 1rem/1.5 Georgia,serif;color:#eee7d7;min-width:0}
@media(max-width:650px){#app .government-shell .sponsors-scene>.sponsor-salon{gap:18px}#app .sponsors-scene .sponsor-nameplate{width:100%;margin:12px 0 0}#app .sponsors-scene .sponsor-council>button{gap:10px}#app .sponsors-scene .sponsor-council>button>.sponsor-council-explain{grid-column:1/-1;grid-row:3}#app .sponsors-scene .sponsor-council>button>.sponsor-council-quote{grid-column:1/-1;grid-row:4;justify-self:end}}
/* On narrow screens the complete picture stays together; readable labels follow it. */
@media(max-width:650px){
 #app .government-shell .sponsors-scene>.sponsor-salon{grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
 #app .sponsors-scene .sponsor-bay{display:contents}
 #app .sponsors-scene .sponsor-bay-art{grid-row:1;max-width:none;width:100%;margin:0}
 #app .sponsors-scene .sponsor-bay:nth-child(1) .sponsor-bay-art{grid-column:1}
 #app .sponsors-scene .sponsor-bay:nth-child(2) .sponsor-bay-art{grid-column:2}
 #app .sponsors-scene .sponsor-bay:nth-child(3) .sponsor-bay-art{grid-column:3}
 #app .sponsors-scene .sponsor-nameplate{grid-column:1/-1}
 #app .sponsors-scene .sponsor-bay:nth-child(1) .sponsor-nameplate{grid-row:2}
 #app .sponsors-scene .sponsor-bay:nth-child(2) .sponsor-nameplate{grid-row:3}
 #app .sponsors-scene .sponsor-bay:nth-child(3) .sponsor-nameplate{grid-row:4}
}
/* One wooden desk continues beneath the art and all three sponsor labels. */
#app .government-shell .sponsors-scene>.sponsor-salon{background:#75411c;border:2px solid #9c8559;border-bottom:8px double #d09b51;box-sizing:border-box;padding-bottom:16px;box-shadow:inset 0 -3px #d09b51}
@media(max-width:650px){#app .sponsors-scene .sponsor-nameplate{width:calc(100% - 16px);margin:12px 8px 0}}
#app .sponsors-scene .sponsor-preparation-host[hidden]{display:none}
#app .sponsors-scene .sponsor-preparation-host:not([hidden]){display:block;margin-top:22px;padding:18px;background:#f3ead5;color:#273a44;border:1px solid #b78a48}
/* Outpainted velvet/crates continue behind opaque cards, then fade into wood. */
#app .sponsors-scene{container-type:inline-size}
#app .government-shell .sponsors-scene>.sponsor-salon{position:relative;isolation:isolate;overflow:hidden}
#app .sponsors-scene .sponsor-salon::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:url('assets/sponsors/salon-extended.webp') top center/100% auto no-repeat;mask-image:linear-gradient(to bottom,#000 calc((100cqw - 4px) * .6666667 + 12px),transparent calc((100cqw - 4px) * .6666667 + 110px))}
#app .sponsors-scene .sponsor-bay-art,#app .sponsors-scene .sponsor-nameplate{position:relative;z-index:1}
#app .sponsors-scene :is(.sponsor-readout,.sponsor-terms,.sponsor-history,.sponsor-ultimatum,.sponsor-preparation-host){border-radius:8px;border-color:#b78a48}

/* Match the reference panel corners; the sponsor illustration stays square. */
#app #surface-relations :is(.coalition-readout,.strategy-confidence,.strategy-panel,.sponsor-council>button,.sponsor-nameplate){border-radius:8px}
#app #surface-relations .sponsors-scene>.sponsor-salon{border-radius:0}
/* Selected sponsor detail is the square continuation of the salon, not a new card. */
#app #surface-relations .sponsors-scene .sponsor-readout{margin-top:0;border-top:0;border-radius:0;box-sizing:border-box;width:100%}
#app #surface-relations .sponsors-scene .sponsor-readout{border:2px solid #9c8559;border-top:0}

/* Each bay uses the SAME square source and scale above and below its card.
   Never join a landscape mood image to a separately generated lower half. */
#app .sponsors-scene .sponsor-salon::before{display:none}
#app .sponsors-scene .sponsor-bay::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background-image:var(--salon-art);background-position:var(--salon-position) top;background-size:300% auto;background-repeat:no-repeat;mask-image:linear-gradient(to bottom,#000 calc((100cqw - 4px) * .6666667 + 12px),transparent calc((100cqw - 4px) * .6666667 + 110px))}
@media(max-width:650px){
 #app .sponsors-scene .sponsor-bay::before{display:none}
 #app .sponsors-scene .sponsor-salon::before{display:block;background-image:url('assets/sponsors/salon-continuous-neutral.webp')}
}
/* Match the coalition SVG frame's 18px radius and 3/5px strokes at the
   same scene scale (1536 native units), retaining the selected inset rim. */
#app #surface-relations .sponsors-scene .sponsor-nameplate{border-radius:calc((100cqw - 4px) * .01171875);border-width:calc((100cqw - 4px) * .001953125);border-color:#b78a48}
#app #surface-relations .sponsors-scene .sponsor-bay.is-selected .sponsor-nameplate{border-color:#ffe6a0;border-width:calc((100cqw - 4px) * .003255208333);box-shadow:inset 0 0 0 2px #ffe6a0}
#app #surface-relations .sponsors-scene .sponsor-bay:has(g:is(:hover,:focus-visible)) .sponsor-nameplate,#app #surface-relations .sponsors-scene .sponsor-nameplate:is(:hover,:focus-visible){border-color:#ffe3a0;border-width:calc((100cqw - 4px) * .003255208333)}
#app #surface-relations .sponsors-scene .sponsor-bay:not(.is-selected):has(g:is(:hover,:focus-visible)) .sponsor-nameplate,#app #surface-relations .sponsors-scene .sponsor-bay:not(.is-selected) .sponsor-nameplate:is(:hover,:focus-visible){box-shadow:none}
/* The council uses the same resting/hover frame as the sponsor cards. */
#app #surface-relations .sponsors-scene .sponsor-council>button{border-radius:calc((100cqw - 4px) * .01171875);border-width:calc((100cqw - 4px) * .001953125);border-color:#b78a48;box-shadow:none}
#app #surface-relations .sponsors-scene .sponsor-council>button:is(:hover,:focus-visible){border-color:#ffe3a0;border-width:calc((100cqw - 4px) * .003255208333);box-shadow:none}

.sponsor-council .surface-status-bar{grid-column:1/-1;margin:5px 0}

#sponsor-council-rules{margin-top:24px}#sponsor-council-rules>p:first-child{margin-top:0}#app #surface-relations .sponsors-scene .sponsor-council>button[aria-expanded=true]{border-color:#ffe3a0;box-shadow:inset 0 0 0 1px #ffe3a0}

/* The shared encounter history belongs only to Sponsors and follows its room palette. */
#app #surface-relations.sponsors-scene-room .npc-memory-panel{background:#173943;color:#f4e8cf;border:1px solid #887a55;border-radius:0;padding:22px;margin:24px 0}
#app #surface-relations.sponsors-scene-room .npc-memory-panel>h3{color:#f9e2b2;font:700 24px/1.3 Georgia,serif;margin:0 0 12px}
#app #surface-relations.sponsors-scene-room .npc-memory-panel :is(p,span,small){color:#f4e8cf}
#app #surface-relations.sponsors-scene-room .npc-memory-panel article{border-top:1px solid #6a7769}
#app #surface-relations.sponsors-scene-room .npc-memory-panel article>b{color:#fff0cf}
@media(max-width:650px){#app #surface-relations.sponsors-scene-room .npc-memory-panel{padding:16px}}
