/* This dialog is a detail workspace; only its body scrolls. */
#modalHost.customer-screen-host .modal-backdrop {
  position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
  padding:24px!important;overflow:hidden!important;background:#0006!important;box-sizing:border-box!important;
}
#modalHost .modal.customer-screen-modal {
  width:min(1120px,calc(100vw - 48px))!important;max-width:1120px!important;min-width:0!important;
  height:min(900px,calc(100vh - 48px))!important;height:min(900px,calc(100dvh - 48px))!important;
  max-height:calc(100vh - 48px)!important;max-height:calc(100dvh - 48px)!important;
  padding:0!important;margin:0!important;overflow:hidden!important;border:1px solid #e8e8e8!important;
  border-radius:18px!important;background:#fff!important;box-shadow:0 24px 80px #0002!important;
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
}
.customer-screen-dialog {width:100%;min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;color:#111;}
.customer-screen-dialog * {box-sizing:border-box;}
.customer-screen-dialog .cs-dialog-head {
  display:flex;align-items:center;justify-content:space-between;gap:24px;flex:none;padding:24px 28px 20px;border-bottom:1px solid #eee;
}
.customer-screen-dialog .cs-dialog-head>div {min-width:0;}
.customer-screen-dialog .cs-dialog-head h3 {font-size:23px;font-weight:650;line-height:1.4;margin:0!important;}
.customer-screen-dialog .cs-dialog-head p {font-size:13px;line-height:1.7;margin:6px 0 0;color:#888;}
.customer-screen-dialog .cs-dialog-close {flex:none;min-height:40px;padding:0 16px;border-radius:9px;border:1px solid #e4e4e4;color:#555;background:#fff;font:inherit;font-size:13px;cursor:pointer;}
.customer-screen-dialog .cs-dialog-body {flex:1 1 auto;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;scroll-padding:24px;padding:24px 28px;background:#f6f6f6;-webkit-overflow-scrolling:touch;}
.customer-screen-dialog .cs-settings-section {min-width:0;display:grid;gap:18px;padding:22px;background:#fff;border:1px solid #e8e8e8;border-radius:13px;}
.customer-screen-dialog .cs-section-head {display:flex;align-items:flex-start;justify-content:space-between;gap:18px;min-width:0;}
.customer-screen-dialog .cs-section-head>div {min-width:0;}
.customer-screen-dialog .cs-section-head h4 {margin:0;font-size:15px;font-weight:650;line-height:1.55;}
.customer-screen-dialog .cs-section-head p,.customer-screen-dialog .cs-field-note {margin:5px 0 0;color:#999;font-size:12px;line-height:1.7;overflow-wrap:anywhere;}
.customer-screen-dialog .cs-connect-state {display:flex;align-items:center;gap:7px;flex:0 1 auto;color:#888;font-size:12px;line-height:1.7;}
.customer-screen-dialog .cs-connect-state:before {content:'';width:6px;height:6px;border-radius:50%;background:#bbb;flex:none;}
.customer-screen-dialog .cs-connect-state.is-paired {color:#333;}
.customer-screen-dialog .cs-connect-state.is-paired:before {background:#222;}
.customer-screen-dialog .cs-connection-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;}
.customer-screen-dialog .cs-connect-step {min-width:0;}
.customer-screen-dialog .cs-connect-step+.cs-connect-step {border-left:1px solid #eee;padding-left:24px;}
.customer-screen-dialog .cs-step-label {font-size:13px;font-weight:550;color:#333;line-height:1.7;}
.customer-screen-dialog .cs-step-label>span {font-size:11px;color:#999;letter-spacing:.06em;margin-right:8px;}
.customer-screen-dialog label {display:grid!important;gap:8px!important;margin:0!important;font-size:12px;line-height:1.7;color:#555;min-width:0;}
.customer-screen-dialog input,.customer-screen-dialog textarea {
  width:100%!important;max-width:100%;min-width:0;min-height:44px;box-sizing:border-box!important;
  border:1px solid #e4e4e4!important;background:#fff!important;border-radius:9px!important;padding:11px 13px!important;
  font:inherit!important;margin:0!important;outline:none;color:#111!important;box-shadow:none!important;
}
.customer-screen-dialog input:focus,.customer-screen-dialog textarea:focus {border-color:#111!important;background:#fff!important;}
.customer-screen-dialog input::placeholder {color:#aaa!important;}
.customer-screen-dialog input[readonly] {font-size:12px!important;color:#777!important;background:#fafafa!important;}
.customer-screen-dialog .cs-address-row {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch;margin-top:10px;}
.customer-screen-dialog .cs-address-row .btn {padding:9px 13px;white-space:nowrap;}
.customer-screen-dialog .cs-address-note {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:10px 0 0;color:#999;font-size:11px;line-height:1.7;}
.customer-screen-dialog .cs-address-note a {color:#555;text-decoration:none;white-space:nowrap;}
.customer-screen-dialog #customerScreenCode {max-width:100%;height:52px!important;font-size:22px!important;font-weight:550!important;letter-spacing:.18em;text-align:center;font-variant-numeric:tabular-nums;}
.customer-screen-dialog #customerScreenCode::placeholder {font-size:19px!important;font-weight:400;letter-spacing:.18em;color:#bbb!important;}
.customer-screen-dialog #customerScreenPairStatus {min-height:20px;margin:8px 0 12px;}
.customer-screen-dialog [role=status] {font-size:12px;line-height:1.7;color:#888;overflow-wrap:anywhere;}
.customer-screen-dialog .btn {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 16px;margin:0;border:1px solid #e1e1e1;border-radius:9px;background:#fff;color:#333;font:inherit;font-size:13px;font-weight:500;line-height:1.5;cursor:pointer;}
.customer-screen-dialog .customer-screen-actions,.customer-screen-dialog .cs-material-actions,.customer-screen-dialog .cs-save-actions {display:flex;align-items:center;flex-wrap:wrap;gap:10px;}
.customer-screen-dialog #pairCustomerScreen,.customer-screen-dialog #saveCustomerScreenSettings {background:#111;color:#fff;border-color:#111;}
.customer-screen-dialog .cs-content-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-top:20px;}
.customer-screen-dialog .cs-content-column {min-width:0;display:flex;flex-direction:column;gap:20px;}
.customer-screen-dialog .cs-form-fields {display:grid;gap:16px;}
.customer-screen-dialog .cs-playback-options {display:grid;gap:18px;min-width:0;}
.customer-screen-dialog .cs-playback-toggle {display:flex!important;flex-direction:row!important;align-items:center!important;gap:13px!important;min-height:44px;cursor:pointer;}
.customer-screen-dialog .cs-playback-toggle>span {min-width:0;flex:1;}
.customer-screen-dialog .cs-playback-toggle strong {display:block;font-size:13px;font-weight:550;line-height:1.7;color:#333;}
.customer-screen-dialog .cs-playback-toggle small {display:block;font-size:11px;font-weight:400;color:#999;line-height:1.7;margin-top:2px;}
.customer-screen-dialog .cs-playback-toggle input[type=checkbox] {appearance:none;-webkit-appearance:none;position:relative;flex:none;width:46px!important;min-width:46px!important;height:28px!important;min-height:28px!important;margin:0!important;padding:0!important;border:0!important;border-radius:999px!important;background:#dedfdf!important;cursor:pointer;}
.customer-screen-dialog .cs-playback-toggle input[type=checkbox]:after {content:'';position:absolute;left:2px;top:2px;width:24px;height:24px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .18s;}
.customer-screen-dialog .cs-playback-toggle input[type=checkbox]:checked {background:#242424!important;}
.customer-screen-dialog .cs-playback-toggle input[type=checkbox]:checked:after {transform:translateX(18px);}
.customer-screen-dialog .cs-duration-setting {padding-top:16px;border-top:1px solid #eee;min-width:0;}
.customer-screen-dialog .cs-duration-label {display:block;font-size:12px;color:#777;margin-bottom:10px;}
.customer-screen-dialog .cs-duration-options {display:flex;gap:8px;flex-wrap:wrap;}
.customer-screen-dialog .cs-duration-options button {min-width:55px;min-height:38px;padding:7px 11px;border:1px solid #e1e1e1;border-radius:8px;background:#fff;color:#666;font:inherit;font-size:12px;cursor:pointer;}
.customer-screen-dialog .cs-duration-options button[aria-pressed=true] {background:#111;border-color:#111;color:#fff;}
.customer-screen-dialog input[type=file] {font-size:12px!important;padding:7px!important;min-height:44px!important;overflow:hidden;}
.customer-screen-dialog input[type=file]::file-selector-button {border:0;border-radius:6px;padding:7px 10px;margin-right:9px;background:#eee;color:#333;font:inherit;}
.customer-screen-dialog .customer-screen-previews {display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:10px;min-width:0;}
.customer-screen-dialog .customer-screen-previews:empty {display:none;}
.customer-screen-dialog .customer-screen-previews img {display:block;width:100%;height:104px;min-width:0;object-fit:contain;background:#fafafa;border:1px solid #e8e8e8;border-radius:8px;}
.customer-screen-dialog .cs-qr-preview {grid-template-columns:repeat(auto-fill,minmax(96px,1fr));max-width:126px;}
.customer-screen-dialog .cs-qr-preview img {height:112px;}
.customer-screen-dialog .cs-video-preview-wrap {min-width:0;padding:12px;background:#fafafa;border:1px solid #eee;border-radius:9px;}
.customer-screen-dialog #customerScreenVideoPreview {display:block;width:100%;height:auto;max-height:240px;border-radius:6px;background:#f1f1f1;object-fit:contain;}
.customer-screen-dialog #customerScreenVideoStatus {margin:8px 0 0;}
.customer-screen-dialog .cs-video-preview-wrap:has(video[hidden]) #customerScreenVideoStatus {margin:0;}
.customer-screen-dialog .cs-material-actions {justify-content:flex-end;}
.customer-screen-dialog .cs-dialog-foot {display:flex;justify-content:space-between;align-items:center;gap:20px;flex:none;min-width:0;padding:16px 28px;border-top:1px solid #eee;background:#fff;}
.customer-screen-dialog .cs-dialog-foot>p {flex:1;min-width:0;margin:0;}
.customer-screen-dialog .cs-save-actions {flex:none;justify-content:flex-end;}
.customer-screen-dialog button:disabled,.customer-screen-dialog input:disabled {opacity:.45!important;cursor:default!important;}
.customer-screen-dialog button:focus-visible,.customer-screen-dialog a:focus-visible,.customer-screen-dialog input:focus-visible {outline:2px solid #111;outline-offset:3px;}
.customer-screen-dialog [hidden] {display:none!important;}
@media(max-width:900px) {
  .customer-screen-dialog .cs-content-grid {grid-template-columns:minmax(0,1fr);}
  .customer-screen-dialog .cs-content-column {gap:18px;}
  .customer-screen-dialog .cs-content-grid {gap:18px;}
  .customer-screen-dialog .cs-settings-section {padding:20px;}
}
@media(max-width:720px),(max-height:560px) {
  #modalHost.customer-screen-host .modal-backdrop {padding:14px!important;}
  #modalHost .modal.customer-screen-modal {width:calc(100vw - 28px)!important;max-width:1120px!important;height:calc(100vh - 28px)!important;height:calc(100dvh - 28px)!important;max-height:calc(100dvh - 28px)!important;border-radius:14px!important;}
  .customer-screen-dialog .cs-dialog-head {padding:18px 20px;gap:16px;}
  .customer-screen-dialog .cs-dialog-head h3 {font-size:21px;}
  .customer-screen-dialog .cs-dialog-body {padding:18px 20px;}
  .customer-screen-dialog .cs-dialog-foot {padding:14px 20px;gap:12px;}
  .customer-screen-dialog .cs-connection-grid {grid-template-columns:minmax(0,1fr);gap:20px;}
  .customer-screen-dialog .cs-connect-step+.cs-connect-step {border-left:0;border-top:1px solid #eee;padding-left:0;padding-top:20px;}
  .customer-screen-dialog .cs-section-head {flex-wrap:wrap;gap:9px;}
}
@media(max-width:440px) {
  .customer-screen-dialog .cs-dialog-head {padding:16px;}
  .customer-screen-dialog .cs-dialog-body {padding:14px;}
  .customer-screen-dialog .cs-settings-section {padding:16px;gap:16px;}
  .customer-screen-dialog .cs-dialog-head p {max-width:210px;font-size:12px;}
  .customer-screen-dialog .cs-address-row {grid-template-columns:minmax(0,1fr);}
  .customer-screen-dialog .cs-address-row .btn {justify-self:start;}
  .customer-screen-dialog .cs-dialog-foot {align-items:stretch;flex-direction:column;gap:10px;padding:14px 16px;}
  .customer-screen-dialog .cs-dialog-foot>p:empty {display:none;}
  .customer-screen-dialog .cs-save-actions {display:grid;grid-template-columns:auto minmax(0,1fr);}
}
@media(prefers-reduced-motion:reduce) {.customer-screen-dialog .cs-playback-toggle input[type=checkbox]:after{transition:none;}}

.receipt-modal-toolbar{flex-wrap:wrap;gap:8px}#customerScreenTransport{color:#888;font-size:11px;white-space:normal}

.cs-checkout-payment{margin:18px 0 8px}.cs-checkout-payment .btn{width:100%;min-height:44px}.cs-checkout-payment p{margin:8px 0 0;color:#888;font-size:12px;line-height:1.6}.pos-dialog-modal{max-height:calc(100dvh - 28px);overflow:auto}

#page-cashier .discount-control{gap:6px;flex-wrap:wrap}#page-cashier .discount-control .money-input{min-width:64px;flex:1 1 64px;width:80px;max-width:140px}#roundJiaoBtn{flex:none}

/* Keep the cashier header within the screen; secondary actions live in More. */
.topbar{gap:14px;min-width:0!important}.topbar>div:first-child{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .top-sub{white-space:nowrap}.topbar .top-actions{flex:0 0 auto;min-width:0!important;gap:12px!important;white-space:nowrap!important}.top-actions .link-btn{white-space:nowrap}.top-actions .cs-top-secondary{display:none!important}.top-actions #staffName{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-top-menu{min-width:0}.cs-top-menu h3{margin:0 0 12px}.cs-top-menu p{color:#888;overflow-wrap:anywhere}.cs-top-menu-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cs-top-menu-items .btn{min-height:44px}.cs-top-menu-modal{width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto}@media(max-width:1800px){.top-actions #clock{display:none}}@media(max-width:1100px){.top-actions #staffName{display:none}.topbar .top-actions{gap:8px!important}}@media(max-width:600px){.topbar{height:auto!important;min-height:70px;flex-wrap:wrap;padding-top:10px!important;padding-bottom:10px!important;row-gap:6px}.topbar>div:first-child{flex-basis:100%}.topbar .top-actions{max-width:100%;gap:10px!important;flex-wrap:wrap;white-space:normal!important}}

.pos-counter-code{text-align:center}.pos-counter-code img{display:block;object-fit:contain;width:min(240px,100%,38vh);aspect-ratio:1;margin:12px auto 6px;background:white}#topParkingCode{min-height:36px;white-space:nowrap}#topParkingCode[aria-pressed="true"]{background:#222;color:white}.cs-top-menu .cs-playback-toggle{justify-content:space-between}
#topPaymentCode[hidden]{display:none!important}.top-actions .inventory-find-shortcut{border:1px solid #df9b50;border-radius:8px;color:#bf610b;background:#fff;padding:7px 11px;min-height:36px;line-height:1.4;white-space:nowrap}.top-actions .inventory-find-shortcut:hover{background:#fff7ed}.top-actions .inventory-find-shortcut[aria-pressed="true"]{background:#fff0dc;border-color:#cf791d;color:#a94f00}.top-actions .inventory-find-shortcut:disabled{opacity:.5;cursor:default}.top-actions .inventory-find-shortcut:focus-visible{outline:2px solid #111;outline-offset:2px}

.customer-screen-dialog .btn.cs-parking-toggle{border:1px solid #df9b50;color:#bf610b;background:#fff;border-radius:8px;white-space:nowrap}.customer-screen-dialog .btn.cs-parking-toggle:hover,.customer-screen-dialog .btn.cs-parking-toggle[aria-pressed="true"]{background:#fff0dc;color:#a94f00;border-color:#cf791d}.customer-screen-dialog .btn.cs-parking-toggle:disabled{opacity:.5}.customer-screen-dialog .btn.cs-parking-toggle:focus-visible{outline:2px solid #111;outline-offset:2px}@media(max-width:450px){.customer-screen-dialog .cs-dialog-body>section:first-child .cs-section-head{flex-wrap:wrap}}

#topParkingCode[hidden],#mobileTopConfig[hidden],.top-actions .inventory-find-shortcut[hidden],#mobileCustomerScreenSettings[hidden]{display:none!important}

#roundJiaoBtn[aria-pressed="true"]{color:#fff;background:#111;border-color:#111}

.top-actions #topPaymentCode{
  min-height:36px;padding:6px 14px;white-space:nowrap;font-weight:600;
  color:white;background:#12645e;border:1px solid #12645e;border-radius:8px;
}
.top-actions #topPaymentCode:hover{background:#10554f}
.top-actions #topPaymentCode[aria-pressed="true"]{background:#d9efeb;color:#114f49;border-color:#71aaa1}
.top-actions #topPaymentCode:focus-visible{outline:2px solid #171717;outline-offset:2px}
.top-actions #topPaymentCode:disabled{opacity:.6}

/* XMBB store music controller. */
.store-music-modal{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box}
.store-music-player header{display:flex;justify-content:space-between;align-items:center;gap:16px}.store-music-player header h3{margin:0}.store-music-player .music-close{min-width:44px;min-height:44px;font-size:28px;color:#555}
.music-now{padding:26px 0 24px}.music-eyebrow{font-size:12px;color:#888}.music-now h4{margin:10px 0;font-size:22px;font-weight:500;line-height:1.45;overflow-wrap:anywhere}.music-now [role=status]{font-size:12px;color:#777}
.music-controls{display:flex;gap:10px}.music-controls button{flex:1;min-width:0;min-height:44px;padding:10px 8px;font-size:14px}.music-volume{display:flex;align-items:center;gap:14px;margin:26px 0;font-size:13px}.music-volume input{flex:1;min-width:0;accent-color:#202020;height:28px}.music-volume output{min-width:38px;text-align:right;color:#777}.music-volume input:focus-visible{outline:1px solid #666;outline-offset:3px;border-radius:8px}
.music-list-heading{display:flex;justify-content:space-between;align-items:center}.music-list-heading h4{font-size:14px;font-weight:500;margin:0}.music-list-heading>span{font-size:12px;color:#888}.music-playlist ol{list-style:none;padding:0;margin:12px 0;max-height:220px;overflow:auto}.music-playlist li{display:flex;gap:12px;padding:11px 4px;font-size:13px;border-bottom:1px solid #eee;align-items:center}.music-playlist li>span:first-child{color:#999;font-size:11px}.music-playlist li>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.music-playlist li>span:last-child:not(:nth-child(2)){font-size:11px;color:#777}.music-playlist .is-playing{font-weight:500;color:#111;background:#f5f5f3}.music-notice{font-size:12px;line-height:1.7;color:#777;margin:14px 0 0}
@media(max-width:400px){.store-music-modal{padding:18px}.music-now h4{font-size:20px}.music-controls{gap:6px}}
.customer-screen-dialog.store-music-player .music-volume{display:flex!important;gap:12px!important;margin:24px 0!important}
.customer-screen-dialog.store-music-player .music-volume input{width:auto!important;min-width:0!important;flex:1;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.customer-screen-dialog.store-music-player .music-controls .btn.primary{background:#171717!important;border-color:#171717!important;color:white!important}
.store-music-modal{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}

.music-pairing{padding:16px 0;border-bottom:1px solid #eee}.music-pairing[hidden]{display:none!important}.customer-screen-dialog .music-pairing label{display:block!important;margin-bottom:12px!important;font-size:12px}.music-pairing .xui-inline-input{display:block;box-sizing:border-box;width:100%;margin-top:6px;border:0;border-bottom:1px solid #ddd;background:transparent;padding:10px 0;font:inherit;color:#333;outline:none}.music-pairing .xui-inline-input:focus{border-color:#444;box-shadow:0 1px 0 #444}.music-pairing #musicComputerUrl{font-size:11px}.music-disconnect{margin-top:14px;color:#777;font-size:12px}

.music-progress-area{margin:0 0 20px}.music-progress{height:3px;border-radius:999px;background:#e6e6e3;overflow:hidden}.music-progress>span{display:block;height:100%;width:0;background:#292b26;border-radius:inherit}.music-times{display:flex;justify-content:space-between;margin-top:8px;font-size:11px;color:#777;font-variant-numeric:tabular-nums}.music-playlist li{display:block;padding:0}.music-playlist .music-track{display:flex;align-items:center;gap:12px;min-height:46px;width:100%;box-sizing:border-box;padding:11px 4px;border:0;border-radius:6px;background:transparent;text-align:left;font:inherit;color:inherit;white-space:normal;cursor:pointer}.music-track>span:first-child{font-size:11px;color:#999}.music-track>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.music-track>span:nth-child(3){font-size:11px;color:#777}.music-track:focus-visible{outline:1px solid #555;outline-offset:-1px}.music-track:disabled{opacity:.65;cursor:default}

/* Compact monochrome remote player: audio remains on the music computer. */
.store-music-player .music-now{position:relative;padding:22px 0 24px 82px;min-height:106px;box-sizing:border-box}.store-music-player .music-now:before{content:'♪';position:absolute;left:0;top:24px;width:64px;height:64px;display:grid;place-items:center;border-radius:50%;background:#f0f0ed;color:#51554b;font-size:28px}.store-music-player .music-now h4{font-size:21px;margin:7px 0}.music-connection{display:inline-block;margin-left:10px;font-size:11px;color:#888}.store-music-player .music-controls{justify-content:center;align-items:center;gap:26px}.customer-screen-dialog.store-music-player .music-controls .btn{flex:0 0 48px;width:48px;height:48px;min-height:48px;padding:0;border:0;background:transparent;border-radius:50%;display:flex;align-items:center;justify-content:center}.customer-screen-dialog.store-music-player .music-controls .btn.primary{flex-basis:64px;width:64px;height:64px;min-height:64px;border-radius:50%}.music-controls svg{width:23px;height:23px;fill:currentColor;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.music-controls .btn.primary svg{width:25px;height:25px}.store-music-player .music-controls .btn:focus-visible{outline:1px solid #555;outline-offset:3px}.store-music-player .music-progress-area{margin-bottom:16px}

/* Remote music: tablet landscape console and scrollable live queue. */
.modal.store-music-modal{width:min(1080px,calc(100vw - 32px));max-width:1080px}.music-layout{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(300px,1.15fr);gap:32px;align-items:start}.music-console{min-width:0;padding:16px 12px 8px 0}.music-playlist{min-width:0;border-left:1px solid #eee;padding-left:24px}.music-playlist ol{max-height:min(55vh,500px);overflow-y:auto;overscroll-behavior:contain;scroll-padding:8px}.music-playlist li{display:flex;align-items:center;gap:8px}.music-playlist .music-track{flex:1;min-width:0}.music-playlist small{font-size:10px;color:#888}.music-remove{font-size:22px;min-width:36px;min-height:40px;color:#888}.music-seek{display:block;width:100%;accent-color:#171717;height:30px;cursor:pointer}.music-seek:focus-visible{outline:1px solid #555;outline-offset:3px}.music-playlist .is-playing{background:#f2f2f0}.music-connection{display:block}.music-progress[hidden]{display:none!important}
@media(max-width:650px){.music-layout{grid-template-columns:1fr;gap:12px}.music-console{padding:0}.music-playlist{border-left:0;border-top:1px solid #eee;padding:16px 0 0}.music-playlist ol{max-height:32vh}}

.music-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}.store-music-player .music-heading h3{margin:0}.store-music-player .music-heading .music-connection{display:inline-flex;align-items:center;gap:7px;border:1px solid #dededb;border-radius:20px;padding:6px 10px;margin:0;color:#777;font-size:12px;font-weight:500;line-height:1.3;background:#f6f6f4}.music-heading .music-connection.is-lan{background:#171717;color:white;border-color:#171717}.music-connection svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}.music-modes{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 20px}.music-modes button{padding:8px 12px;border-radius:18px;font-size:12px;color:#888;min-height:36px}.music-modes button.active{background:#171717;color:#fff}.music-modes button:focus-visible{outline:1px solid #555;outline-offset:3px}.music-modes button:disabled{opacity:.45}@media(max-width:400px){.music-heading{gap:8px}.music-heading .music-connection{font-size:11px}}

.store-music-player [hidden]{display:none!important}.store-music-modal:has(.is-pairing){max-width:460px}.store-music-player.is-pairing{min-height:0}.music-pairing{text-align:center;padding:24px 12px 0}.music-pairing h4{font-size:22px;font-weight:500;margin:18px 0 10px}.music-pairing>p{font-size:13px;color:#888;margin:0 0 26px}.pair-scan-symbol{width:56px;height:56px;margin:auto}.pair-scan-symbol svg{width:100%;height:100%;fill:none;stroke:#222;stroke-width:1.5}.music-pairing .pair-code-entry{display:block}.music-pairing #musicPairCode{width:100%;text-align:center;font-size:18px;letter-spacing:.12em;border:0;border-bottom:1px solid #ddd;border-radius:0;padding:14px 4px;background:transparent}.music-pairing #musicPairButton{width:100%;margin:20px 0 0;min-height:46px}.music-pairing .pair-status{min-height:20px;margin:14px 0 24px;color:#666}.music-pair-address{border-top:1px solid #eee;padding:18px 0 4px;color:#999;font-size:11px}.music-pair-address span{display:block}.music-pair-address #musicComputerUrl{display:block;width:100%;text-align:center;border:0;background:transparent;color:#888;font-size:12px;padding:6px 0;min-height:28px}.music-modes{justify-content:center}.music-modes #musicMode{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:8px;color:#333}.music-modes #musicMode svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.music-pairing .sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}

#modalHost .modal.store-music-modal:has(.is-pairing){width:min(460px,calc(100vw - 32px));max-width:460px}.music-pairing #musicPairButton{background:#171717;color:#fff;border-color:#171717;border-radius:24px}.music-pair-address #musicComputerUrl{overflow-wrap:anywhere}

.cs-dialog-body [hidden]{display:none!important}.cs-connected-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #eee;color:#555;font-size:13px}.cs-connected-bar button{font-size:12px;color:#888}.cs-photo-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}.cs-photo-actions [hidden]{display:none!important}
