

:root {
  --bg: #171514;
  --surface: #231f20;
  --surface-2: #302b2c;
  --line: #493f41;
  --text: #ffffff;
  --muted: #b7b3b4;
  --brand: #ed1c24;
  --brand-dark: #b70e16;
  --paper: #ffffff;
  --ink: #231f20;
  --gray: #757575;
  --shadow: 0 18px 48px rgb(0 0 0 / 22%);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f4f2f2;
  --surface: #ffffff;
  --surface-2: #ebe8e8;
  --line: #d9d3d4;
  --text: #231f20;
  --muted: #757575;
  --shadow: 0 18px 48px rgb(91 29 32 / 10%);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: Poppins, "Arial Rounded MT Bold", Arial, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { border: 0; color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { color: var(--muted); }

.topbar { position: sticky; top: 0; z-index: 30; display: grid; height: 92px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 0 max(4%, calc((100vw - 1500px) / 2)); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(18px); }
.topbar > .brand { grid-column: 2; grid-row: 1; justify-self: center; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.brand img { width: 108px; height: 68px; object-fit: contain; }
.brand-domain { padding: 2px 8px; border-radius: 999px; background: var(--brand); color: white; font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.topbar nav { position: static; display: flex; height: 100%; grid-column: 1; grid-row: 1; align-items: stretch; align-self: stretch; justify-self: start; transform: none; }
.mega-shell { display: flex; align-items: stretch; }
.mega-tabs { display: flex; align-items: stretch; gap: 8px; }
.mega-tabs button, .mega-tabs > a { position: relative; display: flex; align-items: center; gap: 5px; padding: 0 12px; background: transparent; color: var(--muted); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.mega-tabs button:hover, .mega-tabs > a:hover, .mega-tabs button.active, .mega-tabs > a.active { color: var(--text); }
.mega-tabs button.active::after, .mega-tabs > a.active::after { position: absolute; right: 12px; bottom: -1px; left: 12px; height: 4px; border-radius: 4px 4px 0 0; background: var(--brand); content: ""; }
.mega-tabs button svg { transition: transform .18s ease; }
.mega-shell.expanded .mega-tabs button svg, .mega-shell:focus-within .mega-tabs button svg { transform: rotate(180deg); }
.mega-trigger { display: flex; align-items: center; gap: 8px; padding: 0 18px; background: transparent; color: var(--muted); font-size: .88rem; font-weight: 700; }
.mega-trigger:hover, .mega-shell.expanded .mega-trigger, .mega-shell:focus-within .mega-trigger { color: var(--text); }
.mega-trigger svg { transition: transform .2s ease; }
.mega-shell.expanded .mega-trigger svg, .mega-shell:focus-within .mega-trigger svg { transform: rotate(180deg); }
.mega-panel { position: fixed; top: 91px; right: max(4%, calc((100vw - 1500px) / 2)); left: max(4%, calc((100vw - 1500px) / 2)); z-index: 35; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: hidden; visibility: hidden; min-height: 285px; border: 1px solid var(--line); border-radius: 0 0 24px 24px; background: var(--surface); box-shadow: 0 28px 70px rgb(0 0 0 / 32%); opacity: 0; transform: translateY(-12px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.mega-panel.open, .topbar nav:focus-within > .mega-panel { visibility: visible; opacity: 1; transform: translateY(0); }
.mega-intro { padding: 42px 34px; background: linear-gradient(145deg, var(--brand), var(--brand-dark)); color: white; }
.mega-intro .eyebrow, .mega-intro p { color: rgb(255 255 255 / 78%); }
.mega-intro h2 { margin: 18px 0 12px; font-size: 2.35rem; }
.mega-intro a { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: .82rem; font-weight: 800; }
.mega-column { padding: 34px 26px; }
.mega-column > span { display: block; margin-bottom: 14px; color: var(--brand); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.mega-column a { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 0 10px; padding: 12px 8px; border-radius: 12px; font-size: .84rem; font-weight: 700; }
.mega-column a:hover { background: var(--surface-2); }
.mega-column a svg { grid-row: 1 / 3; width: 19px; color: var(--brand); }
.mega-column a small { color: var(--muted); font-size: .67rem; font-weight: 400; }
.mega-feature { position: relative; display: flex; min-height: 100%; justify-content: flex-end; padding: 30px; overflow: hidden; color: white; flex-direction: column; }
.mega-feature::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(35 31 32 / 8%), rgb(183 14 22 / 92%)); content: ""; }
.mega-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.mega-feature span { font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.mega-feature h3 { margin: 8px 0; color: white; font-size: 1.5rem; }
.mega-feature b { display: flex; align-items: center; gap: 7px; font-size: .75rem; }
.mega-group { padding: 34px 26px; border-right: 1px solid var(--line); }
.mega-group:last-child { border-right: 0; }
.mega-group.featured { background: linear-gradient(145deg, var(--brand), var(--brand-dark)); color: white; }
.mega-group > span { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--brand); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mega-group.featured > span { color: white; }
.mega-group > span svg { width: 17px; }
.mega-group a { display: flex; min-height: 43px; align-items: center; padding: 8px 10px; border-radius: 11px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.mega-group a:hover { background: var(--surface-2); color: var(--text); }
.mega-group.featured a { color: rgb(255 255 255 / 82%); }
.mega-group.featured a:hover { background: rgb(255 255 255 / 14%); color: white; }
.mega-panel.media-menu { right: auto; left: 50%; width: min(680px, 92vw); grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 270px; transform: translate(-50%, -12px); }
.mega-panel.media-menu.open, .topbar nav:focus-within > .mega-panel.media-menu { transform: translate(-50%, 0); }
.mobile-nav, .nav-scrim { display: none; }
.nav-actions { display: flex; grid-column: 3; grid-row: 1; align-items: center; justify-self: end; gap: 13px; }
.icon-button { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 13px; background: transparent; }
.icon-button:hover { background: var(--surface-2); }
.sign-in { font-size: .88rem; font-weight: 700; white-space: nowrap; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); font-size: .88rem; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgb(0 0 0 / 14%); }
.button.primary, .primary { border-color: var(--brand); background: var(--brand); color: white; }
.button.primary:hover { background: var(--brand-dark); }
.mobile-menu { display: none; }

.hero { position: relative; min-height: 720px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--ink); color: white; isolation: isolate; }
.hero::before { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(183 14 22 / 96%) 0%, rgb(237 28 36 / 84%) 35%, rgb(183 14 22 / 48%) 58%, rgb(35 31 32 / 20%) 76%, rgb(35 31 32 / 72%) 100%); content: ""; }
.hero::after { position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 14% 21%, rgb(255 255 255 / 24%) 0 2px, transparent 3px), linear-gradient(145deg, transparent 0 57%, rgb(0 0 0 / 34%) 58% 100%); background-size: auto, 100% 100%; content: ""; pointer-events: none; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.72) contrast(1.08); }
.hero-content { position: relative; z-index: 3; display: flex; width: min(92%, 1050px); margin: 0 auto; padding: 82px 0 330px; align-items: center; flex-direction: column; text-align: center; }
.eyebrow { display: block; color: var(--brand); font-size: .75rem; font-weight: 800; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; color: white; }
.tiny-star { color: white; font-size: 1.35rem; }
.hero h1 { max-width: 900px; margin: 22px auto 18px; color: white; font-size: clamp(4rem, 7vw, 7.8rem); font-weight: 800; line-height: .88; letter-spacing: -.075em; text-wrap: balance; }
.hero-content > p { max-width: 600px; margin: 0 auto 26px; color: rgb(255 255 255 / 86%); font-size: 1rem; }
.hero-cta { border-color: white; background: white; color: var(--brand-dark); }
.hero-cta:hover { background: var(--brand-dark); color: white; }
.hero-number { position: absolute; top: 80px; right: 4%; z-index: 3; color: white; text-align: right; }
.hero-number span { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .18em; }
.hero-number b { font-size: 3.3rem; line-height: 1; }
.hero-number small { color: rgb(255 255 255 / 66%); }
.hero-highlights { position: absolute; right: 4%; bottom: 0; left: 4%; z-index: 4; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(255 255 255 / 42%); background: rgb(35 31 32 / 72%); backdrop-filter: blur(16px); }
.hero-highlights a { position: relative; min-height: 205px; padding: 28px 58px 24px 28px; border-right: 1px solid rgb(255 255 255 / 25%); transition: background .2s ease; }
.hero-highlights a:last-child { border-right: 0; }
.hero-highlights a:hover { background: rgb(237 28 36 / 76%); }
.hero-highlights span { color: rgb(255 255 255 / 62%); font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.hero-highlights h3 { margin: 15px 0 8px; color: white; font-size: 1.25rem; letter-spacing: .01em; text-transform: uppercase; }
.hero-highlights p { margin: 0; color: rgb(255 255 255 / 74%); font-size: .8rem; line-height: 1.48; }
.hero-highlights svg { position: absolute; top: 29px; right: 25px; }
.hero-search-floating { position: absolute; right: 50%; bottom: 225px; z-index: 5; display: flex; width: min(92%, 980px); padding: 14px; border: 1px solid rgb(255 255 255 / 24%); border-radius: 18px; background: rgb(35 31 32 / 68%); box-shadow: 0 20px 55px rgb(0 0 0 / 30%); align-items: center; justify-content: center; gap: 18px; transform: translateX(50%); backdrop-filter: blur(18px); }
.hero-search-floating .searchbar { width: min(100%, 600px); margin: 0; background: white; }
.hero-search-floating .trending { margin-top: 0; color: rgb(255 255 255 / 78%); }
.hero-search-floating .trending button { border-color: rgb(255 255 255 / 24%); background: rgb(255 255 255 / 10%); color: white; }
.searchbar { display: flex; width: min(620px, 100%); align-items: center; gap: 13px; padding: 7px 7px 7px 18px; border: 2px solid white; border-radius: 18px; background: white; color: var(--gray); box-shadow: 0 16px 34px rgb(109 0 6 / 28%); }
.searchbar input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .92rem; }
.searchbar button { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; background: var(--ink); color: white; }
.trending { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: rgb(255 255 255 / 72%); font-size: .76rem; flex-wrap: wrap; }
.trending button { padding: 4px 11px; border: 1px solid rgb(255 255 255 / 40%); border-radius: 999px; background: rgb(82 0 3 / 22%); color: white; font-size: .75rem; }

.content-wrap { width: min(100%, 1600px); margin: 0 auto; padding: 0 4%; }
.content-wrap > section { margin: 68px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin: 8px 0 0; }
.section-heading > a { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: .85rem; font-weight: 800; white-space: nowrap; }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { min-width: 0; }
.card-image { position: relative; overflow: hidden; aspect-ratio: 1.42; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-2); }
.large .card-image { aspect-ratio: 1.78; }
.card:not(.video) .card-image { aspect-ratio: 4 / 5; }
.card.video .card-image { aspect-ratio: 16 / 9; }
.card-image > a:first-child { display: block; width: 100%; height: 100%; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card-image:hover img { transform: scale(1.05); }
.badge, .image-tag { position: absolute; display: flex; align-items: center; gap: 5px; border: 1px solid rgb(255 255 255 / 34%); border-radius: 999px; background: rgb(35 31 32 / 78%); color: white; font-size: .72rem; font-weight: 700; backdrop-filter: blur(10px); }
.badge { top: 13px; left: 13px; padding: 5px 10px; }
.image-tag { bottom: 13px; left: 13px; padding: 4px 9px; }
.save { position: absolute; top: 12px; right: 12px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: rgb(255 255 255 / 88%); color: var(--ink); }
.save.saved { background: var(--brand); color: white; }
.card-info { padding: 16px 3px 4px; }
.card h3 { margin: 0 0 10px; font-size: 1.05rem; line-height: 1.28; letter-spacing: -.025em; }
.large h3 { font-size: 1.2rem; }
.home-video .card-grid { grid-template-columns: minmax(280px, 720px); }
.byline { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .78rem; }
.avatar { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 8px; background: var(--brand); color: white; font-weight: 800; }
.free { margin-left: auto; padding: 2px 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.muted { color: var(--muted); font-size: .85rem; }
.categories { padding: 38px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.categories h2 { margin: 0; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 12px; }
.category-grid button { display: flex; min-height: 84px; align-items: center; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); font-size: .86rem; font-weight: 700; text-align: left; }
.category-grid button > svg:first-child { color: var(--brand); }
.category-grid button > svg:last-child { margin-left: auto; color: var(--muted); }
.category-grid button:hover, .category-grid button.selected { border-color: var(--brand); background: var(--brand); color: white; }
.category-grid button:hover svg, .category-grid button.selected svg { color: white; }
.filterbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.tabs { display: flex; gap: 7px; flex-wrap: wrap; }
.tabs button { padding: 9px 15px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--muted); font-size: .82rem; font-weight: 700; }
.tabs button:hover { color: var(--text); }
.tabs button.selected { border-color: var(--brand); background: var(--brand); color: white; }
.sort, .category-filter { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; }
select { max-width: 100%; padding: 9px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font-size: .8rem; }
.category-filter select { max-width: 170px; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 22px; }
.result-count { margin-top: 38px; color: var(--muted); font-size: .8rem; text-align: center; }
.member-banner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px; border: 0; border-radius: 24px; background: var(--brand); color: white; }
.member-banner::after { position: absolute; top: -35px; right: 28%; width: 150px; height: 150px; border: 22px solid rgb(255 255 255 / 10%); border-radius: 42px; content: ""; transform: rotate(24deg); }
.member-banner > * { position: relative; z-index: 1; }
.member-banner h2, .member-banner p, .member-banner .eyebrow { color: white; }
.member-banner h2 { margin: 9px 0; }
.member-banner p { margin: 0; }
.member-banner .button { border-color: white; background: white; color: var(--brand-dark); white-space: nowrap; }

.page-heading { max-width: 920px; padding: 72px 0 42px; }
.page-heading h1 { margin: 12px 0 18px; font-size: clamp(3rem, 6vw, 6rem); font-weight: 800; letter-spacing: -.07em; }
.page-heading p { font-size: 1.05rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 28px 0; }
.price-card { position: relative; padding: 35px 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.price-card h2 { margin: 24px 0 0; font-size: 3rem; }
.price-card h2 small { margin-right: 6px; font-size: 1.1rem; letter-spacing: 0; }
.price-card p { margin: 26px 0; }
.price-card ul { min-height: 190px; margin: 0; padding: 22px 0; border-top: 1px solid var(--line); list-style: none; }
.price-card li { display: flex; align-items: center; gap: 10px; margin: 13px 0; font-size: .88rem; }
.price-card li svg { color: var(--brand); }
.price-card.recommended { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.recommended-label { position: absolute; top: -15px; left: 26px; padding: 5px 13px; border-radius: 999px; background: var(--brand); color: white; font-size: .72rem; font-weight: 800; }
.full { width: 100%; }
.notice { display: flex; align-items: flex-start; gap: 13px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.notice svg { flex: 0 0 auto; margin-top: 4px; color: var(--brand); }
.notice p { margin: 0; font-size: .88rem; }
.faq { max-width: 800px; margin: 70px auto; }
.faq details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { padding-top: 15px; }
.empty { padding: 60px 22px; border: 1px dashed var(--line); border-radius: 20px; background: var(--surface); text-align: center; }
.empty > svg { margin: 0 auto 20px; color: var(--brand); }
.empty h3 { font-size: 1.6rem; }
.empty button { padding: 9px 18px; border-radius: 12px; background: var(--brand); color: white; }
.account-strip { display: flex; align-items: center; gap: 25px; margin: 0 0 40px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.account-strip > div { display: flex; align-items: center; gap: 15px; margin-right: auto; }
.account-strip small { display: block; color: var(--brand); text-transform: capitalize; }
.account-strip > a { font-size: .86rem; font-weight: 700; }

.detail { padding-top: 38px; }
.back { color: var(--brand); font-size: .85rem; font-weight: 800; }
.detail-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 34px 0; }
.detail h1 { margin: 14px 0; font-size: clamp(2.8rem, 5.5vw, 5.5rem); font-weight: 800; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(260px, 1fr); gap: 38px; margin-bottom: 60px; }
.detail-image { width: 100%; max-height: 660px; border-radius: 22px; background: black; object-fit: cover; }
.article-body { margin: 34px 0; white-space: pre-line; }
.article-body p { color: var(--text); font-size: 1.03rem; line-height: 1.85; }
.detail-aside { align-self: start; padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.detail-row { display: flex; justify-content: space-between; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .84rem; }
.detail-row span { color: var(--muted); }
.detail-row b { font-weight: 700; }
.tags { display: flex; gap: 8px; margin: 25px 0; flex-wrap: wrap; }
.tags a { padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .75rem; }
.small { margin: 20px 0; font-size: .75rem; }
.detail-aside > a:not(.button) { color: var(--brand); font-size: .8rem; font-weight: 700; }
.source-link { display: flex; align-items: center; gap: 10px; margin: 20px 0; }
.prompt-box { padding: 28px; border: 2px solid var(--brand); border-radius: 20px; background: var(--surface); }
.prompt-box h3 { display: flex; gap: 10px; margin: 0; }
.prompt-box p { color: var(--text); font-family: Poppins, Arial, sans-serif; font-size: .95rem; line-height: 1.8; white-space: pre-wrap; }
.model { padding: 4px 9px; border-radius: 999px; background: var(--brand); color: white; font-size: .75rem; }
.play { position: absolute; top: 50%; left: 50%; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: var(--brand); color: white; transform: translate(-50%, -50%); }

.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.collection { position: relative; min-height: 430px; overflow: hidden; border-radius: 22px; background: var(--ink); }
.collection > img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.collection::after { position: absolute; inset: 0; background: linear-gradient(transparent 24%, rgb(35 31 32 / 90%)); content: ""; }
.collection > div { position: absolute; right: 25px; bottom: 25px; left: 25px; z-index: 1; color: white; }
.collection h2 { display: flex; align-items: center; justify-content: space-between; margin: 12px 0; font-size: 1.7rem; }
.collection p, .collection .eyebrow { color: white; }
.creator-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.creator { padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.creator img { width: 100%; height: 180px; margin-bottom: 20px; border-radius: 14px; object-fit: cover; }
.creator a { display: flex; align-items: center; gap: 7px; margin-top: 10px; color: var(--muted); font-size: .8rem; }
.text-page { max-width: 960px; min-height: 65vh; }
.text-page section { margin: 34px 0; }
.text-page h2 { font-size: 1.55rem; }
.text-page p { font-size: 1rem; }

.admin-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 36px; }
.editor { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.editor label { display: block; margin-bottom: 18px; font-size: .86rem; font-weight: 700; }
.editor input:not([type="checkbox"]), .editor textarea, .editor select { width: 100%; min-width: 0; margin-top: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkbox { display: flex !important; align-items: center; gap: 10px; }
.editor .button { margin-right: 10px; }
.hero-editor { margin-bottom: 36px; }
.hero-editor .section-heading { align-items: flex-start; }
.hero-editor .section-heading label { min-width: 180px; margin: 0; }
.hero-editor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 4px 0 22px; }
.hero-editor-grid fieldset { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.hero-editor-grid legend { padding: 0 7px; color: var(--brand); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.model-options { margin-bottom: 15px; color: var(--brand); font-size: .82rem; }
.request { margin-bottom: 15px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; overflow-wrap: anywhere; }
.request p { font-size: .82rem; }
.post-management { margin-top: 25px; }
.post-management > div { display: flex; align-items: center; gap: 15px; padding: 15px; border-bottom: 1px solid var(--line); }
.post-management span { margin-right: auto; }
.post-management small { display: block; color: var(--muted); }
.admin-grid + h2 { margin-top: 50px; }
.toast { position: fixed; z-index: 100; bottom: 24px; left: 50%; display: flex; align-items: center; gap: 20px; max-width: calc(100vw - 30px); padding: 14px 17px; border-radius: 14px; background: var(--brand); box-shadow: var(--shadow); color: white; font-size: .86rem; transform: translateX(-50%); }

footer { margin-top: 78px; padding: 50px 4% 24px; background: var(--brand-dark); color: white; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 34px; max-width: 1500px; margin: auto; }
footer .brand img { width: 125px; }
footer .brand-domain { background: white; color: var(--brand-dark); }
.footer-top p { margin-top: 13px; color: rgb(255 255 255 / 75%); font-size: .8rem; line-height: 1.8; }
.footer-top h4 { margin-bottom: 15px; font-size: .8rem; }
.footer-top > div > a:not(.brand) { display: flex; align-items: center; gap: 4px; margin: 9px 0; color: rgb(255 255 255 / 78%); font-size: .78rem; }
.footer-note { color: white; text-align: right; }
.footer-note svg { margin-left: auto; }
.footer-note p { color: white; font-size: 1.25rem; font-weight: 800; line-height: 1.35; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; max-width: 1500px; margin: 35px auto 0; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 28%); color: rgb(255 255 255 / 70%); font-size: .72rem; }
.footer-bottom a { margin-right: 20px; }
.lime { color: white; }

@media (max-width: 1180px) {
  .topbar { gap: 18px; }
  .mega-panel { right: 2%; left: 2%; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mega-intro { padding: 34px 26px; }
  .mega-column { padding: 28px 18px; }
  .nav-actions { gap: 8px; }
  .library-link { display: none; }
  .topbar .join { padding: 10px 13px; font-size: .76rem; }
  .brand img { width: 92px; }
  .hero-content { width: 86%; }
  .hero-highlights { right: 3%; left: 3%; }
  .hero-highlights a { padding: 24px 46px 20px 22px; }
  .card-grid { gap: 28px 16px; }
}
@media (max-width: 900px) {
  .mega-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: calc(100vh - 110px); overflow-y: auto; }
  .mega-group { padding: 26px 20px; }
  .topbar .sign-in { display: none; }
  .hero { min-height: 760px; }
  .hero-content { width: 88%; padding-bottom: 330px; }
  .hero h1 { font-size: 4.7rem; }
  .hero-highlights { grid-template-columns: repeat(3, 1fr); }
  .hero-highlights a { min-height: 250px; padding: 22px 36px 18px 18px; }
  .hero-highlights h3 { font-size: 1rem; }
  .hero-highlights p { font-size: .72rem; }
  .hero-search-floating { bottom: 270px; align-items: stretch; flex-direction: column; }
  .hero-search-floating .searchbar { margin: 0 auto; }
  .hero-search-floating .trending { justify-content: center; }
  .featured-grid { gap: 15px; }
  .large .card-image { aspect-ratio: 1.35; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
  .footer-note { display: none; }
  .pricing-grid { grid-template-columns: 1fr; gap: 30px; }
  .price-card ul { min-height: 0; }
  .detail-grid { grid-template-columns: 1fr; }
  .collection-grid { gap: 15px; }
  .creator-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .topbar { height: 74px; padding: 0 5%; background: var(--bg); backdrop-filter: none; }
  .brand img { width: 78px; height: 52px; }
  .brand-domain { padding: 1px 6px; font-size: .66rem; }
  .nav-actions { gap: 4px; }
  .join, .sign-in { display: none !important; }
  .topbar > .brand { position: relative; z-index: 42; grid-column: 2; justify-self: center; }
  .topbar nav { position: fixed; top: 0; right: auto; bottom: 0; left: 0; z-index: 45; display: block; width: min(86vw, 350px); height: 100dvh; padding: 0; overflow: hidden; border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); border-left: 0; border-radius: 0 28px 28px 0; background: radial-gradient(circle at 100% 22%, rgb(237 28 36 / 19%), transparent 48%), linear-gradient(160deg, var(--surface), var(--bg)); box-shadow: 22px 0 70px rgb(0 0 0 / 48%), 8px 0 35px rgb(237 28 36 / 14%); backdrop-filter: blur(22px); transform: translateX(-110%); transition: transform .25s ease; }
  .topbar nav.open { transform: translateX(0); }
  .mega-shell { display: none; }
  .mega-panel { display: none; }
  .mobile-nav { display: flex; height: 100%; min-height: 0; padding: 22px 20px 25px; flex-direction: column; }
  .mobile-nav-head { display: flex; min-height: 75px; align-items: center; justify-content: space-between; margin-bottom: 31px; padding-bottom: 18px; border-bottom: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line)); }
  .mobile-nav-head .brand { gap: 12px; }
  .mobile-nav-head .brand::after { content: 'AIDOLAB'; color: var(--text); font-size: 1.14rem; font-weight: 800; letter-spacing: .02em; }
  .mobile-nav-head .brand img { width: 64px; height: 56px; }
  .mobile-nav-head .icon-button { border: 1px solid var(--line); border-radius: 50%; background: color-mix(in srgb, var(--surface-2) 78%, transparent); }
  .mobile-nav-label { margin: 0 14px 12px; color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
  .mobile-nav-links { display: grid; min-height: 0; gap: 6px; overflow-x: hidden; overflow-y: auto; align-content: start; direction: rtl; scrollbar-width: thin; }
  .mobile-nav-links a { display: grid; min-height: 56px; grid-template-columns: 28px 1fr; align-items: center; gap: 14px; padding: 11px 16px; border: 1px solid transparent; border-radius: 16px; color: var(--text); direction: ltr; font-size: .92rem; font-weight: 600; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
  .mobile-nav-links a:hover, .mobile-nav-links a.active { border-color: rgb(237 28 36 / 22%); background: linear-gradient(100deg, rgb(237 28 36 / 22%), rgb(237 28 36 / 6%)); color: var(--text); transform: translateX(3px); }
  .mobile-nav-links a > svg:first-child { width: 20px; height: 20px; color: var(--muted); stroke-width: 1.8; }
  .mobile-nav-links a:hover > svg:first-child, .mobile-nav-links a.active > svg:first-child { color: var(--brand); }
  .mobile-nav-links a > svg:last-child { display: none; }
  .mobile-nav-bottom { display: grid; gap: 9px; margin-top: auto; padding-top: 20px; flex-shrink: 0; border-top: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line)); }
  .mobile-nav-bottom > button, .mobile-nav-bottom > a:not(.button) { display: flex; min-height: 49px; align-items: center; gap: 13px; padding: 9px 14px; border-radius: 15px; background: color-mix(in srgb, var(--surface-2) 65%, transparent); color: var(--text); font-size: .86rem; font-weight: 650; }
  .mobile-nav-bottom > button:hover, .mobile-nav-bottom > a:not(.button):hover { background: color-mix(in srgb, var(--brand) 16%, var(--surface-2)); }
  .mobile-nav-bottom > button svg, .mobile-nav-bottom > a:not(.button) svg { color: var(--brand); }
  .mobile-nav-bottom .button { margin-top: 6px; }
  .nav-scrim { position: fixed; inset: 0; z-index: 40; display: block; background: rgb(0 0 0 / 52%); backdrop-filter: blur(3px); }
  .mobile-menu { position: absolute; top: 50%; right: auto; left: 5%; z-index: 41; display: inline-flex; transform: translateY(-50%); }
  .nav-actions > .theme { position: absolute; top: 50%; right: 5%; z-index: 41; display: inline-flex; transform: translateY(-50%); }
  .hero { min-height: 820px; }
  .hero::before { background: linear-gradient(180deg, rgb(183 14 22 / 92%) 0%, rgb(237 28 36 / 72%) 42%, rgb(35 31 32 / 54%) 70%, rgb(35 31 32 / 90%) 100%); }
  .hero-art { opacity: .72; }
  .hero-content { width: 100%; padding: 52px 5% 420px; }
  .hero h1 { max-width: 100%; margin: 18px auto; font-size: clamp(2.85rem, 13.5vw, 3.7rem); overflow-wrap: anywhere; }
  .hero-content > p { font-size: .9rem; }
  .hero-number { display: none; }
  .hero-highlights { right: 0; left: 0; grid-template-columns: 1fr; }
  .hero-highlights a { min-height: 0; padding: 16px 48px 15px 18px; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 22%); }
  .hero-highlights h3 { margin: 5px 0 3px; font-size: .9rem; }
  .hero-highlights p { display: -webkit-box; overflow: hidden; font-size: .7rem; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
  .hero-highlights svg { top: 25px; right: 18px; }
  .hero-search-floating { bottom: 320px; width: 92%; padding: 10px; gap: 10px; }
  .hero-search-floating .trending { display: none; }
  .searchbar { border-radius: 15px; }
  .searchbar input { font-size: .8rem; }
  .content-wrap { padding: 0 5%; }
  .content-wrap > section { margin: 46px 0; }
  .section-heading { align-items: flex-start; gap: 12px; }
  .section-heading h2 { font-size: 1.65rem; }
  .section-heading > a { font-size: .74rem; }
  .featured-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 14px; }
  .card-image { border-color: rgb(237 28 36 / 42%); border-radius: 9px; box-shadow: 0 0 0 1px rgb(237 28 36 / 12%), 0 9px 28px rgb(183 14 22 / 23%); }
  .card-image:hover, .card-image:focus-within { border-color: var(--brand); box-shadow: 0 0 0 1px rgb(237 28 36 / 45%), 0 12px 38px rgb(237 28 36 / 34%); }
  .large .card-image { aspect-ratio: 4 / 5; }
  .featured-grid > .card:nth-child(n + 3) { display: block; }
  .categories .section-heading > .muted { display: none; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .category-grid button { min-height: 72px; padding: 13px; font-size: .78rem; }
  .filterbar { align-items: flex-start; flex-direction: column; }
  .tabs { gap: 4px; }
  .tabs button { padding: 8px 11px; font-size: .74rem; }
  .card-info { padding: 11px 2px 2px; }
  .card h3 { display: -webkit-box; min-height: 2.5em; margin-bottom: 0; overflow: hidden; font-size: .89rem; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .card .byline { display: none; }
  .badge { top: 9px; left: 9px; gap: 4px; padding: 3px 7px; font-size: .65rem; }
  .badge svg { width: 11px; height: 11px; }
  .save { top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 7px; }
  .save svg { width: 16px; height: 16px; }
  .image-tag { bottom: 9px; left: 9px; max-width: calc(100% - 18px); padding: 3px 7px; overflow: hidden; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
  .play { width: 38px; height: 38px; }
  .member-banner { align-items: flex-start; padding: 28px; border-radius: 20px; flex-direction: column; }
  .member-banner h2 { font-size: 1.8rem; }
  .page-heading { padding: 48px 0 28px; }
  .page-heading h1 { font-size: 3.2rem; }
  .account-strip { gap: 15px; padding: 18px; flex-wrap: wrap; }
  .account-strip > div { width: 100%; font-size: .82rem; }
  .detail-top { align-items: flex-start; flex-direction: column; }
  .detail h1 { font-size: 3rem; }
  .detail-image { max-height: 420px; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection { min-height: 340px; }
  .creator-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .creator { padding: 12px; }
  .creator img { height: 140px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .editor { padding: 18px; }
  .hero-editor-grid { grid-template-columns: 1fr; }
  .post-management > div { gap: 8px; padding: 12px 0; font-size: .8rem; }
  .post-management .button { min-height: 38px; padding: 7px 11px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { gap: 12px; flex-wrap: wrap; }
  .footer-bottom > span:last-child { display: none; }
  footer { padding: 38px 5% 20px; }
  .toast { min-width: 85%; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
