:root{color-scheme:light;--paper:#eff3ec;--surface:#fffefa;--ink:#192d25;--soft-ink:#53645a;--line:#d5dfd4;--inset:#e5ece2;--forest:#193f32;--stage-ink:#f5f8ea;--stage-soft:#c1d3be;--lime:#d2ed86;--action:#23523f;--action-ink:#ffffff;--danger:#ad343c;--danger-bg:#fce9e7;--focus:#507a36;--shadow:0 16px 48px #142e2529;--radius:14px;--unit:4px;font-family:'Segoe UI Variable','Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif;font-size:15px;line-height:1.45;background:var(--paper);color:var(--ink)}
body[data-theme=dark]{color-scheme:dark;--paper:#101a16;--surface:#18251f;--ink:#eff4e7;--soft-ink:#b5c4b6;--line:#34453a;--inset:#202f26;--forest:#214c3b;--stage-ink:#f4f8e7;--stage-soft:#ccdcc4;--lime:#d2ed86;--action:#d2ed86;--action-ink:#193020;--danger:#ff9b9d;--danger-bg:#3a2022;--focus:#d2ed86;--shadow:0 16px 48px #0008}
body{background:var(--paper);color:var(--ink)}
*{box-sizing:border-box}body{margin:0;min-width:280px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;color:inherit;background:transparent;touch-action:manipulation}button:disabled{cursor:default;opacity:.46}button:not(:disabled):active{transform:translateY(1px)}button,a,input,select{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--focus)}input,select{color:var(--ink);background:var(--inset);border:1px solid transparent;border-radius:10px;min-height:48px;padding:10px 12px;min-width:0;caret-color:var(--action)}input::placeholder{color:var(--soft-ink);opacity:1}input:focus,select:focus{border-color:var(--focus)}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}h1,h2,h3,p{margin:0}h1{font-size:24px;line-height:1.2;letter-spacing:-.025em;font-weight:650}h2{font-size:22px;line-height:1.25;letter-spacing:-.02em;font-weight:650}h3{font-size:18px;font-weight:650}a{color:var(--action);text-underline-offset:3px}::selection{color:var(--ink);background:var(--lime)}[hidden]{display:none!important}*{scrollbar-width:thin;scrollbar-color:var(--line) transparent}*::-webkit-scrollbar{width:6px}*::-webkit-scrollbar-thumb{background:var(--line);border-radius:6px}
.app-shell{max-width:1104px;margin:auto;height:100dvh;min-height:440px;display:flex;flex-direction:column;padding:0 36px}.app-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 0;flex:none}.brand{display:flex;align-items:baseline;gap:12px;text-decoration:none;color:var(--ink)}.brand b{font-size:27px;letter-spacing:-.04em;font-weight:850}.brand span{font-size:16px;color:var(--soft-ink)}.header-end{display:flex;align-items:center;gap:16px}.connection{font-size:12px;color:var(--soft-ink)}.icon-button{width:44px;height:44px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;flex:none}.icon-button:hover{background:var(--inset)}.icon-button svg{width:24px;height:24px}main{flex:1;min-height:0;display:flex;flex-direction:column}.queue-view{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.35fr);gap:32px;flex:1;min-height:0;padding:16px 0 0}.stage{background:var(--forest);color:var(--stage-ink);border-radius:var(--radius);align-self:start;overflow:hidden}.stage-current{padding:28px 28px 24px;min-height:218px;display:flex;flex-direction:column}.stage-label{display:flex;align-items:center;gap:9px;color:var(--stage-soft);font-size:14px;font-weight:500}.stage-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.stage .icon-button:hover{background:#ffffff14}.stage-name{font-size:clamp(36px,4.4vw,56px);font-weight:650;line-height:1.07;letter-spacing:-.035em;overflow-wrap:anywhere;margin:20px 0 14px}.stage-empty{font-size:32px;line-height:1.15;margin-top:24px}.stage-flags{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--stage-soft)}.stage-flags span,.row-flags span{display:inline-flex;align-items:center;gap:5px}.stage-flags svg{width:16px;height:16px}.stage-flags .privacy{color:#ffe0a3}.stage-next{padding:20px 28px 24px;border-top:1px solid #ffffff26}.next-label{color:var(--stage-soft);font-size:13px;margin-bottom:8px}.next-line{display:flex;gap:12px;justify-content:space-between;align-items:center}.next-name{font-size:26px;line-height:1.2;font-weight:550;overflow-wrap:anywhere;letter-spacing:-.02em}.next-line .privacy svg{color:#ffe0a3}.lineup{display:flex;flex-direction:column;min-height:0}.section-heading,.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none}.section-heading{padding:8px 0 20px}.section-heading p,.page-heading p{color:var(--soft-ink);font-size:13px;margin-top:6px}.small-button,.primary-button,.undo-button,.danger-button{min-height:44px;border-radius:10px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;line-height:1.2}.small-button{background:var(--inset);font-size:14px}.small-button:hover{filter:brightness(.97)}.primary-button{background:var(--action);color:var(--action-ink);min-height:48px}.primary-button:hover:not(:disabled){filter:brightness(1.06)}.queue-scroll{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding-right:6px}.queue-scroll ol,.guest-scroll ul{list-style:none;padding:0;margin:0}.queue-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.queue-number{font-size:14px;color:var(--soft-ink);font-variant-numeric:tabular-nums}.queue-name{font-size:18px;font-weight:550;line-height:1.25;overflow-wrap:anywhere}.row-flags{display:flex;flex-wrap:wrap;gap:8px;color:var(--soft-ink);font-size:12px;margin-top:5px}.row-flags svg{width:14px;height:14px}.queue-row.mine .queue-name{color:var(--action)}.mine-label{font-weight:500;font-size:12px;margin-left:6px;color:var(--soft-ink)}.row-actions{display:flex;gap:0}.row-actions .icon-button{width:38px;height:42px}.row-actions svg{width:17px;height:17px}.my-position{background:var(--inset);padding:12px 16px;border-radius:10px;font-size:14px;margin-bottom:8px}.my-position strong{font-weight:650}.control-dock{padding:24px 0 max(24px,env(safe-area-inset-bottom));flex:none}.host-controls{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:12px;max-width:100%}.next-button{min-height:56px;font-size:17px}.next-button svg{margin-left:auto;width:23px;height:23px}.next-button span{margin:auto}.undo-button{background:var(--inset);flex-direction:column;gap:3px;font-size:12px;padding:8px 12px}.undo-button svg{width:20px;height:20px}.guest-controls{padding:12px 0;color:var(--soft-ink);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.text-button{color:var(--action);padding:8px 0;font-weight:600;text-decoration:underline;text-underline-offset:3px}.empty{padding:28px 8px;color:var(--soft-ink);font-size:15px;line-height:1.6}.empty strong{display:block;font-size:19px;color:var(--ink);margin-bottom:6px}.loading{padding:32px;color:var(--stage-soft)}
.library-view,.reading-view{display:flex;flex-direction:column;flex:1;min-height:0;padding-top:16px}.page-heading{padding:8px 0 24px}.search-row{display:flex;gap:12px;padding-bottom:16px;flex:none}.search-field{display:flex;align-items:center;flex:1;min-width:0;background:var(--inset);border-radius:10px;padding:0 12px;gap:8px;color:var(--soft-ink)}.search-field input{padding:10px 0;border:0;flex:1;width:100%;outline-offset:5px}.search-field span{display:flex}.search-row select{max-width:150px}.guest-scroll{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0}.guest-row{padding:20px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;border-bottom:1px solid var(--line);align-items:center}.guest-name{font-size:20px;font-weight:600;overflow-wrap:anywhere}.guest-contact{font-size:14px;color:var(--soft-ink);margin-top:4px;overflow-wrap:anywhere}.guest-visit{font-size:12px;color:var(--soft-ink);margin-top:6px}.guest-actions{display:flex;align-items:center;gap:16px}.edit-button{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--action);min-height:44px;padding:0}.edit-button svg{width:16px;height:16px}.active-label{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--soft-ink)}.active-label svg{width:14px;height:14px}.reading-scroll{overflow:auto;flex:1;min-height:0;padding-right:12px;padding-bottom:24px}.rule{max-width:68ch;margin:0 0 32px}.rule h2{font-size:20px;margin-bottom:10px}.rule p{white-space:pre-line;line-height:1.65;color:var(--soft-ink)}.artist-list{columns:2;column-gap:40px;list-style:none;padding:0;margin:0 0 32px}.artist-list li{break-inside:avoid;padding:13px 0;border-bottom:1px solid var(--line);font-size:16px}
dialog{border:0;border-radius:16px;background:var(--surface);color:var(--ink);padding:24px;box-shadow:var(--shadow);max-height:calc(100dvh - 32px);max-width:calc(100vw - 32px)}dialog::backdrop{background:#101c1870}.dialog-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.dialog-heading .icon-button{margin:-6px -8px -6px 0}.menu-dialog{position:fixed;left:auto;right:max(16px,calc((100vw - 1032px)/2));top:max(16px,env(safe-area-inset-top));margin:0;width:336px}.menu-dialog nav{display:grid;gap:4px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;text-align:left;padding:10px 12px;border-radius:10px;font-size:16px}.nav-item[aria-current=page]{background:var(--inset);font-weight:600}.nav-item:hover{background:var(--inset)}.menu-settings{margin-top:20px;padding-top:24px;border-top:1px solid var(--line);display:grid;gap:24px}.setting p{color:var(--soft-ink);font-size:13px;margin-bottom:8px}.segments{display:flex;background:var(--inset);border-radius:10px;padding:4px;gap:4px}.segments button{flex:1;min-width:0;min-height:40px;padding:6px 9px;border-radius:7px;font-size:13px}.segments button[aria-pressed=true]{background:var(--surface);font-weight:650;color:var(--ink)}.theme-segments button{font-size:12px;padding:6px}.editor-dialog{width:448px;padding:24px}.editor-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 80px)}.form-body{display:grid;gap:20px;overflow:auto;padding:4px 4px 4px;margin:0 -4px}.form-body>label:not(.toggle-row){display:grid;gap:7px}.form-body label>span:first-child{font-size:14px;font-weight:550}.form-body input:not([type=checkbox]),.form-body select{width:100%;font-size:16px}.toggle-row{display:flex;align-items:center;gap:16px;position:relative;min-height:36px;cursor:pointer}.toggle-row>span:first-child{flex:1}.toggle-row input{position:absolute;right:0;opacity:0;width:44px;height:28px;margin:0;cursor:pointer}.toggle-track{width:44px;height:26px;border-radius:20px;background:var(--line);position:relative;flex:none;pointer-events:none}.toggle-track:after{content:'';position:absolute;width:18px;height:18px;left:4px;top:4px;border-radius:50%;background:var(--surface);transition:transform .15s ease-out}.toggle-row input:checked+.toggle-track{background:var(--action)}.toggle-row input:checked+.toggle-track:after{transform:translateX(18px);background:var(--action-ink)}.toggle-row input:focus-visible+.toggle-track{outline:2px solid var(--focus);outline-offset:3px}.toggle-row input:disabled+.toggle-track{opacity:.5}.field-note{font-size:12px;color:var(--soft-ink);margin-top:6px;line-height:1.5}.form-footer{display:flex;align-items:center;gap:20px;justify-content:space-between;padding-top:24px;flex:none}.form-footer .primary-button{margin-left:auto}.danger-link{color:var(--danger);font-size:13px;min-height:44px;text-align:left;padding:8px 0}.form-error{background:var(--danger-bg);color:var(--danger);padding:12px;border-radius:10px;font-size:14px}.confirm-dialog{width:380px}.confirm-dialog p{margin:12px 0 24px;line-height:1.6;color:var(--soft-ink)}.confirm-actions{display:flex;justify-content:flex-end;gap:12px}.danger-button{background:var(--danger);color:var(--surface)}.activation-dialog{width:420px}.activation-dialog p{line-height:1.65;color:var(--soft-ink)}.activation-dialog a{display:block;overflow-wrap:anywhere;margin:20px 0;font-size:14px}.activation-dialog .primary-button{width:100%}.toast{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:12px 20px;background:var(--ink);color:var(--paper);font-size:14px;border-radius:12px;box-shadow:var(--shadow);z-index:10;pointer-events:none}.error-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--danger-bg);color:var(--danger);border-radius:10px;font-size:13px;flex:none;margin-bottom:8px}.error-banner button{color:inherit;flex:none}.demo-bar{display:flex;align-items:center;gap:12px;justify-content:center;min-height:48px;padding:8px 16px;background:var(--inset);font-size:12px;flex-wrap:wrap}.demo-bar select{min-height:32px;padding:4px 8px;font-size:12px;background:var(--surface)}body[data-mode=preview] .app-shell{height:calc(100dvh - 48px)}
@media(min-width:760px){.control-dock{padding-left:calc((100% - 32px)*.413);}.control-dock:has(.guest-controls:not([hidden])){padding-left:0}.reading-view{max-width:800px;width:100%;margin:auto}.library-view .page-heading{padding-top:16px}}
@media(max-width:759px){.app-shell{padding:0 20px;min-height:440px}.app-header{padding:max(12px,env(safe-area-inset-top)) 0 16px}.brand b{font-size:24px}.brand span{font-size:14px}.header-end{gap:8px}.connection{font-size:12px}.queue-view{display:flex;flex-direction:column;gap:20px;padding-top:0}.stage{align-self:stretch;flex:none}.stage-current{padding:20px;min-height:160px}.stage-name{font-size:38px;margin:12px 0 10px;letter-spacing:-.03em}.stage-label{font-size:12px}.stage-top .icon-button{width:32px;height:32px;margin:-4px 0 -4px}.stage-top .icon-button svg{width:18px;height:18px}.stage-next{padding:14px 20px 16px}.next-label{font-size:12px;margin-bottom:5px}.next-name{font-size:23px}.stage-flags{font-size:12px}.lineup{flex:1;min-height:90px}.section-heading{padding:0 0 12px}.section-heading h1{font-size:20px}.section-heading p{font-size:12px;margin-top:4px}.section-heading .small-button{min-height:40px;padding:8px 12px;font-size:13px}.queue-row{padding:13px 0;gap:8px;grid-template-columns:28px minmax(0,1fr) auto}.queue-name{font-size:17px}.row-actions .icon-button{width:32px}.control-dock{padding:16px 0 max(16px,env(safe-area-inset-bottom));}.host-controls{grid-template-columns:minmax(0,1fr) 76px;gap:8px}.next-button{font-size:14px;min-height:54px;padding:10px 12px}.next-button svg{width:18px;height:18px}.undo-button{font-size:12px}.page-heading{padding:8px 0 20px}.page-heading h1{font-size:25px}.page-heading .primary-button{font-size:13px;padding:10px 12px}.search-row{gap:8px}.search-row select{max-width:118px;font-size:13px;padding:8px}.guest-row{padding:16px 0;gap:12px}.guest-name{font-size:18px}.guest-contact{font-size:13px}.guest-actions{align-items:flex-end;flex-direction:column;gap:4px}.guest-actions .small-button{font-size:12px;padding:8px 10px;min-height:38px}.edit-button{font-size:12px;min-height:36px}.artist-list{columns:1}.menu-dialog{right:12px;top:12px}.editor-dialog{padding:20px;width:calc(100vw - 24px);max-width:448px}.editor-dialog form{max-height:calc(100dvh - 72px)}.dialog-heading{margin-bottom:16px}.form-body{gap:16px}.form-footer{padding-top:20px}.demo-bar{gap:6px;font-size:12px;padding:6px 10px;min-height:48px}.demo-bar select{font-size:12px;padding:4px;max-width:140px}}
@media(max-width:359px){.app-shell{padding:0 14px}.header-end .connection{display:none}.stage-current{padding:16px;min-height:148px}.stage-next{padding:12px 16px}.stage-name{font-size:32px}.stage-flags{gap:6px}.queue-view{gap:16px}.next-button{font-size:12px}.host-controls{grid-template-columns:minmax(0,1fr) 66px}.queue-name{font-size:16px}.search-row{flex-wrap:wrap}.search-field{flex-basis:100%}.search-row select{max-width:none;min-height:40px;padding:7px 12px}.page-heading h1{font-size:23px}.guest-row{grid-template-columns:minmax(0,1fr) 108px}.edit-button{font-size:12px}.menu-dialog{padding:20px}}
body[data-mode=preview]{height:100dvh;display:flex;flex-direction:column}body[data-mode=preview] .app-shell{width:100%;height:auto;min-height:0;flex:1}.demo-bar{flex:none}.next-name{display:block;margin-top:4px}.stage-next .stage-flags{margin-top:8px}.stage-next .next-label{margin-bottom:0}
@media(max-width:759px){.stage-current{min-height:144px}.stage-name.is-long{font-size:clamp(24px,6.6vw,36px)}.stage-next .stage-top{min-height:28px}.stage-next .next-name{margin-top:6px}}
@media(max-width:759px) and (max-height:760px){.queue-view{display:block;overflow:auto;overscroll-behavior:contain}.queue-view .stage{margin-bottom:20px}.queue-view .lineup{height:260px;min-height:200px}.app-header{padding-top:8px;padding-bottom:12px}.control-dock{padding-top:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Compact stage: names and controls share a row; the queue owns the remaining height. */
.header-end{gap:8px}.header-end .connection{margin-right:8px}
.stage-current,.stage-next{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;padding:16px 20px;min-height:0}
.stage-top{display:contents}.stage-label,.next-label{grid-column:1;grid-row:1;margin:0;font-size:12px}
.stage-top .row-actions{grid-column:2;grid-row:1 / span 3;align-self:center}
.stage-name{grid-column:1;margin:6px 0 0;font-size:clamp(28px,3.2vw,40px);line-height:1.12}
.stage-next .next-name{grid-column:1;font-size:24px;margin-top:4px}
.stage-flags,.stage-next .stage-flags{grid-column:1;margin-top:6px;font-size:12px;gap:8px}
.stage-flags:empty{display:none}.stage-empty{grid-column:1;font-size:28px;margin-top:8px}
.stage-label svg{width:16px;height:16px}.stage .row-actions .icon-button{width:36px;height:40px;margin:0}
.stage .row-actions{flex-direction:column}.section-heading{padding-bottom:12px}
.row-flags:empty{display:none}.queue-row{padding-top:12px;padding-bottom:12px}
.menu-settings{gap:16px;padding-top:16px;margin-top:16px}.menu-settings .toggle-row{min-height:44px;font-size:14px}
.menu-dialog .dialog-heading{margin-bottom:12px}.nav-item{min-height:44px;font-size:15px}
.operations-view{display:flex;flex-direction:column;min-height:0;flex:1;padding-top:16px}
.queue-tools{display:flex;align-items:center;gap:24px;padding-bottom:24px;flex:none}
.order-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none}
.order-heading h2{font-size:20px}.order-help{font-size:13px;color:var(--soft-ink);margin:4px 0 12px;flex:none;max-width:64ch}
.order-scroll{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding-right:4px}
.order-scroll ol{list-style:none;padding:0;margin:0}
.order-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:center;border-bottom:1px solid var(--line);min-height:64px;padding:8px 0}
.order-person{min-width:0}.order-row.on-stage{color:var(--action)}.order-controls{display:flex;gap:0}
.order-controls .icon-button{width:44px;height:44px}.order-controls svg{width:18px;height:18px}
.drag-handle{touch-action:none;cursor:grab}.drag-handle:active{cursor:grabbing}
.order-row.dragging{background:var(--inset);outline:2px solid var(--focus);outline-offset:-2px;border-radius:10px}
.order-footer{padding:16px 0 max(16px,env(safe-area-inset-bottom));display:flex;justify-content:flex-end;gap:12px;flex:none}
.order-conflict{padding:12px 16px;margin:0 0 12px;border-radius:10px;background:var(--danger-bg);color:var(--danger);font-size:13px;flex:none}
.order-conflict .text-button{color:inherit}.visit-dialog{width:400px}.visit-name{font-size:20px;font-weight:600;overflow-wrap:anywhere}.visit-choices{display:grid;gap:12px;margin-top:24px}.visit-dialog .form-error{margin-top:16px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:759px){
  .app-header{padding-top:max(8px,env(safe-area-inset-top));padding-bottom:12px;gap:8px}
  .header-end{gap:0}.header-end .connection{margin-right:4px}.brand{gap:8px}
  .stage-current,.stage-next{padding:12px 16px;min-height:0}
  .stage-name{font-size:28px;margin-top:4px}.stage-name.is-long{font-size:24px}
  .stage-next .next-name{font-size:22px;margin-top:4px}.stage-next .stage-top{min-height:0}
  .stage .row-actions{flex-direction:row}.stage .row-actions .icon-button{width:36px;height:40px}
  .stage-flags,.stage-next .stage-flags{margin-top:4px}.queue-view{gap:16px}
  .my-position{padding:8px 12px}.control-dock{padding-top:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .operations-view{padding-top:0}.operations-view .page-heading{padding-bottom:16px}
  .operations-view h1{font-size:24px}.queue-tools{padding-bottom:20px;gap:20px}
  .order-heading h2{font-size:18px}.order-row{gap:8px;grid-template-columns:24px minmax(0,1fr) auto}
  .order-row .queue-name{font-size:16px}.order-controls .icon-button{width:44px;height:44px}
}
@media(max-width:359px){.stage-current,.stage-next{padding:12px}.stage-name{font-size:26px}.brand span{font-size:13px}.queue-tools{gap:12px}.queue-tools button{font-size:13px}.order-footer{gap:8px}.order-footer button{font-size:14px;padding:10px 12px}}
@media(max-width:759px) and (max-height:760px){.queue-view .stage{margin-bottom:16px}.queue-view .lineup{height:320px;min-height:200px}}

/* Dense operational lists and shared page chrome. */
.app-header{padding:12px 0 8px}.queue-view{padding-top:0}
.library-view,.reading-view,.operations-view{padding-top:0}
.library-view .page-heading,.reading-view .page-heading,.operations-view .page-heading{padding:0 0 12px}
.page-heading h1{font-size:24px}.section-heading{padding:4px 0 8px}
.reading-view .search-row{padding-bottom:12px}.rule{margin-bottom:24px}
.queue-person,.guest-row>div:first-child{min-width:0}
.stage-name,.stage-name.is-long,.next-name,.queue-name,.guest-name,.visit-name{min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
.stage-name.is-long{font-size:clamp(28px,3.2vw,40px)}
.stage .row-actions{flex-direction:row}
.queue-row{padding:2px 0;min-height:48px}.queue-row .row-actions .icon-button{width:44px;height:44px}
.queue-row .row-flags{margin-top:2px}.queue-row .guest-row-flags{margin:0;flex-wrap:nowrap;align-items:center;gap:8px;white-space:nowrap;text-align:right}
.queue-row:not(:has(.row-actions)){min-height:44px;padding:8px 0}
.my-position{margin-bottom:4px;padding:8px 12px;font-size:13px}
.order-row{min-height:48px;padding:2px 0}.order-row .row-flags{margin-top:2px}
.queue-tools{padding-bottom:16px}.order-help{margin-bottom:8px}
@media(max-width:759px){.app-header{padding-top:max(4px,env(safe-area-inset-top));padding-bottom:8px}.stage-name,.stage-name.is-long{font-size:28px}.queue-view{gap:12px}.section-heading h1{font-size:19px}.queue-row{grid-template-columns:24px minmax(0,1fr) auto;gap:8px}.queue-name{font-size:16px}.queue-row .guest-row-flags{font-size:12px;gap:6px}.queue-row .guest-row-flags svg{width:14px;height:14px}.page-heading h1{font-size:24px}}
@media(max-width:359px){.stage-name,.stage-name.is-long{font-size:26px}.queue-row .guest-row-flags{flex-direction:column;align-items:flex-end;gap:0}}
.stage-name,.stage-next .next-name,.queue-person .queue-name{display:flex;align-items:center;gap:8px}
.name-text{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.singer-avatar{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;border-radius:50%;overflow:hidden;background:var(--inset);color:var(--soft-ink);font-size:12px;font-weight:650;line-height:1;letter-spacing:0}
.singer-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.stage .singer-avatar{width:32px;height:32px;background:#ffffff1a;color:var(--stage-ink);font-size:12px}
.stage-next .singer-avatar{width:28px;height:28px;font-size:12px}
#main:focus{outline:none}
.order-row .row-flags{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.order-row .row-flags:empty{display:none}
@media(max-width:759px) and (max-height:760px){.queue-view{display:flex;overflow:hidden}.queue-view .stage{margin-bottom:0}.queue-view .lineup{height:auto;min-height:0}}
.closed-view{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding-bottom:max(20px,env(safe-area-inset-bottom));display:grid;align-content:start;gap:24px;max-width:680px;width:100%;margin:0 auto}
.closed-intro{padding:28px;background:var(--forest);color:var(--stage-ink);border-radius:var(--radius)}
.closed-intro h1{font-size:32px;line-height:1.15;max-width:22ch;letter-spacing:-.025em}
.closed-schedule{font-size:20px;line-height:1.4;margin-top:16px;max-width:32ch}
.closed-note{color:var(--stage-soft);font-size:14px;line-height:1.55;margin-top:12px;max-width:48ch}
.closed-networks h2{font-size:18px;margin-bottom:8px}.social-link{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px;text-decoration:none;color:var(--ink)}
.social-link:hover{color:var(--action)}.social-link svg{width:18px;height:18px}.nav-item[href]{text-decoration:none;color:var(--ink)}.browser-note{padding:4px 12px}
@media(max-width:759px){.closed-view{gap:20px}.closed-intro{padding:20px}.closed-intro h1{font-size:28px}.closed-schedule{font-size:19px}}
.brand{flex-shrink:0}.header-end,.connection{min-width:0}.connection{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.evening-button{color:var(--action)}.evening-button[data-active=true]{color:var(--danger)}
