/* All public routes share the same mobile canvas, including their fixed bars. */
.public-body{--public-width:390px}
html.public-document{overflow-y:scroll;scrollbar-gutter:stable}
.public-body #app.phone-shell{width:100%;max-width:var(--public-width);margin:0 auto;min-width:0;border-radius:0}
.public-body .bottom-nav,.public-body .detail-bottom,.public-body .detail-recommendations,.public-body .arena-bottom,.public-body .arena-post-bottom,.public-body .tool-fixed,.public-body .author-bottom{width:min(100%,var(--public-width));max-width:var(--public-width)}
.public-body .tools-shell{--tool-width:var(--public-width)}
.public-body .detail-view .floating-favorite{left:max(calc(50% - 185px),10px)}
.public-body .discovery-view{background:#fff;padding-bottom:76px;min-height:100dvh}
.discovery-view .discovery-bar{height:55px;border-bottom:0;padding:0 13px}
.discovery-bar h1{font-size:19px;font-weight:400}.discovery-bar .back-capsule{height:36px}.discovery-bar .back-capsule button{width:37px;min-height:36px;background:white;border:0;padding:8px}.discovery-bar .back-capsule button+button{border-left:1px solid #eee}.discovery-bar>.icon-button{color:#999}
.discovery-view button{cursor:pointer;font-family:inherit}.discovery-view button:focus-visible,.discovery-view a:focus-visible,.discovery-dialog :focus-visible{outline:2px solid #cf912f;outline-offset:2px}
.discovery-lotteries{display:flex;padding:0 11px;gap:3px;border-bottom:1px solid #f2f2f2;background:white;min-width:0}.discovery-lotteries button{flex:1;min-width:0;white-space:nowrap;border:0;background:white;padding:7px 0;min-height:40px;font-size:13px;color:#999;position:relative}.discovery-lotteries button.active{color:#d49751}.discovery-lotteries button.active:after{content:'';height:2px;width:28px;background:#c9904b;position:absolute;bottom:3px;left:50%;transform:translateX(-50%)}
.gold-modes{display:flex;align-items:center;justify-content:center;background:#cc0000;color:white;height:47px;gap:25px;position:relative;padding-right:25px}.gold-modes>button{background:none;border:0;color:#fff6;font-size:16px;min-height:42px;padding:7px 0}.gold-modes>button.active{color:white;border-bottom:2px solid white}.gold-modes .gold-help{position:absolute;right:9px;top:11px;border:1px solid white;border-radius:50%;width:22px;min-height:22px;height:22px;padding:0;font-size:16px;color:white;line-height:20px}
.gold-sort{display:flex;gap:6px;padding:9px 13px 11px;border-bottom:1px solid #eee}.gold-sort button{min-width:0;flex:1;background:#aaa;color:white;border:0;border-radius:6px;min-height:29px;padding:4px 0;font-size:12px}.gold-sort button.active{background:linear-gradient(90deg,#ffa500,#ff5100)}.gold-sort small{font-size:8px}.gold-heading{text-align:center;font-size:13px;font-weight:700;color:#a46a1e;background:#fffdf8;padding:11px 6px;border-bottom:1px solid #eee;overflow-wrap:anywhere}
.gold-row{display:flex;align-items:center;gap:9px;padding:12px 12px 12px 9px;border-bottom:1px solid #efefef;min-width:0;background:white;min-height:100px}.gold-position{width:17px;text-align:center;font-size:15px;color:#999;flex:none}.gold-position.gold-top{color:#d27e26;font-weight:700;font-size:20px}.gold-avatar{flex:none}.gold-row .avatar{width:48px;height:48px;border-radius:50%;overflow:hidden}.gold-person{min-width:0;flex:1}.gold-name{display:block;font-size:16px;font-weight:700;overflow-wrap:anywhere;line-height:1.45}.gold-record{font-size:12px;color:#b9804f;margin:3px 0}.gold-battle{font-size:12px;color:#aaa}.gold-battle b{color:#d69455;font-weight:400}.gold-view{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:12px;color:#aaa}.gold-view .icon{width:14px;height:14px}.gold-expert-badges{display:flex;gap:5px;margin:5px 0;flex-wrap:wrap}.gold-expert-badges>span{background:#fff0dc;color:#af7230;padding:2px 6px;border-radius:10px;font-size:11px}.gold-expert-score{font-size:11px;color:#5d90b7}.gold-expert-score b{font-weight:400}
.gold-expert-tabs{display:flex;justify-content:center;gap:14px;padding:9px 12px 3px}.gold-expert-tabs button{background:#eee;border:0;color:#999;font-size:13px;min-height:29px;padding:5px 15px;border-radius:5px}.gold-expert-tabs button.active{background:linear-gradient(90deg,#ffa500,#ff5100);color:white}.gold-search{display:flex;gap:8px;margin:9px 15px 12px}.gold-search input{min-width:0;flex:1;border:1px solid #ddd;border-radius:4px;padding:7px 10px;font-size:13px;min-height:34px}.gold-search button{border:0;border-radius:4px;background:#cc0000;color:white;font-size:13px;padding:6px 14px}
.discovery-load{text-align:center;padding:18px 10px;color:#aaa;font-size:12px;display:grid;gap:8px}.discovery-load button{border:0;background:none;color:#888;font-size:13px;min-height:35px}.discovery-load small{font-size:10px;color:#bbb}.discovery-wait{text-align:center;color:#aaa;font-size:13px;padding:45px 10px}
.discovery-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,var(--public-width,390px));max-width:390px;border:0;border-radius:14px 14px 0 0;max-height:80dvh;background:#fff;color:#333;padding:13px 13px max(15px,env(safe-area-inset-bottom));z-index:1000}.discovery-dialog::backdrop{background:#0006}.discovery-dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.discovery-dialog-head h2{font-size:17px;font-weight:400}.discovery-dialog-head button{border:0;background:white;color:#999;font-size:25px;width:34px;height:34px;padding:0}.discovery-dialog p{font-size:13px;line-height:1.9;margin-bottom:13px}.gold-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 5px}.gold-category-grid button,.gold-option-grid button{border:1px solid #eee;border-radius:5px;background:#fafafa;padding:6px 1px;min-height:32px;color:#666;font-size:12px;overflow-wrap:anywhere}.gold-category-grid button.active,.gold-option-grid button.active{background:#fff3df;color:#a96d1f;border-color:#dfb571}.gold-option-grid{margin-top:13px;border-top:1px solid #eee;padding-top:13px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.gold-all{display:block;width:100%;min-height:35px;border:0;background:#fafafa;color:#999;margin-top:12px;font-size:12px}.discovery-menu{display:grid}.discovery-menu a{padding:12px;border-bottom:1px solid #eee;font-size:15px}
.featured-authors{padding:6px 13px 12px;background:#fff}.featured-grid-heading{display:flex;justify-content:space-between;align-items:center;color:#a87b4c;min-height:29px;font-size:12px}.featured-grid-heading button{background:none;border:0;color:#c39250;font-size:11px;min-height:30px}.featured-avatar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px 4px;padding-top:5px}.featured-avatar-grid>a{min-width:0;display:grid;justify-items:center;gap:4px;text-align:center}.featured-avatar-grid .avatar{width:44px;height:44px;border-radius:50%}.featured-avatar-grid>a>span{font-size:11px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#555}.featured-avatar-grid>a>b{font-size:10px;font-weight:400;white-space:nowrap;border:1px solid #e33130;color:#d7191e;border-radius:3px;padding:0 3px;line-height:16px}.featured-top-empty{grid-column:1/-1;color:#aaa;font-size:12px;text-align:center;padding:12px 0}
.featured-categories{display:flex;background:#f7f7f7;padding:4px 12px;border-block:1px solid #eee;gap:10px}.featured-categories button{background:none;color:#888;font-size:14px;flex:1;min-width:0;min-height:37px;border:0;white-space:nowrap}.featured-categories button.active{color:#b0823d;border-bottom:2px solid #c39c65}.featured-categories .icon{width:13px;height:13px;vertical-align:middle;transform:rotate(90deg)}.featured-plan-row{display:flex;align-items:center;gap:8px;padding:14px 13px;border-bottom:1px solid #eee;min-width:0}.featured-plan-row>div:first-child{min-width:0;flex:1}.featured-plan-row h2{font-size:14px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}.featured-plan-row small{font-size:11px;color:#aaa}.featured-plan-stat{display:grid;justify-items:center;gap:5px;flex:none;max-width:90px}.featured-plan-stat>span{font-size:11px;padding:1px 6px;border:1px solid #ddd;border-radius:4px;color:#999}.featured-plan-stat>b{background:#de001b;color:white;font-size:11px;font-weight:400;padding:1px 5px;border-radius:4px;white-space:nowrap}
.platform-statement{padding:12px 16px 25px;font-size:15px;line-height:1.95;background:white;overflow-wrap:anywhere}.platform-statement h2{color:#d71920;font-size:16px;line-height:1.75;margin:8px 0 3px;font-weight:700}.platform-statement p{margin:0 0 8px;text-align:justify}.platform-statement .statement-emphasis{color:#d71920}.platform-statement .statement-preview{margin-top:13px;color:#999;font-size:12px}.order-tabs{display:flex;align-items:center;justify-content:center;gap:28px;background:#fff;padding:12px;border-bottom:1px solid #eee;font-size:14px;color:#999}.order-tabs .active{color:#c38b45;border-bottom:2px solid #c38b45;padding-bottom:5px}.order-content{padding:16px}.order-record{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:13px 0;border-bottom:1px solid #eee;font-size:13px}.order-record time{grid-column:1/-1;font-size:11px;color:#aaa}
/* The banner strip alone scrolls; the document never widens. */
.home-banner-carousel{position:relative;min-width:0}.home-banner-viewport{width:100%;overflow:hidden;border-radius:8px;touch-action:pan-y pinch-zoom}.home-banner-track{display:flex;width:100%;transition:transform .22s ease;cursor:grab;user-select:none;-webkit-user-select:none;touch-action:pan-y pinch-zoom}.home-banner-track.is-dragging{cursor:grabbing;transition:none}.home-banner-track::-webkit-scrollbar{display:none}.home-banner-track>a{flex:0 0 100%;width:100%;min-width:0;display:block}.home-banner-track>a img{display:block;width:100%;height:auto;aspect-ratio:1065/300;object-fit:cover;-webkit-user-drag:none}.home-banner-dots{display:flex;position:absolute;bottom:0;left:50%;transform:translateX(-50%);gap:0}.home-banner-dots button{display:grid;place-items:end center;border:0;background:transparent;width:44px;height:44px;padding:0 0 6px;cursor:pointer}.home-banner-dots button:before{content:"";display:block;background:#ffffff80;width:6px;height:6px;border-radius:50%}.home-banner-dots button.active:before{background:white;box-shadow:0 0 2px #0004}.home-banner-dots button:focus-visible{outline:2px solid white;outline-offset:-3px;border-radius:6px}.home-banner-switch{position:absolute;right:4px;bottom:0;min-height:44px;min-width:80px;padding:10px 8px;border:0;background:transparent;color:white;font-size:12px;font-weight:700;cursor:pointer;text-shadow:0 1px 2px #0005}.home-banner-switch:focus-visible{outline:2px solid white;outline-offset:-3px;border-radius:6px}
/* Compact condition choices, matching the article's single-line number presentation. */
.detail-view .detail-choice-label{display:inline;font-size:14px;line-height:2;color:#555;font-weight:400;padding:0}.detail-view .detail-choice-numbers{display:inline;font-size:16px;line-height:2;padding:0}.detail-view .detail-choice-numbers span{display:inline-block;padding:0 4px}.detail-view .detail-numbers:has(.detail-choice-label){text-align:center;padding:8px 4px}.detail-view .detail-conditions{background:white;color:#999}.detail-view .detail-recommendations{width:min(100%,var(--public-width))}
@media(max-width:360px){.discovery-lotteries button{font-size:12px}.gold-row{gap:7px;padding-right:10px}.gold-row .avatar{width:43px;height:43px}.gold-name{font-size:15px}.gold-record,.gold-battle{font-size:11px}.featured-plan-row h2{font-size:13px}.platform-statement{font-size:14px}.gold-category-grid button{font-size:11px}}
@media(min-width:900px){.public-body #app.phone-shell{margin:0 auto}.public-body .home-view .bottom-nav{width:var(--public-width)}}
.discovery-hidden-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.expert-filter-row{display:flex;align-items:center;padding:10px;gap:6px;border-bottom:1px solid #eee}.expert-filter-row .gold-expert-tabs{padding:0;gap:5px;flex:none}.expert-filter-row .gold-expert-tabs button{font-size:11px;padding:5px 8px;min-height:29px}.expert-filter-row .gold-search{margin:0;gap:4px;flex:1;min-width:0}.expert-filter-row .gold-search input{min-width:0;min-height:29px;font-size:11px;padding:5px 6px}.expert-filter-row .gold-search button{min-height:29px;font-size:11px;padding:5px 8px}.discovery-dialog-head{position:relative;min-height:34px}.discovery-dialog-head h2{width:100%;text-align:center}.discovery-dialog-head button{position:absolute;right:0;top:0}
.home-view .home-plan-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.detail-view .detail-recommendations{position:relative;bottom:auto;left:auto;transform:none;height:auto;margin:20px 20px 8px;padding:8px 0;width:auto;border-top:1px solid #eee;box-shadow:none}.detail-view .detail-recommend-close{top:-14px;width:24px;height:24px;min-height:24px}.detail-view .detail-choice-hits{font-size:13px;color:#777;text-align:left;line-height:1.8}.detail-view .detail-recommendation:has(.detail-choice-label) .detail-conditions,.detail-view .detail-recommendation:has(.detail-choice-label) .number-summary{display:none}
.gold-modes{height:44px;background:#ff2020;gap:29px}.gold-modes>button{font-size:14px;min-height:26px;padding:3px 14px;font-weight:700;color:white}.gold-modes>button.active{border:0;border-radius:18px;background:white;color:#df0000}.gold-modes .gold-help{top:9px;right:12px;background:white;color:#ff2020;border:0;font-size:18px;font-weight:700}
.gold-sort button{border-radius:9px;background:#aaa;font-weight:700}.gold-sort button.active{background:linear-gradient(90deg,#31c9c3,#568de9)}.gold-sort button:last-child{background:linear-gradient(90deg,#ffae00,#ff4d00)}
.gold-row{min-height:79px;margin:6px 8px;border:0;border-radius:8px;padding:11px 8px;background:#fff}.gold-list{background:#f3f8f9;padding:2px 0}.gold-row .avatar{width:43px;height:43px}.gold-name{font-size:15px}.gold-record{color:#71a1ba;font-size:11px;line-height:1.8}.gold-record b{color:#d71922}.gold-sample{color:#c78e45}.gold-view{color:#cc5071;background:#fff4f5;padding:2px 6px;border-radius:9px;font-size:10px}.gold-expert-badges>span{padding:0 5px;background:#f5a935;color:white;font-size:10px;line-height:15px}
.gold-category-grid button{background:#f3f3f3;border:0;padding:3px 1px;min-height:27px;font-size:13px;border-radius:5px}.gold-category-grid button.active{background:#f00000;color:white}.gold-option-grid button{border:0;border-radius:0;background:#fbf0ff;padding:3px 1px;min-height:27px;font-size:13px}.gold-option-grid button.active{color:#df123b;background:#fff5fc}
.featured-standards{border:0;background:linear-gradient(90deg,#ffae00,#ff4d00);color:#fff;border-radius:14px;padding:5px 9px;font-size:11px;min-height:26px}.featured-avatar-grid{background:#f8fbfb;gap:14px 4px;padding:9px 3px 5px}.featured-plan-row{min-height:51px;padding:11px 12px;gap:7px;background:#fff;margin:4px 7px;border:0;border-radius:6px}.featured-plan-row h2{font-size:13px}.featured-plan-stat{display:flex;gap:5px;max-width:130px}.featured-plan-stat>span,.featured-plan-stat>b{font-size:10px;padding:0 4px}.featured-categories+[data-discovery-list]{background:#f3f8f9;padding:3px 0}.featured-authors{padding:5px 10px 10px}.gold-expert-tabs{gap:7px;justify-content:flex-start;padding-right:135px}.gold-expert-tabs button{font-size:12px;border-radius:8px;padding:5px 11px}.gold-search{margin:0 13px 10px}.gold-search button{background:linear-gradient(90deg,#ffae00,#ff4d00)}
@media(prefers-reduced-motion:reduce){.home-banner-track{transition:none}}
