/* Warm Studio: ivory canvas, quiet gold, and a clear working hierarchy. */
:root{color-scheme:light;--background:#faf9f6;--foreground:#20252c;--card:#fff;--card-foreground:#20252c;--popover:#fff;--popover-foreground:#20252c;--primary:#80601e;--primary-foreground:#fff;--secondary:#f2eee6;--secondary-foreground:#37332c;--muted:#f5f4f1;--muted-foreground:#626976;--accent:#f1e2c0;--accent-foreground:#604714;--border:#e8e5df;--input:#d9d7d1;--ring:#97742a;--radius:.75rem}
/* Legacy components inside Fluent use the active theme, including portaled dialogs. */
.fluent-dashboard,.fluent-dashboard-portal{
 --background:var(--colorNeutralBackground2);
 --foreground:var(--colorNeutralForeground1);
 --card:var(--colorNeutralBackground1);
 --card-foreground:var(--colorNeutralForeground1);
 --popover:var(--colorNeutralBackground1);
 --popover-foreground:var(--colorNeutralForeground1);
 --secondary:var(--colorNeutralBackground3);
 --secondary-foreground:var(--colorNeutralForeground1);
 --muted:var(--colorNeutralBackground3);
 --muted-foreground:var(--colorNeutralForeground3);
 --border:var(--colorNeutralStroke2);
 --input:var(--colorNeutralStroke1);
}
.fluent-dashboard .debug-scoreboard-log-window{background:var(--background);color:var(--foreground);border-color:var(--border)}
.fluent-dashboard .debug-scoreboard-log-window details{border-color:var(--border)}
@font-face{font-family:'Cinzel';src:url('/fonts/Cinzel-Variable.ttf') format('truetype');font-weight:400 900;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Sans';src:url('/fonts/IBMPlexSans-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Sans';src:url('/fonts/IBMPlexSans-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Sans';src:url('/fonts/IBMPlexSans-SemiBold.woff2') format('woff2');font-weight:600 800;font-style:normal;font-display:swap}
*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{background:var(--background);color:var(--foreground);font:16px/1.5 'IBM Plex Sans',ui-sans-serif,system-ui,sans-serif}button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){font:inherit}a:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){color:var(--primary);text-underline-offset:3px}button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),a:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),summary:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){touch-action:manipulation}button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)):focus-visible,a:not(:where(.fui-FluentProvider, .fui-FluentProvider *)):focus-visible,input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)):focus-visible,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)):focus-visible,textarea:not(:where(.fui-FluentProvider, .fui-FluentProvider *)):focus-visible,summary:not(:where(.fui-FluentProvider, .fui-FluentProvider *)):focus-visible,[tabindex="0"]:focus-visible{outline:2px solid var(--ring);outline-offset:4px}button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 16px;border:1px solid var(--primary);border-radius:8px;background:var(--primary);color:#fff;font-size:14px;font-weight:500;cursor:pointer}button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)):hover:not(:disabled){background:#695018}button:not(:where(.fui-FluentProvider, .fui-FluentProvider *))[data-variant="outline"]{background:var(--card);color:var(--foreground);border-color:var(--input)}button:not(:where(.fui-FluentProvider, .fui-FluentProvider *))[data-variant="outline"]:hover:not(:disabled){background:var(--muted)}button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)):disabled{opacity:.5;cursor:not-allowed}input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){display:block;min-height:42px;width:100%;margin-top:6px;padding:9px 12px;border:1px solid var(--input);border-radius:8px;background:var(--card);color:var(--foreground);font-size:16px}textarea:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){resize:vertical}input:not(:where(.fui-FluentProvider, .fui-FluentProvider *))::placeholder,textarea:not(:where(.fui-FluentProvider, .fui-FluentProvider *))::placeholder{color:#6f7580}label:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){font-size:14px;color:var(--muted-foreground)}h1:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),h2:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),h3:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),p:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){margin-top:0}h2:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){font-size:22px;line-height:1.3;font-weight:600;letter-spacing:-.025em}h3:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){font-size:18px;font-weight:500}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:-80px;z-index:100;background:var(--card);padding:12px 20px;border:1px solid var(--primary);border-radius:8px}.skip-link:focus{top:12px}
.workspace{display:grid;grid-template-columns:192px minmax(0,1fr);min-height:100dvh}.navigation-sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;padding:14px 10px 12px;background:#f7f6f2;border-right:1px solid var(--border);overflow:auto}.brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:0 12px;text-decoration:none;color:var(--foreground);font-weight:500}.brand-logo{width:100px;height:auto;aspect-ratio:1;object-fit:contain;border-radius:50%;background:transparent}.workspace-nav{display:flex;flex-direction:column;gap:2px;margin:14px 0 12px}.workspace-nav a{position:relative;display:flex;align-items:center;gap:9px;min-height:32px;padding:6px 10px;border-radius:6px;color:#414955;text-decoration:none;font-size:14px;line-height:20px}.workspace-nav a:hover{background:#efede7}.workspace-nav a[aria-current="page"]{background:#efe7d6;color:#6c5119;font-weight:500}.workspace-nav a[aria-current="page"]:before{content:'';position:absolute;left:0;top:7px;bottom:7px;width:3px;background:#97742a;border-radius:2px}.workspace-nav svg{flex:none;width:18px;height:18px}.sidebar-footer{margin-top:auto;padding:12px 4px 0;border-top:1px solid var(--border)}.private{display:flex;align-items:center;gap:8px;color:var(--muted-foreground);font-size:14px}.account-menu{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:14px;min-width:0}.account-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-label small{display:block;color:var(--muted-foreground);font-size:13px}.account-menu>a{margin-left:auto;display:grid;place-items:center;min-width:30px;min-height:40px;color:var(--muted-foreground)}.avatar{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:50%;background:#e5e5e1;color:#626975;font-size:20px;font-weight:500}.avatar-live{background:#e2eadd;color:#476045}.account-avatar{width:34px;height:34px;font-size:16px;color:#fff;background:#856621}
.workspace-content{min-width:0;padding:32px clamp(20px,2.7vw,48px) 36px;max-width:2100px;width:100%;margin:0 auto;align-self:start;outline:none}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-header h1{font-size:32px;font-weight:600;line-height:1.2;letter-spacing:-.04em;margin:0}.page-header p{font-size:17px;margin:6px 0 0;color:var(--muted-foreground)}.header-status{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:flex-end;font-size:14px}.status{display:flex;align-items:center;gap:8px;color:#6f5b32}.status:before{content:'';width:7px;height:7px;flex:none;border-radius:50%;background:#b88a3d}.status.healthy:before{background:#5d9850}.updated-at{padding-left:18px;border-left:1px solid var(--input);color:var(--muted-foreground);white-space:nowrap}.overview-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:20px 26px;border:1px solid var(--border);border-radius:12px;background:var(--card);box-shadow:0 2px 5px #342b1304;margin-bottom:26px}.overview-summary>div{display:flex;align-items:center;gap:18px;min-width:0}.overview-summary>div+div{border-left:1px solid var(--border);padding-left:30px}.summary-icon{color:#8b6b26;display:grid;place-items:center;width:42px;height:42px;flex:none}.live-icon{color:#518441;background:#edf4e9;border-radius:50%}.overview-summary strong{font-size:24px;font-weight:600;line-height:1.3}.overview-summary strong>span{font-size:16px;font-weight:500}.overview-summary p{font-size:14px;color:var(--muted-foreground);margin:4px 0 0}
.home-columns,.history-page{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}.activity-panel,.roster,.feed{min-width:0;border:1px solid var(--border);border-radius:12px;background:var(--card);box-shadow:0 3px 8px #302a1903;overflow:hidden}.activity-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:24px 24px 0;flex-wrap:wrap}.activity-heading h2{display:flex;align-items:center;gap:12px;margin:0}.activity-heading h2 svg{color:#8b6b26;flex:none}.activity-heading p{font-size:14px;margin:8px 0 0;color:var(--muted-foreground)}.sound-status{display:flex;align-items:center;gap:5px;color:var(--muted-foreground);font-size:12px;line-height:1.5}.sound-status svg{flex:none}.activity-filters{display:flex;flex-wrap:wrap;gap:7px;padding:20px 24px 18px}.activity-filters button,.roster-filters button{border:1px solid transparent;border-radius:24px;background:#f5f4f1;color:#646975;min-height:38px;padding:7px 15px;font-size:14px;white-space:normal}.activity-filters button[aria-pressed="true"],.roster-filters button[aria-pressed="true"]{background:#efdfb9;color:#5f4716;font-weight:500}.activity-filters button:hover:not(:disabled),.roster-filters button:hover:not(:disabled){background:#ece7dc}.activity-scroll{max-height:65vh;min-height:260px;overflow:auto;overscroll-behavior:contain;padding:0 16px;scrollbar-width:thin;scrollbar-color:#d8cfbb transparent}.activity-list{margin:0;padding:0;list-style:none}.activity-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:16px;align-items:center;padding:20px 8px;border-top:1px solid #eeece7;min-height:90px}.event-icon{height:42px;width:42px;display:grid;place-items:center;border-radius:50%;color:#5c894b;background:#f0f6ed}.activity-description{min-width:0}.activity-description p{margin:0;overflow-wrap:anywhere}.activity-description strong{font-weight:600}.activity-meta{display:flex;align-items:center;flex-wrap:wrap;gap:0 6px;font-size:14px;color:var(--muted-foreground);overflow-wrap:anywhere}.activity-value{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:66px;font-variant-numeric:tabular-nums}.activity-value strong{display:flex;align-items:center;gap:6px;color:#7a5a18;font-size:20px;white-space:nowrap}.activity-value time{font-size:13px;color:var(--muted-foreground);white-space:nowrap}.activity-row.activity-gift{background:#fcf6e9;border:1px solid #f3ead6;border-radius:10px;padding:18px 12px;margin:8px 0}.activity-gift .event-icon{color:#8a6722;background:#fffaf0}.activity-description .gift-description{color:#545c65;font-size:14px;margin-top:4px}.activity-join .event-icon{background:#f0edf5;color:#71608a}.copy-handle-wrap{display:inline-flex;align-items:center;max-width:100%;min-width:0;gap:4px;position:relative;vertical-align:middle}.copy-handle-wrap .copy-handle{width:auto;max-width:100%;display:inline-flex;justify-content:flex-start;gap:6px;min-height:28px;padding:1px 0;border:0;background:transparent;color:var(--muted-foreground);font-size:14px;line-height:1.5;font-weight:400;white-space:normal;text-align:left;overflow-wrap:anywhere;box-shadow:none;border-radius:3px}.copy-handle-wrap .copy-handle svg{flex:none;width:12px;height:12px}.copy-handle-wrap .copy-handle:hover:not(:disabled){color:var(--primary);background:#f5f0e5}.copy-status{position:absolute;top:100%;left:0;z-index:5;background:var(--card);color:#6b501a;font-size:12px;box-shadow:0 2px 10px #0001;border-radius:4px;white-space:normal}.copy-status:empty{display:none}.copy-status:not(:empty){padding:3px 6px}.panel-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:18px 24px 10px}.panel-footer a,.manage-creators-link{display:flex;align-items:center;gap:10px;font-size:14px;text-decoration:none;font-weight:500}.panel-footer a:hover,.manage-creators-link:hover{text-decoration:underline}.panel-footer>span{font-size:12px;color:var(--muted-foreground)}.history-details{padding:0 24px 12px}.history-details summary{padding:8px 0;font-size:13px;color:var(--muted-foreground);cursor:pointer}.history-details[open]{max-height:280px;overflow:auto}.inset-note{font-size:14px;color:var(--muted-foreground);line-height:1.7;margin:8px 0 12px}.empty{text-align:center;padding:40px 20px;color:var(--muted-foreground)}.empty svg{margin:0 auto 14px;display:block;color:#8d733f}.empty h3{margin:0 0 8px;color:var(--foreground)}.empty p{font-size:14px;margin:0}
.roster>h2{display:flex;align-items:center;gap:10px;font-size:20px;padding:24px 24px 0;margin:0}.roster>h2 svg{color:#636966;flex:none}.roster>h2>span{margin-left:auto;font-size:13px;font-weight:400;color:var(--muted-foreground);white-space:nowrap}.roster-controls{padding:20px 24px 10px}.search-field{position:relative;display:block}.search-field>svg{position:absolute;top:13px;left:13px;color:#818792;pointer-events:none}.search-field input{padding-left:39px;margin:0;background:#fcfcfb;font-size:14px}.roster-filters{display:flex;gap:4px;margin-top:14px}.roster-filters button{flex:1}.creator-scroll{max-height:60vh;overflow:auto;overscroll-behavior:contain;padding:0 24px;scrollbar-width:thin;scrollbar-color:#d8cfbb transparent}.creator-scroll ul{list-style:none;padding:0;margin:0}.creator-scroll li{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid #eeece7}.creator-identity{min-width:0;flex:1}.creator-name{display:block;font-size:15px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}.creator-identity .copy-handle{font-size:13px}.creator-presence{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex:none}.live-badge{display:inline-block;background:#ba2543;color:#fff;font-size:12px;line-height:1.5;letter-spacing:.05em;font-weight:600;border-radius:4px;padding:1px 7px}.live-total{display:flex;align-items:center;gap:5px;color:#80601e;font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.offline-label{font-size:12px;color:var(--muted-foreground);max-width:76px;overflow-wrap:anywhere}.manage-creators-link{margin:18px 24px 8px}.roster-empty{font-size:14px;color:var(--muted-foreground);padding:24px 0;margin:0}.roster .history-details{padding-top:4px}
/* Shared secondary pages retain their existing controls and access rules. */
.feedhead{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid var(--border)}.feedhead h2{display:flex;align-items:center;gap:10px;margin:0;font-size:20px}.feedhead svg{color:var(--primary)}.history-controls{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:18px 24px}.history-controls>label{min-width:160px}.history-controls>span{font-size:14px;color:var(--muted-foreground)}.gifter-filter{display:flex;align-items:end;flex-wrap:wrap;gap:8px}.gifter-filter label{min-width:160px}.pagination{border-top:1px solid var(--border)}[data-slot="table-container"]{overflow:auto;max-width:100%;scrollbar-width:thin}.feed>[data-slot="table-container"]{max-height:65vh}table:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}th:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),td:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){padding:15px 18px;font-size:14px;text-align:left;vertical-align:top}th:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){position:sticky;top:0;z-index:1;background:#f6f5f1;color:var(--muted-foreground);font-weight:500;border-block:1px solid var(--border);white-space:nowrap}td:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){border-bottom:1px solid var(--border);line-height:1.6}td:not(:where(.fui-FluentProvider, .fui-FluentProvider *)):nth-child(2),td:not(:where(.fui-FluentProvider, .fui-FluentProvider *)):nth-child(3){overflow-wrap:anywhere}tbody:not(:where(.fui-FluentProvider, .fui-FluentProvider *)) tr:hover{background:#faf8f2}td:not(:where(.fui-FluentProvider, .fui-FluentProvider *)) small{display:block;color:var(--muted-foreground);font-size:13px}.time{white-space:nowrap;color:var(--muted-foreground)}.high-value-gift{background:#fcf7ec}.high-value-gift td:last-child{color:#76571c;font-weight:500}.connect-panel,.alert,.collection-notice{border:1px solid #e6d6b6;background:#fbf5e9;color:#715421;border-radius:10px;padding:18px 22px;margin-bottom:20px;overflow-wrap:anywhere}.connect-panel h2{font-size:22px}.connect-panel p{color:var(--muted-foreground);margin-bottom:12px}.connect-fields{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.signin-link{font-weight:500}.alert{display:flex;align-items:center;gap:12px;background:#fff0ea;border-color:#edcebf;color:#8e4528}.alert svg{flex:none}.collection-notice{font-size:14px}.manager-heading{display:flex;align-items:start;justify-content:space-between;gap:24px;margin-bottom:22px}.manager-heading h2{font-size:22px;margin:0 0 6px}.manager-heading p{font-size:14px;color:var(--muted-foreground);max-width:680px;margin:0}.manager-heading>span{font-size:14px;color:var(--primary);white-space:nowrap}.manager-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px}.manager-add,.manager-list{min-width:0;background:var(--card);border:1px solid var(--border);border-radius:12px;overflow:hidden}.manager-add{padding:24px;align-self:start}.manager-add h3{margin:0 0 18px}.manager-add p{font-size:14px;color:var(--muted-foreground)}.manager-add button{width:100%}.manager-notice{overflow-wrap:anywhere}.manager-search{padding:18px 24px;border-bottom:1px solid var(--border)}.manager-search input{max-width:440px}.manager-list td:last-child{min-width:190px}.manager-list>[data-slot="table-container"]{max-height:65vh}.polling-included{color:#486d38}.polling-excluded{color:var(--muted-foreground)}
@media(min-width:1001px){.home-columns>.roster{width:calc(100% / 3);justify-self:end}.home-columns>.roster>h2{flex-wrap:wrap}}
@media(min-width:1700px){.home-columns{grid-template-columns:minmax(0,1fr)}.activity-scroll{max-height:70vh}}
@media(max-width:1200px){.workspace{grid-template-columns:200px minmax(0,1fr)}.navigation-sidebar{padding-inline:12px}.workspace-content{padding:26px 24px}.home-columns,.history-page{grid-template-columns:minmax(0,1fr);gap:18px}.page-header{align-items:flex-start}.header-status{gap:8px;flex-direction:column;align-items:flex-end}.updated-at{border:0;padding:0}.activity-heading{padding:20px 18px 0}.activity-filters{padding:18px}.activity-row{gap:10px;grid-template-columns:36px minmax(0,1fr) auto}.event-icon{width:36px;height:36px}.activity-value strong{font-size:18px}.roster>h2{padding:20px 18px 0}.roster-controls{padding:18px 18px 8px}.creator-scroll{padding:0 18px}.creator-scroll li{gap:9px}.creator-scroll .avatar{width:34px;height:34px;font-size:17px}.manager-layout{grid-template-columns:230px minmax(0,1fr);gap:18px}.manager-heading{flex-wrap:wrap;gap:8px}}
@media(max-width:1000px){.home-columns{grid-template-columns:minmax(0,1fr)}.roster{width:100%}.creator-scroll{max-height:420px}.activity-scroll{max-height:65vh}.overview-summary{padding:18px}.overview-summary>div{gap:10px}.overview-summary>div+div{padding-left:18px}.manager-layout{grid-template-columns:1fr}.manager-add{max-width:none}}
@media(max-width:900px){.workspace{display:block}.navigation-sidebar{position:static;height:auto;padding:14px 18px;border-right:0;border-bottom:1px solid var(--border);overflow:visible}.brand{flex-direction:row;align-items:center;gap:12px;padding:0}.brand-logo{width:88px;height:auto}.workspace-nav{flex-direction:row;gap:4px;margin:16px 0 0;flex-wrap:wrap}.workspace-nav a{padding:10px;font-size:14px;gap:7px;flex:1;justify-content:center;white-space:nowrap}.workspace-nav svg{width:17px}.workspace-nav a[aria-current="page"]:before{top:auto;bottom:0;left:12px;right:12px;width:auto;height:2px}.sidebar-footer{border:0;padding:0;margin:12px 0 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.sidebar-footer .private{font-size:12px}.account-menu{margin:0;font-size:12px;max-width:70%;gap:8px}.account-avatar{display:none}.account-label small{display:none}.account-menu>a{min-height:28px}.workspace-content{padding:24px 16px}.page-header{gap:14px;flex-wrap:wrap;margin-bottom:22px}.page-header h1{font-size:28px}.page-header p{font-size:16px}.header-status{flex-direction:row;justify-content:flex-start;align-items:center;gap:12px;font-size:13px}.overview-summary{gap:16px;grid-template-columns:1fr;padding:18px;margin-bottom:20px}.overview-summary>div+div{border-left:0;border-top:1px solid var(--border);padding:16px 0 0}.overview-summary p{font-size:14px}.home-columns,.history-page{gap:20px}.activity-heading h2{font-size:22px}.activity-filters{gap:6px;padding:16px}.activity-filters button{font-size:13px;padding:7px 12px}.activity-scroll{padding:0 10px;max-height:600px}.activity-row{grid-template-columns:30px minmax(0,1fr);gap:5px 10px;padding:16px 6px}.event-icon{width:30px;height:30px;grid-row:1 / span 2;align-self:start;margin-top:2px}.event-icon svg{width:18px}.activity-description{grid-column:2}.activity-value{grid-column:2;flex-direction:row;justify-content:space-between;align-items:center;gap:10px}.activity-value time{font-size:12px}.activity-description p{font-size:15px}.activity-meta,.activity-description .copy-handle{font-size:13px}.activity-row.activity-gift{padding:16px 10px}.panel-footer{padding:16px 18px 8px}.history-details{padding:0 18px 12px}.history-controls{padding:16px;gap:12px}.history-controls>label,.gifter-filter,.gifter-filter label{width:100%;min-width:0}.history-controls select{max-width:100%}.feedhead{padding:18px}.feedhead h2{font-size:19px}.feed>[data-slot="table-container"]{max-height:65vh}.manager-add{padding:18px}.manager-heading>span{white-space:normal}.manager-search{padding:16px}.collection-notice,.alert,.connect-panel{padding:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.debug-page{max-width:1200px}.debug-intro{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:22px}.debug-intro p{color:var(--muted-foreground);margin:0}.debug-badge{font-size:14px;white-space:nowrap;color:var(--muted-foreground)}.debug-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.debug-card,.debug-result,.debug-empty{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:24px}.debug-card{display:flex;align-items:start;flex-direction:column}.debug-card>svg{color:var(--primary);margin-bottom:16px}.debug-card h2{font-size:20px;margin-bottom:12px}.debug-card p{color:var(--muted-foreground);font-size:15px}.debug-card button{margin-top:auto}.debug-card input{margin-bottom:16px}.debug-note{color:var(--muted-foreground);font-size:14px;margin:18px 0 24px}.debug-progress{display:flex;align-items:center;gap:12px;padding:16px;background:var(--muted);border-radius:8px;margin-bottom:20px}.debug-progress button{margin-left:auto}.debug-results-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:28px 0 16px}.debug-results-heading h2{margin:0}.debug-empty{color:var(--muted-foreground)}.debug-result{margin:16px 0}.debug-result header{display:flex;align-items:start;justify-content:space-between;gap:16px}.debug-result h3{margin:0 0 12px}.debug-result p{margin-bottom:10px}.debug-result small{color:var(--muted-foreground);font-size:14px}.debug-outcome{font-size:14px;text-transform:uppercase;font-weight:600;color:#785f21;background:#f4ecd5;padding:4px 10px;border-radius:6px}.debug-pass{color:#2a653d;background:#e7f1e7}.debug-fail{color:#a53535;background:#fbeaea}.debug-result dl{margin:18px 0 0}.debug-result dl>div{display:grid;grid-template-columns:minmax(160px,1fr) 2fr;gap:12px;padding:8px 0;border-top:1px solid var(--border);font-size:14px}.debug-result dt{color:var(--muted-foreground)}.debug-result dd{margin:0;overflow-wrap:anywhere}@media(max-width:1050px){.debug-actions{grid-template-columns:1fr}.debug-card button{margin-top:10px}.debug-card{padding:20px}}@media(max-width:700px){.debug-intro{flex-direction:column;gap:8px}.debug-result{padding:18px}.debug-result dl>div{grid-template-columns:1fr;gap:3px}.debug-progress{flex-wrap:wrap}.debug-progress button{margin-left:0}}

/* Gifter reports extend the existing gold workspace with clear creator colors. */
.reports-page{max-width:1500px;min-width:0}.report-heading,.report-selected,.report-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.report-heading{margin-bottom:24px;align-items:flex-start}.report-eyebrow{font-size:12px;letter-spacing:.12em;font-weight:600;color:var(--primary)}.report-heading h2{font-size:26px;margin:6px 0}.report-heading p,.report-section-heading p{margin:0;color:var(--muted-foreground);font-size:16px}.report-heading>button{flex:none}.report-controls{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:16px 24px;background:var(--card);border:1px solid var(--border);padding:24px;border-radius:12px;margin-bottom:24px}.report-picker{min-width:0}.report-controls label{font-size:14px;font-weight:500;display:block}.report-picker-input{display:flex;align-items:center;border:1px solid var(--input);border-radius:8px;margin-top:8px;min-height:44px;padding-right:4px}.report-picker-input input{border:0;margin:0;box-shadow:none;min-width:0;flex:1;width:100%;background:transparent}.report-picker-input>[data-slot="input-group-addon"]{display:flex;align-items:center}.report-picker-input button{background:transparent;color:var(--muted-foreground);border:0;padding:6px;min-height:32px;min-width:32px}.report-picker-input svg{width:16px;height:16px}.report-picker-popup{z-index:60;background:var(--card);color:var(--foreground);border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 36px #20252c26;width:var(--anchor-width);min-width:280px;max-width:calc(100vw - 32px);overflow:hidden}.report-picker-popup [data-slot="combobox-list"]{max-height:320px;overflow:auto;padding:6px}.report-picker-popup [data-slot="combobox-empty"]{padding:14px;font-size:14px}.report-picker-option{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 30px 12px 12px;font-size:14px;position:relative;border-radius:6px;cursor:pointer}.report-picker-option[data-highlighted]{background:#f7f0df;outline:0}.report-picker-option>span{min-width:0;overflow-wrap:anywhere}.report-picker-option strong{font-size:15px;font-weight:500}.report-picker-option small{display:block;font-size:12px;color:var(--muted-foreground)}.report-picker-option svg{width:14px;height:14px}.report-picker-option>span:last-child:has(svg){position:absolute;right:8px}.report-option-value{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.report-control-note{font-size:13px;color:var(--muted-foreground);margin:8px 0 0}.report-dates{display:flex;align-items:flex-start;gap:12px}.report-dates input{min-width:150px;margin:8px 0 0;min-height:44px}.report-dates button{margin-top:29px;min-height:44px}.report-range-shortcuts{grid-column:1/-1;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.report-range-shortcuts button{min-height:34px;padding:5px 12px}.report-range-shortcuts button[aria-pressed="true"]{background:#f4e7c9;border-color:#b59248;color:#664b16}.report-range-shortcuts>span{margin-left:auto;color:var(--muted-foreground);font-size:14px}.report-form-error{grid-column:1/-1;margin:0;color:#a53535;font-size:14px}.report-selected{margin:24px 0 18px;align-items:flex-end}.report-selected h3{font-size:22px;margin:0 0 4px;overflow-wrap:anywhere}.report-selected span,.report-selected p{font-size:14px;color:var(--muted-foreground);margin:0;overflow-wrap:anywhere}.report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--border);background:var(--card);border-radius:12px;margin-bottom:24px;padding:22px 0}.report-metrics>div{padding:0 24px;min-width:0}.report-metrics>div+div{border-left:1px solid var(--border)}.report-metrics span{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted-foreground)}.report-metrics strong{display:block;font-size:32px;line-height:1.3;margin:10px 0 4px;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.report-metrics small{font-size:13px;color:var(--muted-foreground)}.report-chart-card,.report-table-card{background:var(--card);border:1px solid var(--border);border-radius:12px;margin-bottom:24px;min-width:0;overflow:hidden}.report-section-heading{padding:24px;align-items:flex-start}.report-section-heading h3{font-size:20px;margin:0 0 4px}.report-section-heading>span{font-size:12px;color:var(--muted-foreground);letter-spacing:.04em}.report-section-heading p{font-size:14px}.report-chart{min-width:0;padding:0 8px}.report-chart svg{overflow:visible}.report-chart .recharts-wrapper:focus-visible{outline:2px solid var(--ring);outline-offset:-3px}.report-legend{display:flex;flex-wrap:wrap;gap:10px 20px;list-style:none;padding:16px 24px 24px;margin:0}.report-legend li,.report-creator{display:flex;align-items:center;gap:8px;font-size:14px;overflow-wrap:anywhere}.report-legend i,.report-creator i,.report-tooltip i{display:inline-block;width:10px;height:10px;border-radius:2px;flex:none}.report-tooltip{padding:14px 16px;background:var(--card);border:1px solid var(--border);border-radius:10px;box-shadow:0 5px 24px #20252c20;min-width:200px;max-width:min(380px,80vw);max-height:300px;overflow:auto;font-size:14px}.report-tooltip>strong{display:block;margin-bottom:8px}.report-tooltip>div{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:4px 0}.report-tooltip span{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}.report-tooltip b{font-weight:500;font-variant-numeric:tabular-nums}.report-tooltip small{display:block;margin-top:8px;color:var(--muted-foreground)}.report-tooltip-total{border-top:1px solid var(--border);margin-top:6px;padding-top:10px!important}.report-table-card td:not(:first-child),.report-table-card th:not(:first-child){text-align:right}.report-table-card td:nth-child(2){font-weight:600;color:var(--primary)}.report-table-card td{font-size:15px}.report-table-card td small{font-size:12px;font-weight:400}.report-daily-table{border:1px solid var(--border);border-radius:10px;background:var(--card);overflow:hidden;margin-bottom:20px}.report-daily-table>summary{cursor:pointer;font-size:14px;font-weight:500;padding:16px 24px}.report-daily-table [data-slot="table-container"]{max-height:450px}.report-daily-table td,.report-daily-table th{white-space:nowrap}.report-empty{text-align:center;background:var(--card);border:1px solid var(--border);border-radius:12px;padding:48px 24px;color:var(--muted-foreground)}.report-chart-card>.report-empty{border:0;border-radius:0;min-height:280px}.report-empty svg{color:var(--primary);margin-bottom:12px}.report-empty h3{font-size:20px;color:var(--foreground);margin:0 0 8px}.report-empty p{margin:0;font-size:16px}.report-coverage-note{margin:0;padding:0 24px 22px;font-size:14px;color:#805718}.report-footnote p{font-size:13px;color:var(--muted-foreground);margin:6px 0}.report-preview-banner{padding:10px 20px;background:#fff0c8;color:#604714;border-bottom:1px solid #d6b763;font-size:14px;text-align:center}
@media(max-width:1150px){.report-controls{grid-template-columns:1fr}.report-dates{flex-wrap:wrap}.report-dates label{flex:1}.report-selected{align-items:flex-start;flex-direction:column;gap:8px}.report-metrics strong{font-size:28px}}
@media(max-width:700px){.report-heading{gap:12px}.report-heading h2{font-size:23px}.report-heading p{font-size:15px}.report-controls{padding:18px;gap:14px}.report-dates{gap:10px}.report-dates label{min-width:calc(50% - 5px)}.report-dates input{min-width:0;width:100%}.report-dates button{margin:0;width:100%}.report-range-shortcuts>span{width:100%;margin:0;font-size:13px}.report-metrics{grid-template-columns:1fr;padding:0}.report-metrics>div{padding:18px}.report-metrics>div+div{border-left:0;border-top:1px solid var(--border)}.report-metrics strong{font-size:30px}.report-section-heading{padding:20px 16px;flex-wrap:wrap;gap:6px}.report-chart{padding:0}.report-legend{padding:12px 18px 20px;gap:8px 14px}.report-legend li{font-size:13px}.report-table-card td,.report-table-card th{padding:12px 14px}.report-table-card table{min-width:620px}.report-selected h3{font-size:20px}.report-coverage-note{padding:0 18px 18px}.report-tooltip{min-width:170px}.report-empty{padding:36px 18px}}

.report-catalog{max-width:1100px}.report-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.report-catalog-heading h2{font-size:20px;margin:0}.report-catalog-heading>span{font-size:14px;color:var(--muted-foreground)}.report-catalog-card{display:flex;align-items:center;gap:22px;padding:28px;background:var(--card);border:1px solid var(--border);border-radius:12px;text-decoration:none;color:var(--foreground);box-shadow:0 2px 5px #20252c04}.report-catalog-card:hover{border-color:#baa166;background:#fffdf8}.report-catalog-icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:12px;background:#f5eddb;color:var(--primary);flex:none}.report-catalog-card>div{flex:1;min-width:0}.report-catalog-card h3{font-size:21px;margin:0 0 8px}.report-catalog-card p{color:var(--muted-foreground);font-size:16px;margin:0;max-width:620px;line-height:1.6}.report-catalog-action{display:flex;align-items:center;gap:10px;color:var(--primary);font-size:14px;font-weight:500;white-space:nowrap;flex:none}.report-back{display:inline-flex;align-items:center;gap:8px;font-size:14px;text-decoration:none;margin:0 0 20px}.report-back:hover{text-decoration:underline}@media(max-width:800px){.report-catalog-card{align-items:flex-start;flex-wrap:wrap;padding:22px;gap:16px}.report-catalog-card>div{flex-basis:calc(100% - 74px)}.report-catalog-action{margin-left:74px}}@media(max-width:480px){.report-catalog-icon{width:44px;height:44px;border-radius:9px}.report-catalog-card>div{flex-basis:calc(100% - 60px)}.report-catalog-card h3{font-size:19px}.report-catalog-card p{font-size:15px}.report-catalog-action{margin-left:60px}}

/* Explicit palette for the entire workspace, including menus and chart tooltips. */
.dark{color-scheme:dark;--background:#111418;--foreground:#edf0f3;--card:#1b2027;--card-foreground:#edf0f3;--popover:#1b2027;--popover-foreground:#edf0f3;--primary:#e6ba63;--primary-foreground:#17130b;--secondary:#292b2e;--secondary-foreground:#edf0f3;--muted:#252b33;--muted-foreground:#aeb7c3;--accent:#3a3120;--accent-foreground:#f2cf8d;--border:#343b45;--input:#4b5563;--ring:#e6ba63}
.dark button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){color:var(--primary-foreground)}.dark button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)):hover:not(:disabled){background:#f2cf8d}.dark button:not(:where(.fui-FluentProvider, .fui-FluentProvider *))[data-variant="outline"]{color:var(--foreground)}.dark button:not(:where(.fui-FluentProvider, .fui-FluentProvider *))[data-variant="outline"]:hover:not(:disabled){background:var(--muted)}
.dark .navigation-sidebar{background:#171b21}.dark .workspace-nav a{color:#c8cfd8}.dark .workspace-nav a:hover{background:var(--muted)}.dark .workspace-nav a[aria-current="page"]{background:#3a3120;color:#f2cf8d}.dark .workspace-nav a[aria-current="page"]:before{background:var(--primary)}
.dark input:not(:where(.fui-FluentProvider, .fui-FluentProvider *))::placeholder,.dark textarea:not(:where(.fui-FluentProvider, .fui-FluentProvider *))::placeholder{color:#a2adbb}.dark .search-field input,.dark th:not(:where(.fui-FluentProvider, .fui-FluentProvider *)){background:#222831}.dark tbody:not(:where(.fui-FluentProvider, .fui-FluentProvider *)) tr:hover,.dark .report-catalog-card:hover{background:#252b33}.dark .activity-row,.dark .creator-scroll li{border-color:var(--border)}
.dark .activity-row.activity-gift,.dark .high-value-gift{background:#30291e;border-color:#51432a}.dark .activity-gift .event-icon,.dark .report-catalog-icon{background:#40341f;color:#f2cf8d}
.dark .activity-value strong,.dark .live-total,.dark .high-value-gift td:last-child,.dark .summary-icon,.dark .activity-heading h2 svg,.dark .empty svg,.dark .status,.dark .report-coverage-note{color:#e6ba63}
.dark .activity-description .gift-description,.dark .roster>h2 svg{color:var(--muted-foreground)}.dark .avatar{background:#343b45;color:#c8cfd8}.dark .account-avatar{background:#856621;color:#fff}.dark .avatar-live,.dark .live-icon,.dark .event-icon{background:#243b2b;color:#a2d694}.dark .activity-join .event-icon{background:#352d45;color:#c6b3e3}.dark .polling-included{color:#a2d694}
.dark .activity-filters button,.dark .roster-filters button{background:var(--muted);color:var(--muted-foreground)}.dark .activity-filters button:hover:not(:disabled),.dark .roster-filters button:hover:not(:disabled){background:var(--muted)}
.dark .activity-filters button[aria-pressed="true"],.dark .roster-filters button[aria-pressed="true"],.dark .report-range-shortcuts button[aria-pressed="true"]{background:#40341f;color:#f2cf8d;border-color:#94743c}
.dark .copy-handle-wrap .copy-handle{background:transparent;color:var(--muted-foreground)}.dark .copy-handle-wrap .copy-handle:hover:not(:disabled),.dark .report-picker-option[data-highlighted]{background:#3a3120;color:#f2cf8d}.dark .copy-status{color:#f2cf8d}
.dark .connect-panel,.dark .collection-notice,.dark .debug-outcome,.dark .report-preview-banner{background:#362d1c;border-color:#66512d;color:#f2cf8d}.dark .alert{background:#40271f;border-color:#784536;color:#ffc7ae}.dark .debug-pass{background:#243b2b;color:#a2d694}.dark .debug-fail{background:#42292c;color:#ffb6b6}.dark .report-form-error{color:#ffb6b6}.dark .report-picker-input button{background:transparent;color:var(--muted-foreground)}

/* Responsive workspace: keep navigation reachable and contain wide data panels. */
.workspace-content > *, .page-header > div, .report-heading > div,
.report-selected > div, .report-section-heading > div { min-width: 0; }
.mobile-table-hint { display: none; }
@media (max-width: 900px) {
  .navigation-sidebar { padding: 12px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left)); }
  .brand-logo { width: 82px; height: auto; }
  .workspace-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
  .workspace-nav:has(a:nth-child(4)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .workspace-nav a { min-width: 0; min-height: 56px; padding: 8px 4px; flex-direction: column; gap: 4px; white-space: normal; text-align: center; font-size: 14px; }
  .workspace-nav svg { width: 20px; height: 20px; }
  .sidebar-footer { flex-wrap: wrap; margin-top: 8px; }
  .sidebar-footer .private { font-size: 13px; }
  .account-menu { max-width: 100%; min-width: 0; margin-left: auto; }
  .account-menu > a { min-height: 44px; min-width: 44px; }
  .workspace-content { padding: 22px max(16px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .page-header h1 { overflow-wrap: anywhere; }
  .header-status { font-size: 14px; }
  .updated-at { padding-left: 0; border-left: 0; white-space: normal; }
  button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)), .activity-filters button, .roster-filters button, .report-range-shortcuts button { min-height: 44px; }
  input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)), select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)), textarea:not(:where(.fui-FluentProvider, .fui-FluentProvider *)), .search-field input { font-size: 16px; min-width: 0; }
  .copy-handle-wrap .copy-handle { min-height: 44px; font-size: 14px; }
  .activity-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-filters button { font-size: 14px; padding: 8px; }
  .activity-heading { padding: 20px 16px 0; }
  .activity-heading h2 { font-size: 21px; }
  .activity-description p { font-size: 16px; }
  .activity-meta, .activity-description .gift-description { font-size: 14px; }
  .activity-value { min-width: 0; flex-wrap: wrap; }
  .activity-value strong { white-space: normal; overflow-wrap: anywhere; }
  .activity-value strong svg { flex: none; }
  .activity-scroll { max-height: 70dvh; min-height: 180px; overflow: auto; overscroll-behavior-y: auto; }
  .creator-scroll { max-height: 60dvh; padding: 0 16px; }
  .roster-controls { padding: 16px; }
  .roster > h2 { padding: 20px 16px 0; }
  .panel-footer a, .manage-creators-link, .report-back, .signin-link { min-height: 44px; }
  .history-details summary { min-height: 44px; font-size: 14px; }
  .history-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-controls > *, .gifter-filter label { min-width: 0; }
  .gifter-filter { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .gifter-filter label { grid-column: 1 / -1; }
  .history-controls > span { grid-column: 1 / -1; }
  .mobile-table-hint { display: block; margin: 0; padding: 8px 16px 12px; color: var(--muted-foreground); font-size: 14px; }
  .feed table { min-width: 620px; }
  .manager-list table { min-width: 540px; }
  [data-slot="table-container"] { overscroll-behavior-x: contain; }
  .manager-heading { flex-direction: column; gap: 10px; }
  .report-heading { flex-wrap: wrap; }
  .report-controls { padding: 16px; }
  .report-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-dates label, .report-dates input { min-width: 0; width: 100%; }
  .report-dates button { grid-column: 1 / -1; width: 100%; margin: 0; }
  .report-picker-input button { min-width: 44px; min-height: 44px; }
  .report-picker-popup { min-width: 0; }
  .report-picker-popup [data-slot="combobox-list"] { max-height: min(320px, 45dvh); }
  .report-legend li { min-width: 0; max-width: 100%; font-size: 14px; }
  .report-tooltip { max-width: min(380px, calc(100vw - 48px)); }
  .report-tooltip > div { gap: 12px; }
  .report-tooltip span { min-width: 0; }
  .report-tooltip b { flex: none; }
  .report-catalog-card { flex-direction: column; align-items: flex-start; padding: 20px; gap: 14px; }
  .report-catalog-card > div { flex-basis: auto; }
  .report-catalog-action { margin-left: 0; min-height: 44px; white-space: normal; }
  .debug-result header, .debug-results-heading { flex-wrap: wrap; }
  .debug-card, .debug-result, .debug-empty { min-width: 0; overflow-wrap: anywhere; }
  .debug-result dl > div { grid-template-columns: 1fr; gap: 3px; }
}
@media (max-width: 480px) {
  .workspace-nav:has(a:nth-child(4)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .sidebar-footer { align-items: flex-start; flex-direction: column; gap: 0; }
  .account-menu { width: 100%; margin-left: 0; }
  .report-dates, .history-controls { grid-template-columns: minmax(0, 1fr); }
  .report-range-shortcuts > span { width: 100%; margin: 0; }
}

/* Leaderboard cards share the workspace's light and dark theme tokens. */
.leaderboards-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.leaderboards-intro p{margin:0 0 4px}.leaderboards-intro small,.leaderboard-heading p{color:var(--muted-foreground)}.leaderboards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.leaderboard-card{min-width:0;background:var(--card);border:1px solid var(--border);border-radius:12px;overflow:hidden}.leaderboard-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:22px}.leaderboard-heading h2{margin:0;font-size:20px;overflow-wrap:anywhere}.leaderboard-heading p{margin:8px 0 0;font-size:13px}.leaderboard-status{flex-shrink:0;border:1px solid var(--border);border-radius:20px;padding:4px 9px;color:var(--primary);font-size:12px}.leaderboard-table{table-layout:fixed}.leaderboard-table th:first-child,.leaderboard-table td:first-child{width:64px}.leaderboard-table th:last-child,.leaderboard-table td:last-child{width:125px;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.leaderboard-table td:nth-child(2){font-weight:500;overflow-wrap:anywhere}.leaderboard-medal{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;color:var(--primary);background:var(--muted);font-weight:600}.leaderboard-summary{padding:16px 20px;font-size:14px;color:var(--muted-foreground)}.leaderboard-placeholder{padding:48px 24px;text-align:center;background:var(--card);border:1px solid var(--border);border-radius:12px}.leaderboard-placeholder svg{color:var(--primary)}.leaderboard-placeholder h2{font-size:22px}.leaderboard-placeholder p,.leaderboard-empty{color:var(--muted-foreground)}.leaderboard-empty{padding:0 22px 22px}.leaderboard-table .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1200px){.leaderboards-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.leaderboard-heading{padding:16px;flex-wrap:wrap}.leaderboard-table th,.leaderboard-table td{padding:12px 10px}.leaderboard-table th:first-child,.leaderboard-table td:first-child{width:46px}.leaderboard-table th:last-child,.leaderboard-table td:last-child{width:105px}.leaderboard-summary{padding:14px 12px}.leaderboards-intro{align-items:flex-start}.leaderboards-intro button{flex-shrink:0}}

.leaderboards-intro .leaderboards-updated{margin:8px 0 4px;font-size:14px;line-height:1.5;color:var(--foreground);overflow-wrap:anywhere}

/* Tournaments use the portal's existing light and dark theme. */
/* Administrator manager access. */
.admin-manager-access{margin-bottom:24px;padding:24px;border:1px solid var(--border);border-radius:14px;background:var(--card);min-width:0}
.admin-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.admin-section-heading h2{display:flex;align-items:center;gap:10px;margin:0 0 6px}
.admin-section-heading h2 svg{color:var(--primary);flex:none}
.admin-section-heading p{margin:0;color:var(--muted-foreground)}
.admin-coming-soon{background:var(--secondary);color:var(--secondary-foreground);padding:5px 10px;border-radius:6px;font-size:14px;white-space:nowrap}
.admin-placeholder-note{padding:12px 16px;border-left:3px solid var(--primary);background:var(--muted);color:var(--muted-foreground);font-size:14px;margin-bottom:24px}
.admin-access-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:32px}
.admin-invitation,.admin-visibility{min-width:0}
.admin-invitation h3,.admin-visibility h3{margin-bottom:16px}
.admin-role{display:flex;gap:10px;margin:24px 0}
.admin-role svg{flex:none;color:var(--primary);margin-top:3px}
.admin-role p{font-size:14px;color:var(--muted-foreground);margin:6px 0 0}
.admin-invitation>button{white-space:normal;height:auto;max-width:100%}
.admin-scope-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.admin-invitation .admin-scope-options{grid-template-columns:minmax(0,1fr);margin-bottom:16px}
.admin-scope-option{display:flex;align-items:flex-start;gap:10px;padding:16px;border:1px solid var(--border);border-radius:8px;cursor:pointer}
.admin-scope-option.selected{border-color:var(--primary);background:var(--muted)}
.admin-scope-option[aria-disabled="true"]{opacity:.55;cursor:not-allowed}
.admin-scope-option[aria-disabled="true"] [data-slot="radio-group-item"]{cursor:not-allowed}
.admin-scope-option strong,.admin-creator-option strong{display:block;font-weight:500;color:var(--foreground);font-size:16px;overflow-wrap:anywhere}
.admin-scope-option small,.admin-creator-option small{display:block;font-size:14px;margin-top:4px;color:var(--muted-foreground)}
.admin-manager-access [data-slot="radio-group-item"],.admin-manager-access [data-slot="checkbox"]{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-height:18px;margin:3px 0 0;padding:0;flex:none;border:1px solid var(--input);background:var(--card);color:var(--primary-foreground);border-radius:4px;cursor:pointer}
.admin-manager-access [data-slot="radio-group-item"]{border-radius:50%}
.admin-manager-access [data-checked][data-slot="radio-group-item"],.admin-manager-access [data-checked][data-slot="checkbox"]{background:var(--primary);border-color:var(--primary)}
.admin-manager-access [data-slot="radio-group-indicator"]{display:flex;align-items:center;justify-content:center}
.admin-manager-access [data-slot="radio-group-indicator"]>span{display:block;width:8px;height:8px;background:var(--primary-foreground);border-radius:50%}
.admin-manager-access [data-slot="checkbox-indicator"]{display:flex;align-items:center;justify-content:center}
.admin-manager-access [data-slot="checkbox-indicator"] svg{width:14px;height:14px}
.admin-manager-access [data-slot="radio-group-item"]:focus-visible,.admin-manager-access [data-slot="checkbox"]:focus-visible{outline:2px solid var(--ring);outline-offset:4px}
.admin-creator-picker{margin-top:20px}
.admin-selection-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;font-size:14px}
.admin-creator-options{max-height:260px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--border);border-radius:8px}
.admin-creator-option{display:flex;align-items:flex-start;gap:12px;padding:12px 16px;cursor:pointer;border-bottom:1px solid var(--border)}
.admin-creator-option:last-child{border-bottom:0}
.admin-creator-option:hover{background:var(--muted)}
.admin-creator-options>p{margin:0;padding:20px;font-size:14px;color:var(--muted-foreground)}
.admin-access-summary{margin-top:20px;padding:16px;background:var(--muted);border-radius:8px;overflow-wrap:anywhere}
.admin-access-summary strong{font-size:14px;font-weight:500}
.admin-access-summary p{margin:6px 0 8px}
.admin-access-summary small{font-size:14px;color:var(--muted-foreground)}
.admin-selected-names{max-height:120px;overflow:auto;font-size:14px}
@media(max-width:1100px){.admin-access-layout{grid-template-columns:minmax(0,1fr)}.admin-invitation{border-bottom:1px solid var(--border);padding-bottom:24px}}
@media(max-width:600px){.admin-manager-access{padding:18px}.admin-scope-options{grid-template-columns:minmax(0,1fr)}}

/* Gifting: activity takes two thirds; submitted gift history takes one third. */
.history-page{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.gift-history .history-search{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.gift-history .history-search>label{min-width:0;width:100%}
.gift-history .history-search select,.gift-history .history-search input{width:100%;min-width:0;max-width:100%}
.history-search-actions{display:flex;gap:8px;flex-wrap:wrap}
.gift-history .mobile-table-hint{display:block;margin:0;padding:0 24px 12px;color:var(--muted-foreground);font-size:14px}
.gift-history table{min-width:580px}
@media(max-width:900px){.history-page{grid-template-columns:minmax(0,1fr)}.gift-history .mobile-table-hint{padding-inline:16px}}

/* Gifter levels are last observed TikTok badges, separate from gift totals. */
.gifter-level-badge,.report-selected .gifter-level-badge{display:inline-flex;align-items:center;vertical-align:middle;white-space:nowrap;gap:3px;margin-inline-end:6px;padding:1px 5px 1px 3px;border:1px solid transparent;border-radius:5px;color:#fff;font-size:13px!important;font-weight:500;line-height:1.25;letter-spacing:0;font-variant-numeric:tabular-nums;text-shadow:none}
.gifter-level-badge svg{flex:none;color:inherit}

/* Creator Team extends the report workspace. */
.report-catalog-card + .report-catalog-card{margin-top:16px}
/* Compact parallel panels retain every metric without wide tables. */
.team-report .report-back{margin-bottom:10px}
.team-report .report-heading{margin-bottom:16px}
.team-report .report-controls{padding:16px;gap:12px 20px;margin-bottom:16px}
.team-report .report-selected{margin:16px 0 12px}
.team-report .team-metrics{padding:12px 0;margin-bottom:16px}
.team-report .team-metrics>div{padding:0 16px}
.team-report .team-metrics strong{font-size:26px;margin:4px 0 2px}
.team-rankings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start;margin-bottom:16px}
.team-report .team-ranking{margin-bottom:0}
.team-report .team-ranking .report-section-heading{padding:16px;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--border)}
.team-report .team-ranking .report-section-heading h3{display:flex;align-items:center;gap:8px;font-size:16px;line-height:1.4}
.team-report .team-ranking .report-section-heading h3 svg{color:var(--primary);flex:none;width:17px}
.team-report .team-ranking .report-section-heading p{font-size:13px}
.team-report .team-ranking .report-section-heading>span{font-size:13px;letter-spacing:0}
.team-people{list-style:none;padding:0;margin:0;max-height:520px;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain}
.team-people:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}
.team-person-row{padding:12px 14px;border-bottom:1px solid var(--border)}
.team-person-row:last-child{border-bottom:0}
.team-person-main{display:flex;align-items:flex-start;gap:8px}
.team-person{flex:1;min-width:0;overflow-wrap:anywhere}
.team-person strong{font-size:15px;font-weight:500;color:var(--foreground);line-height:1.4}
.team-report .team-person small{font-size:13px;color:var(--muted-foreground);display:block;margin-top:3px;line-height:1.4}
.team-rank{color:var(--muted-foreground);font-size:13px;min-width:18px;flex:none;padding-top:2px;font-variant-numeric:tabular-nums}
.team-total{text-align:right;flex:none;max-width:40%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.team-total strong{display:block;font-size:16px;font-weight:600;color:var(--primary)}
.team-total small{display:block;font-size:12px;color:var(--muted-foreground);margin-top:3px}
.team-person-details{display:flex;justify-content:space-between;gap:4px 12px;flex-wrap:wrap;margin-top:8px;font-size:13px;color:var(--muted-foreground);line-height:1.4}
.team-unvalued{font-size:13px;color:var(--muted-foreground);margin:6px 0 0}
.team-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 14px;border-top:1px solid var(--border);font-size:13px;color:var(--muted-foreground)}
.team-pagination>div{display:flex;gap:6px;margin-left:auto}.team-pagination button{min-height:40px;padding:8px;font-size:14px}
.team-empty{padding:16px;line-height:1.5}.team-empty p{font-size:16px;margin:0 0 6px}.team-empty span{font-size:14px;color:var(--muted-foreground)}
.team-coverage{display:flex;align-items:flex-start;gap:10px;border-left:3px solid var(--primary);background:var(--card);padding:12px 16px;margin-bottom:16px;font-size:14px;line-height:1.5}
.team-coverage>svg{flex:none;margin-top:3px;color:var(--primary)}
.team-coverage strong{font-size:14px}.team-coverage p{margin:4px 0;color:var(--muted-foreground)}
@media(max-width:1050px){.team-rankings{grid-template-columns:minmax(0,1fr)}.team-people{max-height:420px}}
@media(max-width:700px){.team-coverage{padding:14px}.team-report .team-metrics{padding:0}.team-report .team-metrics>div{padding:12px 16px}.team-report .report-selected h3{font-size:18px}}

.debug-disk-meter{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:16px 0}.debug-disk-meter progress{width:min(100%,360px);height:16px;accent-color:var(--primary)}.debug-warning .debug-disk-meter progress{accent-color:#a77a18}

/* Email authentication shares the portal typography, palette, and focus styles. */
.email-login{width:min(100%,520px);margin:48px auto;padding:36px;border:1px solid var(--border);border-radius:18px;background:var(--card);box-shadow:0 8px 36px #00000008}
.email-login-mark{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:var(--muted);color:var(--primary);margin-bottom:24px}
.email-login .email-login-eyebrow{font-size:13px;letter-spacing:.09em;text-transform:uppercase;color:var(--primary);margin-bottom:8px}
.email-login h2{font-size:28px;line-height:1.25;margin:0 0 12px}
.email-login>p{line-height:1.6;color:var(--muted-foreground);margin:0 0 20px}
.email-login form{display:grid;gap:10px;margin:24px 0 16px}
.email-login form label{font-size:14px;font-weight:500}
.email-login form button{margin-top:6px;justify-content:center;gap:10px}
.email-login>button{width:100%;white-space:normal;height:auto;margin:0 0 16px}
.email-login .email-login-note{font-size:14px;padding:10px 12px;background:var(--muted);border-radius:8px}
.email-login .email-login-footnote{font-size:13px;margin:24px 0 0}
.email-login .email-login-error,.manager-access-error{padding:12px 16px;border:1px solid #c8625a70;border-radius:8px;background:#c8625a10;color:var(--foreground);font-size:14px;line-height:1.5}
.account-menu .account-signout{display:flex;align-items:center;justify-content:center;flex:none;padding:8px;min-height:36px;background:transparent;border:0;color:var(--muted-foreground);border-radius:8px}
.account-menu .account-signout:hover{background:var(--muted);color:var(--foreground)}
.account-menu .account-signout:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
.admin-access-count{font-size:14px;color:var(--muted-foreground);padding:6px 0}
.admin-invitation>button+button{margin:8px 0 0 8px}
.admin-invitation-help{font-size:14px;color:var(--muted-foreground);line-height:1.5;margin:12px 0 0}
.manager-access-notice{background:var(--muted);border-left:3px solid var(--primary);padding:12px 16px;border-radius:4px;font-size:14px;line-height:1.5}
.admin-invited-managers{border-top:1px solid var(--border);margin-top:28px;padding-top:24px}
.admin-invited-managers>.admin-section-heading{align-items:center}
.admin-invited-managers h3{margin:0}
.admin-manager-list{list-style:none;margin:0;padding:0}
.admin-manager-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 0;border-top:1px solid var(--border)}
.admin-manager-details{min-width:0;flex:1}
.admin-manager-details>strong{font-size:16px;font-weight:500;overflow-wrap:anywhere;display:inline-block;margin-right:10px}
.admin-manager-details p{font-size:14px;line-height:1.5;color:var(--muted-foreground);margin:8px 0;overflow-wrap:anywhere}
.admin-manager-details small{font-size:12px;color:var(--muted-foreground);display:block;margin-top:4px}
.admin-manager-status{display:inline-block;border:1px solid var(--border);border-radius:5px;padding:3px 7px;font-size:12px;white-space:nowrap;background:var(--muted)}
.admin-manager-status.status-active{color:var(--primary);border-color:var(--primary)}
.admin-manager-status.status-revoked{color:var(--muted-foreground)}
.admin-manager-actions{display:flex;gap:8px;flex-wrap:wrap;max-width:48%;justify-content:flex-end}
.admin-manager-actions button{font-size:13px;padding:8px;min-height:36px;gap:6px}
.admin-manager-empty{font-size:14px;color:var(--muted-foreground);line-height:1.5}
@media(max-width:700px){.email-login{padding:24px;margin:24px auto}.email-login h2{font-size:25px}.admin-manager-row{flex-direction:column;gap:12px}.admin-manager-actions{max-width:100%;justify-content:flex-start}.admin-manager-details>strong{display:block;margin:0 0 8px}}

/* My Creators follows the account-scoped roster. */
.my-creators-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.my-creators-intro p{margin:0;color:var(--muted-foreground)}.my-creators-intro>span{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:14px;color:var(--muted-foreground)}.my-creators-table-wrap{overflow-x:auto;background:var(--card);border:1px solid var(--border);border-radius:12px}.my-creators-table-wrap:focus-visible{outline:2px solid var(--ring);outline-offset:3px}.my-creators-table{width:100%;min-width:740px;border-collapse:collapse;text-align:left;table-layout:fixed}.my-creators-table th,.my-creators-table td{padding:20px 22px;border-bottom:1px solid var(--border);vertical-align:middle;white-space:normal}.my-creators-table thead th{font-size:13px;font-weight:500;color:var(--muted-foreground);background:var(--muted)}.my-creators-table thead th:first-child{width:34%}.my-creators-table tbody th{background:transparent;text-transform:none;letter-spacing:normal;font-weight:400}.my-creators-table tbody tr:last-child>*{border-bottom:0}.my-creator-identity{display:flex;align-items:center;gap:12px;min-width:0}.my-creator-identity>div{min-width:0;overflow-wrap:anywhere}.my-creator-identity strong{font-size:16px;font-weight:500}.my-creator-identity .avatar{width:38px;height:38px;flex:none}.my-creator-identity .live-badge{margin-left:auto;flex:none}.my-creators-table small{display:block;margin-top:5px;color:var(--muted-foreground);font-size:12px;font-weight:400}.my-creator-league{display:inline-flex;align-items:center;gap:7px;background:var(--accent);color:var(--accent-foreground);border:1px solid var(--border);border-radius:6px;padding:5px 10px;font-size:15px;font-weight:500}.my-creator-number{font-size:20px;font-weight:500;font-variant-numeric:tabular-nums}.my-creator-number>span{font-size:14px;font-weight:400;color:var(--muted-foreground)}.my-creator-streak{display:inline-flex;align-items:center;gap:6px;font-size:14px}.my-creator-streak strong{font-size:20px;font-weight:500;font-variant-numeric:tabular-nums}.my-creator-streak svg{color:var(--primary)}.my-creator-unavailable{font-size:14px;color:var(--muted-foreground)}.my-creators-notes{max-width:950px;color:var(--muted-foreground);font-size:13px;line-height:1.6;margin-top:16px}.my-creators-notes p{margin:6px 0}.my-creators-empty{background:var(--card);border:1px solid var(--border);border-radius:12px;text-align:center;padding:48px 24px;color:var(--muted-foreground)}.my-creators-empty h2{color:var(--foreground);font-size:20px;margin:14px 0 8px}.my-creators-empty p{margin:0}.dark .my-creators-table tbody th{background:transparent}@media(max-width:650px){.my-creators-intro{align-items:flex-start;flex-direction:column;gap:8px}.my-creators-table th,.my-creators-table td{padding:17px 16px}.my-creators-notes{font-size:12px}}

/* TikTok artwork stays inside the existing activity icon slot at every breakpoint. */
.event-icon .activity-gift-image{display:block;width:100%;height:100%;object-fit:contain;padding:2px}

.my-creator-identity .avatar{overflow:hidden}
.my-creator-identity .creator-profile-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}

/* Sortable My Creators column headers. */
.my-creators-table thead th{padding-top:10px;padding-bottom:10px}
.my-creators-table .my-creators-sort{display:flex;justify-content:flex-start;width:100%;min-height:44px;padding:6px 0;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;text-align:left;line-height:1.4}
.my-creators-table .my-creators-sort svg{flex:none}
.my-creators-table .my-creators-sort:hover:not(:disabled),.my-creators-table th[aria-sort="ascending"] .my-creators-sort,.my-creators-table th[aria-sort="descending"] .my-creators-sort{background:transparent;color:var(--foreground)}

/* Upcoming events share the home roster's typography and responsive surface. */
.upcoming-events{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--card);box-shadow:0 3px 8px #302a1903}
.upcoming-heading{padding:24px 24px 18px}.upcoming-heading-line,.upcoming-toolbar,.upcoming-editor-heading,.upcoming-form-actions,.upcoming-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.upcoming-heading-line h2{display:flex;align-items:center;gap:10px;margin:0;font-size:20px;line-height:1.35}.upcoming-heading-line h2 svg{color:var(--primary);flex:none}.upcoming-add{width:44px;height:44px;min-width:44px;padding:10px}.upcoming-toolbar{margin-top:18px;flex-wrap:wrap}.upcoming-toolbar>span{font-size:12px;color:var(--muted-foreground);overflow-wrap:anywhere}.upcoming-scope{display:flex;border:1px solid var(--border);padding:3px;border-radius:8px;background:var(--muted);gap:3px}.upcoming-scope button{min-height:36px;padding:6px 12px;font-size:13px;background:transparent;border:0;box-shadow:none;white-space:normal}.upcoming-scope button[aria-pressed="true"]{background:var(--card);color:var(--primary);box-shadow:0 1px 4px #00000010}
.upcoming-source{padding:12px 24px;background:var(--muted);border-block:1px solid var(--border);font-size:12px;color:var(--muted-foreground);line-height:1.6}.upcoming-source summary{cursor:pointer;overflow-wrap:anywhere}.upcoming-source p{margin:8px 0 0}.upcoming-source a,.upcoming-info a{display:inline;overflow-wrap:anywhere;color:var(--primary)}.upcoming-source a svg,.upcoming-info a svg{display:inline;vertical-align:middle}.upcoming-group{font-size:12px;font-weight:600;letter-spacing:.035em;text-transform:uppercase;padding:19px 24px 5px;color:var(--muted-foreground);margin:0}.upcoming-group span{font-weight:400}.upcoming-list{list-style:none;margin:0;padding:0 24px}.upcoming-event-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--border)}.upcoming-event-row:last-child{border-bottom:0}.upcoming-date{height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--muted);border:1px solid var(--border);border-radius:8px;line-height:1.2;color:var(--primary)}.upcoming-date small{font-size:10px;text-transform:uppercase}.upcoming-date strong{font-size:20px;font-weight:500}.upcoming-date-tbd{font-size:11px;color:var(--muted-foreground);border-style:dashed}.upcoming-event-description{min-width:0;overflow-wrap:anywhere}.upcoming-event-description>strong{font-size:14px;font-weight:500;line-height:1.45}.upcoming-event-description p{font-size:12px;color:var(--muted-foreground);margin:4px 0 0;line-height:1.4}.upcoming-event-description .upcoming-review,.upcoming-review{color:#936426;display:flex;align-items:flex-start;gap:5px}.dark .upcoming-review{color:#e1b470}.upcoming-review svg{flex:none;margin-top:2px}.upcoming-event-actions{text-align:right;font-size:12px;display:flex;flex-direction:column;align-items:flex-end;gap:4px}.upcoming-event-actions time{white-space:nowrap;font-size:13px}.upcoming-event-actions button{min-height:32px;padding:5px 8px;font-size:12px;color:var(--primary);background:transparent}.upcoming-footer{padding:14px 24px;border-top:1px solid var(--border);font-size:12px;color:var(--muted-foreground);flex-wrap:wrap}.upcoming-footer button{font-size:13px;min-height:36px;padding:6px 8px;color:var(--primary)}.upcoming-empty{padding:32px 24px;color:var(--muted-foreground);font-size:14px;text-align:center}.upcoming-empty svg{margin:0 auto;color:var(--primary)}
.upcoming-notice{padding:10px 24px;background:var(--muted);font-size:13px;display:flex;align-items:center;gap:12px;border-block:1px solid var(--border)}.upcoming-notice button{min-height:32px;padding:4px 8px;font-size:13px;gap:5px}.upcoming-editor{padding:20px 24px 24px}.upcoming-editor-heading{flex-wrap:wrap}.upcoming-editor-heading h3{font-size:18px;margin:0}.upcoming-editor-heading h3:focus-visible{outline:2px solid var(--ring);outline-offset:4px}.upcoming-editor-heading button{font-size:12px;padding:6px 0;gap:4px;color:var(--muted-foreground)}.upcoming-info{padding:12px 14px;background:var(--muted);border-radius:8px;font-size:12px;line-height:1.6;margin-top:16px;overflow-wrap:anywhere}.upcoming-info p{margin:6px 0 0}.upcoming-editor fieldset{border:0;padding:0;margin:0;min-width:0}.upcoming-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 16px;margin-top:20px}.upcoming-fields label{display:block;font-size:12px;color:var(--muted-foreground);line-height:1.5;min-width:0}.upcoming-fields input:not([type="checkbox"]),.upcoming-fields select,.upcoming-fields textarea{display:block;width:100%;min-width:0;max-width:100%;margin-top:6px;padding:10px;border:1px solid var(--border);border-radius:7px;background:var(--background);color:var(--foreground);font-size:14px;min-height:42px}.upcoming-fields textarea{resize:vertical;min-height:80px}.upcoming-fields input:disabled,.upcoming-fields select:disabled,.upcoming-fields textarea:disabled{opacity:.65}.upcoming-fields fieldset:disabled{opacity:1}.upcoming-span{grid-column:1/-1}.upcoming-fields .upcoming-check{display:flex;align-items:center;gap:7px;min-height:26px;margin-top:7px}.upcoming-check input{accent-color:var(--primary);width:15px;height:15px;margin:0;flex:none}.upcoming-help{font-size:12px;line-height:1.6;color:var(--muted-foreground);margin:5px 0 0}.upcoming-roster-picker{max-width:100%;margin-top:10px}.upcoming-form-actions{border-top:1px solid var(--border);margin-top:22px;padding-top:18px;flex-wrap:wrap}.upcoming-form-actions>div{display:flex;gap:8px;margin-left:auto}.upcoming-form-actions button{font-size:13px;padding:8px 12px}.upcoming-danger{color:#a13e3e!important}.dark .upcoming-danger{color:#eeaaa4!important}.upcoming-error{color:#a13e3e;font-size:13px;line-height:1.5;padding:12px 24px;overflow-wrap:anywhere}.upcoming-editor .upcoming-error{padding:12px 0 0;margin:0}.dark .upcoming-error{color:#eeaaa4}.upcoming-error button{margin-left:10px;font-size:12px;padding:6px 12px}.upcoming-confirm{border:1px solid var(--border);padding:16px;border-radius:10px;margin-top:16px;font-size:14px}.upcoming-confirm p{font-size:13px;line-height:1.6;color:var(--muted-foreground)}.upcoming-confirm button{font-size:13px;min-height:40px;margin:4px 8px 0 0}
@media(max-width:1000px){.home-columns>.roster{order:-1}}
@media(min-width:1001px){.home-columns{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.home-columns>.roster{width:100%;justify-self:stretch}}
@media(max-width:600px){.upcoming-heading,.upcoming-editor{padding:18px 16px}.upcoming-heading-line{align-items:flex-start}.upcoming-heading-line h2{font-size:18px}.upcoming-heading-line h2 svg{width:20px}.upcoming-source,.upcoming-group,.upcoming-footer,.upcoming-notice{padding-left:16px;padding-right:16px}.upcoming-list{padding:0 16px}.upcoming-event-row{grid-template-columns:40px minmax(0,1fr);gap:5px 10px}.upcoming-date{grid-row:span 2}.upcoming-event-actions{grid-column:2;flex-direction:row;justify-content:space-between;align-items:center}.upcoming-event-actions button{min-height:40px}.upcoming-fields{grid-template-columns:minmax(0,1fr)}.upcoming-span{grid-column:1}.upcoming-fields input:not([type="checkbox"]),.upcoming-fields select,.upcoming-fields textarea{font-size:16px}.upcoming-scope button{min-height:40px}.upcoming-toolbar{gap:10px}.upcoming-form-actions>div{flex-wrap:wrap}.upcoming-heading-line h2{max-width:calc(100% - 56px)}}

.upcoming-events button[data-variant="ghost"]{background:transparent;border-color:transparent;color:var(--primary)}
.upcoming-events button[data-variant="ghost"]:hover:not(:disabled),.upcoming-events button[data-variant="outline"]:hover:not(:disabled){background:var(--muted);color:var(--foreground)}

/* Theme control stays at the top right of every page header. */
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-left:auto}
.page-header .theme-toggle{width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;margin:0;flex:none;justify-content:center;align-self:flex-start}
@media(max-width:900px){.page-header{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:start}.header-actions{display:contents}.page-header .theme-toggle{grid-column:2;grid-row:1}.header-status{grid-column:1/-1;grid-row:2}}

/* Expandable, account-scoped stream history. */
.my-creators-table .my-creator-expand{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;border:0;padding:0;background:transparent;color:var(--foreground);text-align:left;font:inherit;border-radius:5px}.my-creators-table .my-creator-expand:hover:not(:disabled){background:transparent;color:var(--primary)}.my-creator-chevron{flex:none;transition:transform .15s}.my-creator-expand[aria-expanded="true"] .my-creator-chevron{transform:rotate(90deg)}.my-creator-expand .my-creator-identity{flex:1}.my-creator-name{min-width:0;overflow-wrap:anywhere}.my-creators-table .my-creator-history-row>td{padding:0 20px 20px}.stream-history{border:1px solid var(--border);background:var(--background);border-radius:10px;padding:20px;text-align:left}.stream-history-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:14px}.stream-history-heading h3{font-size:16px;margin:0;display:flex;align-items:center;gap:8px;font-weight:500}.stream-history-heading h3 svg{color:var(--primary)}.stream-history-heading p{color:var(--muted-foreground);font-size:12px;margin:5px 0 0}.stream-history button{font-size:12px;padding:6px 10px;min-height:36px}.stream-history .stream-history-refresh{background:transparent;color:var(--muted-foreground);border-color:var(--border);flex:none}.stream-history-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:0}.my-creators-table .stream-history-table thead th{background:transparent;font-size:12px;font-weight:500;padding:12px 10px}.my-creators-table .stream-history-table thead th:first-child{width:48%;padding-left:0}.my-creators-table .stream-history-table thead th:nth-child(2){width:22%}.my-creators-table .stream-history-table td{padding:16px 10px;border-bottom:1px solid var(--border);font-size:14px;vertical-align:top}.my-creators-table .stream-history-table td:first-child{padding-left:0}.my-creators-table .stream-history-table td:last-child,.my-creators-table .stream-history-table th:last-child{text-align:right;padding-right:0}.stream-history-start{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.stream-history-start time{font-variant-numeric:tabular-nums}.stream-history-start .live-badge{font-size:12px}.stream-history-duration{font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}.stream-history-diamonds{display:inline-flex;align-items:center;gap:6px;color:var(--primary);font-variant-numeric:tabular-nums}.stream-history-diamonds strong{font-size:16px;font-weight:500}.my-creators-table .stream-history-table small{font-size:12px;line-height:1.5;margin-top:4px}.stream-history-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:14px}.stream-history-footer p{font-size:12px;line-height:1.6;color:var(--muted-foreground);max-width:620px;margin:0}.stream-history-footer button{flex:none}.stream-history-empty{display:flex;align-items:center;justify-content:center;gap:9px;padding:25px 0;color:var(--muted-foreground);font-size:14px}.stream-history-empty p{margin:0}.stream-history-error{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:12px;color:var(--foreground);padding:12px;border:1px solid var(--border);border-radius:7px;background:var(--muted)}.stream-history-error button{flex:none}
@media(max-width:650px){.my-creators-table{display:block;min-width:0;table-layout:auto}.my-creators-table>thead,.my-creators-table>tbody{display:block}.my-creators-table>thead>tr{display:grid;grid-template-columns:1fr 1fr;background:var(--muted);padding:6px 12px;gap:0 16px}.my-creators-table>thead>tr>th,.my-creators-table>thead>tr>th:first-child{display:block;width:auto;padding:0;border:0}.my-creators-table .my-creators-sort{font-size:12px;min-height:42px;gap:6px}.my-creators-table>tbody>.my-creator-summary{display:grid;grid-template-columns:1fr 1fr;padding:16px;gap:14px 16px;border-bottom:1px solid var(--border)}.my-creators-table>tbody>.my-creator-summary>th{grid-column:1/-1}.my-creators-table>tbody>.my-creator-summary>th,.my-creators-table>tbody>.my-creator-summary>td{display:block;padding:0;border:0;min-width:0}.my-creator-summary>td:before{content:attr(data-label);display:block;color:var(--muted-foreground);font-size:12px;line-height:1.5;margin-bottom:6px}.my-creator-identity{gap:10px}.my-creator-league{font-size:13px}.my-creator-number,.my-creator-streak strong{font-size:18px}.my-creators-table .my-creator-history-row{display:block}.my-creators-table .my-creator-history-row>td{display:block;padding:10px;border-bottom:1px solid var(--border)}.stream-history{padding:14px 12px}.stream-history-heading{gap:8px}.stream-history-heading h3{font-size:15px}.stream-history-heading p{font-size:12px}.stream-history .stream-history-refresh{padding:6px;min-height:36px}.stream-history-refresh span{display:none}.my-creators-table .stream-history-table thead th{font-size:12px;padding:10px 5px}.my-creators-table .stream-history-table thead th:first-child{width:43%}.my-creators-table .stream-history-table thead th:nth-child(2){width:23%}.my-creators-table .stream-history-table td{font-size:14px;padding:14px 5px}.my-creators-table .stream-history-table small{font-size:12px}.stream-history-start time{line-height:1.5}.stream-history-diamonds{gap:3px}.stream-history-diamonds strong{font-size:14px}.stream-history-diamonds svg{width:12px}.stream-history-footer{display:block;margin-top:12px}.stream-history-footer p{font-size:12px}.stream-history-footer button{margin-top:12px;width:100%}.stream-history-empty{font-size:12px;line-height:1.6}.stream-history-error{font-size:12px;align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.my-creator-chevron{transition:none}}

/* Home summary shortcuts preserve the metric styling and support keyboard navigation. */
.summary-jump{appearance:none;border:0;background:none;color:inherit;font:inherit;text-align:left;padding:0;min-height:44px;cursor:pointer;border-radius:4px}.summary-jump:hover strong{text-decoration:underline;text-underline-offset:4px}.summary-jump:focus-visible{outline:2px solid var(--ring);outline-offset:5px}#roster-heading,#upcoming-events-heading{scroll-margin-top:24px}

/* Keep Home shortcut labels clearly identifiable in dark mode. */
.dark .overview-summary .summary-jump{color:#f3d78b;background:transparent}.dark .overview-summary .summary-jump strong{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.dark .overview-summary .summary-jump:hover{color:#fff0c4;background:transparent}.dark .overview-summary .summary-jump:focus-visible{outline:2px solid #f3d78b;outline-offset:5px}

.upcoming-month-toggle{display:flex;align-items:center;gap:10px;min-height:44px;margin:0 24px 12px;font-size:14px;cursor:pointer;width:fit-content;max-width:calc(100% - 48px)}
.upcoming-month-toggle input{appearance:none;position:relative;flex:none;width:36px;min-width:36px;height:22px;min-height:22px;margin:0;padding:0;border:1px solid var(--border);border-radius:20px;background:var(--muted);cursor:pointer}
.upcoming-month-toggle input:before{content:"";position:absolute;width:16px;height:16px;left:2px;top:2px;border-radius:50%;background:var(--muted-foreground)}
.upcoming-month-toggle input:checked{background:var(--primary)}
.upcoming-month-toggle input:checked:before{left:16px;background:var(--primary-foreground)}
.upcoming-month-toggle input:focus-visible{outline:2px solid var(--ring);outline-offset:3px}
@media(max-width:600px){.upcoming-month-toggle{margin-left:16px;margin-right:16px;max-width:calc(100% - 32px)}}

/* Opt-in notifications: scoped so existing feed and account layouts stay stable. */
.notification-account-link{display:flex;align-items:center;gap:10px;color:var(--muted-foreground);font-size:14px;text-decoration:none;padding:12px 0 0}
.notification-account-link[aria-current="page"],.notification-account-link:hover{color:var(--primary)}
.notification-page{max-width:1060px;margin:0 auto}
.notification-back{display:inline-flex;align-items:center;gap:5px;margin-bottom:22px;font-size:14px;text-decoration:none}
.notification-intro{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:26px}
.notification-eyebrow{display:block;color:var(--primary);font-size:11px;letter-spacing:.13em;font-weight:600;margin-bottom:9px}
.notification-intro h2{font-size:29px;font-weight:600;letter-spacing:-.035em;margin:0 0 9px}
.notification-intro p{color:var(--muted-foreground);margin:0;font-size:16px}
.notification-intro-icon{flex:none;color:var(--primary);margin:0 12px}
.notification-card{border:1px solid var(--border);border-radius:13px;background:var(--card);padding:26px;margin-bottom:22px;min-width:0}
.notification-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}
.notification-section-heading h3{display:flex;align-items:center;gap:10px;margin:0;font-size:19px;font-weight:600;letter-spacing:-.02em}
.notification-section-heading h3 svg{color:var(--primary);flex:none}
.notification-section-heading p{margin:7px 0 0;color:var(--muted-foreground);font-size:14px;max-width:670px}
.notification-state{flex:none;display:inline-flex;align-items:center;padding:5px 11px;background:var(--muted);border:1px solid var(--border);border-radius:20px;font-size:12px;font-weight:500;color:var(--muted-foreground)}
.notification-state-enabled{color:#376334;background:#eef5e9;border-color:#bed2b5}
.dark .notification-state-enabled{color:#a2d694;background:#243b2b;border-color:#3e6043}
.notification-help{color:var(--muted-foreground);font-size:13px;line-height:1.6;margin:9px 0 0}
.notification-banner{font-size:14px;line-height:1.6;border-left:3px solid var(--primary);background:var(--muted);padding:15px 18px;margin:0 0 22px;color:var(--foreground)}
.notification-error{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;color:#9f3030;background:#fff0ed;border:1px solid #efb8b0;border-radius:10px;padding:14px 18px;margin-bottom:20px;font-size:14px}
.notification-notice{display:flex;align-items:flex-start;gap:9px;background:#edf5e9;border:1px solid #c1d6b7;color:#376334;padding:14px 18px;border-radius:10px;margin-bottom:20px;font-size:14px}
.notification-notice svg{flex:none;margin-top:2px}
.dark .notification-error{background:#42292c;border-color:#75434a;color:#ffb6b6}
.dark .notification-notice{background:#243b2b;border-color:#3e6043;color:#a2d694}
.notification-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.notification-enroll{display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px}
.notification-enroll>label{flex:1;min-width:170px;max-width:300px}
.notification-enroll>button{min-height:44px}
.notification-install{border-radius:9px;background:var(--muted);padding:18px 21px}
.notification-install strong{font-weight:600}
.notification-install ol{padding-left:21px;margin:12px 0 0;color:var(--muted-foreground);font-size:14px;line-height:1.8;list-style:decimal}
.notification-confirm{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-top:20px;padding-top:20px;border-top:1px solid var(--border)}
.notification-confirm>label{max-width:245px}
.notification-confirm input{font-variant-numeric:tabular-nums;letter-spacing:.2em}
.notification-confirm>.notification-help{flex-basis:100%;margin:0}
.notification-toggle{display:flex;align-items:center;gap:14px;min-height:77px;cursor:pointer}
.notification-toggle-icon{width:35px;height:35px;display:flex;align-items:center;justify-content:center;flex:none;color:var(--primary);background:var(--muted);border-radius:9px}
.notification-toggle-copy{flex:1;min-width:0}
.notification-toggle-copy>strong{display:block;font-size:15px;font-weight:500;color:var(--foreground)}
.notification-toggle-copy>small{display:block;color:var(--muted-foreground);font-size:13px;line-height:1.5;margin-top:5px;max-width:620px}
.notification-toggle input[role="switch"]{appearance:none;position:relative;display:block;flex:none;width:40px;height:24px;min-height:24px;border:1px solid var(--input);border-radius:99px;padding:0;margin:0;background:var(--muted);cursor:pointer;transition:background .15s,border-color .15s}
.notification-toggle input[role="switch"]:before{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:var(--muted-foreground);transition:transform .15s}
.notification-toggle input[role="switch"]:checked{background:var(--primary);border-color:var(--primary)}
.notification-toggle input[role="switch"]:checked:before{background:var(--primary-foreground);transform:translateX(16px)}
.notification-toggle input[role="switch"]:disabled{opacity:.45;cursor:not-allowed}
.notification-toggle.notification-muted{cursor:default}
.notification-pause{background:var(--muted);border-radius:9px;padding:0 16px;margin-bottom:11px}
.notification-pause .notification-toggle-icon{background:var(--card)}
.notification-category+.notification-category{border-top:1px solid var(--border)}
.notification-category-options{margin:0 0 21px 49px;max-width:640px}
.notification-category-options>label{display:block;max-width:440px;margin-top:2px}
.notification-category-options>label>input[type="number"]{max-width:230px}
.notification-creator-choice{margin-top:17px}
.notification-creator-choice>label:first-child{display:block;max-width:440px}
.notification-search-label{display:block;margin:17px 0 12px}
.notification-search-label>span{display:flex;align-items:center;gap:6px}
.notification-checklist{border:1px solid var(--border);border-radius:8px;max-height:230px;overflow:auto}
.notification-checklist>label{display:flex;align-items:flex-start;gap:11px;padding:10px 13px;cursor:pointer;min-height:47px;color:var(--foreground);font-size:14px}
.notification-checklist>label+label{border-top:1px solid var(--border)}
.notification-checklist>label:hover{background:var(--muted)}
.notification-checklist input[type="checkbox"],.notification-all-managers input[type="checkbox"]{appearance:auto;display:block;width:17px;height:17px;min-height:17px;margin:3px 0 0;padding:0;flex:none;accent-color:var(--primary);border-radius:3px;cursor:pointer}
.notification-checklist>label>span{min-width:0;overflow-wrap:anywhere}
.notification-checklist strong{font-weight:500}
.notification-checklist small{display:block;color:var(--muted-foreground);font-size:12px;line-height:1.5;margin-top:2px}
.notification-checklist>p{padding:15px;margin:0;color:var(--muted-foreground);font-size:13px}
.notification-text-button{display:inline;border:0;padding:0;margin:0;min-height:unset;background:transparent!important;color:var(--primary)!important;text-decoration:underline;font-size:inherit;cursor:pointer}
.notification-time-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;max-width:440px;margin:0 0 20px}
.notification-card>label:not(.notification-toggle){display:block;max-width:440px}
.notification-privacy{padding-top:20px;border-top:1px solid var(--border);margin-top:8px}
.notification-privacy>label{display:block;max-width:440px}
.notification-phone-preview{display:flex;align-items:flex-start;gap:12px;background:var(--muted);border:1px solid var(--border);border-radius:13px;padding:17px;margin-top:14px;max-width:460px}
.notification-phone-preview>svg{flex:none;color:var(--primary);margin-top:3px}
.notification-phone-preview>div{min-width:0;overflow-wrap:anywhere}
.notification-phone-preview strong{display:block;font-size:14px;font-weight:600}
.notification-phone-preview p{font-size:13px;color:var(--muted-foreground);margin:5px 0 0;line-height:1.6;white-space:pre-wrap}
.notification-save{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 2px 25px}
.notification-save>p{margin:0;font-size:14px}
.notification-save small{display:block;color:var(--muted-foreground);font-size:12px;margin-top:5px}
.notification-save>button{flex:none}
.notification-device-list{list-style:none;padding:0;margin:0}
.notification-device-list>li{display:flex;align-items:center;gap:14px;padding:17px 0;border-top:1px solid var(--border)}
.notification-device-list>li>svg{color:var(--muted-foreground);flex:none}
.notification-device-list>li>div:first-of-type{flex:1;min-width:0;overflow-wrap:anywhere}
.notification-device-list strong{font-size:14px;font-weight:500}
.notification-device-list small{display:block;color:var(--muted-foreground);font-size:12px;margin-top:4px}
.notification-device-list>li:last-child{padding-bottom:0}
.notification-message{border-top:3px solid var(--primary)}
.notification-message h2{font-size:25px;overflow-wrap:anywhere;margin-bottom:12px}
.notification-message-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:16px;margin:15px 0}
.notification-message>.notification-actions{margin-top:20px}
.notification-admin-entry{display:flex;align-items:center;gap:20px;padding:23px 25px;border:1px solid var(--border);border-radius:12px;background:var(--card);text-decoration:none;color:var(--foreground);margin-bottom:24px}
.notification-admin-entry:hover{border-color:var(--primary);background:var(--muted)}
.notification-admin-entry-icon{display:flex;align-items:center;justify-content:center;background:var(--muted);color:var(--primary);width:47px;height:47px;border-radius:11px;flex:none}
.notification-admin-entry>div{flex:1}
.notification-admin-entry h2{font-size:21px;margin:0 0 5px}
.notification-admin-entry p{color:var(--muted-foreground);font-size:14px;margin:0;max-width:640px}
.notification-admin-entry>span:last-child{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--primary);white-space:nowrap}
.notification-forward-icon{transform:rotate(180deg)}
.notification-compose-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(270px,1fr);gap:28px}
.notification-compose-grid h4{display:flex;align-items:center;gap:7px;font-size:15px;margin:0 0 15px;font-weight:600}
.notification-field-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.notification-field-heading>span{font-size:12px;color:var(--muted-foreground);text-align:right}
.notification-all-managers{display:flex;gap:11px;align-items:flex-start;padding:14px;border:1px solid var(--border);border-radius:8px;background:var(--muted);cursor:pointer}
.notification-all-managers strong{display:block;color:var(--foreground);font-size:14px;font-weight:500}
.notification-all-managers small{display:block;color:var(--muted-foreground);font-size:12px;margin-top:5px;line-height:1.5}
.notification-manager-checklist{max-height:390px}
.notification-selection-actions{margin-bottom:12px}
.notification-selection-actions>button{font-size:12px;padding:7px 10px;min-height:35px}
.notification-compose-fields>label{display:block}
.notification-character-count{display:block;text-align:right;font-size:11px;color:var(--muted-foreground);margin:3px 0 10px;font-variant-numeric:tabular-nums}
.notification-preview-section{padding-top:22px;margin:0 0 19px}
.notification-preview-section>.notification-eyebrow{margin-bottom:7px;color:var(--muted-foreground);font-size:10px}
.notification-preview-section .notification-phone-preview{margin:0 0 16px}
.notification-review{margin-top:27px;padding-top:25px;border-top:1px solid var(--border)}
.notification-review .notification-section-heading{margin-bottom:16px}
.notification-count-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}
.notification-count-grid>div{padding:13px;background:var(--muted);border:1px solid var(--border);border-radius:8px}
.notification-count-grid strong{display:block;font-size:23px;font-weight:600;font-variant-numeric:tabular-nums}
.notification-count-grid span{display:block;font-size:11px;color:var(--muted-foreground);margin-top:3px}
.notification-count-grid>.notification-count-featured{border-color:var(--primary)}
.notification-count-featured strong{color:var(--primary)}
.notification-recipient-review{margin:18px 0;font-size:13px;color:var(--muted-foreground)}
.notification-recipient-review>summary{cursor:pointer;padding:5px 0;font-weight:500}
.notification-recipient-review>ul{list-style:none;max-height:250px;overflow:auto;padding:0;margin:10px 0;border:1px solid var(--border);border-radius:8px}
.notification-recipient-review li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-bottom:1px solid var(--border)}
.notification-recipient-review li>span{color:var(--foreground);overflow-wrap:anywhere;min-width:0}
.notification-recipient-review li>small{font-size:12px;text-align:right}
.notification-review>.notification-actions{margin-top:17px}
.notification-history-list{list-style:none;margin:0;padding:0}
.notification-history-list>li{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-top:1px solid var(--border)}
.notification-history-list>li>div:first-child{min-width:0}
.notification-history-list h4{font-size:15px;margin:0 0 7px;font-weight:500;overflow-wrap:anywhere}
.notification-history-list p{font-size:12px;margin:0 0 9px;color:var(--muted-foreground)}
.notification-history-list .notification-actions{flex:none}
.notification-history-outcomes{display:flex;flex-wrap:wrap;gap:7px}
.notification-history-outcomes>span{padding:3px 7px;border:1px solid var(--border);background:var(--muted);border-radius:5px;color:var(--muted-foreground);font-size:11px}
.notification-empty{text-align:center;padding:32px 20px;color:var(--muted-foreground)}
.notification-empty>svg{margin:0 auto 14px;color:var(--primary)}
.notification-empty h4{color:var(--foreground);font-size:16px;margin:0 0 8px;font-weight:500}
.notification-empty p{font-size:14px;margin:0}
.notification-delivery-table{overflow:auto;margin:20px 0;border:1px solid var(--border);border-radius:8px}
.notification-delivery-table table{border-collapse:collapse;width:100%;font-size:13px}
.notification-delivery-table th,.notification-delivery-table td{padding:11px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border)}
.notification-delivery-table th{font-size:12px;color:var(--muted-foreground);font-weight:500;background:var(--muted)}
.notification-master-control{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px;border:1px solid var(--border);background:var(--muted);border-radius:9px}
.notification-master-control strong{font-weight:500;font-size:14px}
.notification-master-control>button{flex:none}
.notification-master-control p{max-width:590px;margin-top:5px}
.notification-controls-details{margin-top:18px;padding-top:17px;border-top:1px solid var(--border)}
.notification-controls-details>summary{cursor:pointer;font-size:14px;font-weight:500;color:var(--foreground)}
.notification-controls-details .notification-help{margin:15px 0}
.notification-controls-details>.notification-history-outcomes{margin-top:18px}
.notification-rollout-flags{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 25px;margin-top:10px}
.notification-rollout-flags>.notification-toggle{border-bottom:1px solid var(--border);padding:12px 0}
@media(max-width:900px){.notification-compose-grid{gap:20px;grid-template-columns:minmax(0,1fr)}.notification-manager-checklist{max-height:255px}.notification-admin-entry{flex-wrap:wrap}.notification-admin-entry>span:last-child{margin-left:67px}.notification-intro h2{font-size:26px}.notification-master-control{align-items:flex-start;flex-direction:column}.notification-history-list>li{align-items:flex-start;flex-direction:column;gap:14px}.notification-rollout-flags{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.notification-page{max-width:100%}.notification-card{padding:19px 17px;border-radius:10px;margin-bottom:17px}.notification-intro{align-items:flex-start;flex-wrap:wrap;gap:15px;margin-bottom:21px}.notification-intro h2{font-size:25px}.notification-intro p{font-size:14px}.notification-intro-icon{display:none}.notification-section-heading{flex-wrap:wrap;gap:12px;margin-bottom:17px}.notification-section-heading h3{font-size:18px}.notification-section-heading p{font-size:13px}.notification-state{font-size:11px}.notification-toggle{gap:10px;padding:12px 0;min-height:73px}.notification-toggle-copy>strong{font-size:14px}.notification-toggle-copy>small{font-size:12px}.notification-toggle-icon{width:29px;height:32px}.notification-toggle-icon>svg{width:18px}.notification-category-options{margin-left:0;padding:0 0 0 0}.notification-pause{padding:0 12px}.notification-save{align-items:flex-start;flex-direction:column;gap:13px;padding-bottom:20px}.notification-save>button{width:100%}.notification-enroll{align-items:stretch;flex-direction:column}.notification-enroll>label{max-width:none}.notification-enroll>button{white-space:normal}.notification-confirm{align-items:stretch;flex-direction:column}.notification-confirm>label{max-width:none}.notification-count-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notification-device-list>li{flex-wrap:wrap}.notification-device-list>li>.notification-actions{flex-basis:100%;padding-left:34px}.notification-account-link{padding:7px 0 0;min-height:36px}.notification-admin-entry{padding:19px;gap:14px}.notification-admin-entry-icon{width:38px;height:38px}.notification-admin-entry>span:last-child{margin-left:52px}.notification-admin-entry h2{font-size:19px}.notification-admin-entry p{font-size:13px}.notification-recipient-review li{align-items:flex-start;flex-direction:column;gap:5px}.notification-recipient-review li>small{text-align:left}.notification-time-range{gap:10px}.notification-privacy select{font-size:14px}.notification-field-heading{align-items:flex-start}.notification-review .notification-actions>button:first-child{width:100%}.notification-master-control>button{width:100%}}
@media(prefers-reduced-motion:reduce){.notification-toggle input[role="switch"],.notification-toggle input[role="switch"]:before{transition:none}}

.manager-list .archive-creator{display:block;margin-top:8px;color:var(--destructive);}
/* Administrator's temporary mode and durable personal creator selection. */
.workspace:has(.admin-mode-button){position:relative}
.admin-mode-button{position:absolute;top:16px;right:16px;z-index:5;width:118px;height:34px;display:flex;align-items:center;justify-content:center;gap:5px;padding:6px 9px;border:1px solid #b4bab3;border-radius:5px;background:#f4f3ef;color:#505951;font:inherit;font-size:11px;line-height:1.2;white-space:nowrap;cursor:pointer}
.admin-mode-button strong{font-size:11px;font-weight:600;letter-spacing:.03em}
.admin-mode-button:hover{background:var(--muted)}
.admin-mode-button[aria-pressed=true]{border-color:#b7aa87;color:#76633c;background:#bfa26808}
.admin-mode-button:focus-visible{outline:2px solid #b89952;outline-offset:3px}
.workspace:has(.admin-mode-button) .page-header{padding-right:116px}
.dark .admin-mode-button{border-color:#778190;color:#e1e5ed;background:#2b313b}
.dark .admin-mode-button:hover{border-color:#a5aebd;background:#353d48}
.dark .admin-mode-button[aria-pressed=true]{border-color:#baa36a;color:#f3d78b;background:#393324}
@media(max-width:900px){.admin-mode-button{top:12px;right:12px}.workspace:has(.admin-mode-button) .page-header{padding-right:0}}
.personal-creators{border:1px solid #d8ddd5;border-radius:12px;padding:24px;background:#fff;display:grid;gap:18px;margin-bottom:24px}
.personal-creators h2,.personal-creators-empty h2{font-size:20px;font-weight:600;margin:0 0 6px}
.personal-creators p,.personal-creators-empty p{font-size:13px;line-height:1.6;margin:0;color:#5d685f}
.personal-creators-note{max-width:780px}
.personal-search{display:grid;gap:7px;font-size:13px;max-width:420px}
.personal-selection-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:12px}
.personal-selection-actions>span{color:#5d685f}
.personal-creator-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;max-height:340px;overflow:auto;padding:3px}
.personal-creator-option{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #d8ddd5;border-radius:8px;cursor:pointer;min-width:0}
.personal-creator-option:has(input:checked){border-color:#b48e48;background:#fcf5e6}
.personal-creator-option input{width:18px;height:18px;flex-shrink:0;accent-color:#8b6528}
.personal-creator-option strong,.personal-creator-option small{display:block;overflow-wrap:anywhere}
.personal-creator-option strong{font-size:13px}.personal-creator-option small{font-size:11px;color:#5d685f;margin-top:3px}
.personal-creators-empty{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px;border:1px solid #cbb47e;border-radius:12px;background:#fcf5e6;margin-bottom:22px}
.mode-transition{max-width:560px;margin:15vh auto;padding:28px;display:grid;gap:18px}.mode-transition h1{font-size:24px;font-weight:600}
.dark .personal-creators p,.dark .personal-creators-empty p,.dark .personal-selection-actions>span,.dark .personal-creator-option small{color:#b7c0b3}
.dark .personal-creators{background:#202620;border-color:#45503f}.dark .personal-creator-option{border-color:#45503f}.dark .personal-creator-option:has(input:checked),.dark .personal-creators-empty{background:#302e23;border-color:#9b8048}
@media(max-width:700px){.personal-creators{padding:18px}.personal-creators-empty{align-items:flex-start;flex-direction:column}.personal-creator-grid{grid-template-columns:1fr}}

/* Compact data rows: keep artwork separate from text and let long content grow. */
.my-creators-intro { margin-bottom: 14px; }
.my-creators-table > thead > tr > th { padding: 6px 16px; }
.my-creators-table > tbody > .my-creator-summary > th,
.my-creators-table > tbody > .my-creator-summary > td { padding: 8px 16px; }
.my-creators-table .my-creator-expand { min-height: 44px; gap: 10px; }
.my-creator-identity { gap: 12px; }
.my-creator-identity .avatar { width: 32px; height: 32px; font-size: 16px; }
.my-creator-identity strong { font-size: 14px; }
.my-creators-table small { margin-top: 2px; }
.my-creator-number, .my-creator-streak strong { font-size: 18px; }
.my-creator-league { padding: 3px 8px; font-size: 14px; }
.my-creators-table .my-creator-history-row > td { padding: 0 16px 12px; }
.stream-history { padding: 16px; }
.my-creators-table .stream-history-table thead th { padding-block: 8px; }
.my-creators-table .stream-history-table td { padding-block: 10px; }

.activity-heading { padding: 18px 18px 0; }
.activity-heading h2 { font-size: 20px; gap: 10px; }
.activity-heading p { margin-top: 6px; }
.activity-filters { padding: 14px 18px; }
.activity-row { grid-template-columns: 32px minmax(0,1fr) auto; gap: 12px; min-height: 62px; padding: 10px 8px; }
.activity-row.activity-gift { padding: 10px 8px; margin-block: 6px; }
.event-icon { width: 32px; height: 32px; }
.event-icon > svg { width: 19px; height: 19px; }
.activity-description p { font-size: 14px; }
.activity-description .gift-description { font-size: 13px; margin-top: 2px; }
.activity-meta, .activity-description .copy-handle { font-size: 13px; }
.activity-value { min-width: 68px; }
.activity-value strong { font-size: 16px; }
.activity-value time { font-size: 12px; }
.roster > h2 { padding: 18px 18px 0; }
.roster-controls { padding: 14px 18px 8px; }
.creator-scroll { padding-inline: 18px; }
.creator-scroll li { padding: 9px 0; min-height: 62px; gap: 12px; }
.creator-scroll .avatar { width: 32px; height: 32px; font-size: 16px; }
.creator-scroll .creator-name { font-size: 14px; font-weight: 500; }
.creator-scroll .creator-presence { gap: 3px; }
.gift-history .feedhead { padding: 16px 18px; }
.gift-history .history-controls { padding: 16px 18px; }
.gift-history .history-search { gap: 12px; }
.gift-history th, .gift-history td { padding: 9px 16px; line-height: 1.45; }

.upcoming-heading { padding: 18px; }
.upcoming-list { padding-inline: 18px; }
.upcoming-event-row { grid-template-columns: 34px minmax(0,1fr) auto; gap: 12px; padding: 10px 0; }
.upcoming-date { height: 40px; border-radius: 6px; }
.upcoming-date strong { font-size: 18px; }
.upcoming-event-description p { margin-top: 2px; }
.upcoming-group { padding: 14px 18px 4px; }

@media (min-width: 901px) {
  .activity-description .copy-handle, .creator-scroll .copy-handle { min-height: 24px; }
}
@media (max-width: 900px) {
  .activity-row { grid-template-columns: 32px minmax(0,1fr); gap: 4px 12px; }
  .event-icon { grid-row: 1 / span 2; align-self: start; }
  .activity-value { min-width: 0; }
  .activity-description .copy-handle, .creator-scroll .copy-handle { min-height: 44px; }
  .activity-heading, .roster > h2 { padding-inline: 16px; }
  .activity-filters, .roster-controls { padding-inline: 16px; }
  .creator-scroll { padding-inline: 16px; }
}
@media (max-width: 650px) {
  .my-creators-table > thead > tr > th { padding: 0; }
  .my-creators-table > tbody > .my-creator-summary { padding: 12px; gap: 10px 16px; }
  .my-creators-table > tbody > .my-creator-summary > th,
  .my-creators-table > tbody > .my-creator-summary > td { padding: 0; }
  .my-creator-summary > td:before { margin-bottom: 3px; }
  .my-creator-identity { gap: 12px; }
  .my-creators-table .my-creator-history-row > td { padding: 10px; }
  .stream-history { padding: 12px; }
  .my-creators-table .stream-history-table td { padding-block: 10px; }
}
@media (max-width: 600px) {
  .upcoming-heading, .upcoming-list { padding-inline: 16px; }
  .upcoming-event-row { grid-template-columns: 34px minmax(0,1fr); gap: 4px 12px; }
  .upcoming-date { grid-row: span 2; }
  .upcoming-event-actions { grid-column: 2; }
}
@media (pointer: coarse) {
  .activity-description .copy-handle, .creator-scroll .copy-handle,
  .stream-history button, .upcoming-event-actions button { min-height: 44px; }
}
.my-creators-table > tbody > .my-creator-summary > td { line-height: 1.4; }
.my-creators-table > tbody > .my-creator-summary small { line-height: 1.4; }
@media (min-width: 901px) and (pointer: fine) {
  .my-creators-table .my-creators-sort { min-height: 36px; }
}
@media (max-width: 650px) {
  .stream-history-diamonds { max-width: 100%; flex-wrap: wrap; justify-content: flex-end; }
  .stream-history-diamonds strong { white-space: nowrap; }
}
@media (max-width: 380px) {
  .my-creators-table .stream-history-table thead th:first-child { width: 40%; }
  .stream-history-diamonds strong { font-size: 13px; }
}

/* Returning top gifters use only the approved sentence at every screen size. */
.activity-row.activity-join { grid-template-columns: minmax(0,1fr); }
.activity-join .activity-description { min-width: 0; overflow-wrap: anywhere; }

.notification-template-picker{display:block;max-width:460px;margin-bottom:24px;font-size:13px;font-weight:500}
.notification-template-tokens{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.notification-template-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:32px}
.notification-template-grid>div{min-width:0}
.notification-template-tokens{margin-top:10px;margin-bottom:8px}
.notification-template-tokens button{font-family:monospace;font-size:12px}
.notification-template-preview{padding-top:8px}
.notification-template-secondary{margin-top:12px}
@media(max-width:760px){.notification-template-grid{grid-template-columns:minmax(0,1fr);gap:24px}.notification-template-grid .notification-actions{flex-wrap:wrap}}

/* Gifter Profile: report-local styles preserve existing portal surfaces. */
.gifter-profile{--gp-accent:#138b78;max-width:1600px}.dark .gifter-profile{--gp-accent:#36c6ad}
.gp-controls{margin-bottom:24px}.gp-profile-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.gp-person{display:flex;gap:15px;align-items:center;min-width:0}.gp-person>div:last-child{min-width:0}.gp-avatar{width:56px;height:56px;flex:none;border-radius:50%;border:1px solid color-mix(in srgb,var(--gp-accent) 40%,var(--border));background:color-mix(in srgb,var(--gp-accent) 12%,var(--card));display:grid;place-items:center;font-size:25px;color:var(--foreground)}.gp-person h3{font-size:28px;line-height:1.3;margin:0;display:flex;gap:12px;align-items:center;flex-wrap:wrap;overflow-wrap:anywhere;font-weight:500;letter-spacing:-.6px}.gp-person p{font-size:13px;color:var(--muted-foreground);margin:5px 0 0;overflow-wrap:anywhere}.gp-first-seen{color:var(--muted-foreground);font-size:12px;line-height:1.6;margin:16px 0 22px}.gp-overview-line{display:flex;gap:18px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--border);padding-bottom:14px;margin-bottom:18px}.gp-overview-line h3{font-size:14px;font-weight:500;margin:0;margin-right:auto}.gp-overview-line label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted-foreground);min-width:0}.gp-overview-line select{min-width:0;max-width:260px;padding:8px 10px;background:var(--card);border:1px solid var(--border);border-radius:7px;color:var(--foreground);font:inherit}.gp-overview-line>span{font-size:12px;color:var(--muted-foreground)}
.gp-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}.gp-stat{padding:17px 15px;background:var(--card);border:1px solid var(--border);border-radius:11px;min-width:0}.gp-stat:first-child{background:color-mix(in srgb,var(--gp-accent) 8%,var(--card));border-color:color-mix(in srgb,var(--gp-accent) 35%,var(--border))}.gp-stat>span{font-size:11px;display:block;text-transform:uppercase;letter-spacing:.6px;color:var(--muted-foreground)}.gp-stat strong{display:block;font-size:25px;letter-spacing:-.5px;margin:7px 0 4px;font-weight:500;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.gp-stat small{font-size:11px;color:var(--muted-foreground);line-height:1.5;display:block}
.gp-panel{border:1px solid var(--border);border-radius:11px;background:var(--card);min-width:0;margin-bottom:16px;overflow:hidden}.gp-panel-heading{padding:15px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--border)}.gp-panel-heading h3{font-size:14px;font-weight:500;margin:0}.gp-panel-heading>span{font-size:11px;color:var(--muted-foreground)}.gp-segment{display:flex;padding:3px;background:var(--background);border-radius:7px;gap:2px}.gp-segment button{border:0;background:transparent;color:var(--muted-foreground);font-size:11px;padding:5px 8px;min-height:28px;border-radius:5px;box-shadow:none}.gp-segment button[aria-pressed=true]{background:color-mix(in srgb,var(--gp-accent) 16%,var(--card));color:var(--foreground)}.gp-segment button:hover{background:var(--muted);color:var(--foreground)}
.gp-heat-wrap{padding:18px}.gp-heat-labels{display:grid;grid-template-columns:48px repeat(7,minmax(0,1fr));gap:5px;text-align:center;color:var(--muted-foreground);font-size:11px;margin-bottom:8px}.gp-heat-labels>span:first-child{text-align:left}.gp-heat{display:grid;gap:3px}.gp-heat-row{display:grid;grid-template-columns:48px repeat(7,minmax(0,1fr));gap:5px;align-items:center}.gp-heat-row>span:first-child{font-size:11px;color:var(--muted-foreground)}.gp-heat-cell{height:17px;border-radius:3px}.gp-heat-legend{display:flex;align-items:center;gap:4px;color:var(--muted-foreground);font-size:11px;margin-top:12px}.gp-heat-legend i{width:11px;height:11px;border-radius:3px}.gp-heat-legend>span:last-child{margin-left:auto}.gp-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.gp-chart{padding:14px 12px 10px}.gp-axis-label{display:block;margin:0 0 4px 6px;font-size:11px;color:var(--muted-foreground)}.gp-chart-note{font-size:11px;color:var(--muted-foreground);margin:8px 6px 0;line-height:1.6}.gp-chart .recharts-cartesian-axis-tick text{font-size:11px;fill:var(--muted-foreground)}.gp-chart .report-tooltip p{margin:7px 0 0}
.gp-gifts{padding:0 18px}.gp-gift{display:flex;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid var(--border)}.gp-gift:last-child{border-bottom:0}.gp-gift-icon{width:38px;height:38px;flex:none;display:grid;place-items:center;background:var(--muted);color:var(--muted-foreground);border-radius:9px}.gp-gift>div:nth-child(2){flex:1;min-width:0}.gp-gift strong{font-size:13px;font-weight:500;display:block;overflow-wrap:anywhere}.gp-gift small{display:block;color:var(--muted-foreground);font-size:11px;margin-top:3px}.gp-gift b{font-size:13px;font-weight:500;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:38%}.gp-gift b>span{color:var(--gp-accent)}.gp-panel-note{font-size:12px;line-height:1.6;color:var(--muted-foreground);padding:0 18px 14px;margin:8px 0 0}.gp-creators{padding:1px 18px 18px}.gp-creator{margin-top:21px}.gp-creator>div:first-child{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:13px}.gp-creator-name{overflow-wrap:anywhere;min-width:0}.gp-creator b{font-weight:500;flex:none;font-variant-numeric:tabular-nums}.gp-creator small{color:var(--muted-foreground);font-size:11px;margin-left:6px}.gp-track{height:6px;border-radius:5px;background:var(--muted);margin-top:10px;overflow:hidden}.gp-track>span{display:block;height:100%;background:var(--gp-accent);border-radius:5px}.gp-gifts>p,.gp-creators>p{font-size:13px;color:var(--muted-foreground);padding:16px 0}
.gp-data-table{margin:0 0 16px;font-size:12px}.gp-data-table summary{cursor:pointer;padding:12px 18px;min-height:40px;color:var(--muted-foreground)}.gp-panel>.gp-data-table{border-top:1px solid var(--border);margin:0}.gp-table-scroll{max-width:100%;overflow:auto}.gp-table-scroll table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;min-width:450px}.gp-table-scroll th{font-weight:500;color:var(--muted-foreground);font-size:11px;background:var(--card);padding:13px 18px;white-space:normal}.gp-table-scroll td{padding:13px 18px;border-top:1px solid var(--border);overflow-wrap:anywhere;max-width:260px;font-variant-numeric:tabular-nums}.gp-table-scroll th:last-child,.gp-table-scroll td:last-child{text-align:right}.gp-history{min-width:650px!important}.gp-pagination{padding:12px 18px;border-top:1px solid var(--border);display:flex;gap:8px;align-items:center}.gp-pagination>span{margin-right:auto;font-size:12px;color:var(--muted-foreground)}.gp-pagination button{font-size:12px;min-height:36px;padding:7px 10px}.gp-coverage{font-size:12px;line-height:1.7;color:var(--muted-foreground);margin:16px 0}.gp-coverage strong{font-weight:500;color:var(--foreground)}.gp-coverage p{margin:7px 0}
@media(max-width:1250px){.gp-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.gp-columns{grid-template-columns:1fr;gap:0}.gp-heat-wrap{padding:14px 12px}.gp-heat-row{gap:3px;grid-template-columns:42px repeat(7,minmax(0,1fr))}.gp-heat-labels{grid-template-columns:42px repeat(7,minmax(0,1fr));gap:3px}.gp-heat-cell{height:17px}.gp-overview-line{gap:12px}.gp-overview-line>span{width:100%}.gp-panel-heading{padding:13px 14px}.gp-person h3{font-size:25px}.gp-chart{padding-inline:8px}.gp-gift{gap:9px}}
@media(max-width:480px){.gp-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.gp-stat{padding:13px 11px}.gp-stat strong{font-size:23px}.gp-stat>span{font-size:10px}.gp-overview-line label{width:100%;justify-content:space-between}.gp-overview-line select{max-width:78%}.gp-heat-row,.gp-heat-labels{gap:2px}.gp-heat-cell{border-radius:2px}.gp-heat-legend>span:last-child{display:none}.gp-person h3{font-size:23px}.gp-person{gap:11px}.gp-avatar{width:48px;height:48px}.gp-creator>div:first-child{align-items:flex-start;flex-direction:column;gap:4px}.gp-history th,.gp-history td{padding:11px 12px}.gp-chart-note{font-size:11px}.gp-controls .report-dates{flex-wrap:wrap}.gp-controls .report-dates label{min-width:0;flex:1 1 100px}}
@media(pointer:coarse){.gifter-profile button,.gp-segment button{min-height:44px}.gp-overview-line select{font-size:16px;min-height:44px}}

/* Gifters directory */
.gifters-directory{max-width:1600px}.gd-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:22px}.gd-heading h2{margin:0;font-size:24px;font-weight:500;letter-spacing:-.5px}.gd-heading p{margin:6px 0 0;font-size:13px;color:var(--muted-foreground)}.gd-heading button{font-size:12px;min-height:38px}.gd-search{margin-bottom:16px;max-width:620px}.gd-search label{display:block;font-size:12px;color:var(--muted-foreground);margin-bottom:7px}.gd-search>div{display:flex;gap:8px;align-items:center}.gd-search input{min-width:0;flex:1}.gd-search button{font-size:12px;flex:none}.gd-result-count{font-size:12px;color:var(--muted-foreground);margin:14px 0}.gd-table-wrap{border:1px solid var(--border);border-radius:11px;overflow:auto;background:var(--card)}.gd-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:690px;text-align:left}.gd-table th{font-size:12px;font-weight:500;padding:15px 18px;color:var(--muted-foreground);background:var(--card);border-bottom:1px solid var(--border)}.gd-table th:nth-child(1){width:34%}.gd-table th:nth-child(2){width:17%;text-align:right}.gd-table th:nth-child(3){width:24%}.gd-table th:nth-child(4){width:25%}.gd-table td{padding:16px 18px;border-bottom:1px solid var(--border);font-size:13px;overflow-wrap:anywhere;vertical-align:middle}.gd-table tr:last-child td{border-bottom:0}.gd-table tbody tr:hover{background:color-mix(in srgb,var(--muted) 45%,var(--card))}.gd-table td:nth-child(2){text-align:right;font-variant-numeric:tabular-nums}.gd-table small{display:block;font-size:11px;color:var(--muted-foreground);margin-top:4px;font-weight:400;line-height:1.5}.gd-gifter-link{display:flex;gap:12px;align-items:center;color:var(--foreground);text-decoration:none;min-height:44px}.gd-gifter-link:hover strong{color:var(--primary);text-decoration:underline}.gd-gifter-link>span:last-child{min-width:0}.gd-gifter-link strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.gd-avatar{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:50%;background:var(--muted);color:var(--foreground);font-size:16px}.gd-diamonds{font-size:16px;font-weight:500;letter-spacing:-.2px}.gd-muted{color:var(--muted-foreground);font-size:12px}.gd-top-creator{font-weight:500}.gd-pagination{display:flex;align-items:center;gap:8px;margin-top:14px}.gd-pagination>span{font-size:12px;color:var(--muted-foreground);margin-right:auto}.gd-pagination button{font-size:12px;padding:7px 10px;min-height:38px}.gd-footnote{font-size:12px;color:var(--muted-foreground);line-height:1.7;margin-top:20px}.gd-loading{padding:40px 0;text-align:center;font-size:14px;color:var(--muted-foreground)}
@media(max-width:760px){.gd-heading h2{font-size:22px}.gd-table{min-width:620px}.gd-table td,.gd-table th{padding:13px 12px}.gd-avatar{display:none}.gd-table th:nth-child(1){width:29%}.gd-table th:nth-child(2){width:19%}.gd-table th:nth-child(3){width:26%}.gd-table th:nth-child(4){width:26%}.gd-search>div{flex-wrap:wrap}.gd-search input{flex-basis:180px}.gd-pagination{gap:5px}.gd-pagination button{padding:7px 8px}.gd-footnote{font-size:11px}}
@media(pointer:coarse){.gifters-directory button{min-height:44px}}

.gd-mobile-hint{display:none}@media(max-width:760px){.gd-mobile-hint{display:block;color:var(--muted-foreground);font-size:11px;margin:10px 0}}

/* Streams overview */
.streams-page{display:grid;gap:18px;min-width:0}
.streams-tabs{display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--border,#353535)}
.streams-tabs button{background:transparent;color:inherit;border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 0;cursor:pointer}
.streams-tabs button[aria-pressed=true]{border-color:#20c9ba;background:transparent;color:inherit}
.streams-tabs button:hover:not(:disabled),.streams-value button:hover:not(:disabled){background:rgba(32,201,186,.08);color:inherit}
.streams-tabs button span{display:inline-flex;margin-left:7px;padding:1px 7px;border-radius:20px;background:rgba(128,128,128,.13);font-size:12px}
.streams-tabs .streams-refresh{margin-left:auto}
.streams-search{width:100%;min-width:0;border:1px solid var(--border,#555);border-radius:12px;padding:12px 16px;background:transparent;color:inherit}
.streams-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.streams-filters button,.streams-filters label,.streams-more{width:auto;padding:5px 13px;border:1px solid var(--border,#555);border-radius:8px;background:transparent;color:inherit;font-size:13px}
.streams-filters button[aria-pressed=true]{color:#08766c;border-color:#139a8f;background:rgba(32,201,186,.09)}
.dark .streams-filters button[aria-pressed=true]{color:#41ddcb}
.streams-filters label{display:flex;align-items:center;gap:10px}
.streams-filters input{width:auto;min-width:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;color-scheme:light}
.dark .streams-filters input{color-scheme:dark}
.streams-list{display:grid;gap:14px}
.streams-card{padding:22px;border:1px solid var(--border,#ddd);border-radius:14px;background:rgba(128,128,128,.045)}
.streams-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.streams-creator{display:flex;align-items:flex-start;gap:14px;min-width:0}
.streams-creator>div{display:grid;min-width:0}
.streams-creator strong{font-size:17px;overflow-wrap:anywhere}
.streams-creator span:not(.streams-avatar):not(.live-badge),.streams-creator time,.streams-creator small{font-size:12px;opacity:.65;overflow-wrap:anywhere}
.streams-avatar{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:rgba(128,128,128,.15)}
.streams-avatar img{width:44px;height:44px;object-fit:cover}
.streams-value{display:flex;align-items:center;gap:12px;color:#08766c;flex-shrink:0}
.dark .streams-value{color:#41ddcb}
.streams-value>div{text-align:right}
.streams-value strong{display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:20px}
.streams-value small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.045em}
.streams-value button{border:0;background:transparent;color:inherit;cursor:pointer;padding:9px}
.streams-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin:28px 0 0}
.streams-metrics dt{font-size:10px;text-transform:uppercase;letter-spacing:.045em;opacity:.65;margin-bottom:4px}
.streams-metrics dd{margin:0;font-size:14px;font-weight:600}
.streams-metrics .streams-unrecorded{font-weight:400;opacity:.6}
.streams-note{font-size:12px;opacity:.65;line-height:1.6}
.streams-page button:focus-visible,.streams-page input:focus-visible{outline:2px solid #20b9ab;outline-offset:3px}
.streams-page button:disabled{opacity:.45;cursor:wait}
@media(max-width:600px){.streams-card{padding:16px}.streams-card-top{flex-wrap:wrap;gap:14px}.streams-value{width:100%;justify-content:space-between}.streams-value>div{text-align:left}.streams-value strong{justify-content:flex-start}.streams-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px;margin-top:22px}.streams-filters{gap:6px}.streams-filters label{max-width:100%}}

/* Compact stream entries retain all details at roughly half the previous height. */
.streams-card{padding:3px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}
.streams-card-top{grid-column:1/-1;align-items:center}
.streams-creator{gap:10px;align-items:center}
.streams-card .stream-open{min-height:24px;justify-content:flex-start;color:inherit;line-height:18px}
.streams-card .streams-creator>div{flex:1}
.streams-creator>div{grid-template-columns:auto minmax(0,1fr);column-gap:8px;align-items:baseline;line-height:18px}
.streams-creator time,.streams-creator small{grid-column:1/-1}
.streams-avatar,.streams-avatar img{width:36px;height:36px}
.streams-metrics{grid-column:1/-1;margin:0;gap:6px 14px}
.streams-metrics>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 6px;line-height:20px}
.streams-metrics dt{margin:0}
.streams-card .stream-detail-link{justify-self:start;margin:0;padding:2px 8px;min-height:28px;font-size:12px;line-height:20px}
.streams-card>small{align-self:center;font-size:12px}
@media(max-width:600px){
 .streams-card{padding:10px;gap:6px 8px}
 .streams-card-top{display:contents}
 .streams-creator{grid-column:1/-1}
 .streams-creator>div{display:flex;flex-wrap:wrap;column-gap:6px;align-items:center}
 .streams-creator time,.streams-creator small{width:100%}
 .streams-value{grid-column:1;grid-row:2;width:auto;justify-content:flex-start;gap:6px}
 .streams-value>div{text-align:left}
 .streams-value strong{justify-content:flex-start;font-size:17px;line-height:20px}
 .streams-value small{line-height:14px}
 .streams-value button{padding:8px}
 .streams-card .stream-detail-link{grid-column:2;grid-row:2;align-self:center}
 .streams-metrics{display:flex;flex-wrap:wrap;gap:2px 14px}
 .streams-metrics>div{flex-wrap:nowrap}
 .streams-metrics dd{font-size:12px}
 .streams-card>small{grid-column:1/-1}
}

/* Individual stream and downloadable recap */
.stream-open{background:none!important;border:0!important;padding:0!important;text-align:left;font-size:inherit;font-weight:600;color:inherit;cursor:pointer}
.stream-detail-link{align-self:flex-start;margin-top:12px}
.stream-detail header{margin:24px 0}.stream-detail h2{font-size:28px;margin-bottom:8px}.stream-detail header p{margin:8px 0}
.stream-detail-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}
.stream-detail-metrics>div{min-width:0;padding:12px;background:var(--card,#24221e);border:1px solid var(--border,#494337);border-radius:10px}
.stream-detail-metrics dt{display:flex;align-items:center;gap:6px;font-size:11px;line-height:1.4;color:var(--muted-foreground);overflow-wrap:anywhere}
.stream-detail-metrics dt svg{flex:none;color:var(--primary)}
.stream-detail-metrics dd{font-size:22px;font-weight:600;line-height:1.25;margin:6px 0 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.stream-detail-metrics dd.stream-metric-unavailable{font-size:13px;line-height:1.5;font-weight:400;color:var(--muted-foreground)}
@media(min-width:1200px){.stream-detail-metrics{grid-template-columns:repeat(8,minmax(0,1fr))}}
.stream-recap-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:24px 0}
.stream-recap-actions a{color:inherit;text-decoration:underline}.stream-recap-preview{margin:24px 0}.stream-recap-preview figcaption{margin-bottom:12px}.stream-recap-preview img{display:block;width:100%;max-width:720px;height:auto;border-radius:12px;border:1px solid #494337}
@media(max-width:600px){.stream-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Mobile navigation drawer; the desktop sidebar keeps its existing layout. */
@media(max-width:900px){
 .mobile-navigation-header{position:relative;display:flex;align-items:center;min-height:76px;padding:12px max(16px,env(safe-area-inset-left));background:#f7f6f2;border-bottom:1px solid var(--border)}
 .dark .mobile-navigation-header{background:#171b21}
 .mobile-brand{position:absolute;left:50%;top:14px;transform:translateX(-50%);width:48px;height:48px}
 .mobile-brand img{display:block;width:48px;height:48px;object-fit:contain;border-radius:50%}
 .mobile-menu-button{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--foreground);cursor:pointer}
 .mobile-menu-button:hover{background:var(--muted)}
 .mobile-menu-button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
 .mobile-menu-close{align-self:flex-end}
 .workspace .admin-mode-button{top:21px;right:max(12px,env(safe-area-inset-right))}
 .mobile-navigation-drawer:not([open]){display:none}
 .mobile-navigation-drawer[open]{position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;box-sizing:border-box;width:min(300px,calc(100vw - 48px));max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:max(12px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom));border:0;border-right:1px solid var(--border);overflow-y:auto;overscroll-behavior:contain;color:var(--foreground);box-shadow:12px 0 36px #0003;animation:mobile-drawer-enter .2s ease-out}
 .mobile-navigation-drawer::backdrop{background:#0008}
 .mobile-navigation-drawer .brand{flex:none;margin:0 0 8px}
 .mobile-navigation-drawer .workspace-nav{display:flex;flex-direction:column;gap:0;margin:8px 0 12px}
 .mobile-navigation-drawer .workspace-nav a{flex:none;flex-direction:row;justify-content:flex-start;gap:10px;min-height:44px;padding:10px 12px;text-align:left;font-size:14px;white-space:normal}
 .mobile-navigation-drawer .workspace-nav a[aria-current=page]:before{inset:10px auto 10px 0;width:3px;height:auto}
 .mobile-navigation-drawer .sidebar-footer{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin-top:auto;padding:20px 0 0;border-top:1px solid var(--border)}
 .mobile-navigation-drawer .account-menu{max-width:100%;font-size:14px}
 .mobile-navigation-drawer .account-signout{min-width:44px;min-height:44px;margin-left:auto}
 .mobile-navigation-drawer .notification-account-link{min-height:44px;margin:0}
}
@keyframes mobile-drawer-enter{from{transform:translateX(-100%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.mobile-navigation-drawer[open]{animation:none}}
@media(max-width:900px){.dark .mobile-menu-button{color:#c8cfd8}.dark .mobile-navigation-drawer{color:#e1e5ed}}

/* Creator league icon colors; tier labels remain readable independently. */
.creator-league-icon[data-league="D"]{color:#b4773e}
.creator-league-icon[data-league="C"]{color:#8997a8}
.creator-league-icon[data-league="B"]{color:#67b5e6}
.creator-league-icon[data-league="A"]{color:#bc911e}
.dark .creator-league-icon[data-league="D"]{color:#d59a63}
.dark .creator-league-icon[data-league="C"]{color:#c1cbd8}
.dark .creator-league-icon[data-league="B"]{color:#91d3fa}
.dark .creator-league-icon[data-league="A"]{color:#f0cc62}

/* Full league badges use the league color in both themes. */
.my-creator-league[data-league="D"]{background:#cd965f;color:#35200e;border-color:#a36b36}
.my-creator-league[data-league="C"]{background:#c8d0da;color:#27313e;border-color:#929eae}
.my-creator-league[data-league="B"]{background:#a8dafa;color:#15374e;border-color:#64acd8}
.my-creator-league[data-league="A"]{background:#edca62;color:#3e2c06;border-color:#bb952d}
.my-creator-league[data-league] .creator-league-icon{color:inherit}


.workspace:has(.workspace-mode-actions){position:relative}
.workspace-mode-actions{position:absolute;top:16px;right:16px;z-index:5;display:flex;gap:8px;align-items:center}
.workspace-mode-actions .admin-mode-button{position:static}
.workspace-mode-actions button:disabled{opacity:.55;cursor:wait}
.workspace:has(.workspace-mode-actions button) .page-header{padding-top:36px;padding-right:0}
.creator-summary-row{display:flex;align-items:center;gap:3px}
.creator-summary-row .my-creator-expand{flex:0 1 auto;min-width:0}
@media(max-width:900px){.workspace-mode-actions{top:12px;right:12px}.workspace:has(.workspace-mode-actions button) .page-header{padding-top:40px}}
.my-creators-page .creator-summary-row{gap:9px}
.my-creators-page .creator-name-line{display:flex;align-items:center;gap:2px}
.my-creators-page .favorite-name-open,.my-creators-page .favorite-expand-icon{background:transparent;border:0;padding:0;color:inherit;font:inherit;font-weight:600;cursor:pointer;text-align:left;min-width:0;min-height:24px}
.my-creators-page .favorite-expand-icon{flex-shrink:0;display:flex;align-items:center}
.my-creators-page .favorite-expand-icon[aria-expanded=true] svg{transform:rotate(90deg)}
/* Keep both mode buttons below the centered mobile logo. */
@media(max-width:900px){.workspace-mode-actions{top:88px;right:max(12px,env(safe-area-inset-right))}}

.my-creators-page .creator-view-streams{display:inline-flex;align-items:center;margin-top:6px;padding:4px 10px;min-height:30px;border:1px solid var(--border);border-radius:6px;color:var(--foreground);background:var(--background);font-size:12px;font-weight:500;text-decoration:none;white-space:nowrap}
.my-creators-page .creator-view-streams:hover{background:var(--muted)}
.creator-view-streams:focus-visible,.streams-creator-filter a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.streams-creator-filter{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;font-size:13px;overflow-wrap:anywhere}
.streams-creator-filter a{color:var(--foreground);text-decoration:underline}


.stream-activity-card{margin:24px 0;padding:20px;background:var(--card);border:1px solid var(--border);border-radius:12px;min-width:0}
.stream-activity-card h3{margin:0 0 12px;font-size:20px}
.stream-detail-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0;align-items:stretch}
.stream-detail-columns>.stream-activity-card{margin:0}
.stream-top-gifters{list-style:none;margin:16px 0 0;padding:0}
.stream-top-gifters li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--border)}
.stream-gifter-rank{font-size:14px;color:var(--muted-foreground)}
.stream-top-gifters strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}
.stream-gifter-diamonds{text-align:right;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
.stream-gifter-diamonds small{display:block;font-size:11px;font-weight:400;color:var(--muted-foreground)}
@media(max-width:900px){.stream-detail-columns{grid-template-columns:minmax(0,1fr)}}
.battle-log-summary{display:flex;gap:40px;margin:16px 0}
.battle-log-summary dt,.battle-opponents-label{font-size:12px;color:var(--muted-foreground)}
.battle-log-summary dd{margin:4px 0;font-size:26px;font-weight:600}
.battle-log-list{list-style:none;padding:0;margin:16px 0 0}
.battle-log-list li{display:grid;grid-template-columns:100px minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 0;border-top:1px solid var(--border)}
.battle-opponents-label,.battle-log-list strong{display:block}.battle-log-list strong{overflow-wrap:anywhere;font-size:14px;font-weight:500}
.battle-log-list small{color:var(--muted-foreground)}
.battle-result{font-size:12px;font-weight:600;padding:5px 10px;border-radius:6px;background:var(--muted);justify-self:start}
.battle-result-wins{color:#267447;background:#e2f3e8}.battle-result-losses{color:#a33838;background:#fbe9e9}
.dark .battle-result-wins{color:#9cdeb7;background:#243d30}.dark .battle-result-losses{color:#f4aaaa;background:#452b2b}
@media(max-width:600px){.stream-activity-card{padding:14px}.battle-log-list li{grid-template-columns:80px minmax(0,1fr);gap:8px}.battle-log-list small{grid-column:2}}
.stream-timeline-tooltip{width:360px;max-width:calc(100vw - 48px);padding:14px;background:var(--card);color:var(--foreground);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 28px #0003;font-size:12px}
.stream-tooltip-totals{display:flex;flex-wrap:wrap;gap:8px 20px;margin:8px 0}.stream-tooltip-totals b{margin-left:6px}
.stream-timeline-tooltip h4{font-size:12px;margin:12px 0 6px}.stream-timeline-tooltip ol{max-height:230px;overflow:auto;overscroll-behavior:contain;list-style:none;padding:0;margin:0}
.stream-timeline-tooltip li{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--border)}
.stream-timeline-tooltip li img{width:32px;height:32px;object-fit:contain}.stream-timeline-tooltip strong,.stream-timeline-tooltip p{overflow-wrap:anywhere}.stream-timeline-tooltip p{margin:4px 0;color:var(--muted-foreground)}
.stream-tooltip-value{text-align:right;font-weight:600}.stream-tooltip-value small{display:block;font-weight:400;font-size:10px;color:var(--muted-foreground)}

/* Home schedule groups keep their full counts visible when collapsed. */
.upcoming-time-group{border-top:1px solid var(--border)}
.upcoming-time-heading{margin:0;font-size:13px;font-weight:500}
.upcoming-events button.upcoming-time-toggle{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:52px;padding:12px 18px;border:0;border-radius:0;background:var(--muted);color:var(--foreground);text-align:left;cursor:pointer;font:inherit}
.upcoming-events button.upcoming-time-toggle:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.upcoming-events button.upcoming-time-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}
.upcoming-events button.upcoming-time-toggle>svg{flex:none;transition:transform .15s}
.upcoming-events button.upcoming-time-toggle[aria-expanded="false"]>svg{transform:rotate(-90deg)}
.upcoming-time-label{flex:1;min-width:0;overflow-wrap:anywhere}
.upcoming-time-count{flex:none;font-size:12px;color:var(--muted-foreground);white-space:nowrap}
.upcoming-time-group>div[hidden]{display:none}
.upcoming-time-subheading{margin:0;padding:14px 18px 0;font-size:13px;font-weight:600;color:var(--primary)}
@media(max-width:600px){.upcoming-events button.upcoming-time-toggle{padding-inline:16px;gap:8px;flex-wrap:wrap}.upcoming-time-subheading{padding-inline:16px}}
@media(prefers-reduced-motion:reduce){.upcoming-events button.upcoming-time-toggle>svg{transition:none}}

/* Matchup symbols replace the per-battle calendar badge. */
.upcoming-matchup{width:44px;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--primary);background:var(--muted);border:1px solid var(--border);border-radius:8px;gap:1px}
.upcoming-matchup svg{width:38px;height:30px;flex:none}
.upcoming-matchup small{font-size:8px;font-weight:600;line-height:1.4;white-space:nowrap}
@media(max-width:600px){.upcoming-matchup{width:40px;grid-row:span 2}.upcoming-matchup svg{width:34px}}
/* Session-scoped manager preview. */
.manager-preview-picker{margin-bottom:24px;max-width:640px;display:grid;gap:12px}
.manager-preview-picker select{width:100%;min-width:0;padding:12px;border:1px solid var(--border,#777);border-radius:10px;color:inherit;background:var(--card,#24221e)}
.manager-preview-picker label{font-weight:600}
.manager-preview-banner{position:fixed;inset:0 0 auto;z-index:1000;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 24px;background:#f2c661;color:#211b0e;box-shadow:0 2px 10px #0003;min-height:76px}
.manager-preview-banner span{min-width:0}.manager-preview-banner strong,.manager-preview-banner small{display:block;overflow-wrap:anywhere}.manager-preview-banner button{flex-shrink:0;background:#211b0e;color:#fff}
.has-manager-preview{padding-top:90px}.has-manager-preview .navigation-sidebar{top:90px;height:calc(100dvh - 90px)}
.preview-notification-controls{border:0;padding:0;margin:0;min-width:0}.preview-notification-controls:disabled button{opacity:.55}
@media(max-width:900px){.manager-preview-banner{padding:10px 12px;font-size:13px}.has-manager-preview{padding-top:110px}.has-manager-preview .navigation-sidebar{top:110px;height:calc(100dvh - 110px)}}

.has-manager-preview .workspace-mode-actions{top:106px}
@media(max-width:900px){.has-manager-preview .workspace-mode-actions{top:198px}}

.import-manager-selection{border:1px solid var(--border);border-radius:10px;padding:12px;min-width:0;margin:12px 0}.import-manager-selection legend{font-weight:600}.import-manager-options{display:grid;gap:10px;max-height:240px;overflow:auto}.import-manager-options label{display:flex;align-items:flex-start;gap:10px;overflow-wrap:anywhere}.import-manager-options input{width:17px;min-width:17px;height:17px;min-height:17px;margin:4px 0 0;padding:0;flex:none;accent-color:var(--primary)}.import-manager-options small{display:block;opacity:.7}

/* Coaching uses the reference dashboard's gold, teal and distinct requirement bars. */
.coaching{--coach-panel:#1c242c;--coach-border:#34404a;--coach-muted:#aab6c1;--coach-gold:#d5b35d;--coach-teal:#32c4b4;background:#101619;color:#e8edf2;padding:24px;border-radius:16px;max-width:1400px;margin:auto;font-size:15px}
.coaching button{cursor:pointer;font:inherit;background:transparent;color:var(--coach-teal);border:1px solid var(--coach-border);border-radius:7px;padding:8px 12px}.coaching button:hover{background:#27343c}.coaching button:focus-visible,.coaching input:focus-visible,.coaching textarea:focus-visible,.coaching select:focus-visible{outline:2px solid var(--coach-gold);outline-offset:3px}.coaching button:disabled{cursor:default;opacity:.6}
.coaching-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.coaching-heading p{margin:0 0 12px;color:var(--coach-muted)}.coaching-heading .coaching-eyebrow{font-size:23px;color:var(--coach-gold);letter-spacing:.02em}.coaching-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 22px}.coaching-tabs button{border:0;padding:8px 10px}.coaching-tabs button[aria-current=page]{color:#fff;border-bottom:2px solid var(--coach-gold);border-radius:0}
.coaching-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.coaching-stats article{background:var(--coach-panel);border:1px solid var(--coach-border);padding:20px;display:flex;flex-direction:column;gap:15px;min-height:188px}.coaching-stats h3{font-size:15px;font-weight:400;color:var(--coach-muted);margin:0}.coaching-stats article:nth-child(2) h3{color:var(--coach-teal)}.coaching-stats article:nth-child(3) h3{color:var(--coach-gold)}.coaching-stats strong{font-size:clamp(22px,2.4vw,34px);line-height:1.2;overflow-wrap:anywhere}.coaching small{color:var(--coach-muted);font-size:13px}.coaching-stats small{margin-top:auto}.coaching-counts{display:flex;justify-content:space-between;gap:12px;padding:12px 4px 22px;flex-wrap:wrap}
.coaching-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:8px 0 18px}.coaching h2{font-size:17px;color:var(--coach-gold);margin:0}.coaching-section-title>span{color:var(--coach-muted);font-size:13px}.coaching-action{padding:22px 24px;margin-bottom:14px;background:var(--coach-panel);border:1px solid var(--coach-border)}.coaching-action header{display:flex;align-items:center;gap:24px;margin-bottom:24px}.coaching-action header>span{color:var(--coach-gold);min-width:120px}.coaching-action header button{border:0;font-weight:600;font-size:18px;color:#e8edf2;padding:0;overflow-wrap:anywhere}.coaching-action p{margin:0 0 24px;line-height:1.6}.coaching-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.coaching-metric>div:first-child{display:flex;justify-content:space-between;gap:8px}.coaching-metric strong{font-weight:400}.coaching-track{height:7px;background:#38444d;margin:12px 0 8px;overflow:hidden}.coaching-track>span{height:100%;background:var(--coach-gold);display:block}.coaching-track .met{background:var(--coach-teal)}.coaching-action footer{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;color:var(--coach-muted);margin-top:26px;font-size:13px}.coaching-action footer small{max-width:70%;text-align:right}
.coaching-confidence{margin-top:28px}.coaching-confidence>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0}.coaching-confidence h3{font-size:13px;font-weight:500;color:var(--coach-muted);margin:0}.coaching-confidence p{font-size:13px;color:var(--coach-muted);line-height:1.6}.coaching-empty,.coaching-input,.coaching-details article{background:var(--coach-panel);border:1px solid var(--coach-border);padding:24px;margin:16px 0;line-height:1.6}.coaching-input fieldset{border:0;padding:0;min-width:0}.coaching-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.coaching label{display:block;color:var(--coach-muted);font-size:14px}.coaching input,.coaching select,.coaching textarea{display:block;width:100%;box-sizing:border-box;margin:6px 0 14px;background:#121a20;border:1px solid #55616c;border-radius:6px;padding:10px;color:#e8edf2;font:inherit;color-scheme:dark}.coaching-input h3,.coaching-details h3{margin:0 0 18px;overflow-wrap:anywhere}.coaching-details dl{display:flex;flex-wrap:wrap;gap:24px}.coaching-details dt{color:var(--coach-muted);font-size:13px}.coaching-details dd{margin:4px 0 0;font-size:18px}.coaching-details button{display:block;margin-top:16px}.coaching-search{max-width:420px}.coaching-warning{padding:14px;border:1px solid var(--coach-gold);color:var(--coach-gold)}
@media(max-width:1100px){.coaching-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.coaching-confidence>div{grid-template-columns:1fr;gap:16px}}
@media(max-width:600px){.coaching{padding:16px 12px;border-radius:10px}.coaching-heading{align-items:flex-start}.coaching-heading .coaching-eyebrow{font-size:18px}.coaching-stats{gap:10px}.coaching-stats article{padding:14px;min-height:175px}.coaching-stats strong{font-size:23px}.coaching-stats h3{font-size:14px}.coaching-progress,.coaching-fields{grid-template-columns:1fr;gap:16px}.coaching-action{padding:18px 16px}.coaching-action header{align-items:flex-start;gap:10px;flex-direction:column}.coaching-action footer{flex-direction:column}.coaching-action footer small{max-width:100%;text-align:left}.coaching-section-title{align-items:flex-start;flex-direction:column}.coaching-tabs{gap:0}.coaching-tabs button{font-size:14px}.coaching-counts{font-size:13px}.coaching-input,.coaching-details article{padding:16px}}
.coaching .coaching-creator-identity{display:inline-flex;align-items:center;gap:12px;min-width:0;text-align:left}.coaching .coaching-creator-identity .avatar{width:46px;height:46px;flex:0 0 46px;overflow:hidden;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#34404a;color:#e8edf2}.coaching .coaching-creator-identity img{width:100%;height:100%;object-fit:cover}.coaching .coaching-creator-name{display:flex;flex-direction:column;min-width:0;gap:3px}.coaching .coaching-creator-name strong{font-size:18px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}.coaching .coaching-creator-name small{font-size:13px;font-weight:400;overflow-wrap:anywhere}.coaching .coaching-action header button{min-width:0;text-align:left}
.creator-detail-controls{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px solid var(--coach-border);padding-top:6px;margin-bottom:14px}.creator-detail-controls select,.creator-detail-controls input{background:var(--coach-panel)}.creator-detail-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:16px 0 24px}.coaching .creator-detail-header h2{font-size:30px;color:#e8edf2;margin:0 0 5px}.creator-detail-header>div:last-child{text-align:right}.creator-detail-header p{color:var(--coach-muted);font-size:13px}.creator-detail-header button{border:0;padding-right:0}.creator-detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.creator-detail-panel{background:var(--coach-panel);border:1px solid var(--coach-border);padding:24px;margin-bottom:20px;min-width:0}.creator-detail-panel h3,.creator-source-details h3{font-size:14px;color:var(--coach-gold);margin:0 0 12px;font-weight:600}.creator-detail-panel h2{font-size:23px;color:#e8edf2;margin:14px 0 22px}.creator-detail-level{display:block;font-size:32px;line-height:1.25}.creator-detail-panel p{line-height:1.6;margin:10px 0}.creator-coaching-detail .teal{color:var(--coach-teal)}.creator-coaching-detail .gold{color:var(--coach-gold)}.creator-detail-muted{font-size:13px;color:var(--coach-muted)}.creator-detail-panel footer{border-top:1px solid var(--coach-border);margin-top:20px;padding-top:18px;font-size:13px;color:var(--coach-muted);line-height:1.6}.creator-goal{margin-top:24px}.creator-goal-label{display:flex;justify-content:space-between;gap:16px}.creator-goal p{display:flex;align-items:baseline;gap:16px;margin:3px 0 10px}.creator-goal strong{font-size:22px}.creator-goal .coaching-track{margin:0;height:7px}.creator-detail-full{min-height:235px}.creator-detail-panel ul{padding-left:20px;margin:26px 0 16px;line-height:1.65}.creator-detail-panel li{margin:7px 0;overflow-wrap:anywhere}.creator-preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.creator-source-details{border-top:2px solid var(--coach-border);margin-top:4px;padding-top:22px;color:var(--coach-muted);font-size:13px;line-height:1.55}.creator-source-details summary{cursor:pointer;color:var(--coach-teal);font-size:15px;margin-bottom:24px}.creator-source-details h3{margin:20px 0 4px}.creator-source-details p{margin:5px 0 18px}.creator-detail-header .avatar{width:58px!important;height:58px!important;flex-basis:58px!important}
@media(max-width:600px){.creator-detail-controls{grid-template-columns:1fr;gap:0}.creator-detail-columns{grid-template-columns:1fr;gap:0}.creator-detail-header{align-items:flex-start;flex-direction:column}.creator-detail-header>div:last-child{text-align:left}.creator-detail-header button{padding-left:0}.creator-detail-panel{padding:18px}.coaching .creator-detail-header h2{font-size:27px}.creator-detail-full{min-height:0}}
.creator-leaderboards article{padding:20px 0;border-bottom:1px solid var(--coach-border)}.creator-leaderboards article:last-of-type{border-bottom:0}.creator-leaderboards h4{font-size:18px;margin:0 0 8px}.creator-leaderboard-numbers{display:flex;gap:48px;flex-wrap:wrap;margin:16px 0}.creator-leaderboard-numbers>div{display:flex;flex-direction:column;gap:4px}.creator-leaderboard-numbers strong{font-size:32px;color:var(--coach-teal)}

.coaching-action-count{margin-left:auto;white-space:nowrap}.coaching-action-item+.coaching-action-item{margin-top:24px;padding-top:24px;border-top:1px solid var(--coach-border)}.coaching-action-item h3{color:var(--coach-gold);font-size:13px;font-weight:500;margin:0 0 10px}.coaching-action-item .coaching-action-note{color:var(--coach-muted);font-size:13px;margin:16px 0 0}.coaching-action-item{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){.coaching-action-count{margin-left:0}}

/* Recruiting: compact records and column options. */
.recruiting-page{min-width:0}.recruiting-description,.recruiting-list-heading,.recruiting-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.recruiting-description{margin-bottom:16px}.recruiting-description p{margin:0;color:var(--muted-foreground);font-size:14px}.recruiting-description button,.recruiting-footer button{min-height:32px;padding:5px 10px;background:var(--card);color:var(--foreground);border-color:var(--border);font-size:12px}.recruiting-description button:hover:not(:disabled),.recruiting-footer button:hover:not(:disabled){background:var(--muted)}.recruiting-list{background:var(--card);border:1px solid var(--border);border-radius:10px;overflow:hidden}.recruiting-list-heading{padding:12px 16px}.recruiting-list-heading strong{font-size:14px;font-weight:500}.recruiting-list-heading strong span{margin-left:6px;background:var(--accent);color:var(--accent-foreground);padding:1px 7px;border-radius:5px;font-size:12px}.recruiting-list-heading label{display:flex;align-items:center;gap:8px;font-size:12px}.recruiting-list-heading select{min-height:30px;width:auto;margin:0;padding:3px 8px;font-size:12px}.recruiting-table-scroll{overflow-x:auto}.recruiting-page table{width:100%;border-collapse:collapse;font-size:12px;min-width:790px}.recruiting-page th{background:var(--muted);padding:8px 10px;font-weight:400;text-align:left;color:var(--muted-foreground);white-space:nowrap;border-top:1px solid var(--border)}.recruiting-page th button{min-height:24px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-size:12px;white-space:nowrap}.recruiting-page th button:hover{background:transparent;color:var(--primary)}.recruiting-page th[aria-sort]:not([aria-sort="none"]) button{color:var(--primary)}.recruiting-page td{padding:4px 10px;border-top:1px solid var(--border);vertical-align:middle;font-variant-numeric:tabular-nums}.recruiting-profile{display:inline-flex;align-items:center;gap:8px;color:var(--foreground);text-decoration:none;font-size:13px;white-space:nowrap}.recruiting-profile:hover{text-decoration:underline;color:var(--primary)}.recruiting-profile>svg{color:var(--muted-foreground);flex-shrink:0}.recruiting-avatar{display:inline-grid;place-items:center;position:relative;width:24px;height:24px;flex:0 0 24px;border-radius:50%;overflow:hidden;background:var(--accent);color:var(--accent-foreground);font-size:10px}.recruiting-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.recruiting-status{display:inline-flex;align-items:center;gap:5px;padding:1px 6px;border-radius:5px;background:light-dark(#eaf6ee,#20372c);color:light-dark(#217047,#8ed7ad);font-size:11px}.recruiting-status:before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%}.recruiting-status.premium{background:light-dark(#e4f7fb,#19343e);color:light-dark(#09677c,#8eddf0)}.recruiting-status.premium:before{display:none}.recruiting-status.premium svg{color:light-dark(#07889f,#28b8ce);flex-shrink:0}.recruiting-checked{white-space:nowrap}.recruiting-checked small{margin-left:6px;color:var(--muted-foreground);font-size:11px}.recruiting-page td select{margin:0;min-height:28px;padding:3px 6px;width:155px;max-width:200px;font-size:12px;border-radius:5px}.recruiting-saving{display:block;color:var(--muted-foreground);font-size:11px}.recruiting-footer{padding:10px 16px;border-top:1px solid var(--border);font-size:12px;color:var(--muted-foreground)}.recruiting-footer>div{display:flex;gap:8px}.recruiting-muted{margin:12px 0;color:var(--muted-foreground);font-size:12px}.recruiting-empty{text-align:center;padding:32px!important;color:var(--muted-foreground)}.recruiting-error{padding:10px 14px;border:1px solid var(--destructive);border-radius:8px;color:var(--destructive);font-size:14px}.recruiting-notice{font-size:13px;color:var(--primary)}.recruiting-menu{position:fixed;z-index:150;width:240px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;background:var(--popover);color:var(--popover-foreground);border:1px solid var(--border);padding:14px;border-radius:9px;box-shadow:0 10px 30px #0003;font-size:12px}.recruiting-menu strong{display:block;margin-bottom:10px;font-size:13px}.recruiting-menu>button{display:flex;width:100%;justify-content:flex-start;min-height:32px;border:0;background:transparent;color:var(--foreground);font-size:12px;padding:7px 9px;margin-top:3px}.recruiting-menu>button:hover{background:var(--muted)}.recruiting-menu>button[aria-pressed="true"]{background:var(--accent);color:var(--accent-foreground)}.recruiting-menu label{display:block;padding-top:12px;margin-top:12px;border-top:1px solid var(--border);font-size:12px}.recruiting-menu select{min-height:34px;font-size:13px;padding:6px 8px}.recruiting-menu>button:last-child{justify-content:center;border:1px solid var(--border);margin-top:12px}
@media(pointer:coarse){.recruiting-page select,.recruiting-page button,.recruiting-menu select,.recruiting-menu button,.recruiting-profile{min-height:44px}.recruiting-page select,.recruiting-menu select{font-size:16px}}

/* F014: shared table presentation, based on the production Recruiting table.
   Recruiting itself retains its production markup and styles. */
.data-table-shell{min-width:0;max-width:100%;background:var(--card);--table-row-height:40px}
.data-table-scroll{max-width:100%;overflow:auto;max-height:65vh;isolation:isolate;scrollbar-width:thin}
.data-table-scroll:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}
.data-table-shell .data-table{display:table;width:100%;min-width:580px;border-collapse:separate;border-spacing:0;table-layout:auto;text-align:left}
.data-table-shell .data-table>thead{display:table-header-group;position:static}
.data-table-shell .data-table>tbody{display:table-row-group}
.data-table-shell .data-table>thead>tr,.data-table-shell .data-table>tbody>tr{display:table-row;background:var(--card);padding:0;border:0}
.data-table-shell .data-table>thead>tr>th,.data-table-shell .data-table>tbody>tr>td,.data-table-shell .data-table>tbody>tr>th{display:table-cell;height:var(--table-row-height);padding:4px 14px;border:0;border-bottom:1px solid var(--border);vertical-align:middle;font-size:12px;line-height:1.4;text-align:left;white-space:nowrap;overflow-wrap:normal;background:var(--card);color:var(--foreground);font-weight:400}
.data-table-shell .data-table>thead>tr>th{height:40px;position:sticky;top:0;z-index:3;background:var(--muted);font-size:12px;font-weight:400;color:var(--muted-foreground)}
.data-table-shell .data-table>tbody>tr:hover>*,.data-table-shell .data-table>tbody>tr:focus-within>*{background:color-mix(in srgb,var(--muted) 55%,var(--card))}
.data-table-shell .data-table>tbody>tr>td:before{display:none}
.data-table-shell .data-table>thead>tr>th button{min-height:28px;padding:2px 0;background:transparent;border:0;font-size:12px;gap:6px}
.data-table-shell .data-table>thead>tr>th[aria-sort]:not([aria-sort=none]){color:var(--primary)}
.data-table-shell .data-table>tbody>tr>th{top:auto}
.data-table-shell .data-table small{display:inline;font-size:11px;line-height:1.4;margin:0 0 0 8px;font-weight:400;color:var(--muted-foreground);white-space:nowrap}
.data-table-shell .data-table .table-row-action{position:sticky;right:0;z-index:2;width:48px;min-width:48px;padding:4px 8px;text-align:center}
.data-table-shell .data-table thead .table-row-action{z-index:4}
.data-table-shell .data-table .table-detail-button{display:inline-flex;align-items:center;justify-content:center;width:28px;min-width:28px;min-height:28px;padding:4px;border:1px solid var(--border);border-radius:5px;background:var(--card);color:var(--muted-foreground);opacity:0}
.data-table tr:hover .table-detail-button,.data-table tr:focus-within .table-detail-button{opacity:1!important}
.data-table-shell .data-table a:focus-visible,.data-table-shell button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.data-table-shell .my-creators-table{min-width:900px;table-layout:fixed}
.data-table-shell .my-creators-table thead th:first-child{width:38%}
.data-table-shell .my-creators-table .creator-summary-row{gap:10px;min-width:0}
.data-table-shell .my-creators-table .avatar{width:26px;height:26px;min-width:26px;flex:none;font-size:12px;border-radius:50%;overflow:hidden}
.data-table-shell .my-creators-table .avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.data-table-shell .my-creator-name{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
.data-table-shell .my-creator-name .creator-name-line{min-width:0;flex:1;gap:5px}
.data-table-shell .creator-name-line>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.data-table-shell .my-creator-name>small,.data-table-shell .my-creator-summary>td>small{display:none}
.data-table-shell .my-creator-name .creator-view-streams{margin:0;min-height:26px;font-size:11px;padding:3px 7px;opacity:0;flex:none}
.data-table-shell tr:hover .creator-view-streams,.data-table-shell tr:focus-within .creator-view-streams{opacity:1}
.data-table-shell .my-creator-league{padding:2px 6px;font-size:12px;border-radius:5px;gap:5px}
.data-table-shell .my-creator-league svg{width:13px;height:13px}
.data-table-shell .my-creator-number,.data-table-shell .my-creator-streak strong{font-size:13px;font-weight:500}
.data-table-shell .my-creator-number>span,.data-table-shell .my-creator-streak,.data-table-shell .my-creator-unavailable{font-size:12px}
.data-table-shell .my-creator-streak{justify-content:flex-end}
.data-table-shell .gd-table{min-width:830px;table-layout:fixed}
.data-table-shell .gd-table th:nth-child(1){width:29%}.data-table-shell .gd-table th:nth-child(2){width:15%}.data-table-shell .gd-table th:nth-child(3){width:25%}.data-table-shell .gd-table th:nth-child(4){width:26%}
.data-table-shell .gd-gifter-link{min-height:28px;gap:10px}
.data-table-shell .gd-avatar{width:26px;height:26px;font-size:12px}
.data-table-shell .gd-gifter-link>span:last-child{overflow:hidden}
.data-table-shell .gd-gifter-link strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.data-table-shell .gd-gifter-link small,.data-table-shell .gd-top-creator+small{display:none}
.data-table-shell .gd-diamonds{font-size:13px}
.data-table-shell .leaderboard-table{min-width:420px}
.data-table-shell .leaderboard-table th:first-child,.data-table-shell .leaderboard-table td:first-child{width:60px}
.data-table-shell .leaderboard-table th:nth-child(2),.data-table-shell .leaderboard-table td:nth-child(2){max-width:220px;overflow:hidden;text-overflow:ellipsis}
.data-table-shell .leaderboard-medal{font-size:12px;width:24px;height:24px;padding:3px;border-radius:5px}
.data-table-shell .data-table .report-creator{display:inline-flex;white-space:nowrap;align-items:center}
.data-table-shell .gp-history{min-width:760px!important}
.data-table-shell .stream-history-table{min-width:560px}
.data-table-shell .data-table .archive-creator{display:inline-flex;margin:0 0 0 6px}
.data-table-shell .data-table td button{font-size:12px}
.my-creators-table-wrap:has(.data-table-shell),.gd-table-wrap:has(.data-table-shell),.gp-table-scroll:has(.data-table-shell),.notification-delivery-table:has(.data-table-shell){overflow:visible}
.data-table-shell .data-table td[colspan]{height:auto;min-height:40px;padding:20px;white-space:normal}
.table-detail-dialog{position:fixed;inset:0;width:min(540px,calc(100vw - 32px));max-height:80vh;overflow:auto;margin:auto;padding:24px;background:var(--card);color:var(--foreground);border:1px solid var(--border);border-radius:12px;box-shadow:0 24px 70px #0005}
.table-detail-dialog::backdrop{background:#0008}
.table-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.table-detail-heading h2{font-size:20px;margin:0}
.table-detail-heading button{background:transparent;color:var(--muted-foreground);border:0;padding:6px;min-height:32px}
.table-detail-dialog dl{margin:20px 0 0}.table-detail-dialog dt{color:var(--muted-foreground);font-size:12px;margin:16px 0 4px}.table-detail-dialog dd{margin:0;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:650px){.data-table-shell .my-creators-table{min-width:830px}.data-table-shell .my-creators-table thead th:first-child{width:240px}.data-table-shell .data-table>thead>tr>th,.data-table-shell .data-table>tbody>tr>td,.data-table-shell .data-table>tbody>tr>th{padding:4px 10px}.data-table-shell .data-table>tbody>tr>.table-row-action{padding:4px 6px}.data-table-shell .my-creator-name .creator-view-streams{opacity:1}.data-table-shell .data-table .table-detail-button{opacity:1}.data-table-shell .my-creator-name .creator-name-line{max-width:130px}}
@media(hover:none){.data-table-shell .data-table .table-detail-button,.data-table-shell .my-creator-name .creator-view-streams{opacity:1}}
.data-table-shell .my-creator-name .creator-name-line>span:first-child{cursor:default}
.data-table-shell{border-radius:10px;overflow:hidden}
.data-table-shell .data-table>tbody>tr>td:not(.table-row-action){max-width:340px;overflow:hidden;text-overflow:ellipsis}
.data-table-shell .data-table>tbody>tr>td:has(button,select){overflow:visible}
.data-table-shell .my-creator-summary>td>small.table-stale{display:block;color:var(--primary);margin:0;font-size:10px}
.data-table-shell .stream-history-diamonds strong,.data-table-shell .stream-history-duration{font-size:13px}
.table-detail-streams{display:inline-flex;margin-top:20px;padding:8px 12px;border:1px solid var(--border);border-radius:6px;color:var(--primary);text-decoration:none}
@media(max-width:650px){.data-table-shell .my-creator-name .creator-view-streams{display:none}}

/* Creators: compact league movement, hover history, and click-only column controls. */
.my-creators-page .creator-league-trigger{display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:0;border:0;background:transparent;color:var(--foreground);border-radius:5px;vertical-align:middle;box-shadow:none}
.my-creators-page .creator-league-trigger:hover:not(:disabled){background:transparent;color:var(--foreground)}
.creator-movement{flex:none;stroke-width:2.5}.creator-movement-up{color:#16834e}.creator-movement-down{color:#c93646}.dark .creator-movement-up{color:#55d797}.dark .creator-movement-down{color:#ff7380}
.my-creators-page .my-creator-streak svg{color:#ba530b}.dark .my-creators-page .my-creator-streak svg{color:#ffad57}
.creator-last-live{font-size:12px;color:var(--muted-foreground)}.creator-last-live-now{font-size:12px;color:#16834e}.dark .creator-last-live-now{color:#55d797}
.creator-filter-summary{display:flex;align-items:center;gap:12px;margin-top:12px;font-size:12px;color:var(--muted-foreground)}.creator-filter-summary button,.creator-filter-empty button{min-height:28px;padding:3px 8px;border:1px solid var(--border);background:transparent;color:var(--foreground);font-size:12px}
.creator-movement-legend{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-top:16px;font-size:12px;color:var(--muted-foreground)}.creator-movement-legend>span{display:inline-flex;align-items:center;gap:6px}.creator-movement-legend svg{width:16px;height:16px}
.creator-popover{position:fixed;z-index:160;width:310px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;padding:15px;background:var(--popover);color:var(--popover-foreground);border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 36px #0004;font-size:13px;text-align:left}
.creator-popover-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.creator-popover h3{font-size:14px;font-weight:600;margin:0}.creator-popover-heading>button{display:inline-flex;align-items:center;justify-content:center;min-height:28px;width:28px;padding:4px;border:0;background:transparent;color:var(--muted-foreground)}
.creator-popover button:focus-visible,.creator-popover input:focus-visible,.creator-popover select:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.creator-popover button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.creator-sort-actions{display:grid;gap:3px;margin-top:9px}.creator-sort-actions>button{display:flex;align-items:center;gap:7px;justify-content:flex-start;min-height:35px;width:100%;padding:7px 8px;border:0;background:transparent;color:var(--foreground);text-align:left;font-size:12px;box-shadow:none}.creator-sort-actions>button[aria-pressed=true]{background:var(--accent);color:var(--accent-foreground)}.creator-sort-actions svg{flex:none}
.creator-popover form{border-top:1px solid var(--border);margin-top:12px;padding-top:12px}.creator-popover label{display:block;color:var(--muted-foreground);font-size:12px}.creator-popover input,.creator-popover select{display:block;box-sizing:border-box;width:100%;min-width:0;margin:6px 0 0;padding:8px;background:var(--background);color:var(--foreground);border:1px solid var(--border);border-radius:5px;font:inherit;font-size:13px}.creator-filter-range{display:grid;grid-template-columns:1fr 1fr;gap:10px}.creator-filter-actions{display:flex;gap:8px;margin-top:13px}.creator-filter-actions>button{flex:1;padding:8px;border:1px solid var(--border);background:transparent;color:var(--foreground);font-size:12px;min-height:35px}.creator-filter-actions>button[type=submit]{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}
.creator-history-person{margin:3px 0 10px;color:var(--muted-foreground);font-size:12px;overflow-wrap:anywhere}.creator-history-popover{width:350px}.creator-history-popover ol{list-style:none;padding:0;margin:0}.creator-history-popover li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--border)}.creator-history-popover time{font-size:11px;color:var(--muted-foreground);line-height:1.5}.creator-history-popover time>span{display:block}.creator-history-transition{display:inline-flex;align-items:center;gap:7px;flex:none}.creator-history-popover .my-creator-league{padding:2px 6px;gap:4px;font-size:12px}.creator-history-popover .my-creator-league svg{width:13px;height:13px}.creator-history-popover .creator-movement{width:18px;height:18px}.creator-history-note,.creator-history-empty{color:var(--muted-foreground);font-size:12px;line-height:1.6;border-top:1px solid var(--border);padding-top:12px;margin:0}
@media(pointer:coarse){.my-creators-page .creator-league-trigger,.my-creators-page .my-creators-sort,.creator-popover button,.creator-filter-summary button{min-height:44px}.creator-popover input,.creator-popover select{font-size:16px;min-height:44px}}

/* Shared creator totals across all Coaching priorities. */
.coaching-priorities{margin-bottom:24px}.coaching-priorities .coaching-action-item+.coaching-action-item{margin-top:16px;padding-top:16px}.coaching-priorities .coaching-action-item>p{margin-bottom:0}.coaching-priorities .coaching-action-item .coaching-action-note{margin-top:8px}.coaching-shared-metric{min-width:0;overflow-wrap:anywhere}.coaching-shared-metric h3{margin:0 0 10px;font-size:14px;font-weight:400;color:var(--coach-muted)}.coaching-shared-metric .coaching-current-value{display:block;font-size:24px;font-weight:600;line-height:1.3}.coaching-metric-target{display:block;margin-top:8px;color:var(--coach-muted);line-height:1.5}

.coaching-metric-value{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.coaching-metric-value>span{color:var(--coach-muted);font-size:14px}

/* Creator profile: approved Warm Studio overview. */
.creator-profile{--cp-bg:var(--background);--cp-surface:var(--card);--cp-line:var(--border);--cp-text:var(--foreground);--cp-muted:var(--muted-foreground);--cp-gold:var(--primary);--cp-soft:var(--accent);--cp-up:#326147;--cp-down:#a34640;display:grid;gap:22px;min-width:0;color:var(--cp-text)}.dark .creator-profile{--cp-up:#9dceaa;--cp-down:#eda49a}.creator-profile *{box-sizing:border-box}.creator-profile h2,.creator-profile h3,.creator-profile h4,.creator-profile p{margin:0}.creator-profile small{font-size:12px;color:var(--cp-muted)}.creator-profile h3{font-size:16px;font-weight:600}.creator-profile h4{font-size:13px;font-weight:600}.creator-profile button,.creator-profile input,.creator-profile select{font:inherit}.creator-profile button{cursor:pointer}.creator-profile button:disabled{cursor:default;opacity:.5}.cp-back{display:inline-flex;align-items:center;gap:7px;justify-self:start;font-size:13px;color:var(--cp-gold);text-decoration:none}.cp-heading,.cp-identity,.cp-panel-heading,.cp-section-heading,.cp-panel-foot{display:flex;align-items:center;justify-content:space-between;gap:14px}.cp-identity{justify-content:flex-start;min-width:0}.cp-identity h2{display:flex;align-items:center;gap:10px;font-size:28px;letter-spacing:-.6px;overflow-wrap:anywhere}.cp-identity p{color:var(--cp-muted);font-size:14px;margin-top:5px}.cp-creator-photo{width:54px;height:54px;border-radius:50%;overflow:hidden;display:grid;place-items:center;flex-shrink:0;background:var(--cp-soft)}.cp-creator-photo img{width:100%;height:100%;object-fit:cover}.cp-section-heading{margin-bottom:12px}.cp-section-heading small{white-space:nowrap}.cp-icon-button,.cp-filter-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px;min-width:34px;min-height:34px;background:var(--cp-surface);border:1px solid var(--cp-line);border-radius:8px;color:var(--cp-text)}.cp-filter-button[aria-expanded=true]{color:var(--cp-gold);background:var(--cp-soft);border-color:var(--cp-gold)}.cp-filter-button{font-size:13px!important;white-space:nowrap}.cp-metrics{display:grid;grid-template-columns:1.3fr 1fr 1fr;border:1px solid var(--cp-line);border-radius:15px;background:var(--cp-surface)}.cp-metrics>div{padding:18px 22px;min-width:0}.cp-metrics>div+div{border-left:1px solid var(--cp-line)}.cp-metrics>div>span{display:flex;gap:7px;align-items:center;color:var(--cp-muted);font-size:12px}.cp-metrics>div>strong{display:block;font-size:28px;font-weight:500;letter-spacing:-.6px;margin:3px 0;font-variant-numeric:tabular-nums}.cp-metrics .cp-record-inline{font-size:24px}.cp-metrics small{display:block}.cp-main-grid{display:grid;grid-template-columns:1.2fr 1fr;align-items:start;gap:18px;min-width:0}.cp-panel{border:1px solid var(--cp-line);border-radius:15px;background:var(--cp-surface);overflow:hidden;min-width:0}.cp-panel-heading{padding:18px 19px 14px}.cp-panel-heading h3{display:flex;align-items:center;gap:7px}.cp-panel-heading h3 svg{color:var(--cp-gold)}.cp-panel-heading p{font-size:12px;color:var(--cp-muted);margin-top:3px}.cp-table-wrap{overflow-x:auto;max-width:100%}.creator-profile table{width:100%;border-collapse:collapse;font-size:13px}.creator-profile th{padding:9px 13px;border-bottom:1px solid var(--cp-line);background:var(--cp-bg);color:var(--cp-muted);font-weight:400;font-size:11px;text-align:left;white-space:nowrap}.creator-profile td{padding:14px 13px;border-bottom:1px solid var(--cp-line);font-variant-numeric:tabular-nums;vertical-align:middle}.creator-profile td small{display:block;font-size:11px;margin-top:3px}.creator-profile td:first-child,.creator-profile th:first-child{padding-left:19px}.creator-profile th:last-child,.creator-profile td:last-child{padding-right:19px}.cp-main-grid table td{white-space:nowrap}.cp-link{background:none;border:0;padding:0;text-align:left;color:var(--cp-gold);text-decoration:underline;text-underline-offset:3px;text-decoration-color:transparent}.cp-link:hover{text-decoration-color:currentColor}.cp-panel-foot{padding:13px 19px;font-size:12px}.cp-panel-foot a{color:var(--cp-gold);text-decoration:none}.cp-date-controls{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:10px 18px}.cp-date-controls label{display:grid;gap:5px;color:var(--cp-muted);font-size:12px;min-width:180px}.cp-date-controls select{border:1px solid var(--cp-line);border-radius:8px;padding:8px 10px;min-height:44px;background:var(--cp-surface);color:var(--cp-text);font-size:16px}.cp-date-controls>small{padding-bottom:10px}.cp-month-nav{display:flex;gap:5px}.cp-calendar{padding:0 13px 12px}.cp-week,.cp-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.cp-week span{text-align:center;color:var(--cp-muted);font-size:11px;padding:6px 0}.creator-profile .cp-day{min-height:68px;min-width:0;border:1px solid transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;background:transparent;border-radius:7px;padding:4px 0;font-size:12px;color:var(--cp-text)}.creator-profile .cp-day.cp-earned{background:var(--cp-bg)}.creator-profile .cp-day.cp-peak{background:var(--cp-soft)}.creator-profile .cp-day[aria-expanded=true]{border-color:var(--cp-gold);box-shadow:inset 0 0 0 1px var(--cp-gold)}.creator-profile .cp-day small{font-size:11px;white-space:nowrap}.cp-league-marks{min-height:15px;display:flex;flex-wrap:wrap;justify-content:center;font-size:11px;gap:2px}.cp-league-marks span{white-space:nowrap}.cp-calendar-legend{display:flex;flex-wrap:wrap;gap:5px 12px;padding:0 19px 12px;font-size:11px;color:var(--cp-muted)}.cp-up{color:var(--cp-up)}.cp-down{color:var(--cp-down)}.cp-day-detail{padding:13px 19px;background:var(--cp-bg);border-top:1px solid var(--cp-line)}.cp-day-summary{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:6px}.cp-day-summary>strong{font-size:13px;color:var(--cp-gold);font-weight:500}.cp-day-detail p{font-size:12px;color:var(--cp-muted)}.cp-day-stream{display:flex;justify-content:space-between;gap:8px;font-size:12px;padding:5px 0}.cp-day-stream>span{white-space:nowrap;color:var(--cp-muted)}.cp-day-detail>.cp-link{font-size:12px;margin-top:7px}.cp-league-event{display:flex;gap:8px;align-items:center;margin-top:10px;padding-top:10px;border-top:1px solid var(--cp-line)}.cp-league-event strong{font-weight:500;font-size:12px}.cp-league-event small{display:block;font-size:11px}.cp-community{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.cp-people{list-style:none;padding:0 17px 7px;margin:0}.cp-people li{display:flex;align-items:center;gap:8px;padding:12px 0;border-top:1px solid var(--cp-line)}.cp-rank{font-size:11px;color:var(--cp-muted);min-width:9px}.cp-avatar{width:30px;height:30px;border-radius:50%;background:var(--cp-soft);color:var(--cp-gold);display:grid;place-items:center;flex-shrink:0;font-size:12px}.cp-person{flex:1;min-width:0}.cp-person strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.cp-person small{display:block;font-size:11px}.cp-person-value{font-size:13px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.cp-person-value small{display:block;font-size:11px}.cp-mod{color:var(--cp-up);font-size:11px}.cp-section-more{display:block;margin:0 17px 14px;padding:0;border:0;background:none;color:var(--cp-gold);font-size:12px!important}.cp-community-note{margin-top:10px!important;color:var(--cp-muted);font-size:12px}.cp-empty{padding:20px 19px;color:var(--cp-muted);font-size:13px}.cp-filters{display:grid;grid-template-columns:1.3fr .8fr 1fr;gap:12px;padding:0 19px 16px}.creator-profile [hidden]{display:none!important}.cp-filters label{display:grid;gap:5px;font-size:12px;color:var(--cp-muted);min-width:0}.cp-filters input,.cp-filters select{width:100%;min-width:0;border:1px solid var(--cp-line);border-radius:8px;padding:8px 10px;background:var(--cp-surface);color:var(--cp-text);font-size:14px;min-height:39px}.cp-filters>.cp-link{grid-column:1/-1;justify-self:start;font-size:12px}.cp-battle-layout{display:grid;grid-template-columns:190px minmax(0,1fr)}.cp-battle-record{padding:22px;border-right:1px solid var(--cp-line)}.cp-battle-record>span{font-size:12px;color:var(--cp-muted)}.cp-battle-record>div{display:flex;gap:17px;margin:8px 0}.cp-battle-record strong{font-size:26px;font-weight:500;font-variant-numeric:tabular-nums}.cp-battle-record small{display:block;font-size:11px;font-weight:400}.cp-battle-results{min-width:0}.cp-battle-results table td{padding-top:12px;padding-bottom:12px}.cp-battle-results td:not(:first-child){white-space:nowrap}.cp-battle-results td:first-child{overflow-wrap:anywhere}.cp-opponent{display:block}.cp-pagination{display:flex;gap:15px}.cp-note{display:block;padding:12px 19px;font-size:11px;color:var(--cp-muted)}.cp-coverage{color:var(--cp-muted);font-size:12px}.cp-coverage summary{cursor:pointer}.cp-coverage p{margin-top:8px}.cp-error{display:flex;justify-content:space-between;gap:10px;padding:15px;border:1px solid var(--cp-line);border-radius:10px;color:var(--cp-down)}.my-creator-profile-link{color:inherit;text-decoration:none}.my-creator-profile-link:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:1100px){.cp-main-grid{grid-template-columns:1fr}.cp-day{min-height:70px}.cp-community{gap:12px}.cp-people{padding-left:12px;padding-right:12px}.cp-avatar{display:none}.cp-metrics .cp-record-inline{font-size:22px}}
@media(max-width:760px){.cp-community{grid-template-columns:1fr}.cp-avatar{display:grid}.cp-metrics{grid-template-columns:1fr 1fr}.cp-metrics>div:first-child{grid-column:1/-1;border-bottom:1px solid var(--cp-line)}.cp-metrics>div:nth-child(2){border-left:0}.cp-metrics>div{padding:16px}.cp-identity h2{font-size:23px}.cp-section-heading{align-items:baseline}.cp-battle-layout{grid-template-columns:1fr}.cp-battle-record{border-right:0;border-bottom:1px solid var(--cp-line);padding:16px 19px}.cp-battle-record>div{gap:28px}.cp-filters{grid-template-columns:1fr 1fr}.cp-filters label:first-child{grid-column:1/-1}.cp-creator-photo{width:44px;height:44px}.cp-panel-heading{padding-left:14px;padding-right:14px}.cp-metrics .cp-record-inline{font-size:19px}.cp-panel-foot{flex-wrap:wrap}.cp-battle-results table{min-width:500px}}
@media(pointer:coarse){.cp-icon-button,.cp-filter-button{min-height:44px;min-width:44px}.cp-filters input,.cp-filters select{font-size:16px;min-height:44px}.cp-link{min-height:36px}}
/* Keep profile controls readable above the shared dark-mode button rule. */
.creator-profile button.cp-icon-button,.creator-profile button.cp-filter-button{color:var(--cp-text)}
.creator-profile button.cp-link,.creator-profile button.cp-section-more{color:var(--cp-gold)}
.creator-profile button.cp-filter-button[aria-expanded=true]{color:var(--cp-gold)}
.creator-profile button.cp-icon-button:hover:not(:disabled),.creator-profile button.cp-filter-button:hover:not(:disabled),.creator-profile button.cp-day:hover:not(:disabled){background:var(--cp-soft)}
.creator-profile button.cp-link:hover:not(:disabled),.creator-profile button.cp-section-more:hover:not(:disabled){background:transparent;text-decoration:underline}

/* Calendar day activity floats above the page without expanding the calendar. */
.cp-day-popover{position:fixed;z-index:100;width:340px;max-width:calc(100vw - 24px);max-height:min(360px,calc(100dvh - 24px));overflow:auto;display:block;border:1px solid var(--cp-line);border-radius:12px;background:var(--cp-surface);box-shadow:0 12px 32px #0003}
.cp-day-popover .cp-day-detail{border-top:0;background:var(--cp-surface)}
.cp-day-popover .cp-day-summary{margin-bottom:10px}.cp-day-popover .cp-day-stream{align-items:center}
.cp-day-popover button.cp-link{min-height:32px}.cp-day-popover .cp-day-stream button{justify-content:flex-start}

/* Recruiting: compact mobile rows. */
.recruiting-mobile-list{display:none}
@media(max-width:760px){
 .recruiting-table-scroll{display:none}
 .recruiting-mobile-list{display:block}
 .recruiting-list-heading{padding:8px 10px}
 .recruiting-list-heading select{min-height:36px;font-size:16px}
 .recruiting-mobile-row{border-top:1px solid var(--border)}
 .recruiting-page .recruiting-mobile-summary{display:grid;grid-template-columns:28px minmax(0,1fr) max-content;align-items:center;gap:8px;min-height:54px;padding:7px 10px;color:var(--foreground)}
 .recruiting-mobile-summary .recruiting-avatar{width:28px;height:28px;flex-basis:28px;font-size:10px}
 .recruiting-mobile-summary .recruiting-avatar img{width:100%;height:100%}
 .recruiting-mobile-identity{min-width:0}
 .recruiting-mobile-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;min-height:24px;line-height:24px;color:inherit;text-decoration:none}
 .recruiting-mobile-name:hover{text-decoration:underline}
 .recruiting-mobile-name:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:2px}
 .recruiting-mobile-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:2px;font-size:10px;color:var(--muted-foreground)}
 .recruiting-mobile-meta .recruiting-status{font-size:10px;line-height:16px;padding:0 5px;white-space:nowrap}
 .recruiting-mobile-flag{font-size:14px;line-height:16px}
 .recruiting-mobile-right{display:grid;justify-items:end;gap:3px;min-width:28px}
 .recruiting-mobile-checked{max-width:94px;text-align:right;font-size:10px;line-height:14px;font-weight:400;color:var(--muted-foreground);font-variant-numeric:tabular-nums;white-space:normal}
 .recruiting-mobile-league{text-align:right;font-variant-numeric:tabular-nums;font-size:13px;font-weight:500;white-space:nowrap}
 .recruiting-footer{padding:8px 10px;gap:8px}
 .recruiting-footer button{min-height:44px}
}

.recruiting-status.retention{background:light-dark(#fff0ad,#493d0a);color:light-dark(#614600,#ffe17a);white-space:nowrap}

.recruiting-check-actions{display:flex;gap:8px;flex-wrap:wrap}.recruiting-live-result{display:flex;align-items:center;gap:6px;margin-top:3px;font-size:10px;color:var(--muted-foreground)}.recruiting-live-result>span{font-weight:600}.recruiting-live-result.live>span{color:light-dark(#b71c42,#ff7895)}.recruiting-live-result.live>span:before{content:'●';margin-right:4px;font-size:8px}.recruiting-live-result time{font-variant-numeric:tabular-nums}.recruiting-mobile-identity .recruiting-live-result{font-size:10px}

.recruiting-mobile-meta .recruiting-live-badge{display:inline-flex;margin:0;padding:0 5px;border-radius:5px;line-height:16px;background:var(--muted);font-size:10px;white-space:nowrap}.recruiting-mobile-meta .recruiting-live-badge.live{background:light-dark(#ffe8ee,#4b2430)}.recruiting-mobile-meta .recruiting-live-badge>span{font-weight:500}

/* Approved mobile Creators rows: identity above three aligned activity details. */
.creator-mobile-status{display:none}
@media(max-width:650px){
  .my-creators-page .data-table-scroll{overflow:visible;max-height:none}
  .my-creators-page .data-table-shell .my-creators-table{display:block;min-width:0;width:100%;table-layout:auto}
  .my-creators-page .data-table-shell .my-creators-table>thead,
  .my-creators-page .data-table-shell .my-creators-table>tbody{display:block}
  .my-creators-page .data-table-shell .my-creators-table>thead>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;padding:4px 14px;background:var(--muted)}
  .my-creators-page .data-table-shell .my-creators-table>thead>tr>th{display:block;position:static;width:auto;height:auto;padding:0;border:0;box-shadow:none}
  .my-creators-page .data-table-shell .my-creators-table>thead>tr>th button{min-height:44px;justify-content:flex-start;text-align:left}
  .my-creators-page .data-table-shell .my-creators-table>tbody>.my-creator-summary{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:14px 10px;padding:16px 14px;border-bottom:1px solid var(--border)}
  .my-creators-page .data-table-shell .my-creators-table>tbody>.my-creator-summary:last-child{border-bottom:0}
  .my-creators-page .data-table-shell .my-creators-table>tbody>.my-creator-summary>th,
  .my-creators-page .data-table-shell .my-creators-table>tbody>.my-creator-summary>td{display:block;position:static;min-width:0;width:auto;max-width:none;height:auto;padding:0;border:0;box-shadow:none;white-space:normal;text-align:left;background:transparent}
  .my-creators-page .data-table-shell .my-creators-table>tbody>.my-creator-summary>th{grid-column:1/-1}
  .my-creators-page .data-table-shell .my-creators-table .creator-summary-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:10px;row-gap:1px;align-items:center}
  .my-creators-page .data-table-shell .my-creators-table .avatar{grid-column:1;grid-row:1/3;width:44px;height:44px;min-width:44px}
  .my-creators-page .data-table-shell .my-creator-name,
  .my-creators-page .data-table-shell .my-creator-name .creator-name-line{display:contents}
  .my-creators-page .my-creator-profile-link{grid-column:2;grid-row:1;align-self:end;min-width:0;font-size:14px;font-weight:500;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
  .my-creators-page .data-table-shell .my-creator-name>small{display:block;grid-column:2;grid-row:2;align-self:start;min-width:0;margin:0;font-size:12px;white-space:normal;overflow-wrap:anywhere}
  .my-creators-page .creator-summary-row>.live-badge,
  .my-creators-page .creator-mobile-status{display:block;grid-column:3;grid-row:1/3;margin:0;white-space:nowrap;font-size:11px}
  .my-creators-page .creator-mobile-status{color:var(--muted-foreground)}
  .my-creators-page .data-table-shell .my-creators-table>tbody>.my-creator-summary>td[data-label]:before{content:attr(data-label);display:block;font-size:11px;line-height:1.4;font-weight:400;color:var(--muted-foreground);margin:0 0 5px;white-space:nowrap}
  .my-creators-page .data-table-shell .my-creators-table .my-creator-streak{min-height:44px;justify-content:flex-start;gap:4px;font-size:13px;white-space:normal;flex-wrap:wrap}
  .my-creators-page .data-table-shell .my-creators-table .my-creator-streak strong{font-size:13px}
  .my-creators-page .data-table-shell .my-creators-table .my-creator-streak svg{width:15px;height:15px}
  .my-creators-page .creator-league-trigger{min-height:44px;gap:4px;max-width:100%}
  .my-creators-page .data-table-shell .my-creator-league{font-size:13px;padding:3px 7px;gap:4px}
  .my-creators-page .creator-league-trigger>.creator-movement{width:16px;height:16px}
  .my-creators-page .creator-last-live,
  .my-creators-page .creator-last-live-now,
  .my-creators-page .my-creator-unavailable{display:flex;align-items:center;min-height:44px;font-size:13px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
  .my-creators-page .data-table-shell .my-creators-table>thead>tr>.table-row-action,
  .my-creators-page .data-table-shell .my-creators-table>tbody>.my-creator-summary>.table-row-action{display:none}
  .my-creators-page .data-table-shell .my-creator-summary>td>small{display:none}
  .my-creators-page .data-table-shell .my-creator-summary>td>small.table-stale{display:block;white-space:normal;font-size:11px}
}
@media(max-width:360px){
  .my-creators-page .data-table-shell .my-creators-table>tbody>.my-creator-summary{padding:14px 10px;column-gap:7px}
  .my-creators-page .data-table-shell .my-creators-table .creator-summary-row{grid-template-columns:38px minmax(0,1fr) auto;column-gap:7px}
  .my-creators-page .data-table-shell .my-creators-table .avatar{width:38px;height:38px;min-width:38px}
}

/* Approved mobile Gifters rows: identity and diamonds, then gift context. */
.gd-mobile-label,.gd-mobile-date,.gd-mobile-gem{display:none}
@media(max-width:650px){
  .gifters-directory .data-table-scroll{overflow:visible;max-height:none}
  .gifters-directory .data-table-shell .gd-table{display:block;min-width:0;width:100%;table-layout:auto}
  .gifters-directory .data-table-shell .gd-table>thead{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .gifters-directory .data-table-shell .gd-table>tbody{display:block}
  .gifters-directory .data-table-shell .gd-table>tbody>tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 14px;padding:16px 14px;border-bottom:1px solid var(--border)}
  .gifters-directory .data-table-shell .gd-table>tbody>tr:last-child{border-bottom:0}
  .gifters-directory .data-table-shell .gd-table>tbody>tr>td{display:block;position:static;min-width:0;width:auto;max-width:none;height:auto;padding:0;border:0;box-shadow:none;white-space:normal;overflow-wrap:anywhere;background:transparent}
  .gifters-directory .data-table-shell .data-table.gd-table>tbody>tr>.gd-identity-cell{grid-column:1;grid-row:1;position:static;box-shadow:none}
  .gifters-directory .data-table-shell .gd-table>tbody>tr>.gd-total-cell{grid-column:2;grid-row:1;align-self:center;text-align:right}
  .gifters-directory .data-table-shell .gd-table>tbody>tr>.gd-date-cell{grid-column:1;grid-row:2}
  .gifters-directory .data-table-shell .gd-table>tbody>tr>.gd-top-cell{grid-column:2;grid-row:2}
  .gifters-directory .data-table-shell .gd-gifter-link{min-height:44px;gap:10px;align-items:center}
  .gifters-directory .data-table-shell .gd-avatar{display:grid;width:42px;height:42px;font-size:15px}
  .gifters-directory .data-table-shell .gd-gifter-link>span:last-child{overflow:visible;min-width:0;flex:1}
  .gifters-directory .data-table-shell .gd-gifter-link strong{display:flex;flex-direction:column;align-items:flex-start;gap:4px;font-size:14px;white-space:normal;overflow:visible}
  .gifters-directory .gd-display-name{overflow-wrap:anywhere}
  .gifters-directory .data-table-shell .gd-gifter-link small{display:block;font-size:12px;white-space:normal;margin:2px 0 0;overflow-wrap:anywhere}
  .gifters-directory .data-table-shell .gd-diamonds{display:flex;align-items:center;justify-content:flex-end;gap:5px;font-size:15px;line-height:1.4;font-weight:500;color:var(--primary);white-space:normal;overflow-wrap:anywhere}
  .gifters-directory .gd-mobile-gem{display:block;flex:none}
  .gifters-directory .gd-mobile-label{display:block;margin-top:3px;font-size:11px;color:var(--muted-foreground)}
  .gifters-directory .data-table-shell .gd-table>tbody>tr>.gd-total-cell>small{display:block;margin:3px 0 0;font-size:11px;white-space:normal}
  .gifters-directory .data-table-shell .gd-table>tbody>tr>td[data-label]:before{content:attr(data-label);display:block;font-size:11px;line-height:1.4;color:var(--muted-foreground);margin-bottom:5px}
  .gifters-directory .gd-desktop-date{display:none}
  .gifters-directory .gd-mobile-date{display:block;font-size:13px}
  .gifters-directory .data-table-shell .gd-mobile-date small,
  .gifters-directory .data-table-shell .gd-top-creator+small{display:block;margin:3px 0 0;font-size:11px;white-space:normal;overflow-wrap:anywhere}
  .gifters-directory .gd-top-creator{font-size:13px;font-weight:500;overflow-wrap:anywhere}
  .gifters-directory .data-table-shell .gd-table>tbody>tr>.table-row-action{display:none}
}
@media(max-width:360px){
  .gifters-directory .data-table-shell .gd-table>tbody>tr{padding:14px 10px;column-gap:10px}
  .gifters-directory .data-table-shell .gd-avatar{width:36px;height:36px}
  .gifters-directory .data-table-shell .gd-gifter-link{gap:8px}
  .gifters-directory .data-table-shell .gd-diamonds{font-size:14px;gap:3px}
}

/* Gifter profile ranked gift bars. */
.gp-gift-bars{list-style:none;padding:10px 18px 20px;margin:0}
.gp-gift-bars>li{position:relative}
.gifter-profile button.gp-gift-bar-row{display:flex;align-items:center;gap:14px;width:100%;padding:15px 0;border:0;border-radius:6px;background:transparent;color:var(--foreground);text-align:left;box-shadow:none;cursor:default;font:inherit}
.gifter-profile button.gp-gift-bar-row:hover:not(:disabled){background:color-mix(in srgb,var(--muted) 35%,transparent)}
.gp-gift-bar-row:focus-visible{outline:2px solid var(--ring);outline-offset:3px}
.gp-gift-bar-icon{width:44px;height:44px;display:grid;place-items:center;flex:none;color:var(--muted-foreground)}
.gp-gift-bar-icon .activity-gift-image{width:44px;height:44px;object-fit:contain}
.gp-gift-bar-content{flex:1;min-width:0;display:block}
.gp-gift-bar-heading{display:flex;align-items:baseline;gap:12px;justify-content:space-between;margin-bottom:10px}
.gp-gift-bar-heading>strong{font-size:13px;font-weight:500;overflow-wrap:anywhere;min-width:0}
.gp-gift-bar-value{display:flex;align-items:baseline;justify-content:flex-end;gap:10px;flex:none;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.gp-gift-bar-value small{font-size:11px;font-weight:400;color:var(--muted-foreground);min-width:38px;text-align:right}
.gp-gift-bar-track{display:block;height:8px;background:var(--muted);border-radius:4px;overflow:hidden}
.gp-gift-bar-track>span{display:block;height:100%;background:var(--gp-accent);border-radius:4px}
.gp-gift-bar-tooltip{position:absolute;bottom:-12px;right:0;z-index:5;max-width:100%;background:var(--popover);color:var(--popover-foreground);border:1px solid var(--border);padding:7px 10px;border-radius:6px;box-shadow:0 4px 12px #0003;font-size:11px;pointer-events:none}
@media(max-width:480px){.gp-gift-bars{padding:8px 14px 20px}.gifter-profile button.gp-gift-bar-row{gap:10px}.gp-gift-bar-heading{gap:8px}.gp-gift-bar-value{display:block;text-align:right}.gp-gift-bar-value small{display:block;margin-top:2px}}

/* Creator share chart with profile photos. */
.gp-creator-donut-wrap{position:relative;margin:4px auto 0;max-width:360px}
.gp-creator-donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;gap:4px}
.gp-creator-donut-avatar{display:grid;place-items:center;width:48px;height:48px;flex:none;overflow:hidden;border-radius:50%;background:var(--muted);color:var(--muted-foreground)}
.gp-creator-donut-avatar .creator-profile-image{width:100%;height:100%;object-fit:cover}
.gp-creator-donut-center>strong{font-size:23px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums}
.gp-creator-donut-center>small{font-size:9px;letter-spacing:.08em;color:var(--muted-foreground)}
.gp-creator-chart-list{list-style:none;margin:0;padding:0 16px 8px}
.gifter-profile button.gp-creator-chart-row{display:flex;align-items:center;gap:12px;width:100%;padding:11px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--foreground);text-align:left;box-shadow:none;font:inherit;cursor:pointer}
.gifter-profile button.gp-creator-chart-row:hover:not(:disabled),.gifter-profile button.gp-creator-chart-row[aria-pressed=true]{background:var(--muted)}
.gifter-profile button.gp-creator-chart-row[aria-pressed=true]{border-color:var(--border)}
.gp-creator-chart-avatar{display:grid;place-items:center;width:40px;height:40px;flex:none;overflow:hidden;border:2px solid;border-radius:50%;background:var(--muted);color:var(--muted-foreground)}
.gp-creator-chart-avatar .creator-profile-image{width:100%;height:100%;object-fit:cover}
.gp-creator-chart-name{flex:1;min-width:0}
.gp-creator-chart-name>strong{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:500;overflow-wrap:anywhere}
.gp-creator-chart-name>small{display:block;overflow-wrap:anywhere;color:var(--muted-foreground);font-size:11px;margin-top:2px}
.gp-creator-chart-value{flex:none;text-align:right;font-variant-numeric:tabular-nums}
.gp-creator-chart-value>strong{display:block;font-size:14px;font-weight:600}
.gp-creator-chart-value>small{display:block;color:var(--muted-foreground);font-size:11px;margin-top:2px}
@media(max-width:480px){.gp-creator-chart-list{padding:0 10px 8px}.gifter-profile button.gp-creator-chart-row{gap:8px;padding:11px 6px}}
/* Tournament order editor */
.tournaments-page{max-width:1500px}.tournament-intro,.tournament-heading p,.tournament-toolbar p{color:var(--muted-foreground)}.tournament-directory{max-width:720px}.tournament-card{display:flex;gap:20px;align-items:center;padding:28px;border:1px solid var(--border);border-radius:14px;background:var(--card);text-decoration:none;color:var(--foreground)}.tournament-card:hover{border-color:var(--primary)}.tournament-card>span:nth-child(2){flex:1}.tournament-card strong{display:block;font-size:22px;margin-bottom:8px}.tournament-card small,.tournament-format{display:block;font-size:14px;color:var(--muted-foreground);margin-top:6px}.tournament-trophy{display:grid;place-items:center;width:54px;height:54px;border-radius:14px;background:var(--muted);color:var(--primary);flex-shrink:0}.tournament-back{display:inline-flex;align-items:center;gap:8px;color:var(--muted-foreground);text-decoration:none;font-size:14px;margin-bottom:22px}.tournament-back:hover{color:var(--foreground)}.tournament-heading{display:flex;align-items:start;justify-content:space-between;gap:20px}.tournament-heading h2{font-size:28px;line-height:1.2;margin:0 0 12px}.tournament-heading p{font-size:15px;margin:0}.tournament-total{white-space:nowrap;font-size:14px;border:1px solid var(--border);border-radius:20px;padding:6px 12px}.tournament-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:22px 0 0;flex-wrap:wrap}.tournament-toolbar p{margin:0;font-size:14px}.tournament-toolbar>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tournament-save-state{font-size:13px;color:var(--muted-foreground)}.tournament-notice{min-height:30px;font-size:13px;padding:6px 0;color:var(--muted-foreground)}.tournament-brackets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.tournament-bracket{background:var(--card);border:1px solid var(--border);border-radius:14px;overflow:hidden;min-width:0}.tournament-bracket>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--border)}.tournament-bracket h3{margin:0;font-size:20px}.tournament-bracket header>span{font-size:13px;color:var(--muted-foreground)}.tournament-opening{margin:18px 16px;border:1px solid var(--primary);border-radius:10px;overflow:hidden;background:color-mix(in srgb,var(--primary) 5%,var(--card))}.tournament-group-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border-bottom:1px solid var(--border)}.tournament-group-heading h4{font-size:16px;margin:0;letter-spacing:.04em}.tournament-group-heading>span{font-size:12px;color:var(--muted-foreground)}.tournament-bracket ol{padding:0;margin:0;list-style:none}.tournament-entrant{display:flex;align-items:center;gap:7px;min-height:44px;padding:4px 10px;border-bottom:1px solid var(--border)}.tournament-entrant:last-child{border-bottom:0}.tournament-entrant.is-dragging{opacity:.45}.tournament-position{font-size:12px;color:var(--muted-foreground);min-width:18px;text-align:center;font-variant-numeric:tabular-nums}.tournament-grip{display:flex;cursor:grab;color:var(--muted-foreground);padding:7px 0}.tournament-grip:active{cursor:grabbing}.tournament-username{flex:1;min-width:0;overflow-wrap:anywhere;font-size:14px}.tournament-row-actions{display:flex;align-items:center;gap:2px}.tournament-row-actions button{display:grid;place-items:center;border:0;background:transparent;color:var(--muted-foreground);border-radius:5px;min-width:28px;min-height:32px;cursor:pointer}.tournament-row-actions button:hover:not(:disabled){color:var(--foreground);background:var(--muted)}.tournament-row-actions button.tournament-remove:hover:not(:disabled){color:#d25454}.tournament-row-actions button:disabled{opacity:.25;cursor:default}.tournament-queue{padding:0 16px 18px;min-height:95px}.tournament-queue>h4{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted-foreground);font-weight:500;padding:2px 10px;margin:0 0 10px}.tournament-empty{font-size:13px;color:var(--muted-foreground);padding:12px 14px;margin:0}.tournament-add{padding:18px 22px;border-top:1px solid var(--border);background:var(--muted)}.tournament-add label{display:block;font-size:13px;margin-bottom:8px}.tournament-add>div{display:flex;gap:8px}.tournament-add input{min-width:0;flex:1}.tournaments-page button:focus-visible,.tournament-card:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
@media(max-width:1150px){.tournament-brackets{grid-template-columns:1fr;max-width:760px}.tournament-row-actions button{min-width:36px;min-height:36px}}
@media(max-width:600px){.tournament-heading{flex-direction:column;gap:12px}.tournament-heading h2{font-size:25px}.tournament-card{padding:20px;gap:14px}.tournament-card strong{font-size:18px}.tournament-toolbar>div{width:100%}.tournament-save-state{width:100%}.tournament-toolbar>div>button{flex:1}.tournament-brackets{gap:18px}.tournament-bracket>header{padding:16px}.tournament-opening{margin:14px 10px}.tournament-queue{padding:0 10px 14px}.tournament-entrant{flex-wrap:wrap;gap:4px;padding:6px 8px}.tournament-username{font-size:13px}.tournament-row-actions{width:100%;justify-content:flex-end}.tournament-row-actions button{min-width:44px;min-height:36px}.tournament-grip{display:none}.tournament-add{padding:16px}}

.tournament-avatar{display:inline-grid;place-items:center;position:relative;width:30px;height:30px;flex:0 0 30px;overflow:hidden;border-radius:50%;background:var(--muted);color:var(--muted-foreground);font-size:12px}.tournament-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}

.tournament-entrant.is-draggable{cursor:grab}.tournament-entrant.is-draggable:active{cursor:grabbing}.tournament-entrant.is-dragging{opacity:.35}.tournament-entrant.is-drop-target{box-shadow:inset 0 3px 0 var(--primary);background:color-mix(in srgb,var(--primary) 12%,var(--card))}.tournament-entrant.is-draggable .tournament-username{user-select:none}
.tournament-entrant.is-drop-target.is-drop-after{box-shadow:inset 0 -3px 0 var(--primary)}

/* The rumble presentation owns the viewport; the portal shell is unmounted. */
.tournament-watch-actions{display:flex;align-items:center;gap:14px}
.rumble-stage{position:fixed;inset:0;z-index:1000;height:100dvh;width:100%;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;background:#080d12;color:#edf3f5;font-family:'IBM Plex Sans',sans-serif;color-scheme:dark}
.rumble-stage *{box-sizing:border-box}
.rumble-stage button,.rumble-stage select{font:inherit;color:inherit}
.rumble-stage button{cursor:pointer}
.rumble-stage button:disabled{cursor:default}
.rumble-stage button:focus-visible,.rumble-stage a:focus-visible,.rumble-stage select:focus-visible{outline:3px solid #fff;outline-offset:-3px}
.rumble-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:0;border-bottom:1px solid #35434d}
.rumble-bracket{display:flex;flex-direction:column;min-width:0;min-height:0}
.rumble-bracket+ .rumble-bracket{border-left:1px solid #35434d}
.rumble-bracket>header{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 8px;background:#121b23;border-bottom:1px solid #263540}
.rumble-bracket h2{font-size:15px;margin:0;white-space:nowrap}
.rumble-bracket label{font-size:10px;color:#aabac6;display:flex;align-items:center;gap:5px;min-width:0;white-space:nowrap}
.rumble-bracket select{max-width:180px;width:auto;min-width:0;min-height:24px;margin:0;border:1px solid #35434d;background:#0b131b;border-radius:4px;padding:2px 5px;line-height:1.2}
.rumble-bracket-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,min(34%,280px));flex:1;min-height:0}
.rumble-live{display:flex;flex-direction:column;min-height:0;min-width:0;background:#030608;position:relative}
.rumble-video{position:relative;flex:1 1 0;min-width:0;min-height:0;display:grid;place-items:center;overflow:hidden;background:#000}
/* Bound replaced media to the preview box; intrinsic stream dimensions must not size the grid. */
.rumble-video iframe,.rumble-video video{position:absolute;inset:0;display:block;border:0;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center;background:#000}
.rumble-video p{padding:20px;color:#aabac6;font-size:13px}
.rumble-live-tools{flex:0 0 auto;display:flex;gap:3px 8px;flex-wrap:wrap;padding:3px 6px;background:#101820}
.rumble-live-tools a,.rumble-live-tools button{display:inline-flex;gap:4px;align-items:center;font-size:10px;color:#c6d7e2;background:none;border:0;padding:0;min-height:22px;line-height:1.2;text-decoration:none}
.rumble-live-tools small{color:#8e9fae;font-size:9px;line-height:1.3;width:100%}
.rumble-video-error{position:absolute;bottom:62px;margin:6px;background:#421e26;padding:8px;font-size:11px}
.rumble-video-error button{display:block;margin-top:6px;padding:5px 8px;border:1px solid #c6a36680;border-radius:4px;background:#292518;color:#ffe5aa;font-size:11px}
.rumble-order{overflow:auto;min-width:0;padding:4px;border-left:1px solid #263540;background:#0e171f}
.rumble-order h3{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#aabac6;margin:0 0 4px}
.rumble-order ol{list-style:none;padding:0;margin:0;display:grid;align-content:start;gap:1px}
.rumble-entrant{display:flex;align-items:center;justify-content:flex-start;width:100%;gap:4px;border:1px solid #263540;border-radius:3px;padding:1px 4px;min-height:22px;line-height:1.2;background:#15212b;text-align:left}
.rumble-entrant.is-green{background:#124d33;border-color:#287c53;color:#deffe9}
.rumble-entrant.is-red{background:#54242b;border-color:#993e4b;color:#ffdce0}
.rumble-entrant.is-yellow{background:#584713;border-color:#a9892b;color:#fff1b5}
.rumble-position{font-size:10px;font-variant-numeric:tabular-nums;min-width:13px;opacity:.75}
.rumble-entrant .tournament-avatar{display:flex;width:16px;height:16px;flex:0 0 16px;font-size:8px}
.rumble-entrant .tournament-avatar img{width:100%;height:100%}
.rumble-name{font-size:11px;white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip;line-height:1.2;flex:1;font-weight:600}
.rumble-color-label{font-size:9px;white-space:nowrap;flex:0 0 auto;opacity:.85}
/* Tournament information shares one compact row above the LIVE panels. */
.rumble-dashboard-header{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;min-width:0;padding:6px 10px;border-bottom:1px solid #c6a36680;background:linear-gradient(#090b0dc9,#090b0dc9),url('/tournaments/paradise-gold-background.png') center 45%/cover no-repeat,#100f0a}
.rumble-dashboard-header h1{font-family:'Cinzel',Georgia,serif;font-size:clamp(14px,1.4vw,20px);line-height:1.2;letter-spacing:.025em;color:#ffe5aa;margin:0;font-weight:700;text-shadow:0 1px 2px #000,0 0 12px #d5a34b30;overflow-wrap:anywhere}
.rumble-phase{position:relative;display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;white-space:nowrap;min-width:0;margin:0;border:1px solid #d8ae6455;border-radius:5px;padding:1px 6px;background:#100f0bcc}
.rumble-phase-text{color:#fff1d5;font-size:11px;font-weight:600;line-height:1.2;padding-block:5px}
.rumble-stage .rumble-phase select{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;max-width:none;min-height:0;margin:0}
.rumble-phase:focus-within{outline:3px solid #fff;outline-offset:-3px}
.rumble-phase:has(select:disabled){opacity:.6}
.rumble-phase>svg{flex:none;color:#dfcfae;pointer-events:none}
.rumble-phase-dot{width:6px;height:6px;flex:0 0 6px;border-radius:100%;background:#a0b3c0}
.rumble-phase-dot.phase-running{background:#52da86}.rumble-phase-dot.phase-paused{background:#f1cd59}
.rumble-summary{display:flex;align-items:center;gap:10px;margin:0;flex:0 0 auto}
.rumble-count{display:flex;align-items:baseline;gap:4px;color:#b2c2ce;white-space:nowrap}
.rumble-count strong{font-size:15px;line-height:1;font-variant-numeric:tabular-nums}
.rumble-count span{font-size:10px;line-height:1.2}
.rumble-count.is-green{color:#78e8a4}.rumble-count.is-yellow{color:#f1d97d}.rumble-count.is-red{color:#f1939e}
.rumble-controls{display:flex;align-items:center;gap:4px;margin-left:auto;flex:0 0 auto}
.rumble-controls button{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;min-height:26px;padding:4px;gap:0;border:1px solid #c6a36655;border-radius:4px;background:#171610c9;color:#eee0c3}
.rumble-header-notice{font-size:10px;color:#f0d7a6;line-height:1.3;max-width:100%;overflow-wrap:anywhere}
.rumble-header-notice button{min-height:22px;margin-left:6px;padding:2px 5px;font-size:10px;background:#171610;color:#eee0c3;border-color:#c6a36655}
@media(min-height:950px){.rumble-name{font-size:12px}}
@media(max-width:800px){.rumble-bracket-body{grid-template-columns:minmax(0,1fr) minmax(0,40%)}.rumble-bracket>header{padding:7px}.rumble-bracket h2{font-size:14px}.rumble-bracket label{font-size:9px}.rumble-bracket select{font-size:10px;max-width:110px}.rumble-order{padding:4px}.rumble-name{font-size:10px}}
.rumble-playback-status{position:absolute;top:10px;left:10px;right:10px;pointer-events:none;display:flex;align-items:flex-start;flex-direction:column;gap:6px}
.rumble-playback-status>span{font-size:10px;font-weight:700;letter-spacing:.05em;padding:4px 8px;border-radius:4px;background:#243340;color:#d7e4ed}
.rumble-playback-status>small{font-size:11px;line-height:1.4;background:#0b141de8;color:#d7e4ed;padding:8px;border-radius:4px;max-width:260px}
.rumble-playback-status.status-live>span{background:#166b40;color:#ebfff2}
.rumble-playback-status.status-offline>span{background:#3a4148}
.rumble-playback-status.status-reconnecting>span{background:#685020;color:#fff3be}
.rumble-live-tools button:disabled{opacity:.5;cursor:wait}
/* 9:16 output fits the available window; a 1080×1920 source fills it exactly. */
.rumble-screen{position:fixed;inset:0;z-index:1000;background:#000}
.rumble-stage.is-portrait{inset:0;margin:auto;width:min(100vw,56.25dvh);height:min(100dvh,177.77778vw);grid-template-rows:auto minmax(0,1fr);container-type:inline-size}
.rumble-stage.is-portrait .rumble-top{grid-template-columns:minmax(0,1fr);grid-template-rows:1fr 1fr}
.rumble-stage.is-portrait .rumble-bracket+.rumble-bracket{border-left:0;border-top:2px solid #35434d}
.rumble-stage.is-portrait .rumble-bracket>header{padding:.6cqw 1cqw;gap:.7cqw}
.rumble-stage.is-portrait .rumble-bracket h2{font-size:clamp(12px,1.9cqw,21px)}
.rumble-stage.is-portrait .rumble-bracket label{font-size:clamp(9px,1.3cqw,15px);gap:1cqw}
.rumble-stage.is-portrait .rumble-bracket select{font-size:clamp(9px,1.4cqw,16px);max-width:29cqw;min-height:24px;margin:0;padding:.3cqw .6cqw}
.rumble-stage.is-portrait .rumble-bracket-body{grid-template-columns:minmax(0,1fr) minmax(0,min(31%,320px))}
.rumble-stage.is-portrait .rumble-order{padding:.4cqw}
.rumble-stage.is-portrait .rumble-order h3{font-size:clamp(8px,1.25cqw,14px);margin-bottom:.8cqw}
.rumble-stage.is-portrait .rumble-order ol{height:auto;grid-auto-rows:auto;gap:.15cqw}
.rumble-stage.is-portrait .rumble-entrant{height:auto;min-height:2.45cqw;padding:.18cqw .35cqw;gap:.35cqw;border-radius:.35cqw}
.rumble-stage.is-portrait .rumble-position{font-size:clamp(8px,1.35cqw,15px);min-width:2cqw}
.rumble-stage.is-portrait .rumble-name{font-size:clamp(8px,1.55cqw,17px)}
.rumble-stage.is-portrait .rumble-entrant .tournament-avatar{display:flex;width:1.9cqw;height:1.9cqw;flex-basis:1.9cqw;min-width:0;min-height:0;font-size:1.1cqw}
.rumble-stage.is-portrait .rumble-entrant .tournament-avatar img{width:100%;height:100%}
.rumble-stage.is-portrait .rumble-color-label{display:inline;font-size:clamp(6px,1cqw,11px)}
.rumble-stage.is-portrait .rumble-live-tools{padding:.25cqw .7cqw;gap:.3cqw 1cqw}
.rumble-stage.is-portrait .rumble-live-tools a,.rumble-stage.is-portrait .rumble-live-tools button{font-size:clamp(8px,1.2cqw,13px);min-height:22px}
.rumble-stage.is-portrait .rumble-playback-status>span{font-size:clamp(9px,1.4cqw,16px)}
.rumble-stage.is-portrait .rumble-playback-status>small{font-size:clamp(9px,1.6cqw,18px)}
/* Broadcast availability is independent of the participant's rumble color. */
.tournament-live-badge{display:inline-flex;align-items:center;justify-content:center;gap:2px;flex:0 0 auto;line-height:1;color:#94a3ab}
.tournament-live-badge.live-status-live{padding:3px 4px;border:1px solid #7ce9ba66;background:#072c21;color:#83f3bb;border-radius:4px;font-size:8px;font-weight:700;letter-spacing:.03em}
.tournament-live-badge.live-status-offline{opacity:.65}
.tournament-live-badge.live-status-unknown{color:#b3a58a}
.tournament-live-badge.live-status-checking{opacity:.65}
.rumble-entrant .tournament-live-badge svg{width:10px;height:10px}
.rumble-entrant .tournament-live-badge.live-status-live{padding:2px 3px;font-size:7px}
.rumble-stage.is-portrait .rumble-entrant .tournament-live-badge svg{width:1.3cqw;height:1.3cqw;min-width:8px;min-height:8px}
.rumble-stage.is-portrait .rumble-entrant .tournament-live-badge.live-status-live{padding:.2cqw .3cqw;font-size:1cqw;border-radius:.4cqw}

.tournament-name-live,.rumble-name-live{display:flex;align-items:center;gap:5px;flex:1;min-width:0}
.tournament-name-live .tournament-username,.rumble-name-live .rumble-name{flex:0 1 auto;min-width:0}
.rumble-stage.is-portrait .rumble-name-live{gap:.35cqw}

/* Compact presentation controls override the portal's large form defaults. */
.rumble-stage .rumble-phase select{min-height:24px;margin:0;padding:2px 4px;line-height:1.2}
.rumble-stage .rumble-controls button{min-height:26px;line-height:1.2}
.rumble-stage .rumble-name-live{min-width:0;align-items:center}
.rumble-stage .rumble-name-live .tournament-live-badge{flex-shrink:0}

.rumble-stage.is-portrait .rumble-dashboard-header{padding:.6cqw .8cqw;gap:.6cqw .9cqw}
.rumble-stage.is-portrait .rumble-dashboard-header h1{font-size:clamp(12px,1.7cqw,18px)}
.rumble-stage.is-portrait .rumble-phase{gap:.5cqw;padding:0 .5cqw}
.rumble-stage.is-portrait .rumble-phase-text{font-size:clamp(9px,1.35cqw,14px)}
.rumble-stage.is-portrait .rumble-phase select{max-width:none}
.rumble-stage.is-portrait .rumble-summary{gap:1cqw}
.rumble-stage.is-portrait .rumble-count{gap:.4cqw}
.rumble-stage.is-portrait .rumble-count strong{font-size:clamp(11px,1.7cqw,18px)}
.rumble-stage.is-portrait .rumble-count span{font-size:clamp(8px,1.2cqw,13px)}
.rumble-stage.is-portrait .rumble-controls{gap:.4cqw}
.rumble-stage.is-portrait .rumble-header-notice{font-size:clamp(8px,1.1cqw,12px)}
@media(max-width:540px){.rumble-dashboard-header{gap:4px 7px;padding:4px 6px}.rumble-dashboard-header h1{font-size:13px}.rumble-summary{gap:7px}.rumble-count span{font-size:9px}}

/* Score setup is temporary and uses the player area, not additional dashboard space. */
.rumble-live-tools .rumble-show-scores{color:#ffe5aa;font-weight:600}
.rumble-source-label{align-self:center;font-size:10px;color:#ffe5aa;line-height:1.2}

/* Keep presenter controls compact around TikTok LIVE overlays in the vertical layout. */
.rumble-stage.is-portrait .rumble-tool-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rumble-stage.is-portrait .rumble-live-tools{align-items:center;gap:2px 5px}
.rumble-stage.is-portrait .rumble-live-tools button,.rumble-stage.is-portrait .rumble-live-tools a{min-width:24px;justify-content:center}
.rumble-stage.is-portrait .rumble-live-tools svg{flex-shrink:0}

.rumble-title-line{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0}

.tournament-archive-tabs{display:flex;gap:8px;margin-bottom:20px}.tournament-watch-actions{flex-wrap:wrap}

.tournament-directory-entry{margin-bottom:18px;background:var(--card);border:1px solid var(--border);border-radius:14px;overflow:hidden}.tournament-directory-entry .tournament-card{border:0;border-radius:0}.tournament-directory-entry .tournament-card:hover{background:var(--muted)}.tournament-card-actions{display:flex;flex-wrap:wrap;gap:10px;padding:0 28px 20px}@media(max-width:600px){.tournament-card-actions{padding:0 20px 20px;gap:8px}}

.debug-scoreboard{display:grid;gap:16px;max-width:1120px}.debug-scoreboard-heading,.debug-scoreboard-controls,.debug-scoreboard-status,.debug-scoreboard-log header{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.debug-scoreboard-controls{justify-content:flex-start;align-items:end}.debug-scoreboard-controls label{display:grid;gap:6px;min-width:240px}.debug-scoreboard-status{padding:16px;border:1px solid var(--border);border-radius:12px}.debug-scoreboard-status>div{display:grid;text-align:right}.debug-scoreboard-status b{font-size:32px;font-variant-numeric:tabular-nums}.debug-scoreboard-status .urgent{color:#e9ac48}.debug-scoreboard-teams{display:grid;gap:8px}.debug-scoreboard-team{display:flex;align-items:center;gap:16px;border:1px solid var(--border);border-radius:10px;padding:14px}.debug-scoreboard-team>div{display:grid;flex:1;min-width:0;overflow-wrap:anywhere}.debug-scoreboard-team small{opacity:.65}.debug-scoreboard-points{font-size:28px;font-variant-numeric:tabular-nums}.debug-scoreboard-result{min-width:85px;font-weight:700}.debug-scoreboard-team.winner{border-color:#77b787;background:#77b78715}.debug-scoreboard-effects{border:1px solid var(--border);border-radius:10px;padding:14px}.debug-scoreboard-effects h3,.debug-scoreboard-log h3{margin:0}.debug-scoreboard-effects small{opacity:.7}.debug-scoreboard-log header>div{display:flex;gap:8px}.debug-scoreboard-log-window{height:340px;overflow:auto;background:#111317;color:#e0e4eb;border:1px solid #343842;border-radius:10px;margin-top:10px;padding:12px;font:12px/1.5 monospace}.debug-scoreboard-log-window details{padding:7px 0;border-bottom:1px solid #343842}.debug-scoreboard-log-window summary{cursor:pointer;overflow-wrap:anywhere}.debug-scoreboard-log-window pre{white-space:pre-wrap;overflow-wrap:anywhere}.debug-scoreboard-log h3 small{font-size:12px;opacity:.65}@media(max-width:600px){.debug-scoreboard-team{gap:8px;flex-wrap:wrap}.debug-scoreboard-team>div{flex-basis:100%}.debug-scoreboard-points{flex:1}.debug-scoreboard-controls label{width:100%}.debug-scoreboard-status>span{flex-basis:100%}.debug-scoreboard-status>div{text-align:left}}

/* Team member detail editor. */
.manager-page-access{min-width:0;margin:24px 0;padding:18px 0;border:0;border-top:1px solid var(--border)}
.manager-page-access legend{font-size:18px;font-weight:600;padding-top:16px}
.manager-page-access>p,.manager-page-access>small{color:var(--muted-foreground);font-size:13px;line-height:1.5}
.manager-page-access>small{display:block;margin-top:10px}
.manager-page-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.manager-page-option{display:flex;gap:9px;align-items:flex-start;cursor:pointer;min-width:0}
.manager-page-option>span{font-size:14px;overflow-wrap:anywhere}
.manager-page-option small{display:block;color:var(--muted-foreground);font-size:11px;margin-top:3px}
.manager-page-option:has([disabled]){opacity:.6;cursor:default}
.admin-invitation #manager-name{margin-bottom:16px}
.admin-manager-details>small{display:block;overflow-wrap:anywhere}
.admin-section-heading h2{overflow-wrap:anywhere}

.admin-invite-only{max-width:560px}
.manager-account-actions{border-top:1px solid var(--border);margin-top:24px;padding-top:20px}
.manager-account-actions>p{color:var(--muted-foreground);font-size:14px}

/* Compact administrator overview and member editor. */
.admin-workspace .page-header{margin-bottom:16px}
.admin-workspace .page-header h1{font-size:28px}
.admin-workspace .admin-manager-access{padding:16px;margin-bottom:18px}
.admin-workspace .admin-section-heading{gap:10px;margin-bottom:12px}
.admin-workspace .admin-section-heading h2,.admin-workspace .manager-heading h2{font-size:20px;margin-bottom:4px}
.admin-workspace .admin-section-heading p,.admin-workspace .admin-invited-managers>p{font-size:13px;margin:4px 0 10px}
.admin-workspace .admin-invite-only{max-width:none}
.admin-workspace .admin-invite-only .admin-invitation{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:10px 12px;border:0;padding:0}
.admin-workspace .admin-invite-only h3,.admin-workspace .admin-invite-only .admin-invitation-help{grid-column:1/-1;margin:0}
.admin-workspace .admin-invitation h3,.admin-workspace .admin-visibility h3{font-size:16px;margin:0 0 10px}
.admin-profile-field{min-width:0;margin-bottom:10px}
.admin-profile-field label{display:block;font-size:13px;margin-bottom:4px}
.admin-workspace .admin-invite-only .admin-profile-field{margin:0}
.admin-workspace .admin-invitation #manager-name{margin-bottom:0}
.admin-workspace .admin-invited-managers{margin-top:18px;padding-top:14px}
.admin-workspace .admin-manager-row{padding:10px 0;gap:12px;align-items:center}
.admin-workspace .admin-manager-details>strong{font-size:14px}
.admin-workspace .admin-manager-details p{font-size:13px;margin:4px 0;line-height:1.4}
.admin-workspace .admin-manager-details>small{font-size:12px;line-height:1.4}
.admin-workspace .admin-access-layout{gap:20px;grid-template-columns:minmax(280px,1fr) minmax(0,1.5fr)}
.admin-workspace .admin-role{margin:12px 0;gap:8px}
.admin-workspace .admin-creator-option{padding:8px 10px;gap:8px}
.admin-workspace .admin-scope-option{padding:10px;gap:8px}
.admin-workspace .admin-scope-option strong,.admin-workspace .admin-creator-option strong{font-size:14px}
.admin-workspace .admin-scope-option small,.admin-workspace .admin-creator-option small{font-size:12px;margin-top:2px;line-height:1.4}
.admin-workspace .admin-creator-picker{margin-top:12px}
.admin-workspace .admin-selection-heading{margin:8px 0}
.admin-workspace .admin-access-summary{margin-top:12px;padding:10px;font-size:13px}
.admin-workspace .admin-access-summary small{font-size:12px}
.admin-workspace .manager-page-access{margin:14px 0;padding:10px 0}
.admin-workspace .manager-page-access legend{font-size:16px;padding-top:10px}
.admin-workspace .manager-page-access>p{margin:4px 0}
.admin-workspace .manager-page-options{gap:8px 12px;margin:10px 0}
.admin-workspace .manager-page-option{min-height:30px;align-items:center}
.admin-workspace .manager-account-actions{margin-top:16px;padding-top:12px}
.admin-workspace .manager-account-actions h3{font-size:16px;margin:0 0 6px}
.admin-workspace .manager-account-actions>p{margin:0 0 10px;font-size:13px}
.admin-workspace .manager-heading{gap:12px;margin-bottom:12px}
.admin-workspace .manager-heading p{font-size:13px}
.admin-workspace .manager-layout{gap:16px}
.admin-workspace .manager-add{padding:14px}
.admin-workspace .manager-add h3{font-size:16px;margin-bottom:10px}
.admin-workspace .manager-add p{font-size:13px;margin:8px 0}
.admin-workspace .manager-search{padding:10px 12px}
.admin-workspace .manager-list th,.admin-workspace .manager-list td{padding:8px 12px;font-size:13px;line-height:1.4}
.admin-workspace .manager-list .archive-creator{display:inline-flex;margin:0 0 0 6px}
@media(min-width:701px){
 .admin-workspace .admin-manager-access button:not([data-slot="checkbox"]):not([data-slot="radio-group-item"]),.admin-workspace .creator-manager button{min-height:32px;padding:6px 10px;font-size:13px}
 .admin-workspace .admin-manager-access input,.admin-workspace .manager-search input{min-height:34px;padding:7px 10px}
}
@media(max-width:1100px){.admin-workspace .admin-access-layout{grid-template-columns:minmax(0,1fr)}.admin-workspace .admin-access-layout .admin-invitation{padding-bottom:16px}}
@media(max-width:700px){
 .admin-workspace .admin-invite-only .admin-invitation{grid-template-columns:minmax(0,1fr)}
 .admin-workspace .admin-manager-access{padding:14px}
 .admin-workspace .manager-page-option{min-height:44px}
 .admin-workspace .admin-manager-actions button,.admin-workspace .admin-invitation>button{min-height:44px}
 .admin-workspace .manager-list .archive-creator{display:flex;margin:6px 0 0}
}

/* Home creator photos use the same cached TikTok CDN images as Creators. */
.creator-scroll .avatar .creator-profile-image{width:100%;height:100%;object-fit:cover;border-radius:50%}
.creator-scroll a.avatar{text-decoration:none}
.home-live-stream-link{color:inherit;text-decoration:none;border-radius:3px}
.home-live-stream-link:hover{text-decoration:underline;color:var(--primary)}
.home-live-stream-link:focus-visible{outline:2px solid var(--ring);outline-offset:3px}

.recruiting-add{display:grid;gap:6px;max-width:520px;margin:0 0 14px}.recruiting-add>label{font-size:13px;font-weight:500}.recruiting-add-controls{display:flex;gap:8px}.recruiting-add-controls input{flex:1;min-width:0;margin:0;min-height:36px;font-size:13px}.recruiting-add-controls button{flex-shrink:0;min-height:36px;padding:6px 12px;font-size:12px}.recruiting-add p{margin:0;color:var(--muted-foreground);font-size:12px}.recruiting-follow-summary{margin:10px 0 14px;color:var(--muted-foreground);font-size:12px}.recruiting-creator{display:flex;align-items:center;gap:6px}.recruiting-page .recruiting-follow{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:28px;width:28px;padding:0;border:1px solid transparent;background:transparent;color:var(--muted-foreground);border-radius:5px}.recruiting-page .recruiting-follow:hover:not(:disabled){background:var(--accent);color:var(--accent-foreground)}.recruiting-page .recruiting-follow.is-followed{color:var(--primary)}.recruiting-follow:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.recruiting-status.unchecked{background:var(--muted);color:var(--muted-foreground)}.recruiting-status.unchecked:before{display:none}.recruiting-mobile-name-actions{display:flex;align-items:center;gap:5px;min-width:0}.recruiting-mobile-name-actions .recruiting-mobile-name{min-width:0;flex:0 1 auto}.recruiting-mobile-name-actions .recruiting-follow{min-height:32px;width:32px}
@media(max-width:640px){.recruiting-add-controls input{font-size:16px}.recruiting-add-controls input,.recruiting-add-controls button{min-height:44px}.recruiting-page .recruiting-mobile-name-actions .recruiting-follow{min-height:44px;width:44px}.recruiting-follow-summary{line-height:1.5}}
@media(pointer:coarse){.recruiting-page .recruiting-follow{min-height:44px;width:44px}}

.recruiting-hidden-follows{margin:12px 0;padding:10px 12px;border:1px solid var(--border);border-radius:8px;font-size:12px}.recruiting-hidden-follows strong{font-weight:500}.recruiting-hidden-follows p{margin:4px 0 8px;color:var(--muted-foreground)}.recruiting-hidden-follows ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}.recruiting-hidden-follows li{display:flex;align-items:center;gap:8px;min-width:0}.recruiting-hidden-follows li>span{overflow-wrap:anywhere}.recruiting-hidden-follows button{min-height:30px;padding:4px 8px;border-color:var(--border);background:var(--card);color:var(--foreground);font-size:12px}@media(pointer:coarse){.recruiting-hidden-follows button{min-height:44px}}

.recruiting-follow-filter{min-height:34px;width:34px;flex-shrink:0;padding:0;border:1px solid light-dark(#b99a58,#b89a55);background:light-dark(#fff8e9,#3b3425);color:light-dark(#604714,#fff4d6);font-size:12px;font-weight:600;margin-right:auto}.recruiting-follow-filter:hover:not(:disabled){background:light-dark(#f1e2c0,#51442b)}.recruiting-follow-filter[aria-pressed="true"]{background:light-dark(#80601e,#e8c56b);color:light-dark(#fff,#231b0d);border-color:light-dark(#604714,#f6df9b)}.recruiting-follow-filter[aria-pressed="true"]:hover:not(:disabled){background:light-dark(#695018,#f2d587)}.recruiting-follow-filter:focus-visible{outline:2px solid light-dark(#80601e,#f6df9b);outline-offset:3px}

@media(pointer:coarse){.recruiting-follow-filter{min-height:44px;width:44px}}

/* Compact recruiting audit log. */
.recruiting-history{margin:0 0 16px;border:1px solid var(--border);border-radius:8px;background:var(--card);overflow:hidden}.recruiting-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--border)}.recruiting-history-heading h2{margin:0;font-size:14px;font-weight:600}.recruiting-history-heading p{margin:3px 0 0;font-size:11px;color:var(--muted-foreground)}.recruiting-history-heading>div:last-child{display:flex;gap:6px}.recruiting-history-heading button{min-height:30px;width:30px;padding:0}.recruiting-history-scroll{max-height:360px;overflow:auto}.recruiting-history table{min-width:0;width:100%;border-collapse:collapse;text-align:left;font-size:12px}.recruiting-history th{position:sticky;top:0;background:var(--card);z-index:1;font-size:11px;color:var(--muted-foreground);font-weight:500}.recruiting-history th,.recruiting-history td{font-size:12px;line-height:1.5;padding:7px 12px;border-bottom:1px solid var(--border);vertical-align:top}.recruiting-history time{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px;color:var(--muted-foreground)}.recruiting-history-username{white-space:nowrap}.recruiting-history strong{font-weight:500}.recruiting-history-detail{margin-left:8px;color:var(--muted-foreground)}.recruiting-history-arrow{color:var(--muted-foreground)}.recruiting-history-empty{margin:0;padding:18px 12px;font-size:12px;color:var(--muted-foreground)}.recruiting-history-footer{padding:8px 12px}.recruiting-history-footer button{min-height:30px;font-size:12px}.recruiting-history>.recruiting-error{padding:0 12px}@media(max-width:640px){.recruiting-history table{table-layout:fixed}.recruiting-history thead{display:none}.recruiting-history tr{display:grid;grid-template-columns:98px minmax(0,1fr);border-bottom:1px solid var(--border);padding:7px 10px;gap:3px 10px}.recruiting-history td{padding:0;border:0}.recruiting-history td:first-child{grid-row:1 / 3}.recruiting-history td:nth-child(2){font-weight:500}.recruiting-history td:last-child{grid-column:2;overflow-wrap:anywhere;font-size:11px;line-height:1.5}.recruiting-history time{white-space:normal;line-height:1.5}.recruiting-history-detail{margin-left:6px}.recruiting-history-heading{align-items:flex-start}.recruiting-history-scroll{max-height:320px}.recruiting-history-heading button,.recruiting-history-footer button{min-height:44px}.recruiting-history-heading button{width:44px}}

.recruiting-history-back{display:inline-flex;align-items:center;gap:6px;padding:12px;color:var(--muted-foreground);font-size:12px;text-decoration:none}.recruiting-history-back:hover{color:var(--foreground)}.recruiting-history-search{padding:12px;border-bottom:1px solid var(--border)}.recruiting-history-search label{display:block;font-size:12px;margin-bottom:6px}.recruiting-history-search>div{display:flex;gap:8px;flex-wrap:wrap}.recruiting-history-search input{width:240px;min-width:0;max-width:100%;margin:0;font-size:13px;min-height:34px}.recruiting-history-search button{font-size:12px;min-height:34px;padding:6px 10px;background:var(--card);color:var(--foreground);border-color:var(--border)}.recruiting-history-search p{font-size:11px;color:var(--muted-foreground);margin:8px 0 0}.recruiting-history-heading>button{background:var(--card);color:var(--foreground);border-color:var(--border)}@media(max-width:640px){.recruiting-history-search input{width:100%;font-size:16px;min-height:44px}.recruiting-history-search button{min-height:44px}}

.recruiting-history-time{display:flex;align-items:center;gap:6px;border:0;padding:0;margin:12px 0 0;min-width:0;flex-wrap:wrap}.recruiting-history-time legend{float:left;font-size:11px;color:var(--muted-foreground);margin-right:8px;padding:0;line-height:32px}.recruiting-history-time button[aria-pressed="true"]{background:var(--accent);color:var(--accent-foreground);border-color:var(--primary)}.recruiting-history-time span{font-size:11px;color:var(--muted-foreground);overflow-wrap:anywhere}

@media(max-width:640px){.recruiting-history-username{white-space:normal;overflow-wrap:anywhere}}

/* Admin roster filters and compact team rows. */
.admin-workspace .admin-creator-filters{display:grid;grid-template-columns:minmax(160px,2fr) minmax(130px,1fr) minmax(110px,1fr);gap:8px 12px;align-items:end}
.admin-creator-filters>div{min-width:0}
.admin-creator-filters label{display:block;font-size:13px;margin-bottom:4px}
.admin-workspace .admin-creator-filters input,.admin-creator-filters select{width:100%;max-width:none;min-width:0;min-height:34px}
.admin-creator-filters select{border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);padding:6px 8px;font:inherit;font-size:13px}
.admin-creator-filters select:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.admin-creator-count{grid-column:1/-1;margin:0;color:var(--muted-foreground);font-size:12px}
.admin-workspace .admin-manager-row{padding:8px 0}
.admin-manager-identity{display:flex;align-items:center;gap:4px 10px;flex-wrap:wrap;min-width:0}
.admin-manager-identity>strong{font-size:14px}
.admin-manager-identity>small{font-size:12px;color:var(--muted-foreground);overflow-wrap:anywhere}
.admin-workspace .admin-manager-identity .admin-manager-status{margin:0}
.admin-workspace .admin-manager-details p{margin:2px 0;font-size:12px}
.admin-workspace .admin-manager-details>.admin-manager-email-time{display:inline;font-size:11px}
@media(max-width:700px){
 .admin-workspace .admin-creator-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .admin-creator-filters>div:first-child{grid-column:1/-1}
 .admin-workspace .admin-creator-filters input,.admin-creator-filters select{min-height:44px}
}

.polling-panel-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted-foreground)}
.polling-history{border:1px solid var(--border);border-radius:10px;background:var(--card);padding:14px;margin-bottom:16px;min-width:0}
.polling-history .manager-heading{align-items:center}.polling-history h3{margin:0;font-size:16px}
.polling-history-search{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.polling-history-search input{max-width:240px}
.polling-history-note{font-size:12px;color:var(--muted-foreground)}
.polling-history-table{overflow:auto;max-height:420px}.polling-history-table th,.polling-history-table td{padding:8px 12px;font-size:13px}
.polling-history-pagination{display:flex;gap:8px;margin-top:10px}
.admin-workspace .import-manager-options{gap:5px}.admin-workspace .import-manager-options label{font-size:13px;line-height:1.3}
.admin-workspace .import-manager-options small{font-size:11px}
.admin-manager-identity>small{margin-top:0}

@media(max-width:700px){.admin-workspace .admin-manager-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.admin-workspace .admin-manager-actions{align-self:center}.admin-workspace .manager-heading{flex-wrap:wrap}}

/* Bulk polling selection remains scoped to the visible filtered roster. */
.polling-bulk-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px 12px;border-bottom:1px solid var(--border)}
.polling-bulk-controls>span{font-size:13px;color:var(--muted-foreground)}
.polling-bulk-controls>small{flex-basis:100%;font-size:12px;color:var(--muted-foreground)}
.polling-bulk-notice{margin:0;padding:0 12px;font-size:13px;overflow-wrap:anywhere}.polling-bulk-notice:not(:empty){padding-block:10px}
.admin-workspace .manager-list .polling-select-cell{width:40px;min-width:40px;vertical-align:middle}
.polling-select-cell input[type=checkbox]{display:block;width:18px;height:18px;min-height:18px;accent-color:var(--primary);cursor:pointer}
.manager-list tr[data-selected=true]{background:var(--muted)}
@media(max-width:700px){.polling-select-cell input[type=checkbox]{width:22px;height:22px}.polling-bulk-controls button{min-height:44px}}

/* Polling coverage diagnostics */
.polling-monitor{padding:24px;border:1px solid var(--border);border-radius:16px;background:var(--card);margin:20px 0}
.polling-monitor header,.polling-monitor footer{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.polling-monitor h2{display:flex;align-items:center;gap:9px;font-size:18px;margin:0}
.polling-monitor header p,.polling-monitor-footnote,.polling-monitor footer,.polling-monitor-metrics small,.polling-monitor-metrics dt{color:var(--muted-foreground);font-size:13px}
.polling-monitor-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0 18px}
.polling-monitor-metrics dd{font-size:32px;font-weight:650;font-variant-numeric:tabular-nums;margin:8px 0;line-height:1.15}
.polling-monitor progress{display:block;width:100%;height:6px;accent-color:var(--primary)}
.polling-monitor-footnote{line-height:1.6;margin:16px 0}
.polling-monitor footer{font-size:12px}
@media(max-width:640px){.polling-monitor{padding:18px}.polling-monitor-metrics{grid-template-columns:1fr;gap:20px}.polling-monitor-metrics dd{font-size:28px}.polling-monitor footer{align-items:flex-start;gap:6px}}

/* Dedicated LIVE polling diagnostics. */
.polling-back,.polling-page-link{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--primary);text-decoration:none}
.polling-back{margin:0 0 20px}.polling-page-link{margin-top:auto;padding-top:8px}.polling-back:hover,.polling-page-link:hover{text-decoration:underline}
.polling-verbose{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:24px;margin:20px 0}
.polling-verbose-header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.polling-verbose-header h2{font-size:18px;margin:0}.polling-verbose-header p{margin:6px 0 0;font-size:14px;color:var(--muted-foreground)}
.polling-logging-control{display:flex;align-items:center;gap:10px;font-size:14px}.polling-logging-control strong{font-size:13px;min-width:4em}
.polling-switch{display:inline-flex;align-items:center;flex-shrink:0;width:42px;height:24px;padding:3px;border:1px solid var(--border);border-radius:99px;background:var(--muted);cursor:pointer}.polling-switch span{width:16px;height:16px;background:var(--muted-foreground);border-radius:50%;transition:transform .15s}.polling-switch[aria-checked=true]{background:var(--primary)}.polling-switch[aria-checked=true] span{background:var(--primary-foreground);transform:translateX(17px)}.polling-switch:disabled{opacity:.5;cursor:wait}.polling-switch:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.polling-logging-note{font-size:13px;line-height:1.6;color:var(--muted-foreground);margin:12px 0}.polling-logging-note strong{font-variant-numeric:tabular-nums;color:var(--foreground)}
.polling-search{display:flex;flex-direction:column;gap:8px;max-width:320px;margin-top:24px}.polling-search label{font-size:13px;font-weight:600}.polling-table-count,.polling-verbose-footer{color:var(--muted-foreground);font-size:12px;margin:14px 0}.polling-verbose-footer{margin-bottom:0}
.polling-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:7px}.polling-creator-table{border-collapse:collapse;width:100%;min-width:560px;font-size:12px;line-height:1.25;text-align:left}.polling-creator-table th,.polling-creator-table td{padding:3px 8px;border-bottom:1px solid var(--border);vertical-align:middle;white-space:nowrap}.polling-creator-table thead{background:var(--muted);color:var(--muted-foreground)}.polling-creator-table thead th{padding:0;font-size:11px;font-weight:600}.polling-creator-table tbody th{font-weight:500}.polling-creator-table tbody tr:last-child>*{border-bottom:0}.polling-creator-table time{font-variant-numeric:tabular-nums}.polling-sort{display:flex;align-items:center;justify-content:space-between;gap:7px;width:100%;min-height:30px;padding:5px 8px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.polling-sort:hover{color:var(--foreground);background:var(--accent)}.polling-sort:focus-visible,.polling-table-wrap:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.polling-creator-identity,.polling-inline{display:flex;align-items:center;gap:6px}.polling-creator-photo{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border-radius:50%;overflow:hidden;background:var(--muted);color:var(--muted-foreground);font-size:10px}.polling-creator-photo img{width:22px;height:22px;object-fit:cover}.polling-muted,.polling-result-detail{color:var(--muted-foreground)}.polling-result-detail{font-size:11px}
.polling-attempt-result{display:inline-block;font-size:11px;font-weight:600;padding:2px 5px;border-radius:4px;background:var(--muted)}.polling-attempt-success{color:#22603b;background:#e6f3e9}.polling-attempt-fail{color:#9f2929;background:#fbe9e9}.polling-attempt-pending{color:#6e5515;background:#f7f0da}.polling-attempt-interrupted{color:var(--muted-foreground)}.polling-table-empty{padding:12px;text-align:center;color:var(--muted-foreground);font-size:12px}
@media(max-width:700px){.polling-verbose{padding:14px}.polling-verbose-header{align-items:flex-start;gap:12px}.polling-search{max-width:none}.polling-sort{min-height:40px}.polling-creator-table th,.polling-creator-table td{padding-left:6px;padding-right:6px}.polling-creator-table thead th{padding:0}}

.polling-timeline{--polling-line-color:#947022;--polling-bar-color:#83a8b4;margin:18px 0 24px}.dark .polling-timeline{--polling-line-color:#e2bd61;--polling-bar-color:#547783}.polling-history-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;border-top:1px solid var(--border);padding-top:22px;margin-top:22px}.polling-history-heading h3{font-size:16px;margin:0}.polling-history-heading p{font-size:13px;color:var(--muted-foreground);margin:5px 0 0}.polling-history-ranges{display:flex;gap:3px;padding:3px;background:var(--muted);border-radius:8px}.polling-history-ranges button{font-size:12px;padding:7px 10px;border:0;border-radius:6px;background:transparent;color:var(--muted-foreground);cursor:pointer}.polling-history-ranges button[aria-pressed=true]{background:var(--card);color:var(--foreground);box-shadow:0 1px 3px #0001}.polling-chart{height:260px;width:100%;min-width:0}.polling-chart-key{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;color:var(--muted-foreground);margin-bottom:20px}.polling-chart-key span{display:inline-flex;align-items:center;gap:7px}.polling-line-key{width:18px;height:3px;background:var(--polling-line-color)}.polling-bar-key{width:10px;height:11px;background:var(--polling-bar-color);border-radius:2px}.polling-chart-axis-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--muted-foreground);margin:0 0 6px}.polling-chart-tooltip{padding:12px;background:var(--card);color:var(--foreground);border:1px solid var(--border);border-radius:8px;font-size:12px;box-shadow:0 3px 10px #0002}.polling-chart-tooltip p{margin:6px 0 0}.polling-chart-note,.polling-chart-empty{font-size:12px;color:var(--muted-foreground);line-height:1.6}.polling-chart-empty{padding:25px;background:var(--muted);border-radius:10px}.polling-history-table-toggle{padding:0;background:none;border:0;color:var(--primary);font-size:12px;cursor:pointer;text-decoration:underline}.polling-history-table-wrap{max-height:320px;overflow:auto;margin-top:12px}.polling-history-table-wrap table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.polling-history-table-wrap th,.polling-history-table-wrap td{padding:8px;border-bottom:1px solid var(--border)}.polling-history-table-wrap caption{padding:8px;text-align:left;color:var(--muted-foreground)}.polling-history-table-wrap tbody th{font-weight:400}

/* Compact expandable polling batch groups */
.polling-batch-table{min-width:680px}.polling-batch-toggle{display:flex;align-items:center;gap:5px;min-height:26px;max-width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer;text-align:left}.polling-batch-toggle svg{flex-shrink:0}.polling-batch-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.polling-batch-label{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis}.polling-batch-row:hover{background:var(--muted)}.polling-batch-detail[hidden]{display:none}.polling-creator-table .polling-batch-detail>td{padding:4px 10px 10px 25px;background:var(--background)}.polling-batch-detail .polling-table-count{margin:4px 0;font-size:11px}.polling-batch-detail .polling-table-wrap{border-radius:4px}.polling-batch-detail .polling-creator-table{min-width:540px}

/* Diagnostic controls must override the global dark primary-button palette. */
.polling-page button.polling-sort,.polling-page button.polling-batch-toggle{color:var(--foreground);background:transparent}
.polling-page button.polling-sort:hover:not(:disabled),.polling-page button.polling-batch-toggle:hover:not(:disabled){color:var(--foreground);background:var(--muted)}
.polling-page button.polling-history-table-toggle{color:var(--primary);background:transparent}
.polling-page button.polling-history-table-toggle:hover:not(:disabled){color:var(--primary);background:var(--muted)}
.polling-page .polling-history-ranges button{color:var(--muted-foreground)}
.polling-page .polling-history-ranges button[aria-pressed=true]{color:var(--foreground);background:var(--card)}
.polling-page .polling-history-ranges button:hover:not(:disabled){color:var(--foreground);background:var(--card)}
.polling-page .polling-creator-table thead th{color:var(--foreground);background:var(--muted)}
.polling-page .polling-creator-table tbody th{position:static;color:var(--foreground);background:transparent}

/* Captured battle scores shared by activity and history. */
.battle-scorecard{min-width:0;text-align:left;white-space:normal}
.battle-score-rows{display:grid;gap:4px}
.battle-score-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(70px,auto) 4.8em;align-items:center;gap:10px;border-radius:6px;padding:8px 10px;background:var(--muted);font-size:13px}
.battle-score-names{min-width:0}.battle-score-names strong{display:block;font-size:13px!important;overflow-wrap:anywhere;font-weight:500!important}.battle-score-names strong[data-highlight]{font-weight:700!important}
.battle-score-row small{display:block;color:var(--muted-foreground);font-size:10px!important;font-weight:400}
.battle-score-value{text-align:right;max-width:180px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;line-height:1.4}
.battle-score-place{text-align:right;font-size:12px;font-weight:600}.battle-score-row[data-outcome=wins] .battle-score-place{color:#267447}.battle-score-row[data-outcome=losses] .battle-score-place{color:#a33838}.dark .battle-score-row[data-outcome=wins] .battle-score-place{color:#9cdeb7}.dark .battle-score-row[data-outcome=losses] .battle-score-place{color:#f4aaaa}
.battle-score-row:not(:has(.battle-score-place)){grid-template-columns:minmax(0,1fr) minmax(70px,auto)}
.battle-scorecard .battle-score-note{margin:8px 0 0;font-size:12px;color:var(--muted-foreground);line-height:1.5}
.battle-log-list .battle-log-with-scores{grid-template-columns:minmax(0,1fr) auto;align-items:start}.battle-log-with-scores>.battle-result{grid-column:1;grid-row:1}.battle-log-with-scores>div{grid-column:1/-1;grid-row:2}.battle-log-with-scores>small{grid-column:2;grid-row:1}
.cp-battle-results .battle-scorecard{min-width:270px}.cp-battle-results td:first-child:has(.battle-scorecard){width:100%}
@media(max-width:600px){.battle-score-row{padding:8px;gap:7px;grid-template-columns:minmax(0,1fr) minmax(60px,auto) 4em}.battle-score-value{max-width:130px}.battle-score-place{font-size:11px}.battle-log-with-scores .battle-score-row small{grid-column:auto}}

/* Single-row battle activity; detailed history scorecards remain separate. */
.activity-row.activity-battle{display:flex;align-items:center;gap:12px;min-height:68px;height:68px;padding:0 8px}
.activity-battle>.event-icon{display:grid;width:32px;height:32px;flex:none;margin:0;align-self:center;background:var(--accent);color:var(--primary)}
.battle-activity-scroll{min-width:0;flex:1;overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--border) transparent}
.battle-activity-scroll:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:4px}
.battle-activity-line{display:flex;align-items:center;gap:13px;white-space:nowrap;min-height:36px;width:max-content;padding-right:12px}
.battle-activity-type{font-size:11px;color:var(--muted-foreground);width:64px;flex:none}
.battle-activity-entry,.battle-activity-person{display:inline-flex;align-items:center;gap:7px}
.battle-activity-entry{gap:13px}.battle-activity-names{font-size:13px;font-weight:500}
.battle-activity-score{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
.battle-activity-score[data-missing]{font-size:11px;font-weight:400;color:var(--muted-foreground)}
.battle-activity-place{font-size:10px;font-weight:600;border-radius:4px;padding:4px 5px;letter-spacing:.15px;background:var(--muted);color:var(--muted-foreground)}
.battle-activity-place[data-outcome=wins]{color:#267447;background:#26744715}.battle-activity-place[data-outcome=losses]{color:#a33838;background:#a3383812}
.dark .battle-activity-place[data-outcome=wins]{color:#9cdeb7;background:#9cdeb71a}.dark .battle-activity-place[data-outcome=losses]{color:#f4aaaa;background:#f4aaaa12}
.battle-activity-separator{font-size:11px;color:var(--muted-foreground);opacity:.65}.battle-activity-status{font-size:11px;color:var(--muted-foreground)}
.battle-activity-time{flex:none;width:64px;text-align:right;font-size:11px;color:var(--muted-foreground);white-space:nowrap}
@media(max-width:700px){.activity-row.activity-battle{gap:8px;min-height:64px;height:64px;padding:0 4px}.activity-battle>.event-icon{width:26px;height:26px}.battle-activity-type{width:auto;margin-right:2px}.battle-activity-line,.battle-activity-entry{gap:10px}.battle-activity-time{font-size:10px;width:53px}}

/* Ranked final-score averages beneath creator battle history. */
.cp-points-list{list-style:none;margin:0;padding:0}
.cp-points-list>li{display:grid;grid-template-columns:minmax(190px,1.5fr) repeat(3,minmax(0,1fr));gap:18px;align-items:center;padding:16px 0;border-top:1px solid var(--border)}
.cp-points-person{display:flex;gap:12px;align-items:center;min-width:0}.cp-points-person>div{min-width:0}.cp-points-person strong{display:block;font-size:14px;overflow-wrap:anywhere}.cp-points-person small,.cp-points-stat small{display:block;color:var(--muted-foreground);font-size:11px;line-height:1.5}
.cp-points-stat{text-align:right;min-width:0}.cp-points-stat strong{font-size:16px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cp-points-combined strong{color:var(--primary);font-size:19px}
@media(max-width:700px){.cp-points-list>li{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}.cp-points-person{grid-column:1/-1}.cp-points-stat{text-align:left}.cp-points-stat strong{font-size:14px}.cp-points-combined strong{font-size:16px}}

.cp-history-with-points{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:18px;align-items:start;min-width:0}
.cp-history-with-points .cp-battle-layout{grid-template-columns:1fr}.cp-history-with-points .cp-battle-record{border-right:0;border-bottom:1px solid var(--cp-line);padding:14px 19px}.cp-history-with-points .cp-battle-record>div{margin:4px 0}
.cp-history-with-points .cp-points-list{padding:0 19px}.cp-history-with-points .cp-points-list>li{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px}.cp-history-with-points .cp-points-person{grid-column:1/-1}.cp-history-with-points .cp-points-stat{text-align:left}.cp-history-with-points .cp-points-stat strong{font-size:14px}.cp-history-with-points .cp-points-combined strong{font-size:16px}
@media(max-width:1050px){.cp-history-with-points{grid-template-columns:1fr}}


@media(pointer:coarse){.workspace-mode-actions .admin-mode-button{min-height:40px}.data-table-shell .data-table>tbody>tr>td,.data-table-shell .data-table>tbody>tr>th{height:max(48px,var(--table-row-height))}.data-table-shell .data-table .table-detail-button{min-height:40px;min-width:40px}.data-table-shell .data-table .table-row-action{min-width:52px}}

.home-live-metrics{display:flex;align-items:center;gap:10px;white-space:nowrap}
.cp-overview-content,.cp-battles-content{display:grid;gap:22px;min-width:0}
.cp-battles-content .cp-history-with-points{grid-template-columns:minmax(0,1fr)}
.cp-profile-tabs{display:flex;min-width:0;overflow-x:auto;gap:5px;border-bottom:1px solid var(--cp-line);padding-bottom:8px}
.creator-profile .cp-profile-tabs button,.creator-profile .cth-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;min-height:32px;height:32px;padding:0 10px;border:1px solid var(--cp-line);border-radius:7px;background:transparent;color:var(--cp-text);font-size:12px;line-height:1;white-space:nowrap}
.creator-profile .cp-profile-tabs button{border-color:transparent}
.creator-profile .cp-profile-tabs button[aria-selected=true]{background:var(--cp-soft);border-color:var(--cp-line);color:var(--cp-gold)}
.creator-profile .cth-button:hover:not(:disabled){background:var(--cp-soft)}
.creator-profile .cth-button:focus-visible,.creator-profile .cp-profile-tabs button:focus-visible{outline:2px solid var(--cp-gold);outline-offset:2px}
.cth-intro{padding:0 19px 16px;font-size:12px;color:var(--cp-muted)}
.cth-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--cp-line);border-bottom:1px solid var(--cp-line);background:var(--cp-bg)}
.cth-summary>div{padding:14px 19px;min-width:0}.cth-summary>div+div{border-left:1px solid var(--cp-line)}
.cth-summary span{display:block;color:var(--cp-muted);font-size:11px}.cth-summary strong{display:block;margin:4px 0;font-size:20px;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cth-summary small{display:block}
.cth-table-wrap{max-width:100%;overscroll-behavior-x:contain}.cth-table-wrap:focus-visible{outline:2px solid var(--cp-gold);outline-offset:-2px}
.creator-profile .cth-table{min-width:980px;table-layout:fixed}.cth-table th:nth-child(1){width:17%}.cth-table th:nth-child(2){width:19%}.cth-table th:nth-child(3){width:20%}.cth-table th:nth-child(4){width:11%}.cth-table th:nth-child(5){width:14%}.cth-table th:nth-child(6){width:19%}
.creator-profile .cth-table td{vertical-align:top;overflow-wrap:anywhere;white-space:normal}.cth-tournament strong{font-size:13px;font-weight:500}.cth-date{font-size:12px;line-height:1.6}.cth-outcome{font-size:12px}.creator-profile .cth-score{text-align:right}.cth-score strong{display:block;font-size:15px;font-weight:500;font-variant-numeric:tabular-nums}
.cth-matchup-link{display:inline-flex;align-items:flex-start;gap:6px;min-height:36px;padding:2px 0;color:var(--cp-gold);font-size:12px;line-height:1.6;text-decoration:underline;text-underline-offset:3px}.cth-matchup-link span{min-width:0;overflow-wrap:anywhere}.cth-matchup-link svg{flex-shrink:0;margin-top:3px}.cth-matchup-link:focus-visible{outline:2px solid var(--cp-gold);outline-offset:3px;border-radius:3px}.cth-unavailable{font-size:12px;color:var(--cp-muted)}
.cth-retained{font-style:italic}.cth-pagination{display:flex;gap:5px}.cth-history>.cp-error{margin:0 19px 16px;align-items:center}
@media(pointer:coarse){.cth-matchup-link{min-height:44px}}
@media(max-width:600px){.cth-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cth-summary>div{padding:12px 14px}.cth-summary>div:last-child{grid-column:1/-1;border-left:0;border-top:1px solid var(--cp-line)}.cth-summary strong{font-size:18px}.cth-history .cp-panel-foot{flex-wrap:wrap;padding:12px 14px}.cth-intro{padding-left:14px;padding-right:14px}.cth-history>.cp-error{margin-left:14px;margin-right:14px}}

/* Transparent emblem and gold wordmark match the approved Uprise One logo. */
.brand-name{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:15px;font-weight:400;line-height:1.25;letter-spacing:.11em;white-space:nowrap}
.brand-name strong{font-weight:700;letter-spacing:.04em}
.brand .brand-name,.mobile-brand .brand-name{color:#d2ae59;background:linear-gradient(115deg,#b88a2f 0%,#f5d77c 37%,#cf9f3e 65%,#e8c96e 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.brand-logo{width:86px;border-radius:0;background:transparent}
@media(max-width:900px){.mobile-brand{display:flex;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 120px);text-decoration:none;color:var(--foreground)}.mobile-brand img{width:40px;height:40px;border-radius:0}.mobile-brand .brand-name{font-size:13px;letter-spacing:.07em;font-weight:400}.mobile-navigation-drawer .brand-logo{width:64px}}
/* Deeper gold keeps the wordmark readable on the ivory light theme. */
:root:not(.dark) .brand .brand-name,:root:not(.dark) .mobile-brand .brand-name{color:#785516;background:none;-webkit-text-fill-color:currentColor}
/* Subtle edge definition preserves the metallic gold in light mode. */
:root:not(.dark) .brand-logo,:root:not(.dark) .mobile-brand img{filter:brightness(.94) contrast(1.06) drop-shadow(0 0 .35px rgba(139,106,27,.28))}


.workspace-nav-count{margin-left:auto;flex:none;min-width:22px;padding:0 6px;border-radius:10px;background:var(--muted);color:var(--foreground);font-size:11px;font-weight:600;line-height:20px;text-align:center;font-variant-numeric:tabular-nums}

/* Creator profile stream history stays scoped to its account. */
.creator-profile .stream-history{padding:16px;min-width:0}
.creator-profile .stream-history-table th,.creator-profile .stream-history-table td{padding:12px 8px;vertical-align:top;text-align:left;overflow-wrap:anywhere}
.creator-profile .stream-history-table th:first-child{width:44%}
.creator-profile .stream-history-table th:nth-child(2){width:22%}
.creator-profile .stream-history-table td:last-child,.creator-profile .stream-history-table th:last-child{text-align:right}
.creator-profile .stream-history-table small{display:block;font-size:11px;line-height:1.5;margin-top:4px;color:var(--cp-muted)}
.creator-profile .stream-history button.stream-history-open{padding:0;border:0;min-height:36px;text-align:left;white-space:normal;font-size:12px}
.creator-profile .stream-history-footer{flex-wrap:wrap;gap:12px}
.creator-profile .stream-history-heading{gap:8px;align-items:flex-start}

.creator-profile>[role="tabpanel"]{min-width:0}
@media(max-width:650px){
 .creator-profile .stream-history{padding:12px}
 .creator-profile .stream-history .data-table{min-width:0;display:block}
 .creator-profile .stream-history .data-table>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 .creator-profile .stream-history .data-table>tbody{display:block}
 .creator-profile .stream-history .data-table>tbody>tr{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;border-bottom:1px solid var(--border)}
 .creator-profile .stream-history .data-table>tbody>tr>td{display:block;position:static!important;box-shadow:none!important;width:auto;min-width:0;height:auto;padding:0;border:0;white-space:normal!important}
 .creator-profile .stream-history .data-table>tbody>tr>td:first-child{grid-column:1/-1}
 .creator-profile .stream-history .data-table>tbody>tr>td:nth-child(2){text-align:left}
 .creator-profile .stream-history .data-table>tbody>tr>td:nth-child(2):before{content:'Duration';display:block;font-size:11px;color:var(--muted-foreground)}
 .creator-profile .stream-history .data-table>tbody>tr>td:nth-child(3):before{content:'Est. Diamonds';display:block;font-size:11px;color:var(--muted-foreground)}
 .creator-profile .stream-history .data-table>tbody>tr>.table-row-action{display:none}
 .creator-profile .stream-history .data-table small{white-space:normal}
}

/* Creator profile actions stay reachable beside the identity and wrap on phones. */
.creator-profile .cp-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0;max-width:100%;flex-shrink:0}
.creator-profile .cp-header-actions .cp-current-stream{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:6px 11px;border:1px solid var(--cp-gold);border-radius:7px;background:var(--cp-gold);color:var(--primary-foreground);font-size:13px;font-weight:500;line-height:1.5;white-space:nowrap}
.creator-profile .cp-header-actions .cp-current-stream>svg{width:16px;height:16px;flex:none}
.creator-profile .cp-header-actions .cp-current-stream:hover:not(:disabled){background:color-mix(in srgb,var(--cp-gold) 88%,var(--cp-text));border-color:color-mix(in srgb,var(--cp-gold) 88%,var(--cp-text))}
.creator-profile .cp-header-actions .cp-current-stream:disabled{background:var(--cp-surface);border-color:var(--cp-line);color:var(--cp-muted);opacity:1;cursor:default}
.creator-profile .cp-header-actions>.portal-refresh-button{flex:none;min-height:36px;padding:6px 10px;font-size:13px;line-height:1.5}
.creator-profile .cp-header-actions .cp-live-status{font-size:12px;line-height:1.4;color:var(--cp-muted);white-space:nowrap}
@media(max-width:760px){
 .creator-profile .cp-heading{align-items:flex-start;flex-direction:column;gap:12px}
 .creator-profile .cp-header-actions{width:100%;justify-content:flex-start;gap:8px}
 .creator-profile .cp-header-actions .cp-current-stream,.creator-profile .cp-header-actions>.portal-refresh-button{min-height:44px}
}
@media(max-width:380px){
 .creator-profile .cp-header-actions .cp-live-status{flex-basis:100%;order:3}
}
@media(pointer:coarse){
 .creator-profile .cp-header-actions .cp-current-stream,.creator-profile .cp-header-actions>.portal-refresh-button{min-height:44px}
}

/* Creator Analytics: compact controls, combined identities, and phone-first cards. */
.gallery-analytics{min-width:0}
.gallery-analytics .my-creators-intro{align-items:center;gap:10px;margin-bottom:14px}
.gallery-analytics .my-creators-intro p{font-size:14px}
.gallery-analytics .my-creators-intro>span{font-size:13px}
.gallery-analytics .creator-analytics-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,230px);align-items:end;gap:12px;margin-bottom:12px}
.gallery-analytics .creator-search{display:flex;align-items:center;gap:10px;min-width:0;min-height:42px;padding:0 12px;border:1px solid var(--input);border-radius:8px;background:var(--card);color:var(--muted-foreground)}
.gallery-analytics .creator-search:focus-within{outline:2px solid var(--ring);outline-offset:2px}
.gallery-analytics .creator-search>svg{flex:none;width:18px;height:18px}
.gallery-analytics .creator-search input{min-width:0;min-height:40px;margin:0;padding:8px 0;border:0;border-radius:0;background:transparent;font-size:14px;box-shadow:none;outline:none}
.gallery-analytics .creator-search input::-webkit-search-cancel-button{display:none}
.gallery-analytics .creator-search>button{flex:none;min-width:28px;min-height:28px;padding:4px;border:0;background:transparent;color:var(--muted-foreground)}
.gallery-analytics .creator-search>button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.gallery-analytics .creator-sort-picker{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px}
.gallery-analytics .creator-sort-picker>span{flex:none}
.gallery-analytics .creator-sort-picker select{min-width:0;min-height:42px;margin:0;padding:8px 28px 8px 10px;font-size:13px}
.gallery-analytics .creator-analytics-options{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.gallery-analytics .creator-quick-filters{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap;margin-bottom:12px}
.gallery-analytics .creator-analytics-options .creator-quick-filters{margin-bottom:0}
.gallery-analytics .creator-quick-filters button{min-height:34px;gap:7px;padding:6px 11px;border:1px solid var(--border);border-radius:7px;background:var(--card);color:var(--muted-foreground);font-size:13px;font-weight:400;white-space:nowrap}
.gallery-analytics .creator-quick-filters button>span{font-size:12px;font-variant-numeric:tabular-nums}
.gallery-analytics .creator-quick-filters button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.gallery-analytics .creator-quick-filters button[aria-pressed="true"]{border-color:var(--primary);background:var(--accent);color:var(--accent-foreground);font-weight:500}
.gallery-analytics .creator-advanced-filters{min-width:0;margin-bottom:14px}
.gallery-analytics .creator-analytics-options .creator-advanced-filters{margin:0}
.gallery-analytics .creator-advanced-filters[open]{flex-basis:100%}
.gallery-analytics .creator-advanced-filters>summary{display:flex;align-items:center;gap:7px;width:fit-content;min-height:34px;padding:6px 11px;border:1px solid var(--border);border-radius:7px;background:var(--card);color:var(--foreground);font-size:13px;list-style:none;cursor:pointer}
.gallery-analytics .creator-advanced-filters>summary::-webkit-details-marker{display:none}
.gallery-analytics .creator-advanced-filters>summary>svg{flex:none;width:15px;height:15px}
.gallery-analytics .creator-advanced-filters[open]>summary{background:var(--muted);border-color:var(--input)}
.gallery-analytics .creator-filter-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px;margin-top:12px;padding:14px;border:1px solid var(--border);border-radius:9px;background:var(--card)}
.gallery-analytics .creator-filter-fields label{min-width:0;font-size:12px}
.gallery-analytics .creator-filter-fields input,.gallery-analytics .creator-filter-fields select{min-width:0;min-height:38px;font-size:13px;margin-top:5px;padding:8px 10px}
.gallery-analytics .creator-filter-fields>button{justify-self:start;min-height:34px;padding:6px 10px;border-color:var(--border);background:transparent;color:var(--foreground);font-size:12px}
.gallery-analytics .creator-filter-fields>button:hover:not(:disabled){background:var(--muted)}
.gallery-analytics .creator-filter-error{display:block;margin:8px 0 0;padding:0 2px;color:#a53c2f;font-size:12px;line-height:1.5}
.dark .gallery-analytics .creator-filter-error{color:#ffb6b6}
.gallery-analytics .creator-active-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;color:var(--muted-foreground);font-size:12px}
.gallery-analytics .creator-active-filters button{min-height:28px;padding:3px 8px;border:1px solid var(--border);background:var(--card);color:var(--foreground);font-size:12px}
.gallery-analytics .creator-active-filters button:hover:not(:disabled){background:var(--muted)}
.gallery-analytics .my-creators-table-wrap{overflow:hidden}
.gallery-analytics .data-table-scroll{max-height:none;overflow-x:auto}
.gallery-analytics .data-table-shell .my-creators-table{width:100%;min-width:0;table-layout:fixed}
.gallery-analytics .data-table-shell .my-creators-table>thead>tr>th:first-child{width:36%}
.gallery-analytics .data-table-shell .my-creators-table>thead>tr>th:nth-child(2){width:16%}
.gallery-analytics .data-table-shell .my-creators-table>thead>tr>th:nth-child(3){width:24%}
.gallery-analytics .data-table-shell .my-creators-table>thead>tr>th:nth-child(4){width:20%}
.gallery-analytics .data-table-shell .my-creators-table>thead>tr>th:last-child{width:44px;min-width:44px}
.gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary>th,.gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary>td{height:auto;min-height:56px;padding:10px 14px;white-space:normal;overflow:visible;overflow-wrap:anywhere;text-overflow:clip}
.gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary>.table-row-action{padding:4px 6px}
.gallery-analytics .creator-column-label{display:none}
.gallery-analytics .data-table-shell .my-creators-sort{display:inline-flex;align-items:center;gap:5px;width:auto;min-height:32px;padding:4px 0;white-space:nowrap}
.gallery-analytics .creator-identity-cell{display:flex;align-items:center;gap:10px;min-width:0;position:relative}
.gallery-analytics .data-table-shell .creator-identity-cell .avatar{width:36px;height:36px;min-width:36px;flex:none}
.gallery-analytics .creator-identity-text{display:flex;flex:1;flex-direction:column;gap:1px;min-width:0}
.gallery-analytics .creator-display-name{display:block;min-width:0;color:var(--foreground);font-size:14px;font-weight:500;line-height:1.4;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
.gallery-analytics .creator-display-name:hover{text-decoration:underline}
.gallery-analytics .creator-handle{display:block;min-width:0;color:var(--muted-foreground);font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.gallery-analytics .creator-identity-cell>.live-badge{flex:none;margin:0;font-size:10px;padding:1px 5px}
.gallery-analytics .data-table-shell .my-creator-streak{justify-content:flex-start;gap:5px;white-space:normal;font-size:13px}
.gallery-analytics .data-table-shell .my-creator-streak strong{font-size:15px}
.gallery-analytics .data-table-shell .my-creator-streak svg{width:16px;height:16px;flex:none}
.gallery-analytics .data-table-shell .my-creators-table small{display:block;margin:3px 0 0;font-size:11px;white-space:normal}
.gallery-analytics .data-table-shell .my-creator-summary>.creator-streak-cell>small{display:block}
.gallery-analytics .creator-gallery-value{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%}
.gallery-analytics .creator-gallery-value .my-creator-league{flex:none}
.gallery-analytics .creator-gallery-progress{display:flex;flex-direction:column;gap:5px;min-width:0;width:76px;max-width:100%}
.gallery-analytics .creator-gifts-filled{display:block;font-size:12px;font-variant-numeric:tabular-nums;line-height:1.3;white-space:nowrap}
.gallery-analytics .creator-gallery-track{display:block;height:4px;width:100%;overflow:hidden;border-radius:4px;background:var(--muted)}
.gallery-analytics .creator-gallery-track>span{display:block;height:100%;max-width:100%;border-radius:inherit;background:var(--primary)}
.gallery-analytics .creator-activity-cell .creator-last-live,.gallery-analytics .creator-activity-cell .creator-last-live-now{display:block;min-height:0;font-size:12px;line-height:1.4}
.gallery-analytics .creator-activity-cell .creator-view-streams{display:inline-flex;align-items:center;gap:4px;min-height:26px;margin:4px 0 0;padding:3px 0;border:0;border-radius:3px;background:transparent;color:var(--primary);font-size:12px;opacity:1;white-space:nowrap;text-decoration:none}
.gallery-analytics .creator-activity-cell .creator-view-streams:hover{background:transparent;text-decoration:underline}
.gallery-analytics .my-creators-notes{font-size:12px;line-height:1.5;margin-top:12px}
.gallery-analytics .creator-data-notes>summary{width:fit-content;min-height:32px;padding:5px 0;color:var(--muted-foreground);font-size:12px;cursor:pointer}
.gallery-analytics .creator-filter-empty{color:var(--muted-foreground)}
.gallery-analytics .creator-filter-empty button{min-height:32px;padding:4px 8px;margin:4px;border-color:var(--border);background:var(--card);color:var(--foreground);font-size:12px}
.analytics-collection-notice.analytics-collection-notice-compact{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:0;padding:4px 12px;margin-bottom:16px}
.analytics-collection-notice.analytics-collection-notice-compact>svg{width:17px;height:17px}
.analytics-collection-notice.analytics-collection-notice-compact>details{min-width:0}
.analytics-collection-notice.analytics-collection-notice-compact summary{display:flex;align-items:center;gap:7px;min-height:40px;color:var(--muted-foreground);list-style:none;cursor:pointer}
.analytics-collection-notice.analytics-collection-notice-compact summary::-webkit-details-marker{display:none}
.analytics-collection-notice.analytics-collection-notice-compact summary:after{content:'⌄';flex:none;color:var(--muted-foreground)}
.analytics-collection-notice.analytics-collection-notice-compact details[open] summary:after{content:'⌃'}
.analytics-collection-notice.analytics-collection-notice-compact strong{font-size:12px;font-weight:400;line-height:1.4}
.analytics-collection-notice.analytics-collection-notice-compact p{margin:0 0 10px;font-size:12px;line-height:1.5}
.analytics-collection-notice.analytics-collection-notice-compact>a{min-height:40px;display:flex;align-items:center;margin:0;padding:5px 0;font-size:12px;font-weight:500;white-space:nowrap}
@media(max-width:1000px) and (min-width:761px){
 .gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary>th,.gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary>td{padding-inline:10px}
 .gallery-analytics .creator-gallery-value{gap:7px}
 .gallery-analytics .creator-gallery-progress{width:60px}
 .gallery-analytics .data-table-shell .my-creators-table>thead>tr>th:first-child{width:35%}
}
@media(max-width:760px){
 .gallery-analytics .my-creators-intro{flex-direction:row;align-items:baseline;gap:8px}
 .gallery-analytics .my-creators-intro p{font-size:13px;max-width:70%}
 .gallery-analytics .my-creators-intro>span{font-size:12px;gap:5px;white-space:normal;text-align:right;justify-content:flex-end}
 .gallery-analytics .creator-analytics-toolbar{grid-template-columns:minmax(0,1fr);gap:10px}
 .gallery-analytics .creator-search input{min-height:44px;font-size:16px}
 .gallery-analytics .creator-search>button{min-width:44px;min-height:44px;margin-right:-8px}
 .gallery-analytics .creator-active-filters button,.gallery-analytics .creator-data-notes>summary{min-height:44px}
 .gallery-analytics .creator-sort-picker{justify-self:stretch;justify-content:space-between;font-size:12px}
 .gallery-analytics .creator-sort-picker select{width:auto;max-width:calc(100% - 56px);min-height:44px;font-size:16px}
 .gallery-analytics .creator-analytics-options{gap:10px;margin-bottom:12px}
 .gallery-analytics .creator-quick-filters{gap:5px}
 .gallery-analytics .creator-quick-filters button{min-height:44px;padding:7px 9px;font-size:12px;gap:5px}
 .gallery-analytics .creator-quick-filters button>span{font-size:11px}
 .gallery-analytics .creator-advanced-filters>summary{min-height:44px;padding:7px 9px;font-size:12px}
 .gallery-analytics .creator-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;padding:12px}
 .gallery-analytics .creator-filter-fields input,.gallery-analytics .creator-filter-fields select{min-height:44px;font-size:16px;padding:8px}
 .gallery-analytics .creator-filter-fields>button{min-height:44px;grid-column:1/-1}
 .gallery-analytics .my-creators-table-wrap{border:0;border-radius:0;background:transparent;overflow:visible}
 .gallery-analytics .data-table-shell{background:transparent;border-radius:0;overflow:visible}
 .gallery-analytics .data-table-scroll{overflow:visible;max-height:none}
 .gallery-analytics .data-table-shell .my-creators-table{display:block;min-width:0;width:100%;table-layout:auto}
 .gallery-analytics .data-table-shell .my-creators-table>thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .gallery-analytics .data-table-shell .my-creators-table .my-creators-sort{display:none}
 .gallery-analytics .creator-column-label{display:inline}
 .gallery-analytics .data-table-shell .my-creators-table>tbody{display:grid;gap:10px}
 .gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;margin:0;padding:14px;border:1px solid var(--border);border-radius:10px;background:var(--card)}
 .gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary:last-child{border-bottom:1px solid var(--border)}
 .gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary>th,.gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary>td{display:block;position:static;min-width:0;width:auto;max-width:none;min-height:0;height:auto;padding:0;border:0;box-shadow:none;white-space:normal;text-align:left;background:transparent}
 .gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary>th{grid-column:1/-1}
 .gallery-analytics .data-table-shell .my-creators-table .creator-identity-cell .avatar{width:40px;height:40px;min-width:40px}
 .gallery-analytics .creator-identity-text{gap:2px}
 .gallery-analytics .creator-display-name{font-size:15px}
 .gallery-analytics .creator-handle{font-size:12px}
 .gallery-analytics .creator-identity-cell>.live-badge{font-size:10px}
 .gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary>td[data-label]:before{display:block;content:attr(data-label);margin:0 0 5px;color:var(--muted-foreground);font-size:11px;line-height:1.4;white-space:normal}
 .gallery-analytics .data-table-shell .my-creators-table .my-creator-streak{min-height:26px;font-size:13px;gap:5px}
 .gallery-analytics .data-table-shell .my-creators-table .my-creator-streak strong{font-size:16px}
 .gallery-analytics .data-table-shell .my-creators-table .my-creator-unavailable{min-height:26px;font-size:12px;line-height:1.5}
 .gallery-analytics .data-table-shell .my-creator-summary>.creator-streak-cell>small{display:block;margin-top:3px;font-size:11px;line-height:1.4}
 .gallery-analytics .creator-gallery-value{min-height:26px;gap:9px}
 .gallery-analytics .data-table-shell .my-creator-league{font-size:12px;padding:3px 6px;gap:4px}
 .gallery-analytics .creator-gallery-progress{width:68px;gap:5px}
 .gallery-analytics .creator-gifts-filled{font-size:12px}
 .gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary>.creator-activity-cell{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:10px;grid-column:1/-1;align-items:center;margin-top:0;padding-top:10px;border-top:1px solid var(--border)}
 .gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary>.creator-activity-cell:before{grid-column:1;grid-row:1;margin:0 0 2px}
 .gallery-analytics .creator-activity-cell .creator-last-live,.gallery-analytics .creator-activity-cell .creator-last-live-now{grid-column:1;grid-row:2;min-height:0;font-size:12px;line-height:1.4}
 .gallery-analytics .creator-activity-cell .creator-view-streams{grid-column:2;grid-row:1/3;align-self:center;display:inline-flex;min-height:44px;margin:0;padding:6px 10px;border:1px solid var(--border);border-radius:7px;background:var(--background);font-size:12px;white-space:nowrap}
 .gallery-analytics .creator-activity-cell .creator-view-streams:hover{background:var(--muted)}
 .gallery-analytics .data-table-shell .my-creators-table>thead>tr>.table-row-action,.gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary>.table-row-action{display:none}
 .gallery-analytics .data-table-shell .my-creators-table>tbody>tr:has(>.creator-filter-empty){display:block}
 .gallery-analytics .data-table-shell .my-creators-table>tbody>tr>.creator-filter-empty{display:block;width:100%;padding:24px 14px;border:1px solid var(--border);border-radius:10px;background:var(--card);font-size:13px;text-align:center}
}
@media(max-width:600px){
 .analytics-collection-notice.analytics-collection-notice-compact{grid-template-columns:17px minmax(0,1fr);align-items:start;padding:4px 10px;column-gap:8px}
 .analytics-collection-notice.analytics-collection-notice-compact>svg{align-self:start;margin-top:12px}
 .analytics-collection-notice.analytics-collection-notice-compact summary{min-height:44px}
 .analytics-collection-notice.analytics-collection-notice-compact>a{grid-column:2;min-height:44px;margin:-3px 0 3px;justify-self:start;padding:3px 0;font-size:12px}
}
@media(max-width:380px){
 .gallery-analytics .my-creators-intro{align-items:flex-start}
 .gallery-analytics .my-creators-intro p{max-width:65%;font-size:12px}
 .gallery-analytics .creator-quick-filters button{padding-inline:8px;gap:4px}
 .gallery-analytics .data-table-shell .my-creators-table>tbody>.my-creator-summary{padding:12px;gap:12px 10px}
 .gallery-analytics .creator-identity-cell{gap:8px}
 .gallery-analytics .creator-gallery-value{gap:6px}
 .gallery-analytics .creator-gallery-progress{width:56px}
 .gallery-analytics .creator-filter-fields{padding:10px;gap:10px 8px}
}
@media(pointer:coarse){
 .gallery-analytics .creator-identity-cell{min-height:44px}
 .gallery-analytics .creator-display-name:after{content:'';position:absolute;inset:0}
 .gallery-analytics .creator-search>button{min-width:44px;min-height:44px;margin-right:-8px}
 .gallery-analytics .creator-sort-picker select,.gallery-analytics .creator-quick-filters button,.gallery-analytics .creator-advanced-filters>summary,.gallery-analytics .creator-filter-fields>button,.gallery-analytics .creator-active-filters button,.gallery-analytics .creator-activity-cell .creator-view-streams,.gallery-analytics .creator-data-notes>summary{min-height:44px}
 .gallery-analytics .creator-search input,.gallery-analytics .creator-sort-picker select,.gallery-analytics .creator-filter-fields input,.gallery-analytics .creator-filter-fields select{min-height:44px;font-size:16px}
 .analytics-collection-notice.analytics-collection-notice-compact summary,.analytics-collection-notice.analytics-collection-notice-compact>a{min-height:44px}
}

.euler-explorer{max-width:1500px;min-width:0}.euler-heading{display:flex;align-items:start;justify-content:space-between;gap:20px;margin:24px 0}.euler-heading h2{font-size:28px;margin-bottom:8px}.euler-heading p,.euler-muted{color:var(--muted-foreground)}.euler-heading p{margin:0}.euler-connection{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:20px 24px;background:var(--secondary);border:1px solid var(--border);border-radius:12px;margin-bottom:24px}.euler-connection p{margin:6px 0 0;font-size:14px;overflow-wrap:anywhere}.euler-connection details{font-size:13px;margin-top:10px}.euler-connection summary{cursor:pointer}.euler-connection-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;flex-shrink:0}.euler-connection-actions a,.euler-request header>a{display:inline-flex;align-items:center;gap:5px;font-size:14px}.euler-layout{display:grid;grid-template-columns:minmax(230px,310px) minmax(0,1fr);gap:24px;align-items:start}.euler-catalog,.euler-request,.euler-response{border:1px solid var(--border);background:var(--card);border-radius:12px;min-width:0}.euler-filters{padding:20px;border-bottom:1px solid var(--border)}.euler-filters label{display:flex;align-items:center;gap:7px}.euler-filters label:not(:first-child){margin-top:14px}.euler-filters p{margin:12px 0 0;font-size:13px;color:var(--muted-foreground)}.euler-route-list{max-height:850px;overflow:auto;padding:12px}.euler-category{margin-bottom:16px}.euler-category:last-child{margin-bottom:0}.euler-category h3{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted-foreground);margin:12px 8px}.euler-route{width:100%;display:flex;flex-direction:column;align-items:start;gap:7px;text-align:left;background:transparent;color:var(--foreground);border-color:transparent;margin-bottom:4px;padding:12px 10px;border-radius:8px}.euler-route:hover:not(:disabled){background:var(--muted)}.euler-route[aria-current=true]{background:var(--secondary);border-color:#d5c8ac}.euler-route>span{display:flex;align-items:center;gap:8px}.euler-route strong{font-size:14px;font-weight:500;line-height:1.4}.euler-route code{font-size:11px;color:var(--muted-foreground);overflow-wrap:anywhere;white-space:normal}.euler-route small{font-size:11px;color:#91632b}.euler-method{font-size:10px;font-weight:600;letter-spacing:.04em;background:#edf2ed;color:#326c43;border-radius:4px;padding:3px 6px;white-space:nowrap}.euler-method-post,.euler-method-patch,.euler-method-put{background:#f5ecd8;color:#805c13}.euler-method-delete{background:#fbeaea;color:#a53535}.euler-workspace{min-width:0;display:grid;gap:24px}.euler-request,.euler-response{padding:24px}.euler-request header,.euler-response>header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.euler-request header>div{display:flex;align-items:center;gap:10px;min-width:0}.euler-request h3,.euler-response h3{margin:0;font-size:20px}.euler-request h3{overflow-wrap:anywhere}.euler-path{display:block;font-size:13px;overflow-wrap:anywhere;padding:12px;background:var(--muted);border-radius:6px;margin:0 0 16px}.euler-request>p{font-size:14px;color:var(--muted-foreground)}.euler-scope code{color:var(--foreground);overflow-wrap:anywhere}.euler-notice{border-left:3px solid #b28732;background:#fcf7e9;padding:12px}.euler-request fieldset{border:0;padding:0;margin:24px 0;min-width:0}.euler-request legend{font-size:15px;font-weight:600;padding:0;margin-bottom:16px}.euler-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.euler-input-json{grid-column:1/-1}.euler-input label{font-weight:500;color:var(--foreground);display:block}.euler-input label>span{display:block;font-weight:400;color:var(--muted-foreground);font-size:12px;margin-top:3px}.euler-input small{display:block;font-size:12px;color:var(--muted-foreground);margin-top:6px;overflow-wrap:anywhere}.euler-input textarea{font:13px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace}.euler-confirm{display:flex;align-items:start;gap:10px;padding:14px;margin-top:20px;background:#fcf7e9;border:1px solid #ebdbb3;border-radius:8px;color:var(--foreground)}.euler-confirm input{width:18px;min-height:18px;height:18px;margin:3px 0 0;flex:none;accent-color:var(--primary)}.euler-run{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.euler-run>span{font-size:12px;color:var(--muted-foreground)}.euler-request>.euler-muted{margin:12px 0 0}.euler-empty{padding:24px;color:var(--muted-foreground);font-size:14px;display:flex;align-items:center;gap:10px}.euler-welcome{display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;padding:80px 30px;border:1px dashed var(--input);border-radius:12px}.euler-welcome h3{color:var(--foreground);margin:12px 0 0}.euler-welcome p{max-width:400px;margin:0}.euler-response-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.euler-view-toggle{display:inline-flex;border:1px solid var(--input);border-radius:7px;overflow:hidden}.euler-view-toggle button{border:0;border-radius:0;background:var(--card);color:var(--muted-foreground);font-size:12px;min-height:36px;padding:7px 12px}.euler-view-toggle button[aria-pressed=true]{background:var(--secondary);color:var(--foreground)}.euler-view-toggle button:hover{background:var(--muted)}.euler-response-meta{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:12px;padding:12px 0;border-top:1px solid var(--border)}.euler-http-ok{color:#326c43}.euler-http-error{color:#a53535}.euler-request-sent{font-size:12px;overflow-wrap:anywhere;color:var(--muted-foreground)}.euler-response .euler-muted{font-size:12px}.euler-response-body{max-height:680px;overflow:auto;border:1px solid var(--border);border-radius:8px;background:#fcfcfa;padding:16px;min-width:0}.euler-response-body pre{font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2}.euler-tree{font-size:13px;min-width:0}.euler-tree summary{font-weight:500;cursor:pointer;color:var(--muted-foreground);padding:4px 0}.euler-tree dl{margin:4px 0 0 6px;padding-left:12px;border-left:1px solid var(--border)}.euler-tree dl>div{padding:7px 0;border-bottom:1px solid var(--border)}.euler-tree dl>div:last-child{border:0}.euler-tree dt{font-weight:500;overflow-wrap:anywhere}.euler-tree dd{margin:3px 0 0;min-width:0;overflow-wrap:anywhere}.euler-value{white-space:pre-wrap}.euler-value-number,.euler-value-boolean{color:#3759a2}.euler-null{color:var(--muted-foreground);font-style:italic}.euler-tree>button{font-size:12px;margin-top:10px;min-height:32px}.euler-response>header h3{font-size:18px}
@media(min-width:1250px){.euler-tree dl>div{display:grid;grid-template-columns:minmax(90px,30%) minmax(0,1fr);gap:12px}.euler-tree dd{margin:0}.euler-tree .euler-tree dl>div{display:block}}
@media(max-width:1150px){.euler-connection{flex-direction:column}.euler-layout{grid-template-columns:250px minmax(0,1fr);gap:16px}.euler-inputs{grid-template-columns:1fr}.euler-request,.euler-response{padding:20px}}
@media(max-width:700px){.euler-heading{flex-direction:column;gap:8px}.euler-heading h2{font-size:24px}.euler-connection{padding:18px}.euler-layout{grid-template-columns:1fr}.euler-route-list{max-height:300px}.euler-filters{padding:16px}.euler-request,.euler-response{padding:16px}.euler-request header{align-items:start}.euler-request header>div{align-items:start}.euler-request h3{font-size:18px}.euler-response-tools{width:100%;justify-content:space-between}.euler-response-body{padding:12px;max-height:540px}.euler-welcome{padding:36px 22px}.euler-connection-actions{width:100%;justify-content:space-between}.euler-input input,.euler-input textarea{max-width:100%}.euler-tree dl{padding-left:8px;margin-left:3px}}

/* Explicit dark selectors override the portal's generic dark button styles. */
.dark .euler-category h3{color:#e6ba63;font-weight:600}
.dark .euler-route{background:#222831;border:1px solid #414b59;color:#f4f6f9;margin-bottom:8px;padding:14px 12px}
.dark .euler-route strong{color:#f4f6f9;font-weight:600;font-size:15px}
.dark .euler-route code{color:#c4cfde;font-size:12px;line-height:1.5}
.dark .euler-route small{color:#f2cf8d}
.dark .euler-route:hover:not(:disabled){background:#303b49;border-color:#8a9cb3;color:#fff}
.dark .euler-route[aria-current=true],.dark .euler-route[aria-current=true]:hover:not(:disabled){background:#3a3120;border-color:#e6ba63;box-shadow:inset 3px 0 #e6ba63}
.dark .euler-route[aria-current=true] strong{color:#ffe4ae}
.dark .euler-route[aria-current=true] code{color:#f1dbb2}
.dark .euler-method{background:#213e30;color:#a0e8bb;border:1px solid #42674f}
.dark .euler-method-post,.dark .euler-method-patch,.dark .euler-method-put{background:#453718;color:#ffda84;border-color:#7f6533}
.dark .euler-method-delete{background:#482a31;color:#ffb8c5;border-color:#81505b}
.dark .euler-view-toggle button{background:#222831;color:#c4cfde}
.dark .euler-view-toggle button[aria-pressed=true]{background:#3a3120;color:#ffe4ae;box-shadow:inset 0 -2px #e6ba63}
.dark .euler-view-toggle button:hover:not(:disabled){background:#303b49;color:#fff}
.dark .euler-response-body{background:#12171e;color:#edf0f3;border-color:#414b59}
.dark .euler-response-body pre{color:#edf0f3}
.dark .euler-tree dt{color:#e0e6ef}
.dark .euler-tree summary,.dark .euler-null{color:#b9c6d8}
.dark .euler-value-number,.dark .euler-value-boolean{color:#a9c7ff}
.dark .euler-http-ok{color:#a0e8bb}
.dark .euler-http-error{color:#ffb8c5}
.dark .euler-notice,.dark .euler-confirm{background:#3a3120;color:#f1dbb2;border-color:#8b703b}

/* Tournament setup follows the portal's warm, restrained palette. */
.tb-setup-choice{max-width:640px;margin:10px 0 24px}
.tb-setup-choice fieldset{border:0;padding:0;margin:0 0 20px;display:grid;gap:12px;min-width:0}
.tb-setup-choice legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tournament-builder .tb-setup-choice label{display:flex;flex-direction:row;align-items:center;gap:14px;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--foreground);cursor:pointer}
.tb-setup-choice label.is-selected{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 6%,var(--card))}
.tb-setup-choice label>svg{flex-shrink:0;color:var(--primary)}
.tb-setup-choice label>span{flex:1;min-width:0}
.tb-setup-choice strong{display:block;font-size:15px;font-weight:600;margin-bottom:5px}
.tb-setup-choice small{display:block;font-size:13px;line-height:1.5;color:var(--muted-foreground)}
.tournament-builder .tb-setup-choice input{width:18px;height:18px;min-height:18px;padding:0;flex-shrink:0;accent-color:var(--primary)}
@media(max-width:600px){.tb-setup-choice label{gap:10px;padding:14px}.tb-editor-heading{flex-wrap:wrap}.tb-setup-choice>button{min-height:44px}}
.tournament-builder .tb-day-date{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 16px}.tb-day-date input{width:155px}
.tb-directory-heading,.tb-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}
.tb-directory-heading h2,.tb-editor-heading h2,.tb-intro h2{margin:0 0 10px;font-size:28px;line-height:1.2;letter-spacing:-.035em}
.tb-directory-heading p,.tb-editor-heading p,.tb-intro p{margin:0;color:var(--muted-foreground);font-size:14px;max-width:690px;line-height:1.6}
.tb-directory{max-width:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,400px),1fr));gap:16px}
.tb-directory .tournament-card{padding:22px;gap:16px}.tb-directory .tournament-card strong{font-size:19px;overflow-wrap:anywhere}
.tournament-builder{max-width:1260px;padding-bottom:20px}.tb-eyebrow{display:block;color:var(--primary);font-size:11px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;margin-bottom:10px}
.tb-intro{margin:5px 0 30px}.tb-intro h2{font-size:34px}.tb-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tournament-builder .tb-type-grid>button{display:flex;align-items:flex-start;flex-direction:column;white-space:normal;text-align:left;border:1px solid var(--border);background:var(--card);border-radius:16px;padding:26px;min-height:235px;color:var(--foreground);cursor:pointer;transition:border-color .15s,background .15s}
.tb-type-grid>button:hover{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 4%,var(--card))}.tb-type-grid h3{font-size:20px;margin:19px 0 8px;letter-spacing:-.025em}.tb-type-grid p{color:var(--muted-foreground);font-size:14px;line-height:1.6;margin:0 0 24px;max-width:460px}
.tb-type-icon{display:grid;place-items:center;width:44px;height:44px;background:color-mix(in srgb,var(--primary) 11%,var(--card));color:var(--primary);border:1px solid color-mix(in srgb,var(--primary) 24%,transparent);border-radius:12px}.tb-type-action{display:flex;align-items:center;gap:8px;margin-top:auto;font-size:12px;color:var(--primary);font-weight:600}
.tb-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-shrink:0}.tb-settings{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--card);margin-bottom:22px}
.tb-response-policy{display:flex;align-items:flex-start;justify-content:space-between;gap:16px 28px;flex-wrap:wrap;padding:16px 20px;margin-bottom:22px;border:1px solid var(--border);border-radius:12px;background:var(--card)}
.tb-response-policy>div{flex:1 1 360px;min-width:0}.tb-response-policy h3{font-size:14px;font-weight:600;margin:0 0 6px}.tb-response-policy p{font-size:12px;line-height:1.55;color:var(--muted-foreground);margin:4px 0 0}.tb-response-policy>label{flex:0 1 auto;max-width:100%}.tb-response-policy-value{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted-foreground)}.tournament-builder .tb-response-policy-value input{width:88px;min-width:88px;min-height:40px;color:var(--foreground)}
@media(max-width:520px){.tb-response-policy{padding:15px}.tournament-builder .tb-response-policy-value input{font-size:16px;min-height:44px}}
.tournament-builder label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:500;min-width:0;color:var(--muted-foreground)}
.tournament-builder input,.tournament-builder select,.tournament-builder textarea{font-family:inherit;color:var(--foreground);border:1px solid var(--border);background:var(--background);border-radius:7px;padding:8px 10px;margin:0;font-size:14px;min-width:0;max-width:100%;min-height:38px;line-height:1.4;box-sizing:border-box}
.tournament-builder textarea{width:100%;resize:vertical;font-size:13px}.tournament-builder input:focus,.tournament-builder select:focus,.tournament-builder textarea:focus{outline:1px solid var(--primary);outline-offset:1px}.tournament-builder :disabled{opacity:.65}.tournament-builder small{color:var(--muted-foreground);font-size:11px;line-height:1.5;font-weight:400}
.tb-rumble-settings{display:flex;gap:18px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.tb-rumble-settings label{min-width:170px}.tb-rumble-settings p{max-width:430px;margin:14px 0 0;font-size:13px;color:var(--muted-foreground);line-height:1.55;flex:1}
.tb-generator{padding:16px 18px;border:1px solid var(--border);border-radius:10px;margin-bottom:22px;background:color-mix(in srgb,var(--muted) 35%,var(--background))}.tb-generator>summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--foreground)}.tb-generator>p{font-size:12px;line-height:1.6;color:var(--muted-foreground);margin:12px 0}.tb-generator>button{margin-top:12px}.tb-generator-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;margin-top:14px}.tb-generator-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.tb-lineups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,410px),1fr));gap:20px}.tb-lineup{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--card);min-width:0}.tb-lineup>header{display:flex;gap:12px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--border)}.tb-lineup>header input{font-size:17px;font-weight:600;background:transparent;border:1px solid transparent;flex:1;padding:4px 2px}.tb-lineup>header input:hover:not(:disabled){border-color:var(--border)}.tb-lineup>header small{white-space:nowrap}
.tb-lineup-group{margin:14px;border:1px solid transparent;border-radius:8px;min-height:70px}.tb-lineup-group.tb-opening{border-color:color-mix(in srgb,var(--primary) 55%,var(--border));background:color-mix(in srgb,var(--primary) 4%,var(--card))}.tb-lineup-group h4{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 12px;margin:0;font-size:11px;font-weight:500;color:var(--muted-foreground);text-transform:uppercase;letter-spacing:.065em}.tb-lineup-group h4 span{font-size:10px;letter-spacing:0;text-transform:none}.tb-lineup-group ol{margin:0;padding:0;list-style:none}
.tb-entry{display:flex;align-items:center;gap:7px;min-width:0;padding:8px;border-top:1px solid var(--border);cursor:grab}.tb-entry>svg{color:var(--muted-foreground);flex-shrink:0}.tb-entry.is-dragging{opacity:.4}.tb-position{font-size:11px;width:17px;flex-shrink:0;color:var(--muted-foreground);text-align:center}.tb-members{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.tb-members>div{display:flex;align-items:center;gap:7px;min-width:0}.tb-avatar{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border-radius:50%;background:var(--muted);color:var(--muted-foreground);font-size:11px}.tournament-builder .tournament-avatar{width:25px;height:25px;flex-basis:25px;font-size:11px}
.tournament-builder .tb-username-input{width:100%;min-height:30px;border-color:transparent;background:transparent;font-size:13px;padding:4px}.tb-username-input:hover:not(:disabled){border-color:var(--border)}.tb-username-input:disabled{opacity:1;color:var(--foreground)}
.tb-row-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}.tournament-builder .tb-row-actions button{display:grid;place-items:center;min-height:30px;min-width:27px;padding:3px;border:0;border-radius:5px;background:transparent;color:var(--muted-foreground);cursor:pointer}.tb-row-actions button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}.tb-row-actions .tb-remove:hover:not(:disabled){color:#f39595}.tournament-builder .tb-row-actions select{max-width:88px;min-height:29px;font-size:10px;padding:3px}
.tb-empty{font-size:12px;color:var(--muted-foreground);padding:10px 12px;margin:0}.tournament-builder .tb-add-row{margin:0 14px 14px;max-width:calc(100% - 28px);white-space:normal}.tb-schedule-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:24px 0 16px}.tb-schedule-heading h3{font-size:18px;margin:0 0 8px}.tb-schedule-heading p{font-size:12px;color:var(--muted-foreground);margin:10px 0 0}.tb-day-tabs{display:flex;gap:8px}.tb-day-tabs button>span{border-radius:20px;background:#ffffff15;padding:1px 7px;font-size:10px}.tb-day-note{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:12px 15px;border-left:2px solid var(--primary);font-size:12px;color:var(--muted-foreground);background:color-mix(in srgb,var(--primary) 5%,var(--background));margin-bottom:18px;line-height:1.6}
.tb-empty-schedule{display:flex;flex-direction:column;align-items:center;text-align:center;border:1px dashed var(--border);border-radius:12px;padding:38px 24px;color:var(--muted-foreground);margin-bottom:20px}.tb-empty-schedule h4,.tb-empty-schedule h3{font-size:17px;color:var(--foreground);font-weight:500;margin:14px 0 8px}.tb-empty-schedule p{margin:0;font-size:13px;max-width:500px;line-height:1.6}
.tb-match-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,470px),1fr));align-items:start;gap:18px}.tb-match{min-width:0;background:var(--card);border:1px solid var(--border);border-radius:12px;overflow:visible}.tb-match>header{display:flex;align-items:center;gap:8px;padding:13px 14px;border-bottom:1px solid var(--border);cursor:grab}.tb-match>header>svg{color:var(--muted-foreground);flex-shrink:0}.tb-match-number{font-size:11px;color:var(--primary);font-variant-numeric:tabular-nums}.tb-match-title{min-width:0;flex:1}.tb-match-title input{font-size:15px;min-height:27px;font-weight:600;background:transparent;border-color:transparent;padding:2px;width:100%}.tb-rule{display:block;font-size:10px;color:var(--muted-foreground);margin:3px 0 0 2px;letter-spacing:.015em}.tb-match-meta{display:flex;flex-wrap:wrap;align-items:flex-start;gap:16px;padding:13px 15px;background:color-mix(in srgb,var(--muted) 25%,var(--card))}.tb-match-format-controls>label{max-width:105px;flex-shrink:0}.tb-match-format-controls>label.tb-series-field,.tb-match-format-controls>label.tb-strikes-field{max-width:none;width:126px}.tb-strike-help{flex:0 0 100%;color:var(--muted-foreground);font-size:11px;line-height:1.5}.tb-match-meta select{font-size:12px;min-height:33px;padding:5px 8px}.tb-match-time{display:flex;align-items:center;gap:6px;flex:1 1 150px;flex-wrap:wrap;font-size:12px;padding-top:3px;color:var(--foreground);min-width:0}.tb-match-time>svg{color:var(--muted-foreground);flex-shrink:0}.tb-match-time>time{overflow-wrap:anywhere;flex:1;min-width:0}.tournament-builder .tb-edit-time{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;min-height:28px;padding:4px;border:0;border-radius:5px;background:transparent;color:var(--muted-foreground);cursor:pointer}.tb-edit-time:hover:not(:disabled),.tb-edit-time[aria-expanded="true"]{color:var(--primary);background:var(--muted)}.tb-time-panel{flex:0 0 100%;min-width:0}.tb-time-editor{display:flex;gap:8px;flex-wrap:wrap;padding:11px 0 0}.tb-time-editor label{flex:1;min-width:110px}.tb-time-editor input{font-size:12px;min-height:34px;width:100%}.tb-time-editor small{width:100%}.tb-time-editor .tb-tbd{font-size:11px;border:0;background:transparent;color:var(--muted-foreground);cursor:pointer;padding:4px}
.tb-match-slots{padding:5px 14px 13px}.tb-match-slot{display:flex;gap:7px;align-items:center;flex-wrap:wrap;min-width:0;padding:9px 0;border-bottom:1px solid var(--border);cursor:grab}.tb-match-slot>svg{color:var(--muted-foreground);flex-shrink:0}.tb-slot-number{font-size:10px;color:var(--muted-foreground);min-width:12px;flex-shrink:0}.tb-slot-identity{flex:1;min-width:90px}.tb-slot-identity>strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.tb-slot-identity>small{display:block;font-size:10px;margin-top:2px}.tb-match-slot.is-winner .tb-slot-identity{color:#96d5a4}.tb-match-slot .tb-winner-check{color:#96d5a4}.tb-match-slots.is-teams .tb-match-slot:nth-child(3){margin-top:12px;border-top:1px solid var(--border)}
.tournament-builder .tb-source-select{margin:3px 0 0 47px;font-size:11px;min-height:28px;padding:4px 8px;width:calc(100% - 47px)}.tb-move-slot{width:100%;padding-top:7px}.tb-move-slot select{font-size:12px;max-width:100%;width:100%}.tb-match-result{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;padding:13px 15px;border-top:1px solid var(--border)}.tb-match-result>span{font-size:11px;color:var(--muted-foreground);width:100%}.tb-match-result label{flex-direction:row;align-items:center;gap:8px;flex-wrap:wrap}.tb-match-result select{min-height:31px;max-width:240px;padding:4px 8px;font-size:12px}.tb-match-result>small{width:100%}.tb-winner{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:500;color:#96d5a4;overflow-wrap:anywhere;min-width:0}
.tb-savebar{position:sticky;bottom:10px;z-index:10;display:flex;gap:16px;align-items:center;justify-content:space-between;padding:13px 16px;background:var(--card);border:1px solid var(--border);border-radius:12px;box-shadow:0 4px 25px #0003;margin-top:24px}.tb-savebar>div:first-child{min-width:0}.tb-savebar strong{display:block;font-size:12px;font-weight:500}.tb-savebar small{display:block;margin-top:3px}.tb-savebar>div:last-child{display:flex;gap:8px}.tb-error{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:10px;z-index:12;font-size:13px;line-height:1.5;color:#ffc1b5;background:#34231f;border:1px solid #795144;border-radius:9px;padding:13px 16px;margin:16px 0}.tb-readonly{font-size:13px;color:var(--muted-foreground);padding:12px 0}
.tournament-builder .is-drop-target{box-shadow:inset 0 3px 0 var(--primary);background:color-mix(in srgb,var(--primary) 9%,var(--card))}.tournament-builder button:focus-visible,.tournament-builder summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
@media(max-width:800px){.tb-type-grid{gap:12px}.tournament-builder .tb-type-grid>button{padding:20px}.tb-settings{grid-template-columns:1fr}.tb-editor-heading{flex-direction:column;gap:14px}.tb-header-actions{width:100%}.tb-rumble-settings p{flex-basis:100%;margin-top:0}.tb-match-list{grid-template-columns:1fr}.tb-directory-heading{align-items:center}.tb-day-note{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.tb-type-grid{grid-template-columns:1fr}.tournament-builder .tb-type-grid>button{min-height:0}.tb-type-grid h3{margin-top:12px}.tb-type-grid p{margin-bottom:16px}.tb-intro h2{font-size:28px}.tb-directory-heading{flex-direction:column;align-items:flex-start;gap:16px}.tb-settings{padding:15px;gap:15px}.tb-rumble-settings{gap:12px}.tb-rumble-settings label{min-width:0;flex:1}.tb-entry{flex-wrap:wrap}.tb-entry .tb-row-actions{width:100%;justify-content:flex-end;padding-top:3px}.tb-entry .tb-members{min-width:180px}.tournament-builder .tb-row-actions button{min-width:31px;min-height:32px}.tb-savebar{flex-wrap:wrap;bottom:6px}.tb-savebar>div:last-child{margin-left:auto}.tb-savebar small{max-width:270px}.tb-generator-footer{align-items:flex-start;flex-direction:column}.tb-schedule-heading{flex-wrap:wrap}.tb-match>header{padding:11px 10px;gap:5px}.tb-match>header .tb-row-actions{gap:0}.tb-match-title input{font-size:14px}.tb-match-result select{max-width:190px}.tb-match-meta{padding:12px}.tb-match-slots{padding-left:10px;padding-right:10px}.tb-error{flex-wrap:wrap}.tb-type-grid p{font-size:13px}}

.tb-schedule-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-shrink:1;min-width:0;max-width:100%}.tb-import{padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--card);margin-bottom:20px}.tb-import p,.tb-move-help{font-size:12px;line-height:1.6;color:var(--muted-foreground);margin:12px 0 16px}.tb-import-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}.tb-import .tb-import-error{color:#ffc1b5;margin-bottom:0}.tb-import textarea{margin-top:3px}

.tb-time-editor{border-top:1px solid var(--border);margin-top:5px}.tb-time-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;width:100%}.tb-time-actions .tb-tbd{margin-right:auto}.tb-time-error{flex:0 0 100%;margin:0;color:var(--destructive);font-size:12px;line-height:1.4}

/* Shared status controls are small squares with an explicit selected mark. */
.participant-status{display:flex;flex-shrink:0;align-items:center;gap:5px;padding:3px}
.participant-status .status-square{width:22px;height:22px;min-width:22px;min-height:22px;max-height:22px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid #ffffff55;border-radius:3px;color:#101010;font-size:15px;font-weight:800;line-height:20px;opacity:.45;cursor:pointer}
.participant-status .is-yellow,.lineup-legend .is-yellow{background:#facc15}.participant-status .is-green,.lineup-legend .is-green{background:#4ade80}.participant-status .is-red,.lineup-legend .is-red{background:#f87171}
.participant-status .status-square[aria-pressed=true]{opacity:1;outline:2px solid var(--foreground,#eee);outline-offset:2px}
.participant-status .status-square:focus-visible{opacity:1;outline:2px solid var(--foreground,#eee);outline-offset:2px}
.participant-status .status-square:disabled{cursor:default}.lineup-status-note{font-size:12px;color:var(--muted-foreground);margin:12px 0}
.tournament-lineup-page{max-width:1500px;margin:0 auto;padding:32px;color:var(--foreground);min-height:100dvh}
.tournament-lineup-page>header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.tournament-lineup-page h1{font-size:28px;font-weight:650;margin:4px 0}.tournament-lineup-page>header p{color:var(--muted-foreground);font-size:13px}.tournament-lineup-page .lineup-eyebrow{font-size:11px;letter-spacing:.12em}.tournament-lineup-page>header a{font-size:13px;text-decoration:underline;white-space:nowrap}
.lineup-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:var(--muted-foreground);margin-bottom:24px}.lineup-legend span{display:flex;align-items:center;gap:6px}.lineup-legend i{width:9px;height:9px;border-radius:2px}.lineup-legend .is-clear{background:#888}
.lineup-brackets{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:24px;align-items:start}.lineup-brackets>section{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--card)}.lineup-brackets section>header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid var(--border)}.lineup-brackets h2{margin:0;font-size:17px;font-weight:600}.lineup-brackets header span{font-size:12px;color:var(--muted-foreground)}.lineup-brackets ol{list-style:none;padding:0;margin:0}.lineup-brackets li{display:flex;gap:12px;padding:10px 14px;border-bottom:1px solid var(--border);align-items:center}.lineup-brackets li:last-child{border-bottom:0}.lineup-position{font-size:12px;color:var(--muted-foreground);width:20px;text-align:center;flex-shrink:0}.lineup-members{flex:1;min-width:0;display:grid;gap:6px}.lineup-member{display:flex;align-items:center;gap:10px;min-width:0;padding:6px 8px;border-left:3px solid transparent;border-radius:4px}.lineup-member strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.lineup-color-label{font-size:11px;white-space:nowrap;color:var(--muted-foreground)}.lineup-member.is-yellow{border-color:#facc15}.lineup-member.is-green{border-color:#4ade80}.lineup-member.is-red{border-color:#f87171}.lineup-empty,.lineup-error{padding:16px;font-size:13px}.lineup-error{border:1px solid #facc15;border-radius:8px}
@media(max-width:600px){.tournament-lineup-page{padding:18px 12px}.tournament-lineup-page>header{align-items:flex-start;flex-direction:column;gap:8px}.tournament-lineup-page h1{font-size:23px}.tb-members>div{flex-wrap:wrap}.tb-members .participant-status{margin-left:auto}.participant-status .status-square{width:24px;height:24px;min-width:24px}.lineup-color-label{font-size:10px}}

/* Full creator/duo rows share the status tint in both editor and read-only lineup. */
.tb-lineups .tb-entry.status-yellow,.tournament-brackets .tournament-entrant.status-yellow,.lineup-brackets li.status-yellow{background:color-mix(in srgb,#facc15 14%,var(--card))}
.tb-lineups .tb-entry.status-green,.tournament-brackets .tournament-entrant.status-green,.lineup-brackets li.status-green{background:color-mix(in srgb,#4ade80 14%,var(--card))}
.tb-lineups .tb-entry.status-red,.tournament-brackets .tournament-entrant.status-red,.lineup-brackets li.status-red{background:color-mix(in srgb,#f87171 14%,var(--card))}
.tournament-builder>.lineup-legend{margin:16px 0 6px}

.lineup-page-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.lineup-edit-help{font-size:13px;color:var(--muted-foreground);margin:-8px 0 20px}.lineup-members .lineup-edit-creator{width:100%;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit;border-top:0;border-right:0;border-bottom:0}.lineup-edit-creator:hover:not(:disabled){background:#ffffff0a}.lineup-edit-creator:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.lineup-edit-creator:disabled{cursor:default}
.lineup-share{margin:0 0 20px}.lineup-share-panel{max-width:650px;padding:16px;margin-top:10px;border:1px solid var(--border);border-radius:10px;background:var(--card);font-size:13px}.lineup-share-panel p{margin:0 0 12px}.lineup-share-panel label{display:block}.lineup-share-panel input{width:100%;min-width:0;margin:6px 0 12px;font-size:14px}.lineup-share-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.lineup-share-panel small{color:var(--muted-foreground)}.lineup-share-panel [role=alert]{margin-top:12px;color:#f87171}.lineup-share-panel [role=status]{margin:12px 0 0}

.tournament-lineup-page .lineup-members button.lineup-edit-creator{background:transparent;color:var(--foreground)}.tournament-lineup-page .lineup-members button.lineup-edit-creator:hover:not(:disabled){background:#ffffff0a}

/* Keep mobile roster controls inside the bracket, with compact, predictable rows. */
@media(max-width:600px){
 .tournaments-page,.tournament-builder{min-width:0;max-width:100%}
 .tournament-bracket>header,.tb-lineup>header{padding:10px 12px}
 .tournament-bracket h3{font-size:17px}
 .tournament-opening{margin:8px 6px}
 .tournament-queue{padding:0 6px 8px}
 .tournament-group-heading{padding:8px}
 .tournament-group-heading h4{font-size:13px}
 .tournament-entrant{display:grid;grid-template-columns:18px 24px minmax(0,1fr);gap:0 5px;padding:3px 6px;min-height:0}
 .tournament-entrant .tournament-avatar{width:24px;height:24px;flex-basis:24px;font-size:10px}
 .tournament-entrant .tournament-name-live{grid-column:3;min-width:0}
 .tournament-entrant .tournament-username{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .tournament-entrant>.participant-status{grid-row:2;grid-column:1 / -1;justify-self:start}
 .tournament-entrant>.tournament-row-actions{grid-row:2;grid-column:1 / -1;justify-self:end;width:auto;gap:2px}
 .tournament-entrant .tournament-row-actions button{width:32px;min-width:32px;height:32px;min-height:32px;padding:4px}
 .tournaments-page .participant-status{gap:6px;padding:4px 2px}
 .tournaments-page .participant-status .status-square{width:24px;min-width:24px;height:24px;min-height:24px}
 .tb-lineups{grid-template-columns:minmax(0,1fr);gap:12px}
 .tb-lineup>header input{min-width:0;width:0;font-size:16px}
 .tb-lineup-group{margin:8px 6px;min-height:0}
 .tb-lineup-group h4{padding:7px 6px;flex-wrap:wrap}
 .tb-entry{display:grid;grid-template-columns:18px minmax(0,1fr);gap:0 4px;padding:3px 6px}
 .tb-entry>svg{display:none}
 .tb-entry .tb-members{min-width:0}
 .tb-entry .tb-members>div{flex-wrap:nowrap;gap:4px}
 .tb-entry .tb-members .tb-avatar,.tb-entry .tb-members .tournament-avatar{display:none}
 .tournament-builder .tb-entry .tb-username-input{min-width:0;width:0;flex:1;padding:3px 0;font-size:12px;min-height:28px}
 .tb-entry .tb-row-actions{grid-column:2;width:auto;justify-content:flex-end;padding:0;min-width:0}
 .tournament-builder .tb-entry .tb-row-actions button{width:32px;min-width:32px;height:32px;min-height:32px}
 .tournament-builder .tb-entry .tb-row-actions select{min-width:0;max-width:110px;flex:1;height:32px;font-size:12px}
 .tb-lineup .tb-add-row{margin:0 8px 8px;max-width:calc(100% - 16px)}
 .tb-savebar{padding:8px;gap:6px;margin-top:12px}
 .tb-savebar>div:first-child{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px}
 .tb-savebar small{font-size:10px;margin:0}
 .tb-savebar>div:last-child{width:100%;gap:6px}
 .tb-savebar>div:last-child>button{flex:1;min-width:0;min-height:36px;padding:6px;font-size:12px;white-space:nowrap}
}

.tb-match-time:has(.tb-time-inline){flex:1 1 240px;padding-top:0}.tb-time-editor.tb-time-inline{width:100%;border:0;margin:0;padding:0;gap:8px}.tb-time-inline label{min-width:105px}.tb-time-inline input{min-height:36px;font-size:14px}.tb-time-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%}.tournament-builder .tb-time-shortcuts button{border:1px solid var(--border);border-radius:5px;background:var(--card);color:var(--foreground);padding:4px 8px;font:inherit;font-size:11px;cursor:pointer;min-height:28px}.tb-time-shortcuts button:hover:not(:disabled){border-color:var(--primary)}.tb-time-shortcuts small{width:auto;min-width:0;flex:1;font-size:10px;color:var(--muted-foreground);overflow-wrap:anywhere}.tb-time-inline .tb-time-actions{margin-top:0}.tb-time-inline .tb-tbd{padding:0;font-size:11px}.tb-time-inline .tb-time-actions button{min-height:30px}
@media(max-width:600px){.tb-time-inline input{font-size:16px}.tb-match-time:has(.tb-time-inline){flex-basis:100%}}

.tb-fixed-zone{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px;color:var(--muted-foreground)}.tb-fixed-zone strong{color:var(--foreground);font-size:14px;font-weight:500}.tb-fixed-zone small{font-size:11px;line-height:1.5}.tb-zone-times{display:flex;flex-wrap:wrap;gap:4px 12px;flex-basis:100%;font-size:11px;color:var(--muted-foreground);line-height:1.6}.tb-zone-times strong{font-weight:600;color:var(--foreground)}.tb-zone-times>span{white-space:nowrap}.tb-zone-times>small{flex-basis:100%;font-size:11px}

.tb-schedule-display{display:flex;align-items:flex-start;gap:8px;width:100%;min-width:0}.tb-schedule-summary{flex:1;min-width:0}.tb-schedule-date{display:flex;align-items:center;gap:6px;font-size:12px;margin-bottom:4px}.tb-schedule-summary .tb-zone-times{gap:3px 10px;font-size:11px}.tb-schedule-display .tb-edit-time{flex:none}.tb-time-inline .tb-time-shortcuts{justify-content:flex-start}

/* Private SMS delivery history belongs to the saved matchup editor. */
/* Compact matchup controls; delivery details stay in the popup. */
.tb-sms-panel{padding:4px 15px;border-top:1px solid var(--border);min-width:0}
.tb-sms-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.tournament-builder .tb-sms-toggle{display:flex;flex-direction:row;align-items:center;gap:9px;min-height:36px;cursor:pointer;max-width:none;color:var(--muted-foreground);font-size:11px;font-weight:500}
.tb-sms-toggle>span{min-width:0}
.tournament-builder .tb-sms-toggle input{appearance:none;position:relative;width:30px;min-width:30px;height:18px;min-height:18px;margin:0;padding:0;background:var(--input);border:1px solid var(--border);border-radius:20px;flex:none;cursor:pointer;box-shadow:none}
.tb-sms-toggle input:before{content:'';position:absolute;top:2px;left:2px;width:12px;height:12px;background:var(--muted-foreground);border-radius:50%}
.tournament-builder .tb-sms-toggle input:checked{background:var(--primary);border-color:var(--primary)}
.tb-sms-toggle input:checked:before{background:var(--primary-foreground);transform:translateX(12px)}
.tb-sms-toggle input:disabled{opacity:.5;cursor:default}
.tb-sms-panel .tb-sms-history-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:36px;padding:0 3px;border:0;border-radius:5px;background:transparent;color:var(--muted-foreground);font:inherit;font-size:11px;cursor:pointer;box-shadow:none}
.tb-sms-history-button:hover{color:var(--foreground);background:var(--muted)}
.tb-sms-note{font-size:11px;line-height:1.6;color:var(--muted-foreground);margin:8px 0 0}
.tb-sms-panel>.tb-sms-note{margin:0 0 7px}
.tb-sms-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:calc(100% - 32px);max-width:520px;max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid var(--border);border-radius:13px;background:var(--card);color:var(--foreground);box-shadow:0 20px 80px #0007;overscroll-behavior:contain}
.tb-sms-dialog::backdrop{background:#0009}
.tb-sms-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.tb-sms-dialog-heading>div{min-width:0}
.tb-sms-dialog-heading h3{margin:0;font-size:17px;line-height:1.4;letter-spacing:-.02em}
.tb-sms-dialog-heading p{margin:4px 0 0;color:var(--muted-foreground);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.tb-sms-dialog .tb-sms-close{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;min-height:36px;margin:-5px -5px 0 0;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted-foreground);cursor:pointer;box-shadow:none}
.tb-sms-close:hover{background:var(--muted);color:var(--foreground)}
.tb-sms-description{font-size:11px;line-height:1.6;color:var(--muted-foreground);margin:15px 0 0}
.tb-sms-error{font-size:11px;line-height:1.6;color:var(--destructive);margin:9px 0 0}
.tb-sms-history-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:10px;color:var(--muted-foreground);font-size:11px}
.tb-sms-history-heading button{border:0;border-radius:5px;background:none;color:var(--primary);font:inherit;font-size:11px;min-height:36px;cursor:pointer;display:inline-flex;gap:5px;align-items:center;padding:4px;box-shadow:none}
.tb-sms-history-heading button:disabled{opacity:.55;cursor:default}
.tb-sms-history-list{list-style:none;padding:0;margin:4px 0 0}
.tb-sms-receipt{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid var(--border);min-width:0}
.tb-sms-receipt:last-child{padding-bottom:0}
.tb-sms-receipt>div{min-width:0}
.tb-sms-receipt strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.tb-sms-receipt>div>span{display:block;font-size:11px;margin:4px 0;color:var(--muted-foreground)}
.tb-sms-receipt-times{display:grid;gap:3px;font-size:11px;color:var(--muted-foreground);overflow-wrap:anywhere}
.tb-sms-receipt small{display:block;font-size:11px;line-height:1.5;margin-top:4px;color:var(--muted-foreground)}
.tb-sms-receipt-status{padding:3px 7px;border-radius:12px;background:var(--muted);font-size:10px;line-height:1.5;color:var(--muted-foreground);flex:none;max-width:38%;text-align:right}
.tb-sms-receipt-status[data-status=delivered]{color:#87bd95}
.tb-sms-receipt-status[data-status=failed],.tb-sms-receipt-status[data-status=uncertain],.tb-sms-receipt-status[data-status=undelivered]{color:#d49b74}
.tb-sms-panel :is(button,input):focus-visible{outline:2px solid var(--ring);outline-offset:3px}
@media(max-width:520px){.tb-sms-panel{padding:2px 12px}.tournament-builder .tb-sms-toggle,.tb-sms-panel .tb-sms-history-button{min-height:40px}.tb-sms-dialog{padding:18px 15px;width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.tb-sms-dialog .tb-sms-close{width:40px;height:40px}.tb-sms-receipt{gap:8px}.tb-sms-history-heading button{min-height:40px}}


@media(max-width:520px){.tb-schedule-heading>.tb-schedule-actions{flex-basis:100%;width:100%}.tb-schedule-actions>button{max-width:100%;white-space:normal}}

/* Reviewed list and cross-tournament winner imports. */
.tb-import-picker{max-width:760px}.tb-import-tabs{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap}.tb-import-picker button{font-size:12px;min-height:32px;padding:6px 10px}.tb-import-source{display:flex;align-items:flex-end;gap:10px}.tb-import-source>label{flex:1}.tb-import-review{border-top:1px solid var(--border);padding-top:10px;margin:12px 0 18px}.tb-import-review-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.tournament-builder .tb-import-creator{display:flex;flex-direction:row;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid var(--border);color:var(--foreground);font-size:13px}.tb-import-creator>span:not(.tb-avatar){overflow-wrap:anywhere}.tournament-builder .tb-import-creator input{width:16px;height:16px;min-height:16px;flex-shrink:0;padding:0;accent-color:var(--primary)}.tb-import-creator small{margin-left:auto;max-width:38%;text-align:right;overflow-wrap:anywhere}.tb-import-picker .tb-import-error{color:var(--destructive);overflow-wrap:anywhere}.tb-import-picker>small{display:block}.tb-import-picker .tb-import-footer{border-top:1px solid var(--border);padding-top:15px}.tb-import-review>p{margin:8px 0}.tb-import-creators{max-height:360px;overflow:auto;overscroll-behavior:contain}
@media(max-width:520px){.tb-import-picker{padding:14px}.tb-import-tabs{gap:6px}.tb-import-tabs button{flex:1;white-space:normal}.tb-import-picker .tb-import-footer>.tb-schedule-actions{width:100%;justify-content:flex-end}.tb-import-source{flex-wrap:wrap}.tb-import-source>label{flex-basis:100%}}
@media(pointer:coarse){.tb-import-picker button{min-height:44px}.tb-import-picker .tb-import-creator{min-height:44px}.tb-import-picker textarea,.tb-import-picker select{font-size:16px}}

.tournament-builder .tb-import-picker button{background:var(--card);color:var(--foreground);border:1px solid var(--border)}.tournament-builder .tb-import-tabs button[aria-pressed="true"],.tournament-builder .tb-import-picker .tb-import-confirm{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.tournament-builder .tb-import-review-heading button{background:transparent;border-color:transparent;color:var(--primary)}.tournament-builder .tb-import-picker button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}

/* Availability sits below Format/Series, beside the open date/time editor. */
.tb-match-options{min-width:0;flex:0 1 auto}
.tb-match-format-controls{display:flex;flex-wrap:wrap;align-items:flex-start;gap:16px}
.tb-match-options:has(.tb-registration-availability){flex:1 1 230px}
.tb-match-meta:has(.tb-registration-availability) .tb-match-time{flex:1 1 215px}
.tb-match-meta:has(.tb-registration-availability) .tb-time-inline label{min-width:120px}
.tb-registration-availability{margin-top:10px;padding-top:8px;border-top:1px solid var(--border);font-size:11px;line-height:1.4}
.tb-registration-availability>header{margin-bottom:5px;font-size:11px}
.tb-registration-availability p,.tb-registration-availability small{color:var(--muted-foreground)}
.tb-registration-availability>ul{list-style:none;margin:0;padding:0}
.tb-registration-availability li+li{border-top:1px solid var(--border)}
.tb-registration-availability summary{display:flex;align-items:center;gap:5px;min-height:30px;padding:5px 0;list-style:none;cursor:pointer}
.tb-registration-availability summary::-webkit-details-marker{display:none}
.tb-registration-availability summary>strong{flex:0 1 auto;max-width:45%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.tb-registration-availability summary>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted-foreground)}
.tb-registration-availability summary::after{content:'›';flex-shrink:0;color:var(--muted-foreground);font-size:14px;line-height:1}
.tb-registration-availability details[open]>summary::after{transform:rotate(90deg)}
.tb-registration-availability summary:focus-visible{outline:2px solid var(--ring);outline-offset:2px;border-radius:3px}
.tb-availability-details{display:grid;gap:4px;padding:0 0 8px;overflow-wrap:anywhere}
.tb-availability-times{display:grid;gap:5px;min-width:0}
.tb-availability-times>div{display:flex;flex-direction:column;gap:1px}
.tb-registration-availability p{margin:0}
.tb-availability-error{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.tournament-builder .tb-availability-error button{min-height:32px;padding:4px 10px;border:1px solid var(--border);border-radius:5px;background:var(--card);color:var(--foreground);cursor:pointer;font:inherit}
@media(max-width:520px){.tb-match-options:has(.tb-registration-availability){flex-basis:100%}.tb-match-meta:has(.tb-registration-availability) .tb-match-time{flex-basis:100%}}

/* Keep the pre-save SMS notice beside the main save control. */
.tb-savebar .tb-sms-save-notice{display:block;margin-top:5px;color:var(--primary);font-size:12px;font-weight:600}
@media(max-width:520px){.tb-savebar:has(.tb-sms-save-notice)>div:first-child{flex-wrap:wrap}.tb-savebar .tb-sms-save-notice{width:100%}}

/* Keep Edit and Confirm anchored in the schedule header as fields open below. */
.tb-match-time:has(.tb-time-inline){display:contents}
.tb-match-time:has(.tb-time-inline)>.tb-schedule-display{flex:1 1 150px;padding-top:3px;width:auto}
.tb-match-time>.tb-time-inline{flex:0 0 100%}
.tournament-builder .tb-edit-time.tb-confirm-time{color:var(--primary);background:var(--muted)}

/* Availability and the time fields share a row without moving the header icon. */
.tb-match-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.tb-match-meta>.tb-match-options,.tb-match-meta>.tb-match-time{display:contents}
.tb-match-format-controls{grid-column:1;grid-row:1}
.tb-match-time>.tb-schedule-display,.tb-match-time>.tb-schedule-summary{grid-column:2;grid-row:1;padding-top:3px}
.tb-match-options>.tb-registration-availability{grid-column:1;grid-row:2;margin-top:0}
.tb-match-time>.tb-time-inline{grid-column:2;grid-row:2;align-self:start}
.tb-strike-help{grid-column:1/-1}
@media(max-width:520px){.tb-match-meta{grid-template-columns:minmax(0,1fr)}.tb-match-time>.tb-schedule-display,.tb-match-time>.tb-schedule-summary{grid-column:1;grid-row:2}.tb-match-time>.tb-time-inline{grid-column:1;grid-row:3}.tb-match-options>.tb-registration-availability{grid-column:1;grid-row:4}}

.tb-unsaved-mark{display:inline-block;color:#eab308;font-size:15px;font-weight:400;line-height:1;margin-left:4px;vertical-align:baseline;flex-shrink:0}

/* Matchups debug details remain adjacent to the creator and wrap on small screens. */
.tb-debug-status{display:flex;flex-wrap:wrap;gap:8px 16px;padding:10px 12px;margin:12px 0;border:1px solid var(--border);border-radius:8px;color:var(--muted-foreground);font-size:12px}
.tb-debug-times{display:grid;gap:4px;min-width:0;margin-top:5px;color:var(--muted-foreground);font-size:11px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;font-weight:400}
.tb-debug-times-label{font-weight:600;color:var(--foreground)}
.tr-pool-duo-identity{min-width:0;flex:1}
.tb-members>div:has(.tb-debug-times){flex-wrap:wrap}
.tb-members>div>.tb-debug-times{flex-basis:100%;margin-left:36px}

.workspace .tournament-builder .tb-header-actions .tb-debug-toggle{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:5px 9px;border:1px solid var(--border);border-radius:7px;background:var(--card);color:var(--foreground);font-size:12px;cursor:pointer}
.tb-debug-switch{display:flex;align-items:center;width:30px;height:18px;padding:2px;border-radius:10px;background:var(--muted-foreground)}
.tb-debug-switch>span{width:14px;height:14px;border-radius:50%;background:var(--card);transition:transform .15s}
.tb-debug-toggle[aria-checked=true] .tb-debug-switch{background:var(--primary)}
.tb-debug-toggle[aria-checked=true] .tb-debug-switch>span{transform:translateX(12px)}
.tb-debug-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.tb-debug-toggle:disabled{opacity:.5;cursor:not-allowed}
@media(pointer:coarse){.workspace .tournament-builder .tb-header-actions .tb-debug-toggle{min-height:44px}}
@media(prefers-reduced-motion:reduce){.tb-debug-switch>span{transition:none}}

.workspace .tournament-builder .tb-header-actions .tb-debug-toggle:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.tournament-builder.is-debug .tr-pool-workspace .tr-pool-person:has(input:disabled){opacity:1;cursor:default}
.tb-debug-time-group{display:grid;gap:4px}
.tb-debug-time-chips{display:flex;flex-wrap:wrap;gap:5px}
.tournament-builder .tb-debug-time-chip{display:inline-block;padding:3px 6px;border-radius:5px;background:var(--debug-time-color);color:#101318;font-size:11px;font-weight:700;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.tournament-builder.is-debug .tb-match.tr-duos-suggestion{opacity:1}

.tb-match-time>.tb-published-schedule{grid-column:2;grid-row:1;display:flex;align-items:flex-start;gap:8px;min-width:0;padding-top:3px}
.tb-match.tb-match--needs-winner{border-color:var(--primary)}
.tb-published-schedule>.tb-schedule-summary{min-width:0}
.tournament-builder .tb-time-pencil{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;min-height:32px;padding:0;border:0;border-radius:0;background:transparent;color:#eab308;cursor:pointer}
.tournament-builder .tb-time-pencil:hover:not(:disabled){background:transparent;color:#facc15}
.tournament-builder .tb-time-pencil:focus-visible{outline:2px solid #eab308;outline-offset:2px}
.tournament-builder .tb-time-pencil:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:520px){.tb-match-time>.tb-published-schedule{grid-column:1;grid-row:2}}
@media(pointer:coarse){.tournament-builder .tb-time-pencil{width:44px;height:44px;min-height:44px}}

.tb-completed{margin-top:18px;border:1px solid var(--border);border-radius:10px;background:var(--card);overflow:hidden}
.tb-completed>summary{display:flex;align-items:center;gap:9px;min-height:44px;padding:10px 16px;list-style:none;cursor:pointer;font-size:13px;font-weight:600;color:var(--muted-foreground)}
.tb-completed>summary::-webkit-details-marker{display:none}
.tb-completed>summary>svg{transition:transform .15s;transform:rotate(-90deg);flex-shrink:0}
.tb-completed[open]>summary>svg{transform:rotate(0)}
.tb-completed>summary:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}
.tb-completed-count{font-size:11px;padding:2px 7px;border-radius:12px;background:var(--muted)}
.tb-completed>.tb-match-list{padding:12px;border-top:1px solid var(--border);margin:0}
@media(prefers-reduced-motion:reduce){.tb-completed>summary>svg{transition:none}}

.tournament-builder .tb-current-username{font-size:11px;line-height:1.4;color:var(--muted-foreground);overflow-wrap:anywhere}

/* New tournament formats share the existing full-window LIVE presentation. */
.rumble-stage.is-configured .rumble-dashboard-header{background:linear-gradient(115deg,#1d1a12,#10151b 65%)}
.rumble-stage .rumble-top.is-single,.rumble-stage.is-portrait .rumble-top.is-single{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.rumble-stage.is-configured .rumble-bracket>header>div{min-width:0}
.rumble-stage.is-configured .rumble-bracket h2{white-space:normal;overflow-wrap:anywhere}
.rumble-lineup-format{font-size:.7em;color:#aabac6;font-weight:400;white-space:nowrap}
.rumble-view-picker{display:flex;align-items:center;gap:5px;min-width:0;font-size:10px;color:#c7d2da}
.rumble-stage .rumble-view-picker select{margin:0;padding:3px 6px;min-height:26px;max-width:320px;width:auto;border:1px solid #655b40;border-radius:4px;background:#10151b;color:#edf3f5;font-size:11px;line-height:1.2}
.rumble-duo-members{display:grid;gap:3px;flex:1;min-width:0}
.rumble-duo-member{display:flex;align-items:center;gap:4px;min-width:0}
.rumble-entrant.rumble-duo-entrant{padding-block:4px}
.rumble-pending-creator{font-size:11px;color:#a9bac6;overflow-wrap:anywhere;line-height:1.3}
.rumble-match-time{margin:3px 0 0;font-size:10px;color:#c5d1d9;line-height:1.4;overflow-wrap:anywhere}
.rumble-match-time>span{color:#8ea1b0}
.rumble-match-order{padding:10px}
.rumble-match-order h3{font-size:15px;letter-spacing:.03em;margin-bottom:3px}
.rumble-match-rule{font-size:11px;line-height:1.4;color:#c9b27e;margin:0 0 12px}
.rumble-match-order ol{gap:10px}
.rumble-match-side{border:1px solid #35434d;border-radius:6px;background:#15212b;padding:8px}
.rumble-match-side.is-winner{border-color:#287c53;background:#124d33}
.rumble-match-creator{display:flex;align-items:center;gap:5px;min-width:0}
.rumble-match-creator+.rumble-match-creator{margin-top:8px}
.rumble-match-creator .tournament-avatar{display:flex;flex:0 0 24px;width:24px;height:24px;font-size:10px}
.rumble-match-creator .tournament-avatar img{width:100%;height:100%}
.rumble-side-label{display:block;margin-bottom:7px;font-size:10px;color:#aabac6}
.rumble-match-result{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:8px;font-size:11px;color:#d3e4db;font-variant-numeric:tabular-nums}
.rumble-match-result strong{font-size:10px;color:#9dffc1}
.rumble-result-note{font-size:10px;line-height:1.4;color:#8ea1b0;margin-top:12px}
.rumble-empty-schedule{display:grid;place-items:center;flex:1;padding:25px;text-align:center;color:#aabac6;font-size:14px}
.rumble-stage.is-portrait .rumble-view-picker{font-size:clamp(9px,1.3cqw,14px);flex:1 1 100%}
.rumble-stage.is-portrait .rumble-view-picker select{max-width:none;min-width:0;flex:1;font-size:clamp(9px,1.35cqw,14px)}
.rumble-stage.is-portrait .rumble-duo-entrant{padding-block:.6cqw}
.rumble-stage.is-portrait .rumble-duo-members{gap:.5cqw}
.rumble-stage.is-portrait .rumble-duo-member{gap:.35cqw}
.rumble-stage.is-portrait .rumble-pending-creator{font-size:clamp(8px,1.5cqw,16px)}
.rumble-stage.is-portrait .rumble-match-time{font-size:clamp(8px,1.3cqw,14px)}
.rumble-stage.is-portrait .rumble-match-order{padding:.8cqw}
.rumble-stage.is-portrait .rumble-match-order h3{font-size:clamp(10px,2cqw,20px)}
.rumble-stage.is-portrait .rumble-match-rule{font-size:clamp(8px,1.4cqw,14px);margin-bottom:2cqw}
.rumble-stage.is-portrait .rumble-match-order ol{gap:1cqw}
.rumble-stage.is-portrait .rumble-match-side{padding:1cqw}
.rumble-stage.is-portrait .rumble-match-creator{gap:.6cqw;flex-wrap:wrap}
.rumble-stage.is-portrait .rumble-match-creator .tournament-avatar{width:3cqw;height:3cqw;flex-basis:3cqw;font-size:1.5cqw}
.rumble-stage.is-portrait .rumble-match-result{font-size:clamp(9px,1.6cqw,16px);margin-top:1cqw;flex-wrap:wrap}
.rumble-stage.is-portrait .rumble-match-result strong,.rumble-stage.is-portrait .rumble-side-label,.rumble-stage.is-portrait .rumble-result-note{font-size:clamp(8px,1.4cqw,14px)}

.host-full-scoreboard{min-height:0;overflow:auto;background:#10151b}
.is-host-embedded>.ts-header,.is-host-embedded>.ts-heading{display:none}
.host-battle-column{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:auto}
.host-battle-column>.rumble-live{flex:1;min-height:120px}
.rumble-controls .rumble-score-toggle{width:auto;padding:4px 8px;font-size:11px}
.rumble-score-toggle[aria-pressed=true]{background:#594b2d;color:#fff2c9}
.host-scoreboard{flex:none;background:#111c24;color:#eaf2f7;padding:6px;border-bottom:1px solid #485665;font-variant-numeric:tabular-nums}
.host-scoreboard>header{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:10px;margin-bottom:5px}
.host-scoreboard>header>span:first-of-type{margin-left:auto;color:#b6c9d4}
.host-scoreboard button,.host-scoreboard select{background:#1c2b36;color:#eef5fa;border:1px solid #465664;border-radius:4px;font-size:10px;padding:3px}
.host-score-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.host-score-grid>div{display:flex;align-items:center;gap:5px;min-width:0;background:#21333e;border-radius:4px;padding:5px}
.host-score-grid span{font-size:10px;overflow-wrap:anywhere;min-width:0;flex:1}
.host-score-grid strong{font-size:14px;white-space:nowrap}
.host-scoreboard details{font-size:10px;margin-top:5px}
.host-scoreboard summary{cursor:pointer;color:#c6d4df}
.host-scoreboard details p{font-size:10px;margin:5px 0}
.host-score-align{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.host-score-align label{display:grid;gap:3px;min-width:0}.host-score-align select{width:100%;min-width:0}

.tournament-scoreboard{--ts-gold:#e3c477;--ts-line:#333437;--ts-muted:#b4b1a9;background:#111214;color:#f6f3ec;min-height:100dvh;padding-bottom:24px;font-family:'IBM Plex Sans',system-ui,sans-serif;color-scheme:dark}
.tournament-scoreboard *{box-sizing:border-box}.tournament-scoreboard .ts-header{padding:15px 24px;background:#191a1b;border-bottom:1px solid var(--ts-line);display:flex;align-items:center;gap:24px;font-size:13px}.ts-header a{display:flex;align-items:center;gap:6px;color:inherit}.ts-brand{font-weight:700;letter-spacing:4px;color:var(--ts-gold);margin-left:auto}.ts-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:22px 24px 14px}.tournament-scoreboard h1{font-size:24px;line-height:1.25;margin:0}.tournament-scoreboard h2{font-size:19px;margin:0 0 8px}.tournament-scoreboard h3{font-size:16px}.ts-heading p,.ts-summary>p{font-size:13px;color:var(--ts-muted);margin:5px 0}.tournament-scoreboard .ts-button,.tournament-scoreboard .ts-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#f1d9a3;background:#29261f;border:1px solid #65593e;border-radius:7px;padding:7px 10px;font-family:inherit;font-size:12px;font-weight:500;min-height:32px;cursor:pointer}.tournament-scoreboard button:disabled{opacity:.55;cursor:default}.ts-matches{padding:0 16px}.ts-match{display:grid;grid-template-columns:minmax(0,1fr);gap:9px 12px;padding:12px;background:#1a1b1d;border:1px solid var(--ts-line);border-radius:9px;margin:9px 0}.ts-meta{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px;justify-content:flex-start;font-size:11px;color:var(--ts-muted);overflow-wrap:anywhere}.ts-meta strong{font-size:12px;color:var(--ts-gold)}.ts-sides{display:grid;gap:12px;min-width:0}.ts-side{display:flex;align-items:center;justify-content:center;gap:12px;min-width:0;border-left:1px solid var(--ts-line);padding-left:12px}.ts-side:first-child{border-left:0;padding-left:0}.ts-roster{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;min-width:0}.ts-person{width:72px;text-align:center;flex:0 0 72px}.ts-photo{position:relative;margin-bottom:9px}.ts-photo .tournament-avatar{width:72px;height:72px;min-width:72px;font-size:26px;background:#3a3530;border:0}.ts-photo .tournament-avatar img{width:72px;height:72px}.ts-live{position:absolute;bottom:-2px;left:50%;transform:translateX(-50%);font-size:9px;font-weight:700;letter-spacing:.3px;padding:2px 4px;border:2px solid #1a1b1d;border-radius:4px;white-space:nowrap;background:#494b4e;color:#fff}.ts-live-live{background:#c72950}.ts-live-unknown,.ts-live-checking{background:#655237}.ts-person-name{font-size:11px;overflow-wrap:anywhere;display:block;line-height:1.25}.ts-team-name{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:var(--ts-muted);overflow-wrap:anywhere}.ts-scorebox{display:flex;flex-direction:column;gap:4px;min-width:0}.ts-score{font-size:clamp(20px,2.8vw,29px);font-variant-numeric:tabular-nums;font-weight:650;line-height:1.1;overflow-wrap:anywhere}.ts-leading{font-size:10px;letter-spacing:.5px;color:var(--ts-gold);min-height:13px}.ts-powers{display:flex;flex-wrap:wrap;gap:4px}.ts-powers>span{display:flex;align-items:center;gap:3px;background:#49391e;color:#ffe4ab;padding:3px 5px;border-radius:4px;font-size:11px}.ts-powers small{font-size:10px;color:var(--ts-muted)}.ts-match-footer{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:7px 14px;border-top:1px solid var(--ts-line);padding-top:8px;font-size:11px;color:var(--ts-muted)}.ts-match-footer strong{color:var(--ts-gold);font-weight:500}.ts-match-footer .ts-button{margin-left:auto;padding:4px 8px;min-height:28px}.ts-strikes{width:100%;text-align:center;font-size:10px;color:#e9b79d}.ts-feed-note{grid-column:1/-1;color:var(--ts-muted);font-size:11px;margin:0}.ts-stale{color:#f1c679}.ts-error,.ts-notice{margin:12px 24px;padding:10px 12px;font-size:13px}.ts-error{background:#492a29;border:1px solid #8b514c}.ts-notice{background:#28261e;color:#e5d0a0}.ts-empty{padding:35px 20px;text-align:center;background:#1a1b1d;border-radius:9px;color:var(--ts-muted)}.ts-empty h2{color:#ece7dd}.ts-setup{margin:10px 24px 20px;padding:18px;background:#202123;border:1px solid #514938;border-radius:9px}.ts-fields,.ts-team-fields{display:flex;flex-wrap:wrap;gap:14px}.ts-setup label{font-size:12px;display:flex;flex-direction:column;gap:6px;flex:1;min-width:130px}.ts-setup input,.ts-setup select,.ts-review select,.ts-review input{font:inherit;padding:8px;min-height:38px;width:100%;background:#151618;color:#f2eee6;border:1px solid #686459;border-radius:6px;margin:0}.ts-team-fields{margin:14px 0}.ts-team-fields fieldset{border:1px solid #454545;padding:10px;flex:1;min-width:180px}.ts-team-fields label+label{margin-top:9px}.ts-team-fields legend{font-size:12px}.ts-setup p{font-size:12px;color:var(--ts-muted);line-height:1.5}.ts-summary{margin:22px 24px 0;border-top:1px solid #3a3a3b;padding-top:20px}.ts-summary-match{margin-top:22px}.ts-summary-match h3 span{font-size:12px;color:var(--ts-muted);font-weight:400;margin-left:8px}.ts-summary-match ol{padding:0;list-style:none}.ts-summary-match li{display:grid;grid-template-columns:170px minmax(0,1fr);gap:12px;border-top:1px solid var(--ts-line);padding:12px 0;font-size:13px}.ts-summary time{display:block;font-size:11px;color:var(--ts-muted);margin-top:4px}.ts-final-scores{display:flex;flex-wrap:wrap;gap:14px}.ts-final-scores>div{display:flex;flex-direction:column;gap:4px;min-width:100px}.ts-final-scores strong{font-size:20px;font-variant-numeric:tabular-nums}.ts-final-scores span{font-size:12px;overflow-wrap:anywhere}.ts-summary details{grid-column:1/-1;color:var(--ts-muted);font-size:11px;overflow-wrap:anywhere}.ts-summary summary{cursor:pointer}.ts-review{display:flex;gap:10px;flex-wrap:wrap;padding:12px;background:#332b1b;grid-column:1/-1}.ts-review label{font-size:12px;min-width:140px;flex:1}
@media(min-width:1400px){.ts-matches,.ts-heading{max-width:1600px;margin-left:auto;margin-right:auto}.ts-summary{max-width:1552px;margin-left:24px;margin-right:24px}}
@media(max-width:1050px){.ts-match{grid-template-columns:1fr}.ts-meta{flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:12px}.ts-side{gap:8px;padding-left:8px}.ts-sides{gap:8px}.ts-person{width:68px;flex-basis:68px}.ts-photo .tournament-avatar,.ts-photo .tournament-avatar img{width:68px;height:68px;min-width:68px}}
@media(max-width:720px){.ts-sides{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 10px}.ts-sides-1{grid-template-columns:1fr!important}.ts-side{flex-direction:column;justify-content:flex-start;gap:9px}.ts-side:nth-child(odd){border-left:0;padding-left:0}.ts-scorebox{align-items:center;text-align:center}.ts-score{font-size:26px}.ts-heading,.tournament-scoreboard .ts-header{padding:14px}.ts-heading h1{font-size:21px}.ts-matches{padding:0 8px}.ts-setup,.ts-summary{margin-left:14px;margin-right:14px}.ts-summary-match li{grid-template-columns:1fr}.ts-header{gap:12px}.ts-header>span:last-child{display:none}.ts-meta strong{max-width:100%}.ts-match-footer .ts-button{min-height:40px}.ts-person-name{font-size:11px}.ts-setup input,.ts-setup select{font-size:16px}}
.tournament-scoreboard .ts-source{display:flex;align-items:center;gap:5px;margin:0 0 0 auto;font-size:11px;white-space:nowrap;flex:0 1 auto;width:auto}.ts-source select{font:inherit;background:#222326;color:#eee8dc;border:1px solid #5d584e;border-radius:5px;padding:4px;max-width:170px;margin:0;min-height:28px}.ts-summary-match li>div>small{display:block;font-size:11px;color:#e7c69c;margin-top:6px}.ts-review>strong{width:100%;font-weight:500;font-size:12px}.ts-review .ts-button{align-self:end}

.tournament-scoreboard .ts-timer{display:inline-flex;align-items:center;gap:6px;color:#ede7da;white-space:nowrap}.tournament-scoreboard .ts-timer strong{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;color:inherit}.tournament-scoreboard .ts-timer>span{font-size:11px;color:var(--ts-muted)}.tournament-scoreboard .ts-timer-urgent{color:#ffb3a2}

/* Give the matchup schedule a full-width, high-contrast row. */
.ts-scheduled{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-width:0;padding:10px 12px;background:#302819;border:1px solid #695534;border-left:3px solid var(--ts-gold);border-radius:6px;color:#f4d58e;line-height:1.35}.ts-scheduled svg{flex-shrink:0}.ts-schedule-date{min-width:0}.ts-start-countdown{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;margin-left:8px;padding:7px 10px;border:1px solid #695534;border-radius:5px;background:#1e1c16;color:#f6e6c3;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.ts-schedule-label{display:block;font-size:10px;font-weight:500;letter-spacing:1px;text-transform:uppercase;color:#d4bc8a;margin-bottom:2px}.ts-scheduled strong{display:block;font-size:18px;font-weight:650;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.ts-unscheduled{background:#222326;border-color:#414247;color:var(--ts-muted)}.ts-unscheduled .ts-schedule-label{color:var(--ts-muted)}.ts-unscheduled strong{font-size:14px;font-weight:500}.ts-match-done{border-color:#49473e}.ts-match-footer .ts-schedule-button,.ts-match-footer .ts-done-button{margin-left:0}.ts-schedule-editor{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding-top:8px;border-top:1px solid var(--ts-line);font-size:12px}.ts-schedule-editor label{display:flex;flex-direction:column;gap:6px;min-width:0}.ts-schedule-editor input{font:inherit;padding:7px;color:#f2eee6;background:#151618;border:1px solid #686459;border-radius:6px;max-width:100%;min-height:36px}.ts-schedule-editor>span{font-size:11px;color:var(--ts-muted);align-self:center}.ts-summary-schedule{font-size:12px;color:var(--ts-muted);margin:0 0 8px}.ts-winner-editor .ts-review{margin-top:10px}.ts-winner-editor .ts-review p{width:100%;margin:0;font-size:11px;color:var(--ts-muted)}
@media(max-width:720px){.ts-scheduled{padding:9px 10px}.ts-start-countdown{margin-left:30px;font-size:13px}.ts-scheduled strong{font-size:17px}.ts-unscheduled strong{font-size:14px}.ts-schedule-editor input,.ts-winner-editor input,.ts-winner-editor select{font-size:16px}.ts-schedule-editor label{width:100%}.ts-schedule-editor input{width:100%}.ts-review label{min-width:0;flex-basis:100%}}
/* Tournament results share the scoreboard palette and local-time presentation. */
.tr-content{padding:0 24px;max-width:1200px;margin:auto}.tr-actions{display:flex;flex-wrap:wrap;gap:8px}.tr-counts,.tournament-results section>p,.tr-match>p{font-size:13px;color:var(--ts-muted);line-height:1.5}.tr-winners{border:1px solid #665639;background:#211e17;border-radius:9px;padding:18px;margin:10px 0 26px}.tr-winners h2{display:flex;gap:8px;align-items:center;color:var(--ts-gold)}.tr-winners textarea,.tr-copy textarea{width:100%;display:block;background:#151618;color:#f2eee6;border:1px solid #686459;border-radius:6px;padding:12px;resize:vertical;font:13px/1.6 ui-monospace,monospace;margin:12px 0;min-height:48px}.tr-matchups,.tr-copy{margin:26px 0}.tr-match{background:#1a1b1d;border:1px solid var(--ts-line);border-radius:7px;margin:7px 0;overflow:hidden;overflow-wrap:anywhere}.tr-match-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,1.4fr) minmax(170px,.9fr);align-items:center;gap:10px 18px;padding:10px 12px;min-height:66px}.tr-match h3{margin:0;font-size:14px}.tr-match-label small,.tr-outcome small{display:block;font-size:11px;color:var(--ts-muted);line-height:1.4;margin-top:3px}.tr-lineup{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:12px}.tr-lineup-side{display:inline-flex;gap:8px;max-width:100%}.tr-versus{color:var(--ts-muted);font-size:10px;align-self:center}.tr-winning-name{color:var(--ts-gold);font-weight:600}.tr-outcome{font-size:12px}.tr-outcome strong{display:flex;align-items:center;gap:5px;font-weight:600}.tr-outcome svg{flex-shrink:0}.tr-outcome-won{color:var(--ts-gold)}.tr-outcome-review{color:#f2bf97}.tr-rounds{list-style:none;margin:0;padding:0}.tr-round-row{display:grid;grid-template-columns:64px minmax(0,1fr) minmax(150px,.3fr);align-items:center;gap:8px 12px;border-top:1px solid var(--ts-line);padding:7px 12px;font-size:12px;min-height:42px}.tr-round-number{font-size:11px;font-weight:500;color:var(--ts-muted)}.tr-round-scores{display:flex;flex-wrap:wrap;gap:5px 8px;min-width:0}.tr-score-item{display:inline-flex;align-items:center;gap:8px;padding:4px 7px;border:1px solid #414247;border-radius:4px;max-width:100%}.tr-score-name{color:#d4d1cb;font-size:12px;min-width:0}.tr-score-item strong{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.tr-score-item small{font-size:9px;color:var(--ts-muted)}.tr-score-winner{border-color:#796639;background:#30291b}.tr-score-winner strong,.tr-score-winner small{color:#f1d18a}.tr-round-result{font-size:11px;display:flex;align-items:center;gap:5px 8px;flex-wrap:wrap}.tr-override-badge{border:1px solid #6c5b39;border-radius:4px;padding:2px 4px;color:#e6c988;font-size:9px}
@media(max-width:720px){.tr-match-row{grid-template-columns:minmax(0,1fr) minmax(100px,.65fr);gap:7px 12px;padding:10px}.tr-match-label{grid-column:1/-1}.tr-outcome{font-size:11px}.tr-round-row{grid-template-columns:56px minmax(0,1fr);padding:7px 10px;gap:5px 8px}.tr-round-result{grid-column:2}.tr-score-item{flex-wrap:wrap;gap:4px 7px}.tr-score-name{font-size:11px}.tr-round-scores{gap:5px}.tr-score-item strong{font-size:12px}}
.tr-matchups a{color:var(--ts-gold)}@media(max-width:720px){.tr-content{padding:0 14px}.tr-winners{padding:14px}.tr-winners textarea,.tr-copy textarea{font-size:16px}}
/* Match result controls belong to the full matchup row. */
.ts-match>.ts-winner-editor{grid-column:1/-1;border-top:1px solid var(--ts-line);padding-top:8px;font-size:12px;color:var(--ts-gold)}
.ts-match>.ts-winner-editor>summary{cursor:pointer;min-height:28px;display:list-item;align-content:center}
.ts-match>.ts-winner-editor .ts-review{border-radius:6px}

/* Confirmed outcomes use outlines and text, preserving the dark score boxes. */
.ts-side.ts-side-winner,.ts-side.ts-side-loser{padding:12px;border:2px solid;border-radius:7px}
.ts-side.ts-side-winner{border-color:#4fc478}
.ts-side.ts-side-loser{border-color:#ee6b6b}
.ts-side-winner .ts-leading{color:#75db99;font-weight:700}
.ts-side-loser .ts-leading{color:#ff9595;font-weight:700}

.ts-heading-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.ts-share-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ts-share-fallback label{display:block;margin-bottom:6px}
.ts-share-fallback input{display:block;width:100%;min-width:0;font:inherit;color:#f2eee6;background:#151618;border:1px solid #686459;border-radius:6px;padding:8px}
@media(max-width:720px){.ts-heading-actions .ts-button{min-height:40px}.ts-share-fallback input{font-size:16px}}

.ts-standings{grid-column:1/-1;background:#111214;border:1px solid #4d4638;border-radius:7px;overflow:hidden}.ts-standings-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;border-bottom:1px solid var(--ts-line);font-size:12px}.ts-standings-heading strong{color:var(--ts-gold)}.ts-standings-heading>span{font-size:11px;color:var(--ts-muted)}.ts-standings-teams{display:grid}.ts-standing{padding:10px 12px;min-width:0;text-align:center}.ts-standing+.ts-standing{border-left:1px solid var(--ts-line)}.ts-standing-name{display:block;font-size:12px;overflow-wrap:anywhere}.ts-standing-total{display:flex;align-items:baseline;justify-content:center;gap:6px;margin:3px 0}.ts-standing-total strong{font-size:30px;line-height:1.15;font-variant-numeric:tabular-nums;color:#f4dfb1}.ts-standing-total>span{color:var(--ts-muted);font-size:11px}.ts-standing-total b{font-size:10px;color:#f7a7a3}.ts-standing-marks{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;color:#47484b;font-size:16px;line-height:1}.ts-standing-marks .is-filled{color:#efce8d}.ts-standings-elimination .ts-standing-marks .is-filled,.ts-standings-elimination .ts-standing-total strong{color:#f3a19a}.ts-standing-out{background:#24191b}.ts-standing-out .ts-standing-name{color:#baadae}@media(max-width:480px){.ts-standing{padding:9px 5px}.ts-standing-total{flex-wrap:wrap;gap:3px}.ts-standing-total strong{font-size:26px}.ts-standing-name{font-size:11px}.ts-standing-marks{gap:3px}}

.ts-speed-bonus{grid-column:1/-1;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:9px 12px;background:#463516;border:1px solid #d1a94b;border-radius:7px;color:#ffe6a9;font-size:13px}.ts-speed-bonus>span{font-weight:700;background:#6a4c19;border-radius:4px;padding:2px 6px}

/* Keep identities with the series tally and center the timer just below its edge. */
.ts-standing-avatars{display:flex;justify-content:center;align-items:flex-start;flex-wrap:wrap;gap:8px;margin:0 0 8px}.ts-standing-avatars .ts-person{width:64px;flex-basis:64px}.ts-standing-avatars .ts-photo .tournament-avatar,.ts-standing-avatars .ts-photo .tournament-avatar img{width:64px;height:64px;min-width:64px}.ts-round-center{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;position:relative;margin:-9px 0 0;z-index:1}.ts-round-center .ts-timer{display:flex;flex-direction:column;gap:2px;padding:5px 16px;background:#111214;border:1px solid #4d4638;border-radius:0 0 9px 9px}.ts-round-center .ts-timer>svg{display:none}.ts-round-center .ts-timer strong{font-size:22px}.ts-round-center .ts-timer>span{font-size:10px}.ts-points-only .ts-side{padding:4px 12px 10px}.ts-points-only .ts-scorebox{width:100%;align-items:center;text-align:center}.ts-points-only .ts-score{font-size:clamp(30px,3vw,44px)}.ts-points-only .ts-powers{justify-content:center;min-height:31px}.ts-powers .ts-effect,.ts-effect{display:inline-flex;justify-content:center;align-items:center;gap:5px;min-height:30px;padding:4px 7px;border-radius:5px;background:#302c22;color:#f4d596}.ts-effect svg{flex-shrink:0}.ts-effect strong{font-size:15px;font-variant-numeric:tabular-nums}.ts-effect small,.ts-powers .ts-effect small{color:inherit;font-size:10px}.ts-effect-speed{color:#ffe497;background:#493919}.ts-points-only .ts-leading{min-height:0}.ts-standing-out .ts-standing-avatars{opacity:.65}@media(max-width:480px){.ts-standing-avatars .ts-person{width:48px;flex-basis:48px}.ts-standing-avatars .ts-photo .tournament-avatar,.ts-standing-avatars .ts-photo .tournament-avatar img{width:48px;height:48px;min-width:48px}.ts-standing-avatars .ts-person-name{font-size:10px}.ts-round-center .ts-timer strong{font-size:20px}.ts-points-only .ts-side{padding:3px 6px 8px}}
@media(max-width:720px){.ts-points-only.ts-sides-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ts-points-only.ts-sides-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.ts-points-only.ts-sides-3 .ts-score,.ts-points-only.ts-sides-4 .ts-score{font-size:clamp(18px,5vw,28px)}}
.ts-round-center>.ts-effect{position:absolute;right:0;top:50%;transform:translateY(-50%);max-width:calc(50% - 70px);flex-wrap:wrap}

.ts-heading-actions .lineup-share{margin:0;min-width:0}.ts-heading-actions .lineup-share>button{display:inline-flex;align-items:center;justify-content:center;color:#f1d9a3;background:#29261f;border:1px solid #65593e;border-radius:7px;padding:7px 10px;font-family:inherit;font-size:12px;font-weight:500;min-height:32px}.tournament-scoreboard .lineup-share-panel{background:#202123;border-color:#514938;color:#f6f3ec;max-width:480px}.tournament-scoreboard .lineup-share-panel input{background:#151618;color:#f2eee6;border:1px solid #686459;border-radius:6px;padding:8px}.tournament-scoreboard .lineup-share-panel small{color:var(--ts-muted)}.ts-heading-actions:has(.lineup-share-panel){align-items:flex-start}@media(max-width:720px){.ts-heading-actions:has(.lineup-share-panel){width:100%;flex-wrap:wrap}.ts-heading-actions .lineup-share:has(.lineup-share-panel){width:100%}.ts-heading-actions .lineup-share>button{min-height:40px}}

.ts-heading:has(.lineup-share-panel){align-items:flex-start}
/* Make round correction visible without mixing it with match-level totals. */
.ts-round-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ts-round-heading>div{min-width:0;flex:1}
.tournament-scoreboard .ts-change-round-winner{background:#e6ba63;color:#17130b;border-color:#e6ba63;min-height:40px;padding:9px 14px;font-size:13px;font-weight:600;flex-shrink:0}
.tournament-scoreboard .ts-change-round-winner:hover:not(:disabled){background:#f2cc7b}
.tournament-scoreboard .ts-change-round-winner[aria-expanded=true]{background:#29261f;color:#f1d9a3;border-color:#65593e}
.ts-round-result-editor>summary[hidden]{display:none}
.ts-round-result-editor[open]{border:1px solid #65593e;border-radius:8px;padding:4px 12px 12px;margin-top:12px;background:#1d1c19}
.ts-round-result-editor .ts-review{border:0}
.ts-match>.ts-match-result-editor>summary{display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;padding:9px 12px;min-height:40px;border:1px solid #65593e;border-radius:7px;background:#29261f;font-weight:500;list-style:none}
.ts-match-result-editor>summary::-webkit-details-marker{display:none}
.ts-match-result-editor[open]>summary>svg:last-child{transform:rotate(180deg)}
.tournament-scoreboard .ts-rounds-shortcut{justify-self:start;grid-column:1/-1;font-size:13px;min-height:40px}
.ts-rounds-shortcut span{color:var(--ts-muted)}
.ts-summary-match[id]{scroll-margin-top:20px}
@media(max-width:520px){.ts-round-heading{gap:12px}.tournament-scoreboard .ts-change-round-winner{min-height:44px}.ts-round-result-editor .ts-review input,.ts-round-result-editor .ts-review select{width:100%;font-size:16px}}

/* Compact cards preserve avatar dimensions and readable scores. */
.ts-match{gap:7px 12px;padding:10px 12px}.ts-standing{padding:6px 10px}.ts-standing-avatars{margin-bottom:4px}.ts-standing-total{margin:2px 0}.ts-standing-total strong{font-size:26px}.ts-standings-heading{padding:6px 10px}.ts-points-only .ts-side{padding-top:2px;padding-bottom:4px}.ts-match-footer{padding-top:6px;gap:6px 12px}.ts-match-footer .ts-rounds-shortcut{margin-left:0;font-size:12px;min-height:32px}.ts-shared-bonus{grid-column:1/-1;display:flex;justify-content:center}@media(max-width:720px){.ts-match{padding:10px}.ts-match-footer .ts-button{min-height:40px}.ts-side{gap:6px}}

/* Shared scoreboard hierarchy; photo and score sizing stays in each view. */
.sb-match-header{min-width:0;grid-column:1/-1}.sb-title-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px}.sb-title-row h2,.tournament-scoreboard .sb-title-row h2{display:flex;align-items:baseline;gap:8px;min-width:0;flex:1 1 200px;font-size:16px;line-height:1.35;margin:0;color:#f4f0e9;overflow-wrap:anywhere}.sb-match-number{flex:none;color:#b4b1a9;font-size:11px;font-weight:400}.sb-countdown{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid #65593e;border-radius:6px;background:#29261f;color:#f1d9a3;font-size:14px;line-height:1.4;font-variant-numeric:tabular-nums;max-width:100%;overflow-wrap:anywhere}.sb-countdown svg{flex:none}.sb-countdown.is-urgent{color:#ffb3a2;border-color:#9d6254}.sb-match-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-top:5px;color:#b4b1a9;font-size:12px;line-height:1.5}.sb-match-meta time{color:#e3c477}.sb-match-meta .sb-warning{color:#f1c679}.sb-monitoring-help{position:relative;display:inline-flex;max-width:100%;z-index:5}.sb-help-button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 8px;border:1px solid #65593e;border-radius:6px;background:#29261f;color:#f1d9a3;font-family:inherit;font-size:12px;font-weight:500;line-height:1.4;cursor:pointer}.sb-help-button:focus-visible{outline:2px solid #e3c477;outline-offset:3px}.sb-monitoring-tooltip{position:absolute;top:100%;right:0;width:340px;max-width:calc(100vw - 48px);padding:12px;background:#29261f;color:#f3e5c8;border:1px solid #796640;border-radius:7px;box-shadow:0 8px 24px #0008;font:400 13px/1.55 system-ui,sans-serif;z-index:10}.public-scoreboard .sb-monitoring-tooltip{right:auto;left:0}.public-scoreboard .sb-monitoring-help{margin:0 0 14px}@media(max-width:600px){.sb-title-row{gap:6px 10px}.sb-title-row h2,.tournament-scoreboard .sb-title-row h2{font-size:16px}.sb-countdown{font-size:13px}.sb-help-button{min-height:40px}.tournament-scoreboard .ts-heading>.sb-monitoring-help{width:100%}.tournament-scoreboard .sb-monitoring-tooltip{left:0;right:auto}.sb-match-meta{gap:3px 10px}}

/* Shared Broadcast presentation for every scoreboard. */
.sb-broadcast{background:#0c0c0d;color:#f5f5f6;font-family:'Uprise Broadcast Plex','IBM Plex Sans',system-ui,sans-serif;color-scheme:dark;--ts-muted:#bcbcc2;--ts-line:#38383e;--ts-gold:#e3c477}
.public-scoreboard.sb-broadcast{max-width:none;min-height:100dvh}.sb-broadcast.public-scoreboard>section,.sb-broadcast.public-scoreboard>.page-heading,.sb-broadcast.public-scoreboard>.sb-monitoring-help{max-width:960px;margin-left:auto;margin-right:auto}.sb-broadcast .ts-header{background:#111112;border-top:4px solid #d5b66b}.sb-broadcast .brand,.sb-broadcast .ts-brand{color:#e3c477}.sb-broadcast .subtitle,.sb-broadcast .score-note{color:#bcbcc2}
.sb-broadcast .ts-match,.sb-broadcast .score-match{display:block;background:#18181a;border:1px solid #777780;border-radius:5px;padding:0;overflow:hidden;margin-bottom:18px;min-width:0}.sb-broadcast .ts-matches{max-width:960px;margin:auto}.sb-broadcast .ts-heading{max-width:960px;margin:auto}.sb-broadcast .ts-heading-actions{flex-wrap:wrap}
.sb-broadcast-ribbon{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px 16px;background:linear-gradient(100deg,#343438,#202023);border-bottom:1px solid #777780;padding:10px 16px;color:#f5f5f6;font-size:12px}.sb-broadcast-ribbon.is-live{background:linear-gradient(100deg,#99102b,#51152a 58%,#202027);border-color:#bf677e}.sb-broadcast .sb-broadcast-ribbon h2{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0;font:600 13px/1.4 'Uprise Broadcast Plex','IBM Plex Sans',system-ui,sans-serif;color:#fff;min-width:0;overflow-wrap:anywhere}.sb-broadcast-ribbon h2>span:first-child{text-transform:uppercase;font-weight:700}.sb-broadcast-match{font-weight:500}.sb-broadcast-countdown{font-variant-numeric:tabular-nums;color:#f2d79a;white-space:nowrap}
.sb-broadcast .ts-sides,.sb-broadcast .score-teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0;align-items:stretch}.sb-broadcast .ts-sides[data-team-count="2"],.sb-broadcast .score-teams[data-team-count="2"]{grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr)}
.sb-broadcast-clock{grid-column:1/-1;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 12px;padding:12px;background:#202023;text-align:center;min-width:0}.sb-clock-label{background:linear-gradient(#e3c477,#c5a55e);color:#17140d;padding:5px 10px;font-size:12px;font-weight:700;text-transform:uppercase;border-radius:3px}.sb-clock-value{display:block;color:#171719;background:linear-gradient(#fafafb,#c8c8cf);border-radius:3px;padding:5px 8px;font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.3;overflow-wrap:anywhere}.sb-clock-value.is-urgent{color:#96132e}.sb-clock-date{display:block;color:#d2d2d8;font-size:11px}.sb-clock-zones{display:grid;grid-template-columns:repeat(4,auto);gap:4px 10px;font-size:11px;color:#d2d2d8;font-variant-numeric:tabular-nums}.sb-clock-zones span{white-space:nowrap}.sb-clock-zones small{display:block;font-size:11px}
.sb-broadcast [data-team-count="2"]>.sb-broadcast-clock{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-self:stretch;gap:6px;padding:14px 6px;background:#18181a}.sb-broadcast [data-team-count="2"]>.sb-broadcast-clock .sb-clock-zones{grid-template-columns:repeat(2,auto);gap:4px 8px}.sb-broadcast [data-team-count="2"]>.sb-broadcast-clock+.ts-side,.sb-broadcast [data-team-count="2"]>.sb-broadcast-clock+.score-team{grid-column:1;grid-row:1}.sb-broadcast [data-team-count="2"]>.ts-side:last-child,.sb-broadcast [data-team-count="2"]>.score-team:last-child{grid-column:3;grid-row:1}
.sb-broadcast .ts-side,.sb-broadcast .score-team{background:linear-gradient(112deg,#554525,#28241b 44%,#18181a 78%);border:0;border-radius:0;padding:20px 16px;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;min-width:0}.sb-broadcast .ts-side:nth-child(odd),.sb-broadcast .score-team:nth-child(odd){background:linear-gradient(248deg,#554525,#28241b 44%,#18181a 78%)}.sb-broadcast .ts-scorebox{align-items:center;width:100%}.sb-broadcast .ts-roster,.sb-broadcast .score-creators{gap:10px;min-width:0;max-width:100%;flex-wrap:wrap}.sb-broadcast .ts-person{width:auto;flex:0 1 110px;min-width:0}.sb-broadcast .ts-photo{margin-bottom:6px}.sb-broadcast .ts-photo .tournament-avatar,.sb-broadcast .ts-photo .tournament-avatar img,.sb-broadcast .score-creators .avatar{width:58px;height:58px;min-width:58px;border-color:#d0d0d6;background:#353538;color:#fff}.sb-broadcast .ts-person-name,.sb-broadcast .score-creators span[title]{font-size:13px;color:#fff;line-height:1.35;overflow-wrap:anywhere}.sb-broadcast .ts-team-name{color:#c8c8cf}.sb-broadcast .ts-score,.sb-broadcast .match-score{font-size:clamp(25px,3.6vw,44px);font-weight:700;line-height:1.15;color:#fff;letter-spacing:-1px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%;margin:3px 0}.sb-broadcast .ts-leading,.sb-broadcast .score-outcome{font-size:11px;letter-spacing:.3px;color:#f1d797}.sb-broadcast-tally,.sb-broadcast .score-tally{font-size:12px;color:#d2d2d8;margin:0}.sb-broadcast .score-tally strong{font-size:14px;color:#f2d79a}.sb-broadcast .final-place{color:#e3c477}.sb-broadcast .place-2{color:#d2d2d8}.sb-broadcast .place-3{color:#d5b66b}
.sb-broadcast .ts-match-footer,.sb-broadcast .score-match>footer{padding:10px 16px;background:#202022;border-top:1px solid #4c4c53;color:#c8c8cf;font-size:12px}.sb-broadcast .ts-match-footer strong,.sb-broadcast .score-match>footer strong{color:#f1d797}.sb-broadcast .ts-feed-note,.sb-broadcast .ts-winner-editor,.sb-broadcast .ts-round-center,.sb-broadcast .score-shared-bonus{padding:10px 16px;margin:0}.sb-broadcast .score-history{background:#19191c;border-color:#38383e}.sb-broadcast .score-history h3{background:#242426}.sb-broadcast .ts-button{background:#272729;color:#f5f5f6;border-color:#73737c}.sb-broadcast .ts-side-winner{box-shadow:inset 0 -3px #e3c477}
@media(max-width:800px){.sb-broadcast .ts-sides[data-team-count="2"],.sb-broadcast .score-teams[data-team-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.sb-broadcast [data-team-count="2"]>.sb-broadcast-clock{grid-column:1/-1;grid-row:1;flex-direction:row;background:#262628;padding:10px;gap:7px 12px}.sb-broadcast [data-team-count="2"]>.sb-broadcast-clock .sb-clock-zones{grid-template-columns:repeat(4,auto);flex-basis:100%;justify-content:center}.sb-broadcast [data-team-count="2"]>.sb-broadcast-clock+.ts-side,.sb-broadcast [data-team-count="2"]>.sb-broadcast-clock+.score-team{grid-column:1;grid-row:2}.sb-broadcast [data-team-count="2"]>.ts-side:last-child,.sb-broadcast [data-team-count="2"]>.score-team:last-child{grid-column:2;grid-row:2}.sb-broadcast .ts-side,.sb-broadcast .score-team{padding:14px 8px}.sb-broadcast .ts-score,.sb-broadcast .match-score{font-size:30px}.sb-broadcast .sb-broadcast-ribbon{padding:10px 12px}.sb-broadcast .ts-heading{padding:16px}.sb-broadcast .ts-matches{padding:0 10px}.sb-broadcast .ts-person{flex-basis:90px}}
.sb-broadcast .ts-scorebox .sb-broadcast-tally{order:3}.sb-broadcast .ts-scorebox .ts-leading{order:2}.sb-broadcast .score-tally{order:3}.sb-broadcast .score-outcome{order:2}.sb-broadcast .score-effects{order:4}
@media(min-width:801px){.sb-broadcast [data-team-count="2"]>.ts-side{flex-direction:row;padding:18px;gap:14px}.sb-broadcast [data-team-count="2"]>.ts-side .ts-scorebox{width:auto;flex:1;align-items:flex-start}.sb-broadcast [data-team-count="2"]>.ts-side .ts-roster{flex:0 1 90px}.sb-broadcast [data-team-count="2"]>.score-team{display:grid;grid-template-columns:85px minmax(0,1fr);column-gap:14px;row-gap:4px;text-align:left;align-content:center;justify-items:start;padding:18px}.sb-broadcast [data-team-count="2"]>.score-team>.score-creators{grid-column:1;grid-row:1/6}.sb-broadcast [data-team-count="2"]>.score-team>:not(.score-creators){grid-column:2;margin:0}.sb-broadcast [data-team-count="2"]>.score-team>.match-score{grid-row:1}.sb-broadcast [data-team-count="2"]>.score-team>.score-tally{grid-row:3}.sb-broadcast [data-team-count="2"]>.score-team>.score-outcome{grid-row:2}}
@media(max-width:380px){.sb-broadcast [data-team-count="2"]>.sb-broadcast-clock .sb-clock-zones,.sb-clock-zones{grid-template-columns:repeat(2,auto)}.sb-broadcast .ts-score,.sb-broadcast .match-score{font-size:26px}}

/* Keep the score pair beside the clock, with creator portraits on the outer edges. */
@media(min-width:801px){
  .sb-broadcast [data-team-count="2"]>.ts-side .ts-scorebox{align-items:flex-end;text-align:right;min-width:0}
  .sb-broadcast [data-team-count="2"]>.ts-side:last-child{flex-direction:row-reverse}
  .sb-broadcast [data-team-count="2"]>.ts-side:last-child .ts-scorebox{align-items:flex-start;text-align:left}
  .sb-broadcast [data-team-count="2"]>.score-team{justify-items:end;text-align:right}
  .sb-broadcast [data-team-count="2"]>.score-team>.score-creators{justify-self:center;text-align:center}
  .sb-broadcast [data-team-count="2"]>.score-team:last-child{grid-template-columns:minmax(0,1fr) 85px;justify-items:start;text-align:left}
  .sb-broadcast [data-team-count="2"]>.score-team:last-child>.score-creators{grid-column:2}
  .sb-broadcast [data-team-count="2"]>.score-team:last-child>:not(.score-creators){grid-column:1}
}

/* Creator captions already identify every teammate; avoid repeating the roster. */
.sb-broadcast .ts-team-name,.sb-broadcast .score-team-name{display:none}
@media(max-width:800px){
  .sb-broadcast .ts-side,.sb-broadcast .score-team{justify-content:flex-start}
  .sb-broadcast .ts-roster,.sb-broadcast .score-creators{display:grid;grid-template-columns:minmax(0,1fr);width:100%;align-items:start;gap:10px 6px}
  .sb-broadcast .ts-roster:has(> :nth-child(2)),.sb-broadcast .score-creators:has(> :nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}
  .sb-broadcast .ts-roster>.ts-person,.sb-broadcast .score-creators>div{width:100%;min-width:0;max-width:none;margin:0}
  .sb-broadcast .ts-person-name,.sb-broadcast .score-creators span[title]{display:block;min-height:2.7em;overflow-wrap:anywhere}
  .sb-broadcast .ts-scorebox{margin-top:auto;padding-top:8px}
  .sb-broadcast .score-team>.match-score,.sb-broadcast .score-team>.final-place{margin-top:auto;padding-top:8px}
}

/* White captions retain their TikTok destination without link decoration. */
.public-scoreboard .score-creators .creator-profile-link,
.public-scoreboard .score-creators .creator-profile-link:visited,
.public-scoreboard .score-creators .creator-profile-link:hover{color:#fff;text-decoration:none}
.public-scoreboard .score-creators .creator-profile-link:focus-visible{outline:2px solid #e3c477;outline-offset:3px;border-radius:3px}
/* Multiway rows keep portraits immediately beside the central points. */
.sb-broadcast .ts-match:has([data-multiway="true"]),.sb-broadcast .score-match:has([data-multiway="true"]){max-width:640px;margin-left:auto;margin-right:auto}
.sb-broadcast [data-multiway="true"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.sb-broadcast [data-multiway="true"]>.sb-broadcast-clock{grid-column:1/-1;padding:8px 12px;gap:6px 10px}
.sb-broadcast [data-multiway="true"]>.ts-side,.sb-broadcast [data-multiway="true"]>.score-team{display:grid;grid-template-columns:76px minmax(0,max-content);gap:4px 10px;padding:10px 14px;align-content:center;justify-content:end;justify-items:end;text-align:right;border-top:1px solid #38383e}
.sb-broadcast [data-multiway="true"]>.ts-side:nth-child(odd),.sb-broadcast [data-multiway="true"]>.score-team:nth-child(odd){grid-template-columns:minmax(0,max-content) 76px;justify-content:start;justify-items:start;text-align:left;border-left:1px solid #38383e}
.sb-broadcast [data-multiway="true"] .ts-roster,.sb-broadcast [data-multiway="true"] .score-creators{grid-column:1;grid-row:1/7;width:76px;display:flex;justify-content:center;align-items:center;text-align:center}
.sb-broadcast [data-multiway="true"]>.ts-side:nth-child(odd) .ts-roster,.sb-broadcast [data-multiway="true"]>.score-team:nth-child(odd) .score-creators{grid-column:2}
.sb-broadcast [data-multiway="true"] .ts-scorebox{grid-column:2;grid-row:1;align-items:flex-end;text-align:right;width:100%;min-width:0;margin:0;padding:0;gap:4px}
.sb-broadcast [data-multiway="true"]>.ts-side:nth-child(odd) .ts-scorebox{grid-column:1;align-items:flex-start;text-align:left}
.sb-broadcast [data-multiway="true"]>.score-team>:not(.score-creators){grid-column:2;max-width:100%;margin:0;padding:0}
.sb-broadcast [data-multiway="true"]>.score-team:nth-child(odd)>:not(.score-creators){grid-column:1}
.sb-broadcast [data-multiway="true"] .ts-person{flex-basis:76px}
.sb-broadcast [data-multiway="true"] .ts-person-name,.sb-broadcast [data-multiway="true"] .score-creators span[title]{font-size:12px;min-height:0}
.sb-broadcast [data-multiway="true"] .ts-photo .tournament-avatar,.sb-broadcast [data-multiway="true"] .ts-photo .tournament-avatar img,.sb-broadcast [data-multiway="true"] .score-creators .avatar{width:48px;height:48px;min-width:48px}
.sb-broadcast [data-multiway="true"] .ts-score,.sb-broadcast [data-multiway="true"] .match-score{font-size:clamp(24px,3vw,34px);letter-spacing:-.5px;margin:0;overflow-wrap:anywhere}
.sb-placement{display:inline-flex;align-items:baseline;gap:5px;order:-1;padding:3px 8px;border:1px solid #73737c;border-radius:4px;color:#e7e7ed;background:#252528;font-size:16px;font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums}
.sb-placement small{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px}
[data-place="1"] .sb-placement{color:#ffe3a0;border-color:#d5b66b;background:#3b301c}
[data-place="2"] .sb-placement{color:#ececf5;border-color:#aaaab8}
[data-place="3"] .sb-placement{color:#efc39c;border-color:#ad805d}
.sb-broadcast [data-multiway="true"]>.score-team>.sb-placement{grid-row:1;padding:3px 8px}
.sb-broadcast [data-multiway="true"]>.score-team>.match-score{grid-row:2}
.sb-broadcast [data-multiway="true"]>.score-team>.score-outcome{grid-row:3}
.sb-broadcast [data-multiway="true"]>.score-team>.score-tally{grid-row:4}
.sb-broadcast [data-multiway="true"]>.score-team>.score-effects{grid-row:5}
.sb-broadcast [data-multiway="true"][data-team-count="3"]>.ts-side:last-child,.sb-broadcast [data-multiway="true"][data-team-count="3"]>.score-team:last-child{grid-column:1/-1;grid-template-columns:76px minmax(0,max-content);justify-content:center;justify-items:center;text-align:center;border-left:0}
.sb-broadcast [data-multiway="true"][data-team-count="3"]>.ts-side:last-child .ts-scorebox{align-items:center;text-align:center}
@media(max-width:480px){
 .sb-broadcast [data-multiway="true"]>.ts-side,.sb-broadcast [data-multiway="true"]>.score-team{grid-template-columns:56px minmax(0,1fr);gap:4px 6px;padding:10px 6px}
 .sb-broadcast [data-multiway="true"]>.ts-side:nth-child(odd),.sb-broadcast [data-multiway="true"]>.score-team:nth-child(odd){grid-template-columns:minmax(0,1fr) 56px}
 .sb-broadcast [data-multiway="true"] .ts-roster,.sb-broadcast [data-multiway="true"] .score-creators{width:56px}
 .sb-broadcast [data-multiway="true"] .ts-score,.sb-broadcast [data-multiway="true"] .match-score{font-size:clamp(19px,5.5vw,26px)}
 .sb-broadcast [data-multiway="true"] .sb-placement{font-size:14px;gap:3px;padding:3px 5px}
 .sb-broadcast [data-multiway="true"] .sb-placement small{font-size:9px}
 .sb-broadcast [data-multiway="true"][data-team-count="3"]>.ts-side:last-child,.sb-broadcast [data-multiway="true"][data-team-count="3"]>.score-team:last-child{grid-template-columns:56px minmax(0,max-content);justify-content:center}
}

/* Every public matchup uses the established three-creator panel width. */
.public-scoreboard .score-match{width:100%;max-width:640px;margin-left:auto;margin-right:auto}
.public-scoreboard .score-creators .public-creator-live{display:inline-flex;align-items:center;justify-content:center;border-radius:4px;padding:2px 6px;background:#bd173d;color:#fff;font-size:10px;font-weight:750;line-height:1.3;letter-spacing:.06em}

.public-scoreboard .score-creators .public-creator-status-offline{background:#48494e;color:#fff}
.public-scoreboard .score-creators .public-creator-status-unknown{background:#343438;color:#d2d2d8}

/* Fit complete score values into their column without wrapping or clipping. */
.public-scoreboard .score-match .match-score.fitted-score{display:block;width:100%;min-width:0;max-width:100%;font-size:28px;line-height:1.15;letter-spacing:0;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.public-scoreboard .fitted-score>span{display:inline-block;white-space:nowrap;max-width:none}
@media(max-width:600px){.public-scoreboard .score-match .match-score.fitted-score{font-size:24px}}

/* Shared Broadcast arena: portraits outside, points beside a central clock. */
.sb-public-points{display:contents}
.sb-broadcast :is(.ts-match,.score-match):has(>.sb-center-arena){width:100%;max-width:960px;margin-left:auto;margin-right:auto}
.sb-broadcast :is(.ts-matches,.score-matches){max-width:960px;padding-left:0;padding-right:0}
.sb-broadcast.tournament-scoreboard{padding:0 24px 32px}
.sb-broadcast .sb-center-arena{display:grid;grid-template-columns:minmax(0,1fr) 192px minmax(0,1fr)!important;gap:0;padding:0;align-items:stretch;background:#18181a}
.sb-broadcast .sb-center-arena>.sb-broadcast-clock{grid-column:2;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:28px 50px 18px 24px 24px;gap:4px;align-content:center;justify-items:center;align-items:center;align-self:stretch;background:#18181a;padding:20px 4px;text-align:center;border:0}
.sb-center-arena .sb-clock-label{grid-row:1;padding:5px 10px;line-height:18px}
.sb-center-arena .sb-clock-value{grid-row:2;font-size:24px;white-space:nowrap;max-width:100%;padding:4px 8px;line-height:1.3}
.sb-center-arena .sb-clock-date{grid-row:3}
.sb-center-arena .sb-clock-zones{grid-row:4/6;grid-template-columns:repeat(2,auto);align-self:start;gap:4px 8px;font-size:11px}
.sb-broadcast .sb-center-arena>:is(.ts-side,.score-team){grid-column:1;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:16px;align-items:center;justify-content:stretch;justify-items:center;text-align:center;padding:20px 18px;min-height:212px;border:0;margin:0;border-radius:0}
.sb-broadcast .sb-center-arena>:is(.ts-side,.score-team):nth-child(odd){grid-column:3;grid-template-columns:minmax(0,.85fr) minmax(0,1fr)}
.sb-center-arena :is(.ts-roster,.score-creators){grid-column:1;grid-row:1;display:flex;justify-content:center;align-items:flex-start;flex-wrap:wrap;width:100%;gap:12px 8px;text-align:center}
.sb-center-arena>:nth-child(odd) :is(.ts-roster,.score-creators){grid-column:2}
.sb-center-arena :is(.ts-person,.score-creators>div){flex:0 1 80px;width:80px;min-width:0;max-width:100%;gap:6px}
.sb-center-arena :is(.ts-photo .tournament-avatar,.ts-photo .tournament-avatar img,.score-creators .avatar){width:80px;height:80px;min-width:80px;object-fit:cover}
.sb-center-arena :is(.ts-person-name,.score-creators span[title]){font-size:12px;line-height:1.35;min-height:2.7em;overflow-wrap:anywhere;text-align:center;display:block}
.sb-center-arena :is(.ts-scorebox,.sb-public-points){grid-column:2;grid-row:1;width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:28px 50px 18px 24px 24px;gap:4px;align-content:center;align-items:center;justify-items:center;text-align:center;margin:0;padding:0}
.sb-center-arena>:nth-child(odd) :is(.ts-scorebox,.sb-public-points){grid-column:1}
.sb-center-arena :is(.ts-scorebox,.sb-public-points)>*{grid-column:1;margin:0;max-width:100%;order:initial;text-align:center}
.sb-center-arena .sb-placement{grid-row:1;justify-self:center;font-size:14px;padding:3px 6px;white-space:nowrap}
.sb-center-arena :is(.match-score,.ts-score,.final-place){grid-row:2;font-size:32px!important;line-height:1.15;letter-spacing:0;width:100%;min-width:0;padding:0!important;margin:0!important;white-space:nowrap;overflow-wrap:normal}
.sb-center-arena .fitted-score>span{display:inline-block;white-space:nowrap}
.sb-center-arena :is(.score-outcome,.ts-leading){grid-row:3;font-size:11px;min-height:16px;line-height:16px}
.sb-center-arena :is(.score-tally,.sb-broadcast-tally){grid-row:4;font-size:12px;line-height:20px}
.sb-center-arena :is(.score-effects,.ts-powers){grid-row:5;justify-content:center;align-self:start;font-size:10px}
.sb-center-arena .ts-team-name,.sb-center-arena .score-team-name{display:none}
.sb-broadcast .sb-center-arena[data-arena-count="3"]>:last-child{grid-row:2;grid-column:1/-1;width:calc((100% - 192px)/2);justify-self:center;min-height:188px;padding-top:12px;padding-bottom:12px;background:linear-gradient(112deg,#3b321f,#18181a);border-top:1px solid #38383e;border-radius:8px 8px 0 0}
.sb-broadcast .sb-center-arena[data-arena-count="4"]>.sb-broadcast-clock{grid-row:1/3}
.sb-broadcast .sb-center-arena[data-arena-count="4"]>:nth-child(n+4){grid-row:2;border-top:1px solid #38383e}
.sb-broadcast .sb-center-arena[data-arena-count="4"]>:nth-child(4){grid-column:1}
.sb-broadcast .sb-center-arena[data-arena-count="4"]>:nth-child(5){grid-column:3}
.sb-broadcast .sb-center-arena+.ts-match-footer{padding:10px 16px;gap:8px 14px}
.sb-broadcast .ts-source{margin-left:auto;display:flex;align-items:center;gap:8px}
.sb-broadcast .ts-source select{max-width:160px;background:#242426;color:#eee;border:1px solid #625b49;border-radius:6px;padding:6px;font:inherit}
.sb-broadcast .ts-match-footer .ts-button{margin-left:0;min-height:34px}
/* Mobile hangs the clock at the top between the opposing creator columns. */
@media(max-width:800px){
 .sb-broadcast .sb-center-arena{grid-template-columns:minmax(0,1fr) 144px minmax(0,1fr)!important}
 .sb-broadcast .sb-center-arena>.sb-broadcast-clock,
 .sb-broadcast .sb-center-arena[data-arena-count="4"]>.sb-broadcast-clock{grid-column:2;grid-row:1;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-self:start;gap:8px;padding:14px 4px;background:transparent;border:0}
 .sb-center-arena .sb-clock-value{font-size:20px;padding:5px 6px}
 .sb-center-arena .sb-clock-date{font-size:11px}
 .sb-center-arena .sb-clock-zones{grid-template-columns:auto;align-self:center;justify-content:center;justify-items:center;width:100%;text-align:center;gap:4px 10px;font-size:11px}
 .sb-broadcast .sb-center-arena>:is(.ts-side,.score-team){grid-column:1;grid-row:1;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(132px,auto) 160px;gap:8px;padding:14px 10px}
 .sb-broadcast .sb-center-arena>:is(.ts-side,.score-team):nth-child(odd){grid-column:3;grid-template-columns:minmax(0,1fr)}
 .sb-center-arena :is(.ts-roster,.score-creators),.sb-center-arena>:nth-child(odd) :is(.ts-roster,.score-creators){grid-column:1;grid-row:1;align-self:center}
 .sb-center-arena :is(.ts-scorebox,.sb-public-points),.sb-center-arena>:nth-child(odd) :is(.ts-scorebox,.sb-public-points){grid-column:1;grid-row:2}
 .sb-broadcast .sb-center-arena[data-arena-count="3"]>:last-child{grid-row:2;grid-column:1/-1;width:80%;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:160px;min-height:184px}
 .sb-center-arena[data-arena-count="3"]>:last-child :is(.ts-scorebox,.sb-public-points){grid-row:1;grid-column:2}
 .sb-broadcast .sb-center-arena[data-arena-count="4"]>:nth-child(n+4){grid-row:2}
 .sb-broadcast .sb-center-arena[data-arena-count="4"]>:nth-child(4){grid-column:1}
 .sb-broadcast .sb-center-arena[data-arena-count="4"]>:nth-child(5){grid-column:3}
 .sb-center-arena :is(.ts-person,.score-creators>div){flex-basis:80px;width:80px}
 .sb-broadcast .sb-center-arena :is(.ts-roster,.score-creators):has(>:nth-child(2)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .sb-broadcast .sb-center-arena :is(.ts-roster,.score-creators):has(>:nth-child(2))>:is(.ts-person,div){width:100%;min-width:0}
 .sb-broadcast .sb-center-arena :is(.ts-roster,.score-creators):has(>:nth-child(2)) :is(.tournament-avatar,.tournament-avatar img,.avatar){width:56px;height:56px;min-width:56px}
 .sb-broadcast .sb-center-arena .ts-scorebox{padding:0;margin:0}
}
@media(max-width:520px){
 .sb-broadcast.tournament-scoreboard{padding:0 12px 24px}
 .sb-broadcast .sb-center-arena{grid-template-columns:minmax(0,1fr) 108px minmax(0,1fr)!important}
 .sb-center-arena .sb-clock-value{font-size:16px}
 .sb-center-arena .sb-clock-label{font-size:10px;padding:4px 7px}
 .sb-broadcast .sb-center-arena :is(.ts-roster,.score-creators):has(>:nth-child(2)){grid-template-columns:minmax(0,1fr);gap:12px}
 .sb-broadcast .sb-center-arena :is(.ts-roster,.score-creators):has(>:nth-child(2)) :is(.tournament-avatar,.tournament-avatar img,.avatar){width:64px;height:64px;min-width:64px}
 .sb-broadcast .ts-header{flex-wrap:wrap;gap:10px 14px}
 .sb-broadcast .sb-center-arena>:is(.ts-side,.score-team){padding:12px 6px}
 .sb-center-arena :is(.ts-photo .tournament-avatar,.ts-photo .tournament-avatar img,.score-creators .avatar){width:64px;height:64px;min-width:64px}
 .sb-center-arena :is(.match-score,.ts-score,.final-place){font-size:26px!important}
 .sb-center-arena .sb-placement{font-size:12px;padding:3px;gap:3px}.sb-center-arena .sb-placement small{font-size:8px;letter-spacing:0}
 .sb-center-arena :is(.score-tally,.sb-broadcast-tally){font-size:11px}.sb-center-arena .score-tally strong{font-size:12px}
 .sb-broadcast .ts-source{margin-left:0;flex-basis:100%}
}

.system-dashboard{--line-portal:#a47c30;--line-creator:#3285a5;--line-collector:#6977d6;--line-tournaments:#208879}.dark .system-dashboard{--line-portal:#d9ae60;--line-creator:#7bd2ee;--line-collector:#8e9bfa;--line-tournaments:#51bdad}.system-dashboard{font-size:14px}.system-dashboard .page{max-width:1536px;margin:auto;padding:0 34px 30px}.system-dashboard h1,.system-dashboard h2,.system-dashboard h3,.system-dashboard h4,.system-dashboard p{margin:0}.system-dashboard button,.system-dashboard select{min-height:34px}.system-dashboard button:hover:not(:disabled){background:var(--muted)}.system-dashboard button{color:var(--foreground)}.system-dashboard .brandbar{height:67px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.system-dashboard .brand{display:flex;gap:10px;align-items:center;font-size:14px;letter-spacing:.12em;font-weight:600}.system-dashboard .brand b{font-size:10px;border:1px solid var(--primary);color:var(--primary);padding:1px 5px;border-radius:4px;letter-spacing:.1em}.system-dashboard .brand>span{letter-spacing:0;font-weight:400;color:var(--muted-foreground);font-size:12px}.system-dashboard .brand svg{color:var(--muted-foreground)}.system-dashboard .brandbar>div{display:flex;align-items:center;gap:15px}.system-dashboard .preview-tag{font-size:10px;letter-spacing:.09em;color:var(--muted-foreground)}.system-dashboard .icon-button,.system-dashboard .compact-button{background:var(--card);border:1px solid var(--border);border-radius:6px;color:var(--foreground);padding:6px 10px;font-size:12px;min-height:34px}.system-dashboard .icon-button{width:34px;padding:0;flex-shrink:0}.system-dashboard .preview-note{display:flex;gap:8px;align-items:center;color:var(--primary);font-size:12px;background:color-mix(in srgb,var(--primary) 5%,var(--background));border:1px solid color-mix(in srgb,var(--primary) 23%,var(--border));padding:9px 12px;border-radius:6px;margin-bottom:25px}.system-dashboard .preview-note svg{flex-shrink:0}.system-dashboard .heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.system-dashboard .heading h1{font-size:29px;letter-spacing:-.035em;font-weight:600;line-height:1.2}.system-dashboard .heading p{color:var(--muted-foreground);font-size:13px;margin-top:6px}.system-dashboard .toolbar{display:flex;gap:7px;align-items:center}.system-dashboard .toolbar select,.system-dashboard .preview-tools select{font-size:12px;margin:0;min-height:34px;width:auto;padding:5px 28px 5px 10px;border-radius:6px;border-color:var(--border)}.system-dashboard .window{display:flex;justify-content:space-between;gap:12px;color:var(--muted-foreground);font-size:11px;margin:23px 0 12px}.system-dashboard .window>span:first-child{display:flex;align-items:center;gap:7px}.system-dashboard .window i{width:6px;height:6px;border-radius:50%;background:#51bdad}.system-dashboard .window i.paused{background:#d9ae60}.system-dashboard .separator{opacity:.6;margin:0 1px}.system-dashboard .metrics-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.system-dashboard .metric-card{background:var(--card);border:1px solid var(--border);border-radius:10px;min-width:0;overflow:hidden}.system-dashboard .metric-card header{display:flex;gap:10px;align-items:center;padding:17px 17px 7px}.system-dashboard .metric-icon{border-radius:7px;width:34px;height:34px;display:grid;place-items:center;background:var(--muted);color:var(--muted-foreground)}.system-dashboard .metric-card h2{font-size:16px;letter-spacing:-.015em}.system-dashboard .metric-card header p{font-size:10px;color:var(--muted-foreground);margin-top:3px}.system-dashboard .unit{margin-left:auto;font-size:11px;color:var(--muted-foreground)}.system-dashboard .chart-wrap{padding:7px 12px 0}.system-dashboard .chart{display:block;width:100%;height:auto;touch-action:pan-y}.system-dashboard .chart text{fill:var(--muted-foreground);font:11px 'IBM Plex Sans',sans-serif}.system-dashboard .chart .empty-chart{fill:var(--foreground);font-size:12px}.system-dashboard .gridline{stroke:var(--border);stroke-dasharray:3 4}.system-dashboard .cursor{stroke:var(--muted-foreground);stroke-dasharray:3 3}.system-dashboard .readout-heading{display:flex;justify-content:space-between;padding:10px 18px 5px;font-size:9px;letter-spacing:.07em;color:var(--muted-foreground)}.system-dashboard .legend{padding:0 10px 11px}.system-dashboard .legend button{display:flex;gap:8px;width:100%;font-size:11px;min-height:31px;border:0;padding:5px 8px;background:transparent;color:var(--foreground);border-radius:5px;font-weight:400}.system-dashboard .legend button[aria-pressed=false]{opacity:.38}.system-dashboard .legend button[aria-pressed=false]>span:nth-child(2){text-decoration:line-through}.system-dashboard .dot{width:7px;height:7px;display:inline-block;border-radius:50%;flex-shrink:0}.system-dashboard .legend strong{margin-left:auto;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}.system-dashboard .legend strong small{color:var(--muted-foreground);font-size:10px;font-weight:400}.system-dashboard .charts-note{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted-foreground);margin:10px 1px 30px}.system-dashboard .section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.system-dashboard .section-heading h2{font-size:20px;font-weight:500}.system-dashboard .section-heading p{color:var(--muted-foreground);font-size:12px;margin-top:4px}.system-dashboard .section-heading>span{font-size:11px;color:var(--muted-foreground)}.system-dashboard .disks-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.system-dashboard .disk-card{min-width:0;border:1px solid var(--border);border-radius:10px;background:var(--card);overflow:hidden}.system-dashboard .disk-card>header{display:flex;align-items:center;justify-content:space-between;padding:19px 20px 15px;gap:12px}.system-dashboard .disk-title{display:flex;gap:10px;align-items:center}.system-dashboard .disk-icon{width:36px;height:36px;background:var(--muted);border:1px solid var(--border);border-radius:8px;display:grid;place-items:center;color:var(--muted-foreground)}.system-dashboard .disk-title h3{font-size:14px;display:flex;gap:7px;align-items:center;font-weight:500}.system-dashboard .disk-title p{font-size:11px;margin-top:3px;color:var(--muted-foreground)}.system-dashboard .disk-title p>span{color:var(--muted-foreground)}.system-dashboard .pill{border:1px solid var(--border);background:var(--muted);border-radius:5px;padding:3px 7px;font-size:9px;color:var(--muted-foreground)}.system-dashboard .capacity{padding:0 20px 18px}.system-dashboard .capacity>div:first-child{display:flex;align-items:baseline;gap:5px}.system-dashboard .capacity strong{font-size:24px;font-weight:500;letter-spacing:-.04em}.system-dashboard .capacity span{font-size:11px;color:var(--muted-foreground)}.system-dashboard .capacity b{margin-left:auto;font-size:13px;font-weight:500}.system-dashboard .capacity-track{height:6px;background:var(--muted);border-radius:3px;overflow:hidden;margin-top:9px}.system-dashboard .capacity-track i{display:block;height:100%;border-radius:3px}.system-dashboard .capacity>p{display:flex;justify-content:space-between;font-size:10px;color:var(--muted-foreground);margin-top:7px}.system-dashboard .capacity p>span{font-size:10px}.system-dashboard .file-heading{border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:14px 20px 7px}.system-dashboard .file-heading h4{font-size:12px;font-weight:500}.system-dashboard .file-heading>span{font-size:10px;color:var(--muted-foreground)}.system-dashboard table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:11px}.system-dashboard thead th{font-size:9px;letter-spacing:.03em;font-weight:500;color:var(--muted-foreground);text-align:left;padding:6px 6px 8px;border-bottom:1px solid var(--border)}.system-dashboard th.rank{width:42px;padding-left:20px}.system-dashboard th:nth-child(3){width:83px;text-align:right}.system-dashboard th:nth-child(4){width:87px;text-align:right;padding-right:20px}.system-dashboard tbody td{border-bottom:1px solid color-mix(in srgb,var(--border) 70%,transparent);height:34px;padding:5px 6px;font-variant-numeric:tabular-nums}.system-dashboard .rank{color:var(--muted-foreground);font-size:10px;padding-left:20px}.system-dashboard tbody tr:last-child td{border-bottom:0}.system-dashboard tbody tr:hover{background:var(--muted)}.system-dashboard tbody td:nth-child(3){text-align:right;white-space:nowrap}.system-dashboard tbody td:last-child{text-align:right;padding-right:20px;color:var(--muted-foreground)}.system-dashboard .file-name{display:flex;align-items:center;gap:7px;min-width:0}.system-dashboard .file-name svg{flex-shrink:0;color:var(--muted-foreground);opacity:.65}.system-dashboard .file-name>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.system-dashboard .share{display:flex;flex-direction:column;align-items:flex-end;gap:3px;font-size:10px}.system-dashboard .share i{height:2px;width:40px;background:var(--muted);display:block;border-radius:2px}.system-dashboard .share em{display:block;height:2px;border-radius:2px}.system-dashboard .disk-card footer{font-size:10px;color:var(--muted-foreground);padding:12px 20px;border-top:1px solid var(--border);line-height:1.5;background:color-mix(in srgb,var(--muted) 30%,transparent)}.system-dashboard .no-disk{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted-foreground);padding:15px 2px}.system-dashboard .no-disk strong{font-weight:400;color:var(--foreground)}.system-dashboard .preview-tools{display:flex;justify-content:flex-end;align-items:center;gap:9px;border-top:1px solid var(--border);padding-top:16px;margin-top:6px;font-size:10px;color:var(--muted-foreground)}.system-dashboard .preview-tools select{font-size:10px;min-height:30px}.system-dashboard .storage-empty{padding:80px 20px 100px;display:flex;align-items:center;flex-direction:column;gap:10px;color:var(--muted-foreground);font-size:12px}.system-dashboard .storage-empty small{font-size:11px}.system-dashboard .spin{animation:spin .5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1050px){.system-dashboard .page{padding:0 20px 24px}.system-dashboard .metrics-row{gap:10px}.system-dashboard .metric-card header{padding:14px 12px 6px;gap:7px}.system-dashboard .metric-icon{width:29px;height:29px}.system-dashboard .metric-card header p{font-size:9px}.system-dashboard .readout-heading{padding-left:13px;padding-right:13px}.system-dashboard .legend{padding-left:5px;padding-right:5px}.system-dashboard .disks-row{grid-template-columns:1fr}.system-dashboard th:nth-child(4){width:100px}.system-dashboard th:nth-child(3){width:95px}}
@media(max-width:700px){.system-dashboard .page{padding:0 14px 20px}.system-dashboard .brandbar{height:58px;margin-bottom:14px}.system-dashboard .brand{gap:6px;font-size:12px}.system-dashboard .brandbar>div{gap:8px}.system-dashboard .preview-tag{font-size:8px}.system-dashboard .preview-note{font-size:10px;margin-bottom:20px}.system-dashboard .heading{flex-wrap:wrap}.system-dashboard .heading h1{font-size:26px}.system-dashboard .toolbar{margin-top:2px}.system-dashboard .window{margin-top:18px;flex-wrap:wrap;font-size:10px}.system-dashboard .window>span:last-child{display:none}.system-dashboard .metrics-row{grid-template-columns:1fr;gap:14px}.system-dashboard .metric-card header p{font-size:11px}.system-dashboard .metric-card header{padding:16px}.system-dashboard .chart-wrap{padding-left:16px;padding-right:16px}.system-dashboard .legend button{font-size:12px;min-height:34px;padding-left:13px;padding-right:13px}.system-dashboard .readout-heading{padding-left:18px;padding-right:18px}.system-dashboard .charts-note{flex-direction:column;gap:4px;margin-bottom:24px}.system-dashboard .section-heading>span{display:none}.system-dashboard .section-heading p{font-size:11px}.system-dashboard .disk-card>header{padding:16px 14px}.system-dashboard .capacity{padding:0 14px 16px}.system-dashboard .file-heading{padding-left:14px;padding-right:14px}.system-dashboard .rank,.system-dashboard th.rank{padding-left:12px;width:28px}.system-dashboard th:nth-child(3){width:73px}.system-dashboard th:nth-child(4){width:61px;padding-right:12px}.system-dashboard tbody td:last-child{padding-right:12px}.system-dashboard .file-name{gap:4px}.system-dashboard .file-name svg{display:none}.system-dashboard table{font-size:10px}.system-dashboard .disk-card footer{padding:10px 14px;font-size:9px}.system-dashboard .no-disk{flex-wrap:wrap;gap:6px;font-size:10px}.system-dashboard .no-disk>span:last-child{margin-left:13px}.system-dashboard .preview-tools{justify-content:flex-start}}.system-dashboard .requests-card{margin:0 0 28px}.system-dashboard .requests-card .chart-wrap{padding:5px 18px 0}.system-dashboard .requests-card .chart{max-height:205px;min-height:155px}.system-dashboard .requests-card .readout-heading{display:none}.system-dashboard .requests-card .legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:10px 20px 15px}.system-dashboard .requests-card .legend button{border-top:1px solid var(--border);border-radius:0;padding:10px 0 0;min-height:34px}.system-dashboard .requests-card header{padding:17px 20px 8px}.system-dashboard .charts-note{margin-bottom:18px}@media(max-width:700px){.system-dashboard .requests-card .chart{min-width:760px;max-height:none;min-height:0}.system-dashboard .requests-card .chart-wrap{overflow-x:auto;padding:5px 12px 0}.system-dashboard .requests-card .legend{grid-template-columns:1fr;gap:0;padding:5px 18px 13px}.system-dashboard .requests-card .legend button{border-top:0;padding:5px 0}.system-dashboard .requests-card header p{font-size:10px}}.system-dashboard .timeline-event{cursor:pointer}.system-dashboard .timeline-event line{stroke:var(--muted-foreground);stroke-opacity:.5;stroke-dasharray:4 5;stroke-width:1}.system-dashboard .timeline-event circle,.system-dashboard .timeline-event>path{fill:var(--muted-foreground)}.system-dashboard .chart .timeline-event text{font-size:10px;fill:var(--muted-foreground)}.system-dashboard .timeline-event.selected line{stroke:var(--primary);stroke-opacity:1}.system-dashboard .timeline-event.selected circle,.system-dashboard .timeline-event.selected>path{fill:var(--primary)}.system-dashboard .timeline-event:focus{outline:none}.system-dashboard .timeline-event:focus circle,.system-dashboard .timeline-event:focus>path{stroke:var(--foreground);stroke-width:2}.system-dashboard .timeline-details{border-top:1px solid var(--border);min-height:47px;padding:10px 20px;display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted-foreground);background:color-mix(in srgb,var(--muted) 30%,transparent)}.system-dashboard .timeline-details>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.system-dashboard .timeline-details strong{font-size:12px;font-weight:500;color:var(--foreground)}.system-dashboard .event-status{margin-left:auto;color:var(--line-tournaments);font-size:10px;border:1px solid var(--border);padding:2px 6px;border-radius:4px}.system-dashboard .event-close{border:0;background:transparent;color:var(--muted-foreground);min-height:28px;width:28px;padding:0}.system-dashboard .event-detail-icon{display:flex;color:var(--primary)}@media(max-width:700px){.system-dashboard .timeline-details{padding:10px 14px;font-size:10px}.system-dashboard .timeline-details>div{gap:3px}.system-dashboard .timeline-details strong{width:100%;font-size:11px}.system-dashboard .event-status{white-space:nowrap}}

.system-dashboard{max-width:1600px;margin:auto;font-size:14px}.system-dashboard .heading>p{font-size:13px;color:var(--muted-foreground)}.system-dashboard .system-message{padding:10px 12px;background:var(--muted);border:1px solid var(--border);border-radius:6px;font-size:12px;margin:12px 0}.system-dashboard .system-message.error{color:var(--destructive,#b46148)}.system-dashboard .system-notes{font-size:11px;color:var(--muted-foreground);margin-top:12px;display:grid;gap:5px}.system-dashboard .timeline-details{flex-wrap:wrap}.system-dashboard .timeline-details select{width:180px;margin:0 0 0 auto;font-size:10px;min-height:30px;padding:5px 8px}.system-dashboard .timeline-event-rule{stroke:var(--muted-foreground);stroke-opacity:.5;stroke-dasharray:4 5;stroke-width:1}.system-dashboard .timeline-event-rule.selected{stroke:var(--primary);stroke-opacity:1}.system-dashboard .custom-range{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap;margin:15px 0}.system-dashboard .custom-range label{font-size:11px}.system-dashboard .custom-range input{font-size:12px;min-height:34px}.system-dashboard .storage-status{font-size:10px;padding:0 20px 10px;color:var(--muted-foreground)}.system-dashboard .disk-card table caption{text-align:left;padding:10px 20px;font-size:11px;color:var(--muted-foreground)}

.system-dashboard .bulk-live-card{border:1px solid var(--border);border-radius:12px;background:var(--card);margin:0 0 26px;overflow:hidden}
.system-dashboard .bulk-live-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px 0}.system-dashboard .bulk-live-heading{display:flex;gap:12px;align-items:center}.system-dashboard .bulk-live-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--border);background:var(--muted);border-radius:9px;color:var(--primary)}.system-dashboard .bulk-live-heading h2{font-size:17px;font-weight:500;margin:0}.system-dashboard .bulk-live-heading p{font-size:12px;color:var(--muted-foreground);margin:3px 0 0}.system-dashboard .bulk-live-badge{display:flex;align-items:center;gap:7px;border:1px solid var(--border);border-radius:20px;padding:6px 11px;font-size:11px;white-space:nowrap;color:var(--muted-foreground)}.system-dashboard .bulk-live-badge i{width:6px;height:6px;border-radius:50%;background:currentColor}.system-dashboard .bulk-live-badge.healthy{color:#4b9b74;background:color-mix(in srgb,#4b9b74 8%,transparent);border-color:color-mix(in srgb,#4b9b74 35%,transparent)}.system-dashboard .bulk-live-badge.warning{color:var(--primary);background:color-mix(in srgb,var(--primary) 7%,transparent);border-color:color-mix(in srgb,var(--primary) 28%,transparent)}.system-dashboard .bulk-live-message{font-size:13px;color:var(--muted-foreground);margin:15px 24px 20px;line-height:1.5}.system-dashboard .bulk-live-overview{display:grid;grid-template-columns:1fr 2fr;gap:28px;margin:0 24px 20px}.system-dashboard .bulk-live-coverage>span,.system-dashboard .bulk-live-overview dt{font-size:11px;color:var(--muted-foreground)}.system-dashboard .bulk-live-coverage>strong{display:block;font-size:38px;letter-spacing:-.035em;font-weight:500;line-height:1.3;margin-top:4px;font-variant-numeric:tabular-nums}.system-dashboard .bulk-live-coverage small{font-size:24px;color:var(--muted-foreground);font-weight:400}.system-dashboard .bulk-live-coverage p{font-size:11px;color:var(--muted-foreground);margin:0}.system-dashboard .bulk-live-overview dl{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0}.system-dashboard .bulk-live-overview dl>div{padding:5px 0 0 24px;border-left:1px solid var(--border)}.system-dashboard .bulk-live-overview dd{font-size:29px;line-height:1.4;font-weight:500;margin:5px 0 0;font-variant-numeric:tabular-nums}.system-dashboard .bulk-live-overview dd small{font-size:19px;color:var(--muted-foreground);font-weight:400}.system-dashboard .bulk-live-overview dl span{display:block;font-size:11px;color:var(--muted-foreground);margin-top:3px}.system-dashboard .bulk-live-card progress{display:block;appearance:none;width:calc(100% - 48px);height:6px;margin:0 24px;border:0;border-radius:6px;overflow:hidden;background:var(--muted)}.system-dashboard .bulk-live-card progress::-webkit-progress-bar{background:var(--muted)}.system-dashboard .bulk-live-card progress::-webkit-progress-value{background:var(--primary);border-radius:6px}.system-dashboard .bulk-live-card progress::-moz-progress-bar{background:var(--primary)}.system-dashboard .bulk-live-explanation{font-size:11px;color:var(--muted-foreground);margin:10px 24px 20px;line-height:1.5}.system-dashboard .bulk-live-card footer{display:grid;grid-template-columns:1fr 1fr 1fr;border-top:1px solid var(--border);padding:16px 24px;gap:20px;background:color-mix(in srgb,var(--muted) 25%,transparent)}.system-dashboard .bulk-live-card footer>div{display:flex;gap:9px;align-items:flex-start;color:var(--muted-foreground);font-size:10px}.system-dashboard .bulk-live-card footer svg{flex-shrink:0;margin-top:2px}.system-dashboard .bulk-live-card footer strong{display:block;color:var(--foreground);font-size:12px;font-weight:400;margin-top:5px}.system-dashboard .bulk-live-bottom{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted-foreground);padding:10px 24px;border-top:1px solid var(--border)}
@media(max-width:700px){.system-dashboard .bulk-live-card>header{padding:16px 16px 0;gap:10px;align-items:flex-start}.system-dashboard .bulk-live-heading{gap:8px}.system-dashboard .bulk-live-icon{display:none}.system-dashboard .bulk-live-heading h2{font-size:16px}.system-dashboard .bulk-live-heading p{font-size:11px;line-height:1.5}.system-dashboard .bulk-live-badge{font-size:10px;padding:5px 8px}.system-dashboard .bulk-live-message{margin:14px 16px 18px;font-size:12px}.system-dashboard .bulk-live-overview{grid-template-columns:1fr;margin:0 16px 18px;gap:18px}.system-dashboard .bulk-live-overview dl{gap:15px}.system-dashboard .bulk-live-overview dl>div{padding:0;border:0}.system-dashboard .bulk-live-overview dd{font-size:25px}.system-dashboard .bulk-live-card progress{width:calc(100% - 32px);margin:0 16px}.system-dashboard .bulk-live-explanation{margin:10px 16px 16px}.system-dashboard .bulk-live-card footer{grid-template-columns:1fr;padding:15px 16px;gap:14px}.system-dashboard .bulk-live-card footer>div{font-size:11px}.system-dashboard .bulk-live-card footer strong{font-size:12px;margin-top:3px}.system-dashboard .bulk-live-bottom{padding:10px 16px;flex-direction:column;gap:4px;line-height:1.5}}

/* Monitoring sections share the same frame and title treatment as performance panels. */
.system-dashboard .monitor-group{margin:24px 0;border:1px solid var(--border);border-radius:14px;background:var(--card);overflow:hidden}.system-dashboard .monitor-group-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px 18px}.system-dashboard .monitor-group-title{display:flex;align-items:center;gap:12px;min-width:0}.system-dashboard .monitor-group-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--border);border-radius:10px;color:var(--primary);flex-shrink:0}.system-dashboard .monitor-group-title h2{font-size:18px;letter-spacing:-.3px;margin:0}.system-dashboard .monitor-group-title p{font-size:12px;color:var(--muted-foreground);margin:5px 0 0;line-height:1.5}.system-dashboard .monitor-group-meta{font-size:10px;white-space:nowrap;border:1px solid var(--border);border-radius:20px;padding:5px 9px;color:var(--muted-foreground)}.system-dashboard .monitor-group-body{padding:0 24px 22px}.system-dashboard .monitor-group .metric-card,.system-dashboard .monitor-group .disk-card{background:var(--background);border-radius:10px}.system-dashboard .monitor-group .metrics-row,.system-dashboard .monitor-group .disks-row{margin-top:0}.system-dashboard .monitor-group .requests-card{margin-bottom:0}.system-dashboard .monitor-group .window{margin-top:0}.system-dashboard .storage-group .no-disk{margin-bottom:0}.system-dashboard .monitor-group .toolbar{flex-shrink:0}
@media(max-width:950px){.system-dashboard .monitor-group-header{flex-wrap:wrap}.system-dashboard .resource-group .toolbar{margin-left:50px}}@media(max-width:600px){.system-dashboard .monitor-group-header{padding:18px 15px 14px;align-items:flex-start;gap:12px}.system-dashboard .monitor-group-body{padding:0 15px 16px}.system-dashboard .monitor-group-meta{margin-left:50px}.system-dashboard .resource-group .toolbar{margin-left:0;flex-wrap:wrap;width:100%}.system-dashboard .monitor-group-title p{font-size:11px}.system-dashboard .monitor-group .window{align-items:flex-start;gap:8px;flex-wrap:wrap}.system-dashboard .monitor-group .charts-note{flex-wrap:wrap;gap:6px}}

.system-dashboard .requests-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:start}
.system-dashboard .requests-row .requests-card{margin:0}.system-dashboard .requests-row .chart{max-height:240px;min-height:0}.system-dashboard .requests-row .readout-heading{display:flex;padding:10px 20px 5px}.system-dashboard .requests-row .legend{grid-template-columns:1fr;gap:0;padding:0 20px 12px}.system-dashboard .requests-row .legend button{border-top:0;min-height:34px;align-items:center;padding:6px 0}.system-dashboard .request-coverage-note{margin:0;padding:0 20px 13px;min-height:43px;font-size:10px;color:var(--muted-foreground);line-height:1.5}.system-dashboard .requests-row .timeline-details{flex-wrap:wrap}.system-dashboard .requests-row .timeline-details select{max-width:100%}
@media(max-width:950px){.system-dashboard .requests-row{grid-template-columns:1fr}}@media(max-width:700px){.system-dashboard .requests-row .chart{min-width:460px}.system-dashboard .requests-row .readout-heading{padding-left:18px;padding-right:18px}.system-dashboard .requests-row .legend{padding-left:18px;padding-right:18px}.system-dashboard .request-coverage-note{padding-left:18px;padding-right:18px;min-height:0}}

.system-dashboard .access-panel-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.system-dashboard .access-panel-intro>p,.system-dashboard .access-coverage{font-size:11px;line-height:1.6;color:var(--muted-foreground);margin:0}.system-dashboard .access-search{display:flex;align-items:center;gap:6px;color:var(--muted-foreground);max-width:240px;flex-shrink:0}.system-dashboard .access-search input{min-width:0;width:100%;font-size:12px;border:1px solid var(--border);border-radius:7px;padding:8px 10px;background:var(--background);color:var(--foreground)}.system-dashboard .access-table-scroll{max-width:100%;overflow:auto}.system-dashboard .access-table{width:100%;border-collapse:collapse;font-size:11px}.system-dashboard .access-table th,.system-dashboard .access-table td{text-align:left;padding:11px 12px;border-bottom:1px solid var(--border);white-space:nowrap;vertical-align:top}.system-dashboard .access-table thead th{font-size:10px;color:var(--muted-foreground);font-weight:500}.system-dashboard .access-table th[scope=row]{min-width:150px;max-width:260px;white-space:normal;font-weight:400}.system-dashboard .access-table strong{display:block;font-size:12px;overflow-wrap:anywhere;font-weight:500}.system-dashboard .access-table small{display:block;font-size:10px;line-height:1.6;color:var(--muted-foreground);overflow-wrap:anywhere}.system-dashboard .access-status{text-transform:capitalize;color:var(--muted-foreground)}.system-dashboard .access-events-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 8px}.system-dashboard .access-events-heading h3{font-size:13px;margin:0}.system-dashboard .access-events-heading>span,.system-dashboard .access-pagination>span{font-size:10px;color:var(--muted-foreground)}.system-dashboard .access-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}.system-dashboard .access-pagination>div{display:flex;gap:8px}.system-dashboard .access-empty{text-align:center;padding:20px 12px;font-size:12px;color:var(--muted-foreground)}.system-dashboard .access-coverage{padding-top:12px;border-top:1px solid var(--border)}.system-dashboard .access-log-group button:disabled{opacity:.45;cursor:default}.system-dashboard .access-log-group .system-message button{margin-left:12px}@media(max-width:700px){.system-dashboard .access-panel-intro{align-items:stretch;flex-direction:column;gap:10px}.system-dashboard .access-search{max-width:none}.system-dashboard .access-search input{min-height:40px}.system-dashboard .access-table th,.system-dashboard .access-table td{padding:10px 8px}.system-dashboard .access-pagination button{min-height:40px}}

/* Access tables scroll independently of the fixed-width disk table layout. */
.system-dashboard .access-log-group .access-table{table-layout:auto;min-width:640px;width:100%}
.system-dashboard .access-log-group .access-table th,.system-dashboard .access-log-group .access-table td{position:static;inset:auto;z-index:auto;width:auto;max-width:none;min-width:0;height:auto;background:transparent;text-align:left;white-space:nowrap;overflow-wrap:normal;padding:11px 12px}
.system-dashboard .access-log-group .access-table th[scope=row]{min-width:160px;max-width:260px;white-space:normal}
.system-dashboard .access-log-group .access-table th[scope=row] strong,.system-dashboard .access-log-group .access-table th[scope=row] small{overflow-wrap:anywhere}
.system-dashboard .access-log-group .access-event-scroll{max-height:380px;overflow:auto;scrollbar-gutter:stable}
.system-dashboard .access-log-group .access-event-scroll thead th{position:sticky;top:0;background:var(--card);z-index:1}
.system-dashboard .access-log-group .access-table-scroll:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
@media(max-width:700px){.system-dashboard .access-log-group .access-event-scroll{max-height:340px}}

.system-dashboard .access-sort{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.system-dashboard .access-sort:hover,.system-dashboard .access-table th[aria-sort=ascending],.system-dashboard .access-table th[aria-sort=descending]{color:var(--foreground)}.system-dashboard .access-sort:focus-visible,.system-dashboard .access-history-button:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:4px}.system-dashboard .access-log-group .access-history-button{width:40px;height:40px}.system-dashboard .access-log-group .access-table thead th{vertical-align:middle}.system-dashboard .access-log-group .access-table td{vertical-align:middle}
.system-dashboard .access-history-dialog{width:min(680px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);box-sizing:border-box;margin:auto;padding:20px;border:1px solid var(--border);border-radius:14px;background:var(--card);color:var(--foreground);box-shadow:0 20px 70px #0006;overflow:auto}.system-dashboard .access-history-dialog::backdrop{background:#0009}.system-dashboard .access-history-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.system-dashboard .access-history-header h3{margin:0;font-size:18px}.system-dashboard .access-history-header p{margin:8px 0 0;font-size:13px;overflow-wrap:anywhere}.system-dashboard .access-history-header p span{display:block;margin-top:4px;font-size:11px;color:var(--muted-foreground)}.system-dashboard .access-history-header .icon-button{flex-shrink:0;width:40px;height:40px}.system-dashboard .access-log-group .access-history-table{min-width:0}.system-dashboard .access-log-group .access-history-table th,.system-dashboard .access-log-group .access-history-table td{white-space:normal;overflow-wrap:anywhere}.system-dashboard .access-history-dialog .access-events-heading{margin-top:18px}.system-dashboard .access-history-dialog .access-pagination{flex-wrap:wrap}.system-dashboard .access-history-dialog .access-pagination button{min-height:40px}@media(max-width:700px){.system-dashboard .access-history-dialog{padding:16px}.system-dashboard .access-log-group .access-history-table th,.system-dashboard .access-log-group .access-history-table td{padding:10px 6px}}

/* Preserve complete Render resource names on narrow chart and disk cards. */
.system-dashboard .legend button>span:nth-child(2){min-width:0;text-align:left;overflow-wrap:anywhere}.system-dashboard .legend strong{flex-shrink:0}.system-dashboard .disk-title{min-width:0}.system-dashboard .disk-title h3{overflow-wrap:anywhere;min-width:0}

/* Compact disk summaries; file details are opt-in for each service. */
.system-dashboard .storage-group .disks-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.system-dashboard .disk-files{border-top:1px solid var(--border)}
.system-dashboard .disk-files>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;cursor:pointer;list-style:none;font-size:12px;font-weight:500}
.system-dashboard .disk-files>summary::-webkit-details-marker{display:none}
.system-dashboard .disk-files>summary::after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 2px 3px 4px;transition:transform .15s}
.system-dashboard .disk-files[open]>summary::after{transform:rotate(225deg);margin-bottom:-3px}
.system-dashboard .disk-files>summary:hover{background:var(--muted)}
.system-dashboard .disk-files>summary:focus-visible{outline:2px solid var(--primary);outline-offset:-3px;border-radius:4px}
.system-dashboard .disk-files-hint{margin-left:auto;color:var(--muted-foreground);font-size:10px;font-weight:400}
.system-dashboard .storage-group .capacity>div:first-child{flex-wrap:wrap}
.system-dashboard .storage-group .capacity>p{gap:8px;flex-wrap:wrap}
@media(max-width:900px){.system-dashboard .storage-group .disks-row{grid-template-columns:1fr}}

.uprise-studio{min-height:100vh;padding:0 0 20px;background:#101115;color:#f5f6fa;font-family:Arial,Helvetica,sans-serif;color-scheme:dark;--studio-muted:#b3bbca}
.uprise-studio *{box-sizing:border-box}
.uprise-studio [hidden]{display:none!important}
.uprise-studio a{color:inherit;text-decoration:none}
.uprise-studio button,.uprise-studio select{font:500 12px Arial,Helvetica,sans-serif;background:#1d2028;color:#eff1f7;border:1px solid #434a59;border-radius:5px;padding:8px 11px;min-height:36px}
.uprise-studio button{display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}
.uprise-studio button:hover:not(:disabled){background:#303643}
.uprise-studio button:disabled{opacity:.45;cursor:default}
.uprise-studio :is(button,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),a):focus-visible{outline:2px solid #d3dfff;outline-offset:3px}
.us-chrome{display:flex;align-items:center;gap:24px;padding:16px 24px;background:#181a20;border-bottom:1px solid #303440}
.us-chrome>a{display:flex;align-items:center;gap:7px;font-size:12px;color:#c4cbd7}
.us-chrome>a:last-child{margin-left:auto}
.us-brand{font-size:21px;font-style:italic;font-weight:900;letter-spacing:-.7px;display:flex;align-items:center;gap:13px}
.us-brand>span{font-size:10px;font-style:normal;letter-spacing:2px;font-weight:600;color:#b3bbca;border-left:1px solid #4e5666;padding-left:13px}
.us-heading,.us-switchbar,.us-host-controls,.us-footer,.us-help,.us-error,.us-alignment{max-width:1280px;margin-left:auto;margin-right:auto}
.us-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 24px 18px}
.us-heading p{font-size:11px;font-weight:600;letter-spacing:.8px;color:#b3bbca;margin:0 0 6px}
.us-heading h1{font-size:28px;font-weight:700;line-height:1.15;letter-spacing:-.7px;margin:0;color:#f5f6fa}
.us-switchbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 24px 14px}
.us-brackets{display:flex;gap:6px;flex-wrap:wrap}
.uprise-studio .us-brackets button{padding:9px 14px}
.uprise-studio .us-brackets button[aria-pressed=true]{background:#eef1f8;color:#131820;border-color:#eef1f8}
.us-watching{font-size:11px;color:#b3bbca;white-space:nowrap}
.us-bracket-panel{padding:0 24px}
.uprise-studio .studio-live{width:min(100%,max(320px,calc(72vh * var(--studio-aspect))));max-width:1232px;min-width:0;margin:0 auto;display:block;background:transparent;border:0;container:studio / inline-size}
.uprise-studio .studio-live .rumble-video{position:relative;width:100%;height:auto;min-height:0;max-height:none;overflow:hidden;background:#080a0e;border:1px solid #333946;border-radius:0}
.uprise-studio .studio-live .rumble-video>video{display:block;min-height:0;max-height:none;border-radius:0}
.uprise-studio .studio-live .rumble-video>p{position:absolute;inset:35% 16px auto;text-align:center;color:#abb5c6;font-size:14px}
.uprise-studio .studio-live .rumble-playback-status{position:absolute;inset:auto 12px 40px;z-index:5;width:fit-content;max-width:calc(100% - 24px);background:#12151ded;border-radius:3px;padding:7px 9px;display:flex;flex-direction:column;gap:3px;pointer-events:auto;color:#e0e5ee;font-size:11px}
.uprise-studio .studio-live .rumble-playback-status small{font-size:11px;color:#b3bbca}
.uprise-studio .studio-live .rumble-playback-status.status-live{display:none}
.uprise-studio .rumble-live-tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:10px 0;background:transparent;border:0;color:#b3bbca}
.uprise-studio .rumble-live-tools a,.uprise-studio .rumble-live-tools button{font-size:11px;padding:7px 9px;display:inline-flex;align-items:center;gap:6px}
.uprise-studio .rumble-live-tools small{flex-basis:100%;font-size:12px}
.uprise-studio .rumble-video-error{padding:10px;color:#ffd2a5;font-size:12px}
.us-overlay{position:absolute;inset:0;z-index:3;pointer-events:none;isolation:isolate;font-variant-numeric:tabular-nums}
.us-event{position:absolute;top:17px;left:17px;display:flex;align-items:center;gap:12px;border-left:3px solid #ef3346;background:#11141bee;padding:9px 11px;box-shadow:0 2px 9px #0004}
.us-event strong{font-size:12px;font-weight:800;letter-spacing:-.2px}
.us-event>span{font-size:9px;color:#c4ccda;border-left:1px solid #555d6d;padding-left:12px}
.us-watermark{position:absolute;top:16px;right:18px;display:grid;gap:4px;text-align:right;filter:drop-shadow(0 1px 3px #000)}
.us-watermark b{font-size:23px;font-style:italic;font-weight:900;letter-spacing:-1px}
.us-watermark>span{font-size:8px;font-weight:600;letter-spacing:1px}
.us-clock{position:absolute;top:0;left:50%;transform:translateX(-50%);min-width:112px;max-width:32%;padding:6px 12px;background:#f0f2f6;color:#141923;text-align:center;border-bottom:3px solid #ef3346;border-radius:0 0 4px 4px;box-shadow:0 3px 10px #0004}
.us-clock>span{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.8px;margin-bottom:2px}
.us-clock>strong{font-size:27px;line-height:1.15;font-weight:800;letter-spacing:-1px}
.us-clock.is-urgent{background:#fff0ee;color:#9d2534}
.us-positions{position:absolute;inset:0 0 28px}
.us-position{position:absolute;width:50%;left:0;bottom:calc(50% + 12px);padding:0 12px;display:flex;min-width:0}
.us-position-1,.us-position-3{left:50%}
.us-position-2,.us-position-3{bottom:auto;top:calc(50% + 12px)}
.count-2 .us-position{bottom:14px;top:auto}
.us-creator-score{display:flex;align-items:center;gap:8px;max-width:100%;white-space:nowrap;padding:5px 9px 5px 5px;background:#11141bf2;border-left:3px solid var(--studio-player);border-radius:3px;box-shadow:0 1px 9px #0005}
.us-creator-score>b{display:grid;place-items:center;background:var(--studio-player);color:#0a0e16;border-radius:2px;min-width:27px;height:23px;padding:0 3px;font-size:10px;flex-shrink:0}
.us-creator-score>span{font-size:12px;font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis}
.us-creator-score>strong{font-size:16px;line-height:1.2;font-weight:700;letter-spacing:-.4px;flex-shrink:0;padding-left:8px;border-left:1px solid #515b6d}
.us-creator-score>small{font-size:7px;color:#bac6d8}
.us-score-warning .us-creator-score{outline:1px solid #cfac78}
.us-score-notice{position:absolute;bottom:38px;left:12px;right:12px;width:fit-content;max-width:calc(100% - 24px);background:#191713ed;color:#ffce91;font-size:11px;padding:5px 8px;border-radius:3px}
.us-ticker{position:absolute;bottom:0;left:0;right:0;height:28px;background:#f2f3f6;color:#1b2230;display:flex;align-items:center;gap:17px;font-size:10px;white-space:nowrap}
.us-ticker>b{background:#e72f42;color:#fff;align-self:stretch;display:flex;align-items:center;padding:0 13px;font-size:17px;font-weight:900;font-style:italic;letter-spacing:-.7px}
.us-ticker>span:nth-child(2){padding-right:17px;border-right:1px solid #b9c0ce;font-size:9px;font-weight:700;max-width:23%;overflow:hidden;text-overflow:ellipsis}
.us-ticker>span:nth-child(3){font-size:8px;min-width:0;overflow:hidden;text-overflow:ellipsis}
.us-ticker strong{font-size:11px;margin-left:7px}
.us-ticker>a{margin-left:auto;margin-right:12px;font-size:10px;font-weight:700;pointer-events:auto}
.us-host-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 24px;flex-wrap:wrap}
.us-health{display:flex;align-items:center;gap:7px;color:#bfc8d8;font-size:12px}
.us-health>i{width:6px;height:6px;background:#8fa5bb;border-radius:50%}
.us-health.is-warning>i{background:#f1bd7b}
.us-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.us-actions>a{font-size:12px;padding:8px;text-decoration:underline;text-underline-offset:3px}
.us-source{display:flex;align-items:center;gap:7px;font-size:11px;color:#b3bbca}
.us-source select{max-width:180px}
.us-footer{display:flex;justify-content:space-between;gap:15px;padding:14px 24px;font-size:10px;color:#9da9bd;border-top:1px solid #303744}
.us-help{font-size:12px;color:#c4cbd7;padding:0 24px 12px}
.us-help a{text-decoration:underline}
.us-error{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 24px;color:#ffd09b;background:#362a20;font-size:13px}
.us-empty{padding:40px 24px;text-align:center;font-size:14px}
.us-empty h2{font-size:20px;margin-bottom:15px}
.us-empty a{text-decoration:underline}
.us-alignment{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:18px;background:#1a1e27;border:1px solid #414b5c;border-radius:6px;margin-top:10px}
.us-alignment h2{font-size:14px;margin:0 0 6px;color:#eef2f7}
.us-alignment p{font-size:12px;color:#b3bfd1;margin:0 0 12px;line-height:1.5}
.us-slot-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.us-slot-controls label{display:grid;gap:5px;font-size:11px;color:#b3bfd1;min-width:0}
.us-slot-controls select{width:100%;min-width:0}
.us-crop-controls{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:10px}
.us-crop-controls label{display:flex;align-items:center;gap:7px;font-size:11px}
.us-crop-controls input{width:80px;min-width:40px;accent-color:#cbd7ed}
.us-crop-controls output{min-width:28px;font-variant-numeric:tabular-nums}
.us-archived-stage{position:relative;aspect-ratio:4/3;max-width:960px;margin:auto;background:#090c12;border:1px solid #394152}
.us-archived-stage>p{position:absolute;inset:35% 0 auto;text-align:center;color:#8f9db4}
.us-broadcast .us-chrome,.us-broadcast .us-heading,.us-broadcast .us-footer,.us-broadcast .rumble-live-tools,.us-broadcast .us-alignment{display:none}
.us-broadcast .us-switchbar{padding-top:12px}
@container studio (max-width:600px){.us-event{top:12px;left:8px;padding:6px}.us-event>span{display:none}.us-event strong{font-size:9px}.us-watermark{right:9px;top:12px}.us-watermark b{font-size:17px}.us-watermark>span{font-size:6px}.us-clock{min-width:90px;padding:4px 8px}.us-clock>strong{font-size:23px}.us-clock>span{font-size:6px}.us-position{padding:0 6px}.us-creator-score{gap:4px;padding:4px 5px 4px 3px;border-left-width:2px}.us-creator-score>b{font-size:8px;min-width:22px;height:19px}.us-creator-score>span{font-size:10px}.us-creator-score>strong{font-size:12px;padding-left:5px}.us-creator-score>small{display:none}.us-ticker{height:25px;gap:8px}.us-ticker>b{font-size:14px;padding:0 8px}.us-ticker>span:nth-child(2){font-size:7px;padding-right:8px}.us-ticker>span:nth-child(3){font-size:6px}.us-ticker strong{font-size:9px;margin-left:4px}.us-ticker>a{font-size:8px;margin-right:8px}.us-score-notice{font-size:9px}}
@container studio (max-width:380px){.us-creator-score>span{font-size:8px}.us-creator-score>strong{font-size:10px}.us-creator-score>b{min-width:18px;font-size:7px}.us-creator-score{gap:3px}.us-ticker>span:nth-child(2){display:none}.us-clock{min-width:76px}.us-event strong{font-size:8px}.us-watermark b{font-size:14px}}
@media(max-width:850px){.us-event>span{display:none}.us-creator-score{gap:5px}.us-creator-score>span{font-size:11px}.us-creator-score>strong{font-size:14px}.us-alignment{grid-template-columns:1fr}.us-footer{flex-wrap:wrap}.us-actions{gap:5px}}
@media(max-width:600px){.us-chrome{padding:13px;gap:14px}.us-chrome>a{font-size:11px}.us-brand{font-size:18px}.us-brand>span{display:none}.us-heading{padding:17px 13px}.us-heading h1{font-size:24px}.us-heading p{font-size:10px}.us-switchbar{padding:0 13px 12px}.us-watching{display:none}.uprise-studio button,.uprise-studio select{min-height:42px;font-size:11px}.us-bracket-panel{padding:0 12px}.uprise-studio .studio-live{width:100%}.us-event{top:12px;left:8px;padding:6px}.us-event strong{font-size:9px}.us-watermark{right:9px;top:12px}.us-watermark b{font-size:17px}.us-watermark>span{font-size:6px}.us-clock{min-width:90px;padding:4px 8px}.us-clock>strong{font-size:23px}.us-clock>span{font-size:6px}.us-position{padding:0 6px}.us-creator-score{gap:4px;padding:4px 5px 4px 3px;border-left-width:2px}.us-creator-score>b{font-size:8px;min-width:22px;height:19px}.us-creator-score>span{font-size:10px}.us-creator-score>strong{font-size:12px;padding-left:5px}.us-creator-score>small{display:none}.us-ticker{height:25px;gap:8px}.us-ticker>b{font-size:14px;padding:0 8px}.us-ticker>span:nth-child(2){font-size:7px;padding-right:8px}.us-ticker>span:nth-child(3){font-size:6px}.us-ticker strong{font-size:9px;margin-left:4px}.us-ticker>a{font-size:8px;margin-right:8px}.us-host-controls{padding:10px 13px}.us-source{flex-basis:100%}.us-footer{padding:14px 13px;font-size:9px}.us-crop-controls{grid-template-columns:1fr 1fr}.us-crop-controls input{flex:1;max-width:100px}.us-score-notice{font-size:9px}.us-position-0,.us-position-1{bottom:calc(50% + 9px)}.us-position-2,.us-position-3{top:calc(50% + 9px)}.count-2 .us-position{bottom:12px;top:auto}}
@media(max-width:380px){.us-creator-score>span{font-size:8px}.us-creator-score>strong{font-size:10px}.us-creator-score>b{min-width:18px;font-size:7px}.us-creator-score{gap:3px}.us-ticker>span:nth-child(2){display:none}.us-clock{min-width:76px}.us-event strong{font-size:8px}.us-watermark b{font-size:14px}.us-slot-controls,.us-crop-controls{grid-template-columns:1fr}}
/* Standalone live Studio shares the tournament broadcast frame. */
.us-private{margin-left:auto;font-size:11px;color:#b3bbca}
.us-connect{max-width:1280px;margin:0 auto;padding:0 24px 20px;display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.us-connect label{display:grid;gap:7px;font-size:12px;color:#c4cbd7;min-width:260px;width:min(100%,350px)}
.us-connect input{width:100%;background:#191c24;border:1px solid #4a5262;border-radius:5px;padding:10px 12px;color:#f5f6fa;font:14px Arial;min-height:40px}
.us-connect input:disabled{opacity:.65}
.uprise-studio .us-connect button{min-height:40px}
.uprise-studio .us-connect-button{background:#eef1f8;color:#131820;border-color:#eef1f8}
.us-connect p{flex-basis:100%;margin:0;font-size:12px;line-height:1.5;color:#b3bbca}
.us-detection{font-size:12px;font-weight:500;color:#d0d7e4}
.us-studio-welcome{max-width:1232px;margin:0 auto 24px;min-height:290px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid #303440;background:#15171d}
.us-studio-welcome svg{color:#a9b5c8;margin-bottom:8px}
.us-studio-welcome h2{margin:10px 0}
.us-studio-welcome p{color:#b3bbca;max-width:370px;line-height:1.7;margin:0}
.live-studio.us-broadcast .us-connect{display:none}
.live-studio .count-3 .us-position-2{width:50%;left:25%}
@media(max-width:600px){.us-connect{padding:0 13px 16px;gap:8px}.us-connect label{width:100%;min-width:0}.us-connect p{font-size:11px}.us-studio-welcome{margin:0 13px 16px;padding:24px}.us-private{font-size:10px}.live-studio .us-footer{flex-direction:column;gap:8px}}
.us-format-choice{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.us-format-choice>span{font-size:11px;color:#b3bbca}
.live-studio .us-switchbar{flex-wrap:wrap}
.live-studio.us-broadcast .us-format-choice{display:none}
.us-live-creators{max-width:1280px;margin:0 auto;padding:0 24px 20px}
.us-live-heading{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-bottom:10px}
.us-live-heading h2{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;color:#f5f6fa}
.us-live-heading h2 span{font-size:11px;font-weight:400;color:#b3bbca}
.us-live-heading p,.us-roster-message{margin:0;font-size:12px;line-height:1.5;color:#b3bbca}
.us-live-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;max-height:174px;overflow-y:auto;margin:0;padding:3px;list-style:none}
.us-live-list li{min-width:0}
.uprise-studio .us-live-list button{width:100%;justify-content:flex-start;gap:10px;padding:9px 11px;min-height:52px;text-align:left}
.uprise-studio .us-live-list button[aria-pressed=true]{border-color:#d3dfff;background:#2b3444}
.us-live-avatar{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:#363e4d;color:#e4e9f1;overflow:hidden}
.us-live-avatar img{width:30px;height:30px;object-fit:cover;border-radius:50%}
.us-live-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.us-live-badge{margin-left:auto;color:#fb839b;font-size:9px;font-weight:700;letter-spacing:.4px}
.live-studio.us-broadcast .us-live-creators{display:none}
@media(max-width:600px){.us-live-creators{padding:0 13px 16px}.us-live-heading{gap:5px 12px}.us-live-heading p{font-size:11px}.us-live-list{grid-template-columns:1fr;max-height:174px}}

/* Independent pop-outs contain only the fitted feed until controls are requested. */
.live-studio.us-popout{position:fixed;inset:0;min-height:0;padding:0;overflow:auto;background:#080a0e;display:grid;place-items:center}
.us-popout>.us-chrome,.us-popout>.us-heading,.us-popout>.us-live-creators,.us-popout>.us-connect,.us-popout>.us-switchbar,.us-popout>.us-host-controls,.us-popout>.us-help,.us-popout>.us-footer,.us-popout .us-alignment,.us-popout .rumble-live-tools{display:none}
.us-popout>.us-bracket-panel{padding:0;width:100%;min-width:0}
.uprise-studio.us-popout .studio-live{width:min(100vw,calc(100dvh * var(--studio-aspect)));max-width:none;margin:auto}
.uprise-studio.us-popout .rumble-video{border:0}
.us-popout-toolbar{position:fixed;top:8px;right:8px;display:flex;gap:6px;z-index:20;opacity:0;transition:opacity .15s}
.us-popout:hover .us-popout-toolbar,.us-popout:focus-within .us-popout-toolbar{opacity:1}
.us-popout-controls>.us-switchbar{display:flex;position:fixed;top:52px;left:0;right:0;background:#181a20f5;z-index:15;padding:12px}
.us-popout-controls .rumble-live-tools{display:flex;position:fixed;bottom:0;left:0;right:0;background:#181a20f5;padding:8px;z-index:15}
.us-popout-controls>.us-host-controls{display:flex;position:fixed;bottom:60px;left:0;right:0;background:#181a20f5;z-index:15}
.us-popout-controls .us-alignment{display:grid;position:fixed;top:120px;left:8px;right:8px;max-height:60vh;overflow:auto;z-index:16}
.us-popout>.us-error{position:fixed;top:52px;left:0;right:0;z-index:21}
@media(hover:none){.us-popout-toolbar{opacity:1}}

/* Keep the Studio feed and controls within phone-sized viewports. */
@media(max-width:600px){
 .live-studio .studio-live{width:min(100%,calc(72vh * var(--studio-aspect)));max-width:100%;width:min(100%,calc(72svh * var(--studio-aspect)))}
 .live-studio .us-format-choice{align-items:flex-start;flex-direction:column;gap:7px}
 .live-studio .us-brackets{gap:6px;row-gap:6px}
 .live-studio .us-brackets button{padding:8px 10px}
 .live-studio .us-host-controls{align-items:flex-start}
 .live-studio .us-health{min-width:0;flex:1 1 180px}
 .live-studio .us-health span,.live-studio .us-help{overflow-wrap:anywhere}
}

.us-tournament-picker{max-width:1280px;margin:0 auto;padding:0 24px 20px}
.us-tournament-fields{display:flex;align-items:flex-end;gap:10px;margin:10px 0;flex-wrap:wrap}
.us-tournament-fields label{display:grid;gap:6px;font-size:12px;color:#b3bbca;min-width:200px;flex:1}
.us-tournament-fields select{width:100%;min-width:0;max-width:100%}
.live-studio.us-broadcast .us-tournament-picker,.live-studio.us-clip-operating .us-tournament-picker{display:none}
@media(max-width:600px){.us-tournament-picker{padding:0 13px 16px}.us-tournament-fields label{width:100%;flex:auto}}

/* Compact portrait feed strip with a persistent add panel. */
.us-multiview>.us-heading{max-width:none;padding:16px}
.us-grid-hint{font-size:12px;color:var(--studio-muted)}
.us-live-grid{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(240px,16vw,320px);gap:12px;padding:0 16px 20px;overflow-x:auto;align-items:start;justify-content:start}
.us-live-tile,.us-add-panel{height: min(780px,calc(100svh - 155px));min-height:480px;border:1px solid #343a46;border-radius:18px;overflow:hidden;background:#08090c;position:relative;min-width:0}
.us-tile-bar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;background:#181a20;font-size:11px;height:43px}
.us-tile-bar button{min-height:28px;padding:4px 6px;font-size:10px}
.us-live-tile .us-grid-feed{min-height:0;position:relative;padding:0;height:calc(100% - 43px);overflow:auto}
.us-grid-feed>.us-chrome,.us-grid-feed>.us-footer,.us-grid-feed>.us-heading p,.us-grid-feed>.us-help{display:none}
.us-grid-feed>.us-heading{padding:8px 10px;flex-wrap:wrap;gap:7px}
.us-grid-feed>.us-heading h1{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px}
.us-grid-feed .us-actions{flex-wrap:wrap;gap:4px}
.us-grid-feed .us-actions button{font-size:10px;padding:5px 7px;min-height:28px}
.us-grid-feed.us-setup-collapsed>.us-heading .us-actions>button:nth-last-child(1),.us-grid-feed.us-setup-collapsed>.us-heading .us-actions>button:nth-last-child(3){display:none}
.us-grid-feed .us-switchbar,.us-grid-feed .us-connect,.us-grid-feed .us-live-creators,.us-grid-feed .us-tournament-picker,.us-grid-feed .us-bracket-panel{padding-left:10px;padding-right:10px;min-width:0}
.us-grid-feed .us-format-choice,.us-grid-feed .us-brackets,.us-grid-feed .us-live-heading{flex-wrap:wrap}
.us-grid-feed .us-tournament-fields label{min-width:0;flex-basis:100%}
.us-grid-feed .studio-live{width:100%;max-width:100%}
.us-grid-feed.us-setup-collapsed>.us-tournament-picker,.us-grid-feed.us-setup-collapsed>.us-live-creators,.us-grid-feed.us-setup-collapsed>.us-connect,.us-grid-feed.us-setup-collapsed>.us-switchbar{display:none}
.us-grid-feed>.us-host-controls{padding:8px 10px;flex-wrap:wrap;gap:6px}
.us-grid-feed>.us-host-controls .us-health{font-size:10px}
.us-live-tile .live-studio.us-clip-operating{position:relative;inset:auto;display:block;min-height:0;overflow:auto;z-index:auto}
.us-live-tile .us-clip-operating .studio-live,.us-live-tile .us-clip-output{width:100%;max-width:100%}
.us-live-tile .us-clip-reopen{position:absolute;opacity:1;z-index:50}
.uprise-studio .us-add-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;border:2px dashed #424958;background:#14171d;color:#b9c2d3;font-size:14px}
.uprise-studio .us-add-panel:hover:not(:disabled){background:#202630;border-color:#9daac0}
.us-add-panel small{font-size:11px}
.us-live-tile.is-configuring{position:fixed;inset:8vh auto auto 50%;transform:translateX(-50%);width:min(650px,calc(100vw - 32px));height:84vh;min-height:0;z-index:100;box-shadow:0 0 0 100vmax #000b;border-radius:12px}
.is-configuring .us-grid-feed>.us-heading,.is-configuring .us-studio-welcome{display:none}
.is-configuring .us-grid-feed{height:calc(100% - 43px)}
@media(max-width:600px){.us-live-grid{grid-auto-columns: min(78vw,300px);padding-left:12px;padding-right:12px}.us-live-tile,.us-add-panel{min-height:440px}}

.us-main-live{padding:0 16px 16px}
.us-main-live h2{font-size:14px;margin:0}
.us-main-live .us-live-heading p{font-size:12px;color:#b3bbca}
.us-main-live .us-live-list{flex-wrap:nowrap;overflow-x:auto;padding:8px 0;margin:0}
.us-source-tabs{display:flex;gap:8px;padding:12px 10px}
.us-source-tabs button[aria-pressed="true"]{background:#e2e8f2;color:#15191e}
.us-grid-feed.us-setup-collapsed>.us-source-tabs{display:none}
.us-panel-format{padding:4px 10px 10px;display:flex;gap:5px;flex-wrap:wrap}
.us-panel-format label{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;font-size:11px;color:#bbc4d3}
.us-panel-format select{min-height:28px;padding:4px;font-size:11px}
.us-tile-bar[draggable="true"]{cursor:grab}
.us-tile-bar[draggable="true"]:active{cursor:grabbing}
.us-order-buttons{display:flex;gap:3px;margin-left:auto}
.us-order-buttons button{padding:3px 5px}
.us-clip-operating>.us-source-tabs,.us-clip-operating>.us-panel-format,.us-broadcast>.us-source-tabs,.us-broadcast>.us-panel-format{display:none}
.us-panel-format label{white-space:nowrap}
.us-panel-format select{min-width:0;flex:1}

/* Tournament context stays readable in feed tiles and broadcast windows. */
.us-event.us-tournament-event{top:64px;left:8px;max-width:calc(100% - 16px);display:grid;gap:3px}
.us-event.us-tournament-event strong{white-space:normal;overflow-wrap:anywhere;font-size:clamp(8px,1.6cqw,12px);line-height:1.2}
.us-event.us-tournament-event>span{display:block;border:0;padding:0}
.us-ticker.us-rumble-ticker{height:auto;min-height:28px;gap:8px;align-items:stretch}
.us-ticker.us-rumble-ticker>.us-up-next{display:block;flex:1;min-width:0;max-width:none;padding:6px 8px;border:0;white-space:normal;overflow-wrap:anywhere;line-height:1.3;font-size:clamp(8px,1.5cqw,11px)}
.us-rumble-ticker .us-up-next strong{margin:0;font-size:inherit}
.us-ticker.us-rumble-ticker>b{flex:none;padding:0 8px;font-size:clamp(10px,2cqw,17px)}

/* The main Studio workspace inherits the portal theme. Broadcast output and
   independent pop-outs retain their existing stage colors and dimensions. */
.uprise-studio.us-embedded{min-height:0;min-width:0;padding:0;background:transparent;color:var(--foreground);font-family:inherit;color-scheme:inherit;--studio-muted:var(--muted-foreground)}
.us-embedded .uprise-studio{background:var(--card);color:var(--foreground);font-family:inherit;color-scheme:inherit;--studio-muted:var(--muted-foreground)}
.us-embedded .us-workspace-intro{margin:0 0 24px;color:var(--muted-foreground);font-size:14px}
.us-embedded>.us-main-live{padding:0 0 20px}
.us-embedded>.us-live-grid{max-width:100%;padding:0 0 20px;grid-auto-columns:clamp(240px,22vw,320px)}
.us-embedded .us-live-tile,.uprise-studio.us-embedded .us-add-panel{background:var(--card);border-color:var(--border);border-radius:12px}
.us-embedded .us-live-tile,.us-embedded .us-add-panel{height:min(740px,calc(100svh - 260px));min-height:440px}
.us-embedded .us-tile-bar{background:var(--muted);color:var(--foreground);border-bottom:1px solid var(--border)}
.uprise-studio.us-embedded :is(button,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),input){font-family:inherit;background:var(--card);color:var(--foreground);border-color:var(--input);border-radius:8px}
.uprise-studio.us-embedded button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.uprise-studio.us-embedded button[aria-pressed=true]{background:var(--accent);border-color:var(--primary);color:var(--accent-foreground)}
.uprise-studio.us-embedded :is(button,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),a):focus-visible{outline-color:var(--ring)}
.uprise-studio.us-embedded .us-add-panel{border-style:dashed;color:var(--muted-foreground);background:var(--muted)}
.uprise-studio.us-embedded .us-add-panel:hover:not(:disabled){background:var(--accent);border-color:var(--primary);color:var(--accent-foreground)}
.uprise-studio.us-embedded :is(.us-connect-button,.us-clip-play){background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}
.uprise-studio.us-embedded :is(.us-connect-button,.us-clip-play):hover:not(:disabled){background:var(--primary);filter:brightness(.96);color:var(--primary-foreground)}
.us-embedded :is(.us-heading h1,.us-live-heading h2,.us-alignment h2,.us-clip-controls h1){color:var(--foreground)}
.us-embedded :is(.us-live-heading p,.us-live-heading h2 span,.us-roster-message,.us-connect label,.us-connect p,.us-overlay-picker label,.us-panel-format label,.us-tournament-fields label,.us-format-choice>span,.us-watching,.us-detection,.us-health,.us-help,.us-slot-controls label,.us-alignment p,.us-clip-controls header p,.us-clip-help,.us-clip-drop span,.us-clip-state,.us-clip-trim legend,.us-clip-trim label,.us-clip-crop summary){color:var(--muted-foreground)}
.us-embedded .us-live-avatar{background:var(--muted);color:var(--foreground)}
.us-embedded .us-live-badge{color:#b32650}
.dark .us-embedded .us-live-badge{color:#ffa3b4}
.us-embedded :is(.us-alignment,.us-studio-welcome,.us-clip-drop,.us-clip-trim){background:var(--muted);border-color:var(--border)}
.us-embedded .us-studio-welcome :is(svg,p){color:var(--muted-foreground)}
.us-embedded :is(.us-error,.us-clip-error,.us-clip-notice){background:var(--accent);color:var(--accent-foreground)}
.us-embedded .us-clip-buttons{background:var(--card);border-color:var(--border);box-shadow:0 -12px 18px var(--card)}
.us-embedded :is(.us-clip-crop,.us-clip-state){border-color:var(--border)}
.us-embedded .us-clip-state.on-air{background:var(--accent);border-color:var(--primary);color:var(--accent-foreground)}
.us-embedded .us-overlay{color:#f5f6fa;font-family:Arial,Helvetica,sans-serif;color-scheme:dark}
.us-embedded .us-live-tile.is-configuring{height:84vh;min-height:0}
@media(max-width:600px){.us-embedded>.us-live-grid{grid-auto-columns:min(78vw,300px)}.us-embedded .us-workspace-intro{margin-bottom:20px}.us-embedded .us-live-tile,.us-embedded .us-add-panel{min-height:440px}}

/* Preparation is private. Live players remain mounted behind the replay. */
.us-clip-output{display:none;position:relative;overflow:hidden;background:#000;aspect-ratio:var(--clip-aspect);width:min(100%,calc(72vh * var(--clip-aspect)));max-width:1232px;margin:auto}
.us-clip-output.is-playing{display:grid;place-items:center}
.us-clip-picture{position:relative;overflow:hidden;width:var(--clip-width);height:var(--clip-height)}
.us-clip-picture video{display:block;border-radius:0}
.us-replay-label{position:absolute;top:12px;left:12px;background:#111c;color:#fff;border-left:3px solid #e72f42;padding:7px 10px;font:700 12px Arial;letter-spacing:1px}
.us-replaying>.us-bracket-panel,.us-replaying>.us-studio-welcome{display:none!important}
.us-popout .us-clip-output,.us-clip-operating .us-clip-output{width:min(100vw,calc(100dvh * var(--clip-aspect)));max-width:none}
.live-studio.us-clip-operating{position:fixed;inset:0;min-height:0;padding:0;overflow:hidden;display:grid;place-items:center;background:#080a0e;z-index:40}
.us-clip-operating>.us-chrome,.us-clip-operating>.us-heading,.us-clip-operating>.us-live-creators,.us-clip-operating>.us-connect,.us-clip-operating>.us-switchbar,.us-clip-operating>.us-host-controls,.us-clip-operating>.us-help,.us-clip-operating>.us-footer,.us-clip-operating>.us-error,.us-clip-operating>.us-popout-toolbar,.us-clip-operating .us-alignment,.us-clip-operating .rumble-live-tools,.us-clip-operating .rumble-video-error,.us-clip-operating .studio-play{display:none!important}
.us-clip-operating>.us-bracket-panel{padding:0;width:100%;min-width:0}
.uprise-studio.us-clip-operating .studio-live{width:min(100vw,calc(100dvh * var(--studio-aspect)));max-width:none;margin:auto}
.us-clip-operating .rumble-video{border:0!important}
.us-clip-controls{padding:24px;min-height:100vh;max-width:720px;margin:auto}
.us-clip-controls header{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:16px}
.us-clip-controls header p{font-size:10px;letter-spacing:1px;color:#b3bbca;margin:0 0 6px}
.us-clip-controls h1{font-size:26px;letter-spacing:-.5px;margin:0;color:#f5f6fa}
.us-clip-state{font-size:10px;font-weight:700;padding:7px 9px;border:1px solid #414b5c;border-radius:4px;white-space:nowrap;color:#b3bbca}
.us-clip-state.on-air{color:#ffc7ce;border-color:#c24e61;background:#461d27}
.us-clip-help{font-size:12px;line-height:1.55;color:#b3bbca;margin:12px 0}
.us-clip-drop{display:flex;flex-direction:column;align-items:center;gap:10px;padding:22px 16px;border:1px dashed #5d687b;border-radius:8px;background:#181b22;text-align:center}
.us-clip-drop strong{font-size:14px;max-width:100%;overflow-wrap:anywhere}
.us-clip-drop span{font-size:12px;color:#b3bbca}
.us-clip-drop input[type=file]{display:none}
.us-clip-drop.is-locked{opacity:.6}
.us-clip-drop.has-clip{display:grid;grid-template-columns:24px minmax(0,1fr) auto;padding:12px;text-align:left;gap:5px 12px}
.us-clip-drop.has-clip>svg{grid-column:1;grid-row:1/3}
.us-clip-drop.has-clip>strong{grid-column:2;grid-row:1}
.us-clip-drop.has-clip>span{grid-column:2;grid-row:2}
.us-clip-drop.has-clip>button{grid-column:3;grid-row:1/3}
.us-clip-preview{position:relative;overflow:hidden;background:#000;margin:18px auto 0}
.us-clip-preview video{display:block;border-radius:0}
.us-preview-controls{display:flex;gap:10px;align-items:center;margin-top:10px;font-size:12px}
.us-preview-controls input{flex:1;min-width:40px;accent-color:#cbd7ed}
.us-clip-trim{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px;border:1px solid #414b5c;border-radius:6px;margin:16px 0}
.us-clip-trim legend{font-size:12px;padding:0 6px;color:#c4cbd7}
.us-clip-trim label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#c4cbd7;min-width:0}
.us-clip-trim input{font:14px Arial;color:#eff1f7;background:#101115;border:1px solid #434a59;border-radius:4px;padding:8px;width:100%;min-width:0}
.us-clip-crop{font-size:12px;border-bottom:1px solid #303744;padding:0 0 16px;margin:16px 0}
.us-clip-crop summary{cursor:pointer;padding:8px 0;color:#c4cbd7}
.us-clip-crop fieldset{border:0;padding:12px 0 0;margin:0}
.us-clip-buttons{position:sticky;bottom:0;display:flex;gap:8px;flex-wrap:wrap;margin-top:18px;padding:14px 0;background:#101115;border-top:1px solid #303744;box-shadow:0 -12px 18px #101115e8;z-index:2}
.uprise-studio .us-clip-play{background:#eef1f8;color:#131820;border-color:#eef1f8;font-weight:700}
.uprise-studio .us-clip-play:hover:not(:disabled){background:#d5ddeb}
.us-clip-error,.us-clip-notice{padding:10px 12px;background:#362a20;color:#ffd09b;font-size:12px;line-height:1.5;border-radius:4px}
.us-clip-notice{max-width:1232px;margin:12px auto}
.us-clip-reopen{position:fixed;top:8px;right:8px;display:flex;gap:6px;z-index:50;opacity:0;transition:opacity .15s}
.us-clip-operating:hover .us-clip-reopen,.us-clip-operating:focus-within .us-clip-reopen{opacity:1}
@media(hover:none){.us-clip-reopen{opacity:1}}
@media(max-width:420px){.us-clip-controls{padding:16px}.us-clip-controls header{align-items:flex-start;flex-direction:column}.us-clip-buttons button{flex:1}.us-clip-trim{gap:8px}}

/* The overlay is live HTML, not the sample image: no creator footage or fake scores. */
.us-overlay-picker{max-width:1280px;margin:0 auto;padding:0 24px 12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.us-overlay-picker label{display:flex;align-items:center;gap:8px;font-size:12px;color:#c4cbd7;min-width:0}
.us-overlay-picker select{min-width:0;max-width:100%}
.us-overlay-picker button[aria-pressed=true]{border-color:#c4a66a;color:#efdba9}
.us-grid-feed>.us-overlay-picker{padding:0 10px 10px;gap:6px}
.us-grid-feed>.us-overlay-picker label{width:100%;justify-content:space-between;font-size:11px}
.us-grid-feed>.us-overlay-picker select{flex:1;min-height:28px;padding:4px;font-size:11px}
.us-grid-feed>.us-overlay-picker button{min-height:28px;padding:4px 7px;font-size:10px}
.us-popout>.us-overlay-picker,.us-broadcast .us-overlay-picker,.us-clip-operating .us-overlay-picker{display:none}
.us-switchbar>.us-overlay-picker{flex-basis:100%;padding:8px 0 0;margin:0;border-top:1px solid #434a59}
.us-popout-controls>.us-switchbar{max-height:40dvh;overflow:auto;align-content:start}
.us-popout-controls .us-alignment{top:calc(52px + 40dvh);bottom:120px;max-height:none}
.us-battlecast{--bc-gold:#c4a66a;--bc-top:2.2cqw;--bc-bar-height:16cqw;color:#f4f2eb;font-family:Arial,Helvetica,sans-serif}
.bc-scorebar{position:absolute;top:var(--bc-top);left:2.2%;right:2.2%;height:var(--bc-bar-height);background:#101216f5;border:1px solid #555044;border-top:2px solid var(--bc-gold);border-radius:2cqw;box-shadow:0 .6cqw 2cqw #0005;overflow:hidden;z-index:2}
.bc-paired{display:grid;grid-template-columns:minmax(0,1fr) 24% minmax(0,1fr);align-items:stretch;padding:2cqw 1.6cqw;gap:1.5cqw}
.bc-player{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:.7cqw;border-left:.6cqw solid var(--bc-rail);padding-left:1.8cqw}
.bc-paired>.bc-player:last-child{border-left:0;border-right:.6cqw solid var(--bc-rail);padding-left:0;padding-right:1.8cqw;text-align:right}
.bc-names{min-width:0;display:grid;gap:.3cqw}
.bc-names>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:2.8cqw;font-weight:600;line-height:1.2}
.bc-score{display:block;white-space:nowrap;font-size:min(6.3cqw,calc(46cqw / var(--bc-score-length,8)));font-weight:800;letter-spacing:-.22cqw;line-height:1.03;font-stretch:condensed;font-variant-numeric:tabular-nums}
.bc-player>small{font-size:1.7cqw;letter-spacing:.16cqw;color:#d4d2cd;line-height:1.2}
.bc-timer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.8cqw;text-align:center;min-width:0;border-left:1px solid #454545;border-right:1px solid #454545;padding:0 .8cqw}
.bc-timer>span{font-size:1.9cqw;letter-spacing:.22cqw;font-weight:700}
.bc-timer>strong{font-size:5.5cqw;letter-spacing:-.15cqw;line-height:1.05;font-weight:800;white-space:nowrap}
.bc-timer>small{font-size:1.5cqw;line-height:1.2;letter-spacing:.1cqw}
.bc-timer.is-urgent>strong,.bc-warning .bc-timer>small{color:#ecd091}
.bc-divider{position:absolute;left:calc(50% - .5px);top:calc(var(--bc-top) + var(--bc-bar-height));bottom:0;width:max(1px,.25cqw);background:var(--bc-gold);z-index:0}
.bc-brand{position:absolute;left:3.8%;top:calc(var(--bc-top) + var(--bc-bar-height) + 2.5cqw);display:grid;gap:.5cqw;max-width:43%;filter:drop-shadow(0 1px 3px #0008);z-index:1}
.bc-brand>b{font-size:3.3cqw;line-height:1.1;letter-spacing:.35cqw}
.bc-brand>span{font-size:1.7cqw;letter-spacing:.6cqw}
.bc-brand>small{font-size:2cqw;line-height:1.3;margin-top:1cqw;overflow-wrap:anywhere}
.bc-multi{padding:1.5cqw;--bc-bar-height:23cqw}
.bc-multi>.bc-timer{border:0;display:flex;flex-direction:row;justify-content:space-between;padding:0 .5cqw 1.5cqw}
.bc-multi>.bc-timer>strong{font-size:4cqw}
.bc-players{display:grid;gap:1.3cqw}
.bc-multi .bc-score{font-size:min(4.8cqw,calc(26cqw / var(--bc-score-length,8)))}
.bc-multi .bc-names>span{font-size:2.3cqw}
.us-battlecast:has(.bc-multi){--bc-bar-height:23cqw}
.bc-notice{position:absolute;bottom:3%;left:3%;right:3%;width:fit-content;max-width:94%;padding:1.6cqw 2cqw;border-radius:1cqw;background:#171715ee;color:#efdba9;font-size:2.4cqw;line-height:1.35}
@media(max-width:600px){.us-overlay-picker{padding:0 13px 12px}}

.us-battlecast:has(.bc-paired .bc-names>span:nth-child(2)){--bc-bar-height:20cqw}

.portal-account-controls{position:relative;display:flex;align-items:center;gap:10px;flex-shrink:0;color:var(--foreground)}
.portal-account-controls .portal-icon-button{display:inline-flex;align-items:center;justify-content:center;position:relative;width:32px;height:32px;min-height:32px;min-width:32px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--foreground);cursor:pointer}
.portal-account-controls button:hover,.portal-account-dropdown a:hover{background:var(--accent)}
.portal-account-name{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500;font-size:14px}
.portal-unread-count{position:absolute;top:-5px;right:-5px;min-width:19px;height:19px;display:grid;place-items:center;padding:0 4px;border-radius:12px;background:var(--primary);color:var(--primary-foreground);font-size:11px;font-weight:600}
.portal-account-dropdown,.portal-notification-inbox{position:absolute;right:0;top:calc(100% + 12px);z-index:100;background:var(--card);color:var(--card-foreground);border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 36px #0003;text-align:left}
.portal-account-dropdown{width:230px;padding:6px}.portal-account-dropdown a,.portal-account-dropdown .portal-account-action{display:flex;align-items:center;gap:10px;padding:12px;border-radius:7px;color:inherit;text-decoration:none}
.portal-notification-inbox{width:410px;max-width:calc(100vw - 32px);padding:18px}
.portal-inbox-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.portal-inbox-heading h2{font-size:18px;margin:0}
.portal-inbox-items{list-style:none;padding:0;margin:12px 0;max-height:min(420px,60dvh);overflow-y:auto;overscroll-behavior:contain}
.portal-inbox-items li{border-bottom:1px solid var(--border)}.portal-inbox-items li:last-child{border-bottom:0}
.portal-account-controls .portal-inbox-item{display:block;width:100%;text-align:left;border:0;border-radius:7px;padding:14px 10px;background:transparent;color:inherit;cursor:pointer}
.portal-inbox-item.is-unread{box-shadow:inset 3px 0 var(--primary)}
.portal-inbox-title{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;font-weight:500;overflow-wrap:anywhere}.portal-inbox-dot{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:var(--primary)}
.portal-inbox-meta{display:block;font-size:12px;color:var(--muted-foreground);margin-top:5px}.portal-inbox-empty{text-align:center;padding:28px 12px;color:var(--muted-foreground)}.portal-inbox-empty svg{margin:auto}.portal-inbox-empty h3{font-size:16px;color:var(--foreground);margin:12px 0 6px}.portal-inbox-empty p{font-size:14px}
.portal-inbox-detail{padding:0 10px 16px;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}.portal-inbox-detail a{display:inline-flex;gap:6px;align-items:center;color:var(--foreground);margin-top:10px}
.portal-inbox-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid var(--border);padding-top:14px;font-size:13px}.portal-inbox-footer a{color:var(--foreground)}.portal-inbox-footer button,.portal-inbox-error button{display:inline-flex;align-items:center;gap:6px;padding:6px;border:0;border-radius:6px;color:var(--foreground);background:transparent;cursor:pointer}.portal-inbox-error{font-size:13px;color:var(--destructive);padding:12px 0}.portal-inbox-error button{margin-left:8px}
@media(max-width:640px){.portal-account-controls{gap:6px}.portal-account-name{max-width:90px}.page-header .header-actions{flex-wrap:wrap;justify-content:flex-end}.page-header .header-status{display:none}.portal-account-controls .portal-icon-button{width:36px;height:36px;min-height:36px;min-width:36px}.portal-notification-inbox{padding:14px}}
@media(max-width:640px){.page-header .portal-account-controls{grid-column:1/-1;justify-self:end;margin-left:auto}.portal-notification-inbox{width:calc(100vw - 32px)}}

.portal-account-dropdown .portal-account-action{width:100%;border:0;background:transparent;font:inherit;font-size:14px;text-align:left;cursor:pointer}.portal-account-dropdown .portal-account-action:hover{background:var(--accent)}.portal-account-dropdown .portal-account-action:disabled{opacity:.5;cursor:default}.portal-account-dropdown svg{flex-shrink:0}.portal-menu-state{margin-left:auto;color:var(--muted-foreground);font-size:12px;font-weight:500}.portal-account-controls button:focus-visible,.portal-account-dropdown a:focus-visible{outline:2px solid var(--ring,var(--primary));outline-offset:2px}

.portal-account-controls .portal-icon-button:hover:not(:disabled){background:var(--accent);box-shadow:none}.portal-account-dropdown .portal-account-action:hover:not(:disabled){background:var(--accent)}

/* Keep neutral account controls readable above the global dark button hover rule. */
.portal-account-controls .portal-inbox-item:is(:hover,:focus-visible):not(:disabled),
.portal-account-controls .portal-inbox-footer button:is(:hover,:focus-visible):not(:disabled),
.portal-account-controls .portal-inbox-error button:is(:hover,:focus-visible):not(:disabled){background:var(--muted);color:var(--foreground)}

.portal-read-error{position:fixed;right:16px;bottom:16px;z-index:120;max-width:min(420px,calc(100vw - 32px));padding:12px 16px;border:1px solid var(--destructive);border-radius:10px;background:var(--card);color:var(--foreground);box-shadow:0 4px 20px #0002;font-size:13px;text-align:left}.portal-read-error button{display:block;margin-top:6px;min-height:36px;border:1px solid var(--border);border-radius:6px;padding:6px 12px;color:inherit;background:var(--muted);cursor:pointer}

.portal-inbox-body{display:block;font-size:12px;line-height:1.5;color:var(--muted-foreground);white-space:normal;margin-top:5px}

.portal-inbox-footer .portal-inbox-all-activity{display:flex;align-items:center;justify-content:center;gap:8px;flex-basis:100%;min-height:38px;padding:7px 12px;border:1px solid var(--border);border-radius:7px;text-decoration:none;font-weight:600;background:var(--muted)}.portal-inbox-footer .portal-inbox-all-activity:hover{background:var(--accent)}.portal-inbox-footer a:focus-visible{outline:2px solid var(--ring,var(--primary));outline-offset:2px}

.matchup-activity-page{--ma-warning:#925800;--ma-warning-bg:#fff7e6;--ma-success:#246c48;--ma-success-bg:#edf8f0;max-width:1320px;color:var(--foreground);font-size:14px;line-height:1.5}
.dark .matchup-activity-page{--ma-warning:#ffd28b;--ma-warning-bg:#36291a;--ma-success:#9fe0b5;--ma-success-bg:#1b3329}
.matchup-activity-page p{margin:0}.ma-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-4px 0 22px}.ma-intro>p,.ma-muted{color:var(--muted-foreground)}
.matchup-activity-page .ma-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;white-space:nowrap;border:1px solid var(--border);border-radius:7px;padding:7px 11px;background:var(--card);color:var(--foreground);font:inherit;font-size:13px;font-weight:500;text-decoration:none;cursor:pointer;box-shadow:none}
.matchup-activity-page .ma-button:hover:not(:disabled){background:var(--accent);color:var(--foreground)}.matchup-activity-page .ma-primary{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}.matchup-activity-page .ma-primary:hover:not(:disabled){background:var(--primary);color:var(--primary-foreground);filter:brightness(.94)}.matchup-activity-page button:disabled{opacity:.5;cursor:default}.matchup-activity-page :is(button,a:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea):focus-visible{outline:2px solid var(--ring,var(--primary));outline-offset:3px}
.ma-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.ma-tabs{display:flex;gap:4px;padding:4px;background:var(--muted);border:1px solid var(--border);border-radius:10px}.matchup-activity-page .ma-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 13px;border:0;border-radius:6px;background:transparent;color:var(--muted-foreground);font:inherit;font-size:13px;font-weight:600;cursor:pointer;box-shadow:none}.matchup-activity-page .ma-tabs button[aria-pressed=true]{background:var(--card);color:var(--foreground);box-shadow:0 1px 4px #0001}.ma-tabs button>span{min-width:19px;border-radius:5px;padding:1px 5px;background:var(--accent);font-size:11px;text-align:center}.matchup-activity-page .ma-filter-toggle{display:none}
.ma-filter-form{padding:16px;background:var(--card);border:1px solid var(--border);border-radius:10px;margin-bottom:18px}.ma-search{display:flex;gap:8px}.ma-search>label{display:flex;align-items:center;gap:9px;min-width:0;flex:1;color:var(--muted-foreground);border:1px solid var(--border);border-radius:7px;padding:0 10px;background:var(--background)}.ma-search>label:focus-within{outline:2px solid var(--ring,var(--primary));outline-offset:1px}.matchup-activity-page .ma-search input{flex:1;width:100%;min-width:0;border:0;padding:8px 0;min-height:36px;outline:none;background:transparent;color:var(--foreground);font:inherit;font-size:13px}.ma-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}.ma-filters>label,.ma-follow-up label{display:grid;gap:5px;color:var(--muted-foreground);font-size:12px;font-weight:500;min-width:0}.matchup-activity-page :is(.ma-filters select,.ma-filters input,.ma-follow-up textarea){width:100%;min-width:0;min-height:36px;padding:7px 9px;border:1px solid var(--border);border-radius:6px;color:var(--foreground);background:var(--background);font:inherit;font-size:13px}.ma-filters>.ma-button{align-self:end}.ma-active-filters{display:flex;align-items:center;gap:14px;margin-top:12px;color:var(--muted-foreground);font-size:12px}.matchup-activity-page .ma-active-filters button{display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border:0;border-radius:4px;background:transparent;color:var(--foreground);font:inherit;cursor:pointer}
.ma-preview,.ma-view-help{color:var(--muted-foreground);font-size:13px;margin-bottom:16px!important}.ma-preview{border-left:3px solid var(--border);padding-left:10px}.ma-error,.ma-notice,.ma-source-warning{display:flex;align-items:flex-start;gap:9px;padding:12px 14px;border:1px solid var(--border);border-radius:8px;margin-bottom:16px!important}.ma-error{color:var(--destructive)}.ma-notice{color:var(--ma-success);background:var(--ma-success-bg)}.ma-source-warning{color:var(--ma-warning);background:var(--ma-warning-bg);font-size:13px}.ma-source-warning svg,.ma-error svg,.ma-notice svg{flex-shrink:0;margin-top:2px}.ma-results-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted-foreground);font-size:12px;padding:0 2px 10px}
.ma-entries{list-style:none;margin:0;padding:0;border:1px solid var(--border);border-radius:10px;background:var(--card);overflow:hidden}.ma-entry+.ma-entry{border-top:1px solid var(--border)}.matchup-activity-page .ma-entry-summary{display:flex;align-items:flex-start;gap:13px;width:100%;padding:17px 18px;border:0;border-radius:0;background:transparent;color:var(--foreground);font:inherit;text-align:left;cursor:pointer;box-shadow:none}.matchup-activity-page .ma-entry-summary:hover:not(:disabled){color:var(--foreground);background:var(--muted)}.ma-entry-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);border-radius:9px;color:var(--muted-foreground);background:var(--background);flex-shrink:0}.ma-entry-copy{display:flex;flex-direction:column;min-width:0;flex:1;gap:3px}.ma-entry-title{font-size:14px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.ma-entry-context,.ma-entry-creators{font-size:12px;color:var(--muted-foreground);overflow-wrap:anywhere}.ma-entry-creators{color:var(--foreground);font-size:12px}.ma-entry-meta{display:flex;align-items:flex-end;flex-direction:column;gap:7px;padding-left:10px;flex-shrink:0}.ma-entry-meta>time{font-size:11px;color:var(--muted-foreground);white-space:nowrap}.ma-badge,.ma-status{display:inline-flex;align-items:center;gap:4px;max-width:100%;font-size:11px;line-height:1.5;padding:3px 7px;border-radius:5px;color:var(--muted-foreground);background:var(--muted);font-weight:500}.ma-badge.is-attention,.ma-status[data-status=failed],.ma-status[data-status=undelivered],.ma-status[data-status=not-sent],.ma-status[data-status=not_sent],.ma-status[data-status=unavailable]{color:var(--ma-warning);background:var(--ma-warning-bg)}.ma-badge.is-contacted,.ma-status[data-status=delivered]{color:var(--ma-success);background:var(--ma-success-bg)}.ma-chevron{flex-shrink:0;margin-top:8px;color:var(--muted-foreground)}.ma-entry.is-expanded .ma-chevron{transform:rotate(180deg)}
.ma-entry-detail{padding:0 18px 20px 65px;border-top:1px solid var(--border);background:var(--background)}.ma-detail-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;font-size:12px;color:var(--muted-foreground)}.ma-attention-reason{display:flex;align-items:flex-start;gap:8px;background:var(--ma-warning-bg);color:var(--ma-warning);padding:11px 12px;border-radius:6px;margin-bottom:18px;font-size:13px}.ma-attention-reason svg{flex-shrink:0;margin-top:2px}.ma-entry-detail h3{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;margin:0 0 9px}.ma-entry-detail h3>span{color:var(--muted-foreground);font-weight:400}.ma-changes,.ma-creators,.ma-communication{margin-bottom:20px}.ma-changes dl{margin:0;border:1px solid var(--border);border-radius:7px;overflow:hidden}.ma-change{display:grid;grid-template-columns:140px 1fr;align-items:stretch;font-size:13px}.ma-change+.ma-change{border-top:1px solid var(--border)}.ma-change dt{color:var(--muted-foreground);font-size:12px;font-weight:500;padding:11px 12px;background:var(--muted)}.ma-change dd{display:grid;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr);align-items:center;gap:13px;margin:0;padding:10px 13px}.ma-change dd>span{overflow-wrap:anywhere;white-space:pre-wrap}.ma-change small{display:block;font-size:10px;font-weight:500;color:var(--muted-foreground);margin-bottom:3px}.ma-before{color:var(--muted-foreground)}.ma-change-arrow{color:var(--muted-foreground)}.ma-after{font-weight:500}.ma-creators ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}.ma-creators li{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:var(--card);border:1px solid var(--border);border-radius:6px;padding:6px 9px;font-size:12px;overflow-wrap:anywhere}.ma-creators strong{font-weight:500}.ma-creators li>span{color:var(--muted-foreground);font-size:11px}.ma-messages{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.ma-message{padding:13px;border:1px solid var(--border);border-radius:8px;background:var(--card);min-width:0}.ma-message-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.ma-message-heading strong{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;overflow-wrap:anywhere;min-width:0}.ma-message-kind{font-size:11px;color:var(--muted-foreground);margin-top:4px!important}.ma-message-reason{font-size:12px;color:var(--ma-warning);margin-top:9px!important}.ma-message-body{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;padding:10px 12px;background:var(--muted);border-left:2px solid var(--border);border-radius:0 5px 5px 0;margin:11px 0}.ma-message-missing{color:var(--muted-foreground);font-style:italic}.ma-delivery-times{display:grid;gap:4px;margin:0;font-size:10px;color:var(--muted-foreground)}.ma-delivery-times>div{display:flex;justify-content:space-between;gap:12px}.ma-delivery-times dd{margin:0;text-align:right}.ma-resolution{display:flex;align-items:flex-start;gap:8px;margin-bottom:14px;padding:12px;background:var(--ma-success-bg);color:var(--ma-success);border-radius:7px;font-size:12px}.ma-resolution>svg{flex-shrink:0}.ma-resolution strong{font-weight:600}.ma-resolution p{margin-top:3px}.ma-resolution-note{white-space:pre-wrap;overflow-wrap:anywhere}.ma-follow-up form{padding:13px;border:1px solid var(--border);border-radius:8px;background:var(--card)}.ma-follow-up label>span{display:contents;font-weight:400}.ma-follow-up textarea{resize:vertical}.ma-follow-up form p{font-size:12px;color:var(--muted-foreground);margin:7px 0 11px}.ma-follow-up form>div{display:flex;gap:8px}
.ma-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;color:var(--muted-foreground);font-size:12px}.ma-pagination>div{display:flex;gap:8px}.ma-history-note{font-size:11px;color:var(--muted-foreground);margin:16px 0!important}.ma-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:260px;padding:30px 20px;border:1px solid var(--border);border-radius:10px;background:var(--card);text-align:center;color:var(--muted-foreground)}.ma-empty h2{font-size:17px;font-weight:600;line-height:1.4;margin:0;color:var(--foreground)}.ma-empty p{max-width:420px;font-size:13px}.ma-empty-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--muted)}.ma-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.ma-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-messages{grid-template-columns:1fr}.ma-entry-detail{padding-left:20px}}
@media(max-width:700px){.ma-intro{align-items:flex-start;margin-bottom:18px}.ma-intro>p{font-size:13px;max-width:290px}.ma-intro .ma-button{font-size:0;min-width:38px}.ma-intro .ma-button svg{width:17px;height:17px}.ma-toolbar{gap:8px;flex-wrap:wrap}.ma-tabs{flex:1}.matchup-activity-page .ma-tabs button{flex:1;padding:8px;font-size:12px;min-height:38px;gap:5px}.ma-tabs svg{width:14px;height:14px}.matchup-activity-page .ma-filter-toggle{display:flex;min-height:46px}.ma-filter-form{padding:12px}.ma-filters{display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 9px}.ma-filters.is-open{display:grid}.ma-filters>.ma-button{grid-column:1/-1}.ma-search>label{gap:6px}.ma-search input{font-size:12px!important}.ma-entry-summary{position:relative;display:grid!important;grid-template-columns:30px minmax(0,1fr) 14px;gap:10px!important;padding:15px 12px!important}.ma-entry-icon{width:30px;height:30px}.ma-entry-copy{grid-column:2;grid-row:1}.ma-entry-meta{grid-column:2;grid-row:2;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;padding:0;gap:7px}.ma-entry-meta>time{font-size:10px}.ma-chevron{grid-column:3;grid-row:1}.ma-entry-title{font-size:13px}.ma-entry-detail{padding:0 12px 16px}.ma-detail-meta{font-size:11px}.ma-detail-meta>span{max-width:60%;overflow-wrap:anywhere}.ma-change{grid-template-columns:1fr}.ma-change dt{padding:7px 10px}.ma-change dd{padding:9px 10px;gap:9px;font-size:12px}.ma-pagination{flex-wrap:wrap}.ma-pagination>.ma-button{min-height:40px}.ma-results-heading{font-size:11px}.ma-history-note{font-size:10px}.ma-communication .ma-message{padding:11px}.ma-source-warning,.ma-view-help{font-size:12px}.ma-message-heading{gap:5px}.ma-delivery-times{font-size:10px}}
@media(pointer:coarse){.matchup-activity-page .ma-button,.matchup-activity-page .ma-tabs button{min-height:44px}.matchup-activity-page :is(.ma-filters select,.ma-filters input,.ma-search input){min-height:42px;font-size:16px!important}.portal-inbox-footer .portal-inbox-all-activity{min-height:44px}}
@media(prefers-reduced-motion:no-preference){.ma-spinning{animation:ma-spin 1s linear infinite}@keyframes ma-spin{to{transform:rotate(360deg)}}}

.ma-date-help{font-size:10px;color:var(--muted-foreground);margin-top:10px!important}.ma-contact-creators{display:flex;flex-wrap:wrap;gap:8px 16px;border:0;padding:0;margin:0 0 12px}.ma-contact-creators legend{font-size:12px;color:var(--muted-foreground);margin-bottom:6px}.ma-follow-up .ma-contact-creators label{display:flex;align-items:center;gap:6px}.ma-contact-creators input{width:15px;height:15px}

.ma-partial-contact{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 14px;color:var(--ma-success);font-size:12px}

.ma-request-help{font-size:12px;color:var(--muted-foreground);margin-top:10px!important}

.ma-history-heading h2{margin:0 0 5px;font-size:20px;font-weight:600;line-height:1.3}.ma-history-heading>div{min-width:0}.ma-history-heading p{color:var(--muted-foreground);font-size:13px}.ma-history-heading p a{text-decoration:underline;color:var(--foreground)}.ma-toolbar>strong{font-size:13px;font-weight:600}

.manager-profile-page{max-width:1060px;margin:0 auto}
.manager-profile-page [hidden]{display:none!important}
.manager-profile-heading h2{font-size:28px;margin:0 0 7px}
.manager-profile-heading p{color:var(--muted-foreground);margin:0}
.manager-profile-tabs{display:flex;gap:26px;border-bottom:1px solid var(--border);margin:24px 0}
.manager-profile-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted-foreground);padding:12px 0}
.manager-profile-tabs button:hover:not(:disabled){background:transparent;color:var(--foreground)}
.manager-profile-tabs button[aria-pressed=true]{border-bottom-color:var(--primary);color:var(--foreground)}
.manager-profile-card{padding:26px;background:var(--card);border:1px solid var(--border);border-radius:13px}
.manager-profile-identity{display:flex;align-items:center;gap:14px;margin-bottom:26px}
.manager-profile-avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--muted);color:var(--primary)}
.manager-profile-identity h3{margin:0 0 3px;overflow-wrap:anywhere}
.manager-profile-identity p{margin:0;color:var(--muted-foreground);text-transform:capitalize}
.manager-profile-field{display:grid;gap:7px;margin:22px 0;color:var(--foreground);font-size:14px}
.manager-profile-field input{max-width:440px;margin:0}
.manager-profile-field small{color:var(--muted-foreground);font-size:13px}
.manager-profile-email{font-weight:400;overflow-wrap:anywhere}
.manager-profile-save{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--border);margin-top:28px;padding-top:20px}
.manager-profile-save p{color:var(--muted-foreground);font-size:13px;margin:0}
@media(max-width:600px){.manager-profile-card{padding:20px 17px}.manager-profile-tabs{gap:23px}.manager-profile-save{align-items:stretch;flex-direction:column}.manager-profile-save button{width:100%}}

.notification-live-creators summary{width:fit-content;color:var(--primary);cursor:pointer;font-size:13px;padding:5px 0}
.notification-live-creators[open] summary{margin-bottom:12px}

.manager-sms-settings{margin-top:16px}.manager-sms-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.manager-sms-heading h3{margin:0}.manager-sms-heading p,.manager-sms-help{font-size:13px;color:var(--muted-foreground,#697386)}.manager-sms-status{border:1px solid var(--border,#ddd);border-radius:20px;padding:3px 9px;font-size:12px}.manager-sms-paused{background:var(--muted,#f3f4f6);padding:9px 12px;border-radius:8px;font-size:13px}.manager-sms-fields{display:grid;gap:12px;border:0;padding:0;margin:16px 0}.manager-sms-fields>label,.manager-sms-times label{display:grid;gap:5px;font-size:13px}.manager-sms-fields input:not([type=checkbox]),.manager-sms-fields select{width:100%;box-sizing:border-box;min-height:36px;border:1px solid var(--border,#d1d5db);border-radius:6px;background:var(--background,#fff);color:inherit;padding:6px 9px}.manager-sms-fields .manager-sms-check{display:flex;align-items:flex-start;gap:8px;line-height:1.5}.manager-sms-check input{margin-top:3px;flex-shrink:0}.manager-sms-fields button{width:fit-content;min-height:32px;border:1px solid var(--border,#d1d5db);border-radius:6px;padding:5px 10px;background:var(--background,#fff);color:inherit;font-size:13px;cursor:pointer}.manager-sms-fields button:disabled{opacity:.5;cursor:default}.manager-sms-number{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.manager-sms-number>div,.manager-sms-actions{display:flex;gap:8px;flex-wrap:wrap}.manager-sms-times{display:grid;grid-template-columns:1fr 1fr;gap:8px}.manager-sms-times small{grid-column:1/-1;color:var(--muted-foreground,#697386)}.manager-sms-history ul{list-style:none;padding:0}.manager-sms-history li{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid var(--border,#ddd);font-size:13px}.manager-sms-settings summary{font-size:13px;cursor:pointer}.manager-sms-settings a{text-decoration:underline}@media(max-width:480px){.manager-sms-number{align-items:flex-start;flex-direction:column}.manager-sms-heading{gap:8px}}

/* Override the portal's full-width text-input rule for native checkboxes. */
.manager-sms-fields .manager-sms-check{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;column-gap:10px;padding:4px 0;min-width:0}
.manager-sms-fields .manager-sms-check input[type=checkbox]{display:block;appearance:auto;flex:none;width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;margin:2px 0 0;padding:0;accent-color:var(--primary,#856621)}
.manager-sms-check>span{min-width:0;line-height:1.6;overflow-wrap:break-word}
.manager-sms-fields>label:not(.manager-sms-check){max-width:520px}
.manager-sms-times{max-width:520px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px;margin:0 0 6px 28px}
.manager-sms-fields input:not([type=checkbox]),.manager-sms-fields select{margin-top:0;min-width:0}
.manager-sms-fields>.manager-sms-help{margin:-6px 0 0;line-height:1.5}
@media(max-width:480px){.manager-sms-fields{gap:14px}.manager-sms-times{margin-left:28px;gap:10px}.manager-sms-fields .manager-sms-check{column-gap:10px}.manager-sms-fields input:not([type=checkbox]),.manager-sms-fields select{font-size:16px}}

.manager-sms-phone-fields{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;max-width:520px}
.manager-sms-phone-fields label{display:grid;gap:6px;min-width:0;font-size:13px}
.manager-sms-events{margin:20px 0;border-top:1px solid var(--border,#d1d5db);padding-top:16px}
.manager-sms-events h4{margin:0;font-size:15px}
.manager-sms-events>.manager-sms-help{line-height:1.5;margin:8px 0 12px}
.manager-sms-event-columns,.manager-sms-events li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px}
.manager-sms-event-columns{font-size:11px;font-weight:600;color:var(--muted-foreground,#697386);padding-bottom:6px}
.manager-sms-events ul{list-style:none;margin:0;padding:0}
.manager-sms-events li{align-items:center;padding:12px 0;border-top:1px solid var(--border,#d1d5db)}
.manager-sms-event-description{min-width:0;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.manager-sms-event-description p{font-size:12px;color:var(--muted-foreground,#697386);margin:5px 0 0;line-height:1.5}
.manager-sms-event-preview{min-width:0;border:1px solid var(--border,#d1d5db);border-radius:10px 10px 10px 3px;padding:9px 11px;background:var(--muted,#f3f4f6);font-size:12px;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}
@media(max-width:480px){.manager-sms-event-columns,.manager-sms-events li{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:10px}.manager-sms-event-preview{padding:8px;font-size:11px}.manager-sms-event-description{font-size:12px}.manager-sms-event-description p{font-size:11px}}
@media(max-width:480px){.manager-sms-phone-fields{grid-template-columns:132px minmax(0,1fr);gap:10px}}

/* Event preferences stay compact beside the preview, with full labels on mobile. */
.manager-sms-event-columns,.manager-sms-events li{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) 68px}
.manager-sms-event-enabled{font-size:12px;text-align:center;color:var(--muted-foreground,#697386)}
.manager-sms-event-enabled .manager-sms-event-toggle{display:flex;flex-direction:row;align-items:center;justify-content:center;min-height:44px;margin:0;padding:0;border:0;background:transparent;cursor:pointer;text-align:start}
/* Native fallback only; Fluent owns its nested input, track and thumb. */
.manager-sms-event-toggle>input[role="switch"]{appearance:none;position:relative;display:block;flex:none;width:40px;min-width:40px;height:24px;min-height:24px;margin:0;padding:0;border:1px solid var(--input,#d1d5db);border-radius:99px;background:var(--muted,#f3f4f6);cursor:pointer;transition:background .15s,border-color .15s}
.manager-sms-event-toggle>input[role="switch"]::before{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:var(--muted-foreground,#697386);transition:transform .15s}
.manager-sms-event-toggle>input[role="switch"]:checked{background:var(--primary,#856621);border-color:var(--primary,#856621)}
.manager-sms-event-toggle>input[role="switch"]:checked::before{background:var(--primary-foreground,#fff);transform:translateX(16px)}
.manager-sms-event-toggle>input[role="switch"]:focus-visible{outline:2px solid var(--primary,#856621);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.manager-sms-event-toggle>input[role="switch"],.manager-sms-event-toggle>input[role="switch"]::before{transition:none}}
.manager-sms-event-enabled-label{display:none}
.manager-sms-event-enabled input:disabled{cursor:default;opacity:.5}
@media(max-width:600px){.manager-sms-event-columns{display:none}.manager-sms-events li{grid-template-columns:minmax(0,1fr) auto;gap:10px}.manager-sms-event-description{grid-column:1;grid-row:1}.manager-sms-event-preview{grid-column:1/-1;grid-row:2}.manager-sms-event-enabled{grid-column:2;grid-row:1}.manager-sms-event-enabled label{gap:8px}.manager-sms-event-enabled-label{display:inline}}

.manager-sms-event-save-status{min-height:18px;margin:6px 0;font-size:12px;color:var(--muted-foreground,#697386)}
.manager-sms-event-save-status[role=alert]{color:var(--destructive,#b42318)}

.notification-admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 22px;padding-bottom:12px;border-bottom:1px solid var(--border)}.notification-admin-tabs a{padding:6px 11px;border:1px solid transparent;border-radius:6px;color:var(--muted-foreground);font-size:13px;text-decoration:none}.notification-admin-tabs a[aria-current=page]{border-color:var(--border);background:var(--muted);color:var(--foreground);font-weight:500}.notification-admin-page [hidden]{display:none!important}.notification-admin-entry-group{display:grid;gap:8px}.notification-admin-template-entry{width:fit-content;margin:0 0 20px 18px;font-size:13px}
.sms-template-editor{min-width:0}.sms-template-editor button{min-height:38px;padding:7px 11px;gap:6px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--foreground);font-size:13px}.sms-template-editor button:hover:not(:disabled){background:var(--muted)}.sms-template-editor button:disabled{cursor:default;opacity:.5}.sms-template-masters{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.sms-template-masters>span{display:flex;gap:7px;border:1px solid var(--border);border-radius:7px;padding:6px 9px;font-size:11px;color:var(--muted-foreground)}.sms-template-masters strong{color:var(--foreground)}
.sms-template-audience-filters{display:flex;gap:5px;flex-wrap:wrap;margin:20px 0 0}.sms-template-audience-filters button{border-color:transparent;background:transparent}.sms-template-audience-filters button[aria-pressed=true]{border-color:var(--primary);background:var(--muted);color:var(--primary)}.sms-template-audience-filters button>span{font-size:11px;font-weight:400;margin-left:5px;opacity:.8}.sms-template-list-help{font-size:12px;color:var(--muted-foreground);line-height:1.6;margin:14px 0 18px}
.sms-template-shell{display:grid;grid-template-columns:250px minmax(0,1fr);border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--card)}.sms-template-list{padding:18px 10px;border-right:1px solid var(--border);background:var(--background);min-width:0}.sms-template-list-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:0 9px 12px;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted-foreground);font-weight:600}.sms-template-list-heading>span:last-child{border:1px solid var(--border);border-radius:4px;padding:1px 5px}.sms-template-options{max-height:650px;overflow-y:auto;position:relative;scrollbar-width:thin;scrollbar-color:var(--border) transparent;overscroll-behavior:contain}
.sms-template-editor .sms-template-option{display:flex;align-items:center;gap:9px;width:100%;min-height:62px;padding:9px 8px;margin:3px 0;text-align:left;border:1px solid transparent;background:transparent}.sms-template-editor .sms-template-option[aria-selected=true]{background:var(--muted);border-color:var(--primary)}.sms-template-option-icon{width:29px;height:29px;display:grid;place-items:center;flex:none;border-radius:7px;background:var(--muted);color:var(--muted-foreground)}.sms-template-option[aria-selected=true] .sms-template-option-icon{color:var(--primary)}.sms-template-option-name{flex:1;min-width:0;font-size:12px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}.sms-template-option-name small{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:10px;font-weight:400;color:var(--muted-foreground);line-height:1.8;margin-top:3px}.sms-template-requested-badge{font-size:9px;line-height:1.5;padding:1px 4px;border:1px solid var(--border);border-radius:4px;background:var(--muted);color:var(--primary);white-space:nowrap}.sms-template-option-state{font-size:10px;color:var(--muted-foreground);flex:none}.sms-template-option-state.is-on{color:var(--primary)}.sms-template-list-note{font-size:11px;line-height:1.6;color:var(--muted-foreground);padding:12px 9px 0;margin:0}
.sms-template-detail{padding:23px 24px;min-width:0}.sms-template-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.sms-template-detail-heading h4{font-size:19px;line-height:1.35;margin:0;color:var(--foreground)}.sms-template-saved-pill{font-size:10px;color:var(--muted-foreground);padding:4px 8px;border:1px solid var(--border);border-radius:20px;white-space:nowrap}.sms-template-description{font-size:12px;line-height:1.65;color:var(--muted-foreground);margin:8px 0 0}.sms-template-global-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin:19px 0 22px;padding:13px 0}.sms-template-global-row>div{min-width:0}.sms-template-global-row strong{font-size:12px}.sms-template-global-row p{font-size:11px;color:var(--muted-foreground);line-height:1.6;margin:4px 0 0}.sms-template-toggle{display:flex;align-items:center;gap:8px;min-height:44px;min-width:72px;cursor:pointer;font-size:12px;flex:none}.sms-template-toggle input[role=switch]{appearance:none;position:relative;width:36px;min-width:36px;height:22px;min-height:22px;padding:0;margin:0;border:1px solid var(--input);border-radius:99px;background:var(--muted);cursor:pointer}.sms-template-toggle input[role=switch]:before{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:var(--muted-foreground);transition:transform .15s}.sms-template-toggle input[role=switch]:checked{background:var(--primary);border-color:var(--primary)}.sms-template-toggle input[role=switch]:checked:before{transform:translateX(14px);background:var(--primary-foreground)}.sms-template-toggle input:disabled{cursor:default;opacity:.5}
.sms-template-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.85fr);gap:22px;align-items:start}.sms-template-compose{min-width:0}.sms-template-compose>label{display:grid;gap:8px;color:var(--foreground);font-size:12px;font-weight:600}.sms-template-compose textarea{margin:0;width:100%;min-height:225px;resize:vertical;font-size:13px;line-height:1.8;padding:13px;border:1px solid var(--input);border-radius:8px;background:var(--background);color:var(--foreground)}.sms-template-detail .notification-help{font-size:11px;color:var(--muted-foreground);line-height:1.65;margin:8px 0}.sms-template-tokens{display:grid;gap:7px;margin:12px 0;font-size:10px;color:var(--muted-foreground)}.sms-template-tokens>div{display:flex;gap:5px;flex-wrap:wrap}.sms-template-editor .sms-template-tokens button{font-family:ui-monospace,monospace;font-size:10px;min-height:32px;padding:5px 7px;background:var(--muted)}.sms-template-footer{padding:11px 13px;border:1px solid var(--border);border-radius:8px;background:var(--muted);margin:16px 0 0;font-size:10px}.sms-template-footer strong{color:var(--foreground)}.sms-template-footer output{display:block;white-space:pre-wrap;font-size:12px;line-height:1.7;color:var(--foreground);margin-top:7px}.sms-template-footer small{display:block;margin-top:5px;color:var(--muted-foreground);font-size:10px}
.sms-template-sample{background:var(--muted);border:1px solid var(--border);border-radius:10px;padding:14px;min-width:0}.sms-template-sample .notification-eyebrow{font-size:9px;line-height:1.5;color:var(--primary)}.sms-template-example-label{font-size:10px;line-height:1.5;color:var(--muted-foreground);margin:8px 0 11px}.sms-template-message{margin:0 0 12px;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--card);font-size:12px;line-height:1.8;min-height:150px}.sms-template-segments{font-size:10px;color:var(--muted-foreground);line-height:1.5}.sms-template-segments strong{color:var(--foreground)}.sms-template-master-note{font-size:10px;line-height:1.6;padding:8px 10px;border:1px solid var(--border);border-radius:6px;color:var(--muted-foreground);margin:12px 0 0}
.sms-template-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:20px 0 0}.sms-template-actions .sms-template-save{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}.sms-template-actions small{font-size:11px;color:var(--muted-foreground);flex:1;min-width:90px}.sms-template-verification-note{margin:18px 0 0;padding-top:14px;border-top:1px solid var(--border);font-size:11px;color:var(--muted-foreground);line-height:1.6}
@media(max-width:1150px){.sms-template-shell{grid-template-columns:225px minmax(0,1fr)}.sms-template-workspace{grid-template-columns:minmax(0,1fr);gap:18px}.sms-template-detail{padding:21px}.sms-template-message{min-height:0}}
@media(max-width:700px){.sms-template-shell{display:block}.sms-template-list{border-right:0;border-bottom:1px solid var(--border);padding:15px 10px}.sms-template-options{max-height:310px}.sms-template-editor .sms-template-option{min-height:60px}.sms-template-list-note{display:none}.sms-template-detail{padding:20px 15px}.sms-template-detail-heading h4{font-size:17px}.sms-template-global-row{gap:10px}.sms-template-global-row p{font-size:10px}.sms-template-compose textarea{font-size:16px}.sms-template-audience-filters{margin-top:17px}.sms-template-editor .sms-template-tokens button{font-size:11px}.sms-template-actions small{flex-basis:100%}.notification-admin-template-entry{margin-left:12px}}

.cr-registration{margin:0 0 28px;padding:24px;border:1px solid rgba(218,180,99,.22);border-radius:16px;background:rgba(20,22,27,.7);color:#eceef2}.cr-registration h2,.cr-registration h3,.cr-registration p{margin:0}.cr-registration h2{font-size:26px;font-weight:650;margin-top:8px}.cr-registration h3{font-size:19px;font-weight:600}.cr-heading,.cr-subheading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.cr-heading p{color:#a4aab5;margin-top:7px;font-size:14px}.cr-eyebrow{display:flex;align-items:center;gap:8px;color:#dfbe79;font-size:11px;font-weight:700;letter-spacing:1.4px}.cr-heading h3{margin-top:7px}.cr-back{display:inline-flex;gap:8px;align-items:center;color:#b8bec9;margin-bottom:24px;font-size:13px}.cr-directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.cr-directory-card{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px;border:1px solid #34373d;border-radius:10px;background:#1b1e24}.cr-directory-card:hover{border-color:#b89b61}.cr-directory-card small,.cr-directory-card span{display:block;color:#a4aab5;font-size:12px;margin-top:7px}.cr-directory-card strong{font-size:15px}.cr-empty{padding:28px 16px;color:#a4aab5;text-align:center;background:rgba(255,255,255,.025);border-radius:10px;font-size:14px}.cr-create{max-width:640px;margin:10px auto}.cr-create>p{color:#a4aab5;line-height:1.6;margin:14px 0 24px}.cr-create>label{display:block;margin:20px 0 8px;font-size:14px}.cr-create>label span,.cr-create>small{color:#a4aab5}.cr-create>small{display:block;margin-top:9px;font-size:12px}.cr-create input{color-scheme:dark}.cr-explainer{margin:24px 0;padding:18px;border:1px solid #47402f;border-radius:10px;font-size:14px}.cr-explainer p{font-size:13px;color:#a4aab5;margin-top:7px;line-height:1.6}.cr-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.cr-stats>div{background:#1a1d23;border:1px solid #30343c;border-radius:10px;padding:18px}.cr-stats strong{display:block;font-size:28px;font-weight:600;font-variant-numeric:tabular-nums}.cr-stats span{display:block;font-size:12px;color:#a4aab5;margin-top:3px}.cr-stats>div:first-child strong{color:#dfbe79}.cr-tabs{display:flex;gap:24px;border-bottom:1px solid #34373d;margin:24px 0}.cr-tabs button{padding:0 0 13px;color:#a4aab5;border-bottom:2px solid transparent;font-size:14px}.cr-tabs button[aria-selected=true]{border-color:#dfbe79;color:#dfbe79}.cr-tabs button span{margin-left:6px;background:#30343c;padding:2px 7px;border-radius:9px;font-size:11px}.cr-response-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:30px}.cr-subheading{margin-bottom:9px;align-items:flex-start}.cr-subheading>span{color:#a4aab5;font-size:12px;white-space:nowrap}.cr-muted{color:#a4aab5;font-size:13px;line-height:1.6}.cr-subheading .cr-muted{margin-top:7px}.cr-filters{display:flex;gap:10px;margin:18px 0 10px}.cr-filters input{min-width:0}.cr-registration select{background:#20242c;color:#e4e7ed;border:1px solid #3d434e;border-radius:7px;padding:9px 12px;font:inherit;font-size:13px;max-width:100%}.cr-registration select:disabled{opacity:.6}.cr-registration select:focus-visible,.cr-registration button:focus-visible,.cr-registration a:focus-visible{outline:2px solid #dfbe79;outline-offset:3px}.cr-creator{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid #2c3038}.cr-creator strong{font-size:14px;overflow-wrap:anywhere}.cr-creator small{display:block;color:#878f9e;font-size:11px;margin-top:5px}.cr-creator select{min-width:178px}.cr-creator .cr-status-participating{color:#9bdbb5;border-color:#365346}.cr-manager-progress{padding:20px;background:#1a1d23;border:1px solid #30343c;border-radius:10px;align-self:start}.cr-manager-progress h3{font-size:15px;margin-bottom:20px}.cr-manager-progress>div{margin-bottom:20px}.cr-manager-progress>div:last-child{margin-bottom:0}.cr-manager-progress>div>div{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:6px}.cr-manager-progress strong{font-weight:500;overflow-wrap:anywhere}.cr-manager-progress span{color:#a4aab5}.cr-manager-progress progress{display:block;width:100%;height:5px;accent-color:#dfbe79;border:0;border-radius:3px;background:#34373d}.cr-manager-progress progress::-webkit-progress-bar{background:#34373d;border-radius:3px}.cr-manager-progress progress::-webkit-progress-value{background:#dfbe79;border-radius:3px}.cr-actions{display:flex;flex-wrap:wrap;gap:8px}.cr-matches{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:15px;margin:22px 0}.cr-match{padding:18px;border:1px solid #363b45;border-radius:11px;background:#1a1d23}.cr-match header{display:flex;justify-content:space-between;gap:10px;margin-bottom:16px;font-size:14px}.cr-match header span{color:#dfbe79;font-size:12px}.cr-match label{display:block;margin-top:12px}.cr-match label span{display:block;color:#8f97a5;font-size:11px;margin-bottom:5px}.cr-match select{width:100%}.cr-finalize{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px;margin-top:28px;border:1px solid #51452f;border-radius:11px;background:rgba(218,180,99,.035)}.cr-finalize h3{font-size:17px}.cr-finalize p{font-size:13px;color:#a4aab5;margin-top:8px;line-height:1.6}.cr-finalize button{flex-shrink:0}.cr-checkbox{display:flex;align-items:flex-start;gap:9px;margin-top:15px;font-size:13px}.cr-checkbox input{margin-top:3px;accent-color:#dfbe79}.cr-alert{padding:15px;background:#422c2c;border:1px solid #735050;border-radius:8px;margin-bottom:18px;display:flex;align-items:center;gap:15px;justify-content:space-between;font-size:14px}.cr-notice{color:#dfbe79;font-size:13px;padding:10px 0 16px}.cr-link-button{display:inline-flex;align-items:center;gap:9px;border:1px solid #b89b61;border-radius:8px;color:#dfbe79;padding:10px 15px;font-size:14px}@media(max-width:800px){.cr-response-layout{grid-template-columns:1fr}.cr-manager-progress{order:-1}.cr-heading,.cr-subheading,.cr-finalize{align-items:flex-start;flex-direction:column}.cr-registration{padding:18px}.cr-stats>div{padding:14px 10px}.cr-stats span{font-size:11px}.cr-stats strong{font-size:24px}}@media(max-width:480px){.cr-creator{align-items:stretch;flex-direction:column;gap:10px}.cr-filters{flex-direction:column}.cr-stats{gap:7px}.cr-registration h2{font-size:22px}.cr-tabs{gap:18px}.cr-tabs button{font-size:12px}.cr-registration{padding:14px}}

.cr-response-layout-single{grid-template-columns:minmax(0,1fr)}.cr-directory,.cr-matches{min-width:0}.cr-directory{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}.cr-matches{grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr))}.cr-create input{background:#20242c;color:#e4e7ed;border-color:#3d434e}.cr-create input:focus-visible{outline-color:#dfbe79}

.tournament-overview{display:grid;grid-template-columns:minmax(320px,1fr) minmax(0,1.8fr);gap:24px;align-items:start}
.tournament-overview-main{min-width:0}
.tournament-overview-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 0 18px}
.tournament-archive-link{display:inline-flex;align-items:center;gap:8px;font-size:14px}
.tournament-archive-page{max-width:1000px}
.tournament-overview-toolbar .tournament-back{margin:0}
.tournament-overview-main .tournament-directory{max-width:none;display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.tournament-overview-main .tournament-directory-entry{margin:0}
.tournament-overview-main .tournament-card{padding:20px;gap:14px}
.tournament-overview-main .tournament-card strong{font-size:18px;overflow-wrap:anywhere}
.tournament-overview-main .tournament-card-actions{padding:0 20px 16px;gap:8px}
.tournament-overview-empty{padding:28px 20px;border:1px solid var(--border);border-radius:12px;color:var(--muted-foreground);font-size:14px}
.cr-registration-directory{margin:0;padding:18px;background:var(--card);border-color:var(--border);color:var(--foreground);border-radius:12px}
.cr-registration-directory .cr-heading{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:16px}
.cr-registration-directory .cr-heading h3{font-size:17px;margin:0}
.cr-registration-directory .cr-heading>button{align-self:flex-start}
.cr-registration-directory .cr-directory{grid-template-columns:minmax(0,1fr);gap:0}
.cr-registration-directory .cr-directory-card{padding:14px 0;border:0;border-top:1px solid var(--border);border-radius:0;background:transparent;text-decoration:none;color:var(--foreground);gap:8px}
.cr-registration-directory .cr-directory-card strong{font-size:14px;overflow-wrap:anywhere}
.cr-registration-directory .cr-directory-card small,.cr-registration-directory .cr-directory-card span{color:var(--muted-foreground);font-size:12px;margin-top:5px}
.cr-registration-directory .cr-directory-card>svg{flex-shrink:0;width:16px;color:var(--primary)}
.cr-registration-directory .cr-empty{padding:12px 0;text-align:left;background:transparent}
@media(max-width:1100px){.tournament-overview{grid-template-columns:minmax(0,1fr);gap:22px}.cr-registration-directory{order:-1}.cr-registration-directory .cr-heading{flex-direction:row;align-items:center;flex-wrap:wrap}.cr-registration-directory .cr-heading>button{align-self:auto}}

.cr-tournament-banner{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:20px;margin:16px 0 24px;border:1px solid #51452f;border-radius:10px;background:rgba(218,180,99,.04)}.cr-tournament-banner strong{color:#dfbe79;font-size:14px}.cr-tournament-banner p{font-size:13px;color:#a4aab5;line-height:1.6;margin:7px 0 0}.cr-tournament-banner a{color:#dfbe79;white-space:nowrap;font-size:13px}.cr-tournament-banner details{margin-top:12px;font-size:13px}.cr-tournament-banner details p{overflow-wrap:anywhere}@media(max-width:600px){.cr-tournament-banner{flex-direction:column;gap:15px}}

/* Dense response rows keep large rosters scannable without shrinking targets. */
.cr-response-layout>div{min-width:0}
.cr-response-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:28px;margin-bottom:6px;font-size:11px;color:#a4aab5}
.cr-save-feedback{color:#dfbe79;text-align:right}
.cr-creators-scroll{max-height:min(60vh,560px);overflow:auto;overscroll-behavior:contain;border:1px solid #34373d;border-radius:9px;scrollbar-gutter:stable}
.cr-creators-scroll:focus-visible{outline:2px solid #dfbe79;outline-offset:3px}
.cr-response-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:13px}
.cr-response-table th,.cr-response-table td{padding:0;border-bottom:1px solid #2c3038}
.cr-response-table thead th{position:sticky;top:0;z-index:1;background:#20242c;color:#b9c0cc;text-align:center;font-weight:500;font-size:11px;line-height:1.25;height:40px;padding:6px 4px;width:100px}
.cr-response-table thead th:first-child{width:auto;text-align:left;padding-left:12px}
.cr-response-table tbody th{font-weight:500;text-align:left;padding:0 12px}
.cr-response-table tbody tr:last-child>*{border-bottom:0}
.cr-response-table tbody tr:hover{background:rgba(255,255,255,.035)}
.cr-response-table tbody tr:focus-within{background:rgba(218,180,99,.065)}
.cr-response-username{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:44px;font-size:13px}
.cr-response-identity{display:flex;align-items:center;gap:8px;min-width:0}
.cr-response-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;overflow:hidden;background:#34373d;color:#dfbe79;font-size:11px;font-weight:600}
.cr-response-avatar-image{display:block;width:28px;height:28px;object-fit:cover;border-radius:50%}
.cr-response-identity .cr-response-username{min-width:0}
.cr-response-updated{margin-left:auto;flex-shrink:0;text-align:right;color:#929ba9;font-size:10px;font-weight:400;line-height:1.35;white-space:nowrap}
.cr-response-updated span{display:block}
.cr-manager-response-layout>div{display:flex;flex-direction:column}
.cr-manager-tools{margin:0 0 8px;font-size:12px;color:#a4aab5}
.cr-manager-tools summary{cursor:pointer;padding:4px 0;min-height:28px}
.cr-manager-tools .cr-filters{margin:8px 0}
.cr-organizer-filters{flex-wrap:wrap;align-items:center}
.cr-organizer-filters>input{flex:1 1 180px;width:auto}
.cr-all-creators{display:inline-flex;align-items:center;gap:8px;min-height:36px;font-size:13px;white-space:nowrap;cursor:pointer;color:var(--foreground)}
.cr-all-creators input[type=checkbox]{appearance:auto;flex:none;width:16px;min-width:16px;height:16px;min-height:16px;margin:0;padding:0;accent-color:var(--primary)}
.cr-all-creators input:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
@media(max-width:480px){.cr-organizer-filters{align-items:stretch}.cr-organizer-filters>input{flex:none;width:100%}}
.cr-manager-save-status{order:1;margin:5px 0 0;min-height:20px}
.cr-manager-save-status>span:first-child{display:none}
.cr-manager-save-status .cr-save-feedback{margin-left:auto}
.cr-radio-target{display:flex;align-items:center;justify-content:center;width:100%;height:44px;cursor:pointer}
.cr-radio-target input[type=radio]{appearance:auto;-webkit-appearance:radio;width:17px;height:17px;margin:0;padding:0;accent-color:#dfbe79;cursor:pointer;flex:none}
.cr-radio-target:has(input:disabled){cursor:default}
.cr-radio-target input:disabled{opacity:.55;cursor:default}
.cr-radio-target input:focus-visible{outline:2px solid #dfbe79;outline-offset:4px}
.cr-response-participating .cr-radio-target input:checked{accent-color:#9bdbb5}
.cr-choice-short{display:none}
@media(max-width:1100px){.cr-response-table thead th{width:76px;font-size:10px}}
@media(max-width:600px){.cr-response-table thead th{width:48px;font-size:11px}.cr-choice-long{display:none}.cr-choice-short{display:inline}.cr-response-table tbody th{padding:0 8px}.cr-response-table thead th:first-child{padding-left:8px}.cr-response-username{font-size:12px}.cr-response-summary{font-size:10px}.cr-creators-scroll{max-height:58vh;scrollbar-gutter:auto}}

.cr-copy-participants{margin:0 0 20px}
.cr-copy-participants>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.cr-copy-participants span,.cr-copy-participants p{font-size:12px;color:var(--muted-foreground)}
.cr-copy-participants p{margin:8px 0 0}
.cr-copy-participants textarea{display:block;width:100%;max-width:440px;margin-top:10px;padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--background);color:var(--foreground);font:13px/1.6 monospace}

.cr-copy-participants .cr-copy-icon{display:inline-flex;align-items:center;justify-content:center;width:12px;height:12px;min-width:0;min-height:0;padding:0;border:0;border-radius:2px;background:transparent;color:var(--muted-foreground);cursor:pointer;flex-shrink:0}
.cr-copy-icon svg{width:12px;height:12px}
.cr-copy-icon:hover:not(:disabled){color:var(--foreground)}
.cr-copy-icon:focus-visible{outline:2px solid var(--primary);outline-offset:4px}
.cr-copy-icon:disabled{opacity:.4;cursor:default}

.cr-create select{width:100%;height:36px;padding:0 10px;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--foreground);font:inherit}
.cr-create select:focus-visible{outline:2px solid var(--primary);outline-offset:2px}

.home-battles-column{min-width:0;display:flex;flex-direction:column;gap:18px}


.cr-filter-field{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#a4aab5;min-width:0}
.cr-organizer-filters{align-items:flex-end}
.cr-organizer-filters>input{align-self:flex-end}
.cr-organizer-filters>button{white-space:nowrap}
.cr-radio-target input[type=radio][value=declined]{accent-color:#ef4444}
@media(max-width:480px){.cr-organizer-filters>input{align-self:stretch}.cr-filter-field select{width:100%}}

.cr-create textarea{width:100%;padding:12px;border:1px solid #65583f;border-radius:8px;background:#191816;color:#f5f0e5;font:inherit;resize:vertical;min-height:140px}.cr-list-actions{display:flex;gap:12px;flex-wrap:wrap}.cr-battler-list{margin:20px 0}

.cr-duo-editor{margin:24px 0}.cr-duo-entries{display:grid;gap:12px;margin-top:20px}.cr-duo-entry{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px;border:1px solid #4a4234;border-radius:10px}.cr-needs-partner{color:#f6c65b}.cr-duo-entry select{max-width:100%;padding:8px;background:#191816;color:#f5f0e5;border:1px solid #65583f;border-radius:6px}

.cr-team-identities{display:flex;flex-wrap:wrap;gap:16px}.cr-registration-account{display:flex;align-items:center;gap:9px;min-width:170px}.cr-registration-account a{font-weight:600}.cr-registration-account small{display:block;font-size:11px;color:#b6b1a5}.cr-account-avatar,.cr-account-avatar img{width:38px;height:38px;border-radius:50%;object-fit:cover}.cr-account-avatar{display:grid;place-items:center;background:#403929;flex-shrink:0}.cr-completion-filter{display:flex;align-items:center;gap:12px;margin-top:20px}.cr-completion-filter select{padding:8px 12px;background:#191816;color:#f5f0e5;border:1px solid #65583f;border-radius:6px}.cr-profile-retry{font-size:11px;text-decoration:underline}

/* Saved duos: two columns, centered teammates with photos on the outside. */
.cr-duo-entries{grid-template-columns:repeat(2,minmax(0,1fr))}
.cr-duo-entry{min-width:0;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;text-align:center;padding:16px 10px;gap:10px}
.cr-duo-entry .cr-team-identities{width:100%;display:flex;justify-content:center;align-items:flex-start;flex-wrap:nowrap;gap:7px}
.cr-duo-entry .cr-registration-account{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:6px;min-width:0;max-width:calc((100% - 20px)/2)}
.cr-duo-entry .cr-registration-account:only-child{max-width:100%}
.cr-duo-entry .cr-registration-account>div{min-width:0;padding-top:5px}
.cr-duo-entry .cr-registration-account a{overflow-wrap:anywhere;font-size:13px}
.cr-duo-entry .cr-account-avatar,.cr-duo-entry .cr-account-avatar img{width:32px;height:32px}
.cr-duo-entry .cr-account-reverse{grid-template-columns:minmax(0,1fr) 32px}
.cr-duo-entry .cr-account-reverse>.cr-account-avatar{grid-column:2;grid-row:1}
.cr-duo-entry .cr-account-reverse>div{grid-column:1;grid-row:1}
.cr-duo-entry .cr-profile-retry{grid-column:1/-1}
.cr-team-plus{padding-top:5px;flex:none;font-weight:600}
.cr-duo-entry .cr-list-actions{justify-content:center;max-width:100%}
.cr-duo-entry .cr-entry-text-action{background:none;border:0;border-radius:0;padding:3px 0;color:inherit;font:inherit;font-size:12px;box-shadow:none;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cr-duo-entry .cr-entry-text-action:hover{color:#f6c65b;background:none}
.cr-duo-entry .cr-entry-text-action:disabled{opacity:.45;cursor:default}
.cr-entry-text-action:focus-visible{outline:2px solid #f6c65b;outline-offset:3px}
@media(max-width:520px){.cr-duo-entry .cr-registration-account{grid-template-columns:24px minmax(0,1fr);gap:3px}.cr-duo-entry .cr-account-reverse{grid-template-columns:minmax(0,1fr) 24px}.cr-duo-entry .cr-account-avatar,.cr-duo-entry .cr-account-avatar img{width:24px;height:24px}.cr-duo-entry .cr-registration-account a{font-size:11px}.cr-duo-entry .cr-team-identities{gap:3px}.cr-duo-entries{gap:8px}.cr-duo-entry{padding:12px 6px}}
.cr-duo-entry .cr-entry-text-action{min-height:0;height:auto;line-height:1.5}
.cr-registration-account .cr-profile-retry{background:none;border:0;border-radius:0;box-shadow:none;color:inherit;padding:0;min-height:0;height:auto;line-height:1.5;font-size:11px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}

.cr-duo-entry .cr-team-identities{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:start}
.cr-duo-entry .cr-team-identities .cr-registration-account{width:100%;max-width:none}
.cr-empty-partner{display:flex;justify-content:flex-end;min-width:0}
.cr-empty-partner .cr-account-avatar{border:1px dashed #8c7a51;background:transparent;color:#c7b985;font-size:20px}

.cr-duo-entry[draggable=true]{cursor:grab}.cr-duo-entry[draggable=true]:active{cursor:grabbing}.cr-duo-entry.cr-drop-target{border-color:#e4c16d;background:#242018;box-shadow:inset 0 0 0 1px #e4c16d}.cr-duo-entry:focus-visible{outline:2px solid #e4c16d;outline-offset:3px}

/* Tournament directory: compact navigation, one primary action, and quiet tools. */
.tournament-directory-workspace .workspace-content{max-width:1240px;margin:0 auto;padding:42px clamp(20px,3.2vw,54px)}
.tournament-directory-workspace .page-header{align-items:flex-start;margin-bottom:26px;padding-right:0}
.tournament-directory-workspace .page-header h1{font-size:32px;letter-spacing:-.035em}
.tournament-directory-workspace .page-header p{font-size:14px;margin-top:9px}
.tournament-directory-workspace .header-status{font-size:12px;gap:10px}
.tournament-directory-workspace .updated-at{display:none}
.tournament-directory-workspace .header-actions{gap:12px}
.tournament-directory-workspace .page-header .theme-toggle{width:36px;height:36px;min-width:36px;min-height:36px;padding:8px}
.td-overview{width:100%;min-width:0}
.td-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}
.td-columns>section{min-width:0}
@media(min-width:1120px){.td-columns.td-with-registration{grid-template-columns:minmax(0,1fr) 260px}.td-overview .td-with-registration .cr-directory-card{flex-direction:column;align-items:flex-start;padding:18px;gap:14px}.td-with-registration .cr-heading{align-items:flex-start}.td-with-registration .cr-heading h3{font-size:13px}.td-columns .td-section-heading,.td-columns .cr-heading{min-height:32px}}
.td-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;border-bottom:1px solid var(--border);margin-bottom:25px}
.td-tabs{display:flex;gap:28px}
.td-tabs a{padding:13px 0;border-bottom:2px solid transparent;color:var(--muted-foreground);font-size:14px;text-decoration:none;font-weight:500}
.td-tabs a[aria-current=page]{border-color:var(--primary);color:var(--foreground)}
.td-daily-share{display:flex;align-items:center;gap:10px;min-width:0;color:var(--muted-foreground);font-size:12px}
.td-daily-share-link{display:flex;align-items:center;gap:3px;min-width:0}
.td-daily-share-link a{display:inline-flex;align-items:center;gap:5px;color:var(--muted-foreground);font-size:12px;text-decoration:none;white-space:nowrap;min-height:32px}
.td-daily-share-link a:hover{color:var(--foreground);text-decoration:underline;text-underline-offset:3px}
.td-daily-share-error{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}
.td-daily-share button{display:inline-flex;align-items:center;justify-content:center;padding:6px;min-height:32px;min-width:32px;border:0;border-radius:5px;background:transparent;color:var(--muted-foreground);font:inherit;font-size:12px;cursor:pointer;box-shadow:none}
.td-daily-share button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.td-daily-share button:disabled{opacity:.5;cursor:wait}
.td-daily-share :is(button,a):focus-visible,.td-daily-share-dialog :is(button,input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),a):focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.td-daily-share-notice{font-size:11px}
.td-daily-share-dialog{position:fixed;inset:0;margin:auto}
@media(max-width:520px){.td-toolbar{gap:8px}.td-tabs{gap:20px}.td-daily-share{gap:5px}.td-daily-share-link a{font-size:11px}}


.td-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 13px}
.td-section-heading h2,.td-overview .cr-heading h3{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;margin:0}
.td-count{display:inline-block;font-size:11px;font-weight:400;line-height:18px;border:1px solid var(--border);border-radius:5px;padding:0 6px;background:var(--muted);color:var(--muted-foreground);vertical-align:middle}
.td-list{display:grid;gap:16px}
.td-event{border:1px solid var(--border);border-radius:14px;background:var(--card);overflow:hidden}
.td-event-main{display:flex;align-items:flex-start;gap:18px;padding:26px}
.td-trophy{display:grid;place-items:center;width:50px;height:50px;flex-shrink:0;background:var(--accent);color:var(--primary);border-radius:12px}
.td-event-copy{min-width:0;flex:1}
.td-event-card-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px 0}
.td-event-card-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.td-event-draft-link{display:inline-flex;align-items:center;flex:0 0 auto;width:fit-content;line-height:1;text-decoration:none}
.td-event-draft-badge{flex:0 0 auto;white-space:nowrap}
.td-event-type{display:inline-flex;align-items:center;gap:6px;min-width:0}
.td-event-type>svg{width:18px;height:18px;flex-shrink:0}
.td-event-type>span{min-width:0;overflow-wrap:anywhere}
.td-event-disabled-action{display:inline-flex}
.td-event-disabled-action>button{pointer-events:none}
.td-event-icons{display:flex;align-items:center;gap:4px;position:relative;flex-shrink:0;margin-left:auto}
.workspace .td-event-icons .td-event-icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;min-height:36px;padding:8px;border:0;border-radius:7px;background:transparent;color:var(--muted-foreground);box-shadow:none;text-decoration:none;cursor:pointer}
.workspace .td-event-icons .td-event-icon-button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.workspace .td-event-icons .td-event-icon-button:disabled{opacity:.5;cursor:default}
.td-event-card-content{display:flex;align-items:flex-start;gap:18px;padding:4px 24px 20px}
.td-event-card h3{margin:0 0 12px;font-size:21px}
.td-event-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;color:var(--muted-foreground);font-size:12px}
.td-event-access{display:inline-flex;align-items:center;padding:3px 8px;border-radius:5px;background:var(--muted);font-size:11px;line-height:1.4;color:var(--foreground)}
.td-event-access.is-waitlist{background:var(--accent);color:var(--primary)}
.td-event-card .td-prize{margin:12px 0 0;font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:var(--muted-foreground)}
.td-event-card .td-prize strong{font-weight:500;color:var(--foreground)}
.td-event-card-date{display:flex;align-items:center;gap:7px;margin:10px 0 0;color:var(--muted-foreground);font-size:12px;line-height:1.5}
.td-event-card-date svg{flex-shrink:0}
.td-event-card .td-event-menu{padding:7px 14px;gap:4px 12px}
.td-event-saved{align-self:center;margin-left:auto;padding:6px 10px;color:var(--muted-foreground);font-size:11px}
.td-event-icon-notice{position:absolute;right:0;top:calc(100% + 4px);z-index:2;max-width:min(260px,70vw);width:max-content;padding:7px 10px;border:1px solid var(--border);border-radius:7px;background:var(--popover);color:var(--popover-foreground);box-shadow:0 3px 12px #0002;font-size:11px;line-height:1.5}
.td-event-icon-notice:empty{display:none}
@media(max-width:520px){.td-event-card-top{padding:8px 12px 0;gap:8px}.td-event-icons{gap:0}.workspace .td-event-icons .td-event-icon-button{width:40px;height:40px;min-height:40px;min-width:40px}.td-event-card-content{padding:4px 16px 17px}.td-event-card h3{font-size:19px}.td-event-card-meta{gap:7px 12px}.td-event-card .td-event-menu{padding:5px 8px;gap:0 5px}.td-event-saved{flex-basis:100%;margin-left:0}}
.td-eyebrow{font-size:11px;font-weight:500;letter-spacing:1.3px;text-transform:uppercase;color:var(--muted-foreground)}
.td-event h3{font-size:22px;line-height:1.3;font-weight:600;letter-spacing:-.02em;margin:5px 0 10px;overflow-wrap:anywhere}
.td-schedule{margin-top:7px;color:var(--muted-foreground);font-size:13px}
.td-meta>span{white-space:nowrap}
.td-meta{display:flex;flex-wrap:wrap;gap:7px 20px;color:var(--muted-foreground);font-size:13px}



.td-tools{display:flex;flex-wrap:wrap;gap:4px 10px;border-top:1px solid var(--border);padding:9px 18px}
.workspace .td-tools a,.workspace .td-tools button{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;background:transparent;border:0;border-radius:6px;color:var(--muted-foreground);font-size:13px;font-weight:400;min-height:36px;text-decoration:none;cursor:pointer;box-shadow:none}
.workspace .td-tools a:hover,.workspace .td-tools button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.td-tools button:disabled{opacity:.5;cursor:wait}
.tournament-builder>.td-tools,.tournaments-page>.td-tools{margin:0 0 22px;padding:10px 0;border-bottom:1px solid var(--border)}
.td-share-dialog{background:var(--card);color:var(--foreground);border:1px solid var(--border);border-radius:16px;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:26px;box-shadow:0 20px 80px #0005}
.td-share-dialog::backdrop{background:#0008}
.td-share-dialog header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.td-share-dialog header span{font-size:11px;letter-spacing:1.2px;color:var(--primary)}
.td-share-dialog h2{font-size:23px;margin:6px 0 0}
.td-share-dialog h3{font-size:16px;overflow-wrap:anywhere;margin:24px 0 8px}
.td-share-dialog p{font-size:14px;line-height:1.6;color:var(--muted-foreground)}
.td-share-dialog label{display:block;font-size:13px;margin-top:20px}
.td-share-dialog input{display:block;width:100%;min-width:0;margin:8px 0 16px;padding:11px;border:1px solid var(--input);border-radius:7px;background:var(--background);color:var(--foreground);font-size:14px}
.td-share-dialog button,.td-share-dialog .td-share-actions a{padding:9px 13px;min-height:42px;border:1px solid var(--border);border-radius:7px;background:var(--secondary);color:var(--foreground);font-size:14px;display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.td-share-dialog .td-share-close{border:0;background:transparent;padding:8px;min-width:36px}
.td-share-actions{display:flex;flex-wrap:wrap;gap:10px}
.td-share-dialog .td-share-actions button{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}
.td-share-error{margin-top:20px;border-top:1px solid var(--border);padding-top:12px}
.td-share-dialog button:disabled{opacity:.5;cursor:wait}
.td-participants-dialog{position:fixed;inset:0;margin:auto;padding:22px}
.td-participants-dialog textarea{display:block;box-sizing:border-box;width:100%;min-width:0;max-height:40dvh;margin:8px 0 16px;padding:10px;border:1px solid var(--input);border-radius:7px;background:var(--background);color:var(--foreground);font:inherit;font-size:16px;line-height:1.6;resize:vertical}
.td-participants-dialog button{min-height:36px;padding:7px 10px;font-size:13px}
.td-participants-dialog button:disabled{cursor:default}
.td-participants-dialog :is(button,textarea):focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.td-overview .cr-registration-directory{margin:0;padding:0;background:transparent;border:0;order:initial}
.td-overview .cr-registration-directory .cr-heading{flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:13px}
.td-overview .cr-registration-directory .cr-heading>button,.td-text-action{display:inline-flex;align-items:center;gap:7px;background:transparent;color:var(--primary);border:0;padding:4px 0;font-size:13px;min-height:32px;font-weight:500;box-shadow:none;text-decoration:none;cursor:pointer;border-radius:4px}
.td-overview .cr-registration-directory .cr-heading>button:hover,.td-text-action:hover{text-decoration:underline;background:transparent}
.td-overview .cr-directory{gap:12px}
.td-overview .cr-directory-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:21px 26px;gap:20px}
.td-overview .cr-directory-card:hover{border-color:var(--primary)}
.td-overview .cr-directory-card>div{min-width:0}
.td-overview .cr-directory-card strong{font-size:16px;font-weight:600}
.td-overview .cr-directory-card span{font-size:13px;margin-top:6px}
.td-overview .cr-directory-card .cr-directory-action{display:inline-flex;align-items:center;gap:8px;color:var(--primary);font-weight:500;white-space:nowrap;margin:0;flex-shrink:0}
.cr-directory-action{display:inline-flex!important;align-items:center;gap:8px}
.td-empty{border:1px dashed var(--border);border-radius:14px;padding:32px 20px;text-align:center;color:var(--muted-foreground)}
.td-empty>span{display:inline-flex;color:var(--primary)}
.td-empty h3{font-size:17px;font-weight:500;color:var(--foreground);margin:10px 0 7px}
.td-empty p{font-size:14px;margin:0}
.td-empty .td-text-action{margin-top:14px}

.td-overview a:focus-visible,.td-overview button:focus-visible,.td-overview input:focus-visible{outline:2px solid var(--primary);outline-offset:4px}
@media(max-width:1100px){.tournament-directory-workspace .page-header{flex-wrap:wrap}.td-event-main{padding:23px}.td-overview .cr-directory-card{padding:20px 23px}}
@media(max-width:900px){.tournament-directory-workspace{grid-template-columns:minmax(0,1fr)}.tournament-directory-workspace .workspace-content{padding:24px}.tournament-directory-workspace .navigation-sidebar.mobile-navigation-drawer{padding:24px 18px}.tournament-directory-workspace .mobile-navigation-drawer .workspace-nav a{min-height:44px}}
@media(max-width:520px){.tournament-directory-workspace .workspace-content{padding:22px 16px}.tournament-directory-workspace .page-header h1{font-size:28px}.tournament-directory-workspace .page-header p{font-size:13px}.tournament-directory-workspace .header-status{font-size:11px}.td-toolbar{gap:0 16px}.td-tabs{gap:24px}.td-event-main{padding:19px;gap:12px}.td-trophy{display:none}.td-event h3{font-size:20px}.td-tools{padding:7px 9px;gap:0 5px}.workspace .td-tools a,.workspace .td-tools button{min-height:44px;font-size:12px;padding:8px}.td-overview .cr-directory-card{flex-wrap:wrap;padding:19px;gap:13px}.td-overview .cr-directory-card .cr-directory-action{min-height:32px}.td-section-heading{gap:8px}.td-overview .cr-registration-directory .cr-heading>button,.td-text-action{min-height:40px}.td-overview .cr-directory-card strong{font-size:15px}}

/* Match result management sits beside the saved matchup, separate from setup. */
.mr-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0;font-size:13px;color:var(--muted-foreground)}
.mr-toolbar>p{width:100%;color:var(--foreground);margin:0;padding:12px;border:1px solid var(--border);border-radius:8px}
.mr-panel{grid-column:1/-1;border-top:1px solid var(--border);padding:18px 15px 14px;margin-top:0;min-width:0;scroll-margin-top:20px}
.mr-panel>header{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.mr-panel h4{margin:0;font-size:15px;font-weight:600}
.mr-panel>header>span,.mr-hint,.mr-notice{font-size:12px;color:var(--muted-foreground);line-height:1.6}
.mr-panel .mr-notice{color:var(--primary)}
.mr-round{padding:16px 0;border-top:1px solid var(--border)}
.mr-round-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.mr-round-heading>div{min-width:0;flex:1}
.mr-round-heading strong{font-size:14px}
.mr-round-heading span{display:block;font-size:13px;color:var(--muted-foreground);overflow-wrap:anywhere;margin-top:4px}
.mr-panel .mr-change{display:inline-flex;align-items:center;gap:7px;background:var(--primary);color:var(--primary-foreground);border-color:var(--primary);padding:8px 12px;font-size:13px;min-height:40px;flex-shrink:0}
.mr-scores{display:flex;gap:12px 24px;flex-wrap:wrap;margin:12px 0}
.mr-scores>div{display:flex;align-items:center;gap:10px;min-width:0;font-size:13px}
.mr-scores span{overflow-wrap:anywhere;color:var(--muted-foreground)}
.mr-scores strong{font-variant-numeric:tabular-nums}
.mr-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;background:var(--muted);border:1px solid var(--border);border-radius:8px;padding:16px;margin:12px 0}
.mr-form label{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1 1 180px;font-size:13px}
.mr-panel .mr-form input,.mr-panel .mr-form select{width:100%;min-width:0;padding:9px;border:1px solid var(--input);border-radius:6px;background:var(--card);color:var(--foreground);font:inherit;min-height:40px}
.mr-form>div{display:flex;gap:8px;flex-wrap:wrap}.mr-form p{width:100%;font-size:12px;color:var(--muted-foreground);margin:0}
.mr-audit{font-size:12px;color:var(--muted-foreground);overflow-wrap:anywhere}.mr-audit summary{cursor:pointer;padding:5px 0}
.mr-match-result{margin-top:14px;font-size:13px}.mr-match-result>summary{display:flex;align-items:center;gap:10px;cursor:pointer;color:var(--primary);min-height:40px;list-style:none}.mr-match-result>summary::-webkit-details-marker{display:none}
@media(max-width:520px){.mr-round-heading{align-items:flex-start;flex-direction:column}.mr-panel .mr-change{min-height:44px}.mr-panel .mr-form input,.mr-panel .mr-form select{font-size:16px}.mr-form{padding:12px}.mr-form label{flex-basis:100%}}

/* Posters preserve the whole official artwork, including portrait text. */
.tp-thumbnail{flex:none;width:144px;padding:0;background:#0b0d10;border:1px solid var(--border);border-radius:9px;overflow:hidden;cursor:zoom-in;color:var(--foreground)}
.tp-thumbnail img{display:block;width:100%;height:210px;object-fit:contain}
.tp-thumbnail>span{display:flex;gap:6px;align-items:center;justify-content:center;padding:8px;background:var(--card);font-size:12px}
.tp-thumbnail:focus-visible,.tp-actions button:focus-visible,.tp-dialog button:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.tp-dialog{margin:auto;padding:0;border:1px solid var(--border);border-radius:14px;background:var(--card);color:var(--foreground);max-width:min(94vw,1000px);max-height:92vh;overflow:auto}
.tp-dialog::backdrop{background:rgb(0 0 0 / .8)}
.tp-dialog header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 18px;background:var(--card);z-index:1}
.tp-dialog h2{font-size:15px;margin:0}.tp-dialog button{border:0;padding:8px;background:transparent;color:inherit;cursor:pointer}.tp-dialog>img{display:block;max-width:100%;height:auto;margin:auto}
.tp-editor{display:flex;align-items:flex-start;gap:24px;padding:22px;margin:22px 0;border:1px solid var(--border);border-radius:12px;background:var(--card)}
.tp-editor-copy{flex:1;min-width:0}.tp-editor h3{font-size:17px;margin:0 0 8px}.tp-editor p{font-size:14px;margin:8px 0;line-height:1.5}.tp-hint{opacity:.7;font-size:12px!important}
.tp-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.tp-actions button{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid var(--border);border-radius:7px;background:transparent;color:var(--foreground);font:inherit;font-size:13px;cursor:pointer}.tp-actions button:disabled{opacity:.45;cursor:not-allowed}.tp-actions .tp-save{background:var(--primary);color:var(--primary-foreground)}
.tp-error{color:#ef8888}.tp-placeholder{display:grid;place-items:center;width:100px;height:130px;border:1px dashed var(--border);border-radius:8px;opacity:.5}.tp-pending{margin:0;width:144px;flex:none}.tp-pending img{display:block;width:100%;height:210px;object-fit:contain;background:#0b0d10;border-radius:8px}.tp-pending figcaption{font-size:11px;margin-top:8px;text-align:center;color:var(--primary)}
@media(max-width:600px){.td-event-main{flex-wrap:wrap}.tp-editor{flex-wrap:wrap}.tp-editor-copy{flex-basis:100%}.tp-thumbnail{width:120px}.tp-thumbnail img{height:180px}}

.tp-upload-dialog{width:min(680px,94vw)}.tp-upload-dialog .tp-editor{margin:0;border:0;border-radius:0}.tp-upload-dialog header button:disabled{opacity:.45;cursor:wait}

.tp-upload-dialog .tp-dropzone{margin:0 18px 18px;border:2px dashed var(--border);border-radius:10px;min-height:190px;align-items:center;transition:border-color .15s,background .15s}.tp-upload-dialog .tp-dragging{border-color:var(--primary);background:var(--muted)}.tp-drop-label{font-weight:600;font-size:16px!important}

/* Destructive actions use a focused confirmation with an explicit keep/delete choice. */
.td-tools .td-delete-button,.td-delete-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #b83a3a;border-radius:7px;background:#a52626;color:#fff;padding:9px 12px;font:inherit;font-size:13px;cursor:pointer}
.td-delete-button:disabled{opacity:.5;cursor:not-allowed}.td-delete-button:hover:not(:disabled){background:#bd3030}.cr-delete-registration{border-top:1px solid var(--border);margin-top:28px;padding-top:20px;display:flex;justify-content:flex-end}
.td-delete-dialog{margin:auto;width:min(520px,calc(100vw - 32px));max-height:90vh;overflow:auto;padding:24px;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--foreground);box-shadow:0 20px 80px #0008;white-space:normal}
.td-delete-dialog::backdrop{background:#000b}.td-delete-dialog h2{margin:0 0 12px;font-size:20px}.td-delete-dialog p{font-size:14px;line-height:1.6;margin:10px 0}.td-delete-name{font-weight:600;overflow-wrap:anywhere}.td-delete-dialog .td-delete-error{color:#ffaaa4}.td-delete-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:24px}
.td-delete-dialog .td-delete-actions button{display:inline-flex;justify-content:center;align-items:center;min-height:42px;padding:9px 12px;border:1px solid var(--border);border-radius:7px;background:transparent;color:var(--foreground);font:inherit;font-size:13px;cursor:pointer}.td-delete-dialog .td-delete-actions .td-delete-button{background:#a52626;color:white;border-color:#b83a3a}.td-delete-dialog button:disabled{opacity:.5;cursor:not-allowed}.td-delete-dialog button:focus-visible,.td-delete-button:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
@media(max-width:520px){.td-delete-dialog{padding:20px}.td-delete-actions{flex-direction:column}.td-delete-actions button{width:100%}}
.td-tools>.lineup-share{margin:0;min-width:0}.td-tools>.lineup-share:has(.lineup-share-panel){flex-basis:100%}.td-tools .lineup-share-panel{margin-bottom:8px}

.td-registration-dialog{width:min(760px,calc(100% - 32px))}
.td-registration-history{margin-top:24px;border-top:1px solid var(--border)}
.td-registration-history>p{margin:6px 0 14px;font-size:12px}
.td-registration-history-scroll{overflow:auto;max-height:360px;border:1px solid var(--border);border-radius:8px}
.td-registration-history table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;min-width:540px;table-layout:fixed}
.td-registration-history th,.td-registration-history td{padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:top;overflow-wrap:anywhere}
.td-registration-history th{position:sticky;top:0;background:var(--card);font-size:12px;color:var(--muted-foreground)}
.td-registration-history th:first-child{width:28%}
.td-registration-history tr:last-child td{border-bottom:0}
@media(max-width:600px){.td-registration-dialog{padding:18px}.td-registration-history-scroll{max-height:300px}}

.td-prize{font-size:13px;line-height:1.5;margin:9px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted-foreground)}
.td-prize strong{color:var(--foreground);font-weight:600}

.td-event-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap}

.recruiting-chat-account{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 14px;margin:12px 0;border:1px solid var(--border);border-radius:10px;background:var(--muted);color:var(--foreground)}.recruiting-chat-account>div{display:flex;flex-direction:column;gap:3px;margin-right:auto}.recruiting-chat-account span,.recruiting-chat-account p{font-size:12px}.recruiting-chat-account p{width:100%;margin:0;color:#a12727}.recruiting-chat-connected{color:light-dark(#18703c,#8ed7ad)}.recruiting-chat-open{display:inline-flex;align-items:center;gap:4px;margin:5px 0;font-size:11px!important;padding:4px 7px!important}.recruiting-chat-dialog{position:fixed;inset:0 0 0 auto;margin:0;border:0;border-left:1px solid var(--border);width:min(450px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;padding:0;background:var(--card);color:var(--foreground);box-shadow:-10px 0 35px #0002}.recruiting-chat-dialog[open]{display:flex;flex-direction:column}.recruiting-chat-dialog::backdrop{background:#10182855}.recruiting-chat-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:20px 18px 12px}.recruiting-chat-dialog h2{font-size:17px;margin:0;overflow-wrap:anywhere}.recruiting-chat-dialog header p{font-size:12px;margin:5px 0 0;color:var(--muted-foreground)}.recruiting-chat-dialog button{cursor:pointer;border:1px solid var(--border);border-radius:6px;padding:7px 11px;background:var(--card);color:var(--foreground)}.recruiting-chat-dialog button:disabled{cursor:default;opacity:.5}.recruiting-chat-dialog button:focus-visible,.recruiting-chat-dialog textarea:focus-visible,.recruiting-chat-dialog a:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.recruiting-chat-room{display:flex;justify-content:space-between;gap:10px;padding:10px 18px;border-bottom:1px solid var(--border);font-size:12px}.recruiting-chat-room a{color:var(--primary)}.recruiting-chat-reason{font-size:12px;background:var(--accent);padding:10px 18px;margin:0}.recruiting-chat-messages{flex:1;overflow-y:auto;padding:12px 18px;min-height:60px;overscroll-behavior:contain}.recruiting-chat-messages p{font-size:13px;line-height:1.5;margin:0 0 10px;overflow-wrap:anywhere}.recruiting-chat-messages strong{color:var(--primary)}.recruiting-chat-empty{color:var(--muted-foreground)}.recruiting-chat-dialog form{padding:14px 18px max(18px,env(safe-area-inset-bottom));border-top:1px solid var(--border)}.recruiting-chat-dialog label{display:block;font-size:12px;font-weight:600;margin-bottom:7px}.recruiting-chat-dialog textarea{display:block;box-sizing:border-box;width:100%;resize:vertical;max-height:180px;border:1px solid var(--border);border-radius:7px;padding:10px;font:inherit;font-size:14px;color:var(--foreground);background:var(--background)}.recruiting-chat-compose-actions{display:flex;align-items:center;justify-content:space-between;margin-top:8px;font-size:12px;color:var(--muted-foreground)}.recruiting-chat-compose-actions button{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary);min-width:75px}.recruiting-chat-dialog form p{font-size:11px;color:var(--muted-foreground);margin:8px 0 0}@media(max-width:600px){.recruiting-chat-dialog{width:100vw;border:0}.recruiting-chat-account>div{width:100%}.recruiting-chat-dialog textarea{font-size:16px}}

.recruiting-contact-value{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;font-size:11px;line-height:1.5}.recruiting-contact-value time{white-space:nowrap}.recruiting-contact-empty{color:var(--muted-foreground)}.recruiting-page .recruiting-contact-record{min-height:28px;padding:3px 7px;border:1px solid var(--border);border-radius:5px;background:var(--card);color:var(--foreground);font-size:11px;white-space:nowrap}.recruiting-mobile-contact{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px 8px 46px;font-size:10px;color:var(--muted-foreground)}.recruiting-mobile-contact>span:first-child{flex:none}.recruiting-mobile-contact .recruiting-contact-value{justify-content:flex-end;color:var(--foreground);font-size:10px}.recruiting-contact-dialog{position:fixed;inset:0;margin:auto;padding:22px;width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--foreground);box-shadow:0 20px 80px #0006}.recruiting-contact-dialog::backdrop{background:#0008}.recruiting-contact-dialog h2{margin:0;font-size:19px;line-height:1.4}.recruiting-contact-dialog p{font-size:12px;line-height:1.6;color:var(--muted-foreground);margin:12px 0}.recruiting-contact-dialog .recruiting-contact-username{margin:4px 0 16px;color:var(--foreground);overflow-wrap:anywhere}.recruiting-contact-dialog label{display:block;font-size:12px;font-weight:500;margin:18px 0 7px}.recruiting-contact-dialog input{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:9px 10px;min-height:38px;font:inherit;font-size:14px;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--foreground)}.recruiting-contact-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.recruiting-contact-actions button{min-height:34px;padding:6px 10px;font-size:12px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground)}.recruiting-contact-actions button[type=submit]{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.recruiting-contact-dialog :is(button,input):focus-visible,.recruiting-contact-record:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.recruiting-contact-dialog button:disabled,.recruiting-contact-record:disabled{opacity:.5;cursor:default}.recruiting-contact-dialog .recruiting-error{color:var(--destructive)}
@media(max-width:760px){.recruiting-page .recruiting-contact-record{min-height:32px}.recruiting-contact-value time{white-space:normal;text-align:right}.recruiting-contact-dialog{padding:18px}.recruiting-contact-dialog input{font-size:16px}.recruiting-contact-actions button{min-height:40px}}

.outreach-page{font-size:12px;line-height:1.5;min-width:0}.outreach-back{display:inline-flex;align-items:center;gap:5px;color:var(--muted-foreground);text-decoration:none;margin-bottom:15px}.outreach-heading,.outreach-record-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.outreach-heading h2{font-size:20px;margin:0}.outreach-heading p,.outreach-record-heading p{margin:4px 0 0;color:var(--muted-foreground)}.outreach-page button{display:inline-flex;align-items:center;justify-content:center;gap:6px;font:inherit;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);padding:6px 10px;min-height:32px;cursor:pointer}.outreach-page button:disabled{opacity:.5;cursor:default}.outreach-page button:hover:not(:disabled){background:var(--muted)}.outreach-page button:focus-visible,.outreach-page input:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.outreach-actions{display:flex;flex-wrap:wrap;gap:6px}.outreach-preflight{background:var(--card);border-left:3px solid var(--primary);padding:10px 12px;color:var(--muted-foreground);margin:18px 0}.outreach-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.outreach-tabs{display:flex;gap:6px}.outreach-tabs button{gap:12px}.outreach-tabs button[aria-pressed=true]{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,var(--card))}.outreach-tabs strong{font-weight:600}.outreach-search{flex:1;min-width:170px}.outreach-search input{width:100%;box-sizing:border-box;border:1px solid var(--border);background:var(--background);color:var(--foreground);border-radius:6px;min-height:32px;padding:6px 10px;font:inherit}.outreach-list-heading{display:flex;align-items:center;gap:12px;margin-bottom:10px}.outreach-page h3{font-size:14px;margin:0}.outreach-list-heading>span{color:var(--muted-foreground)}.outreach-list-heading>button{margin-left:auto}.outreach-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:8px}.outreach-page table{border-collapse:collapse;width:100%;font-size:12px;min-width:610px}.outreach-page th{text-align:left;font-size:11px;font-weight:500;color:var(--muted-foreground);background:var(--card)}.outreach-page th,.outreach-page td{padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:top}.outreach-page tr:last-child td{border-bottom:0}.outreach-page td strong{font-weight:500}.outreach-page td small{display:block;color:var(--muted-foreground);font-size:10px;margin-top:3px;overflow-wrap:anywhere}.outreach-status{display:inline-block;font-size:10px;padding:2px 6px;background:var(--muted);border-radius:4px;white-space:nowrap}.outreach-status.premium{color:#cab5fc;background:#42325f55}.outreach-ready{display:inline-flex;align-items:center;gap:5px;color:#75bb97}.outreach-hold-reason{display:block;color:var(--muted-foreground);max-width:400px;white-space:normal}.outreach-empty{padding:22px 12px;text-align:center;color:var(--muted-foreground);margin:0}.outreach-footnote{font-size:11px;color:var(--muted-foreground);margin:10px 0 0}.outreach-record{border-top:1px solid var(--border);padding-top:22px;margin-top:24px}.outreach-record-heading{margin-bottom:14px}.outreach-batch-meta{display:flex;flex-wrap:wrap;gap:12px;color:var(--muted-foreground);font-size:11px}.outreach-batch-meta strong{font-weight:500;color:var(--foreground)}.outreach-message{margin:10px 0 14px;border:1px solid var(--border);padding:10px 12px;border-radius:6px;color:var(--muted-foreground)}.outreach-message summary{cursor:pointer}.outreach-message blockquote{white-space:pre-wrap;margin:12px 0;color:var(--foreground)}.outreach-page .outreach-primary{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.outreach-error,.outreach-notice{padding:10px 12px;border-radius:6px;background:var(--card)}.outreach-error{color:#f3aaaa;border:1px solid #913d3d66}.outreach-notice{color:#86c7a4;border:1px solid #427d5666}.outreach-receipt{margin-top:15px;background:var(--card);border:1px solid #427d5666;padding:12px;border-radius:8px}.outreach-receipt>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.outreach-receipt strong{display:flex;align-items:center;gap:6px;color:#86c7a4;font-weight:500}.outreach-receipt small{display:block;color:var(--muted-foreground);margin-top:5px}.outreach-receipt ul{padding-left:18px;margin-bottom:0}.outreach-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:650px){.outreach-heading,.outreach-record-heading{flex-direction:column;gap:12px}.outreach-heading h2{font-size:18px}.outreach-toolbar>.outreach-actions{width:100%}.outreach-list-heading{flex-wrap:wrap;gap:8px}.outreach-list-heading>button{margin-left:0}.outreach-page td,.outreach-page th{padding:9px}.outreach-receipt>div{align-items:flex-start;flex-direction:column}}

.outreach-page input[hidden]{display:none!important}

.recruiting-rules-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(900px,calc(100vw - 32px));max-width:none;height:min(820px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--foreground);box-shadow:0 24px 90px #0008;overflow:hidden;font-size:12px;line-height:1.6}.recruiting-rules-dialog[open]{display:flex;flex-direction:column}.recruiting-rules-dialog::backdrop{background:#0009}.recruiting-rules-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 22px 14px;flex:none}.recruiting-rules-header h2{margin:0;font-size:19px;line-height:1.4;letter-spacing:-.25px}.recruiting-rules-header p{margin:4px 0 0;color:var(--muted-foreground)}.recruiting-rules-dialog button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:5px 10px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);font-size:12px;line-height:1.4;cursor:pointer}.recruiting-rules-dialog button:hover{background:var(--muted)}.recruiting-rules-dialog button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.recruiting-rules-dialog .recruiting-rules-close{flex:none;padding:6px;min-width:32px}.recruiting-rules-switch{display:flex;gap:6px;padding:0 22px 14px;border-bottom:1px solid var(--border);flex:none}.recruiting-rules-switch button[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}.recruiting-rules-content{overflow:auto;overscroll-behavior:contain;padding:18px 22px 22px;min-height:0}.recruiting-rules-content h3{font-size:15px;line-height:1.5;margin:0 0 6px}.recruiting-rules-intro{margin:0 0 16px;color:var(--muted-foreground)}.recruiting-rules-intro strong{color:var(--foreground);font-weight:500}.recruiting-rules-questions{display:grid;grid-template-columns:1.35fr 1fr;gap:10px;margin-bottom:18px}.recruiting-rules-questions>div,.recruiting-rules-message{background:var(--background);border:1px solid var(--border);border-radius:8px;padding:12px 14px}.recruiting-rules-content h4{font-size:12px;margin:0 0 6px;color:var(--primary);font-weight:600}.recruiting-rules-content blockquote{margin:0;white-space:pre-wrap;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.recruiting-rules-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.recruiting-rules-table caption{text-align:left;position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.recruiting-rules-table th,.recruiting-rules-table td{text-align:left;vertical-align:top;padding:11px 12px;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.recruiting-rules-table thead th{font-size:11px;color:var(--muted-foreground);font-weight:500;background:var(--background)}.recruiting-rules-table th:first-child{width:38%}.recruiting-rules-table tbody th{font-weight:500}.recruiting-rules-table tbody th span{display:block;font-weight:400;font-size:11px;color:var(--muted-foreground);margin-top:4px}.recruiting-rules-note{font-size:11px;color:var(--muted-foreground);margin:14px 0 0}.recruiting-rules-message{margin-top:18px}@media(max-width:600px){.recruiting-rules-dialog{width:calc(100vw - 16px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);border-radius:10px}.recruiting-rules-header{padding:16px 14px 12px}.recruiting-rules-header h2{font-size:17px}.recruiting-rules-switch{padding:0 14px 12px}.recruiting-rules-content{padding:14px}.recruiting-rules-questions{grid-template-columns:1fr}.recruiting-rules-table th,.recruiting-rules-table td{padding:10px 7px}.recruiting-rules-table th:first-child{width:40%}.recruiting-rules-dialog button{min-height:36px}}
.recruiting-page .recruiting-rules-table{min-width:0}.recruiting-page .recruiting-rules-table th,.recruiting-page .recruiting-rules-table td{white-space:normal;position:static}.recruiting-page .recruiting-rules-table th span{white-space:normal}.recruiting-page .recruiting-rules-intro{margin:0 0 16px}.recruiting-page .recruiting-rules-note{margin:14px 0 0}

.contact-history{min-width:0;font-size:12px}.contact-history button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:4px 8px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);font-size:12px;line-height:1.4}.contact-history button:hover:not(:disabled){background:var(--muted)}.contact-history button:disabled{opacity:.55;cursor:default}.contact-history :is(button,input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),a:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),summary):focus-visible{outline:2px solid var(--primary);outline-offset:3px}.contact-history-back{display:inline-flex;align-items:center;gap:5px;margin-bottom:14px;color:var(--muted-foreground);font-size:12px;text-decoration:none}.contact-history-back:hover{color:var(--foreground)}.contact-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}.contact-history-heading h2{margin:0;font-size:19px;line-height:1.4;letter-spacing:-.3px}.contact-history-heading p{margin:4px 0 0;color:var(--muted-foreground);font-size:12px}.contact-history-actions{display:flex;flex-wrap:wrap;gap:6px}.contact-history-file{display:none!important}.contact-history-search{padding:12px;margin-bottom:16px;background:var(--card);border:1px solid var(--border);border-radius:8px}.contact-history-search label{display:block;margin-bottom:7px;font-size:12px;font-weight:500}.contact-history-search>div{display:flex;gap:6px;flex-wrap:wrap}.contact-history-search input{width:280px;max-width:100%;min-width:0;min-height:32px;margin:0;padding:5px 9px;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--foreground);font-size:13px}.contact-history-search p{margin:8px 0 0;color:var(--muted-foreground);font-size:11px;overflow-wrap:anywhere}.contact-history-runs{display:grid;gap:12px}.contact-history-run{min-width:0;border:1px solid var(--border);border-radius:9px;background:var(--card);overflow:hidden}.contact-history-run-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px 9px}.contact-history .contact-history-run-toggle{min-width:0;min-height:34px;justify-content:flex-start;align-items:flex-start;gap:7px;padding:0;border:0;background:transparent;text-align:left}.contact-history-run-toggle>svg{flex:none;margin-top:2px;color:var(--muted-foreground)}.contact-history-run-toggle span{display:grid;gap:3px;min-width:0}.contact-history-run-toggle strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.contact-history-run-toggle time{font-size:11px;color:var(--muted-foreground);font-weight:400}.contact-history-run-status,.contact-history-outcome,.contact-history-recorded{display:inline-flex;align-items:center;white-space:nowrap;padding:2px 6px;border-radius:4px;font-size:10px;line-height:1.4;background:var(--muted);color:var(--muted-foreground)}.contact-history-run-status.completed,.contact-history-outcome.sent{background:light-dark(#eaf6ee,#20372c);color:light-dark(#217047,#8ed7ad)}.contact-history-run-status.partial,.contact-history-outcome.uncertain{background:light-dark(#fff4d8,#40351e);color:light-dark(#785600,#e7c576)}.contact-history-run-status.blocked,.contact-history-outcome.failed{background:light-dark(#fceeee,#402727);color:light-dark(#a72a2a,#f4a3a3)}.contact-history-metrics{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;margin:0;padding:0 12px 12px}.contact-history-metric{padding:6px 8px;border-radius:5px;background:var(--background);min-width:0}.contact-history-metric-label{font-size:10px;color:var(--muted-foreground);line-height:1.3}.contact-history-metric-count{margin:3px 0 0;font-size:17px;font-weight:500;line-height:1.3;font-variant-numeric:tabular-nums}.contact-history-metric.sent .contact-history-metric-count{color:light-dark(#217047,#8ed7ad)}.contact-history-matches{font-size:11px;color:var(--muted-foreground);margin:0;padding:0 12px 12px;overflow-wrap:anywhere}.contact-history-detail{border-top:1px solid var(--border)}.contact-history-detail[hidden]{display:none}.contact-history-run-meta{display:flex;flex-wrap:wrap;gap:5px 16px;padding:11px 12px;font-size:10px;color:var(--muted-foreground);overflow-wrap:anywhere}.contact-history-message{margin:0 12px 12px;padding:8px 10px;background:var(--background);border-radius:5px}.contact-history-message summary{cursor:pointer;font-size:11px;color:var(--muted-foreground)}.contact-history-message p{font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0 0}.contact-history-entry-filter{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border-top:1px solid var(--border);font-size:11px;color:var(--muted-foreground)}.contact-history-entries{max-height:640px;overflow:auto;overscroll-behavior:contain}.contact-history-entry{padding:12px;border-top:1px solid var(--border)}.contact-history-entry-heading{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.contact-history-entry-heading strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.contact-history-recorded{color:var(--muted-foreground);background:transparent;padding-left:0}.contact-history-entry-facts{display:grid;grid-template-columns:100px minmax(0,1fr) minmax(0,1fr) 95px;gap:6px 14px;margin:10px 0 0}.contact-history-entry-facts dt{font-size:10px;color:var(--muted-foreground);margin-bottom:3px}.contact-history-entry-facts dd{margin:0;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.contact-history-entry-note{margin:8px 0 0;font-size:11px;line-height:1.6;color:var(--muted-foreground);white-space:pre-wrap;overflow-wrap:anywhere}.contact-history-replies{margin-top:10px;padding:10px;background:var(--background);border-left:2px solid var(--primary);border-radius:0 5px 5px 0}.contact-history-replies h3{display:flex;align-items:center;gap:5px;font-size:11px;margin:0 0 7px;font-weight:500}.contact-history-replies blockquote{margin:8px 0 0;padding:0}.contact-history-replies p{margin:0;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.contact-history-replies time{display:block;margin-top:3px;font-size:10px;color:var(--muted-foreground)}.contact-history-empty{padding:24px 12px;text-align:center;font-size:12px;color:var(--muted-foreground);line-height:1.6}.contact-history-error{margin:10px 0;padding:10px 12px;border:1px solid var(--destructive);border-radius:6px;color:var(--destructive);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.contact-history-error button{margin-left:6px}.contact-history-detail .contact-history-error{margin:10px 12px}.contact-history-notice{margin:10px 0;padding:10px 12px;border:1px solid var(--border);border-radius:6px;color:var(--primary);font-size:12px;line-height:1.6}.contact-history-footer{display:flex;justify-content:center;padding:16px 0}
@media(max-width:760px){.contact-history-heading h2{font-size:17px}.contact-history-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.contact-history-entry-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-history-search input{flex:1;width:auto;min-width:130px}.contact-history-entry-filter{flex-wrap:wrap}.contact-history-run-heading{align-items:flex-start}.contact-history-run-status{margin-top:3px}.contact-history-metric-count{font-size:16px}.contact-history-entries{max-height:65vh}}
@media(pointer:coarse){.contact-history button{min-height:36px}.contact-history-search input{min-height:36px;font-size:16px}.contact-history-message summary{min-height:28px;display:flex;align-items:center}}

.contact-history-run-toggle .contact-history-run-date{display:block;font-size:11px;color:var(--muted-foreground);font-weight:400}.contact-history-run-date>span{display:inline}

.contact-history button.contact-history-metric{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;min-width:0;padding:6px 8px;text-align:left;background:var(--background);border:1px solid transparent;border-radius:5px;cursor:pointer}.contact-history button.contact-history-metric:hover{border-color:var(--border);background:var(--muted)}.contact-history button.contact-history-metric[aria-pressed="true"]{border-color:var(--primary);background:var(--accent);box-shadow:inset 0 0 0 1px var(--primary)}.contact-history button.contact-history-metric[aria-pressed="true"] .contact-history-metric-label{color:var(--foreground)}.contact-history-entry-filter>div{display:flex;flex-wrap:wrap;gap:6px}

.recruiting-controls{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:0 16px 12px}.recruiting-controls label{display:flex;flex-direction:column;gap:5px;font-size:11px;min-width:0}.recruiting-controls .recruiting-search{flex:1 1 180px;max-width:300px}.recruiting-controls input,.recruiting-controls select{box-sizing:border-box;width:100%;margin:0;min-height:32px;padding:5px 8px;font-size:12px;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--foreground)}.recruiting-page .recruiting-controls button{min-height:32px;padding:5px 9px;font-size:12px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);white-space:nowrap}.recruiting-page .recruiting-controls button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.recruiting-page .recruiting-controls .recruiting-uncontacted-filter{background:light-dark(#fff8e9,#3b3425);color:light-dark(#604714,#fff4d6);border-color:light-dark(#987732,#b89a55);font-weight:600}
.recruiting-page .recruiting-controls .recruiting-uncontacted-filter:hover:not(:disabled){background:light-dark(#f1e2c0,#51442b);color:light-dark(#604714,#fff4d6)}
.recruiting-page .recruiting-controls .recruiting-uncontacted-filter[aria-pressed=true]{background:light-dark(#80601e,#e8c56b);color:light-dark(#fff,#231b0d);border-color:light-dark(#604714,#f6df9b)}
.recruiting-page .recruiting-controls .recruiting-uncontacted-filter[aria-pressed=true]:hover:not(:disabled){background:light-dark(#695018,#f2d587);color:light-dark(#fff,#231b0d)}
.recruiting-uncontacted-filter svg{flex:none}.recruiting-controls :is(input,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),button):focus-visible{outline:2px solid var(--primary);outline-offset:2px}.recruiting-filter-help{margin:0;padding:0 16px 12px;font-size:11px;color:var(--muted-foreground)}
@media(max-width:760px){.recruiting-controls{padding:0 10px 10px;gap:8px}.recruiting-controls .recruiting-search{flex-basis:100%;max-width:none}.recruiting-controls label{flex:1 1 190px}.recruiting-controls input,.recruiting-controls select{min-height:36px;font-size:16px}.recruiting-page .recruiting-controls button{min-height:36px}.recruiting-filter-help{padding:0 10px 10px}}

.recruiting-page .recruiting-delete{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:28px;width:28px;padding:0;border:1px solid var(--input);border-radius:5px;background:var(--card);color:light-dark(#a32929,#ffb3b3)}.recruiting-page .recruiting-delete:hover:not(:disabled){background:light-dark(#fff0ef,#49282d);color:light-dark(#8d2020,#ffd0d0);border-color:currentColor}.recruiting-delete-cell{width:40px;text-align:right}.recruiting-delete-dialog .recruiting-delete-name{color:var(--foreground);font-weight:600;overflow-wrap:anywhere}.recruiting-delete-dialog .recruiting-delete-confirm{background:light-dark(#a32929,#f29b9b);color:light-dark(#fff,#2c1010);border-color:transparent}.recruiting-delete-dialog .recruiting-delete-confirm:hover:not(:disabled){background:light-dark(#8d2020,#ffb3b3);color:light-dark(#fff,#2c1010)}.recruiting-page .recruiting-delete:focus-visible{outline:2px solid var(--ring);outline-offset:3px}@media(pointer:coarse){.recruiting-page .recruiting-delete{min-height:36px;width:36px}}

.recruiting-created{font-size:11px;white-space:nowrap;color:var(--foreground)}

.recruiting-list:has(.recruiting-checkbox-filter[open]){overflow:visible}
.recruiting-checkbox-filter{position:relative;min-width:120px;max-width:220px;font-size:12px}.recruiting-checkbox-filter summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;min-height:32px;box-sizing:border-box;padding:5px 9px;border:1px solid var(--border);border-radius:6px;color:var(--foreground);background:var(--card)}.recruiting-checkbox-filter summary::-webkit-details-marker{display:none}.recruiting-checkbox-filter summary:after{content:'▾';margin-left:auto}.recruiting-checkbox-filter summary span{color:var(--muted-foreground);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:140px}.recruiting-checkbox-filter[open] summary{border-color:var(--primary)}.recruiting-filter-panel{position:absolute;left:0;top:100%;z-index:20;min-width:170px;max-height:250px;overflow:auto;margin:4px 0 0;padding:8px;border:1px solid var(--border);border-radius:8px;background:var(--popover);color:var(--popover-foreground);box-shadow:0 8px 24px #0004}.recruiting-filter-panel legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.recruiting-controls .recruiting-filter-panel label{display:flex;flex-direction:row;align-items:center;gap:8px;padding:7px 5px;font-size:12px;cursor:pointer}.recruiting-controls .recruiting-filter-panel input{appearance:auto;width:16px;height:16px;min-height:0;accent-color:var(--primary);padding:0;margin:0}.recruiting-controls .recruiting-filter-panel button{width:100%;font-size:11px;min-height:28px}.recruiting-checkbox-filter summary:focus-visible,.recruiting-page th button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.recruiting-page th button{display:inline-flex;align-items:center;gap:5px}.recruiting-page th button svg{flex:none}.recruiting-mobile-sort{display:none}
@media(max-width:760px){.recruiting-checkbox-filter{flex:1 1 130px;max-width:none}.recruiting-checkbox-filter summary{min-height:36px}.recruiting-checkbox-filter summary span{max-width:95px}.recruiting-filter-panel{min-width:145px}.recruiting-controls .recruiting-filter-panel label{flex:none;min-height:30px}.recruiting-mobile-sort{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:8px 10px;border-top:1px solid var(--border);font-size:11px;color:var(--muted-foreground)}.recruiting-mobile-sort button{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:4px 7px;font-size:11px;background:var(--card);color:var(--muted-foreground);border:1px solid var(--border)}.recruiting-mobile-sort button.is-sorted{background:var(--accent);color:var(--accent-foreground);border-color:var(--primary)}}

.recruiting-account-id{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:var(--muted-foreground,#98a2b3);font-size:11px;margin-top:4px;overflow-wrap:anywhere}.recruiting-account-id button{font:inherit;padding:1px 5px;border:1px solid var(--border,#344054);border-radius:4px;background:transparent;color:inherit;cursor:pointer}

.recruit-im-report{--pi-bg:#111519;--pi-panel:#1b2026;--pi-line:#303941;--pi-muted:#a4afb8;--pi-text:#edf1f4;--pi-green:#93d7aa;--pi-amber:#e8c183;--pi-blue:#93c5f0;max-width:1480px;margin:0;padding:0;background:var(--pi-bg);color:var(--pi-text);font:13px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}.recruit-im-report *{box-sizing:border-box}.recruit-im-report :is(h1,h2:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),p){margin:0}.recruit-im-report :is(button,input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select){font:inherit;color:inherit}.recruit-im-report button{cursor:pointer;border:1px solid var(--pi-line);border-radius:7px;background:#1b2127;padding:7px 11px;display:inline-flex;align-items:center;justify-content:center;gap:6px}.recruit-im-report button:hover:not(:disabled){background:#28323b}.recruit-im-report button:disabled{opacity:.55;cursor:default}.recruit-im-report :is(button,input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),a):focus-visible{outline:2px solid #a1cdf1;outline-offset:3px}.recruit-im-report :is(input,select){border:1px solid var(--pi-line);border-radius:7px;background:#141a20;padding:7px 10px;min-height:34px}.recruit-im-report .ripi-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.recruit-im-report .ripi-eyebrow{font-size:9px;letter-spacing:1.8px;color:var(--pi-green)}.recruit-im-report .ripi-page-title{font-size:27px;letter-spacing:-.6px;line-height:1.3;margin:4px 0}.recruit-im-report .ripi-heading p{color:var(--pi-muted);font-size:12px}.recruit-im-report .ripi-actions{display:flex;gap:7px;flex-wrap:wrap}.recruit-im-report .ripi-actions button{font-size:12px}.recruit-im-report .ripi-preview-banner{display:flex;gap:8px 13px;align-items:baseline;flex-wrap:wrap;padding:8px 11px;border:1px solid #414c57;border-radius:7px;background:#1b242c;margin:15px 0;font-size:11px;color:var(--pi-muted)}.recruit-im-report .ripi-preview-banner strong{color:#c4d9e9;font-weight:600;white-space:nowrap}.recruit-im-report .ripi-error,.recruit-im-report .ripi-notice{font-size:12px;padding:9px 11px;margin:10px 0;border:1px solid var(--pi-line);border-radius:7px;color:var(--pi-green)}.recruit-im-report .ripi-error{color:var(--pi-amber);border-color:#665238}.recruit-im-report .ripi-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.recruit-im-report .ripi-scope{display:flex;gap:3px;padding:3px;background:#1b2229;border:1px solid var(--pi-line);border-radius:8px}.recruit-im-report .ripi-scope button{border:0;background:transparent;padding:5px 10px;font-size:12px;min-height:28px}.recruit-im-report .ripi-scope button[aria-pressed=true]{background:#34404c;color:white}.recruit-im-report .ripi-scope span{font-size:10px;color:var(--pi-muted)}.recruit-im-report .ripi-toolbar>input{flex:1;min-width:190px;max-width:410px}.recruit-im-report .ripi-toolbar label{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--pi-muted);margin-left:auto}.recruit-im-report .ripi-toolbar select{min-width:150px;max-width:220px;color:var(--pi-text)}.recruit-im-report .ripi-legend{display:flex;align-items:center;gap:8px 17px;flex-wrap:wrap;margin-bottom:10px;font-size:10px;color:var(--pi-muted)}.recruit-im-report .ripi-legend>span{display:inline-flex;align-items:center;gap:6px}.recruit-im-report .ripi-legend>span:before{content:'';width:6px;height:6px;border-radius:50%;background:#788590}.recruit-im-report .ripi-legend>span.contact:before{background:var(--pi-green)}.recruit-im-report .ripi-legend>span.call:before{background:var(--pi-amber)}.recruit-im-report .ripi-legend>span.reply:before{background:var(--pi-blue)}.recruit-im-report .ripi-legend small{margin-left:auto;font-size:10px}.recruit-im-report .ripi-workspace{display:grid;grid-template-columns:320px minmax(0,1fr);height:calc(100vh - 340px);min-height:580px;max-height:1050px;border:1px solid var(--pi-line);border-radius:12px;overflow:hidden;background:var(--pi-panel)}.recruit-im-report .ripi-list{overflow:auto;padding:5px;border-right:1px solid var(--pi-line);background:#171d23;scrollbar-width:thin}.recruit-im-report .ripi-thread{display:block;width:100%;border:0;border-left:3px solid transparent;border-bottom:1px solid #ffffff08;background:transparent;padding:11px 11px 10px;margin-bottom:2px;text-align:left;border-radius:7px}.recruit-im-report .ripi-thread.contact{border-left-color:#69af81}.recruit-im-report .ripi-thread.call{border-left-color:#bd985d}.recruit-im-report .ripi-thread.reply{border-left-color:#689bc6}.recruit-im-report .ripi-thread[aria-current=true]{background:#2a3845}.recruit-im-report .ripi-thread-top{display:flex;justify-content:space-between;align-items:baseline;gap:9px}.recruit-im-report .ripi-thread-top strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.recruit-im-report .ripi-thread-top time{font-size:9px;color:var(--pi-muted);white-space:nowrap}.recruit-im-report .ripi-status{display:inline-block;font-size:10px;color:var(--pi-muted);line-height:1.5;margin-top:5px}.recruit-im-report .ripi-status.contact{color:var(--pi-green)}.recruit-im-report .ripi-status.call{color:var(--pi-amber)}.recruit-im-report .ripi-status.reply{color:var(--pi-blue)}.recruit-im-report .ripi-status.hold{color:#d5b2b8}.recruit-im-report .ripi-last-message{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;color:var(--pi-muted);font-size:11px;line-height:1.5;margin-top:4px}.recruit-im-report .ripi-assignee{display:block;font-size:9px;color:#8798a7;margin-top:6px}.recruit-im-report .ripi-detail{display:flex;min-width:0;min-height:0;flex-direction:column;background:#11171c}.recruit-im-report .ripi-detail-header{flex:none;padding:17px 20px 13px;border-bottom:1px solid var(--pi-line);background:var(--pi-panel)}.recruit-im-report .ripi-detail-title{display:flex;align-items:start;justify-content:space-between;gap:15px}.recruit-im-report .ripi-name{display:flex;gap:8px;align-items:center}.recruit-im-report h2{font-size:19px;letter-spacing:-.3px;overflow-wrap:anywhere}.recruit-im-report .ripi-tiktok{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid var(--pi-line);border-radius:5px;color:var(--pi-text);flex:none}.recruit-im-report .ripi-tiktok:hover{background:#303b44}.recruit-im-report .ripi-tiktok svg{width:13px;height:13px}.recruit-im-report .ripi-identity{font-size:10px;color:var(--pi-muted);overflow-wrap:anywhere;margin-top:4px}.recruit-im-report .ripi-assignment{display:flex;flex-direction:column;gap:4px;font-size:10px;color:var(--pi-muted);min-width:185px}.recruit-im-report .ripi-assignment select{font-size:12px;color:var(--pi-text);max-width:260px}.recruit-im-report .ripi-next-step{margin-top:10px}.recruit-im-report .ripi-next-step .ripi-status{font-size:11px;margin-top:0;font-weight:600}.recruit-im-report .ripi-next-step p{margin-top:3px;font-size:11px;color:var(--pi-muted)}.recruit-im-report .ripi-contacts{display:flex;gap:7px 20px;flex-wrap:wrap;margin-top:10px;padding:9px 11px;background:#1e332a;border:1px solid #355442;border-radius:7px;overflow-wrap:anywhere}.recruit-im-report .ripi-contacts>span{min-width:0}.recruit-im-report .ripi-contacts small{font-size:10px;color:#afcdb9;margin-right:7px}.recruit-im-report .ripi-contacts strong{font-size:12px}.recruit-im-report .ripi-assignment-help{font-size:9px;color:#929fa9;margin-top:9px}.recruit-im-report .ripi-messages{flex:1;min-height:0;overflow:auto;padding:18px 26px 25px;scrollbar-width:thin;overscroll-behavior:contain}.recruit-im-report .ripi-transcript-note{text-align:center;font-size:10px;color:var(--pi-muted);margin-bottom:20px}.recruit-im-report .ripi-message{display:flex;align-items:flex-start;flex-direction:column;margin:16px 0;break-inside:avoid}.recruit-im-report .ripi-message.outgoing{align-items:flex-end}.recruit-im-report .ripi-message-time{font-size:9px;color:var(--pi-muted);margin:0 5px 4px}.recruit-im-report .ripi-message p{max-width:82%;padding:11px 14px;border-radius:16px 16px 16px 4px;background:#30383f;color:var(--pi-text);white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.recruit-im-report .ripi-message.outgoing p{background:#087cf1;color:white;border-radius:16px 16px 4px 16px}.recruit-im-report .ripi-message small{font-size:9px;color:var(--pi-muted);margin:3px 5px 0}.recruit-im-report .ripi-thread-footer{border-top:1px solid var(--pi-line);font-size:9px;color:var(--pi-muted);padding:8px 20px}.recruit-im-report .ripi-empty{padding:30px 20px;color:var(--pi-muted);text-align:center;margin:auto;font-size:12px;line-height:1.7}.recruit-im-report .ripi-empty strong{font-size:17px;color:var(--pi-text);display:block;margin-bottom:5px}.recruit-im-report .ripi-footer{font-size:10px;color:var(--pi-muted);margin-top:12px;line-height:1.6}.recruit-im-report .ripi-back{display:none}.recruit-im-print{display:none}
@media(max-width:1050px){.recruit-im-report{padding:0}.recruit-im-report .ripi-workspace{grid-template-columns:285px minmax(0,1fr)}.recruit-im-report .ripi-thread-top{display:block}.recruit-im-report .ripi-thread-top time{display:block;margin-top:2px}.recruit-im-report .ripi-detail-title{flex-wrap:wrap}.recruit-im-report .ripi-assignment{width:100%;flex-direction:row;align-items:center;justify-content:space-between}.recruit-im-report .ripi-assignment select{min-width:185px}.recruit-im-report .ripi-message p{max-width:94%}.recruit-im-report .ripi-messages{padding:18px}.recruit-im-report .ripi-legend small{width:100%;margin-left:0}.recruit-im-report .ripi-toolbar label{margin-left:0}.recruit-im-report .ripi-workspace{height:670px}}
@media(max-width:650px){.recruit-im-report{padding:0}.recruit-im-report .ripi-heading{display:block}.recruit-im-report .ripi-page-title{font-size:24px}.recruit-im-report .ripi-actions{margin-top:12px}.recruit-im-report .ripi-preview-banner{margin:12px 0}.recruit-im-report .ripi-toolbar{gap:8px}.recruit-im-report .ripi-toolbar>input{order:3;max-width:none;width:100%;flex-basis:100%}.recruit-im-report .ripi-toolbar label{margin-left:auto}.recruit-im-report .ripi-toolbar select{min-width:0;max-width:155px}.recruit-im-report .ripi-workspace{grid-template-columns:1fr;height:720px}.recruit-im-report .ripi-list{border-right:0}.recruit-im-report .ripi-detail{display:none}.recruit-im-report .ripi-detail-open .ripi-list{display:none}.recruit-im-report .ripi-detail-open .ripi-detail{display:flex}.recruit-im-report .ripi-back{display:inline-flex;font-size:11px;margin-bottom:10px;padding:4px 7px}.recruit-im-report .ripi-detail-header{padding:13px}.recruit-im-report .ripi-thread-top{display:flex}.recruit-im-report .ripi-thread-top time{display:inline}.recruit-im-report .ripi-legend{gap:7px 12px}.recruit-im-report .ripi-message p{max-width:95%}.recruit-im-report .ripi-messages{padding:15px}.recruit-im-report .ripi-thread-footer{padding:8px 13px}}
@media(pointer:coarse){.recruit-im-report :is(input,select){font-size:16px!important;min-height:38px}.recruit-im-report button{min-height:36px}}
@media print{@page{size:letter portrait;margin:15mm}body.recruit-im-printing>:not(.recruit-im-print){display:none!important}body.recruit-im-printing{background:white!important;color:#111!important}body.recruit-im-printing>.recruit-im-print{display:block!important;font:11px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:white;color:#111}.recruit-im-print h1{font-size:23px;margin:0 0 10px}.recruit-im-print>p{font-size:10px;color:#555}.recruit-im-print article{break-before:page}.recruit-im-print article:first-of-type{break-before:auto}.recruit-im-print h2{font-size:18px}.recruit-im-print .ripi-contacts{border:1px solid #bfd1c4;background:#eef6f0;border-radius:6px;padding:9px;display:flex;gap:8px 18px;flex-wrap:wrap;overflow-wrap:anywhere}.recruit-im-print .ripi-contacts small{margin-right:6px;color:#466550}.recruit-im-print .ripi-identity,.recruit-im-print .ripi-transcript-note{font-size:9px;color:#555}.recruit-im-print .ripi-message{display:flex;align-items:flex-start;flex-direction:column;margin:14px 0;break-inside:avoid}.recruit-im-print .ripi-message.outgoing{align-items:flex-end}.recruit-im-print .ripi-message-time,.recruit-im-print .ripi-message small{font-size:8px;color:#555;margin:3px 5px}.recruit-im-print .ripi-message p{margin:0;max-width:85%;padding:9px 12px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;background:#eceef0;border:1px solid #d1d5d8;border-radius:13px 13px 13px 4px}.recruit-im-print .ripi-message.outgoing p{background:#e4edff;border-color:#b5c8e8;border-radius:13px 13px 4px 13px}}

.recruit-im-report .ripi-navigation{display:flex;gap:15px;margin-bottom:12px}.recruit-im-report .ripi-navigation a{display:inline-flex;align-items:center;gap:5px;color:var(--pi-muted);font-size:11px;text-decoration:none}.recruit-im-report .ripi-navigation a:hover{color:var(--pi-text)}.recruit-im-report .ripi-file{display:none}.recruit-im-report .ripi-coverage{display:flex;align-items:baseline;justify-content:space-between;gap:8px 18px;flex-wrap:wrap;color:var(--pi-muted);font-size:10px;margin:12px 0}.recruit-im-report .ripi-coverage details{max-width:640px}.recruit-im-report .ripi-coverage summary{cursor:pointer;text-align:right}.recruit-im-report .ripi-coverage details[open]{flex-basis:100%;max-width:none}.recruit-im-report .ripi-coverage details[open] summary{text-align:left;margin-bottom:5px}.recruit-im-report .ripi-coverage p{margin-top:4px}.recruit-im-report select:disabled{opacity:.65;cursor:default}

.recruit-im-report .ripi-heading > div:first-child{display:grid;gap:4px;min-width:0}

.recruiting-dashboard{min-width:0;font-size:12px;color:var(--foreground)}.recruiting-dashboard :is(button,a:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select):focus-visible,.rd-activity-dialog button:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.recruiting-dashboard button,.rd-activity-dialog button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:4px 8px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);font:inherit;font-size:12px;cursor:pointer}.recruiting-dashboard button:hover:not(:disabled),.rd-activity-dialog button:hover{background:var(--muted)}.recruiting-dashboard button:disabled{opacity:.5;cursor:default}.recruiting-dashboard button[aria-pressed=true]{border-color:var(--primary);background:var(--accent);box-shadow:inset 0 0 0 1px var(--primary)}.rd-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.rd-links a{display:inline-flex;align-items:center;gap:4px;font-size:11px;text-decoration:none;color:var(--muted-foreground)}.rd-links a:hover,.rd-links a[aria-current]{color:var(--foreground)}.rd-heading,.rd-section-heading,.rd-progress-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.rd-heading h2{font-size:22px;letter-spacing:-.5px;line-height:1.3;margin:3px 0 5px}.rd-heading p{color:var(--muted-foreground);font-size:12px;margin:0}.rd-heading .rd-eyebrow{color:var(--primary);font-size:10px;letter-spacing:1.8px}.rd-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.rd-mode{display:flex;gap:6px;margin-top:18px}.rd-run-picker{margin:18px 0}.rd-run-picker>label{display:block;max-width:670px;font-size:12px;font-weight:500}.rd-run-picker p{font-size:11px;color:var(--muted-foreground);margin:6px 0 0;overflow-wrap:anywhere}.rd-run-picker p button{margin-left:6px;font-size:10px;min-height:24px}.recruiting-dashboard input,.recruiting-dashboard select{display:block;width:100%;min-width:0;min-height:34px;margin:6px 0 0;padding:5px 8px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);font:inherit;font-size:12px}.rd-panel{border:1px solid var(--border);border-radius:10px;background:var(--card);padding:16px;margin:16px 0;min-width:0}.rd-progress-heading>div>span{font-size:11px;color:var(--muted-foreground)}.rd-progress-heading strong{display:block;font-size:27px;font-weight:500;line-height:1.35;margin-top:3px;font-variant-numeric:tabular-nums}.rd-progress-heading>div:last-child{text-align:right}.rd-progress-heading p{margin:5px 0;font-size:10px;color:var(--muted-foreground)}.rd-progress-heading .rd-state{display:inline-flex;padding:3px 7px;border:1px solid var(--border);border-radius:5px;color:var(--foreground);font-size:11px}.rd-state.completed{color:light-dark(#217047,#8ed7ad)!important}.rd-state.running{color:var(--primary)!important}.rd-state.blocked{color:light-dark(#a72a2a,#f4a3a3)!important}.rd-state.partial{color:light-dark(#785600,#e7c576)!important}.rd-progress progress{display:block;appearance:auto;width:100%;height:7px;margin:14px 0;accent-color:var(--primary)}.rd-note,.rd-small,.rd-footnote{font-size:11px;color:var(--muted-foreground);line-height:1.6;overflow-wrap:anywhere}.rd-note{margin:12px 0}.rd-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-top:14px}.rd-stats button{display:flex;align-items:flex-start;justify-content:flex-start;flex-direction:column;gap:6px;padding:8px 9px;text-align:left;background:var(--background);min-width:0}.rd-stats span{font-size:10px;color:var(--muted-foreground);line-height:1.35}.rd-stats strong{font-size:21px;font-weight:500;font-variant-numeric:tabular-nums;line-height:1.2}.rd-batches{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:14px}.rd-batches>span{font-size:10px;color:var(--muted-foreground);margin-right:4px}.rd-batches button{min-width:28px;min-height:28px;padding:3px 6px;font-size:11px}.rd-section-heading h3{margin:0;font-size:14px;font-weight:600}.rd-filters{display:grid;grid-template-columns:minmax(180px,1.6fr) repeat(2,minmax(115px,.8fr)) repeat(2,minmax(150px,1fr));gap:10px;margin:15px 0}.rd-filters label{font-size:10px;color:var(--muted-foreground);min-width:0}.rd-result-count{font-size:11px;color:var(--muted-foreground);margin:10px 0}.rd-table-scroll{overflow:auto;margin:0 -16px}.rd-table-scroll table{width:100%;border-collapse:collapse;min-width:720px;font-size:11px}.rd-table-scroll th,.rd-table-scroll td{text-align:left;vertical-align:top;padding:10px 12px;border-bottom:1px solid var(--border);line-height:1.5}.rd-table-scroll thead th{font-size:10px;color:var(--muted-foreground);font-weight:500;background:var(--background)}.rd-table-scroll th:first-child,.rd-table-scroll td:first-child{padding-left:16px}.rd-table-scroll tbody tr:last-child td{border-bottom:0}.rd-table-scroll td:last-child{width:38%;min-width:230px}.rd-table-scroll td p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.rd-table-scroll td small{display:block;color:var(--muted-foreground);font-size:10px;line-height:1.6;overflow-wrap:anywhere}.recruiting-dashboard .rd-creator{display:inline;padding:0;min-height:0;border:0;border-radius:2px;background:transparent;color:var(--primary);text-align:left;overflow-wrap:anywhere;font-size:12px}.recruiting-dashboard .rd-creator:hover{background:transparent;text-decoration:underline}.rd-run-group th{background:var(--muted);padding:10px 16px;font-size:11px;font-weight:500}.rd-run-group th small{display:block;font-size:10px;color:var(--muted-foreground);font-weight:400;margin-top:3px}.rd-run-group button{margin-left:10px;min-height:24px;padding:2px 6px;font-size:10px}.rd-outcome{display:inline-flex;font-size:10px;padding:1px 5px;border-radius:4px;background:var(--muted);color:var(--muted-foreground)}.rd-outcome.sent{background:light-dark(#eaf6ee,#20372c);color:light-dark(#217047,#8ed7ad)}.rd-outcome.failed,.rd-outcome.uncertain{background:light-dark(#fff4d8,#40351e);color:light-dark(#785600,#e7c576)}.rd-empty{text-align:center;padding:28px 12px;color:var(--muted-foreground);font-size:12px}.rd-error,.rd-notice{padding:10px 12px;margin:12px 0;border:1px solid var(--border);border-radius:7px;font-size:12px;line-height:1.6}.rd-error{border-color:var(--destructive);color:var(--destructive)}.rd-notice{color:var(--primary)}.rd-footnote{margin:12px 0 20px}.rd-activity-dialog{position:fixed;inset:0;margin:auto;width:min(800px,calc(100vw - 28px));max-height:85dvh;box-sizing:border-box;overflow:auto;padding:20px;border:1px solid var(--border);border-radius:10px;background:var(--card);color:var(--foreground);box-shadow:0 20px 80px #0006;font-size:12px}.rd-activity-dialog::backdrop{background:#0009}.rd-activity-dialog h2{margin:0;font-size:17px;overflow-wrap:anywhere}.rd-activity-dialog h3{font-size:12px;margin:0 0 8px}.rd-activity-event{border-top:1px solid var(--border);padding:13px 0}.rd-activity-event p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0;line-height:1.6}.rd-activity-event small{display:block;color:var(--muted-foreground);font-size:10px;line-height:1.6}.rd-activity-event>button{margin-top:8px;min-height:27px;font-size:10px}.rd-saved-conversation{margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}.rd-saved-conversation blockquote{margin:9px 0;padding:9px 11px;border-left:2px solid var(--border);border-radius:0 5px 5px 0;background:var(--background)}.rd-saved-conversation blockquote.incoming{border-color:var(--primary)}.rd-saved-conversation blockquote small{font-size:10px;color:var(--muted-foreground)}.rd-saved-conversation blockquote p{margin:5px 0 0;white-space:pre-wrap;line-height:1.6;overflow-wrap:anywhere}.rd-private{border:1px solid var(--border);border-radius:6px;padding:10px;margin:12px 0;background:var(--background)}.rd-private strong{font-size:11px}.rd-private p{margin:5px 0;font-size:12px;overflow-wrap:anywhere}.rd-print{display:none}
@media(max-width:1100px){.rd-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.rd-filters .rd-search{grid-column:1}.rd-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){.rd-heading h2{font-size:20px}.rd-panel{padding:12px}.rd-table-scroll{margin:0 -12px}.rd-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.rd-stats strong{font-size:19px}.rd-stats button{padding:7px}.rd-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.rd-filters .rd-search{grid-column:1/-1}.rd-progress-heading strong{font-size:23px}.rd-progress-heading>div:last-child{text-align:left}.rd-links{gap:10px}.rd-activity-dialog{padding:15px}.rd-heading{align-items:flex-start}.rd-activity-dialog .rd-section-heading{flex-wrap:nowrap}.rd-activity-dialog h2{font-size:15px}}
@media(pointer:coarse){.recruiting-dashboard button,.rd-activity-dialog button{min-height:36px}.recruiting-dashboard input,.recruiting-dashboard select{min-height:36px;font-size:16px}.recruiting-dashboard .rd-creator{min-height:32px}.rd-batches button{min-width:36px}}
@page recruiting-dashboard{size:A4 portrait;margin:15mm}
@media print{body:has(>.rd-print)>:not(.rd-print){display:none!important}body:has(>.rd-print){background:#fff!important;color:#111!important;margin:0!important}.rd-print{display:block!important;page:recruiting-dashboard;color:#111;font:10px/1.5 Arial,sans-serif;width:100%;background:#fff}.rd-print h1{font-size:21px;margin:4px 0}.rd-print h2{font-size:12px;font-weight:400}.rd-print>p{font-size:10px;color:#444}.rd-print table{border-collapse:collapse;width:100%;table-layout:fixed;margin-top:14px}.rd-print th,.rd-print td{padding:7px;border:1px solid #ddd;vertical-align:top;text-align:left;overflow-wrap:anywhere;font-size:9px}.rd-print th{background:#eee}.rd-print td:nth-child(1){width:29%}.rd-print td:nth-child(2){width:43%}.rd-print td:nth-child(3){width:28%}.rd-print td p{margin:4px 0;white-space:pre-wrap}.rd-print tr{break-inside:avoid}.rd-print thead{display:table-header-group}.rd-print footer{margin-top:12px;font-size:8px;color:#666;overflow-wrap:anywhere}}

.recruiting-dashboard .rd-actions input[type="file"]{display:none!important}

.recruiting-dashboard .rd-heading > div:first-child{display:grid;gap:4px;min-width:0}

.goals-page{--goal-success:#267b52;--goal-warning:#b14d36;--goal-track:var(--muted);--goal-tint:var(--secondary);width:100%;max-width:100%;min-width:0;color:var(--foreground);font-size:14px}.dark .goals-page{--goal-success:#87cda1;--goal-warning:#f69a85;--goal-track:#343c46;--goal-tint:#22272e}.goals-page button,.goals-page input,.goals-page select{font:inherit}.goals-page button{min-height:36px;background:var(--card);border:1px solid var(--border);border-radius:7px;color:var(--foreground);cursor:pointer;padding:7px 11px;box-shadow:none}.goals-page button:hover:not(:disabled){background:var(--muted);border-color:var(--input)}.goals-page button:disabled{cursor:wait;opacity:.55}.goals-page button:focus-visible,.goals-page input:focus-visible,.goals-page select:focus-visible,.goals-table-scroll:focus-visible{outline:2px solid var(--ring);outline-offset:3px}.goals-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:24px}.goals-heading h2{font-family:inherit;font-size:26px;font-weight:600;line-height:1.2;margin:6px 0 8px;letter-spacing:-.025em}.goals-heading p{margin:0;color:var(--muted-foreground);line-height:1.5}.goals-heading .goals-eyebrow{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;letter-spacing:.13em;color:var(--primary)}.goals-period-controls{display:flex;align-items:flex-end;gap:9px;max-width:100%}.goals-period-controls label{display:flex;flex-direction:column;gap:6px;color:var(--muted-foreground);font-size:12px;min-width:0}.goals-period-controls select{min-height:40px;max-width:100%;margin:0;padding:8px 30px 8px 12px;background:var(--card);color:var(--foreground);border:1px solid var(--input);border-radius:7px;font-size:14px}.goals-page .goals-refresh{display:flex;align-items:center;gap:7px;height:40px}.goals-month-note{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px 18px;background:var(--goal-tint);border:1px solid var(--border);border-radius:11px 11px 0 0}.goals-month-note>span{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.goals-month-note>span>svg{color:var(--primary);flex:none}.goals-month-note>span>span{color:var(--muted-foreground);font-size:12px;padding-left:9px;border-left:1px solid var(--input)}.goals-month-note small{font-size:12px;color:var(--muted-foreground)}.goals-archived{border-color:var(--primary)}.goals-archive-explanation,.goals-page>.goals-warning{margin:0;padding:11px 18px;border-inline:1px solid var(--border);background:var(--card);font-size:12px;line-height:1.55;color:var(--muted-foreground)}.goals-warning{color:var(--goal-warning)}.goals-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--border);border-top:0;background:var(--card);border-radius:0 0 11px 11px;margin-bottom:24px;padding:25px 0}.goals-summary article{padding:0 24px;min-width:0}.goals-summary article+article{border-left:1px solid var(--border)}.goals-summary h3{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:var(--muted-foreground);line-height:1.5;margin:0 0 12px}.goals-summary h3 svg{color:var(--primary);flex:none}.goals-summary p{font-variant-numeric:tabular-nums;margin:0 0 14px;line-height:1.2;white-space:nowrap}.goals-summary p strong{font-size:30px;letter-spacing:-.035em;font-weight:600}.goals-summary p>span{font-size:18px;color:var(--muted-foreground)}.goals-summary small{display:block;font-size:11px;color:var(--muted-foreground);margin-top:9px;line-height:1.5}.goals-progress-track{height:5px;overflow:hidden;border-radius:3px;background:var(--goal-track);min-width:0}.goals-progress-track>span{display:block;height:100%;background:var(--primary);border-radius:inherit;min-width:0}.goals-progress-track.goals-met>span{background:var(--goal-success)}.goals-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:15px}.goals-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.goals-filters button{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500;white-space:nowrap;background:transparent;border-color:transparent;color:var(--muted-foreground)}.goals-filters button>span{font-size:10px;padding:1px 5px;border-radius:4px;background:var(--muted);color:var(--muted-foreground);font-variant-numeric:tabular-nums}.goals-filters button[aria-pressed=true]{border-color:var(--primary);background:var(--accent);color:var(--accent-foreground)}.goals-filters button[aria-pressed=true]>span{background:var(--primary);color:var(--primary-foreground)}.goals-search{position:relative;min-width:190px;max-width:280px;flex:1}.goals-search>svg{position:absolute;left:10px;top:11px;color:var(--muted-foreground);pointer-events:none}.goals-search input{margin:0;width:100%;height:38px;padding:8px 10px 8px 34px;border:1px solid var(--input);background:var(--card);color:var(--foreground);border-radius:7px;font-size:13px}.goals-list-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 9px;color:var(--muted-foreground);font-size:11px}.goals-table-scroll{width:100%;max-width:100%;min-width:0;overflow:auto;overscroll-behavior-x:contain;border:1px solid var(--border);border-radius:10px;background:var(--card);scrollbar-width:thin;scrollbar-color:var(--input) transparent}.goals-table{width:100%;min-width:1320px;border-collapse:collapse;border-spacing:0;table-layout:auto;font-variant-numeric:tabular-nums}.goals-table th,.goals-table td{font-size:12px;text-align:left;padding:16px 17px;vertical-align:middle;line-height:1.5;border:0;border-bottom:1px solid var(--border);white-space:nowrap;overflow-wrap:normal}.goals-table thead th{background:var(--goal-tint);font-size:11px;font-weight:500;color:var(--muted-foreground);height:46px;padding-block:7px}.goals-table tbody th{position:static;background:transparent;font-weight:400;min-width:235px}.goals-table tr:last-child>th,.goals-table tr:last-child>td{border-bottom:0}.goals-table tbody tr:hover,.goals-table .goals-row-expanded{background:var(--muted)}.goals-table small{display:block;color:var(--muted-foreground);font-size:10px;line-height:1.5;margin-top:5px;font-weight:400}.goals-page .goals-sort{border:0;display:flex;align-items:center;gap:6px;min-height:30px;background:transparent;padding:0;color:var(--muted-foreground);font-size:11px;font-weight:500;border-radius:3px}.goals-page .goals-sort:hover:not(:disabled){background:transparent;color:var(--primary)}.goals-page .goals-creator{display:flex;align-items:center;gap:10px;min-width:0;width:100%;max-width:270px;padding:0;border:0;background:transparent;text-align:left;min-height:38px}.goals-page .goals-creator:hover:not(:disabled){background:transparent;color:var(--primary)}.goals-creator>svg{flex:none;color:var(--muted-foreground);margin-left:6px}.goals-avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;background:var(--muted);display:flex;align-items:center;justify-content:center;flex:none;font-size:16px;color:var(--primary)}.goals-avatar img{width:100%;height:100%;object-fit:cover}.goals-identity{display:flex;flex-direction:column;min-width:0;flex:1}.goals-identity strong{font-size:12px;font-weight:600;max-width:200px;overflow:hidden;text-overflow:ellipsis}.goals-identity small{font-size:10px;margin-top:2px;max-width:200px;overflow:hidden;text-overflow:ellipsis}.goals-metric{display:flex;align-items:center;gap:9px}.goals-metric-values{white-space:nowrap;font-size:12px}.goals-metric-values strong{font-weight:600}.goals-metric-values>span{color:var(--muted-foreground)}.goals-metric small{margin-top:1px}.goals-ring{width:29px;height:29px;flex:none;fill:none;stroke:var(--goal-track);stroke-width:5}.goals-ring circle:nth-child(2){stroke:var(--primary);stroke-linecap:round;transform:rotate(-90deg);transform-origin:center}.goals-ring.goals-met circle:nth-child(2){stroke:var(--goal-success)}.goals-tier-status{font-size:11px;font-weight:500}.goals-warning,.goals-tier-status.goals-warning{color:var(--goal-warning)}.goals-success{color:var(--goal-success)}.goals-unknown,.goals-neutral{color:var(--muted-foreground)}.goals-rank-progress{min-width:190px;max-width:230px}.goals-rank-progress>span{font-size:11px;color:var(--muted-foreground)}.goals-rank-progress>span strong{color:var(--foreground)}.goals-rank-progress .goals-progress-track{margin:6px 0}.goals-rank-progress small{font-size:10px;line-height:1.2}.goals-rank-progress small>span{display:flex;align-items:center;gap:3px}.goals-level{font-weight:500;font-size:12px}.goals-detail-row>td{padding:0;white-space:normal}.goals-details{padding:24px;background:var(--goal-tint);border-left:3px solid var(--primary)}.goals-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:19px}.goals-detail-heading h3{font-size:15px;font-weight:600;margin:0}.goals-detail-heading>span{font-size:12px;color:var(--muted-foreground)}.goals-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.goals-detail-grid h4{font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:500;color:var(--muted-foreground);margin:0 0 5px}.goals-detail-grid strong{font-size:20px;font-weight:500;color:var(--primary)}.goals-detail-grid p{font-size:12px;color:var(--muted-foreground);line-height:1.6;margin:8px 0 0;max-width:370px;white-space:normal}.goals-source-dates{display:flex;flex-wrap:wrap;gap:8px 25px;margin-top:20px;padding-top:13px;border-top:1px solid var(--border);color:var(--muted-foreground);font-size:10px}.goals-detail-notes{margin:10px 0 0;padding-left:18px;color:var(--muted-foreground);font-size:11px;white-space:normal}.goals-footnote{color:var(--muted-foreground);font-size:11px;line-height:1.7;margin:18px 0 0;max-width:1080px}.goals-footnote p{margin:5px 0}.goals-footnote p:first-child{display:flex;align-items:flex-start;gap:7px}.goals-footnote svg{flex:none;margin-top:3px;color:var(--primary)}.goals-state{background:var(--card);border:1px solid var(--border);border-radius:11px;padding:55px 24px;text-align:center;color:var(--muted-foreground)}.goals-state h3{font-size:18px;font-weight:500;color:var(--foreground);margin:12px 0 8px}.goals-state p{margin:0 0 18px;line-height:1.6}.goals-state>svg{color:var(--primary);margin-inline:auto}.goals-loading-mark{color:var(--primary);margin-inline:auto;display:grid;place-items:center}.goals-state.goals-empty{padding-block:45px}.goals-footnote+.goals-state{margin-top:20px}
@media(max-width:1200px){.goals-summary article{padding:0 17px}.goals-summary p strong{font-size:27px}.goals-summary p>span{font-size:16px}.goals-summary h3{font-size:12px}.goals-search{max-width:none}}
@media(max-width:700px){.goals-heading{gap:17px;margin-bottom:18px}.goals-heading h2{font-size:23px}.goals-heading p{font-size:13px}.goals-period-controls{width:100%}.goals-period-controls label{flex:1}.goals-period-controls select{width:100%}.goals-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;margin-bottom:18px}.goals-summary article{padding:19px 15px}.goals-summary article+article{border-left:0}.goals-summary article:nth-child(even){border-left:1px solid var(--border)}.goals-summary article:nth-child(n+3){border-top:1px solid var(--border)}.goals-summary p strong{font-size:26px}.goals-summary p>span{font-size:15px}.goals-summary h3{font-size:11px;gap:6px;min-height:33px;align-items:flex-start}.goals-summary h3 svg{width:15px;height:15px;margin-top:1px}.goals-summary small{font-size:10px}.goals-month-note{padding:13px 14px}.goals-month-note>span{gap:7px}.goals-month-note>span>span{border:0;padding:0;width:100%;margin-left:24px}.goals-month-note small{font-size:10px}.goals-toolbar{gap:12px}.goals-filters{width:100%;gap:5px}.goals-filters button{font-size:11px;padding:6px 8px;min-height:35px}.goals-search{min-width:100%;max-width:100%}.goals-list-caption{font-size:10px}.goals-list-caption>span:last-child{max-width:140px;text-align:right}.goals-footnote{font-size:10px}.goals-archive-explanation,.goals-page>.goals-warning{padding-inline:14px;font-size:11px}.goals-table th,.goals-table td{padding-inline:14px}.goals-table th:first-child,.goals-table td:first-child{padding-left:14px}.goals-detail-grid{gap:17px}.goals-detail-row>td{padding:0}.goals-details{padding:20px}}

.goals-summary h3{min-height:39px;align-items:flex-start}.goals-summary h3 svg{margin-top:1px}

.goals-creator-actions{display:flex;align-items:center;gap:8px}.goals-page .goals-creator-actions .goals-creator{flex:1;min-width:0}.goals-page .goals-recap-button{display:grid;place-items:center;flex:none;width:32px;height:34px;padding:0;color:var(--primary);border-color:transparent;background:transparent}.goals-page .goals-recap-button:hover:not(:disabled){background:var(--accent);border-color:var(--primary)}.goals-recap-error{padding:12px 15px;background:var(--card);border:1px solid var(--goal-warning);border-radius:7px;color:var(--goal-warning);font-size:13px;line-height:1.5}@media(max-width:700px){.goals-page .goals-recap-button{width:38px;height:40px}.goals-creator-actions{gap:6px}}

/* Shared Analytics and Battles tab navigation. */
.analytics-collection-notice{display:flex;align-items:center;gap:14px;margin-bottom:22px;padding:16px 18px;border:1px solid var(--border);border-radius:10px;background:var(--muted);color:var(--foreground)}
.analytics-collection-notice>svg{flex:none;color:var(--primary)}
.analytics-collection-notice>div{flex:1;min-width:0}.analytics-collection-notice strong{font-size:14px}.analytics-collection-notice p{margin:4px 0 0;font-size:13px;line-height:1.6;color:var(--muted-foreground)}
.analytics-collection-notice>a{font-size:13px;font-weight:600;color:var(--primary);padding:10px 0;flex-shrink:0}
@media(max-width:600px){.analytics-collection-notice{flex-wrap:wrap;align-items:flex-start}.analytics-collection-notice>a{margin-left:34px}}
.analytics-tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin:0 0 22px;overflow-x:auto}
.analytics-tabs [role=tab]{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 22px;color:var(--muted-foreground);text-decoration:none;font-weight:500;white-space:nowrap;border-bottom:3px solid transparent}
.analytics-tabs [role=tab]:hover{color:var(--foreground);background:var(--muted)}
.analytics-tabs [role=tab][aria-selected=true]{color:#7d591d;border-bottom-color:#b18433}
.dark .analytics-tabs [role=tab][aria-selected=true]{color:#f2cf8d;border-bottom-color:#d5ad5b}
.analytics-tabs [role=tab]:focus-visible{outline:2px solid #b18433;outline-offset:-3px;border-radius:4px}
.analytics-tabs [role=tab]:disabled{appearance:none;background:transparent;border:0;border-bottom:3px solid transparent;font:inherit;font-weight:500;color:var(--muted-foreground);cursor:default;opacity:.65}
.analytics-page [role=tabpanel][hidden]{display:none!important}
@media(max-width:600px){.analytics-tabs [role=tab]{flex:1;padding:10px 14px}.analytics-tabs{margin-bottom:16px}}

@media(max-width:600px){.battles-workspace>.analytics-tabs [role=tab]{padding:10px 7px;font-size:12px;min-height:44px}}

.battles-workspace .battles-request-count{margin-left:6px;color:#eab308;font-weight:700;font-variant-numeric:tabular-nums}
.workspace-nav .workspace-monitoring-count{background:transparent;color:var(--primary)}
.battles-workspace>.battles-primary-tabs{overflow:visible;flex-wrap:wrap}
.battles-workspace:has(>.battles-organizer-tools)>.battles-primary-tabs{margin-bottom:0}
.battles-workspace,.battles-workspace-panel{min-width:0;width:100%}
.battles-content-first>.battles-workspace-panel{margin-bottom:28px}
.battles-content-first>.battles-workspace-panel>.tournaments-page,.battles-content-first .tournament-builder{width:100%;max-width:none}
.battles-organizer-tools{border-bottom:1px solid var(--border);padding:4px 0;margin-bottom:22px;min-width:0}
.battles-organizer-tools>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:7px 9px;box-sizing:border-box;list-style:none;cursor:pointer;font-size:12px;color:var(--muted-foreground)}
.battles-organizer-tools>summary::-webkit-details-marker{display:none}
.battles-organizer-tools>summary>svg{flex:none;transition:transform .15s}
.battles-organizer-tools[open]>summary>svg{transform:rotate(180deg)}
.battles-organizer-tools>summary:hover{color:var(--foreground)}
.battles-organizer-tools>summary:focus-visible{outline:2px solid var(--primary);outline-offset:-2px;border-radius:5px}
.battles-organizer-content{display:grid;gap:4px;padding-bottom:6px;min-width:0}
.battles-organizer-label{font-size:11px;color:var(--muted-foreground);white-space:nowrap}
.battles-organizer-tabs.analytics-tabs{min-width:0;overflow:visible;flex-wrap:wrap;gap:4px 16px;margin:0;border:0}
.battles-organizer-tabs.analytics-tabs [role=tab]{flex:none;justify-content:flex-start;gap:7px;min-height:36px;padding:6px 9px;border:0;border-radius:0;background:transparent;color:var(--muted-foreground);font-size:12px;white-space:normal;text-align:left}
.battles-organizer-tabs.analytics-tabs [role=tab] svg{flex:none;width:14px;height:14px}
.battles-workspace .battles-organizer-tabs.analytics-tabs [role=tab]:hover,.battles-workspace .battles-organizer-tabs.analytics-tabs [role=tab][aria-selected=true]{background:transparent;color:var(--foreground)}
.battles-organizer-tabs.analytics-tabs [role=tab][aria-selected=true]{text-decoration:underline;text-decoration-color:var(--primary);text-underline-offset:6px;text-decoration-thickness:1px}
@media(max-width:600px){.battles-primary-tabs [role=tab]{min-width:0}.battles-organizer-tools{margin-bottom:16px}.battles-organizer-tabs.analytics-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 8px}.battles-organizer-tabs.analytics-tabs [role=tab]{min-height:44px;padding:7px}}

.battles-organizer-actions{display:flex;align-items:center;flex-wrap:wrap;padding:0 9px}
.battles-organizer-actions>.td-text-action{min-height:36px;padding:6px 0;font:inherit;font-size:12px;font-weight:400;color:var(--muted-foreground);background:transparent;border:0;box-shadow:none}
.battles-organizer-actions>.td-text-action:hover{color:var(--foreground);background:transparent;text-decoration:none}
.battles-organizer-actions>.td-text-action:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
@media(max-width:600px){.battles-organizer-actions{padding:0 7px}.battles-organizer-actions>.td-text-action{min-height:44px}}

.battles-page{--bp-bg:var(--background,#faf9f6);--bp-surface:var(--card,#fff);--bp-ink:var(--foreground,#282d34);--bp-muted:var(--muted-foreground,#68717c);--bp-line:var(--border,#e3dfd7);--bp-gold:#80601f;--bp-gold-soft:#f2e8d0;--bp-subtle:#f6f4ee;--bp-green:#557e65;--bp-red:#c63457;color:var(--bp-ink);min-width:0;font-size:14px;line-height:1.5}.dark .battles-page{--bp-gold:#e9bd66;--bp-gold-soft:#3c3220;--bp-subtle:var(--muted);--bp-green:#8cba9c;--bp-red:#ffa3b4}.battles-page *{box-sizing:border-box}.battles-page h2,.battles-page h3,.battles-page p{margin:0}.battles-page h2{font-size:19px;line-height:1.35;font-weight:600}.battles-page h3{font-size:15px;font-weight:600}.battles-page button,.battles-page input,.battles-page select,.battles-page textarea{font:inherit}.battles-page button{cursor:pointer}.battles-page button:disabled{cursor:not-allowed;opacity:.5}.battles-page button:focus-visible,.battles-page a:focus-visible,.battles-page input:focus-visible,.battles-page select:focus-visible,.battles-page textarea:focus-visible{outline:2px solid var(--bp-gold);outline-offset:3px}.battles-page label{display:grid;gap:5px;color:var(--bp-muted);font-size:12px;min-width:0}.battles-page input,.battles-page select,.battles-page textarea{min-width:0;max-width:100%;width:100%;min-height:39px;border:1px solid var(--bp-line);border-radius:7px;background:var(--bp-surface);color:var(--bp-ink);padding:8px 10px}.battles-page textarea{resize:vertical}.battles-page small{font-size:11px;color:var(--bp-muted)}.battles-page a{text-decoration:none}.battles-page a:hover{text-decoration:underline}.bp-page-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 21px}.bp-page-intro>p{color:var(--bp-muted);font-size:14px}.bp-page-intro>div{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.bp-updated{font-size:11px;color:var(--bp-muted)}.bp-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;border:1px solid var(--bp-gold);border-radius:7px;background:var(--bp-gold);color:#fff;padding:9px 13px;font-size:12px;font-weight:600;line-height:1.4;white-space:normal}.dark .bp-button:not(.bp-secondary):not(.bp-soft){color:#20180a}.bp-button.bp-secondary{background:var(--bp-surface);color:var(--bp-ink);border-color:var(--bp-line)}.bp-button.bp-soft{background:var(--bp-gold-soft);color:var(--bp-gold);border-color:transparent}.bp-button.bp-compact{min-height:33px;padding:6px 10px;font-size:12px}.bp-button:hover:not(:disabled){filter:brightness(.96)}.bp-text-button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--bp-gold);padding:4px 0;font-size:12px;line-height:1.5;text-align:left}.bp-text-button:hover:not(:disabled){text-decoration:underline}.bp-icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;border:0;border-radius:6px;background:transparent;color:var(--bp-muted);padding:6px;flex:none}.bp-icon-button:hover{background:var(--bp-subtle)}.bp-count{padding:0 5px;min-width:19px;border-radius:3px;background:var(--bp-subtle);font-size:11px}.bp-tabs{display:flex;gap:26px;border-bottom:1px solid var(--bp-line);margin-bottom:24px}.bp-tabs>button{position:relative;border:0;border-radius:0;background:transparent;min-height:45px;padding:9px 0 14px;color:var(--bp-muted);font-size:13px;white-space:nowrap}.bp-tabs>button[aria-selected=true]{color:var(--bp-gold);font-weight:600}.bp-tabs>button[aria-selected=true]:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--bp-gold)}.bp-tab-count{font-size:10px;background:#fdf0f2;color:#b72f4f;padding:1px 4px;border-radius:3px;margin-left:7px}.dark .bp-tab-count{background:#432a32;color:#ffa3b4}.bp-work-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}.bp-work-main{min-width:0}.bp-section-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.bp-section-top p{color:var(--bp-muted);font-size:13px;margin-top:5px}.bp-section-top>span{flex:none;font-size:12px;color:var(--bp-muted);padding-top:3px}.bp-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:13px}.bp-filters>label{flex:1;min-width:120px}.bp-filters>label.bp-search{flex:1.6;min-width:180px}.bp-search>span{display:flex;position:relative;align-items:center}.bp-search>span>svg{position:absolute;left:11px;color:var(--bp-muted);pointer-events:none}.bp-search>span>input{padding-left:34px}.bp-filter-note{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:11px;color:var(--bp-muted);margin:13px 0 16px}.bp-creator-list{border:1px solid var(--bp-line);border-radius:11px;overflow:hidden;background:var(--bp-surface)}.bp-list-labels,.bp-creator-row{display:grid;grid-template-columns:minmax(150px,1fr) 102px 93px 83px;gap:12px;align-items:center}.bp-list-labels{padding:12px 14px;background:var(--bp-subtle);color:var(--bp-muted);font-size:10px;text-transform:uppercase;letter-spacing:.045em}.bp-creator-row{min-height:78px;padding:13px 14px;border-top:1px solid var(--bp-line)}.bp-creator-row.bp-selected{background:color-mix(in srgb,var(--bp-gold-soft) 28%,var(--bp-surface))}.bp-identity{display:flex;gap:11px;align-items:center;min-width:0}.bp-identity-copy{min-width:0;line-height:1.45}.bp-identity-copy>strong,.bp-name{font-size:13px;font-weight:600;display:block;color:var(--bp-ink);overflow-wrap:anywhere}.bp-name{border:0;background:none;padding:0;text-align:left}.bp-name:hover{text-decoration:underline}.bp-identity-copy>small{display:block;overflow-wrap:anywhere;font-size:10px}.bp-source{display:block;font-size:10px;color:var(--bp-muted);margin-top:3px}.bp-avatar{display:flex;align-items:center;justify-content:center;flex:none;width:37px;height:37px;border-radius:50%;background:var(--bp-gold-soft);color:var(--bp-gold);font-size:12px;font-weight:600;overflow:hidden}.bp-avatar img{width:100%;height:100%;object-fit:cover}.bp-avatar-live{outline:1px solid var(--bp-red);outline-offset:2px}.bp-avatar.bp-avatar-small{width:32px;height:32px;font-size:10px}.bp-presence{font-size:11px;line-height:1.4;color:var(--bp-muted)}.bp-presence>small{display:block;font-size:10px;margin-top:4px}.bp-live{color:var(--bp-red)}.bp-warning{color:var(--bp-gold)}.bp-metric{font-size:13px;font-variant-numeric:tabular-nums;min-width:0;overflow-wrap:anywhere}.bp-metric>small{display:block;font-size:10px;line-height:1.4;margin-top:4px}.bp-hint{color:var(--bp-muted);font-size:11px;line-height:1.65;margin-top:14px!important;padding-left:0}.bp-hint:before{content:'ⓘ';color:var(--bp-gold);font-size:14px;margin-right:9px}.bp-load-more{margin-top:14px}.bp-desk{border:1px solid var(--bp-line);border-radius:11px;background:var(--bp-surface);overflow:hidden;position:sticky;top:18px;min-width:0}.bp-desk-head{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:17px 19px;border-bottom:1px solid var(--bp-line)}.bp-desk-head h2{font-size:15px}.bp-tag{display:inline-flex;align-items:center;width:fit-content;padding:3px 6px;border-radius:4px;background:var(--bp-subtle);color:var(--bp-muted);font-size:10px;line-height:1.35}.bp-tag.bp-tag-gold{background:var(--bp-gold-soft);color:var(--bp-gold)}.bp-tag.bp-tag-green{background:color-mix(in srgb,var(--bp-green) 15%,var(--bp-surface));color:var(--bp-green)}.bp-desk-body{padding:19px}.bp-caption{font-size:11px;color:var(--bp-muted);margin-bottom:20px!important}.bp-pair-choices{display:grid;gap:17px}.bp-pair-slot{display:flex;align-items:center;gap:10px;min-width:0}.bp-pair-slot>label{flex:1;font-size:10px}.bp-pair-slot select{font-size:12px}.bp-vs{display:flex;gap:11px;align-items:center;justify-content:center;font-size:9px;color:var(--bp-muted)}.bp-vs:before,.bp-vs:after{content:'';height:1px;background:var(--bp-line);flex:1}.bp-comparison{width:100%;border-collapse:collapse;font-size:11px;margin:20px 0 11px;table-layout:fixed}.bp-comparison th{font-weight:400;font-size:10px;color:var(--bp-muted);padding:4px 0 8px;text-align:right;overflow-wrap:anywhere}.bp-comparison th:first-child{width:50%;text-align:left}.bp-comparison td{padding:8px 0;text-align:right;border-bottom:1px solid var(--bp-line);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.bp-comparison td:first-child{text-align:left;color:var(--bp-muted);padding-right:8px}.bp-note{font-size:11px;color:var(--bp-muted);line-height:1.65;margin:11px 0!important}.bp-pair-evidence{background:var(--bp-subtle);border-radius:7px;padding:12px;margin:17px 0;font-size:11px}.bp-pair-evidence p{color:var(--bp-muted);margin-top:4px;font-size:11px}.bp-pair-evidence .bp-text-button{font-size:11px;margin-top:4px}.bp-notice{border:1px solid transparent;padding:11px 12px;border-radius:7px;background:var(--bp-gold-soft);color:var(--bp-gold);font-size:11px;line-height:1.6;margin:12px 0}.bp-notice.bp-error{background:color-mix(in srgb,#d3484c 9%,var(--bp-surface));border-color:color-mix(in srgb,#d3484c 25%,var(--bp-line));color:var(--bp-ink);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.bp-desk-actions{display:grid;gap:8px;margin-top:14px}.bp-room-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:15px}.bp-room-links .bp-text-button{font-size:11px;min-height:28px}.bp-empty{text-align:center;padding:34px 20px;color:var(--bp-muted)}.bp-empty h3{color:var(--bp-ink);font-size:14px}.bp-empty p{font-size:12px;line-height:1.7;margin-top:7px}.bp-empty .bp-button{margin-top:17px}.bp-desk .bp-empty{border:1px dashed var(--bp-line);border-radius:7px;padding:23px 12px;margin-top:23px}.bp-desk-footer{padding:16px 19px;background:var(--bp-subtle);border-top:1px solid var(--bp-line)}.bp-desk-footer>span{display:block;color:var(--bp-muted);font-size:9px;letter-spacing:.03em}.bp-desk-footer>button{border:0;background:none;text-align:left;padding:7px 0 0;color:var(--bp-ink);font-size:12px;width:100%}.bp-desk-footer>button>svg{display:inline;vertical-align:middle;float:right}.bp-desk-footer small{display:block;font-size:10px;margin-top:2px}.bp-lead-selection{display:flex;gap:12px;align-items:center;border:1px solid var(--bp-line);border-radius:8px;padding:15px;background:var(--bp-surface);margin-bottom:17px}.bp-lead-selection label{flex:1}.bp-context-strip{display:flex;gap:14px;align-items:center;flex-wrap:wrap;background:var(--bp-surface);border:1px solid var(--bp-line);border-radius:8px;padding:16px;margin-bottom:15px;font-size:12px}.bp-context-strip>label{min-width:150px}.bp-context-strip>.bp-text-button{margin-left:auto}.bp-history-wrap{border:1px solid var(--bp-line);border-radius:11px;background:var(--bp-surface);overflow:hidden}.bp-history-head,.bp-history-row{display:grid;grid-template-columns:92px minmax(0,1fr) 62px 118px 15px;align-items:center;gap:15px}.bp-history-head{padding:12px 17px;background:var(--bp-subtle);color:var(--bp-muted);text-transform:uppercase;letter-spacing:.04em;font-size:10px}.bp-history-row{width:100%;padding:16px 17px;background:transparent;border:0;border-top:1px solid var(--bp-line);text-align:left;color:var(--bp-ink);font-size:12px;min-height:70px}.bp-history-row:hover{background:var(--bp-subtle)}.bp-history-row time{font-size:12px;font-variant-numeric:tabular-nums}.bp-history-row time>small{display:block;margin-top:2px}.bp-score-match{display:flex;gap:7px 10px;align-items:center;flex-wrap:wrap;min-width:0}.bp-score-person{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap;min-width:0;font-size:12px}.bp-score-person>span{overflow-wrap:anywhere}.bp-score-person strong{font-variant-numeric:tabular-nums;font-weight:600}.bp-score-person i{font-style:normal;font-size:10px;color:var(--bp-muted);margin-right:4px}.bp-score-person small{font-size:9px}.bp-history-format{font-size:11px;color:var(--bp-muted)}.bp-battle-detail{background:var(--bp-subtle);padding:18px 22px;border-top:1px solid var(--bp-line)}.bp-battle-detail .battle-scorecard{max-width:680px}.bp-detail-actions{display:flex;gap:10px 18px;align-items:center;flex-wrap:wrap;margin-top:12px}.bp-pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 17px;border-top:1px solid var(--bp-line);color:var(--bp-muted);font-size:11px}.bp-pagination>div{display:flex;gap:7px}.bp-pills{display:flex;gap:6px;margin-left:auto}.bp-pills>button{border:1px solid var(--bp-line);border-radius:22px;min-height:34px;padding:7px 12px;background:var(--bp-surface);color:var(--bp-muted);font-size:12px}.bp-pills>button[aria-pressed=true]{color:var(--bp-gold);background:var(--bp-gold-soft);border-color:var(--bp-gold-soft)}.bp-connections-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}.bp-connection-canvas{border:1px solid var(--bp-line);border-radius:11px;background:var(--bp-surface);overflow:hidden;min-width:0}.bp-graph{position:relative;width:100%;height:430px;background-image:radial-gradient(var(--bp-line) .7px,transparent .7px);background-size:18px 18px}.bp-graph>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.bp-edge-target{stroke:transparent;stroke-width:18;cursor:pointer}.bp-graph-node{position:absolute;transform:translate(-50%,-50%);width:102px;padding:10px 7px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;border:1px solid var(--bp-line);border-radius:8px;background:var(--bp-surface);color:var(--bp-ink);z-index:1}.bp-graph-node strong{font-size:11px;line-height:1.4;overflow-wrap:anywhere;font-weight:500}.bp-graph-node small{font-size:9px;line-height:1.4}.bp-graph-node.bp-focal{border-color:var(--bp-gold);background:var(--bp-gold-soft)}.bp-graph-legend{display:flex;gap:10px 16px;align-items:center;flex-wrap:wrap;padding:13px 15px;border-top:1px solid var(--bp-line);font-size:10px;color:var(--bp-muted)}.bp-graph-legend>span{display:flex;gap:6px;align-items:center}.bp-graph-legend i{display:inline-block;width:22px;height:4px;background:var(--bp-green);border-radius:2px}.bp-graph-legend i.bp-faded{opacity:.45}.bp-connection-aside{padding:20px;border:1px solid var(--bp-line);border-radius:10px;background:var(--bp-surface)}.bp-connection-aside>p{font-size:12px;color:var(--bp-muted);margin-top:9px;margin-bottom:14px}.bp-connection-link{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;background:none;border:0;border-bottom:1px solid var(--bp-line);color:var(--bp-ink);text-align:left;padding:15px 0}.bp-connection-link:last-child{border-bottom:0}.bp-connection-link strong{font-size:12px;overflow-wrap:anywhere}.bp-connection-link small{display:block;font-size:10px;margin-top:4px}.bp-connection-link>span:last-child{display:flex;gap:3px;align-items:center;flex:none;color:var(--bp-gold);font-size:11px}.bp-connection-row{display:grid;grid-template-columns:minmax(140px,1fr) 95px 120px auto;gap:13px;align-items:center;padding:17px;border-bottom:1px solid var(--bp-line)}.bp-connection-row:last-child{border-bottom:0}.bp-edge-detail{border:1px solid var(--bp-line);border-radius:9px;background:var(--bp-surface);padding:14px 16px;margin:0 14px 15px;font-size:12px}.bp-edge-detail>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.bp-edge-detail>p{font-size:11px;color:var(--bp-muted);margin:4px 0 10px}.bp-edge-scroll{max-height:240px;overflow:auto}.bp-edge-scroll table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:11px}.bp-edge-scroll th{font-size:10px;color:var(--bp-muted);font-weight:400}.bp-edge-scroll th,.bp-edge-scroll td{text-align:right;padding:9px 5px;border-top:1px solid var(--bp-line);overflow-wrap:anywhere}.bp-edge-scroll th:first-child,.bp-edge-scroll td:first-child{text-align:left}.bp-edge-scroll td small{display:block;font-size:9px}.bp-page-foot{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:38px;padding-top:18px;border-top:1px solid var(--bp-line);font-size:10px;color:var(--bp-muted)}.bp-page-foot>span:first-child{max-width:75%}.bp-toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:100;display:flex;align-items:center;gap:9px;padding:12px 16px;border-radius:8px;max-width:min(540px,calc(100vw - 30px));background:#282d34;color:#fff;box-shadow:0 5px 20px #0002;font-size:12px}.bp-toast svg{flex:none}.bp-modal{width:600px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 36px);border:1px solid var(--bp-line);border-radius:13px;background:var(--bp-surface);color:var(--bp-ink);padding:0;box-shadow:0 22px 65px #0004;overflow:auto}.bp-modal::backdrop{background:#10172066;backdrop-filter:blur(2px)}.bp-modal-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px;border-bottom:1px solid var(--bp-line)}.bp-modal-head h2{font-size:19px}.bp-modal-head p{color:var(--bp-muted);font-size:12px;margin-top:7px}.bp-modal-body{padding:22px}.bp-modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;margin-top:22px}.bp-modal-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.bp-modal-fields .bp-wide{grid-column:1/-1}.bp-board-toolbar{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:15px}.bp-board-toolbar>label{min-width:180px}.bp-board-row{border:1px solid var(--bp-line);border-radius:9px;padding:16px;margin-bottom:13px}.bp-board-row>header{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px}.bp-team-note{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin-bottom:10px!important}.bp-board-actions{display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap;margin-top:12px}.bp-person-context{margin-top:20px}.bp-person-context>p{font-size:13px;color:var(--bp-muted);margin:14px 0}.bp-person-context dl{display:grid;grid-template-columns:1fr 1fr;gap:18px}.bp-person-context dt{font-size:11px;color:var(--bp-muted)}.bp-person-context dd{margin:5px 0 0;font-size:13px}.bp-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.bp-spin{animation:bp-spin 1s linear infinite}@keyframes bp-spin{to{transform:rotate(360deg)}}
@media(max-width:1250px){.bp-work-grid{grid-template-columns:minmax(0,1fr) 295px;gap:18px}.bp-list-labels,.bp-creator-row{grid-template-columns:minmax(130px,1fr) 91px 85px 76px;gap:8px}.bp-creator-row{padding-inline:12px}.bp-connections-layout{grid-template-columns:minmax(0,1fr) 240px}.bp-graph-node{width:88px}.bp-connection-row{grid-template-columns:minmax(120px,1fr) 80px 90px auto}}
@media(max-width:1100px){.bp-work-grid{grid-template-columns:minmax(0,1fr)}.bp-desk{position:static}.bp-desk-body{display:grid;grid-template-columns:minmax(220px,1fr) minmax(280px,1.4fr);column-gap:25px}.bp-desk-body>.bp-caption,.bp-desk-body>.bp-pair-choices{grid-column:1}.bp-desk-body>.bp-caption{grid-row:1}.bp-desk-body>.bp-pair-choices{grid-row:2 / span 2;align-self:start}.bp-desk-body>.bp-comparison{grid-column:2;grid-row:1 / span 2;margin-top:0}.bp-desk-body>.bp-note,.bp-desk-body>.bp-pair-evidence,.bp-desk-body>.bp-notice,.bp-desk-body>.bp-desk-actions,.bp-desk-body>.bp-room-links{grid-column:2}.bp-desk-body>.bp-empty{grid-column:2;grid-row:1 / span 3;margin:0}.bp-connections-layout{grid-template-columns:minmax(0,1fr)}.bp-connection-aside{display:none}.bp-page-intro{align-items:flex-start}.bp-page-intro>div{max-width:52%}.bp-history-head,.bp-history-row{grid-template-columns:85px minmax(0,1fr) 50px 102px 14px;gap:10px}}
@media(max-width:760px){.bp-page-intro{display:block}.bp-page-intro>div{max-width:none;justify-content:flex-start;margin-top:14px}.bp-updated{margin-right:auto}.bp-tabs{gap:21px}.bp-history-head{display:none}.bp-history-row{grid-template-columns:78px minmax(0,1fr) 90px 13px;gap:9px}.bp-history-format{display:none}.bp-desk-body{display:block}.bp-desk-body>.bp-comparison{margin-top:20px}.bp-pair-choices{max-width:none}.bp-desk-body>.bp-empty{margin-top:20px}.bp-connection-row{grid-template-columns:minmax(130px,1fr) 83px auto}.bp-connection-points{display:none}}
@media(max-width:560px){.battles-page{font-size:14px}.battles-page input,.battles-page select,.battles-page textarea{font-size:16px;min-height:43px}.bp-page-intro>p{font-size:13px}.bp-updated{font-size:10px}.bp-page-intro>div{gap:7px}.bp-page-intro .bp-button{font-size:11px;padding:8px 10px}.bp-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:20px}.bp-tabs>button{font-size:11px;white-space:normal;text-align:left;min-height:49px;line-height:1.3;padding-bottom:12px}.bp-tab-count{font-size:9px;margin-left:3px}.bp-section-top{margin-bottom:15px}.battles-page .bp-section-top h2{font-size:18px}.bp-section-top p{font-size:12px}.bp-section-top>span{font-size:10px}.bp-filters{gap:10px}.bp-filters>label.bp-search{flex-basis:100%}.bp-filters>label{min-width:100px}.bp-filter-note{font-size:10px;flex-wrap:wrap;gap:6px}.bp-list-labels{display:none}.bp-creator-row{grid-template-columns:minmax(0,1fr) 82px;gap:8px;min-height:106px;padding:13px 12px}.bp-creator-row>.bp-identity{grid-column:1;grid-row:1}.bp-creator-row>.bp-presence{grid-column:1;grid-row:2;padding-left:48px;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.bp-creator-row>.bp-presence>small{margin-top:0}.bp-creator-row>.bp-button{grid-column:2;grid-row:1 / span 2;min-height:41px;font-size:11px}.bp-roster-score{display:none}.bp-name,.bp-identity-copy>strong{font-size:13px}.bp-identity-copy>small{font-size:10px}.bp-desk-body{padding:16px}.bp-desk-head{padding:15px 16px}.bp-desk-head h2{font-size:15px}.bp-pair-slot label{font-size:11px}.bp-pair-slot select{font-size:16px}.bp-comparison{font-size:12px}.bp-comparison th{font-size:11px}.bp-desk-actions>.bp-button{min-height:44px;font-size:13px}.bp-room-links>.bp-text-button{min-height:38px;font-size:12px}.bp-context-strip{gap:11px}.bp-context-strip>label{width:100%}.bp-pills{margin-left:0}.bp-history-row{grid-template-columns:minmax(0,1fr) 14px;padding:14px}.bp-history-row>time{grid-column:1;display:flex;gap:7px;align-items:center;font-size:11px}.bp-history-row>time small{font-size:10px;margin:0}.bp-score-match{grid-column:1;grid-row:2;gap:6px}.bp-score-person{font-size:11px;gap:5px}.bp-history-row>.bp-tag{grid-column:1;grid-row:3;font-size:9px}.bp-history-row>svg{grid-column:2;grid-row:1 / span 3}.bp-battle-detail{padding:15px}.bp-pagination{flex-wrap:wrap;padding:13px;gap:10px}.bp-pagination .bp-button{min-height:39px}.bp-graph{height:390px}.bp-graph-node{width:75px;padding:7px 4px}.bp-graph-node strong{font-size:10px}.bp-graph-node small{font-size:8px}.bp-graph-node .bp-avatar{width:28px;height:28px}.bp-graph-legend{font-size:10px;padding:12px;gap:8px}.bp-connection-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:15px}.bp-connection-row>.bp-identity{grid-column:1/-1}.bp-connection-row>.bp-button{grid-column:2}.bp-edge-detail{padding:12px;margin:0 12px 12px}.bp-edge-scroll{max-height:250px}.bp-modal-head,.bp-modal-body{padding:18px}.bp-modal-fields{grid-template-columns:1fr}.bp-modal-fields .bp-wide{grid-column:auto}.bp-modal-actions>.bp-button{min-height:43px}.bp-icon-button{min-height:39px;min-width:39px}.bp-page-foot{font-size:10px;gap:8px}.bp-page-foot>span:first-child{max-width:100%}.bp-person-context dl{grid-template-columns:1fr}.bp-toast{bottom:14px}}
.battles-page button.bp-name{color:var(--bp-ink);background:transparent;border:0}.battles-page button.bp-text-button{color:var(--bp-gold);background:transparent;border:0}.battles-page button.bp-icon-button{color:var(--bp-muted);background:transparent;border:0}.battles-page button.bp-connection-link,.battles-page .bp-desk-footer>button{color:var(--bp-ink);background:transparent}.battles-page button.bp-graph-node{color:var(--bp-ink);background:var(--bp-surface)}.battles-page .bp-tabs>button{background:transparent;color:var(--bp-muted)}.battles-page .bp-tabs>button[aria-selected=true]{color:var(--bp-gold)}.battles-page .bp-pills>button{color:var(--bp-muted);background:var(--bp-surface)}.battles-page .bp-pills>button[aria-pressed=true]{color:var(--bp-gold);background:var(--bp-gold-soft)}
@media(prefers-reduced-motion:reduce){.battles-page *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.battles-page .bp-desk-column{min-width:0}.battles-page .bp-desk-column>.bp-desk{position:static}.bp-watch-dock{border:1px solid var(--bp-line);border-radius:11px;background:var(--bp-surface);margin-top:18px;overflow:hidden}.bp-watch-dock>header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px;border-bottom:1px solid var(--bp-line)}.bp-watch-dock>header h2{font-size:15px}.bp-watch-dock>header p{font-size:11px;color:var(--bp-muted);margin-top:3px}.bp-watch-body{padding:14px 15px}.bp-watch-picker{display:flex;align-items:end;gap:8px}.bp-watch-picker>label{flex:1;min-width:0;font-size:11px}.bp-watch-picker select{font-size:12px}.bp-watch-picker>.bp-button{flex:none;min-height:39px;padding:8px}.bp-watch-picker>.bp-button>span{font-size:11px}.bp-watch-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.bp-watch-actions>.bp-text-button{font-size:11px}.bp-watch-body>.bp-note{font-size:10px;margin-bottom:0!important}.bp-watch-empty{border-top:1px solid var(--bp-line);padding:20px 18px;background:var(--bp-subtle);text-align:center;font-size:11px;color:var(--bp-muted);line-height:1.7}.bp-live-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 10px 11px}.bp-live-grid[data-count="1"]{grid-template-columns:minmax(0,1fr)}.bp-live-feed{min-width:0;border:1px solid var(--bp-line);border-radius:8px;overflow:hidden;background:var(--bp-surface)}.bp-live-feed>header{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:5px 6px 5px 9px;min-height:37px}.bp-live-feed>header>strong{font-size:11px;overflow-wrap:anywhere;min-width:0}.battles-page .bp-live-feed .bp-icon-button{min-width:27px;min-height:27px;padding:4px}.bp-live-video{position:relative;aspect-ratio:9/16;max-height:300px;background:#101318;overflow:hidden}.bp-live-video>video{width:100%;height:100%;object-fit:contain;display:block;background:#101318}.bp-video-placeholder,.bp-video-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:15px;color:#f5f5f5;font-size:12px;line-height:1.5}.bp-video-overlay{pointer-events:none;background:#10131899;padding-bottom:36px}.bp-video-placeholder small,.bp-video-overlay small{color:#bfc6d0;font-size:10px}.bp-feed-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:3px 7px;padding:7px 8px;font-size:9px;color:var(--bp-muted)}.bp-feed-tools>.bp-text-button{font-size:10px;min-height:25px}.bp-feed-tools>span{font-size:9px}.bp-edge-inline{display:none}.bp-connection-aside>.bp-edge-detail{margin:0;padding:0;border:0}.bp-connection-aside .bp-edge-scroll{max-height:310px}.bp-connection-aside .bp-edge-scroll th,.bp-connection-aside .bp-edge-scroll td{font-size:10px;padding:8px 3px}.bp-connection-aside>.bp-edge-detail>header>strong{font-size:12px}.bp-connection-aside>.bp-edge-detail>p{font-size:10px}
@media(max-width:1100px){.bp-edge-inline{display:block}.bp-live-grid{gap:13px;padding:0 15px 15px}.bp-live-video{max-height:360px}.bp-watch-picker>label{max-width:360px}.bp-watch-picker>.bp-button{padding-inline:15px}.bp-watch-actions{justify-content:flex-start;gap:24px}.bp-watch-body>.bp-note{font-size:11px}.bp-live-feed>header>strong{font-size:12px}.bp-feed-tools{font-size:11px}.bp-feed-tools>.bp-text-button{font-size:11px}}
@media(max-width:560px){.battles-page .bp-watch-picker select{font-size:16px}.bp-live-grid{padding:0 10px 10px;gap:8px}.bp-live-video{max-height:300px}.bp-live-feed>header>strong{font-size:11px}.bp-watch-actions{justify-content:space-between;gap:10px}.bp-watch-actions>.bp-text-button{min-height:36px}.bp-feed-tools{padding:5px 7px}.bp-feed-tools>span{flex-basis:100%}.bp-feed-tools>.bp-text-button{min-height:31px}.bp-video-placeholder,.bp-video-overlay{padding-inline:9px;font-size:11px}.bp-video-placeholder small,.bp-video-overlay small{font-size:9px}.battles-page .bp-live-feed .bp-icon-button{min-width:32px;min-height:32px}}

/* Keep neutral controls readable despite the portal's global dark button rule. */
.battles-page{color-scheme:light;--bp-primary-ink:#fff}.dark .battles-page{color-scheme:dark;--bp-primary-ink:#20180a}
.battles-page button.bp-history-row{color:var(--bp-ink);background:transparent}.battles-page button.bp-history-row:hover{background:var(--bp-subtle)}
.battles-page button.bp-button{color:var(--bp-primary-ink);background:var(--bp-gold)}.battles-page button.bp-button.bp-secondary{color:var(--bp-ink);background:var(--bp-surface)}.battles-page button.bp-button.bp-soft{color:var(--bp-gold);background:var(--bp-gold-soft)}
.battles-page select option,.battles-page select optgroup{color:var(--bp-ink);background:var(--bp-surface)}.battles-page input::placeholder,.battles-page textarea::placeholder{color:var(--bp-muted);opacity:1}
.battles-page .bp-modal{color:var(--bp-ink);background:var(--bp-surface)}

/* Portal hover rules must not paint neutral controls as primary actions. */
.battles-page button.bp-name:is(:hover,:focus-visible,:active):not(:disabled),.battles-page button.bp-connection-link:is(:hover,:focus-visible,:active):not(:disabled),.battles-page .bp-desk-footer>button:is(:hover,:focus-visible,:active):not(:disabled){background:transparent;color:var(--bp-ink)}
.battles-page button.bp-text-button:is(:hover,:focus-visible,:active):not(:disabled){background:transparent;color:var(--bp-gold)}
.battles-page button.bp-icon-button:is(:hover,:focus-visible,:active):not(:disabled){background:var(--bp-subtle);color:var(--bp-ink)}
.battles-page button.bp-history-row:is(:hover,:focus-visible,:active):not(:disabled){background:var(--bp-subtle);color:var(--bp-ink)}
.battles-page button.bp-graph-node:is(:hover,:focus-visible,:active):not(:disabled){background:var(--bp-subtle);color:var(--bp-ink)}
.battles-page .bp-tabs>button:is(:hover,:focus-visible,:active):not(:disabled){background:transparent;color:var(--bp-gold)}
.battles-page .bp-pills>button:is(:hover,:focus-visible,:active):not(:disabled){background:var(--bp-gold-soft);color:var(--bp-gold)}
.battles-page button.bp-button:is(:hover,:focus-visible,:active):not(:disabled){background:var(--bp-gold);color:var(--bp-primary-ink)}
.battles-page button.bp-button.bp-secondary:is(:hover,:focus-visible,:active):not(:disabled){background:var(--bp-subtle);color:var(--bp-ink)}
.battles-page button.bp-button.bp-soft:is(:hover,:focus-visible,:active):not(:disabled){background:var(--bp-gold-soft);color:var(--bp-gold)}

.bp-mobile-metric-label{display:none}.bp-block{display:block;margin-top:4px}
@media(max-width:560px){.bp-creator-row>.bp-roster-score{display:block;grid-column:1;grid-row:2;padding-left:48px;font-size:12px}.bp-roster-score>.bp-mobile-metric-label{display:inline;color:var(--bp-muted);font-size:10px}.bp-roster-score>small{margin-top:2px}.bp-creator-row>.bp-presence{grid-row:3}.bp-creator-row>.bp-button{grid-row:1 / span 3}}

/* Keep both live metrics together on wide and narrow rosters. */
.bp-live-roster .bp-list-labels,.bp-live-roster .bp-creator-row{grid-template-columns:minmax(135px,1fr) 102px 170px 83px}
.bp-roster-metrics,.bp-roster-metric-head{display:grid;grid-template-columns:minmax(0,1fr) 70px;gap:12px;align-items:start;min-width:0}.bp-win-streak{color:var(--bp-ink)}.bp-win-streak.bp-streak-positive{color:var(--bp-green)}
@media(min-width:561px) and (max-width:1250px){.bp-live-roster .bp-list-labels,.bp-live-roster .bp-creator-row{grid-template-columns:minmax(115px,1fr) 91px 155px 76px}.bp-roster-metrics,.bp-roster-metric-head{grid-template-columns:minmax(0,1fr) 64px;gap:8px}}
@media(max-width:560px){.bp-live-roster .bp-creator-row{grid-template-columns:minmax(0,1fr) 82px}.bp-live-roster .bp-roster-metrics{grid-column:1/-1;grid-row:2;padding-left:48px;grid-template-columns:minmax(0,1fr) minmax(70px,.7fr);gap:12px}.bp-live-roster .bp-roster-score{display:block;font-size:12px}.bp-live-roster .bp-roster-score>.bp-mobile-metric-label,.bp-win-streak>.bp-mobile-metric-label{display:block;margin-bottom:2px;color:var(--bp-muted);font-size:10px}.bp-live-roster .bp-creator-row>.bp-presence{grid-column:1/-1;grid-row:3}.bp-live-roster .bp-creator-row>.bp-button{grid-row:1}.bp-win-streak{font-size:12px}}

.bp-live-filters{max-width:520px}.bp-live-roster .bp-creator-row>.bp-text-button{font-size:11px;justify-content:center;min-height:36px;flex-wrap:wrap}
@media(max-width:560px){.bp-live-roster .bp-creator-row>.bp-text-button{grid-column:2;grid-row:1;min-height:43px;text-align:center}}

.creator-management{--cm-green:#306344;--cm-green-bg:#edf5ef;--cm-warning:#856020;--cm-warning-bg:#faf1df;--cm-error:#ab403a;--cm-gold:var(--primary);display:grid;gap:22px;max-width:1240px;margin:0 auto;color:var(--foreground);font-size:14px;line-height:1.5;min-width:0}
.dark .creator-management{--cm-green:#a9d9b5;--cm-green-bg:#20352a;--cm-warning:#e9c782;--cm-warning-bg:#372e1e;--cm-error:#f0a29b}
.creator-management *{box-sizing:border-box}.creator-management h2,.creator-management h3,.creator-management p{margin:0}.creator-management button,.creator-management input,.creator-management textarea,.creator-management select{font:inherit}.creator-management button{cursor:pointer}.creator-management button:disabled{cursor:default;opacity:.55}.creator-management :is(button,input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),a):focus-visible{outline:2px solid var(--ring);outline-offset:3px}.creator-management h3:focus{outline:none}.creator-management a{color:inherit;text-decoration:none}.creator-management a:hover{text-decoration:underline;text-underline-offset:3px}.cm-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cm-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.cm-eyebrow{display:flex;align-items:center;gap:12px;color:var(--muted-foreground);font-size:10px;font-weight:600;letter-spacing:1.6px;margin-bottom:7px}.cm-eyebrow>span{display:inline-flex;align-items:center;gap:5px;color:var(--accent-foreground);background:var(--accent);border-radius:20px;padding:3px 8px;letter-spacing:0;font-size:10px}.cm-heading h2{font-size:29px;font-weight:600;letter-spacing:-.75px;line-height:1.2}.cm-heading p{margin-top:8px;color:var(--muted-foreground);font-size:13px}.creator-management .cm-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:10px 16px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--foreground);font-size:12px;font-weight:600;white-space:nowrap;box-shadow:none}.creator-management .cm-button:hover:not(:disabled){background:var(--muted);border-color:var(--input)}.creator-management .cm-primary{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.creator-management .cm-primary:hover:not(:disabled){background:var(--primary);filter:brightness(1.1);border-color:var(--primary)}.creator-management .cm-wide{width:100%}.creator-management .cm-text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:4px 0;background:none;border:0;color:var(--primary);font-size:12px;font-weight:500;box-shadow:none;white-space:nowrap}.creator-management .cm-text-button:hover:not(:disabled){text-decoration:underline;text-underline-offset:3px;background:none}
.cm-callout,.cm-message{display:flex;align-items:flex-start;gap:10px;border-radius:9px;padding:13px 16px;font-size:12px;line-height:1.6;background:var(--muted);border:1px solid var(--border)}.cm-callout svg,.cm-message svg{flex:none;margin-top:2px}.cm-message>span:first-of-type{flex:1}.cm-message>button{border:0;background:none;padding:0;color:inherit;text-decoration:underline;white-space:nowrap}.cm-error{color:var(--cm-error);border-color:color-mix(in srgb,var(--cm-error) 25%,var(--border));background:color-mix(in srgb,var(--cm-error) 5%,var(--card));flex-wrap:wrap}.cm-success{color:var(--cm-green);border-color:color-mix(in srgb,var(--cm-green) 20%,var(--border));background:var(--cm-green-bg)}.creator-management .cm-dismiss{display:grid;place-items:center;min-width:25px;min-height:25px;margin:-4px -4px -4px 0;text-decoration:none}.cm-inline-error{font-size:12px;color:var(--cm-error);line-height:1.5;max-width:300px;margin-top:9px!important}.cm-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:90px 20px;color:var(--muted-foreground);font-size:13px}.cm-spin{animation:cm-spin .8s linear infinite}@keyframes cm-spin{to{transform:rotate(360deg)}}
.cm-enrollment{border:1px solid var(--border);border-radius:16px;background:var(--card);overflow:hidden;box-shadow:0 3px 12px #00000003}.cm-enrollment-top{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 28px;border-bottom:1px solid var(--border)}.cm-enrollment-top>span{display:flex;align-items:center;gap:8px;color:var(--primary);font-size:10px;letter-spacing:1.3px;font-weight:600}.cm-enrollment-top .cm-text-button{color:var(--muted-foreground)}.cm-steps{display:flex;justify-content:center;align-items:center;list-style:none;margin:0;padding:25px 24px 18px;gap:32px}.cm-steps li{display:flex;gap:8px;align-items:center;position:relative;color:var(--muted-foreground);font-size:11px;white-space:nowrap}.cm-steps li>span{display:grid;place-items:center;border:1px solid var(--border);border-radius:50%;width:23px;height:23px;font-size:10px;background:var(--background)}.cm-steps li+li:before{content:'';position:absolute;left:-24px;top:11px;width:16px;height:1px;background:var(--border)}.cm-steps li[data-current=true]{color:var(--primary);font-weight:600}.cm-steps li[data-current=true]>span{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.cm-steps li[data-complete=true]>span{background:var(--accent);color:var(--accent-foreground);border-color:var(--accent)}
.cm-entry-content{display:grid;grid-template-columns:1fr 1fr;gap:50px;padding:26px 46px 42px}.cm-entry-copy{padding:10px 0}.cm-hero-icon{display:grid;place-items:center;background:var(--accent);color:var(--accent-foreground);border:1px solid color-mix(in srgb,var(--primary) 12%,var(--border));width:54px;height:54px;border-radius:15px;margin-bottom:23px}.cm-entry-copy h3{font-size:30px;line-height:1.24;font-weight:600;letter-spacing:-.8px;max-width:340px}.cm-entry-copy>p{font-size:13px;line-height:1.8;color:var(--muted-foreground);max-width:365px;margin-top:15px}.cm-benefits{list-style:none;margin:25px 0;padding:0;display:grid;gap:13px;font-size:12px}.cm-benefits li{display:flex;gap:9px;align-items:center}.cm-benefits svg{flex:none;color:var(--primary)}.cm-tip{display:flex;gap:10px;border-top:1px solid var(--border);padding-top:20px;color:var(--muted-foreground);font-size:11px;line-height:1.7;max-width:365px}.cm-tip svg{flex:none;color:var(--primary);margin-top:2px}.cm-entry-form{display:flex;flex-direction:column;align-self:start;border:1px solid var(--border);border-radius:12px;padding:22px;background:var(--background)}.cm-entry-form>label{font-weight:600;font-size:12px}.cm-entry-form>p:first-of-type{color:var(--muted-foreground);font-size:11px;line-height:1.6;margin-top:5px;margin-bottom:14px}.creator-management .cm-entry-form textarea{resize:vertical;min-height:190px;max-height:500px;width:100%;border:1px solid var(--input);border-radius:8px;background:var(--card);color:var(--foreground);padding:14px 15px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.95;box-shadow:0 1px 2px #00000003}.cm-entry-form textarea::placeholder{color:var(--muted-foreground);opacity:.65}.cm-input-meta{display:flex;flex-wrap:wrap;gap:4px;justify-content:space-between;color:var(--muted-foreground);font-size:10px;margin:9px 0 20px}.cm-entry-form .cm-inline-error{margin:0 0 12px!important}.cm-entry-form .cm-form-note{text-align:center;color:var(--muted-foreground);font-size:10px;line-height:1.65;margin-top:12px}
.cm-review-content{padding:15px 28px 26px}.cm-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.cm-section-heading h3{font-size:23px;font-weight:600;letter-spacing:-.5px}.cm-section-heading p{font-size:12px;color:var(--muted-foreground);margin-top:7px}.cm-review-summary{display:flex;gap:15px;flex-wrap:wrap;margin-bottom:14px;font-size:11px;color:var(--muted-foreground)}.cm-review-summary>span{display:flex;gap:5px;align-items:center}.cm-review-summary>span:first-child{color:var(--cm-green)}.cm-review-table-wrap{border:1px solid var(--border);border-radius:10px;overflow:auto;max-height:480px}.creator-management .cm-table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}.creator-management .cm-table thead th{background:var(--muted);color:var(--muted-foreground);font-size:10px;font-weight:500;letter-spacing:.2px;padding:12px 19px;border-bottom:1px solid var(--border);white-space:nowrap}.creator-management .cm-table tbody th,.creator-management .cm-table tbody td{padding:17px 19px;border-bottom:1px solid var(--border);vertical-align:middle;font-weight:400;text-align:left}.creator-management .cm-table tbody tr:last-child>th,.creator-management .cm-table tbody tr:last-child>td{border-bottom:0}.cm-identity{display:flex;gap:11px;align-items:center;min-width:0}.cm-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid var(--border);border-radius:50%;overflow:hidden;background:var(--secondary);color:var(--secondary-foreground);font-size:15px;font-weight:500}.cm-avatar img{width:100%;height:100%;object-fit:cover}.cm-identity>span:last-child{min-width:0}.cm-identity strong,.cm-identity a{font-weight:500;display:block;font-size:13px;overflow-wrap:anywhere}.cm-identity small{display:block;color:var(--muted-foreground);font-size:11px;margin-top:2px;overflow-wrap:anywhere}.creator-management .cm-table .cm-check-cell{width:45px;padding-right:0;padding-left:18px}.cm-check-cell input{appearance:auto;accent-color:var(--primary);width:15px;height:15px;cursor:pointer;margin:0;vertical-align:middle}.cm-check-cell input:disabled{cursor:default;opacity:.4}.cm-review-table tbody th{width:40%}.cm-review-table tr[data-selectable=false] .cm-identity{opacity:.7}.cm-review-label{display:inline-flex;align-items:center;gap:6px;font-weight:500;font-size:11px;padding:3px 7px;border-radius:5px;background:var(--muted);color:var(--muted-foreground);max-width:100%;overflow-wrap:anywhere}.cm-review-label svg{flex:none}.cm-review-label[data-tone=ready]{color:var(--cm-green);background:var(--cm-green-bg)}.cm-review-label[data-tone=warning]{color:var(--cm-warning);background:var(--cm-warning-bg)}.cm-review-label[data-tone=error]{color:var(--cm-error);background:color-mix(in srgb,var(--cm-error) 8%,var(--card))}.cm-review-detail{display:block;line-height:1.6;margin-top:5px;font-size:10px;color:var(--muted-foreground)}.cm-enrollment-footer{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-top:21px}.cm-enrollment-footer>p{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.7;color:var(--muted-foreground);max-width:410px}.cm-enrollment-footer>p svg{flex:none;margin-top:2px}.cm-review-content>.cm-message{margin-top:17px}.cm-review-content>.cm-message>span{flex-basis:100%}
.cm-done{padding:24px 35px 38px;text-align:center}.cm-complete-icon{display:grid;place-items:center;margin:0 auto 17px;width:62px;height:62px;background:var(--cm-green-bg);color:var(--cm-green);border-radius:50%}.cm-done h3{font-size:25px;line-height:1.3;letter-spacing:-.5px;font-weight:600}.cm-done>p{max-width:520px;margin:13px auto 23px;font-size:12px;color:var(--muted-foreground);line-height:1.8}.cm-results{list-style:none;margin:0 auto 25px;padding:0;max-width:630px;border:1px solid var(--border);border-radius:9px;overflow:auto;max-height:340px;text-align:left}.cm-results li{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:13px 17px;font-size:11px}.cm-results li+li{border-top:1px solid var(--border)}.cm-results li>span:first-child{display:flex;align-items:center;gap:7px;min-width:0}.cm-results strong{font-weight:500;overflow-wrap:anywhere}.cm-results svg{flex:none;color:var(--primary)}.cm-results li>span:last-child{color:var(--muted-foreground);max-width:60%;line-height:1.6}.cm-done-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.cm-setup-invitation{display:flex;gap:15px;align-items:center;padding:17px 20px;border:1px solid var(--border);border-radius:11px;background:var(--card)}.cm-setup-invitation-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--accent);color:var(--accent-foreground);flex:none}.cm-setup-invitation>div:nth-child(2){flex:1}.cm-setup-invitation strong{font-size:13px;font-weight:500}.cm-setup-invitation p{margin-top:3px;font-size:11px;color:var(--muted-foreground)}.cm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--border);border-radius:12px;background:var(--card)}.cm-stats>div{padding:18px 22px}.cm-stats>div+div{border-left:1px solid var(--border)}.cm-stats span{display:flex;align-items:center;gap:7px;color:var(--muted-foreground);font-size:11px}.cm-stats strong{display:block;font-size:27px;font-weight:500;letter-spacing:-.7px;margin-top:5px;font-variant-numeric:tabular-nums}.cm-roster-panel{border:1px solid var(--border);border-radius:12px;background:var(--card);overflow:hidden}.cm-filters{display:flex;align-items:flex-end;gap:15px;padding:20px 21px 13px}.cm-search{display:flex;align-items:center;gap:9px;flex:1;position:relative;min-width:150px}.cm-search>svg{position:absolute;left:12px;color:var(--muted-foreground);pointer-events:none}.creator-management .cm-search input{width:100%;height:39px;background:var(--card);color:var(--foreground);border:1px solid var(--input);border-radius:7px;padding:8px 12px 8px 36px;font-size:12px}.cm-search input::placeholder{color:var(--muted-foreground)}.cm-select{display:grid;gap:5px;min-width:155px}.cm-select>span{color:var(--muted-foreground);font-size:10px}.creator-management .cm-select select{width:100%;min-height:39px;padding:7px 26px 7px 11px;border:1px solid var(--input);border-radius:7px;background:var(--card);color:var(--foreground);font-size:11px;cursor:pointer}.cm-select:last-child{min-width:130px}.cm-roster-description{display:flex;align-items:center;gap:15px;padding:0 22px 16px;color:var(--muted-foreground);font-size:10px}.cm-roster-description>span:nth-child(2){display:flex;gap:5px;align-items:center;margin-left:auto}.cm-roster-description .cm-text-button{min-height:0;font-size:10px}.cm-roster-table-wrap{overflow:auto}.creator-management .cm-roster-table thead th:first-child,.creator-management .cm-roster-table tbody th{padding-left:23px}.cm-roster-table tbody th{width:43%}.cm-roster-table td:last-child{width:24%;min-width:160px}.cm-manager-name{display:flex;align-items:center;gap:7px;font-size:12px;overflow-wrap:anywhere}.cm-you{display:inline-flex;align-items:center;font-size:9px;font-weight:500;background:var(--accent);color:var(--accent-foreground);border-radius:4px;padding:1px 5px}.cm-manager-caption{display:block;color:var(--muted-foreground);font-size:10px;margin-top:4px}.cm-polling-control{display:flex;align-items:center;gap:9px;min-height:27px;font-size:11px}.creator-management .cm-switch{display:inline-flex;align-items:center;width:35px;min-width:35px;height:21px;min-height:21px;padding:2px;border:1px solid var(--input);border-radius:16px;background:var(--input);transition:background .16s;box-shadow:none;flex:none}.creator-management .cm-switch>span{display:grid;place-items:center;height:15px;width:15px;background:#fff;border-radius:50%;color:var(--primary);box-shadow:0 1px 2px #0002;transition:transform .16s}.creator-management .cm-switch[aria-checked=true]{background:var(--primary);border-color:var(--primary)}.creator-management .cm-switch[aria-checked=true]>span{transform:translateX(13px)}.creator-management .cm-switch:disabled{opacity:.7}.cm-polling-status{display:inline-flex;gap:7px;align-items:center;color:var(--muted-foreground)}.cm-polling-status>span{width:6px;height:6px;border-radius:50%;background:var(--muted-foreground);opacity:.6}.cm-polling-status[data-enabled=true]{color:var(--cm-green)}.cm-polling-status[data-enabled=true]>span{background:var(--cm-green);opacity:1}.cm-read-only{display:inline-flex;gap:4px;align-items:center;color:var(--muted-foreground);font-size:9px;margin-left:3px}.cm-history-note{display:flex;gap:9px;align-items:flex-start;color:var(--muted-foreground);font-size:11px;line-height:1.75;padding:0 3px}.cm-history-note>svg{flex:none;margin-top:2px;color:var(--primary)}.cm-empty{display:flex;align-items:center;flex-direction:column;text-align:center;padding:50px 22px 56px;border-top:1px solid var(--border)}.cm-empty>svg{color:var(--primary);margin-bottom:15px}.cm-empty h3{font-size:17px;font-weight:500}.cm-empty p{color:var(--muted-foreground);font-size:12px;margin:7px 0 19px;max-width:390px;line-height:1.7}
@media(min-width:1000px){.cm-entry-content{grid-template-columns:1fr 1fr;gap:70px;padding:28px 54px 44px}.cm-entry-form{max-width:450px;justify-self:end;width:100%}}
@media(max-width:760px){.creator-management{gap:17px}.cm-heading h2{font-size:25px}.cm-heading p{max-width:360px;font-size:12px}.cm-heading{align-items:flex-start}.cm-heading>.cm-button{margin-top:12px}.cm-entry-content{gap:25px;padding:19px 25px 28px}.cm-entry-copy h3{font-size:25px}.cm-entry-copy>p{font-size:12px}.cm-benefits{font-size:11px;gap:10px;margin:20px 0}.cm-entry-form{padding:17px}.cm-input-meta{font-size:9px}.cm-entry-copy .cm-tip{font-size:10px}.cm-filters{gap:10px;padding:17px 17px 13px;flex-wrap:wrap}.cm-search{flex-basis:100%;margin-bottom:2px}.cm-select{min-width:0;flex:1}.cm-select:last-child{min-width:0}.cm-roster-description{padding:0 17px 14px;gap:9px}.cm-enrollment-footer{gap:17px}.cm-review-content{padding:15px 22px 22px}.cm-review-table{min-width:480px}.cm-roster-table td:last-child{min-width:130px}.cm-polling-control{gap:7px;flex-wrap:wrap}.cm-read-only{font-size:9px}.cm-roster-table tbody th{width:40%}.cm-stats>div{padding:15px 18px}.cm-stats strong{font-size:25px}.cm-setup-invitation{flex-wrap:wrap}.cm-setup-invitation>.cm-text-button{margin-left:53px}.cm-setup-invitation>div:nth-child(2){min-width:200px}}
@media(max-width:540px){.cm-heading{gap:10px}.cm-heading h2{font-size:24px}.cm-heading p{max-width:230px;line-height:1.6}.cm-heading .cm-button{padding:9px 11px;min-height:37px;font-size:11px;gap:4px}.cm-eyebrow{font-size:9px;letter-spacing:1.2px;flex-wrap:wrap;gap:5px}.cm-enrollment{border-radius:12px}.cm-enrollment-top{padding:11px 17px}.cm-enrollment-top>span{font-size:9px}.cm-steps{gap:19px;padding:20px 12px 14px}.cm-steps li{font-size:9px;gap:5px}.cm-steps li>span{width:20px;height:20px;font-size:9px}.cm-steps li+li:before{left:-14px;width:9px;top:10px}.cm-entry-content{display:flex;flex-direction:column;gap:18px;padding:12px 18px 22px}.cm-entry-copy{padding:0}.cm-hero-icon{width:43px;height:43px;border-radius:12px;margin-bottom:15px}.cm-entry-copy h3{font-size:27px;max-width:280px}.cm-entry-copy>p{margin-top:11px;max-width:100%}.cm-benefits{margin:17px 0 0;font-size:11px;gap:9px}.cm-benefits svg{width:15px;height:15px}.cm-entry-copy .cm-tip{display:none}.cm-entry-form{padding:16px}.creator-management .cm-entry-form textarea{min-height:150px;max-height:330px}.cm-input-meta{margin-bottom:16px}.cm-stats>div{padding:13px 12px}.cm-stats span{font-size:9px;gap:4px;line-height:1.4}.cm-stats span svg{width:12px;height:12px}.cm-stats strong{font-size:23px;margin-top:7px}.cm-roster-description{flex-wrap:wrap;font-size:9px}.cm-roster-description>span:nth-child(2){margin-left:0}.cm-roster-description>.cm-text-button{margin-left:auto}.creator-management .cm-roster-table thead{display:none}.creator-management .cm-roster-table,.creator-management .cm-roster-table tbody{display:block}.creator-management .cm-roster-table tr{display:grid;grid-template-columns:minmax(0,1fr) 110px;padding:17px;border-top:1px solid var(--border);gap:14px 12px}.creator-management .cm-roster-table tbody th{display:block;grid-column:1/-1;width:100%;padding:0;border:0}.creator-management .cm-roster-table tbody td{display:block;width:auto;min-width:0;padding:0;border:0}.cm-roster-table td:before{content:attr(data-label);display:block;color:var(--muted-foreground);font-size:9px;margin-bottom:5px}.cm-manager-name{font-size:11px}.cm-manager-caption{font-size:9px;margin-top:2px}.cm-roster-table .cm-avatar{height:36px;width:36px}.cm-polling-control{min-height:24px}.cm-read-only{margin-left:0}.cm-polling-control:has(.cm-read-only){gap:8px}.cm-polling-control .cm-inline-error{grid-column:1/-1}.cm-history-note{font-size:10px}.cm-review-content{padding:10px 16px 20px}.cm-section-heading{align-items:flex-start;gap:10px}.cm-section-heading h3{font-size:22px}.cm-section-heading p{font-size:11px;line-height:1.7}.cm-section-heading>.cm-text-button{font-size:10px}.cm-review-summary{gap:8px;font-size:10px}.cm-review-table{min-width:0}.creator-management .cm-review-table thead th{padding:10px;font-size:9px}.creator-management .cm-review-table tbody th,.creator-management .cm-review-table tbody td{padding:13px 10px}.creator-management .cm-review-table .cm-check-cell{width:28px;padding-left:10px;padding-right:0}.cm-review-table tbody th{width:45%}.cm-review-table .cm-identity{gap:7px;align-items:flex-start}.cm-review-table .cm-avatar{width:25px;height:25px;font-size:11px}.cm-review-table .cm-identity strong{font-size:11px}.cm-review-table .cm-identity small{font-size:9px}.cm-review-label{font-size:9px;line-height:1.6;padding:2px 5px;align-items:flex-start;gap:4px}.cm-review-label svg{width:11px;height:11px;margin-top:2px}.cm-review-detail{font-size:9px;line-height:1.6}.cm-enrollment-footer{flex-direction:column;align-items:stretch;padding-top:16px}.cm-enrollment-footer>p{font-size:10px}.cm-enrollment-footer>.cm-button{width:100%}.cm-done{padding:15px 18px 25px}.cm-done h3{font-size:23px}.cm-done>p{font-size:11px}.cm-results li{flex-direction:column;gap:5px;padding:11px 13px}.cm-results li>span:last-child{max-width:100%;padding-left:23px;font-size:10px}.cm-done-actions>.cm-button{width:100%}.cm-setup-invitation{padding:15px;gap:11px}.cm-setup-invitation>div:nth-child(2){min-width:150px}.cm-setup-invitation>.cm-text-button{margin-left:49px}.cm-setup-invitation strong{font-size:12px}.cm-setup-invitation p{font-size:10px}.cm-callout,.cm-message{padding:11px 13px;font-size:11px}.cm-empty{padding:36px 20px 40px}}
.cm-assignment{margin-top:5px}.creator-management .cm-assignment>.cm-text-button{min-height:23px;font-size:10px}.cm-assignment select{max-width:240px;width:100%;border:1px solid var(--input);border-radius:5px;padding:6px;background:var(--card);color:var(--foreground);font-size:11px}.cm-assignment>div{display:flex;gap:12px}.cm-assignment>div .cm-text-button{min-height:28px;font-size:10px}
.manager-supervisor-team{border:1px solid var(--border);border-radius:10px;padding:16px;margin:13px 0 20px;min-width:0}.manager-supervisor-team legend{padding:0 6px;font-size:13px;font-weight:600}.manager-supervisor-team>p{font-size:12px;color:var(--muted-foreground);line-height:1.7;margin:0 0 14px}.manager-supervisor-team>label{display:block;font-size:12px;margin:0 0 6px}.manager-supervisor-count{font-size:11px;color:var(--muted-foreground);margin:10px 0}.manager-supervisor-options{max-height:290px;overflow:auto;border:1px solid var(--border);border-radius:7px;margin-bottom:12px}.manager-supervisor-options .admin-creator-option{margin:0!important;padding:12px!important}.manager-supervisor-options .admin-creator-option+.admin-creator-option{border-top:1px solid var(--border)}.manager-supervisor-options .admin-creator-option small{overflow-wrap:anywhere}.manager-supervisor-options>p{font-size:12px;padding:13px;color:var(--muted-foreground);line-height:1.6;margin:0}.manager-supervisor-team>small,.manager-supervisor-status{font-size:11px;color:var(--muted-foreground);line-height:1.7}.manager-supervisor-status{margin:10px 0}
@media(prefers-reduced-motion:reduce){.cm-spin{animation:none}.creator-management .cm-switch,.creator-management .cm-switch>span{transition:none}}

.cm-analytics-heading{display:inline-flex;align-items:center;gap:6px}.creator-management .cm-analytics-help{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:var(--muted-foreground);padding:4px;min-height:26px;min-width:26px;cursor:help}.cm-analytics-help:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.cm-analytics-tooltip{max-width:min(350px,calc(100vw - 32px));padding:13px 15px;background:var(--popover,#252525);color:var(--popover-foreground,#fff);border:1px solid var(--border,#555);border-radius:8px;box-shadow:0 5px 20px #0003;font-size:12px;font-weight:400;line-height:1.65;text-transform:none;letter-spacing:normal}.cm-enrollment-analytics{margin:16px 0;padding:14px 16px;border:1px solid var(--border);border-radius:8px;background:var(--card)}.cm-enrollment-analytics>div{display:flex;align-items:center;gap:6px}.cm-enrollment-analytics label{display:flex;align-items:center;gap:9px;font-size:12px;cursor:pointer}.cm-enrollment-analytics input{accent-color:var(--primary);flex:none}.cm-enrollment-analytics p{font-size:11px;color:var(--muted-foreground);margin-top:7px;line-height:1.6}
.creator-management .cm-enrollment-analytics input[type=checkbox]{width:16px;min-width:16px;max-width:16px;height:16px;min-height:16px;padding:0;margin:0;flex:0 0 16px}.cm-enrollment-analytics label{flex:1;min-width:0;line-height:1.6}.cm-enrollment-analytics .cm-analytics-help{flex-shrink:0}

/* Bulk Analytics applies to all manageable creators, independent of roster filters. */
.cm-bulk-analytics{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;padding:12px 16px;margin:0 16px 14px;border:1px solid var(--border);border-radius:8px;background:var(--background)}
.cm-bulk-analytics>div:first-child{flex:1;min-width:190px}
.cm-bulk-analytics strong{font-size:13px;font-weight:500}
.cm-bulk-analytics p{font-size:12px;color:var(--muted-foreground);line-height:1.5;margin-top:3px}
.cm-bulk-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.creator-management .cm-bulk-actions .cm-button{min-height:44px;font-size:12px;padding:8px 12px}
.cm-bulk-analytics .cm-bulk-progress,.cm-bulk-error,.cm-bulk-failures{flex-basis:100%;font-size:12px;line-height:1.5}
.cm-bulk-error{color:var(--cm-error);overflow-wrap:anywhere}
.cm-bulk-failures summary{cursor:pointer;min-height:32px;color:var(--cm-error)}
.cm-bulk-failures ul{margin:0;padding:0;list-style:none;max-height:210px;overflow:auto}
.cm-bulk-failures li{display:flex;flex-wrap:wrap;gap:4px 10px;padding:6px 0;overflow-wrap:anywhere}
.cm-bulk-failures li+li{border-top:1px solid var(--border)}
.cm-bulk-failures li span{color:var(--muted-foreground)}
/* Compact roster rows; enrollment review keeps its separate layout. */
.creator-management .cm-roster-table thead th{padding:8px 16px;font-size:11px}
.creator-management .cm-roster-table tbody th,.creator-management .cm-roster-table tbody td{padding:8px 16px}
.creator-management .cm-roster-table thead th:first-child,.creator-management .cm-roster-table tbody th{padding-left:18px}
.cm-roster-table .cm-identity{gap:10px}
.cm-roster-table .cm-avatar{width:34px;height:34px}
.creator-management .cm-roster-table .cm-creator-profile{display:flex;flex-direction:column;justify-content:center;min-width:0;min-height:44px;font-size:14px;line-height:1.4}
.cm-roster-table .cm-creator-profile small{font-size:12px;line-height:1.4;margin-top:1px}
.cm-roster-table .cm-manager-name{font-size:13px;line-height:1.4;flex-wrap:wrap;gap:4px 6px}
.cm-roster-table .cm-manager-caption{font-size:11px;line-height:1.4;margin-top:1px}
.cm-roster-table .cm-you{font-size:10px}
.cm-roster-table .cm-polling-control{gap:7px;min-height:44px;font-size:12px}
.cm-roster-table .cm-read-only{font-size:11px;line-height:1.4}
.cm-roster-table .cm-assignment{margin-top:1px}
.creator-management .cm-roster-table .cm-assignment>.cm-text-button{font-size:12px;min-height:32px}
.creator-management .cm-roster-table .cm-switch{position:relative;justify-content:flex-start;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:6px;background:transparent}
.creator-management .cm-roster-table .cm-switch::before{content:'';position:absolute;left:4px;top:11px;width:36px;height:22px;border:1px solid var(--input);border-radius:16px;background:var(--input)}
.creator-management .cm-roster-table .cm-switch>span{position:relative;left:7px;z-index:1;width:16px;height:16px}
.creator-management .cm-roster-table .cm-switch[aria-checked=true]::before{background:var(--primary);border-color:var(--primary)}
.creator-management .cm-roster-table .cm-switch[aria-checked=true]>span{transform:translateX(14px)}
.cm-roster-table .cm-analytics-cell .cm-inline-error{margin-top:3px!important;overflow-wrap:anywhere}
@media(max-width:540px){
 .cm-bulk-analytics{margin:0 12px 12px;padding:10px 12px;gap:10px}
 .cm-bulk-analytics>div:first-child{min-width:0;flex-basis:100%}
 .cm-bulk-actions{width:100%}
 .creator-management .cm-bulk-actions .cm-button{flex:1;min-width:0;white-space:normal}
 .creator-management .cm-roster-table tr{grid-template-columns:minmax(0,1fr) 96px;grid-template-rows:auto auto;gap:2px 10px;padding:9px 12px}
 .creator-management .cm-roster-table tbody th{grid-column:1;grid-row:1;padding:0;width:auto;min-width:0}
 .creator-management .cm-roster-table tbody td{padding:0}
 .creator-management .cm-roster-table .cm-manager-cell{grid-column:1;grid-row:2;padding-left:44px;display:flex;align-items:baseline;flex-wrap:wrap;gap:1px 5px;min-width:0}
 .cm-roster-table .cm-manager-cell::before{display:none}
 .cm-roster-table .cm-manager-name{font-size:12px;gap:3px 5px}
 .cm-roster-table .cm-manager-caption{font-size:11px;margin:0}
 .cm-roster-table .cm-manager-caption::before{content:'· ';}
 .creator-management .cm-roster-table .cm-analytics-cell{grid-column:2;grid-row:1/span 2;align-self:center}
 .cm-roster-table .cm-analytics-cell::before{font-size:11px;line-height:1.4;margin-bottom:0}
 .cm-roster-table .cm-polling-control{gap:2px 5px;flex-wrap:wrap}
 .cm-roster-table .cm-polling-control:has(.cm-read-only){gap:4px;align-content:center}
 .cm-roster-table .cm-read-only{margin:0;width:100%}
 .cm-roster-table .cm-assignment{flex-basis:100%;min-width:0}
 .creator-management .cm-roster-table .cm-assignment .cm-text-button{min-height:44px;font-size:12px}
 .creator-management .cm-roster-table .cm-assignment select{min-height:44px;font-size:16px}
 .cm-roster-table .cm-assignment>div{flex-wrap:wrap;gap:3px 12px}
 .creator-management .cm-roster-table tr[data-assignment-open] .cm-manager-cell{grid-column:1/-1}
 .creator-management .cm-roster-table tr[data-assignment-open] .cm-analytics-cell{grid-row:1}
}

/* Keep the destructive action at the far right of each roster row. */
.creator-management .cm-roster-table .cm-delete-heading,.creator-management .cm-roster-table .cm-delete-cell{width:1%;min-width:104px;text-align:right;white-space:nowrap}
.creator-management .cm-delete-button,.creator-management .cm-button.cm-danger{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 12px;border:1px solid #b42318;border-radius:6px;background:#b42318;color:#fff;font-size:12px;cursor:pointer}
.creator-management .cm-delete-button:hover:not(:disabled),.creator-management .cm-button.cm-danger:hover:not(:disabled){background:#912018;border-color:#912018}
.creator-management .cm-delete-button:focus-visible,.creator-management .cm-button.cm-danger:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
.creator-management .cm-delete-button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:540px){
 .creator-management .cm-roster-table .cm-delete-cell{grid-column:2;grid-row:3;justify-self:end;align-self:center;width:auto;min-width:0}
 .creator-management .cm-roster-table .cm-delete-cell::before{display:none}
 .creator-management .cm-roster-table tr:has(.cm-delete-cell) .cm-sms-contact-cell{grid-column:1;min-width:0}
 .creator-management .cm-delete-button{padding:8px;gap:4px}
}
.cm-filters{flex-wrap:wrap}

.cm-archive-confirm{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:0 20px 16px;padding:16px;border:1px solid var(--border);border-radius:8px;background:var(--muted)}
.cm-archive-confirm>div:first-child{flex:1;min-width:200px}
.cm-archive-confirm p{margin:6px 0 0;color:var(--muted-foreground);font-size:13px;line-height:1.5}
.cm-archive-actions{display:flex;gap:8px}

.cm-history-dialog{color:var(--foreground);background:var(--card);border:1px solid var(--border);border-radius:14px;width:min(850px,calc(100vw - 32px));max-height:90dvh;margin:auto;padding:24px;box-shadow:0 20px 90px #0006;font-size:13px;line-height:1.6}.cm-history-dialog::backdrop{background:#0009}.cm-history-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.cm-history-dialog h3{font-size:22px;font-weight:600;margin:0}.cm-history-dialog p{margin:12px 0;color:var(--muted-foreground)}.cm-history-dialog>header p{margin:3px 0}.cm-history-account{overflow-wrap:anywhere}.cm-history-dialog strong{font-weight:500}.cm-history-records{max-height:320px;overflow:auto;border:1px solid var(--border);border-radius:8px}.cm-history-records .cm-table{font-size:11px}.cm-history-records .cm-table td,.cm-history-records .cm-table th{padding:11px;vertical-align:top}.cm-history-records small{display:block;color:var(--muted-foreground);margin-top:3px;overflow-wrap:anywhere}.cm-history-records details{margin-top:5px}.cm-history-records td:first-child{width:40px}.cm-history-records input,.cm-history-confirm input{appearance:auto;accent-color:var(--primary);width:16px;height:16px;flex:none}.cm-history-pagination{display:flex;justify-content:space-between;gap:12px;margin:12px 0}.cm-history-evidence{border:1px solid var(--border);border-radius:8px;padding:16px;display:grid;gap:9px;margin-top:12px}.cm-history-evidence legend{padding:0 5px;font-weight:500}.cm-history-evidence textarea,.cm-history-evidence>input{width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--foreground);padding:9px 10px;resize:vertical;font:inherit}.cm-history-confirm{display:flex;align-items:flex-start;gap:9px;margin-top:5px}.cm-history-confirm input{margin-top:3px}.cm-history-dialog>footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.cm-manager-caption>.cm-text-button{display:block;margin-top:4px}.cm-history-dialog .cm-message{margin:12px 0}@media(max-width:540px){.cm-history-dialog{padding:17px;width:calc(100vw - 20px);font-size:11px}.cm-history-dialog h3{font-size:19px}.cm-history-records .cm-table td,.cm-history-records .cm-table th{padding:8px}.cm-history-records .cm-table{font-size:10px}.cm-history-evidence{padding:10px}.cm-history-dialog>footer{flex-wrap:wrap}.cm-history-dialog>footer>.cm-button{flex:1}}
.creator-management .cm-history-records .cm-table{font-size:11px}.creator-management .cm-history-records .cm-table tbody td{padding:11px;vertical-align:top}@media(max-width:540px){.creator-management .cm-history-records .cm-table thead{display:none}.creator-management .cm-history-records .cm-table,.creator-management .cm-history-records .cm-table tbody{display:block}.creator-management .cm-history-records .cm-table tbody tr{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px 9px;padding:12px;border-bottom:1px solid var(--border)}.creator-management .cm-history-records .cm-table tbody tr:last-child{border-bottom:0}.creator-management .cm-history-records .cm-table tbody td{display:block;width:auto;padding:0;border:0;min-width:0}.creator-management .cm-history-records .cm-table tbody td:first-child{grid-row:1/3}.creator-management .cm-history-records .cm-table tbody td:last-child{grid-column:2}.cm-history-records input{margin:2px 0 0}}

.cm-enable-analytics{min-height:36px;padding:7px 10px;font-size:11px;white-space:normal;text-align:center}

/* Pair highlight backgrounds with legible foregrounds in both themes. */
.creator-management{--cm-highlight-bg:#eddfbf;--cm-highlight-text:#34260e;--cm-highlight-muted:#574223;--cm-selection-bg:#51370e;--cm-selection-text:#fff7e5}
.dark .creator-management{--cm-highlight-bg:#3d3221;--cm-highlight-text:#fff1d7;--cm-highlight-muted:#e0d0b4;--cm-selection-bg:#edd099;--cm-selection-text:#251907}
.creator-management ::selection{background:var(--cm-selection-bg);color:var(--cm-selection-text);text-shadow:none}
.creator-management .cm-review-table tbody tr:has(input:checked){background:var(--cm-highlight-bg);color:var(--cm-highlight-text)}
.creator-management .cm-review-table tbody tr:has(input:checked) :is(.cm-identity small,.cm-review-detail){color:var(--cm-highlight-muted)}
.creator-management .cm-enrollment-analytics:has(input:checked){background:var(--cm-highlight-bg);color:var(--cm-highlight-text)}
.creator-management .cm-enrollment-analytics:has(input:checked) :is(p,.cm-analytics-help){color:var(--cm-highlight-muted)}
.creator-management .cm-steps li[data-current=true]{color:var(--foreground)}
.creator-management .cm-steps li[data-current=true]>span{background:#c5a164;color:#17140e;border-color:#c5a164}
.creator-management select option:checked{background:var(--cm-highlight-bg);color:var(--cm-highlight-text)}
.creator-management .cm-review-table tbody th{position:static;background:transparent;color:inherit;white-space:normal}
.creator-management .cm-review-table tbody tr:has(input:checked)>:is(th,td){background:var(--cm-highlight-bg);color:var(--cm-highlight-text)}
.creator-management .cm-review-table tbody tr:has(input:checked) .cm-identity strong{color:var(--cm-highlight-text)}
.creator-management .cm-analytics-help:hover:not(:disabled){background:var(--cm-highlight-bg);color:var(--cm-highlight-text)}

.cm-refresh-status{margin:8px 0;color:var(--muted-foreground);font-size:12px}

.creator-sms{color:var(--foreground,#222);font-family:inherit;font-size:14px;line-height:1.5;min-width:0}.creator-sms *{box-sizing:border-box}.creator-sms h2,.creator-sms h3,.creator-sms h4,.creator-sms p{margin:0}.creator-sms h2{font-size:23px;line-height:1.3;letter-spacing:-.5px}.creator-sms h3{display:flex;align-items:center;gap:10px;font-size:21px;line-height:1.3}.creator-sms h4{font-size:16px}.creator-sms button,.creator-sms input,.creator-sms select,.creator-sms textarea{font:inherit}.creator-sms :is(button,input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea):focus-visible{outline:2px solid var(--ring,#b58c46);outline-offset:3px}.creator-sms button{cursor:pointer}.creator-sms button:disabled{cursor:default;opacity:.5}.creator-sms label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:500;min-width:0}.creator-sms label small,.sms-help{font-size:12px;line-height:1.6;font-weight:400;color:var(--muted-foreground,#69655c)}.creator-sms :is(input:not([type=checkbox]),select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea){display:block;width:100%;min-width:0;max-width:100%;min-height:42px;padding:10px 11px;border:1px solid var(--input,#d6d1c8);border-radius:7px;background:var(--background,#fff);color:var(--foreground,#222);box-shadow:none}.creator-sms input:disabled,.creator-sms textarea:disabled,.creator-sms select:disabled{opacity:.55}.creator-sms textarea{resize:vertical;line-height:1.7}.creator-sms fieldset{min-width:0}.creator-sms input[type=checkbox]{width:18px;height:18px;margin:2px 0 0;accent-color:var(--primary,#ae863f);flex:none}.creator-sms .sms-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.sms-heading>div{min-width:0}.sms-heading p{color:var(--muted-foreground,#69655c);font-size:13px;margin-top:6px}.sms-eyebrow{display:block;font-size:10px;font-weight:600;letter-spacing:1.3px;color:var(--muted-foreground,#69655c);margin-bottom:7px}.creator-sms .sms-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 15px;border:1px solid var(--border,#d6d1c8);border-radius:7px;background:var(--card,#fff);color:var(--foreground,#222);font-size:12px;font-weight:600;box-shadow:none}.creator-sms .sms-primary{background:var(--primary,#ab8238);color:var(--primary-foreground,#fff);border-color:var(--primary,#ab8238)}.creator-sms .sms-link{display:inline-flex;gap:5px;align-items:center;min-height:38px;border:0;padding:3px 0;background:transparent;color:var(--primary,#97702a);font-size:12px;box-shadow:none}.creator-sms .sms-icon-button{display:inline-flex;align-items:center;justify-content:center;width:42px;min-width:42px;height:42px;border:1px solid var(--border,#d6d1c8);border-radius:7px;background:var(--card,#fff);color:var(--foreground,#222);box-shadow:none}.creator-sms .sms-check{display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-weight:400}.creator-sms .sms-toggle{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-block:1px solid var(--border,#d6d1c8);margin:20px 0}.sms-toggle strong{display:block;font-weight:600}.sms-toggle small{display:block;margin-top:4px;max-width:660px}.creator-sms .sms-toggle input{appearance:none;position:relative;display:block;width:42px;height:25px;min-width:42px;min-height:25px;margin:0;background:var(--input,#ccc);border:1px solid var(--border,#d6d1c8);border-radius:20px;cursor:pointer}.sms-toggle input:before{content:'';position:absolute;top:3px;left:3px;width:17px;height:17px;background:var(--muted-foreground,#777);border-radius:50%}.creator-sms .sms-toggle input:checked{background:var(--primary,#ab8238);border-color:var(--primary,#ab8238)}.sms-toggle input:checked:before{transform:translateX(17px);background:var(--primary-foreground,#fff)}.creator-sms .sms-toggle input:disabled{opacity:.45;cursor:default}.sms-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.creator-sms .sms-banner,.creator-sms .sms-error,.creator-sms .sms-success{padding:13px 15px;border:1px solid var(--border,#d6d1c8);border-radius:8px;background:var(--muted,#f5f3ef);font-size:12px;line-height:1.6;margin:13px 0;overflow-wrap:anywhere}.creator-sms .sms-error{color:#ba4d45;background:color-mix(in srgb,#ba4d45 7%,var(--card,#fff))}.creator-sms .sms-success{color:var(--foreground,#315d40);border-color:#64836c}.sms-error>.sms-link{display:block}.sms-banner p{margin-top:4px}.sms-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px}.sms-actions>.sms-help{max-width:410px}.sms-private{display:flex;align-items:flex-start;gap:8px}.sms-private svg{flex:none;margin-top:2px}.creator-sms-dialog{position:fixed;inset:0;margin:auto;padding:26px;width:calc(100% - 32px);max-width:640px;max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--border,#d6d1c8);border-radius:14px;background:var(--card,#fff);box-shadow:0 20px 80px #0005}.creator-sms-dialog::backdrop{background:#0008}.sms-consent{margin:22px 0 0;padding:18px 0 0;border:0;border-top:1px solid var(--border,#d6d1c8)}.sms-consent legend{font-size:14px;font-weight:600;padding-right:10px}.sms-consent:disabled{opacity:.55}.sms-consent-record{display:flex;gap:10px;font-size:12px}.sms-consent-record svg{flex:none;color:var(--primary,#ab8238)}.sms-consent-record small{display:block;color:var(--muted-foreground,#69655c);margin-top:5px;overflow-wrap:anywhere}.sms-admin{background:var(--card,#fff);border:1px solid var(--border,#d6d1c8);border-radius:13px;padding:26px;margin-bottom:22px}.sms-status{flex:none;max-width:100%;padding:5px 9px;border-radius:20px;background:var(--muted,#f5f3ef);color:var(--muted-foreground,#69655c);font-size:11px;white-space:nowrap;text-transform:capitalize}.sms-status[data-state=delivered]{color:#5e966e}.sms-status[data-state=failed],.sms-status[data-state=uncertain]{color:#c78655}.sms-admin-grid,.sms-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.sms-form-grid>*,.sms-admin-grid>*,.sms-template-grid>*{min-width:0;max-width:100%}.creator-sms form,.sms-template-section{min-width:0;max-width:100%}.sms-card{margin:0;padding:16px 18px;border:1px solid var(--border,#d6d1c8);border-radius:9px}.sms-card legend{padding:0 7px;font-weight:600}.sms-card>.sms-help{margin-bottom:12px}.sms-offsets{display:grid;gap:9px}.sms-offset{display:grid;grid-template-columns:75px minmax(0,1fr) 42px;gap:8px}.sms-card>.sms-check{margin-top:3px}.sms-template-section{margin-top:26px;padding-top:23px;border-top:1px solid var(--border,#d6d1c8)}.sms-template-grid>div>label+label{margin-top:15px}.sms-template-grid .sms-help{margin-top:9px}.sms-template-grid code{display:inline-block;max-width:100%;margin-right:4px;font-size:11px;white-space:nowrap}.sms-preview{min-width:0;background:var(--background,#faf9f6);padding:18px;border:1px solid var(--border,#d6d1c8);border-radius:10px;align-self:start}.sms-bubble{white-space:pre-wrap;overflow-wrap:anywhere;padding:15px 17px;background:var(--muted,#eeece7);border-radius:12px 12px 12px 3px;font-size:13px;line-height:1.65;margin:14px 0}.sms-segments{font-size:11px;color:var(--muted-foreground,#69655c)}.sms-history{margin-top:27px;padding-top:25px;border-top:1px solid var(--border,#d6d1c8)}.sms-deliveries{list-style:none;padding:0;margin:0}.sms-deliveries li{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;border-top:1px solid var(--border,#d6d1c8);padding:13px 0}.sms-deliveries li>div{min-width:0}.sms-deliveries strong{display:block;font-size:12px;font-weight:500}.sms-deliveries small{display:block;font-size:11px;margin-top:4px;color:var(--muted-foreground,#69655c);overflow-wrap:anywhere}.sms-deliveries .sms-delivery-error{color:#ba4d45}.sms-empty{color:var(--muted-foreground,#69655c);font-size:13px;padding:20px 0}.sms-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0!important}.creator-management .creator-sms-open{font-size:11px;min-height:32px}.cm-sms-contact-cell{min-width:125px}
@media(max-width:700px){.sms-admin-grid,.sms-template-grid{grid-template-columns:minmax(0,1fr);gap:18px}.sms-admin{padding:20px}.sms-heading{flex-wrap:wrap}.sms-admin>.sms-heading>.sms-status{margin-top:-7px}.sms-form-grid{gap:12px}.sms-preview{padding:15px}}
@media(max-width:540px){.creator-sms-dialog{padding:20px 17px;max-height:calc(100dvh - 20px);width:calc(100% - 20px)}.creator-sms h2{font-size:21px}.creator-sms h3{font-size:19px}.sms-admin{padding:19px 16px}.creator-sms input:not([type=checkbox]),.creator-sms select,.creator-sms textarea{font-size:16px}.sms-form-grid{grid-template-columns:minmax(0,1fr);gap:15px}.sms-offset{grid-template-columns:68px minmax(0,1fr) 42px}.sms-offset select{font-size:14px}.sms-actions>.sms-button:first-child{flex:1}.sms-actions>.sms-help{flex-basis:100%}.sms-history .sms-heading{flex-wrap:nowrap}.sms-deliveries li{flex-wrap:wrap;gap:8px}.sms-card{padding:14px 12px}.creator-management .cm-roster-table .cm-sms-contact-cell{grid-column:1/-1;grid-row:3;padding-left:44px}.cm-sms-contact-cell::before{display:none!important}.creator-management .creator-sms-open{min-height:40px}.sms-consent-record small{font-size:11px}}

.sms-delivery-receipt{margin-top:6px;font-size:11px;color:var(--muted-foreground,#69655c);min-width:0}.sms-delivery-receipt summary{cursor:pointer;min-height:32px;padding:6px 0}.sms-delivery-receipt summary:focus-visible{outline:2px solid var(--ring,#b58c46);outline-offset:2px}.sms-delivery-receipt dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;margin:3px 0 6px}.sms-delivery-receipt dt{font-weight:500}.sms-delivery-receipt dd{margin:0;overflow-wrap:anywhere;min-width:0}

.creator-sms .sms-contact-fields{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.creator-management .creator-sms-opted-out{display:block;width:fit-content;font-size:11px;line-height:1.5;padding:2px 7px;margin:2px 0 3px;border-radius:5px;color:var(--foreground);background:var(--muted);border:1px solid var(--border)}
@media(max-width:540px){.creator-sms .sms-contact-fields{grid-template-columns:minmax(0,1fr)}.creator-sms .sms-contact-fields select{font-size:14px}}

.sms-offset:has([data-app-number-input]){grid-template-columns:minmax(0,1fr) 44px}.sms-offset:has([data-app-number-input])>.fui-Input{grid-column:1 / -1}.sms-offset:has([data-app-number-input])>button{grid-column:2;align-self:end}

.creator-sms .sms-manager-recipients{margin:18px 0}.sms-recipient-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.sms-manager-recipients>label{max-width:420px;margin:14px 0}.sms-recipient-list{list-style:none;padding:0;margin:14px 0;max-height:360px;overflow:auto;overscroll-behavior:contain}.sms-recipient-list li+li{border-top:1px solid var(--border,#d6d1c8)}.creator-sms .sms-recipient-row{align-items:center;gap:12px;min-height:56px;padding:10px 2px;cursor:pointer}.sms-recipient-identity{min-width:0;flex:1}.sms-recipient-identity strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}.sms-recipient-identity small{display:block;overflow-wrap:anywhere}.sms-recipient-list [data-registered=false]{color:var(--muted-foreground,#69655c);opacity:.65}.creator-sms .sms-recipient-list [data-registered=false] label{cursor:default}.sms-recipient-list [data-registered=false] strong{font-weight:400}.sms-manager-recipients>.sms-help:last-child{margin-bottom:0}
@media(max-width:540px){.sms-recipient-heading{flex-wrap:wrap}.creator-sms .sms-recipient-row{gap:9px;flex-wrap:wrap}.sms-recipient-row>.sms-status{margin-left:27px}.sms-recipient-identity{flex-basis:calc(100% - 28px)}}

.sms-audiences{display:grid;gap:18px;margin:20px 0}.sms-audience{min-width:0;border-block-start:1px solid var(--border,#d6d1c8);padding-top:18px}.sms-audience-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:7px}.sms-audience-heading>div{min-width:0;flex:1}.sms-audience-heading>div>strong{display:block;font-weight:600}.sms-audience-heading>select,.sms-audience-heading>.fui-Dropdown{width:150px;flex:none}.sms-audience-heading .sms-help{margin-top:4px}.creator-sms .sms-creator-recipients{margin:18px 0}.sms-creator-recipients>label{margin:12px 0 7px}.sms-creator-picker{width:100%;max-width:520px;min-width:0}.sms-creator-recipients>.sms-help[role=status]{margin-top:10px}.sms-selected-creators{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:12px 0 0;padding:0}.sms-selected-creators>li{display:flex;align-items:center;gap:6px;max-width:100%;padding:3px 4px 3px 10px;border:1px solid var(--border,#d6d1c8);border-radius:6px;background:var(--muted,#f5f3ef)}.sms-selected-creators>li>span{min-width:0;overflow-wrap:anywhere}.creator-sms .sms-remove-recipient{min-height:32px;min-width:32px;padding:4px;display:inline-flex;align-items:center;justify-content:center}.sms-audience .sms-manager-recipients>.sms-help:last-child{margin-top:10px}@media(max-width:540px){.sms-audience-heading{gap:12px;flex-wrap:wrap}.sms-audience-heading>div{flex-basis:100%}.sms-audience-heading>select,.sms-audience-heading>.fui-Dropdown{width:100%}.sms-creator-picker{max-width:100%}.sms-selected-creators{gap:6px}.creator-sms .sms-remove-recipient{min-height:40px;min-width:40px}}

.creator-sms .sms-creator-picker{color:var(--colorNeutralForeground1,var(--foreground,#222));background-color:var(--colorNeutralBackground1,var(--background,#fff))}.creator-sms .sms-creator-picker input.fui-Combobox__input{border:0;border-radius:0;background:transparent;min-height:32px;padding:0 10px;box-shadow:none;color:var(--colorNeutralForeground1,var(--foreground,#222))}.creator-sms .sms-creator-picker input.fui-Combobox__input::placeholder{color:var(--colorNeutralForeground4,var(--muted-foreground,#69655c));opacity:1}.creator-sms .sms-creator-picker input.fui-Combobox__input:disabled{color:var(--colorNeutralForegroundDisabled,var(--muted-foreground,#69655c))}.creator-sms .sms-selected-creators>li{color:var(--colorNeutralForeground1,var(--foreground,#222));background-color:var(--colorNeutralBackground3,var(--muted,#f5f3ef));border-color:var(--colorNeutralStroke1,var(--border,#d6d1c8))}@media(pointer:coarse){.creator-sms .sms-creator-picker input{min-height:44px;font-size:16px}}

.commissions-page{max-width:1280px;margin:0 auto;color:var(--foreground,#eae6de)}.cm-top,.cm-heading,.cm-actions,.cm-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.cm-top{margin-bottom:22px}.cm-top p,.cm-heading p,.cm-panel p{color:var(--muted-foreground,#969289);font-size:13px;margin:5px 0}.cm-private{display:inline-flex;gap:5px;align-items:center;font-size:12px;color:var(--muted-foreground,#969289)}.cm-heading{margin-bottom:20px}.cm-heading h2{margin:0;font-size:24px}.cm-actions{justify-content:flex-end;flex-wrap:wrap}.commissions-page button,.cm-button,.commissions-page select{border:1px solid var(--border,#383630);background:var(--card,#211f1c);color:inherit;border-radius:7px;padding:8px 12px;font:inherit;font-size:13px;text-decoration:none}.commissions-page button,.cm-button{display:inline-flex;align-items:center;gap:6px;cursor:pointer}.commissions-page button:disabled{opacity:.45;cursor:default}.commissions-page .cm-primary{background:#e6c16e;border-color:#e6c16e;color:#201a10;font-weight:600}.cm-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}.cm-summary>div{padding:18px;border:1px solid var(--border,#383630);border-radius:10px;background:var(--card,#211f1c)}.cm-summary span{display:block;color:var(--muted-foreground,#969289);font-size:12px;margin-bottom:8px}.cm-summary strong{font-size:25px;font-variant-numeric:tabular-nums}.cm-panel{border:1px solid var(--border,#383630);border-radius:10px;padding:18px;margin:0 0 18px;min-width:0}.cm-panel h3{font-size:15px;margin:0 0 12px}.cm-irt{display:flex;align-items:center;gap:24px}.cm-irt label,.cm-new label{font-size:12px;font-weight:500;display:flex;flex-direction:column;gap:6px}.cm-irt input{max-width:140px}.commissions-page input{width:100%;min-width:75px;border:1px solid var(--border,#383630);border-radius:5px;padding:8px 9px;background:var(--card,#211f1c);color:inherit;font:inherit;font-size:13px;text-align:right;font-variant-numeric:tabular-nums}.commissions-page input:focus,.commissions-page select:focus,.commissions-page button:focus-visible{outline:2px solid #caa559;outline-offset:2px}.commissions-page input:disabled{opacity:1;border-color:transparent;background:transparent}.cm-tabs{display:flex;gap:5px;margin-bottom:12px}.cm-tabs button{border-color:transparent;background:transparent;color:var(--muted-foreground,#969289)}.cm-tabs button[aria-selected=true]{border-color:var(--border,#383630);background:var(--card,#211f1c);color:inherit}.cm-scroll{overflow-x:auto}.cm-scroll table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}.cm-scroll th,.cm-scroll td{padding:9px 10px;border-bottom:1px solid var(--border,#383630);text-align:right;white-space:nowrap}.cm-scroll th:first-child{text-align:left;min-width:105px}.cm-scroll thead th{color:var(--muted-foreground,#969289);font-size:11px;font-weight:500;padding-top:3px}.cm-scroll td input{max-width:165px;min-width:100px}.cm-rates td input{min-width:74px;max-width:90px}.cm-scroll tfoot{font-weight:600}.cm-scroll tfoot th,.cm-scroll tfoot td{border-bottom:0;padding-top:16px}.cm-section-head{margin-bottom:12px}.cm-section-head h3{margin-bottom:0}.cm-hidden{display:none}.cm-issues,.cm-notice,.cm-error{border-radius:7px;padding:12px 15px;font-size:13px;margin-bottom:15px;background:#a87c2420}.cm-error{color:#ef9990;background:#c7484020}.cm-issues li{margin:4px 0}.cm-footnote{font-size:12px;color:var(--muted-foreground,#969289);line-height:1.6}.cm-new{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.cm-new p{flex:1;min-width:200px}.cm-history ul{list-style:none;margin:0;padding:0}.cm-history li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--border,#383630);font-size:13px}.cm-history small{display:block;color:var(--muted-foreground,#969289);margin-top:4px}.cm-history{margin-top:20px}.cm-section .cm-section-head:not(:first-child){margin-top:26px}@media(max-width:700px){.cm-top,.cm-heading{align-items:flex-start;flex-direction:column}.cm-actions{justify-content:flex-start}.cm-summary{gap:7px}.cm-summary>div{padding:12px}.cm-summary strong{font-size:19px}.cm-panel{padding:12px}.cm-irt{align-items:flex-start;gap:15px}.cm-tabs{overflow-x:auto}.cm-tabs button{white-space:nowrap}.cm-scroll table{min-width:580px}}@media print{body:has(.commissions-page){background:#fff!important;color:#000!important}body:has(.commissions-page) aside,body:has(.commissions-page) .page-header,body:has(.commissions-page) nav,.cm-top,.cm-actions,.cm-tabs,.cm-history,.cm-new,.cm-private{display:none!important}.commissions-page{color:#111;max-width:none}.cm-hidden{display:block}.cm-panel,.cm-summary>div{background:white;border-color:#ddd;break-inside:avoid}.cm-scroll{overflow:visible}.cm-scroll table{font-size:9px;min-width:0}.cm-scroll th,.cm-scroll td{padding:5px;white-space:normal}.commissions-page input,.commissions-page select{color:#111;background:white;border:none;padding:0;min-width:0!important;max-width:100%!important;font-size:10px;appearance:textfield}.cm-rates th:first-child{min-width:65px}.cm-section-head button{display:none}body:has(.commissions-page) main{margin:0!important;padding:0!important;width:100%!important}.cm-summary strong{font-size:18px}@page{size:landscape;margin:12mm}}

/* Numeric inputs and their column labels share the same right edge. */
.cm-performance th:nth-child(2),.cm-performance th:nth-child(3){padding-right:20px}.cm-performance td:nth-child(2),.cm-performance td:nth-child(3){padding-right:10px}.cm-performance tfoot td:nth-child(2),.cm-performance tfoot td:nth-child(3){padding-right:20px}.cm-performance input{margin:0 0 0 auto;appearance:textfield;-moz-appearance:textfield}.cm-performance input::-webkit-inner-spin-button,.cm-performance input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.cm-recap-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.cm-recap-list a span{font-size:10px;opacity:.65;margin-left:6px}@media print{.cm-recaps{display:none}.cm-performance th:nth-child(2),.cm-performance th:nth-child(3),.cm-performance td:nth-child(2),.cm-performance td:nth-child(3),.cm-performance tfoot td:nth-child(2),.cm-performance tfoot td:nth-child(3){padding-right:5px}}

.cm-month-picker{display:flex;align-items:center;gap:10px;font-size:13px;white-space:nowrap}.cm-month-picker select{width:auto;min-width:210px;margin:0}.cm-history summary{cursor:pointer;font-size:13px;font-weight:500}.cm-history[open] summary{margin-bottom:12px}.cm-heading>div:first-child{min-width:0}.cm-heading p{max-width:560px}

.cm-recipient-header{display:inline-flex;align-items:center;gap:5px}.commissions-page .cm-remove-recipient{padding:3px;min-height:0;border:0;background:transparent;color:#f87171}.commissions-page .cm-remove-recipient:hover{color:#fca5a5;background:rgba(239,68,68,.12)}.cm-remove-panel label{display:block;max-width:280px;font-size:13px;margin-top:12px}.cm-remove-panel .cm-actions{margin-top:12px}@media print{.cm-remove-recipient,.cm-remove-panel{display:none!important}}

/* Align cut headings with the right edge of percentage values. */
.cm-rates thead th:not(:first-child){padding-right:20px}.cm-rates input{margin:0 0 0 auto;appearance:textfield;-moz-appearance:textfield}.cm-rates input::-webkit-inner-spin-button,.cm-rates input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}@media print{.cm-rates thead th:not(:first-child){padding-right:5px}}

.cm-payouts thead th:nth-child(3){padding-right:20px}.cm-payouts input{margin:0 0 0 auto;appearance:textfield;-moz-appearance:textfield}.cm-payouts input::-webkit-inner-spin-button,.cm-payouts input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}@media print{.cm-payouts thead th:nth-child(3){padding-right:5px}}

.cm-diamond-total{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px}.cm-diamond-total svg{flex-shrink:0;color:#caa559}

.cm-formula p{line-height:1.6;margin:4px 0}.cm-formula strong{color:var(--foreground);font-weight:500}

.cm-performance-irt{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:500;margin:0 0 16px}.cm-performance-irt input{width:100px;min-width:0}.cm-formula{margin-top:18px}

@media(max-width:430px){
 .cm-summary{grid-template-columns:minmax(0,1fr)}
 .cm-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
 .cm-summary>div>span{min-width:0;margin-bottom:0}
 .cm-summary>div>strong{flex:none;white-space:nowrap;font-variant-numeric:tabular-nums}
}

.cm-run-tools{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:16px 0}.cm-run-tools>label{display:grid;gap:6px;font-size:13px}.cm-run-list{display:grid;gap:12px}.cm-run{border:1px solid var(--border,#383630);border-radius:8px;padding:12px;min-width:0}.cm-run summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;cursor:pointer;font-size:13px}.cm-run-status{font-size:12px}.cm-run-status-failed,.cm-run-status-blocked{color:var(--destructive,#ef9990)}.cm-run-changes th:first-child{white-space:normal;min-width:180px}.cm-run-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;margin-top:12px;color:var(--muted-foreground,#969289)}@media print{.cm-run-log{display:none!important}}

.cm-run-summary{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;min-width:0}.cm-run-summary>span{min-width:0}

.upcoming-tournament-battles{margin-bottom:24px}
.home-battle-schedule{overflow:hidden}
.home-battles-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 18px;border-bottom:1px solid var(--border)}
.home-battles-toolbar-links{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.home-battles-toolbar-links>span{font-size:12px;color:var(--muted-foreground)}
.home-battle-time-zone{display:flex;flex-direction:column;gap:4px;max-width:100%}
.home-battle-time-zone [role="group"]{display:flex;gap:2px;padding:3px;width:fit-content;background:var(--background);border:1px solid var(--border);border-radius:7px}
.home-battle-time-zone button{min-height:36px;padding:5px 12px;border:0;border-radius:4px;background:transparent;color:var(--muted-foreground);font-size:12px}
.home-battle-time-zone button[aria-pressed="true"]{background:var(--muted);color:var(--foreground)}
.home-battle-time-zone button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
.home-battle-time-zone small{font-size:10px;color:var(--muted-foreground);overflow-wrap:anywhere}
@media(max-width:600px){.home-battle-time-zone button{min-height:40px}.home-battles-toolbar-links{max-width:100%}}
.home-battle-column{min-width:0;padding-top:18px}
.home-battle-column-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:0 18px}
.home-battle-column-heading h2{display:flex;align-items:center;gap:8px;font-size:18px;line-height:1.4;margin:0;scroll-margin-top:24px}.home-battle-column-heading h2 svg{color:var(--primary);flex:none}.home-battle-column-heading h2 small{font-size:12px;font-weight:400;padding:2px 7px;border-radius:5px;background:var(--muted);color:var(--muted-foreground)}
.home-battle-schedule .home-copy-matchups{min-height:36px;padding:5px 9px;font-size:12px;gap:6px}
.home-battle-schedule .upcoming-event-row{grid-template-columns:34px minmax(0,1fr);gap:4px 10px;padding:14px 0}.home-battle-schedule .upcoming-event-row>.upcoming-matchup{grid-column:1;grid-row:1 / span 2;width:34px;align-self:start}
.home-battle-schedule .upcoming-event-actions{grid-column:2;max-width:none;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;text-align:left}
.home-battle-schedule .upcoming-event-actions time{font-size:12px}
.home-battle-copy-notice{padding:0 18px;color:var(--primary);font-size:12px}.home-battle-manual-copy{display:block;padding:0 18px;font-size:12px}.home-battle-manual-copy textarea{display:block;width:100%;min-height:150px;margin-top:6px;background:var(--background);color:var(--foreground);border:1px solid var(--border);border-radius:6px;padding:10px}
@media(max-width:850px){.home-battles-toolbar-links{gap:12px}.home-battle-schedule .home-copy-matchups{min-height:40px}}
.upcoming-tournament-battles .upcoming-heading-line{flex-wrap:wrap}
.upcoming-tournament-battles .upcoming-event-actions{max-width:240px}
.upcoming-tournament-battles .upcoming-event-actions time{white-space:normal;line-height:1.5}
@media(max-width:600px){.upcoming-tournament-battles .upcoming-heading-line h2{max-width:none}.upcoming-tournament-battles .upcoming-event-actions{max-width:none;flex-wrap:wrap;gap:2px 10px;text-align:left}.upcoming-tournament-battles .upcoming-event-actions time{font-size:12px}}

.home-battle-schedule .upcoming-event-description{grid-column:2;grid-row:1}.home-battle-schedule .upcoming-event-actions{grid-row:2}
.home-battle-schedule .upcoming-event-description .home-battle-winner{display:flex;align-items:center;gap:5px;margin-top:5px;color:var(--primary);font-size:12px;font-weight:600;overflow-wrap:anywhere}.home-battle-winner svg{flex:none}
.home-battle-schedule .upcoming-event-description .home-battle-result{margin-top:5px;font-size:12px}
.home-battle-title-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.home-live-scoreboard-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;min-width:36px;padding:4px;color:var(--muted-foreground);font-size:12px;text-decoration:none;border-radius:5px}
.home-live-scoreboard-link svg{flex:none}
.home-live-scoreboard-link:hover{color:var(--primary);background:var(--muted)}
@media(max-width:600px){.home-live-scoreboard-link span{display:none}.home-live-scoreboard-link{min-width:40px;min-height:40px}}
.home-live-scoreboard-link:focus-visible{outline:2px solid var(--ring);outline-offset:3px;border-radius:4px}
.home-battle-opponents{display:inline-block;min-height:24px;font-size:14px;line-height:1.45;color:var(--foreground);text-decoration:none;text-underline-offset:3px}
.home-battle-opponents:hover{color:var(--primary);text-decoration:underline}
.home-battle-opponents:focus-visible{outline:2px solid var(--ring);outline-offset:3px;border-radius:3px}
@media(pointer:coarse){.home-battle-opponents{min-height:32px;padding-block:5px}}

.home-tournament-schedule{border-top:1px solid var(--border);padding:22px 0 20px}
.home-schedule-range{margin:6px 18px 22px;font-size:12px;line-height:1.6;color:var(--muted-foreground)}
.home-schedule-range>span{padding-inline:3px}

.home-calendar{--repeat-ink:#f1cc86;--repeat-bg:#d8a7460d}
.home-calendar button,.home-calendar input{font:inherit}
.home-calendar button{cursor:pointer}
.home-calendar button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.home-calendar button:disabled{opacity:.35;cursor:default}
.home-calendar button:focus-visible,.home-calendar a:focus-visible,.home-calendar input:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
.home-calendar .home-schedule-range{margin-bottom:14px}
.home-calendar>.home-calendar-note{margin:0;padding:0 18px 14px;font-size:11px}
.home-calendar-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px 14px}
.home-calendar-tools>span{font-size:11px;color:var(--muted-foreground);white-space:nowrap}
.home-calendar-search{display:flex;align-items:center;gap:7px;min-width:0;max-width:290px;flex:1;border:1px solid var(--border);border-radius:7px;padding:0 10px;background:var(--background);color:var(--muted-foreground)}
.home-calendar-search>svg{flex:none}
.home-calendar-search input{width:100%;min-width:0;border:0;background:transparent;color:var(--foreground);min-height:38px;padding:7px 0;margin:0;font-size:12px;outline-offset:0}
.home-calendar-search input::-webkit-search-cancel-button{display:none}
.home-calendar-search button{display:grid;place-items:center;flex:none;width:28px;height:30px;padding:0;background:none;border:0;color:var(--muted-foreground)}
.home-calendar-overview{padding:0 18px 18px}
.home-calendar-months{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.home-calendar-months strong{font-size:12px;font-weight:500}
.home-calendar-months>span{font-size:11px;color:var(--muted-foreground)}
.home-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.home-calendar-weekday{text-align:center;font-size:10px;color:var(--muted-foreground);padding-bottom:3px}
.home-calendar .home-calendar-day{display:flex;flex-direction:column;justify-content:space-between;gap:3px;min-width:0;min-height:60px;border:1px solid var(--border);border-radius:6px;padding:6px 7px;background:var(--background);color:var(--foreground);text-align:left}
.home-calendar .home-calendar-day:hover{background:var(--muted)}
.home-calendar button.home-calendar-day[aria-pressed="true"],.home-calendar button.home-calendar-day[aria-pressed="true"]:hover:not(:disabled){border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary);background:color-mix(in srgb,var(--primary) 10%,var(--background));color:var(--foreground)}
.home-calendar-day-number{display:flex;align-items:center;gap:3px;width:100%;font-size:12px;font-weight:500;line-height:1.3}
.home-calendar-day-number>small{font-size:9px;font-weight:400;color:var(--muted-foreground)}
.home-calendar-day-number>svg{margin-left:auto;flex:none;color:var(--repeat-ink)}
.home-calendar-day-count{font-size:10px;line-height:1.3;color:var(--muted-foreground)}
.home-calendar-day[data-empty] .home-calendar-day-number{color:var(--muted-foreground)}
.home-calendar-dots{display:flex;gap:3px;height:5px;align-items:center}
.home-calendar-dots i,.home-calendar-legend i,.home-calendar-tournament i{display:block;width:5px;height:5px;border-radius:50%;flex:none;background:hsl(var(--tournament-hue) 76% 73%)}
.home-calendar-dots small{font-size:10px}
.home-calendar-key{display:flex;align-items:flex-start;gap:6px;margin:11px 0 10px;font-size:11px;line-height:1.5;color:var(--muted-foreground)}
.home-calendar-key>svg{flex:none;color:var(--repeat-ink);margin-top:1px}
.home-calendar-legend{display:flex;gap:7px 14px;flex-wrap:wrap;font-size:10px;color:var(--muted-foreground)}
.home-calendar-legend>span{display:flex;align-items:center;gap:5px}
.home-calendar-detail{border-top:1px solid var(--border);padding:18px 18px 0}
.home-calendar-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.home-calendar-detail-heading h3{margin:0;font-size:16px;font-weight:600}
.home-calendar-detail-heading p{margin:4px 0 0;font-size:11px;color:var(--muted-foreground)}
.home-calendar-day-navigation{display:flex;gap:5px}
.home-calendar-day-navigation button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);border-radius:6px;color:var(--foreground);background:transparent}
.home-calendar-repeat{border:1px solid #b48b413d;border-radius:7px;background:var(--repeat-bg);padding:10px 12px;margin-bottom:14px}
.home-calendar-repeat h4{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:var(--repeat-ink);margin:0 0 6px}
.home-calendar-repeat h4>span{margin-left:auto;font-size:11px}
.home-calendar-repeat ul{list-style:none;padding:0;margin:0}
.home-calendar-repeat li{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:3px 0;min-width:0}
.home-calendar .home-calendar-creator-link{font-size:12px;text-align:left;overflow-wrap:anywhere;border:0;background:none;padding:4px 0;color:var(--foreground);min-width:0;min-height:28px}
.home-calendar-creator-link:hover{text-decoration:underline;text-underline-offset:3px}
.home-calendar-repeat li>div{display:flex;align-items:center;gap:4px;justify-content:flex-end;flex-wrap:wrap}
.home-calendar .home-calendar-repeat-tag{display:inline-flex;align-items:center;gap:2px;font-size:10px;line-height:1.5;border:1px solid #b48b4130;border-radius:4px;background:transparent;padding:3px 5px;color:var(--repeat-ink);white-space:nowrap}
.home-calendar-repeat button.home-calendar-repeat-tag:hover{background:#d8a74615}
.home-calendar-repeat button.home-calendar-repeat-tag{min-height:28px}
.home-calendar-views{display:flex;gap:3px;padding:3px;background:var(--background);border:1px solid var(--border);border-radius:7px;margin-bottom:16px;width:fit-content;max-width:100%}
.home-calendar-views button{border:0;background:transparent;color:var(--muted-foreground);border-radius:4px;font-size:12px;min-height:32px;padding:5px 13px;white-space:nowrap}
.home-calendar-views button[aria-pressed="true"]{background:var(--muted);color:var(--foreground);box-shadow:0 1px 3px #0002}
.home-calendar-agenda{display:grid;gap:14px}
.home-calendar-time-group{display:grid;grid-template-columns:77px minmax(0,1fr);gap:10px}
.home-calendar-time{padding-top:9px;font-size:12px;font-weight:500}
.home-calendar-time time{white-space:nowrap;font-variant-numeric:tabular-nums}
.home-calendar-time>span{display:block;color:var(--repeat-ink);font-weight:400;font-size:10px;line-height:1.5;margin-top:5px;max-width:70px}
.home-calendar-time-group>div:last-child{display:grid;gap:7px;border-left:1px solid var(--border);padding-left:12px}
.home-calendar-match{display:block;border:1px solid var(--border);border-left:3px solid hsl(var(--tournament-hue) 76% 73%);border-radius:6px;padding:9px 11px;text-decoration:none;color:var(--foreground);background:var(--card);min-width:0}
.home-calendar-match:hover{background:var(--muted)}
.home-calendar-match-top{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:5px;font-size:11px}
.home-calendar-match-top>time{font-weight:600;font-variant-numeric:tabular-nums}
.home-calendar-match-top>svg{margin-left:auto;color:var(--muted-foreground);flex:none}
.home-calendar-tournament{display:inline-flex;align-items:center;gap:5px;color:hsl(var(--tournament-hue) 76% 73%);font-size:11px;overflow-wrap:anywhere;min-width:0}
.home-calendar-match>strong{display:block;font-size:12px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}
.home-calendar-match>small{display:block;font-size:10px;color:var(--muted-foreground);margin-top:3px}
.home-calendar-creator-groups{display:grid;gap:18px}
.home-calendar-creator-group h4{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 7px;font-size:12px;font-weight:500}
.home-calendar-creator-group h4>span:last-child{font-size:10px;color:var(--muted-foreground)}
.home-calendar-creator-group>.home-calendar-group-days{display:grid;gap:16px}
.home-calendar-note{font-size:10px;line-height:1.5;color:var(--muted-foreground);margin:18px 0 0}
html:not(.dark) .home-calendar{--repeat-ink:#805b18;--repeat-bg:#b48b4109}
html:not(.dark) .home-calendar-tournament{color:hsl(var(--tournament-hue) 63% 30%)}
html:not(.dark) .home-calendar-dots i,html:not(.dark) .home-calendar-legend i,html:not(.dark) .home-calendar-tournament i{background:hsl(var(--tournament-hue) 63% 35%)}
html:not(.dark) .home-calendar-match{border-left-color:hsl(var(--tournament-hue) 63% 35%)}
@media(max-width:600px){
 .home-calendar-tools{align-items:stretch;flex-direction:column;gap:6px;padding-inline:16px}.home-calendar-search{max-width:none}.home-calendar-tools>span{font-size:10px}
 .home-calendar-overview{padding-inline:16px}.home-calendar-months{align-items:flex-start}.home-calendar-months strong{font-size:11px}.home-calendar-months>span{font-size:10px;white-space:nowrap}
 .home-calendar-grid{gap:3px}.home-calendar .home-calendar-day{min-height:55px;padding:5px 4px}.home-calendar-day-number{font-size:11px;gap:2px;flex-wrap:wrap}.home-calendar-day-number>small{font-size:8px}.home-calendar-day-number>svg{width:10px;height:10px}.home-calendar-day-count{font-size:8px;white-space:nowrap}.home-calendar-dots{gap:2px}.home-calendar-dots i{width:4px;height:4px}
 .home-calendar-detail{padding-inline:16px}.home-calendar-repeat{padding:9px 10px}.home-calendar-repeat li{align-items:flex-start;flex-direction:column;gap:1px;padding:4px 0}.home-calendar-repeat li>div{justify-content:flex-start}.home-calendar .home-calendar-repeat-tag,.home-calendar .home-calendar-creator-link{min-height:32px}
 .home-calendar-views{width:100%}.home-calendar-views button{flex:1;padding:5px 6px;min-height:38px;font-size:11px}.home-calendar-time-group{grid-template-columns:57px minmax(0,1fr);gap:6px}.home-calendar-time{font-size:10px}.home-calendar-time-group>div:last-child{padding-left:8px}.home-calendar-match{padding:8px}.home-calendar-match>strong{font-size:11px}.home-calendar-tournament{font-size:10px}.home-calendar-day-navigation button{width:38px;height:38px}
}

/* Deadline types use icons as well as color; tournament accents retain their own meaning. */
.home-calendar{--registration-ink:#8dc7ff;--battle-deadline-ink:#f4a4bc}
.home-calendar [data-kind="registration"]{--deadline-ink:var(--registration-ink)}
.home-calendar [data-kind="battle"]{--deadline-ink:var(--battle-deadline-ink)}
.home-calendar .home-calendar-day{min-height:79px}
.home-calendar-deadline-markers{display:flex;align-items:center;gap:4px;min-height:16px}
.home-calendar-deadline-marker{display:inline-flex;align-items:center;justify-content:center;border-radius:3px;padding:2px;color:var(--deadline-ink);background:color-mix(in srgb,var(--deadline-ink) 10%,transparent)}
.home-calendar-deadline-marker>svg{flex:none}
.home-calendar-deadline-key{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;margin:12px 0 0;font-size:10px}
.home-calendar-deadline-key>span{display:flex;align-items:center;gap:5px;color:var(--deadline-ink)}
.home-calendar-deadline-key svg{flex:none}
.home-calendar-filter-note{margin:10px 0 0;font-size:10px;line-height:1.5;color:var(--muted-foreground)}
.home-calendar-deadlines{margin-bottom:18px}
.home-calendar-deadlines h4{font-size:11px;font-weight:500;color:var(--muted-foreground);margin:0 0 7px}
.home-calendar-deadlines ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.home-calendar-deadline{display:flex;align-items:center;gap:10px;border:1px solid color-mix(in srgb,var(--deadline-ink) 28%,var(--border));border-radius:7px;background:color-mix(in srgb,var(--deadline-ink) 5%,var(--card));padding:10px 12px;text-decoration:none;min-width:0;color:var(--foreground)}
.home-calendar-deadline:hover{background:color-mix(in srgb,var(--deadline-ink) 10%,var(--card))}
.home-calendar-deadline>svg{flex:none;color:var(--deadline-ink)}
.home-calendar-deadline>svg:last-child{color:var(--muted-foreground)}
.home-calendar-deadline-description{display:grid;gap:4px;min-width:0;flex:1}
.home-calendar-deadline-description>strong{font-size:12px;font-weight:500;color:var(--deadline-ink)}
.home-calendar-deadline-time{display:grid;gap:3px;text-align:right;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.home-calendar-deadline-time>small{font-size:10px;color:var(--muted-foreground)}
html:not(.dark) .home-calendar{--registration-ink:#1c5f9e;--battle-deadline-ink:#a13960}
@media(max-width:600px){
 .home-calendar .home-calendar-day{min-height:74px}
 .home-calendar-deadline-markers{gap:3px;min-height:14px}
 .home-calendar-deadline-marker{padding:1px}
 .home-calendar-deadline-marker>svg{width:11px;height:11px}
 .home-calendar-deadline{gap:7px;padding:9px}
 .home-calendar-deadline-description>strong,.home-calendar-deadline-time{font-size:11px}
 .home-calendar-deadline-key{gap:6px 12px}
}

.home-calendar-detail-heading{align-items:flex-start;flex-wrap:wrap}
.home-calendar-detail-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.home-calendar-copy{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.home-calendar .home-calendar-copy-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;border:1px solid var(--border);border-radius:6px;padding:6px 10px;background:transparent;color:var(--foreground);font-size:11px;white-space:nowrap}
.home-calendar-copy-button>svg{flex:none}
.home-calendar-copy[data-manual]{width:100%}
.home-calendar-copy-fallback{display:grid;gap:5px;width:100%;font-size:11px;color:var(--muted-foreground)}
.home-calendar-copy-fallback textarea{width:100%;min-height:140px;background:var(--background);color:var(--foreground);border:1px solid var(--border);border-radius:6px;font-size:12px;line-height:1.6;padding:8px}
.home-calendar-group-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px;padding-bottom:9px;border-bottom:1px solid var(--border)}
.home-calendar-group-heading h4{margin:0;justify-content:flex-start;flex-wrap:wrap;gap:6px 10px;min-width:0;flex:1}
.home-calendar-group-heading h4>.home-calendar-creator-link{font-weight:600;font-size:13px}
.home-calendar-group-heading .home-calendar-tournament{font-size:13px;font-weight:500}
.home-calendar-creator-groups{gap:28px}
.home-calendar-group-date-heading{display:flex;align-items:center;gap:5px 8px;flex-wrap:wrap;margin-bottom:6px}
.home-calendar-group-date-heading h5{margin:0}
.home-calendar-group-date-heading h5>button{display:flex;align-items:center;gap:4px;background:transparent;border:0;color:var(--muted-foreground);font-size:11px;font-weight:500;padding:3px 0;min-height:28px}
.home-calendar-group-date-matches{display:grid;gap:6px}
@media(max-width:600px){
 .home-calendar-detail-actions{gap:6px}
 .home-calendar .home-calendar-copy-button{min-height:38px}
 .home-calendar-group-date-heading h5>button{min-height:32px}
 .home-calendar-group-heading h4>.home-calendar-creator-link,.home-calendar-group-heading .home-calendar-tournament{font-size:12px}
}

.home-calendar-range-controls{padding:6px 18px 10px}
.home-calendar-range-controls .home-calendar-views{margin:0;padding:0;gap:10px;border:0;border-radius:0;background:transparent;width:fit-content}
.home-calendar .home-calendar-range-controls button{min-height:36px;padding:6px 8px;font-size:12px;font-weight:400;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted-foreground);box-shadow:none}
.home-calendar .home-calendar-range-controls button[aria-pressed="true"]{background:transparent;color:var(--foreground);border-bottom-color:var(--muted-foreground);box-shadow:none}
.home-calendar .home-calendar-range-controls button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
@media(pointer:coarse){.home-calendar .home-calendar-range-controls button{min-height:40px}}
.home-calendar-grid[data-range="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.home-calendar-grid[data-range="3"] .home-calendar-weekday{padding:0;text-align:left}
.home-month-countdown{margin:0 18px 12px;padding:0;background:transparent}
.home-month-countdown-clock{text-align:center;font-size:12px;line-height:1.6;white-space:nowrap;color:var(--muted-foreground)}
.home-month-countdown-clock>strong{font-size:inherit;font-weight:500;color:var(--foreground);font-variant-numeric:tabular-nums}
.home-battle-schedule .home-battles-toolbar{padding:10px 14px;gap:4px 10px}
.home-battle-schedule .home-quiet-toggle{display:flex;align-items:center;gap:2px;padding:0;border:0;border-radius:0;background:transparent;width:fit-content}
.home-battle-schedule .home-quiet-toggle button{min-height:36px;padding:6px;font:inherit;font-size:11px;font-weight:400;border:0;border-bottom:2px solid transparent;border-radius:0;box-shadow:none;background:transparent;color:var(--muted-foreground);cursor:pointer;white-space:nowrap}
.home-battle-schedule .home-quiet-toggle button[aria-pressed="true"]{background:transparent;color:var(--foreground);border-bottom-color:var(--muted-foreground);box-shadow:none}
.home-battle-schedule .home-quiet-toggle button:hover{background:var(--muted);color:var(--foreground)}
.home-battle-schedule .home-quiet-toggle button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
@media(pointer:coarse){.home-battle-schedule .home-quiet-toggle button{min-height:40px}}

.service-restart-page{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:24px;background:var(--background);color:var(--foreground)}
.service-restart-card{width:100%;max-width:440px;padding:32px 24px;border:1px solid var(--border);border-radius:16px;background:var(--card);text-align:center}
.service-restart-icon{color:var(--primary);margin-bottom:16px}
.service-restart-card h1{margin:0 0 12px;font-size:26px;line-height:1.25;letter-spacing:-.025em}
.service-restart-card p{margin:0 0 24px;color:var(--muted-foreground)}
.service-restart-card button{min-height:44px;padding:8px 14px;font-size:14px}
@media(max-width:480px){.service-restart-page{padding:16px}.service-restart-card{padding:28px 20px}}

.world-clock-panel{min-width:0;margin-top:24px;background:var(--card);border:1px solid var(--border);border-radius:12px;overflow:hidden;color:var(--foreground)}
.world-clock-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;flex-wrap:wrap}.world-clock-heading>div{display:flex;align-items:center;gap:10px;min-width:0}.world-clock-heading>div>svg{color:var(--primary)}.world-clock-heading h2{font-size:18px;margin:0;letter-spacing:-.02em}.world-clock-heading p{font-size:11px;color:var(--muted-foreground);margin:3px 0 0}
.world-clock-live{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted-foreground)}.world-clock-live>span{height:6px;width:6px;border-radius:50%;background:#5d9850}.world-clock-header-actions{gap:14px!important}.world-clock-format{display:flex;gap:3px;padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--muted)}.world-clock-format button{min-height:26px;padding:3px 8px;border:0;border-radius:5px;background:transparent;color:var(--muted-foreground);font-size:11px;line-height:20px;box-shadow:none}.world-clock-format button[aria-pressed="true"]{background:var(--card);color:var(--primary)}.world-clock-format button:hover:not(:disabled){background:var(--accent);color:var(--accent-foreground)}
.world-clock-banner{display:grid;grid-template-columns:minmax(0,1fr) 128px minmax(0,1fr);align-items:stretch;border-block:1px solid var(--border);background:var(--muted);min-height:112px}.world-clock-wing{min-width:0;display:grid;grid-template-columns:26px minmax(0,1fr) 26px;align-items:stretch;padding:10px 4px;gap:3px}.world-clock-strip{display:flex;flex-wrap:nowrap;align-items:stretch;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--input) transparent;min-width:0;position:relative;padding-bottom:4px}.world-clock-tile{flex:0 0 98px;display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:72px;padding:10px 6px;border:1px solid transparent;border-radius:7px;box-shadow:none;color:var(--foreground);background:transparent;white-space:nowrap}.world-clock-tile time{font:500 21px/1.25 'SFMono-Regular',Consolas,monospace;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.world-clock-tile small,.world-clock-utc small{font:400 10px 'IBM Plex Sans',sans-serif;letter-spacing:0;margin-left:3px}.world-clock-tile-offset{font-size:11px;color:var(--muted-foreground);font-weight:400}.world-clock-tile:hover:not(:disabled),.world-clock-tile.is-highlighted,.world-clock-tile[aria-pressed="true"]{background:var(--accent);color:var(--accent-foreground);border-color:var(--primary)}.world-clock-tile.is-highlighted .world-clock-tile-offset{color:var(--accent-foreground)}.world-clock-scroll-button{background:transparent;color:var(--muted-foreground);border:0;min-height:0;padding:0;width:26px;border-radius:5px}.world-clock-scroll-button:hover:not(:disabled){background:var(--accent);color:var(--accent-foreground)}
.world-clock-utc{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:12px 5px;background:var(--accent);color:var(--accent-foreground);border:0;border-inline:1px solid var(--border);border-radius:0;min-width:0;box-shadow:none}.world-clock-utc strong{font-size:11px;letter-spacing:2px}.world-clock-utc time{font:500 22px/1.3 'SFMono-Regular',Consolas,monospace;letter-spacing:-.8px;white-space:nowrap;font-variant-numeric:tabular-nums}.world-clock-utc>span{font-size:10px;font-weight:400}.world-clock-utc:hover:not(:disabled),.world-clock-utc.is-highlighted{background:var(--primary);color:var(--primary-foreground)}
.world-clock-atlas-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px 8px;flex-wrap:wrap}.world-clock-atlas-toolbar>span{font-size:13px;font-weight:600}.world-clock-atlas-toolbar small{font-size:11px;font-weight:400;color:var(--muted-foreground);margin-left:8px}.world-clock-atlas-toolbar>div{display:flex;align-items:center;gap:4px;max-width:100%}.world-clock-atlas-toolbar select{min-height:29px;height:29px;margin:0;padding:3px 8px;font-size:11px;max-width:190px}.world-clock-atlas-toolbar button{min-height:28px;width:28px;padding:0;border:1px solid var(--border);background:var(--card);color:var(--muted-foreground);border-radius:5px}.world-clock-atlas-toolbar button:hover:not(:disabled){color:var(--primary);background:var(--accent)}
.world-clock-atlas-surface{position:relative;overflow:hidden;background:var(--card);margin:0 12px;aspect-ratio:1200/530}.world-clock-map{display:block;width:100%;height:100%;touch-action:pan-y}.world-clock-graticule{fill:none;stroke:var(--border);stroke-width:.6;pointer-events:none}.world-clock-country-base{fill:var(--secondary);stroke:none}.world-clock-country-outline{fill:none;stroke:var(--muted-foreground);stroke-opacity:.4;stroke-width:.7;vector-effect:non-scaling-stroke;pointer-events:none}.world-clock-map-country{cursor:pointer}.world-clock-zone-layer{pointer-events:none}.world-clock-zone{fill:var(--accent);fill-opacity:.62;stroke:var(--muted-foreground);stroke-opacity:.38;stroke-width:.45;vector-effect:non-scaling-stroke}.world-clock-zone.is-highlighted{fill:var(--primary);fill-opacity:.8;stroke:var(--accent-foreground);stroke-opacity:.8;stroke-width:.7}.world-clock-map-country.is-highlighted .world-clock-country-outline,.world-clock-map-country:focus-visible .world-clock-country-outline{stroke:var(--primary);stroke-opacity:1;stroke-width:1.8}.world-clock-map-country.has-selection:not(.is-highlighted){opacity:.4}.world-clock-country-marker{fill:var(--primary);stroke:var(--card);stroke-width:1;vector-effect:non-scaling-stroke}.world-clock-map-country:focus-visible{outline:none}.world-clock-map-country:focus-visible .world-clock-country-base{fill:var(--accent)}
.world-clock-ocean{position:absolute;font-size:10px;font-weight:400;letter-spacing:2px;color:var(--muted-foreground);opacity:.6;pointer-events:none;white-space:nowrap}.world-clock-ocean-atlantic{left:37%;top:50%}.world-clock-ocean-pacific{left:9%;top:67%}.world-clock-ocean-indian{left:66%;top:70%}
.world-clock-selection{display:flex;align-items:baseline;gap:6px 14px;flex-wrap:wrap;padding:12px 20px;border-block:1px solid var(--border);background:var(--muted);min-height:53px}.world-clock-selection strong{font-size:12px;font-weight:600;flex:none}.world-clock-selection>span{font-size:11px;color:var(--muted-foreground);line-height:1.55;flex:1;min-width:160px;overflow-wrap:anywhere}.world-clock-selection button{font-size:11px;padding:2px 7px;min-height:26px;background:var(--card);color:var(--muted-foreground);border-color:var(--border)}.world-clock-footer{display:flex;gap:6px 20px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;padding:10px 20px;font-size:10px;color:var(--muted-foreground)}.world-clock-footer details{max-width:100%;font-size:11px}.world-clock-footer summary{cursor:pointer;font-size:10px}.world-clock-footer p{font-size:11px;line-height:1.6;margin:6px 0 0;max-width:900px}
@media(max-width:700px){.world-clock-heading{padding:14px 12px}.world-clock-header-actions{gap:8px!important}.world-clock-banner{grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr)}.world-clock-wing{grid-template-columns:16px minmax(0,1fr) 16px;gap:0;padding:8px 0}.world-clock-scroll-button{width:16px}.world-clock-tile{flex-basis:78px;padding-inline:3px}.world-clock-tile time{font-size:18px}.world-clock-tile small{font-size:9px}.world-clock-utc time{font-size:18px}.world-clock-utc small{display:block;margin-left:0}.world-clock-atlas-toolbar{padding:12px}.world-clock-atlas-toolbar>div{width:100%}.world-clock-atlas-toolbar select{flex:1;max-width:none}.world-clock-atlas-surface{aspect-ratio:1200/650;margin:0 4px}.world-clock-ocean{display:none}.world-clock-selection{padding:10px 12px}.world-clock-selection>span{flex-basis:100%}.world-clock-footer{padding:10px 12px}}
@media(max-width:480px){.world-clock-wing{display:block;padding:8px 2px}.world-clock-scroll-button{display:none}}
@media(pointer:coarse){.world-clock-format button{min-height:36px}.world-clock-atlas-toolbar button{min-height:36px;width:36px}.world-clock-atlas-toolbar select{min-height:36px;font-size:16px}.world-clock-strip{scrollbar-width:auto}.world-clock-tile{min-height:78px}}
.world-clock-atlas-panel button.world-clock-tile{color:var(--foreground)}.world-clock-atlas-panel button.world-clock-tile.is-highlighted{color:var(--accent-foreground)}.world-clock-atlas-panel button.world-clock-utc{color:var(--accent-foreground)}.world-clock-atlas-panel button.world-clock-utc.is-highlighted,.world-clock-atlas-panel button.world-clock-utc:hover:not(:disabled){color:var(--primary-foreground)}.world-clock-atlas-panel button.world-clock-scroll-button{color:var(--muted-foreground)}.world-clock-atlas-panel time{color:inherit}
.world-clock-atlas-panel .world-clock-zone{pointer-events:visiblePainted}.world-clock-atlas-panel .world-clock-country-label{position:absolute;transform:translate(-50%,-50%);background:transparent;color:var(--foreground);border:0;border-radius:3px;font-size:10px;font-weight:500;line-height:1.2;min-height:24px;min-width:24px;padding:2px 3px;text-shadow:0 1px 2px var(--card);white-space:nowrap}.world-clock-atlas-panel .world-clock-country-label.is-highlighted,.world-clock-atlas-panel .world-clock-country-label:hover{background:var(--card);color:var(--primary)}.world-clock-atlas-surface[data-zoomed="true"] .world-clock-ocean{display:none}
@media(max-width:700px){.world-clock-atlas-panel .world-clock-country-label{display:none}}
.world-clock-atlas-panel{container-type:inline-size}
.world-clock-atlas-panel .world-clock-banner{grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);--clock-font:min(15px,calc((100cqi - 64px) / 2 / var(--max-clock-count) * .28));min-height:92px}
.world-clock-atlas-panel .world-clock-wing{display:block;padding:5px 2px;min-width:0}
.world-clock-atlas-panel .world-clock-strip{display:grid;gap:0;overflow:visible;position:static;padding:0;height:100%}
.world-clock-atlas-panel button.world-clock-tile{width:100%;min-width:0;min-height:80px;padding:5px 1px;gap:6px;border:0;border-radius:3px;justify-content:center;flex:none}
.world-clock-atlas-panel .world-clock-zone-label{display:block;max-width:100%;font:500 calc(var(--clock-font) * .82)/1.2 'IBM Plex Sans',sans-serif;letter-spacing:0;color:var(--muted-foreground);white-space:nowrap}
.world-clock-atlas-panel .world-clock-tile time{font-size:var(--clock-font);letter-spacing:-.1px;line-height:1.25;color:inherit}
.world-clock-atlas-panel .world-clock-tile small{display:block;line-height:1.2;margin:2px 0 0;font-size:calc(var(--clock-font) * .7)}
.world-clock-atlas-panel .world-clock-tile small:empty,.world-clock-atlas-panel .world-clock-utc small:empty{display:none}
.world-clock-atlas-panel .world-clock-tile-offset{font-size:calc(var(--clock-font) * .7);line-height:1.2;letter-spacing:-.1px;max-width:100%}
.world-clock-atlas-panel .world-clock-utc{padding:10px 2px;gap:6px}
.world-clock-atlas-panel .world-clock-utc time{font-size:16px;letter-spacing:-.3px}
.world-clock-atlas-panel .world-clock-utc small{display:block;font-size:9px;margin:2px 0 0}
.world-clock-atlas-panel .world-clock-utc strong{font-size:11px;letter-spacing:1px}
.world-clock-atlas-panel .world-clock-tile.is-highlighted .world-clock-zone-label{color:var(--accent-foreground)}
.world-clock-atlas-panel .world-clock-selection strong{font-size:14px;font-variant-numeric:tabular-nums}
.world-clock-simple-map-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 20px 6px}.world-clock-simple-map-heading strong{font-size:14px;font-weight:500}.world-clock-simple-map-heading span{font-size:11px;color:var(--muted-foreground)}
.world-clock-country-maps{display:grid;grid-template-columns:1.1fr 1.1fr .8fr;gap:16px;padding:10px 20px 20px}.world-clock-country-region{min-width:0}.world-clock-country-region+section{border-left:1px solid var(--border);padding-left:16px}.world-clock-country-region>header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;min-height:42px}.world-clock-country-region h3{font-size:13px;font-weight:500;line-height:1.4;margin:0}.world-clock-country-region>header>span{font-size:11px;color:var(--muted-foreground)}
.world-clock-regional-surface{position:relative;width:100%;aspect-ratio:600/430;margin:6px 0 14px}.world-clock-regional-surface .world-clock-map{width:100%;height:100%;display:block}.world-clock-regional-surface .world-clock-country-base{fill:color-mix(in srgb,var(--primary) 26%,var(--card))}.world-clock-regional-surface .world-clock-country-outline{stroke:var(--muted-foreground);stroke-opacity:.65;stroke-width:1;vector-effect:non-scaling-stroke}.world-clock-regional-surface .world-clock-zone{fill:transparent;stroke:none}.world-clock-regional-surface .world-clock-zone.is-highlighted{fill:var(--primary);fill-opacity:.75;stroke:none}.world-clock-regional-surface .world-clock-map-country.has-selection:not(.is-highlighted){opacity:.65}
.world-clock-atlas-panel .world-clock-regional-surface .world-clock-country-label{display:block;font-size:11px;font-weight:500;line-height:1.25;min-height:20px;min-width:0;padding:2px 3px;max-width:82px;white-space:normal;word-break:normal;text-align:center;text-shadow:0 1px 3px var(--card),0 -1px 3px var(--card)}
.world-clock-country-names{display:flex;gap:5px;flex-wrap:wrap;align-content:start}.world-clock-atlas-panel .world-clock-country-names :is(button,span){min-height:27px;padding:4px 7px;font-size:11px;font-weight:400;line-height:1.35;max-width:100%;white-space:normal;background:var(--muted);color:var(--foreground);border:1px solid var(--border);border-radius:5px;box-shadow:none}.world-clock-atlas-panel .world-clock-country-names button:hover:not(:disabled),.world-clock-atlas-panel .world-clock-country-names :is(button,span).is-highlighted{background:var(--accent);color:var(--accent-foreground);border-color:var(--primary)}
@media(max-width:900px){.world-clock-country-maps{grid-template-columns:1fr;gap:20px}.world-clock-country-region+section{border-left:0;border-top:1px solid var(--border);padding:14px 0 0}.world-clock-regional-surface{max-width:620px;margin-inline:auto}.world-clock-country-names{justify-content:flex-start}.world-clock-simple-map-heading{padding:16px 12px 6px}.world-clock-country-maps{padding:10px 12px 16px}}
@media(pointer:coarse){.world-clock-country-names :is(button,span){min-height:36px}}
.world-clock-mobile-reference{display:none}
@media(max-width:900px){

 .world-clock-atlas-panel .world-clock-banner{display:none}
 .world-clock-mobile-reference{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 12px;border-block:1px solid var(--border);background:var(--accent);color:var(--accent-foreground)}
 .world-clock-mobile-reference strong{font-size:12px;font-weight:500;letter-spacing:1px}.world-clock-mobile-reference time{font:500 18px/1.3 'SFMono-Regular',Consolas,monospace;font-variant-numeric:tabular-nums}.world-clock-mobile-reference time small{font:400 11px 'IBM Plex Sans',sans-serif;margin-left:5px}.world-clock-mobile-reference time small:empty{display:none}.world-clock-mobile-reference>span{font-size:11px}
}
 .world-clock-regional-clocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,max(100px,calc((100% - 10px)/3))),1fr));gap:6px;padding:8px 0 12px}
 .world-clock-atlas-panel button.world-clock-region-clock{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:76px;min-width:0;width:100%;padding:8px 4px;background:var(--muted);color:var(--foreground);border:1px solid var(--border);border-radius:6px;box-shadow:none}
 .world-clock-region-clock strong{font-size:11px;line-height:1.3;font-weight:500;color:var(--muted-foreground)}.world-clock-region-clock time{font:500 18px/1.25 'SFMono-Regular',Consolas,monospace;font-variant-numeric:tabular-nums;white-space:nowrap;color:inherit}.world-clock-region-clock time small{display:block;font:400 10px/1.2 'IBM Plex Sans',sans-serif;margin-top:3px}.world-clock-region-clock time small:empty{display:none}.world-clock-region-clock>span{font-size:11px;line-height:1.3;color:var(--muted-foreground);font-weight:400}
 .world-clock-atlas-panel button.world-clock-region-clock.is-highlighted,.world-clock-atlas-panel button.world-clock-region-clock:hover:not(:disabled){background:var(--accent);color:var(--accent-foreground);border-color:var(--primary)}.world-clock-region-clock.is-highlighted strong,.world-clock-region-clock.is-highlighted>span{color:var(--accent-foreground)}


.world-clock-map-layout-mobile{display:none}
@media(max-width:900px){.world-clock-map-layout-desktop{display:none}.world-clock-map-layout-mobile{display:grid}}

.world-clock-marquee{display:flex;align-items:center;min-width:0;border-bottom:1px solid var(--border);background:var(--muted)}
.world-clock-marquee-viewport{flex:1;min-width:0;overflow:hidden}
.world-clock-marquee-track{display:flex;width:max-content;animation:world-clock-cities linear infinite}
.world-clock-marquee-list{display:flex;align-items:center;gap:28px;padding:9px 14px;flex-shrink:0}
.world-clock-atlas-panel button.world-clock-marquee-city{display:flex;align-items:baseline;gap:6px;white-space:nowrap;min-height:28px;padding:3px 5px;border:0;border-radius:4px;box-shadow:none;background:transparent;color:var(--foreground);font-size:13px;font-weight:500}
.world-clock-marquee-city time{font:400 13px/1.4 'SFMono-Regular',Consolas,monospace;font-variant-numeric:tabular-nums}
.world-clock-atlas-panel button.world-clock-marquee-city.is-highlighted,.world-clock-atlas-panel button.world-clock-marquee-city:hover{background:var(--accent);color:var(--accent-foreground)}
.world-clock-atlas-panel button.world-clock-marquee-toggle{display:flex;align-items:center;justify-content:center;flex:none;width:32px;min-height:32px;margin:0 8px;padding:6px;background:var(--card);color:var(--muted-foreground);border:1px solid var(--border);border-radius:5px;box-shadow:none}
.world-clock-marquee:hover .world-clock-marquee-track,.world-clock-marquee:focus-within .world-clock-marquee-track,.world-clock-marquee[data-paused="true"] .world-clock-marquee-track{animation-play-state:paused}
@keyframes world-clock-cities{to{transform:translateX(-50%)}}
.world-clock-desktop-reference{display:flex;justify-content:center;border-block:1px solid var(--border);background:var(--muted)}
.world-clock-desktop-reference .world-clock-utc{flex-direction:row;gap:9px;padding:8px 18px;min-height:42px;border:0;background:transparent}
.world-clock-desktop-reference .world-clock-utc small{display:inline;margin-left:4px}
@media(max-width:900px){.world-clock-marquee,.world-clock-desktop-reference{display:none}}
@media(prefers-reduced-motion:reduce){.world-clock-marquee-track{animation:none}.world-clock-marquee-viewport{overflow-x:auto;scrollbar-width:thin}.world-clock-marquee-list[aria-hidden="true"]{display:none}.world-clock-marquee-toggle{display:none!important}}

@media(max-width:900px){

 .world-clock-map-layout-mobile .world-clock-country-label{pointer-events:none}
 .world-clock-map-layout-mobile .world-clock-country-names span{min-height:0;padding:3px 6px;color:var(--muted-foreground)}
 .world-clock-map-layout-mobile .world-clock-map-country{cursor:default}
 .world-clock-map-layout-mobile .world-clock-zone{cursor:pointer}
 .world-clock-map-layout-mobile .world-clock-map-country.is-highlighted .world-clock-country-outline{stroke:var(--muted-foreground);stroke-opacity:.65;stroke-width:1}
 .world-clock-map-layout-mobile .world-clock-zone:focus-visible{outline:none}
}
 .world-clock-regional-clocks{gap:5px;padding:5px 0 8px}
 .world-clock-atlas-panel button.world-clock-region-clock{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 4px;min-height:43px;padding:5px 7px;text-align:left;align-items:center}
 .world-clock-region-clock strong{grid-column:1;grid-row:1;font-size:10px}
 .world-clock-region-clock>span{grid-column:2;grid-row:1;font-size:9px;text-align:right}
 .world-clock-region-clock time{grid-column:1/-1;grid-row:2;font-size:15px;text-align:center;line-height:1.2}
 .world-clock-region-clock time small{display:inline;font-size:9px;margin:0 0 0 4px}


.world-clock-mobile-map-hint{display:none}
@media(max-width:900px){.world-clock-desktop-map-hint{display:none}.world-clock-mobile-map-hint{display:inline}}

.world-clock-map-layout-desktop{grid-template-columns:repeat(6,minmax(0,1fr))}
.world-clock-map-layout-desktop .world-clock-country-region{grid-column:span 2;padding:12px;border:1px solid var(--border);border-radius:8px}
.world-clock-map-layout-desktop .world-clock-country-region:nth-child(n+4){grid-column:span 3}
.world-clock-map-layout-desktop .world-clock-regional-surface{max-width:620px;margin-inline:auto}
@media(min-width:901px) and (max-width:1200px){.world-clock-map-layout-desktop{grid-template-columns:repeat(2,minmax(0,1fr))}.world-clock-map-layout-desktop .world-clock-country-region:nth-child(n){grid-column:span 1}.world-clock-map-layout-desktop .world-clock-country-region:last-child{grid-column:span 2}}

.world-clock-country-maps .world-clock-country-label{pointer-events:none}
.world-clock-country-maps .world-clock-map-country{cursor:default}
.world-clock-country-maps .world-clock-zone{cursor:pointer}
.world-clock-country-maps .world-clock-zone:focus-visible{outline:none}
.world-clock-country-maps .world-clock-country-names span{min-height:0;padding:3px 6px;color:var(--muted-foreground)}

 .world-clock-region-clock strong{grid-column:1/-1;text-align:center;font-size:10px;line-height:1.2;white-space:normal}
 .world-clock-region-clock time{grid-column:1;grid-row:2;font-size:13px;text-align:left}
 .world-clock-region-clock time small{margin-left:3px;font-size:8px}
 .world-clock-region-clock>span{grid-column:2;grid-row:2;font-size:9px}


@media(max-width:360px){.world-clock-regional-clocks{grid-template-columns:repeat(2,minmax(0,1fr))!important}.world-clock-regional-clocks:has(>button:only-child){grid-template-columns:1fr!important}}

.changelog{max-width:850px;margin:0 auto 0 0;min-width:0}.changelog-intro{color:var(--muted-foreground);margin:0 0 24px;font-size:15px}.changelog-releases{display:grid;gap:18px}.changelog-release{padding:24px;border:1px solid var(--border);border-radius:12px;background:var(--card);overflow-wrap:anywhere}.changelog-meta{display:flex;align-items:center;gap:10px;color:var(--muted-foreground);font-size:13px}.changelog-latest{padding:2px 8px;border-radius:20px;background:var(--accent);color:var(--accent-foreground);font-size:12px;font-weight:600}.changelog-release h2{margin:12px 0 8px;font-size:21px;font-weight:600;line-height:1.3}.changelog-release p{margin:0;color:var(--muted-foreground);font-size:14px;line-height:1.6}.changelog-release ul{margin:16px 0 0;padding-left:20px;font-size:14px;line-height:1.6}.changelog-release li+li{margin-top:8px}.changelog-state{padding:20px 0;color:var(--muted-foreground)}.changelog-state p{margin:0 0 12px}.sidebar-changelog{display:flex;align-items:center;gap:8px;min-height:36px;padding:6px 8px;margin:0 -4px;border-radius:6px;font-size:13px;color:var(--muted-foreground);text-decoration:none}.sidebar-changelog svg{flex:none}.sidebar-changelog:hover,.sidebar-changelog[aria-current="page"]{background:var(--accent);color:var(--accent-foreground)}.sidebar-changelog:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.sidebar-changelog[aria-current="page"]{font-weight:600}@media(max-width:600px){.changelog-release{padding:18px}.changelog-release h2{font-size:19px}.changelog-intro{margin-bottom:18px}}
.changelog-features{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.changelog-features span{padding:2px 7px;border:1px solid var(--border);border-radius:5px;color:var(--muted-foreground);background:var(--muted);font-size:11px;line-height:1.5}

.changelog-meta{flex-wrap:wrap}.changelog-comparison{margin-top:10px}.changelog-comparison summary{display:list-item;width:fit-content;cursor:pointer;min-height:44px;padding:11px 12px;box-sizing:border-box;border:1px solid var(--border);border-radius:7px;color:var(--foreground);font-size:13px;font-weight:500}.changelog-comparison summary:focus-visible,.changelog-image-pair a:focus-visible{outline:2px solid var(--ring);outline-offset:3px}.changelog-image-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.changelog-image-pair figure{margin:0;min-width:0}.changelog-image-pair figcaption{font-size:12px;font-weight:600;margin-bottom:6px;color:var(--muted-foreground)}.changelog-image-pair a{display:block;border:1px solid var(--border);border-radius:8px;overflow:hidden}.changelog-image-pair img{display:block;width:100%;height:auto}.changelog-image-error{padding:20px;border:1px solid var(--border);border-radius:8px}@media(max-width:600px){.changelog-image-pair{grid-template-columns:1fr}}

.feedback-page{max-width:1120px;min-width:0}.feedback-intro{margin:0 0 20px;color:var(--muted-foreground)}.feedback-columns{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px;align-items:start}.feedback-columns>div{min-width:0;display:grid;gap:20px}.feedback-card{padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--card);min-width:0;overflow-wrap:anywhere}.feedback-card h2{font-size:18px;margin:0 0 8px;font-weight:600}.feedback-card>p,.feedback-form>p{font-size:13px;line-height:1.6;color:var(--muted-foreground);margin:0 0 16px}.feedback-form fieldset{border:0;padding:0;margin:0;display:grid;gap:10px;min-width:0}.feedback-form label{font-size:13px;font-weight:600;margin-top:4px}.feedback-form label span{font-weight:400;color:var(--muted-foreground)}.feedback-page select{background:var(--background);color:var(--foreground);border:1px solid var(--border);border-radius:6px;min-height:36px;padding:6px 9px;font:inherit;font-size:13px;max-width:100%;width:100%}.feedback-page select:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.feedback-page button{min-height:34px;padding:6px 12px;font-size:13px;width:fit-content}.feedback-form button[type=submit]{margin-top:6px}.feedback-entry{padding:16px 0;border-top:1px solid var(--border);min-width:0}.feedback-entry:last-child{padding-bottom:0}.feedback-entry h3{font-size:14px;font-weight:600;margin:0;line-height:1.5}.feedback-entry-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.feedback-entry p{font-size:13px;line-height:1.6;margin:10px 0}.feedback-copy{white-space:pre-wrap}.feedback-entry small{display:block;font-size:12px;line-height:1.5;color:var(--muted-foreground);margin-top:5px}.feedback-status{border:1px solid var(--border);border-radius:20px;padding:3px 8px;font-size:11px;white-space:nowrap;color:var(--muted-foreground)}.feedback-status.resolved{color:var(--primary)}.feedback-entry>button{margin-top:10px}.feedback-actions{display:flex;align-items:center;gap:8px}.feedback-page .feedback-error{color:var(--destructive);margin:12px 0}.feedback-page .feedback-success{color:var(--primary);margin:12px 0}@media(max-width:850px){.feedback-columns{grid-template-columns:minmax(0,1fr)}.feedback-columns>div:nth-child(2){grid-row:1}.feedback-card{padding:16px}}@media(pointer:coarse){.feedback-page button,.feedback-page select{min-height:44px}}

.feedback-entry .feedback-workaround strong{color:#856000}.dark .feedback-entry .feedback-workaround strong{color:#facc15}

.tr-settings{min-width:0;grid-template-columns:minmax(0,1fr);margin:24px 0;padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--card);display:grid;gap:18px}.tr-settings h3,.tr-settings h4{margin:0;font-size:16px}.tr-settings h4{font-size:14px}.tr-settings label,.tsc-filters label,.tsc-editor label{display:grid;gap:7px;font-size:13px;min-width:0}.tr-settings input,.tr-settings select,.tr-settings textarea,.tsc-filters input,.tsc-filters select,.tsc-editor input{width:100%;min-width:0;padding:9px 10px;border:1px solid var(--input);border-radius:7px;background:var(--background);color:var(--foreground);font:inherit}.tr-settings textarea{resize:vertical}.tr-settings p,.tr-settings small{font-size:12px;color:var(--muted-foreground);line-height:1.5;margin:0}.tr-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.tr-slots,.tr-rules{display:grid;gap:12px}.tr-slot{display:flex;gap:10px;align-items:end;max-width:520px}.tr-slot label{flex:1}.tr-settings button,.tsc-page button,.tsc-row-actions a{display:inline-flex;justify-content:center;align-items:center;gap:6px;width:fit-content;border:1px solid var(--border);border-radius:7px;background:var(--secondary);color:var(--foreground);font:inherit;font-size:12px;min-height:36px;padding:7px 10px;cursor:pointer;text-decoration:none}.tr-settings button:disabled,.tsc-page button:disabled{opacity:.5;cursor:not-allowed}.tr-rules ol{margin:0;padding-left:23px;font-size:13px;line-height:1.9}.tr-settings :is(input,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),button):focus-visible,.tsc-page :is(input,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),a):focus-visible{outline:2px solid var(--primary);outline-offset:3px}.tr-settings :disabled{opacity:.6}.td-archive-link{margin-left:auto;font-size:12px;color:var(--muted-foreground);padding:10px 2px;text-decoration:none;min-height:36px;display:inline-flex;align-items:center;gap:5px}.td-archive-link[aria-current=page]{color:var(--foreground);border-bottom:2px solid var(--primary)}.td-toolbar .td-tabs{gap:22px}
.tsc-page{display:grid;gap:20px}.tsc-heading h2{font-size:22px;margin:0 0 7px}.tsc-heading p,.tsc-empty{font-size:13px;color:var(--muted-foreground)}.tsc-filters{display:flex;align-items:end;gap:14px}.tsc-filters label:first-child{flex:1}.tsc-filters label:not(:first-child){width:190px}.tsc-section h3{font-size:15px;margin:0 0 12px;display:flex;gap:10px;align-items:center}.tsc-list{display:grid;gap:12px}.tsc-row{padding:17px;border:1px solid var(--border);border-radius:12px;background:var(--card);display:grid;gap:12px;min-width:0}.tsc-row-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;color:var(--muted-foreground);font-size:12px}.tsc-matchup{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.tsc-person{display:flex;align-items:flex-start;gap:9px;min-width:0;flex:1 1 230px}.tsc-person strong{display:block;font-size:14px;overflow-wrap:anywhere}.tsc-person p{margin:5px 0 0;font-size:12px;color:var(--muted-foreground);line-height:1.5;overflow-wrap:anywhere}.tsc-versus{align-self:center;color:var(--muted-foreground);font-size:12px}.tsc-row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tsc-state{font-size:12px;color:var(--primary)}.tsc-editor{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:13px;background:var(--muted);border-radius:8px}.tsc-editor p{width:100%;font-size:12px;margin:0;color:var(--muted-foreground)}.tsc-error{padding:12px;border:1px solid var(--border);border-radius:8px;font-size:13px}.tsc-pool-note{font-size:12px;color:var(--muted-foreground);margin:0}.tsc-history summary{cursor:pointer;font-size:14px;padding:12px 0}.tsc-page .tournament-avatar{flex:none}.tsc-page .tournament-avatar img{width:30px;height:30px;object-fit:cover}
@media(max-width:740px){.tr-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.tsc-filters{flex-wrap:wrap}.tsc-filters label:first-child{flex-basis:100%}.tsc-filters label:not(:first-child){flex:1;width:auto}.td-archive-link{font-size:12px}.tsc-person{flex-basis:190px}.tr-settings{padding:16px}.td-toolbar .td-tabs{gap:15px}.td-toolbar .td-tabs a{font-size:13px}}
@media(max-width:460px){.tr-fields{grid-template-columns:1fr}.tr-slot{flex-wrap:wrap}.tsc-editor label{flex:1 1 130px}.tsc-row{padding:14px}.tsc-person{flex-basis:100%}.tsc-versus{margin-left:39px}.tr-settings input,.tr-settings select,.tr-settings textarea,.tsc-filters input,.tsc-filters select,.tsc-editor input{font-size:16px}}
.tr-pool-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:8px}.tr-settings .tr-pool-person{display:flex;align-items:center;gap:9px;border:1px solid var(--border);border-radius:8px;padding:10px}.tr-settings .tr-pool-person input{width:16px;height:16px;flex:none}.tr-pool-person strong{font-size:13px;overflow-wrap:anywhere}.tr-pool-person small{display:block;margin-top:4px}.tr-pool-actions{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.tr-pool-actions label{width:180px}.tr-pool .td-section-heading{margin-bottom:0}
.tsc-registration-tools{border-top:1px solid var(--border);padding-top:12px}.tsc-registration-editor{display:grid;gap:14px;margin-top:12px;padding:14px;background:var(--muted);border-radius:8px}.tsc-registration-editor>label,.tsc-pair label{display:grid;gap:7px;font-size:13px}.tsc-registration-editor select{max-width:100%;padding:9px;background:var(--background);border:1px solid var(--input);border-radius:7px;color:var(--foreground);font:inherit}.tsc-registration-editor fieldset{display:flex;gap:10px 18px;flex-wrap:wrap;border:1px solid var(--border);border-radius:8px;padding:12px;font-size:13px}.tsc-registration-editor legend{padding:0 5px}.tsc-registration-editor fieldset label{display:flex;gap:7px;align-items:center}.tsc-registration-editor input[type=checkbox]{accent-color:var(--primary);width:16px;height:16px}.tsc-pair{display:flex;align-items:end;gap:12px;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:12px}
.tournament-builder .tr-settings :is(input,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea){min-height:36px;padding:8px 10px;font-size:13px}.tournament-builder .tr-settings input[type=checkbox]{min-height:16px;padding:0}.tr-fields{align-items:start}
@media(max-width:520px){.tournament-builder .tr-settings :is(input,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea){font-size:16px}}

.td-tools a[aria-current=page]{color:var(--primary);border-color:var(--primary)}

.td-directory-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.workspace .td-directory-actions button.td-text-action{background:transparent;color:var(--primary);border:0;cursor:pointer;font:inherit;font-size:12px}.td-directory-actions button:disabled{opacity:.5;cursor:not-allowed}.rm-dialog{width:min(760px,calc(100vw - 32px));max-width:760px;max-height:calc(100dvh - 32px);overflow-y:auto}.rm-layout{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,1.35fr);gap:24px;margin-top:20px}.rm-directory,.rm-editor{display:flex;flex-direction:column;gap:12px;min-width:0}.rm-dialog .rm-editor h3{margin:0;font-size:15px}.rm-dialog label{margin:0;display:grid;gap:6px;font-size:12px}.rm-dialog input,.rm-dialog select{margin:0;box-sizing:border-box;width:100%;min-width:0;padding:8px 10px;border:1px solid var(--input);border-radius:7px;background:var(--background);color:var(--foreground);font:inherit}.rm-dialog select{max-width:100%}.rm-dialog .rm-active{display:flex;align-items:center;gap:8px}.rm-dialog .rm-active input{width:16px;height:16px;accent-color:var(--primary)}.rm-dialog .rm-editor p{margin:0;font-size:12px;line-height:1.5}.rm-list{display:grid;grid-auto-rows:max-content;align-content:start;gap:6px;max-height:320px;overflow-y:auto}.rm-dialog .rm-list button{text-align:left;display:grid;justify-content:stretch;align-items:start;height:auto;min-height:56px;white-space:normal;gap:5px;width:100%;overflow-wrap:anywhere}.rm-list small{line-height:1.4;font-size:11px;color:var(--muted-foreground);font-weight:normal}.rm-dialog :is(.rm-add,.rm-editor>button,.rm-list button){border:1px solid var(--border);border-radius:7px;background:var(--secondary);color:var(--foreground);padding:8px 10px;min-height:36px;font:inherit;font-size:12px;cursor:pointer}.rm-dialog .rm-add{display:flex;align-items:center;gap:6px}.rm-dialog .rm-list button[aria-pressed=true]{border-color:var(--primary);background:var(--muted)}.rm-dialog button:disabled{opacity:.5;cursor:not-allowed}.rm-dialog :is(button,input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select):focus-visible{outline:2px solid var(--primary);outline-offset:2px}.rm-dialog [role=alert]{color:var(--destructive)}
@media(max-width:600px){.td-directory-actions{gap:5px 12px;justify-content:flex-start}.rm-layout{grid-template-columns:1fr;gap:18px}.rm-list{max-height:150px}.rm-dialog input,.rm-dialog select{font-size:16px}.rm-editor{border-top:1px solid var(--border);padding-top:16px}}

.tsc-participant{flex:1 1 230px;min-width:0}.tsc-manager-line{display:flex;align-items:center;flex-wrap:wrap;gap:3px;margin-top:5px;font-size:12px;color:var(--muted-foreground);line-height:1.5}.tsc-manager-assignment{display:inline-flex;align-items:center}.tsc-manager-assignment.is-editing{flex-basis:100%;margin-top:6px}.tsc-page .tsc-manager-edit{width:auto;min-height:32px;padding:5px 8px;display:inline-flex;align-items:center;gap:4px;border:0;border-radius:4px;background:transparent;color:#f2c75c}.tsc-page .tsc-manager-edit:hover{background:rgba(242,199,92,.12)}.tsc-manager-edit svg{flex:none}.tsc-manager-assignment label{display:grid;gap:6px;font-size:12px;min-width:0}.tsc-manager-assignment select{max-width:100%;padding:7px 9px;border:1px solid var(--input);border-radius:7px;background:var(--background);color:var(--foreground);font:inherit}.tsc-manager-assignment .tsc-row-actions{align-items:end}

.tsc-enrollment-flag{color:var(--primary)!important;font-weight:600}.tsc-enrollment-tools{margin:10px 0}.tsc-enrollment-tools .tsc-registration-editor{padding:12px;border:1px solid var(--border);border-radius:8px}.tsc-enrollment-tools p{font-size:12px;line-height:1.5;margin:6px 0}.tsc-analytics-toggle{display:flex!important;align-items:center;gap:8px}.tsc-analytics-toggle input{width:16px!important;height:16px;min-height:16px!important;margin:0;accent-color:var(--primary)}

/* Compact enrollment queue with actions beneath the creator. */
.tsc-row--enrollment{--tsc-avatar-size:28px;--tsc-person-gap:10px;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;padding:15px 17px;border-radius:8px}
.tsc-row--enrollment>.tsc-row-heading{grid-column:1/-1;font-size:11px;gap:4px}
.tsc-row--enrollment .tsc-state{font-size:12px}
.tsc-row--enrollment>.tsc-matchup{grid-column:1;gap:6px}
.tsc-row--enrollment .tsc-person{gap:var(--tsc-person-gap);flex-basis:auto;align-items:center}
.tsc-row--enrollment .tsc-person>div{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:3px 12px}
.tsc-row--enrollment .tsc-person strong{font-size:13px;line-height:1.4}
.tsc-row--enrollment .tsc-manager-line{margin:0;font-size:12px;line-height:1.4}
.tsc-row--enrollment .tsc-person p{order:1;flex-basis:100%;margin:0;font-size:12px;line-height:1.4}
.tsc-row--enrollment .tournament-avatar,.tsc-row--enrollment .tournament-avatar img{width:var(--tsc-avatar-size);height:var(--tsc-avatar-size);min-width:var(--tsc-avatar-size);font-size:11px}
.tsc-enrollment-actions:empty{display:none}
.tsc-row--enrollment>.tsc-enrollment-actions{grid-column:1/-1;grid-row:auto;justify-self:start;display:flex;gap:5px;flex-direction:column;min-width:0}
.tsc-row--enrollment .tsc-enrollment-tools{margin:0}
.tsc-row--enrollment .tsc-enrollment-tools>.tsc-row-actions{padding-inline-start:calc(var(--tsc-avatar-size) + var(--tsc-person-gap))}
.tsc-row--enrollment .tsc-row-actions{gap:5px}
.tsc-row--enrollment button,.tsc-row--enrollment .tsc-row-actions a{min-height:30px;padding:4px 8px;font-size:11px;border-radius:5px}
.tsc-row--enrollment>.tsc-row-actions,.tsc-row--enrollment>.tsc-editor,.tsc-row--enrollment>.tsc-error,.tsc-enrollment-details{grid-column:1/-1}
.tsc-enrollment-details>summary{width:fit-content;font-size:11px;line-height:1.5;color:var(--muted-foreground);cursor:pointer}
.tsc-enrollment-details[open]{padding-top:4px}
.tsc-enrollment-details[open]>summary{margin-bottom:6px}
.tsc-row--enrollment:has(.tsc-enrollment-tools .tsc-registration-editor)>.tsc-enrollment-actions{justify-self:stretch}
.tsc-row--enrollment:has(.tsc-enrollment-tools .tsc-registration-editor)>.tsc-row-heading,.tsc-row--enrollment:has(.tsc-enrollment-tools .tsc-registration-editor)>.tsc-matchup{grid-column:1/-1}
.tsc-row--enrollment .tsc-registration-editor{margin-top:7px;gap:8px;padding:10px}
.tsc-row--enrollment .tsc-registration-editor p{margin:0;font-size:11px;line-height:1.5}
.tsc-enrollment-details .tsc-registration-tools{padding-top:7px}
@media(max-width:600px){.tsc-row--enrollment{padding:14px;gap:8px}.tsc-row--enrollment>.tsc-enrollment-actions{grid-column:1/-1;grid-row:auto;justify-self:start}.tsc-row--enrollment>.tsc-row-heading,.tsc-row--enrollment>.tsc-matchup{grid-column:1/-1}.tsc-row--enrollment .tsc-participant{flex-basis:100%}.tsc-row--enrollment .tsc-manager-line{font-size:11px}}

.tsc-page .tsc-enroll-button{background:#f2c75c;border-color:#f2c75c;color:#111;font-weight:600}
.tsc-page .tsc-enroll-button:hover:not(:disabled){background:#f8d779;border-color:#f8d779}
.tsc-row--enrollment .tsc-username-edit{width:30px;height:30px;padding:6px;flex:none}
.tsc-username-edit svg{flex:none}

.tsc-page .tsc-date{font-weight:700}.tsc-person strong.tsc-date{display:inline;font-size:inherit}

.tsc-sources{display:flex;gap:8px;flex-wrap:wrap}.tsc-sources button{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:6px 12px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:inherit;font:inherit;cursor:pointer}.tsc-sources button[aria-pressed=true]{border-color:#d9ad59;background:color-mix(in srgb,#d9ad59 12%,transparent)}.tsc-source-label{display:inline-block;margin-right:10px;padding:2px 7px;border:1px solid var(--border);border-radius:5px;font-size:11px;color:var(--muted-foreground);white-space:nowrap}.tsc-row-heading>span:first-child{line-height:1.8}.tsc-filters{flex-wrap:wrap}

/* Connected teams share a compact row; detailed editing expands on demand. */
.tsc-duo{display:grid;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);align-items:center;width:100%;min-width:0;gap:6px}
.tsc-duo>.tsc-participant{min-width:0}
.tsc-duo-connector{display:flex;align-items:center;justify-content:center;color:var(--primary);position:relative}
.tsc-duo-connector::before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px solid var(--border)}
.tsc-duo-connector svg{position:relative;background:var(--card);padding:4px;box-sizing:content-box}
.tsc-duo>.tsc-duo-empty{display:flex;align-items:center;gap:9px;color:var(--muted-foreground)}
.tsc-empty-avatar{width:30px;height:30px;display:grid;place-items:center;border:1px dashed var(--border);border-radius:50%;flex:none}
.tsc-duo-empty strong{font-size:13px;font-weight:500}
.tsc-duo-match{display:grid;gap:10px;justify-items:center;min-width:0}.tsc-duo-match>.tsc-versus{margin:0}
.tsc-registration-row{padding:10px 14px;border-radius:8px;gap:10px}
.tsc-pool-summary{display:grid;grid-template-columns:minmax(130px,.6fr) minmax(0,1fr) auto;align-items:center;gap:18px;min-width:0}
.tsc-pool-event{font-size:12px;color:var(--muted-foreground);overflow-wrap:anywhere}
.tsc-pool-profiles{display:flex;align-items:center;gap:12px;min-width:0}.tsc-pool-profile{display:flex;align-items:center;gap:8px;min-width:0}.tsc-pool-profile strong{font-size:13px;overflow-wrap:anywhere}
.tsc-pool-profiles--duo .tsc-duo-connector{width:26px;flex:none}.tsc-pool-profile .tournament-avatar,.tsc-pool-profile .tournament-avatar img{width:28px;height:28px;min-width:28px;font-size:11px}
.tsc-pool-buttons{display:flex;gap:6px}.tsc-pool-buttons button{min-height:34px;padding:6px 10px;font-size:12px;white-space:nowrap}
.tsc-pool-panel{border-top:1px solid var(--border);padding-top:12px;display:grid;gap:14px;min-width:0}.tsc-pool-panel>.tsc-row-actions{justify-content:space-between;font-size:13px}.tsc-pool-panel-person{display:grid;gap:8px;min-width:0}.tsc-pool-panel-person+.tsc-pool-panel-person{border-top:1px solid var(--border);padding-top:12px}
@media(max-width:900px){.tsc-pool-summary{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.tsc-pool-event{grid-column:1/-1}}
@media(max-width:540px){.tsc-pool-summary{grid-template-columns:minmax(0,1fr)}.tsc-pool-buttons{justify-content:flex-end}.tsc-pool-profiles{flex-wrap:wrap}.tsc-duo{grid-template-columns:minmax(0,1fr);gap:4px}.tsc-duo>.tsc-duo-connector{height:18px;width:28px}}

@media(max-width:600px){
 .tsc-page{gap:16px;min-width:0}.tsc-list{gap:10px}
 .tsc-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.tsc-sources button{width:100%;min-height:44px;padding:8px;font-size:12px}
 .tsc-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .tsc-filters label:first-child{grid-column:1/-1;order:0}.tsc-filters label:nth-child(3){grid-column:1/-1;order:1}.tsc-filters label:nth-child(2){order:2}.tsc-filters label:nth-child(4){order:3}.tsc-filters label:not(:first-child){width:auto}
 .tsc-filters :is(input,select){min-height:44px;font-size:16px}
 .tsc-registration-row{padding:12px}.tsc-pool-summary{grid-template-columns:minmax(0,1fr);gap:10px}.tsc-pool-event{font-size:12px;line-height:1.4}
 .tsc-pool-profiles--duo{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:6px}
 .tsc-pool-profiles--duo .tsc-duo-connector{width:20px}.tsc-pool-profile{gap:6px}.tsc-pool-profile strong{font-size:13px;line-height:1.4;min-width:0}
 .tsc-pool-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tsc-pool-buttons button{width:100%;min-height:44px;font-size:13px;padding:8px 6px;white-space:normal}
 .tsc-pool-panel :is(button,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)):not([type=checkbox])){min-height:44px;max-width:100%}.tsc-pool-panel :is(select,input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)):not([type=checkbox])){font-size:16px;width:100%}
 .tsc-pool-panel .tsc-person>div{min-width:0}.tsc-pool-panel :is(.tsc-registration-editor,.tsc-manager-assignment,fieldset){min-width:0;max-width:100%;box-sizing:border-box}.tsc-pool-panel .tsc-registration-editor{padding:10px}
 .tsc-pool-panel fieldset{min-inline-size:0}.tsc-pool-panel fieldset label{min-height:40px}.tsc-pool-panel .tsc-manager-assignment.is-editing{display:block}
 .tsc-pool-panel .tsc-manager-assignment label{width:100%}.tsc-pool-panel .tsc-pair{align-items:stretch}.tsc-pool-panel .tsc-pair label{width:100%}
 .tsc-page>[aria-label="Participant report"] p{margin:0;font-size:13px;line-height:1.5}.tsc-page>[aria-label="Participant report"] button{min-height:44px}
}
@media(max-width:360px){.tsc-filters{grid-template-columns:minmax(0,1fr)}.tsc-filters label{grid-column:1/-1}}

/* Compact matchups keep scheduling as their single row action. */
.tsc-compact-match{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
.tsc-compact-match .tsc-pool-profile{flex:1;min-width:0}
.tsc-compact-match .tsc-versus,.tsc-compact-teams>.tsc-versus{margin:0}
.tsc-compact-teams{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;min-width:0}
.tsc-compact-teams .tsc-pool-profiles{gap:6px;flex-wrap:wrap}
.tsc-compact-date{display:block;margin-top:4px;font-size:12px;line-height:1.4;color:var(--foreground);font-weight:600}
@media(max-width:1100px){.tsc-compact-teams{grid-template-columns:minmax(0,1fr);gap:4px}.tsc-compact-teams>.tsc-versus{text-align:center}.tsc-compact-teams .tsc-pool-profiles{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}}
@media(max-width:600px){.tsc-scheduling-row .tsc-editor{min-width:0;padding:10px}.tsc-scheduling-row .tsc-editor label{min-width:0;flex:1 1 130px}.tsc-scheduling-row .tsc-editor input{width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:44px;font-size:16px}.tsc-scheduling-row .tsc-editor button{min-height:44px}}

.tsc-page :is(.tsc-set-schedule,.tsc-pool-buttons>button){position:relative;isolation:isolate;background:transparent;border:0;border-radius:6px;color:#000;font-size:12px;font-weight:500;gap:6px;padding:7px 12px;box-shadow:none}
.tsc-page :is(.tsc-set-schedule,.tsc-pool-buttons>button)::before{content:"";position:absolute;inset:2px 0;z-index:-1;border-radius:6px;background:#dfc58b;border:1px solid #e6ce99;transition:background .15s ease}
.tsc-page :is(.tsc-set-schedule,.tsc-pool-buttons>button):hover:not(:disabled)::before{background:#ebd39f}
.tsc-page :is(.tsc-set-schedule,.tsc-pool-buttons>button) svg{width:13px;height:13px;stroke-width:1.7}
@media(max-width:600px){.tsc-page .tsc-pool-buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:-2px;margin-bottom:-4px}.tsc-page .tsc-pool-buttons button{width:auto;padding-inline:12px;font-size:12px;min-height:44px}.tsc-page :is(.tsc-set-schedule,.tsc-pool-buttons>button)::before{inset:5px 0}}

/* Scheduling groups retain their children while collapsed so edits are not lost. */
.tsc-page .tsc-group-toggle{border:0;background:transparent;min-height:40px;padding:3px 0;font-size:15px;justify-content:flex-start;gap:9px}.tsc-group-toggle svg{transition:transform .15s;color:var(--muted-foreground)}.tsc-group-toggle .is-collapsed{transform:rotate(-90deg)}.tsc-section [hidden]{display:none!important}.tsc-needs-partner-label{display:inline-flex;align-items:center;gap:4px;width:fit-content;margin-top:5px;font-size:11px;font-weight:600;color:var(--foreground);border:1px solid var(--border);border-radius:5px;padding:3px 6px}.tsc-page .tsc-registration-icon{min-width:40px;min-height:40px;width:40px;padding:8px;flex:none}.tsc-partner-entry{display:grid;gap:4px;min-width:0;flex:1 1 280px;margin:0}.tsc-partner-input{display:flex;align-items:end;flex-wrap:wrap;gap:7px}.tsc-partner-input label{display:grid;gap:5px;font-size:12px;flex:1 1 135px;min-width:0}.tsc-partner-input input{width:100%;min-width:0;min-height:38px;padding:7px 9px;border:1px solid var(--input);border-radius:6px;background:var(--background);color:var(--foreground);font:inherit}.tsc-partner-recommendation{margin:0;font-size:12px;line-height:1.5;color:var(--muted-foreground);overflow-wrap:anywhere}.tsc-page .tsc-partner-recommendation button{display:inline;min-height:32px;padding:3px 4px;border:0;background:transparent;text-decoration:underline;color:var(--primary);font-weight:600}.tsc-partner-recommendation small{display:block}.tsc-registration-row:focus{outline:2px solid var(--primary);outline-offset:3px}.tsc-registration-row:has(.tsc-partner-entry) .tsc-pool-profiles{min-width:0;flex-wrap:wrap}.tsc-registration-row:has(.tsc-partner-entry) .tsc-pool-summary{grid-template-columns:minmax(120px,.7fr) minmax(0,2fr) auto}
@media(max-width:760px){.tsc-registration-row:has(.tsc-partner-entry) .tsc-pool-summary{grid-template-columns:minmax(0,1fr) auto}.tsc-registration-row:has(.tsc-partner-entry) .tsc-pool-event{grid-column:1}.tsc-registration-row:has(.tsc-partner-entry) .tsc-pool-profiles{grid-column:1/-1;grid-row:2}.tsc-registration-row:has(.tsc-partner-entry) .tsc-pool-buttons{grid-column:2;grid-row:1}.tsc-partner-entry{flex-basis:100%}.tsc-partner-input input{font-size:16px}.tsc-page .tsc-registration-icon{min-height:44px;min-width:44px}.tsc-page .tsc-partner-input button{min-height:40px}}
@media(prefers-reduced-motion:reduce){.tsc-group-toggle svg{transition:none}}
/* Bare yellow clipboard affordance; its invisible hit area remains accessible. */
.tsc-page .tsc-registration-icon{border:0;background:transparent;color:#f2c75c;border-radius:4px}.tsc-page .tsc-registration-icon:hover:not(:disabled){background:transparent;color:#ffdc7a}.tsc-page .tsc-registration-icon:disabled{background:transparent}

.tsc-page .tsc-registration-icon::before{content:none}
/* Override the shared gold action-pill styling used by schedule buttons. */
.tsc-page button.tsc-registration-icon{background:transparent;border:0;color:#f2c75c;padding:8px}.tsc-page button.tsc-registration-icon::before{content:none}.tsc-page button.tsc-registration-icon svg{width:18px;height:18px;stroke-width:1.8}.tsc-registration-row:has(.tsc-partner-entry) .tsc-pool-profiles{display:flex;align-items:center}
@media(max-width:760px){.tsc-registration-row:has(.tsc-partner-entry) .tsc-pool-profiles>.tsc-duo-connector{display:none}}

/* Registration dialogs retain the existing form and card styles. */
.tsc-row:has(.tsc-registration-icon){position:relative}
.tsc-page .tsc-row button.tsc-registration-icon{position:absolute;top:6px;right:6px;min-width:44px;min-height:44px;width:44px;margin:0}
.tsc-row:has(.tsc-registration-icon)>.tsc-pool-summary,.tsc-row:has(.tsc-registration-icon)>.tsc-row-heading{padding-right:42px}
.tsc-scheduled-registration{display:contents}
.tsc-registration-dialog{position:fixed;inset:0;margin:auto;width:min(720px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:0;box-sizing:border-box;background:var(--card);color:var(--foreground);border:1px solid var(--border);border-radius:12px;box-shadow:0 20px 80px #0008;overflow:hidden}
.tsc-registration-dialog[open]{display:flex;flex-direction:column}
.tsc-registration-dialog::backdrop{background:#0009}
.tsc-registration-dialog-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;padding:16px 18px;flex:none;border-bottom:1px solid var(--border)}
.tsc-registration-dialog-heading h2{margin:0;font-size:18px;font-weight:600;outline:none}
.tsc-registration-dialog-heading p{margin:6px 0 0;font-size:12px;color:var(--muted-foreground);overflow-wrap:anywhere}
.tsc-registration-dialog-heading button{min-height:44px;flex:none}
.tsc-registration-dialog>.tsc-pool-panel{overflow:auto;overscroll-behavior:contain;min-height:0;border:0;padding:18px}
.tsc-registration-dialog .tsc-pool-panel-person{overflow-wrap:anywhere}
.tsc-matchup-time{display:flex;align-items:center;gap:4px;margin-top:4px}
.tsc-matchup-time .tsc-compact-date{margin-top:0;min-width:0;font-size:16px;line-height:1.4;font-weight:700}
.tsc-page button.tsc-schedule-icon{display:inline-flex;min-width:44px;min-height:44px;padding:10px;flex:none;border:0;background:transparent;color:#f2c75c}
.tsc-page button.tsc-schedule-icon svg{width:14px;height:14px;stroke-width:1.8}
.tsc-page button.tsc-schedule-icon:hover:not(:disabled){background:transparent;color:#ffdc7a}
@media(max-width:760px){.tsc-row:has(.tsc-registration-icon)>.tsc-pool-summary{padding-right:0}.tsc-row:has(.tsc-registration-icon)>.tsc-pool-summary>.tsc-pool-event{padding-right:44px}.tsc-registration-dialog{max-height:calc(100dvh - 24px)}.tsc-registration-dialog-heading,.tsc-registration-dialog>.tsc-pool-panel{padding:14px}}

/* One type scale and spacing rhythm across Scheduling cards and their editors. */
.tsc-page{--tsc-text:13px;--tsc-meta:12px;--tsc-emphasis:16px;font-size:var(--tsc-text);line-height:1.5}
.tsc-page :is(h2,h3:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea){font-family:inherit;letter-spacing:normal}
.tsc-page .tsc-heading h2{font-size:22px;line-height:1.3;font-weight:600;margin-bottom:6px}
.tsc-page :is(.tsc-heading p,.tsc-empty){font-size:var(--tsc-text);line-height:1.5;margin:0}
.tsc-page .tsc-group-toggle{font-size:15px;line-height:1.4;font-weight:600}
.tsc-page .tsc-section h3{margin-bottom:10px}
.tsc-page .td-count{font-size:11px;line-height:1.4;font-weight:500}
.tsc-page .tsc-row{padding:14px;border-radius:8px;gap:12px}
.tsc-page .tsc-list{gap:12px}
.tsc-page :is(.tsc-pool-event,.tsc-row-heading,.tsc-state){font-size:var(--tsc-meta);line-height:1.5;font-weight:500}
.tsc-page :is(.tsc-pool-profile strong,.tsc-person>div>strong,.tsc-duo-empty strong){font-size:var(--tsc-text);line-height:1.5;font-weight:600}
.tsc-page :is(.tsc-pool-note,.tsc-manager-line,.tsc-person p,.tsc-partner-recommendation,.tsc-editor p,.tsc-enrollment-tools p){font-size:var(--tsc-meta);line-height:1.5;font-weight:400}
.tsc-page :is(.tsc-partner-recommendation small,.tsc-registration-dialog-heading p){font-size:var(--tsc-meta);line-height:1.5}
.tsc-page :is(.tsc-filters label,.tsc-editor label,.tsc-partner-input label,.tsc-registration-editor>label,.tsc-manager-assignment label){font-size:var(--tsc-meta);line-height:1.5;font-weight:500;gap:6px}
.tsc-page :is(.tsc-filters,.tsc-editor,.tsc-partner-input,.tsc-registration-editor,.tsc-manager-assignment) :is(input:not([type=checkbox]),select){margin:0;min-height:40px;padding:8px 10px;font-size:var(--tsc-text);font-weight:400;line-height:1.5;border-radius:7px}
.tsc-page :is(.tsc-sources button,.tsc-row-actions button,.tsc-editor button,.tsc-partner-input button,.tsc-registration-dialog-heading button){font-size:var(--tsc-meta);line-height:1.4;font-weight:500;min-height:40px;border-radius:7px}
.tsc-page :is(.tsc-needs-partner-label,.tsc-source-label){font-size:11px;line-height:1.4;font-weight:500;padding:3px 6px;border-radius:5px}
.tsc-page .tsc-versus{font-size:var(--tsc-meta);font-weight:400;line-height:1.5}
.tsc-page .tsc-matchup-time .tsc-compact-date{font-size:var(--tsc-emphasis);line-height:1.4;font-weight:700;font-variant-numeric:tabular-nums}
.tsc-page .tsc-registration-dialog-heading h2{font-size:18px;line-height:1.3;font-weight:600}
.tsc-page>[aria-label="Participant report"] p{font-size:var(--tsc-text);line-height:1.5;margin:0}
.tsc-page>[aria-label="Participant report"] strong{font-weight:600}
.tsc-page>[aria-label="Participant report"] small{font-size:var(--tsc-meta)}
.tsc-page .tsc-pool-buttons:has(>.tsc-registration-icon){display:contents}
.tsc-page .tsc-row .tsc-pool-summary{grid-template-columns:minmax(140px,.7fr) minmax(0,1.3fr)}
.tsc-page .tsc-registration-dialog .tsc-person{align-items:flex-start;gap:9px;flex-basis:auto}
.tsc-page .tsc-registration-dialog .tsc-person>div{display:block;min-width:0}
.tsc-page .tsc-registration-dialog .tsc-person p{margin:5px 0 0;line-height:1.5}
.tsc-page .tsc-registration-dialog .tsc-manager-line{margin-top:5px}
.tsc-page .tsc-registration-dialog .tsc-registration-editor{gap:14px;padding:14px;margin-top:12px}
.tsc-page .tsc-registration-dialog .tsc-row-actions{gap:8px}
.tsc-page .tsc-registration-dialog .tsc-row-actions button{padding:7px 10px}
.tsc-page button.tsc-schedule-icon,.tsc-page .tsc-registration-dialog-heading button{min-height:44px}
@media(max-width:900px){.tsc-page .tsc-row .tsc-pool-summary{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){
 .tsc-page :is(.tsc-filters,.tsc-editor,.tsc-partner-input,.tsc-registration-editor,.tsc-manager-assignment) :is(input:not([type=checkbox]),select){min-height:44px;font-size:16px}
 .tsc-page :is(.tsc-sources button,.tsc-row-actions button,.tsc-editor button,.tsc-partner-input button,.tsc-registration-dialog-heading button){min-height:44px}
}

/* Keep scheduling actions anchored to the same card edge, independent of registration controls. */
.tsc-page .tsc-schedule-actions{grid-column:1/-1;justify-content:flex-end;margin:0}

/* Tournament partner chooser. */
.tsc-page .tsc-partner-recommendation .tsc-partner-more{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:4px 6px;margin-left:4px;border:0;border-radius:5px;background:transparent;color:var(--muted-foreground);text-decoration:none;font-size:var(--tsc-meta);font-weight:400}
.tsc-partner-dialog{width:min(720px,calc(100% - 24px))}
.tsc-partner-chooser{padding:18px;overflow:auto;overscroll-behavior:contain;min-height:0}
.tsc-partner-count{margin:14px 0 8px;color:var(--muted-foreground);font-size:var(--tsc-meta)}
.tsc-partner-options{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.tsc-page .tsc-partner-options button{width:100%;min-height:46px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;white-space:normal;background:var(--background);border:1px solid var(--border);border-radius:8px;font-size:var(--tsc-meta)}
.tsc-partner-options strong{overflow-wrap:anywhere;min-width:0;font-weight:500}
.tsc-partner-options .tsc-partner-recommended{flex:none;color:var(--primary);font-size:12px}
.tsc-partner-options .tsc-partner-person{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.tsc-partner-options .tournament-avatar{width:40px;height:40px;flex:0 0 40px}
.tsc-partner-options .tournament-avatar img{width:40px;height:40px;object-fit:cover}
.tsc-partner-options .tsc-partner-identity{display:grid;gap:5px;min-width:0;flex:1}
.tsc-partner-name-line,.tsc-partner-username-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0}
.tsc-partner-options .tsc-partner-handle{min-width:0;max-width:48%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tsc-partner-options .tsc-partner-match-details{display:grid;justify-items:end;gap:6px;min-width:0;flex:1}
.tsc-partner-options .tsc-partner-score-tag{font-size:11px;line-height:1.3;padding:3px 7px;border-radius:999px;border:1px solid var(--primary);color:var(--primary);white-space:nowrap}
.tsc-partner-options .tsc-partner-score-unknown{border-color:var(--border);color:var(--muted-foreground)}
.tsc-partner-options .tsc-partner-overlap{min-width:0;max-width:100%;text-align:right;white-space:nowrap;overflow-x:auto;scrollbar-width:thin}
.tsc-partner-options .tsc-partner-identity strong{font-weight:600}
.tsc-partner-options .tsc-partner-identity small{color:var(--muted-foreground);font-size:12px;overflow-wrap:anywhere}
.tsc-page .tsc-partner-options button:not(:disabled):hover{border-color:var(--primary);background:var(--accent);color:var(--foreground)}
@media(max-width:760px){.tsc-page .tsc-partner-recommendation .tsc-partner-more{min-height:44px}.tsc-partner-chooser{padding:14px}}

.tsc-partner-chooser>.tsc-pool-note{margin:0}

.tsc-page .tsc-partner-recommendation .tsc-partner-more:not(:disabled):hover{background:transparent;color:var(--foreground);text-decoration:underline}

/* Match shared availability in the matchup recommendations. */
.tsc-partner-options .tsc-partner-identity .tsc-partner-overlap-shared{color:#9dd8b8}

.tsc-page .tsc-partner-options button.tsc-partner-option-recommended{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,var(--background));box-shadow:inset 3px 0 0 var(--primary)}
.tsc-page .tsc-partner-options button.tsc-partner-option-recommended:not(:disabled):hover{background:color-mix(in srgb,var(--primary) 18%,var(--background))}

.tsc-registration-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.tsc-registration-tags .tsc-needs-partner-label{margin-top:0}

.tsc-attention-warning{color:#f2c75c;flex:none}

.tsc-copy-details{grid-column:1/-1;min-width:0}.tsc-copy-details [role=status]:empty{display:none}.tsc-copy-details [role=status]{font-size:12px;color:var(--primary)}.tsc-copy-details label{display:grid;gap:8px;margin-top:10px;font-size:12px}.tsc-copy-details textarea{width:100%;min-height:220px;padding:10px;border:1px solid var(--border);border-radius:7px;background:var(--background);color:var(--foreground);font:inherit;resize:vertical}.tsc-copy-details textarea:focus-visible{outline:2px solid var(--primary);outline-offset:3px}

.tsc-page .tsc-copy-details button{border-color:transparent;background:transparent;box-shadow:none;color:var(--muted-foreground);font-size:12px;font-weight:400;padding:6px 8px;gap:5px}
.tsc-page .tsc-copy-details button:not(:disabled):hover{background:var(--muted);color:var(--foreground);border-color:transparent}
.tsc-page .tsc-copy-details button:focus-visible{background:transparent;color:var(--foreground);outline:2px solid var(--primary);outline-offset:2px}
.tsc-copy-details [role=status]{color:var(--muted-foreground)}

.tsc-card-enrollment{grid-column:1/-1;min-width:0}.tsc-card-enrollment>.tsc-enrollment-tools>.tsc-row-actions{justify-content:flex-end}.tsc-page .tsc-card-enrollment .tsc-enroll-button{padding:6px 10px;font-size:12px;min-height:40px}@media(max-width:760px){.tsc-page .tsc-card-enrollment .tsc-enroll-button{min-height:44px}}

/* Two cards per desktop row, with readable content inside each card. */
@media(min-width:1024px){
 .tsc-page .tsc-list{display:grid;width:100%;max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 .tsc-page .tsc-list>.tsc-row{width:100%;max-width:none;box-sizing:border-box;min-width:0;align-content:start}
 .tsc-page .tsc-list .tsc-row .tsc-pool-summary{grid-template-columns:minmax(0,1fr);gap:12px}
 .tsc-page .tsc-list .tsc-compact-teams{grid-template-columns:minmax(0,1fr);gap:4px}
 .tsc-page .tsc-list .tsc-compact-teams>.tsc-versus{text-align:center}
 .tsc-page .tsc-list .tsc-pool-profiles--duo{flex-wrap:wrap}
}

.tsc-enrollment-manager{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.tsc-enrollment-manager label{display:grid;gap:6px;min-width:0;font-size:13px}.tsc-enrollment-manager p{grid-column:1/-1;margin:0}.tsc-enrollment-manager select{width:100%;min-width:0;box-sizing:border-box}@media(max-width:600px){.tsc-enrollment-manager{grid-template-columns:minmax(0,1fr)}.tsc-enrollment-manager button{min-height:44px}}

.tsc-scheduled-duo{display:grid;gap:8px;justify-items:center;min-width:0}.tsc-change-partner{display:flex;justify-content:center}.tsc-page .tsc-change-partner>button,.tournament-builder .tsc-change-partner>button{min-height:40px;padding:6px 8px;font-size:12px;font-weight:400;line-height:1.4;border:0;border-radius:5px;background:transparent;color:var(--muted-foreground);box-shadow:none}.tsc-change-partner>button:hover:not(:disabled){color:var(--foreground);text-decoration:underline;text-underline-offset:3px}.tb-team-partner-action{flex:0 0 100%;display:flex;justify-content:flex-end;margin-top:-4px}.tsc-change-partner.tsc-page{display:flex;gap:0}.tournament-builder .tsc-change-partner-dialog{cursor:default}.tsc-change-partner-dialog form{padding-top:12px}.tsc-change-partner-dialog p{overflow-wrap:anywhere}@media(max-width:760px){.tsc-page .tsc-change-partner>button,.tournament-builder .tsc-change-partner>button{min-height:44px}}

.tsc-change-partner-dialog .tb-sms-save-notice{display:block;margin-bottom:4px;color:var(--primary);font-weight:600}

.tsc-changed-mark{color:#eab308;font-size:18px;font-weight:800;margin-left:5px;vertical-align:baseline}
.tsc-registration-dialog-heading>.tsc-row-actions{flex-wrap:wrap;justify-content:flex-end}

.tsc-change-partner-dialog .tsc-registration-editor{overflow-y:auto;min-height:0;overscroll-behavior:contain;margin-top:0!important}
.tsc-partner-review{display:grid;gap:12px}.tsc-partner-review-title{margin:0;font-size:15px;font-weight:600;outline:none}.tsc-partner-review p{margin:0}.tsc-partner-impact{border:1px solid var(--border);border-radius:8px;padding:12px;display:grid;gap:8px}.tsc-partner-impact-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:13px}.tsc-partner-impact-heading span,.tsc-partner-impact small{color:var(--muted-foreground);font-size:12px}.tsc-partner-impact p{font-size:13px;line-height:1.6}.tsc-partner-versus{display:block;color:var(--muted-foreground);font-size:12px}.tsc-partner-move-note{font-size:13px}.tsc-partner-availability{display:grid;gap:4px;font-size:12px;padding:10px 12px;border-left:3px solid var(--border);background:var(--muted);border-radius:4px}.tsc-partner-availability.is-warning{border-left-color:#b98a35}.tsc-partner-availability.is-available{border-left-color:#4b9b73}.tsc-registration-editor .tsc-partner-check{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5;min-height:44px;cursor:pointer}.tsc-registration-editor .tsc-partner-check input{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:2px 0;padding:0;accent-color:var(--primary)}.tsc-partner-check small{display:block;color:var(--muted-foreground);font-size:12px}.tsc-partner-review .tsc-pool-note p{margin-top:4px}.tb-vacancy-action{display:flex;align-items:center;gap:8px;font-size:12px;flex-wrap:wrap;color:var(--muted-foreground)}

.tr-settings .tr-event-prize{width:32rem;max-width:100%;box-sizing:border-box}
.tr-settings .tr-event-prize textarea{min-height:0;max-width:100%;width:100%;box-sizing:border-box;resize:vertical}

@media(min-width:741px){.tr-event-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}

.tr-rookie-days{display:grid;gap:16px}.tr-rookie-day{display:grid;gap:10px;padding:16px;border:1px solid var(--border);border-radius:12px;min-width:0}.tr-rookie-day>h4,.tr-rookie-day>p{margin:0}

.event-registration-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;margin:auto;padding:0;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--foreground);overflow:auto;overscroll-behavior:contain;box-shadow:0 28px 80px #0008}
.event-registration-dialog::backdrop{background:#000a}
.event-registration-dialog-heading{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--border);background:var(--card)}
.event-registration-dialog-heading h2{margin:0;font-size:19px;line-height:1.3;outline:none}
.event-registration-dialog-heading p{margin:6px 0 0;font-size:13px;color:var(--muted-foreground);overflow-wrap:anywhere}
.event-registration-dialog-heading>button{flex:none}
.event-registration-dialog-body{padding:20px;font-size:13px}
.event-registration-dialog-body>.event-registration-dialog-error p{margin:0 0 12px}
.event-registration-dialog .tr-settings{margin:0;padding:0;border:0;border-radius:0;background:transparent;gap:18px}
.event-registration-dialog .tr-settings>h3{font-size:14px}
.event-registration-dialog .tr-settings :is(input,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea){box-sizing:border-box;min-height:38px;font-size:13px}
.event-registration-dialog button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:7px 11px;border:1px solid var(--border);border-radius:6px;background:var(--secondary);color:var(--foreground);font:inherit;font-size:12px;cursor:pointer;box-shadow:none}
.event-registration-dialog button:disabled{opacity:.55;cursor:not-allowed}
.event-registration-dialog :is(button,input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea):focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.event-registration-dialog-note{margin:0 0 18px;color:var(--muted-foreground);font-size:12px;line-height:1.5}
.event-registration-dialog-error{margin:18px 0 0;padding:12px;border:1px solid var(--destructive);border-radius:7px;color:var(--foreground);font-size:12px;line-height:1.6;outline:none;overflow-wrap:anywhere}
.event-registration-dialog-body>.event-registration-dialog-error{margin-top:0}
.event-registration-dialog-conflict{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;font-size:12px;line-height:1.5}
.event-registration-dialog-conflict p{margin:0;color:var(--muted-foreground)}
.event-registration-dialog-conflict button{flex:none}
.event-registration-dialog-actions{position:sticky;bottom:-20px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px -20px -20px;padding:14px 20px;border-top:1px solid var(--border);background:var(--card);z-index:1}
.event-registration-dialog-actions>span{font-size:12px;color:var(--muted-foreground)}
.event-registration-dialog-actions>button{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}
@media(max-width:600px){.event-registration-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.event-registration-dialog-heading,.event-registration-dialog-body{padding:16px}.event-registration-dialog-heading h2{font-size:18px}.event-registration-dialog button{min-height:44px}.event-registration-dialog .tr-settings :is(input,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea){font-size:16px;min-height:44px}.event-registration-dialog-conflict{align-items:flex-start;flex-direction:column}.event-registration-dialog-actions{bottom:-16px;margin:20px -16px -16px;padding:12px 16px}}

.event-registration-name{display:grid;gap:6px;margin-bottom:18px;font-size:12px;color:var(--muted-foreground)}.event-registration-name input{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--border);border-radius:7px;background:var(--background);color:var(--foreground);font:inherit}

.scheduling-page,.registrations-page{--msc-border:var(--border,#d8dce3);--msc-muted:var(--muted-foreground,#657184);--msc-panel:var(--card,var(--background,#fff));}
.scheduling-page .tsc-heading,.registrations-page .tsc-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.tsc-heading>button{flex-shrink:0}.tsc-heading h2{margin:0}.tsc-heading p{margin:6px 0 0;line-height:1.5}.tsc-result-count{display:flex;justify-content:space-between;gap:12px;color:var(--msc-muted);font-size:13px;margin:2px 0 12px}.msc-views{display:flex;gap:6px;flex-wrap:wrap;margin:22px 0 18px}.msc-views button{display:flex;align-items:center;gap:8px;min-height:38px;border:1px solid transparent;border-radius:7px;padding:7px 12px;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer}.msc-views button[aria-pressed=true]{background:var(--accent,#e9edf4);border-color:var(--msc-border);font-weight:650}.msc-views button span{font-size:11px;min-width:19px;text-align:center;border-radius:20px;background:var(--background,#fff);padding:1px 5px}.msc-list{border:1px solid var(--msc-border);border-radius:10px;overflow:hidden;background:var(--msc-panel)}.msc-column-headings,.msc-row{display:grid;grid-template-columns:minmax(280px,1.5fr) minmax(175px,.8fr) minmax(190px,1fr) 135px;align-items:center;column-gap:20px;padding:16px 18px}.msc-column-headings{font-size:11px;font-weight:650;letter-spacing:.03em;color:var(--msc-muted);padding-top:10px;padding-bottom:10px;background:var(--muted,#f4f5f7)}.msc-row+.msc-row,.msc-row:first-of-type{border-top:1px solid var(--msc-border)}.msc-row--attention{box-shadow:inset 3px 0 0 #d7a64a}.msc-event{font-size:12px;color:var(--msc-muted);margin-bottom:10px}.msc-event span{white-space:nowrap}.msc-participants{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.msc-participant-wrap,.msc-person{display:inline-flex;align-items:center;gap:7px;min-width:0}.msc-person strong{font-size:13px;overflow-wrap:anywhere}.msc-person img,.msc-person .td-avatar{width:28px!important;height:28px!important;min-width:28px!important;border-radius:50%;object-fit:cover}.msc-person--owned strong{font-weight:700}.msc-versus{font-size:11px;color:var(--msc-muted)}.msc-match-meta{display:block;color:var(--msc-muted);font-size:11px;margin-top:9px}.msc-published{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.5}.msc-published svg{flex-shrink:0;margin-top:2px;color:var(--msc-muted)}.msc-request-state{display:grid;gap:7px}.msc-request-state>small{font-size:11px;color:var(--msc-muted);line-height:1.5}.msc-muted{font-size:12px;color:var(--msc-muted)}.msc-row-actions{display:flex;justify-content:flex-end}.msc-row-actions button,.mcr-actions button,.scheduling-page>.tsc-heading button,.registrations-page>.tsc-heading button,.msc-orphan>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:7px 11px;border:1px solid var(--msc-border);border-radius:7px;background:var(--msc-panel);color:inherit;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}.msc-row-actions button:hover,.mcr-actions button:hover{background:var(--accent,#eef1f5)}.msc-row-actions button:disabled,.mcr-actions button:disabled{opacity:.5;cursor:not-allowed}.mcr-status{display:inline-flex;align-items:center;gap:6px;width:fit-content;font-size:11px;font-weight:600;border-radius:5px;padding:4px 7px;background:var(--muted,#eef1f5);line-height:1.4}.mcr-status--pending{background:color-mix(in srgb,#cb9c36 14%,transparent);color:var(--foreground,inherit)}.mcr-status--conflict{background:color-mix(in srgb,#dc5a4d 13%,transparent)}.mcr-status--finalized{background:color-mix(in srgb,#3b9968 13%,transparent)}.msc-attention-dot{width:6px;height:6px;background:#d3a03b;border-radius:50%}.msc-empty{text-align:center;border:1px dashed var(--msc-border);border-radius:10px;padding:40px 20px;color:var(--msc-muted)}.msc-empty>svg{margin:auto}.msc-empty h3{font-size:16px;color:var(--foreground,inherit);margin:12px 0 6px}.msc-empty p{font-size:13px}.msc-empty a{display:inline-flex;align-items:center;gap:5px;color:inherit;font-size:13px;font-weight:600}.msc-unresolved{margin-top:24px}.msc-unresolved>h3{font-size:16px;margin:0 0 6px}.msc-unresolved>p{font-size:13px;color:var(--msc-muted)}.msc-orphan{padding:18px;margin-top:12px;border:1px solid var(--msc-border);border-radius:9px}.msc-orphan>div>strong{font-size:14px}.msc-orphan p{font-size:13px}.msc-orphan>button{margin-top:12px}.mcr-dialog{width:min(720px,calc(100vw - 32px));--msc-border:var(--border,#d8dce3);--msc-muted:var(--muted-foreground,#657184);--msc-panel:var(--card,var(--background,#fff));}.mcr-dialog-body{padding:20px;overflow:auto}.mcr-participants{font-size:13px;line-height:1.5;margin-top:0}.mcr-summary{margin:16px 0}.mcr-time-change{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;padding:16px;background:var(--muted,#f3f5f7);border:1px solid var(--msc-border);border-radius:8px}.mcr-time-change>div{display:grid;gap:6px;font-size:14px;line-height:1.5}.mcr-time-change small,.mcr-current small{font-size:11px;color:var(--msc-muted)}.mcr-current{display:grid;gap:6px;padding:15px;border:1px solid var(--msc-border);border-radius:8px}.mcr-progress{list-style:none;margin:16px 0;padding:0;display:grid;gap:8px}.mcr-progress li{display:flex;gap:9px;align-items:center;font-size:12px;padding:9px 0;border-bottom:1px solid var(--msc-border)}.mcr-progress li>span:first-of-type{display:grid;gap:3px;flex:1}.mcr-progress small{font-size:11px;color:var(--msc-muted)}.mcr-progress li>span:last-child{color:var(--msc-muted);font-size:11px}.mcr-progress .is-agreed>svg{color:#399c68}.mcr-help,.mcr-deadline{font-size:12px;color:var(--msc-muted);line-height:1.6}.mcr-conflict{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.5;padding:12px;background:color-mix(in srgb,#dc5a4d 10%,transparent);border-radius:6px}.mcr-conflict>svg{flex-shrink:0;margin-top:2px}.mcr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.mcr-actions .mcr-primary{background:var(--primary,#1e5fc1);color:var(--primary-foreground,#fff);border-color:transparent}.mcr-actions .mcr-primary:hover{filter:brightness(.95);background:var(--primary,#1e5fc1)}.mcr-form{border-top:1px solid var(--msc-border);margin-top:20px;padding-top:18px}.mcr-form h3{font-size:15px;margin:0 0 14px}.mcr-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mcr-form label{display:grid;gap:6px;font-size:12px}.mcr-form input:not([type=checkbox]),.mcr-form textarea{width:100%;min-width:0;border:1px solid var(--msc-border);border-radius:6px;background:var(--msc-panel);color:inherit;padding:9px;font:inherit;font-size:14px;box-sizing:border-box}.mcr-form .mcr-confirm{display:flex;gap:9px;align-items:flex-start;line-height:1.5;margin-top:15px;padding:12px;border:1px solid var(--msc-border);border-radius:7px}.mcr-confirm input{margin-top:3px;accent-color:var(--primary,#1e5fc1);flex-shrink:0}.mcr-history{border-top:1px solid var(--msc-border);margin-top:24px;padding-top:16px}.mcr-history summary{display:flex;align-items:center;gap:7px;font-size:12px;cursor:pointer;font-weight:600}.mcr-history ol{list-style:none;padding:0;margin:16px 0 0}.mcr-history li{border-left:2px solid var(--msc-border);padding:0 0 18px 14px;font-size:12px}.mcr-history li>div{display:flex;gap:8px;flex-wrap:wrap}.mcr-history p{margin:6px 0;line-height:1.5}.mcr-history small{font-size:11px;color:var(--msc-muted)}.registrations-page .tsc-registration-icon{width:auto;min-width:36px;min-height:36px;gap:6px;padding:7px 10px;white-space:nowrap}.registrations-page .tsc-pool-event{font-size:12px}.registrations-page .tsc-section{margin-top:18px}
@media(max-width:1200px){.msc-column-headings,.msc-row{grid-template-columns:minmax(240px,1.3fr) minmax(155px,.8fr) minmax(165px,1fr);gap:14px}.msc-column-headings>span:last-child{display:none}.msc-row-actions{grid-column:3;justify-content:flex-start;margin-top:-4px}.msc-matchup{grid-row:span 2}.msc-published{grid-row:span 2}}
@media(max-width:720px){.scheduling-page .tsc-heading,.registrations-page .tsc-heading{gap:12px}.tsc-heading h2{font-size:21px}.tsc-heading p{font-size:13px}.tsc-result-count{flex-direction:column;gap:3px}.msc-views{gap:4px}.msc-views button{font-size:12px;padding:7px 9px}.msc-column-headings{display:none}.msc-row{display:grid;grid-template-columns:1fr auto;gap:14px;padding:16px}.msc-matchup{grid-column:1/-1;grid-row:auto}.msc-published{grid-column:1/-1;grid-row:auto}.msc-request-state{grid-column:1}.msc-row-actions{grid-column:2;align-self:center;margin:0}.msc-person strong{font-size:13px}.msc-time-change{font-size:12px}.mcr-time-change{grid-template-columns:1fr;gap:9px;padding:13px}.mcr-time-change>svg{transform:rotate(90deg)}.mcr-dialog-body{padding:16px}.mcr-fields{gap:8px}.mcr-progress li{flex-wrap:wrap}.mcr-progress li>span:last-child{width:100%;padding-left:24px}.registrations-page .tsc-pool-summary{flex-wrap:wrap}.registrations-page .tsc-pool-event{width:100%}}

.tb-change-request-link{display:inline-flex;width:fit-content;align-items:center;min-height:36px;margin-top:8px;padding:7px 10px;border:1px solid var(--border);border-radius:6px;font-size:12px;font-weight:600;text-decoration:none;color:var(--foreground);background:var(--secondary)}.tb-match-time>.tb-change-request-link+small{display:block;margin-top:6px;font-size:11px;color:var(--muted-foreground);max-width:240px;line-height:1.5}

/* Keep the working list close to its filters, with generous touch targets. */
.scheduling-page{gap:14px}.scheduling-page .msc-views{margin:2px 0 0}.scheduling-page .tsc-result-count{margin:0}.scheduling-page .tsc-heading p{margin-top:5px}.registrations-page{gap:16px}.registrations-page .tsc-section{margin-top:0}
@media(pointer:coarse){.scheduling-page button,.registrations-page button,.mcr-dialog button,.mcr-form .mcr-confirm{min-height:44px}.mcr-form .mcr-confirm{align-items:center}.msc-views button{padding-top:9px;padding-bottom:9px}}
/* Keep registration details as a quiet icon alongside the card heading. */
.registrations-page.tsc-page .tsc-list .tsc-row .tsc-pool-summary{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding-right:0}
.registrations-page.tsc-page .tsc-list .tsc-pool-event{grid-column:1;grid-row:1;padding-right:0}
.registrations-page.tsc-page .tsc-list .tsc-pool-profiles{grid-column:1/-1;grid-row:2;flex-wrap:wrap}
.registrations-page.tsc-page .tsc-list .tsc-pool-buttons:has(>.tsc-registration-icon){display:flex;grid-column:2;grid-row:1;align-self:center;justify-self:end;min-width:0;margin:0}
.registrations-page.tsc-page .tsc-list .tsc-row button.tsc-registration-icon{position:static;display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px;padding:0;border:0;border-radius:5px;background:transparent;color:var(--muted-foreground,#657184);cursor:pointer}
.registrations-page.tsc-page .tsc-list .tsc-row button.tsc-registration-icon>svg{width:14px;height:14px;stroke-width:1.7}
.registrations-page.tsc-page .tsc-list .tsc-row button.tsc-registration-icon:hover{background:color-mix(in srgb,var(--muted-foreground,#657184) 8%,transparent);color:var(--muted-foreground,#657184)}
.registrations-page.tsc-page .tsc-list .tsc-row button.tsc-registration-icon:focus-visible{outline:2px solid var(--primary,#3768b2);outline-offset:3px}
@media(pointer:coarse){.registrations-page.tsc-page .tsc-list .tsc-row button.tsc-registration-icon{flex-basis:44px;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px}}
/* Override the portal's full-width text-input defaults for this consent control. */
.mcr-dialog .mcr-form label.mcr-confirm{display:flex;align-items:flex-start;min-width:0;max-width:100%;box-sizing:border-box}
.mcr-dialog .mcr-form .mcr-confirm input[type=checkbox]{display:inline-block;appearance:auto;flex:0 0 18px;width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;max-height:18px;padding:0;margin:2px 0 0;box-sizing:border-box;accent-color:var(--primary)}
.mcr-dialog .mcr-form .mcr-confirm>span{flex:1 1 0%;min-width:0;max-width:100%;overflow-wrap:anywhere}

/* Tournament details are available from the header without taking space above creator cards. */
.registrations-page.tsc-page .tsc-list>.res-registration-label{grid-column:1/-1;min-width:0}
.registrations-page.tsc-page .res-tournament-heading{position:relative;display:flex;align-items:center;gap:8px;margin-bottom:10px;min-width:0}
.registrations-page.tsc-page .res-tournament-heading>h3{margin:0;min-width:0}
.registrations-page.tsc-page .res-tournament-heading .tsc-group-toggle{min-width:0;max-width:100%;text-align:left}
.registrations-page .res-tournament-heading .tsc-group-toggle>span:not(.td-count){overflow-wrap:anywhere}
.registrations-page .res-heading-actions{display:inline-flex;align-items:center;flex-shrink:0}
.registrations-page .res-signup-copy{display:inline-flex}
.registrations-page .res-copy-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.registrations-page .res-copy-error{position:absolute;z-index:2;top:100%;left:0;width:260px;max-width:100%;box-sizing:border-box;padding:10px;border:1px solid var(--msc-border);border-radius:6px;background:var(--msc-panel);color:var(--foreground);font-size:12px;line-height:1.5;box-shadow:0 4px 16px #0003}
.registrations-page .res-copy-error>a{color:inherit;text-decoration:underline}
.registrations-page.tsc-page button.res-info-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px;padding:6px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--msc-muted);cursor:pointer}
.registrations-page.tsc-page button.res-info-button:hover{background:var(--accent,#eef1f5);color:var(--foreground)}
.registrations-page.tsc-page button.res-info-button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.registrations-page .res-summary-dialog{width:min(680px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);box-sizing:border-box;margin:auto;padding:0;border:1px solid var(--msc-border);border-radius:10px;background:var(--msc-panel);color:var(--foreground);overflow:auto}
.registrations-page .res-summary-dialog::backdrop{background:#0008}
.registrations-page .res-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--msc-border);background:var(--msc-panel);position:sticky;top:0;z-index:1}
.registrations-page .res-dialog-heading>div{min-width:0}.registrations-page .res-dialog-heading h2{font-size:18px;line-height:1.4;margin:0}.registrations-page .res-dialog-heading p{font-size:13px;line-height:1.5;color:var(--msc-muted);margin:5px 0 0;overflow-wrap:anywhere}
.registrations-page .res-dialog-heading>button{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;min-height:36px;padding:7px 10px;border:1px solid var(--msc-border);border-radius:6px;background:var(--msc-panel);color:inherit;font:inherit;font-size:12px;cursor:pointer}
.registrations-page .res-dialog-body{padding:18px 20px;min-width:0}
.registrations-page .res-summary-dialog .res-summary{padding:0;border:0}.registrations-page .res-summary-dialog .res-summary-content{gap:16px}.registrations-page .res-summary-dialog .res-overview-heading>svg,.registrations-page .res-summary-dialog .res-overview-heading>h4{display:none}
.registrations-page .res-summary-dialog .res-rules{min-width:0}.registrations-page .res-summary-dialog .res-actions{min-width:0}
.registrations-page .res-summary{display:flex;align-items:flex-start;gap:16px;padding:6px 0 12px;border:0;border-bottom:1px solid var(--msc-border);border-radius:0;background:transparent}
.registrations-page .res-overview-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:0}.registrations-page .res-overview-heading>svg{flex-shrink:0;color:var(--primary)}.registrations-page .res-overview-heading h4{margin:0;font-size:15px;line-height:1.5;font-weight:650}.registrations-page .res-overview-heading .res-status{margin-left:2px}
.registrations-page .res-summary-content{flex:1;min-width:0;display:grid;gap:8px}.registrations-page .res-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:12px;line-height:1.5}.registrations-page .res-meta>span+span:before{content:"·";margin-right:10px;color:var(--msc-muted)}.registrations-page .res-meta>span:not(.res-status){color:var(--msc-muted)}.registrations-page .res-status{display:inline-flex;padding:3px 7px;border-radius:5px;background:var(--muted,#eef1f5);font-size:11px;font-weight:600}.registrations-page .res-status--open{background:color-mix(in srgb,#3b9968 13%,transparent)}.registrations-page .res-status--waitlist{background:color-mix(in srgb,#cb9c36 14%,transparent)}
.registrations-page .res-deadlines{display:flex;flex-wrap:wrap;gap:6px 24px;margin:0}.registrations-page .res-deadlines>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;min-width:0}.registrations-page .res-deadlines dt{font-size:11px;color:var(--msc-muted)}.registrations-page .res-deadlines dd{margin:0;font-size:13px;line-height:1.5}.registrations-page .res-resources{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px 14px}.registrations-page .res-rules{margin:0}.registrations-page .res-rules[open]{flex-basis:100%}.registrations-page .res-rules summary{font-size:12px;font-weight:600;min-height:36px;line-height:36px;cursor:pointer;width:fit-content}.registrations-page .res-rules summary>span{font-weight:400;color:var(--msc-muted)}.registrations-page .res-rules ul{margin:2px 0 6px;padding-left:20px;display:grid;gap:6px;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.registrations-page .res-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.registrations-page .res-actions>a,.registrations-page .res-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;max-width:100%;box-sizing:border-box;padding:7px 10px;border:1px solid var(--msc-border);border-radius:7px;background:var(--msc-panel);color:inherit;font:inherit;font-size:12px;line-height:1.3;text-decoration:none;cursor:pointer}.registrations-page .res-actions>a:hover,.registrations-page .res-actions>button:hover{background:var(--accent,#eef1f5)}.registrations-page .res-unavailable,.registrations-page .res-feedback{color:var(--msc-muted);font-size:12px;line-height:1.5}.registrations-page .res-feedback{display:block;margin:0}.registrations-page .res-resources>.res-unavailable{margin:9px 0}.registrations-page .res-registration-label{font-size:13px;font-weight:600;color:inherit;margin:4px 0 2px;line-height:1.5}
@media(max-width:600px){.registrations-page .res-summary-content{gap:10px}.registrations-page .res-meta{flex-basis:100%}.registrations-page .res-deadlines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.registrations-page .res-deadlines>div{display:grid;align-content:start}.registrations-page .res-actions{flex:1;min-width:0}.registrations-page .res-summary-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.registrations-page .res-dialog-heading{padding:14px}.registrations-page .res-dialog-body{padding:16px 14px}}
@media(pointer:coarse){.registrations-page .res-actions>a,.registrations-page .res-actions>button,.registrations-page .res-rules summary,.registrations-page .res-dialog-heading>button{min-height:44px}.registrations-page .res-rules summary{line-height:44px}.registrations-page.tsc-page button.res-info-button{flex-basis:44px;width:44px;min-width:44px;height:44px;min-height:44px}}


.mcr-deadline{margin:12px 0}.mcr-deadline p{margin:4px 0}

.scheduling-page .msc-row-actions{flex-direction:column;align-items:flex-end;gap:6px;min-width:0}
.msc-copy-details{max-width:100%;min-width:0}.msc-copy-details>button{white-space:normal;text-align:left}.msc-copy-details>button>svg{flex-shrink:0}.msc-copy-details label{display:grid;gap:6px;font-size:11px;margin-top:8px}.msc-copy-details textarea{width:100%;min-width:0;min-height:170px;padding:8px;border:1px solid var(--msc-border);border-radius:6px;background:var(--msc-panel);color:inherit;font:inherit}
.scheduling-page .msc-copy-details>button{min-height:28px;gap:5px;padding:4px 6px;border:0;border-radius:5px;background:transparent;color:var(--msc-muted);font-size:11px;font-weight:400;line-height:1.4}
.scheduling-page .msc-copy-details>button:hover{background:color-mix(in srgb,var(--msc-muted) 8%,transparent);color:var(--msc-muted)}
.scheduling-page .msc-copy-details>button:focus-visible{outline:2px solid var(--primary,#3768b2);outline-offset:3px}
@media(pointer:coarse){.scheduling-page .msc-copy-details>button{min-height:44px}}
@media(max-width:1200px) and (min-width:721px){.scheduling-page .msc-row-actions{align-items:flex-start}}

.msc-event-heading{display:flex;align-items:center;gap:8px;margin-bottom:8px;min-width:0}.msc-event-heading .msc-event{margin-bottom:0;flex:1;min-width:0}.msc-event-heading>strong{flex:1;min-width:0;font-size:14px}

/* Keep status and actions together on cards while preserving the desktop columns. */
.scheduling-page{--msc-ready:#176c40;--msc-ready-bg:#e7f3eb;--msc-overdue:#805e08;--msc-overdue-bg:#fff3cd}
.dark .scheduling-page{--msc-ready:#8bddaa;--msc-ready-bg:#203b2c;--msc-overdue:#f2ce70;--msc-overdue-bg:#443817}
.msc-row-footer{display:contents}
.msc-card-label{display:none}
.msc-ready-status,.msc-overdue-status{display:inline-flex;align-items:center;gap:5px;width:fit-content;padding:4px 8px;border-radius:5px;background:var(--msc-ready-bg);color:var(--msc-ready);font-size:12px;font-weight:600;line-height:1.4}
.msc-overdue-status{background:var(--msc-overdue-bg);color:var(--msc-overdue)}
.msc-ready-status>svg{flex-shrink:0}
.scheduling-page .msc-copy-details>button>span{min-width:0}
@media(max-width:720px){
 .scheduling-page .msc-row-footer{display:grid;grid-column:1/-1;gap:8px;min-width:0;padding-top:12px;border-top:1px solid var(--msc-border)}
 .scheduling-page .msc-row-footer>.msc-request-state{grid-column:auto;min-width:0}
 .scheduling-page .msc-row-footer .msc-card-label{display:block;color:var(--msc-muted);font-size:10px;font-weight:600;line-height:1.4;grid-column:1/-1;flex-basis:100%}
 .scheduling-page .msc-row-actions>.msc-card-label:only-child{display:none}
 .scheduling-page .msc-row-footer>.msc-row-actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px;grid-column:auto;align-self:auto;margin:0;width:100%}
 .scheduling-page .msc-row-footer>.msc-row-actions:has(.msc-copy-details){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
 .scheduling-page .msc-row-footer .msc-row-actions>button,.scheduling-page .msc-row-footer .msc-copy-details{flex:1 1 0;min-width:0}
 .scheduling-page .msc-row-footer .msc-row-actions>button,.scheduling-page .msc-row-footer .msc-copy-details>button{width:100%;min-height:44px;box-sizing:border-box;padding:8px 10px;font-size:12px;font-weight:400;line-height:1.4;white-space:normal;text-align:center}
 .scheduling-page .msc-row-footer .msc-copy-details>button{width:100%;justify-content:center;gap:6px}
 .scheduling-page .msc-row-footer .msc-copy-details:not(:has(textarea))>button{height:100%}
 .scheduling-page .msc-row-footer .msc-copy-details:has(textarea){flex-basis:100%;width:100%;grid-column:1/-1}
 .scheduling-page .msc-row-footer .msc-copy-details textarea{box-sizing:border-box}
}

/* Compact workspace controls keep matchups and registration groups close to the top. */
.tsc-page:is(.scheduling-page,.registrations-page){gap:9px}
.tsc-page:is(.scheduling-page,.registrations-page)>.tsc-heading{align-items:center;gap:12px}
.tsc-page:is(.scheduling-page,.registrations-page)>.tsc-heading>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 12px;min-width:0}
.tsc-page:is(.scheduling-page,.registrations-page)>.tsc-heading h2{font-size:18px;line-height:1.4;margin:0}
.tsc-page:is(.scheduling-page,.registrations-page)>.tsc-heading p{margin:0;font-size:12px;line-height:1.5}
.tsc-page:is(.scheduling-page,.registrations-page)>.tsc-heading>button{min-height:30px;padding:4px 6px;border:0;background:transparent;color:var(--msc-muted);font-size:11px}
.tsc-page:is(.scheduling-page,.registrations-page)>.tsc-heading>button:hover{background:color-mix(in srgb,var(--msc-muted) 7%,transparent)}
.scheduling-page .msc-views{gap:2px 4px;margin:0}
.scheduling-page .msc-views button{min-height:30px;padding:4px 7px;gap:5px;border:0;border-radius:4px;background:transparent;color:var(--msc-muted);font-size:11.5px;line-height:1.4}
.scheduling-page .msc-views button:hover:not(:disabled){background:color-mix(in srgb,var(--msc-muted) 6%,transparent)}
.scheduling-page .msc-views button[aria-pressed=true]{background:color-mix(in srgb,var(--primary,#d7b875) 7%,transparent);box-shadow:inset 0 -2px var(--primary,#d7b875);color:var(--foreground);font-weight:600}
.scheduling-page .msc-views button span{min-width:15px;padding:0;font-size:10px;background:transparent;color:var(--msc-muted);border-radius:0}
.scheduling-page .msc-views button[aria-pressed=true] span{color:inherit}
.tsc-page:is(.scheduling-page,.registrations-page) .msc-compact-filters{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-template-columns:none;gap:6px;align-items:center;min-width:0}
.tsc-page:is(.scheduling-page,.registrations-page) .msc-compact-filters>label{display:flex;align-items:center;gap:5px;width:auto;min-width:0;min-height:34px;margin:0;padding:0 7px;grid-column:auto;order:0;box-sizing:border-box;border:1px solid color-mix(in srgb,var(--msc-border) 65%,transparent);border-radius:5px;background:transparent;font-size:11px;line-height:1.4;color:var(--msc-muted)}
.tsc-page:is(.scheduling-page,.registrations-page) .msc-compact-filters>label>span{flex-shrink:0;white-space:nowrap}
.tsc-page:is(.scheduling-page,.registrations-page) .msc-compact-filters>label[data-active=true]{border-color:color-mix(in srgb,var(--primary,#d7b875) 45%,var(--msc-border));background:color-mix(in srgb,var(--primary,#d7b875) 3%,transparent)}
.tsc-page:is(.scheduling-page,.registrations-page) .msc-compact-filters>label:focus-within{outline:2px solid var(--primary,#d7b875);outline-offset:2px}
.tsc-page:is(.scheduling-page,.registrations-page) .msc-compact-filters :is(input,select){flex:1;min-width:0;width:0;min-height:32px;margin:0;padding:4px 1px;border:0;border-radius:3px;background:transparent;color:var(--foreground);font-size:inherit;line-height:1.5;font-weight:400;box-shadow:none}
.tsc-page:is(.scheduling-page,.registrations-page) .msc-compact-filters :is(input,select):focus-visible{outline:none}
.tsc-page:is(.scheduling-page,.registrations-page) .msc-compact-filters input::placeholder{color:inherit;opacity:1;font:inherit;letter-spacing:inherit}
.tsc-page:is(.scheduling-page,.registrations-page) .tsc-result-count{flex-direction:row;flex-wrap:wrap;gap:3px 12px;margin:0;font-size:11px;line-height:1.5}
@media(min-width:1100px){.scheduling-page .msc-compact-filters:has(.msc-control-manager){grid-template-columns:minmax(180px,1.1fr) minmax(245px,1.4fr) minmax(135px,.75fr) minmax(170px,1fr)}.scheduling-page .msc-compact-filters:not(:has(.msc-control-manager)){grid-template-columns:minmax(180px,1.2fr) minmax(245px,1.4fr);grid-auto-columns:minmax(135px,.8fr)}}
@media(max-width:760px){
 .tsc-page:is(.scheduling-page,.registrations-page){gap:8px}
 .tsc-page:is(.scheduling-page,.registrations-page)>.tsc-heading>div{display:block}
 .tsc-page:is(.scheduling-page,.registrations-page)>.tsc-heading h2{font-size:18px}
 .tsc-page:is(.scheduling-page,.registrations-page)>.tsc-heading p{font-size:11px;line-height:1.4;margin-top:2px}
 .tsc-page:is(.scheduling-page,.registrations-page)>.tsc-heading>button{min-height:44px}
 .scheduling-page .msc-views{gap:2px}
 .scheduling-page .msc-views button{min-height:44px;padding:5px 6px;font-size:11.5px}
 .tsc-page:is(.scheduling-page,.registrations-page) .msc-compact-filters{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:6px}
 .tsc-page:is(.scheduling-page,.registrations-page) .msc-compact-filters>label{min-height:44px;padding-inline:6px;grid-column:auto;order:0;gap:4px;font-size:10px}
 .tsc-page:is(.scheduling-page,.registrations-page) .msc-compact-filters>label:is(.msc-control-search,.msc-control-event){grid-column:1/-1}
 .tsc-page:is(.scheduling-page,.registrations-page) .msc-compact-filters :is(input,select){min-height:42px;padding-inline:1px}
}
@media(pointer:coarse){.tsc-page:is(.scheduling-page,.registrations-page)>.tsc-heading>button,.scheduling-page .msc-views button{min-height:44px}.tsc-page:is(.scheduling-page,.registrations-page) .msc-compact-filters>label{min-height:44px}.tsc-page:is(.scheduling-page,.registrations-page) .msc-compact-filters :is(input,select){min-height:42px}}

.msc-status-with-link{display:inline-flex;align-items:center;gap:4px;min-width:0}
.scheduling-page button.msc-matchup-link{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;min-height:32px;padding:0;border:0;background:transparent;border-radius:5px;color:var(--msc-muted);cursor:pointer}
.scheduling-page button.msc-matchup-link:hover{background:color-mix(in srgb,var(--msc-muted) 8%,transparent);color:var(--foreground)}
.scheduling-page button.msc-matchup-link:focus-visible{outline:2px solid var(--primary,#3768b2);outline-offset:2px}
@media(max-width:720px),(pointer:coarse){.scheduling-page button.msc-matchup-link{width:44px;height:44px;min-height:44px}}

.msc-completed-status{display:inline-flex;align-items:center;gap:5px;width:fit-content;padding:4px 8px;border-radius:5px;background:color-mix(in srgb,var(--msc-muted) 12%,transparent);color:var(--msc-muted);font-size:12px;font-weight:600;line-height:1.4}

.msc-matchup-copy{position:relative;display:inline-flex;align-items:center}
.msc-link-feedback{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);padding:4px 7px;border:1px solid var(--msc-border);border-radius:5px;background:var(--msc-panel);color:var(--foreground);font-size:11px;white-space:nowrap;z-index:2}
.msc-link-manual{position:absolute;top:100%;right:0;z-index:2;display:grid;gap:6px;width:220px;max-width:70vw;padding:10px;border:1px solid var(--msc-border);border-radius:6px;background:var(--msc-panel);color:var(--foreground);font-size:11px}
.msc-link-manual input{width:100%;min-width:0;box-sizing:border-box}
@media(max-width:720px){.msc-link-manual{left:-90px;right:auto}}

.msc-completed{margin-top:18px;border:1px solid var(--msc-border);border-radius:10px;background:var(--msc-panel);overflow:hidden}
.msc-completed>summary{display:flex;align-items:center;gap:9px;min-height:44px;padding:10px 16px;list-style:none;cursor:pointer;font-size:13px;font-weight:600;color:var(--msc-muted)}
.msc-completed>summary::-webkit-details-marker{display:none}
.msc-completed>summary>svg{transition:transform .15s;transform:rotate(-90deg);flex-shrink:0}
.msc-completed[open]>summary>svg{transform:rotate(0)}
.msc-completed>summary:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}
.msc-completed-count{font-size:11px;padding:2px 7px;border-radius:12px;background:var(--muted)}
.msc-completed>.msc-list{border:0;border-top:1px solid var(--msc-border);border-radius:0}
@media(prefers-reduced-motion:reduce){.msc-completed>summary>svg{transition:none}}

.scheduling-page .msc-views button span.msc-organizer-count--needed{color:#eab308;font-weight:700}
.msc-winner-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 11px;min-height:36px;border:1px solid var(--msc-border);border-radius:7px;color:inherit;font-size:12px;text-decoration:none;box-sizing:border-box}
.msc-winner-link:hover{background:var(--accent)}
.msc-winner-link:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
@media(pointer:coarse){.msc-winner-link{min-height:44px}}

.msc-event .msc-series-badge{display:inline-flex;align-items:center;gap:4px;margin-right:7px;padding:3px 6px;border:1px solid color-mix(in srgb,#a78bfa 35%,transparent);border-radius:5px;background:color-mix(in srgb,#a78bfa 12%,transparent);color:var(--foreground,inherit);font-size:10px;font-weight:650;vertical-align:middle;line-height:1.2}
.msc-series-schedule{display:block;margin-top:4px;color:var(--msc-muted);font-size:11px;line-height:1.5}

.msc-creator-requests{min-width:0}
.msc-creator-request{padding:18px 20px;margin:12px 0;border:1px solid var(--msc-border);border-radius:10px;background:var(--msc-panel)}
.msc-creator-request header{display:flex;justify-content:space-between;align-items:center;gap:14px}
.msc-creator-request h3{margin:6px 0 0;font-size:16px}
.msc-creator-request-tag{display:inline-flex;align-items:center;gap:6px;color:var(--msc-muted);font-size:11px}
.msc-creator-request time{font-size:12px;color:var(--msc-muted)}
.msc-creator-request dl{display:grid;grid-template-columns:1fr 2fr;gap:16px;margin:18px 0 0}
.msc-creator-request dt{font-size:11px;color:var(--msc-muted);margin-bottom:5px}
.msc-creator-request dd{margin:0;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.msc-request-text{white-space:pre-wrap;overflow-wrap:anywhere}
.msc-creator-request details{margin-top:16px;border-top:1px solid var(--msc-border);padding-top:12px;font-size:13px}
.msc-creator-request summary{display:flex;align-items:center;gap:7px;cursor:pointer;min-height:32px;list-style:none}
.msc-creator-request summary::-webkit-details-marker{display:none}
.msc-creator-request summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.msc-creator-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:16px;font-size:12px}
.msc-creator-pagination span{margin-right:auto;color:var(--msc-muted)}
.msc-creator-pagination button{border:1px solid var(--msc-border);border-radius:6px;min-height:36px;padding:6px 12px;background:var(--msc-panel);color:inherit;cursor:pointer}
.msc-creator-pagination button:disabled{opacity:.5;cursor:default}
@media(max-width:720px){.msc-creator-request{padding:14px}.msc-creator-request header{align-items:flex-start;flex-direction:column;gap:8px}.msc-creator-request dl{grid-template-columns:1fr;gap:12px}.msc-creator-request summary,.msc-creator-pagination button{min-height:44px}}
.msc-request-show-all{background:transparent;border:0;color:var(--primary);padding:8px 0;font-size:13px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.msc-request-actions .msc-dismiss-request,.msc-dismiss-status button{min-height:36px;padding:6px 10px;border:0;background:transparent;color:var(--msc-muted);font:inherit;font-size:12px;cursor:pointer;box-shadow:none}
.msc-request-actions .msc-dismiss-request:hover:not(:disabled),.msc-dismiss-status button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.msc-dismiss-status{flex-wrap:wrap;outline:none}
.msc-dismiss-status button{color:inherit;text-decoration:underline;text-underline-offset:3px}
.msc-dismiss-status button:focus-visible,.msc-request-actions .msc-dismiss-request:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
@media(pointer:coarse){.msc-request-actions .msc-dismiss-request,.msc-dismiss-status button{min-height:44px}}
.scheduling-page .msc-request-show-all,.scheduling-page .msc-request-show-all:hover:not(:disabled){background:transparent;color:var(--primary);border:0;box-shadow:none}
.msc-request-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:18px}
.msc-request-actions button,.msc-request-actions a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 12px;border:1px solid var(--msc-border);border-radius:7px;background:transparent;color:inherit;font-size:12px;font-weight:600;text-decoration:none;cursor:pointer}
.msc-request-actions .msc-schedule-button{border-color:color-mix(in srgb,var(--primary) 55%,transparent);background:color-mix(in srgb,var(--primary) 10%,transparent);color:var(--primary)}
.msc-request-actions button:hover,.msc-request-actions a:hover{background:var(--accent)}
.msc-request-actions button:disabled{cursor:default;opacity:.5}
.msc-request-actions :is(button,a):focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.msc-request-success,.msc-request-scheduled{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--primary)}
.msc-request-scheduled{flex-wrap:wrap}
.msc-request-scheduler{border-top:1px solid var(--msc-border);margin-top:18px;padding-top:20px;max-width:780px}
.msc-request-scheduler h4{margin:0;font-size:16px}
.msc-request-scheduler h4:focus{outline:none}
.msc-request-scheduler>p{font-size:12px;line-height:1.6;color:var(--msc-muted);margin:8px 0 18px}
.msc-request-scheduler fieldset{border:0;padding:0;margin:0;min-width:0}
.msc-scheduler-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.msc-scheduler-grid label{display:grid;gap:7px;font-size:12px;color:var(--msc-muted);min-width:0}
.msc-scheduler-grid :is(input,select){min-height:40px;width:100%;min-width:0;box-sizing:border-box;padding:9px 10px;border:1px solid var(--msc-border);border-radius:6px;color:var(--foreground);background:var(--background);font-size:13px}
.msc-scheduler-grid input[readonly]{opacity:.7;background:var(--msc-panel)}
.msc-scheduler-people{margin-top:20px}
.msc-scheduler-hint{font-size:12px;color:var(--msc-muted);line-height:1.6}
.msc-scheduler-check{display:flex;align-items:flex-start;gap:9px;margin-top:18px;font-size:12px;line-height:1.6}
.msc-scheduler-check input{flex:none;margin:3px 0 0;width:16px;height:16px;accent-color:var(--primary)}
.msc-scheduler-warning{padding:12px 14px;border:1px solid color-mix(in srgb,#eab308 35%,transparent);background:color-mix(in srgb,#eab308 6%,transparent);border-radius:8px;margin-top:18px}
.msc-scheduler-warning p{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.6;margin:0}
.msc-scheduler-warning svg{flex-shrink:0;color:#eab308}
.msc-scheduler-warning .msc-scheduler-check{margin-top:10px}
.msc-request-scheduler>.msc-scheduler-summary{margin:18px 0 0;color:var(--foreground);font-weight:600}
@media(max-width:520px){.msc-scheduler-grid{grid-template-columns:1fr}.msc-request-actions :is(button,a){min-height:44px}.msc-scheduler-grid :is(input,select){min-height:44px;font-size:16px}}
.msc-request-dialog .tsc-registration-dialog-heading{align-items:flex-start;flex-direction:row;margin:0}
.msc-request-dialog .tsc-registration-dialog-heading button{display:flex;align-items:center;justify-content:center;width:40px;border:0;background:transparent;color:inherit;border-radius:6px;cursor:pointer}
.msc-request-dialog .msc-request-scheduler{border:0;margin:0;padding:20px;overflow:auto;overscroll-behavior:contain;min-height:0;max-width:none}
.msc-scheduler-request-context{padding:12px 14px;margin-bottom:20px;border:1px solid var(--border);border-radius:8px;background:var(--background);font-size:12px;line-height:1.6}
.msc-scheduler-request-context strong{font-weight:600;color:var(--msc-muted)}
.msc-scheduler-request-context p{margin:5px 0 0}
.msc-request-dialog .msc-request-actions{position:sticky;bottom:-20px;background:var(--card);padding:14px 0;margin-top:14px;border-top:1px solid var(--border);z-index:1}
.msc-approval-preview,.msc-battle-approval{margin-top:20px;padding:16px;border:1px solid var(--msc-border);border-radius:8px;background:color-mix(in srgb,var(--primary) 4%,transparent)}
.msc-approval-preview h3,.msc-battle-approval h4{display:flex;align-items:center;gap:7px;margin:0;font-size:14px;font-weight:600}
.msc-approval-preview p,.msc-battle-approval p{font-size:12px;line-height:1.65;margin:10px 0}
.msc-approval-preview ul,.msc-approval-managers{padding:0;margin:12px 0 0;list-style:none}
.msc-approval-preview li,.msc-approval-managers li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid var(--msc-border);font-size:12px}
.msc-approval-preview li strong,.msc-approval-managers li strong{display:block;font-weight:600}
.msc-approval-preview li small,.msc-approval-managers li small{display:block;color:var(--msc-muted);font-size:11px;margin-top:4px;overflow-wrap:anywhere}
.msc-approval-preview li>span:last-child,.msc-approval-managers li>span:last-child{flex:none;display:flex;align-items:center;gap:5px;font-size:11px;color:var(--primary)}
.msc-battle-approval .msc-approval-matchup{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.msc-approval-matchup small{color:var(--msc-muted);font-size:11px;font-weight:400}
.msc-approval-hint{color:var(--msc-muted)}
.msc-organizer-acknowledgement{margin-top:0}
.msc-organizer-acknowledgement h3{display:flex;align-items:center;gap:7px;margin:0;font-size:14px;font-weight:600}
.msc-organizer-acknowledgement .msc-request-actions .msc-schedule-button:is(:hover,:focus-visible):not(:disabled){background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}
.msc-organizer-request-dialog .msc-request-details-heading{min-width:0}
.msc-organizer-request-dialog .msc-request-details-heading h2{overflow-wrap:anywhere}
@media(max-width:520px){.msc-request-dialog .msc-request-scheduler{padding:16px}.msc-request-dialog .msc-request-actions{bottom:-16px}.msc-approval-preview,.msc-battle-approval{padding:12px}.msc-approval-preview li,.msc-approval-managers li{flex-wrap:wrap;gap:6px}}
.tsc-page.battle-requests-page>.tsc-heading>.battle-request-page-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:18px;flex-shrink:0}
.scheduling-page.battle-requests-page .tsc-heading .battle-request-create-link{display:inline-flex;align-items:center;gap:5px;background:transparent;border:0;box-shadow:none;padding:8px 0;color:var(--primary);font-size:12px;font-weight:500;min-height:40px;white-space:nowrap}
.scheduling-page.battle-requests-page .tsc-heading .battle-request-create-link:hover:not(:disabled){background:transparent;color:var(--primary);text-decoration:underline;text-underline-offset:3px}
.msc-request-actions .msc-organizer-help-link{background:transparent;border-color:transparent;color:var(--msc-muted);padding-inline:0;font-weight:400}
.msc-creator-request .msc-request-actions .msc-organizer-help-link:hover:not(:disabled){background:transparent;color:var(--foreground);text-decoration:underline;text-underline-offset:3px}
.msc-organizer-help-status{display:flex;align-items:center;gap:6px;color:var(--primary);font-size:12px;margin:14px 0 0}
.msc-request-field{display:block;margin:0 0 18px;font-size:12px;color:var(--msc-muted)}
.msc-create-request-form :is(input,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea){min-width:0}
.msc-request-people{margin-bottom:18px}
.msc-request-people-label{margin:0 0 8px;font-size:12px;color:var(--msc-muted)}
.msc-request-people .msc-request-teammate{grid-column:1/-1}
.msc-request-people-actions{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:7px}
.msc-request-people-actions button{min-height:32px;padding:3px 0;border:0;background:transparent;color:var(--primary);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.msc-request-people .tsc-error{margin:8px 0 0}
.msc-create-availability{margin:22px 0 24px}
.msc-create-availability h3{font-size:14px;font-weight:600;margin:0}
.msc-create-availability>p{font-size:12px;color:var(--msc-muted);line-height:1.6;margin:8px 0 14px}
.msc-request-date-picker{display:flex;align-items:flex-end;gap:10px}
.msc-request-date-picker label{flex:1;min-width:0;font-size:12px;color:var(--msc-muted)}
.msc-request-date-picker input{width:100%;min-width:0}
.msc-request-date-picker button{flex-shrink:0;font-size:12px;min-height:42px}
.msc-create-request-form .preferred-windows{margin-top:16px}
@media(max-width:720px){.tsc-page.battle-requests-page>.tsc-heading{align-items:flex-start;flex-direction:column}.tsc-page.battle-requests-page>.tsc-heading>.battle-request-page-actions{gap:14px;align-self:stretch;justify-content:flex-end}.battle-requests-page .battle-request-create-link{min-height:44px}}
.msc-request-rows{overflow:hidden;border:1px solid var(--msc-border);border-radius:10px;background:var(--msc-panel)}
.msc-request-rows .msc-request-row{display:grid;grid-template-columns:36px minmax(140px,1fr) minmax(180px,1.2fr) 150px;align-items:center;gap:12px;width:100%;min-height:84px;padding:15px 16px;border:0;border-radius:0;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}
.msc-request-rows>.msc-request-row+.msc-request-row{border-top:1px solid var(--msc-border)}
.msc-request-rows .msc-request-row:hover:not(:disabled){background:color-mix(in srgb,var(--primary) 5%,var(--msc-panel));color:var(--foreground)}
.msc-request-rows .msc-request-row:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}
.msc-request-row-person{display:grid;gap:3px;min-width:0}
.msc-requested-by{display:inline-flex;align-items:center;gap:5px;justify-self:start;max-width:100%;padding:2px 6px;border:1px solid color-mix(in srgb,var(--primary) 25%,var(--msc-border));border-radius:4px;background:color-mix(in srgb,var(--primary) 5%,transparent);color:var(--foreground);font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.msc-requested-by>svg{flex:none}
.msc-battle-approval>.msc-requested-by{margin-top:10px}
.msc-request-row-kind{font-size:10px;color:var(--msc-muted);line-height:1.4}
.msc-request-row-person strong{font-size:13px;font-weight:600;overflow-wrap:anywhere;line-height:1.4}
.msc-request-row-availability{display:flex;align-items:flex-start;gap:7px;min-width:0;font-size:12px;line-height:1.5;color:var(--msc-muted)}
.msc-request-row-availability>svg{flex:none;margin-top:2px}
.msc-request-row-availability>span{min-width:0}
.msc-request-row-label{display:block;font-size:10px;margin-bottom:2px}
.msc-request-row-times{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line;overflow-wrap:anywhere;color:var(--foreground)}
.msc-request-row-chevron{color:var(--msc-muted)}
.msc-request-row-status{display:grid;gap:6px;min-width:0;font-size:11px;line-height:1.5}
.msc-request-row-status-label{color:var(--msc-muted);overflow-wrap:anywhere}
.msc-request-row-status-label.is-attention{color:var(--primary)}
.msc-request-row-next{display:flex;align-items:center;gap:5px;color:var(--foreground);font-size:12px}
.msc-request-row-next svg{flex:none}
.msc-request-list-heading{display:grid;grid-template-columns:minmax(188px,1fr) minmax(180px,1.2fr) 150px;gap:12px;padding:0 16px 9px;color:var(--msc-muted);font-size:11px}
.msc-request-mailbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:10px 0 0}
.msc-request-folders{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--msc-border);border-radius:8px;background:var(--muted)}
.msc-request-folders button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:37px;padding:7px 13px;border:0;border-radius:5px;background:transparent;color:var(--msc-muted);font-size:13px;cursor:pointer}
.msc-request-folders button[aria-selected=true]{background:var(--msc-panel);color:var(--foreground);box-shadow:0 1px 3px #0002}
.msc-request-folders button>span{font-size:11px;font-variant-numeric:tabular-nums}
.msc-request-folders button[aria-selected=true]>span{color:var(--primary)}
.msc-request-mail-search{width:240px;max-width:100%}
.msc-request-mail-search input{width:100%;min-height:40px;font-size:12px;background:var(--msc-panel);border:1px solid var(--msc-border);border-radius:7px;padding:9px 11px;color:var(--foreground)}
.msc-request-folder-caption{margin:14px 0 20px;font-size:12px;line-height:1.6;color:var(--msc-muted)}
.msc-request-folder-footer{display:flex;align-items:center;gap:7px;margin:16px 0 0;font-size:11px;color:var(--msc-muted)}
.msc-request-row .tournament-avatar,.msc-request-details-heading .tournament-avatar{position:relative;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;flex:none;width:36px;height:36px;border-radius:50%;background:var(--muted);font-size:13px;color:var(--msc-muted)}
.msc-request-row .tournament-avatar img,.msc-request-details-heading .tournament-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}
.msc-request-details-dialog{max-height:min(88dvh,850px)}
.msc-request-details-dialog .msc-request-details-heading{display:flex;align-items:center;gap:12px;min-width:0}
.msc-request-details-dialog .msc-request-details-heading p{margin:0 0 3px;color:var(--msc-muted);font-size:11px}
.msc-request-details-dialog .msc-request-details-heading h2{overflow-wrap:anywhere}
.msc-request-details-body{overflow:auto;padding:20px}
.msc-request-details-body>.msc-creator-request{padding:0;margin:0;border:0;border-radius:0;background:transparent}
.msc-request-created{font-size:11px;color:var(--msc-muted);margin:0 0 18px}
.msc-request-notes{margin-top:18px}
.msc-request-notes h3{font-size:11px;font-weight:500;color:var(--msc-muted);margin:0 0 6px}
.msc-request-notes p{font-size:13px;line-height:1.6;margin:0}
@media(max-width:900px){.msc-request-list-heading{display:none}.msc-request-rows .msc-request-row{grid-template-columns:36px minmax(0,1fr) 145px;gap:7px 10px}.msc-request-row>.tournament-avatar{grid-column:1;grid-row:1/3;align-self:start;margin-top:3px}.msc-request-row-person{grid-column:2;grid-row:1}.msc-request-row-availability{grid-column:2;grid-row:2}.msc-request-row-status{grid-column:3;grid-row:1/3}}
@media(max-width:600px){.msc-request-rows .msc-request-row{grid-template-columns:36px minmax(0,1fr);padding:12px}.msc-request-row-availability{font-size:11px;gap:5px}.msc-request-row-label{display:none}.msc-request-row-status{grid-column:2;grid-row:3;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:5px 12px}.msc-request-details-body{padding:16px}.msc-request-mailbar{gap:10px}.msc-request-folders{width:100%}.msc-request-folders button{flex:1;min-height:42px}.msc-request-mail-search{width:100%}.msc-request-mail-search input{font-size:16px}.msc-request-people-actions button{min-height:40px}}
.msc-request-step-progress{display:grid;gap:4px;margin:0;padding:14px 16px;font-size:14px;font-weight:600;flex:none;outline:none}
.msc-request-step-progress>span{font-size:10px;font-weight:400;color:var(--msc-muted)}
.msc-request-dialog .msc-request-step-form{display:flex;flex-direction:column;min-height:0;padding:0;overflow:hidden}
.msc-request-step-form>.msc-request-step-body{padding:0 16px 12px;overflow:auto;overscroll-behavior:contain;min-height:0}
.msc-request-dialog .msc-request-step-form>.msc-request-actions{position:static;flex:none;justify-content:space-between;padding:12px 16px;margin:0;gap:12px}
.msc-request-step-form .msc-request-actions>button{min-height:44px;min-width:90px}
.msc-request-step-form .msc-request-field{margin:0 0 14px}
.msc-request-step-form .msc-request-field:last-child{margin-bottom:0}
.msc-request-step-form .msc-create-availability{margin:0}
.msc-request-step-form .msc-create-availability>p{margin:0 0 12px}
.msc-request-step-form :is(input:not([type=checkbox]),select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea){font-size:16px;min-height:44px}
.msc-request-step-form textarea{min-height:96px}
.msc-request-step-form .msc-scheduler-grid{gap:12px}
.msc-request-step-form .msc-mobile-time-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.msc-request-step-form .msc-scheduler-step-rules{grid-column:1 / -1}
.msc-request-step-form .msc-scheduler-people{margin-top:14px}
.msc-request-step-form .msc-scheduler-check{margin-top:12px;font-size:12px}
.msc-request-step-form .msc-scheduler-request-context{margin-bottom:12px}
.msc-request-step-form .msc-approval-preview{margin-top:0;padding:12px}
.msc-request-step-form .msc-approval-preview li{gap:8px;padding:8px 0}
.msc-request-step-form .msc-approval-preview li>span:last-child{width:auto;padding-left:0}
.msc-mobile-availability{margin-top:16px}
.msc-mobile-availability-actions{display:flex;justify-content:space-between;gap:10px;margin-top:12px}
.msc-mobile-availability-actions button{font-size:11px;min-height:44px;padding:8px 10px}
.msc-request-review{display:grid;gap:12px;margin:0}
.msc-request-review dt{font-size:11px;color:var(--msc-muted);margin-bottom:4px}
.msc-request-review dd{font-size:13px;line-height:1.4;margin:0;overflow-wrap:anywhere}
.msc-review-notes{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}
.msc-request-sections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:8px 12px;margin-bottom:12px;border-bottom:1px solid var(--msc-border);flex:none}
.msc-request-sections>button[role=tab]{min-width:0;min-height:44px;padding:5px 3px;font-size:11px;line-height:1.3;border:0;border-bottom:2px solid transparent;border-radius:4px 4px 0 0;background:transparent;color:var(--msc-muted)}
.msc-request-sections>button[role=tab]:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.msc-request-sections>button[role=tab][aria-selected=true]{color:var(--primary);border-bottom-color:var(--primary);background:color-mix(in srgb,var(--primary) 6%,transparent)}
.msc-request-draft-tag{color:var(--primary)}
.msc-saved-draft{margin-top:18px;padding:12px;border:1px solid var(--msc-border);border-radius:8px;background:var(--background)}
.msc-saved-draft h4{margin:0;color:var(--primary);font-size:12px}
.msc-saved-draft p{font-size:12px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}
.msc-saved-draft small{font-size:11px;color:var(--msc-muted)}
@media(max-width:720px){.msc-request-dialog:has(.msc-request-step-form){max-height:calc(100dvh - 16px);width:calc(100% - 20px)}.msc-request-dialog:has(.msc-request-step-form)>.tsc-registration-dialog-heading{padding:12px 14px;align-items:center}.msc-request-dialog:has(.msc-request-step-form)>.tsc-registration-dialog-heading h2{font-size:16px}.msc-request-step-form .msc-scheduler-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.msc-empty-partner{display:inline-flex;align-items:center;min-height:28px;padding:3px 7px;border:1px dashed var(--msc-border);border-radius:5px;color:var(--msc-muted);font-size:12px;line-height:1.4;overflow-wrap:anywhere}

.battle-gift-gallery-badge{display:inline-flex;flex:none;align-items:center;gap:3px;padding:1px 4px;border:1px solid;border-radius:4px;font-size:9px;font-weight:600;line-height:1.4;white-space:nowrap;vertical-align:middle}
.battle-gift-gallery-badge>svg{width:11px;height:11px;flex:none}
.battle-gift-gallery-badge[data-league="D"]{background:#cd965f;color:#35200e;border-color:#a36b36}
.battle-gift-gallery-badge[data-league="C"]{background:#c8d0da;color:#27313e;border-color:#929eae}
.battle-gift-gallery-badge[data-league="B"]{background:#a8dafa;color:#15374e;border-color:#64acd8}
.battle-gift-gallery-badge[data-league="A"]{background:#edca62;color:#3e2c06;border-color:#bb952d}
.battle-creator-identity{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0;max-width:100%}
.battle-creator-identity>strong{min-width:0;overflow-wrap:anywhere}
.battle-creator-list{display:flex;align-items:center;flex-wrap:wrap;gap:4px 7px}
.scheduling-page .msc-participant-wrap,.scheduling-page .msc-person{max-width:100%}

.scf-flags{min-width:0;margin-top:8px;color:var(--foreground,#eef0f3);font-size:11px;line-height:1.5}
.scf-flags>summary,.scf-flag-row{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-height:30px;width:fit-content;max-width:100%;box-sizing:border-box;cursor:pointer;list-style:none;border-radius:5px}
.scf-flags>summary::-webkit-details-marker{display:none}
.scf-flags>summary:focus-visible,.scf-summary>button:focus-visible{outline:2px solid var(--primary,#d7b875);outline-offset:3px}
.scf-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border:1px solid transparent;border-radius:5px;font-size:10px;font-weight:600;white-space:nowrap;line-height:1.4}
.scf-chip svg,.scf-chevron{flex-shrink:0}
.scf-chip--same{background:color-mix(in srgb,#de655d 12%,transparent);border-color:color-mix(in srgb,#de655d 32%,transparent);color:var(--foreground,#eef0f3)}
.scf-chip--same svg{color:#de655d}
.scf-chip--adjacent{background:color-mix(in srgb,#c9a14a 12%,transparent);border-color:color-mix(in srgb,#c9a14a 32%,transparent);color:var(--foreground,#eef0f3)}
.scf-chip--adjacent svg{color:#c9a14a}
.scf-details-label,.scf-chevron{color:var(--muted-foreground,#a5adb9)}
.scf-flags[open]>summary .scf-chevron{transform:rotate(180deg)}
.scf-details{margin-top:6px;padding:10px 12px;border:1px solid var(--border,#343b44);border-radius:6px;background:var(--card,#1c2128);overflow-wrap:anywhere}
.scf-details>ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.scf-details>ul>li{display:grid;gap:2px;min-width:0}
.scf-details>ul>li+li{border-top:1px solid var(--border,#343b44);padding-top:10px}
.scf-details strong{font-size:11px;font-weight:650}
.scf-detail-kind{color:var(--muted-foreground,#a5adb9);font-size:10px}
.scf-details time,.scf-details>p{color:var(--muted-foreground,#a5adb9);font-size:10px}
.scf-details>p{border-top:1px solid var(--border,#343b44);padding-top:8px;margin:10px 0 0}
.scf-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--border,#343b44);border-radius:7px;margin:12px 0;background:var(--card,#1c2128);color:var(--foreground,#eef0f3);min-width:0}
.scf-summary--flagged{border-color:color-mix(in srgb,#c9a14a 40%,var(--border,#343b44));background:color-mix(in srgb,#c9a14a 5%,var(--card,#1c2128))}
.scf-summary-copy{min-width:0}
.scf-summary-copy>strong{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:650;line-height:1.5}
.scf-summary-copy>strong svg{color:#c9a14a;flex-shrink:0}
.scf-summary-copy>p{font-size:11px;line-height:1.5;color:var(--muted-foreground,#a5adb9);margin:3px 0 0;overflow-wrap:anywhere}
.scf-summary>button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;flex-shrink:0;border:1px solid var(--border,#343b44);border-radius:5px;padding:5px 8px;background:transparent;color:inherit;font:inherit;font-size:11px;cursor:pointer}
.scf-summary>button:disabled{opacity:.6;cursor:wait}
.tb-match>.scf-flags{margin:0 14px 10px}
@media(max-width:760px){.scf-flags>summary,.scf-summary>button{min-height:44px}.scf-summary{align-items:flex-start;padding:9px 10px;gap:8px}.scf-summary-copy>p{font-size:10px}.scf-details{padding:9px 10px}.tb-match>.scf-flags{margin-inline:10px}}
@media(pointer:coarse){.scf-flags>summary,.scf-summary>button{min-height:44px}}

.scf-flag-row{cursor:default}

button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)).mh-history-button{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 28px;width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border:0!important;border-radius:5px;background:transparent!important;color:var(--muted-foreground,#657184);cursor:pointer;vertical-align:middle}
button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)).mh-history-button>svg{width:14px;height:14px;stroke-width:1.7}
button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)).mh-history-button:hover{background:color-mix(in srgb,var(--muted-foreground,#657184) 8%,transparent)!important;color:var(--muted-foreground,#657184)}button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)).mh-history-button:focus-visible,.mh-dialog button:focus-visible,.mh-dialog a:focus-visible,.mh-dialog summary:focus-visible{outline:2px solid var(--primary,#3768b2);outline-offset:3px}
.mh-dialog{--mh-border:var(--border,#d8dce3);--mh-muted:var(--muted-foreground,#657184);--mh-panel:var(--card,var(--background,#fff));box-sizing:border-box;width:min(880px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;margin:auto;overflow:auto;border:1px solid var(--mh-border);border-radius:12px;background:var(--mh-panel);color:var(--foreground,#17212f);font:inherit}
.mh-dialog::backdrop{background:#0009}.mh-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 22px;background:var(--mh-panel);border-bottom:1px solid var(--mh-border);position:sticky;top:0;z-index:2}.mh-dialog-heading>div{min-width:0}.mh-dialog-heading h2{font-size:19px;line-height:1.4;margin:0}.mh-dialog-heading p{font-size:13px;line-height:1.5;color:var(--mh-muted);margin:4px 0 0;overflow-wrap:anywhere}.mh-dialog .mh-close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:38px;padding:0;border:1px solid var(--mh-border);border-radius:7px;background:transparent;color:inherit;cursor:pointer}.mh-dialog-body{padding:18px 22px 24px;min-width:0}.mh-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.mh-toolbar>p{font-size:12px;color:var(--mh-muted);line-height:1.5;margin:0}.mh-dialog .mh-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:7px 10px;font:inherit;font-size:12px;line-height:1.3;border:1px solid var(--mh-border);border-radius:7px;background:transparent;color:inherit;white-space:nowrap;cursor:pointer}.mh-dialog .mh-button:hover,.mh-dialog .mh-close:hover{background:var(--accent,#eef1f5)}.mh-dialog .mh-button:disabled{opacity:.5;cursor:default}.mh-coverage{padding:12px 14px;border:1px solid var(--mh-border);border-radius:8px;background:var(--muted,#f3f5f7);margin-bottom:22px;font-size:12px;line-height:1.6}.mh-coverage>strong{font-size:12px}.mh-coverage p{margin:5px 0 0;color:var(--mh-muted)}.mh-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.mh-section-heading h3{font-size:15px;line-height:1.5;margin:0}.mh-section-heading>span,.mh-time-help{font-size:11px;line-height:1.5;color:var(--mh-muted)}.mh-time-help{margin:5px 0 0}
.mh-timeline{display:grid;list-style:none;margin:16px 0 0;padding:0;min-width:0}
.mh-timeline>li{min-width:0;position:relative;padding:0 0 10px;font-size:12px;line-height:1.5}.mh-timeline>li:last-child{padding-bottom:0}.mh-timeline>li:before{content:'';width:2px;background:var(--mh-border);position:absolute;left:15px;top:24px;bottom:-24px}.mh-timeline>li:last-child:before{display:none}
.mh-event{min-width:0}.mh-event-summary{display:grid;grid-template-columns:32px minmax(0,1fr) 15px;align-items:start;gap:12px;box-sizing:border-box;min-height:44px;padding:8px 4px 8px 0;border-radius:6px;cursor:pointer;list-style:none;position:relative}.mh-event-summary::-webkit-details-marker{display:none}.mh-event-summary::marker{content:''}.mh-event-summary:hover{background:color-mix(in srgb,var(--mh-muted) 5%,transparent)}
.mh-timeline-node{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:1px solid var(--mh-border);background:var(--mh-panel);color:var(--primary,#3768b2);position:relative;z-index:1;box-sizing:border-box}.mh-event-heading{display:grid;gap:2px;min-width:0}.mh-event-heading>strong{font-size:12px;overflow-wrap:anywhere}.mh-timeline-count,.mh-timeline-person{font-size:11px;color:var(--mh-muted);overflow-wrap:anywhere;min-width:0}.mh-event-chevron{align-self:center;color:var(--mh-muted);transition:transform .15s ease}.mh-event[open]>.mh-event-summary>.mh-event-chevron{transform:rotate(180deg)}
.mh-event-content{min-width:0;padding:4px 4px 16px 44px}.mh-event-meta{display:grid;gap:6px;margin:0;font-size:11px;line-height:1.6}.mh-event-meta>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;align-items:baseline}.mh-event-meta dt{color:var(--mh-muted)}.mh-event-meta dd{margin:0;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.mh-kind{font-size:10px;padding:2px 6px;background:var(--muted,#eef1f5);color:var(--mh-muted);border-radius:4px}.mh-event-note{font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0}
.mh-changes{display:grid;gap:8px;margin:12px 0 0}.mh-changes>div{border:1px solid var(--mh-border);border-radius:7px;overflow:hidden}.mh-changes dt{padding:7px 10px;font-size:11px;font-weight:600;background:var(--muted,#eef1f5)}.mh-changes dd{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;margin:0;padding:10px;font-size:12px;line-height:1.5}.mh-changes dd>span{min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}.mh-changes small{display:block;font-size:10px;color:var(--mh-muted);margin-bottom:3px}.mh-changes dd>svg{color:var(--mh-muted)}
.mh-message{margin-top:12px;font-size:12px;line-height:1.6}.mh-message-status{font-size:11px;font-weight:600}.mh-message>p{font-size:11px;color:var(--mh-muted);margin:4px 0}.mh-message>.mh-message-label{margin-top:10px}.mh-message blockquote{margin:6px 0 0;padding:10px 12px;border-left:3px solid var(--mh-border);background:var(--muted,#eef1f5);white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
.mh-delivery-times{display:grid;gap:5px;margin:10px 0;font-size:11px;line-height:1.5}.mh-delivery-times>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 15px}.mh-delivery-times dt{color:var(--mh-muted)}.mh-delivery-times dd{margin:0;min-width:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.mh-load-more{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:18px;font-size:11px;color:var(--mh-muted)}.mh-empty{padding:28px 10px;text-align:center;color:var(--mh-muted);font-size:13px}.mh-error{padding:12px 14px;border:1px solid var(--mh-border);border-radius:7px;margin-bottom:18px;font-size:12px;line-height:1.5}.mh-error p{margin:0 0 9px}
@media(max-width:600px){.mh-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.mh-dialog-heading{padding:14px}.mh-dialog-body{padding:14px}.mh-dialog-heading h2{font-size:17px}.mh-toolbar{align-items:flex-start;gap:10px}.mh-toolbar>p{font-size:11px}.mh-coverage{padding:10px 11px}.mh-event-summary{column-gap:10px}.mh-event-content{padding-left:42px}.mh-event-meta>div{grid-template-columns:62px minmax(0,1fr);gap:7px}.mh-changes dd{gap:8px;font-size:11px}.mh-load-more{flex-wrap:wrap}}
@media(pointer:coarse){button:not(:where(.fui-FluentProvider, .fui-FluentProvider *)).mh-history-button{flex-basis:44px;min-width:44px!important;max-width:44px!important;width:44px!important;height:44px!important;min-height:44px!important}.mh-dialog .mh-button,.mh-dialog .mh-close{min-height:44px}.mh-dialog .mh-close{width:44px}}
@media(prefers-reduced-motion:reduce){.mh-event-chevron{transition:none}}

.registrations-page.tsc-page .tsc-list .tsc-pool-profiles.rcd-profiles{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start;min-width:0}
.registrations-page.tsc-page .tsc-list .rcd-profiles>.tsc-pool-profile{align-items:flex-start;min-width:0;width:100%;gap:8px}
.registrations-page .rcd-profiles .tsc-pool-profile>.tournament-avatar{flex:none;margin-top:1px}
.registrations-page .rcd-profile-copy{min-width:0;flex:1}.registrations-page .rcd-profile-copy>strong{display:block}
.registrations-page .rcd-details{display:grid;gap:5px;margin-top:6px;font-size:11px;line-height:1.55;min-width:0;overflow-wrap:anywhere}
.registrations-page .rcd-status-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.registrations-page .rcd-label{color:var(--muted-foreground);font-size:11px;font-weight:400}.registrations-page .rcd-status{display:inline-block;border-radius:4px;padding:1px 5px;background:var(--muted);font-size:11px;font-weight:500;line-height:1.5}.registrations-page .rcd-status--registered{background:color-mix(in srgb,#3b9968 12%,transparent)}.registrations-page .rcd-status--attention{background:color-mix(in srgb,#cb9c36 14%,transparent)}
.registrations-page .rcd-availability{display:grid;gap:2px}.registrations-page .rcd-availability>span:last-child{font-size:12px;color:var(--foreground)}.registrations-page .rcd-zone,.registrations-page .rcd-note{font-size:11px;color:var(--muted-foreground);line-height:1.5;margin:0}.registrations-page .rcd-more{font-size:12px}.registrations-page .rcd-more>summary{cursor:pointer;width:fit-content;min-height:28px;line-height:28px;color:var(--muted-foreground);font-size:11px}.registrations-page .rcd-more>p{margin:3px 0 4px;font-size:12px;line-height:1.55}
.registrations-page.tsc-page .tsc-list .rcd-profiles--duo>.tsc-duo-connector{justify-content:flex-start;width:auto;height:12px;margin:0 0 0 3px}.registrations-page .rcd-profiles--duo>.tsc-duo-connector::before{display:none}.registrations-page .rcd-profiles--duo>.tsc-duo-connector svg{padding:0;background:transparent}
@media(max-width:720px){.registrations-page.tsc-page .tsc-list .rcd-profiles{gap:10px}.registrations-page .rcd-availability>span:last-child{font-size:12px}}
@media(pointer:coarse){.registrations-page .rcd-more>summary{min-height:44px;line-height:44px}}

.rev-dialog{width:min(920px,calc(100vw - 32px));max-width:920px;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--border,#343b44);border-radius:14px;background:var(--card,#1c2128);color:var(--foreground,#eef0f3);overflow:auto;box-shadow:0 28px 80px #0008}.rev-dialog::backdrop{background:#000a}.rev-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid var(--border,#343b44)}.rev-dialog-heading h2{margin:0;font-size:20px;line-height:1.3;overflow-wrap:anywhere}.rev-dialog-heading p{display:flex;gap:6px;align-items:center;margin:7px 0 0;font-size:12px;color:var(--muted-foreground,#aeb7c2)}.rev-dialog button,.rev-tabs a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 12px;border:1px solid var(--border,#343b44);border-radius:8px;color:inherit;background:transparent;font:inherit;font-size:13px;text-decoration:none;cursor:pointer}.rev-dialog button:disabled{opacity:.5;cursor:wait}.rev-dialog button:focus-visible,.rev-tabs a:focus-visible{outline:2px solid #d5b46a;outline-offset:3px}.rev-tabs{display:flex;align-items:center;gap:8px;padding:12px 22px;border-bottom:1px solid var(--border,#343b44)}.rev-tabs a[aria-current=page]{background:#c5a55d24;border-color:#c5a55d;color:var(--foreground,#eef0f3)}.rev-tabs button{margin-left:auto}.rev-body{padding:20px 22px}.rev-bracket h3,.rev-lineups h3{font-size:14px;margin:0 0 12px}.rev-bracket>section+section{margin-top:24px}.rev-match-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rev-match,.rev-result,.rev-lineups>section{border:1px solid var(--border,#343b44);border-radius:10px;padding:14px;background:var(--background,#111418)}.rev-match header{display:flex;flex-direction:column;gap:4px}.rev-match header strong{font-size:14px}.rev-match header>span,.rev-when,.rev-muted,.rev-empty,.rev-footnote,.rev-results-count{font-size:12px;color:var(--muted-foreground,#aeb7c2)}.rev-when{margin:8px 0 12px}.rev-teams{display:flex;flex-direction:column;gap:8px}.rev-team-wrap{min-width:0}.rev-team{display:flex;flex-direction:column;gap:6px;padding:8px 10px;background:var(--card,#1c2128);border-radius:6px}.rev-team strong{font-size:13px;overflow-wrap:anywhere}.rev-team small{display:block;font-size:11px;color:var(--muted-foreground,#aeb7c2);margin-top:3px}.rev-vs{display:block;margin:0 0 8px;font-size:11px;text-transform:uppercase;text-align:center;color:var(--muted-foreground,#aeb7c2)}.rev-winner{display:flex;align-items:center;gap:7px;font-size:13px;color:#c6a85f;margin:12px 0 0;overflow-wrap:anywhere}.rev-lineups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rev-lineups ol{padding-left:24px;margin:0}.rev-lineups li{font-size:13px;line-height:1.5;padding:6px;overflow-wrap:anywhere}.rev-results{display:flex;flex-direction:column;gap:12px}.rev-results-count{margin:0 0 4px}.rev-result header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.rev-result h3{margin:0;font-size:14px}.rev-result header p{margin:7px 0 0;font-size:13px;overflow-wrap:anywhere}.rev-result-status{padding:4px 8px;border-radius:5px;background:var(--card,#1c2128);font-size:11px;white-space:nowrap;color:var(--muted-foreground,#aeb7c2)}.rev-result-status--done{color:#8dd4a3}.rev-result-status--review{color:#e3b76e}.rev-result details{margin-top:12px;font-size:12px}.rev-result summary{cursor:pointer;min-height:36px;align-content:center}.rev-rounds{list-style:none;padding:0;margin:8px 0 0}.rev-rounds li{border-top:1px solid var(--border,#343b44);padding:10px 0}.rev-rounds li>div{display:flex;flex-wrap:wrap;gap:8px 20px;margin:7px 0}.rev-rounds b{margin-left:6px;font-variant-numeric:tabular-nums}.rev-rounds small{color:var(--muted-foreground,#aeb7c2)}.rev-footnote{display:flex;align-items:flex-start;gap:7px;margin:20px 0 0}.rev-footnote svg,.rev-winner svg{flex:none}.rev-error{color:var(--foreground,#eef0f3)}
@media(max-width:600px){.rev-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:10px}.rev-dialog-heading{padding:16px;gap:8px}.rev-dialog-heading h2{font-size:18px}.rev-dialog-heading p{align-items:flex-start;line-height:1.5}.rev-dialog-heading>button{min-height:44px;flex:none;padding:8px}.rev-tabs{padding:10px 16px;gap:6px;flex-wrap:wrap}.rev-tabs a,.rev-tabs button{min-height:44px;padding:8px 10px}.rev-body{padding:16px}.rev-match-list,.rev-lineups{grid-template-columns:1fr}.rev-result header{flex-direction:column;gap:8px}.rev-rounds li>div{flex-direction:column}.rev-when{font-size:13px}}

.registrations-page.tsc-page .res-tournament-heading{flex-wrap:wrap}
.registrations-page.tsc-page .rco-open{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:4px 2px;border:0;background:transparent;font-size:11px;white-space:nowrap;color:var(--muted-foreground)}
.registrations-page.tsc-page .rco-open[aria-checked=true]{color:var(--foreground)}
.rco-switch-track{position:relative;display:block;width:26px;height:14px;flex:none;border-radius:20px;background:var(--border);transition:background .15s}.rco-switch-track::after{content:"";position:absolute;left:2px;top:2px;width:10px;height:10px;border-radius:50%;background:var(--muted-foreground);transition:transform .15s,background .15s}.rco-open[aria-checked=true] .rco-switch-track{background:var(--primary)}.rco-open[aria-checked=true] .rco-switch-track::after{transform:translateX(12px);background:var(--primary-foreground,#111418)}
.registrations-page .rcl-table-wrap{min-width:0;border:1px solid var(--border);border-radius:9px;overflow:hidden;background:var(--card)}
.registrations-page .rcl-table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:12px}
.registrations-page .rcl-table th{padding:9px 12px;text-align:left;font-size:11px;font-weight:500;color:var(--muted-foreground);background:var(--background)}
.registrations-page .rcl-table th:nth-child(1){width:28%}.registrations-page .rcl-table th:nth-child(2){width:22%}.registrations-page .rcl-table th:last-child{width:44px;padding:0}
.registrations-page .rcl-table td{padding:8px 12px;border-top:1px solid var(--border);vertical-align:middle;overflow-wrap:anywhere;line-height:1.45}
.registrations-page .rcl-table td:last-child{padding:0 4px;text-align:center}.registrations-page .rcl-table strong{font-size:12px;font-weight:600}
.registrations-page .rcl-availability{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--muted-foreground);font-size:11px;line-height:1.5}
.registrations-page .rcl-status{font-size:11px}.registrations-page .rcl-status--registered{color:#8dd4a3}.registrations-page .rcl-status--attention{color:#e3c482}.registrations-page .rcl-status--missing{color:var(--muted-foreground)}
.registrations-page.tsc-page .rcl-clipboard{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:6px;background:transparent;border:0;color:var(--primary)}
.registrations-page .rcl-row:focus{outline:2px solid var(--primary);outline-offset:-2px}.registrations-page .rcl-message{font-size:12px;line-height:1.5;color:var(--muted-foreground);margin:8px 0}.registrations-page .rcl-message[role=alert]{color:var(--foreground)}
.rco-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;margin:auto;padding:0;border:1px solid var(--border,#343b44);border-radius:12px;background:var(--card,#1c2128);color:var(--foreground,#eef0f3);overflow:auto;box-shadow:0 28px 80px #0008}.rco-dialog::backdrop{background:#000a}
.rco-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--border)}.rco-heading h2{margin:0;font-size:18px;line-height:1.3}.rco-heading p{margin:7px 0 0;color:var(--muted-foreground);font-size:12px;overflow-wrap:anywhere}.rco-heading>button{flex:none}.rco-body{padding:18px 20px}.rco-note{font-size:12px;line-height:1.6;color:var(--muted-foreground);margin:0}.rco-details{margin:16px 0;display:grid;gap:12px}.rco-details>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;font-size:13px}.rco-details dt{color:var(--muted-foreground)}.rco-details dd{margin:0;overflow-wrap:anywhere}
@media(max-width:600px){.registrations-page .rcl-table th{padding:8px;font-size:10px}.registrations-page .rcl-table td{padding:7px 8px}.registrations-page .rcl-table th:nth-child(1){width:34%}.registrations-page .rcl-table th:nth-child(2){width:24%}.registrations-page .rcl-table th:last-child{width:40px}.registrations-page .rcl-table td:last-child{padding:0}.registrations-page .rcl-table strong{font-size:11px}.registrations-page .rcl-status{font-size:10px}.registrations-page .rcl-availability{font-size:10px;-webkit-line-clamp:3}.registrations-page.tsc-page .rcl-clipboard,.registrations-page.tsc-page .rco-open{min-height:44px}.registrations-page.tsc-page .rcl-clipboard{min-width:40px}.rco-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.rco-heading,.rco-body{padding:16px}.rco-heading>button{min-height:44px}.rco-details>div{grid-template-columns:90px minmax(0,1fr)}}

.registrations-page .rcl-table dialog{text-align:left;font-size:14px}

.mgr-registration-dialog{width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;margin:auto;padding:0;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--foreground);overflow:auto;box-shadow:0 28px 80px #0008}.mgr-registration-dialog::backdrop{background:#000a}.mgr-registration-heading{position:sticky;top:0;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--border);background:var(--card)}.mgr-registration-heading h2{margin:0;font-size:19px;line-height:1.3}.mgr-registration-heading p{margin:7px 0 0;color:var(--muted-foreground);font-size:13px;overflow-wrap:anywhere}.mgr-registration-heading>button{flex:none}.mgr-registration-body{padding:18px 20px;font-size:13px}.mgr-registration-meta{margin:0 0 10px;font-size:12px;color:var(--muted-foreground)}.mgr-registration-fields{border:0;margin:0;padding:0;min-width:0;display:grid;gap:18px}.mgr-registration-identity{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mgr-registration-identity label,.mgr-registration-field{display:grid;gap:6px;min-width:0;font-size:12px}.mgr-registration-dialog input:not([type=checkbox]):not([type=radio]),.mgr-registration-dialog select{width:100%;min-width:0;box-sizing:border-box;min-height:40px;padding:8px 10px;border:1px solid var(--input);border-radius:6px;background:var(--background);color:var(--foreground);font:inherit;font-size:13px}.mgr-registration-dialog input[readonly]{color:var(--muted-foreground)}.mgr-registration-dialog small,.mgr-registration-note{font-size:12px;line-height:1.55;color:var(--muted-foreground)}.mgr-registration-note{margin:8px 0}.mgr-registration-section{padding:14px;border:1px solid var(--border);border-radius:8px;margin:0;min-width:0}.mgr-registration-section h3,.mgr-registration-section legend{font-size:13px;font-weight:600;margin:0;padding:0 4px}.mgr-registration-section h3{padding:0}.mgr-registration-choices{display:grid;gap:6px}.mgr-registration-choice{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.5;min-height:32px;padding:5px 0}.mgr-registration-choice>input{flex:none;margin:3px 0 0;width:16px;height:16px;accent-color:var(--primary)}.mgr-registration-rules{padding-left:20px;margin:10px 0 0;display:grid;gap:8px;line-height:1.5}.mgr-registration-acknowledgment{font-weight:500}.mgr-registration-dialog .mgr-registration-submit{margin-top:14px;min-height:40px;padding:9px 14px;background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.mgr-registration-error{font-size:13px;line-height:1.5;margin:12px 0;color:var(--foreground)}.mgr-registration-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.mgr-registration-dialog :is(input,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),button):focus-visible{outline:2px solid var(--primary);outline-offset:3px}.mgr-registration-fields:disabled{opacity:.65}.mgr-registration-dialog .preferred-windows{margin-top:10px}
@media(max-width:600px){.mgr-registration-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.mgr-registration-heading,.mgr-registration-body{padding:16px}.mgr-registration-identity{grid-template-columns:1fr}.mgr-registration-dialog input:not([type=checkbox]):not([type=radio]),.mgr-registration-dialog select{min-height:44px;font-size:16px}.mgr-registration-dialog button,.mgr-registration-choice{min-height:44px}.mgr-registration-section{padding:12px}.mgr-registration-heading h2{font-size:18px}}
.mgr-registration-dialog input:disabled{cursor:not-allowed;opacity:.75}

.tr-pool-workspace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0;align-items:start}
.tr-pool-workspace.tr-pool-only{grid-template-columns:minmax(0,1fr)}
.tr-pool-workspace .tr-settings{margin:0;padding:16px;min-width:0;gap:14px}
.tr-pool-workspace .td-section-heading{margin:0;gap:8px}
.tr-pool-workspace h3{font-size:14px}
.tr-pool-heading-actions{display:flex;gap:5px;align-items:center}
.tr-pool-workspace .tr-pool-collapse{display:none}
.tr-pool-content{display:grid;gap:14px;min-width:0}
.tr-pool-workspace .tr-pool-list{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:6px}
.tr-pool-workspace .tr-pool-person{position:relative;display:flex;align-items:center;gap:6px;padding:8px 7px;min-height:49px;min-width:0;cursor:pointer;border:1px solid var(--border);border-radius:7px}
.tr-pool-workspace .tr-pool-person.is-selected{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 9%,var(--card))}
.tr-pool-workspace .tr-pool-person:has(input:disabled){opacity:.6;cursor:not-allowed}
.tr-pool-workspace .tr-pool-person input{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.tr-pool-workspace .tr-pool-person:has(input:focus-visible){outline:2px solid var(--primary);outline-offset:2px}
.tr-pool-workspace .tr-pool-person>span:last-child{min-width:0;flex:1}
.tr-pool-workspace .tr-pool-person strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.4}
.tr-pool-workspace .tr-pool-person small{font-size:10px;margin-top:2px;line-height:1.3}
.tr-pool-workspace :is(.tr-pool-person,.tr-recommendation-person) .tournament-avatar,.tr-pool-workspace :is(.tr-pool-person,.tr-recommendation-person) .tournament-avatar img{width:24px;height:24px;min-width:24px;flex:none;object-fit:cover;font-size:10px}
.tr-pool-workspace .tr-pool-actions{gap:8px;align-items:end}
.tr-pool-workspace .tr-pool-actions label{width:95px;gap:5px;font-size:11px}
.tr-pool-workspace .tr-pool-actions select{height:32px;min-height:32px;padding:5px 8px}
.tr-pool-workspace button{height:32px;min-height:32px;max-height:32px;flex:none;align-self:center;white-space:nowrap;line-height:1;padding:0 9px;font-size:11px}
.tr-pool-workspace button svg{flex:none}
.tr-pool-workspace .tr-pool-actions button{align-self:flex-end}
.tr-pool-workspace .tr-pool-search input{height:34px;min-height:34px;font-size:12px}
.tr-pool-filters{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.tr-pool-filters .tr-pool-search{flex:1 1 150px;min-width:0}
.tr-pool-filters .tr-pool-time-filter{flex:1 1 150px;min-width:0;display:grid;gap:5px;font-size:11px}
.tr-pool-time-filter select{width:100%;min-width:0;height:34px;min-height:34px;padding:5px 8px;font-size:12px}
.tr-pool-filter-summary{font-size:11px}
.tr-pool-workspace .td-text-action{font-size:12px;min-height:32px;display:flex;align-items:center}
.tr-pool-collapsed-selection{display:none}
.tr-recommendation-list{display:grid;min-width:0}
.tr-recommendation{padding:16px 0;display:grid;gap:12px;min-width:0;border-bottom:1px solid var(--border)}
.tr-recommendation:first-child{padding-top:4px}
.tr-recommendation:last-child{border-bottom:0}
.tr-recommendation-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted-foreground)}
.tr-recommendation-heading>span:first-child{letter-spacing:1.5px}
.tr-recommendation-heading>span:last-child{color:#9dd8b8}
.tr-recommendation-creators{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.tr-recommendation-person{position:relative;display:flex;gap:6px;align-items:center;min-width:0}
.tr-recommendation-person>div{min-width:0;flex:1}
.tr-recommendation-person strong{font-size:12px;line-height:1.4;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tr-recommendation-person small{font-size:10px;line-height:1.4;display:block;margin-top:2px}
.tr-recommendation-vs{position:absolute;right:-18px;font-size:10px;color:var(--muted-foreground)}
.tr-recommendation-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.tr-recommendation-bottom>div:first-child{flex:1 1 155px;min-width:0}
.tr-recommendation-bottom small{font-size:10px;line-height:1.5}
.tr-pool-workspace .tr-recommendation-time{font-size:11px;color:#9dd8b8}
.tr-recommendation-actions{display:flex;gap:5px;flex:none;align-items:center;margin-left:auto}
.tr-pool-workspace .tr-add-pair{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}
@media(max-width:740px){
 .tr-pool-workspace{grid-template-columns:minmax(0,1fr);gap:12px}
 .tr-pool-workspace .tr-settings{padding:14px}
 .tr-pool-workspace .tr-pool-collapse{display:inline-flex}
 .tr-pool-workspace .tr-pool-list{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}
 .tr-pool.is-collapsed .tr-pool-content{display:none}
 .tr-pool-collapsed-selection{display:block}
 .tr-pool-workspace .tr-pool-search input{font-size:16px}
 .tr-pool-time-filter select{font-size:16px}
}
@media(max-width:360px){.tr-pool-refresh-label{display:none}.tr-pool-workspace .tr-pool-list{grid-template-columns:repeat(2,minmax(0,1fr))}.tr-pool-workspace .tr-pool-person{gap:4px;padding:7px 5px}.tr-pool-workspace .tr-pool-person .tournament-avatar{display:none}}

.tr-recommendations .td-section-heading h3{display:flex;align-items:center;gap:6px}
.tr-pool-workspace .tr-recommendation-help{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:4px;min-height:26px;min-width:26px;border:0;background:transparent;color:var(--muted-foreground);cursor:help}
.tr-recommendation-help:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.tr-recommendation-tooltip{max-width:min(350px,calc(100vw - 32px));padding:12px 14px;background:var(--popover);color:var(--popover-foreground);border:1px solid var(--border);border-radius:8px;box-shadow:0 5px 20px #0003;font-size:12px;font-weight:400;line-height:1.65;text-transform:none;letter-spacing:normal}

.tr-recommendation-score{overflow-wrap:anywhere;color:var(--muted-foreground)}
.tr-recommendation-score b{display:block;color:var(--foreground);font-weight:600}
.tr-recommendation-score span{display:block}
.tr-recommendation-availability{display:grid;gap:5px;margin-bottom:5px}
.tr-recommendation-availability ul{display:grid;gap:7px;list-style:none;padding:0;margin:0}
.tr-recommendation-availability li{display:grid;gap:2px;font-size:11px;line-height:1.5}
.tr-recommendation-availability li strong{font-weight:600}
.tr-recommendation-availability li span{color:#9dd8b8;overflow-wrap:anywhere}
.tr-recommendation-range{white-space:nowrap;display:inline-block}
@media(max-width:740px){.tr-recommendation-bottom>div:first-child{flex-basis:100%}}

/* Confirmed duos stay together in selection and suggested matchups. */
.tr-duos-workspace{grid-template-columns:minmax(0,1fr)}
.tr-duos-pool-group{display:grid;gap:9px;min-width:0}
.tr-duos-pool-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:8px;min-width:0}
.tr-duos-workspace .tr-pool-person.tr-pool-duo{display:grid;gap:9px;padding:12px;min-height:78px}
.tr-duos-workspace .tr-pool-person.tr-pool-duo>span{display:flex;align-items:center;gap:9px;min-width:0}
.tr-duos-workspace .tr-pool-person strong{font-size:12px;color:var(--foreground)}
.tr-duos-workspace .tr-pool-person small{font-size:11px}
.tr-duos-workspace .tr-pool-person.tr-pool-duo .tournament-avatar,.tr-duos-workspace .tr-pool-person.tr-pool-duo .tournament-avatar img{display:flex;width:28px;height:28px;min-width:28px}
.tr-duos-suggestion-slot{display:contents}
.tr-duos-suggestion-status{font-size:13px;color:var(--muted-foreground);padding:16px 0;margin:0}
.tb-match.tr-duos-suggestion{background:color-mix(in srgb,var(--card) 20%,transparent);border:1px dashed color-mix(in srgb,var(--primary) 55%,var(--border));opacity:.6;transition:opacity .15s,border-color .15s}
.tb-match.tr-duos-suggestion:hover,.tb-match.tr-duos-suggestion:focus-within{opacity:.85;border-color:var(--primary)}
.tr-duos-suggestion>header,.tr-duos-suggestion .tb-match-slot{cursor:default}
.tr-duos-suggestion>header>svg{color:var(--primary);flex:none}
.tr-duos-suggestion .tb-match-title h4{margin:0;font-size:15px;font-weight:600;line-height:1.4}
.tr-duos-suggestion-badge{color:var(--primary);font-size:11px;border:1px solid color-mix(in srgb,var(--primary) 35%,transparent);border-radius:5px;padding:4px 6px}
.tr-duos-suggestion .tb-match-meta{background:color-mix(in srgb,var(--muted) 10%,transparent)}
.tr-duos-suggestion .tr-recommendation-availability{margin:0}
.tr-duos-suggestion .tr-recommendation-time{margin:0;font-size:12px;color:#9dd8b8}
.tr-duos-suggestion .tournament-avatar,.tr-duos-suggestion .tournament-avatar img{width:28px;height:28px;min-width:28px;object-fit:cover;font-size:12px}
.tr-duos-suggestion .tb-slot-identity strong{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.tr-duos-suggestion-detail{display:grid;gap:7px;padding:0 14px 14px;color:var(--muted-foreground);font-size:12px;line-height:1.5}
.tr-duos-suggestion-detail small{font-size:11px}
.tr-duos-suggestion-detail summary{cursor:pointer}
.tr-duos-suggestion-detail p{margin:6px 0 0;overflow-wrap:anywhere}
.tr-duos-suggestion-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-top:1px solid var(--border);font-size:11px;color:var(--muted-foreground)}
.tr-duos-suggestion :is(.tb-rule,.tb-slot-number),.tr-duos-suggestion-detail,.tr-duos-suggestion-actions{color:var(--foreground)}
.tr-duos-suggestion-add{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 12px;border:1px solid var(--primary);border-radius:6px;background:var(--primary);color:var(--primary-foreground);font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}
.tr-duos-suggestion-add:disabled{opacity:.5;cursor:not-allowed}
.tr-duos-suggestion-add:focus-visible{outline:2px solid var(--primary);outline-offset:3px}

@media(pointer:coarse){.tr-duos-workspace button{min-height:44px;height:auto;max-height:none}.tr-duos-workspace .tr-pool-person{min-height:44px}}
@media(max-width:740px){.tr-duos-suggestion-add{opacity:1}}
@media(max-width:520px){.tr-duos-suggestion-actions{flex-wrap:wrap}.tr-duos-suggestion-add{margin-left:auto}.tr-duos-suggestion-badge{font-size:10px}}
@media(prefers-reduced-motion:reduce){.tb-match.tr-duos-suggestion,.tr-duos-suggestion-add{transition:none}}

.tr-duos-suggestion-buttons{display:flex;align-items:center;gap:6px;margin-left:auto}
.workspace .tr-duos-suggestion .tr-duos-suggestion-skip{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);font-size:12px;cursor:pointer}
.tr-duos-suggestion-skip:disabled{opacity:.5;cursor:not-allowed}
.tr-duos-suggestion-skip:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.tr-pool-duo-availability{border-top:1px solid var(--border);padding-top:8px;display:grid;gap:5px;min-width:0}
.tr-pool-duo-availability>small{color:var(--muted-foreground)}
.tr-pool-duo-availability .tr-recommendation-availability{margin:0}
.tr-duos-workspace .tr-pool-duo-availability li strong{font-size:11px;white-space:normal}

.workspace .tr-duos-suggestion .tr-duos-suggestion-skip:hover:not(:disabled){background:var(--muted);color:var(--foreground)}

.event-pool{margin:22px 0;padding:18px;border:1px solid var(--border);border-radius:10px;background:var(--card);min-width:0}
.event-pool-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.event-pool-heading h3{display:flex;align-items:center;gap:8px;margin:0;font-size:15px;line-height:1.5}
.event-pool-heading h3>span{font-size:11px;font-weight:400;color:var(--muted-foreground)}
.event-pool-heading p,.event-pool-note{margin:5px 0 0;color:var(--muted-foreground);font-size:12px;line-height:1.6}
.event-pool-heading-actions{display:flex;align-items:center;gap:4px;flex:none}
.event-pool :is(button,input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select){font:inherit}
.event-pool button,.event-pool-confirm button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:6px 10px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);font-size:12px;line-height:1.4;cursor:pointer;box-shadow:none}
.event-pool button:hover:not(:disabled),.event-pool-confirm button:hover:not(:disabled){background:var(--muted)}
.event-pool button:disabled,.event-pool-confirm button:disabled{opacity:.5;cursor:default}
.event-pool :is(button,input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select):focus-visible,.event-pool-confirm button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.event-pool-heading-actions button{border-color:transparent;background:transparent;white-space:nowrap}
.event-pool-content{display:grid;gap:16px;min-width:0}
.event-pool-content[hidden]{display:none}
.event-pool-search{display:block;max-width:340px}
.event-pool-search input,.event-pool-fields select{width:100%;min-width:0;min-height:38px;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--foreground);font-size:12px}
.event-pool-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;align-items:start}
.event-pool-group{padding:13px;border:1px solid var(--border);border-radius:8px;min-width:0}
.event-pool-group>header{display:flex;align-items:center;gap:7px;margin-bottom:10px;min-width:0}
.event-pool-group>header>svg{flex:none;color:var(--muted-foreground)}
.event-pool-group h4{margin:0;font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.event-pool-group>header>span{margin-left:auto;color:var(--muted-foreground);font-size:11px}
.event-pool-group>.event-pool-note{margin:0 0 10px}
.event-pool-group>.event-pool-note:last-child{margin:0}
.event-pool-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,170px),1fr));gap:6px}
.tournament-builder .event-pool-person{position:relative;display:flex;flex-direction:row;align-items:center;color:var(--foreground);gap:7px;min-height:46px;padding:7px 8px;border:1px solid var(--border);border-radius:6px;min-width:0;cursor:pointer}
.event-pool-person.is-selected{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 8%,var(--card))}
.event-pool-person:has(input:disabled){opacity:.55;cursor:default}
.event-pool-person:has(input:focus-visible){outline:2px solid var(--primary);outline-offset:2px}
.event-pool-person input{position:absolute;width:1px;height:1px;min-height:0;margin:-1px;padding:0;border:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.event-pool-person>span:not(.tournament-avatar){flex:1;min-width:0}
.event-pool-person strong{display:block;font-size:12px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.event-pool-person small{display:block;color:var(--muted-foreground);font-size:10px;line-height:1.5}
.event-pool-person .tournament-avatar,.event-pool-person .tournament-avatar img{width:28px;height:28px;min-width:28px;border-radius:50%;object-fit:cover;font-size:11px}
.event-pool-person .tournament-avatar{position:relative;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;background:var(--muted);color:var(--muted-foreground);flex:none}
.event-pool-person .tournament-avatar img{position:absolute;inset:0}
.event-pool-selected-mark{flex:none;color:var(--primary);opacity:0}
.event-pool-person.is-selected .event-pool-selected-mark{opacity:1}
.event-pool-builder{padding-top:16px;border-top:1px solid var(--border);min-width:0}
.event-pool-selection-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:32px}
.event-pool-selection-heading>strong{font-size:12px}
.event-pool .event-pool-text-button{border:0;background:transparent;color:var(--muted-foreground);padding:5px 0;min-height:32px;text-decoration:underline;text-underline-offset:3px}
.event-pool-selected{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0;margin:9px 0 0}
.event-pool-selected li{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;padding:3px 3px 3px 9px;border:1px solid var(--border);border-radius:6px;background:var(--muted);font-size:12px}
.event-pool-selected li>small{color:var(--muted-foreground);font-size:10px}
.event-pool-selected li>span{overflow-wrap:anywhere;min-width:0}
.event-pool-selected li>button{min-height:30px;min-width:30px;padding:4px;border:0;background:transparent;flex:none}
.event-pool-selected li.is-unavailable{border-style:dashed;color:var(--muted-foreground)}
.event-pool-fields{display:grid;grid-template-columns:110px minmax(200px,1fr) 165px;gap:10px;margin-top:14px}
.event-pool-fields>label,.event-pool-format{display:grid;align-content:start;gap:5px;min-width:0;font-size:11px;color:var(--muted-foreground)}
.event-pool-create{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.event-pool-create>p{font-size:11px;line-height:1.6;color:var(--muted-foreground);margin:0}
.event-pool-create>button,.event-pool-confirm .event-pool-confirm-create{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground);white-space:nowrap}
.event-pool-create>button:hover:not(:disabled),.event-pool-confirm .event-pool-confirm-create:hover:not(:disabled){background:color-mix(in srgb,var(--primary) 85%,var(--foreground));color:var(--primary-foreground)}
.event-pool-error{margin:10px 0 0;color:var(--destructive,#cf5454);font-size:12px;line-height:1.6;outline:none}
.event-pool-confirm{width:min(460px,calc(100vw - 28px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--border);border-radius:10px;background:var(--card);color:var(--foreground);box-shadow:0 16px 70px #0006;overflow:auto}
.event-pool-confirm::backdrop{background:#0008}
.event-pool-confirm>header,.event-pool-confirm>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}
.event-pool-confirm>header{border-bottom:1px solid var(--border)}
.event-pool-confirm h3{font-size:16px;margin:0;outline:none}
.event-pool-confirm>header>button{padding:5px;min-width:32px;border:0;background:transparent}
.event-pool-confirm>div{padding:16px}
.event-pool-confirm p,.event-pool-confirm li{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.event-pool-confirm p{margin:0 0 12px}
.event-pool-confirm p:last-child{margin-bottom:0;color:var(--muted-foreground)}
.event-pool-confirm ul{padding-left:20px;margin:12px 0}
.event-pool-confirm .event-pool-confirm-time{display:flex;align-items:center;gap:8px;padding:10px;border-radius:6px;background:var(--muted);font-weight:600}
.event-pool-confirm-time>svg{flex:none}
.event-pool-confirm>footer{border-top:1px solid var(--border);justify-content:flex-end}
@media(max-width:760px){.event-pool{padding:14px}.event-pool-heading{flex-wrap:wrap}.event-pool-groups{grid-template-columns:minmax(0,1fr)}.event-pool-fields{grid-template-columns:1fr 1fr}.event-pool-fields .event-pool-target{grid-column:1/-1;grid-row:1}.event-pool-search{max-width:none}.event-pool-search input,.event-pool-fields select{font-size:16px;min-height:44px}.event-pool-create{flex-wrap:wrap}.event-pool-create>button{margin-left:auto;min-height:44px}.event-pool-heading-actions{margin-left:auto}}
@media(pointer:coarse){.event-pool button,.event-pool-confirm button{min-height:44px}.event-pool-selected li>button{min-height:36px;min-width:36px}}

.event-pool-format>strong,.event-pool-fixed-format{display:flex;align-items:center;min-height:38px;font-size:13px;font-weight:500;color:var(--foreground)}

.event-preset-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin:14px 0 20px}
.event-preset-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}
.event-preset-controls>span{font-size:12px;color:var(--muted-foreground)}
.event-preset-controls>span:empty{display:none}
.event-preset-controls button,.event-preset-dialog button,.event-drafts button,.event-drafts a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 11px;border:1px solid var(--border);border-radius:6px;background:var(--secondary);color:var(--foreground);font:inherit;font-size:12px;line-height:1.3;text-decoration:none;cursor:pointer;box-shadow:none}
.event-preset-controls button:disabled,.event-preset-dialog button:disabled,.event-drafts button:disabled,.event-drafts a[aria-disabled=true]{opacity:.55;cursor:not-allowed}
.event-preset-controls button:focus-visible,.event-preset-dialog :is(button,input):focus-visible,.event-drafts :is(button,a):focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.event-preset-dialog{width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;margin:auto;padding:0;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--foreground);overflow:auto;overscroll-behavior:contain;box-shadow:0 28px 80px #0008}
.event-preset-dialog::backdrop{background:#000a}
.event-preset-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid var(--border)}
.event-preset-dialog h2{margin:0;font-size:18px;line-height:1.4;outline:none}
.event-preset-dialog>header p{margin:6px 0 0;font-size:12px;line-height:1.6;color:var(--muted-foreground)}
.event-preset-dialog>header>button{flex:none}
.event-preset-body{padding:20px;font-size:13px}
.event-preset-body>p{margin:0}
.event-preset-name{display:grid;gap:7px;font-size:12px;font-weight:600}
.event-preset-name input{width:100%;box-sizing:border-box;min-height:40px;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--foreground);font:inherit;font-weight:400}
.event-preset-body>.event-preset-help{margin-top:10px;color:var(--muted-foreground);font-size:12px;line-height:1.6}
.event-preset-options{display:grid;gap:8px;margin:0;padding:0;border:0}
.event-preset-dialog .event-preset-options label{display:flex;flex-direction:row;align-items:flex-start;gap:10px;min-height:44px;box-sizing:border-box;padding:12px;border:1px solid var(--border);border-radius:8px;cursor:pointer;overflow-wrap:anywhere}
.event-preset-options label.is-selected{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 7%,var(--card))}
.event-preset-dialog .event-preset-options input[type=radio]{appearance:auto;width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;max-height:18px;padding:0;margin:3px 0 0;border:0;border-radius:50%;background:transparent;box-shadow:none;accent-color:var(--primary);flex:0 0 18px;align-self:flex-start}
.event-preset-options label>span{display:grid;gap:5px;min-width:0;flex:1}
.event-preset-options strong{font-size:13px;line-height:1.4;font-weight:600}
.event-preset-options small{font-size:11px;color:var(--muted-foreground)}
.event-preset-options:disabled label{cursor:default;opacity:.65}
.event-preset-error{margin:0 20px 20px;padding:12px;border:1px solid var(--destructive);border-radius:7px;font-size:12px;line-height:1.6}
.event-preset-error p{margin:0;outline:none;overflow-wrap:anywhere}
.event-preset-error button{margin-top:10px}
.event-preset-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid var(--border)}
.event-preset-dialog footer>span{font-size:12px;color:var(--muted-foreground)}
.event-preset-dialog footer>button{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}
.event-drafts{margin:0 0 24px;padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--card)}
.event-drafts>header{display:flex;justify-content:space-between;align-items:center;gap:12px}
.event-drafts h2{margin:0;font-size:15px;line-height:1.4}
.event-drafts header p{margin:4px 0 0;font-size:11px;color:var(--muted-foreground)}
.event-drafts>p{margin:14px 0 0;font-size:12px;line-height:1.6;color:var(--muted-foreground)}
.event-drafts ul{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:8px}
.event-drafts li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--border)}
.event-drafts li:last-child{padding-bottom:0}
.event-drafts li>div{display:grid;gap:5px;min-width:0}
.event-drafts li strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}
.event-drafts li span{font-size:11px;color:var(--muted-foreground)}
.event-drafts li>a{flex:none}
.event-drafts>.event-preset-error{margin:14px 0 0}
@media(max-width:600px){.event-preset-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.event-preset-dialog>header,.event-preset-body{padding:16px}.event-preset-dialog footer{padding:12px 16px}.event-preset-dialog .event-preset-error{margin:0 16px 16px}.event-preset-controls button,.event-preset-dialog button,.event-drafts button,.event-drafts a{min-height:44px}.event-preset-name input{font-size:16px;min-height:44px}.event-drafts{padding:14px}.event-preset-dialog .event-preset-options label{padding:12px 10px}}

.event-drafts li>.event-draft-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px;flex:none}
.event-drafts .event-draft-delete{color:var(--destructive);background:transparent}
.event-drafts .event-draft-delete:hover:not(:disabled){background:var(--muted)}
@media(max-width:480px){.event-drafts li{flex-wrap:wrap}.event-drafts li>.event-draft-actions{width:100%;justify-content:flex-start}}
.event-draft-confirm footer>button:first-child{background:var(--secondary);border-color:var(--border);color:var(--foreground)}
.event-preset-controls>.event-preset-controls{margin:0}
.event-preset-manage-list{display:grid;gap:8px}
.event-preset-dialog .event-preset-manage-list button{display:grid;justify-content:start;text-align:left;gap:5px;padding:11px;min-height:48px;overflow-wrap:anywhere}
.event-preset-manage-list button[aria-pressed=true]{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 7%,var(--card))}
.event-preset-manage-list small{color:var(--muted-foreground);font-size:11px}
.event-preset-edit{display:grid;gap:12px;padding-top:18px;margin-top:18px;border-top:1px solid var(--border)}
.event-preset-edit-actions,.event-preset-confirm>div{display:flex;flex-wrap:wrap;gap:8px}
.event-preset-dialog .event-preset-delete{color:var(--destructive)}
.event-preset-confirm{padding:12px;border:1px solid var(--border);border-radius:7px}
.event-preset-confirm p{margin:0 0 12px;line-height:1.6;overflow-wrap:anywhere}
.event-preset-body>.event-preset-manage-notice{margin-top:14px;font-size:12px}

.event-preset-manage-list .event-preset-protected{color:var(--primary);font-weight:600}
.event-preset-protected-note{margin:0;font-size:12px;line-height:1.6;color:var(--muted-foreground)}

.tournament-builder.is-event-setup{width:100%;max-width:none;min-width:0;box-sizing:border-box}
.tournament-builder.is-event-setup *{box-sizing:border-box}
.tournament-builder.is-event-setup .tb-header-actions:empty{display:none}
.event-setup-flow{margin-top:18px}
.tournament-builder.is-event-setup .tb-editor-heading{margin-bottom:6px}
.tournament-builder.is-event-setup .tb-editor-heading h2{font-size:24px;margin-bottom:0}
.tournament-builder.is-event-setup .tb-editor-heading :is(.tb-eyebrow,p){display:none}
.tournament-builder.is-event-setup>.tb-readonly{padding:0;margin:6px 0 10px;font-size:12px;line-height:1.5}
.tournament-builder.is-event-setup .event-preset-controls{margin:10px 0 12px}
.tournament-builder.is-event-setup .event-setup-flow{margin-top:12px}
.event-setup-flow>nav ol{display:flex;gap:6px;margin:0;padding:0;list-style:none}
.event-setup-flow>nav li{flex:1;min-width:0}
.event-setup-flow button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;gap:7px;padding:8px 11px;border:1px solid var(--border);border-radius:6px;background:var(--secondary);color:var(--foreground);font:inherit;font-size:12px;line-height:1.3;cursor:pointer;box-shadow:none}
.event-setup-flow button:disabled{opacity:.55;cursor:not-allowed}
.event-setup-flow :is(button,input):focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.event-setup-flow>nav button{width:100%;height:100%;justify-content:flex-start;background:transparent;text-align:left;color:var(--muted-foreground)}
.event-setup-flow>nav button>span{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border:1px solid var(--border);border-radius:50%;font-size:11px;flex:none}
.event-setup-flow>nav button[aria-current=step]{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 8%,var(--card));color:var(--foreground)}
.event-setup-flow>nav button[aria-current=step]>span{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}
.event-setup-step{margin-top:14px;padding:22px;border:1px solid var(--border);border-radius:10px;background:var(--card)}
.event-setup-step>header{margin-bottom:22px}
.event-setup-step>header h2{margin:4px 0 6px;font-size:21px;line-height:1.3;outline:none;scroll-margin-top:16px}
.event-setup-step>header p{margin:0;color:var(--muted-foreground);font-size:12px;line-height:1.6}
.event-setup-step>header>p:first-child{font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.event-setup-name{display:grid;gap:7px;max-width:560px;margin:0 0 20px;font-size:12px}
.event-setup-name input{box-sizing:border-box;width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--foreground);font:inherit}
.event-setup-flow .tr-settings{margin:0;padding:0;border:0;border-radius:0;background:transparent;grid-template-columns:minmax(0,1fr)}
.event-setup-flow .tr-settings>*{min-width:0}
.event-setup-flow .tr-settings>h3{display:none}
.event-setup-flow .tr-settings .tr-fields{align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))}
.event-setup-flow .tr-settings .tr-fields>label{align-content:start}
.event-setup-flow .tr-settings .tr-fields:empty{display:none}
.event-setup-rumble{margin-top:22px;padding-top:20px;border-top:1px solid var(--border)}
.event-setup-rumble>h3{margin:0 0 12px;font-size:14px}
.event-setup-readiness{margin-bottom:20px;padding:14px 16px;border:1px solid var(--border);border-radius:8px;background:var(--secondary);font-size:12px;line-height:1.6}
.event-setup-readiness strong{font-size:13px}
.event-setup-readiness ul{padding-left:18px;margin:7px 0}
.event-setup-readiness p{margin:6px 0 0;color:var(--muted-foreground)}
.event-setup-readiness.is-ready{border-color:color-mix(in srgb,var(--primary) 45%,var(--border))}
.event-setup-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.event-setup-review-grid section>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.event-setup-review-grid h3{margin:0;font-size:14px}
.event-setup-review-grid header button{background:transparent;min-height:34px;padding:6px 8px;font-size:11px}
.event-setup-review-grid dl{display:grid;gap:16px;margin:0;font-size:12px;line-height:1.6}
.event-setup-review-grid dt{font-size:11px;color:var(--muted-foreground);margin-bottom:3px}
.event-setup-review-grid dd{margin:0;overflow-wrap:anywhere}
.event-setup-review-grid dd small{display:block;margin-top:4px;color:var(--muted-foreground);font-size:11px}
.event-setup-review-grid dd ul{margin:0;padding:0;list-style:none;display:grid;gap:4px}
.event-setup-prize{white-space:pre-wrap}
.event-setup-review-grid h4{margin:20px 0 8px;font-size:12px}
.event-setup-review-rules{margin:0;padding-left:18px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.event-setup-error{padding:12px;margin:18px 0 0;border:1px solid var(--destructive);border-radius:7px;font-size:12px;line-height:1.6}
.event-setup-step>footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px;padding-top:18px;border-top:1px solid var(--border)}
.event-setup-step>footer>span{font-size:11px;color:var(--muted-foreground)}
.event-setup-step>footer>div{display:flex;gap:8px}
.event-setup-step .event-setup-next{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}
@media(max-width:650px){.event-setup-step{padding:16px}.event-setup-flow button{min-height:44px}.event-setup-flow>nav button{flex-direction:column;align-items:flex-start;gap:6px;padding:10px 8px;font-size:11px}.event-setup-flow>nav button>span{width:21px;height:21px}.event-setup-flow .tr-settings .tr-fields{grid-template-columns:1fr}.event-setup-name input{min-height:44px;font-size:16px}.event-setup-review-grid{grid-template-columns:1fr;gap:24px}.event-setup-review-grid section+section{padding-top:20px;border-top:1px solid var(--border)}.event-setup-step>footer{align-items:flex-start;flex-direction:column}.event-setup-step>footer>div{width:100%;justify-content:flex-end}.event-setup-step>header h2{font-size:20px}}

@media(max-width:650px){
 .tournament-builder.is-event-setup>.tournament-back{min-height:44px;margin-bottom:12px}
 .tournament-builder.is-event-setup .tb-editor-heading{gap:0}
 .event-setup-flow,.event-setup-step,.event-setup-flow .tr-settings,.event-setup-flow .tr-fields>*{min-width:0;max-width:100%}
 .event-setup-flow .tr-settings :is(input,select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea){min-width:0;max-width:100%}
 .event-setup-flow .tr-settings :is(input:not([type=checkbox]):not([type=radio]),select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),textarea){min-height:44px;font-size:16px}
 .tournament-builder.is-event-setup .tb-savebar{bottom:max(6px,env(safe-area-inset-bottom));flex-wrap:wrap;padding:10px;gap:8px}
 .tournament-builder.is-event-setup .tb-savebar>div:first-child{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
 .tournament-builder.is-event-setup .tb-savebar>div:last-child{width:100%;display:flex;flex-wrap:wrap;gap:8px}
 .tournament-builder.is-event-setup .tb-savebar>div:last-child>button{flex:1 1 90px;min-height:44px;white-space:normal;padding:8px;font-size:12px}
 .event-setup-step>footer>div{flex-wrap:wrap}
 .event-setup-review-grid section>header{flex-wrap:wrap}
}

.tr-event-slots{display:grid;gap:12px;min-width:0}
.tr-event-slot-entry{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px}
.tr-event-slot-entry>label{flex:0 1 180px}
.tr-event-slot-entry>button{flex:none;min-height:40px}
.tr-settings .tr-event-slot-clear{background:transparent;border-color:transparent;color:var(--muted-foreground)}
.tr-settings .tr-event-slot-error{color:var(--destructive)}
.tr-event-slot-bubbles{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.tr-event-slot-bubbles>li{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:3px 4px 3px 12px;border:1px solid var(--border);border-radius:999px;background:var(--secondary);color:var(--foreground);font-size:12px;line-height:1.5}
.tr-event-slot-bubbles>li>span{min-width:0;overflow-wrap:anywhere}
.tr-settings .tr-event-slot-bubbles button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;min-height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted-foreground)}
.tr-settings .tr-event-slot-bubbles button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.tr-event-slots-empty{padding:4px 0}
@media(max-width:600px){.tr-event-slot-entry>label{flex:1 1 120px}.tr-event-slot-entry>button{min-height:44px}.tr-settings .tr-event-slot-bubbles button{width:36px;height:36px;min-height:36px}.tr-event-slot-bubbles>li{padding-right:3px}}
@media(pointer:coarse){.tr-settings .tr-event-slot-bubbles button{width:40px;height:40px;min-height:40px}}

.portal-help-trigger{color:var(--primary)!important}
.help-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(660px,100vw);height:100dvh;max-width:none;max-height:none;border:0;border-left:1px solid var(--border);padding:0;background:var(--card);color:var(--foreground);box-shadow:-12px 0 60px #0002;text-align:left;overflow:hidden}
.help-dialog::backdrop{background:#181c232c;backdrop-filter:blur(1px)}
.help-dialog[open]{display:flex;flex-direction:column;animation:help-enter .2s ease-out}
@keyframes help-enter{from{transform:translateX(24px);opacity:0}to{transform:translateX(0);opacity:1}}
.help-heading{padding:23px 28px 18px;border-bottom:1px solid var(--border);flex-shrink:0}
.help-title-row,.help-title-row>div{display:flex;align-items:center;gap:10px}.help-title-row{justify-content:space-between}.help-title-row h2{font-size:20px;font-weight:500;margin:0}.help-mark{display:grid;place-items:center;width:32px;height:32px;background:var(--muted);color:var(--primary);border-radius:9px}.help-heading>p{font-size:12px;color:var(--muted-foreground);margin:7px 0 0}
.help-dialog .help-icon-button{display:grid;place-items:center;min-height:36px;width:36px;height:36px;padding:0;border:0;background:transparent;color:var(--muted-foreground)}.help-dialog .help-icon-button:hover{background:var(--muted)}
.help-scroll{overflow-y:auto;flex:1;min-height:0;padding:24px 28px 28px;overscroll-behavior:contain}
.help-search{display:flex;align-items:center;gap:10px;border:1px solid var(--input);background:var(--background);border-radius:9px;padding:0 12px;color:var(--muted-foreground)}.help-search svg{flex:none}.help-search input{width:100%;min-width:0;background:transparent;border:0;outline:none;margin:0;padding:12px 0;font-size:13px;color:var(--foreground)}.help-search:focus-within{border-color:var(--ring);box-shadow:0 0 0 2px var(--muted)}
.help-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 12px}.help-section-heading h3{font-size:12px;font-weight:500;margin:0}.help-section-heading>span{font-size:11px;color:var(--muted-foreground)}
.help-categories{display:grid;grid-template-columns:1fr 1fr;gap:10px}.help-dialog .help-category{display:flex;justify-content:flex-start;text-align:left;gap:12px;padding:16px;border:1px solid var(--border);border-radius:10px;background:transparent;color:var(--foreground);min-width:0}.help-dialog .help-category:hover,.help-dialog .help-category[aria-pressed=true]{border-color:var(--primary);background:var(--muted)}.help-category-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:8px;background:var(--muted);color:var(--primary)}.help-category strong{display:block;font-size:13px;font-weight:500}.help-category small{display:block;font-size:11px;color:var(--muted-foreground);margin-top:2px}
.help-dialog .help-text-button{background:transparent;color:var(--primary);border:0;padding:0;min-height:28px;font-size:12px}.help-dialog .help-text-button:hover{text-decoration:underline;background:transparent}.help-resources{border:1px solid var(--border);border-radius:10px;overflow:hidden}.help-dialog .help-resource{display:flex;gap:13px;justify-content:flex-start;width:100%;text-align:left;padding:15px 16px;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;color:var(--foreground)}.help-dialog .help-resource:last-child{border-bottom:0}.help-dialog .help-resource:hover{background:var(--muted)}.help-resource>svg{flex:none;color:var(--muted-foreground)}.help-resource>span{flex:1;min-width:0}.help-resource strong{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}.help-resource small{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted-foreground);margin-top:4px}.help-file-count{display:inline-flex;align-items:center;gap:3px}
.help-state{text-align:center;padding:36px 18px;color:var(--muted-foreground);font-size:13px}.help-state h3{font-size:15px;color:var(--foreground);margin:10px 0 5px}.help-state p{margin:5px 0 12px}.help-notice{margin-top:15px;padding:12px;background:var(--muted);border-radius:7px;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.help-footer{padding:12px 28px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;background:var(--background);font-size:10px;color:var(--muted-foreground);gap:12px;flex-wrap:wrap;flex-shrink:0}
.help-back{margin-bottom:24px}.help-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1px;font-weight:600;color:var(--primary)}.help-article>h2{font-size:27px;line-height:1.2;font-weight:500;letter-spacing:-.7px;margin:11px 0;overflow-wrap:anywhere}.help-article>h2:focus{outline:none}.help-article-meta{font-size:11px;color:var(--muted-foreground);margin:14px 0 24px;padding-bottom:19px;border-bottom:1px solid var(--border)}.help-post+.help-post{border-top:1px solid var(--border);margin-top:24px;padding-top:24px}
.help-prose{font-size:14px;line-height:1.75;overflow-wrap:anywhere}.help-prose p{white-space:pre-wrap;margin:0 0 16px}.help-prose h3{font-size:17px;font-weight:500;margin:24px 0 12px}.help-prose h3:first-child{margin-top:0}.help-prose ul,.help-prose ol{padding-left:24px;margin:0 0 18px}.help-prose li{padding-left:3px;margin-bottom:8px}.help-prose blockquote{margin:16px 0;padding:12px 16px;border-left:2px solid var(--primary);background:var(--muted);border-radius:0 6px 6px 0}.help-prose code{font-size:.9em;background:var(--muted);padding:2px 4px;border-radius:4px}.help-prose pre{overflow:auto;background:var(--muted);padding:14px;border:1px solid var(--border);border-radius:8px}.help-prose pre code{padding:0}.help-prose a{overflow-wrap:anywhere}
.help-attachment{border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-top:18px}.help-attachment-heading{padding:13px 15px;display:flex;align-items:center;gap:10px;background:var(--background)}.help-attachment-heading>svg{flex:none;color:var(--muted-foreground)}.help-attachment-heading>div{flex:1;min-width:0}.help-attachment-heading strong{display:block;font-size:12px;font-weight:500;overflow-wrap:anywhere}.help-attachment-heading small{font-size:10px;color:var(--muted-foreground)}.help-attachment-heading>a{display:grid;place-items:center;min-width:32px;min-height:32px}.help-dialog .help-image{display:block;width:100%;padding:0;border:0;border-radius:0;background:var(--muted);color:var(--muted-foreground)}.help-image img{display:block;width:100%;max-height:360px;object-fit:contain}.help-image span{display:block;padding:7px;font-size:10px}.help-attachment video{display:block;width:100%;max-height:420px;background:#111}.help-pdf{padding:12px 15px;font-size:12px}.help-pdf summary{cursor:pointer;color:var(--primary)}.help-pdf>a{display:inline-flex;gap:5px;align-items:center;margin-top:10px}.help-source{display:flex;justify-content:space-between;gap:15px;font-size:11px;border-top:1px solid var(--border);margin-top:30px;padding-top:16px;color:var(--muted-foreground)}.help-source a{display:flex;align-items:center;gap:5px}
.help-lightbox{border:0;border-radius:12px;padding:45px 12px 12px;background:var(--card);color:var(--foreground);max-width:96vw;max-height:95dvh}.help-lightbox::backdrop{background:#000b}.help-lightbox .help-icon-button{position:absolute;right:7px;top:4px}.help-lightbox img{display:block;max-width:90vw;max-height:80dvh;object-fit:contain}
@media(max-width:600px){.help-dialog{width:100vw;border-left:0}.help-heading{padding:18px 18px 15px}.help-scroll{padding:20px 18px}.help-category-icon{width:28px;height:28px}.help-dialog .help-category{padding:12px 10px;gap:8px}.help-category strong{font-size:12px}.help-footer{padding:11px 18px}.help-article>h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){.help-dialog[open]{animation:none}}

.help-pdf-pages{margin-top:12px}.help-pdf-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;font-size:11px}.help-pdf-controls button{font-size:11px;min-height:32px;padding:5px 10px}.help-pdf-canvas{width:100%;min-width:0;background:var(--muted);overflow:hidden}.help-pdf-canvas canvas{max-width:100%;height:auto}.help-pdf-status{padding:12px 0;color:var(--muted-foreground);font-size:12px;margin:0}

.help-browse-heading{margin-top:0}.help-categories{grid-template-columns:minmax(0,1fr)}.help-dialog .help-category{align-items:center;width:100%;min-height:76px;padding:16px;gap:14px}.help-category-copy{flex:1;min-width:0}.help-category>svg{flex:none;color:var(--muted-foreground)}.help-category strong{font-size:15px;line-height:1.4}.help-category small{font-size:12px;line-height:1.5;white-space:normal}.help-category .help-category-icon{width:36px;height:36px}.help-category-search{margin-bottom:12px}.help-category-title h3:focus{outline:none}

.help-dialog button.help-category:hover{background:var(--muted)!important;color:var(--foreground)!important;border-color:var(--primary)}

.help-guides-heading{margin-top:0;margin-bottom:20px}.help-guides-heading h3{font-size:26px;line-height:1.2;font-weight:600;letter-spacing:-.5px}.help-guides-heading p{font-size:13px;line-height:1.5;color:var(--muted-foreground);margin:8px 0 0}.help-category-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.help-category-title>span{font-size:10px;line-height:1.4;font-weight:500;color:var(--muted-foreground);border:1px solid var(--border);border-radius:6px;padding:3px 7px;white-space:nowrap}.help-resource strong{font-size:14px;line-height:1.5}.help-resource>.help-file-count{flex:none;gap:4px;font-size:11px;color:var(--muted-foreground)}

/* Preserve the shared reader while making its dashboard entry usable by touch. */
@media (max-width:600px), (max-width:960px) and (max-height:500px), (pointer:coarse) {
 .help-dialog-fluent{box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);max-height:100dvh}
 .help-dialog-fluent .help-search input{font-size:16px}
 .help-dialog-fluent button{min-height:44px;min-width:44px}
 .help-dialog-fluent .help-icon-button{min-height:44px;width:44px;height:44px}
}

.training-page{max-width:1000px;margin:0 auto;color:var(--foreground)}
.training-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 25px}.training-eyebrow{font-size:10px;font-weight:600;letter-spacing:1.2px;color:var(--muted-foreground);text-transform:uppercase}.training-heading h2{display:flex;align-items:center;gap:10px;font-size:24px;letter-spacing:-.5px;margin:8px 0}.training-heading p,.training-track-heading p{font-size:13px;color:var(--muted-foreground);margin:6px 0;line-height:1.6}.training-heading h2 svg{color:var(--primary)}
.training-page .training-button,.training-actions a,.training-page .training-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--border);border-radius:8px;padding:9px 12px;min-height:40px;background:var(--card);color:var(--foreground);font-size:12px;text-decoration:none;font-weight:500;white-space:nowrap}.training-page .training-button:hover,.training-actions a:hover,.training-page .training-actions button:hover{background:var(--muted);border-color:var(--primary)}
.training-tracks{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:15px;border-bottom:1px solid var(--border)}.training-tracks a{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 12px;border:1px solid var(--border);border-radius:8px;text-decoration:none;color:var(--muted-foreground);font-size:13px}.training-tracks a[aria-current=page]{color:var(--foreground);background:var(--muted);border-color:var(--primary)}.training-tracks a>span{font-size:10px;background:var(--background);border:1px solid var(--border);border-radius:12px;padding:2px 6px}.training-track-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:23px 0 18px}.training-track-heading h3{font-size:18px;margin:0}.training-search{display:flex;gap:10px;align-items:center;max-width:560px;border:1px solid var(--border);border-radius:8px;padding:0 12px;color:var(--muted-foreground);background:var(--card)}.training-search input{width:100%;min-width:0;margin:0;border:0!important;background:transparent!important;color:var(--foreground);padding:12px 0!important;outline:0;font-size:14px}.training-search input::placeholder{color:var(--muted-foreground)}.training-search>svg{flex:none}.training-search:focus-within{outline:2px solid var(--ring);outline-offset:2px}.training-count{font-size:11px;color:var(--muted-foreground);margin:17px 0 10px}
.training-catalog{padding:0;margin:0;list-style:none;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--card)}.training-catalog li+li{border-top:1px solid var(--border)}.training-catalog a{display:flex;align-items:center;gap:14px;padding:17px;text-decoration:none;color:var(--foreground)}.training-catalog a:hover{background:var(--muted)}.training-order{color:var(--primary);font-size:12px;font-variant-numeric:tabular-nums;min-width:22px;align-self:flex-start;padding-top:2px}.training-lesson-info{flex:1;min-width:0}.training-lesson-info strong{font-size:14px;font-weight:600;display:block;line-height:1.4}.training-lesson-info>span{display:block;font-size:12px;color:var(--muted-foreground);line-height:1.6;margin-top:4px}.training-lesson-info small{display:block;font-size:10px;color:var(--muted-foreground);margin-top:6px}.training-catalog a>svg{flex:none;color:var(--muted-foreground)}.training-empty{text-align:center;padding:24px;font-size:13px;color:var(--muted-foreground)}
.training-lesson{max-width:760px;margin:0 auto}.training-back{display:inline-flex;align-items:center;gap:7px;min-height:40px;font-size:12px;margin-bottom:17px;text-decoration:none}.training-lesson>h2{font-size:28px;letter-spacing:-.6px;line-height:1.2;margin:10px 0}.training-summary{font-size:14px;color:var(--muted-foreground);line-height:1.65}.training-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.training-note{font-size:12px;color:var(--muted-foreground);line-height:1.5}.training-video{background:var(--muted);border:1px solid var(--border);border-radius:12px;overflow:hidden;margin:20px 0}.training-video video{display:block;width:100%;max-height:620px;background:#151515}.training-video p{padding:12px;margin:0;font-size:12px}.training-media-status{display:flex;align-items:center;gap:9px;padding:15px;border:1px solid var(--border);border-radius:8px;background:var(--muted);font-size:12px;color:var(--muted-foreground)}.training-section{margin:27px 0;font-size:14px;line-height:1.7}.training-section h3{font-size:17px;margin:0 0 10px;display:flex;align-items:center;gap:7px}.training-section ul{padding-left:22px}.training-section li{margin:6px 0}.training-steps{padding-left:25px}.training-steps>li{padding-left:7px;margin:0 0 23px}.training-steps>li::marker{font-size:12px;font-weight:600;color:var(--primary)}.training-steps p{margin:5px 0 10px;white-space:pre-wrap}.training-steps strong{font-weight:600}.training-result,.training-practice{border:1px solid var(--border);border-radius:10px;background:var(--muted);padding:18px}.training-result p,.training-practice p{margin:0 0 10px}.training-practice small{display:block;font-size:11px;color:var(--muted-foreground);margin-top:10px}
.training-page .training-screenshot{display:block;max-width:330px;width:100%;padding:0;border:1px solid var(--border);border-radius:9px;overflow:hidden;background:var(--card);color:var(--muted-foreground);margin:14px 0}.training-page .training-screenshot:is(:hover,:focus-visible):not(:disabled){background:var(--muted);color:var(--foreground);border-color:var(--primary)}.training-screenshot img{width:100%;max-height:520px;object-fit:contain;display:block}.training-screenshot>span{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px;font-size:11px;min-height:40px}.training-transcript{border-top:1px solid var(--border);padding:18px 0;font-size:13px}.training-transcript summary{cursor:pointer;min-height:32px}.training-transcript p{white-space:pre-wrap;line-height:1.8;color:var(--muted-foreground)}.training-revision{display:flex;flex-wrap:wrap;gap:15px;color:var(--muted-foreground);font-size:10px;border-top:1px solid var(--border);padding:13px 0}.training-error{padding:16px;border:1px solid var(--border);border-radius:8px;margin:20px 0;font-size:13px}.training-error button{margin-left:10px}.training-lightbox{max-width:96vw;max-height:95dvh;padding:48px 14px 15px;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--foreground)}.training-lightbox::backdrop{background:#000b}.training-lightbox>button{background:var(--card);color:var(--foreground);border-color:var(--border);position:absolute;right:8px;top:5px;width:38px;height:38px;padding:0;display:grid;place-items:center}.training-lightbox>button:is(:hover,:focus-visible):not(:disabled){background:var(--muted);color:var(--foreground);border-color:var(--primary)}.training-lightbox img{display:block;max-width:90vw;max-height:76dvh;object-fit:contain;margin:auto}.training-lightbox p{font-size:12px;margin:10px 0 0;text-align:center;max-width:650px}
.help-training-link{display:flex;gap:12px;align-items:center;border:1px solid var(--primary);background:var(--muted);border-radius:9px;padding:14px;color:var(--foreground);text-decoration:none;margin-bottom:20px}.help-training-link>span{flex:1}.help-training-link strong{display:block;font-size:14px}.help-training-link small{display:block;font-size:11px;color:var(--muted-foreground);margin-top:4px}.battles-training-shortcut{display:flex;justify-content:flex-end;margin:-4px 0 8px}.battles-training-shortcut a{display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:11px;text-decoration:none;padding:6px 10px;border:1px solid var(--border);border-radius:7px;color:var(--muted-foreground)}
@media(max-width:600px){.training-heading{display:block;margin-top:0}.training-heading h2{font-size:22px}.training-heading>.training-button{margin-top:10px}.training-tracks{gap:6px}.training-tracks a{font-size:12px;padding:7px 10px}.training-track-heading{display:block}.training-track-heading>.training-button{margin-top:10px}.training-catalog a{gap:10px;padding:14px 12px}.training-lesson-info strong{font-size:13px}.training-lesson>h2{font-size:25px}.training-video video{max-height:70dvh}.training-section{font-size:13px}.training-steps{padding-left:20px}.training-section h3{font-size:16px}.training-result,.training-practice{padding:14px}.training-actions{gap:6px}.training-page .training-actions button,.training-actions a{min-height:42px}.training-lightbox{max-width:100vw}.training-lightbox>button:is(:hover,:focus-visible):not(:disabled){background:var(--muted);color:var(--foreground);border-color:var(--primary)}.training-lightbox img{max-width:88vw}}
@media(prefers-reduced-motion:reduce){.training-page *{scroll-behavior:auto!important}}
.training-areas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:25px 0}.training-area{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--foreground);text-decoration:none}.training-area-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;color:var(--muted-foreground)}.training-area-status{font-size:11px;line-height:1.4;border:1px solid var(--border);border-radius:14px;padding:4px 8px;color:var(--muted-foreground);background:var(--muted)}.training-area h3{font-size:18px;font-weight:600;line-height:1.35;margin:0 0 9px}.training-area p{font-size:13px;line-height:1.6;color:var(--muted-foreground);margin:0 0 16px}.training-area small{font-size:11px;line-height:1.6;color:var(--muted-foreground);margin-bottom:20px}.training-area-open{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;color:var(--primary);font-size:12px;font-weight:500;min-height:32px}.training-area-available .training-area-top>svg{color:var(--primary)}.training-area-available:is(:hover,:focus-visible){background:var(--muted);border-color:var(--primary)}
@media(max-width:800px){.training-areas{grid-template-columns:1fr}.training-area{padding:18px}.training-area-top{margin-bottom:14px}.training-area small{margin-bottom:12px}}

.cross-agency{max-width:1120px;margin:0 auto;padding:24px 0;color:var(--foreground)}
.ca-heading,.ca-list-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.ca-heading h1{font-size:24px;letter-spacing:-.03em;margin:0 0 6px}.ca-heading p,.ca-empty p{color:var(--muted-foreground);font-size:13px;margin:0;line-height:1.5}
.cross-agency button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--border);border-radius:6px;padding:6px 10px;min-height:34px;font:inherit;font-size:12px;background:var(--secondary);color:var(--foreground);cursor:pointer;white-space:nowrap}
.cross-agency button.ca-primary{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary);font-weight:500}.cross-agency button:disabled{opacity:.5;cursor:default}
.cross-agency :is(button,input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select):focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.ca-form{margin:22px 0 28px;padding:20px;border:1px solid var(--border);border-radius:10px;background:var(--card)}
.ca-form h2,.ca-list-heading h2{margin:0;font-size:15px;font-weight:600}.ca-helper{font-size:12px;color:var(--muted-foreground);line-height:1.5}
.ca-form fieldset{border:0;padding:0;margin:18px 0;min-width:0}.ca-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}.ca-fields label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:500;min-width:0}
.ca-fields :is(input,select){box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:38px;border:1px solid var(--input);border-radius:6px;padding:7px 10px;background:var(--background);color:var(--foreground);font:inherit;font-size:14px;color-scheme:light dark}
.ca-fields small{font-size:11px;color:var(--muted-foreground);font-weight:400}.ca-form footer{display:flex;justify-content:flex-end;align-items:center;gap:16px;border-top:1px solid var(--border);padding-top:16px}.ca-form footer>div{display:flex;gap:8px;flex-shrink:0}
.ca-list-heading{margin:24px 0 12px}.ca-list-heading h2 span{color:var(--muted-foreground);font-size:11px;margin-left:7px;border:1px solid var(--border);padding:2px 6px;border-radius:4px}
.ca-empty{text-align:center;padding:46px 20px;border:1px dashed var(--border);border-radius:10px;color:var(--muted-foreground)}.ca-empty svg{margin:auto}.ca-empty h3{font-size:15px;color:var(--foreground);margin:13px 0 6px}
.ca-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.ca-opportunity{display:flex;align-items:center;gap:28px;padding:20px;border:1px solid var(--border);border-radius:10px;background:var(--card)}.ca-creator{flex:1;min-width:0}.ca-creator strong{display:block;font-size:15px;overflow-wrap:anywhere}.ca-creator small{display:block;margin-top:5px;font-size:11px;color:var(--muted-foreground);overflow-wrap:anywhere}.ca-opportunity dl{display:grid;grid-template-columns:2fr .6fr 1fr;gap:26px;margin:0;flex:2}.ca-opportunity dt{font-size:11px;color:var(--muted-foreground);margin-bottom:6px}.ca-opportunity dd{font-size:13px;margin:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.ca-notice{font-size:13px;color:var(--primary)}.ca-error{font-size:13px;color:var(--destructive);line-height:1.5}
@media(max-width:760px){.ca-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.ca-opportunity{align-items:flex-start;flex-direction:column;gap:16px}.ca-opportunity dl{width:100%;gap:14px}.ca-form footer{align-items:flex-start;flex-direction:column}.ca-form footer>div{align-self:flex-end}}
@media(max-width:440px){.cross-agency{padding:16px 0}.ca-form{padding:16px}.ca-fields{grid-template-columns:minmax(0,1fr);gap:14px}.ca-fields :is(input,select){font-size:16px}.ca-opportunity dl{grid-template-columns:1fr 1fr}.ca-opportunity dl>div:first-child{grid-column:1/-1}.ca-heading{gap:12px}.ca-heading h1{font-size:22px}}
.ca-agency-name{display:block;font-size:12px;color:var(--primary);margin-top:5px;overflow-wrap:anywhere}
.ca-agency-dialog{position:fixed;inset:0;margin:auto;width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:22px;box-sizing:border-box;background:var(--card);color:var(--foreground);border:1px solid var(--border);border-radius:12px;box-shadow:0 20px 80px #0006}
.ca-agency-dialog::backdrop{background:#0009}.ca-agency-dialog h2{font-size:19px;margin:0 0 8px}.ca-agency-dialog fieldset{border:0;min-width:0;padding:0;margin:0}.ca-agency-fields{display:grid;gap:15px;margin:20px 0}
.ca-agency-fields label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;font-weight:500}.ca-agency-fields small{font-size:11px;color:var(--muted-foreground);font-weight:400}
.ca-agency-dialog :is(input:not([type=checkbox]),select){box-sizing:border-box;width:100%;min-width:0;height:38px;border:1px solid var(--input);border-radius:6px;padding:7px 10px;background:var(--background);color:var(--foreground);font:inherit;font-size:14px}
.ca-manager-picker legend{font-size:12px;font-weight:500}.ca-manager-picker .ca-helper{margin:6px 0 10px}.ca-manager-options{max-height:150px;overflow:auto;margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}.ca-agency-dialog .ca-manager-options label{display:inline-flex;flex-direction:row;align-items:center;gap:6px;min-height:30px;margin:0;padding:4px 8px;box-sizing:border-box;font-size:12px;border:1px solid var(--border);border-radius:5px;cursor:pointer;max-width:100%}.ca-manager-options label:hover{background:var(--muted)}.ca-manager-options input{width:15px;height:15px;accent-color:var(--primary);flex-shrink:0}.ca-manager-options span{overflow-wrap:anywhere}
.ca-agency-dialog footer{display:flex;gap:8px;justify-content:flex-end;border-top:1px solid var(--border);margin-top:18px;padding-top:16px}.ca-agency-dialog .ca-refresh-managers{margin-top:8px;background:transparent;padding:4px 7px;font-size:11px}
@media(max-width:440px){.ca-agency-dialog{padding:18px;max-height:calc(100dvh - 24px)}.ca-agency-dialog :is(input:not([type=checkbox]),select){font-size:16px}}

.ca-agency-dialog .ca-other-contact{display:flex;flex-direction:column;gap:7px;margin-top:14px;font-size:12px;font-weight:500}.ca-manager-options label:has(input:checked){border-color:var(--primary);background:var(--accent)}

.ca-series{display:block;font-size:11px;color:var(--muted-foreground);margin-top:5px}

.ca-opportunity .ca-preference{display:grid;grid-template-columns:auto 1fr;gap:7px 8px;align-content:start}.ca-opportunity .ca-preference dt{margin:0;line-height:1.5}.ca-opportunity .ca-preference dd{line-height:1.3}

.ca-item-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.ca-item-actions button{min-height:30px;padding:4px 9px}

.ca-edit-fields{margin:20px 0}.cross-agency .ca-delete-confirm{background:var(--destructive);color:#fff;border-color:var(--destructive)}

.ca-creator{display:flex;align-items:flex-start;gap:12px}.ca-creator-copy{min-width:0;flex:1}.ca-avatar{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:48px;border-radius:50%;overflow:hidden;background:var(--secondary);color:var(--muted-foreground);font-size:18px;font-weight:600;border:1px solid var(--border)}.ca-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ca-profile-link{color:inherit;text-decoration:none;text-underline-offset:3px}.ca-profile-link:hover,.ca-profile-link:focus-visible{text-decoration:underline}.ca-profile-link:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:2px}

.ca-heading-actions{display:flex;flex-wrap:wrap;gap:8px}.ca-agencies{margin-top:20px;padding:18px;border:1px solid var(--border);border-radius:10px;background:var(--card)}.ca-agencies h2{font-size:15px;margin:0}.ca-agencies ul{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:12px}.ca-agencies li{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-top:1px solid var(--border);padding-top:12px}.ca-agencies li>div{min-width:0;overflow-wrap:anywhere}.ca-agencies strong{font-size:13px}.ca-agencies p{font-size:12px;color:var(--muted-foreground);margin:5px 0 0;line-height:1.6}.ca-agencies span{display:block}.ca-agencies a{color:var(--primary);text-underline-offset:3px}.ca-agencies li button{flex-shrink:0;min-height:30px;padding:4px 9px}

.ca-public-link{display:inline-block;margin-top:8px;color:var(--primary);font-size:12px;text-decoration:none;text-underline-offset:3px}.ca-public-link:hover,.ca-public-link:focus-visible{text-decoration:underline}.ca-public-link:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:2px}
.ca-interest-dialog{width:min(540px,calc(100% - 32px))}.ca-interest-empty{font-size:13px;color:var(--muted-foreground);line-height:1.6;margin:22px 0}.ca-interest-list{list-style:none;padding:0;margin:18px 0;display:grid;gap:12px}.ca-interest-list li{border:1px solid var(--border);border-radius:8px;padding:14px;min-width:0;overflow-wrap:anywhere}.ca-interest-list strong{font-size:14px}.ca-interest-list dl{display:grid;gap:8px;margin:12px 0 0}.ca-interest-list dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px}.ca-interest-list dt{font-size:12px;color:var(--muted-foreground);line-height:1.5}.ca-interest-list dd{font-size:13px;margin:0;line-height:1.4;font-variant-numeric:tabular-nums}

.preferred-windows{--pw-border:#554835;--pw-background:#12110f;--pw-panel:#211c14;--pw-text:#eee5d7;--pw-muted:#b7ad9c;--pw-accent:#e6c78b;--pw-selected:#342a1a;font:inherit;color:var(--pw-text)}
.preferred-windows-note,.preferred-windows-empty{margin:9px 0 12px;color:var(--pw-muted);font-size:12px;line-height:1.55}
.preferred-windows-note strong{font-weight:700;color:var(--pw-text)}
.preferred-windows-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.preferred-windows button,.preferred-windows select{font-family:inherit;letter-spacing:normal}
.preferred-windows .preferred-windows-day{display:grid;grid-template-columns:1fr;justify-items:center;gap:3px;align-content:center;min-width:0;min-height:56px;padding:7px 3px;border:1px solid var(--pw-border);border-radius:8px;background:var(--pw-background);color:var(--pw-text);font-size:13px;line-height:1.3;cursor:pointer}
.preferred-windows-day span{font-weight:700}
.preferred-windows-day span:last-child{font-size:14px}
.preferred-windows .preferred-windows-day[aria-pressed=true]{border-color:var(--pw-accent);background:var(--pw-selected);color:var(--pw-accent)}
/* Keep calendar choices legible above the portal's global gold hover rule. */
.preferred-windows:not(.preferred-windows--pills) .preferred-windows-day:is(:hover,:focus-visible,:active):not(:disabled){border-color:var(--pw-accent);background:var(--pw-panel);color:var(--pw-text)}
.preferred-windows:not(.preferred-windows--pills) .preferred-windows-day[aria-pressed=true]:is(:hover,:focus-visible,:active):not(:disabled){background:var(--pw-selected);color:var(--pw-accent)}
.preferred-windows-selected{display:grid;gap:9px}
.preferred-windows-date{padding:9px 11px 12px;border:1px solid var(--pw-border);border-radius:9px;background:var(--pw-panel);min-width:0}
.preferred-windows-date-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.preferred-windows-date-heading h3{margin:0;color:var(--pw-text);font-size:13px;line-height:1.4;font-weight:700}
.preferred-windows-add{border:0;background:none;color:var(--pw-accent);font-size:12px;font-weight:700;min-height:44px;padding:4px 6px;white-space:nowrap;cursor:pointer}
.preferred-windows-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:8px;align-items:end}
.preferred-windows-row+.preferred-windows-row{margin-top:10px}
.preferred-windows-row label{display:grid;gap:5px;min-width:0;font-size:12px;color:var(--pw-muted);font-weight:600}
.preferred-windows-row select{width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid var(--pw-border);border-radius:7px;background:var(--pw-background);color:var(--pw-text);font-size:14px;line-height:1.25;font-weight:400}
.preferred-windows-remove{width:44px;min-height:44px;border:1px solid var(--pw-border);border-radius:7px;background:var(--pw-background);color:var(--pw-muted);font-size:23px;font-weight:400;cursor:pointer}
.preferred-windows :focus-visible{outline:2px solid var(--pw-accent);outline-offset:3px}
.preferred-windows button:disabled,.preferred-windows select:disabled{opacity:.5;cursor:default}
@media(pointer:coarse){.preferred-windows-row select{font-size:16px}}
@media(max-width:380px){.preferred-windows-date{padding:7px 8px 10px}.preferred-windows-row{gap:6px}.preferred-windows-day{font-size:12px}}

/* Public creator form: compact date pills and unframed time ranges. */
.preferred-windows--pills{--pw-pill:#302b22;--pw-pill-selected:#e3c77e;--pw-pill-on-selected:#282111}
.preferred-windows--pills .preferred-windows-days{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.preferred-windows--pills .preferred-windows-day{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:10px 15px;border:0;border-radius:999px;background:var(--pw-pill);font-size:12px;line-height:1.4}
.preferred-windows--pills .preferred-windows-day span,.preferred-windows--pills .preferred-windows-day span:last-child{font-size:inherit;font-weight:500}
.preferred-windows--pills .preferred-windows-day[aria-pressed=true]{background:var(--pw-pill-selected);color:var(--pw-pill-on-selected)}
.preferred-windows-pill-check{visibility:hidden;flex:none}
.preferred-windows-day[aria-pressed=true] .preferred-windows-pill-check{visibility:visible}
.preferred-windows--pills .preferred-windows-selected{gap:0}
.preferred-windows--pills .preferred-windows-date{padding:16px 0 18px;border:0;border-radius:0;background:transparent}
.preferred-windows--pills .preferred-windows-date+.preferred-windows-date{border-top:1px solid #3b352a}
.preferred-windows--pills .preferred-windows-date-heading{margin-bottom:8px;flex-wrap:wrap}
.preferred-windows--pills .preferred-windows-date-heading h3{font-weight:650}
.preferred-windows--pills .preferred-windows-add{font-weight:500;padding:4px 0}
.preferred-windows--pills .preferred-windows-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:12px}
.preferred-windows--pills .preferred-windows-row label{font-size:11px;font-weight:400;gap:7px}
.preferred-windows--pills .preferred-windows-row select{border:1px solid transparent;border-radius:999px;background:var(--pw-pill);padding:10px 14px;color:var(--pw-text)}
.preferred-windows--pills .preferred-windows-remove{border:0;border-radius:50%;background:transparent}
.preferred-windows--pills .preferred-windows-empty{padding:8px 0}
@media(hover:hover){.preferred-windows--pills .preferred-windows-day:not(:disabled):hover{background:#413929}.preferred-windows--pills .preferred-windows-day[aria-pressed=true]:not(:disabled):hover{background:#edd495}.preferred-windows--pills .preferred-windows-remove:not(:disabled):hover{background:var(--pw-pill);color:var(--pw-text)}}
@media(max-width:380px){.preferred-windows--pills .preferred-windows-day{padding:10px 12px}.preferred-windows--pills .preferred-windows-row{gap:8px}.preferred-windows--pills .preferred-windows-row select{padding:10px}}
@media(forced-colors:active){.preferred-windows--pills .preferred-windows-day{border:1px solid ButtonText}.preferred-windows--pills .preferred-windows-row select{border-color:ButtonText}.preferred-windows--pills .preferred-windows-day[aria-pressed=true]{outline:2px solid Highlight;outline-offset:2px}}

.pf-page{max-width:1340px;margin:0 auto;padding:28px 24px 50px;color:var(--foreground,#ede9e1)}.pf-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:28px}.pf-eyebrow{font-size:10px;font-weight:700;letter-spacing:.15em;color:#a59168;display:flex;align-items:center;gap:8px}.pf-eyebrow span{opacity:.4}.pf-header h1{font-size:36px;letter-spacing:-1px;line-height:1.2;margin:12px 0 8px}.pf-header p,.pf-subtitle{color:#99958d;font-size:13px;line-height:1.6;margin:0}.pf-access,.pf-tag{display:inline-flex;align-items:center;gap:7px;border:1px solid #ffffff18;border-radius:20px;padding:7px 10px;font-size:11px;white-space:nowrap;color:#bcb5a7}.pf-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #ffffff14;padding-bottom:15px}.pf-tabs,.pf-actions{display:flex;gap:6px}.pf-page button,.pf-page input,.pf-page select{font:inherit;font-size:12px;color:inherit;border:1px solid #ffffff1c;background:#ffffff05;border-radius:7px;min-height:36px;padding:7px 10px}.pf-page button{display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}.pf-page button:hover{background:#ffffff0c}.pf-page button:disabled{opacity:.45;cursor:default}.pf-page :focus-visible{outline:2px solid #d9b468;outline-offset:3px}.pf-tabs button{border-color:transparent;color:#a5a099}.pf-tabs button[aria-selected=true]{background:#caa35f15;border-color:#caa35f45;color:#dfc38c}.pf-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:20px 0 22px}.pf-filters label{display:grid;gap:7px;font-size:11px;color:#a9a399}.pf-filters input,.pf-filters select{background:#1e1c19;color:#e4dfd6;max-width:100%;color-scheme:dark}.pf-tournament-filter{flex:1;min-width:160px}.pf-zone{font-size:11px;color:#807b72;padding:10px 0}.pf-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pf-kpi{border:1px solid #ffffff13;border-radius:12px;padding:20px;background:linear-gradient(140deg,#caa35f0b,#ffffff02);display:flex;flex-direction:column;gap:11px}.pf-kpi>span:first-child{font-size:12px;color:#b4ada0}.pf-kpi>strong{font-size:36px;letter-spacing:-1px;line-height:1.1;color:#efe9dd;font-weight:600}.pf-kpi small{display:flex;gap:4px;align-items:center;font-size:10px;color:#b4aa93}.pf-kpi .pf-kpi-note{font-size:10px;color:#837c70;line-height:1.4}.pf-scope-note{font-size:11px;color:#8f887b;margin:13px 0 18px;line-height:1.6}.pf-status-strip{display:grid;grid-template-columns:repeat(6,1fr);border:1px solid #ffffff13;border-radius:10px;margin-bottom:20px;padding:15px 0}.pf-status-strip>div{display:flex;flex-direction:column;align-items:center;gap:5px;border-right:1px solid #ffffff13}.pf-status-strip>div:last-child{border:0}.pf-status-strip strong{font-size:19px;color:#d5c8ae}.pf-status-strip span{font-size:10px;color:#969084}.pf-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:18px;margin-bottom:18px}.pf-panel{border:1px solid #ffffff13;border-radius:12px;padding:22px;background:#ffffff02;min-width:0}.pf-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.pf-panel h2{font-size:18px;font-weight:600;letter-spacing:-.3px;margin:8px 0 12px}.pf-manager-list{margin-top:16px}.pf-manager{border-top:1px solid #ffffff10}.pf-manager summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:14px 0}.pf-manager summary::-webkit-details-marker{display:none}.pf-avatar{height:32px;width:32px;flex:none;display:grid;place-items:center;border-radius:9px;background:#c5a16413;color:#cdb37f;font-size:10px;font-weight:600}.pf-manager-name{flex:1;min-width:0}.pf-manager-name strong{font-size:12px;font-weight:500;display:block}.pf-manager-name small{display:block;font-size:10px;color:#8c867b;margin-top:5px;line-height:1.5}.pf-bar{height:3px;border-radius:10px;background:#ffffff08;margin-top:9px;max-width:270px;overflow:hidden}.pf-bar span{height:100%;display:block;background:#c4a265}.pf-manager-count{text-align:right;display:flex;flex-direction:column;gap:4px}.pf-manager-count strong{font-size:19px;font-weight:600}.pf-manager-count small{font-size:10px;color:#a59576}.pf-manager summary>svg{color:#746e64;transition:transform .2s}.pf-manager[open] summary>svg{transform:rotate(180deg)}.pf-creators{background:#00000012;border-radius:7px;padding:5px 12px;margin-bottom:12px}.pf-creators>div{padding:10px 0;border-bottom:1px solid #ffffff0a;display:flex;flex-wrap:wrap;gap:5px 12px;align-items:center}.pf-creators strong{font-size:11px;overflow-wrap:anywhere}.pf-creators span,.pf-creators small{font-size:10px;color:#9c9487}.pf-creators small{margin-left:auto}.pf-conversion{display:flex;align-items:end;gap:15px;margin:22px 0}.pf-conversion strong{font-size:44px;line-height:1;color:#ddc38e;font-weight:500}.pf-conversion span{font-size:11px;color:#9b9384;max-width:140px;line-height:1.5}.pf-funnel{display:grid;gap:14px}.pf-funnel>div{display:grid;grid-template-columns:100px 1fr 30px;gap:10px;align-items:center;font-size:11px}.pf-funnel>div>span{color:#aaa191}.pf-funnel>div>div{height:19px;background:#c4a26509;border-radius:4px;overflow:hidden}.pf-funnel i{display:block;height:100%;background:linear-gradient(90deg,#aa874a66,#cfb077a8);border-radius:4px;min-width:0}.pf-funnel strong{font-size:12px;text-align:right}.pf-workflow-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:19px 0;border-top:1px solid #ffffff12;margin-top:22px}.pf-workflow-stats>div{display:flex;flex-direction:column;gap:7px}.pf-workflow-stats strong{font-size:19px;font-weight:500}.pf-workflow-stats small{font-size:10px;color:#8d867a}.pf-workflow .pf-subtitle{font-size:11px}.pf-table-scroll{overflow:auto}.pf-page table{width:100%;border-collapse:collapse;font-size:12px}.pf-page th{text-align:left;color:#8e877a;font-weight:400;font-size:10px;padding:12px 10px;white-space:nowrap}.pf-page td{border-top:1px solid #ffffff10;padding:13px 10px}.pf-page th:not(:first-child),.pf-page td:not(:first-child){text-align:right}.pf-footnotes{padding:22px 0 0;color:#80796d;font-size:11px;line-height:1.7}.pf-footnotes>div{display:flex;gap:7px;align-items:center;color:#b0a48d}.pf-footnotes strong{font-weight:500}.pf-footnotes p{margin:9px 0}.pf-footnotes>span{font-size:10px;color:#6f695f}.pf-empty,.pf-loading{padding:35px 10px;text-align:center;color:#938a7b;font-size:13px}.pf-error{padding:16px;border:1px solid #b96b6144;border-radius:10px;display:flex;justify-content:space-between;align-items:center;color:#dc9b92;margin-bottom:20px}html:not(.dark) .pf-page{color:#332b1f}html:not(.dark) .pf-panel,html:not(.dark) .pf-kpi,html:not(.dark) .pf-status-strip{background:#fffaf2;border-color:#ddd4c4}html:not(.dark) .pf-kpi>strong{color:#332b1f}html:not(.dark) .pf-page input,html:not(.dark) .pf-page select{background:#fffaf2;color:#332b1f;color-scheme:light}html:not(.dark) .pf-tabs button[aria-selected=true]{color:#75501b}html:not(.dark) .pf-conversion strong{color:#87622c}html:not(.dark) .pf-manager,html:not(.dark) .pf-page td{border-color:#ded5c5}@media(max-width:1100px){.pf-page{padding:22px 16px}.pf-kpi{padding:16px}.pf-grid{grid-template-columns:1fr 1fr}.pf-funnel>div{grid-template-columns:80px 1fr 24px}.pf-panel{padding:17px}}@media(max-width:700px){.pf-header{gap:10px}.pf-header h1{font-size:30px}.pf-access{font-size:9px;padding:6px}.pf-header p{font-size:11px}.pf-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-kpi>strong{font-size:30px}.pf-grid{grid-template-columns:1fr}.pf-status-strip{grid-template-columns:repeat(3,1fr);gap:16px 0}.pf-status-strip>div:nth-child(3){border:0}.pf-toolbar{flex-wrap:wrap}.pf-tabs{flex:1}.pf-tabs button{font-size:11px;min-height:40px}.pf-page button{min-height:40px}.pf-filters{gap:10px}.pf-filters label{flex:1;min-width:120px}.pf-filters input,.pf-filters select{min-height:40px;width:100%}.pf-zone{width:100%;padding:0}.pf-actions{margin-left:auto}.pf-kpi{gap:9px}.pf-page{padding:20px 12px}.pf-creators>div{align-items:start}.pf-table-scroll{margin:0 -5px}.pf-header .pf-eyebrow{font-size:8px}.pf-access svg{width:12px}.pf-status-strip span{font-size:9px}}@media(prefers-reduced-motion:reduce){.pf-manager summary>svg{transition:none}}

.pf-trend{--pf-chart-grid:#ffffff18;--pf-chart-text:#b5ad9d;--pf-chart-hover:#c4a26510;--pf-chart-tooltip:#211f1b;margin-bottom:18px}.pf-trend-chart{height:245px;width:100%;min-width:0;margin-top:8px}.pf-daily-counts{border-top:1px solid var(--pf-chart-grid);padding-top:12px}.pf-daily-counts summary{font-size:12px;cursor:pointer;color:#b9aa8b;display:flex;gap:7px;align-items:center;min-height:36px;width:fit-content}.pf-daily-counts .pf-table-scroll{max-height:320px}.pf-daily-counts th[scope=row]{font-size:12px;color:inherit}.pf-daily-counts tfoot{font-weight:600}.pf-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}html:not(.dark) .pf-trend{--pf-chart-grid:#ded5c5;--pf-chart-text:#756a58;--pf-chart-hover:#c4a26518;--pf-chart-tooltip:#fffaf2}@media(max-width:700px){.pf-trend-chart{height:210px}.pf-trend .pf-panel-heading{align-items:flex-start;flex-wrap:wrap}.pf-trend h2{font-size:17px}}

@media(min-width:1100px){.pf-kpis-tournaments{grid-template-columns:repeat(5,minmax(0,1fr))}}

.pf-filters .pf-test-filter{display:flex;align-items:center;gap:8px;flex-basis:100%;min-height:36px;width:fit-content;color:#b9aa8b;cursor:pointer}.pf-filters .pf-test-filter input{width:16px;height:16px;min-height:16px;padding:0;accent-color:#c4a265}

.pf-preferences{margin-bottom:18px}.pf-preference-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pf-preferences .pf-subtitle{margin:14px 0 0}.pf-creator-preferences{display:block;margin-top:5px;line-height:1.5}.pf-creators small{white-space:normal}.pf-preferences .pf-panel-heading{flex-wrap:wrap;gap:10px}@media(max-width:700px){.pf-preference-counts{grid-template-columns:1fr}.pf-preference-counts .pf-kpi{display:grid;grid-template-columns:1fr auto;align-items:center}.pf-preference-counts .pf-kpi small{grid-column:1/-1}}

.adoption-heading{margin-bottom:18px}.adoption-heading h2{font-size:22px;margin:8px 0 0}.adoption-dashboard .pf-panel{margin-top:18px}.adoption-coverage{font-size:12px;line-height:1.6;padding:12px 15px;border:1px solid #c4a26545;border-radius:8px;color:#d4bb8c;background:#c4a2650a}.adoption-pages td:first-child{min-width:170px}.adoption-pages td:first-child strong{font-weight:500}.adoption-pages .pf-bar{max-width:360px}.adoption-time{white-space:nowrap;color:#b4ada0}.adoption-search{display:flex;align-items:center;gap:6px;min-width:0;color:#aaa191}.adoption-search input{max-width:220px;width:100%}.adoption-person-list{margin-top:14px}.adoption-person{border-top:1px solid #ffffff14}.adoption-person summary{display:flex;gap:14px;align-items:center;cursor:pointer;list-style:none;min-height:82px;padding:14px 0}.adoption-person summary::-webkit-details-marker{display:none}.adoption-person-name{flex:1;min-width:0}.adoption-person-name strong{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}.adoption-person-name small{display:block;font-size:10px;line-height:1.6;color:#a69c8c;overflow-wrap:anywhere}.adoption-person-counts{display:grid;grid-template-columns:repeat(3,minmax(70px,1fr));gap:20px}.adoption-person-counts span{display:flex;flex-direction:column;text-align:right;gap:5px}.adoption-person-counts strong{font-size:19px;font-weight:500}.adoption-person-counts small{font-size:10px;color:#a69c8c}.adoption-person summary>svg{flex:none;color:#a69c8c}.adoption-person[open] summary>svg{transform:rotate(180deg)}.adoption-person-pages{padding:0 12px 12px;border-radius:8px;background:#00000010;margin-bottom:14px}.adoption-person-pages>p{padding-top:12px}.adoption-daily .pf-subtitle{margin-top:10px}.adoption-dashboard .pf-daily-counts{border-color:#ffffff14}html:not(.dark) .adoption-person{border-color:#ded5c5}html:not(.dark) .adoption-coverage{color:#795b2a}html:not(.dark) .adoption-time,html:not(.dark) .adoption-person-name small,html:not(.dark) .adoption-person-counts small{color:#756a58}@media(max-width:700px){.adoption-heading,.adoption-people>.pf-panel-heading{align-items:flex-start;flex-wrap:wrap}.adoption-search{width:100%}.adoption-search input{max-width:none}.adoption-person summary{position:relative;flex-wrap:wrap;gap:12px;padding-right:24px}.adoption-person-name{flex-basis:100%}.adoption-person-counts{width:100%;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.adoption-person-counts span{text-align:left}.adoption-person summary>svg{position:absolute;right:0;top:19px}.adoption-dashboard .pf-kpi small{line-height:1.5}.pf-tabs{flex-wrap:wrap}.adoption-heading button{font-size:11px}}

.adoption-dashboard table{table-layout:auto}.adoption-dashboard th{position:static;background:transparent}.adoption-dashboard .adoption-pages table{min-width:540px}.adoption-dashboard .adoption-daily table{min-width:440px}.adoption-dashboard th[scope=row]{white-space:nowrap}.adoption-dashboard .pf-table-scroll{max-width:100%}

.pf-pdf-export{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;position:relative}.pf-pdf-error{position:absolute;top:calc(100% + 6px);right:0;width:min(300px,80vw);padding:10px 12px;border:1px solid #a84848;border-radius:8px;background:var(--pf-chart-tooltip,#202329);color:#f0a7a7;font-size:12px;z-index:5}.pf-pdf-export button{white-space:nowrap}

.monitor-performance{margin:24px 0;border:1px solid var(--border);border-radius:14px;background:var(--card);overflow:hidden}.monitor-performance>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 24px 18px}.performance-heading{display:flex;align-items:center;gap:12px}.performance-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--border);border-radius:10px;color:var(--primary);flex-shrink:0}.system-dashboard .monitor-performance h2{font-size:18px;letter-spacing:-.3px;margin:0}.performance-heading p{font-size:12px;color:var(--muted-foreground);margin:5px 0 0}.performance-sample{font-size:10px;white-space:nowrap;border:1px solid var(--border);border-radius:20px;padding:5px 9px;color:var(--muted-foreground)}.database-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0 24px}.database-performance-card{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--background)}.database-name{display:flex;justify-content:space-between;gap:12px;padding:18px 18px 0}.system-dashboard .database-name h3{font-size:13px;margin:0 0 4px}.database-name div>span{font-size:11px;color:var(--muted-foreground)}.database-signal{font-size:10px;align-self:flex-start;border-radius:20px;padding:4px 7px;background:var(--muted);color:var(--muted-foreground)}.database-signal.attention{background:#d5a94215;color:#b98d36}.database-speed{padding:20px 18px;display:flex;align-items:center;gap:16px}.database-speed>div{min-width:160px}.database-speed span{font-size:11px;color:var(--muted-foreground)}.database-speed strong{font-size:30px;font-weight:500;letter-spacing:-1px;display:block;margin:4px 0}.database-speed small{font-size:10px;color:var(--muted-foreground)}.database-speed svg{width:100%;max-width:180px;color:var(--primary);margin-left:auto;opacity:.8}.database-numbers{display:grid;grid-template-columns:1fr 1fr;margin:0;padding:0 18px 18px;gap:18px}.database-numbers>div{border-top:1px solid var(--border);padding-top:12px}.database-numbers dt{font-size:11px;color:var(--muted-foreground)}.database-numbers dd{margin:5px 0 3px;font-size:20px;font-variant-numeric:tabular-nums}.database-numbers dd small{font-size:11px;color:var(--muted-foreground)}.database-numbers div>span{font-size:10px;color:var(--muted-foreground)}.attention-text{color:#b98d36}.database-performance-card footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;padding:11px 18px;border-top:1px solid var(--border);font-size:10px;color:var(--muted-foreground)}.performance-note{display:flex;align-items:flex-start;gap:8px;padding:14px 24px;margin:0;font-size:11px;line-height:1.55;color:var(--muted-foreground)}.performance-note svg{flex-shrink:0;margin-top:2px}.page-performance-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px 17px}.page-performance-filters{display:flex;gap:16px}.page-performance-filters label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted-foreground)}.system-dashboard .page-performance-filters select{width:auto;min-height:34px;padding:5px 28px 5px 10px;font-size:11px;background:var(--background);border:1px solid var(--border);border-radius:7px;color:var(--foreground)}.page-performance-toolbar>span{font-size:11px;color:var(--muted-foreground)}.page-performance-table-wrap{overflow-x:auto}.system-dashboard .page-performance-table{border-collapse:collapse;width:100%;font-size:12px;margin:0;white-space:nowrap}.page-performance-table thead th{font-weight:500;font-size:10px;color:var(--muted-foreground);padding:12px 14px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);text-align:left;background:var(--background)}.page-performance-table th>span{color:var(--muted-foreground);font-weight:400;margin-left:4px}.page-performance-table td,.page-performance-table tbody th{padding:13px 14px;border-bottom:1px solid var(--border);text-align:left;font-weight:400;font-variant-numeric:tabular-nums}.page-performance-table tbody th{font-weight:500}.page-performance-table tr> :first-child{padding-left:24px;color:var(--muted-foreground);width:28px}.page-performance-table tr> :last-child{padding-right:24px}.page-performance-table tbody tr:last-child>*{border-bottom:0}.page-performance-table tbody tr:hover{background:color-mix(in srgb,var(--primary) 3%,transparent)}.page-load-score{display:flex;align-items:center;gap:12px;min-width:160px}.page-load-score strong{font-size:12px;min-width:45px;font-weight:500}.page-load-score>span{height:4px;width:90px;background:var(--muted);border-radius:3px}.page-load-score i{display:block;height:100%;border-radius:3px;background:var(--primary);opacity:.7}.page-load-change{display:inline-flex;gap:3px;align-items:center;font-size:10px}.page-load-change.slower{color:#b98d36}.page-load-change.faster{color:#6ba18a}.page-load-change.steady{color:var(--muted-foreground)}.page-performance-footer{padding:14px 24px;border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:15px;font-size:10px;line-height:1.5;color:var(--muted-foreground)}.page-performance-footer strong{font-weight:500;color:var(--foreground)}.page-performance .performance-note{padding-top:0}.performance-empty{padding:24px;color:var(--muted-foreground);font-size:13px}
@media(max-width:950px){.database-cards{grid-template-columns:1fr}.database-speed svg{max-width:260px}.page-performance-table{min-width:800px}}@media(max-width:600px){.monitor-performance>header{padding:18px 15px 14px;align-items:flex-start;flex-wrap:wrap}.performance-sample{margin-left:50px}.database-cards{padding:0 15px;gap:12px}.database-name{padding:15px 14px 0}.database-speed{padding:16px 14px;gap:9px}.database-speed>div{min-width:155px}.database-speed strong{font-size:26px}.database-numbers{padding:0 14px 16px;gap:14px}.database-numbers dd{font-size:18px}.database-signal{font-size:9px}.performance-note{padding:13px 15px}.page-performance-toolbar{align-items:flex-start;flex-direction:column;padding:0 15px 14px;gap:10px}.page-performance-filters{gap:12px;width:100%}.page-performance-filters label{flex-direction:column;align-items:flex-start;gap:5px}.system-dashboard .page-performance-filters select{min-height:36px}.page-performance-footer{flex-direction:column;gap:6px;padding:13px 15px}.page-performance-table tr>:first-child{padding-left:15px}.page-performance-table th:nth-child(2){position:sticky;left:0;background:var(--card);z-index:1;box-shadow:1px 0 var(--border)}.page-performance-table tbody th:nth-child(2){white-space:normal;min-width:125px}}
.system-dashboard .page-performance-table{table-layout:auto;min-width:850px}.system-dashboard .page-performance-table th,.system-dashboard .page-performance-table td{width:auto;text-align:left;padding:13px 14px;height:auto;overflow:visible;text-overflow:clip}.system-dashboard .page-performance-table th:nth-child(3),.system-dashboard .page-performance-table th:nth-child(4){width:auto;text-align:left;padding-right:14px}.system-dashboard .page-performance-table tbody td:nth-child(3){text-align:left}.system-dashboard .page-performance-table tbody th{background:transparent}.system-dashboard .page-performance-table thead th{font-size:10px;padding-top:12px;padding-bottom:12px}.system-dashboard .page-performance-table tr>:first-child{width:32px;padding-left:24px}.system-dashboard .page-performance-table tbody td:last-child{text-align:left;color:var(--foreground)}.system-dashboard .page-performance-table tr>:last-child{padding-right:24px}.system-dashboard .page-performance-table tbody tr:hover{background:color-mix(in srgb,var(--primary) 3%,transparent)}
@media(max-width:600px){.system-dashboard .page-performance-table tr>:first-child{padding-left:15px}.system-dashboard .page-performance-table tbody th:nth-child(2){background:var(--card)}}

.database-priority{margin:22px 24px 0;border:1px solid var(--border);border-radius:10px;overflow:hidden}.database-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;background:var(--background)}.system-dashboard .database-section-heading h3{margin:0;font-size:13px}.database-section-heading>span{font-size:11px;color:var(--muted-foreground)}.database-table-wrap{overflow-x:auto}.database-table-wrap:focus-visible,.database-all summary:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}.system-dashboard .database-table{width:100%;min-width:850px;table-layout:auto;border-collapse:collapse;margin:0;font-size:12px}.system-dashboard .database-table th,.system-dashboard .database-table td{width:auto;height:auto;text-align:left;padding:13px 16px;border-bottom:1px solid var(--border);font-weight:400;white-space:nowrap;overflow:visible;text-overflow:clip;font-variant-numeric:tabular-nums}.system-dashboard .database-table thead th{font-size:10px;color:var(--muted-foreground);border-top:1px solid var(--border);background:var(--background)}.system-dashboard .database-table tbody th{min-width:245px;background:transparent}.database-table tbody th strong{display:block;font-size:12px;font-weight:500}.database-table tbody th span,.database-table small{display:block;font-size:10px;color:var(--muted-foreground);margin-top:5px}.database-table tbody th small{font-size:9px;opacity:.8}.system-dashboard .database-table tr:last-child>*{border-bottom:0}.system-dashboard .database-table tbody tr:hover{background:color-mix(in srgb,var(--primary) 3%,transparent)}.system-dashboard .database-table td:last-child{color:var(--foreground)}.database-all{margin:16px 24px 0;border:1px solid var(--border);border-radius:10px;overflow:hidden}.database-all summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;min-height:48px;cursor:pointer;background:var(--background)}.database-all summary::-webkit-details-marker{display:none}.database-all summary strong{font-size:13px;font-weight:500}.database-all summary small{font-size:11px;color:var(--muted-foreground);margin-left:14px}.database-all summary svg{color:var(--muted-foreground);transition:transform .15s}.database-all[open] summary svg{transform:rotate(180deg)}.database-all-intro{font-size:11px;color:var(--muted-foreground);padding:0 18px;margin:14px 0;line-height:1.6}.database-name h3{font-size:15px!important}.database-name div>span{line-height:1.5;display:block}.database-signal{white-space:nowrap}@media(max-width:600px){.database-priority{margin:18px 15px 0}.database-all{margin:14px 15px 0}.database-section-heading{padding:14px}.database-all summary{padding:14px}.database-all summary small{display:block;margin:5px 0 0}.database-name{flex-wrap:wrap}.database-table-wrap{scrollbar-width:thin}.database-section-heading>span{font-size:10px}}

.system-dashboard .database-table tbody td:nth-child(3){text-align:left}

.performance-notice{margin:0 24px 18px;padding:12px 14px;border:1px solid var(--border);border-radius:8px;font-size:12px;color:var(--muted-foreground)}.page-performance-table-wrap:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}

.system-dashboard .service-status-group{margin-top:0;margin-bottom:20px}
.service-status-private{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;color:var(--muted-foreground)}
.service-status-overview{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px}.service-status-overview>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.service-status-updated{color:var(--muted-foreground);font-size:11px}
.service-status-badge{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;padding:4px 8px;border:1px solid var(--border);border-radius:20px;font-size:10px;font-weight:500;line-height:1.5;color:var(--muted-foreground);white-space:nowrap}.service-status-badge i{width:6px;height:6px;background:currentColor;border-radius:50%}.service-status-badge.healthy{color:#34b88b;background:#34b88b0d;border-color:#34b88b40}.service-status-badge.degraded{color:#d98935;background:#d989350d;border-color:#d9893545}.service-status-badge.unknown,.service-status-badge.not_configured,.service-status-badge.paused{color:var(--muted-foreground);background:var(--background)}
.service-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.service-dependency{min-width:0;padding:15px;border:1px solid var(--border);border-radius:10px;background:var(--background)}.service-dependency-title{display:flex;gap:8px;align-items:flex-start;justify-content:space-between}.service-dependency h3{font-size:12px;line-height:1.5;margin:0;font-weight:600;overflow-wrap:anywhere}.service-dependency p{font-size:11px;line-height:1.6;margin:9px 0 5px;color:var(--muted-foreground);overflow-wrap:anywhere}.service-dependency-success{display:block;font-size:10px;line-height:1.6;color:var(--muted-foreground)}.service-dependency .compact-button{margin-top:10px}
.service-incidents-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:24px 0 12px}.service-incidents-heading h3{font-size:14px;margin:0}.service-incidents-heading p{font-size:11px;color:var(--muted-foreground);margin:5px 0 0;line-height:1.5}.service-status-controls{display:flex;gap:8px;flex-wrap:wrap}.service-status-controls select{min-height:36px;max-width:230px;border:1px solid var(--border);border-radius:7px;color:var(--foreground);background:var(--background);font-size:11px;padding:7px 10px}
.service-incidents{display:grid;gap:8px}.service-incident{border:1px solid var(--border);border-radius:9px;background:var(--background);scroll-margin-top:100px;overflow:hidden}.service-incident.selected{border-color:var(--primary)}.service-incident:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.service-incident-toggle{display:flex;align-items:center;gap:12px;width:100%;min-height:80px;text-align:left;padding:14px;border:0;background:transparent;color:var(--foreground);cursor:pointer}.service-incident-toggle:hover{background:var(--accent)}.service-incident-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:-3px;border-radius:8px}.service-incident-dot{width:7px;height:7px;border-radius:50%;flex:none;background:var(--muted-foreground)}.service-incident-dot.open{background:#d98935}.service-incident-dot.resolved{background:#34b88b}.service-incident-title{min-width:0;flex:1}.service-incident-title strong{display:block;font-size:12px;font-weight:600}.service-incident-title>span{display:block;margin-top:4px;font-size:11px;color:var(--muted-foreground);line-height:1.5;overflow-wrap:anywhere}.service-incident-title small{display:block;font-size:10px;color:var(--muted-foreground);margin-top:6px}.service-incident-end{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.service-incident-end small{font-size:10px;color:var(--muted-foreground);white-space:nowrap}.service-incident-toggle>svg{flex:none;color:var(--muted-foreground)}
.service-incident-detail{padding:16px 33px 20px;border-top:1px solid var(--border)}.service-incident-detail dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0 0 14px}.service-incident-detail dt{color:var(--muted-foreground);font-size:10px;margin:0 0 5px}.service-incident-detail dd{font-size:11px;margin:0;line-height:1.5}.service-incident-evidence{font-size:11px;color:var(--muted-foreground);margin:0 0 18px}.service-incident-events{list-style:none;padding:0;margin:18px 0 0}.service-incident-event{display:flex;position:relative;gap:14px;padding:0 0 20px;font-size:11px;line-height:1.5}.service-incident-event:last-child{padding-bottom:0}.service-incident-event:not(:last-child):before{position:absolute;content:'';width:1px;left:4px;top:10px;bottom:0;background:var(--border)}.service-event-marker{margin-top:4px;width:9px;height:9px;border:2px solid var(--muted-foreground);border-radius:50%;flex:none;background:var(--background)}.service-incident-event.confirmed .service-event-marker{border-color:#d98935}.service-incident-event.recovered .service-event-marker{border-color:#34b88b}.service-incident-event>div{min-width:0;flex:1}.service-incident-event strong{font-weight:500}.service-incident-event time{display:inline-block;margin-left:12px;color:var(--muted-foreground);font-size:10px}.service-incident-event p{color:var(--muted-foreground);margin:4px 0 0;overflow-wrap:anywhere}
.service-status-message{font-size:12px;line-height:1.6;padding:12px 14px;border:1px solid #d9893545;border-radius:8px;background:#d9893509;color:var(--foreground);margin:0 0 14px}.service-status-empty{font-size:12px;line-height:1.6;color:var(--muted-foreground);margin:0;padding:18px 0}.service-status-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;font-size:10px;color:var(--muted-foreground)}
@media(max-width:650px){.service-status-grid{grid-template-columns:1fr}.service-status-overview>div{align-items:flex-start;gap:5px;flex-direction:column}.service-status-controls{width:100%;display:grid;grid-template-columns:1fr 1fr}.service-status-controls select{width:100%;max-width:none;min-height:40px;padding:7px;font-size:10px}.service-dependency .compact-button{min-height:40px}.service-incident-toggle{gap:8px;padding:12px}.service-incident-end .service-status-badge{font-size:9px;padding:3px 6px}.service-incident-end small{font-size:9px;max-width:80px;white-space:normal;text-align:right}.service-incident-detail{padding:14px 17px 18px}.service-incident-detail dl{grid-template-columns:1fr;gap:10px}.service-incident-detail dl>div{display:flex;justify-content:space-between;gap:14px}.service-incident-detail dt{margin:0}.service-incident-detail dd{text-align:right}.service-incident-event time{display:block;margin:2px 0 0}.service-status-pagination .compact-button{min-height:40px}}

/* A compact current-health strip; evidence and history are opt-in below it. */
.service-health-row{display:flex;align-items:center;gap:12px;min-height:54px;padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:var(--card);color:var(--foreground)}
.service-health-heading{display:flex;align-items:center;gap:7px;flex:none;font-size:11px;font-weight:600;white-space:nowrap}.service-health-heading svg{color:var(--muted-foreground)}
.service-health-items{display:flex;align-items:center;gap:3px;min-width:0;flex:1;overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--border) transparent}
.service-health-item{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:6px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--foreground);font:inherit;font-size:11px;white-space:nowrap;cursor:pointer;flex:1;justify-content:center}
.service-health-item:hover,.service-health-item.selected{background:var(--accent);border-color:var(--border)}.service-health-item:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}
.service-health-item i,.service-health-legend i{display:inline-block;width:7px;height:7px;flex:none;border-radius:50%;background:#899098}
.service-health-item.healthy i,.service-health-legend i.healthy{background:#36bd87}.service-health-item.degraded i,.service-health-legend i.degraded{background:#e4b647}.service-health-item.down i,.service-health-legend i.down{background:#ed666b}.service-health-item.down i{box-shadow:0 0 0 3px #ed666b12}
.service-health-item.unknown{color:var(--muted-foreground)}
.service-health-actions{display:flex;align-items:center;gap:5px;flex:none;padding-left:8px;border-left:1px solid var(--border)}.service-health-actions .compact-button{min-height:32px;padding:6px 8px;font-size:10px;display:flex;align-items:center;gap:5px}.service-health-actions .portal-refresh-button{min-height:32px;padding:6px 8px}
.service-health-detail{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 16px;border:1px solid var(--border);border-top:0;background:var(--card);border-radius:0 0 9px 9px;margin:0 6px}.service-health-detail strong{font-size:12px;margin-right:10px}.service-health-detail p{font-size:12px;line-height:1.6;margin:7px 0;color:var(--foreground)}.service-health-detail small{font-size:10px;color:var(--muted-foreground)}.service-health-detail-actions{display:flex;gap:8px;flex:none}.service-health-detail-actions button{min-height:34px}
.service-status-history{padding:18px;border:1px solid var(--border);border-radius:10px;background:var(--card);margin-top:10px}.service-status-history .service-incidents-heading{margin-top:18px}.service-health-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:10px;color:var(--muted-foreground)}.service-health-legend span{display:flex;align-items:center;gap:5px}.service-health-legend small{margin-left:auto;font-size:10px}.service-status-badge.down{color:#ed666b;border-color:#ed666b45;background:#ed666b0d}.service-status-badge.degraded{color:#e4b647;border-color:#e4b64745;background:#e4b6470d}
@media(max-width:1100px){.service-health-heading span{display:none}.service-health-row{gap:6px;padding:8px}.service-health-item{padding:6px;font-size:10px}}
@media(max-width:650px){.service-health-row{flex-wrap:wrap;gap:6px;padding:8px 10px}.service-health-heading{order:0;flex:1}.service-health-heading span{display:inline}.service-health-actions{order:1;border:0;padding:0}.service-health-items{order:2;flex-basis:100%;padding:2px 0}.service-health-item{flex:none;min-height:40px;padding:7px 9px;font-size:11px}.service-status-history{padding:12px}.service-health-detail{margin:0;padding:12px}.service-health-detail-actions{flex-direction:column}.service-health-legend{gap:10px}.service-health-legend small{width:100%;margin:0}}
@media(max-width:650px){.service-health-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:2px}.service-health-item{justify-content:flex-start;min-height:34px;padding:6px 3px;font-size:10px;gap:5px}}

.service-health-render{display:flex;align-items:center;gap:2px;flex:4;min-width:max-content;padding:0 5px;border:1px solid var(--primary);border-radius:999px;background:var(--background)}.service-health-group-label{padding:0 6px;font-size:9px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted-foreground)}.service-health-providers{display:flex;align-items:center;gap:3px;flex:3;min-width:max-content;padding-left:5px}
@media(max-width:650px){.service-health-items{display:flex;flex-direction:column;align-items:stretch;gap:5px}.service-health-render{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;padding:5px}.service-health-group-label{grid-column:1/-1;padding:3px 3px 1px}.service-health-providers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;padding-left:5px}}

@media(max-width:650px){.service-health-items{display:flex;flex-direction:row;align-items:center;overflow-x:auto;gap:6px}.service-health-render{display:flex;flex:none;min-width:max-content;padding:0 6px}.service-health-group-label{padding:0 6px}.service-health-providers{display:flex;flex:none;min-width:max-content;padding-left:0}.service-health-item{min-height:36px;padding:6px 8px}}

.service-provider-reports{font-size:11px;line-height:1.6;margin-top:10px}.service-provider-reports p{font-size:11px;color:var(--muted-foreground);margin:0 0 8px}.service-provider-reports a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}.service-provider-reports ul{padding-left:18px;margin:8px 0}.service-provider-reports li{margin-bottom:9px}.service-provider-reports small{display:block;color:var(--muted-foreground)}

.creator-profile .cp-history-with-points{grid-template-columns:repeat(2,minmax(0,1fr))}
.cp-history-with-points>.cp-battle-history{grid-column:1/-1}
.cp-cohost-list{list-style:none;padding:0 17px 7px;margin:0}
.cp-cohost-list li{display:flex;align-items:center;gap:8px;padding:12px 0;border-top:1px solid var(--cp-line)}
.cp-cohost-person{flex:1;min-width:0}
.cp-cohost-person strong{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}
.cp-cohost-person small,.cp-cohost-duration small{display:block;font-size:11px}
.cp-cohost-duration{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.cp-cohost-duration strong{font-size:13px;font-weight:500}
.cp-cohosts>.cp-note{padding-top:5px;line-height:1.5}
@media(min-width:761px) and (max-width:1100px){.cp-cohost-list{padding-left:12px;padding-right:12px}.cp-cohosts .cp-panel-heading{padding-left:12px;padding-right:12px}.cp-cohosts>.cp-note{padding-left:12px;padding-right:12px}}
@media(max-width:760px){.creator-profile .cp-history-with-points{grid-template-columns:1fr}.cp-cohost-list{padding-left:14px;padding-right:14px}}

.ob-page{--ob-panel:var(--card);--ob-surface:var(--background);--ob-border:var(--border);--ob-text:var(--foreground);--ob-muted:var(--muted-foreground);--ob-gold:var(--primary);--ob-soft:var(--accent);color:var(--ob-text);max-width:1440px;margin:0 auto;padding:8px 0 36px}.ob-page *{box-sizing:border-box}.ob-page h2,.ob-page h3,.ob-page h4,.ob-page p{margin:0}.ob-page button,.ob-page input,.ob-page select,.ob-page textarea{font:inherit;color:var(--ob-text);border:1px solid var(--ob-border);border-radius:7px;min-height:36px;padding:7px 10px;background:var(--ob-surface);font-size:12px;max-width:100%}.ob-page button{display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;line-height:1.4}.ob-page button:hover{background:var(--ob-soft);border-color:var(--input)}.ob-page button:disabled{opacity:.5;cursor:default}.ob-page :focus-visible{outline:2px solid var(--ring);outline-offset:3px}.ob-page textarea{resize:vertical;line-height:1.6;min-height:78px}.ob-page select,.ob-page input[type=date]{color-scheme:inherit}.ob-page input[type=checkbox]{min-height:16px;width:16px;height:16px;margin:0;accent-color:var(--ob-gold);flex-shrink:0}.ob-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px}.ob-eyebrow{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:.12em;font-weight:600;color:var(--ob-gold)}.ob-heading h2{font-size:27px;line-height:1.25;margin:10px 0;letter-spacing:-.6px}.ob-heading p{font-size:13px;line-height:1.7;color:var(--ob-muted);max-width:650px}.ob-access{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--ob-muted);line-height:1.6;margin:15px 0 20px}.ob-access svg{flex-shrink:0;color:var(--ob-gold)}.ob-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.ob-stats>div{background:var(--ob-panel);border:1px solid var(--ob-border);border-radius:10px;padding:17px 19px;display:grid;gap:8px}.ob-stats span{font-size:12px;color:var(--ob-muted)}.ob-stats strong{font-size:30px;font-weight:600;letter-spacing:-.8px;line-height:1}.ob-stats small{font-size:10px;color:var(--ob-muted);line-height:1.5}.ob-layout{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:18px;align-items:start}.ob-workspace{min-width:0}.ob-directory,.ob-editor,.ob-welcome{border:1px solid var(--ob-border);background:var(--ob-panel);border-radius:12px;min-width:0}.ob-directory{overflow:hidden}.ob-directory-filters{padding:16px;display:grid;gap:12px;border-bottom:1px solid var(--ob-border)}.ob-page label{font-size:12px;font-weight:500;display:grid;gap:7px;min-width:0}.ob-page .ob-search>span{display:flex;align-items:center;gap:7px}.ob-page .ob-inline-check{display:flex;align-items:center;gap:8px;font-size:11px;min-height:30px}.ob-muted{color:var(--ob-muted);font-size:11px;line-height:1.7}.ob-creator-list{max-height:660px;overflow-y:auto}.ob-page .ob-creator{display:flex;align-items:stretch;text-align:left;flex-direction:column;gap:9px;border:0;border-bottom:1px solid var(--ob-border);border-radius:0;padding:17px 16px;width:100%;background:transparent;overflow-wrap:anywhere;position:relative}.ob-page .ob-creator:last-child{border-bottom:0}.ob-page .ob-creator[aria-pressed=true]{background:var(--ob-soft);box-shadow:inset 3px 0 var(--ob-gold)}.ob-creator>span{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--ob-muted);line-height:1.5}.ob-creator-top{flex-wrap:wrap;justify-content:space-between}.ob-creator strong{color:var(--ob-text);font-size:12px}.ob-page .ob-tag{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ob-border);padding:3px 7px;border-radius:20px;font-size:10px;color:var(--ob-muted);font-weight:400;white-space:nowrap;line-height:1.5}.ob-page .ob-ready{color:#99cba8;border-color:#79b38b44;background:#79b38b0b}.ob-page .ob-due{color:var(--ob-gold)}.ob-creator .ob-row-progress{justify-content:space-between;gap:10px;border-top:1px solid var(--ob-border);padding-top:8px}.ob-creator .ob-start-hint{font-size:10px;color:var(--ob-gold)}.ob-welcome{min-height:420px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:40px;text-align:center}.ob-welcome-icon{color:var(--ob-gold);background:var(--ob-soft);display:grid;place-items:center;width:70px;height:70px;border-radius:20px;margin-bottom:22px}.ob-welcome h3{font-size:21px;font-weight:600;margin-bottom:12px}.ob-welcome p{font-size:13px;color:var(--ob-muted);line-height:1.8;max-width:350px}.ob-welcome>div{display:flex;gap:15px;flex-wrap:wrap;justify-content:center;margin-top:25px}.ob-welcome>div span{font-size:10px;display:flex;align-items:center;gap:5px;color:var(--ob-muted)}.ob-welcome>div svg{color:var(--ob-gold)}.ob-editor-header{padding:22px 22px 13px;display:flex;align-items:center;justify-content:space-between;gap:15px}.ob-editor-header h3{font-size:25px;letter-spacing:-.5px;overflow-wrap:anywhere;margin:9px 0}.ob-editor-header h3:focus{outline:none}.ob-editor-header p{color:var(--ob-muted);font-size:11px;line-height:1.6;overflow-wrap:anywhere}.ob-editor-meta{font-size:10px;line-height:1.7;color:var(--ob-muted);padding:0 22px 20px;overflow-wrap:anywhere}.ob-tabs{display:flex;gap:4px;padding:0 15px;border-top:1px solid var(--ob-border);border-bottom:1px solid var(--ob-border);overflow-x:auto}.ob-tabs button{background:transparent;border:0;border-radius:0;min-height:45px;font-size:11px;white-space:nowrap;color:var(--ob-muted)}.ob-tabs button[aria-pressed=true]{color:var(--ob-gold);box-shadow:inset 0 -2px var(--ob-gold)}.ob-body{margin:0;border:0;min-width:0;padding:22px}.ob-body[disabled]{opacity:.8}.ob-section-title{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:2px 0 17px}.ob-section-title:not(:first-child){margin-top:28px}.ob-section-title h4{font-size:15px;font-weight:600}.ob-section-title>span{color:var(--ob-muted);font-size:10px;text-align:right}.ob-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.ob-fields label{line-height:1.5}.ob-wide{grid-column:1/-1}.ob-optional{color:var(--ob-muted);font-size:10px;font-weight:400}.ob-page .ob-field-hint{grid-column:1/-1;font-size:10px;color:var(--ob-muted);margin-top:-10px;line-height:1.5}.ob-reasons{list-style:none;padding:0;margin:13px 0;display:grid;gap:7px}.ob-reasons li{display:flex;align-items:center;gap:10px;border:1px solid var(--ob-border);padding:7px 9px;border-radius:8px;font-size:12px}.ob-reasons li>span:nth-child(2){flex:1}.ob-rank{display:grid;place-items:center;border-radius:6px;width:25px;height:25px;background:var(--ob-soft);color:var(--ob-gold);font-size:11px}.ob-reasons button{padding:6px;min-width:32px;min-height:32px}.ob-checklist{display:grid;gap:8px;margin:12px 0 16px}.ob-checklist label{display:flex;align-items:center;gap:11px;border:1px solid var(--ob-border);border-radius:8px;padding:12px;font-weight:400;line-height:1.6;min-height:45px;cursor:pointer}.ob-checklist label>span{flex:1}.ob-checklist .ob-checked{background:var(--ob-soft)}.ob-checklist .ob-checked>svg{color:var(--ob-gold)}.ob-body progress{width:100%;height:5px;border:0;background:var(--ob-border);accent-color:var(--ob-gold);border-radius:5px;display:block;overflow:hidden}.ob-body progress::-webkit-progress-bar{background:var(--ob-border)}.ob-body progress::-webkit-progress-value{background:var(--ob-gold)}.ob-body progress::-moz-progress-bar{background:var(--ob-gold)}.ob-copy{justify-self:start;margin-top:-8px}.ob-readiness{margin-top:20px;display:flex;align-items:flex-start;gap:10px;border:1px solid #79b38b44;background:#79b38b0a;border-radius:8px;padding:14px;color:#a2d0ae}.ob-readiness svg{flex-shrink:0}.ob-readiness strong{font-size:12px}.ob-readiness p{font-size:11px;line-height:1.7;margin-top:5px}.ob-savebar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 22px;border-top:1px solid var(--ob-border);background:var(--ob-panel);border-radius:0 0 12px 12px;position:sticky;bottom:0;z-index:2;box-shadow:0 -6px 12px #00000008}.ob-savebar>span{font-size:11px;color:var(--ob-muted)}.ob-savebar>div{display:flex;gap:7px}.ob-page .ob-primary{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary);font-weight:600}.ob-error{background:#ba5c4d0c;border:1px solid #ba5c4d44;color:#e8a59c;font-size:12px;line-height:1.7;border-radius:8px;padding:13px 15px;margin:0 0 15px;display:flex;align-items:center;justify-content:space-between;gap:12px}.ob-editor>.ob-error{margin:0 20px 15px}.ob-error button{flex-shrink:0}.ob-page .ob-notice{padding:11px 22px;color:var(--ob-gold);font-size:12px;line-height:1.6}.ob-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:35px 22px;text-align:center;font-size:12px;line-height:1.8;color:var(--ob-muted)}.ob-history{padding:0;margin:0;list-style:none}.ob-history li{display:flex;align-items:flex-start;gap:13px;padding:16px 0;border-bottom:1px solid var(--ob-border)}.ob-history li:first-child{padding-top:0}.ob-history li:last-child{border:0}.ob-history-dot{height:7px;width:7px;flex-shrink:0;border-radius:50%;background:var(--ob-gold);margin-top:6px}.ob-history strong{font-size:12px;font-weight:500}.ob-history p,.ob-history time{font-size:11px;color:var(--ob-muted);line-height:1.7;overflow-wrap:anywhere}.ob-history p{margin:4px 0}.ob-history time{font-size:10px}html:not(.dark) .ob-page .ob-ready,html:not(.dark) .ob-readiness{color:#366b42}html:not(.dark) .ob-error{color:#a13e34}
@media(min-width:1400px){.ob-layout{grid-template-columns:340px minmax(0,1fr)}}@media(max-width:1100px){.ob-layout{grid-template-columns:255px minmax(0,1fr)}.ob-editor-header,.ob-body{padding:18px}.ob-editor-meta{padding:0 18px 18px}.ob-tabs{padding:0 9px}.ob-tabs button{font-size:10px;padding:7px}.ob-fields{gap:14px}.ob-savebar{padding:14px 18px}.ob-editor-header h3{font-size:23px}}@media(max-width:750px){.ob-layout{grid-template-columns:minmax(0,1fr)}.ob-creator-list{max-height:245px}.ob-directory-filters{grid-template-columns:1fr 1fr;gap:10px;padding:13px}.ob-directory-filters .ob-search{grid-column:1/-1}.ob-directory-filters>p{grid-column:1/-1}.ob-heading h2{font-size:23px}.ob-heading p{font-size:12px}.ob-stats{gap:8px}.ob-stats>div{padding:13px 10px}.ob-stats span{font-size:10px}.ob-stats strong{font-size:26px}.ob-stats small{font-size:9px}.ob-welcome{min-height:300px;padding:28px 20px}.ob-editor-header{align-items:flex-start}.ob-tabs{padding:0 7px}.ob-tabs button{font-size:11px;flex-shrink:0;min-height:44px}.ob-page button{min-height:40px}.ob-page input,.ob-page select{min-height:40px}.ob-reasons button{min-width:40px}.ob-access{align-items:flex-start}.ob-access svg{margin-top:2px}.ob-page .ob-creator{padding:14px}.ob-fields{grid-template-columns:1fr}.ob-field-hint,.ob-wide{grid-column:auto}.ob-savebar{flex-wrap:wrap;padding:12px 16px}.ob-savebar>div{margin-left:auto}.ob-error{flex-wrap:wrap}.ob-heading{gap:12px}.ob-heading>button{font-size:0;min-width:40px;gap:0;padding:8px}.ob-heading>button svg{width:16px}.ob-section-title{align-items:flex-start}.ob-section-title h4{font-size:14px}}
.ob-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-shrink:0}.ob-heading-actions button{white-space:nowrap}.ob-complete-notice{display:flex;align-items:flex-start;gap:8px;border:1px solid #79b38b44;background:#79b38b0b;border-radius:8px;padding:12px 15px;margin-bottom:16px!important;font-size:12px;line-height:1.7;color:#a2d0ae}.ob-complete-notice svg{flex:none;margin-top:3px}html:not(.dark) .ob-complete-notice{color:#366b42}.ob-enrollment-dialog{box-sizing:border-box;width:min(940px,calc(100vw - 32px));max-height:calc(100dvh - 40px);margin:auto;padding:22px;color:var(--foreground);background:var(--background);border:1px solid var(--border);border-radius:16px;box-shadow:0 24px 100px #0006;overflow:auto;overscroll-behavior:contain}.ob-enrollment-dialog::backdrop{background:#0009;backdrop-filter:blur(2px)}.ob-enrollment-heading{display:grid;gap:9px;margin-bottom:20px}.ob-enrollment-heading .ob-eyebrow{color:var(--primary)}.ob-enrollment-heading h3,.ob-enrollment-heading p{margin:0}.ob-enrollment-heading h3{font-size:23px;font-weight:600;line-height:1.3;letter-spacing:-.4px}.ob-enrollment-heading p{font-size:12px;line-height:1.7;color:var(--muted-foreground)}.ob-enrollment-dialog .creator-management{margin:0;max-width:none}.ob-enrollment-dialog .cm-enrollment{box-shadow:none}.ob-enrollment-dialog .cm-enrollment-analytics label{display:flex}.ob-enrollment-dialog .cm-check-cell input[type=checkbox]{padding:0;min-width:16px}.ob-enrollment-dialog .cm-review-table-wrap{max-height:360px}
@media(max-width:750px){.ob-heading{flex-wrap:wrap}.ob-heading-actions{width:100%;justify-content:flex-end}.ob-heading-actions .ob-refresh{min-width:40px;padding:8px}.ob-heading-actions .ob-refresh>span{display:none}.ob-enrollment-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);padding:15px;border-radius:12px}.ob-enrollment-heading{margin-bottom:15px}.ob-enrollment-heading h3{font-size:21px}.ob-enrollment-dialog .cm-entry-content{grid-template-columns:1fr;gap:18px}.ob-enrollment-dialog .cm-entry-copy{padding:0}.ob-enrollment-dialog .cm-entry-copy h3{font-size:24px;max-width:none}.ob-enrollment-dialog .cm-entry-copy>p{max-width:none}.ob-enrollment-dialog .cm-entry-copy .cm-tip{display:none}.ob-enrollment-dialog .cm-hero-icon{display:none}.ob-enrollment-dialog .cm-benefits{margin:15px 0 0}.ob-enrollment-dialog .cm-entry-form{width:100%;max-width:none}.ob-enrollment-dialog .cm-enrollment-footer{flex-wrap:wrap}.ob-enrollment-dialog .cm-enrollment-footer>.cm-button{margin-left:auto}.ob-enrollment-dialog .cm-review-table{min-width:0}}
.ob-page{--ob-highlight-bg:var(--accent);--ob-highlight-text:var(--accent-foreground);--ob-highlight-muted:var(--accent-foreground);--ob-selection-bg:var(--primary);--ob-selection-text:var(--primary-foreground)}.ob-page ::selection{background:var(--ob-selection-bg);color:var(--ob-selection-text);text-shadow:none}.ob-page .ob-creator[aria-pressed=true]{background:var(--ob-highlight-bg);color:var(--ob-highlight-text);box-shadow:inset 3px 0 var(--primary)}.ob-page .ob-creator[aria-pressed=true] strong{color:var(--ob-highlight-text)}.ob-page .ob-creator[aria-pressed=true]>span,.ob-page .ob-creator[aria-pressed=true] .ob-tag{color:var(--ob-highlight-muted)}.ob-page .ob-creator[aria-pressed=true] .ob-due,.ob-page .ob-creator[aria-pressed=true] .ob-start-hint{color:var(--ob-highlight-text)}.ob-page .ob-creator[aria-pressed=true] .ob-ready{color:#c3ebc6;background:#243824;border-color:#83ac824d}.ob-page .ob-tabs button[aria-pressed=true]{background:var(--ob-highlight-bg);color:var(--ob-highlight-text)}.ob-page .ob-checklist .ob-checked{background:var(--ob-highlight-bg);color:var(--ob-highlight-text);border-color:var(--primary)}.ob-page .ob-checklist .ob-checked>svg{color:var(--ob-highlight-text)}.ob-page :is(input:not([type=checkbox]),textarea:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select):focus-visible{background:var(--card);color:var(--foreground);border-color:var(--ring)}.ob-page select option:checked{background:var(--ob-highlight-bg);color:var(--ob-highlight-text)}html:not(.dark) .ob-page .ob-creator[aria-pressed=true] .ob-ready{color:#264e2b;background:#dce9d4;border-color:#6b8e5955}
.ob-page button:hover:not(:disabled){background:var(--ob-highlight-bg);color:var(--ob-highlight-text)}
.ob-page .ob-creator:hover:not(:disabled) strong{color:var(--ob-highlight-text)}
.ob-page .ob-creator:hover:not(:disabled)>span,.ob-page .ob-creator:hover:not(:disabled) .ob-tag{color:var(--ob-highlight-muted)}
.ob-page .ob-primary:hover:not(:disabled){background:color-mix(in srgb,var(--primary) 90%,var(--foreground));color:var(--primary-foreground);border-color:var(--primary)}

.ob-analytics-confirmation{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:24px;border:1px solid var(--border);border-radius:14px;background:var(--card);color:var(--foreground);box-shadow:0 20px 90px #0006}.ob-analytics-confirmation::backdrop{background:#0009}.ob-analytics-confirmation h3{margin:0;font-size:22px}.ob-analytics-confirmation p{margin:14px 0;color:var(--muted-foreground);font-size:14px;line-height:1.6}.ob-analytics-choice{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.ob-analytics-choice>span{flex:1;font-size:14px;font-weight:600}.ob-analytics-choice strong{min-width:24px;font-size:12px}.ob-analytics-confirmation .ob-analytics-choice-note{font-size:12px}.ob-analytics-confirmation footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:20px}.ob-analytics-confirmation .cm-button{min-height:40px}@media(max-width:480px){.ob-analytics-confirmation{padding:20px}.ob-analytics-confirmation footer .cm-button{flex:1;white-space:normal}}
.ob-analytics-confirmation .cm-button{display:inline-flex;justify-content:center;align-items:center;padding:10px 14px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--foreground);font-size:12px;font-weight:600;cursor:pointer}.ob-analytics-confirmation .cm-button:hover{background:var(--muted)}.ob-analytics-confirmation .cm-primary{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.ob-analytics-confirmation .cm-primary:hover{background:var(--primary);filter:brightness(1.1)}.ob-analytics-confirmation .cm-switch{position:relative;display:inline-flex;align-items:center;justify-content:flex-start;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:6px;background:transparent;cursor:pointer}.ob-analytics-confirmation .cm-switch::before{content:'';position:absolute;left:4px;top:11px;width:36px;height:22px;box-sizing:border-box;border:1px solid var(--input);border-radius:16px;background:var(--input)}.ob-analytics-confirmation .cm-switch>span{position:relative;left:7px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0002}.ob-analytics-confirmation .cm-switch[aria-checked=true]::before{background:var(--primary);border-color:var(--primary)}.ob-analytics-confirmation .cm-switch[aria-checked=true]>span{transform:translateX(14px)}.ob-analytics-confirmation button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
.ob-why-options{list-style:none;padding:0;margin:14px 0;display:grid;gap:8px}.ob-why-options li{display:flex;align-items:center;gap:10px;padding:6px 10px;border:1px solid var(--ob-border);border-radius:8px;min-height:56px}.ob-why-options li[data-selected=true]{background:var(--ob-highlight-bg);color:var(--ob-highlight-text)}.ob-page .ob-why-options label{display:flex;align-items:center;gap:12px;flex:1;min-height:44px;cursor:pointer;font-weight:400}.ob-why-label{overflow-wrap:anywhere;min-width:0}.ob-why-label small{display:block;font-size:10px;color:var(--ob-muted);margin-top:3px}.ob-why-options .ob-rank{flex:none}.ob-why-order{display:flex;gap:4px;flex:none}.ob-page .ob-why-order button{width:40px;height:44px;padding:6px}.ob-why-add{display:flex;align-items:flex-end;gap:10px;margin:16px 0 10px}.ob-why-add label{flex:1;min-width:0}.ob-page .ob-why-add input{width:100%;min-height:44px}.ob-page .ob-why-add button{min-height:44px;flex:none}.ob-page .ob-why-error{color:#e8a59c;font-size:12px;margin:8px 0;line-height:1.6}html:not(.dark) .ob-why-error{color:#a13e34}@media(max-width:480px){.ob-why-options li{gap:6px;padding:6px}.ob-page .ob-why-options label{gap:8px}.ob-why-add{flex-wrap:wrap}.ob-why-add label{flex-basis:100%}.ob-why-add button{margin-left:auto}}

.ob-editor>.ob-graduation{margin:0 22px 18px}.ob-page .ob-graduation-unknown{margin:0 22px 18px;padding:11px 13px;border:1px solid var(--ob-border);border-radius:8px;color:var(--ob-muted);font-size:11px;line-height:1.7}
@media(max-width:750px){.ob-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ob-editor>.ob-graduation,.ob-page .ob-graduation-unknown{margin-left:18px;margin-right:18px}}

.matchmaking-page{--mm-ink:var(--foreground,#282d34);--mm-muted:var(--muted-foreground,#68717c);--mm-surface:var(--card,#fff);--mm-line:var(--border,#e3dfd7);--mm-soft:#f6f4ee;--mm-gold:#80601f;--mm-gold-soft:#f2e8d0;--mm-green:#386c4d;--mm-red:#b33450;color:var(--mm-ink);font-size:13px;line-height:1.55;min-width:0;color-scheme:light}
.dark .matchmaking-page{--mm-soft:#242a31;--mm-gold:#e9bd66;--mm-gold-soft:#3c3220;--mm-green:#9acba9;--mm-red:#ffacbc;color-scheme:dark}
.matchmaking-page *{box-sizing:border-box}.matchmaking-page h2,.matchmaking-page h3,.matchmaking-page h4,.matchmaking-page p{margin:0}.matchmaking-page h2{font-size:25px;line-height:1.25;font-weight:600;letter-spacing:-.025em}.matchmaking-page h3{font-size:14px;font-weight:600}.matchmaking-page h4{font-size:13px;font-weight:600}.matchmaking-page button,.matchmaking-page input,.matchmaking-page select{font:inherit}.matchmaking-page button{cursor:pointer}.matchmaking-page button:disabled{opacity:.5;cursor:not-allowed}.matchmaking-page label{display:grid;gap:6px;font-size:11px;color:var(--mm-muted);min-width:0}.matchmaking-page label>span{display:inline}.matchmaking-page input,.matchmaking-page select{width:100%;max-width:100%;min-width:0;min-height:39px;border:1px solid var(--mm-line);border-radius:7px;padding:8px 10px;color:var(--mm-ink);background:var(--mm-surface)}.matchmaking-page input::placeholder{color:var(--mm-muted);opacity:1}.matchmaking-page select option{color:var(--mm-ink);background:var(--mm-surface)}.matchmaking-page :is(button,input:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)),summary):focus-visible{outline:2px solid var(--mm-gold);outline-offset:3px}.matchmaking-page button.mm-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border:1px solid var(--mm-gold);border-radius:7px;background:var(--mm-gold);color:#fff;padding:8px 12px;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap}.dark .matchmaking-page button.mm-button{color:#20180a}.matchmaking-page button.mm-button.mm-secondary{background:var(--mm-surface);color:var(--mm-ink);border-color:var(--mm-line)}.matchmaking-page button.mm-button:hover:not(:disabled){background:var(--mm-gold);color:#fff;filter:brightness(.96)}.dark .matchmaking-page button.mm-button:hover:not(:disabled){color:#20180a}.matchmaking-page button.mm-button.mm-secondary:hover:not(:disabled){background:var(--mm-soft);color:var(--mm-ink);filter:none}.matchmaking-page button.mm-button[aria-pressed=true]{box-shadow:0 0 0 2px var(--mm-surface),0 0 0 3px var(--mm-gold)}
.mm-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:23px}.mm-eyebrow{display:block;color:var(--mm-gold);font-size:10px;font-weight:700;letter-spacing:.1em;margin-bottom:7px}.mm-intro p{color:var(--mm-muted);margin-top:7px;font-size:13px}.mm-scope{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:var(--mm-green);border:1px solid var(--mm-line);padding:7px 10px;border-radius:20px;flex-shrink:0}.mm-scope:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--mm-green)}
.mm-controls{display:grid;grid-template-columns:minmax(200px,1.5fr) minmax(155px,1fr) minmax(155px,1fr) auto;gap:12px;align-items:end;padding:18px;border:1px solid var(--mm-line);border-radius:10px;background:var(--mm-surface)}.mm-controls-note{font-size:11px;color:var(--mm-muted);margin:10px 0 20px!important}.mm-notice{padding:13px 15px;border:1px solid color-mix(in srgb,var(--mm-gold) 25%,var(--mm-line));border-radius:8px;background:var(--mm-gold-soft);color:var(--mm-gold);font-size:12px;line-height:1.65;margin:15px 0}.mm-notice p+p{margin-top:7px}.mm-error-box{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid color-mix(in srgb,var(--mm-red) 35%,var(--mm-line));background:color-mix(in srgb,var(--mm-red) 7%,var(--mm-surface));border-radius:8px;padding:15px;margin:15px 0}.mm-error{color:var(--mm-red);font-size:12px}.mm-empty{border:1px dashed var(--mm-line);border-radius:10px;padding:42px 22px;text-align:center;color:var(--mm-muted);margin:18px 0}.mm-empty>svg{margin:0 auto 14px;color:var(--mm-gold)}.mm-empty h3{font-size:16px;color:var(--mm-ink)}.mm-empty p{max-width:510px;margin:8px auto 0}.mm-empty button{margin-top:16px}
.mm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--mm-line);border-radius:10px;background:var(--mm-surface);margin:20px 0;overflow:hidden}.mm-stats>div{padding:15px 20px;border-right:1px solid var(--mm-line)}.mm-stats>div:last-child{border:0}.mm-stats strong{display:block;font-size:25px;line-height:1.25;font-weight:600;font-variant-numeric:tabular-nums}.mm-stats span{display:block;color:var(--mm-muted);font-size:11px;margin-top:5px}.mm-toolbar{display:flex;align-items:end;gap:12px;margin-top:22px}.mm-toolbar>label:first-child{flex:1;max-width:300px}.mm-toolbar>label{min-width:155px}.mm-pager{display:flex;align-items:center;gap:12px;margin-left:auto}.mm-pager>span{white-space:nowrap;color:var(--mm-muted);font-size:11px;font-variant-numeric:tabular-nums}.mm-caption{display:block;font-size:11px;color:var(--mm-muted);line-height:1.6}.mm-alternatives{margin:11px 0 16px!important}
.mm-card{border:1px solid var(--mm-line);border-radius:13px;background:var(--mm-surface);overflow:hidden}.mm-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 22px;border-bottom:1px solid var(--mm-line)}.mm-card-head>div{display:flex;gap:7px;flex-wrap:wrap}.mm-card-head>span{font-size:11px;color:var(--mm-muted);text-align:right}.mm-tag{display:inline-flex;align-items:center;gap:5px;width:fit-content;border-radius:5px;padding:3px 7px;font-size:10px;line-height:1.55;background:var(--mm-soft);color:var(--mm-muted)}.mm-tag.mm-recommended{color:var(--mm-green);background:color-mix(in srgb,var(--mm-green) 10%,var(--mm-surface))}.mm-tag.mm-tentative,.mm-tag.mm-hold{color:var(--mm-gold);background:var(--mm-gold-soft)}.mm-tag.mm-blocked{color:var(--mm-red);background:color-mix(in srgb,var(--mm-red) 9%,var(--mm-surface))}.mm-versus{display:grid;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);align-items:center;gap:24px;padding:30px 27px}.mm-creator{display:flex;align-items:start;gap:14px;min-width:0}.mm-avatar{display:flex;justify-content:center;align-items:center;flex:none;width:47px;height:47px;border-radius:50%;background:var(--mm-gold-soft);color:var(--mm-gold);font-size:14px;font-weight:600}.mm-person{min-width:0}.mm-person h3{font-size:20px;line-height:1.3;overflow-wrap:anywhere}.mm-person>p{font-size:11px;color:var(--mm-muted);margin-top:4px;overflow-wrap:anywhere}.mm-peak{display:block;font-size:26px;font-weight:600;line-height:1.25;margin-top:17px;font-variant-numeric:tabular-nums}.mm-peak small{font-size:11px;color:var(--mm-muted);font-weight:400}.mm-person-tags{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.mm-person-tags>span:last-child{font-size:10px;color:var(--mm-muted)}.mm-vs{display:flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:50%;border:1px solid var(--mm-line);color:var(--mm-muted);font-size:10px;letter-spacing:.08em}.mm-metrics{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);background:var(--mm-soft);border-block:1px solid var(--mm-line)}.mm-metrics>div{padding:18px 22px;border-right:1px solid var(--mm-line)}.mm-metrics>div:last-child{border-right:0}.mm-metrics>div>span{font-size:10px;color:var(--mm-muted);display:block}.mm-metrics strong{display:block;font-size:25px;font-weight:600;line-height:1.3;margin:6px 0;font-variant-numeric:tabular-nums}.mm-metrics strong>small{font-size:11px;font-weight:400;color:var(--mm-muted)}.mm-metrics>div>small{font-size:10px;line-height:1.6;color:var(--mm-muted);display:block}.mm-metrics .mm-time strong{font-size:16px;line-height:1.5}.mm-reasons{padding:21px 24px}.mm-reasons ul{padding-left:18px;margin:10px 0 0;color:var(--mm-muted);font-size:12px;line-height:1.8}.mm-reasons li+li{margin-top:7px}.mm-feedback{display:grid;grid-template-columns:1fr;gap:12px;border-top:1px solid var(--mm-line);padding:20px 24px}.mm-feedback p{font-size:11px;color:var(--mm-muted);margin-top:4px}.mm-feedback label{max-width:640px}.mm-feedback-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.mm-feedback-actions>span{font-size:11px;color:var(--mm-muted);margin-left:3px}.mm-feedback-actions>span.mm-saved{display:inline-flex;align-items:center;gap:5px;color:var(--mm-green)}
.mm-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0 13px}.mm-section-title h3{font-size:16px}.mm-section-title>span{font-size:11px;color:var(--mm-muted)}.mm-factors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mm-factor{border:1px solid var(--mm-line);border-radius:10px;padding:17px 18px;background:var(--mm-surface)}.mm-factor header{display:flex;align-items:center;justify-content:space-between;gap:10px}.mm-factor-state{font-size:10px;color:var(--mm-muted)}.mm-factor-state.mm-pass{color:var(--mm-green)}.mm-factor-state.mm-warn{color:var(--mm-gold)}.mm-factor-state.mm-fail{color:var(--mm-red)}.mm-factor-score{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:13px 0 8px}.mm-factor-score>strong{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}.mm-factor-score small,.mm-factor-score>span{font-size:10px;color:var(--mm-muted);font-weight:400}.mm-bar{height:3px;border-radius:4px;background:var(--mm-soft);overflow:hidden}.mm-bar i{display:block;height:100%;background:var(--mm-gold);border-radius:4px}.mm-factor p{font-size:11px;line-height:1.75;color:var(--mm-muted);margin-top:12px}.mm-disclosure{border:1px solid var(--mm-line);border-radius:9px;background:var(--mm-surface);margin-top:14px;overflow:hidden}.mm-disclosure>summary{cursor:pointer;min-height:46px;padding:14px 17px;font-size:12px;font-weight:600}.mm-disclosure[open]>summary{border-bottom:1px solid var(--mm-line)}.mm-disclosure-body{padding:18px;color:var(--mm-muted);font-size:12px}.mm-disclosure-body>p+p{margin-top:10px}.mm-disclosure-body>.mm-caption{margin-top:14px}.mm-confidence-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 22px;margin-top:20px}.mm-confidence-list>div>strong{display:block;font-size:12px;color:var(--mm-ink)}.mm-confidence-list>div>span{font-size:10px}.mm-confidence-list p{font-size:11px;margin-top:5px}.mm-evidence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin-bottom:18px}.mm-evidence h4{color:var(--mm-ink);overflow-wrap:anywhere}.mm-evidence dl{margin:9px 0 0}.mm-evidence dl>div{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--mm-line);padding:8px 0;font-size:11px}.mm-evidence dd{margin:0;color:var(--mm-ink);white-space:nowrap;font-variant-numeric:tabular-nums}.mm-coverage-list{margin-top:16px;max-height:400px;overflow:auto}.mm-coverage-list>div{display:grid;grid-template-columns:minmax(130px,1fr) minmax(100px,.8fr) minmax(160px,1.1fr) 150px;gap:10px;padding:12px 0;border-bottom:1px solid var(--mm-line);font-size:11px}.mm-coverage-list strong{font-weight:600;color:var(--mm-ink);overflow-wrap:anywhere}.mm-coverage-list span{overflow-wrap:anywhere}
@keyframes mm-spin{to{transform:rotate(360deg)}}.mm-spin{animation:mm-spin 1.5s linear infinite}@media(prefers-reduced-motion:reduce){.mm-spin{animation:none}}
@media(max-width:1000px){.mm-intro{align-items:flex-start;flex-direction:column;gap:12px}.mm-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.mm-controls>.mm-button{align-self:end}.mm-toolbar{flex-wrap:wrap}.mm-pager{flex:1;justify-content:flex-end}.mm-versus{padding:25px 19px;gap:13px}.mm-creator{gap:10px}.mm-avatar{width:35px;height:35px;font-size:11px}.mm-person h3{font-size:17px}.mm-peak{font-size:23px}.mm-metrics>div{padding:16px}.mm-coverage-list>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.matchmaking-page h2{font-size:23px}.mm-controls{padding:13px;gap:12px}.mm-controls>label:first-child{grid-column:1/-1}.mm-controls>.mm-button{grid-column:1/-1;min-height:42px}.matchmaking-page input,.matchmaking-page select{font-size:16px;min-height:42px}.mm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mm-stats>div{padding:13px 15px}.mm-stats>div:nth-child(2){border-right:0}.mm-stats>div:nth-child(-n+2){border-bottom:1px solid var(--mm-line)}.mm-stats strong{font-size:23px}.mm-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:11px}.mm-toolbar>label:first-child{max-width:none}.mm-pager{grid-column:1/-1;justify-content:space-between;margin-left:0}.matchmaking-page .mm-pager button{min-height:42px}.mm-card-head{padding:13px 15px;align-items:flex-start;flex-direction:column}.mm-card-head>span{text-align:left}.mm-versus{grid-template-columns:minmax(0,1fr) 25px minmax(0,1fr);gap:9px;padding:22px 14px}.mm-creator{flex-direction:column;gap:9px}.mm-avatar{width:35px;height:35px}.mm-person h3{font-size:15px}.mm-peak{font-size:20px;margin-top:14px;overflow-wrap:anywhere}.mm-peak small{display:block;font-size:10px;margin-top:2px}.mm-person-tags{gap:5px}.mm-person-tags>span:last-child{font-size:9px}.mm-vs{width:25px;height:25px;font-size:8px}.mm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.mm-metrics>.mm-time{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--mm-line)}.mm-metrics>div{padding:15px}.mm-metrics strong{font-size:23px}.mm-reasons,.mm-feedback{padding:18px 16px}.mm-reasons ul{font-size:11px}.mm-feedback-actions>span{flex-basis:100%;margin:5px 0 0}.matchmaking-page .mm-feedback-actions>button{min-height:42px}.mm-factors,.mm-confidence-list,.mm-evidence{grid-template-columns:minmax(0,1fr)}.mm-factor{padding:16px}.mm-section-title{margin-top:23px}.mm-evidence{gap:20px}.mm-disclosure-body{padding:15px}.mm-coverage-list>div{gap:6px 10px}.mm-error-box{align-items:flex-start;flex-direction:column}}

.mm-shared-gifters{padding-left:18px;margin:12px 0 0}.mm-shared-gifters li+li{margin-top:10px}.mm-shared-gifters strong{display:block;color:var(--mm-ink);font-size:12px}.mm-shared-gifters span{display:block;font-size:11px}.mm-evidence dd{white-space:normal;text-align:right}

.home-announcements{padding:16px 18px;background:var(--card);border:1px solid var(--border);border-radius:12px;color:var(--foreground);min-width:0}
.home-announcements-heading,.home-announcements-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.home-announcements h2{display:flex;align-items:center;gap:8px;font-size:18px;line-height:1.3;margin:0}
.home-announcements h2 svg{color:var(--primary);flex:none}
.home-announcements button{min-height:36px;padding:6px 10px;font-size:12px;gap:5px}
.home-announcements button[data-variant="ghost"]{background:transparent;border-color:transparent;color:var(--muted-foreground);box-shadow:none}
.home-announcements button[data-variant="ghost"]:hover{background:var(--muted);color:var(--foreground)}
.home-announcements h3{font-size:14px;line-height:1.4;margin:0 0 5px;overflow-wrap:anywhere}
.home-announcements button.home-announcements-new{padding:4px 0;background:transparent;border:0;box-shadow:none;font-size:12px;font-weight:400;color:var(--primary);text-decoration:none;text-underline-offset:3px}
.home-announcements button.home-announcements-new:hover:not(:disabled){background:transparent;color:var(--primary);box-shadow:none;text-decoration:underline}
.home-announcements-list{list-style:none;padding:0;margin:8px 0 0}
.home-announcements-list li+li{border-top:1px solid var(--border)}
.home-announcements button.home-announcements-row{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px 0;text-align:left;white-space:normal;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--foreground)}
.home-announcements button.home-announcements-row:hover:not(:disabled){background:transparent;box-shadow:none;color:var(--foreground)}
.home-announcements-row:hover .home-announcements-title{text-decoration:underline;text-underline-offset:3px}
.home-announcements-title{flex:1;font-size:14px;font-weight:500;overflow-wrap:anywhere;min-width:0}
.home-announcements-row time{font-size:12px;color:var(--muted-foreground);white-space:nowrap}
.home-announcements-new-mark{margin-left:5px;color:var(--primary);font-size:17px;font-weight:700}
.home-announcements-detail{padding:18px 0 0}
.home-announcements-body{font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 8px}
.home-announcements-meta,.home-announcements-empty{font-size:12px;color:var(--muted-foreground)}
.home-announcements-empty{margin:10px 0 0}
.home-announcements-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.home-announcements-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;margin:auto;padding:22px;background:var(--card);color:var(--foreground);border:1px solid var(--border);border-radius:14px;box-shadow:0 24px 80px #0006}
.home-announcements-dialog::backdrop{background:#0009}
.home-announcements-dialog-heading h2{overflow-wrap:anywhere;min-width:0}
.home-announcements-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.home-announcements button.home-announcements-close{display:flex;align-items:center;justify-content:center;flex:none;min-width:36px;background:transparent;color:var(--muted-foreground);border:0;box-shadow:none}
.home-announcements-form{display:grid;gap:8px;margin-top:18px}
.home-announcements-form .home-announcements-actions{margin-top:8px;justify-content:flex-end}
.home-announcements-form label{font-size:12px;font-weight:600}
.home-announcements-form textarea{box-sizing:border-box;width:100%;padding:10px;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--foreground);font:inherit;font-size:14px;resize:vertical}
.home-announcements-error,.home-announcements-notice,.home-announcements-confirm{font-size:13px;margin:10px 0 0}
.home-announcements-error{color:var(--destructive)}
.home-announcements-error small{display:block;color:var(--muted-foreground)}
.home-announcements-confirm p{margin:0 0 6px}
@media(max-width:600px){.home-announcements{padding:14px 16px}}

.home-announcements-audience{display:inline-block;margin-left:8px;padding:2px 6px;border:1px solid var(--border);border-radius:5px;font-size:10px;line-height:1.4;font-weight:400;color:var(--muted-foreground);vertical-align:middle}
.home-announcements-publish{display:flex;align-items:center;gap:8px;min-height:36px;cursor:pointer}
.home-announcements-publish input{appearance:auto;width:16px;height:16px;min-height:0;margin:0;accent-color:var(--primary);flex:none}
.home-announcements-audience-help,.home-announcements-audience-detail{margin:0 0 6px;font-size:12px;line-height:1.45;color:var(--muted-foreground)}

.home-announcements-expiration-field{display:flex;align-items:center;gap:8px;min-width:0}
.home-announcements-expiration-field input{min-width:0;flex:1}
.home-announcements-expiration-detail{margin:0 0 12px;color:var(--muted-foreground);font-size:12px}
.home-announcements button.home-announcements-expired-link{margin-top:6px;padding:4px 0;min-height:36px;background:transparent;border:0;box-shadow:none;color:var(--muted-foreground);font-size:12px;font-weight:400;text-decoration:underline;text-underline-offset:3px}
.home-announcements button.home-announcements-expired-link:hover{color:var(--foreground);background:transparent;box-shadow:none}
.home-announcements-expired-dialog{padding-top:12px}
.home-announcements-expired-list{list-style:none;margin:0;padding:0}
.home-announcements-expired-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
.home-announcements-expired-list li+li{border-top:1px solid var(--border)}
.home-announcements-expired-list li>div{min-width:0;flex:1}
.home-announcements-expired-list button{flex:none}
@media(max-width:400px){.home-announcements-expired-list li{align-items:flex-start;flex-direction:column;gap:2px}}

/* Shared controls load after feature styles so page-specific defaults cannot resize them. */
:root button.portal-refresh-button,
#workspace-content button.portal-refresh-button {
 display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;
 width:auto;max-width:100%;min-width:0;height:36px;min-height:36px;margin:0;padding:0 10px;
 border:1px solid var(--border);border-radius:7px;background:var(--card);color:var(--foreground);
 font-family:inherit;font-size:12px;font-weight:500;line-height:1.25;letter-spacing:normal;
 text-align:center;text-transform:none;text-decoration:none;white-space:nowrap;box-shadow:none;
 cursor:pointer;touch-action:manipulation;
}
:root button.portal-refresh-button:hover:not(:disabled),
#workspace-content button.portal-refresh-button:hover:not(:disabled) {
 background:var(--muted);color:var(--foreground);border-color:var(--input);filter:none;
}
:root button.portal-refresh-button:focus-visible,
#workspace-content button.portal-refresh-button:focus-visible {
 outline:2px solid var(--ring);outline-offset:3px;
}
:root button.portal-refresh-button:disabled,
#workspace-content button.portal-refresh-button:disabled {opacity:.5;cursor:not-allowed;}
:root button.portal-refresh-button>svg,
#workspace-content button.portal-refresh-button>svg {width:14px;height:14px;flex:none;}
:root button.portal-refresh-button>.portal-refresh-label,
#workspace-content button.portal-refresh-button>.portal-refresh-label {
 display:inline;font:inherit;color:inherit;visibility:visible;white-space:inherit;
}
:root button.portal-refresh-button[aria-busy=true]>svg {animation:portal-refresh-spin 1s linear infinite;}
@keyframes portal-refresh-spin {to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){:root button.portal-refresh-button[aria-busy=true]>svg{animation:none}}
@media(max-width:700px),(pointer:coarse){
 :root button.portal-refresh-button,#workspace-content button.portal-refresh-button{height:44px;min-height:44px;min-width:44px}
}

/* Page content uses the shell gutters and one shared width in these workspaces. */
:root { --workspace-page-width: 1440px; }
#workspace-content > :is(.creator-management, .ob-page, .pf-page) {
  width: 100%;
  max-width: var(--workspace-page-width);
  min-width: 0;
  margin-inline: auto;
  padding-inline: 0;
}

/* Fieldsets and native controls must shrink with the mobile workspace. Keeping
   editable text at 16px also avoids Safari zooming when a field receives focus. */
@media (max-width: 900px) {
 #workspace-content { overflow-wrap: anywhere; }
 #workspace-content fieldset { min-inline-size: 0; }
 #workspace-content :is(input, select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)), textarea) {
  min-inline-size: 0;
  font-size: 16px;
 }
 :where(#workspace-content) :where(input, select:not(:where(.fui-FluentProvider, .fui-FluentProvider *)), textarea:not(:where(.fui-FluentProvider, .fui-FluentProvider *)), img, video, canvas, iframe) { max-inline-size: 100%; }
}
@media (min-width: 641px) and (max-width: 900px) {
 .page-header { grid-template-columns: minmax(0, 1fr) auto; }
 .page-header .portal-account-controls { grid-column: 2; grid-row: 1; justify-self: end; }
}

.cp-username-history{border:1px solid var(--cp-line,#34343b);border-radius:12px;margin:12px 0;background:var(--cp-surface,#17171b);font-size:13px}
.cp-username-history header{display:flex;align-items:baseline;gap:8px;padding:14px 16px;min-height:44px;box-sizing:border-box}
.cp-username-history h3{margin:0;font-size:13px;font-weight:600}
.cp-username-history header span{font-size:12px;font-weight:400;opacity:.65}
.cp-username-history-body{padding:0 16px 14px}
.cp-username-history-body p{line-height:1.5;margin:6px 0 12px}
.cp-username-history-body ul{list-style:none;margin:0;padding:0}
.cp-username-history-body li{padding:11px 0;border-top:1px solid var(--cp-line,#34343b)}
.cp-username-history-body li>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px}
.cp-username-history-body strong{overflow-wrap:anywhere}
.cp-username-history-body li span{font-size:11px;color:var(--cp-gold,#e6c577)}
.cp-username-history-body small{display:block;line-height:1.6;opacity:.7;margin-top:4px}
.cp-username-history-body .cp-username-history-note{font-size:12px;opacity:.65;margin:10px 0 0}

.gp-profile-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}
.gp-profile-tabs button{font:inherit;font-size:13px;padding:8px 12px;min-height:36px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--muted-foreground);box-shadow:none}
.gp-profile-tabs button[aria-selected=true]{background:color-mix(in srgb,var(--gp-accent) 14%,var(--card));border-color:var(--gp-accent);color:var(--foreground)}
.gp-profile-tabs button:focus-visible{outline:2px solid var(--gp-accent);outline-offset:2px}
.gifter-profile .cp-username-history{--cp-line:var(--border);--cp-surface:var(--card);--cp-gold:var(--gp-accent);color:var(--foreground)}

.recruiting-inbound{display:grid;gap:18px;max-width:1100px;margin:auto}.recruiting-inbound-back{display:inline-flex;align-items:center;gap:6px;width:fit-content;color:var(--muted-foreground);font-size:13px;min-height:36px}.recruiting-inbound-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.recruiting-inbound-heading h2{display:flex;align-items:center;gap:8px;font-size:21px;margin:0}.recruiting-inbound-heading p,.recruiting-inbound-toolbar p{margin:6px 0 0;color:var(--muted-foreground);font-size:13px}.recruiting-inbound button,.manager-referral-code button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:7px 12px;font-size:13px;border:1px solid var(--border);border-radius:7px;background:var(--card);color:var(--foreground)}.recruiting-inbound button:disabled,.manager-referral-code button:disabled{opacity:.55;cursor:not-allowed}.recruiting-inbound-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px}.recruiting-inbound label{display:grid;gap:6px;font-size:12px;color:var(--muted-foreground)}.recruiting-inbound select{min-height:36px;border:1px solid var(--border);border-radius:7px;padding:7px 30px 7px 10px;background:var(--card);color:var(--foreground);font-size:13px}.recruiting-inbound-list{display:grid;gap:12px}.recruiting-inbound-card{border:1px solid var(--border);background:var(--card);border-radius:11px;padding:18px}.recruiting-inbound-card-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.recruiting-inbound-card-heading h3{margin:0;font-size:16px;overflow-wrap:anywhere}.recruiting-inbound-card-heading p{margin:5px 0 0;font-size:13px;color:var(--muted-foreground);overflow-wrap:anywhere}.recruiting-inbound-facts{display:grid;grid-template-columns:1.2fr 1fr 1.3fr;gap:20px;margin:18px 0}.recruiting-inbound-facts dt{color:var(--muted-foreground);font-size:12px;margin-bottom:5px}.recruiting-inbound-facts dd{margin:0;font-size:13px;overflow-wrap:anywhere;display:grid;gap:4px}.recruiting-inbound-facts dd strong{font-weight:500}.recruiting-inbound-facts small{color:var(--muted-foreground)}.recruiting-inbound-status{border-top:1px solid var(--border);padding-top:12px;display:flex;align-items:end;gap:10px}.recruiting-inbound-status label{min-width:150px}.recruiting-inbound-notice{font-size:13px;color:var(--primary);margin:0}.recruiting-inbound-empty{padding:30px 18px;border:1px dashed var(--border);border-radius:10px;text-align:center}.recruiting-inbound-empty h3{font-size:16px;margin:0 0 7px}.recruiting-inbound-empty p{font-size:13px;color:var(--muted-foreground);margin:0}.recruiting-inbound-more{justify-self:center}.manager-referral-code{margin-top:18px}.manager-referral-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.manager-referral-heading h3{margin:0;font-size:17px}.manager-referral-code p{font-size:13px;color:var(--muted-foreground);line-height:1.5}.manager-referral-value{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.manager-referral-value code{user-select:all;overflow-wrap:anywhere;font-size:17px;letter-spacing:.06em;border:1px solid var(--border);border-radius:6px;padding:9px 12px}.manager-referral-code .manager-referral-notice{display:flex;align-items:center;gap:6px;color:var(--primary);margin-bottom:0}.manager-referral-empty p{margin-top:0}@media(max-width:650px){.recruiting-inbound-heading{align-items:start}.recruiting-inbound-heading h2{font-size:19px}.recruiting-inbound-toolbar{align-items:start;flex-direction:column}.recruiting-inbound-facts{grid-template-columns:1fr;gap:13px}.recruiting-inbound-card{padding:15px}.recruiting-inbound-status label{min-width:0;flex:1}.recruiting-inbound button,.recruiting-inbound select,.manager-referral-code button{min-height:40px}}

.series-editor{max-width:1060px;margin:0 auto;color:var(--foreground);min-width:0}.se-back{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--muted-foreground);margin:2px 0 20px;text-decoration:none}.se-back:hover{color:var(--primary)}.se-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.se-eyebrow{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:650;letter-spacing:.13em;color:var(--primary)}.se-heading h2{font-size:27px;line-height:1.25;font-weight:600;letter-spacing:-.025em;margin:7px 0}.se-heading p{color:var(--muted-foreground);font-size:13px;margin:0}.se-status{font-size:11px;line-height:1;display:inline-flex;padding:7px 10px;border:1px solid color-mix(in srgb,var(--primary) 30%,var(--border));background:color-mix(in srgb,var(--primary) 9%,var(--card));color:var(--primary);border-radius:6px;white-space:nowrap}.se-status.is-approved{color:#9bc9b0;background:#22382c;border-color:#3d6049}.se-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.se-panel{min-width:0;border:1px solid var(--border);background:var(--card);border-radius:12px;padding:20px}.se-panel-heading{display:flex;align-items:center;gap:10px;margin-bottom:20px}.se-step{width:29px;height:29px;display:grid;place-items:center;background:color-mix(in srgb,var(--primary) 9%,var(--card));border:1px solid color-mix(in srgb,var(--primary) 18%,var(--border));border-radius:7px;color:var(--primary);font-size:11px;font-weight:600;flex-shrink:0}.se-panel-heading>div{flex:1;min-width:0}.se-panel h3,.se-approval h3{margin:0;font-size:15px;font-weight:600}.se-panel-heading p{margin:4px 0 0;font-size:11px;color:var(--muted-foreground);line-height:1.5}.se-panel-heading>svg{color:var(--muted-foreground);flex-shrink:0}.se-fields,.se-creators{display:grid;grid-template-columns:1fr 1fr;gap:12px}.se-field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:500;margin-bottom:16px;min-width:0}.se-field input,.se-field select{width:100%;min-width:0;min-height:37px;padding:8px 10px;font:inherit;font-size:13px;background:var(--background);color:var(--foreground);border:1px solid var(--border);border-radius:7px;box-sizing:border-box}.se-field input:focus-visible,.se-field select:focus-visible,.se-weekdays button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.se-field>small{font-size:10px;font-weight:400;color:var(--muted-foreground)}.se-field input:disabled,.se-field select:disabled{opacity:.65}.se-username{display:flex;align-items:center;min-width:0;background:var(--background);border:1px solid var(--border);border-radius:7px;overflow:hidden}.se-username>span{padding-left:10px;font-size:12px;color:var(--muted-foreground)}.se-username input{border:0;background:transparent;padding-left:5px}.se-username:focus-within{outline:2px solid var(--primary);outline-offset:2px}.se-username input:focus-visible{outline:0}.se-hint{font-size:11px;line-height:1.6;color:var(--muted-foreground);margin:0}.se-creators.is-duos{column-gap:20px}.se-creators.is-duos>.se-field:nth-child(2){grid-column:1}.se-creators.is-duos>.se-field:nth-child(3){grid-column:2;grid-row:1}.se-creators.is-duos>.se-field:nth-child(4){grid-column:2;grid-row:2}.se-weekdays{padding:0;border:0;min-width:0;margin:0 0 16px}.se-weekdays legend{font-size:11px;font-weight:500;margin-bottom:8px}.se-weekdays>div{display:flex;gap:5px;flex-wrap:wrap}.se-weekdays button{min-width:39px;min-height:35px;padding:6px 8px;font-size:11px;font-weight:500;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--muted-foreground);cursor:pointer}.se-weekdays button[aria-pressed=true]{color:var(--primary);border-color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,var(--card))}.se-weekdays button:disabled{cursor:default}.se-schedule-summary{display:flex;gap:9px;align-items:flex-start;padding:12px;border:1px solid var(--border);border-radius:8px;background:color-mix(in srgb,var(--muted) 45%,var(--card));margin-top:3px}.se-schedule-summary>svg{color:var(--primary);margin-top:1px;flex-shrink:0}.se-schedule-summary strong{font-size:12px;font-weight:500;display:block;line-height:1.5}.se-schedule-summary small{display:block;color:var(--muted-foreground);font-size:10px;line-height:1.6;margin-top:4px}.se-approval{display:flex;gap:13px;align-items:flex-start;border:1px solid color-mix(in srgb,var(--primary) 22%,var(--border));border-radius:10px;padding:18px 20px;margin:18px 0;background:color-mix(in srgb,var(--primary) 4%,var(--card))}.se-approval>svg{color:var(--primary);flex-shrink:0;margin-top:1px}.se-approval-copy{min-width:0;flex:1}.se-approval h3{font-size:13px}.se-approval p{font-size:12px;line-height:1.7;color:var(--muted-foreground);margin:5px 0 0}.se-approval>button,.se-link{align-self:center;flex-shrink:0}.se-manager-approvals{list-style:none;display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 5px;padding:0}.se-manager-approvals li{display:flex;align-items:center;gap:5px;flex-wrap:wrap;border:1px solid var(--border);border-radius:6px;padding:6px 9px;font-size:11px;background:var(--card);color:var(--muted-foreground)}.se-manager-approvals li.is-approved{color:#9bc9b0}.se-manager-approvals small{font-size:9px;opacity:.8}.se-next{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.se-link{display:inline-flex;align-items:center;gap:6px;color:var(--primary);font-size:12px;text-decoration:none;padding:8px 0}.se-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 16px}.se-footer>div{display:flex;align-items:center;gap:12px}.se-footer span{font-size:11px;color:var(--muted-foreground)}.series-editor button[data-slot=button]{min-height:34px;font-size:12px;padding:7px 11px}.se-error{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;margin-bottom:16px;border:1px solid #795144;background:#34231f;border-radius:8px;color:#ffc1b5;font-size:12px;line-height:1.6}.se-notice{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.6;color:#9bc9b0;margin:0 0 15px}.se-panel>p,.se-panel>ul{font-size:12px;line-height:1.7;color:var(--muted-foreground)}
@media(max-width:760px){.se-grid{grid-template-columns:1fr;gap:14px}.se-heading{margin-bottom:18px}.se-approval{flex-wrap:wrap;padding:16px}.se-approval-copy{flex-basis:calc(100% - 40px)}.se-approval>button,.se-approval>.se-link{margin-left:35px}.se-footer>div:last-child{flex-wrap:wrap;justify-content:flex-end}.se-footer span{display:none}}
@media(max-width:430px){.se-panel{padding:16px}.se-heading h2{font-size:23px}.se-heading p{font-size:12px}.se-fields,.se-creators{gap:10px}.se-field input,.se-field select{font-size:12px;padding:8px}.se-username input{padding-left:5px}.se-weekdays>div{gap:4px}.se-weekdays button{min-width:35px;min-height:36px;padding:6px}.se-panel-heading>svg{display:none}.se-error{flex-wrap:wrap}}
.se-results{margin:0 0 20px;border:1px solid var(--border);border-radius:10px;background:var(--card);overflow:hidden}.se-results>summary{padding:14px 18px;font-size:12px;font-weight:500;cursor:pointer}.se-results>summary:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}.se-result-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:0 18px 12px;font-size:11px}.se-result-tools>span{color:var(--muted-foreground);margin-right:auto}.se-result-tools>a{color:var(--primary)}.se-results>.se-error{margin:0 18px 12px}.se-results .mr-panel{margin:0;border:0;border-top:1px solid var(--border);border-radius:0}
.se-rules-summary{border-top:1px solid var(--border);padding-top:15px;margin-top:4px}.se-rules-summary h4{font-size:12px;font-weight:600;margin:0 0 10px}.se-rules-summary ul{padding-left:17px;margin:0;display:grid;gap:9px;font-size:12px;line-height:1.65;color:var(--muted-foreground)}.se-rules-summary li::marker{color:var(--primary)}
@media(min-width:761px) and (max-width:1279px){.se-rules{grid-column:1/-1}}
@media(min-width:1280px){.series-editor{max-width:1140px}.se-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.se-rules-summary li{overflow-wrap:anywhere}
@media(max-width:430px){
 .se-fields,.se-creators{grid-template-columns:minmax(0,1fr)}
 .se-creators.is-duos>.se-field:nth-child(n){grid-column:auto;grid-row:auto}
 .se-heading{flex-wrap:wrap}
 .se-weekdays button{min-width:44px;min-height:44px}
 .series-editor button[data-slot=button]{min-height:44px}
 .se-footer{flex-wrap:wrap}
 .se-footer>div{min-width:0;flex-wrap:wrap}
}

.sd-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.sd-heading h2{font-size:24px;letter-spacing:-.03em;margin:0 0 6px}.sd-heading p{font-size:14px;color:var(--muted-foreground);margin:0}.sd-count{font-size:12px;color:var(--muted-foreground);white-space:nowrap}
.sd-filters{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}.sd-search{display:flex;align-items:center;gap:10px;border:1px solid var(--border);background:var(--card);border-radius:8px;padding:0 12px;flex:1;min-width:230px;max-width:420px;color:var(--muted-foreground)}.sd-search input{min-height:42px;border:0;background:transparent;outline:none;color:var(--foreground);width:100%;font:inherit;font-size:13px}.sd-search:focus-within{outline:2px solid var(--primary);outline-offset:2px}.sd-search input:focus-visible{outline:none}
.sd-status-filters{display:flex;gap:4px;padding:3px;border:1px solid var(--border);border-radius:8px}.workspace .sd-status-filters button{min-height:34px;padding:6px 12px;border:0;border-radius:5px;background:transparent;font:inherit;font-size:12px;color:var(--muted-foreground);cursor:pointer;box-shadow:none}.workspace .sd-status-filters button[aria-pressed=true]{background:var(--accent);color:var(--foreground)}
.sd-list{display:grid;gap:14px}.sd-card{border:1px solid var(--border);background:var(--card);border-radius:12px;padding:20px 22px}.sd-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.sd-type{display:inline-flex;align-items:center;gap:6px;color:var(--muted-foreground);font-size:11px;letter-spacing:.05em;text-transform:uppercase}.sd-status{font-size:11px;padding:4px 8px;border:1px solid var(--border);border-radius:6px}.sd-status.is-draft{color:var(--primary);background:color-mix(in srgb,var(--primary) 8%,transparent);border-color:color-mix(in srgb,var(--primary) 28%,var(--border))}.sd-status.is-approved{color:var(--muted-foreground);background:var(--muted)}.sd-card h3{font-size:19px;letter-spacing:-.02em;margin:13px 0 6px}.sd-card h3 a{color:var(--foreground);text-decoration:none}.sd-card h3 a:hover{text-decoration:underline}.sd-matchup{font-size:14px;margin:0 0 14px;overflow-wrap:anywhere}.sd-recurrence{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted-foreground)}.sd-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px;padding-top:12px;border-top:1px solid var(--border)}.sd-card-footer>span{font-size:12px;color:var(--muted-foreground)}.sd-card-footer a{display:inline-flex;align-items:center;gap:7px;min-height:34px;color:var(--primary);font-size:12px;text-decoration:none}.sd-card-footer a:hover{text-decoration:underline}
@media(max-width:600px){.sd-heading h2{font-size:22px}.sd-filters{gap:12px}.sd-search{max-width:none;flex-basis:100%;min-width:0}.sd-search input{font-size:16px}.sd-card{padding:17px}.sd-card h3{font-size:18px}.sd-status-filters button{min-height:40px}.sd-card-footer a{min-height:40px}.sd-card-footer>span{flex-basis:100%}}
.sd-create-row{display:flex;justify-content:flex-end;margin:-4px 0 16px}.sd-new-series{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 0;color:var(--primary);font-size:12px;font-weight:500;text-decoration:none}.sd-new-series:hover{text-decoration:underline}.sd-new-series:focus-visible{outline:2px solid var(--primary);outline-offset:3px}

.request-availability{--ra-text:var(--foreground,var(--ink,#252a30));--ra-muted:var(--muted-foreground,var(--muted,#697078));--ra-surface:var(--card,var(--surface,#fff));--ra-border:var(--border,var(--line,#e8e5df));--ra-accent:var(--primary,var(--gold,#80601e));--ra-soft:var(--accent,var(--soft,#f4eddf));--ra-focus:var(--ring,var(--focus,#98742a));min-width:0;color:var(--ra-text)}
.request-availability-controls{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:end;gap:8px}
.request-availability-controls>label{display:grid;gap:5px;min-width:0;margin:0;color:var(--ra-text);font-size:12px;font-weight:500;line-height:1.4}
.request-availability-controls input,.request-availability-controls select{box-sizing:border-box;display:block;min-width:0;width:100%;height:42px;min-height:42px;margin:0;padding:8px 9px;border:1px solid var(--ra-border);border-radius:7px;background:var(--ra-surface);color:var(--ra-text);font-family:inherit;font-size:16px;font-weight:400;line-height:1.25}
.request-availability .request-availability-remove:hover:not(:disabled){background:var(--ra-soft);color:var(--ra-text)}
.request-availability .request-availability-note{margin:7px 0 0;color:var(--ra-muted);font-size:12px;line-height:1.45}
.request-availability-choices{display:flex;flex-wrap:wrap;align-content:flex-start;gap:6px;max-height:130px;overflow-y:auto;overscroll-behavior:contain;list-style:none;margin:10px 0 0;padding:1px}
.request-availability-choices>li{display:flex;align-items:center;justify-content:space-between;gap:8px;max-width:100%;min-height:36px;margin:0;padding:0 0 0 10px;border:1px solid var(--ra-border);border-radius:7px;background:var(--ra-surface);color:var(--ra-text);font-size:12px;line-height:1.4}
.request-availability-choices>li>span{min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.request-availability .request-availability-remove{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;min-width:36px;height:36px;min-height:36px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:var(--ra-muted);font:inherit;font-size:20px;line-height:1;cursor:pointer}
.request-availability button:disabled,.request-availability input:disabled,.request-availability select:disabled{opacity:.55;cursor:not-allowed}
.request-availability button:focus-visible,.request-availability input:focus-visible,.request-availability select:focus-visible{outline:2px solid var(--ra-focus);outline-offset:2px}
.request-availability-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:420px){.request-availability-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.request-availability-choices{max-height:122px}.request-availability-choices>li{width:100%}}

.request-creator-picker{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--foreground)}
.request-creator-picker>label{font-size:12px;font-weight:500}
.request-creator-picker-field{position:relative;min-width:0}
.request-creator-picker .request-creator-picker-field>input{display:block;width:100%;min-width:0;min-height:40px;padding:9px 34px 9px 11px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);font:inherit;font-size:13px}
.request-creator-picker-field>input::placeholder{color:var(--muted-foreground)}
.request-creator-picker-field>input:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.request-creator-picker-field>input:disabled{cursor:not-allowed;opacity:.6}
.request-creator-picker-field>svg{position:absolute;right:11px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--muted-foreground)}
.request-creator-picker-options{position:absolute;z-index:20;top:calc(100% + 4px);left:0;right:0;max-height:180px;overflow-y:auto;overscroll-behavior:contain;padding:4px;border:1px solid var(--border);border-radius:7px;background:var(--card);color:var(--foreground);box-shadow:0 8px 24px rgb(0 0 0 / .15)}
.request-creator-picker .request-creator-picker-options>[role=option]{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:36px;padding:8px;border:0;border-radius:4px;background:transparent;color:var(--foreground);font:inherit;font-size:13px;font-weight:400;text-align:left;cursor:pointer}
.request-creator-picker-options>[role=option]>span{min-width:0;overflow-wrap:anywhere}
.request-creator-picker-options>[role=option]>svg{flex:none;color:var(--primary)}
.request-creator-picker .request-creator-picker-options>[role=option]:hover,.request-creator-picker .request-creator-picker-options>[role=option][data-active=true]{background:var(--muted);color:var(--foreground)}
.request-creator-picker-options>p{margin:0;padding:10px 8px;color:var(--muted-foreground);font-size:12px;line-height:1.5}
.request-creator-picker-field:has(>input:disabled)>.request-creator-picker-options{display:none}
@media(max-width:600px){.request-creator-picker .request-creator-picker-field>input{font-size:16px;min-height:42px}.request-creator-picker .request-creator-picker-options>[role=option]{min-height:40px}}

.planned-battle-warnings{--pbw-color:#865e18;--pbw-background:#faf3e4;--pbw-border:#ead8b2;margin:14px 0;padding:13px 14px;border:1px solid var(--pbw-border);border-radius:9px;background:var(--pbw-background);color:var(--foreground);min-width:0;line-height:1.5}
.dark .planned-battle-warnings{--pbw-color:#edc67d;--pbw-background:#302b21;--pbw-border:#5a4930}
.planned-battle-warnings .pbw-heading{display:flex;align-items:center;gap:7px;margin:0 0 11px;color:var(--pbw-color)}
.planned-battle-warnings .pbw-heading>strong{font-size:12px;line-height:1.5;font-weight:600}
.planned-battle-warnings .pbw-heading>svg{flex:none}
.planned-battle-warnings .pbw-list{display:grid;gap:11px;list-style:none;margin:0;padding:0}
.planned-battle-warnings .pbw-list>.pbw-row{display:grid;grid-template-columns:124px minmax(0,1fr);align-items:start;gap:9px;border:0;padding:0;margin:0;font-size:12px;line-height:1.5;min-width:0}
.planned-battle-warnings .pbw-kind{display:inline-flex;align-items:center;gap:5px;padding:2px 0;font-size:11px;line-height:1.5;color:var(--pbw-color)}
.planned-battle-warnings .pbw-kind:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor;flex:none}
.planned-battle-warnings .pbw-details{min-width:0;overflow-wrap:anywhere}
.planned-battle-warnings .pbw-schedule{font-size:12px;color:var(--foreground)}
.planned-battle-warnings .pbw-schedule>strong{display:inline;font-size:12px;font-weight:600}
.planned-battle-warnings .pbw-details>small{display:block;margin:2px 0 0;font-size:11px;line-height:1.5;color:var(--muted-foreground)}
.planned-battle-warnings .pbw-advice{margin:12px 0 0;padding:10px 0 0;border-top:1px solid var(--pbw-border);font-size:12px;line-height:1.5;color:var(--muted-foreground)}
.planned-battle-warnings .pbw-more,.planned-battle-warnings .pbw-retry{display:inline-flex;align-items:center;justify-content:flex-start;gap:5px;min-height:32px;margin:8px 0 0;padding:4px 0;border:0;border-radius:4px;background:transparent;color:var(--pbw-color);font:inherit;font-size:12px;font-weight:500;cursor:pointer;box-shadow:none}
.planned-battle-warnings .pbw-more:hover,.planned-battle-warnings .pbw-retry:hover{background:transparent;color:var(--foreground);text-decoration:underline;text-underline-offset:3px}
.planned-battle-warnings .pbw-more:focus-visible,.planned-battle-warnings .pbw-retry:focus-visible{outline:2px solid var(--ring);outline-offset:3px}
.planned-battle-warnings .pbw-more[aria-expanded=true]>svg{transform:rotate(180deg)}
.planned-battle-warnings .pbw-error{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
.planned-battle-warnings .pbw-error>p,.planned-battle-warnings .pbw-checking{margin:0;font-size:12px;line-height:1.5;color:var(--muted-foreground);overflow-wrap:anywhere}
.planned-battle-warnings .pbw-retry{flex:none;margin:-4px 0 0}
.planned-battle-warnings.pbw-loading{border-color:var(--border);background:var(--muted)}
.planned-battle-warnings.pbw-loading .pbw-heading{color:var(--muted-foreground);margin-bottom:4px}
@media(max-width:520px){.planned-battle-warnings{padding:11px 12px;margin:12px 0}.planned-battle-warnings .pbw-heading{margin-bottom:9px}.planned-battle-warnings .pbw-list{gap:10px}.planned-battle-warnings .pbw-list>.pbw-row{grid-template-columns:minmax(0,1fr);gap:2px}.planned-battle-warnings .pbw-kind{padding:0}.planned-battle-warnings .pbw-advice{padding-top:9px;margin-top:10px}}
@media(pointer:coarse){.planned-battle-warnings .pbw-more,.planned-battle-warnings .pbw-retry{min-height:40px}}

/* Incoming approvals keep the decision together; supporting details stay available below it. */
.msc-request-incoming-approval .msc-battle-approval{margin:0;padding:0;border:0;border-radius:0;background:transparent}
.msc-request-incoming-approval .msc-battle-approval>h4{font-size:13px;line-height:1.4}
.msc-request-incoming-approval .msc-battle-approval>.msc-requested-by{margin-top:7px;font-size:11px}
.msc-request-incoming-approval .msc-battle-approval>p{margin:7px 0;line-height:1.45}
.msc-request-incoming-approval .msc-battle-approval .msc-approval-managers{margin:10px 0 0}
.msc-request-incoming-approval .msc-battle-approval .msc-approval-managers>li{padding:7px 0;gap:10px;line-height:1.4}
.msc-request-incoming-approval .msc-battle-approval>.msc-approval-hint{font-size:11px}
.msc-request-incoming-approval .msc-battle-approval>.msc-request-actions{position:sticky;bottom:-14px;z-index:1;margin:10px 0 0;padding:10px 0;border-top:1px solid var(--border);background:var(--card);gap:8px}
.msc-request-incoming-approval .msc-creator-request>.msc-request-actions:empty{display:none}
.msc-request-incoming-approval .msc-approval-additional-info{margin-top:3px;border-top:1px solid var(--border)}
.msc-request-incoming-approval .msc-approval-additional-info>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;list-style:none;color:var(--muted-foreground);font-size:12px;font-weight:500;cursor:pointer}
.msc-request-incoming-approval .msc-approval-additional-info>summary::-webkit-details-marker{display:none}
.msc-request-incoming-approval .msc-approval-additional-info[open]>summary>svg{transform:rotate(180deg)}
.msc-request-incoming-approval .msc-approval-additional-info .msc-request-created{margin:6px 0 10px;line-height:1.5}
.msc-request-incoming-approval .msc-approval-additional-info dl{margin:8px 0}
.msc-request-incoming-approval .msc-approval-additional-info .msc-request-notes{margin-top:10px}
@media(max-width:600px){
 .msc-request-dialog.msc-request-details-dialog.msc-request-incoming-approval{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}
 .msc-request-incoming-approval>.tsc-registration-dialog-heading{padding:14px 16px}
 .msc-request-incoming-approval .msc-request-details-heading h2{font-size:18px}
 .msc-request-incoming-approval>.msc-request-details-body{padding:14px 16px}
 .msc-request-incoming-approval .planned-battle-warnings{margin:10px 0}
 .msc-request-incoming-approval .planned-battle-warnings .pbw-list{gap:8px}
 .msc-request-incoming-approval .planned-battle-warnings .pbw-list>.pbw-row{gap:1px}
 .msc-request-incoming-approval .msc-battle-approval .msc-approval-managers>li{flex-wrap:nowrap}
 .msc-request-incoming-approval .msc-battle-approval>.msc-request-actions>button{min-height:40px}
}

.mdr-review{min-width:0;border:1px solid var(--border,#d8dce3);border-radius:9px;padding:14px;background:var(--card,var(--background,#fff));color:var(--foreground,#17212f)}
.mdr-review>header{display:flex;justify-content:space-between;align-items:baseline;gap:8px 18px;flex-wrap:wrap}.mdr-review h3{margin:0;font-size:15px;line-height:1.5}.mdr-review>header>span,.mdr-review>p{font-size:12px;line-height:1.5;color:var(--muted-foreground,#657184)}.mdr-review>p{margin:6px 0 0}.mdr-review .mdr-count{margin-top:13px;font-size:11px}.mdr-review .mdr-empty{margin-top:12px}
.mdr-items{display:grid;gap:9px;list-style:none;margin:9px 0 0;padding:0;min-width:0}.mdr-items>li{min-width:0}.mdr-items details{min-width:0;border:1px solid var(--border,#d8dce3);border-radius:7px;overflow:hidden}.mdr-items summary{display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 11px;box-sizing:border-box;cursor:pointer;list-style:none;font-size:12px;line-height:1.5;background:var(--muted,#f3f5f7)}.mdr-items summary::-webkit-details-marker{display:none}.mdr-items summary::marker{content:''}.mdr-items summary>strong{min-width:0;overflow-wrap:anywhere}.mdr-items summary>span{margin-left:auto;white-space:nowrap;color:var(--muted-foreground,#657184);font-size:11px}.mdr-items summary>svg{flex-shrink:0;color:var(--muted-foreground,#657184);transform:rotate(-90deg)}.mdr-items details[open]>summary>svg{transform:none}.mdr-items summary:focus-visible{outline:2px solid var(--primary,#3768b2);outline-offset:-3px}
.mdr-items dl{display:grid;gap:0;margin:0;padding:0 11px}.mdr-items dl>div{padding:10px 0;min-width:0}.mdr-items dl>div+div{border-top:1px solid var(--border,#d8dce3)}.mdr-items dt{font-size:11px;font-weight:600;margin-bottom:6px}.mdr-items dd{display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);gap:10px;align-items:center;margin:0;font-size:12px;line-height:1.5}.mdr-items dd>span{min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}.mdr-items dd>svg{color:var(--muted-foreground,#657184)}.mdr-items small{display:block;font-size:10px;color:var(--muted-foreground,#657184);margin-bottom:2px}
@media(max-width:500px){.mdr-review{padding:11px}.mdr-items summary{padding:8px 9px}.mdr-items dl{padding:0 9px}.mdr-items dd{gap:7px;font-size:11px}.mdr-items summary>span{font-size:10px}.mdr-review>header>span{font-size:11px}}
@media(pointer:coarse){.mdr-items summary{min-height:44px}}
.md-panel{display:grid;gap:13px;min-width:0;margin:15px 0;padding:15px;border:1px solid color-mix(in srgb,var(--primary,#3768b2) 28%,var(--border,#d8dce3));border-radius:9px;background:color-mix(in srgb,var(--primary,#3768b2) 4%,var(--card,var(--background,#fff)));scroll-margin-top:18px}
.md-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px 18px;flex-wrap:wrap;min-width:0}.md-panel-heading>div{min-width:0;flex:1 1 220px}.md-panel-heading h3{margin:0;font-size:15px;line-height:1.5}.md-panel-heading p,.md-publish p{margin:4px 0 0;font-size:12px;line-height:1.6;color:var(--muted-foreground,#657184);overflow-wrap:anywhere}.md-panel>p{margin:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.md-panel-actions,.md-publish{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.md-panel-actions>button,.md-publish>button{min-height:34px;max-width:100%;padding:7px 10px;font-size:12px;white-space:normal;line-height:1.4}.md-publish{justify-content:space-between;padding-top:3px}.md-publish p{margin:0;flex:1 1 220px}.md-publish>button{flex-shrink:0}
.md-changes-filter{display:inline-flex;align-items:center;gap:8px;min-width:0;min-height:34px;font-size:12px;line-height:1.5;cursor:pointer}.md-changes-filter>input{flex:0 0 16px;width:16px;height:16px;margin:0;accent-color:var(--primary,#3768b2)}
.md-change-badge{display:inline-flex;align-items:center;align-self:flex-start;max-width:100%;padding:3px 7px;border:1px solid #c59c424d;border-radius:5px;background:color-mix(in srgb,#c59c42 12%,var(--card,var(--background,#fff)));color:var(--foreground,#17212f);font-size:10px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}.tb-match.tb-match--draft{border-color:#c59c42;box-shadow:inset 3px 0 0 #c59c42}.tb-match-title>.md-change-badge{margin-top:4px}
@media(max-width:500px){.md-panel{padding:11px;gap:11px}.md-panel-heading{gap:7px 10px}.md-panel-heading>div{flex-basis:185px}.md-panel-heading h3{font-size:14px}.md-panel-heading p,.md-publish p{font-size:11px}.md-panel-actions{gap:7px}.md-panel-actions>button,.md-publish>button{font-size:11px}.md-publish{gap:9px}.md-publish p{flex-basis:100%}}
@media(pointer:coarse){.md-panel-actions>button,.md-publish>button,.md-changes-filter{min-height:44px}}

.tournament-builder .md-changes-filter{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;color:var(--foreground);gap:8px}.tournament-builder .md-changes-filter>input{width:16px;height:16px;min-height:16px;padding:0;flex:0 0 16px}.md-directory-filter{margin:4px 0 16px}

.md-dialog{width:min(820px,calc(100vw - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;margin:auto;padding:0;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--foreground);overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 80px #0009}.md-dialog::backdrop{background:#000b}.md-dialog-heading{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 18px;background:var(--card);border-bottom:1px solid var(--border)}.md-dialog-heading h2{margin:0;font-size:19px;line-height:1.4;outline:none}.md-dialog-heading p{margin:5px 0 0;color:var(--muted-foreground);font-size:12px;overflow-wrap:anywhere}.md-dialog-heading>div{min-width:0}.md-dialog-heading>button{flex-shrink:0}.md-dialog-body{display:grid;gap:14px;padding:16px 18px;min-width:0}.md-dialog-footer{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 18px;background:var(--card);border-top:1px solid var(--border)}.md-dialog-footer p{flex:1 1 240px;margin:0;color:var(--muted-foreground);font-size:12px;line-height:1.5}.md-dialog-footer>div{display:flex;gap:8px;flex-wrap:wrap}.md-dialog-warning{margin:0;padding:10px;border:1px solid var(--destructive);border-radius:7px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.md-dialog :is(button,summary):focus-visible{outline:2px solid var(--primary);outline-offset:2px}.md-dialog button{min-height:36px;font-size:12px;padding:7px 12px}@media(max-width:500px){.md-dialog-heading,.md-dialog-body,.md-dialog-footer{padding:12px}.md-dialog-heading h2{font-size:17px}.md-dialog-footer p{flex-basis:100%}}@media(pointer:coarse){.md-dialog button{min-height:44px}}

.msc-request-row-shell{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0;background:var(--msc-panel)}
.msc-request-row-shell+.msc-request-row-shell{border-top:1px solid var(--msc-border)}
.msc-request-row-shell>.msc-cancel-request{margin:10px 14px 10px 0}
.msc-cancel-request{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 10px;border:1px solid var(--msc-border);border-radius:6px;background:var(--msc-panel);color:var(--msc-muted);font:inherit;font-size:11px;line-height:1.4;cursor:pointer}
.msc-cancel-request:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.msc-cancel-request:disabled{opacity:.55;cursor:default}
.msc-cancel-request:hover:not(:disabled){color:var(--destructive,#bd4747);border-color:var(--destructive,#bd4747)}
.msc-request-list-heading.has-cancel{padding-right:145px}
.msc-cancel-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--msc-border);border-radius:12px;background:var(--msc-panel,var(--background));color:var(--foreground);box-shadow:0 20px 80px #0005;overflow:auto}
.msc-cancel-dialog::backdrop{background:#0009}
.msc-cancel-dialog>header,.msc-cancel-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px}
.msc-cancel-dialog>header{border-bottom:1px solid var(--msc-border)}
.msc-cancel-dialog h2{font-size:18px;line-height:1.4;margin:0}
.msc-cancel-dialog h2:focus{outline:none}
.msc-cancel-dialog button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:8px 12px;border:1px solid var(--msc-border);border-radius:6px;background:var(--msc-panel,var(--background));color:var(--foreground);font:inherit;font-size:12px;cursor:pointer}
.msc-cancel-dialog button:disabled{opacity:.55;cursor:default}
.msc-cancel-dialog button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.msc-cancel-dialog-body{padding:18px 20px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.msc-cancel-dialog-body>p{margin:14px 0 0}
.msc-cancel-summary{border:1px solid var(--msc-border);border-radius:8px;padding:12px 14px;background:var(--muted)}
.msc-cancel-summary h3{font-size:14px;line-height:1.5;margin:0 0 5px}
.msc-cancel-summary p{margin:3px 0;color:var(--msc-muted);white-space:pre-line}
.msc-cancel-dialog>footer{justify-content:flex-end;border-top:1px solid var(--msc-border)}
.msc-cancel-dialog .msc-cancel-request-confirm{background:var(--destructive,#bd4747);border-color:var(--destructive,#bd4747);color:#fff}
@media(max-width:900px){.msc-request-row-shell>.msc-cancel-request{font-size:10px;padding-inline:7px;margin-right:10px}}
@media(max-width:600px){.msc-request-row-shell{grid-template-columns:minmax(0,1fr)}.msc-request-row-shell>.msc-cancel-request{justify-self:end;margin:-2px 12px 12px;font-size:11px}.msc-cancel-request,.msc-request-row-shell>.msc-cancel-request,.msc-cancel-dialog button{min-height:44px}.msc-cancel-dialog>header,.msc-cancel-dialog>footer{padding:14px}.msc-cancel-dialog-body{padding:16px}.msc-cancel-dialog>footer{gap:8px}}
@media(pointer:coarse){.msc-cancel-request,.msc-request-row-shell>.msc-cancel-request,.msc-cancel-dialog button{min-height:44px}}

/* A chronological message feed, scoped away from battle history and Home. */
.stream-activity-page{min-width:0}
.stream-activity-page .sa-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.stream-activity-page .sa-heading>div{min-width:0}
.stream-activity-page .sa-heading h2{margin:0;font-size:20px;font-weight:500;line-height:1.4;letter-spacing:-.015em}
.stream-activity-page .sa-heading p{margin:3px 0 0;color:var(--muted-foreground);font-size:13px;line-height:1.5}
.stream-activity-page .sa-sound-status{display:inline-flex;align-items:center;gap:5px;max-width:100%;color:var(--muted-foreground);font-size:12px;line-height:1.5}
.stream-activity-page .sa-sound-status svg{width:15px;height:15px;flex:none}
.stream-activity-page .sa-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px 12px;flex-wrap:wrap;margin:0 0 10px}
.stream-activity-page .sa-search{display:flex;flex:1 1 260px;align-items:center;gap:9px;min-width:0;max-width:420px;min-height:40px;margin:0;padding:0 11px;border:1px solid var(--input);border-radius:8px;background:var(--card);color:var(--muted-foreground)}
.stream-activity-page .sa-search:focus-within{outline:2px solid var(--ring);outline-offset:2px}
.stream-activity-page .sa-search>svg{width:17px;height:17px;flex:none}
.stream-activity-page .sa-search input{min-width:0;min-height:38px;margin:0;padding:7px 0;border:0;border-radius:0;background:transparent;color:var(--foreground);font-size:14px;box-shadow:none;outline:none}
.stream-activity-page .sa-search input::-webkit-search-cancel-button{display:none}
.stream-activity-page .sa-search>button{flex:none;min-width:28px;min-height:28px;padding:4px;border:0;border-radius:4px;background:transparent;color:var(--muted-foreground)}
.stream-activity-page .sa-search>button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.stream-activity-page .sa-kind-filters{display:flex;align-items:center;gap:5px;min-width:0;flex-wrap:wrap}
.stream-activity-page .sa-kind-filters button{min-height:34px;gap:6px;padding:6px 10px;border:1px solid var(--border);border-radius:7px;background:var(--card);color:var(--muted-foreground);font-size:13px;font-weight:400;white-space:nowrap}
.stream-activity-page .sa-kind-filters button>span{font-size:12px;font-variant-numeric:tabular-nums}
.stream-activity-page .sa-kind-filters button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}
.stream-activity-page .sa-kind-filters button[aria-pressed="true"]{border-color:var(--primary);background:var(--accent);color:var(--accent-foreground);font-weight:500}
.stream-activity-page .sa-result-status{display:flex;align-items:center;justify-content:space-between;gap:6px 10px;flex-wrap:wrap;margin:0 0 14px;color:var(--muted-foreground);font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}
.stream-activity-page .sa-result-status>button{min-height:28px;padding:3px 8px;border:1px solid var(--border);border-radius:5px;background:var(--card);color:var(--foreground);font-size:12px;font-weight:400}
.stream-activity-page .sa-result-status>button:hover:not(:disabled){background:var(--muted)}
.stream-activity-page .sa-days,.stream-activity-page .sa-events{margin:0;padding:0;list-style:none}
.stream-activity-page .sa-day+.sa-day{margin-top:18px}
.stream-activity-page .sa-day-heading{margin:0;padding:0 0 7px;border-bottom:1px solid var(--border);color:var(--muted-foreground);font-size:13px;font-weight:500;line-height:1.5}
.stream-activity-page .sa-event{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:start;gap:10px;padding:11px 0;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;min-width:0}
.stream-activity-page .sa-event-icon{display:grid;place-items:center;align-self:start;width:32px;height:32px;flex:none;margin-top:1px;background:transparent;color:var(--muted-foreground);overflow:hidden}
.stream-activity-page .sa-event-icon>svg{width:17px;height:17px}
.stream-activity-page .sa-event-icon .activity-gift-image{display:block;width:30px;height:30px;padding:0;object-fit:contain}
.stream-activity-page .sa-event-body{min-width:0}
.stream-activity-page .sa-message-line{position:relative;min-width:0;margin:0;color:var(--foreground);font-size:14px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
.stream-activity-page .sa-message-line .gifter-level-badge{display:inline-flex;vertical-align:middle;margin-right:5px}
.stream-activity-page .sa-gifter-name{font-weight:500}
.stream-activity-page .sa-creator-name{color:var(--foreground);font-weight:500;text-decoration:none;overflow-wrap:anywhere}
.stream-activity-page .sa-creator-name:hover{text-decoration:underline}
.stream-activity-page .sa-message-detail{display:flex;align-items:baseline;gap:5px 12px;flex-wrap:wrap;min-width:0;margin-top:3px;line-height:1.5}
.stream-activity-page .sa-gift-name{min-width:0;color:var(--muted-foreground);font-size:13px;overflow-wrap:anywhere}
.stream-activity-page .sa-diamonds{display:inline-flex;align-items:center;gap:4px;max-width:100%;color:var(--primary);font-size:13px;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.stream-activity-page .sa-diamonds>svg{width:13px;height:13px;flex:none}
.stream-activity-page .sa-event-time{align-self:start;margin-top:2px;color:var(--muted-foreground);font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums;white-space:nowrap}
.stream-activity-page .sa-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:6px 14px;flex-wrap:wrap;margin-top:14px;color:var(--muted-foreground);font-size:12px;line-height:1.5}
.stream-activity-page .sa-footer>span{display:inline-flex;align-items:center;min-height:32px}
.stream-activity-page .sa-notes{margin:0;color:var(--muted-foreground);font-size:12px;line-height:1.6}
.stream-activity-page .sa-notes[open]{flex-basis:100%}
.stream-activity-page .sa-notes>summary{width:fit-content;min-height:32px;padding:5px 0;cursor:pointer}
.stream-activity-page .sa-notes p{margin:6px 0;max-width:900px}
.stream-activity-page .sa-notes a{overflow-wrap:anywhere}
.stream-activity-page .sa-empty{padding:32px 16px;text-align:center;color:var(--muted-foreground)}
.stream-activity-page .sa-empty>svg{width:25px;height:25px;display:block;margin:0 auto 10px;color:var(--muted-foreground)}
.stream-activity-page .sa-empty h3{margin:0 0 6px;color:var(--foreground);font-size:17px;font-weight:500;line-height:1.4}
.stream-activity-page .sa-empty p{margin:0;font-size:13px;line-height:1.6}
.stream-activity-page .sa-empty button{min-height:36px;margin-top:12px;padding:6px 12px;border:1px solid var(--border);background:var(--card);color:var(--foreground);font-size:13px}
.stream-activity-page .sa-empty button:hover:not(:disabled){background:var(--muted)}
@media(max-width:760px){
 .stream-activity-page .sa-heading{gap:7px;margin-bottom:12px}
 .stream-activity-page .sa-heading h2{font-size:18px}
 .stream-activity-page .sa-heading p{font-size:12px}
 .stream-activity-page .sa-sound-status{font-size:11px}
 .stream-activity-page .sa-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-bottom:8px}
 .stream-activity-page .sa-search{width:100%;max-width:none;min-height:44px;gap:8px}
 .stream-activity-page .sa-search input{min-height:44px;font-size:16px}
 .stream-activity-page .sa-search>button{min-width:44px;min-height:44px;margin-right:-8px}
 .stream-activity-page .sa-kind-filters{gap:5px}
 .stream-activity-page .sa-kind-filters button{min-height:44px;padding:7px 9px;font-size:12px;gap:5px}
 .stream-activity-page .sa-kind-filters button>span{font-size:11px}
 .stream-activity-page .sa-result-status{margin-bottom:12px;font-size:11px}
 .stream-activity-page .sa-result-status>button{min-height:44px}
 .stream-activity-page .sa-day+.sa-day{margin-top:16px}
 .stream-activity-page .sa-day-heading{padding-bottom:6px;font-size:12px}
 .stream-activity-page .sa-event{grid-template-columns:28px minmax(0,1fr);gap:0 9px;padding:9px 0}
 .stream-activity-page .sa-event-icon{grid-column:1;grid-row:1/3;width:28px;height:28px;margin-top:8px}
 .stream-activity-page .sa-event-icon .activity-gift-image{width:28px;height:28px}
 .stream-activity-page .sa-event-body{display:contents}
 .stream-activity-page .sa-message-line{grid-column:2;grid-row:1;min-height:44px;font-size:14px;line-height:1.5}
 .stream-activity-page .sa-message-line .gifter-level-badge{margin-right:1px}
 .stream-activity-page .sa-creator-name:after{content:'';position:absolute;inset:0}
 .stream-activity-page .sa-message-detail{grid-column:2;grid-row:2;align-self:start;gap:3px 10px;min-height:20px;margin-top:1px;padding-right:62px}
 .stream-activity-page .sa-gift-name,.stream-activity-page .sa-diamonds{font-size:13px}
 .stream-activity-page .sa-event-time{grid-column:2;grid-row:2;justify-self:end;align-self:start;margin:1px 0 0;font-size:11px;line-height:1.7}
 .stream-activity-page .sa-event[data-kind="stream_start"] .sa-event-icon{grid-row:1}
 .stream-activity-page .sa-event[data-kind="stream_start"] .sa-message-line{padding-right:62px}
 .stream-activity-page .sa-event[data-kind="stream_start"] .sa-event-time{grid-row:1;align-self:center;position:static;line-height:1.5}
 .stream-activity-page .sa-notes>summary,.stream-activity-page .sa-empty button{min-height:44px}
 .stream-activity-page .sa-empty{padding:26px 12px}
}
@media(max-width:380px){
 .stream-activity-page .sa-heading{flex-direction:column;align-items:flex-start}
 .stream-activity-page .sa-kind-filters button{padding-inline:8px;gap:4px}
 .stream-activity-page .sa-event{column-gap:8px}
}
@media(pointer:coarse){
 .stream-activity-page .sa-search>button{min-width:44px;min-height:44px;margin-right:-8px}
 .stream-activity-page .sa-search input{min-height:44px;font-size:16px}
 .stream-activity-page .sa-message-line{min-height:44px}
 .stream-activity-page .sa-creator-name:after{content:'';position:absolute;inset:0}
 .stream-activity-page .sa-kind-filters button,.stream-activity-page .sa-notes>summary,.stream-activity-page .sa-empty button,.stream-activity-page .sa-result-status>button{min-height:44px}
}

.new-event-picker{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--colorNeutralStroke2,#ddd);border-radius:var(--borderRadiusXLarge,12px);background:var(--colorNeutralBackground1,#fff);color:var(--colorNeutralForeground1,#242424)}
.new-event-picker>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}
.new-event-picker h2{margin:0 0 6px;font-size:var(--fontSizeBase500,20px)}
.new-event-picker p{margin:0;color:var(--colorNeutralForeground2,#616161)}
.new-event-picker h3{margin:24px 0 12px;font-size:var(--fontSizeBase400,16px)}
.new-event-options{display:grid;gap:10px}
.new-event-options>button{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;white-space:normal;text-align:left;width:100%;padding:12px 16px;min-height:64px;border-radius:var(--borderRadiusMedium,4px)}
.new-event-options .new-event-option-icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:28px;color:var(--colorBrandForeground1,#b99a45)}
.new-event-option-icon svg{width:24px;height:24px}
.new-event-option-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.new-event-options>button strong{font-size:var(--fontSizeBase300,14px)}
.new-event-option-copy>span{font-size:var(--fontSizeBase200,12px);font-weight:var(--fontWeightRegular,400);color:var(--colorNeutralForeground2,#616161)}
@media(max-width:480px){.new-event-picker{padding:18px}.new-event-picker>header{gap:10px}.new-event-options>button{padding:12px}}
