.trend-collection,.trend-dialog { --trend-bg:var(--studio-bg,#0b0d12); --trend-surface:var(--studio-surface,#14171e); --trend-text:var(--studio-text,#f5f6f8); --trend-border:var(--studio-border,#30353e); --trend-muted:var(--studio-text-muted,#a1a6b2); --trend-primary:var(--studio-primary,#ff5538); color:var(--trend-text); }
.trend-collection { max-width:1600px; margin:0 auto; padding:24px 20px 64px; }
.trend-collection-header { display:flex; justify-content:space-between; align-items:end; flex-wrap:wrap; gap:20px; margin-bottom:24px; }
.trend-collection-header h2 { font-size:clamp(1.5rem,3vw,2.5rem); font-weight:800; letter-spacing:-.04em; }
.trend-collection-header p { color:var(--trend-muted); margin-top:8px; }
.trend-collection-header label { font-size:14px; }
.trend-collection-header select { display:block; margin-top:6px; min-width:170px; background:var(--trend-surface); border:1px solid var(--trend-border); border-radius:10px; padding:10px 32px 10px 12px; }
.trend-card-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.trend-card { display:block; width:100%; text-align:left; border:1px solid var(--trend-border); border-radius:18px; overflow:hidden; background:var(--trend-surface); cursor:pointer; }
.trend-card:focus-visible,.trend-create:focus-visible,.trend-dialog button:focus-visible { outline:3px solid var(--trend-primary); outline-offset:3px; }
.trend-card-picture { position:relative; aspect-ratio:4/5; background:var(--trend-bg); }
.trend-card-picture img { width:100%; height:100%; -o-object-fit:cover; object-fit:cover; }
.trend-card-picture span { position:absolute; bottom:12px; left:12px; background:#101319e8; color:#fff; padding:8px 12px; border-radius:24px; font-size:12px; font-weight:700; }
.trend-card-copy { padding:16px; }
.trend-platform { display:block; color:var(--trend-muted); font-size:12px; overflow-wrap:anywhere; }
.trend-card h3 { font-size:17px; font-weight:750; margin:9px 0; }
.trend-card p { color:var(--trend-muted); font-size:14px; line-height:1.6; }
.trend-card-action { display:block; margin-top:14px; font-size:14px; font-weight:700; }
.trend-more { display:block; border:1px solid var(--trend-border); border-radius:10px; padding:12px 24px; margin:28px auto 0; cursor:pointer; }
.trend-dialog { position:fixed; inset:0; width:min(1060px,calc(100vw - 28px)); max-height:calc(100dvh - 28px); margin:auto; padding:0; border:1px solid var(--trend-border); border-radius:20px; background:var(--trend-bg); overflow:auto; overscroll-behavior:contain; }
.trend-dialog::backdrop { background:#000b; }
.trend-dialog-close { position:sticky; top:10px; float:right; margin:10px 12px -54px 0; z-index:2; background:var(--trend-surface); border:1px solid var(--trend-border); width:44px; height:44px; border-radius:50%; font-size:30px; cursor:pointer; }
.trend-dialog-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; padding:64px 28px 28px; }
.trend-player { height:560px; border-radius:12px; overflow:hidden; background:#000; }
.trend-player iframe { display:block; width:100%; height:100%; border:0; }
.trend-player-post { background:#fff; }
.trend-source { font-size:13px; margin-top:14px; overflow-wrap:anywhere; }
.trend-source a { text-decoration:underline; text-underline-offset:3px; }
.trend-player-help { color:var(--trend-muted); font-size:13px; line-height:1.6; margin-top:10px; }
.trend-metrics { display:flex; flex-wrap:wrap; gap:6px 12px; font-size:12px; margin-top:12px; color:var(--trend-muted); }
.trend-ideas { min-width:0; overflow-wrap:anywhere; }
.trend-ideas h2 { font-size:28px; font-weight:800; line-height:1.2; margin:8px 0 16px; }
.trend-ideas>p { line-height:1.6; }
.trend-recipe { border-top:1px solid var(--trend-border); margin-top:24px; padding-top:22px; }
.trend-recipe h3 { font-size:18px; font-weight:700; margin-bottom:10px; }
.trend-recipe-prompt { white-space:pre-line; background:var(--trend-surface); border:1px solid var(--trend-border); border-radius:12px; padding:14px; margin:12px 0; line-height:1.6; font-size:14px; }
.trend-recipe summary { cursor:pointer; font-size:14px; padding:8px 0; }
.trend-recipe ol { list-style:decimal; padding-left:22px; font-size:14px; line-height:1.6; }
.trend-recipe li { margin:6px 0; }
.trend-create { display:block; text-align:center; background:var(--trend-primary); color:#fff; padding:13px 16px; border-radius:10px; font-weight:700; font-size:14px; margin-top:16px; }
@media(max-width:1000px) { .trend-card-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:700px) { .trend-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } .trend-collection { padding:16px 12px 40px; } .trend-card-copy { padding:12px; } .trend-card h3 { font-size:15px; } .trend-card p { font-size:13px; } .trend-dialog-grid { grid-template-columns:minmax(0,1fr); padding:62px 16px 24px; gap:24px; } .trend-player { height:min(560px,68dvh); min-height:320px; } .trend-ideas h2 { font-size:24px; } }
@media(prefers-reduced-motion:reduce) { .trend-dialog { scroll-behavior:auto; } }
