:root {
  color-scheme: light;
  --bg: #e9eff5;
  --bg-deep: #dfe7ef;
  --surface: #e9eff5;
  --surface-soft: #f1f5f9;
  --text: #1c2433;
  --muted: #748094;
  --line: rgba(92, 108, 132, .14);
  --accent: #7279ef;
  --accent-deep: #5f65da;
  --accent-soft: #a7abfb;
  --pink: #d989ad;
  --green: #58a78a;
  --shadow: 15px 15px 34px rgba(177, 189, 202, .7), -15px -15px 34px rgba(255, 255, 255, .88);
  --shadow-sm: 7px 7px 16px rgba(177, 189, 202, .62), -7px -7px 16px rgba(255, 255, 255, .82);
  --shadow-hover: 19px 19px 42px rgba(166, 179, 193, .72), -16px -16px 38px rgba(255, 255, 255, .94);
  --inset: inset 5px 5px 11px rgba(178, 189, 202, .58), inset -5px -5px 11px rgba(255, 255, 255, .84);
  --radius: 24px;
  --radius-sm: 15px;
  --shell: min(1420px, calc(100% - 48px));
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #202631;
  --bg-deep: #1a2029;
  --surface: #222a36;
  --surface-soft: #28313f;
  --text: #eff3fb;
  --muted: #9ca8ba;
  --line: rgba(210, 223, 241, .1);
  --accent: #8d93ff;
  --accent-deep: #777eea;
  --accent-soft: #5f659c;
  --pink: #e692b9;
  --green: #67b99b;
  --shadow: 15px 15px 34px rgba(12, 15, 20, .52), -14px -14px 31px rgba(52, 62, 78, .42);
  --shadow-sm: 7px 7px 16px rgba(10, 13, 18, .48), -7px -7px 16px rgba(51, 61, 76, .4);
  --shadow-hover: 18px 18px 40px rgba(8, 11, 15, .57), -15px -15px 36px rgba(55, 65, 81, .46);
  --inset: inset 5px 5px 11px rgba(10, 13, 18, .52), inset -5px -5px 11px rgba(56, 66, 81, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(circle at 7% 9%, rgba(160, 167, 248, .16), transparent 28%), radial-gradient(circle at 92% 30%, rgba(216, 137, 173, .12), transparent 25%); }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(114, 121, 239, .32); outline-offset: 3px; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 900px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.neu-panel { background: var(--surface); box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--radius); }
.neu-inset { background: var(--surface); box-shadow: var(--inset); }
.section-kicker, .eyebrow { color: var(--accent-deep); font-size: .72rem; font-weight: 800; letter-spacing: .22em; }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { height: 84px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--accent); }
.brand-mark svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linejoin: round; }
.brand-mark svg circle { fill: currentColor; stroke: none; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-size: 1.05rem; letter-spacing: .05em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .54rem; font-weight: 700; letter-spacing: .28em; }
.brand.compact .brand-mark { width: 38px; height: 38px; }
.desktop-nav { display: flex; align-items: center; gap: 5px; }
.desktop-nav a { position: relative; padding: 10px 14px; color: var(--muted); font-size: .92rem; font-weight: 600; border-radius: 12px; transition: .2s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); }
.desktop-nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.header-search { flex: 1; max-width: 460px; height: 46px; margin-left: auto; padding: 0 13px; display: flex; align-items: center; gap: 10px; border-radius: 15px; background: var(--surface); box-shadow: var(--inset); }
.header-search svg, .hero-search svg { width: 19px; fill: none; stroke: var(--muted); stroke-width: 1.9; stroke-linecap: round; }
.header-search input, .hero-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; }
.header-search input::placeholder, .hero-search input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.header-search kbd { min-width: 24px; padding: 2px 6px; color: var(--muted); font-size: .72rem; text-align: center; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-soft); box-shadow: 2px 2px 4px rgba(128, 140, 153, .15); }
.header-actions { display: flex; gap: 9px; }
.icon-button { position: relative; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 14px; color: var(--muted); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .18s ease, color .18s ease; }
.icon-button:hover { color: var(--accent); transform: translateY(-2px); }
.icon-button:active { box-shadow: var(--inset); transform: translateY(0); }
.icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.favorite-nav span { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border: 2px solid var(--bg); border-radius: 9px; color: white; background: var(--accent); font-size: .62rem; font-weight: 800; }
.moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }
.menu-toggle { display: none; }
.mobile-panel { padding: 0 0 20px; border-top: 1px solid var(--line); }
.mobile-panel .shell { padding-top: 15px; }
.mobile-search { display: flex; gap: 9px; }
.mobile-search input { min-width: 0; flex: 1; padding: 11px 14px; border: 0; border-radius: 12px; background: var(--surface); box-shadow: var(--inset); }
.mobile-panel nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 13px; }
.mobile-panel nav a { padding: 11px 14px; border-radius: 11px; background: var(--surface); box-shadow: var(--shadow-sm); font-size: .9rem; }

.button { min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 14px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: 8px 8px 18px rgba(89, 96, 200, .3), -5px -5px 14px rgba(255, 255, 255, .55); }
[data-theme="dark"] .button.primary { box-shadow: 8px 8px 18px rgba(6, 8, 18, .42), -4px -4px 12px rgba(70, 79, 109, .28); }
.button.secondary { color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); }
.button.large { min-height: 54px; padding-inline: 25px; border-radius: 16px; }
.button.small { min-height: 40px; padding-inline: 15px; }
.button.square { width: 54px; padding: 0; }
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.hero-section { padding: 72px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr); align-items: center; gap: clamp(45px, 7vw, 110px); }
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 22px; height: 2px; background: var(--accent); }
.hero-copy h1 { max-width: 680px; margin: 18px 0 20px; font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: 1.05; letter-spacing: -.065em; }
.hero-copy > p { max-width: 610px; margin: 0 0 32px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.8; }
.hero-search { max-width: 650px; min-height: 66px; padding: 8px 9px 8px 19px; display: flex; align-items: center; gap: 13px; border-radius: 20px; }
.hero-search .button { min-height: 49px; border-radius: 14px; }
.hero-stats { display: flex; gap: clamp(22px, 5vw, 58px); margin-top: 34px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.35rem; }
.hero-stats span { margin-top: 3px; color: var(--muted); font-size: .78rem; }
.featured-frame { position: relative; min-height: 470px; display: flex; flex-direction: column; padding: 17px; border-radius: 36px; background: var(--surface); box-shadow: 22px 22px 48px rgba(168, 180, 194, .68), -21px -21px 45px rgba(255, 255, 255, .88); transform: rotate(2.2deg); transition: transform .35s ease; }
[data-theme="dark"] .featured-frame { box-shadow: var(--shadow); }
.featured-frame:hover { transform: rotate(0) translateY(-6px); }
.featured-image { flex: 1; min-height: 385px; overflow: hidden; border-radius: 25px; background: var(--bg-deep); box-shadow: var(--inset); }
.featured-image img { width: 100%; height: 100%; min-height: 385px; object-fit: cover; }
.featured-caption { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 9px 4px 10px; }
.featured-caption > span:first-child { display: flex; flex-direction: column; }
.featured-caption small { color: var(--muted); font-size: .7rem; }
.featured-caption strong { margin-top: 2px; font-size: 1.05rem; }
.round-arrow { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); box-shadow: 5px 5px 12px rgba(85, 91, 193, .3); }
.floating-pill { position: absolute; z-index: 2; padding: 9px 15px; border: 1px solid rgba(255, 255, 255, .42); border-radius: 99px; color: var(--text); background: color-mix(in srgb, var(--surface) 86%, transparent); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); font-size: .76rem; font-weight: 700; }
.pill-one { top: 32px; left: -32px; transform: rotate(-7deg); }
.pill-two { right: -26px; bottom: 92px; transform: rotate(7deg); }

.category-section { padding: 30px 0 65px; }
.section-heading { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 5px 0 0; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.04em; }
.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: .86rem; }
.section-heading > a { color: var(--muted); font-size: .88rem; font-weight: 700; }
.section-heading > a span, .section-heading > a:hover { color: var(--accent); }
.category-row { display: grid; grid-template-columns: repeat(9, minmax(104px, 1fr)); gap: 14px; }
.category-chip { min-height: 96px; padding: 16px 12px; display: flex; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 19px; background: var(--surface); box-shadow: var(--shadow-sm); transition: .2s ease; }
.category-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.category-chip.active { border-color: color-mix(in srgb, var(--accent) 42%, transparent); color: var(--accent-deep); box-shadow: var(--inset); }
.category-icon { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: var(--accent); background: var(--surface); box-shadow: var(--shadow-sm); font-size: 1.2rem; }
.category-chip > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.category-chip strong { font-size: .88rem; }
.category-chip small { margin-top: 3px; color: var(--muted); font-size: .67rem; }

.gallery-section { padding: 62px 0 80px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-deep) 55%, transparent) 34%, transparent); }
.gallery-heading { align-items: center; }
.filter-bar { min-height: 52px; padding: 5px 8px 5px 17px; display: flex; align-items: center; gap: 10px; border-radius: 16px; }
.filter-bar label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .78rem; }
.filter-bar select { min-width: 70px; padding: 7px 24px 7px 7px; border: 0; outline: 0; color: var(--text); background: transparent; font-weight: 700; }
.filter-bar i { width: 1px; height: 22px; background: var(--line); }
.wallpaper-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.wallpaper-card { position: relative; min-width: 0; padding: 11px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .22); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .28s ease, box-shadow .28s ease; }
.wallpaper-card:hover { z-index: 2; transform: translateY(-7px); box-shadow: var(--shadow-hover); }
.card-image { position: relative; height: 250px; display: block; overflow: hidden; border-radius: 15px; background: var(--bg-deep); }
.wallpaper-card.portrait .card-image { height: 330px; }
.card-image::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(7, 10, 18, .28)); opacity: 0; transition: opacity .25s ease; }
.wallpaper-card:hover .card-image::after { opacity: 1; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.wallpaper-card:hover .card-image img { transform: scale(1.045); }
.resolution-badge { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 5px 9px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; color: white; background: rgba(20, 24, 35, .45); backdrop-filter: blur(9px); font-size: .63rem; font-weight: 700; opacity: 0; transform: translateY(5px); transition: .22s ease; }
.wallpaper-card:hover .resolution-badge { opacity: 1; transform: translateY(0); }
.card-favorite { position: absolute; z-index: 4; top: 21px; right: 21px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px; color: white; background: rgba(20, 24, 35, .28); backdrop-filter: blur(9px); opacity: 0; transform: translateY(-4px); transition: .2s ease; }
.wallpaper-card:hover .card-favorite, .card-favorite.active { opacity: 1; transform: translateY(0); }
.card-favorite svg { width: 17px; fill: transparent; stroke: currentColor; stroke-width: 1.9; }
.card-favorite.active { color: #fff; background: var(--pink); border-color: transparent; }
.card-favorite.active svg, [data-favorite].active svg { fill: currentColor; }
.card-body { min-height: 66px; padding: 12px 4px 2px 7px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-body > div { min-width: 0; }
.card-body h3 { margin: 0; overflow: hidden; font-size: .94rem; text-overflow: ellipsis; white-space: nowrap; }
.card-body p { margin: 3px 0 0; color: var(--muted); font-size: .68rem; }
.card-download { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: var(--muted); background: var(--surface); box-shadow: var(--shadow-sm); }
.card-download:hover { color: var(--accent); box-shadow: var(--inset); }
.card-download svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pagination { margin-top: 44px; display: flex; align-items: center; justify-content: center; gap: 22px; color: var(--muted); font-size: .86rem; }
.pagination strong { color: var(--text); }
.page-button { min-width: 118px; padding: 11px 15px; text-align: center; border-radius: 13px; color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 700; }
.page-button:hover { color: var(--accent); box-shadow: var(--inset); }
.page-button.disabled { pointer-events: none; opacity: .38; }
.empty-state { min-height: 390px; padding: 45px 25px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-orbit { width: 90px; height: 90px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; color: var(--accent); box-shadow: var(--inset); font-size: 2.4rem; }
.empty-state h2, .empty-state h3 { margin: 0 0 8px; }
.empty-state p { margin: 0 0 24px; color: var(--muted); }
.promise-section { padding: 15px 0 85px; }
.promise-grid { padding: 25px 30px; display: grid; grid-template-columns: repeat(4, 1fr); }
.promise-grid > div { padding: 8px 27px; display: flex; align-items: center; gap: 14px; border-right: 1px solid var(--line); }
.promise-grid > div:last-child { border-right: 0; }
.promise-icon { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; color: var(--accent); box-shadow: var(--shadow-sm); font-size: 1.1rem; }
.promise-grid div > span:last-child { display: flex; flex-direction: column; }
.promise-grid strong { font-size: .88rem; }
.promise-grid small { color: var(--muted); font-size: .67rem; }

.detail-section { padding: 45px 0 75px; }
.breadcrumbs { margin-bottom: 28px; display: flex; gap: 9px; color: var(--muted); font-size: .8rem; }
.breadcrumbs a:hover { color: var(--accent); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(370px, .62fr); align-items: start; gap: clamp(34px, 5vw, 70px); }
.detail-preview { position: sticky; top: 108px; padding: 15px; overflow: hidden; }
.detail-preview > img { width: 100%; max-height: 720px; object-fit: contain; border-radius: 17px; background: var(--bg-deep); }
.preview-tools { position: absolute; top: 28px; right: 28px; }
.lightbox-button { color: white; background: rgba(20, 24, 35, .38); box-shadow: none; backdrop-filter: blur(8px); }
.detail-info { padding-top: 8px; }
.detail-category { display: inline-flex; padding: 7px 11px; border-radius: 9px; color: var(--accent-deep); background: var(--surface); box-shadow: var(--inset); font-size: .7rem; font-weight: 800; }
.detail-info h1 { margin: 18px 0 13px; font-size: clamp(2.1rem, 4vw, 3.65rem); line-height: 1.1; letter-spacing: -.055em; }
.detail-description { margin: 0; color: var(--muted); line-height: 1.8; }
.detail-metrics { margin: 21px 0 25px; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: .78rem; }
.detail-metrics strong { color: var(--text); }
.detail-actions { display: flex; gap: 11px; margin-bottom: 26px; }
.detail-actions .button.primary { flex: 1; }
.detail-actions form { margin: 0; display: flex; }
.detail-reaction { font-size: 1.25rem; font-weight: 900; }
.detail-reaction.active { color: #fff; background: var(--accent-deep); box-shadow: 5px 5px 12px rgba(95,101,218,.28); }
.detail-actions form[data-kind="like"] .detail-reaction.active { background: var(--pink); box-shadow: 5px 5px 12px rgba(177,92,132,.28); }
.detail-alert { margin-bottom: 18px; transition: opacity .25s ease, transform .25s ease; }
.detail-discussion { max-width: 980px; margin: 56px auto 0; padding: clamp(20px, 4vw, 34px); }
.detail-discussion > header { margin-bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.detail-discussion h2 { margin: 4px 0 0; font-size: 1.35rem; }
.detail-discussion h2 small { margin-left: 6px; color: var(--muted); font-size: .68rem; font-weight: 600; }
.detail-discussion > header > a { color: var(--muted); font-size: .72rem; font-weight: 700; }
.detail-comment-list { gap: 11px; }
.detail-comment-list article { padding: 13px; }
.detail-comment-form { grid-template-columns: minmax(0, 1fr) 112px; margin-top: 16px; }
.meta-list { margin: 0 0 22px; padding: 13px 18px; border-radius: 18px; }
.meta-list div { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.meta-list div:last-child { border-bottom: 0; }
.meta-list dt { color: var(--muted); font-size: .75rem; }
.meta-list dd { margin: 0; max-width: 65%; text-align: right; font-size: .78rem; font-weight: 700; }
.meta-list a { color: var(--accent); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 23px; }
.tag-list a { padding: 7px 10px; border-radius: 9px; color: var(--muted); background: var(--surface); box-shadow: var(--shadow-sm); font-size: .7rem; }
.tag-list a:hover { color: var(--accent); box-shadow: var(--inset); }
.source-link { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .8rem; }
.source-link:hover { color: var(--accent); }
.related-section { padding: 15px 0 90px; }
.related-grid { grid-template-columns: repeat(3, 1fr); }
.lightbox { position: fixed; inset: 0; z-index: 200; padding: 42px; display: grid; place-items: center; background: rgba(8, 11, 18, .88); backdrop-filter: blur(15px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 14px; box-shadow: 0 20px 70px rgba(0,0,0,.55); }
.lightbox button { position: fixed; top: 20px; right: 25px; width: 48px; height: 48px; border: 0; border-radius: 50%; color: white; background: rgba(255,255,255,.12); font-size: 1.8rem; }

.simple-hero { padding: 85px 0 58px; text-align: center; }
.simple-hero h1 { max-width: 850px; margin: 10px auto 18px; font-size: clamp(2.7rem, 5.5vw, 5.1rem); line-height: 1.08; letter-spacing: -.06em; }
.simple-hero p { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: 1.03rem; line-height: 1.8; }
.favorites-section { min-height: 520px; padding-top: 30px; }
.server-favorites-grid .wallpaper-card > form { margin: 0; }
.content-section { padding: 10px 0 100px; }
.content-card { padding: clamp(27px, 6vw, 70px); }
.content-card h2 { margin: 2.2em 0 .6em; font-size: 1.55rem; }
.content-card h2:first-child { margin-top: 0; }
.content-card p, .content-card li { color: var(--muted); line-height: 1.9; }
.content-card a { color: var(--accent); }
.content-card code { padding: 2px 6px; border-radius: 6px; background: var(--bg-deep); }
.content-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0 45px; }
.content-columns div { padding: 23px; border-radius: 17px; background: var(--surface); box-shadow: var(--inset); }
.content-columns span { color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .18em; }
.content-columns h3 { margin: 10px 0 4px; }
.content-columns p { margin: 0; font-size: .84rem; }
.contact-box { padding: 18px 20px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.status-page { min-height: 650px; padding: 90px 24px; display: grid; place-items: center; }
.status-orb { width: min(520px, 100%); min-height: 390px; padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 46% 54% 56% 44% / 45% 40% 60% 55%; }
.status-orb > strong { color: var(--accent); font-size: clamp(4rem, 11vw, 7rem); line-height: 1; }
.status-orb > span { margin-top: 18px; font-size: 1.35rem; font-weight: 800; }
.status-orb p { margin: 8px 0 25px; color: var(--muted); }

.site-footer { padding: 62px 0 20px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg-deep) 60%, transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 45px; padding-bottom: 46px; }
.footer-brand p, .footer-note p { max-width: 310px; color: var(--muted); font-size: .78rem; line-height: 1.75; }
.footer-grid h2 { margin: 0 0 15px; font-size: .82rem; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a { margin: 4px 0; color: var(--muted); font-size: .76rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { min-height: 56px; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 30px; max-width: calc(100% - 40px); padding: 12px 18px; border-radius: 12px; color: white; background: rgba(27, 33, 46, .92); box-shadow: 0 12px 35px rgba(0,0,0,.28); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1240px) {
  .desktop-nav { display: none; }
  .category-row { grid-template-columns: repeat(5, minmax(120px, 1fr)); }
  .wallpaper-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr 440px; gap: 50px; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid > div:nth-child(2) { border-right: 0; }
  .promise-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 960px) {
  :root { --shell: min(100% - 32px, 760px); }
  .header-search { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: grid; }
  .hero-section { padding-top: 50px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 100%; }
  .featured-frame { width: min(610px, 92%); margin: 10px auto 25px; }
  .category-row { display: flex; overflow-x: auto; padding: 10px 6px 22px; margin: 0 -6px; scrollbar-width: none; }
  .category-row::-webkit-scrollbar { display: none; }
  .category-chip { min-width: 140px; }
  .wallpaper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-preview { position: relative; top: auto; }
  .detail-info { max-width: 680px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  :root { --shell: calc(100% - 24px); --radius: 20px; }
  .header-inner { height: 70px; gap: 10px; }
  .brand-mark { width: 39px; height: 39px; }
  .brand strong { font-size: .92rem; }
  .brand small { display: none; }
  .header-actions { gap: 6px; }
  .header-actions .icon-button { width: 39px; height: 39px; border-radius: 12px; }
  .hero-section { padding: 40px 0 35px; }
  .hero-copy h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .hero-copy > p { font-size: .92rem; }
  .hero-search { min-height: 58px; padding: 7px 7px 7px 14px; }
  .hero-search .button { padding-inline: 14px; font-size: .78rem; }
  .hero-search svg { display: none; }
  .hero-stats { justify-content: space-between; gap: 10px; }
  .hero-stats strong { font-size: 1.12rem; }
  .featured-frame { width: calc(100% - 18px); min-height: 390px; border-radius: 27px; transform: rotate(1deg); }
  .featured-image, .featured-image img { min-height: 310px; }
  .pill-one { left: -12px; }
  .pill-two { right: -10px; }
  .category-section { padding-bottom: 30px; }
  .gallery-section { padding: 45px 0 60px; }
  .gallery-heading { align-items: flex-start; flex-direction: column; }
  .filter-bar { width: 100%; justify-content: space-between; }
  .filter-bar label { flex: 1; }
  .filter-bar select { width: 100%; }
  .wallpaper-grid { grid-template-columns: 1fr; gap: 18px; }
  .card-image, .wallpaper-card.portrait .card-image { height: auto; aspect-ratio: 16 / 10; }
  .wallpaper-card.portrait .card-image { aspect-ratio: 4 / 5; }
  .card-favorite, .resolution-badge { opacity: 1; transform: none; }
  .pagination { gap: 10px; }
  .pagination span { display: none; }
  .promise-grid { grid-template-columns: 1fr; padding: 14px 20px; }
  .promise-grid > div { padding: 14px 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .promise-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .promise-grid > div:last-child { border-bottom: 0; }
  .detail-section { padding-top: 25px; }
  .detail-preview { padding: 9px; border-radius: 18px; }
  .detail-info h1 { font-size: 2.35rem; }
  .detail-actions .button.primary { padding-inline: 15px; }
  .meta-list dd { max-width: 60%; }
  .related-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 12px; }
  .simple-hero { padding: 65px 0 42px; }
  .content-columns { grid-template-columns: 1fr; }
  .content-card { border-radius: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand, .footer-note { grid-column: 1 / -1; }
  .footer-bottom { align-items: center; flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* v1.2 immersive wallpaper browser */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

:root { --shell: min(1640px, calc(100% - 64px)); }
:root[data-theme="dark"] {
  --bg: #151719;
  --bg-deep: #0f1113;
  --surface: #232527;
  --surface-soft: #2b2d30;
  --text: #f4f5f6;
  --muted: #9b9da2;
  --line: rgba(255, 255, 255, .09);
  --accent: #b7afff;
  --accent-deep: #9c92ff;
  --shadow: 14px 14px 30px rgba(0, 0, 0, .42), -10px -10px 24px rgba(58, 61, 64, .22);
  --shadow-sm: 7px 7px 16px rgba(0, 0, 0, .40), -6px -6px 15px rgba(57, 60, 63, .20);
  --shadow-hover: 18px 20px 40px rgba(0, 0, 0, .5), -7px -7px 22px rgba(65, 68, 71, .22);
  --inset: inset 5px 5px 11px rgba(0, 0, 0, .42), inset -5px -5px 11px rgba(61, 64, 67, .20);
}

.home-page { min-height: 100vh; background: var(--bg); }
.home-page::before {
  background:
    radial-gradient(circle at 18% -8%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 28%),
    radial-gradient(circle at 93% 24%, rgba(65, 118, 111, .08), transparent 25%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 20%, var(--bg)), var(--bg) 30%);
}

.site-header { padding: 16px 0 8px; border-bottom: 0; background: transparent; backdrop-filter: none; }
.header-inner {
  height: 68px;
  padding: 0 16px 0 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(24px) saturate(1.25);
}
.brand { padding-right: 10px; }
.brand-mark { width: 42px; height: 42px; border-radius: 15px; box-shadow: var(--inset); }
.desktop-nav { gap: 3px; margin-left: 20px; padding: 5px; border-radius: 17px; background: var(--surface); box-shadow: var(--inset); }
.desktop-nav a { padding: 9px 17px; border-radius: 13px; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--text); background: var(--bg-deep); box-shadow: 4px 4px 12px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .05); }
.desktop-nav a.active::after { display: none; }
.header-search { max-width: 390px; height: 43px; border: 1px solid var(--line); border-radius: 15px; }
.icon-button { width: 42px; height: 42px; border-radius: 14px; }

.discover-stage { min-height: 78vh; padding: 24px 0 130px; }
.discover-heading { min-height: 72px; margin-bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.discover-heading h1 { margin: 3px 0 0; font-size: clamp(1.65rem, 2.4vw, 2.7rem); line-height: 1.1; letter-spacing: -.045em; }
.discover-heading p { margin: 0 0 4px; color: var(--muted); font-size: .8rem; }
.discover-heading p strong { color: var(--text); font-size: 1rem; }

.immersive-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-page .wallpaper-card { padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 19px; background: var(--surface); box-shadow: 9px 11px 22px rgba(0, 0, 0, .32), -5px -5px 15px rgba(59, 62, 65, .14); }
.home-page .wallpaper-card:hover { transform: translateY(-5px) scale(1.008); box-shadow: 16px 20px 36px rgba(0, 0, 0, .43), -6px -6px 20px rgba(65, 68, 71, .16); }
.home-page .card-image,
.home-page .wallpaper-card.portrait .card-image { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
.home-page .card-image::after { inset: 32% 0 0; z-index: 1; opacity: .25; background: linear-gradient(transparent, rgba(3, 4, 5, .82)); }
.home-page .wallpaper-card:hover .card-image::after { opacity: 1; }
.home-page .card-body { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; min-height: 78px; padding: 24px 17px 13px; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .24s ease, transform .24s ease; pointer-events: none; }
.home-page .wallpaper-card:hover .card-body { opacity: 1; transform: translateY(0); }
.home-page .card-body a { pointer-events: auto; }
.home-page .card-body h3 { max-width: 250px; font-size: .9rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.home-page .card-body p { color: rgba(255, 255, 255, .66); }
.home-page .card-download { color: #fff; background: rgba(20, 22, 24, .45); box-shadow: none; backdrop-filter: blur(12px); }
.home-page .card-download:hover { color: #fff; background: var(--accent-deep); box-shadow: none; }
.home-page .card-favorite { top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 13px; background: rgba(12, 13, 14, .42); }
.home-page .resolution-badge { right: 12px; bottom: 12px; left: auto; transition: opacity .22s ease, transform .22s ease; }
.home-page .wallpaper-card:hover .resolution-badge { bottom: 66px; }
.card-category { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .20); border-radius: 99px; color: #fff; background: rgba(14, 16, 18, .34); backdrop-filter: blur(12px); font-size: .64rem; font-weight: 700; opacity: 0; transform: translateY(-4px); transition: .22s ease; }
.wallpaper-card:hover .card-category { opacity: 1; transform: translateY(0); }

.home-page .pagination { margin: 38px 0 10px; }
.home-page .page-button { border: 1px solid var(--line); background: var(--surface); }

.filter-dock {
  position: fixed;
  z-index: 70;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 50%;
  width: min(1450px, calc(100% - 48px));
  min-height: 62px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 23px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 16px 18px 40px rgba(0, 0, 0, .46), inset 0 1px rgba(255, 255, 255, .07);
  backdrop-filter: blur(25px) saturate(1.2);
  transform: translateX(-50%);
}
.dock-search { width: 210px; min-width: 160px; height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 9px; border-radius: 15px; background: var(--surface); box-shadow: var(--inset); }
.dock-search svg { width: 17px; flex: 0 0 auto; fill: none; stroke: var(--muted); stroke-width: 1.9; stroke-linecap: round; }
.dock-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-size: .75rem; }
.dock-search input::placeholder { color: var(--muted); }
.dock-divider { width: 1px; height: 26px; flex: 0 0 auto; margin: 0 2px; background: var(--line); }
.dock-categories { min-width: 0; display: flex; align-items: center; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.dock-categories::-webkit-scrollbar { display: none; }
.dock-chip { min-width: max-content; min-height: 42px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 14px; color: var(--muted); font-size: .73rem; font-weight: 700; }
.dock-chip:hover { color: var(--text); background: color-mix(in srgb, var(--surface-soft) 75%, transparent); }
.dock-chip.active { color: #fff; border-color: rgba(255, 255, 255, .08); background: var(--bg-deep); box-shadow: 4px 5px 12px rgba(0, 0, 0, .27), inset 0 1px rgba(255, 255, 255, .04); }
.dock-selects { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.dock-selects select { height: 42px; max-width: 112px; padding: 0 24px 0 11px; border: 0; outline: 0; border-radius: 13px; color: var(--muted); background: var(--surface); font-size: .72rem; font-weight: 700; }

.home-page .site-footer { padding-bottom: 125px; }

@media (max-width: 1380px) {
  .immersive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dock-search { width: 180px; }
  .dock-categories .dock-chip { padding-inline: 10px; }
}

@media (max-width: 960px) {
  :root { --shell: min(100% - 32px, 840px); }
  .site-header { padding-top: 10px; }
  .header-inner { height: 62px; border-radius: 20px; }
  .discover-stage { padding-top: 12px; }
  .immersive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .filter-dock { width: calc(100% - 24px); overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .filter-dock::-webkit-scrollbar { display: none; }
  .dock-search { min-width: 190px; }
  .dock-categories { overflow: visible; }
  .dock-selects { min-width: max-content; }
}

@media (max-width: 650px) {
  :root { --shell: calc(100% - 20px); }
  .site-header { padding: 8px 0 4px; }
  .header-inner { height: 58px; padding: 0 9px; border-radius: 18px; }
  .brand { gap: 8px; padding-right: 0; }
  .brand-mark { width: 38px; height: 38px; }
  .discover-stage { padding: 14px 0 115px; }
  .discover-heading { min-height: 62px; margin-bottom: 14px; align-items: flex-start; flex-direction: column; gap: 5px; }
  .discover-heading h1 { font-size: 1.7rem; }
  .discover-heading p { font-size: .72rem; }
  .immersive-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-page .card-image,
  .home-page .wallpaper-card.portrait .card-image { aspect-ratio: 16 / 10; }
  .home-page .card-body { opacity: 1; transform: none; }
  .home-page .card-image::after { opacity: .72; }
  .home-page .card-favorite,
  .home-page .resolution-badge,
  .home-page .card-category { opacity: 1; transform: none; }
  .home-page .resolution-badge { bottom: 66px; }
  .filter-dock { bottom: max(10px, env(safe-area-inset-bottom)); min-height: 58px; padding: 7px; border-radius: 19px; }
  .dock-search { min-width: 165px; height: 42px; }
  .dock-divider { display: none; }
  .dock-chip { min-height: 40px; padding-inline: 12px; }
  .dock-selects select { height: 40px; }
  .home-page .site-footer { padding-bottom: 110px; }
}

/* v2.0 community layout */
:root { --shell: min(1780px, calc(100% - 72px)); }
.home-page::before { background: radial-gradient(circle at 50% -10%, rgba(122, 130, 158, .12), transparent 36%), linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 40%); }
.home-page .site-footer { padding-bottom: 20px; }
.neu-community-card { border: 1px solid rgba(255, 255, 255, .48); border-radius: 22px; background: color-mix(in srgb, var(--surface) 95%, transparent); box-shadow: 11px 11px 25px rgba(170, 181, 193, .64), -9px -9px 22px rgba(255, 255, 255, .86); }
[data-theme="dark"] .neu-community-card { border-color: rgba(255, 255, 255, .08); box-shadow: 12px 12px 28px rgba(0, 0, 0, .42), -8px -8px 20px rgba(54, 57, 61, .2); }

.community-page { min-height: 100vh; padding: 18px 0 84px; }
.community-layout { display: grid; grid-template-columns: minmax(280px, 350px) minmax(620px, 780px) minmax(290px, 380px); align-items: start; justify-content: space-between; gap: clamp(34px, 5vw, 104px); }
.community-left, .community-right { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }

.community-profile { overflow: hidden; padding: 0 22px 24px; text-align: center; }
.profile-cover { height: 112px; margin: 0 -22px; overflow: hidden; background: linear-gradient(145deg, #8795a1, #4f606b); }
.profile-cover::before { content: ""; display: block; width: 100%; height: 100%; opacity: .76; background: radial-gradient(circle at 78% 30%, rgba(255,255,255,.5), transparent 18%), linear-gradient(150deg, transparent 48%, rgba(31,45,52,.34) 49% 52%, transparent 53%), linear-gradient(35deg, rgba(35,53,61,.55) 0 35%, transparent 36%); }
.profile-cover span { position: absolute; }
.profile-avatar { width: 68px; height: 68px; margin: -34px auto 13px; position: relative; display: grid; place-items: center; border: 8px solid var(--surface); border-radius: 21px; color: var(--accent-deep); background: var(--surface); box-shadow: var(--shadow-sm); }
.profile-avatar svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linejoin: round; }
.profile-avatar circle { fill: currentColor; stroke: none; }
.community-profile h1 { margin: 0 0 5px; font-size: 1rem; }
.community-profile > p { min-height: 38px; margin: 0 auto 17px; color: var(--muted); font-size: .7rem; line-height: 1.7; }
.profile-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; margin: 8px 0 24px; }
.profile-metrics span { min-height: 55px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); }
.profile-metrics strong { max-width: 55px; overflow: hidden; font-size: .75rem; text-overflow: ellipsis; }
.profile-metrics small { margin-top: 1px; color: var(--muted); font-size: .52rem; }
.community-submit-button { min-height: 45px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 99px; color: var(--text); background: var(--surface-soft); box-shadow: var(--shadow-sm); font-size: .78rem; font-weight: 800; transition: .2s ease; }
.community-submit-button:hover { color: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.community-submit-button span { color: var(--accent-deep); font-size: 1rem; }

.community-notice { padding: 24px; }
.notice-kicker, .submit-kicker { color: var(--accent-deep); font-size: .58rem; font-weight: 800; letter-spacing: .18em; }
.community-notice h2 { margin: 9px 0 8px; font-size: .92rem; line-height: 1.45; }
.community-notice p, .community-notice li { color: var(--muted); font-size: .66rem; line-height: 1.7; }
.community-notice ul { margin: 13px 0; padding-left: 18px; }
.community-notice a { color: var(--accent-deep); font-size: .65rem; font-weight: 700; }

.community-center { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.showcase-strip { height: 115px; padding: 10px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; overflow: hidden; }
.showcase-strip a { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.38); border-radius: 14px; background: var(--bg-deep); box-shadow: 4px 5px 11px rgba(125,136,148,.28); }
.showcase-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.showcase-strip a:hover img { transform: scale(1.06); }

.community-toolbar { min-height: 58px; padding: 8px 10px; display: flex; align-items: center; gap: 9px; }
.sort-tabs, .category-tabs { display: flex; align-items: center; gap: 4px; }
.category-tabs { min-width: 0; flex: 1; overflow-x: auto; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.sort-tabs { padding: 4px; border-radius: 14px; background: var(--surface); box-shadow: var(--inset); }
.sort-tabs a, .category-tabs a { min-width: max-content; padding: 7px 10px; border-radius: 10px; color: var(--muted); font-size: .65rem; font-weight: 700; }
.sort-tabs a.active, .category-tabs a.active { color: var(--text); background: var(--surface-soft); box-shadow: var(--shadow-sm); }
.community-search { width: 205px; height: 40px; padding: 0 7px 0 13px; display: flex; align-items: center; flex: 0 0 auto; border-radius: 14px; background: var(--surface); box-shadow: var(--inset); }
.community-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: .65rem; }
.community-search button { width: 29px; height: 29px; display: grid; place-items: center; border: 0; border-radius: 9px; color: var(--muted); background: var(--surface); box-shadow: var(--shadow-sm); }
.community-search svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.community-feed { display: flex; flex-direction: column; gap: 22px; }
.community-post { padding: 18px; }
.post-author-row { display: flex; align-items: center; gap: 11px; }
.post-avatar { width: 45px; height: 45px; display: grid; place-items: center; flex: 0 0 auto; border: 5px solid color-mix(in srgb, var(--accent) 18%, var(--surface)); border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--accent), var(--accent-deep)); box-shadow: var(--shadow-sm); font-size: .82rem; font-weight: 800; }
.post-author-row > div:nth-child(2) { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.post-author-row strong { font-size: .77rem; }
.post-author-row small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }
.post-metrics { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); }
.post-metrics form { margin: 0; }
.post-view, .post-reaction { min-width: 38px; min-height: 43px; padding: 3px 6px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1px; border: 0; border-radius: 12px; color: var(--muted); background: transparent; font-size: .58rem; }
.post-view i, .post-reaction i { font-size: 1rem; font-style: normal; line-height: 1; }
.post-view b, .post-reaction b { font-size: .56rem; font-weight: 700; }
.post-reaction { cursor: pointer; transition: .18s ease; }
.post-reaction:hover { color: var(--accent-deep); background: var(--surface); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.post-reaction.active { color: #fff; background: var(--pink); box-shadow: 4px 5px 12px rgba(177,92,132,.28); }
.post-reaction.favorite.active { background: var(--accent-deep); box-shadow: 4px 5px 12px rgba(95,101,218,.28); }
.post-title { margin: 13px 0 14px; display: flex; align-items: center; gap: 10px; }
.post-title span { padding: 5px 8px; border-radius: 8px; color: var(--green); background: color-mix(in srgb, var(--green) 10%, var(--surface)); font-size: .62rem; font-weight: 800; }
.post-title h2 { margin: 0; font-size: 1.05rem; }
.community-wallpaper-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px; }
.community-wallpaper-grid.single { grid-template-columns: 1fr; }
.community-tile { position: relative; min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.38); border-radius: 14px; background: var(--bg-deep); box-shadow: 5px 6px 13px rgba(126,137,149,.3); }
.community-wallpaper-grid.single .community-tile.portrait { width: min(34%, 250px); justify-self: start; }
.community-wallpaper-grid.single .community-tile.landscape { width: 100%; }
.community-tile > a:first-child { width: 100%; display: block; }
.community-tile img { width: 100%; height: auto; object-fit: contain; transition: transform .45s ease; }
.community-tile:hover img { transform: scale(1.045); }
.tile-gradient { position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(8,12,16,.78)); opacity: 0; transition: .25s ease; }
.tile-info { position: absolute; z-index: 2; right: 45px; bottom: 11px; left: 11px; display: flex; flex-direction: column; color: #fff; opacity: 0; transform: translateY(5px); transition: .25s ease; }
.tile-info strong { overflow: hidden; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.tile-info small { margin-top: 2px; color: rgba(255,255,255,.67); font-size: .52rem; }
.community-tile:hover .tile-gradient, .community-tile:hover .tile-info { opacity: 1; transform: none; }
.tile-favorite, .tile-download { position: absolute; z-index: 3; right: 9px; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; color: #fff; background: rgba(12,16,20,.35); backdrop-filter: blur(9px); opacity: 0; transition: .2s ease; }
.tile-favorite { top: 9px; }
.tile-download { bottom: 9px; }
.community-tile:hover .tile-favorite, .community-tile:hover .tile-download, .tile-favorite.active { opacity: 1; }
.tile-favorite.active { color: #fff; background: var(--pink); }
.post-comments { margin-top: 13px; border-top: 1px solid var(--line); color: var(--muted); }
.post-comments summary { min-height: 43px; display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; font-size: .62rem; }
.post-comments summary::-webkit-details-marker { display: none; }
.post-comments summary b { font-weight: 700; }
.post-comments summary i { width: 30px; height: 30px; margin-left: auto; display: grid; place-items: center; border-radius: 10px; color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); font-style: normal; }
.post-comments[open] summary i { color: #fff; background: var(--accent-deep); }
.post-comment-panel { padding: 2px 0 5px; }
.comment-list { display: flex; flex-direction: column; gap: 8px; }
.comment-list article { padding: 10px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 9px; border-radius: 12px; background: var(--surface); box-shadow: var(--inset); }
.comment-list article > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--accent), var(--accent-deep)); font-size: .6rem; font-weight: 800; }
.comment-list strong { display: flex; justify-content: space-between; gap: 12px; color: var(--text); font-size: .63rem; }
.comment-list strong small { color: var(--muted); font-size: .52rem; font-weight: 500; }
.comment-list p { margin: 3px 0 0; color: var(--muted); font-size: .62rem; line-height: 1.6; overflow-wrap: anywhere; }
.comment-empty { margin: 2px 0 10px; padding: 12px; border-radius: 11px; background: var(--surface); box-shadow: var(--inset); font-size: .6rem; }
.comment-form { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 9px; }
.comment-form textarea { min-height: 58px; padding: 10px 12px; resize: vertical; border: 1px solid var(--line); border-radius: 12px; outline: 0; color: var(--text); background: var(--surface); box-shadow: var(--inset); font-size: .63rem; }
.comment-form textarea:focus { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.comment-form button { border: 0; border-radius: 12px; color: #fff; background: var(--accent-deep); box-shadow: var(--shadow-sm); font-size: .65rem; font-weight: 800; }
.comment-login { min-height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--accent-deep); background: var(--surface); box-shadow: var(--inset); font-size: .62rem; font-weight: 800; }
.interaction-alert { padding: 11px 15px; border-radius: 13px; box-shadow: var(--shadow-sm); font-size: .66rem; font-weight: 750; transition: opacity .25s ease, transform .25s ease; }
.interaction-alert.success { color: #3f8269; background: #e9f4ef; }.interaction-alert.error { color: #a64f5c; background: #fae9ec; }
[data-theme="dark"] .interaction-alert.success { color: #86cfb2; background: rgba(50,115,89,.25); }[data-theme="dark"] .interaction-alert.error { color: #f0a2ad; background: rgba(139,51,64,.25); }
.community-pagination { margin: 20px 0 5px; }

.right-panel { padding: 17px; }
.right-panel h2 { margin: 0 0 11px; padding: 0 4px 11px; border-bottom: 1px solid var(--line); font-size: .76rem; }
.right-panel h2 span { color: var(--accent-deep); }
.contributor-list { display: flex; flex-direction: column; }
.contributor-list > a { min-height: 58px; display: flex; align-items: center; gap: 10px; border-bottom: 1px dashed color-mix(in srgb, var(--muted) 30%, transparent); }
.contributor-list > a:last-child { border-bottom: 0; }
.contributor-avatar { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: #6e82a5; box-shadow: var(--shadow-sm); font-size: .68rem; font-weight: 800; }
.contributor-avatar.tone-1 { background: #6d998c; }.contributor-avatar.tone-2 { background: #aa7f96; }.contributor-avatar.tone-3 { background: #9287b4; }.contributor-avatar.tone-4 { background: #a07e65; }
.contributor-list > a > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.contributor-list strong { overflow: hidden; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.contributor-list small { margin-top: 3px; color: var(--muted); font-size: .51rem; }
.hot-panel ol { margin: 0; padding: 0; list-style: none; }
.hot-panel li a { min-height: 43px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); }
.hot-panel li:last-child a { border-bottom: 0; }
.hot-panel li b { color: var(--muted); font-size: .66rem; }
.hot-panel li:nth-child(-n+3) b { color: var(--accent-deep); }
.hot-panel li span { overflow: hidden; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.hot-panel li small { color: var(--muted); font-size: .5rem; }

.submit-page { min-height: 780px; padding: 48px 0 100px; }
.submit-layout { display: grid; grid-template-columns: minmax(330px, .75fr) minmax(560px, 1.25fr); gap: 28px; align-items: stretch; max-width: 1280px; }
.submit-intro, .submit-form-card { padding: clamp(28px, 4vw, 52px); }
.submit-intro { display: flex; flex-direction: column; justify-content: center; }
.submit-intro h1 { margin: 14px 0 18px; font-size: clamp(2.5rem, 4vw, 4.3rem); line-height: 1.05; letter-spacing: -.065em; }
.submit-intro > p { margin: 0 0 26px; color: var(--muted); font-size: .85rem; line-height: 1.9; }
.submit-rules { display: flex; flex-direction: column; gap: 12px; }
.submit-rules > div { padding: 14px; display: grid; grid-template-columns: 38px 1fr; border-radius: 14px; background: var(--surface); box-shadow: var(--inset); }
.submit-rules span { grid-row: 1 / 3; color: var(--accent-deep); font-size: .67rem; font-weight: 800; }
.submit-rules strong { font-size: .74rem; }
.submit-rules small { color: var(--muted); font-size: .6rem; }
.submit-intro > a { margin-top: 25px; color: var(--accent-deep); font-size: .68rem; font-weight: 700; }
.submit-form-card > header { margin-bottom: 22px; }
.submit-form-card > header > span { color: var(--accent-deep); font-size: .58rem; font-weight: 800; letter-spacing: .18em; }
.submit-form-card h2 { margin: 4px 0 1px; font-size: 1.7rem; }
.submit-form-card header p { margin: 0; color: var(--muted); font-size: .65rem; }
.submission-error { margin-bottom: 16px; padding: 11px 14px; display: flex; flex-direction: column; border: 1px solid #efc6ca; border-radius: 11px; color: #a34e56; background: #fff0f1; font-size: .68rem; }
.public-upload-form { display: flex; flex-direction: column; gap: 15px; }
.public-upload-form > label:not(.public-upload-drop):not(.rights-confirm):not(.honeypot), .public-form-grid label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: .66rem; font-weight: 700; }
.public-upload-form input, .public-upload-form select, .public-upload-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--text); background: var(--surface); box-shadow: var(--inset); }
.public-upload-form input, .public-upload-form select { height: 44px; padding: 0 12px; }
.public-upload-form textarea { padding: 11px 12px; resize: vertical; }
.public-upload-form input:focus, .public-upload-form select:focus, .public-upload-form textarea:focus { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.public-upload-drop { min-height: 150px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed color-mix(in srgb, var(--muted) 55%, transparent); border-radius: 17px; background: var(--surface); box-shadow: var(--inset); cursor: pointer; transition: .2s ease; }
.public-upload-drop:hover, .public-upload-drop.has-file { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.public-upload-drop input { display: none; }
.upload-symbol { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 13px; color: var(--accent-deep); box-shadow: var(--shadow-sm); font-size: 1.3rem; }
.public-upload-drop strong { font-size: .76rem; }.public-upload-drop small { margin-top: 3px; color: var(--muted); font-size: .59rem; }
.public-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.rights-confirm { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); cursor: pointer; }
.rights-confirm input { position: absolute; opacity: 0; pointer-events: none; }
.rights-confirm span { width: 19px; height: 19px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); box-shadow: var(--inset); }
.rights-confirm input:checked + span { border-color: transparent; background: var(--accent-deep); box-shadow: none; }
.rights-confirm input:checked + span::after { content: "✓"; display: grid; place-items: center; color: #fff; font-size: .65rem; }
.rights-confirm em { font-size: .62rem; font-style: normal; line-height: 1.6; }
.public-submit { width: 100%; margin-top: 2px; border: 0; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.submission-success { min-height: 560px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.submission-success > span { width: 70px; height: 70px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; color: #fff; background: var(--green); box-shadow: var(--shadow); font-size: 1.7rem; }
.submission-success h2 { margin: 0 0 6px; }.submission-success p { margin: 0 0 25px; color: var(--muted); font-size: .76rem; }
.submission-success > div { display: flex; gap: 10px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 1450px) {
  :root { --shell: min(100% - 42px, 1320px); }
  .community-layout { grid-template-columns: minmax(270px, 340px) minmax(600px, 780px); justify-content: space-between; gap: clamp(32px, 6vw, 100px); }
  .community-right { display: none; }
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 28px, 820px); }
  .community-layout { grid-template-columns: 1fr; }
  .community-left { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .community-profile { padding-bottom: 18px; }
  .profile-cover { height: 92px; }
  .community-notice { min-height: 100%; }
  .submit-layout { grid-template-columns: 1fr; max-width: 820px; }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 18px); }
  .community-page { padding-top: 10px; }
  .community-left { display: block; }
  .community-notice { display: none; }
  .profile-metrics { grid-template-columns: repeat(6, 1fr); gap: 5px; }
  .profile-metrics span { min-height: 44px; border-radius: 14px; box-shadow: var(--inset); }
  .showcase-strip { height: 94px; grid-template-columns: repeat(5, 130px); overflow-x: auto; }
  .community-toolbar { align-items: stretch; flex-wrap: wrap; }
  .sort-tabs { order: 1; }.category-tabs { order: 3; flex-basis: 100%; }.community-search { order: 2; min-width: 0; flex: 1; }
  .community-post { padding: 12px; border-radius: 17px; }
  .post-author-row small { max-width: 220px; }
  .post-metrics { display: none; }
  .community-wallpaper-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .community-wallpaper-grid.single { grid-template-columns: 1fr; }
  .community-wallpaper-grid.single .community-tile.portrait { width: min(56%, 280px); }
  .tile-gradient, .tile-info, .tile-favorite, .tile-download { opacity: 1; transform: none; }
  .tile-gradient { opacity: .72; }
  .post-footer { align-items: flex-start; flex-direction: column; gap: 5px; }
  .submit-page { padding: 16px 0 65px; }
  .submit-intro, .submit-form-card { padding: 25px 19px; }
  .submit-intro h1 { font-size: 2.6rem; }
  .public-form-grid { grid-template-columns: 1fr; }
  .detail-discussion > header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .detail-comment-form { grid-template-columns: 1fr; }
  .detail-comment-form button { min-height: 44px; }
}

/* V3 — complete wallpaper product layout */
.header-publish {
  min-width: 76px;
  height: 44px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 14px;
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: .72rem;
  transition: transform .18s ease, color .18s ease;
}
.header-publish:hover { color: var(--accent-deep); transform: translateY(-2px); }
.header-publish span { color: var(--accent-deep); font-size: 1rem; line-height: 1; }
.header-publish strong { font-weight: 800; }
.community-theme .header-search { display: none; }
.community-theme .header-actions { margin-left: auto; }

.gallery-page { background: var(--bg); }
.gallery-page .site-footer { padding-bottom: 125px; }
.immersive-gallery { min-height: 100vh; padding: 28px 0 70px; }
.gallery-topline { min-height: 132px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.gallery-kicker, .avatar-kicker, .software-kicker, .avatar-library-heading span, .software-features header > span, .software-cta span {
  color: var(--accent-deep);
  font-size: .61rem;
  font-weight: 850;
  letter-spacing: .22em;
}
.gallery-topline h1 { margin: 6px 0 2px; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.06em; }
.gallery-topline p { max-width: 680px; margin: 10px 0 0; color: var(--muted); font-size: .78rem; }
.gallery-summary { width: 120px; height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 22px; background: var(--surface); box-shadow: var(--inset); }
.gallery-summary strong { color: var(--accent-deep); font-size: 1.65rem; line-height: 1.2; }
.gallery-summary span { color: var(--muted); font-size: .58rem; }
.quick-category-row { margin-bottom: 28px; padding: 7px; display: flex; gap: 6px; overflow-x: auto; border-radius: 19px; background: var(--surface); box-shadow: var(--shadow-sm); scrollbar-width: none; }
.quick-category-row::-webkit-scrollbar { display: none; }
.quick-category-row a { min-width: 88px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 1 0 auto; border-radius: 13px; color: var(--muted); font-size: .66rem; font-weight: 750; white-space: nowrap; transition: .2s ease; }
.quick-category-row a:hover, .quick-category-row a.active { color: var(--text); background: var(--bg-deep); box-shadow: var(--inset); }
.quick-category-row a.active span { color: var(--accent-deep); }
.immersive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gallery-art-card { position: relative; aspect-ratio: 16 / 10.6; overflow: hidden; border: 1px solid rgba(255,255,255,.38); border-radius: 20px; background: var(--bg-deep); box-shadow: 8px 10px 22px rgba(137,149,163,.36), -6px -6px 18px rgba(255,255,255,.7); transition: transform .28s ease, box-shadow .28s ease; }
[data-theme="dark"] .gallery-art-card { border-color: rgba(255,255,255,.09); box-shadow: 11px 13px 27px rgba(0,0,0,.4), -6px -6px 18px rgba(63,72,87,.18); }
.gallery-art-card:hover { z-index: 3; transform: translateY(-5px) scale(1.008); box-shadow: var(--shadow-hover); }
.gallery-art-card > a:first-child, .gallery-art-card img { width: 100%; height: 100%; display: block; }
.gallery-art-card img { object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.gallery-art-card:hover img { transform: scale(1.045); }
.gallery-card-shade { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(5,7,11,.83)); opacity: 0; transition: opacity .22s ease; }
.gallery-card-meta { position: absolute; z-index: 2; right: 56px; bottom: 14px; left: 15px; display: flex; flex-direction: column; color: #fff; opacity: 0; transform: translateY(7px); transition: .22s ease; }
.gallery-card-meta strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.gallery-card-meta small { margin-top: 2px; color: rgba(255,255,255,.66); font-size: .55rem; }
.gallery-art-card:hover .gallery-card-shade, .gallery-art-card:hover .gallery-card-meta { opacity: 1; transform: none; }
.gallery-heart, .gallery-download { position: absolute; z-index: 4; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; color: #fff; background: rgba(15,18,23,.38); backdrop-filter: blur(10px); opacity: 0; transition: .2s ease; }
.gallery-heart { top: 13px; right: 13px; }
.gallery-download { right: 13px; bottom: 13px; }
.gallery-art-card:hover .gallery-heart, .gallery-art-card:hover .gallery-download, .gallery-heart.active { opacity: 1; }
.gallery-heart.active { color: #fff; background: var(--pink); }
.mobile-gallery .immersive-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.mobile-gallery .gallery-art-card { aspect-ratio: 9 / 16; }
.gallery-pagination { margin: 46px 0 16px; }
.gallery-filter-dock { position: fixed; z-index: 45; left: 50%; bottom: 20px; width: min(860px, calc(100% - 34px)); min-height: 58px; padding: 7px 9px 7px 14px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.52); border-radius: 21px; background: color-mix(in srgb, var(--surface) 89%, transparent); box-shadow: 13px 15px 35px rgba(126,139,153,.4), -9px -9px 25px rgba(255,255,255,.76); backdrop-filter: blur(18px); transform: translateX(-50%); }
[data-theme="dark"] .gallery-filter-dock { border-color: rgba(255,255,255,.09); box-shadow: 14px 16px 34px rgba(0,0,0,.45), -7px -7px 21px rgba(58,68,83,.2); }
.gallery-filter-dock label { height: 42px; display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .6rem; white-space: nowrap; }
.gallery-filter-dock .dock-search { min-width: 190px; flex: 1; padding: 0 12px; border-radius: 13px; background: var(--surface); box-shadow: var(--inset); }
.dock-search span { color: var(--accent-deep); font-size: 1rem; }
.dock-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: .7rem; }
.gallery-filter-dock select { min-width: 82px; height: 38px; padding: 0 25px 0 8px; border: 0; outline: 0; background: transparent; font-size: .65rem; font-weight: 750; }
.dock-divider { width: 1px; height: 27px; background: var(--line); }
.gallery-filter-dock button, .gallery-filter-dock > a { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 14px; color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); font-size: 1rem; }
.gallery-filter-dock > a { color: #fff; background: var(--accent-deep); }

.avatar-maker-section { min-height: 800px; padding: 50px 0 90px; }
.avatar-maker-grid { display: grid; grid-template-columns: minmax(390px, .72fr) minmax(0, 1.28fr); align-items: start; gap: 38px; }
.avatar-stage { position: sticky; top: 115px; padding: clamp(28px, 4vw, 50px); text-align: center; }
.avatar-stage h1 { margin: 12px 0 15px; font-size: clamp(2.5rem, 4.6vw, 4.8rem); line-height: 1.04; letter-spacing: -.07em; }
.avatar-stage > p { max-width: 470px; margin: 0 auto 26px; color: var(--muted); font-size: .78rem; }
.avatar-canvas-wrap { position: relative; width: min(290px, 72vw); aspect-ratio: 1; margin: 0 auto 25px; overflow: hidden; border: 12px solid var(--surface); border-radius: 50%; background: var(--bg-deep); box-shadow: var(--shadow); }
.avatar-canvas-wrap img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform .2s ease, border-radius .2s ease; }
.avatar-canvas-wrap i { position: absolute; inset: 16%; border: 1px dashed rgba(255,255,255,.72); border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 999px rgba(13,16,22,.12); }
.avatar-controls { padding: 14px 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; border-radius: 16px; }
.avatar-controls label { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; color: var(--muted); font-size: .62rem; }
.avatar-controls input { min-width: 0; accent-color: var(--accent-deep); }
.avatar-actions { margin-top: 17px; display: flex; justify-content: center; gap: 10px; }
.avatar-library { min-width: 0; }
.avatar-library-heading { min-height: 92px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.avatar-library-heading h2 { margin: 5px 0 0; font-size: 2rem; letter-spacing: -.05em; }
.avatar-library-heading a { color: var(--muted); font-size: .7rem; font-weight: 700; }
.avatar-source-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.avatar-source { position: relative; aspect-ratio: 1; padding: 7px; overflow: hidden; border: 1px solid transparent; border-radius: 21px; background: var(--surface); box-shadow: var(--shadow-sm); transition: .2s ease; }
.avatar-source:hover, .avatar-source.active { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-3px); }
.avatar-source.active { box-shadow: var(--inset); }
.avatar-source img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; }
.avatar-source span { position: absolute; right: 12px; bottom: 11px; left: 12px; overflow: hidden; padding: 5px 8px; border-radius: 8px; color: #fff; background: rgba(8,10,14,.42); backdrop-filter: blur(8px); font-size: .55rem; text-overflow: ellipsis; white-space: nowrap; }

.software-hero { padding: 75px 0 95px; overflow: hidden; }
.software-hero-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr); align-items: center; gap: clamp(50px, 7vw, 110px); }
.software-copy h1 { max-width: 680px; margin: 15px 0 22px; font-size: clamp(3.7rem, 6.3vw, 7rem); line-height: .98; letter-spacing: -.075em; }
.software-copy > p { max-width: 600px; color: var(--muted); font-size: .95rem; line-height: 1.85; }
.software-actions { margin-top: 31px; display: flex; gap: 12px; }
.software-metrics { margin-top: 33px; display: flex; flex-wrap: wrap; gap: 23px; color: var(--muted); font-size: .64rem; }
.software-metrics span { display: flex; flex-direction: column; }
.software-metrics strong { color: var(--text); font-size: .82rem; }
.software-window { position: relative; overflow: hidden; padding: 12px; border-radius: 28px; transform: perspective(1300px) rotateY(-7deg) rotateX(2deg); }
.software-window::after { content: ""; position: absolute; inset: auto 6% -12% 10%; height: 30%; z-index: -1; border-radius: 50%; background: rgba(104,111,222,.32); filter: blur(55px); }
.window-bar { height: 43px; padding: 0 7px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); }
.window-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #d78a94; }.window-bar > span:nth-child(2) { background: #d5b26e; }.window-bar > span:nth-child(3) { background: #71ad8d; }
.window-bar strong { margin-left: auto; color: var(--muted); font-size: .58rem; font-weight: 700; }
.window-content { min-height: 460px; display: grid; grid-template-columns: 105px 1fr; }
.window-content aside { padding: 26px 11px; display: flex; align-items: center; flex-direction: column; gap: 13px; border-right: 1px solid var(--line); color: var(--muted); font-size: .58rem; }
.window-content aside b { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 13px; color: #fff; background: var(--accent-deep); box-shadow: var(--shadow-sm); }
.window-content aside span { width: 100%; padding: 8px; border-radius: 8px; text-align: center; }.window-content aside span:first-of-type { color: var(--text); background: var(--bg-deep); }
.window-wallpapers { padding: 15px; display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(2, 1fr); gap: 12px; }
.window-shot { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: 17px; background: var(--bg-deep); box-shadow: 5px 6px 14px rgba(130,141,154,.32); }
.window-shot:first-child { grid-row: 1 / 3; }
.window-shot:nth-child(n+4) { display: none; }
.window-shot img { width: 100%; height: 100%; object-fit: cover; }
.window-shot figcaption { position: absolute; right: 9px; bottom: 9px; left: 9px; padding: 7px 9px; overflow: hidden; border-radius: 8px; color: #fff; background: rgba(8,10,14,.4); backdrop-filter: blur(9px); font-size: .55rem; text-overflow: ellipsis; white-space: nowrap; }
.software-features { padding: 85px 0 105px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-deep) 65%, transparent), transparent); }
.software-features header { max-width: 720px; margin: 0 auto 43px; text-align: center; }
.software-features h2 { margin: 7px 0 9px; font-size: clamp(2.4rem, 4vw, 4.1rem); line-height: 1.06; letter-spacing: -.065em; }
.software-features header p { color: var(--muted); font-size: .78rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-grid article { min-height: 240px; padding: 29px; }
.feature-grid i { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: var(--accent-deep); box-shadow: var(--inset); font-size: .65rem; font-style: normal; font-weight: 850; }
.feature-grid h3 { margin: 36px 0 9px; font-size: 1.05rem; }
.feature-grid p { margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.75; }
.software-cta { padding: 20px 0 105px; }
.software-cta .shell { min-height: 190px; padding: 38px 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.software-cta h2 { margin: 6px 0 4px; font-size: 2rem; letter-spacing: -.045em; }
.software-cta p { margin: 0; color: var(--muted); font-size: .72rem; }

@media (max-width: 1380px) {
  .immersive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mobile-gallery .immersive-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .avatar-source-grid { grid-template-columns: repeat(3, 1fr); }
  .software-hero-grid { grid-template-columns: minmax(0, .8fr) minmax(500px, 1.2fr); gap: 55px; }
}

@media (max-width: 1120px) {
  .header-publish { display: none; }
  .mobile-gallery .immersive-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .avatar-maker-grid { grid-template-columns: 1fr; }
  .avatar-stage { position: relative; top: auto; }
  .software-hero-grid { grid-template-columns: 1fr; }
  .software-copy { max-width: 760px; }
  .software-window { width: min(820px, 100%); margin: 0 auto; transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .immersive-gallery { padding-top: 16px; }
  .gallery-topline { min-height: 112px; }
  .gallery-summary { display: none; }
  .gallery-topline h1 { font-size: 2.5rem; }
  .gallery-topline p { font-size: .7rem; }
  .immersive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mobile-gallery .immersive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-art-card { border-radius: 14px; }
  .gallery-card-shade, .gallery-card-meta, .gallery-heart, .gallery-download { opacity: 1; transform: none; }
  .gallery-card-shade { opacity: .68; }
  .gallery-heart { width: 32px; height: 32px; top: 8px; right: 8px; }
  .gallery-download { width: 32px; height: 32px; right: 8px; bottom: 8px; }
  .gallery-card-meta { right: 46px; bottom: 9px; left: 10px; }
  .gallery-filter-dock { min-height: 54px; bottom: 10px; border-radius: 18px; }
  .gallery-filter-dock label:not(.dock-search), .dock-divider { display: none; }
  .gallery-filter-dock .dock-search { min-width: 0; }
  .avatar-maker-section { padding-top: 24px; }
  .avatar-stage { padding: 30px 18px; }
  .avatar-stage h1 { font-size: 3rem; }
  .avatar-source-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .avatar-controls { grid-template-columns: 1fr; }
  .software-hero { padding: 45px 0 70px; }
  .software-copy h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .software-actions { align-items: stretch; flex-direction: column; }
  .software-window { padding: 8px; border-radius: 20px; }
  .window-content { min-height: 330px; grid-template-columns: 70px 1fr; }
  .window-content aside { padding-inline: 6px; }
  .window-wallpapers { padding: 8px; gap: 7px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 190px; }
  .software-cta .shell { padding: 30px 22px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 470px) {
  .immersive-grid { grid-template-columns: 1fr; }
  .mobile-gallery .immersive-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-art-card { aspect-ratio: 16 / 10; }
  .mobile-gallery .gallery-art-card { aspect-ratio: 9 / 16; }
  .quick-category-row { margin-bottom: 16px; }
  .avatar-actions { align-items: stretch; flex-direction: column; }
  .avatar-library-heading { align-items: flex-start; flex-direction: column; justify-content: center; }
  .window-content { grid-template-columns: 1fr; }
  .window-content aside { display: none; }
}

/* V3.2 — member publishing and community interactions */
.member-pill { height: 44px; max-width: 132px; padding: 0 12px 0 7px; display: inline-flex; align-items: center; gap: 8px; border-radius: 14px; color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); font-size: .67rem; transition: .18s ease; }
.member-pill:hover { color: var(--accent-deep); transform: translateY(-2px); }
.member-pill > span { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: #fff; background: linear-gradient(145deg, var(--accent), var(--accent-deep)); font-size: .68rem; font-weight: 850; }
.member-pill > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-pill.guest > span { color: var(--accent-deep); background: var(--surface); box-shadow: var(--inset); }

.auth-page-section { position: relative; min-height: 760px; padding: 48px 20px 90px; overflow: hidden; display: grid; place-items: center; }
.auth-page-section::before { content: ""; position: absolute; inset: 0; background: rgba(34,40,52,.12); backdrop-filter: blur(4px); }
.auth-backdrop-shape { position: absolute; border-radius: 50%; filter: blur(15px); opacity: .35; }
.auth-backdrop-shape.shape-one { top: 8%; left: 8%; width: 320px; height: 320px; background: color-mix(in srgb, var(--accent) 38%, transparent); }
.auth-backdrop-shape.shape-two { right: 4%; bottom: 8%; width: 390px; height: 390px; background: color-mix(in srgb, var(--pink) 26%, transparent); }
.auth-dialog { position: relative; z-index: 2; width: min(1080px, 100%); min-height: 610px; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 34px; }
.auth-close { position: absolute; z-index: 4; top: 18px; right: 18px; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); background: var(--surface); box-shadow: var(--shadow-sm); font-size: 1.5rem; }
.auth-visual { position: relative; padding: clamp(36px, 5vw, 70px); overflow: hidden; display: flex; justify-content: center; flex-direction: column; color: #f6f7ff; background: linear-gradient(145deg, #252b3c, #161a24); }
.auth-visual::after { content: ""; position: absolute; right: -110px; bottom: -140px; width: 390px; height: 390px; border: 1px solid rgba(151,156,255,.23); border-radius: 50%; box-shadow: inset 0 0 0 55px rgba(120,126,232,.06), inset 0 0 0 115px rgba(120,126,232,.05); }
.auth-kicker { position: relative; z-index: 1; color: #aeb2ff; font-size: .62rem; font-weight: 850; letter-spacing: .22em; }
.auth-visual h1 { position: relative; z-index: 1; margin: 16px 0 22px; font-size: clamp(3rem, 5vw, 5.2rem); line-height: 1.02; letter-spacing: -.075em; }
.auth-visual p { position: relative; z-index: 1; max-width: 470px; margin: 0; color: #aeb6c8; font-size: .78rem; line-height: 1.85; }
.auth-steps { position: relative; z-index: 1; margin-top: 38px; display: flex; flex-direction: column; gap: 10px; }
.auth-steps span { display: flex; align-items: center; gap: 10px; color: #c5ccda; font-size: .68rem; }
.auth-steps b { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: #aeb2ff; background: rgba(255,255,255,.06); font-size: .56rem; }
.auth-form-panel { padding: clamp(48px, 6vw, 78px); display: flex; justify-content: center; flex-direction: column; }
.auth-tabs { width: 210px; height: 44px; margin-bottom: 28px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 14px; background: var(--surface); box-shadow: var(--inset); }
.auth-tabs a { display: grid; place-items: center; border-radius: 10px; color: var(--muted); font-size: .7rem; font-weight: 800; }
.auth-tabs a.active { color: var(--text); background: var(--surface-soft); box-shadow: var(--shadow-sm); }
.auth-form-panel > header { margin-bottom: 22px; }
.auth-avatar-symbol { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 15px; color: var(--accent-deep); background: var(--surface); box-shadow: var(--shadow-sm); font-size: 1.2rem; }
.auth-form-panel h2 { margin: 0; font-size: 2rem; letter-spacing: -.045em; }
.auth-form-panel header p { margin: 4px 0 0; color: var(--muted); font-size: .7rem; }
.auth-error { margin-bottom: 17px; padding: 11px 14px; display: flex; flex-direction: column; border: 1px solid #efc6ca; border-radius: 11px; color: #a34e56; background: #fff0f1; font-size: .66rem; }
[data-theme="dark"] .auth-error { border-color: rgba(235,126,137,.28); color: #f0a2aa; background: rgba(128,42,52,.22); }
.member-auth-form { display: flex; flex-direction: column; gap: 14px; }
.member-auth-form label:not(.auth-agreement):not(.honeypot), .auth-password-grid label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: .65rem; font-weight: 750; }
.member-auth-form input:not([type="checkbox"]) { width: 100%; height: 47px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; outline: 0; background: var(--surface); box-shadow: var(--inset); }
.member-auth-form input:focus { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.member-auth-form > .button { width: 100%; margin-top: 5px; }
.auth-password-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-agreement { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); cursor: pointer; }
.auth-agreement input { position: absolute; opacity: 0; pointer-events: none; }
.auth-agreement span { width: 19px; height: 19px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); box-shadow: var(--inset); }
.auth-agreement input:checked + span { background: var(--accent-deep); box-shadow: none; }
.auth-agreement input:checked + span::after { content: "✓"; display: grid; place-items: center; color: #fff; font-size: .64rem; }
.auth-agreement em { font-size: .61rem; font-style: normal; line-height: 1.6; }
.auth-switch-copy { margin: 18px 0 0; color: var(--muted); font-size: .67rem; text-align: center; }
.auth-switch-copy a { color: var(--accent-deep); font-weight: 800; }

.wallpaper-type-picker { margin: 0; padding: 0; border: 0; }
.wallpaper-type-picker legend { margin-bottom: 9px; color: var(--muted); font-size: .67rem; font-weight: 800; }
.wallpaper-type-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.wallpaper-type-picker legend { grid-column: 1 / -1; }
.wallpaper-type-picker label { cursor: pointer; }
.wallpaper-type-picker input { position: absolute; opacity: 0; pointer-events: none; }
.wallpaper-type-picker label > span { min-height: 84px; padding: 14px 16px; display: grid; grid-template-columns: 38px 1fr; align-content: center; border: 1px solid transparent; border-radius: 15px; color: var(--muted); background: var(--surface); box-shadow: var(--shadow-sm); transition: .2s ease; }
.wallpaper-type-picker i { grid-row: 1 / 3; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; color: var(--accent-deep); background: var(--surface); box-shadow: var(--inset); font-size: 1rem; font-style: normal; }
.wallpaper-type-picker strong { color: var(--text); font-size: .74rem; }
.wallpaper-type-picker small { margin-top: 2px; font-size: .56rem; }
.wallpaper-type-picker input:checked + span { border-color: color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent-deep); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); box-shadow: var(--inset); }
.public-upload-drop { position: relative; overflow: hidden; }
.public-upload-drop > img { width: 100%; max-height: 390px; object-fit: contain; border-radius: 13px; }
.public-upload-drop > img[hidden] { display: none !important; }
.public-upload-drop.has-file { min-height: 300px; padding: 12px; }
.public-upload-drop.has-file .upload-copy { position: absolute; right: 22px; bottom: 22px; left: 22px; padding: 12px; border-radius: 13px; color: #fff; background: rgba(14,17,23,.52); backdrop-filter: blur(12px); }
.upload-copy { display: flex; align-items: center; justify-content: center; flex-direction: column; }
.public-upload-drop.has-file .upload-symbol { display: none; }
.public-upload-drop.has-file .upload-copy small { color: rgba(255,255,255,.72); }
.public-upload-drop.type-mismatch { border-color: #d66b76; background: color-mix(in srgb, #d66b76 7%, var(--surface)); box-shadow: inset 0 0 0 2px color-mix(in srgb, #d66b76 20%, transparent), var(--inset); }
.public-upload-drop.type-mismatch .upload-copy { background: rgba(111,31,42,.72); }

.account-page { min-height: 760px; padding: 45px 0 100px; }
.account-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: 28px; max-width: 1320px; }
.account-profile { position: sticky; top: 110px; padding: 34px 25px 25px; text-align: center; }
.account-avatar { width: 82px; height: 82px; margin: 0 auto 16px; display: grid; place-items: center; border: 8px solid var(--surface); border-radius: 27px; color: #fff; background: linear-gradient(145deg, var(--accent), var(--accent-deep)); box-shadow: var(--shadow); font-size: 1.35rem; font-weight: 850; }
.account-profile h1 { margin: 0 0 4px; font-size: 1.25rem; }
.account-profile > p { margin: 0; overflow: hidden; color: var(--muted); font-size: .65rem; text-overflow: ellipsis; }
.account-stat-grid { margin: 25px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.account-stat-grid span { min-height: 68px; display: flex; align-items: center; justify-content: center; flex-direction: column; border-radius: 18px; background: var(--surface); box-shadow: var(--inset); }
.account-stat-grid strong { font-size: .9rem; }.account-stat-grid small { color: var(--muted); font-size: .53rem; }
.account-logout { margin-top: 19px; padding-top: 15px; border-top: 1px solid var(--line); }
.account-logout button { border: 0; color: var(--muted); background: transparent; font-size: .65rem; }
.account-logout button:hover { color: #c65d68; }
.account-content { min-width: 0; }
.account-heading { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.account-heading > div > span { color: var(--accent-deep); font-size: .59rem; font-weight: 850; letter-spacing: .2em; }
.account-heading h2 { margin: 5px 0 2px; font-size: 2.2rem; letter-spacing: -.055em; }.account-heading p { margin: 0; color: var(--muted); font-size: .68rem; }
.account-heading > a { padding: 10px 15px; border-radius: 12px; color: var(--accent-deep); background: var(--surface); box-shadow: var(--shadow-sm); font-size: .67rem; font-weight: 800; }
.account-submission-list { display: flex; flex-direction: column; gap: 14px; }
.account-submission { min-height: 116px; padding: 12px; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.account-submission > a { height: 92px; overflow: hidden; border-radius: 13px; background: var(--bg-deep); }
.account-submission img { width: 100%; height: 100%; object-fit: cover; }
.account-submission h3 { margin: 6px 0 3px; font-size: .9rem; }.account-submission p { margin: 0; color: var(--muted); font-size: .6rem; }
.submission-type-badge { padding: 4px 7px; border-radius: 7px; color: var(--accent-deep); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); font-size: .54rem; font-weight: 800; }
.account-status { margin-right: 12px; padding: 7px 10px; border-radius: 9px; font-size: .58rem; font-weight: 800; }
.account-status.pending { color: #8a66b7; background: #f0e8fa; }.account-status.published { color: #3c8167; background: #e5f3ed; }.account-status.hidden { color: #a27540; background: #fbf0e4; }
[data-theme="dark"] .account-status.pending { background: rgba(128,84,173,.25); }[data-theme="dark"] .account-status.published { background: rgba(55,125,95,.25); }[data-theme="dark"] .account-status.hidden { background: rgba(155,106,54,.25); }
.account-empty { min-height: 390px; padding: 35px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.account-empty > span { width: 66px; height: 66px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 20px; color: var(--accent-deep); box-shadow: var(--inset); font-size: 1.3rem; }
.account-empty h3 { margin: 0 0 5px; }.account-empty p { margin: 0 0 22px; color: var(--muted); font-size: .7rem; }

@media (max-width: 1120px) {
  .member-pill > strong { display: none; }
  .member-pill { width: 44px; padding: 0 6px; }
  .auth-dialog { grid-template-columns: 1fr; max-width: 680px; }
  .auth-visual { min-height: 280px; }
  .auth-visual h1 { font-size: 3.3rem; }
  .auth-steps { display: none; }
  .account-layout { grid-template-columns: 250px minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .member-pill { width: 39px; height: 39px; border-radius: 12px; }
  .member-pill > span { width: 29px; height: 29px; }
  .auth-page-section { padding: 18px 10px 60px; }
  .auth-dialog { border-radius: 23px; }
  .auth-visual { display: none; }
  .auth-form-panel { padding: 55px 22px 32px; }
  .auth-password-grid { grid-template-columns: 1fr; }
  .wallpaper-type-picker { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-profile { position: relative; top: auto; }
  .account-heading { align-items: flex-start; flex-direction: column; justify-content: center; }
  .account-submission { grid-template-columns: 105px minmax(0, 1fr); }
  .account-submission > a { height: 78px; }
  .account-status { grid-column: 2; justify-self: start; margin-top: -10px; }
}

/* V3.3 — AI creator batch publishing */
.submit-avatar-entry {
  margin-top: 20px !important;
  padding: 15px 16px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 2px 12px;
  border-radius: 16px;
  color: var(--text) !important;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  box-shadow: var(--inset);
}
.submit-avatar-entry > span { grid-row: 1 / 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--pink), var(--accent)); }
.submit-avatar-entry strong { font-size: .76rem; }.submit-avatar-entry small { color: var(--muted); font-size: .58rem; }
.submit-avatar-entry b { grid-column: 3; grid-row: 1 / 3; color: var(--accent-deep); font-size: .62rem; }
.submit-copyright-link { margin-top: 16px !important; }
.public-upload-drop { min-height: 190px; padding: 20px; gap: 15px; cursor: default; }
.public-upload-drop input { display: none; }
.public-upload-drop .upload-copy { width: 100%; padding: 8px; cursor: pointer; }
.public-upload-drop.has-file { min-height: 300px; padding: 16px; }
.public-upload-drop.has-file .upload-copy { position: static; padding: 10px; color: var(--text); background: transparent; backdrop-filter: none; }
.public-upload-drop.has-file .upload-symbol { display: grid; width: 34px; height: 34px; margin-bottom: 5px; font-size: 1rem; }
.public-upload-drop.has-file .upload-copy small { color: var(--muted); }
.public-upload-drop.drag-active { border-color: var(--accent-deep); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent), var(--inset); transform: scale(1.005); }
.upload-preview-grid { width: 100%; max-height: 405px; padding: 3px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; overflow: auto; }
.upload-preview-grid[hidden] { display: none; }
.upload-preview-card { position: relative; height: 145px; margin: 0; overflow: hidden; border-radius: 13px; background: #1b1e25; box-shadow: var(--shadow-sm); }
.upload-preview-card img { width: 100%; height: 100%; object-fit: contain; }
.upload-preview-card > span { position: absolute; right: 7px; bottom: 7px; padding: 4px 7px; border-radius: 7px; color: #fff; background: rgba(8,10,15,.62); font-size: .52rem; backdrop-filter: blur(8px); }
.upload-preview-card button { position: absolute; top: 6px; right: 6px; width: 27px; height: 27px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(10,12,18,.72); font-size: 1rem; line-height: 1; }
.upload-preview-card.preview-error { outline: 2px solid #d66b76; }
.auto-category-note { padding: 13px 15px; display: flex; gap: 11px; border-radius: 13px; color: var(--muted); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); box-shadow: var(--inset); }
.auto-category-note > span { color: var(--accent-deep); }.auto-category-note > div { display: flex; flex-direction: column; }
.auto-category-note strong { color: var(--text); font-size: .69rem; }.auto-category-note small { margin-top: 2px; font-size: .57rem; line-height: 1.6; }
.community-avatar-studio { padding: 24px; text-align: center; }
.community-avatar-studio > span { color: var(--accent-deep); font-size: .55rem; font-weight: 850; letter-spacing: .18em; }
.avatar-studio-orbit { position: relative; width: 88px; height: 88px; margin: 18px auto 12px; display: grid; place-items: center; border-radius: 50%; box-shadow: var(--inset); }
.avatar-studio-orbit::before, .avatar-studio-orbit i { content: ""; position: absolute; border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent); border-radius: 50%; }
.avatar-studio-orbit::before { inset: 12px; }.avatar-studio-orbit i { inset: 23px; }
.avatar-studio-orbit b { position: relative; z-index: 1; color: var(--accent-deep); font-size: .85rem; }
.community-avatar-studio h2 { margin: 0 0 5px; font-size: 1rem; }.community-avatar-studio p { margin: 0 auto 15px; max-width: 250px; color: var(--muted); font-size: .62rem; line-height: 1.7; }
.community-avatar-studio > a { min-height: 40px; padding: 0 18px; display: inline-flex; align-items: center; gap: 15px; border-radius: 20px; color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); font-size: .65rem; font-weight: 800; }.community-avatar-studio > a b { color: var(--accent-deep); }

/* V3.3 — immersive AI artwork detail */
body.detail-page { color: #f5f5f7; background: #0b0c0e; }
body.detail-page::before { background: radial-gradient(circle at 18% 15%, rgba(116,91,150,.22), transparent 30%), radial-gradient(circle at 82% 34%, rgba(48,83,109,.18), transparent 32%), linear-gradient(180deg, #313234 0, #17181a 52%, #08090a 100%); }
body.detail-page .site-header { border-color: rgba(255,255,255,.07); background: rgba(28,29,31,.78); }
body.detail-page .brand-mark, body.detail-page .desktop-nav a.active, body.detail-page .icon-button, body.detail-page .header-publish, body.detail-page .member-pill { color: #e9e9ed; background: #2b2c2f; box-shadow: 7px 7px 15px rgba(0,0,0,.34), -5px -5px 13px rgba(86,87,90,.2); }
body.detail-page .brand small, body.detail-page .desktop-nav a, body.detail-page .header-search input, body.detail-page .header-search kbd { color: #a9aaaf; }
body.detail-page .header-search { background: #26272a; box-shadow: inset 5px 5px 10px rgba(0,0,0,.38), inset -4px -4px 9px rgba(76,77,81,.2); }
body.detail-page .site-footer { border-color: rgba(255,255,255,.07); background: #090a0b; }
.creator-detail-section { min-height: 900px; padding: 28px 0 78px; }
.creator-detail-shell { max-width: 1420px; }
.creator-breadcrumbs { margin: 0 0 25px; display: flex; align-items: center; gap: 9px; color: #8f9095; font-size: .7rem; }
.creator-breadcrumbs a:hover { color: #fff; }
.creator-detail-grid { display: grid; grid-template-columns: minmax(520px, 1.13fr) minmax(390px, .87fr); align-items: start; gap: clamp(34px, 6vw, 95px); }
.creator-preview-workbench { position: relative; min-height: 730px; padding: 28px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.06); border-radius: 25px; background: linear-gradient(145deg, #3b3c3e, #252628); box-shadow: 18px 18px 35px rgba(0,0,0,.48), -10px -10px 26px rgba(91,92,95,.18); }
.creator-preview-workbench::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.07), transparent 36%), radial-gradient(circle at 50% 100%, rgba(139,96,160,.16), transparent 42%); }
.creator-device-frame { position: relative; z-index: 1; overflow: hidden; background: #111214; box-shadow: 12px 16px 28px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.08); }
.creator-preview-workbench.is-phone .creator-device-frame { width: min(390px, 78%); height: 670px; padding: 7px; border: 2px solid #070809; border-radius: 39px; }
.creator-preview-workbench.is-phone .creator-device-frame > img { width: 100%; height: 100%; border-radius: 32px; object-fit: cover; }
.phone-status { position: absolute; top: 15px; right: 0; left: 0; z-index: 2; height: 38px; display: flex; justify-content: center; color: #fff; font-size: 2.15rem; font-weight: 750; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.phone-status i { position: absolute; top: -2px; left: 50%; width: 100px; height: 24px; border-radius: 14px; background: #030304; transform: translateX(-50%); }
.phone-status span { position: absolute; top: 65px; }
.phone-home-bar { position: absolute; right: 50%; bottom: 14px; z-index: 2; width: 120px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.85); transform: translateX(50%); }
.creator-preview-workbench.is-desktop { min-height: 610px; }
.creator-preview-workbench.is-desktop .creator-device-frame { width: 96%; max-width: 880px; padding: 8px; border: 2px solid #101113; border-radius: 22px; }
.creator-preview-workbench.is-desktop .creator-device-frame > img { width: 100%; max-height: 650px; border-radius: 15px; object-fit: contain; }
.desktop-camera { position: absolute; top: 4px; left: 50%; z-index: 2; width: 7px; height: 7px; border-radius: 50%; background: #050506; transform: translateX(-50%); }
.creator-fullscreen { position: absolute; top: 20px; right: 20px; z-index: 3; width: 45px; height: 45px; display: grid; place-items: center; border: 0; border-radius: 14px; color: #fff; background: rgba(20,21,23,.56); backdrop-filter: blur(12px); }
.creator-fullscreen svg, .creator-action-icon svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.creator-detail-aside { position: sticky; top: 112px; min-width: 0; padding-top: 8px; }
.creator-heading { margin-bottom: 20px; }.creator-category { display: inline-flex; padding: 6px 11px; border-radius: 8px; color: #d8c8ef; background: rgba(255,255,255,.07); font-size: .65rem; font-weight: 750; }
.creator-heading h1 { margin: 14px 0 8px; font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: 1.04; letter-spacing: -.06em; }
.creator-heading p { margin: 0; color: #a8a8ad; font-size: .78rem; line-height: 1.8; }
.creator-meta-card { padding: 19px 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; border: 1px solid rgba(255,255,255,.05); border-radius: 20px; background: #2b2c2f; box-shadow: inset 4px 4px 9px rgba(0,0,0,.35), inset -4px -4px 9px rgba(83,84,87,.18), 14px 14px 30px rgba(0,0,0,.35); }
.creator-meta-card > div { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.creator-meta-card > div:nth-last-child(-n+2) { border-bottom: 0; }.creator-meta-card span { color: #a8a8ad; font-size: .66rem; }.creator-meta-card strong { font-size: .7rem; }
.creator-meta-card strong i { width: 14px; height: 14px; display: inline-block; margin-right: 6px; border-radius: 50%; vertical-align: -2px; background: linear-gradient(135deg, #ce5fd7, #6945dc); box-shadow: 0 0 10px rgba(199,80,219,.7); }
.creator-author-card { margin: 18px 0; padding: 0 8px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.18); }
.creator-author-avatar { position: relative; width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border: 3px solid #eee; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #8667bb, #c481a2); font-size: .9rem; font-weight: 850; }
.creator-author-avatar i { position: absolute; right: -4px; bottom: -2px; width: 17px; height: 17px; display: grid; place-items: center; border: 2px solid #292a2d; border-radius: 50%; background: #ed5d83; font-size: .7rem; font-style: normal; }
.creator-author-card > div { min-width: 0; display: flex; flex-direction: column; }.creator-author-card strong { font-size: .78rem; }.creator-author-card small { margin-top: 3px; overflow: hidden; color: #9d9da2; font-size: .57rem; text-overflow: ellipsis; white-space: nowrap; }
.creator-real-metrics { margin: 0 0 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.creator-real-metrics span { min-height: 57px; display: flex; align-items: center; justify-content: center; flex-direction: column; border-radius: 14px; background: #28292c; box-shadow: inset 4px 4px 8px rgba(0,0,0,.34), inset -3px -3px 7px rgba(77,78,82,.18); }
.creator-real-metrics b { font-size: .82rem; }.creator-real-metrics small { color: #96979c; font-size: .54rem; }
.creator-actions { margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.creator-actions form { margin: 0; display: flex; }
.creator-download { min-height: 48px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; border: 2px solid #fff; border-radius: 24px; color: #fff; background: #111214; box-shadow: 0 0 0 3px rgba(255,255,255,.08), 8px 8px 18px rgba(0,0,0,.4); font-size: .74rem; font-weight: 850; }
.creator-action-icon { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; color: #fff; background: #27282b; box-shadow: 7px 7px 15px rgba(0,0,0,.36), -4px -4px 12px rgba(79,80,83,.17); font-size: 1.35rem; }
.creator-action-icon.active { color: #ff7793; border-color: #ff7793; background: #3b252c; }.creator-action-icon.like.active { color: #ff829e; }
.creator-license-note { padding: 17px 19px; border: 1px dashed rgba(255,255,255,.16); border-radius: 17px; background: rgba(20,21,23,.55); }
.creator-license-note strong { font-size: .74rem; }.creator-license-note p { margin: 5px 0 8px; color: #a0a1a6; font-size: .61rem; line-height: 1.65; }.creator-license-note a { color: #d8c8ef; font-size: .61rem; font-weight: 800; }
.creator-post-set, .creator-tags, .creator-comments { margin-top: 42px; }
.creator-post-set header span, .creator-comments header span, .creator-related header span { color: #bda7de; font-size: .58rem; font-weight: 850; letter-spacing: .2em; }
.creator-post-set h2, .creator-tags h2, .creator-comments h2, .creator-related h2 { margin: 4px 0 15px; font-size: 1.25rem; }.creator-post-set h2 small, .creator-comments h2 small { color: #929399; font-size: .65rem; }
.creator-post-set > div { display: flex; gap: 12px; padding-bottom: 8px; overflow-x: auto; }
.creator-post-set a { position: relative; width: 145px; height: 96px; flex: 0 0 auto; padding: 5px; overflow: hidden; border: 1px solid transparent; border-radius: 14px; background: #26272a; box-shadow: 7px 7px 15px rgba(0,0,0,.35); }
.creator-post-set a.active { border-color: #bda7de; }.creator-post-set img { width: 100%; height: 100%; border-radius: 9px; object-fit: cover; }.creator-post-set a > span { position: absolute; right: 9px; bottom: 8px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.65); font-size: .55rem; }
.creator-tags > div { display: flex; flex-wrap: wrap; gap: 10px; }.creator-tags a { padding: 8px 13px; border-radius: 18px; color: #e1e1e5; background: #2b2c2f; box-shadow: 5px 5px 11px rgba(0,0,0,.32), -3px -3px 8px rgba(76,77,80,.15); font-size: .66rem; }
.creator-comments { padding: 26px; border: 1px solid rgba(255,255,255,.06); border-radius: 22px; background: #202123; box-shadow: 14px 14px 30px rgba(0,0,0,.4); }
.creator-comments > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }.creator-comments > header a { color: #9b9ca1; font-size: .64rem; }
.creator-comment-list { display: flex; flex-direction: column; gap: 10px; }.creator-comment-list article { padding: 13px; display: flex; gap: 11px; border-radius: 14px; background: #292a2d; }.creator-comment-list article > span { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: #756596; font-size: .65rem; font-weight: 800; }.creator-comment-list article > div { min-width: 0; flex: 1; }.creator-comment-list strong { display: flex; justify-content: space-between; gap: 12px; font-size: .66rem; }.creator-comment-list small { color: #85868b; font-size: .54rem; font-weight: 500; }.creator-comment-list p { margin: 5px 0 0; color: #c5c5c9; font-size: .66rem; }
.creator-comment-empty { padding: 24px; border-radius: 14px; color: #8e8f94; background: #28292c; text-align: center; font-size: .68rem; }
.creator-comment-form { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 10px; }.creator-comment-form textarea { min-width: 0; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; outline: 0; color: #fff; background: #292a2d; resize: vertical; }.creator-comment-form button { border: 0; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #8066b3, #5b5ec5); font-weight: 800; }.creator-comment-login { color: #cbb8e5; font-size: .68rem; font-weight: 800; }
.creator-related { padding: 5px 0 85px; color: #f5f5f7; background: #090a0b; }.creator-related header { margin-bottom: 18px; }.creator-related .wallpaper-card { border-color: rgba(255,255,255,.06); background: #202123; box-shadow: 10px 10px 24px rgba(0,0,0,.44); }.creator-related .card-body p { color: #929399; }
body.detail-page .lightbox { background: rgba(3,4,5,.94); }

@media (max-width: 1100px) {
  .creator-detail-grid { grid-template-columns: 1fr; }
  .creator-detail-aside { position: relative; top: auto; max-width: 820px; }
  .creator-preview-workbench { min-height: 670px; }
}

@media (min-width: 701px) and (max-width: 980px) {
  .community-avatar-studio { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .upload-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .upload-preview-card { height: 125px; }
  .submit-avatar-entry { grid-template-columns: 38px 1fr; }.submit-avatar-entry b { grid-column: 2; grid-row: 3; margin-top: 6px; }
  .community-avatar-studio { margin-top: 12px; padding: 18px; display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 2px 13px; text-align: left; }
  .community-avatar-studio > span { grid-column: 2; }.avatar-studio-orbit { grid-column: 1; grid-row: 1 / 4; width: 62px; height: 62px; margin: 0; }.community-avatar-studio h2 { grid-column: 2; }.community-avatar-studio p { grid-column: 2; margin: 0; }.community-avatar-studio > a { grid-column: 3; grid-row: 1 / 4; padding: 0 12px; }.community-avatar-studio > a b { display: none; }
  body.detail-page .site-header { position: relative; }
  .creator-detail-section { padding: 14px 0 45px; }
  .creator-breadcrumbs { overflow: hidden; white-space: nowrap; }
  .creator-detail-grid { gap: 25px; }
  .creator-preview-workbench { min-height: 510px; padding: 14px; border-radius: 19px; }
  .creator-preview-workbench.is-phone .creator-device-frame { width: min(285px, 83vw); height: 490px; border-radius: 31px; }
  .creator-preview-workbench.is-phone .creator-device-frame > img { border-radius: 25px; }
  .phone-status { top: 12px; font-size: 1.65rem; }.phone-status i { width: 78px; height: 20px; }.phone-status span { top: 48px; }
  .phone-home-bar { bottom: 11px; width: 90px; }
  .creator-preview-workbench.is-desktop { min-height: 280px; }.creator-preview-workbench.is-desktop .creator-device-frame { width: 100%; }
  .creator-fullscreen { top: 12px; right: 12px; width: 39px; height: 39px; }
  .creator-heading h1 { font-size: 2.35rem; }
  .creator-meta-card { grid-template-columns: 1fr; }.creator-meta-card > div:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .creator-real-metrics { gap: 5px; }.creator-real-metrics span { min-height: 52px; }
  .creator-actions { display: grid; grid-template-columns: 1fr repeat(3, 46px); gap: 8px; }.creator-download { min-width: 0; padding: 0 12px; }.creator-action-icon { width: 46px; height: 46px; }
  .creator-post-set, .creator-tags, .creator-comments { margin-top: 30px; }
  .creator-comments { padding: 17px 13px; }.creator-comments > header { align-items: flex-start; flex-direction: column; }.creator-comment-form { grid-template-columns: 1fr; }.creator-comment-form button { min-height: 44px; }
}
