.managed-events .event-guidance{font-size:13px;line-height:1.7;color:#b8c7d0;margin:12px 0 16px}.event-tabs{margin-bottom:16px}.event-grid-wrap{max-height:680px;overflow:auto;overscroll-behavior:contain}.event-grid{min-width:1050px;width:100%;font-size:13px}.event-grid thead{position:sticky;top:0;z-index:1;background:#142b3a}.event-grid td{vertical-align:top}.event-grid strong{display:block;color:#ffe4a4}.managed-events small,.event-leaderboard small{display:block;font-size:11px;color:#8fa5b4;line-height:1.6;margin-top:4px;overflow-wrap:anywhere}.event-actions{display:flex;gap:8px;flex-wrap:wrap;min-width:180px}.event-actions button{min-height:44px;font-size:12px;padding:8px 12px}.event-editor-form{display:grid;gap:16px;padding:20px}.event-editor-form>label{display:grid;gap:6px;font-size:13px;color:#e9d7ac}.event-editor-form :is(input:not([type=checkbox]),select){width:100%;min-height:44px;padding:9px 10px;border:1px solid #69838b;background:#071a28;color:#f5e7cc;font:inherit;border-radius:0}.event-editor-form h3{margin:12px 0 0;color:#ffe4a4}.event-prize-tier{padding:16px;border:1px solid #69838b;background:#0b2130;margin-bottom:12px}.event-tier-head{display:grid;grid-template-columns:140px 140px auto;gap:12px;align-items:end;margin-bottom:12px}.event-tier-head>label{display:grid;gap:6px;font-size:13px}.event-tier-head>button{justify-self:end}.event-reward-row{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #d8ad6333}.event-reward-row>span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}.event-reward-row small{display:block;color:#8fa5b4;font-size:11px;line-height:1.6}.event-reward-list{margin-bottom:12px}.event-weekdays{display:flex;gap:16px;flex-wrap:wrap;border:1px solid #69838b;padding:12px 16px}.event-weekdays label{display:flex;gap:6px;align-items:center;min-height:36px}.event-weekdays input{width:18px;height:18px;accent-color:#a83935}.event-leaderboard{min-width:620px;font-size:13px}.event-editor-dialog .mall-check{display:flex;gap:8px;align-items:center;min-height:44px}.event-editor-dialog input[type=checkbox]{width:18px;height:18px;accent-color:#a83935}
@media(max-width:600px){.event-editor-form{padding:12px}.event-tier-head{grid-template-columns:1fr 1fr}.event-tier-head>button{grid-column:1/-1;justify-self:start}.event-prize-tier{padding:12px}.event-reward-row{flex-wrap:wrap}.event-reward-row>span{flex-basis:100%}.event-weekdays{gap:8px}}

/* Shared gold frame for both the event editor and its body-level reward dialog. */
body[data-page="admin"] .event-editor-dialog{position:fixed;inset:0;margin:auto;width:min(1380px,calc(100vw - 48px));max-width:calc(100vw - 48px);max-height:calc(100dvh - 40px);padding:12px;border:1px solid transparent;border-image:url('/portal/assets/optimized/panel-gold-user-v4-ebe373240d46.webp') 120/28px/0 stretch;border-radius:0;background:linear-gradient(115deg,#142d3d,#071c2b);color:#f5e7cc;box-shadow:0 18px 70px #0009;overflow:hidden;box-sizing:border-box}
body[data-page="admin"] .event-editor-dialog:not([open]){display:none}
body[data-page="admin"] .event-editor-dialog[open]{display:flex;flex-direction:column}
body[data-page="admin"] .event-editor-dialog>.cm-detail{display:block;flex:1 1 auto;min-height:0;width:100%;margin:0;padding:0;border:0;border-image:none;background:none;box-shadow:none;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#b89a5b #0b2231;scrollbar-width:thin}
.event-editor-dialog .cm-profile-bar>.cm-button{flex-shrink:0;min-width:86px;min-height:44px}
.event-editor-dialog :focus-visible{outline:2px solid #71dbd3;outline-offset:2px}
.event-editor-dialog .cm-detail>.event-leaderboard{margin:16px;max-width:calc(100% - 32px)}
@media(max-width:780px){body[data-page="admin"] .event-editor-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:9px;border-image-width:22px}.event-editor-dialog .cm-profile-bar{gap:10px}.event-editor-dialog .cm-profile-bar>.cm-button{min-width:76px;padding:8px 10px}}