.c-icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.c-text-button{border:0;background:none;padding:4px 0;font-size:12px;color:#147b9c;font-weight:500}.c-text-button .c-icon{width:14px;height:14px}.c-full{width:100%;margin:8px 0;display:flex;align-items:center;justify-content:center;gap:7px}.c-loading{padding:80px 15px;text-align:center;color:#6e8189}.c-page-head{display:flex;justify-content:space-between;align-items:center;margin:8px 0 22px;gap:12px}.c-page-head h1{font-size:25px;margin:0 0 6px}.c-page-head p{font-size:12px;color:#6e8189;margin:0}.c-icon-button{padding:10px;border:0;background:#edf5f5;display:flex;align-items:center}.c-eyebrow{font-size:11px;letter-spacing:.6px;color:#147b9c}.c-welcome h1{font-size:28px;line-height:1.4;margin:4px 0 12px}.c-park-switch{display:flex;align-items:center;gap:7px;border:0;background:transparent;padding:0;font-size:13px;font-weight:500;text-align:left;max-width:100%;min-height:32px}.c-park-switch .c-icon{width:16px;height:16px}.c-park-switch span{flex:1;overflow-wrap:anywhere}.c-park-switch .c-icon:last-child{margin-left:8px}.c-shop .c-hero-art{position:relative;height:176px;margin:10px 0 0;overflow:hidden;border-radius:16px}.c-hero-art>img{width:100%;height:100%;object-fit:cover;object-position:65% 70%;display:block}.c-hero-art>small{position:absolute;right:10px;bottom:6px;font-size:9px;color:#856a43;background:#ffffffb8;padding:1px 4px}.c-channel{display:flex;align-items:center;gap:6px;background:#e9f4f5;color:#387078;padding:12px 18px;font-size:11px;margin-bottom:26px}.c-channel .c-icon{width:14px;height:14px}.c-channel span{flex:1}.c-channel button{font-size:10px;padding:3px 0;border:0;color:#387078;background:none;min-height:28px;white-space:nowrap}.c-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:22px 0 14px}.c-section-head h2{font-size:17px;margin:0}.c-section-head small{font-size:11px;color:#6e8189}.c-ticket-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.c-ticket{background:#fff;border:1px solid #e4eae9;border-radius:16px;padding:18px;min-width:0}.c-ticket-top{display:flex;align-items:center;justify-content:space-between}.c-ticket-top>.c-icon{width:32px;height:32px;filter:sepia(1) saturate(3) hue-rotate(345deg);opacity:.65}.c-tag{display:inline-flex;font-size:10px;line-height:1.5;border-radius:5px;padding:3px 7px;background:#fff1df;color:#a46019}.c-merchant{display:block;font-size:11px;color:#6e8189;margin:8px 0 4px}.c-ticket h2{font-size:19px;line-height:1.45;margin:0 0 6px;overflow-wrap:anywhere}.c-ticket>p{font-size:12px;color:#6e8189;margin:4px 0}.c-ticket-date{display:flex;align-items:center;gap:6px;margin-top:14px;font-size:11px;color:#6e8189}.c-ticket-date .c-icon{width:14px;height:14px}.c-ticket-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.c-ticket-foot button{display:flex;align-items:center;gap:6px;padding:9px 12px;white-space:nowrap}.c-ticket-foot button .c-icon{width:15px;height:15px;filter:brightness(0) invert(1)}.c-price{color:#cb6729;font-size:27px;line-height:1.3;font-weight:750;white-space:nowrap}.c-price small{font-size:11px;font-weight:400;color:#6e8189;margin-left:3px}.c-service-note{display:flex;align-items:center;justify-content:center;gap:5px;color:#6e8189;font-size:11px;margin:25px 0}.c-service-note .c-icon{width:14px;height:14px}.c-demo-entry{padding:14px;background:#fff6e9;margin-top:18px;border-radius:10px;font-size:12px}.c-demo-entry p{margin:0 0 7px}.c-demo-entry button{font-size:12px}.c-empty{text-align:center;padding:36px 18px;background:white;border:1px solid #e4eae9;border-radius:14px}.c-empty>.c-icon{width:44px;height:44px;opacity:.4}.c-empty h2{font-size:18px;margin:14px 0 8px}.c-empty p{font-size:13px;color:#6e8189}.c-empty button{margin:7px}.c-profile{display:flex;align-items:center;gap:14px;padding:8px 0 24px}.c-avatar{display:grid;place-items:center;width:56px;height:56px;background:#fff0d9;border-radius:18px}.c-avatar .c-icon{width:28px;height:28px;filter:sepia(.5)}.c-profile h1{font-size:23px;margin:0 0 5px}.c-profile p{font-size:12px;margin:0;color:#6e8189}.c-mine-orders{padding:16px 18px;background:#fff;border:1px solid #e4eae9;border-radius:14px}.c-mine-orders>.c-section-head{margin:0 0 16px}.c-order-shortcuts{display:grid;grid-template-columns:repeat(4,1fr)}.c-order-shortcuts button{display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:none;padding:7px 0;font-size:12px;font-weight:400;min-width:0}.c-order-shortcuts button>.c-icon{width:24px;height:24px}.c-order-shortcuts b{font-size:14px}.c-list{margin:20px 0}.c-list-row{display:flex;align-items:center;gap:11px;width:100%;text-align:left;border:0;border-bottom:1px solid #e4eae9;border-radius:0;background:none;padding:15px 0;min-height:64px;font-weight:400}.c-list-row>.c-icon:first-child{box-sizing:content-box;width:19px;height:19px;background:#e9f4f5;padding:9px;border-radius:10px}.c-list-row>span{flex:1;min-width:0}.c-list-row b{font-size:14px;font-weight:600;display:block}.c-list-row small{font-size:11px;color:#6e8189;display:block;margin-top:3px}.c-list-row>.c-icon:last-child{width:15px;height:15px;opacity:.5}.c-work-entry{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:16px;background:#eaf4f5;border:1px solid #d2e6e7;border-radius:13px;margin:20px 0}.c-work-entry>span{flex:1;min-width:0}.c-work-entry b,.c-work-entry small{display:block}.c-work-entry b{font-size:15px}.c-work-entry small{font-size:11px;color:#6e8189;margin-top:4px}.c-wallet-tabs{display:flex;overflow-x:auto;gap:7px;padding:2px 0 12px;scrollbar-width:none}.c-wallet-tabs::-webkit-scrollbar{display:none}.c-wallet-tabs button{white-space:nowrap;border-radius:20px;padding:8px 14px;min-height:38px;font-size:12px;font-weight:500}.c-wallet-tabs button.selected{background:#147b9c;color:#fff;border-color:#147b9c}.c-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dce6e6;border-radius:10px;padding:0 10px}.c-search input{margin:0;flex:1;min-width:0;border:0;background:none;padding:12px 0;font-size:14px}.c-search button{border:0;background:none;color:#147b9c;font-size:13px;padding:8px 3px}.c-wallet-card{border:1px solid #e4eae9;background:#fff;border-radius:15px;padding:17px;margin-bottom:14px}.c-wallet-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.c-wallet-card-head>small{font-size:11px;color:#6e8189}.c-wallet-card h2{font-size:19px;line-height:1.4;margin:12px 0 7px}.c-wallet-card>p{font-size:12px;color:#6e8189;margin:6px 0}.c-validity{font-size:11px;color:#6e8189}.c-wallet-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px dashed #d4dddf;margin-top:16px;padding-top:14px;gap:10px}.c-wallet-foot>strong{font-size:20px}.c-wallet-foot>strong small{display:block;font-size:10px;font-weight:400;color:#6e8189}.c-wallet-foot button{font-size:13px;padding:10px 14px}.c-pager{display:flex;justify-content:center;align-items:center;gap:15px;margin:24px 0;color:#6e8189;font-size:12px}.c-pager button{font-size:12px}.c-dialog{font-size:14px}.c-dialog-head{display:flex;align-items:center;gap:16px;min-height:46px;border-bottom:1px solid #e4eae9;margin:0 0 18px;padding-bottom:8px}.c-dialog-head>strong{font-size:16px}.c-back{border:0;background:none;padding:6px 0;display:flex;align-items:center;gap:2px;font-size:13px;font-weight:500}.c-back .c-icon{width:18px;height:18px}.c-detail-art{width:100%;height:200px;object-fit:cover;object-position:65% 70%;border-radius:12px;display:block}.c-detail-heading{padding:20px 0 4px}.c-detail-heading h1,.c-order-title h1,.c-voucher-heading h1{font-size:23px;line-height:1.4;margin:10px 0 13px}.c-kv{margin:15px 0 22px}.c-kv>div{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid #edf0ef;font-size:12px}.c-kv dt{color:#6e8189;flex-shrink:0}.c-kv dd{margin:0;text-align:right;overflow-wrap:anywhere}.c-detail-section{margin:22px 0}.c-detail-section h2,.c-section-title{font-size:17px;margin:0 0 12px}.c-detail-section p,.c-description{font-size:13px;line-height:1.85;white-space:pre-wrap;color:#5f747d}.c-detail-actions{display:flex;gap:10px;margin:18px 0}.c-detail-actions button{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;flex:1;padding:10px 6px}.c-buy-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-top:1px solid #e4eae9;background:#fff}.c-buy-bar button{min-height:44px}.c-muted{font-size:12px;color:#6e8189;line-height:1.8}.c-checkout-ticket{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e4eae9;padding:15px 0}.c-checkout-ticket img{width:72px;height:72px;border-radius:11px;object-fit:cover;object-position:70% center}.c-checkout-ticket>div{flex:1;min-width:0}.c-checkout-ticket b,.c-checkout-ticket small,.c-checkout-ticket span{display:block}.c-checkout-ticket b{font-size:16px}.c-checkout-ticket small{font-size:11px;color:#6e8189}.c-checkout-ticket span{font-size:13px;color:#cb6729}
.c-quantity-field {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
}
.c-quantity-stepper {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin-inline-start: auto;
  max-width: 100%;
}
.c-quantity-stepper input {
  width: 70px;
  min-width: 0;
  margin: 0;
  text-align: center;
  padding: 8px 3px;
}
.c-quantity-stepper > .c-stepper {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  display: grid;
  place-items: center;
}
.c-quantity-stepper .c-icon {
  width: 16px;
  height: 16px;
}
.c-checkout-total{display:flex;align-items:center;justify-content:space-between;margin:24px 0 10px;padding:18px 0;border-top:1px solid #e4eae9}.c-order-title{text-align:center;padding:8px 0}.c-order-title>p{font-size:12px}.c-section-title small{font-size:11px;font-weight:400;color:#6e8189}.c-voucher-row,.c-refund-row{background:#fff;border:1px solid #e4eae9;border-radius:12px;padding:15px;margin:12px 0}.c-voucher-row>div:first-child,.c-refund-row>div:first-child{display:flex;align-items:center;justify-content:space-between}.c-voucher-row p,.c-refund-row p{font-size:12px}.c-voucher-actions{display:flex;gap:10px}.c-voucher-actions button{font-size:12px}.c-refund-row small{font-size:11px;color:#6e8189}.c-rules{margin:24px 0}.c-rules summary{cursor:pointer;font-size:13px;min-height:44px;padding:10px 0}.c-button-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.c-voucher-heading{text-align:center;padding:4px 0 15px}.c-voucher-heading p{font-size:12px}.c-qr-panel{text-align:center;background:#fff;padding:20px 16px;border:1px solid #e4eae9;border-radius:16px}.c-qr-panel>img{width:240px;height:240px;max-width:100%;display:block;margin:0 auto 18px;image-rendering:pixelated}.c-qr-panel b,.c-qr-panel small{display:block}.c-qr-panel b{font-size:14px}.c-qr-panel small{font-size:10px;color:#bc6a35;margin:5px 0 18px}.c-qr-panel .order-code{font-size:11px;color:#6e8189}.c-qr-panel input{font-size:12px}.c-contact{text-align:center;padding:20px 0}.c-contact>.c-icon{width:50px;height:50px}.c-contact h1{font-size:23px}.c-contact p{font-size:13px;line-height:1.8}.c-contact>small{font-size:11px;color:#6e8189}.c-help-card h2{font-size:18px}.c-help-card details{border-bottom:1px solid #e4eae9;margin:8px 0}.c-help-card summary{font-weight:600;cursor:pointer;padding:14px 0;font-size:14px}.c-help-card p,.c-help-card li{font-size:13px;line-height:1.9;color:#5f747d}.c-help-card ol{padding-left:22px}.c-help-card li{margin:10px 0}.c-icon-button:focus-visible,.c-list-row:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #dfa250;outline-offset:2px}.customer-dialog .close-modal{top:23px;right:16px}.customer-dialog .c-dialog-head{padding-right:30px}
#mobile-brand-title{display:none}
.c-work-toolbar{display:none}.c-scan-action{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:130px;gap:7px;margin:18px 0}.c-scan-action .c-icon{width:34px;height:34px;filter:brightness(0) invert(1)}.c-scan-action strong{font-size:21px}.c-scan-action small{font-size:11px;font-weight:400}.customer-dialog .poster-templates button{min-height:44px}
.c-wallet-detail{display:block;width:100%;text-align:right;min-height:36px;margin-top:8px}.c-code-tabs{display:flex;gap:8px;overflow-x:auto;margin:0 0 15px}.c-code-tabs button{white-space:nowrap;font-size:12px;min-height:40px}.c-code-tabs .selected{border-color:#147b9c;color:#147b9c;background:#e9f4f5}
.mobile-nav button span{font-size:11px;line-height:1.3}
.c-shop{min-width:0;max-width:100%;overflow-wrap:anywhere}.c-shop>*,.c-shop .c-ticket-grid,.c-shop .c-ticket{min-width:0;max-width:100%;box-sizing:border-box}.c-shop .c-channel span,.c-shop .c-ticket-date span{min-width:0}.c-shop .c-ticket-foot{flex-wrap:wrap}.c-shop .c-welcome h1{margin:2px 0 8px}.c-shop .c-channel{margin-bottom:10px}.c-shop .c-shop-service{padding:8px 0}.c-shop>.c-section-head{margin:14px 0 10px}
@media(max-width:850px){.c-ticket-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 html,dialog.customer-dialog{scrollbar-width:none}html::-webkit-scrollbar,dialog.customer-dialog::-webkit-scrollbar{width:0;height:0}
 .c-work-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.c-work-toolbar small{font-size:11px;color:#6e8189}.c-work-toolbar button{font-size:12px;white-space:nowrap;min-height:40px;padding:7px 10px}.c-scan-action{min-height:150px}
 :root{--ink:#213c47;--muted:#6e8189;--blue:#147b9c;--line:#e4eae9;--bg:#fbfcfa}body{font-size:14px;line-height:1.6;padding-bottom:calc(70px + env(safe-area-inset-bottom))}body>footer{display:none}
 .test-banner{font-size:10px;padding:4px 18px;min-height:25px;gap:5px}.test-banner .dot{width:5px;height:5px}.test-banner .build{font-size:9px}
 body>header{height:52px;min-height:52px;flex-wrap:nowrap;padding:8px 18px;gap:10px;background:#fff;top:0;z-index:12}.brand{font-size:16px;gap:7px;min-width:0}.brand>span{display:none}.brand>#mobile-brand-title{display:block;line-height:1.3;font-weight:700;font-size:16px;letter-spacing:0}.brand .yuleyuan-logo{width:36px;height:30px;object-fit:contain}.identity{margin-left:auto;border:1px solid #e4eae9;border-radius:20px;font-size:11px;background:#fff;min-height:32px;max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px 12px}
 body>main{padding:0 22px;margin:12px auto 0;min-height:calc(100dvh - 180px)}.c-welcome{padding-top:0}.c-welcome h1{font-size:24px}.c-shop .c-hero-art,.c-shop .c-eyebrow{display:none}.c-shop .c-welcome h1{font-size:21px;line-height:1.35;margin:0 0 3px}.c-shop .c-channel{margin:0 0 8px;padding:0 10px;min-height:44px;font-size:10px}.c-channel button{min-height:44px}.c-shop .c-section-head{margin:12px 0 10px}.c-shop .c-ticket-foot{margin-top:14px}.c-ticket-grid{grid-template-columns:1fr;gap:14px}.c-ticket{padding:17px}.c-ticket h2{font-size:19px}.c-ticket-foot button{font-size:13px;min-height:44px}.c-price{font-size:26px}.c-section-head h2{font-size:16px}.c-page-head h1{font-size:24px}.c-page-head{margin:3px 0 18px}
 #mobile-nav{padding:5px 12px calc(5px + env(safe-area-inset-bottom));height:calc(64px + env(safe-area-inset-bottom));display:flex;flex-direction:row;gap:4px;z-index:20}#mobile-nav button{flex:1;min-width:0;min-height:50px;padding:3px 5px;border-radius:0;gap:4px;font-size:11px;color:#839397;background:none;font-weight:400}#mobile-nav .c-icon{width:22px;height:22px;filter:grayscale(1);opacity:.6}#mobile-nav button.active{color:#147b9c;background:none;font-weight:600}#mobile-nav button.active .c-icon{filter:none;opacity:1}
 #toast{bottom:calc(83px + env(safe-area-inset-bottom));width:max-content;max-width:90%;font-size:12px;padding:12px 16px}
 dialog.customer-dialog{inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:16px 22px calc(24px + env(safe-area-inset-bottom));box-shadow:none;background:#fbfcfa;overflow-y:auto;overscroll-behavior:contain}.customer-dialog .c-dialog-head{position:sticky;top:-16px;background:#fbfcfa;z-index:2;padding-top:6px;min-height:52px;margin-top:-6px}.customer-dialog .close-modal{position:fixed;top:16px;right:16px;z-index:3;min-width:34px;min-height:34px;background:#fbfcfa;font-size:23px}.customer-dialog .c-detail-art{margin:0 -22px;width:calc(100% + 44px);border-radius:0;height:190px}.customer-dialog .c-buy-bar{position:sticky;bottom:calc(-24px - env(safe-area-inset-bottom));margin:20px -22px calc(-24px - env(safe-area-inset-bottom));padding:14px 22px calc(14px + env(safe-area-inset-bottom));z-index:2;box-shadow:0 -4px 16px #213c4708}.customer-dialog .form-actions button{min-height:44px;flex:1}.customer-dialog .form-grid{grid-template-columns:1fr}.customer-dialog .c-quantity-field{margin-top:5px}.customer-dialog #modal-body>h2{padding-right:32px;font-size:23px}.customer-dialog #modal-body>p{font-size:12px;line-height:1.8}.c-profile h1{font-size:23px}.c-wallet-tabs{margin:0 -4px}.c-wallet-tabs button{padding:8px 12px}.c-wallet-card h2{font-size:18px}.c-pager button{min-height:40px}.c-list-row{min-height:68px}.c-voucher-row .tag,.c-refund-row .tag{font-size:10px}.c-order-title h1,.c-voucher-heading h1{font-size:22px}.c-help-card summary{min-height:48px}.c-dialog .c-contact .button-link{min-height:44px}
 [data-page=work] .sidebar{display:flex;gap:4px;flex-wrap:nowrap;overflow-x:auto;border:0;border-bottom:1px solid #e4eae9;background:none;border-radius:0;padding:0 0 10px;margin:0 0 20px;scrollbar-width:none}[data-page=work] .sidebar button{font-size:12px;padding:8px 12px;border-radius:18px;min-height:40px}[data-page=work] .sidebar button.active{background:#147b9c;color:white}[data-page=work] .role-actions{display:block;margin:22px 0;border-top:1px solid #e4eae9}[data-page=work] .role-actions button{border:0;border-bottom:1px solid #e4eae9;border-radius:0;background:none;width:100%;padding:15px 0;min-height:60px;font-size:14px}[data-page=work] .role-actions small{font-size:11px;margin-top:4px}[data-page=work] .metrics{border-top:1px solid #e4eae9;border-bottom:1px solid #e4eae9;gap:0;margin:20px 0}[data-page=work] .metric{border:0;border-radius:0;background:none;padding:15px 5px}[data-page=work] .metric strong{font-size:25px;margin-top:4px}[data-page=work] .page-title h1{font-size:24px}[data-page=work] .page-title>.sub{font-size:12px}[data-page=work] .page-title>button{font-size:12px;min-height:40px;padding:7px 10px}
 #redeem-form .primary{min-height:48px}.c-qr-panel{padding:20px 14px}.c-qr-panel>img{width:230px;height:230px}.c-kv dd{min-width:0}.c-detail-actions{flex-wrap:wrap}.c-search input{font-size:16px}
}
@media(max-width:370px){body>main{padding-left:18px;padding-right:18px}.c-welcome h1{font-size:24px}.c-ticket{padding:14px}.c-ticket-foot button{font-size:12px;padding:10px}.c-price{font-size:24px}.c-order-shortcuts button{font-size:11px}.c-dialog .c-qr-panel>img{width:210px;height:210px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:760px){.identity,.c-park-switch,.c-text-button,.c-wallet-tabs button,.c-code-tabs button,.c-pager button,.c-dialog button{min-height:44px}.c-welcome h1{margin-bottom:8px}.customer-dialog .close-modal{min-width:44px;min-height:44px;top:10px;right:10px}}

.r-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.r-counts span{display:flex;flex-direction:column;align-items:center;background:#f2f8fa;border-radius:10px;padding:10px}.r-counts b{font-size:23px}.r-quantity{display:grid;grid-template-columns:56px 1fr 56px 100px;align-items:center;gap:8px}.r-quantity button{min-height:52px;font-size:18px}.r-quantity strong{text-align:center;font-size:32px}.r-submit{width:100%;min-height:56px;font-size:19px}.r-selected{font-size:18px}.r-receipt strong{font-size:20px}.r-order{overflow-wrap:anywhere}.r-quick details{margin-top:18px}

/* Redemption: one order surface, compact status line and one primary action. */
.r-workspace{max-width:800px;margin:0 auto}
.r-entry{padding:0 0 16px}.r-site-label{font-size:12px;color:var(--muted);display:block}
.r-site-label select{display:block;margin-top:6px;width:100%;min-height:44px}
.r-workspace .r-scan-action{min-height:62px;height:auto;flex-direction:row;gap:12px;margin:12px 0;border-radius:12px}
.r-workspace .r-scan-action .c-icon{width:25px;height:25px}.r-workspace .r-scan-action strong{font-size:18px}.r-workspace .r-scan-action small{font-size:12px}
.r-manual{border:0}.r-manual summary,.r-help summary{min-height:44px;display:list-item;padding:10px 0;font-size:13px;color:var(--muted);cursor:pointer}
.r-manual-row{display:flex;gap:8px;align-items:center}.r-manual-row input{flex:1;min-width:0;height:44px;font-size:14px}.r-manual-row button{white-space:nowrap;min-height:44px;font-size:13px}
.r-text-button{min-height:44px;padding:6px 8px;border:0;background:transparent;color:var(--blue);font-size:13px;white-space:nowrap}
.r-order-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;min-width:0}
.r-ticket-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.r-ticket-heading>div{min-width:0}.r-ticket-heading small{font-size:11px;color:var(--muted)}.r-ticket-heading h2{font-size:18px;line-height:1.45;margin:4px 0 0;overflow-wrap:anywhere}.r-switch{padding:0;flex:none}
.r-order-panel .r-order{font-size:11px;color:var(--muted);margin:8px 0 18px;overflow-wrap:anywhere}
.r-status-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 0;background:#f5f8f8;border-radius:10px}
.r-status-strip span{display:flex;flex-direction:column;align-items:center;border-right:1px solid #e2eaeb;gap:3px}.r-status-strip span:last-child{border-right:0}.r-status-strip b{font-size:22px;line-height:1.2}.r-status-strip small{font-size:11px;color:var(--muted);white-space:nowrap}.r-status-strip .r-usable b{color:var(--blue)}
.r-state-note{background:#fff8eb;color:#976329;padding:10px 12px;margin:12px 0 0;border-radius:8px;font-size:12px;line-height:1.6}
.r-selection{margin:22px 0 16px}.r-selection-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.r-selection-head h3{font-size:16px;margin:0}.r-all{min-height:44px;border:0;background:transparent;color:var(--blue);padding:6px 0;font-size:13px;white-space:nowrap}
.r-stepper{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:14px;margin-top:10px}.r-stepper button{min-height:52px;font-size:21px;border-radius:10px}.r-stepper strong{font-size:34px;line-height:1.2;text-align:center}.r-stepper strong small{font-size:13px;font-weight:400;margin-left:7px;color:var(--muted)}
.r-remaining{text-align:center;margin:12px 0 0;font-size:12px;color:var(--muted)}
.r-order-panel .r-details{border-top:1px solid var(--line);margin:16px 0 0;padding-top:4px}.r-details summary{padding:10px 0;min-height:44px;font-size:12px;color:var(--muted);cursor:pointer}.r-details p{display:flex;justify-content:space-between;margin:0;padding:8px 0;font-size:12px}.r-details b{font-weight:500}
.r-action-bar{display:flex;align-items:center;gap:20px;margin-top:16px}.r-action-bar>div{min-width:70px}.r-action-bar small{display:block;color:var(--muted);font-size:11px}.r-action-bar strong{font-size:24px;line-height:1.2}.r-action-bar strong span{font-size:13px;font-weight:400}.r-action-bar .r-submit{flex:1;width:auto;min-height:52px;font-size:16px;border-radius:10px}
.r-no-tickets{text-align:center;padding:24px 8px 8px}.r-no-tickets strong{font-size:16px}.r-no-tickets p{font-size:12px;color:var(--muted);margin:6px 0 0}
.r-help{margin-top:10px}.r-help p{font-size:12px;line-height:1.7;color:var(--muted)}
.r-order-panel .r-error{margin:12px 0 16px;padding:12px;border-radius:8px;font-size:12px;line-height:1.6}.r-error p{margin:6px 0}.r-error button{min-height:44px;font-size:12px;padding:6px 12px;margin-top:4px}
.r-receipt{border-radius:14px;padding:20px}.r-receipt p{font-size:12px;overflow-wrap:anywhere}.r-receipt .r-submit{font-size:16px;min-height:52px}
#redeem-preview{scroll-margin-top:66px}
@media(max-width:767px){
 .r-workspace{padding-bottom:98px}.r-order-panel{padding:18px}.r-workspace .r-scan-action small{display:none}.r-workspace .r-scan-action{min-height:58px}
 .r-action-bar{position:fixed;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom));z-index:21;margin:0;padding:12px 20px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 16px #213c4705;gap:18px}
 .r-action-bar>div{min-width:68px}.r-action-bar .r-submit{min-height:50px}
 [data-page=work]:has(.r-workspace) .page-title{margin-bottom:14px}[data-page=work]:has(.r-workspace) .page-title h1{font-size:20px}
 body:has(.r-workspace) #toast{bottom:calc(155px + env(safe-area-inset-bottom))}
}

/* First-time staff access is a visible sign-in action, never a workspace grant. */
.c-staff-entry{margin:18px 0;border:1px solid #d9e8eb;border-radius:14px;background:#f1f8f8}
.c-staff-entry>button{display:flex;align-items:center;gap:12px;width:100%;min-height:72px;padding:14px 16px;border:0;border-radius:14px;background:transparent;text-align:left;color:var(--ink)}
.c-staff-entry>button>span{flex:1;min-width:0}.c-staff-entry b{display:block;font-size:16px}.c-staff-entry small{display:block;margin-top:4px;font-size:12px;line-height:1.5;color:var(--muted)}
.c-staff-entry .c-icon{width:22px;height:22px;flex:none;color:var(--blue)}

.c-ticket-stock{display:flex;flex-wrap:wrap;gap:6px 16px;padding:10px 12px;background:#edf7f8;border-radius:10px;font-size:14px;color:#315d68}.c-ticket-stock b{color:#096e86;font-size:18px}.c-ticket-limit,.c-checkout-rules{font-size:13px!important;line-height:1.7!important;color:#546c77!important}.c-checkout-rules{background:#fff5df;padding:10px;border-radius:8px}

/* Personal wallet: active tickets first; history and search remain available. */
.c-wallet .c-page-head{margin-bottom:14px}.c-wallet .c-page-head p{line-height:1.6}
.c-wallet>.c-wallet-tabs{gap:6px;padding-bottom:10px}.c-wallet>.c-wallet-tabs button{min-height:44px;padding:8px 12px}
.c-wallet-tools{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px 20px;border-bottom:1px solid #dce6e6;padding-bottom:5px}
.c-wallet-tools>details{flex:1;min-width:140px}.c-wallet-tools>details[open]{flex-basis:100%}
.c-wallet-tools summary{display:flex;align-items:center;gap:7px;cursor:pointer;min-height:44px;padding:8px 0;box-sizing:border-box;font-size:13px;color:#315d68;list-style:none}
.c-wallet-tools summary::before{content:'\25B8';font-size:12px}.c-wallet-tools details[open]>summary::before{content:'\25BE'}
.c-wallet-tools summary:focus-visible,.c-wallet-meta summary:focus-visible{outline:3px solid #dfa250;outline-offset:2px}
.c-wallet-tools .c-wallet-tabs{padding-bottom:8px}.c-wallet-tools .c-wallet-tabs button{min-height:44px}
.c-order-handoff{margin:0 0 16px;padding:12px 16px;border:1px solid #d4e6e9;border-radius:12px;background:#f3f9fa}
.c-order-handoff p{margin:0 0 8px;color:#345864;font-size:14px;line-height:1.5}
.c-order-handoff button,.c-order-handoff-tag{width:100%;min-height:44px}
.c-order-handoff>button[hidden]{display:none}
.c-order-handoff-tag{display:block;opacity:0;pointer-events:none}
.c-order-handoff-tag.ready{opacity:1;pointer-events:auto}
.c-order-handoff [data-order-handoff-status]{margin:8px 0 0}
.c-order-handoff [data-order-handoff-status]:empty{display:none}
.c-wallet .c-search{margin-bottom:10px}.c-wallet .c-search input,.c-wallet .c-search button{min-height:44px;box-sizing:border-box}
.c-wallet-result-head{margin:8px 0 10px}.c-wallet .c-text-button,.c-wallet .c-icon-button,.c-wallet .c-pager button{min-height:44px}
.c-wallet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.c-wallet-grid .c-wallet-card{min-width:0;margin:0;padding:16px;overflow-wrap:anywhere}
.c-wallet-grid .c-wallet-card-head{align-items:flex-start}.c-wallet-card-head>small{min-width:0;line-height:1.6}
.c-wallet-card-head>.tag{flex-shrink:0}.c-wallet-grid .c-wallet-card h2{font-size:18px;line-height:1.5;margin:8px 0}
.c-wallet-count{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-bottom:8px}.c-wallet-count>strong{font-size:18px;color:#145b70}.c-wallet-count>span{font-size:12px;color:#526b76}
.c-wallet-card .c-validity{display:block;font-size:12px;line-height:1.6}.c-wallet-progress{display:flex;flex-direction:column;gap:3px;background:#fff5e4;color:#79551c;border-radius:8px;padding:9px 11px;margin:9px 0;font-size:12px;line-height:1.6}.c-wallet-progress b{font-weight:600}
.c-wallet-grid .c-wallet-notice{font-size:12px;color:#79551c;line-height:1.7;background:#fff5e4;padding:9px 11px;border-radius:8px;margin:9px 0}
.c-wallet-card .c-wallet-foot{margin-top:12px;padding-top:12px}.c-wallet-card .c-wallet-foot>strong{font-size:20px}.c-wallet-card .c-wallet-foot>button{min-height:44px;min-width:104px}.c-wallet-card .c-wallet-detail{margin-top:3px;min-height:44px}
.c-wallet-meta{border-top:1px solid #edf0ef;margin-top:5px}.c-wallet-meta summary{cursor:pointer;color:#526b76;font-size:12px;line-height:20px;min-height:44px;box-sizing:border-box;padding:12px 0}
.c-wallet-meta dl{margin:0 0 5px;font-size:12px;line-height:1.7}.c-wallet-meta dl>div{display:flex;gap:12px;padding:5px 0}.c-wallet-meta dt{flex-shrink:0;color:#526b76}.c-wallet-meta dd{margin:0;min-width:0;overflow-wrap:anywhere}
@media(max-width:650px){.c-wallet-grid{grid-template-columns:minmax(0,1fr);gap:12px}.c-wallet>.c-wallet-tabs{margin:0;gap:4px}.c-wallet>.c-wallet-tabs button{flex:1;padding:8px 9px;font-size:12px}.c-wallet-tools{gap:4px 14px}.c-wallet-grid .c-wallet-card{padding:14px}.c-wallet-card .c-wallet-foot>button{min-width:100px}.c-wallet .c-search input{font-size:16px}}

.c-wallet-pending-priority{margin:18px 0 26px;padding:16px;border:1px solid #ead5ad;border-radius:14px;background:#fffaf0}.c-wallet-pending-priority>p,.c-wallet-pending-note{font-size:14px;line-height:1.65;color:#74634d}.c-wallet-cancel{min-height:44px;width:100%;margin-top:10px}.c-pending-recovery{margin:20px 0}.c-pending-recovery article{border:1px solid #d6e3e9;border-radius:12px;padding:16px;margin:12px 0}.c-pending-actions{display:flex;flex-wrap:wrap;gap:10px}.c-pending-actions button{flex:1 1 150px;min-height:44px}.c-purchase-blocked{padding:16px;background:#fff5e8;border-left:4px solid #a76720;border-radius:10px}.c-purchase-blocked h1{font-size:22px;line-height:1.5;margin:0 0 12px}.c-purchase-blocked p{line-height:1.65}.c-purchase-usage{display:flex;flex-wrap:wrap;gap:12px;padding:12px;background:#f1f6f8;border-radius:9px}.c-purchase-usage span{font-size:14px}.c-wallet-pending-priority .c-section-head{gap:10px;flex-wrap:wrap}@media(max-width:650px){.c-wallet-pending-priority{padding:12px}.c-purchase-blocked h1{font-size:20px}.c-pending-actions{display:grid;grid-template-columns:1fr 1fr}.c-pending-actions button{padding:10px 8px}}

.c-wallet-pending-card .c-wallet-foot{display:block}.c-wallet-order-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:14px}.c-wallet-order-actions button{min-height:44px;white-space:normal;overflow-wrap:anywhere}.c-wallet-order-actions button:only-child{grid-column:1/-1}.c-wallet-order-actions .c-wallet-cancel{margin:0}
