@import url("/fonts.css");
:root {
  font-family: Inter, "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  color: #303334;
  background: #f8f7f4;
  font-synthesis: none;
  --accent: #d66979;
  --accent-dark: #b94d5e;
  --accent-soft: #f8e9ec;
  --ink: #303334;
  --muted: #8b8b88;
  --line: #e8e6e1;
  --paper: #fffefa;
  --radius: 16px;
  --pattern: none;
  --wash: #f8f7f4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  line-height: 1.6;
  background: var(--wash);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  color: inherit;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--pattern);
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}
.custom-background {
  position: fixed;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  z-index: -1;
  opacity: 0.22;
  pointer-events: none;
}
.palette-rose {
  --accent: #d66979;
  --accent-dark: #b94d5e;
  --accent-soft: #f8e9ec;
  --wash: #f8f7f4;
}
.palette-lilac {
  --accent: #9380bd;
  --accent-dark: #736099;
  --accent-soft: #eee8f6;
  --wash: #f8f6fa;
}
.palette-mint {
  --accent: #579d88;
  --accent-dark: #367b66;
  --accent-soft: #e5f1eb;
  --wash: #f4f8f5;
}
.palette-sky {
  --accent: #649cc0;
  --accent-dark: #447da0;
  --accent-soft: #e6f0f8;
  --wash: #f4f7fa;
}
.palette-peach {
  --accent: #d58c62;
  --accent-dark: #b66d43;
  --accent-soft: #fbebdf;
  --wash: #faf7f1;
}
.pattern-plain {
  --pattern: none;
}
.pattern-dots {
  --pattern: radial-gradient(#d6d0c7 1.25px, transparent 1.5px);
  background-size: 28px 28px;
}
.pattern-stars {
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M17 10l2 6 6 2-6 2-2 6-2-6-6-2 6-2zM53 45l1.5 4.5L59 51l-4.5 1.5L53 57l-1.5-4.5L47 51l4.5-1.5z' fill='%23d7cfde'/%3E%3C/svg%3E");
}
.pattern-grid {
  --pattern:
    linear-gradient(#d6cec133 1px, transparent 1px),
    linear-gradient(90deg, #d6cec133 1px, transparent 1px);
  background-size: 28px 28px;
}
.pattern-hearts {
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70'%3E%3Cpath d='M18 16c-8-10-15 3 0 12 15-9 8-22 0-12zM52 49c-6-8-12 2 0 9 12-7 6-17 0-9z' fill='%23edd5d7'/%3E%3C/svg%3E");
}
body.pattern-dots::before,
body.pattern-grid::before {
  background-size: 28px 28px;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.container {
  max-width: 1240px;
  margin: auto;
  padding: 0 40px;
}
.site-header {
  background: #fffefaed;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.header-inner {
  max-width: 1320px;
  padding: 24px 40px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 48px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
}
.brand > span {
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1.2px;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-top: 7px;
  font-weight: 500;
  color: var(--muted);
}
.brand-fallback {
  padding: 8px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.header-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-left: auto;
}
.header-nav a {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 13px;
  color: #737673;
}
.header-nav .nav-active {
  color: var(--ink);
  font-weight: 600;
}
.header-nav .icon {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}
.header-nav a:hover {
  color: var(--accent);
}
.button {
  border: 1px solid var(--line);
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 12px 19px;
  font-size: 13px;
  font-weight: 550;
  transition:
    background 0.15s,
    transform 0.15s;
  white-space: nowrap;
}
.button:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.button.primary:hover {
  background: var(--accent-dark);
}
.button .icon {
  width: 17px;
  height: 17px;
}
.group-button {
  background: #f4f3ef;
  border-color: #efeee9;
}
.icon-button {
  border: 0;
  background: none;
  padding: 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-button:hover {
  background: var(--accent-soft);
}
.mobile-menu {
  display: none;
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--muted);
}
.tiny-star {
  color: var(--accent);
  font-size: 17px;
  vertical-align: middle;
  margin-right: 5px;
}
.hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 40px;
  margin: 42px 0 32px;
  min-height: 400px;
}
.hero-copy {
  padding: 43px 0 20px 12px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: 1px;
  margin: 17px 0 20px;
}
.hero-copy > p {
  font-size: 14px;
  color: #84857f;
  line-height: 1.95;
  max-width: 365px;
  margin-bottom: 26px;
}
.hero-copy .primary {
  padding: 13px 22px;
}
.hero-note {
  font-size: 9px;
  color: #9d9e96;
  letter-spacing: 1.8px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 31px;
}
.note-dot {
  width: 6px;
  height: 6px;
  background: #afbc9e;
  border-radius: 50%;
}
.hero-art {
  position: relative;
  min-height: 400px;
  background: #eae6f0;
  overflow: hidden;
  border-radius: 20px;
}
.hero-cover {
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: cover;
  object-position: center 36%;
}
.hero-art-note {
  position: absolute;
  bottom: 23px;
  left: 23px;
  right: 23px;
  backdrop-filter: blur(12px);
  background: #ffffffdf;
  border: 1px solid #ffffff7a;
  border-radius: 12px;
  padding: 13px 20px;
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 2px;
}
.hero-art-note > span:first-child {
  grid-column: 1;
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #8b8792;
}
.hero-art-note strong {
  grid-column: 1;
  font-size: 18px;
  font-weight: 600;
}
.round-arrow {
  grid-column: 2;
  grid-row: 1/3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  align-self: center;
}
.hero-art:hover .round-arrow {
  background: var(--accent-soft);
  color: var(--accent);
}
.empty-art {
  display: grid;
  place-items: center;
  color: var(--accent);
}
.announcement {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  background: #fffefaee;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #87847c;
  font-size: 12px;
}
.announcement .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.announcement-end {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #b0aaa0;
}
.collection {
  padding-top: 49px;
  scroll-margin-top: 25px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.section-heading h2 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 5px;
}
.heading-dot {
  color: var(--accent);
  margin-left: 4px;
}
.search-box {
  border: 1px solid var(--line);
  background: #fffefabf;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  width: 286px;
  color: #a2a29b;
}
.search-box .icon {
  width: 16px;
  height: 16px;
}
.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 12px;
  color: var(--ink);
}
.search-box:focus-within {
  border-color: var(--accent);
}
.search-box input::placeholder {
  color: #aaa99f;
}
.collection-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.category-tabs button {
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 12px;
  color: #92938b;
}
.category-tabs button.active {
  background: var(--ink);
  color: #fff;
}
.category-tabs button:hover:not(.active) {
  background: var(--accent-soft);
}
.collection-controls {
  display: flex;
  gap: 18px;
  align-items: center;
}
.favorites-filter {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  font-size: 11px;
  color: #93938c;
  padding: 5px;
  white-space: nowrap;
}
.favorites-filter .icon {
  width: 14px;
  height: 14px;
}
.favorites-filter.active {
  color: var(--accent);
}
.collection-controls select {
  border: 0;
  background: none;
  color: #7a7d74;
  font-size: 11px;
  padding: 5px;
  cursor: pointer;
}
.results-line {
  display: flex;
  justify-content: space-between;
  margin: 17px 0 21px;
  font-size: 10px;
  color: #a2a196;
}
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 25px;
}
.model-card {
  position: relative;
  min-width: 0;
}
.card-image {
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 13px;
  background: #e7e4e8;
  position: relative;
}
.card-image img {
  width: 100%;
  height: 100%;
  transition: transform 0.35s;
}
.card-image:hover img {
  transform: scale(1.035);
}
.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 10px;
  background: #ffffffdf;
  border-radius: 5px;
  font-size: 9px;
  color: #66676a;
  backdrop-filter: blur(5px);
}
.card-hover {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translate(-50%, 8px);
  opacity: 0;
  background: #fffefaeb;
  padding: 9px 16px;
  border-radius: 20px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
  white-space: nowrap;
}
.card-hover .icon {
  width: 14px;
  height: 14px;
}
.card-image:hover .card-hover {
  transform: translate(-50%, 0);
  opacity: 1;
}
.favorite {
  position: absolute;
  right: 13px;
  top: 13px;
  width: 33px;
  height: 33px;
  background: #ffffffb8;
  border: 1px solid #ffffff7a;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #92918e;
  backdrop-filter: blur(5px);
}
.favorite .icon {
  width: 16px;
  height: 16px;
}
.favorite.selected {
  color: var(--accent);
  background: #fff;
}
.favorite.selected .icon {
  fill: var(--accent-soft);
}
.card-meta {
  margin: 16px 0 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #97978f;
  font-size: 9px;
  letter-spacing: 0.3px;
}
.card-meta span:last-child {
  font-size: 8px;
  background: #eae9e257;
  border: 1px solid #e8e7e0;
  border-radius: 4px;
  padding: 1px 5px;
}
.card-name {
  font-weight: 650;
  font-size: 17px;
  letter-spacing: 0.2px;
}
.card-name:hover {
  color: var(--accent);
}
.brand-artwork .wordmark-frame {
  display: block;
  position: relative;
  overflow: hidden;
  width: 154px;
  aspect-ratio: 1627 / 700;
}
.public-page {
  padding-top: 34px;
  min-height: 75vh;
}
.public-page > .collection {
  padding-top: 0;
}
.public-note {
  margin: 35px 0 40px;
  text-align: center;
  color: #999c8f;
  font-size: 11px;
}
@media (max-width: 720px) {
  .header-nav.open {
    flex-wrap: wrap;
  }
  .public-page {
    padding-top: 23px;
  }

}
.brand-artwork .wordmark-frame .brand-logo {
  position: absolute;
  width: 132.759%;
  height: auto;
  max-width: none;
  left: -18.1315%;
  top: -116.2857%;
  object-fit: initial;
}
.site-footer .brand-artwork .wordmark-frame {
  width: 112px;
}
.admin-sidebar .brand-artwork .wordmark-frame {
  width: 140px;
}
@media (max-width: 720px) {
  .site-header .brand-artwork .wordmark-frame,
  .admin-sidebar .brand-artwork .wordmark-frame {
    width: 110px;
  }
  .site-footer .brand-artwork .wordmark-frame {
    width: 100px;
  }
}

.card-summary {
  font-size: 11px;
  color: #909188;
  line-height: 1.8;
  margin: 7px 0 14px;
  min-height: 40px;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.price {
  font-size: 14px;
  font-weight: 600;
}
.platform {
  font-size: 8px;
  color: #a3a398;
  letter-spacing: 0.8px;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #fffefa9e;
  padding: 27px 0;
}
.footer-inner {
  max-width: 1240px;
  padding: 0 40px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}
.site-footer .brand-logo {
  width: 33px;
  height: 33px;
}
.site-footer .brand > span {
  font-size: 20px;
}
.site-footer .brand small {
  font-size: 6px;
  letter-spacing: 1px;
}
.footer-inner > p {
  font-size: 11px;
  color: #96978f;
}
.footer-inner > div:last-child {
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-size: 9px;
  color: #a0a097;
  align-items: center;
}
.footer-inner > div:last-child a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.footer-inner .icon {
  width: 11px;
  height: 11px;
}
.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
}
.empty-state > .icon {
  width: 35px;
  height: 35px;
  margin-bottom: 10px;
}
.empty-state h3 {
  font-size: 18px;
  font-weight: 500;
}
.empty-state p {
  font-size: 13px;
  margin: 9px 0 22px;
}
.loading {
  text-align: center;
  padding: 25vh 20px;
  color: var(--muted);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #93938c;
  background: none;
  border: 0;
  padding: 0;
}
.back-link .icon {
  width: 15px;
  height: 15px;
}
.back-link:hover {
  color: var(--accent);
}
.detail-page {
  padding-top: 29px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 57px;
  margin-top: 25px;
}
.main-picture {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #e7e4e8;
}
.detail-cover {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
}
.gallery-thumbs button {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border: 2px solid transparent;
  padding: 0;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}
.gallery-thumbs button.active {
  border-color: var(--accent);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
}
.detail-info {
  padding-top: 18px;
}
.detail-category {
  font-size: 11px;
  color: #94958e;
}
.detail-category span {
  margin: 0 10px;
  color: #cdc9c0;
}
.detail-info h1 {
  font-size: 35px;
  margin-top: 16px;
  font-weight: 650;
  letter-spacing: 0.5px;
}
.english-name {
  font-size: 12px;
  color: #a49e99;
  letter-spacing: 1px;
  margin-top: 5px;
}
.detail-summary {
  font-size: 14px;
  color: #8b8c82;
  line-height: 1.9;
  margin-top: 24px;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.tags span {
  font-size: 10px;
  color: #97908e;
  background: #fffefaad;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 8px;
}
.detail-price {
  font-size: 27px;
  font-weight: 600;
  margin-top: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.detail-price > span {
  font-size: 10px;
  font-weight: 400;
  color: #a4a198;
}
.detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.detail-actions > .primary {
  flex: 1;
}
.detail-favorite.selected {
  color: var(--accent);
  border-color: var(--accent);
}
.platform-row {
  font-size: 11px;
  color: #8d9484;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
}
.platform-row .icon {
  width: 16px;
  height: 16px;
}
.detail-note {
  font-size: 10px;
  color: #aba69e;
  line-height: 1.8;
  margin-top: 12px;
}
.detail-content {
  display: grid;
  grid-template-columns: 1fr 315px;
  gap: 30px;
  margin-top: 48px;
  align-items: start;
}
.description-panel,
.spec-panel {
  background: #fffefadb;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 29px;
}
.description-panel h2 {
  font-size: 23px;
  font-weight: 550;
  margin: 8px 0 20px;
}
.description-panel h3 {
  font-size: 16px;
  font-weight: 550;
  margin: 28px 0 12px;
}
.prose {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 13px;
  line-height: 2;
  color: #898b82;
}
.spec-panel h3 {
  font-size: 16px;
  font-weight: 550;
}
.spec-panel dl {
  margin: 18px 0;
}
.spec-panel dl > div {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  font-size: 11px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.spec-panel dt {
  color: #a6a298;
  flex-shrink: 0;
}
.spec-panel dd {
  margin: 0;
  text-align: right;
  color: #737970;
}
.specs {
  font-size: 11px;
}
.related {
  margin: 48px 0;
}
.related .section-heading h2 {
  font-size: 23px;
}
.text-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #99988f;
}
.text-link .icon {
  width: 15px;
  height: 15px;
}
.preview-notice {
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 12px 18px;
  border-radius: 8px;
  margin-top: 20px;
  font-size: 12px;
}
.admin-body::before {
  opacity: 0.2;
}
.admin-layout {
  display: grid;
  grid-template-columns: 238px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: #fffefa;
  border-right: 1px solid var(--line);
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 30px 23px;
}
.admin-sidebar .brand-logo {
  width: 38px;
  height: 38px;
}
.admin-sidebar .brand > span {
  font-size: 23px;
}
.admin-sidebar .brand small {
  font-size: 6px;
  letter-spacing: 1px;
}
.admin-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: #b0aba0;
  margin: 48px 10px 12px;
}
.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.admin-sidebar nav > button,
.admin-sidebar nav > a,
.admin-sidebar-bottom button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-align: left;
  border: 0;
  background: none;
  border-radius: 8px;
  font-size: 12px;
  color: #8e9387;
}
.admin-sidebar nav > button.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.admin-sidebar nav .icon {
  width: 18px;
  height: 18px;
}
.admin-sidebar-bottom {
  margin-top: auto;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #939a89;
}
.admin-sidebar-bottom > span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px 12px;
}
.admin-sidebar-bottom .icon {
  width: 16px;
  height: 16px;
}
.admin-main {
  padding: 45px 46px;
  max-width: 1450px;
  width: 100%;
  min-width: 0;
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 29px;
}
.admin-heading h1 {
  font-size: 29px;
  font-weight: 600;
  margin: 6px 0;
}
.admin-heading p {
  font-size: 12px;
  color: #92988b;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}
.stats > div {
  padding: 22px 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffefa;
}
.stats span {
  font-size: 11px;
  color: #949889;
}
.stats strong {
  display: block;
  font-size: 29px;
  font-weight: 550;
  margin-top: 5px;
}
.stats small {
  font-size: 10px;
  color: #a8aa9f;
  margin-left: 10px;
  font-weight: 400;
}
.admin-panel {
  border: 1px solid var(--line);
  background: #fffefaef;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 22px;
  min-width: 0;
}
.admin-panel h2 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 23px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 0;
}
.panel-heading h2 {
  margin: 0;
}
.panel-heading span {
  font-size: 10px;
  color: #a2a797;
}
.admin-model-row {
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.admin-model-row:last-child {
  border-bottom: 0;
}
.admin-thumb {
  width: 62px;
  height: 62px;
  border-radius: 9px;
  flex-shrink: 0;
  background: var(--accent-soft);
}
.admin-model-title {
  flex: 1;
  min-width: 0;
}
.admin-model-title strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
}
.admin-model-title span {
  font-size: 10px;
  color: #a1a394;
}
.status-badge {
  font-size: 9px;
  padding: 4px 9px;
  border-radius: 5px;
  background: #f1efe8;
  color: #a29c8b;
  white-space: nowrap;
}
.status-badge.published {
  background: #e8f2e9;
  color: #699576;
}
.small {
  padding: 7px 11px;
  font-size: 11px;
  gap: 5px;
}
.small .icon {
  width: 14px;
  height: 14px;
}
.danger {
  color: #bba3a2;
}
.danger:hover {
  color: #c34e5b;
  background: #fae8eb;
}
.edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 325px;
  gap: 24px;
  align-items: start;
}
.account-layout {
  max-width: 760px;
}
.admin-accounts-loading {
  font-size: 12px;
  color: var(--muted);
  padding: 10px 0;
}
.admin-account-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.admin-account-row:first-child {
  padding-top: 0;
}
.admin-account-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.admin-account-info {
  flex: 1;
  min-width: 0;
}
.admin-account-info strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.admin-account-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.admin-default-badge {
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.admin-account-row > button {
  flex-shrink: 0;
}
.admin-account-status {
  color: var(--accent-dark);
  font-size: 12px;
  line-height: 1.7;
  margin: 12px 0;
}
.admin-account-status:empty {
  display: none;
}
.admin-account-dialog .form-error {
  color: #c45562;
}
.admin-account-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
@media (max-width: 430px) {
  .admin-account-dialog {
    padding: 32px 22px 22px;
  }
  .admin-account-row {
    gap: 10px;
  }
}
.login-status {
  margin: 16px 0;
  padding: 12px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  line-height: 1.7;
  font-size: 12px;
}
.edit-side {
  position: sticky;
  top: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #767e6f;
  margin-bottom: 19px;
}
.field input,
.field textarea,
.field select {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  background: #fffefc;
  color: var(--ink);
  width: 100%;
  min-width: 0;
  outline-offset: 2px;
  font-size: 12px;
}
.field textarea {
  resize: vertical;
  line-height: 1.8;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}
.field small,
.field-help {
  font-size: 10px;
  color: #a5a897;
  line-height: 1.7;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.upload-preview {
  max-height: 170px;
  background: #f4f3ed;
  border: 1px dashed #deddd3;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  min-height: 85px;
}
.upload-preview > img {
  height: 140px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 7px;
}
.upload-preview > .icon {
  width: 30px;
  height: 30px;
  color: #bcbfb1;
}
.upload-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.upload-controls input {
  flex: 1;
  min-width: 0;
}
.upload-button {
  flex-shrink: 0;
  font-size: 10px;
  cursor: pointer;
  padding: 9px;
}
.upload-button input[hidden] {
  display: none;
}
.edit-side .upload-controls {
  flex-wrap: wrap;
}
.edit-side .upload-controls input {
  flex-basis: 100%;
}
.checkbox-field {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  color: #88917d;
  margin: 15px 0;
}
.checkbox-field input {
  accent-color: var(--accent);
}
.full {
  width: 100%;
  margin-top: 10px;
}
.panel-description {
  font-size: 11px;
  line-height: 1.8;
  color: #a0a58f;
  margin: -9px 0 22px;
}
.pattern-preview-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 0 0 20px;
}
.pattern-swatch {
  height: 66px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background-color: #f8f5f0;
  background-image: var(--pattern);
  background-size: 24px 24px;
  position: relative;
  padding: 0;
}
.pattern-swatch.active,
.pattern-swatch:hover {
  border-color: var(--accent);
}
.pattern-swatch span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff9;
  font-size: 9px;
  padding: 3px;
  color: #8f9583;
}
.field-help {
  margin-top: -7px;
}
.form-error {
  color: #c45562;
  font-size: 11px;
  margin: 12px 0;
  min-height: 0;
}
.form-error:empty {
  display: none;
}
.login-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px;
  min-height: 100vh;
}
.login-card {
  background: #fffefaef;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 39px;
  width: 420px;
  max-width: 100%;
  margin-top: 40px;
}
.login-card h1 {
  font-size: 27px;
  font-weight: 550;
  margin: 8px 0 10px;
}
.login-card > p {
  color: #989e8d;
  font-size: 12px;
  margin-bottom: 26px;
}
.login-card form > label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 19px;
  font-size: 12px;
  color: #909783;
}
.login-card input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fffefc;
  min-width: 0;
}
.login-card form .button {
  width: 100%;
  margin-top: 9px;
}
.login-card > .back-link {
  margin-top: 23px;
}
.login-foot {
  font-size: 9px;
  color: #a4aa97;
  letter-spacing: 1px;
  margin-top: 25px;
}
.error-page {
  padding: 100px 30px;
  text-align: center;
  min-height: 60vh;
}
.error-page h1 {
  font-size: 30px;
  font-weight: 550;
  margin: 12px 0;
}
.error-page p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 23px;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #303b32ec;
  color: #fff;
  padding: 12px 20px;
  border-radius: 9px;
  font-size: 12px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  box-shadow: 0 8px 25px #30333415;
  max-width: 90%;
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  max-width: 420px;
  width: calc(100% - 40px);
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop {
  background: #24252d55;
  backdrop-filter: blur(3px);
}
#group-dialog {
  box-sizing: border-box;
  max-width: 600px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(24px, 6vw, 40px);
  overflow-wrap: anywhere;
}
#group-dialog [hidden] { display: none; }
#group-dialog .eyebrow { padding-right: 20px; }
#group-dialog p { white-space: pre-wrap; }
#group-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
  margin: 24px 0 12px;
}
#group-images img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  box-sizing: border-box;
}
#group-image-caption { text-align: center; }
#group-actions .button { max-width: 100%; white-space: normal; }
dialog h2 {
  font-size: 26px;
  font-weight: 550;
  margin: 10px 0;
}
dialog p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.dialog-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: 0;
  color: #9ca18f;
  font-size: 25px;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 430px;
  }
  .hero h1 {
    font-size: 47px;
  }
}
@media (max-width: 1150px) {
  .header-inner {
    gap: 25px;
  }
  .header-nav {
    gap: 20px;
  }
  .admin-layout {
    grid-template-columns: 205px 1fr;
  }
  .admin-sidebar {
    padding: 25px 17px;
  }
  .admin-main {
    padding: 35px 27px;
  }
  .edit-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
  }
  .admin-model-row {
    gap: 11px;
  }
  .admin-model-row .button.small {
    padding: 6px 9px;
  }
  .hero h1 {
    font-size: 39px;
  }
  .detail-layout {
    gap: 35px;
  }
}
@media (max-width: 950px) {
  .header-inner {
    padding: 20px 28px;
  }
  .container {
    padding: 0 28px;
  }
  .header-nav {
    gap: 18px;
  }
  .group-button {
    padding: 10px 13px;
    font-size: 11px;
  }
  .hero {
    gap: 25px;
    min-height: 350px;
  }
  .hero-copy {
    padding: 25px 0 0;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-art {
    min-height: 350px;
  }
  .hero-cover {
    max-height: 380px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .model-grid {
    gap: 26px 18px;
  }
  .card-name {
    font-size: 15px;
  }
  .card-summary {
    font-size: 10px;
    min-height: 54px;
  }
  .footer-inner {
    padding: 0 28px;
  }
  .footer-inner > p {
    display: none;
  }
  .admin-layout {
    grid-template-columns: 175px 1fr;
  }
  .admin-sidebar {
    padding: 23px 12px;
  }
  .admin-sidebar .brand > span {
    font-size: 19px;
  }
  .admin-sidebar .brand-logo {
    width: 30px;
    height: 30px;
  }
  .admin-sidebar .brand {
    gap: 6px;
  }
  .admin-main {
    padding: 28px 22px;
  }
  .edit-layout {
    grid-template-columns: 1fr;
  }
  .edit-side {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .admin-model-row {
    flex-wrap: wrap;
  }
  .admin-model-title {
    flex-basis: 40%;
  }
  .admin-model-row .status-badge {
    margin-left: auto;
  }
  .admin-model-row .button {
    margin-left: auto;
  }
  .admin-model-row .button + .button {
    margin-left: 0;
  }
  .detail-info h1 {
    font-size: 28px;
  }
  .detail-content {
    grid-template-columns: 1fr 270px;
    gap: 20px;
  }
  .detail-actions {
    flex-wrap: wrap;
  }
  .detail-summary {
    font-size: 12px;
  }
  .description-panel,
  .spec-panel {
    padding: 24px;
  }
  .field-pair {
    gap: 12px;
  }
}
@media (max-width: 720px) {
  .site-header {
    position: relative;
  }
  .header-inner {
    padding: 16px 20px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .brand-logo {
    width: 36px;
    height: 36px;
  }
  .brand > span {
    font-size: 23px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 1.3px;
  }
  .header-nav {
    display: none;
    order: 4;
    width: 100%;
    margin: 0;
    padding-top: 10px;
    gap: 26px;
  }
  .header-nav.open {
    display: flex;
  }
  .group-button {
    margin-left: auto;
    padding: 9px 11px;
    border-radius: 7px;
  }
  .group-button .icon {
    width: 14px;
    height: 14px;
  }
  .mobile-menu {
    display: flex;
    padding: 3px;
  }
  .container {
    padding: 0 20px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 26px 0 22px;
    min-height: 300px;
  }
  .hero-copy {
    padding: 14px 0 0;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .tiny-star {
    font-size: 11px;
  }
  .hero h1 {
    font-size: 26px;
    line-height: 1.55;
    margin: 14px 0;
  }
  .hero-copy > p {
    font-size: 11px;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .hero-copy .primary {
    font-size: 11px;
    padding: 10px 13px;
  }
  .hero-note {
    font-size: 6px;
    letter-spacing: 0.8px;
    margin-top: 20px;
    gap: 5px;
  }
  .hero-art {
    min-height: 300px;
    border-radius: 13px;
  }
  .hero-cover {
    max-height: 340px;
    object-position: center;
  }
  .hero-art-note {
    bottom: 12px;
    left: 10px;
    right: 10px;
    padding: 10px;
    gap: 3px;
    grid-template-columns: 1fr 25px;
    border-radius: 8px;
  }
  .hero-art-note strong {
    font-size: 12px;
  }
  .hero-art-note > span:first-child {
    font-size: 6px;
    letter-spacing: 0.7px;
  }
  .round-arrow {
    width: 24px;
    height: 24px;
  }
  .round-arrow .icon {
    width: 13px;
    height: 13px;
  }
  .announcement {
    font-size: 10px;
    padding: 11px 12px;
    gap: 8px;
  }
  .announcement-end {
    display: none;
  }
  .collection {
    padding-top: 33px;
  }
  .section-heading {
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .search-box {
    width: 215px;
    padding: 9px 11px;
  }
  .search-box input {
    font-size: 10px;
  }
  .collection-toolbar {
    flex-wrap: wrap;
    gap: 13px;
    padding-bottom: 12px;
  }
  .category-tabs {
    gap: 3px;
  }
  .category-tabs button {
    font-size: 11px;
    padding: 7px 12px;
  }
  .collection-controls {
    margin-left: auto;
    gap: 8px;
  }
  .favorites-filter,
  .collection-controls select {
    font-size: 10px;
  }
  .results-line {
    font-size: 9px;
  }
  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 16px;
  }
  .card-image {
    border-radius: 10px;
  }
  .card-badge {
    font-size: 7px;
    top: 9px;
    left: 9px;
    padding: 3px 6px;
  }
  .favorite {
    width: 28px;
    height: 28px;
    right: 9px;
    top: 9px;
  }
  .favorite .icon {
    width: 14px;
    height: 14px;
  }
  .card-meta {
    font-size: 8px;
    margin: 12px 0 5px;
  }
  .card-meta span:last-child {
    font-size: 7px;
  }
  .card-name {
    font-size: 15px;
  }
  .card-summary {
    font-size: 10px;
    min-height: 54px;
    margin: 6px 0 11px;
  }
  .card-bottom {
    padding-top: 10px;
  }
  .price {
    font-size: 12px;
  }
  .platform {
    font-size: 7px;
  }
  .footer-inner {
    padding: 0 20px;
    gap: 15px;
  }
  .footer-inner > div:last-child {
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    font-size: 8px;
  }
  .site-footer .brand > span {
    font-size: 18px;
  }
  .site-footer .brand-logo {
    width: 28px;
    height: 28px;
  }
  .detail-page {
    padding-top: 22px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 20px;
  }
  .detail-gallery {
    max-width: 500px;
    width: 100%;
    margin: auto;
  }
  .detail-info {
    padding-top: 0;
  }
  .detail-info h1 {
    font-size: 31px;
  }
  .detail-summary {
    font-size: 13px;
    margin-top: 18px;
  }
  .detail-price {
    margin-top: 23px;
  }
  .detail-content {
    grid-template-columns: 1fr;
    margin-top: 30px;
    gap: 20px;
  }
  .spec-panel {
    order: -1;
  }
  .detail-actions {
    flex-wrap: nowrap;
  }
  .description-panel,
  .spec-panel {
    padding: 24px;
  }
  .related {
    margin: 33px 0;
  }
  .related .model-card:nth-child(3) {
    display: none;
  }
  .related .section-heading h2 {
    font-size: 20px;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    height: auto;
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 20px;
  }
  .admin-sidebar .brand > span {
    font-size: 21px;
  }
  .admin-sidebar .brand-logo {
    width: 35px;
    height: 35px;
  }
  .admin-label {
    display: none;
  }
  .admin-sidebar nav {
    grid-column: 1/-1;
    flex-direction: row;
    margin-top: 18px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .admin-sidebar nav > button,
  .admin-sidebar nav > a {
    padding: 9px 11px;
    font-size: 11px;
    gap: 7px;
  }
  .admin-sidebar nav .icon {
    width: 15px;
    height: 15px;
  }
  .admin-sidebar-bottom {
    margin: 0;
    padding: 0;
    border: 0;
    grid-row: 1;
    grid-column: 2;
    align-self: center;
  }
  .admin-sidebar-bottom > span {
    display: none;
  }
  .admin-sidebar-bottom button {
    padding: 6px;
    font-size: 10px;
    gap: 5px;
  }
  .admin-main {
    padding: 27px 20px;
  }
  .admin-heading {
    margin-bottom: 24px;
    gap: 10px;
  }
  .admin-heading h1 {
    font-size: 25px;
  }
  .admin-heading p {
    font-size: 11px;
  }
  .admin-heading > .button {
    font-size: 11px;
    padding: 10px 12px;
  }
  .stats {
    gap: 9px;
    margin-bottom: 23px;
  }
  .stats > div {
    padding: 14px 13px;
  }
  .stats span {
    font-size: 9px;
  }
  .stats strong {
    font-size: 25px;
  }
  .stats small {
    display: block;
    margin: 0;
    font-size: 9px;
  }
  .admin-panel {
    padding: 20px;
    margin-bottom: 18px;
  }
  .admin-panel h2 {
    font-size: 16px;
  }
  .panel-heading span {
    font-size: 9px;
  }
  .admin-model-row {
    gap: 10px;
    padding: 15px 0;
  }
  .admin-thumb {
    width: 47px;
    height: 47px;
  }
  .admin-model-title strong {
    font-size: 12px;
  }
  .admin-model-title span {
    font-size: 9px;
  }
  .admin-model-row .status-badge {
    font-size: 8px;
    padding: 3px 7px;
  }
  .admin-model-row .button.small {
    font-size: 10px;
    padding: 5px 9px;
  }
  .admin-model-row .button:first-of-type {
    margin-left: 57px;
  }
  .admin-model-row .button + .button {
    margin-left: 0;
  }
  .admin-model-row .danger {
    margin-left: auto;
  }
  .edit-layout {
    gap: 0;
  }
  .edit-side {
    display: block;
  }
  .field-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .edit-side .field-pair {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .upload-controls {
    flex-wrap: wrap;
  }
  .upload-controls input {
    flex-basis: 100%;
  }
  .login-page {
    padding: 35px 20px;
  }
  .login-card {
    padding: 28px;
    margin-top: 30px;
  }
  .login-card h1 {
    font-size: 25px;
  }
  .error-page {
    padding: 70px 20px;
  }
  .error-page h1 {
    font-size: 24px;
  }
  .header-nav a {
    font-size: 12px;
  }
}
@media (max-width: 430px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hero-copy {
    padding: 7px 0 0;
  }
  .hero h1 {
    font-size: 34px;
    line-height: 1.5;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .hero-copy > p {
    max-width: none;
    font-size: 12px;
  }
  .hero-art {
    min-height: 0;
    aspect-ratio: 1.2;
  }
  .hero-cover {
    height: 100%;
    max-height: none;
    object-position: center 35%;
  }
  .hero-note {
    display: none;
  }
  .hero-art-note {
    bottom: 17px;
    left: 17px;
    right: 17px;
    padding: 12px 15px;
    grid-template-columns: 1fr 32px;
  }
  .hero-art-note strong {
    font-size: 16px;
  }
  .hero-art-note > span:first-child {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .round-arrow {
    width: 30px;
    height: 30px;
  }
  .section-heading {
    display: block;
  }
  .search-box {
    width: 100%;
    margin-top: 17px;
  }
  .collection-controls {
    width: 100%;
    justify-content: space-between;
  }
  .results-line > span:last-child {
    font-size: 8px;
  }
  .card-meta span:last-child {
    display: none;
  }
  .card-name {
    font-size: 14px;
  }
  .card-summary {
    min-height: 54px;
    font-size: 9px;
  }
  .model-grid {
    gap: 24px 13px;
  }
  .detail-actions > .button {
    font-size: 12px;
  }
  .group-button > span {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-footer .brand small {
    font-size: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
body {
  isolation: isolate;
}
.card-summary {
  font-size: 12px;
  color: #797c73;
}
@media (max-width: 720px) {
  .card-summary {
    font-size: 11px;
    min-height: 60px;
  }
  .card-meta {
    font-size: 9px;
  }
}
@media (max-width: 430px) {
  .card-summary {
    font-size: 11px;
    min-height: 80px;
  }
}
