:root{--ru-orange:#ff6414;--ru-ink:#101323;--ru-muted:#7f879b;--ru-pale:#fff7ef;--ru-scale:1;--safe-b:env(safe-area-inset-bottom,0px)}
body.reference-ui{max-width:480px;width:100%;margin:0 auto;color:var(--ru-ink);background:#f5f7f9;font-size:15px;-webkit-text-size-adjust:100%;overflow-x:hidden}
.reference-ui #screen-main{padding-bottom:calc(66px + var(--safe-b))}
.reference-ui .bottom-nav{max-width:480px;padding:8px 0 calc(7px + var(--safe-b));min-height:60px;background:#fff;backdrop-filter:none;border-top:1px solid #f3f4f6}
.reference-ui .nav-item{font-size:12px;color:#8991a4;gap:3px;min-height:44px}
.reference-ui .nav-item .nv{width:27px;height:27px}
.reference-ui .nav-item.on{color:var(--ru-orange)}
.reference-ui .nav-item[data-tab="home"].on .nv path:nth-child(2),.reference-ui .nav-item[data-tab="orders"].on .nv path:first-child,.reference-ui .nav-item[data-tab="me"].on .nv circle,.reference-ui .nav-item[data-tab="me"].on .nv path{fill:currentColor}
.reference-ui .nav-item[data-tab="orders"].on .nv path:nth-child(2),.reference-ui .nav-item[data-tab="home"].on .nv path:nth-child(3){stroke:#fff}
.reference-ui [hidden]{display:none!important}
.reference-ui button{cursor:pointer;-webkit-appearance:none;touch-action:manipulation}
.reference-ui button:disabled{cursor:default;opacity:.55}
.reference-ui button:focus-visible,.reference-ui a:focus-visible{outline:3px solid #f7a05d;outline-offset:3px}
.ru-icon{width:24px;height:24px;flex:0 0 auto;vertical-align:middle}
.ru-icon-button{display:inline-flex;align-items:center;justify-content:center;position:relative;width:44px;height:44px;flex:0 0 44px;background:#fff;border:0;border-radius:12px;color:#11141e}
.ru-icon-button .ru-icon{width:27px;height:27px}
.ru-link{display:inline-flex;align-items:center;justify-content:center;gap:3px;background:transparent;border:0;color:var(--ru-muted);font-size:13px;min-height:36px;white-space:nowrap}
.ru-link .ru-icon{width:15px;height:15px}
.ru-pill,.ru-primary,.ru-danger{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:7px 16px;border:1px solid #d9dde5;border-radius:24px;font-weight:600;font-size:14px;background:#fff;color:var(--ru-ink);text-decoration:none;line-height:1.35}
.ru-primary{border-color:var(--ru-orange);background:linear-gradient(105deg,#ff751c,#ff590b);color:#fff;min-height:44px}
.ru-danger{color:#bd382c;border-color:#f1ccc6;min-height:44px}
.ru-muted{color:var(--ru-muted);font-size:13px;line-height:1.6}
.ru-sprite{display:block;flex:0 0 auto;background-image:url('/delivery/h5/reference.png');background-repeat:no-repeat;background-size:1536px 1024px}
.ru-sp-stat-box{width:44px;height:44px;background-position:-36px -454px}
.ru-sp-stat-person{width:45px;height:44px;background-position:-199px -454px}
.ru-sp-stat-flash{width:43px;height:44px;background-position:-346px -454px}
.ru-sp-books{width:65px;height:49px;background-position:-44px -592px}
.ru-sp-rain{width:45px;height:43px;background-position:-170px -595px}
.ru-sp-parcel{width:46px;height:49px;background-position:-283px -592px}
.ru-sp-location{width:38px;height:48px;background-position:-397px -592px}
.ru-sp-platform-0{width:40px;height:40px;background-position:-36px -756px}
.ru-sp-platform-1{width:40px;height:40px;background-position:-98px -756px}
.ru-sp-platform-2{width:40px;height:40px;background-position:-163px -756px}
.ru-sp-platform-3{width:40px;height:40px;background-position:-226px -756px}
.ru-sp-platform-4{width:40px;height:40px;background-position:-289px -756px}
.ru-sp-platform-5{width:40px;height:40px;background-position:-352px -756px}
.ru-sp-school{width:79px;height:80px;background-position:-274px -863px}
.ru-sp-avatar{width:93px;height:93px;background-position:-1080px -96px}
.ru-home{background:#fff;padding-top:calc(5px + env(safe-area-inset-top,0px));padding-bottom:8px}
.ru-home-head{display:flex;align-items:flex-start;justify-content:space-between;gap:4px;padding:0 calc(13px * var(--ru-scale)) 0 calc(24px * var(--ru-scale));min-height:calc(58px * var(--ru-scale))}
.ru-school{display:flex;align-items:flex-start;gap:7px;background:none;border:0;text-align:left;flex:1;min-width:0;padding-top:2px}
.ru-school>.ru-icon{color:#ff7717;width:24px;height:29px;margin-top:2px}
.ru-school>span{min-width:0}
.ru-school strong{display:block;font-size:clamp(16px,calc(18px * var(--ru-scale)),19px);font-weight:800;line-height:1.5;overflow-wrap:anywhere}
.ru-school small{font-size:16px;color:#16171a;margin-left:4px}
.ru-school .ru-muted{display:block;font-size:clamp(12px,calc(14px * var(--ru-scale)),14px);white-space:normal;margin-top:1px}
.ru-head-tools{display:flex;gap:4px;flex-shrink:0}
#ru-notice-dot{position:absolute;right:9px;top:7px;width:7px;height:7px;background:#ff5913;border-radius:50%;border:1px solid #fff}
.ru-open-row{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 calc(24px * var(--ru-scale)) 0 calc(26px * var(--ru-scale));min-height:calc(36px * var(--ru-scale))}
.ru-open-pill{display:inline-flex;align-items:center;gap:7px;padding:5px 12px;background:#effbf0;color:#079c45;border-radius:10px;font-size:clamp(12px,calc(14px * var(--ru-scale)),14px);font-weight:600}
.ru-open-pill .ru-icon{width:20px;height:20px;fill:#0cb555;stroke:#fff;stroke-width:2}
.ru-open-pill.ru-paused{color:#956523;background:#fff7e8}
.ru-paused .ru-icon{fill:#c79744}
.ru-hero{position:relative;height:calc(285px * var(--ru-scale));overflow:hidden;background:#fff}
.ru-hero-art{position:absolute;right:0;top:0;width:225px;height:284px;background:url('/delivery/h5/reference.png') no-repeat -260px -153px;background-size:1536px 1024px;transform:scale(var(--ru-scale));transform-origin:top right;pointer-events:none;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 20%,#000 100%);mask-image:linear-gradient(to right,transparent 0%,#000 20%,#000 100%)}
.ru-hero-art::before{content:'';position:absolute;left:0;top:62px;width:66px;height:88px;background:linear-gradient(to right,#fff 74%,#ffffff00);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 16%,#000 84%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 16%,#000 84%,transparent)}
.ru-hero h1{position:absolute;left:calc(26px * var(--ru-scale));top:calc(22px * var(--ru-scale));z-index:1;font-size:clamp(32px,calc(42px * var(--ru-scale)),43px);font-weight:900;line-height:1.28;letter-spacing:-1.3px;color:#050506;margin:0}
.ru-hero h1 em{font-style:normal;color:#ff6514}
.ru-hero p{position:absolute;left:calc(26px * var(--ru-scale));top:calc(139px * var(--ru-scale));z-index:1;font-size:clamp(15px,calc(19px * var(--ru-scale)),19px);line-height:1.4;font-weight:450}
.ru-hero .ru-hero-cta{position:absolute;left:calc(21px * var(--ru-scale));top:calc(203px * var(--ru-scale));width:calc(231px * var(--ru-scale));height:calc(57px * var(--ru-scale));min-height:44px;z-index:2;font-size:clamp(16px,calc(20px * var(--ru-scale)),20px);font-weight:800;box-shadow:0 5px 14px #ff741521;padding:0 12px;white-space:nowrap}
.ru-hero-cta span{font-size:24px;font-weight:500;margin-left:4px}
.ru-stats{margin:0 calc(12px * var(--ru-scale));padding:calc(14px * var(--ru-scale)) calc(12px * var(--ru-scale));min-height:calc(89px * var(--ru-scale));display:grid;grid-template-columns:1.15fr 1fr 1.15fr;gap:6px;border-radius:15px;background:#fffbf6;align-items:start}
.ru-stat{display:flex;gap:calc(4px * var(--ru-scale));align-items:flex-start;min-width:0}
.ru-stat-art{width:calc(36px * var(--ru-scale));height:calc(36px * var(--ru-scale));flex:0 0 calc(36px * var(--ru-scale))}
.ru-stat-art .ru-sprite{transform:scale(calc(var(--ru-scale) * .8));transform-origin:top left}
.ru-stat>div{min-width:0}
.ru-stat strong{display:block;font-size:clamp(18px,calc(22px * var(--ru-scale)),23px);font-weight:800;white-space:nowrap;line-height:1.25;font-variant-numeric:tabular-nums}
.ru-stat strong small{font-size:clamp(11px,calc(13px * var(--ru-scale)),13px);font-weight:600}
.ru-stat div>span{display:block;color:#778197;font-size:clamp(11px,calc(13px * var(--ru-scale)),12px);line-height:1.45;margin-top:2px;white-space:nowrap}
.ru-home-section{margin:calc(19px * var(--ru-scale)) calc(18px * var(--ru-scale)) 0}
.ru-home-section h2{font-size:clamp(16px,calc(20px * var(--ru-scale)),20px);font-weight:800;line-height:1.5;margin-bottom:7px;letter-spacing:-.4px}
.ru-scenes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:calc(10px * var(--ru-scale))}
.ru-scene{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:1px;border:0;border-radius:10px;background:#fff8f2;padding:6px 2px 9px;min-height:calc(112px * var(--ru-scale));font-size:clamp(12px,calc(14px * var(--ru-scale)),14px);font-weight:500;color:#161c2a;line-height:1.5;min-width:0}
.ru-scene-art{height:calc(55px * var(--ru-scale));width:100%;display:flex;align-items:center;justify-content:center;margin-bottom:4px}
.ru-scene-art .ru-sprite{transform:scale(var(--ru-scale));transform-origin:center}
.ru-scene small{font-size:12px;font-weight:400;color:#686c73;white-space:nowrap}
.ru-platform-section{margin-top:calc(21px * var(--ru-scale))}
.ru-platform-section h2{white-space:normal;overflow-wrap:anywhere}
.ru-platform-note{font-size:12px;color:#686f7f;line-height:1.6;margin:8px 0 0;white-space:normal;overflow-wrap:anywhere}
.ru-platforms{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.ru-platform{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:5px;padding:0 0 2px;color:#354056;font-size:12px;min-width:0}
.ru-platform-art,.ru-more-icon{border-radius:10px;width:calc(40px * var(--ru-scale));height:calc(40px * var(--ru-scale));overflow:hidden}
.ru-platform-art .ru-sprite{transform:scale(var(--ru-scale));transform-origin:top left}
.ru-more-icon{display:grid;place-items:center;background:#f2f3f6;color:#778092;font-size:19px;letter-spacing:2px}
.ru-join{position:relative;overflow:hidden;margin:calc(24px * var(--ru-scale)) calc(12px * var(--ru-scale)) 0;border-radius:13px;background:#fff0df;min-height:calc(101px * var(--ru-scale));padding:calc(12px * var(--ru-scale)) calc(18px * var(--ru-scale));isolation:isolate}
.ru-join h2{font-size:clamp(17px,calc(21px * var(--ru-scale)),21px);color:#9a390d;font-weight:800;position:relative;z-index:1}
.ru-join p{font-size:12px;color:#a95424;line-height:1.55;margin-top:1px;position:relative;z-index:1;max-width:62%}
.ru-join-art{position:absolute;left:56%;bottom:0;width:calc(79px * var(--ru-scale));height:calc(80px * var(--ru-scale));z-index:0}
.ru-join-art .ru-sprite{transform:scale(var(--ru-scale));transform-origin:top left}
.ru-join>.ru-primary{position:absolute;right:calc(13px * var(--ru-scale));bottom:calc(22px * var(--ru-scale));min-height:40px;width:calc(105px * var(--ru-scale));padding:0 8px;font-size:clamp(13px,calc(16px * var(--ru-scale)),16px);z-index:2;white-space:nowrap}
.ru-hint{margin:14px;padding:12px;border:1px solid #ffe0ba;border-radius:12px;background:#fffaf3;font-size:13px;color:#795b2e;line-height:1.6}
.ru-hint button{margin:6px 6px 0 0}
.ru-orders{background:#f5f7f9;min-height:calc(100dvh - 66px)}
.ru-orders-head{height:calc(53px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);display:flex;align-items:center;justify-content:center;position:relative;background:#fff}
.ru-orders-head h1{font-size:22px;line-height:1.4;font-weight:800;margin:0}
.ru-orders-head>.ru-icon-button{position:absolute;right:16px;bottom:3px}
.ru-issues-link{position:absolute;left:16px;bottom:6px;font-size:12px}
.ru-issues-link.is-active{color:var(--ru-orange)}
.ru-order-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;min-height:44px;padding:0 9px}
.ru-order-tab{position:relative;min-height:44px;border:0;background:none;color:#767d92;font-size:16px;text-align:center;font-weight:500}
.ru-order-tab.is-active{color:#0e1119;font-weight:750}
.ru-order-tab.is-active::after{content:'';height:3px;width:54px;background:var(--ru-orange);border-radius:3px;position:absolute;left:50%;bottom:0;transform:translateX(-50%)}
.ru-search{display:flex;gap:7px;padding:5px 14px 12px;background:#fff;align-items:center}
.ru-search input{width:0;flex:1;min-height:42px;border:1px solid #e3e6ec;border-radius:22px;background:#f7f8fa;padding:0 12px;font-size:15px;outline:none}
.ru-search button[type="submit"]{border:0;border-radius:22px;background:var(--ru-orange);color:#fff;min-height:40px;padding:0 13px;font-size:14px}
.ru-search input:focus{border-color:var(--ru-orange)}
#ru-order-results{padding:1px 0 12px}
.ru-filter-note{padding:10px 18px 0;font-size:13px;color:#916336}
.ru-deadline-link{padding:8px 18px 0;font-size:12px;color:#916336}.ru-deadline-link .ru-link{font-size:12px}
.ru-order-copy .ru-expiry-note{font-size:12px;color:#916336;line-height:1.6;margin-top:8px}.ru-order-copy>.ru-link{font-size:12px;text-align:left;padding:4px 0}
.ru-order-card{margin:12px 12px 0;padding:14px 16px;border-radius:16px;background:#fff}
.ru-order-card>header{display:flex;align-items:center;gap:8px;min-height:30px}
.ru-order-logo{flex:0 0 30px;width:30px;height:30px;overflow:hidden;border-radius:8px;background:#fff8f0;color:#f38c38}
.ru-order-logo>.ru-sprite{transform:scale(.75);transform-origin:top left}
.ru-order-logo>.ru-icon{width:30px;height:30px;padding:3px}
.ru-order-platform{font-size:15px;font-weight:650;white-space:nowrap;flex-shrink:1;min-width:0;max-width:35%;overflow:hidden;text-overflow:ellipsis}
.ru-order-number{font-size:12px;color:var(--ru-muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:4em}
.ru-order-status{border:0;background:none;color:var(--ru-orange);display:flex;align-items:center;justify-content:flex-end;gap:2px;font-size:14px;line-height:1.4;max-width:43%;min-height:30px;text-align:right;flex-shrink:0}
.ru-order-status .ru-icon{width:15px;height:15px;color:#9ca5b7}
.ru-order-status.arrived{color:#05ac51}
.ru-order-status.issues{color:#b27436}
.ru-order-body{display:grid;grid-template-columns:clamp(70px,calc(88px * var(--ru-scale)),90px) minmax(0,1fr);gap:13px;margin-top:10px;align-items:start}
.ru-parcel-placeholder{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid #eee9e3;border-radius:9px;background:#f8f4ef;color:#ad947d}
.ru-parcel-placeholder>.ru-icon{width:36px;height:36px;stroke-width:1.2}
.ru-parcel-placeholder>small{font-size:11px;color:#9d8d7e;letter-spacing:1px}
.ru-order-copy{min-width:0}
.ru-order-copy h2{font-size:15px;font-weight:600;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:2px 0 0;overflow-wrap:anywhere}
.ru-order-copy>p{font-size:13px;color:#838b9e;line-height:1.45;margin-top:4px;overflow-wrap:anywhere}
.ru-order-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:10px}
.ru-order-actions:empty{display:none}
.ru-order-actions .ru-pill{min-height:37px;padding:6px 14px;font-size:13px;font-weight:500;white-space:nowrap}
.ru-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:13px -2px 0}
.ru-progress-step{position:relative;display:flex;flex-direction:column;align-items:center;font-size:12px;color:#8991a3;gap:3px}
.ru-progress-step::before{content:'';position:absolute;left:-50%;right:50%;top:8px;height:2px;background:#e2e5eb;z-index:0}
.ru-progress-step:first-child::before{display:none}
.ru-progress-step.is-done+.ru-progress-step.is-done::before{background:var(--ru-orange)}
.ru-progress-step i{font-style:normal;border:1px solid #fff;display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#dde1e7;color:#fff;font-size:11px;position:relative;z-index:1}
.ru-progress-step.is-done i{background:var(--ru-orange)}
.ru-more{text-align:center;padding:18px 0 4px}
.ru-empty{text-align:center;padding:30px 16px;color:#7f8796;font-size:14px;line-height:1.8}
.ru-empty button{margin-top:12px}
.ru-load-error{background:#fff6e9;color:#926426;border-radius:10px;font-size:13px;margin:12px;padding:9px 12px}
.ru-load-error button{margin-left:8px;color:#9a5c1d}
.ru-me{padding-top:env(safe-area-inset-top,0px);padding-bottom:8px;background:#f5f7f9}
.ru-me-top{display:flex;justify-content:flex-end;background:#fff;height:calc(38px * var(--ru-scale));padding:0 14px}
.ru-me-top .ru-icon-button{height:100%}
.ru-user{display:flex;align-items:center;gap:clamp(12px,calc(20px * var(--ru-scale)),20px);padding:0 calc(14px * var(--ru-scale)) calc(19px * var(--ru-scale)) calc(26px * var(--ru-scale));background:#fff;min-height:calc(111px * var(--ru-scale))}
.ru-avatar{flex:0 0 calc(93px * var(--ru-scale));width:calc(93px * var(--ru-scale));height:calc(93px * var(--ru-scale));overflow:hidden;border-radius:50%}
.ru-avatar .ru-sprite{transform:scale(var(--ru-scale));transform-origin:top left}
.ru-user-copy{flex:1;min-width:0}
.ru-user-name{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ru-user-name h1{font-size:clamp(18px,calc(21px * var(--ru-scale)),21px);font-weight:800;overflow-wrap:anywhere;line-height:1.4}
.ru-user-badge{display:inline-flex;align-items:center;gap:3px;font-size:11px;line-height:1.5;color:#ff771f;background:#fff0d9;border-radius:12px;padding:2px 7px;white-space:nowrap}
.ru-user-badge .ru-icon{width:17px;height:17px;color:#ff9a23}
.ru-user-copy p{color:#83899c;font-size:clamp(13px,calc(16px * var(--ru-scale)),16px);line-height:1.5;margin-top:7px;overflow-wrap:anywhere}
.ru-user>.ru-icon-button{width:24px;flex:0 0 24px;color:#9198ab}
.ru-user>.ru-icon-button .ru-icon{width:19px;height:19px}
.ru-free{position:relative;isolation:isolate;overflow:hidden;min-height:calc(125px * var(--ru-scale));margin:0 14px calc(12px * var(--ru-scale));padding:calc(15px * var(--ru-scale)) calc(24px * var(--ru-scale));border-radius:15px;background:linear-gradient(105deg,#ff682d,#ff9b41);color:#fff}
.ru-free h2{font-size:clamp(16px,calc(18px * var(--ru-scale)),18px);font-weight:650;line-height:1.35}
.ru-free-info{color:inherit;background:none;border:0;font-size:16px;padding:0 4px;min-width:24px;min-height:22px}
.ru-free-counts{display:grid;grid-template-columns:1fr 1.45fr;margin-top:5px;align-items:center;font-size:14px;position:relative;z-index:1}
.ru-free-counts>div{min-width:0;line-height:1.15}
.ru-free-counts>div+div{padding-left:calc(26px * var(--ru-scale));margin-left:calc(13px * var(--ru-scale));border-left:1px solid #ffca9d}
.ru-free-counts b{font-size:clamp(26px,calc(30px * var(--ru-scale)),31px);font-weight:750;font-variant-numeric:tabular-nums}
.ru-free-counts span{display:block;margin-top:3px;font-size:clamp(12px,calc(15px * var(--ru-scale)),15px);white-space:nowrap}
.ru-free-watermark{position:absolute;width:116px;height:120px;right:4px;bottom:2px;opacity:.75;z-index:0;pointer-events:none;background:url('/delivery/h5/reference.png') no-repeat -1392px -210px/1536px 1024px;transform:scale(var(--ru-scale));transform-origin:bottom right;border-radius:30px;mix-blend-mode:darken}
.ru-free-watermark svg{display:none}
.ru-invite{margin:0 14px calc(10px * var(--ru-scale));display:flex;align-items:center;gap:10px;padding:12px 15px;min-height:calc(73px * var(--ru-scale));border-radius:14px;background:#fff5e8}
.ru-invite>.ru-icon{width:33px;height:33px;color:#ff9616;fill:#ffcb68;stroke-width:1.3}
.ru-invite>div{flex:1;min-width:0}
.ru-invite h2{font-size:clamp(13px,calc(16px * var(--ru-scale)),16px);font-weight:700;line-height:1.45}
.ru-invite p{font-size:12px;color:#7e8798;line-height:1.45;margin-top:3px}
.ru-invite>.ru-primary{flex-shrink:0;min-height:38px;padding:7px 16px;font-size:14px}
.ru-me-card{margin:0 14px calc(12px * var(--ru-scale));border-radius:14px;background:#fff;padding:11px 17px 10px}
.ru-me-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
.ru-me-card h2{font-size:clamp(17px,calc(18px * var(--ru-scale)),19px);font-weight:750;line-height:1.45}
.ru-me-card>header>.ru-link{font-size:12px;min-height:23px}
.ru-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.ru-order-shortcut{border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px 0 0;gap:5px;font-size:clamp(13px,calc(15px * var(--ru-scale)),15px);white-space:nowrap}
.ru-order-shortcut .ru-icon{width:28px;height:28px;stroke-width:1.8}
.ru-rights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px}
.ru-right{display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:#fff8ef;padding:8px 2px;border-radius:10px;min-width:0;min-height:calc(104px * var(--ru-scale))}
.ru-right .ru-icon{width:24px;height:24px;color:#ff8712;margin-bottom:2px;stroke-width:2}
.ru-right strong{font-size:clamp(12px,calc(14px * var(--ru-scale)),14px);font-weight:650;white-space:nowrap}
.ru-right>span{font-size:12px;color:#788296;line-height:1.4}
.ru-right[data-action="ru-rewards"]>span{max-width:100%;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.ru-inline-warning{color:#9b773f;font-size:12px;padding-top:7px}
.ru-functions{padding-bottom:5px}
.ru-functions h2{margin-bottom:6px}
.ru-function{width:100%;min-height:clamp(43px,calc(49px * var(--ru-scale)),50px);display:flex;align-items:center;gap:12px;border:0;background:none;text-align:left;line-height:1.5}
.ru-function>.ru-icon:first-child{width:25px;height:25px}
.ru-function>strong{font-size:15px;font-weight:600;white-space:nowrap}
.ru-function>span{font-size:13px;color:#8790a3;flex:1;min-width:0}
.ru-function>.ru-icon:last-child{width:16px;height:16px;color:#a0a8b9;margin-left:auto}
.ru-page{padding-bottom:calc(20px + var(--safe-b));background:#f5f7f9}
.ru-page .nav-bar{padding:calc(5px + env(safe-area-inset-top,0px)) 12px 5px;gap:8px;border-bottom:1px solid #f0f1f4}
.ru-page h1{font-size:19px;font-weight:750}
.ru-page h2{font-size:17px;font-weight:700;margin-bottom:10px}
.ru-panel{margin:14px;padding:17px;background:#fff;border-radius:15px;overflow-wrap:anywhere}
.ru-panel p{line-height:1.65;margin-bottom:12px;white-space:pre-wrap}
.ru-panel .ru-primary,.ru-panel>.ru-pill{margin:4px 6px 4px 0}
.ru-field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:500;margin:14px 0;color:#404857}
.ru-field input,.ru-field textarea{min-width:0;width:100%;padding:11px 12px;min-height:45px;font-size:16px;font-weight:400;line-height:1.5;border:1px solid #dee2e8;border-radius:12px;background:#fafbfc;outline:none;resize:vertical}
.ru-field input:focus,.ru-field textarea:focus{border-color:var(--ru-orange)}
.ru-campus-choice,.ru-notification{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e9eaf0;border-radius:12px;background:#fff;text-align:left;padding:12px;margin:10px 0;color:#343b4a}
.ru-campus-choice>span:first-child,.ru-notification>span{flex:1;min-width:0}
.ru-campus-choice strong,.ru-notification strong{display:block;font-size:15px;font-weight:650}
.ru-campus-choice small,.ru-notification small{display:block;color:#848c9a;font-size:12px;margin-top:5px}
.ru-campus-choice>span:last-child{color:#de6c22;font-size:13px;flex-shrink:0}
.ru-notification span>span{display:block;white-space:pre-wrap;font-size:14px;color:#647083;margin-top:5px}
.ru-benefit-count{font-size:32px;font-weight:800;color:#f16b20;margin-bottom:8px}
.ru-benefit-count>small{font-size:14px;font-weight:500;color:#777f90}
.ru-free-order,.ru-feedback-record{padding:13px 0;border-bottom:1px solid #f0f1f3}
.ru-free-order:last-child,.ru-feedback-record:last-child{border-bottom:0}
.ru-feedback-record>small{font-size:12px;color:#838b9b}
#ru-feedback-status{font-size:13px}
.ru-feedback-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}
.ru-feedback-tools .ru-pill{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.ru-toggle{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:48px;margin-bottom:10px}
.ru-toggle input{width:24px;height:24px;accent-color:var(--ru-orange)}
#ru-settings-message,#ru-feedback-message{font-size:13px;color:#987134;overflow-wrap:anywhere}
.ru-address-note{padding:14px 17px 4px;font-size:13px;color:#848c9b;line-height:1.65}
.ru-page #addr-section .mf-row{gap:7px;cursor:default}
.ru-page #addr-section .btn-sm{padding:0 10px}
.ru-page #addr-section .s{font-size:13px}
#ru-video{display:block;width:100%;max-height:320px;aspect-ratio:4/3;object-fit:cover;background:#20232c;border-radius:12px;margin:12px 0}
#ru-scan-message{font-size:13px;color:#8b775a;min-height:42px}
.ru-button-row{display:flex;gap:8px;flex-wrap:wrap}
.ru-apply-summary{background:#fff7f0}
.reference-ui .search-row input{min-width:0}
@media(max-width:400px){.ru-join p{max-width:65%;font-size:12px}.ru-invite{gap:7px;padding:11px 12px}.ru-invite>.ru-icon{width:26px;height:26px}.ru-invite>.ru-primary{padding:7px 12px;font-size:13px}.ru-function{gap:10px}.ru-function>span{font-size:12px}.ru-me-card{padding-left:13px;padding-right:13px}.ru-user-name{gap:3px}.ru-user-badge{font-size:10px}.ru-order-card{padding:13px 14px}.ru-order-card>header{gap:6px}.ru-order-actions{gap:6px}.ru-order-actions .ru-pill{padding:6px 10px}}
@media(prefers-reduced-motion:reduce){.reference-ui *{scroll-behavior:auto!important}}

/* Rewards: same-origin assets only; private content is owned by rewards-ui.js. */
.rw-page{min-height:100dvh;max-width:100%;overflow-wrap:anywhere}
.rw-page .nav-bar{display:flex;align-items:center;position:sticky;top:0;z-index:3;background:#fff}
.rw-page .nav-bar h1{min-width:0;flex:1;margin:0}
#rw-content{min-width:0}
.rw-page .ru-panel{min-width:0}
.rw-page button,.rw-hint button{min-height:44px;max-width:100%;white-space:normal}
.rw-page .ru-field input,.rw-page .ru-field textarea{box-sizing:border-box;max-width:100%}
.rw-page .ru-field input:disabled,.rw-page .ru-field textarea:disabled{opacity:.7}
.rw-page button:focus-visible,.rw-page input:focus-visible,.rw-page textarea:focus-visible{outline:3px solid #f7a05d;outline-offset:3px}
.rw-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
.rw-summary>div{padding:12px;min-width:0;border-radius:12px;background:#fff7ef}
.rw-summary span{display:block;font-size:13px;color:#747c8d}
.rw-summary strong{display:block;margin-top:6px;font-size:clamp(18px,5vw,25px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.rw-summary>div:nth-child(5){border:1px solid var(--ru-orange)}
.rw-summary>div:nth-child(6){background:#fff4f0}
.rw-warning{color:#915131;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}
.rw-row{border-bottom:1px solid #edf0f4;padding:13px 0;min-width:0}
.rw-row:last-child{border:0}
.rw-row strong{display:block;font-size:15px;overflow-wrap:anywhere}
.rw-row b{display:block;margin:7px 0;font-size:20px;color:#c95318;font-variant-numeric:tabular-nums}
.rw-row p{font-size:13px;margin:5px 0!important}
.rw-row small{display:block;color:#737c8e;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.rw-consent{display:flex;align-items:flex-start;gap:10px;padding:12px 0;line-height:1.6;font-size:14px}
.rw-consent input{appearance:auto;flex:0 0 22px;width:22px;height:22px;margin-top:3px;accent-color:var(--ru-orange)}
.rw-consent span{min-width:0}
#rw-url{font-family:inherit;word-break:break-all}
.rw-hint{margin:12px 14px;padding:14px;background:#fff7ef;border:1px solid #ffe1c5;border-radius:12px;overflow-wrap:anywhere}
.rw-hint p{margin:0 0 8px;line-height:1.65;font-size:13px}
@media(max-width:360px){.rw-summary{gap:8px}.rw-summary>div{padding:9px}.rw-page .ru-panel{padding:14px}}

/* 购物与配送分开呈现，购物资格不等同物流状态。 */
.ru-order-modes{display:flex;gap:8px;padding:10px 16px;background:#fff}
.ru-order-mode{flex:1;min-height:40px;border:0;border-radius:12px;background:#f3f4f7;color:#697084;font-size:15px;font-weight:650}
.ru-order-mode.is-active{background:#fff0df;color:#c76613}
.ru-shopping-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
.ru-shopping-status{font-size:12px;color:#946329;white-space:nowrap;margin-left:auto}

.ru-account-balance{position:relative;z-index:1;display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;padding:10px 0;border-bottom:1px solid #ffffff55;margin-bottom:10px}
.ru-account-balance strong{font-size:23px}.ru-account-balance small{flex-basis:100%;font-size:11px}.ru-account-balance .ru-link{color:inherit}
.ru-payment-choice{margin:10px 0;padding:14px;background:#fff4e8;border-radius:12px}.ru-payment-choice>div{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.ru-payment-selected{padding:8px;border:1px solid #f28c38;border-radius:20px}.ru-payment-choice small{display:block;color:#805f40}

.ru-product-thumb{position:relative;flex:0 0 76px;overflow:hidden;min-height:76px}.ru-product-thumb>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#fff}.ru-product-thumb.has-image>span,.ru-product-thumb.has-image>small{visibility:hidden}

/* Real source and platform choices preserve the existing three-screen layout. */
.ru-delivery-entries{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 18px}.ru-delivery-entries .ru-pill{white-space:normal;padding:14px 8px;color:#68410b;background:#fff8e7;border:1px solid #efd9ae}.ru-shopping-platforms{display:flex;gap:8px;overflow-x:auto;padding:8px 16px 14px}.ru-shopping-platforms .ru-pill{flex-shrink:0}.ru-shopping-platforms .is-active{background:#ffdf6c;color:#442e14}.ru-shopping-tabs .ru-order-tab{font-size:13px;white-space:normal}.ru-external-shortcut{padding:4px 16px 12px;text-align:right}

/* Current and historical application groups remain mutually exclusive. */
.ru-shopping-tabs{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:4px 12px 8px}.ru-shopping-tabs .ru-order-tab{min-height:44px;border-radius:10px;background:#f7f8fa;font-size:13px;line-height:1.4;padding:8px 6px;overflow-wrap:anywhere}.ru-shopping-tabs .ru-order-tab.is-active{background:#fff4da}.ru-shopping-tabs .ru-order-tab.is-active::after{height:2px;bottom:2px}.ru-other-note{margin:8px 16px;padding:10px 12px;background:#f5f6f8;border-radius:10px;color:#697083;font-size:12px;line-height:1.6}.ru-other-note strong{color:#454d5f}.ru-other-note p{margin:3px 0 0;overflow-wrap:anywhere}

.ru-shopping-tabs .ru-order-tab{grid-column:span 2;display:flex;flex-direction:column;align-items:center;gap:2px;min-height:60px}.ru-shopping-tabs .ru-order-tab strong{font-size:18px;line-height:1.3}.ru-shopping-tabs .ru-order-tab span{font-size:12px}
.ru-order-copy .ru-order-time{font-size:12px}.ru-order-copy .ru-order-deadline{color:#bc641b;font-size:12px;line-height:1.7;margin:6px 0}.ru-order-deadline strong{display:block;font-size:13px;font-weight:600}.ru-order-copy .ru-order-deadline.is-expired,.ru-shopping-expired .ru-shopping-status{color:#777f8f}.ru-shopping-expired{background:#fafafa;border:1px solid #eceef1}

.ru-delivery-timing{color:#277453!important;font-size:12px}.ru-shopping-completed{background:#f9fafb;border:1px solid #eceef1}.ru-shopping-completed>summary{cursor:pointer;list-style:none}.ru-shopping-completed>summary>header{display:flex;align-items:center;gap:6px;min-height:30px;flex-wrap:wrap}.ru-shopping-completed>summary::-webkit-details-marker{display:none}.ru-shopping-completed .ru-shopping-status{color:#277453}.ru-completed-title{margin:10px 0 6px;font-size:13px;color:#697083;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ru-completed-toggle{display:block;font-size:12px;color:#697083;text-align:right}.ru-completed-toggle span:last-child{display:none}.ru-shopping-completed[open] .ru-completed-toggle span:first-child{display:none}.ru-shopping-completed[open] .ru-completed-toggle span:last-child{display:inline}.ru-shopping-completed[open]>.ru-order-body{margin-top:14px}

.ru-service-notice{margin:10px 16px;padding:12px 14px;background:#fff6e7;color:#765219;border-radius:12px;font-size:13px;line-height:1.6}.ru-campus-choice:disabled{opacity:.6;cursor:default}
