.admin-mobile-sheet{position:fixed;inset:auto 0 0;margin:0 auto;border:0;border-radius:25px 25px 0 0;background:#f5f7f6;color:#2e454d;width:min(480px,100%);max-width:100%;height:calc(100dvh - 22px);max-height:calc(100dvh - 22px);padding:0;overflow:hidden;box-sizing:border-box;animation:admin-sheet-rise .28s cubic-bezier(.2,.8,.3,1);font:14px/1.7 system-ui,-apple-system,"Microsoft YaHei",sans-serif}.admin-mobile-sheet[open]{display:flex;flex-direction:column}.admin-mobile-sheet::backdrop{background:#283d4b66;backdrop-filter:blur(4px)}.admin-mobile-sheet *{box-sizing:border-box}.admin-sheet-grip{height:25px;flex-shrink:0;display:grid;place-items:center;touch-action:none}.admin-sheet-grip i{width:34px;height:4px;border-radius:4px;background:#bcc8ce}.admin-sheet-header{display:flex;justify-content:space-between;align-items:center;padding:4px 18px 15px;gap:12px;flex-shrink:0;position:relative;background:inherit;margin:0}.admin-sheet-header h3{font-size:20px;line-height:1.5;margin:0;font-weight:600}.admin-sheet-header button{width:44px;height:44px;min-height:44px;flex-shrink:0;background:#e9eeed;border:0;outline:0;box-shadow:none;border-radius:12px;padding:10px;color:#345463}.admin-sheet-header button:focus-visible{background:#cdd9df}.admin-sheet-header svg{width:24px;height:24px}.admin-sheet-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;padding:0 16px calc(24px + env(safe-area-inset-bottom))}.admin-sheet-body::-webkit-scrollbar{display:none}.admin-sheet-body>.content{padding:0!important}.admin-sheet-body>section>header{position:static!important;padding:0!important}.admin-sheet-body .benefit-editor-header,.admin-sheet-body .star-rule-header{position:sticky!important;top:0!important;background:#f5f7f6!important;z-index:2;padding:10px 0!important;margin:0 0 16px!important}.admin-sheet-body .benefit-editor-header>[data-back],.admin-sheet-body .star-rule-header>[data-back]{display:none!important}.admin-sheet-body .benefit-editor-header h3,.admin-sheet-body .star-rule-header h3{font-size:14px!important}.admin-sheet-body .benefit-block{padding:18px!important;border-radius:18px!important}.admin-sheet-body .benefit-actions{gap:10px!important}.admin-sheet-body .benefit-editor label.check{display:flex!important;align-items:center!important;flex-direction:row!important;gap:9px!important;min-height:44px!important}.admin-sheet-body input[type=checkbox]{width:20px!important;height:20px!important;min-width:20px!important;flex:0 0 20px!important;padding:0!important;margin:0!important;accent-color:#345463}.admin-sheet-body input:not([type=checkbox]),.admin-sheet-body select{font-size:16px!important;min-height:44px!important}.admin-sheet-body #edit>header,.admin-sheet-body #history>header,.admin-sheet-body #devices>header{display:none!important}.admin-sheet-body #edit,.admin-sheet-body #history,.admin-sheet-body #devices{padding:0!important}.admin-mobile-sheet button{border:0!important;box-shadow:none!important;outline:0!important}.admin-mobile-sheet button:focus-visible{background:#cdd9df!important;color:#2f4f5d!important}.admin-sheet-body .benefit-user-tabs{font-size:13px}.admin-sheet-body .benefit-metrics{gap:12px}.admin-sheet-body .benefit-grant-form{padding:16px}@keyframes admin-sheet-rise{from{transform:translateY(100%)}to{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.admin-mobile-sheet{animation:none}} 

.admin-mobile-sheet{border:0!important;outline:0!important;box-shadow:none!important;--ink:#314f60;--muted:#74828a;--line:#e4eae8;--panel:#fff;--field:#fff;--bg:#f5f7f6}
.admin-sheet-body .benefits-admin.benefit-ui select.mobile-select-native,.app .benefits-admin.benefit-ui select.mobile-select-native{position:absolute!important;display:block!important;opacity:0!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;max-width:1px!important;padding:0!important;border:0!important;clip-path:inset(50%);overflow:hidden!important}
.admin-sheet-body .benefit-toolbar.star-rule-header{display:flex!important;justify-content:flex-end!important;min-height:48px;gap:8px;margin-bottom:12px!important}
.admin-sheet-body .star-rule-header h3,.admin-sheet-body .benefit-editor-header h3{display:none!important}
.admin-sheet-body .star-rule-editor{display:grid!important;gap:18px!important}.admin-sheet-body .star-rule-editor>.benefit-block{margin:0!important}
.admin-sheet-body .benefit-form-actions{justify-content:flex-end!important;gap:10px;margin-top:18px}.admin-sheet-body .benefit-form-actions button{flex:none!important;min-width:76px;min-height:44px;padding:10px 16px;border-radius:11px}.admin-sheet-body .benefit-form-actions button.primary{background:#314f60;color:#fff}
.admin-sheet-body .benefit-stars-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-sheet-body .benefit-stars-panel{padding:16px;background:#fff;border-radius:16px}
.admin-sheet-body .benefit-expiry-form{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:20px;padding-top:18px;border-top:1px solid #e4eae8}.admin-sheet-body .benefit-expiry-form label{margin:0!important;gap:6px}.admin-sheet-body .benefit-expiry-number{display:flex;align-items:center;gap:10px}.admin-sheet-body .benefit-expiry-number input{width:130px!important;flex:0 0 130px}.admin-sheet-body .benefit-expiry-form .benefit-toolbar{margin:2px 0 0}
.admin-sheet-body .benefits-admin .benefit-grant-form .benefit-toolbar{justify-content:flex-end}.admin-sheet-body .benefits-admin .benefit-grant-form .primary{background:#314f60;color:#fff;border-radius:11px;padding:10px 14px;min-height:44px}

/* 所有手机抽屉复用退款标题栏：同字号、关闭按钮、横向留白。 */
@media(max-width:700px){
 .admin-mobile-sheet .admin-sheet-header {margin:0 20px 16px!important;padding:0!important;background:transparent;border:0!important}
 :is(.admin-mobile-sheet,.order-refund-dialog) .admin-sheet-titlebar {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:36px!important;border:0!important}
 :is(.admin-mobile-sheet,.order-refund-dialog) .admin-sheet-titlebar :is(h2,h3) {font:600 19px/1.5 system-ui,-apple-system,"Microsoft YaHei",sans-serif!important;margin:0!important;color:#314f60!important;letter-spacing:0!important}
 :is(.admin-mobile-sheet,.order-refund-dialog) .admin-sheet-titlebar button {display:grid!important;place-items:center!important;flex:0 0 36px!important;width:36px!important;height:36px!important;min-height:36px!important;padding:8px!important;border:0!important;border-radius:10px!important;box-shadow:none!important;background:#edf1f2!important;color:#345463!important}
 :is(.admin-mobile-sheet,.order-refund-dialog) .admin-sheet-titlebar svg {width:20px!important;height:20px!important}
 .admin-mobile-sheet {background:#fff}
 .admin-mobile-sheet .admin-sheet-body {padding:16px 12px calc(24px + env(safe-area-inset-bottom));background:#f5f7f6}
 .admin-sheet-body :is(#edit,#user-package-rights,.benefits-admin) {width:100%;max-width:none;margin:0;padding:0}
 .admin-sheet-body .benefit-editor-header[hidden],.admin-sheet-body .star-rule-header[hidden] {display:none!important}
 .admin-sheet-body .benefit-mobile-footer {padding:4px 0 0;margin-top:18px;grid-column:1/-1}
 .admin-sheet-body .benefit-mobile-footer .benefit-actions {display:flex!important;flex-direction:column-reverse;align-items:stretch;gap:10px;margin:0!important;padding:0!important;background:transparent}
 .admin-sheet-body .benefit-mobile-footer button.primary {display:block;width:100%!important;min-height:44px!important;padding:12px 16px!important;font-size:14px!important;font-weight:600;background:#314f60!important;color:#fff!important;border-radius:10px!important}
 .admin-sheet-body .benefit-mobile-footer [data-cancel] {min-height:44px!important;background:transparent;color:#314f60}
 .admin-sheet-body .benefit-editor {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 .admin-sheet-body .benefit-editor-main {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 .admin-sheet-body .benefit-editor .benefit-preview {margin-top:0!important}
 .admin-sheet-body .benefit-overview {margin-bottom:16px}
 .admin-sheet-body .benefit-rights-action {padding:0}
 .admin-sheet-body .benefit-user-tabs {gap:8px;justify-content:space-between;width:100%}
 .admin-sheet-body .benefit-user-tabs button {font-size:13px;flex:1;min-width:0;padding:12px 4px}
 .admin-sheet-body .benefit-stars-panel {padding:16px}
}

.admin-sheet-body #edit>.content,.admin-sheet-body #history>.content,.admin-sheet-body #devices>.content {padding:0!important}

.refund-sheet-grip {display:none}
@media(max-width:700px){
 .benefits-admin.refund-overlay .order-refund-dialog {padding:0!important}
 .order-refund-dialog:before {display:none!important}
 .order-refund-dialog>.refund-sheet-grip {display:grid;height:25px;place-items:center}
 .order-refund-dialog>form {padding:0 20px calc(22px + env(safe-area-inset-bottom))}
}
