/* Standalone PlayStation: uniform blue surfaces, including legacy secondary dialogs. */
html body[data-business="billiard"]{--green:#49dfa5;--mint:#b5efd5;--panel:#0b2b26;--line:#235347;--muted:#aac9b3;background:#051f20!important;color:#edf9f2!important;color-scheme:dark}
html body[data-business="billiard"] .topbar,html body[data-business="billiard"] .telegram-chrome{position:relative!important;top:auto!important;z-index:auto!important;background:#051f20!important}
html body[data-business="billiard"] .app-shell{background:#051f20!important;padding-top:0!important}
html body[data-business="billiard"] .app-shell main{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))!important;scroll-padding-bottom:110px}
html body[data-business="billiard"] :is(.settings-menu>button>span,.settings-subnav button,.inventory-emoji,.table-setting-name>span,.lock-icon){background:#163832!important;border-color:#235347!important;color:#c4e2cc!important}
html body[data-business="billiard"] :is(.bills-summary article,.subscription-card,.subscription-status,.plan-grid button,.inventory-row,.empty-history,.report-row,.cash-summary article,.register-card,.team-card,.subscription-lock>div,.last-subscription-payment,.humo-card,.reservation-card,.reservation-empty,.support-contacts a){background:linear-gradient(145deg,#12382d,#08231c)!important;border-color:#235347!important;color:#edf9f2!important}
html body[data-business="billiard"] :is(.plan-grid button.selected,.vip-table-picker button.selected,.payment-options button.selected,.time-options button.selected){background:#117b59!important;border-color:#74e8b4!important;color:white!important;box-shadow:0 0 0 1px #74e8b455!important}
html body[data-business="billiard"] :is(.table-setting-actions button,.vip-table-picker button,.inventory-row button,.btn-muted,.wide-muted,.two-actions button,.transfer-btn,.payment-options button,.time-options button){background:#163832!important;border:1px solid #235347!important;border-radius:12px!important;color:#d4efdf!important;min-height:42px;padding:10px 12px!important}
html body[data-business="billiard"] :is(.btn-green,.small-primary,.registration-submit-v89){background:linear-gradient(120deg,#087b54,#079176)!important;border:1px solid #59d6a3!important;border-radius:13px!important;color:#fff!important;min-height:46px;padding:12px 16px!important;font-size:15px!important;font-weight:650!important;box-sizing:border-box!important;cursor:pointer}
html body[data-business="billiard"] #settingsView>.btn-green{display:block!important;width:100%!important;white-space:normal!important;margin:16px 0 0!important;text-align:center!important;line-height:1.5!important}
html body[data-business="billiard"] :is(.subscription-status span,.subscription-status small,.plan-grid span,.plan-grid small,.inventory-row small,.settings-subnav small,.bill-tabs button,.settings-menu small){color:#aac9b3!important}
html body[data-business="billiard"] :is(.inventory-delete,.table-setting-actions .danger,.danger-link){color:#ffb3bb!important}
html body[data-business="billiard"] .plan-grid button{border-radius:16px!important}
html body[data-business="billiard"] .inventory-row{grid-template-columns:42px minmax(0,1fr) auto 34px!important;gap:10px!important}
html body[data-business="billiard"] :is(.settings-card input:not([type=checkbox]),.modal-field input,.modal-field select,.pay-field input){color:#edf9f2!important;-webkit-text-fill-color:#edf9f2!important;background:#061918!important;border-color:#2f6551!important;font-size:16px!important}
html body[data-business="billiard"] #loginGate #loginForm{width:min(100vw,650px)!important;max-width:650px!important;flex:none!important;transform:none!important}
html body[data-business="billiard"] #loginGate #loginForm input.ps-control{font-size:max(16px,4cqw)!important}
html body[data-business="billiard"] #loginGate{overscroll-behavior:contain;scroll-padding-block:24px;overflow-y:auto!important;overflow-x:hidden!important}
body.ps-modal-open-v97{overflow:hidden!important}
html body[data-business="billiard"] #modalBackdrop:not([hidden]){position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;overflow:hidden!important;padding:0!important;background:#021610d9!important;z-index:10000!important}
html body[data-business="billiard"] #modalBackdrop[hidden]{display:none!important}
html body[data-business="billiard"] #modalBackdrop .modal{width:100%!important;max-width:560px!important;max-height:calc(100dvh - 16px)!important;overflow:auto!important;overflow-x:hidden!important;box-sizing:border-box!important;margin:0!important;padding:14px 20px calc(24px + env(safe-area-inset-bottom,0px))!important;border-radius:24px 24px 0 0!important;background:linear-gradient(150deg,#123d2d,#071f18)!important;border-color:#2f6551!important}
html body[data-business="billiard"] :is(#accountRecoveryV91,#registerDialogV89){background:#0b2b26!important;border:1px solid #2f6551!important;color:#edf9f2!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;box-sizing:border-box!important;max-width:440px!important;width:calc(100% - 24px)!important}
html body[data-business="billiard"] #accountRecoveryV91 .recovery-password-v97{display:block;position:relative;width:100%}
html body[data-business="billiard"] #accountRecoveryV91 .recovery-password-v97 input{box-sizing:border-box;width:100%;padding-right:98px!important;color:#edf9f2!important;background:#071f1b!important;font-size:16px!important}
html body[data-business="billiard"] #accountRecoveryV91 button.recovery-eye-v97{position:absolute;right:4px;top:50%;transform:translateY(-50%);height:42px;min-width:86px;margin:0;padding:8px;border:0;border-radius:9px;background:#163832;color:#c4e2cc;font:500 12px/1.3 system-ui,sans-serif;cursor:pointer}
html body[data-business="billiard"] #accountRecoveryV91 button.recovery-eye-v97:focus-visible{outline:2px solid #74e8b4;outline-offset:2px}
@media(max-width:400px){html body[data-business="billiard"] .inventory-row{grid-template-columns:38px minmax(0,1fr) 34px!important}html body[data-business="billiard"] .inventory-row>button:not(.inventory-delete){grid-column:2/4!important;width:100%!important}html body[data-business="billiard"] .product-form-grid{grid-template-columns:1fr!important}}
