.category-actions {display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;margin:28px auto 32px}
.category-actions :is(a,button),.category-section .btn-start {min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border-radius:8px;font:inherit;font-weight:600;cursor:pointer}
.category-actions .category-save {background:var(--main-container2);color:var(--text-color);border:1px solid var(--border)}
.category-save[aria-pressed=true] {color:var(--accent-color)}
.category-example {position:relative}
.category-example > span {position:absolute;top:16px;left:16px;border-radius:24px;background:#fffffff0;color:#171717;padding:6px 12px;font-size:14px;font-weight:600}
.category-section {padding:clamp(40px,6vw,88px) 0;color:var(--text-color)}
.category-section .container {max-width:1192px}
.category-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px;align-items:stretch;margin-top:32px}
.category-card {min-width:0;border:1px solid var(--border);border-radius:14px;background:var(--main-container2);overflow:hidden}
.category-card-copy {display:grid;padding:20px;gap:12px;overflow-wrap:anywhere}
.category-card-copy h3 {font-size:clamp(20px,2vw,24px);line-height:1.16}
.category-card-copy p,.category-brief-text {font-size:16px;line-height:1.45}
.category-card-media {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:4px}
.category-card-media img {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.category-card-copy audio {width:100%;display:block;margin-top:8px}
.category-link {color:var(--accent-color);font-weight:600}
.category-badges {display:flex;flex-wrap:wrap;gap:8px}
.category-badges span {border:1px solid var(--border);border-radius:30px;padding:4px 10px;font-size:14px}
.category-collections .category-grid {display:flex;flex-wrap:wrap;justify-content:center}
.category-section .btn-start {display:flex;width:fit-content;max-width:100%;margin:24px auto 0;text-align:center}
.category-brief-text {max-width:980px;text-align:center;margin:20px auto 0}
@media(hover:hover){.category-save:hover,.hub-category[href]:hover{border-color:var(--accent-color);color:var(--accent-color)}.category-link:hover{text-decoration:underline}}
@media(max-width:767px){.category-actions{margin:16px auto;gap:8px}.category-actions :is(a,button){font-size:15px;padding:8px 12px}.category-collections .category-grid{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scroll-snap-type:x mandatory}.collection-poster{flex:0 0 min(80vw,283px);scroll-snap-align:start}.trends-hero__breadcrumbs{flex-wrap:wrap;justify-content:center}.category-grid{margin-top:24px}}
@media(prefers-reduced-motion:reduce){.collection-poster img{transition:none}}

.category-platform-cover {display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(145deg,var(--main-container2),var(--border));color:var(--text-color);font-size:clamp(18px,3vw,32px);font-weight:650;padding-bottom:72px}
.category-card-copy details {padding:12px 0;border-top:1px solid var(--border)}
.category-card-copy summary {cursor:pointer;color:var(--accent-color);font-weight:600}
.category-card-copy details[open] p {margin:12px 0}
@media(min-width:768px){
  .category-collections .category-grid {gap:10px}
  .collection-poster {width:min(283px,calc((100% - 30px)/4))}
  .category-collections .category-grid:not(:has(> :nth-child(4))) .collection-poster {flex:0 1 283px;width:auto}
  .category-collections .category-grid:has(> :nth-child(3):last-child) .collection-poster {max-width:calc((100% - 20px)/3)}
}
.category-card-media img {aspect-ratio:auto}

/* The CTA curve extends into the preceding FAQ. Keep its full depth outside the answers. */
.trends-ai-page {--category-curve:120px}
.trends-ai-page #trends-cta > .section-ellipse {--ellipse-depth:var(--category-curve)}
.trends-ai-page #faq {padding-bottom:calc(var(--category-curve) + clamp(32px,4vw,64px))}
#faq .faq-column:not(:has(details)) {display:none}
#faq .faq-column:has(details) {flex:1;max-width:none}

.category-topic-list {display:flex;justify-content:safe center;gap:10px}
#trends-topics .category-topic-list .documents-prompt {flex:1 1 0;max-width:260px;width:auto;align-self:stretch}
.category-card {display:flex;flex-direction:column}
.category-card-copy {align-content:start;min-width:0}
@media(min-width:768px){
  .category-feature .category-short-row {grid-template-columns:repeat(var(--category-columns),minmax(0,1fr))}
}
.category-byline {display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin:32px 0 12px;color:var(--text-color3)}
.category-byline span:first-child {font-weight:600;color:var(--text-color)}
.category-byline span:last-child {margin-inline-start:auto}
.category-byline + .category-gallery {margin-top:0}
.category-gallery .category-card {position:relative;isolation:isolate;display:grid;align-content:end;aspect-ratio:4/5;background:#1c1d20;color:white;border:0}
.category-gallery .category-card-media {position:absolute;inset:0;z-index:-1;display:block}
.category-gallery .category-card-media img {width:100%;height:100%;object-fit:cover}
.category-frame-badge {position:absolute;top:14px;left:14px;padding:4px 10px;border-radius:24px;background:#222b;color:white;font-size:14px}
.category-gallery .category-card-copy {gap:5px;background:linear-gradient(transparent,#000c);padding-top:48px}
.category-gallery .category-card-copy :is(h3,p) {color:white}
@media(max-width:767px){
  .trends-ai-page {--category-curve:24px}
  .category-topic-list,.category-gallery {display:flex;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory}
  #trends-topics .category-topic-list .documents-prompt {flex:0 0 min(76vw,260px);scroll-snap-align:center}
  .category-gallery .category-card {flex:0 0 min(80vw,320px);scroll-snap-align:center}
}
.trends-ai-page :is(.hub-publications-grid,.trends-authors__cards) {align-items:stretch}
.trends-ai-page :is(.hub-publications-grid,.trends-authors__cards) > .trends-author {align-self:stretch}
.trends-ai-page .trends-author__body {flex:1}
.trends-ai-page .trends-author__button {margin-top:auto}

.category-stories {padding-block:80px}
.category-stories .section-title .desktop-block {display:inline}
.gallery-stories {
  display:grid;grid-template-columns:282fr 380fr 282fr;align-items:center;
  gap:10px;width:min(100%,964px);margin:40px auto 0;
}
.story-card {
  position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;
  min-width:0;aspect-ratio:282/502;padding:20px;border-radius:12px;overflow:hidden;color:#fff;background:#050a1a;
}
.story-card:nth-child(2) {aspect-ratio:380/676}
.story-image,.story-card::after {position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.story-image {object-fit:cover}
.story-card::after {content:"";inset:auto 0 0;height:min(100%,240px);background:linear-gradient(transparent,#050a1a)}
.story-progress {display:flex;gap:12px}
.story-progress span {flex:1;height:4px;border-radius:10px;background:#ffffff4d}
.story-progress .current {background:#fff}
.story-caption {display:grid;gap:8px;color:#fff;overflow-wrap:break-word}
.category-stories .story-caption :is(h3,p) {color:#fff}
.story-caption h3 {font-size:24px;line-height:28px;font-weight:600}
.story-caption p {font-size:18px;line-height:24px}
.story-caption .story-label {margin-bottom:4px;font-size:14px;line-height:18px;font-weight:500}
.category-stories .story-action {gap:6px;border-radius:6px;margin-top:32px;font-size:18px;line-height:24px}
@media(max-width:767px){
  .category-stories {padding-block:40px}
  .gallery-stories {display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin-top:24px}
  .story-card {flex:0 0 min(74vw,282px);scroll-snap-align:center;padding:16px}
  .story-card:nth-child(2) {flex-basis:min(84vw,340px)}
  .story-caption h3 {font-size:20px;line-height:24px}
  .story-caption p {font-size:16px;line-height:20px}
  .story-caption .story-label {font-size:14px;line-height:18px}
}

.portrait-case {padding-block:80px}
.portrait-case .section-sub-title {max-width:532px}
.portrait-case .section-title .desktop-block {display:inline}
.portrait-comparison {max-width:966px;margin:40px auto 32px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:center}
.portrait-scene {width:100%;aspect-ratio:478/350;position:relative;isolation:isolate;container-type:inline-size}
.portrait-scene > img,.case-frame,.case-style {position:absolute}
.case-orbits {width:115%;left:-16.74%;top:2.28%}
.case-loop {width:104.6%;left:-7.1%;top:-.86%}
.case-camera {width:37.66%;left:-11.36%;top:46.5%;transform:rotate(-12.45deg)}
.case-star {width:20.92%;left:76.9%;top:1.75%;transform:rotate(12deg)}
.case-frame {margin:0;padding:1.67%;border:1px solid var(--border);border-radius:2.5cqw;background:var(--main-container2)}
.case-frame img {display:block;width:100%;height:auto;border-radius:1.67cqw}
.case-frame-1 {left:6.8%;top:2.3%;width:42.25%;transform:rotate(-7deg)}
.case-frame-2 {left:40.8%;top:16.5%;width:45.6%;transform:rotate(3deg)}
.case-frame figcaption {position:absolute;left:8%;top:7%;padding:1.1cqw 2.1cqw;border-radius:99px;background:#0008;color:#fff;font-size:clamp(10px,2.51cqw,12px);line-height:1.2;backdrop-filter:blur(6px)}
.case-style {left:23.2%;top:81.7%;width:57%;padding:2.51% 2.1%;display:flex;align-items:center;gap:1.26cqw;background:var(--main-container2);border:1px solid var(--border);border-radius:8px}
.case-style i {width:8.37cqw;height:8.37cqw;flex:none;background:var(--accent-color);mask:url('portrait-case/style.svg') center/65% no-repeat}
.case-style strong,.case-style small {display:block;line-height:1.25}
.case-style strong {font-size:clamp(12px,3.35cqw,16px)}.case-style small {font-size:clamp(10px,2.93cqw,14px);color:var(--text-color3)}
.case-features {margin:0;padding:28px;display:grid;gap:28px;list-style:none}
.case-features li {display:flex;align-items:flex-start;gap:12px}
.case-features h3 {font-size:24px;line-height:28px;margin:0 0 8px}
.case-features p {font-size:16px;line-height:20px;color:var(--text-color3)}
.case-feature-icon {width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:4px;background:linear-gradient(147deg,#67e5ff,#1252d3 65%,#9639fe)}
.case-features li:nth-child(2) .case-feature-icon {background:linear-gradient(135deg,#e984fc,#ff3984)}
.case-features li:nth-child(3) .case-feature-icon {background:linear-gradient(135deg,#8efbff,#b432ff)}
.case-feature-icon i {width:20px;height:20px;mask:var(--symbol) center/contain no-repeat;background:white}
[data-theme=dark] .case-feature-icon i {background:#171717}
.case-prompt {max-width:770px;margin:auto;padding:16px 20px;border:1px solid var(--border);border-radius:12px}
.case-prompt summary {list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:18px;line-height:24px;font-weight:600;cursor:pointer}
.case-prompt summary::-webkit-details-marker {display:none}
.case-prompt summary::after {content:"";flex:none;width:24px;height:24px;background:currentColor;mask:url('portrait-case/plus.svg') center/contain no-repeat}
.case-prompt[open] summary::after {transform:rotate(45deg)}
.case-prompt > p {margin:12px 0 20px;color:var(--text-color3);font-size:16px;line-height:20px}
.case-copy {display:flex;align-items:center;gap:16px}
.case-copy button {flex:none;min-height:48px;padding:10px 16px;border:1px solid var(--border);border-radius:6px;background:var(--main-container2);color:var(--accent-color);font-weight:600}
.case-copy small {color:var(--text-color3);font-size:14px;line-height:18px}
@media(min-width:768px) and (max-width:1150px){.portrait-comparison{width:88%}.case-features{padding:10px}.case-features h3{font-size:21px}}
@media(max-width:767px){
  .portrait-case {padding-block:40px}
  .portrait-comparison {grid-template-columns:minmax(0,1fr);margin:28px auto 24px;gap:20px}
  .portrait-scene {width:min(84%,478px);justify-self:center;left:3%}
  .case-features {padding:0;gap:20px;max-width:478px;justify-self:center}
  .case-features h3 {font-size:20px;line-height:24px}
  .case-copy {flex-wrap:wrap;gap:10px}
  .case-prompt {padding:16px}
}

.meme-examples,.meme-moods {padding-block:80px}
:is(.meme-examples,.meme-moods) .section-title .desktop-block {display:inline}
:is(.meme-examples,.meme-moods) .section-sub-title {max-width:532px}
.meme-pair,.mood-collage {width:min(100%,1160px);display:grid;gap:10px;margin:40px auto 0}
.meme-pair {grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.meme-preview {border:1px solid var(--border);border-radius:12px;padding:19px;background:var(--main-container2)}
.meme-preview img {display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border:1px solid var(--border);border-radius:10px}
.meme-preview h3 {margin:16px 0 8px;font-size:24px;line-height:28px}
.meme-preview p {font-size:16px;line-height:20px;color:var(--text-color3)}
.meme-pair .case-prompt {margin:10px 0 0;background:var(--main-container2)}
.meme-pair .case-copy {flex-wrap:wrap}
.meme-pair .case-copy small {flex:1 1 175px}
.mood-collage {grid-template-columns:repeat(4,minmax(0,1fr))}
.mood-poster {position:relative;isolation:isolate;min-width:0;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:20px;border-radius:12px;overflow:hidden;aspect-ratio:282.5/354}
.mood-poster:nth-child(-n+2) {grid-column:span 2;aspect-ratio:575/360}
.mood-poster img {position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover}
.mood-poster span {padding:8px 12px;color:#fff;background:#0006;backdrop-filter:blur(6px);border:1px solid #fff2;border-radius:24px;font-size:14px;line-height:18px}
.mood-poster h3 {align-self:center;max-width:100%;padding:16px;color:var(--text-color);background:var(--main-container2);border-radius:12px;font-size:20px;line-height:24px;text-align:center}
.mood-poster:nth-child(-n+2) h3 {font-size:24px;line-height:28px}
@media(min-width:768px) and (max-width:1023px){.mood-poster{padding:10px}.mood-poster h3{padding:10px;font-size:18px;line-height:22px}}
@media(max-width:767px){
 .meme-examples,.meme-moods {padding-block:40px}
 .meme-pair,.mood-collage{margin-top:24px}
 .meme-pair{grid-template-columns:1fr;gap:20px}
 .meme-preview{padding:14px}.meme-preview h3{font-size:20px;line-height:24px}
 .mood-collage{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mood-poster{padding:10px;min-height:195px}.mood-poster h3,.mood-poster:nth-child(-n+2) h3{font-size:16px;line-height:20px;padding:10px}
 .mood-poster span{padding:4px 8px;font-size:12px}
}

/* Category-specific editorial sections share the spacing and controls of the Trends hub. */
.editor-section,.photo-sequence {padding-block:80px}
.editor-grid {display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:10px;margin:40px auto 0}
.editor-grid + .editor-grid,.editor-group-heading + .editor-grid {margin-top:16px}
.editor-group-heading {max-width:980px;margin:32px auto 0;text-align:center;font-size:18px}
.editor-panel {min-width:0;display:flex;flex-direction:column;position:relative;padding:20px;gap:12px;border:1px solid var(--border);border-radius:12px;background:var(--main-container2);color:var(--text-color);overflow-wrap:break-word}
.editor-body {display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.editor-body h3,.editor-group-heading {font-weight:600}.editor-body h3 {font-size:24px;line-height:1.17;margin:0}
.editor-body p,.editor-steps {font-size:16px;line-height:1.3;color:var(--text-color3);white-space:pre-line}
.editor-body small,.editor-footnote {font-size:14px;line-height:18px;color:var(--text-color3)}
.editor-footnote {margin:24px auto 0;max-width:920px;text-align:center}
.editor-actions {display:grid;gap:8px;margin-top:auto;padding-top:8px}
.editor-action {min-height:44px;padding:9px 16px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--border);border-radius:6px;background:color-mix(in srgb,var(--accent-color) 7%,var(--main-container2));color:var(--accent-color);font:inherit;font-weight:600;line-height:1.25;text-align:center;cursor:pointer}
@media(hover:hover){.editor-action:hover {background:var(--accent-color);color:var(--main-container2)}}
.editor-action:focus-visible,.editor-cover-link:focus-visible {outline:2px solid var(--accent-color);outline-offset:2px}
.editor-bottom {margin:32px auto 0;text-align:center}
.editor-badge,.editor-body .hub-guide-chips span {padding:5px 10px;border-radius:20px;background:color-mix(in srgb,var(--accent-color) 8%,var(--main-container2));color:var(--accent-color);font-size:14px;line-height:18px;align-self:flex-start}
.editor-accent,.editor-body dt,.editor-steps b {color:var(--accent-color)}
.editor-picture {position:relative;overflow:hidden;border-radius:8px;aspect-ratio:16/9}
.editor-picture img {width:100%;height:100%;display:block;object-fit:cover}
.editor-plan-grid .editor-body {gap:12px}.editor-plan-grid .editor-badge {margin-bottom:20px}
.editor-plan-grid .hub-plan-download {padding:20px;display:flex;position:relative}
.editor-plan-grid .hub-plan-download .editor-body,.editor-plan-grid .hub-plan-download .editor-actions {position:relative;z-index:1}
.editor-panel dl,.editor-steps {display:grid;gap:0;list-style:none;padding:0;width:100%;margin:12px 0}
.editor-panel dl div,.editor-steps li {padding:12px 0;border-bottom:1px solid var(--border)}
.editor-panel dl div {display:grid;grid-template-columns:minmax(60px,22%) 1fr;gap:10px}
.editor-panel dd {margin:0;color:var(--text-color3)}.editor-steps h4 {font-size:20px;margin:0 0 8px;color:var(--text-color)}
.editor-steps b {display:block}.editor-steps .editor-badge {float:right;margin-left:10px}
.editor-photo-hunt {align-items:center}.editor-photo-hunt .editor-panel:first-child {padding:0;overflow:hidden}
.editor-photo-hunt .editor-panel:first-child .editor-picture {aspect-ratio:575/600}.editor-photo-hunt .editor-panel:first-child .editor-badge {position:absolute;top:20px;left:20px}
.editor-photo-hunt .editor-panel:first-child .editor-body {position:absolute;inset:0}.editor-photo-hunt .editor-panel:last-child {border:0;background:transparent}
.editor-rounds,.editor-sources,.editor-posts {align-items:start}
.editor-rounds .editor-body {align-items:stretch}.editor-rounds .editor-body dl div {display:block}.editor-rounds dd {margin:6px 0}
.editor-rounds details {padding:12px;background:var(--main-container);border-radius:6px}
.editor-rounds summary {cursor:pointer;font-weight:600}.editor-rounds details[open] strong {display:block;margin:12px 0}
.editor-sources {max-width:770px}.editor-live-round .editor-panel:last-child {background:var(--main-container)}.editor-live-round .editor-body {height:100%}.editor-live-round [data-next-round] {margin-top:auto;align-self:stretch}
.editor-score h3 {font-size:18px}.editor-score {margin-top:40px}
.editor-score .editor-panel {border:0;border-left:1px solid var(--border);border-radius:0;background:transparent}
.editor-swatch,.editor-wave {display:block;width:100%;border-radius:8px}.editor-swatch {height:96px}.editor-wave {height:auto}
.editor-illustration {position:relative;isolation:isolate;overflow:hidden;container-type:inline-size;aspect-ratio:282.5/200;border-radius:9px;background:#ffeddb;color:#161616}
.editor-illustration img,.editor-illustration span {position:absolute}.editor-illustration img {object-fit:contain}
.editor-illustration span {font-weight:600;font-size:clamp(10px,4.7cqw,15px);line-height:1.1;max-width:96%;padding:3px;background:#ffffffe3;border-radius:4px}
.editor-lookup .editor-panel:nth-child(2) .editor-illustration,.editor-scenes .editor-panel:last-child .editor-illustration {background:#ffe5ef}
.editor-lookup .editor-panel:nth-child(3) .editor-illustration,.editor-scenes .editor-illustration {background:#e5f4ed}
.editor-lookup .editor-panel,.editor-scenes .editor-panel {padding:0;overflow:hidden}.editor-lookup .editor-body,.editor-scenes .editor-body {padding:8px 20px 20px}.editor-lookup .editor-actions {margin:0 16px 16px}
.editor-scenes .editor-illustration {aspect-ratio:575/344}
.editor-sound-list {scroll-margin-top:100px}.editor-sound-list .editor-panel {display:grid;align-items:center;grid-template-columns:112px minmax(0,1fr) minmax(180px,30%) auto}
.editor-sound-list .editor-picture {aspect-ratio:1}.editor-sound-list audio {width:100%;min-width:0}.editor-sound-list .editor-actions {margin:0;padding:0}
.editor-template-cards .editor-panel {padding:0 0 20px;overflow:hidden}.editor-template-cards .editor-picture {aspect-ratio:380/500}
.editor-template-cards .editor-body,.editor-template-cards .editor-actions {padding-inline:20px}
.editor-template-cards .editor-badge,.editor-template-cards small {position:absolute;top:16px;left:16px;color:#fff;background:#0009;border-radius:16px;padding:5px 10px}
.editor-template-cards small {left:auto;right:16px}.editor-template-cards .editor-picture:after {content:"▶";position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);border-radius:50%;background:#0008;color:#fff;padding:12px;pointer-events:none}
.editor-format-cards .hub-guide-icon {margin-bottom:24px}.editor-time-cards .editor-number {margin:-20px -20px 8px;padding:20px;background:#f7e9ed;color:#171717;border-radius:12px 12px 0 0}
.editor-time-cards article:nth-child(2) .editor-number {background:#e1f3eb}.editor-time-cards article:nth-child(3) .editor-number {background:#ffeddf}.editor-number strong {font-size:52px}
.editor-occasions {display:flex;flex-wrap:wrap;justify-content:center}.editor-occasions .editor-panel {width:calc((100% - (var(--cols) - 1)*10px)/var(--cols));padding:0;border:0;overflow:hidden}
.editor-occasions .editor-picture {aspect-ratio:380/300}.editor-occasions:has(article:nth-child(6)) .editor-picture {aspect-ratio:282.5/376}
.editor-occasions .editor-body {position:absolute;inset:0;padding:16px;justify-content:space-between;background:linear-gradient(transparent 45%,#050a1acd)}.editor-occasions .editor-body h3 {color:white;font-size:20px}.editor-occasions .editor-badge {color:white;background:#0006}
.editor-cover-link {position:absolute;inset:0;border-radius:inherit}
.square-result .case-frame-2 img {aspect-ratio:1;object-fit:contain}
.sequence-byline {display:flex;align-items:center;gap:10px;margin:40px auto 12px}.sequence-byline img {border-radius:50%;object-fit:cover}.sequence-byline small,.sequence-byline strong {display:block}.sequence-byline span {margin-left:auto}
.sequence-frames {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sequence-frames.square {grid-template-columns:repeat(3,minmax(0,1fr));margin:40px auto 24px}
.sequence-frames article {position:relative;isolation:isolate;aspect-ratio:282/352;border-radius:12px;overflow:hidden;color:white}
.sequence-frames.square article {aspect-ratio:1}.sequence-frames article:after {content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,#050a1ae5);z-index:-1}
.sequence-frames img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.sequence-frames article div {position:absolute;inset:auto 16px 16px;display:grid;gap:5px}
.sequence-frames h3 {font-size:clamp(18px,2vw,24px);line-height:1.16;color:white}
.sequence-frames article > span {position:absolute;top:12px;right:12px;font-size:14px;background:#1119;color:white;border-radius:18px;padding:4px 8px}
.sequence-frames article > .sequence-journal {right:auto;left:12px}
.photo-sequence .story-action {display:flex;width:fit-content;margin:32px auto 0}
@media(max-width:900px){.editor-grid {grid-template-columns:repeat(min(var(--cols),2),minmax(0,1fr))}.editor-occasions .editor-panel{width:calc(50% - 5px)}.editor-sound-list .editor-panel{grid-template-columns:80px minmax(0,1fr)}}
@media(max-width:650px){.editor-section,.photo-sequence{padding-block:40px}.editor-grid {grid-template-columns:minmax(0,1fr);margin-top:24px}.editor-panel {padding:16px}.editor-body h3{font-size:20px}.editor-occasions .editor-body{padding:10px}.editor-occasions .editor-body h3{font-size:16px}.editor-score{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-sound-list audio {grid-column:span 2}.editor-sound-list .editor-actions {grid-column:span 2}.sequence-byline {margin-top:24px;flex-wrap:wrap}.sequence-byline span {font-size:12px}.sequence-frames,.sequence-frames.square{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.sequence-frames article {flex:0 0 min(78vw,330px);scroll-snap-align:center}.editor-time-cards .editor-number{margin:-16px -16px 8px}}
.editor-subheading {margin-top:72px}
.editor-group-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:none;text-align:left}
.editor-group-heading small{font-weight:400;font-size:14px;color:var(--text-color3)}
.editor-grid + .editor-group-heading:has(+.editor-occasions){display:block;text-align:center;max-width:980px;font-size:14px;font-weight:400}
.editor-section .editor-panel:not(.hub-plan-download) {background-color:var(--main-container)}
.editor-practice {display:grid;grid-template-columns:1fr 2fr;gap:10px;margin-top:40px}
.editor-practice aside,.editor-practice li {border:1px solid var(--border);border-radius:12px;padding:24px}
.editor-practice aside {display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.editor-practice aside .tai-plan-tip {margin-top:auto;max-width:100%}.editor-practice ol{margin:0;padding:0;display:grid;gap:10px;list-style:none}
.editor-practice small {color:var(--accent-color)}.editor-practice h3{margin:4px 0 8px;font-size:20px}.editor-practice p{color:var(--text-color3)}
.editor-template-cards .editor-picture:after {pointer-events:none}
@media(max-width:700px){.editor-practice{grid-template-columns:1fr}.editor-subheading{margin-top:40px}.editor-group-heading{flex-wrap:wrap}}
.sequence-follow {color:var(--accent-color)}
.editor-template-cards .editor-picture > a {display:block;width:100%;height:100%}
.editor-rounds details .when-open,.editor-rounds details[open] .when-closed {display:none}
.editor-rounds details[open] .when-open {display:inline}
@media(max-width:767px){
 .mood-poster {width:100%}
 .mood-poster:nth-child(-n+2) {min-height:0}
 .meme-pair .case-prompt summary {overflow-wrap:anywhere}
}
.case-prompt summary > span {min-width:0;overflow-wrap:anywhere}

/* Picture collections use the same glass controls in both themes. */
.collection-poster {
  position:relative; isolation:isolate; overflow:hidden; min-width:0;
  aspect-ratio:283/376; border-radius:12px; color:white; background:#202126;
}
.collection-poster > img {width:100%;height:100%;object-fit:cover;display:block}
.collection-poster::after {content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#080b17cc);pointer-events:none}
.collection-tools,.collection-caption {position:absolute;inset-inline:16px;display:flex;justify-content:space-between;align-items:center;gap:8px;z-index:1}
.collection-tools {top:16px;pointer-events:none}
.collection-tools > span,.collection-tools button,.collection-caption .trends-upper-round-arrow {
  border:0;border-radius:24px;color:white;background:#15151570;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.collection-tools > span {padding:6px 12px;font-size:14px;line-height:20px}
.collection-tools button,.collection-caption .trends-upper-round-arrow {position:static;display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0}
.collection-tools button {cursor:pointer;pointer-events:auto}
.collection-tools button[aria-pressed=true] {color:#ff453a}
.collection-tools button[aria-pressed=true] .trends-upper-icon {--trends-icon:url('images/trends-ai/upper/heart-solid.svg')}
.collection-caption {bottom:16px;color:#fff;text-decoration:none}
.collection-caption h3 {color:inherit;font-size:20px;line-height:24px;margin:0}
.collection-poster:has(.collection-caption:focus-visible) {outline:2px solid var(--accent-color);outline-offset:2px}
.collection-caption::before {content:"";position:absolute;inset:auto -16px -16px;height:100vmax}
.collection-tools {z-index:2}
@media(hover:hover) {
  .collection-tools button:hover {background:#171717b3}
  .collection-caption:hover .trends-upper-round-arrow {background:white;color:#171717}
  .collection-caption:hover .trends-upper-round-arrow > span {transform:rotate(45deg)}
}
.editor-occasions .collection-poster {width:calc((100% - (var(--cols) - 1)*10px)/var(--cols));aspect-ratio:380/300}
.editor-occasions:has(article:nth-child(6)) .collection-poster {aspect-ratio:283/376}
@media(max-width:900px){.editor-occasions .collection-poster{width:calc(50% - 5px)}}
@media(max-width:650px){.editor-occasions .collection-caption h3{font-size:16px;line-height:19px}.editor-occasions :is(.collection-caption,.collection-tools){inset-inline:8px}}
.editor-rounds .round-answer {display:flex;flex-direction:column;padding:0;background:transparent}
.round-answer::details-content {order:-1}
.round-answer summary {list-style:none;width:100%;color:var(--text-color);background:var(--main-container)}
.round-answer summary::-webkit-details-marker {display:none}
.round-answer-panel {display:grid;gap:10px;padding:16px;margin-bottom:24px;border-radius:10px;background:color-mix(in srgb,var(--accent-color) 8%,var(--main-container2))}
.editor-rounds .round-answer[open] strong {margin:0;font-size:20px}
.round-answer-panel small,.round-answer-panel a {color:var(--accent-color);font-weight:600}
.round-answer-panel a {display:block;border-top:1px solid var(--border);padding-top:14px;text-decoration:none}
.round-answer-panel a:hover {text-decoration:underline}
.editor-live-round [data-round-card] .editor-body {justify-content:space-between;gap:24px}
.editor-live-round [data-round-card] .editor-badge {color:var(--accent-color);background:none;padding:0}
.round-instruction {display:grid;gap:12px}
.editor-live-round [data-next-round],.editor-sound-list .editor-action {margin:0;min-height:48px;color:var(--text-color);background:var(--main-container2)}
.editor-wave {width:100%;height:56px;border-radius:12px;background:var(--wave-tint)}
.editor-wave--1 {--wave-tint:rgba(26,164,124,.1)}
.editor-wave--2 {--wave-tint:rgba(145,117,242,.1)}
.editor-wave--3 {--wave-tint:rgba(40,188,252,.1)}
.editor-wave::before,.sound-wave::before {content:"";display:block;width:100%;height:100%;background:var(--accent-color);-webkit-mask:var(--wave) center/100% 100% no-repeat;mask:var(--wave) center/100% 100% no-repeat}
.editor-sound-list {gap:12px}
.editor-sound-list .editor-panel {grid-template-columns:112px minmax(0,1fr) minmax(240px,366px) minmax(140px,160px);gap:24px;padding:16px}
.editor-sound-list .editor-picture {border-radius:12px}
.editor-player {min-width:0}
.sound-controls:not([hidden]) {display:flex;align-items:center;gap:12px}
.sound-controls button {width:48px;height:48px;display:grid;place-items:center;flex:none;border:0;border-radius:50%;background:var(--accent-color);color:var(--main-container2);cursor:pointer}
.sound-controls button::before {content:"";width:0;height:0;border-block:7px solid transparent;border-left:12px solid currentColor}
.sound-controls button[aria-pressed=true]::before {width:12px;height:15px;border:0;border-inline:4px solid currentColor;box-sizing:border-box}
.sound-wave {height:44px;min-width:0;flex:1;position:relative;padding-block:2px}
.sound-wave::before {background:linear-gradient(to right,color-mix(in srgb,var(--accent-color) 65%,var(--main-container2)) var(--played,0%),var(--accent-color) var(--played,0%))}
.sound-wave input {position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.sound-wave:focus-within {outline:2px solid var(--accent-color);outline-offset:2px;border-radius:4px}
.sound-controls time {width:38px;text-align:right;font-size:14px;color:var(--text-color3);font-variant-numeric:tabular-nums}
@media(hover:hover){.editor-live-round [data-next-round]:hover,.editor-sound-list .editor-action:hover,.round-answer summary:hover {background:var(--accent-color);color:var(--main-container2)}}
@media(max-width:900px){
 .editor-sound-list .editor-panel {grid-template-columns:80px minmax(0,1fr);gap:14px}
 .editor-player,.editor-sound-list .editor-actions {grid-column:1/-1}
}

/* Shared editorial music lists: 18 short-video tracks, 12 Reels tracks and author recommendations. */
.track-heading {max-width:760px;margin-inline:auto;gap:12px}
.trends-ai-page .track-heading .section-sub-title {max-width:698px}
.track-title-line {display:block}
.editor-tracks {row-gap:20px;column-gap:10px}
.track-card {
  min-width:0;display:flex;flex-direction:column;gap:12px;padding:20px;
  border:1px solid var(--border);border-radius:12px;background:var(--main-container);
  color:var(--text-color);overflow-wrap:break-word;
}
.track-card .track-identity {display:grid;gap:8px}
.track-card :is(h3,p) {margin:0}
.track-card h3 {font-size:18px;font-weight:600;line-height:22px}
.track-card .track-identity p,.track-credit {font-size:14px;line-height:18px}
.track-card .track-identity p,.track-description {font-weight:400;color:var(--text-color3)}
.track-scene,.track-description {font-size:16px;line-height:20px}
.track-scene,.track-credit {font-weight:500;color:var(--accent-color)}
.editor-tracks .track-description {min-height:80px}
.track-actions {display:grid;gap:12px;margin-top:auto}
.track-actions .editor-action {
  min-height:44px;padding:10px 24px;line-height:20px;
  color:var(--accent-color);background:var(--primary-cont);
  border-color:color-mix(in srgb,var(--blue-add) 10%,transparent);
}
.track-actions .editor-action + .editor-action {
  min-height:48px;color:var(--text-color);background:var(--main-container2);border-color:var(--border)
}
.editor-recommendations .track-card h3 {font-size:24px;line-height:28px}
.editor-recommendations .editor-action {min-height:48px;font-size:14px}
.editor-section:has(.editor-tracks) .editor-footnote {max-width:1160px;margin-top:40px}
@media (hover:hover) {
  .track-actions .editor-action:hover {background:var(--accent-color);color:var(--main-container)}
  .track-actions .editor-action + .editor-action:hover {background:var(--main-container5);color:var(--text-color)}
}
@media(min-width:651px) and (max-width:1100px){
  .editor-tracks {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .track-title-line {display:inline}
  .editor-tracks .track-description {min-height:0}
  .editor-tracks {row-gap:12px}
  .track-card {padding:16px}
}
