@layer components{.history-preview-modal-module__CuJjva__dialog{background:var(--semi-color-bg-0);border-radius:16px;grid-template-columns:minmax(0,1fr) 360px;height:calc(100dvh - 160px);min-height:0;display:grid;overflow:hidden;box-shadow:0 4px 16px -2px #0000001a}@media (max-width:860px){.history-preview-modal-module__CuJjva__dialog{grid-template-columns:1fr;height:auto;max-height:calc(100dvh - 96px);overflow-y:auto}}.history-preview-modal-module__CuJjva__mediaPane{background:var(--semi-color-fill-1);justify-content:center;align-items:center;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}@media (max-width:860px){.history-preview-modal-module__CuJjva__mediaPane{aspect-ratio:auto;width:100%;height:min(45dvh,420px);min-height:180px}}.history-preview-modal-module__CuJjva__content{flex:1;min-height:0;padding-bottom:24px;overflow-y:auto}@media (max-width:860px){.history-preview-modal-module__CuJjva__content{overflow:visible}}.history-preview-modal-module__CuJjva__content>.history-preview-modal-module__CuJjva__infoSection{gap:12px}.history-preview-modal-module__CuJjva__metadata{flex-direction:column;gap:12px;margin:0;font-size:14px;line-height:20px;display:flex}.history-preview-modal-module__CuJjva__metadata>div{justify-content:space-between;gap:16px;display:flex}.history-preview-modal-module__CuJjva__metadata dt{color:var(--semi-color-text-2);flex:none}.history-preview-modal-module__CuJjva__metadata dd{text-align:right;overflow-wrap:anywhere;color:var(--semi-color-text-0);margin:0}.history-preview-modal-module__CuJjva__references{flex-wrap:wrap;gap:8px;display:flex}.history-preview-modal-module__CuJjva__prompt{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--semi-color-text-1);margin:0;font-size:14px;line-height:24px}.history-preview-modal-module__CuJjva__copy{white-space:nowrap;flex:none}.history-preview-modal-module__CuJjva__copy a{align-items:center;display:inline-flex}@media (hover:hover) and (pointer:fine){.history-preview-modal-module__CuJjva__promptSection .history-preview-modal-module__CuJjva__copy{opacity:0;pointer-events:none}.history-preview-modal-module__CuJjva__promptSection:hover .history-preview-modal-module__CuJjva__copy,.history-preview-modal-module__CuJjva__promptSection:focus-within .history-preview-modal-module__CuJjva__copy{opacity:1;pointer-events:auto}}.history-preview-modal-module__CuJjva__error{color:var(--semi-color-danger);margin:0;font-size:12px;line-height:20px}.history-preview-modal-module__CuJjva__heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.history-preview-modal-module__CuJjva__heading h2{overflow-wrap:anywhere;min-width:0}.history-preview-modal-module__CuJjva__heading button{flex:none}.history-preview-modal-module__CuJjva__detail{background:var(--semi-color-bg-0);flex-direction:column;width:360px;min-width:0;min-height:0;display:flex;position:relative}@media (max-width:860px){.history-preview-modal-module__CuJjva__detail{width:auto;min-height:420px}}.history-preview-modal-module__CuJjva__header{flex-direction:column;gap:4px;padding:24px 24px 0;display:flex}.history-preview-modal-module__CuJjva__header h2{font-size:16px;line-height:22px;font-weight:var(--semi-font-weight-bold);color:var(--semi-color-text-0);margin:0}.history-preview-modal-module__CuJjva__header p{overflow-wrap:anywhere;color:var(--semi-color-text-2);margin:0;font-size:14px;line-height:20px}.history-preview-modal-module__CuJjva__section{flex-direction:column;gap:8px;padding:32px 24px 0;display:flex}.history-preview-modal-module__CuJjva__section h3{font-size:14px;line-height:20px;font-weight:var(--semi-font-weight-bold);color:var(--semi-color-text-0);align-items:center;gap:6px;margin:0;display:flex}.history-preview-modal-module__CuJjva__section h3 span{font-weight:var(--semi-font-weight-regular);color:var(--semi-color-text-3)}.history-preview-modal-module__CuJjva__keywordsHeading{justify-content:space-between;align-items:center;gap:12px;display:flex}.history-preview-modal-module__CuJjva__footer{flex-direction:column;flex:none;gap:8px;margin-top:auto;padding:24px;display:flex}}
@layer components{.template-gallery-module__gNy17a__gallery{min-width:0;min-height:320px}.template-gallery-module__gNy17a__card{width:100%;min-width:0;position:relative}.template-gallery-module__gNy17a__card:focus-within .mc-templates-media{box-shadow:var(--semi-shadow-elevated);transform:translateY(-2px)}.template-gallery-module__gNy17a__card:focus-within .mc-templates-overlay{opacity:1}.template-gallery-module__gNy17a__card:focus-within .mc-templates-useCard{pointer-events:auto;opacity:1}.template-gallery-module__gNy17a__card:hover .mc-templates-media{box-shadow:var(--semi-shadow-elevated);transform:translateY(-2px)}.template-gallery-module__gNy17a__card:hover .mc-templates-overlay{opacity:1}.template-gallery-module__gNy17a__card:hover .mc-templates-useCard{pointer-events:auto;opacity:1}.template-gallery-module__gNy17a__surface{cursor:pointer;text-align:left;background:0 0;border:0;width:100%;margin:0;padding:0;display:block}.template-gallery-module__gNy17a__media{background:var(--semi-color-fill-0);border-radius:10px;transition:transform .16s,box-shadow .16s;position:relative;overflow:hidden}.template-gallery-module__gNy17a__media img{object-fit:cover;object-position:center;width:100%;height:100%}.template-gallery-module__gNy17a__media video{z-index:1;object-fit:cover;object-position:center;opacity:0;width:100%;height:100%;transition:opacity .16s;position:absolute;inset:0}.template-gallery-module__gNy17a__media video[data-playing=true]{opacity:1}@media (prefers-reduced-motion:reduce){.template-gallery-module__gNy17a__media{transition:none}.template-gallery-module__gNy17a__media video{transition:none}}.template-gallery-module__gNy17a__missing{border-radius:inherit;color:#0000006b;background-color:#00000009;border:1px solid #00000014;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.template-gallery-module__gNy17a__overlay{pointer-events:none;z-index:2;color:#fff;opacity:0;background:linear-gradient(#00000052 0%,#00000014 100%);flex-direction:column;gap:2px;padding:16px;transition:opacity .16s;display:flex;position:absolute;inset:0}@media (prefers-reduced-motion:reduce){.template-gallery-module__gNy17a__overlay{transition:none}}@media (hover:none){.template-gallery-module__gNy17a__overlay{opacity:1}}.template-gallery-module__gNy17a__overlay span{color:#fffc;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:20px;display:-webkit-box;overflow:hidden}.template-gallery-module__gNy17a__overlay strong{font-size:14px;line-height:22px;font-weight:var(--semi-font-weight-regular);color:#fff}.template-gallery-module__gNy17a__useCard{pointer-events:none;z-index:4;cursor:pointer;height:36px;font-size:14px;line-height:22px;font-weight:var(--semi-font-weight-regular);color:#000000d9;opacity:0;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fff;border:0;border-radius:8px;justify-content:center;align-items:center;gap:4px;padding:5px 0;transition:opacity .16s;display:flex;position:absolute;bottom:16px;left:16px;right:16px}@media (hover:hover){.template-gallery-module__gNy17a__useCard:hover{background-color:#fffc}}@media (prefers-reduced-motion:reduce){.template-gallery-module__gNy17a__useCard{transition:none}}@media (hover:none){.template-gallery-module__gNy17a__useCard{opacity:1;pointer-events:auto}}.template-gallery-module__gNy17a__useCard:disabled{cursor:not-allowed}.template-gallery-module__gNy17a__loadState{min-height:36px;color:var(--semi-color-text-2);justify-content:center;align-items:center;gap:12px;font-size:14px;display:flex;position:relative}.template-gallery-module__gNy17a__loadState a{cursor:pointer;color:inherit}.template-gallery-module__gNy17a__sentinel{width:1px;height:1px;position:absolute;bottom:0;left:50%}}
@layer components{.community-work-modal-module__3dq2cW__mediaPane{background:var(--semi-color-fill-1);justify-content:center;align-items:center;min-width:0;min-height:0;display:flex;overflow:hidden}@media (max-width:860px){.community-work-modal-module__3dq2cW__mediaPane{aspect-ratio:16/10;width:100%;min-height:280px}}.community-work-modal-module__3dq2cW__detail{background:var(--semi-color-bg-0);flex-direction:column;width:360px;min-width:0;min-height:0;display:flex;position:relative}@media (max-width:860px){.community-work-modal-module__3dq2cW__detail{width:auto;min-height:420px}}.community-work-modal-module__3dq2cW__header{flex-direction:column;gap:4px;padding:24px 24px 0;display:flex}.community-work-modal-module__3dq2cW__header h2{font-size:16px;line-height:22px;font-weight:var(--semi-font-weight-bold);color:var(--semi-color-text-0);margin:0}.community-work-modal-module__3dq2cW__header p{overflow-wrap:anywhere;color:var(--semi-color-text-2);margin:0;font-size:14px;line-height:20px}.community-work-modal-module__3dq2cW__section{flex-direction:column;gap:8px;padding:32px 24px 0;display:flex}.community-work-modal-module__3dq2cW__section h3{font-size:14px;line-height:20px;font-weight:var(--semi-font-weight-bold);color:var(--semi-color-text-0);align-items:center;gap:6px;margin:0;display:flex}.community-work-modal-module__3dq2cW__section h3 span{font-weight:var(--semi-font-weight-regular);color:var(--semi-color-text-3)}.community-work-modal-module__3dq2cW__metadata{justify-content:space-between;gap:16px;margin:0;font-size:14px;line-height:20px;display:flex}.community-work-modal-module__3dq2cW__metadata dt{color:var(--semi-color-text-2)}.community-work-modal-module__3dq2cW__metadata dd{color:var(--semi-color-text-0);margin:0}.community-work-modal-module__3dq2cW__keywords{flex:1;min-height:0}@media (hover:hover) and (pointer:fine){.community-work-modal-module__3dq2cW__keywords .community-work-modal-module__3dq2cW__copy{opacity:0;pointer-events:none}.community-work-modal-module__3dq2cW__keywords:hover .community-work-modal-module__3dq2cW__copy,.community-work-modal-module__3dq2cW__keywords:focus-within .community-work-modal-module__3dq2cW__copy{opacity:1;pointer-events:auto}}.community-work-modal-module__3dq2cW__keywordsHeading{justify-content:space-between;align-items:center;gap:12px;display:flex}.community-work-modal-module__3dq2cW__copy{font-size:14px;line-height:20px;font-weight:var(--semi-font-weight-bold);color:var(--semi-color-link);cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:4px;padding:0;display:inline-flex}.community-work-modal-module__3dq2cW__copy:hover{color:var(--semi-color-link-hover)}.community-work-modal-module__3dq2cW__copy:focus-visible{outline:2px solid var(--semi-color-focus-border);outline-offset:2px}.community-work-modal-module__3dq2cW__prompt{white-space:pre-wrap;overflow-wrap:anywhere;min-height:0;color:var(--semi-color-text-1);flex:1;margin:0;font-size:14px;line-height:20px;overflow-y:auto}.community-work-modal-module__3dq2cW__prompt:focus-visible{outline:2px solid var(--semi-color-focus-border);outline-offset:2px}.community-work-modal-module__3dq2cW__footer{flex-direction:column;flex:none;gap:8px;margin-top:auto;padding:24px;display:flex}.community-work-modal-module__3dq2cW__communityLink{box-sizing:border-box;border:1px solid var(--semi-color-border);border-radius:var(--semi-border-radius-small);min-height:40px;color:var(--semi-color-text-1);font-size:14px;font-weight:var(--semi-font-weight-bold);text-align:center;overflow-wrap:anywhere;grid-template-columns:16px minmax(0,1fr) 16px;align-items:center;column-gap:8px;padding:8px 16px;line-height:20px;text-decoration:none;display:grid}.community-work-modal-module__3dq2cW__communityLink span{grid-column:2}.community-work-modal-module__3dq2cW__communityLink:hover{background:var(--semi-color-fill-0)}.community-work-modal-module__3dq2cW__communityLink:active{background:var(--semi-color-fill-1)}.community-work-modal-module__3dq2cW__communityLink:focus-visible{outline:2px solid var(--semi-color-focus-border);outline-offset:2px}}
@layer components{.explore-toolbar-module__bywjOG__toolbar{align-items:center;gap:12px;display:flex}.explore-toolbar-module__bywjOG__tabRail{flex:auto;min-width:0;position:relative}.explore-toolbar-module__bywjOG__viewport{scrollbar-width:none;width:100%;overflow-x:auto}.explore-toolbar-module__bywjOG__viewport::-webkit-scrollbar{display:none}.explore-toolbar-module__bywjOG__categories{gap:8px;width:max-content;display:flex}.explore-toolbar-module__bywjOG__categories>button{flex:none}.explore-toolbar-module__bywjOG__scroll{z-index:1;background:var(--semi-color-bg-0);position:absolute;top:0;bottom:0}.explore-toolbar-module__bywjOG__previous{left:0}.explore-toolbar-module__bywjOG__next{right:0}.explore-toolbar-module__bywjOG__controls{flex:none;align-items:center;gap:12px;display:flex}.explore-toolbar-module__bywjOG__search{flex:none;width:180px;min-width:0}.explore-toolbar-module__bywjOG__searchInput{width:100%}.explore-toolbar-module__bywjOG__historyQuery{text-overflow:ellipsis;white-space:nowrap;width:148px;display:block;overflow:hidden}.explore-toolbar-module__bywjOG__type{flex:none;min-width:105px}.explore-toolbar-module__bywjOG__typeLabel{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.explore-toolbar-module__bywjOG__typeLabel>span:first-child{color:var(--semi-color-text-2)}@media (max-width:768px){.explore-toolbar-module__bywjOG__toolbar{flex-direction:column;align-items:stretch}.explore-toolbar-module__bywjOG__tabRail{flex:none;width:100%}.explore-toolbar-module__bywjOG__scroll{display:none}.explore-toolbar-module__bywjOG__controls{width:100%}.explore-toolbar-module__bywjOG__search{flex:1 1 0;width:auto}}.explore-toolbar-module__bywjOG__retry{color:var(--semi-color-text-2);white-space:nowrap;flex-shrink:0;align-self:center;padding:0 8px;font-size:14px}}
