:root {
  --ink: #181c32;
  --muted: #85899f;
  --red: #ff3557;
  --orange: #ff981b;
  --line: rgba(131, 132, 164, 0.14);
  --glass: rgba(255, 255, 255, 0.76);
  --shadow: 0 8px 32px rgba(114, 95, 126, 0.055);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 0 10%, #ffe6ef 0, transparent 35%),
    radial-gradient(ellipse at 100% 20%, #e1f1ff 0, transparent 45%),
    linear-gradient(150deg, #fff8f3, #f7f6fc 55%, #edf8ff);
  font:
    14px/1.65 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
a:hover {
  color: var(--red);
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #ffc76a;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
h3 {
  font-size: 15px;
  margin-bottom: 7px;
}
p {
  color: var(--muted);
}
img {
  max-width: 100%;
  object-fit: cover;
}
.glass,
.panel {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.panel {
  padding: 24px;
  border-radius: 22px;
}
.container {
  max-width: 1280px;
  margin: auto;
  padding: 0 28px;
}
.header {
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  border-radius: 0 0 26px 26px;
  gap: 20px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-brand > a {
  width: 132px;
  height: 88px;
  display: block;
  overflow: hidden;
}
.nav-brand img {
  width: 132px;
  height: 106px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: translateY(-10px);
}
.slogan {
  font-size: 12px;
  color: #7e8097;
  letter-spacing: 1px;
}
nav {
  display: flex;
  gap: 26px;
  margin-top: 13px;
  font-weight: 650;
  white-space: nowrap;
}
nav a:first-child {
  color: var(--red);
}
.header-tools {
  display: flex;
  gap: 16px;
  align-items: center;
}
.header-tools input {
  border: 0;
  background: #fff9;
  padding: 10px 15px;
  border-radius: 25px;
  width: 205px;
  font-size: 12px;
}
.account {
  display: flex;
  gap: 17px;
  align-items: center;
  white-space: nowrap;
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(110deg, #ff644f, #ff2b60);
  color: white !important;
  border: 0;
  border-radius: 25px;
  padding: 10px 24px;
  font-weight: 650;
  box-shadow: 0 6px 15px #ff385224;
  gap: 6px;
}
.btn.small {
  padding: 7px 21px;
}
.secondary {
  display: inline-flex;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 9px 17px;
  color: var(--ink);
  gap: 8px;
  align-items: center;
}
.hero {
  height: 334px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 25px 24px;
  overflow: hidden;
}
.hero-copy {
  z-index: 1;
  flex: 1;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: #9c7270;
  margin-bottom: 13px;
}
.eyebrow span {
  color: #ffa300;
}
.hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 950;
  letter-spacing: -2px;
  line-height: 1.2;
  margin-bottom: 18px;
  font-style: italic;
}
.hero h1 strong {
  color: #ff3d3e;
  display: inline-block;
  margin-left: 12px;
  text-shadow: 3px 3px 0 #fff;
  font-weight: 950;
}
.hero-copy > p {
  letter-spacing: 7px;
  font-size: 17px;
  color: #555b78;
  margin-bottom: 26px;
}
.hero-logo {
  width: 320px;
  height: 320px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: rotate(-3deg);
  z-index: 1;
}
.hero-spark {
  position: absolute;
  color: #ffc765;
  font-size: 100px;
  left: 48%;
  top: 30px;
  opacity: 0.4;
}
.hero-stats {
  display: flex;
  gap: 12px;
}
.hero-stats > span {
  display: flex;
  align-items: center;
  font-size: 26px;
  background: #fff7;
  padding: 12px 15px;
  border-radius: 16px;
  gap: 10px;
  backdrop-filter: blur(6px);
}
.hero-stats div {
  font-size: 11px;
}
.hero-stats b {
  font-size: 17px;
  color: #ff3e49;
}
.hero-stats small {
  display: block;
  color: #858499;
  font-size: 11px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
  gap: 10px;
}
.section-title h2 {
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.section-title h2 > span {
  font-size: 28px;
}
.section-title p {
  font-size: 12px;
  margin: 2px 0 0 38px;
}
.section-title > a {
  font-size: 12px;
  color: #e94557;
  white-space: nowrap;
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.entry {
  text-align: center;
  padding: 15px 8px 11px;
  border-radius: 17px;
  --c: #ffab09;
  background: linear-gradient(160deg, #fff5d8, #fff0d5);
}
.entry.blue {
  --c: #0099ff;
  background: linear-gradient(150deg, #dcf6ff, #dfefff);
}
.entry.red {
  --c: #ff444e;
  background: linear-gradient(150deg, #ffe6e9, #ffe9da);
}
.entry.green {
  --c: #00c895;
  background: linear-gradient(150deg, #d5fbeb, #e6f8e7);
}
.entry.pink {
  --c: #ff548b;
  background: linear-gradient(150deg, #ffe1ee, #fff1f6);
}
.entry.purple {
  --c: #8a66ff;
  background: linear-gradient(150deg, #ece0ff, #ecedff);
}
.entry-icon {
  font-size: 36px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: auto auto 8px;
  background: #ffffff66;
  border-radius: 20px;
  box-shadow: 0 6px 12px #65688712;
}
.entry-icon img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.entry h3 {
  font-size: 14px;
}
.entry p {
  font-size: 11px;
  line-height: 1.5;
  min-height: 34px;
  margin-bottom: 10px;
  color: #72788c;
}
.entry > a,
.entry-disabled {
  display: inline-block;
  border-radius: 20px;
  background: var(--c);
  padding: 5px 13px;
  color: white;
  font-size: 11px;
  white-space: nowrap;
}
.entry-disabled {
  background: #fff8;
  color: #8c8390;
}
.banner-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 20px;
  margin: 20px 10px;
}
.campaign-banner {
  border-radius: 22px;
  background:
    radial-gradient(at 90% 5%, #b5ddec, transparent 50%),
    linear-gradient(110deg, #b4eabf, #f3f4cf);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}
.campaign-banner h2 {
  font-size: 29px;
  color: #126646;
  font-style: italic;
  letter-spacing: -1px;
  margin-bottom: 9px;
}
.campaign-banner p {
  color: #46765c;
  margin-bottom: 15px;
}
.campaign-banner .eyebrow {
  color: #558864;
}
.banner-art {
  font-size: 95px;
  position: relative;
  transform: rotate(-10deg);
  line-height: 1;
}
.banner-art span {
  position: absolute;
  top: -25px;
  right: -10px;
  font-size: 32px;
  color: #f5c447;
}
.welcome {
  display: flex;
  align-items: center;
  padding: 20px;
}
.welcome h2 {
  font-size: 19px;
}
.welcome > span {
  font-size: 67px;
}
.welcome p {
  font-size: 12px;
}
.welcome .btn {
  font-size: 12px;
  padding: 8px 16px;
}
.content-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 22px;
}
.feed-section > .section-title {
  padding: 0 10px;
  margin-bottom: 10px;
}
.filter-tabs {
  display: flex;
  gap: 15px;
  align-items: center;
  overflow: auto;
  white-space: nowrap;
  margin: 0 0 14px;
  padding: 0 7px;
  font-size: 12px;
}
.filter-tabs a {
  padding: 5px 10px;
}
.filter-tabs .selected {
  background: var(--red);
  color: white;
  border-radius: 18px;
}
.deal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.deal-card {
  background: var(--glass);
  border: 1px solid #fff;
  border-radius: 18px;
  padding: 9px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.deal-cover {
  height: 125px;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.deal-cover > img {
  width: 100%;
  height: 100%;
  transition: transform 0.2s;
}
.deal-cover:hover > img {
  transform: scale(1.04);
}
.no-cover {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(135deg, #ffe6d2, #f8e8f4);
  font-size: 39px;
}
.no-cover small {
  font-size: 10px;
  color: #a68480;
}
.category-label {
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(90deg, #ff7b37, #ffae69);
  color: #fff;
  padding: 3px 7px;
  border-radius: 10px 0 8px 0;
  font-size: 10px;
}
.deal-body {
  padding: 10px 3px 2px;
}
.deal-body h3 {
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}
.description {
  font-size: 11px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 8px;
}
.price {
  color: #ff3449;
  font-size: 20px;
  font-weight: 750;
  margin-bottom: 7px;
}
.price del {
  color: #9c9eb0;
  font-size: 11px;
  font-weight: 400;
}
.tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.tags span {
  background: #fff0f1;
  color: #b75c73;
  border-radius: 4px;
  font-size: 10px;
  padding: 1px 5px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.vote-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.vote-row button {
  border: 0;
  border-radius: 8px;
  background: #fff0d5;
  padding: 5px 7px;
  font-size: 10px;
  flex: 1;
  white-space: nowrap;
}
.vote-row button:nth-child(2) {
  background: #eef2ff;
}
.vote-row button:nth-child(3) {
  background: #fff1f7;
}
.empty {
  text-align: center;
  padding: 42px 16px;
}
.empty > span {
  font-size: 40px;
  color: #ffc95b;
}
.empty h3 {
  font-size: 18px;
  margin-top: 10px;
}
.empty p {
  font-size: 13px;
  max-width: 420px;
  margin: 0 auto 17px;
}
.empty a {
  font-size: 13px;
  color: #ed7552;
}
.content-columns aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.content-columns aside .panel {
  padding: 20px;
}
.rank-tabs {
  font-size: 12px;
  color: #ff4257;
  background: #fff4f5;
  padding: 6px 9px;
  border-radius: 14px;
}
.rank-tabs span {
  float: right;
  color: #9597a7;
}
.rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 12px;
}
.rank-row > b {
  background: #ff9640;
  border-radius: 5px;
  color: white;
  width: 19px;
  text-align: center;
}
.rank-row > span {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rank-row em {
  font-style: normal;
  color: #00b876;
  font-size: 11px;
}
.side-empty {
  font-size: 12px;
  padding: 25px 0;
  margin: 0;
}
.energy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 8px;
  text-align: center;
  font-size: 11px;
}
.energy-grid span {
  display: block;
  font-size: 27px;
  line-height: 1.6;
}
.community {
  background: linear-gradient(145deg, #fff1f1, #fffaf0);
}
.community h2 {
  font-size: 18px;
}
.community p {
  font-size: 12px;
}
.community a {
  color: #d77d58;
  font-weight: 600;
}
.latest {
  margin-top: 20px;
}
.latest-row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.latest-row b {
  font-size: 12px;
  color: #f16b59;
}
.promise {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto 25px;
  text-align: left;
}
.promise > span {
  font-size: 25px;
}
.promise b {
  font-size: 14px;
  margin-left: 6px;
}
.promise small {
  display: block;
  margin-left: 38px;
  font-size: 11px;
  color: var(--muted);
}
footer {
  padding: 35px 28px 22px;
  text-align: center;
  background: #fff5;
  margin-top: 30px;
}
footer p {
  font-size: 11px;
  margin: 5px;
}
.notice {
  background: #fff7df;
  border: 1px solid #f5dc97;
  color: #927a45;
  padding: 12px 18px;
  border-radius: 12px;
  margin: 10px 0 20px;
}
.page-heading {
  padding: 35px 5px 20px;
}
.page-heading h1 {
  margin-bottom: 7px;
  font-size: 30px;
}
.page-heading p {
  font-size: 13px;
}
.auth-card {
  max-width: 440px;
  margin: 45px auto;
}
.auth-card h1 {
  font-size: 26px;
  margin-bottom: 8px;
}
label {
  display: block;
  font-size: 12px;
  color: #71768a;
  font-weight: 600;
  margin-bottom: 14px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #e6e7ef;
  border-radius: 10px;
  background: #fff;
  padding: 11px 13px;
  outline: none;
  color: var(--ink);
}
input:focus,
textarea:focus,
select:focus {
  border-color: #ffa874;
  box-shadow: 0 0 0 3px #ffaf6a14;
}
input[type="checkbox"] {
  width: auto;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
label input,
label select,
label textarea {
  margin-top: 6px;
}
.auth-card .btn {
  width: 100%;
  margin-top: 8px;
}
.form-message {
  color: #e16a51;
  font-size: 13px;
  padding: 10px 0;
}
.captcha {
  display: flex;
  gap: 12px;
  align-items: center;
}
.captcha img {
  width: 140px;
  height: 48px;
}
.captcha button {
  padding: 0;
  border: 0;
  background: none;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 25px;
}
.detail-cover {
  max-height: 400px;
  display: block;
  margin: auto;
  border-radius: 16px;
}
.detail h1 {
  font-size: 30px;
}
.detail .price {
  font-size: 32px;
}
.detail .body-copy {
  white-space: pre-wrap;
  color: #555b70;
  line-height: 1.95;
}
.detail .actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 25px 0;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #25243855;
  backdrop-filter: blur(7px);
  display: grid;
  place-items: center;
  z-index: 100;
  padding: 20px;
}
.modal {
  width: min(780px, 100%);
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 30px 100px #24233c44;
  background: #fff;
}
.modal .secondary {
  margin-left: 8px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  color: #9296aa;
  font-size: 11px;
  font-weight: 500;
  background: #fafbfe;
}
td,
th {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td.title-cell {
  max-width: 320px;
  white-space: normal;
}
.badge {
  font-size: 11px;
  border-radius: 6px;
  padding: 3px 7px;
  background: #f1f3fc;
  color: #6f76a0;
}
.badge.green {
  background: #e6f8ef;
  color: #24a06c;
}
.badge.orange {
  background: #fff2dd;
  color: #b77c23;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.toolbar h2 {
  margin: 0;
}
.admin {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: 100vh;
  background: #f5f6fa;
}
.admin-sidebar {
  background: #fffc;
  border-right: 1px solid #eee;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  padding: 20px 15px;
}
.admin-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 20px;
}
.admin-logo img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.admin-logo b {
  display: block;
  font-size: 20px;
}
.admin-logo small {
  color: #999;
  font-size: 10px;
  letter-spacing: 2px;
}
.admin-sidebar .nav-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: #a1a5b4;
  padding: 15px 15px 6px;
}
.admin-sidebar a.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  font-size: 13px;
  border-radius: 11px;
  margin-bottom: 3px;
  color: #686d82;
}
.admin-sidebar a.nav-item.active {
  background: linear-gradient(90deg, #fff0e8, #fff8ee);
  color: #ee7d42;
  font-weight: 700;
}
.admin-main {
  min-width: 0;
}
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  background: #fffb;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: #7e8497;
}
.admin-topbar div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.admin-content {
  padding: 28px 30px;
  max-width: 1500px;
  margin: auto;
}
.admin-content h1 {
  font-size: 25px;
  margin-bottom: 7px;
}
.admin-content > .muted {
  margin-bottom: 25px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 25px 0;
}
.metric {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #edf0f5;
}
.metric small {
  color: #9399ab;
}
.metric b {
  font-size: 29px;
  display: block;
  margin: 9px 0;
  color: #30364b;
}
.metric > span {
  font-size: 11px;
  color: #6ba18b;
}
.metric-icon {
  float: right;
  font-size: 22px;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
.chart {
  height: 185px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}
.chart i {
  flex: 1;
  background: linear-gradient(#ffac7d, #ffd9bf);
  min-height: 2px;
  border-radius: 4px 4px 0 0;
}
.chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #a0a5b5;
  padding-top: 8px;
}
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quick-actions a {
  padding: 17px;
  border: 1px solid #eef0f6;
  border-radius: 12px;
  font-size: 12px;
  background: #fafbfe;
}
.activity {
  font-size: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f1f6;
}
.activity small {
  color: #a4a9b8;
  margin-right: 10px;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.platform-card {
  padding: 22px;
  border: 1px solid #e8ebf3;
  border-radius: 17px;
  background: white;
  text-align: left;
}
.platform-card.selected {
  border-color: #ffad6d;
  background: #fff8f2;
}
.platform-card h3 {
  font-size: 17px;
}
.platform-card small {
  display: block;
  color: #989bab;
  margin-top: 10px;
}
.platform-card .platform-icon {
  float: right;
  font-size: 20px;
  background: #fff0df;
  padding: 4px 12px;
  border-radius: 10px;
  color: #e88035;
}
.button-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.button-row button {
  font-size: 11px;
  border: 0;
  border-radius: 6px;
  background: #fff1e8;
  color: #b0794e;
  padding: 5px 9px;
}
.editor-help {
  padding: 12px;
  background: #fff7e8;
  font-size: 12px;
  color: #a28660;
  border-radius: 10px;
  margin-bottom: 18px;
}
.mobile-only {
  display: none;
}
code {
  background: #f4f5f8;
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 12px;
}
pre {
  white-space: pre-wrap;
  font-size: 12px;
}
.loading {
  padding: 60px;
  text-align: center;
  color: #a1a5b4;
}
@media (min-width: 1400px) {
  .hero-logo {
    margin-right: 55px;
  }
  .hero-copy {
    padding-left: 15px;
  }
}
@media (max-width: 1150px) {
  .header {
    padding: 12px 22px;
  }
  .nav-brand {
    gap: 15px;
  }
  nav {
    gap: 17px;
  }
  .header-tools form {
    display: none;
  }
  .hero-logo {
    width: 280px;
    height: 280px;
  }
  .hero-stats > span {
    padding: 10px;
  }
  .entry-grid {
    gap: 8px;
  }
  .content-columns {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .deal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .welcome > span {
    font-size: 47px;
  }
  .admin {
    grid-template-columns: 205px minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  .container {
    padding: 0 16px;
  }
  .header {
    padding: 9px 16px;
    flex-wrap: wrap;
    gap: 4px;
  }
  .nav-brand {
    display: contents;
  }
  .nav-brand > a {
    width: 95px;
    height: 64px;
  }
  .nav-brand img {
    width: 95px;
    height: 78px;
    transform: translateY(-7px);
  }
  .nav-brand > div {
    order: 3;
    width: 100%;
    overflow: auto;
  }
  .slogan {
    display: none;
  }
  nav {
    margin: 4px 0 2px;
    justify-content: space-between;
    gap: 22px;
    font-size: 12px;
    padding-bottom: 8px;
  }
  .header-tools {
    margin-left: auto;
  }
  .hero {
    height: 285px;
    padding: 25px 6px;
  }
  .hero-logo {
    width: 185px;
    height: 185px;
    position: absolute;
    right: -10px;
    top: 10px;
    opacity: 0.95;
  }
  .hero-copy {
    align-self: flex-end;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .hero h1 {
    font-size: 32px;
    width: 65%;
    margin-bottom: 13px;
  }
  .hero h1 strong {
    margin-left: 0;
    display: block;
  }
  .hero-copy > p {
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 20px;
  }
  .hero-stats {
    gap: 6px;
  }
  .hero-stats > span {
    padding: 9px 8px;
    font-size: 20px;
    flex: 1;
  }
  .hero-stats b {
    font-size: 13px;
  }
  .hero-stats small {
    font-size: 9px;
  }
  .hero-stats div {
    font-size: 9px;
  }
  .panel {
    padding: 18px;
    border-radius: 19px;
  }
  .section-title h2 {
    font-size: 17px;
  }
  .section-title h2 > span {
    font-size: 22px;
  }
  .section-title p {
    font-size: 10px;
    margin-left: 0;
  }
  .section-title > a {
    font-size: 10px;
  }
  .entry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .entry {
    padding: 10px 5px;
  }
  .entry-icon {
    width: 46px;
    height: 46px;
    font-size: 28px;
    border-radius: 15px;
  }
  .entry h3 {
    font-size: 12px;
  }
  .entry p {
    font-size: 10px;
    min-height: 30px;
  }
  .entry > a,
  .entry-disabled {
    font-size: 10px;
    padding: 4px 8px;
  }
  .banner-row {
    grid-template-columns: 1fr;
    margin: 14px 0;
    gap: 12px;
  }
  .campaign-banner {
    padding: 22px;
  }
  .campaign-banner h2 {
    font-size: 24px;
  }
  .banner-art {
    font-size: 68px;
  }
  .welcome {
    display: none;
  }
  .content-columns {
    grid-template-columns: 1fr;
  }
  .content-columns aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .content-columns aside .community {
    grid-column: 1/-1;
  }
  .deal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .deal-cover {
    height: 135px;
  }
  .deal-body h3 {
    font-size: 13px;
  }
  .hero-spark {
    display: none;
  }
  .promise {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .promise b {
    font-size: 12px;
  }
  .promise > span {
    font-size: 20px;
  }
  .promise small {
    font-size: 9px;
    margin-left: 28px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail h1 {
    font-size: 25px;
  }
  .detail-layout aside {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .admin {
    display: block;
  }
  .admin-sidebar {
    height: auto;
    position: relative;
    padding: 8px 12px;
  }
  .admin-logo {
    padding: 0;
  }
  .admin-logo img {
    width: 40px;
    height: 40px;
  }
  .admin-sidebar .nav-label {
    display: none;
  }
  .admin-sidebar nav {
    display: flex;
    overflow: auto;
    justify-content: flex-start;
  }
  .admin-sidebar a.nav-item {
    white-space: nowrap;
    font-size: 11px;
    padding: 7px 10px;
  }
  .admin-sidebar a.nav-item span {
    display: none;
  }
  .admin-content {
    padding: 20px 15px;
  }
  .admin-topbar {
    padding: 12px 16px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .metric {
    padding: 15px;
  }
  .metric b {
    font-size: 24px;
  }
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }
  .platform-card {
    padding: 15px;
  }
  .platform-card h3 {
    font-size: 14px;
  }
  .platform-card .platform-icon {
    font-size: 14px;
    padding: 3px 8px;
  }
  .modal {
    padding: 18px;
  }
  .auth-card {
    margin: 25px auto;
  }
  .page-heading {
    padding-top: 25px;
  }
}
.ad-slot {
  margin: 16px 0;
  padding: 12px;
}
.ad-slot > small {
  display: block;
  text-align: right;
  font-size: 10px;
}
.ad-slot iframe {
  width: 100%;
  border: 0;
  min-height: 120px;
}
.ad-slot img {
  width: 100%;
  max-height: 220px;
  border-radius: 12px;
}
.banner-art img {
  width: 150px;
  height: 135px;
  object-fit: contain;
}
.device-mobile {
  display: none;
}
@media (max-width: 767px) {
  .device-mobile {
    display: block;
  }
  .device-pc {
    display: none;
  }
  .admin-sidebar nav {
    display: flex !important;
  }
  .entry-grid > div {
    min-width: 0;
  }
}
.content-columns > div,
.content-columns > aside {
  min-width: 0;
}
.filter-tabs {
  max-width: 100%;
}
@media (max-width: 800px) {
  .content-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .content-columns aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .content-columns aside {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Reference artwork: original asset rendered through individual viewports. */
.reference-art {
  display: inline-block;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  vertical-align: middle;
  width: 38px;
}
.reference-art > img {
  position: absolute;
  height: auto;
  object-fit: initial;
  border-radius: 0;
  transform: none;
  mix-blend-mode: normal;
  pointer-events: none;
}
body:has(.reference-home) {
  --ink: #0c1122;
  --muted: #7480a1;
  background:
    radial-gradient(ellipse at 6% 26%, #ffe0df, transparent 37%),
    radial-gradient(ellipse at 94% 12%, #d6eeff, transparent 40%),
    linear-gradient(135deg, #fff0f5, #f4f5ff 60%, #eaf6ff);
}
body:has(.reference-home) .container {
  max-width: 1280px;
  padding: 0 24px;
}
.header.glass {
  background:
    radial-gradient(ellipse at 77% 0%, #ffe0ef 0%, transparent 42%),
    radial-gradient(ellipse at 100% 100%, #d8efff 0%, transparent 45%),
    linear-gradient(105deg, #ffebf2 0%, #f6f4ff 38%, #eff6ff 62%, #f8edf8 100%);
  backdrop-filter: none;
  color: #101526;
  max-width: 1280px;
  height: 86px;
  padding: 10px 40px;
  position: relative;
  border: 0;
  box-shadow: none;
  align-items: flex-start;
}
.header .nav-brand {
  gap: 30px;
}
.header .nav-brand > a {
  flex-shrink: 0;
  width: 140px;
  height: 67px;
}
.header .nav-brand .reference-art {
  width: 140px;
}
.header .slogan {
  color: #707d9d;
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.3px;
}
.header nav {
  gap: 23px;
  margin-top: 17px;
  font-size: 13px;
}
.header nav a {
  color: #101526;
  padding-bottom: 9px;
}
.header nav a[aria-current="page"] {
  color: #ff173c;
  border-bottom: 2px solid #ff2444;
}
.header .header-tools {
  position: absolute;
  right: 24px;
  top: 16px;
  gap: 10px;
}
.header .header-tools form {
  display: block;
}
.header .header-tools input {
  width: 224px;
  height: 34px;
}
.header .account {
  gap: 10px;
  font-size: 12px;
}
.header .account > a {
  color: #44243c;
  background: #fffc;
  padding: 7px 22px;
  border-radius: 22px;
}
.header .account > .btn {
  background: linear-gradient(120deg, #ff4268, #ff1745);
}
.reference-home .hero {
  height: 276px;
  padding: 24px 5.9%;
  overflow: visible;
}
.reference-home .hero-copy {
  flex: none;
  width: 56%;
}
.reference-home .hero h1 {
  font-size: clamp(38px, 5.3vw, 64px);
  white-space: nowrap;
  letter-spacing: -3px;
  margin-bottom: 3px;
  line-height: 1.45;
}
.reference-home .hero h1 strong {
  margin-left: 7px;
  text-shadow: 2px 3px #fff;
}
.reference-home .hero-copy > p {
  font-size: 18px;
  letter-spacing: 7px;
  margin-bottom: 18px;
}
.reference-home .hero-mascot {
  position: absolute;
  right: -6px;
  top: 2px;
  width: 46%;
  border-radius: 0 0 25px 45px;
  mix-blend-mode: multiply;
}
.reference-home .hero-stats {
  gap: 7px;
  position: relative;
  z-index: 2;
}
.reference-home .hero-stats > span {
  min-width: 0;
  flex: 1;
  padding: 10px;
  gap: 7px;
  border-radius: 15px;
}
.reference-home .hero-stats .reference-art {
  width: 33px;
  mix-blend-mode: multiply;
}
.reference-home .hero-stats b {
  font-size: 16px;
}
.reference-home .panel {
  border-radius: 20px;
  box-shadow: none;
}
.reference-home .coupons {
  padding: 16px 13px 12px;
}
.reference-home .coupons .section-title {
  padding: 0 6px;
  margin-bottom: 10px;
}
.reference-home .section-title h2 {
  font-size: 20px;
  gap: 10px;
}
.reference-home .section-title em {
  font-style: normal;
  color: #0076ff;
}
.reference-home .section-title h2 > span {
  line-height: 1;
}
.reference-home .section-title p {
  margin-left: 51px;
}
.reference-home .coupons .section-title > a {
  background: #fffc;
  padding: 6px 17px;
  border-radius: 22px;
  color: #ff2348;
}
.reference-home .entry-grid {
  gap: 9px;
}
.reference-home .entry {
  padding: 9px 6px 10px;
  border-radius: 17px;
}
.reference-home .entry-icon {
  width: 64px;
  height: 64px;
  background: none;
  box-shadow: none;
  margin-bottom: 0;
}
.reference-home .entry-icon .reference-art {
  width: 64px;
  border-radius: 13px;
  mix-blend-mode: multiply;
}
.reference-home .entry h3 {
  font-size: 14px;
  margin-bottom: 3px;
}
.reference-home .entry p {
  font-size: 12px;
  min-height: 36px;
  margin-bottom: 8px;
}
.reference-home .entry > a,
.reference-home .entry-disabled {
  width: 92%;
  padding: 5px 4px;
  font-size: 12px;
}
.reference-home .entry > a {
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--c), white 20%),
    var(--c)
  );
  box-shadow: 0 4px 9px color-mix(in srgb, var(--c), transparent 80%);
}
.reference-home .entry.orange:nth-child(6) {
  --c: #ff761c;
  background: #ffe8df;
}
.reference-home .banner-row {
  grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr);
  margin: 12px 0;
  gap: 22px;
}
.reference-home .campaign-banner {
  height: 152px;
  padding: 15px 28px;
  position: relative;
  background: linear-gradient(115deg, #a1e4ba, #e7f3b7 63%, #a2e3e7);
}
.reference-home .campaign-banner > div:first-child {
  position: relative;
  z-index: 1;
}
.reference-home .campaign-banner h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 4px;
  font-weight: 950;
}
.reference-home .campaign-banner p {
  color: #173d29;
  margin-bottom: 12px;
}
.reference-home .campaign-banner .btn {
  padding: 4px 20px;
  background: linear-gradient(110deg, #ff9563, #ff4c3c);
}
.reference-home .banner-art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 100%;
  transform: none;
  font-size: inherit;
}
.reference-home .banner-art .reference-art {
  width: 100%;
  height: 100%;
  position: relative;
  inset: auto;
}
.reference-home .banner-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reference-home .welcome {
  padding: 15px 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(120deg, #fff8fb, #fff1e9);
}
.reference-home .welcome > div {
  position: relative;
  z-index: 1;
}
.reference-home .welcome h2 {
  margin-bottom: 5px;
}
.reference-home .welcome p {
  margin-bottom: 9px;
  line-height: 1.5;
}
.reference-home .welcome > .reference-art {
  width: 44%;
  position: absolute;
  right: 7px;
  bottom: 14px;
  mix-blend-mode: multiply;
}
.reference-home .welcome .btn {
  padding: 5px 18px;
}
.reference-home .content-columns {
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 12px;
}
.reference-home .feed-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 9px;
  background: #fffb;
  border-radius: 18px 18px 0 0;
  min-height: 52px;
}
.reference-home .feed-heading .section-title {
  margin: 0;
  flex-shrink: 0;
}
.reference-home .feed-heading .section-title > a {
  display: none;
}
.reference-home .feed-heading .section-title h2 {
  font-size: 20px;
  gap: 7px;
}
.reference-home .feed-heading .reference-art {
  width: 30px;
}
.reference-home .filter-tabs {
  margin: 0;
  padding: 0;
  gap: 7px;
  font-size: 11px;
}
.reference-home .filter-tabs a {
  padding: 5px 9px;
}
.reference-home .deal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.reference-home .deal-card {
  border-radius: 16px;
  padding: 9px;
}
.reference-home .deal-cover {
  height: auto;
  aspect-ratio: 1.55;
  border-radius: 10px;
}
.reference-home .deal-body {
  padding: 8px 4px 2px;
}
.reference-home .deal-body h3 {
  min-height: 0;
  -webkit-line-clamp: 1;
  font-size: 14px;
  margin-bottom: 3px;
}
.reference-home .price {
  margin-bottom: 4px;
}
.reference-home .tags {
  margin-bottom: 4px;
}
.reference-home .description {
  margin-bottom: 5px;
  font-size: 12px;
}
.reference-home .content-columns aside {
  gap: 12px;
}
.reference-home .content-columns aside .panel {
  padding: 14px 16px;
}
.reference-home aside .section-title {
  margin-bottom: 11px;
}
.reference-home aside .section-title h2 {
  font-size: 18px;
}
.reference-home aside .section-title > a {
  color: #7b86a6;
}
.reference-home .rank-row {
  gap: 9px;
  padding: 8px 0;
}
.reference-home .rank-row:nth-of-type(n + 4) > b {
  background: #e1e4ed;
  color: #627191;
}
.reference-home .energy-grid {
  gap: 15px 8px;
  font-size: 12px;
}
.reference-home .energy-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.reference-home .energy-grid .reference-art {
  width: 44px;
  border-radius: 12px;
}
.reference-home .site-stats h2 {
  font-size: 18px;
}
.reference-home .site-stats > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.reference-home .site-stats b {
  display: block;
  font-size: 21px;
  color: #006eff;
}
.reference-home .site-stats span:first-child b {
  color: #ff253d;
}
body:has(.reference-home) footer {
  margin: 12px 24px 0;
  padding: 15px 28px;
  border-radius: 20px 20px 0 0;
}
body:has(.reference-home) .promise {
  margin-bottom: 15px;
  gap: 15px;
}
body:has(.reference-home) .promise > span {
  position: relative;
  padding-left: 43px;
  font-size: 14px;
}
body:has(.reference-home) .promise .reference-art {
  position: absolute;
  left: 0;
  top: 2px;
  width: 34px;
  mix-blend-mode: multiply;
}
body:has(.reference-home) .promise small,
body:has(.reference-home) .promise b {
  margin-left: 0;
}
@media (min-width: 1200px) {
  .reference-home .hero {
    height: 330px;
  }
  .reference-home .hero-mascot {
    width: 44%;
  }
  .reference-home .entry {
    padding-top: 16px;
    padding-bottom: 14px;
  }
  .reference-home .content-columns {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
}
@media (max-width: 1000px) and (min-width: 801px) {
  .header .header-tools input {
    width: 180px;
  }
  .header .slogan {
    font-size: 10px;
  }
  .reference-home .hero h1 {
    font-size: 47px;
  }
  .reference-home .feed-heading {
    gap: 5px;
  }
  .reference-home .filter-tabs {
    gap: 0;
  }
  .reference-home .filter-tabs a {
    padding: 5px;
  }
}
@media (max-width: 800px) {
  body:has(.reference-home) .container {
    padding: 0 12px;
  }
  .header.glass {
    height: auto;
    min-height: 112px;
    padding: 8px 15px;
  }
  .header .header-tools {
    right: 15px;
    top: 20px;
  }
  .header .header-tools form {
    display: none;
  }
  .header .slogan {
    display: none;
  }
  .header nav {
    margin-top: 5px;
    gap: 20px;
  }
  .header .nav-brand > a,
  .header .nav-brand .reference-art {
    width: 110px;
    height: auto;
  }
  .reference-home .hero {
    height: 255px;
    padding: 20px 8px;
    overflow: hidden;
  }
  .reference-home .hero-copy {
    width: 100%;
    align-self: auto;
  }
  .reference-home .hero h1 {
    font-size: 35px;
    line-height: 1.2;
    width: 60%;
    white-space: normal;
    letter-spacing: -2px;
  }
  .reference-home .hero h1 strong {
    display: block;
    margin: 5px 0 0;
  }
  .reference-home .hero-copy > p {
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 9px;
    margin-bottom: 19px;
  }
  .reference-home .hero-mascot {
    width: 49%;
    right: -12px;
    top: 16px;
  }
  .reference-home .hero-stats {
    width: 100%;
  }
  .reference-home .hero-stats > span {
    padding: 9px 6px;
    gap: 4px;
  }
  .reference-home .hero-stats .reference-art {
    width: 24px;
  }
  .reference-home .hero-stats b {
    font-size: 12px;
  }
  .reference-home .hero-stats small {
    font-size: 9px;
  }
  .reference-home .coupons {
    padding: 12px 8px;
  }
  .reference-home .section-title h2 {
    font-size: 16px;
    gap: 5px;
  }
  .reference-home .section-title h2 .reference-art {
    width: 28px;
  }
  .reference-home .section-title p {
    margin-left: 0;
  }
  .reference-home .coupons .section-title > a {
    padding: 5px 8px;
  }
  .reference-home .entry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }
  .reference-home .entry h3 {
    font-size: 12px;
  }
  .reference-home .entry p {
    font-size: 10px;
  }
  .reference-home .entry-icon,
  .reference-home .entry-icon .reference-art {
    width: 54px;
    height: 54px;
  }
  .reference-home .entry-disabled,
  .reference-home .entry > a {
    font-size: 10px;
  }
  .reference-home .banner-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .reference-home .campaign-banner {
    padding: 18px;
    height: 140px;
  }
  .reference-home .campaign-banner h2 {
    font-size: 27px;
  }
  .reference-home .campaign-banner p {
    font-size: 12px;
  }
  .reference-home .welcome {
    display: none;
  }
  .reference-home .content-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .reference-home .feed-heading {
    flex-wrap: wrap;
    gap: 8px;
  }
  .reference-home .filter-tabs {
    width: 100%;
  }
  .reference-home .deal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reference-home .deal-body h3 {
    font-size: 13px;
  }
  .reference-home .content-columns aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reference-home .site-stats {
    grid-column: 1/-1;
  }
  body:has(.reference-home) footer {
    margin: 12px 12px 0;
    padding: 15px;
  }
  .reference-home .energy-grid {
    font-size: 10px;
  }
}
@media (max-width: 420px) {
  .reference-home .content-columns aside {
    grid-template-columns: minmax(0, 1fr);
  }
  .reference-home .hero h1 {
    font-size: 30px;
  }
  .reference-home .hero-stats .reference-art {
    width: 20px;
  }
}
.header .nav-brand .reference-art {
  /* Preserve the supplied logo colors instead of multiplying the pastel header. */
  mix-blend-mode: normal;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 3%,
    #000 97%,
    transparent
  );
}
.reference-home .hero-mascot {
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 7%,
    #000 95%,
    transparent
  );
}
.reference-home .banner-art {
  mask-image: linear-gradient(to right, transparent, #000 13%);
}
.reference-home .welcome > .reference-art {
  mask-image: radial-gradient(ellipse, #000 54%, transparent 74%);
}
.reference-home .entry-icon .reference-art {
  mix-blend-mode: normal;
}
.reference-home .hero-stats small {
  white-space: nowrap;
  font-size: 10px;
}
.vote-row .reference-art {
  width: 14px;
  height: 15px;
  margin-right: 2px;
  mix-blend-mode: multiply;
}
.reference-home .hero h1 strong {
  position: relative;
}
.reference-home .hero h1 strong::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 9px;
  border-top: 5px solid #ffb500;
  border-radius: 50%;
  right: 9px;
  bottom: -13px;
  transform: rotate(-13deg);
}
.reference-home .banner-art .reference-art {
  height: auto;
  position: absolute;
  bottom: 0;
  top: auto;
  left: 0;
}
@media (max-width: 800px) {
  .reference-home .hero h1 strong::after {
    right: auto;
    left: 90px;
    width: 60px;
  }
  .reference-home .hero-stats small {
    white-space: normal;
  }
  .reference-home .entry-icon .reference-art {
    height: auto;
  }
}
body:has(.reference-home) {
  background-image:
    url("/assets/design/hero-clouds.png"),
    radial-gradient(ellipse at 6% 26%, #ffe0df, transparent 37%),
    radial-gradient(ellipse at 94% 12%, #d6eeff, transparent 40%),
    linear-gradient(135deg, #fff0f5, #f4f5ff 60%, #eaf6ff);
  background-size:
    100% 390px,
    auto,
    auto,
    auto;
  background-position:
    center 70px,
    center,
    center,
    center;
  background-repeat: no-repeat;
}
.reference-home .hero-mascot {
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 87%,
    transparent
  );
  mix-blend-mode: multiply;
}
@media (max-width: 800px) {
  body:has(.reference-home) {
    background-size:
      auto 300px,
      auto,
      auto,
      auto;
    background-position:
      center 110px,
      center,
      center,
      center;
  }
}
.reference-home .hero-mascot {
  mix-blend-mode: normal;
}
body:has(.reference-home) {
  background-image:
    radial-gradient(ellipse at 6% 26%, #ffe0df, transparent 37%),
    radial-gradient(ellipse at 94% 12%, #d6eeff, transparent 40%),
    linear-gradient(135deg, #fff0f5, #f4f5ff 60%, #eaf6ff);
  background-size: auto;
  background-position: center;
}
body:has(.reference-home)::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 70px;
  left: 0;
  right: 0;
  height: 390px;
  background: url("/assets/design/hero-clouds.png") center/100% 100% no-repeat;
  mask-image: linear-gradient(#000 72%, transparent);
}
@media (max-width: 800px) {
  body:has(.reference-home)::before {
    top: 110px;
    height: 300px;
    background-size: auto 100%;
  }
}

.header .header-tools input::placeholder {
  color: #9c9cb6;
  opacity: 1;
}
.header.glass nav a:hover {
  color: #ff173c;
}

.header .nav-brand > a:has(.site-brand-logo) {
  position: relative;
  width: 164px;
  height: 82px;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.header .nav-brand img.site-brand-logo {
  position: absolute;
  display: block;
  width: 104.5%;
  max-width: none;
  height: auto;
  left: -2.5%;
  top: -55%;
  object-fit: contain;
  transform: none;
  mix-blend-mode: normal;
}
@media (max-width: 767px) {
  .header .nav-brand > a:has(.site-brand-logo) {
    width: 132px;
    height: 66px;
  }
}
.image-upload {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.image-dropzone {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 2px dashed #dcd8e5;
  border-radius: 14px;
  background: #faf8fc;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.image-dropzone.is-dragging,
.image-dropzone:focus-within,
.image-dropzone:focus-visible {
  border-color: #ff3769;
  background: #fff0f5;
  outline: none;
}
.image-dropzone span,
.image-dropzone small {
  color: #78758a;
  font-size: 13px;
}
.image-dropzone input[type="file"] {
  max-width: 100%;
  background: white;
}
.image-upload-preview {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.image-upload-preview img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  border: 1px solid #e5e2ec;
  border-radius: 10px;
  background: white;
}
.image-upload-preview button {
  width: auto;
}

/* ═══════════════════════════════════════════════════════════
   频道体系（2026-10-29 改造）
   一级频道 → 二级细分（分类） → 内容页
   ═══════════════════════════════════════════════════════════ */

/* 面包屑 */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 16px 0 2px;
  font-size: 12px;
  color: var(--muted);
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--red); }
.crumb b { color: var(--ink); font-weight: 600; }
.crumb > span { opacity: 0.45; }

/* 频道 tab 条 */
.channel-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 0 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.channel-tabs::-webkit-scrollbar { display: none; }
.channel-tabs a {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
  transition: transform 0.16s, box-shadow 0.16s;
}
.channel-tabs a:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(114, 95, 126, 0.12); }
.channel-tabs a > span { font-size: 15px; }
.channel-tabs a.selected {
  background: linear-gradient(120deg, #ff5f6d, #ff9a44);
  border-color: transparent;
  color: #fff;
}

/* 频道头图 */
.channel-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding: 26px 30px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(125deg, #ff8a4c, #ff5f7e 58%, #c86dd7);
  box-shadow: 0 14px 34px rgba(255, 95, 126, 0.2);
}
.channel-hero > div { display: flex; flex-direction: column; gap: 4px; }
.channel-hero h1 { margin: 2px 0 0; font-size: 27px; letter-spacing: 0.5px; }
.channel-hero p { margin: 0; opacity: 0.92; font-size: 13px; }
.channel-hero .channel-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 24px;
}
.channel-hero dl { display: flex; gap: 30px; margin: 0; }
.channel-hero dl > div { text-align: center; }
.channel-hero dt { font-size: 11px; opacity: 0.85; }
.channel-hero dd { margin: 2px 0 0; font-size: 22px; font-weight: 750; }
.tone-red { background: linear-gradient(125deg, #ff5f6d, #ff9a44 70%, #ffcf7a); }
.tone-orange { background: linear-gradient(125deg, #ff9a44, #ff6b6b 60%, #f78bb8); }
.tone-green { background: linear-gradient(125deg, #2fbf8f, #38b2ac 55%, #4f9cf9); }
.tone-blue { background: linear-gradient(125deg, #4f8cf9, #5b6ff0 55%, #9a6df0); }
.tone-purple { background: linear-gradient(125deg, #8b5cf6, #c86dd7 60%, #ff7fb0); }

/* 频道卡片 */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 14px;
}
.channel-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid #fff;
  box-shadow: var(--shadow);
  min-width: 0;
}
.channel-tile > header { display: flex; gap: 12px; align-items: flex-start; }
.channel-tile .channel-icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 13px;
  font-size: 22px;
  background: linear-gradient(135deg, #ffe6ef, #e6f0ff);
}
.channel-tile h3 { margin: 0; font-size: 16px; }
.channel-tile header p { margin: 2px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.channel-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.channel-chips a {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  color: #555b70;
}
.channel-chips a:hover { border-color: #ffc2c9; color: var(--red); }
.channel-latest { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.channel-latest li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.channel-latest a {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #4a5068;
}
.channel-latest em { flex: 0 0 auto; font-style: normal; color: #ff3449; font-weight: 700; }
.channel-tile > footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.channel-tile > footer a { color: var(--red); font-weight: 600; }

/* 二级细分入口 */
.subcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.subcat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.16s, border-color 0.16s, box-shadow 0.16s;
  min-width: 0;
}
.subcat-card:hover {
  transform: translateY(-2px);
  border-color: #ffd0d8;
  box-shadow: 0 12px 26px rgba(255, 95, 126, 0.14);
}
.subcat-head { display: flex; align-items: center; gap: 7px; }
.subcat-head b { font-size: 14px; }
.subcat-head em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  color: #b75c73;
  background: #fff0f1;
  border-radius: 999px;
  padding: 1px 8px;
}
.subcat-card p {
  margin: 0;
  font-size: 12px;
  color: #555b70;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.subcat-card small { color: var(--muted); font-size: 11px; }

/* 频道简介段落 */
.channel-desc {
  margin: 18px 2px;
  padding-left: 14px;
  border-left: 3px solid #ffc2c9;
  color: #555b70;
  font-size: 13px;
  line-height: 1.9;
}

/* 筛选条 */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
}
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.filter-row > span { font-size: 12px; color: var(--muted); flex: 0 0 34px; }
.filter-row a {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: #4a5068;
}
.filter-row a:hover { border-color: #ffc2c9; color: var(--red); }
.filter-row a.on {
  background: linear-gradient(120deg, #ff5f6d, #ff9a44);
  border-color: transparent;
  color: #fff;
}

/* 卡片等级徽标 */
.deal-card { position: relative; }
.badge-shen, .badge-good {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #fff;
}
.badge-shen { background: linear-gradient(120deg, #ff3557, #ff8a4c); box-shadow: 0 4px 12px rgba(255, 53, 87, 0.3); }
.badge-good { background: linear-gradient(120deg, #ff981b, #ffc76a); box-shadow: 0 4px 12px rgba(255, 152, 27, 0.28); }
.tag-expired { background: #eef0f5 !important; color: #8a8fa3 !important; }

/* 内容页信息条 */
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 16px 0 18px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.detail-price { display: flex; align-items: baseline; gap: 8px; }
.detail-price small { color: var(--muted); font-size: 11px; }
.detail-price b { font-size: 30px; color: #ff3449; font-weight: 780; }
.detail-price del { color: #9c9eb0; font-size: 13px; }
.detail-meta dl { display: flex; flex-wrap: wrap; gap: 22px; margin: 0; }
.detail-meta dt { font-size: 11px; color: var(--muted); }
.detail-meta dd { margin: 2px 0 0; font-size: 13px; }
.source-line {
  margin: 18px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f7f8fc;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.source-line a { color: #5b6ff0; }

/* 全部分类胶囊 */
.all-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.all-cats a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
}
.all-cats a em { font-style: normal; font-size: 10px; color: var(--muted); }
.all-cats a:hover { border-color: #ffc2c9; }

/* 分页 */
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 22px 0 6px;
}
.pager a {
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 13px;
}
.pager a:hover { border-color: #ffc2c9; color: var(--red); }

@media (max-width: 800px) {
  .channel-hero { padding: 20px; gap: 16px; }
  .channel-hero h1 { font-size: 22px; }
  .channel-hero dl { gap: 20px; }
  .channel-hero dd { font-size: 18px; }
  .channel-grid, .subcat-grid { grid-template-columns: 1fr; }
  .filter-row > span { flex-basis: 100%; }
  .detail-meta { gap: 12px; padding: 12px; }
  .detail-price b { font-size: 25px; }
  .detail-meta dl { gap: 14px; }
  .channel-tabs { padding-top: 12px; }
}

.channels-panel { margin-top: 24px; }
.channels-panel > .muted { margin: -2px 0 14px; }
