.simulation-entry{display:flex;align-items:center;justify-content:space-between;gap:12px}.simulation-entry span{font-size:13px;color:#65786b}.simulation-banner{position:sticky;top:0;z-index:1200;background:#f8d99f;color:#593a13;padding:13px 24px;display:flex;align-items:center;gap:20px}.simulation-banner a{margin-left:auto;color:inherit;font-weight:700}.simulation-banner span{font-size:13px}.simulation-mode .workspace-sidebar,.simulation-mode .topbar,.simulation-mode .tournament-qr-box,.simulation-mode .tournament-card>.copy-box:not(.tournament-prize-summary){display:none!important}.simulation-mode #simulationTools{display:block;margin-top:16px}.simulation-mode #simulationTools label{max-width:340px}.pyramid-scroll{overflow:auto;max-height:720px;width:100%;border-radius:12px;border:1px solid #d8e4da;background:#fafcf8;text-align:center}.pyramid-scroll svg{display:block;max-width:none;margin:0 auto}.tournament-pyramid text{pointer-events:none}.tournament-pyramid .pyramid-match{cursor:default}.tournament-pyramid path{opacity:.8}.tournament-card .bracket-preview{overflow:visible}.tournament-card .main-bracket{margin:18px 0}.main-bracket h3{text-align:center}.match-adjustments{margin:10px 0 0}.match-adjustments button{font-size:13px;padding:8px 12px}.entry-progress{display:block;font-size:12px;color:#416f55}.entry-dialog form{min-width:0}.entry-dialog select,.entry-dialog input{max-width:100%}.gift-service-panel{margin:20px 0;padding:18px;border:1px solid #d6e3d9;border-radius:12px}.gift-history{max-height:240px;overflow:auto;font-size:13px}.gift-preview{padding:12px;background:#eff5ee;border-radius:10px;white-space:pre-line}.pyramid-controls{display:flex;justify-content:center;gap:8px;margin:10px 0}.simulation-mode [data-store-tab]:not([data-store-tab="events"]){display:none!important}@media(max-width:700px){.simulation-banner{flex-wrap:wrap;gap:8px;padding:10px 14px}.simulation-banner span{display:none}.simulation-entry{flex-wrap:wrap}.pyramid-scroll{max-height:600px}.match-adjustments{flex-wrap:wrap}}

.screen-pyramid-page{display:flex;justify-content:center;height:calc(100vh - 300px);min-height:340px}.screen-pyramid-page svg{max-width:100%;max-height:100%;width:auto;height:100%;object-fit:contain}.pyramid-toolbar{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap}.pyramid-scroll{display:block;text-align:center}.pyramid-scroll svg{display:block;margin:0 auto}.simulation-mode #tournamentRewardRules,.simulation-mode .tournament-signup-qr{display:none}

.simulation-mode .sidebar{display:none}.simulation-mode .app-shell{grid-template-columns:1fr}.simulation-mode .main{margin-left:0}.simulation-mode #showLadderScreen{display:none!important}.simulation-mode .stats-grid{display:none}.simulation-mode #simulationTools{border:1px solid #ddc597;border-radius:12px;padding:16px;background:#fff9ee}
.role-store.simulation-mode .app-shell{grid-template-columns:minmax(0,1fr)!important}.simulation-mode .app-shell>main{min-width:0;width:100%}.simulation-mode .tournament-card-actions button[onclick^="openTournamentRewards"]{display:none!important}
.match-adjustments button,.pyramid-toolbar button,#simulationTools button,.tournament-card>.button-row>button{padding:10px 14px;border:1px solid #d4ded4;background:#edf2ea;color:#264f3e;border-radius:10px;font:inherit;cursor:pointer}.match-adjustments button:hover,.pyramid-toolbar button:hover{background:#dfeada}.simulation-mode button[onclick^="editTournamentRewards"]{display:none!important}
body.role-screen #screenTournamentLayout{display:flex;flex-direction:column;gap:8px;min-height:0;height:calc(100vh - 125px)}
body.role-screen #screenTournamentLayout .screen-tournament-header{padding:10px 16px;flex:none}body.role-screen #screenTournamentLayout .screen-tournament-header h2{font-size:26px;margin:0}
body.role-screen #screenTournamentLayout .screen-podium{min-height:0;height:auto;flex:none;gap:10px;align-items:stretch}body.role-screen #screenTournamentLayout .screen-podium>div{min-height:0;height:auto;padding:10px;display:flex;gap:12px;justify-content:center;align-items:center}body.role-screen #screenTournamentLayout .screen-podium span{font-size:19px}body.role-screen #screenTournamentLayout .screen-podium strong{font-size:24px}
body.role-screen #screenTournamentLayout .screen-bracket-nav{flex:none;display:flex;flex-wrap:nowrap;align-items:center;margin:0;gap:8px}body.role-screen #screenTournamentLayout .screen-bracket-nav button,body.role-screen #screenTournamentLayout .screen-bracket-nav select{font-size:16px;padding:7px 12px;min-height:0;width:auto;white-space:nowrap}body.role-screen #screenTournamentLayout .screen-bracket-nav select{flex:1;max-width:420px}body.role-screen #screenTournamentLayout .screen-pyramid-page{flex:1;min-height:0;height:auto;overflow:hidden}body.role-screen #screenTournamentLayout .screen-pyramid-page svg{height:100%;width:100%;max-width:100%;max-height:100%}
.simulation-mode .dashboard-grid{display:none!important}

.event-flow49{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:14px;background:#edf6ef;border:1px solid #c1d9c7;border-radius:12px;margin:12px 0}.event-flow49 strong{color:#185743}.event-flow49 span,.event-flow49 small{font-size:13px;color:#567265}.event-flow49 button{margin-left:auto}.event-flow49 small{flex-basis:100%}

/* Keep live fragments out of the layout; collapsed fee lists are built on demand. */
[data-live-fragment]{display:contents}#adjustmentFields{border:0;padding:0;margin:0;min-width:0}#adjustmentError{min-height:1.7em;color:#375c48}#adjustmentFields select{width:100%}.simulation-banner{position:fixed;inset:0 0 auto 0;box-sizing:border-box;min-height:64px}.simulation-mode{padding-top:72px}.simulation-banner a{display:inline-flex;align-items:center;justify-content:center;background:#593a13;color:#fff;padding:10px 16px;border-radius:10px;text-decoration:none;white-space:nowrap}.simulation-mode .app-shell{min-height:calc(100vh - 72px)}@media(max-width:700px){.simulation-banner{min-height:96px}.simulation-mode{padding-top:104px}.simulation-banner a{margin-left:0;min-height:42px}.simulation-mode .app-shell{min-height:calc(100vh - 104px)}}

#adjustmentFields label:has(input[type="checkbox"]){display:flex;align-items:flex-start;gap:10px;margin:14px 0}#adjustmentFields input[type="checkbox"]{width:18px;height:18px;min-height:18px;flex:0 0 18px;padding:0;margin:3px 0 0}

.tournament-advanced h3{margin:8px 0 14px;font-size:16px;color:#214f43}

.tournament-advanced{min-width:0}.tournament-advanced>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.tournament-advanced label{min-width:0}.tournament-advanced input:not([type="checkbox"]),.tournament-advanced select{min-width:0;width:100%;max-width:100%;box-sizing:border-box}#createTournamentDetails .tournament-form>.form-hint{grid-column:1/-1}@media(max-width:700px){.tournament-advanced>.form-grid{grid-template-columns:minmax(0,1fr)}#createTournamentDetails .tournament-form{grid-template-columns:minmax(0,1fr)}#createTournamentDetails .tournament-form>label{min-width:0}}
