:root {
  --bg: #f7f7f2;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #67727e;
  --line: #dfe3e0;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --price: #c2410c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 48px);
  background: rgba(247, 247, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 14px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
}

.header-search {
  display: flex;
  width: min(650px, 100%);
  gap: 8px;
  align-items: stretch;
}

.search-form {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 8px;
}

.search-form input {
  min-width: 0;
  flex: 1;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
}

.search-form button {
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.camera-search-form {
  display: flex;
}

.camera-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent-dark);
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.camera-search-button:hover,
.camera-search-button:focus-within {
  border-color: var(--accent);
  background: #f1fbf5;
  color: var(--accent);
}

.camera-search-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.admin-nav {
  display: flex;
  gap: 14px;
  color: var(--accent-dark);
  font-weight: 800;
}

main {
  padding: 0 clamp(16px, 4vw, 48px) 48px;
}

.notice {
  margin: 18px auto 0;
  max-width: 1180px;
  padding: 12px 14px;
  border: 1px solid #f1d4a5;
  border-radius: 6px;
  background: #fff7e8;
  color: #7c4a03;
  font-size: 14px;
}

.line-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 18px;
  border: 1px solid #b9e6cf;
  border-radius: 8px;
  background: #f1fbf5;
}

.line-cta h2 {
  margin: 0;
  font-size: 24px;
}

.line-cta p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.line-cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.line-cta-actions img {
  width: 86px;
  height: 86px;
  border-radius: 8px;
  background: #fff;
}

.line-cta-actions a,
.floating-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.line-cta-actions a {
  min-height: 42px;
  padding: 0 18px;
}

.floating-line {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-height: 46px;
  padding: 0 18px;
  box-shadow: 0 12px 26px rgba(6, 199, 85, 0.28);
}

.subscribe-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  max-width: 1180px;
  margin: 12px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.subscribe-strip span {
  color: var(--muted);
  font-weight: 800;
}

.subscribe-strip a {
  color: var(--accent-dark);
  font-weight: 900;
}

.urgency-bar {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 14px auto 0;
  padding: 14px 18px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
}

.urgency-bar div:first-child {
  display: grid;
  gap: 4px;
}

.urgency-bar strong {
  font-size: 20px;
}

.urgency-bar span {
  color: var(--muted);
  line-height: 1.5;
}

.countdown-clock {
  min-width: 124px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #9a3412;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: end;
  max-width: 1180px;
  margin: 34px auto 24px;
  padding: 40px 0 18px;
}

.hero h1,
.page-title h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05;
}

.hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-panel {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(31, 41, 51, 0.08);
}

.hero-panel strong {
  font-size: 20px;
}

.hero-panel span {
  color: var(--muted);
}

.store-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 24px;
}

.store-card {
  display: grid;
  gap: 8px;
  min-height: 156px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.store-card.ready {
  border-color: #b9e6cf;
  background: #f7fcf9;
}

.store-card span,
.comparison-group-head span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.store-card strong {
  font-size: 26px;
}

.store-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.comparison-board {
  display: grid;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.comparison-group {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.comparison-group-head {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.comparison-group-head h3 {
  margin: 4px 0 0;
  font-size: 22px;
}

.comparison-group-head a {
  color: var(--accent-dark);
  font-weight: 900;
  white-space: nowrap;
}

.comparison-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.comparison-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid #edf1ee;
  border-radius: 8px;
  background: #fbfcfb;
}

.comparison-item img {
  width: 82px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
  background: #eef1ed;
}

.comparison-item div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.comparison-item strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 42px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.comparison-item span {
  color: var(--price);
  font-size: 17px;
  font-weight: 900;
}

.store-section-head {
  margin-top: 34px;
}

.engagement-panel,
.activity-feed {
  max-width: 1180px;
  margin: 18px auto 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.engagement-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(420px, 1.4fr) minmax(180px, 0.7fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.engagement-panel h2,
.activity-head h2 {
  margin: 0;
}

.engagement-panel p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.quest-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quest-card {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid #b9e6cf;
  border-radius: 8px;
  background: #f1fbf5;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.quest-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quest-card strong {
  color: var(--accent-dark);
  line-height: 1.35;
}

.reward-meter,
.heat-meter {
  display: grid;
  gap: 8px;
}

.reward-meter > div:first-child,
.heat-meter > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reward-meter span,
.heat-meter span,
.heat-meter small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.reward-track,
.heat-track {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #e7ece8;
}

.reward-track span,
.heat-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.activity-feed {
  padding: 18px;
}

.activity-head {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.activity-head > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.activity-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.activity-item {
  display: grid;
  gap: 5px;
  padding: 13px;
  border-radius: 8px;
  background: #f8faf9;
}

.activity-item strong {
  color: var(--accent-dark);
  font-size: 13px;
}

.activity-item span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1180px;
  margin: 0 auto 28px;
}

.category-strip a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: #374151;
  font-size: 14px;
}

.category-strip a.active,
.category-strip a:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.section-head,
.page-title {
  max-width: 1180px;
  margin: 0 auto 18px;
}

.section-head h2 {
  margin: 0;
  font-size: 30px;
}

.article-entry-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 42px;
}

.article-entry-head > a {
  color: var(--accent-dark);
  font-weight: 800;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.compact-grid {
  margin-bottom: 24px;
}

.article-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.article-card span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.article-card h3 {
  margin: 0;
  font-size: 22px;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.article-page {
  max-width: 860px;
  margin: 34px auto 34px;
}

.article-page h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

.article-page p {
  color: #374151;
  font-size: 17px;
  line-height: 1.8;
}

.article-summary {
  color: var(--muted);
}

.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.keyword-row.compact {
  margin: 0;
}

.keyword-row a {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.need-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.need-card h3 {
  margin: 0;
  font-size: 22px;
}

.need-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.hot-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.hot-card h3 {
  margin: 0;
  font-size: 22px;
}

.hot-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
}

.tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.compact-tags {
  margin: 0;
}

.tag-strip a {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
}

.tag-button {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.form-panel {
  max-width: 860px;
  margin: 0 auto 34px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.image-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto 28px;
}

.image-search-form,
.image-search-note {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.image-search-form {
  display: flex;
  gap: 14px;
  align-items: end;
}

.image-search-form label {
  display: grid;
  flex: 1;
  gap: 8px;
  min-width: 0;
  color: #374151;
  font-weight: 900;
}

.image-search-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfb;
  font: inherit;
}

.image-search-form button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.image-search-note {
  display: grid;
  gap: 8px;
}

.image-search-note strong {
  font-size: 18px;
}

.image-search-note span,
.image-search-meta {
  color: var(--muted);
  line-height: 1.6;
}

.image-search-meta {
  max-width: 1180px;
  margin: -8px auto 16px;
  font-size: 14px;
}

.subscribe-form {
  display: grid;
  gap: 16px;
}

.subscribe-form label,
.subscribe-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  color: #374151;
  font-weight: 800;
}

.subscribe-form input,
.subscribe-form textarea,
.subscribe-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-weight: 400;
}

.subscribe-form fieldset {
  padding: 0;
  border: 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.checkbox-grid label {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
}

.checkbox-grid input {
  width: auto;
}

.subscribe-form button {
  width: fit-content;
  padding: 11px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.notice.success {
  border-color: #b9e6cf;
  background: #f1fbf5;
  color: #115e59;
}

.restock-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.restock-item {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfb;
}

.restock-item div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.restock-item a,
.restock-item button {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 41, 51, 0.1);
}

.image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #eef1ed;
}

.deal-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 6px 9px;
  border-radius: 5px;
  background: #c2410c;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(194, 65, 12, 0.22);
}

.image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
}

.badges span {
  padding: 4px 7px;
  border-radius: 4px;
  background: #edf5f3;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.badges .urgency-badge {
  background: #fff7ed;
  color: #9a3412;
}

.badges .scarcity-badge {
  background: #fef2f2;
  color: #b91c1c;
}

.product-card h3 {
  min-height: 48px;
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.deal-meta {
  min-height: 36px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.deal-meta span {
  display: block;
}

.heat-meter {
  padding: 10px;
  border-radius: 8px;
  background: #f8faf9;
}

.heat-meter strong {
  color: #9a3412;
}

.countdown-inline {
  color: #9a3412;
  font-weight: 800;
}

.countdown-inline strong {
  font-variant-numeric: tabular-nums;
}

.price-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.price-row strong {
  color: var(--price);
  font-size: 20px;
}

.price-stack {
  display: grid;
  gap: 2px;
}

.original-price {
  color: var(--muted);
  font-size: 13px;
  text-decoration: line-through;
}

.price-row span {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
}

.empty-state {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
}

.deal-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
  max-width: 1180px;
  margin: 34px auto;
}

.deal-gallery {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.deal-gallery img,
.image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  object-fit: cover;
  color: var(--muted);
  background: #eef1ed;
}

.deal-summary {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.deal-summary h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
}

.deal-price-block {
  display: grid;
  gap: 4px;
}

.deal-price-block strong {
  color: var(--price);
  font-size: 34px;
}

.checkout-countdown {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
}

.checkout-countdown span {
  color: #9a3412;
  font-weight: 900;
}

.checkout-countdown strong {
  color: #9a3412;
  font-size: 42px;
  font-variant-numeric: tabular-nums;
}

.checkout-countdown p,
.scarcity-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.scarcity-panel {
  padding: 16px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
}

.scarcity-panel strong {
  display: block;
  margin-bottom: 6px;
  color: #b91c1c;
}

.featured-heat {
  padding: 16px;
  border: 1px solid #fed7aa;
  background: #fffaf3;
}

.mini-quest {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid #b9e6cf;
  border-radius: 8px;
  background: #f1fbf5;
}

.mini-quest div {
  display: grid;
  gap: 4px;
}

.mini-quest span {
  color: var(--muted);
  line-height: 1.5;
}

.mini-quest button {
  min-width: 112px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.price-patrol-panel {
  display: grid;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 34px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.price-patrol-panel h2 {
  margin: 0;
  font-size: 28px;
}

.price-patrol-panel p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.price-patrol-head,
.patrol-report-main {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.patrol-points {
  min-width: 150px;
  padding: 14px;
  border: 1px solid #b9e6cf;
  border-radius: 8px;
  background: #f1fbf5;
}

.patrol-points span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.patrol-points strong {
  color: var(--accent-dark);
  font-size: 34px;
}

.patrol-report-list {
  display: grid;
  gap: 12px;
}

.patrol-report-card {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.platform-pill {
  display: inline-flex;
  margin-right: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf5f3;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.patrol-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 8px;
}

.patrol-score-grid div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.patrol-score-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.patrol-vote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.patrol-vote-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.patrol-vote-form legend {
  width: 100%;
  margin-bottom: 4px;
  color: #374151;
  font-weight: 800;
}

.patrol-vote-form label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}

.patrol-vote-form button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 24px;
}

.stat-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.stat-card span {
  color: var(--muted);
  font-size: 14px;
}

.stat-card strong {
  font-size: 34px;
}

.admin-section {
  max-width: 1180px;
  margin: 0 auto 24px;
}

.admin-section h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.compact-table table {
  min-width: 420px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: var(--muted);
  font-weight: 800;
}

td a {
  color: var(--accent-dark);
  font-weight: 800;
}

.admin-muted {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.admin-url {
  display: inline-block;
  max-width: 360px;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  padding: 28px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .store-switcher {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .need-grid {
    grid-template-columns: 1fr;
  }

  .hot-grid {
    grid-template-columns: 1fr;
  }

  .deal-page {
    grid-template-columns: 1fr;
  }

  .engagement-panel {
    grid-template-columns: 1fr;
  }

  .image-search-panel {
    grid-template-columns: 1fr;
  }

  .activity-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .header-search {
    width: 100%;
  }

  .search-form button {
    padding: 0 14px;
  }

  .hero {
    margin-top: 18px;
    padding-top: 22px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .comparison-group-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .line-cta {
    grid-template-columns: 1fr;
  }

  .urgency-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .countdown-clock {
    width: 100%;
  }

  .line-cta-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-search-form {
    align-items: stretch;
    flex-direction: column;
  }

  .quest-list {
    grid-template-columns: 1fr;
  }

  .activity-head,
  .mini-quest,
  .price-patrol-head,
  .patrol-report-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .patrol-vote-form {
    grid-template-columns: 1fr;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .restock-item {
    align-items: flex-start;
    flex-direction: column;
  }
}
