.app-shell--atlas .page-content.home-refined{--home-ink:#22243d;--home-muted:#777b93;--home-blue:#6955e8;--atlas-action:#6955e8;--atlas-ink:#22243d;--atlas-muted:#777b93;--work-title-color:#22243d;--work-author-color:#777b93;padding:28px clamp(18px,3vw,42px) var(--atlas-page-end-space);background:linear-gradient(180deg,#f8f7fd 0,#fff 670px);color:var(--home-ink)}.home-refined .home-discovery{position:relative;min-width:0;margin:0 0 30px;border:0;border-radius:0;padding:0;background:none;box-shadow:none}.yd21-intro{position:relative;padding:3px 0 0;overflow:hidden}.yd21-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#867da5;font-size:11px;font-weight:600;letter-spacing:.14em}.yd21-eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:#8d7cf1;box-shadow:0 0 0 4px #8d7cf115}.yd21-intro p{margin:8px 0 0;font-size:13px;color:var(--home-muted);line-height:1.7}.yd21-orbit{display:none}.home-refined .home-discovery-heading{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0;padding:15px 0 22px}.home-refined .home-discovery-heading h1{margin:0;color:var(--home-ink);font-size:clamp(28px,3vw,42px);font-weight:750;line-height:1.25;letter-spacing:-.035em}.home-refined .home-discovery-search{width:min(43%,420px);min-height:50px;margin:0;padding:0 14px;border:1px solid #e6e2f0!important;border-radius:14px!important;background:#fff!important;color:#8a859d;box-shadow:0 3px 16px #3b287207;font-size:13px;cursor:pointer}.home-refined .home-discovery-search span{flex:1;text-align:left}.home-refined .home-discovery-search>svg{color:#7c6bc3}.home-refined .home-discovery-search kbd{padding:4px 6px;border:1px solid #edeaf4;border-radius:6px;color:#a19bb3;background:#fbfaff;font-size:10px}.home-refined .home-discovery-topics{display:flex;align-items:center;gap:8px;margin:0 0 20px;padding:0;flex-wrap:wrap;overflow:visible}.home-refined .home-discovery-topics :is(button,a){display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 19px;border:1px solid #ebe7f2;border-radius:22px;background:#fff;color:#77718b;font:inherit;font-size:13px;text-decoration:none;white-space:nowrap;cursor:pointer}.home-refined .home-discovery-topics a[aria-current]{background:#7460e7;border-color:#7460e7;color:#fff;box-shadow:0 3px 10px #7460e724}.home-refined .home-featured-rail{display:grid;grid-template-columns:1.6fr 1fr 1fr;grid-template-rows:auto;gap:16px;min-width:0;margin:0 0 20px}.home-refined .home-featured-rail[data-count="1"]{grid-template-columns:1fr}.home-refined .home-featured-rail[data-count="2"]{grid-template-columns:1.5fr 1fr}.home-refined .home-featured-work{position:relative;min-width:0;grid-row:auto!important;overflow:hidden;border-radius:18px;border:1px solid #e9e6ef;background:#fff;box-shadow:0 7px 18px #34244506}.app-shell--atlas .home-refined .home-featured-work .prompt-card--gallery{overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none}.home-refined .home-featured-work .prompt-card--gallery .prompt-cover,.home-refined .home-featured-work:first-child .prompt-card--gallery .prompt-cover{height:260px;min-height:0;aspect-ratio:auto;border-radius:0}.home-refined .home-featured-work .prompt-cover.image .home-cover-open{position:absolute;inset:0}.home-refined .home-featured-work .home-cover-open .x-direct-media.image-card{position:absolute;inset:0;height:100%;width:100%;aspect-ratio:auto}.home-refined .home-featured-work .home-cover-open img{object-fit:cover}.home-refined .home-featured-work .gallery-card-overlay{padding:12px 106px 12px 15px;min-height:65px;opacity:1;transform:none}.home-refined .home-featured-work .gallery-card-title{min-height:40px;opacity:1;transform:none}.app-shell--atlas .home-refined .home-featured-work .gallery-card-title>strong{font-size:13px;line-height:1.5}.home-refined .home-featured-open{bottom:11px;right:13px;min-height:44px;padding:0 0 0 5px;color:#7663cc;font-size:11px}.home-refined.yd21-home .home-studio-band{display:none}.yd21-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 20px}.yd21-tool{position:relative;display:flex;align-items:center;min-width:0;gap:13px;padding:20px 18px;border:1px solid #e8e4f0;border-radius:16px;color:var(--home-ink);background:linear-gradient(115deg,#fff,#fbfaff);text-decoration:none;box-shadow:0 4px 12px #35235f03}.yd21-tool-1{background:linear-gradient(115deg,#fff,#f8fbff)}.yd21-tool-2{background:linear-gradient(115deg,#fff,#f9fafc)}.yd21-tool-icon{display:grid;place-items:center;flex-shrink:0;width:45px;height:45px;border-radius:13px;color:#8169d8;background:#f0eafd}.yd21-tool-1 .yd21-tool-icon{color:#628cce;background:#eaf1fd}.yd21-tool-2 .yd21-tool-icon{color:#729a8f;background:#ebf4f0}.yd21-tool-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.yd21-tool-copy strong{font-size:14px;font-weight:650;line-height:1.4}.yd21-tool-copy small{font-size:11px;color:#8e879e;line-height:1.5}.yd21-tool-arrow{display:grid;place-items:center;flex-shrink:0;width:26px;color:#a69dbb}.yd21-tool-arrow svg{width:18px;height:18px}.yd21-card-action{display:none}.home-refined .home-feed-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px}.home-refined .home-feed-heading h2{margin:0;font-size:22px;font-weight:700;letter-spacing:-.025em;white-space:nowrap}.home-refined .home-selection-bar{display:flex;align-items:center;gap:12px;border:0;margin:0;padding:0}.home-refined .home-selection-tabs{display:flex;gap:4px;padding:4px;background:#f4f2f9;border-radius:12px}.home-refined .home-selection-tabs button{min-height:38px;padding:8px 15px;border:0;border-radius:9px;color:#92899f;font-size:12px;line-height:1.4;white-space:nowrap}.home-refined .home-selection-tabs button[aria-pressed=true]{background:#fff;color:#7460cf;box-shadow:0 2px 7px #3b245b0c}.home-refined .home-selection-tabs button[aria-pressed=true]:after{display:none}.home-refined .home-selection-refresh{border:1px solid #eae6f0;border-radius:11px;color:#9b91ad;width:40px;height:40px}.home-refined .home-recommendation-note{font-size:11px;color:#9a91a7;margin:0 0 18px;line-height:1.5}.home-refined .home-artwork-grid{columns:3;column-gap:18px}.home-refined .home-artwork-item{border:1px solid #edeaf1;border-radius:16px;overflow:hidden;background:#fff;margin:0 0 20px;box-shadow:0 3px 14px #2e1e4705}.app-shell--atlas .home-refined .home-artwork-item .prompt-card--gallery{border:0;border-radius:0;background:transparent;box-shadow:none}.home-refined .home-artwork-item .prompt-card--gallery .prompt-cover{border-radius:0;background:#f4f2f7}.home-refined .home-artwork-item .prompt-card--gallery .gallery-card-overlay{padding:9px 12px 0;gap:5px}.app-shell--atlas .home-refined .home-artwork-item .gallery-card-title>strong{font-size:13px;line-height:1.6}.home-refined .home-artwork-meta{padding:0 12px 12px;color:#a59bad;font-size:10px}.home-refined .home-browse-links{gap:28px;padding:12px 0 24px}.home-refined :is(a,button,[role=button]):focus-visible{outline:3px solid #9884ef;outline-offset:3px}@media (min-width:1550px){.home-refined .home-artwork-grid{columns:4}}@media (max-width:1090px){.home-refined .home-featured-rail{grid-template-columns:1.25fr 1fr 1fr;gap:12px}.home-refined .home-featured-work .prompt-card--gallery .prompt-cover,.home-refined .home-featured-work:first-child .prompt-card--gallery .prompt-cover{height:210px}.yd21-tool{padding:17px 12px;gap:10px}.yd21-tool-arrow{display:none}.yd21-tool-copy small{font-size:10px}.home-refined .home-artwork-grid{columns:2}}@media (max-width:767px){.app-shell--atlas.app-shell--home-v41 .page-content.atlas-home-route.home-refined{padding:18px 15px var(--atlas-page-end-space);background:linear-gradient(180deg,#f8f7fd,#fff 460px)}.yd21-eyebrow{font-size:10px;letter-spacing:.09em}.yd21-intro p{font-size:11px;margin-top:6px}.home-refined .home-discovery-heading{display:flex;flex-direction:column;align-items:stretch;gap:15px;padding:13px 0 15px}.home-refined .home-discovery-heading h1{font-size:29px;line-height:1.3}.home-refined .home-discovery-search{width:100%;min-height:48px;font-size:12px}.home-refined .home-discovery-search kbd{display:none}.home-refined .home-discovery-topics{flex-wrap:nowrap;gap:7px;overflow-x:auto;scrollbar-width:none;margin-bottom:15px;padding:2px 1px}.home-refined .home-discovery-topics :is(a,button){flex:0 0 auto;min-height:44px;padding:7px 15px;font-size:12px}.home-refined .home-featured-rail{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;margin:0 0 2px;padding:1px 1px 8px}.home-refined .home-featured-work{flex:0 0 76%;max-width:290px;scroll-snap-align:start;border-radius:14px}.home-refined .home-featured-work .prompt-card--gallery .prompt-cover,.home-refined .home-featured-work:first-child .prompt-card--gallery .prompt-cover{height:150px}.home-refined .home-featured-work .gallery-card-overlay{min-height:55px;padding:8px 98px 8px 11px}.app-shell--atlas .home-refined .home-featured-work .gallery-card-title>strong{font-size:11px}.home-refined .home-featured-open{right:10px;bottom:6px;font-size:10px}.yd21-shortcuts{gap:8px;margin:0 0 16px}.yd21-tool{flex-direction:column;align-items:flex-start;gap:11px;padding:14px 11px;border-radius:14px}.yd21-tool-icon{width:35px;height:35px;border-radius:10px}.yd21-tool-icon svg{width:20px;height:20px}.yd21-tool-copy{gap:5px;flex:auto;width:100%}.yd21-tool-copy strong{font-size:12px;line-height:1.4;overflow-wrap:anywhere}.yd21-tool-copy small{display:none}.yd21-card-action{display:inline;color:#a097b1;font-size:10px;line-height:1.45}.home-refined .home-discovery{margin-bottom:24px}.home-refined .home-feed-heading{flex-wrap:wrap;gap:12px;margin:0 0 10px}.home-refined .home-feed-heading h2{font-size:20px}.home-refined .home-selection-bar{flex:1;margin:0;gap:6px;justify-content:flex-end}.home-refined .home-selection-tabs{gap:0;padding:3px}.home-refined .home-selection-tabs button{padding:8px 10px;font-size:11px;min-height:44px}.home-refined .home-selection-refresh{width:44px;height:44px;flex-shrink:0}.home-refined .home-recommendation-note{font-size:10px;margin-bottom:13px}.home-refined .home-artwork-grid{columns:2;column-gap:10px}.home-refined .home-artwork-item{margin-bottom:13px;border-radius:12px}.home-refined .home-artwork-item .prompt-card--gallery .gallery-card-overlay{padding:6px 8px 0;flex-wrap:wrap;gap:0}.home-refined .home-artwork-item .gallery-card-title{width:100%;flex-basis:100%;min-height:36px}.app-shell--atlas .home-refined .home-artwork-item .gallery-card-title>strong{font-size:11px}.home-refined .home-artwork-item .gallery-card-actions{display:flex;width:100%;justify-content:flex-end;gap:0}.home-mode-inspiration .home-refined .home-artwork-item .gallery-card-action:not(.gallery-quick-action){min-width:44px;min-height:44px;width:44px;height:44px}.home-refined .home-artwork-meta{padding:0 8px 10px}}@media (max-width:359px){.home-refined .home-selection-bar{flex-basis:100%;justify-content:space-between}.home-refined .home-discovery-heading h1{font-size:26px}.yd21-tool{padding:12px 9px}.yd21-tool-copy strong{font-size:11px}}@media (hover:hover) and (prefers-reduced-motion:no-preference){.yd21-tool{transition:border-color .18s,transform .18s,box-shadow .18s}.yd21-tool:hover{transform:translateY(-2px);border-color:#bcb0e9;box-shadow:0 8px 20px #5340870d}.home-refined .home-discovery-topics :is(button,a):hover{border-color:#b6a9e2;text-decoration:none}}@media (forced-colors:active){.yd21-tool,.home-refined .home-artwork-item{border:1px solid CanvasText}.home-refined .home-selection-tabs button[aria-pressed=true]{outline:2px solid Highlight}}
/* yuedian-pages-206 */
.app-shell--atlas .page-content.home-refined{padding-top:22px!important;background:linear-gradient(180deg,#f8f6fc,#fff 520px)!important}
.home-refined .home-discovery-heading{gap:16px;padding:12px 0 18px!important}
.home-refined .home-discovery-heading h1{font-size:clamp(26px,3vw,38px)!important;line-height:1.3!important}
.home-refined .home-discovery-search{min-height:48px!important;border-radius:14px!important;color:#766782!important}
.home-refined .home-discovery-topics{gap:8px!important}
.home-refined .home-discovery-topics :is(a,button){min-height:44px!important;font-size:13px!important}
.home-refined .home-discovery-topics a[aria-current]{background:#7957b2!important;border-color:#7957b2!important;box-shadow:none!important}
.home-refined .home-featured-work,.home-refined .home-artwork-item{border-radius:16px!important;border-color:#e9e3ef!important;box-shadow:0 3px 16px #34234306!important}
.home-refined .home-artwork-item{break-inside:avoid}
.home-refined .home-feed-heading{flex-wrap:wrap!important;gap:12px!important}
.home-refined .home-selection-tabs{background:#f2edf8!important}
.home-refined .home-selection-tabs button{min-height:44px!important;font-size:13px!important}
.home-refined .home-selection-tabs button[aria-pressed=true]{color:#714da6!important}
.home-refined .home-selection-refresh{width:44px!important;height:44px!important}
.home-refined .home-recommendation-note{font-size:12px!important;color:#796f84!important;line-height:1.6!important}
.home-refined .yd21-tool{padding:17px!important;border-radius:16px!important;box-shadow:none!important}
.home-refined .yd21-tool-copy strong{font-size:14px!important}
.home-refined .yd21-tool-copy small{font-size:12px!important;color:#7c7189!important}
.home-refined .gallery-card-title>strong{font-size:13px!important;line-height:1.55!important}
.home-refined .home-artwork-meta{font-size:12px!important;color:#7e728a!important}
[data-atlas-page="images"]{min-width:0;--atlas-action:#7957b2;--atlas-accent:#7957b2;--atlas-action-soft:#f1eaf9}
[data-atlas-page="images"] [class*="_controls_"]{gap:12px!important;margin-bottom:16px!important}
[data-atlas-page="images"] [class*="_rangeControls_"]{flex-wrap:wrap!important;gap:8px!important;min-width:0}
[data-atlas-page="images"] [class*="_rangeControls_"] :is(button,a,select){min-height:44px!important;font-size:14px!important}
[data-atlas-page="images"] [class*="_browseCreate_"]{background:#7957b2!important;color:white!important;border-radius:12px!important;padding:0 14px!important;box-shadow:none!important}
[data-atlas-page="images"] [class*="_quickFilters_"]{gap:8px!important;padding:2px 1px 6px!important;scroll-padding-inline:12px}
[data-atlas-page="images"] [class*="_quickFilters_"] button{min-height:44px!important;flex-shrink:0;padding:0 12px!important;font-size:13px!important;background:var(--atlas-surface,#fff)!important;border:1px solid var(--atlas-line,#e8e1ef)!important;border-radius:12px!important}
[data-atlas-page="images"] [class*="_quickFilters_"] button[aria-pressed=true]{background:#f0e9f9!important;color:#704aa6!important;border-color:#c4aedf!important}
[data-atlas-page="images"] [class*="_emptyState_"]{padding:28px 20px!important;border-radius:18px!important;line-height:1.65}
[class*="_filterDrawer_"]{background:var(--atlas-surface,#faf8fc)!important}
[class*="_filterDrawer_"]>header{padding:16px 18px!important}
[class*="_filterDrawer_"] h2{font-size:20px!important}
[class*="_filterDrawer_"] [class*="_drawerBody_"]{padding:12px 14px 20px!important;scrollbar-width:thin;overscroll-behavior:contain}
[class*="_filterDrawer_"] [class*="_filterGroup_"]{border-radius:14px!important;margin-bottom:10px!important;box-shadow:none!important}
[class*="_filterDrawer_"] [class*="_filterOptions_"]{gap:8px!important}
[class*="_filterDrawer_"] [class*="_filterOptions_"] button{min-height:44px!important;border-radius:10px!important;font-size:13px!important}
[class*="_filterDrawer_"] [class*="_filterOptions_"] button[aria-pressed=true]{background:#f1eaf9!important;border-color:#bda2db!important;color:#704ba5!important;box-shadow:none!important}
[class*="_filterDrawer_"] [class*="_drawerFooter_"]{gap:10px!important;padding:12px 16px max(12px,env(safe-area-inset-bottom))!important}
[class*="_filterDrawer_"] [class*="_drawerFooter_"] button:last-child{background:#7957b2!important;border-color:#7957b2!important}
.video-route-page .video-cinema-inspector{min-width:0;border-radius:18px}
.video-route-page .video-inspector-title{font-size:clamp(18px,2vw,24px);line-height:1.45;overflow-wrap:anywhere}
.video-route-page .video-cinema-actions{gap:10px;flex-wrap:wrap}
.video-route-page .video-cinema-actions :is(button,a),.video-route-page .video-nav-arrow{min-width:44px;min-height:44px}
.video-route-page :is(.video-cinema-error,.video-cinema-loading__copy){padding:18px;line-height:1.7;overflow-wrap:anywhere}
.video-prompt-sheet{max-height:calc(100dvh - 32px);border-radius:20px}
.video-prompt-sheet-content{max-width:100%;max-height:none;border-radius:0}
.video-prompt-sheet-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;line-height:1.75}
.video-prompt-sheet-copy{overflow-wrap:anywhere;white-space:pre-wrap;font-size:14px}
:is(dialog[aria-label="视频参数"],dialog[aria-label="选择视频模型"]){width:min(460px,calc(100vw - 28px))!important;max-width:460px!important;max-height:min(680px,calc(100dvh - 40px))!important;border-radius:18px!important}
:is(dialog[aria-label="视频参数"],dialog[aria-label="选择视频模型"]) [class*="_sheetContent_"]{max-height:min(678px,calc(100dvh - 42px))!important}
:is(dialog[aria-label="视频参数"],dialog[aria-label="选择视频模型"]) [class*="_sheetHeader_"]{padding:12px 16px!important}
:is(dialog[aria-label="视频参数"],dialog[aria-label="选择视频模型"]) [class*="_sheetBody_"]{padding:14px 16px 18px!important;overflow-y:auto!important;overscroll-behavior:contain}
:is(dialog[aria-label="视频参数"],dialog[aria-label="选择视频模型"]) :is(input,select,textarea){font-size:16px!important}
:is(dialog[aria-label="视频参数"],dialog[aria-label="选择视频模型"]) [class*="_modelMenu_"] button{min-height:48px!important;padding:10px 12px!important;font-size:14px!important}
:is(dialog[aria-label="视频参数"],dialog[aria-label="选择视频模型"]) [class*="_optionGroup_"] button{min-height:44px!important;font-size:13px!important}
:is(.home-refined,[data-atlas-page="images"],.video-route-page) :is(a,button,input,select,summary):focus-visible{outline:3px solid #b698d6!important;outline-offset:3px}
@media(max-width:767px){
.app-shell--atlas.app-shell--home-v41 .page-content.atlas-home-route.home-refined{padding:16px 14px var(--atlas-page-end-space)!important}
.home-refined .home-discovery{margin-bottom:20px!important}
.home-refined .home-discovery-heading h1{font-size:27px!important}
.home-refined .home-featured-work{flex-basis:82%!important;max-width:330px!important}
.home-refined .home-featured-work .prompt-card--gallery .prompt-cover{height:175px!important}
.home-refined .home-artwork-grid{column-gap:10px!important}
.home-refined .home-artwork-item{margin-bottom:12px!important;border-radius:12px!important}
.home-refined .home-selection-bar{justify-content:flex-start!important;flex-wrap:wrap!important}
.home-refined .home-selection-tabs button{padding:8px 12px!important;font-size:12px!important}
.home-refined .yd21-tool{padding:13px 10px!important;gap:9px!important}
.home-refined .yd21-tool-copy strong{font-size:13px!important}
.home-refined .home-artwork-meta{font-size:11px!important}
[data-atlas-page="images"] [class*="_quickHeader_"]{height:auto!important;min-height:44px!important}
[data-atlas-page="images"] [class*="_rangeControls_"]{row-gap:8px!important}
[class*="_filterDrawer_"]{top:max(12px,var(--atlas-site-header-total-height,56px))!important;bottom:var(--atlas-mobile-nav-height,60px)!important;border-radius:20px 20px 0 0!important}
.video-prompt-sheet-body{padding-bottom:max(20px,env(safe-area-inset-bottom))}
.yd22-video-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.yd22-video-actions>[data-video22-control=model]{grid-column:1!important;grid-row:1!important}
.yd22-video-submit-row>[data-video22-control=parameters]{grid-column:2!important;grid-row:1!important}
.yd22-video-submit-row>button[aria-describedby=creation-availability]{grid-column:1/-1!important;grid-row:2!important;min-height:48px!important;font-size:14px!important}
.yd22-video-actions>[class*="_channel_"]{grid-row:3!important}
.yd22-video-actions strong{font-size:12px!important}
}
@media(max-width:359px){.home-refined .home-artwork-grid{columns:1!important}.home-refined .home-featured-work{flex-basis:92%!important}.home-refined .home-feed-heading h2{font-size:19px!important}}
@media(prefers-reduced-motion:reduce){:is(.home-refined,[data-atlas-page="images"],.video-route-page) *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Long content, keyboard focus and narrow-screen refinements. */
.home-refined .home-artwork-item .gallery-card-title>strong{overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.home-refined .home-artwork-item .gallery-card-actions{flex-wrap:wrap;min-width:0}
.home-refined .gallery-card-action{min-width:44px!important;min-height:44px!important}
.home-refined .home-discovery-search{min-width:0}
.home-refined .home-discovery-search span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-refined .home-discovery-topics{overscroll-behavior-x:contain;scroll-padding-inline:8px}
[data-atlas-page="images"] [class*="_activeFilters_"]{gap:8px;scroll-padding-inline:8px}
[data-atlas-page="images"] [class*="_activeFilters_"] button{min-height:44px;flex-shrink:0;font-size:13px}
[data-atlas-page="images"] [class*="_loadingGrid_"] span{min-height:220px;background:var(--atlas-surface-muted,#f2edf7)}
[data-atlas-page="images"] [class*="_emptyState_"] p{max-width:42ch;overflow-wrap:anywhere;line-height:1.7}
[class*="_filterDrawer_"] [class*="_filterOptions_"] button{max-width:100%;overflow-wrap:anywhere;white-space:normal}
[class*="_filterDrawer_"] [class*="_filterOptions_"] button[aria-pressed=true] small{background:#e5d9f2!important;color:#65428f!important}
[class*="_filterDrawer_"] [class*="_filterOptions_"] button[aria-pressed=true]:after{display:none!important}
[class*="_filterDrawer_"] [class*="_groupToggle_"]:focus-visible{outline:3px solid #9978bd;outline-offset:-3px}
.video-prompt-sheet header{align-items:center;padding:14px 16px}
.video-prompt-sheet header h2{overflow-wrap:anywhere}
.video-prompt-sheet-body{flex:1 1 auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin}
.video-prompt-sheet-content{padding:16px}
.video-prompt-sheet-content pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:max(14px,calc(14px * var(--font-scale,1)));line-height:1.8}
.video-prompt-sheet footer{flex-wrap:wrap;gap:8px;padding:12px 16px max(12px,env(safe-area-inset-bottom))}
.video-prompt-sheet footer :is(button,a){min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.video-cinema-card .video-cinema-actions button:focus-visible,.video-cinema-card .author-identity__follow:focus-visible,.video-cinema-card .video-cinema-navigation button:focus-visible,.x-direct-media.video-feed .x-video-feed-fullscreen:focus-visible{outline:3px solid #d9c4ff!important;outline-offset:3px!important;border-radius:8px!important}
.video-cinema-stage .x-video-buffering{max-width:calc(100% - 32px);font-size:12px;line-height:1.5;overflow-wrap:anywhere;text-align:center}
.video-prompt-sheet .video-theater-tabs button{font-size:14px;min-height:44px;line-height:1.4;padding:7px 5px;overflow-wrap:anywhere}
@media(max-width:480px){
.home-refined .home-selection-bar{flex-basis:100%}
.home-refined .home-selection-tabs{flex:1;display:flex}
.home-refined .home-selection-tabs button{flex:1;min-width:0;padding-inline:7px!important}
[data-atlas-page="images"] [class*="_rangeControls_"]>div{max-width:100%;flex-wrap:wrap}
[class*="_filterDrawer_"] [class*="_ratioSection_"] [class*="_filterOptions_"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.video-prompt-sheet{width:100%;max-height:calc(100dvh - max(16px,env(safe-area-inset-top)));border-radius:20px 20px 0 0}
:is(dialog[aria-label="视频参数"],dialog[aria-label="选择视频模型"]){width:calc(100vw - 20px)!important;max-height:calc(100dvh - 24px)!important}
:is(dialog[aria-label="视频参数"],dialog[aria-label="选择视频模型"]) [class*="_sheetContent_"]{max-height:calc(100dvh - 26px)!important}
}
@media(max-height:480px) and (orientation:landscape){
.video-prompt-sheet{max-height:calc(100dvh - 16px)}
.video-prompt-sheet header{padding:8px 14px}
.video-prompt-sheet footer{padding:8px 14px}
:is(dialog[aria-label="视频参数"],dialog[aria-label="选择视频模型"]){max-height:calc(100dvh - 16px)!important}
:is(dialog[aria-label="视频参数"],dialog[aria-label="选择视频模型"]) [class*="_sheetContent_"]{max-height:calc(100dvh - 18px)!important}
}
@media(forced-colors:active){
.home-refined .home-selection-tabs button[aria-pressed=true],[class*="_filterDrawer_"] [class*="_filterOptions_"] button[aria-pressed=true]{outline:2px solid Highlight!important;outline-offset:-3px}
}
