/* R33: shared web/Mini App typography. Natural height keeps long translations readable. */
.compact-gates.single-gate-r20 .gate{height:auto;max-height:none}
.single-gate-r20 .compact-gate-info h2{white-space:normal;overflow-wrap:break-word}
.single-gate-r20 .compact-gate-info p{max-width:none}
html[lang="en-US"] :is(h1,h2,h3,.btn,.eyebrow){letter-spacing:normal}
html[lang="en-US"] :is(h1,h2,h3){overflow-wrap:break-word;word-break:normal;text-wrap:pretty}
html[lang="en-US"] .eyebrow{letter-spacing:1.5px;line-height:1.7;white-space:normal}
html[lang="en-US"] .compact-gate-info h2{font-size:clamp(22px,2.2vw,30px);line-height:1.25;letter-spacing:0}
html[lang="en-US"] .compact-gate-info p{font-size:12px;line-height:1.7}
html[lang="en-US"] :is(.gift-page-title,.compact-reward-heading) p{line-height:1.7;overflow-wrap:break-word}
html[lang="en-US"] .account-facts>div{align-items:flex-start;gap:12px}
html[lang="en-US"] .account-facts>div>span{white-space:normal;flex:0 1 45%;line-height:1.6}
html[lang="en-US"] .account-facts>div>b{flex:1;min-width:0;line-height:1.6}
html[lang="en-US"] :is(.service-grid,.form-row)>*{min-width:0}
html[lang="en-US"] :is(.service-grid,.my-services,.account-settings) :is(b,strong,span){white-space:normal;overflow-wrap:break-word}
html[lang="en-US"] :is(.field>span,.asset-actions,.modal-actions){flex-wrap:wrap;gap:8px}
html[lang="en-US"] :is(.modal-title h2,.gift-confirm-total){line-height:1.4;overflow-wrap:anywhere}
html[lang="en-US"] .gift-confirm-total{gap:8px;flex-wrap:wrap;align-items:baseline}
html[lang="en-US"] .gift-confirm-total strong{font-size:clamp(28px,7vw,40px)}
html[lang="en-US"] :is(.bank-card-top,.bank-card-bottom,.payout-method)>*{min-width:0}
html[lang="en-US"] :is(.bank-card-top b,.crypto-full-address){overflow-wrap:anywhere}
@media(max-width:700px){
 .compact-gates.single-gate-r20 .gate{grid-template-columns:68px minmax(0,1fr);grid-template-rows:auto auto;gap:14px 16px;padding:22px;min-height:190px;overflow:visible}
 .single-gate-r20 .gate-art{grid-column:1;grid-row:1;align-self:center}
 .single-gate-r20 .compact-gate-info{grid-column:2;grid-row:1;gap:6px}
 .compact-gates.single-gate-r20 .gate .btn{grid-column:1/-1;grid-row:2;justify-self:stretch;width:100%;max-width:none;min-height:44px;padding:11px 18px;font-size:13px;line-height:1.5}
 html[lang="en-US"] .single-gate-r20 .compact-gate-info h2{font-size:23px;line-height:1.3;white-space:normal;letter-spacing:0}
 html[lang="en-US"] .single-gate-r20 .compact-gate-info p{font-size:12px;line-height:1.6}
 html[lang="en-US"] .compact-reward-heading h1{font-size:clamp(26px,6.5vw,34px);line-height:1.3;max-width:24ch;margin:12px auto}
 html[lang="en-US"] .compact-reward-heading p{font-size:12px;max-width:32ch;margin-inline:auto}
 html[lang="en-US"] .compact-gift .gift-page-title h1{font-size:27px;letter-spacing:0}
 .bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:0;width:100%;min-width:0;height:auto;box-sizing:border-box;padding-inline:max(6px,env(safe-area-inset-left,0px))}
 .bottom-nav a,.bottom-nav .nav-video{width:100%;min-width:0;max-width:100%;box-sizing:border-box;padding:4px 2px;justify-content:flex-end;text-align:center}
 .bottom-nav a>span:last-child{display:flex;justify-content:center;align-items:center;min-height:30px;width:100%;line-height:1.25;white-space:normal;overflow-wrap:normal;word-break:normal}
 html[lang="en-US"] .bottom-nav a>span:last-child{font-size:10px;font-weight:500}
 html[lang="en-US"] :is(.auth-form,.gift-order,.withdraw-form) .btn{white-space:normal;line-height:1.45;min-height:44px}
 html[lang="en-US"] .auth-form h1{font-size:28px;line-height:1.35}
 html[lang="en-US"] .modal-title h2{font-size:25px;letter-spacing:0}
 html[lang="en-US"] .asset-actions .btn{padding-inline:12px;font-size:12px;line-height:1.4;min-width:0}
 html[lang="en-US"] .member-concierge b{font-size:12px;line-height:1.4;white-space:normal}
 html[lang="en-US"] .member-concierge small{font-size:9px;line-height:1.4;white-space:normal}
 html[lang="en-US"] .header-motto{display:none}
 html[lang="en-US"] .form-row{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:360px){
 .compact-gates.single-gate-r20 .gate{grid-template-columns:52px minmax(0,1fr);gap:12px;padding:18px 16px}
 html[lang="en-US"] .single-gate-r20 .compact-gate-info h2{font-size:21px}
 .single-gate-r20 .gate-art,.single-gate-r20 .gate-art>.icon{width:52px;height:62px}
 html[lang="en-US"] .bottom-nav a>span:last-child{font-size:9px}
 html[lang="en-US"] .asset-actions{display:grid;grid-template-columns:minmax(0,1fr)}
}
@media(max-width:700px){
 html[lang="en-US"] .single-gate-r20 .compact-gate-info .gate-num{font-size:9px;letter-spacing:1px}
 html[lang="en-US"] .landing-v10 :is(.rail-people,.rail-stories){--rail-gap:12px;--card-width:calc((100cqw - 12px)/2)}
 html[lang="en-US"] .welcome-person-name h3{font-size:17px;white-space:normal;flex-wrap:wrap;gap:3px 6px;line-height:1.3}
 html[lang="en-US"] .welcome-person-name p{font-size:10px;line-height:1.5}
 html[lang="en-US"] .welcome-person-info .chips{flex-wrap:wrap;gap:5px}
 html[lang="en-US"] .welcome-person-info .chips>span{font-size:10px;white-space:normal;padding:3px 6px;line-height:1.3}
 html[lang="en-US"] .welcome-story-who{font-size:10px;line-height:1.5;white-space:normal}
 html[lang="en-US"] .welcome-story h3{font-size:16px;line-height:1.4;min-height:0}
 html[lang="en-US"] .welcome-story-copy>p{font-size:11px;line-height:1.5;min-height:0}
 html[lang="en-US"] .welcome-story-bottom :is(small,b){font-size:10px;line-height:1.4}
 html[lang="en-US"] .welcome-intro-note>small{white-space:normal}
 html[lang="en-US"] .section-head{flex-wrap:wrap}
 html[lang="en-US"] .section-head>*{min-width:0;max-width:100%}
 html[lang="en-US"] .section-head :is(.btn,.text-link),html[lang="en-US"] .rail-count{white-space:normal}
 html[lang="en-US"] .multi-gift-selection{align-items:flex-start;gap:12px}
 html[lang="en-US"] .multi-gift-selection>span{white-space:normal;flex-basis:35%}
 html[lang="en-US"] .multi-gift-selection>b{font-size:12px;line-height:1.5;flex:1}
 html[lang="en-US"] .bank-account-number{white-space:normal;overflow-wrap:anywhere;font-size:23px;letter-spacing:1px}
 html[lang="en-US"] .support-title>div{min-width:0}
 html[lang="en-US"] .support-title h1{font-size:25px;line-height:1.25}
 html[lang="en-US"] .support-member .support-compose-foot .btn{white-space:normal;line-height:1.4;min-width:76px}
 html[lang="en-US"] .bb-progress span{min-width:0;line-height:1.5;max-width:100%}
 html[lang="en-US"] .bb-progress i{flex-shrink:0}
}

/* R36: match the compact Chinese hero: copy left, art/note right, one shared footer. */
html[lang="en-US"] .discovery-hero.home-editorial-r35{
 display:grid;grid-template-columns:minmax(0,1fr) 200px;
 grid-template-areas:"lead lead" "copy art" "copy note" "footer footer";
 grid-template-rows:auto 96px 54px auto;gap:12px 20px;
 height:auto;min-height:0;padding:24px 28px;margin-block:22px;align-items:center;
}
html[lang="en-US"] .home-editorial-r35>.home-lead-r35{grid-area:lead;min-width:0}
html[lang="en-US"] .home-editorial-r35 .home-lead-r35>.eyebrow{display:block;font-size:8px;line-height:1.6;letter-spacing:1.2px}
html[lang="en-US"] .home-editorial-r35 .hello{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 6px;margin:8px 0 0;line-height:1.5;min-width:0}
html[lang="en-US"] .home-member-name{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.5;color:#a66f6b}
html[lang="en-US"] .home-welcome-r35{font-size:11px;line-height:1.5;color:#b5907c}
html[lang="en-US"] .home-editorial-r35>.home-headline-r35{grid-area:copy;min-width:0;align-self:center}
html[lang="en-US"] .home-editorial-r35 h1{font-size:36px;font-weight:500;line-height:1.2;letter-spacing:-.4px;margin:0 0 10px}
html[lang="en-US"] .home-editorial-r35 h1>span,html[lang="en-US"] .home-editorial-r35 h1>em{display:block;white-space:nowrap}
html[lang="en-US"] .home-editorial-r35 .discovery-sub{font-size:12px;line-height:1.65;max-width:none;margin:0;color:#ae8b7a}
html[lang="en-US"] .home-editorial-r35>.discovery-art{grid-area:art;position:relative;inset:auto;width:100%;height:96px;min-width:0;align-self:center}
html[lang="en-US"] .home-editorial-r35 .discovery-art>.icon{width:96px;height:96px;max-width:100%;object-fit:contain}
html[lang="en-US"] .home-editorial-r35 .discovery-art .art-word{font-size:15px;bottom:-4px;right:10px;line-height:1.2}
html[lang="en-US"] .home-editorial-r35 .discovery-art .mini-orbit{max-width:100%;width:112px}
html[lang="en-US"] .home-editorial-r35>.connection-note{grid-area:note;position:static;inset:auto;width:100%;max-width:none;box-sizing:border-box;transform:rotate(-2deg);padding:7px 10px;margin:0;z-index:auto;border-radius:8px}
html[lang="en-US"] .home-editorial-r35 .connection-note small{display:block;font-size:7px;line-height:1.4;letter-spacing:.6px}
html[lang="en-US"] .home-editorial-r35 .connection-note b{display:block;font-size:11px;font-weight:500;line-height:1.45;margin-top:3px;white-space:normal;overflow-wrap:break-word}
html[lang="en-US"] .home-editorial-r35>.discovery-footer{grid-area:footer;position:static;inset:auto;min-width:0;display:block;margin:0;padding-top:10px}
html[lang="en-US"] .home-editorial-r35 .discovery-footer>div{display:flex;align-items:baseline;gap:4px 8px;flex-wrap:wrap}
html[lang="en-US"] .home-editorial-r35 .discovery-footer b{font-size:12px;line-height:1.5;letter-spacing:0}
html[lang="en-US"] .home-editorial-r35 .discovery-footer small{font-size:10px;line-height:1.5;margin:0;flex-basis:auto}
html[lang="en-US"] .home-editorial-r35+.discover-toolbar{margin-bottom:20px}
@media(max-width:700px){
 html[lang="en-US"] .discovery-hero.home-editorial-r35{grid-template-columns:minmax(0,1fr) clamp(88px,27vw,132px);grid-template-rows:auto 84px 54px auto;gap:10px 12px;padding:20px;margin-block:18px}
 html[lang="en-US"] .home-editorial-r35 h1{font-size:clamp(24px,7.1vw,32px);line-height:1.2;margin-bottom:9px}
 html[lang="en-US"] .home-editorial-r35 .discovery-sub{font-size:10px;line-height:1.65}
 html[lang="en-US"] .home-editorial-r35 .home-lead-r35>.eyebrow{font-size:7px;line-height:1.5;letter-spacing:.8px}
 html[lang="en-US"] .home-editorial-r35 .hello{margin-top:7px}
 html[lang="en-US"] .home-member-name{font-size:11px}
 html[lang="en-US"] .home-welcome-r35{font-size:10px}
 html[lang="en-US"] .home-editorial-r35>.discovery-art{height:84px}
 html[lang="en-US"] .home-editorial-r35 .discovery-art>.icon{width:82px;height:82px}
 html[lang="en-US"] .home-editorial-r35 .discovery-art .art-word{font-size:12px;bottom:-2px;right:0}
 html[lang="en-US"] .home-editorial-r35>.connection-note{padding:6px 8px}
 html[lang="en-US"] .home-editorial-r35 .connection-note small{font-size:6px}
 html[lang="en-US"] .home-editorial-r35 .connection-note b{font-size:9px;line-height:1.45;margin-top:2px}
 html[lang="en-US"] .home-editorial-r35 .discovery-footer b{font-size:10px}
 html[lang="en-US"] .home-editorial-r35 .discovery-footer small{font-size:9px}
 html[lang="en-US"] .home-editorial-r35+.discover-toolbar .gender-tab{min-width:0}
 html[lang="en-US"] .home-editorial-r35+.discover-toolbar .gender-tab b{font-size:12px;line-height:1.3;white-space:normal}
}
@media(max-width:700px) and (max-height:700px){
 html[lang="en-US"] .discovery-hero.home-editorial-r35{grid-template-rows:auto 68px 46px auto;gap:8px 10px;padding:16px 18px;margin-block:14px}
 html[lang="en-US"] .home-editorial-r35 h1{font-size:clamp(23px,6.4vw,28px);margin-bottom:7px;line-height:1.18}
 html[lang="en-US"] .home-editorial-r35>.discovery-art{height:68px}
 html[lang="en-US"] .home-editorial-r35 .discovery-art>.icon{width:66px;height:66px}
 html[lang="en-US"] .home-editorial-r35 .discovery-art .art-word{font-size:10px}
 html[lang="en-US"] .home-editorial-r35>.connection-note{padding:5px 7px}
 html[lang="en-US"] .home-editorial-r35 .connection-note b{font-size:8px;line-height:1.4}
 html[lang="en-US"] .home-editorial-r35>.discovery-footer{padding-top:8px}
}

/* R37: remove the old oval orbit, keeping only the original heart artwork. */
.discovery-hero .discovery-art .mini-orbit{display:none}

/* R38: enlarge only the English home decoration into the unused upper-right area. */
html[lang="en-US"] .home-editorial-r35>.discovery-art{
 grid-area:1 / 2 / 3 / 3;align-self:stretch;height:100%;min-height:0;contain:size;
 display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:center;align-items:center;
 gap:2px;padding-top:10px;box-sizing:border-box;
}
html[lang="en-US"] .home-editorial-r35 .discovery-art>.icon{
 width:100%;height:100%;min-width:0;min-height:0;max-width:148px;max-height:148px;
 object-fit:contain;transform:rotate(-8deg);align-self:center;justify-self:center;
}
html[lang="en-US"] .home-editorial-r35 .discovery-art .art-word{
 position:static;inset:auto;transform:none;display:block;width:100%;box-sizing:border-box;
 font-size:22px;line-height:1.15;letter-spacing:1px;text-align:center;white-space:nowrap;
 color:#c18f86a6;justify-self:center;align-self:end;
}
@media(max-width:700px){
 html[lang="en-US"] .home-editorial-r35 .discovery-art>.icon{max-width:132px;max-height:132px}
 html[lang="en-US"] .home-editorial-r35 .discovery-art .art-word{font-size:18px;letter-spacing:.6px}
}
@media(max-width:360px), (max-width:700px) and (max-height:700px){
 html[lang="en-US"] .home-editorial-r35>.discovery-art{padding-top:8px}
 html[lang="en-US"] .home-editorial-r35 .discovery-art .art-word{font-size:16px;letter-spacing:.4px}
}
