/* Scoped adjustments for the two own-app showcases. */
body[data-page=apps] #main>.app-feature{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)!important;gap:clamp(24px,4vw,56px)!important;align-items:center!important}
body[data-page=apps] #main>.app-feature>figure{grid-column:2!important;grid-row:1!important;width:100%;min-width:0}
body[data-page=apps] #main>.app-feature>div{grid-column:1!important;grid-row:1!important;min-width:0}
body[data-page=apps] #main>.fanliga-feature>figure{grid-column:1!important}
body[data-page=apps] #main>.fanliga-feature>div{grid-column:2!important}
body[data-page=apps] .homeup-device-label>span:last-child{display:block;width:auto;height:auto;border:0;border-radius:0}
/* The source phone screenshot is much taller than its device frame. Give the
   frame a definite height and clip the screen inside it in every engine. */
body[data-page=apps] .r4-app-feature .homeup-phone{height:76%!important;min-height:0!important;overflow:hidden!important}
body[data-page=apps] .r4-app-feature .homeup-phone img{display:block!important;width:100%!important;height:100%!important;max-height:100%!important;object-fit:cover!important;object-position:center top!important}
@media(max-width:700px){body[data-page=apps] .r4-app-feature .homeup-phone{height:72%!important}}
body[data-page=apps] .app-feature .r11-app-detail summary{list-style:none}
body[data-page=apps] .app-feature .r11-app-detail summary::-webkit-details-marker{display:none}
body[data-page=apps] .app-feature .r11-app-detail summary::marker{content:""}
body[data-page=apps] .app-store-note{color:#d8c5b7;margin-top:18px}
body[data-page=apps] .fanliga-feature{margin-top:clamp(52px,7vw,100px)}
body[data-page=apps] .fanliga-feature>figure{min-width:0;margin:0}
body[data-page=apps] .fanliga-feature>div{min-width:0}
body[data-page=apps] .fanliga-visual{position:relative;display:grid;place-items:center;isolation:isolate;min-height:520px;aspect-ratio:1.2;overflow:hidden;padding:34px 20px 90px;border:1px solid #5c3e4a;border-radius:18px;background:radial-gradient(ellipse at 53% 39%,#574136 0,#292027 44%,#181619 80%)}
body[data-page=apps] .fanliga-visual::before{content:"";position:absolute;inset:11% 8% 18%;border:1px solid #c5834c35;border-radius:50%;transform:rotate(-22deg);pointer-events:none}
body[data-page=apps] .fanliga-phone{position:relative;display:flex;flex-direction:column;align-items:center;width:min(55%,260px);min-width:190px;min-height:370px;padding:26px 24px 30px;border:8px solid #302830;border-radius:32px;background:linear-gradient(150deg,#291d24,#131417 72%);box-shadow:0 28px 55px #0009,0 0 0 1px #846674;transform:rotate(-6deg);text-align:center}
body[data-page=apps] .fanliga-phone-top{width:64px;height:7px;margin:-13px 0 54px;border-radius:8px;background:#56434a}
body[data-page=apps] .fanliga-phone img{width:112px;height:112px;border-radius:23px;object-fit:cover;box-shadow:0 12px 28px #0008}
body[data-page=apps] .fanliga-phone-name{margin-top:20px;font-size:25px;font-weight:700;color:#fff1e8}
body[data-page=apps] .fanliga-phone-caption{margin-top:5px;font-size:11px;color:#c5b5ac}
body[data-page=apps] .fanliga-preview-lines{display:grid;gap:10px;width:100%;margin-top:27px}
body[data-page=apps] .fanliga-preview-lines span{display:block;height:7px;border-radius:7px;background:#5e4644}
body[data-page=apps] .fanliga-preview-lines span:nth-child(2){width:75%}
body[data-page=apps] .fanliga-preview-lines span:nth-child(3){width:48%}
body[data-page=apps] .fanliga-visual-label{position:absolute;left:28px;right:28px;bottom:25px;display:flex;flex-direction:column;gap:4px;color:#fff}
body[data-page=apps] .fanliga-visual-label strong{font-size:31px;letter-spacing:-.04em}
body[data-page=apps] .fanliga-visual-label small{font-size:11px;color:#c5b6bf}
body[data-page=apps] .fanliga-showcase figcaption{margin-top:14px;font-size:11px;line-height:1.6;color:#bcaeb4}
body[data-page=apps] .fanliga-heading{display:flex;align-items:center;gap:15px}
body[data-page=apps] .fanliga-heading img{width:70px;height:70px;border-radius:16px;object-fit:cover}
body[data-page=apps] .fanliga-heading .eyebrow{margin:0}
@media(max-width:850px){body[data-page=apps] #main>.app-feature{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}body[data-page=apps] #main>.app-feature>figure,body[data-page=apps] #main>.fanliga-feature>figure{grid-column:1!important;grid-row:1!important}body[data-page=apps] #main>.app-feature>div,body[data-page=apps] #main>.fanliga-feature>div{grid-column:1!important;grid-row:2!important}}
@media(max-width:700px){body[data-page=apps] .fanliga-visual{min-height:355px;aspect-ratio:1.1;padding-bottom:80px}body[data-page=apps] .fanliga-phone{min-width:145px;width:47%;min-height:260px;padding:18px 14px 20px;border-width:5px;border-radius:23px}body[data-page=apps] .fanliga-phone-top{margin:-9px 0 28px}body[data-page=apps] .fanliga-phone img{width:76px;height:76px;border-radius:17px}body[data-page=apps] .fanliga-phone-name{font-size:19px;margin-top:12px}body[data-page=apps] .fanliga-phone-caption{font-size:9px}body[data-page=apps] .fanliga-preview-lines{margin-top:16px;gap:7px}body[data-page=apps] .fanliga-visual-label{left:16px;right:16px;bottom:12px}body[data-page=apps] .fanliga-visual-label strong{font-size:clamp(22px,5vw,30px)}}
