/* Home/review 20261028: desktop is independent of the phone shell. */
body:has(.revamp-home),body:has(.rr),.app-shell:has(.revamp-home) :is(.sidebar,.main,.topbar),.app-shell:has(.rr) :is(.sidebar,.main,.topbar){background:#fff}
.rr{color:#18181b;padding:0 0 90px;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif}.rr button{border-radius:9px;font-size:13px;padding:8px 12px}.rr-head{gap:20px;padding:18px 0;margin-bottom:20px}.rr-head h2{font-size:26px}.rr-head h2 small{font-size:14px;font-weight:400;color:#6b6b6b}.rr-head nav{background:#f2f1ef;border-radius:10px;padding:3px;gap:0}.rr-head nav button{border:0;background:transparent;color:#52525b;padding:7px 18px}.rr-head nav button[aria-pressed=true]{background:#fff;color:#18181b}.rr-date-picker{display:none}.rr-day-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px}.rr-day-layout>aside{align-self:start;position:sticky;top:88px}.rr-calendar{border:1px solid #ecebe8;border-radius:16px;padding:20px}.rr-calendar header{display:flex;align-items:center;justify-content:space-between;gap:8px}.rr-calendar header button{padding:5px;font-size:12px;border:0}.rr-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:9px 0;text-align:center;margin:18px 0}.rr-calendar-grid small{font-size:12px;color:#888}.rr-calendar-grid button{position:relative;border:0;border-radius:50%;padding:0;width:32px;height:32px;margin:auto}.rr-calendar-grid button:disabled{color:#c5c4c2;opacity:1}.rr-calendar-grid .today,.rr-calendar-grid .selected{background:#18181b;color:#fff}.rr-calendar-grid .has:after{content:'';position:absolute;bottom:-4px;left:14px;width:4px;height:4px;border-radius:50%;background:#c25612}.rr-calendar p{font-size:12px;color:#6b6b6b}.rr-days{display:block;min-width:0}.rr-day{border-color:#ecebe8;border-radius:16px;padding:22px}.rr-day header{display:flex;align-items:center;justify-content:space-between;gap:12px}.rr-day h3{font-size:17px}.rr-day h3 small{float:none;color:#c25612;font-size:12px;margin-left:8px}.rr-day header p{font-size:12px;color:#6b6b6b;margin:8px 0}.rr-day-actions{display:flex;gap:8px;flex-shrink:0}.rr .primary{background:#c25612;color:#fff;border-color:#c25612;padding:8px 14px}.rr-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0}.rr-preview strong{font-size:15px;font-weight:500}.rr-preview p{font-size:13px;color:#6b6b6b}.rr-preview small{font-size:11px;color:#8c8c8c}.rr-day .rr-more{font-size:12px;color:#c25612;padding:8px 0 0;margin:0;text-align:left}.rr-row{align-items:center;flex-wrap:wrap;padding:22px 0;gap:16px}.rr-copy{flex:1;min-width:0}.rr-en{font-size:18px;line-height:1.6;font-weight:500}.rr-zh{font-size:14px;color:#6b6b6b;line-height:1.6;margin:5px 0 9px}.rr-copy small{font-size:12px;color:#8c8c8c}.rr-number{align-self:flex-start;font-size:12px;color:#999;margin-top:8px}.rr-actions{flex-direction:row;align-items:center}.rr-speak{display:inline-flex;gap:6px;align-items:center;justify-content:center}.rr-speak svg{width:16px;height:16px}.rr .rr-speak.playing{color:#c25612}.rr-score{border:0!important;color:#1f8a4c!important;font-size:12px!important;background:none!important;padding:3px 6px!important}.rr-report{flex-basis:100%;padding:16px;background:#f6f6f5;font-size:13px;border-radius:12px;line-height:1.8}.rr-mask{display:block;width:75%;height:28px;background:#eeedeb!important;color:#777!important;border:0!important;text-align:left;font-size:12px!important;margin:6px 0}.rr-conceal{display:flex;gap:8px}.rr-conceal button[aria-pressed=true]{background:#f2f1ef;color:#18181b;border-color:#ddd}.rr-filters{align-items:center;gap:12px;padding:0 0 22px}.rr-filters input{margin:0;min-width:180px;flex:1;font-size:14px}.rr-types{display:flex;gap:4px}.rr-types button{white-space:nowrap}.rr-types small{font-size:11px}.rr-filters select{border:1px solid #ecebe8;padding:10px;border-radius:8px;background:#fff}.rr-library{gap:0 32px}.rr-library .rr-en{font-size:17px}.rr-type{display:inline-block;margin-bottom:8px}.rr-bottom{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #ecebe8;padding:14px 0;z-index:5}.rr-bottom .primary{flex:0 0 auto}.rr-sheet,.rr-sheet-backdrop{display:none}.rr-empty{padding:32px 0;color:#888}.review-day-detail .mobile-bottom-nav{display:none!important}
body:has(.revamp-home) .main-content,body:has(.rr) .main-content{background:#fff}.revamp-home{max-width:1160px}.revamp-home article{border-color:#ecebe8;border-radius:16px;box-shadow:none;padding:24px}.rh-stats{border:1px solid #ecebe8;border-radius:16px;gap:0;grid-template-columns:1.3fr 1fr 1fr;padding:24px 0}.rh-stats article{border:0;border-radius:0;padding:0 28px}.rh-stats article+article{border-left:1px solid #ecebe8}.rh-stats strong{font-size:40px;color:#18181b;margin:8px 0 16px}.rh-stats article:first-child strong{color:#c25612}.rh-stats .rh-records{cursor:pointer}.rh-stats progress{height:6px;accent-color:#c25612}.rh-stats small{color:#6b6b6b}.rh-features{gap:20px;margin-top:24px}.rh-feature-head{display:flex;align-items:center;gap:12px}.rh-feature-head>div{flex:1}.rh-feature-head p{margin:4px 0}.rh-feature-head img{width:56px;height:56px;object-fit:contain;background:#f4f4f3;border-radius:14px}.rh-feature-head h3{font-size:19px}.rh-features footer{display:flex;justify-content:space-between;align-items:center;color:#888;font-size:12px;margin-top:16px}.revamp-home .rh-link{padding:0;color:#c25612;background:none;font-size:13px}.rh-demo{min-height:74px;margin-top:20px}.rh-demo>small{color:#8a8a8a;display:block;margin-bottom:8px}.rh-upload{border:1px dashed #d7d5d0;border-radius:12px;min-height:156px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;cursor:pointer;margin-top:18px}.rh-upload strong{font-size:15px;font-weight:500}.rh-upload span{color:#c25612}.rh-upload small{font-size:12px;color:#888}.rh-upload.is-dragging{border-color:#c25612;background:#fafafa}.rh-videos,.rh-recent{margin-top:28px}.rh-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.rh-section-head h3{font-size:18px;color:#18181b;margin:0}.rh-video-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.rh-video-grid a{aspect-ratio:3/4;border-radius:14px;overflow:hidden;position:relative;background:#252525;color:#fff}.rh-video-grid img{width:100%;height:100%;object-fit:cover}.rh-video-grid span{position:absolute;inset:auto 0 0;padding:28px 12px 12px;background:linear-gradient(transparent,#000b);font-size:13px}.rh-recent>div.rh-record-list{display:block}.rh-record-list article{border:0;border-bottom:1px solid #ecebe8;border-radius:0;display:flex;align-items:center;gap:18px;padding:14px 0}.rh-record-list article>div{flex:1}.rh-record-list article small{font-size:11px;color:#888}.rh-record-list p{margin:5px 0}.rh-record-list button{background:#fff;color:#52525b;border:1px solid #e3e1dc;padding:5px 10px;font-size:12px}.rh-title-date{font-size:14px;color:#6b6b6b;font-weight:400;margin-left:18px}
html[data-device-layout=phone] .rr{padding:0 0 150px}.rr-date-chip{margin-bottom:12px}html[data-device-layout=phone] .rr-head{gap:10px;padding:14px 0;margin-bottom:16px;flex-wrap:nowrap}html[data-device-layout=phone] .rr-head h2{font-size:24px;white-space:nowrap}html[data-device-layout=phone] .rr-head h2 small{font-size:12px}html[data-device-layout=phone] .rr-head nav{flex:0 0 auto}html[data-device-layout=phone] .rr-head nav button{font-size:14px;padding:6px 12px}html[data-device-layout=phone] .rr-date-picker{display:block;margin-left:auto;white-space:nowrap;padding:6px 8px;font-size:12px}html[data-device-layout=phone] .rr-day-layout{display:block}html[data-device-layout=phone] .rr-day-layout>aside{display:none}html[data-device-layout=phone] .rr-day{padding:16px;border-radius:14px}html[data-device-layout=phone] .rr-day header{display:block}html[data-device-layout=phone] .rr-day h3{font-size:16px}html[data-device-layout=phone] .rr-day{display:flex;flex-direction:column}html[data-device-layout=phone] .rr-day header{display:contents}html[data-device-layout=phone] .rr-day-actions{order:3;display:flex;margin-top:14px}html[data-device-layout=phone] .rr-day-actions button{flex:1}html[data-device-layout=phone] .rr-source-summary,html[data-device-layout=phone] .rr-third,html[data-device-layout=phone] .rr-preview>small{display:none}html[data-device-layout=phone] .rr-speak{padding:0;width:32px;height:32px;border-radius:50%;border:1px solid #e3e1dc;flex-shrink:0}html[data-device-layout=phone] .rr-speak span{display:none}html[data-device-layout=phone] .rr-preview{padding:12px 0}html[data-device-layout=phone] .rr-preview strong{font-size:15px}html[data-device-layout=phone] .rr-preview p{font-size:13px}html[data-device-layout=phone] .rr-preview small{display:none}html[data-device-layout=phone] .rr-library{display:block}html[data-device-layout=phone] .rr-row{padding:18px 0;gap:10px}html[data-device-layout=phone] .rr-en{font-size:16px}html[data-device-layout=phone] .rr-zh{font-size:13px}html[data-device-layout=phone] .rr-number{display:none}html[data-device-layout=phone] .rr-actions{flex-direction:column;gap:10px}html[data-device-layout=phone] .rr-filters{gap:10px}html[data-device-layout=phone] .rr-filters input{flex-basis:100%;width:100%;box-sizing:border-box}html[data-device-layout=phone] .rr-types{gap:3px}html[data-device-layout=phone] .rr-types button{padding:6px 9px;font-size:12px}html[data-device-layout=phone] .rr-types small{display:none}html[data-device-layout=phone] .rr-filters select{margin-left:auto;font-size:12px;padding:6px 4px;max-width:100px}html[data-device-layout=phone] .rr-bottom{position:fixed;left:0;right:0;bottom:calc(56px + env(safe-area-inset-bottom));padding:12px 16px;background:#fff;z-index:20}html[data-device-layout=phone] .rr-bottom button{flex:1}html[data-device-layout=phone] body.review-day-detail .rr-bottom{bottom:0;padding-bottom:calc(12px + env(safe-area-inset-bottom))}html[data-device-layout=phone] .rr-sheet-backdrop{display:block;position:fixed;inset:0;background:#0006;z-index:100}html[data-device-layout=phone] .rr-sheet{display:block;position:fixed;inset:auto 0 0;background:#fff;border-radius:20px 20px 0 0;padding:24px 20px calc(24px + env(safe-area-inset-bottom));z-index:101}html[data-device-layout=phone] .rr-sheet .rr-calendar{border:0;padding:0}html[data-device-layout=phone] .rr-sheet>.primary{width:100%;margin-top:16px}html[data-device-layout=phone] .rr-calendar-grid .today:not(.selected){background:#fff;color:#18181b;border:1px solid #18181b}html[data-device-layout=phone] .rh-stats{padding:14px 0}html[data-device-layout=phone] .rh-stats article{padding:0 10px}html[data-device-layout=phone] .rh-stats strong{font-size:28px}html[data-device-layout=phone] .rh-features{grid-template-columns:1fr}html[data-device-layout=phone] .rh-video-grid{grid-template-columns:repeat(3,1fr)}

html[data-device-layout=phone] .rr-sheet-backdrop{z-index:9000}html[data-device-layout=phone] .rr-sheet{z-index:9001}body:has(.rr-sheet) .mobile-bottom-nav{display:none!important}.rh-stats article:first-child .home-check-dot strong{color:#fff}.rh-video-grid video{width:100%;height:100%;object-fit:cover}.app-shell:has(.revamp-home),.app-shell:has(.rr){background:#fff}
html[data-device-layout=phone] body.review-day-detail .mobile-bottom-nav.unified-tabs,html[data-device-layout=phone] body:has(.rr-sheet) .mobile-bottom-nav.unified-tabs{display:none!important}
