@font-face {
  font-family: Manrope;
  src: url("/assets/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
.upload-media {
  position: relative;
}
.photo-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffffeb;
  color: #202020;
  box-shadow: 0 2px 8px #00000008;
}
.photo-remove svg {
  width: 15px;
  height: 15px;
}
.upload-zone:disabled {
  opacity: 1;
  cursor: progress;
}
.studio-help {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  padding: 10px 0;
  white-space: nowrap;
}
.studio-help svg {
  width: 16px;
  height: 16px;
}
.search-clear {
  padding: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  color: var(--muted);
}
.search-clear svg {
  width: 15px;
  height: 15px;
}
.photo-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 25px 0;
}
.photo-guide section {
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.photo-guide span {
  color: var(--muted);
  font-size: 11px;
}
.photo-guide h3 {
  font-size: 17px;
  margin: 8px 0;
}
.photo-guide p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
[data-theme="dark"] .photo-remove {
  background: #24242be8;
  color: var(--ink);
  border-color: var(--line);
}
@media (max-width: 650px) {
  .page-title:has(.studio-help) {
    flex-wrap: wrap;
    gap: 10px;
  }
  .page-title:has(.studio-help) > div {
    flex-basis: 100%;
  }
  .studio-help {
    font-size: 10px;
    padding: 0;
  }
  .photo-remove {
    width: 28px;
    height: 28px;
    top: 8px;
    right: 8px;
  }
  .photo-guide {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
:root {
  --paper: #fafaf8;
  --ink: #202020;
  --muted: #8a8a84;
  --line: #e8e8e3;
  --panel: #f0f0ec;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    13px/1.55 Manrope,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--tg-content-safe-area-inset-top, 0px);
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #62625d;
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -1.6px;
  font-weight: 500;
}
h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.7px;
  font-weight: 500;
}
h3 {
  font-weight: 500;
}
.site-header {
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 5%;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  background: #fafaf8ed;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 15;
}
.plain-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1px;
  white-space: nowrap;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: auto;
}
.desktop-nav button {
  padding: 28px 0 26px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.desktop-nav button.active {
  color: var(--ink);
  border-color: var(--ink);
}
.icon-button {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  font-size: 25px;
  border-radius: 50%;
}
.icon-button:hover {
  background: #edede8;
}
main {
  padding: 42px 5% 50px;
  max-width: 1800px;
  margin: 0 auto;
  min-height: calc(100dvh - 162px);
  outline: none;
}
.site-footer {
  max-width: 1800px;
  margin: 0 auto;
  padding: 25px 5%;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.site-footer button {
  padding: 0;
  font-size: 9px;
  color: var(--muted);
}
.page-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 29px;
}
.page-title p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 11px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 13px 19px;
  border: 1px solid var(--ink);
  font-size: 11px;
  border-radius: 7px;
  min-height: 43px;
  transition: background 0.15s;
}
.primary {
  background: #222;
  color: #fff;
  font-weight: 600;
}
.primary:hover {
  background: #41413c;
}
.secondary {
  background: transparent;
  border-color: #d6d6cf;
}
.secondary:hover {
  background: #efefea;
}
.primary svg,
.secondary svg {
  width: 16px;
  height: 16px;
}
.catalog-search {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 17px;
  height: 49px;
  border-radius: 8px;
  flex: 1;
}
.search-box > svg {
  color: #83837c;
  width: 18px;
  height: 18px;
}
.search-box input {
  background: none;
  border: 0;
  outline: none;
  width: 100%;
  height: 100%;
  font-size: 12px;
}
.search-hint {
  border: 1px solid var(--line);
  font-size: 10px;
  width: 20px;
  height: 22px;
  border-radius: 4px;
  text-align: center;
  line-height: 20px;
  color: #a8a8a1;
}
.quick-brands {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow: auto;
  padding: 1px 0 23px;
  scrollbar-width: none;
}
.quick-brands::-webkit-scrollbar {
  display: none;
}
.quick-brands button {
  white-space: nowrap;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 9px;
  color: #73736d;
  background: #fff6;
}
.quick-brands button.active {
  border-color: #4d4d48;
  color: #222;
  background: #eeeee9;
}
.quick-brands button:last-child {
  margin-left: auto;
  border-color: transparent;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 36px;
}
.filters-panel {
  padding: 0 22px 0 0;
  border-right: 1px solid var(--line);
  align-self: start;
  position: sticky;
  top: 102px;
  max-height: calc(100dvh - 120px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #deded6 transparent;
}
.filter-section {
  margin-bottom: 25px;
}
.filter-section h3 {
  font-size: 10px;
  font-weight: 700;
  margin: 4px 0 12px;
}
.category-list {
  display: grid;
  gap: 3px;
}
.category-button {
  font-size: 10px;
  color: #82827b;
  text-align: left;
  padding: 6px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.category-button small {
  font-size: 8px;
  color: #b0b0a7;
}
.category-button.active {
  color: #1b1b18;
  font-weight: 700;
}
.category-button.active:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #222;
  margin-right: 0;
}
.category-button.active small {
  margin-left: auto;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  margin: 10px 0;
  cursor: pointer;
}
.check-row input {
  width: 12px;
  height: 12px;
  accent-color: #252521;
  margin: 0;
}
.check-row small {
  font-size: 8px;
  color: #b4b4aa;
  margin-left: auto;
}
.check-row[hidden] {
  display: none;
}
.brand-filter-search {
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  background: none !important;
  border-radius: 0 !important;
  padding: 4px 0 7px !important;
  font-size: 10px !important;
  min-height: 0 !important;
}
.brand-options {
  max-height: 200px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #deded6 transparent;
  padding-right: 6px;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.filter-pill {
  padding: 5px 8px;
  font-size: 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #96968c;
}
.filter-pill.active {
  color: #242420;
  border-color: #74746c;
  background: #eeeee8;
}
input[type="text"],
input[type="number"],
input[type="search"]:not(.search-box input),
select {
  padding: 11px 12px;
  border: 1px solid #dfdfd7;
  border-radius: 6px;
  background: #fff;
  width: 100%;
  min-height: 38px;
  outline: none;
}
select {
  font-size: 11px;
}
.price-inputs {
  display: flex;
  gap: 6px;
}
.price-inputs input {
  min-width: 0;
  font-size: 10px;
  padding: 9px;
}
.reset-button {
  font-size: 10px;
  color: #8e8e82;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 0 0 20px;
  padding: 0;
}
.microcopy {
  font-size: 10px;
  line-height: 1.85;
  color: var(--muted);
}
.price-inputs + .microcopy {
  font-size: 8px;
  margin-top: 7px;
}
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 29px;
  margin-bottom: 17px;
}
.results-toolbar > p {
  font-size: 10px;
  color: var(--muted);
}
.sort-label {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 9px;
  color: #98988e;
}
.sort-label select {
  padding: 4px 22px 4px 6px;
  border: 0;
  background: transparent;
  font-size: 10px;
  color: #4a4a42;
  min-height: 25px;
  width: auto;
}
.active-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.active-filters:has(button) {
  margin-bottom: 18px;
}
.active-filters button {
  font-size: 9px;
  background: #eaeae3;
  border-radius: 4px;
  padding: 4px 7px;
  color: #727266;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 29px 18px;
}
.product-card {
  min-width: 0;
}
.product-image {
  aspect-ratio: 3/4;
  background: #efefeb;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.product-open {
  display: block;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #f0f0ec;
}
.product-open img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.25s ease;
}
.product-open:hover img {
  transform: scale(1.035);
}
.save-button {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffffb3;
  backdrop-filter: blur(12px);
  color: #5a5a52;
}
.save-button svg {
  width: 14px;
  height: 14px;
}
.save-button.is-saved {
  background: #222;
  color: #fff;
}
.save-button.is-saved svg {
  fill: #fff;
}
.product-meta {
  padding: 13px 0 10px;
}
.product-brand {
  display: block;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #3c3c36;
  margin-bottom: 5px;
}
.product-meta h3 {
  font-size: 11px;
  line-height: 1.65;
  font-weight: 400;
  color: #85857b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
}
.product-price {
  font-size: 11px;
  font-weight: 500;
  margin-top: 7px;
}
.product-price.muted {
  font-size: 9px;
  color: #aaa99f;
  font-weight: 400;
}
.try-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 10px 0 0;
  font-size: 10px;
  color: #4b4b43;
}
.try-button svg {
  width: 14px;
  height: 14px;
}
.try-button:hover {
  color: #000;
}
.catalog-note {
  font-size: 8px;
  line-height: 1.9;
  color: #aaa99f;
  margin-top: 35px;
}
.load-more {
  text-align: center;
  margin-top: 35px;
}
.load-more .secondary {
  min-width: 190px;
}
.load-more .secondary span {
  font-size: 9px;
  color: #99988e;
}
.load-more small {
  display: block;
  font-size: 9px;
  color: #aaa99f;
  margin-top: 11px;
}
.mobile-filter-button,
.mobile-nav {
  display: none;
}
.brand-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 35px;
}
.brands-search {
  max-width: 540px;
  margin-bottom: 30px;
  flex: none;
}
.brand-entry {
  display: flex;
  align-items: center;
  padding: 24px 0;
  min-height: 115px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  gap: 20px;
}
.brand-entry > div {
  min-width: 0;
}
.brand-name {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.brand-entry small {
  display: block;
  color: #a09f95;
  font-size: 9px;
  margin-top: 5px;
}
.brand-thumbnails {
  display: flex;
  margin-left: auto;
  flex-shrink: 0;
  gap: 3px;
}
.brand-thumbnails img {
  width: 45px;
  height: 65px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand-entry > svg {
  width: 16px;
  height: 16px;
  color: #949389;
}
.brand-entry:hover .brand-name {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.empty-state {
  padding: 65px 20px 80px;
  text-align: center;
}
.empty-state > svg {
  width: 34px;
  height: 34px;
  color: #aaa99f;
  margin: 0 auto 20px;
}
.empty-state h2 {
  font-size: 22px;
  margin-bottom: 12px;
}
.empty-state p {
  font-size: 11px;
  color: var(--muted);
  max-width: 320px;
  margin: 0 auto 24px;
}
.saved-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.saved-tabs button {
  padding: 0 0 12px;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  color: #929184;
}
.saved-tabs button.active {
  color: #222;
  border-color: #222;
}
.saved-tabs span {
  font-size: 9px;
  margin-left: 5px;
  color: #aaa99f;
}
.saved-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.look-card > button:first-child {
  width: 100%;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #e8e8e1;
}
.look-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.look-card h3 {
  font-size: 12px;
  margin: 12px 0 5px;
}
.look-card p {
  font-size: 9px;
  color: var(--muted);
}
.look-card .text-button {
  font-size: 9px;
  color: #9b8d7e;
  margin-top: 9px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  padding: 4px 0;
  text-align: left;
}
.text-button svg {
  width: 14px;
  height: 14px;
}
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 35px auto 0;
}
.upload-panel {
  min-width: 0;
}
.upload-panel-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.upload-panel-title > span {
  color: #b0afa4;
  font-size: 9px;
}
.upload-panel-title h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.upload-zone {
  height: 380px;
  width: 100%;
  background: #eeeee8;
  border: 1px dashed #d7d6cb;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  color: #99998b;
}
.upload-zone:hover {
  background: #e9e9e2;
}
.upload-zone svg {
  width: 35px;
  height: 35px;
}
.upload-zone strong {
  font-size: 14px;
  color: #66665b;
  font-weight: 400;
}
.upload-zone > span {
  font-size: 9px;
}
.upload-zone.has-image {
  border: 1px solid var(--line);
}
.upload-zone img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.upload-replace {
  position: absolute;
  bottom: 15px;
  background: #ffffffdb;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 8px 13px;
  color: #646459;
  backdrop-filter: blur(14px);
}
.upload-panel > .microcopy {
  margin-top: 11px;
  max-width: 390px;
  font-size: 9px;
}
.field-label {
  font-size: 10px;
  display: block;
  margin: 14px 0 7px;
  color: #747469;
}
.item-picker-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 13px;
}
.item-picker-links .text-button {
  font-size: 10px;
  color: #737363;
}
.studio-controls {
  max-width: 1000px;
  margin: 27px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 9px;
  color: #939282;
  line-height: 1.9;
  max-width: 560px;
}
.consent input {
  width: 14px;
  height: 14px;
  accent-color: #222;
  margin: 3px 0 0;
  flex-shrink: 0;
}
.studio-controls .primary {
  min-width: 200px;
}
.studio-caption {
  max-width: 1000px;
  margin: 14px auto 0;
  font-size: 8px;
}
.connection-note {
  max-width: 1000px;
  margin: 22px auto 0;
  background: #efefe8;
  border-radius: 7px;
  padding: 15px 18px;
  font-size: 10px;
  line-height: 1.8;
  color: #90907e;
}
.connection-note .text-button {
  margin-left: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.processing {
  text-align: center;
  margin: 50px auto 0;
  max-width: 420px;
}
.processing h2 {
  font-size: 22px;
}
.processing p {
  font-size: 11px;
  color: #99988b;
  line-height: 1.8;
  margin-top: 12px;
}
.spinner {
  width: 30px;
  height: 30px;
  border: 1px solid #d5d4c8;
  border-top-color: #3d3d32;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.result-panel {
  max-width: 700px;
  margin: 50px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.result-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}
.result-title h2 {
  font-size: 23px;
}
.result-title span {
  font-size: 9px;
  color: #9c9b8e;
}
.result-image {
  height: 600px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #eaeae1;
}
.result-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.result-image .before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}
.result-image input {
  position: absolute;
  bottom: 15px;
  left: 20px;
  width: calc(100% - 40px);
  accent-color: #303027;
}
.compare-labels {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 20px;
  font-size: 9px;
  color: #9c9a8d;
}
.result-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.profile-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 35px;
  text-align: center;
  max-width: 650px;
  margin: 35px auto 0;
}
.profile-avatar {
  width: 65px;
  height: 65px;
  background: #edede5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: #888875;
}
.profile-card h2 {
  font-size: 24px;
}
.profile-card > p {
  font-size: 10px;
  color: #aaa99b;
  margin-top: 9px;
}
.profile-stats {
  display: flex;
  justify-content: center;
  gap: 70px;
  margin-top: 28px;
}
.profile-stats strong {
  display: block;
  font-size: 26px;
  font-weight: 400;
}
.profile-stats span {
  font-size: 9px;
  color: #a6a494;
}
.profile-settings {
  max-width: 650px;
  margin: 24px auto 0;
}
.profile-settings > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.profile-settings > div > span {
  font-size: 11px;
}
.profile-settings small {
  font-size: 9px;
  color: #9c9a8c;
}
.danger {
  color: #9e7467;
}
.initial-loading {
  text-align: center;
  padding: 80px;
  font-size: 12px;
  color: var(--muted);
}
dialog {
  border: 1px solid #e7e7dd;
  background: #fafaf8f5;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 100px #2222;
  border-radius: 13px;
  width: min(850px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 23px;
  color: var(--ink);
}
dialog::backdrop {
  background: #1d1d1955;
  backdrop-filter: blur(6px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.dialog-head > span {
  font-size: 9px;
  color: #929182;
}
.dialog-head .icon-button {
  width: 28px;
  height: 28px;
}
#dialog-body > h2 {
  margin: 0 0 20px;
}
#dialog-body > p {
  font-size: 12px;
  color: #8a8979;
  line-height: 1.9;
  margin: 12px 0;
}
#dialog-body > .primary {
  margin-top: 20px;
  width: 100%;
}
.product-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}
.detail-image {
  background: #efefe8;
  border-radius: 8px;
  overflow: hidden;
  min-height: 420px;
}
.detail-image img {
  width: 100%;
  height: 100%;
  max-height: 540px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.detail-copy {
  padding: 20px 4px;
}
.detail-copy h2 {
  font-size: 26px;
  line-height: 1.4;
  margin: 12px 0 15px;
  letter-spacing: -0.6px;
}
.detail-price {
  font-size: 16px;
}
.detail-copy dl {
  margin: 28px 0 22px;
}
.detail-copy dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  font-size: 10px;
}
.detail-copy dt {
  color: #aaa899;
}
.detail-copy dd {
  text-align: right;
  margin: 0;
}
.detail-copy > .primary {
  width: 100%;
  margin: 23px 0 10px;
}
.detail-copy > .secondary {
  width: 100%;
  font-size: 10px;
}
.modal-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.form-preview {
  height: 140px;
  width: 140px;
  object-fit: contain;
  background: #efeee6;
  border-radius: 8px;
  margin: 20px auto;
}
#garment-form {
  max-width: 430px;
  margin: auto;
}
#garment-form .primary {
  width: 100%;
  margin-top: 25px;
}
.help-list {
  padding: 0;
  list-style: none;
  counter-reset: steps;
}
.help-list li {
  counter-increment: steps;
  padding: 18px 0 18px 40px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.help-list li:before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 20px;
  font-size: 10px;
  color: #b1af9f;
}
.help-list strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.help-list span {
  font-size: 10px;
  color: #979484;
}
.mobile-filter-fields {
  display: none;
}
.filter-apply {
  position: sticky;
  bottom: 0;
  box-shadow: 0 -10px 25px #fafaf8;
}
.filter-apply span {
  color: #c5c5b9;
  font-size: 9px;
  margin-left: 15px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  background: #25251fef;
  color: #fff;
  border: 1px solid #fff2;
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 11px;
  text-align: center;
  max-width: calc(100% - 30px);
  transition: 0.2s;
}
#toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
.upload-zone.drag-over {
  outline: 2px solid #747461;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@media (min-width: 1600px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 35px 22px;
  }
  .catalog-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 50px;
  }
  .site-header {
    padding-left: 6%;
    padding-right: 6%;
  }
  main {
    padding-left: 6%;
    padding-right: 6%;
  }
}
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 16px;
  }
  .catalog-layout {
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 25px;
  }
  .filters-panel {
    padding-right: 18px;
  }
  .saved-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .desktop-nav {
    gap: 22px;
  }
  .brand-thumbnails img {
    width: 34px;
    height: 55px;
  }
  .brand-entry {
    gap: 12px;
  }
  .brand-name {
    font-size: 16px;
  }
}
@media (max-width: 850px) {
  .site-header {
    padding: 0 24px;
    height: 70px;
    gap: 20px;
  }
  .plain-title {
    font-size: 10px;
  }
  .desktop-nav {
    gap: 17px;
  }
  .desktop-nav button {
    font-size: 10px;
    padding: 23px 0 21px;
  }
  main {
    padding: 30px 24px 35px;
  }
  .catalog-layout {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 20px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 14px;
  }
  .brand-directory {
    gap: 0 24px;
  }
  .brand-thumbnails img {
    width: 28px;
    height: 45px;
  }
  .brand-entry .brand-thumbnails img:last-child {
    display: none;
  }
  .brand-name {
    font-size: 15px;
  }
  .upload-zone {
    height: 320px;
  }
  .studio-grid {
    gap: 20px;
  }
  .studio-controls {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }
  .studio-controls > .primary {
    align-self: flex-start;
  }
  .saved-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .site-header {
    height: 62px;
    padding: 0 20px;
    position: relative;
    justify-content: space-between;
    border-bottom: 0;
  }
  .plain-title {
    font-size: 11px;
  }
  .desktop-nav {
    display: none;
  }
  .site-header .icon-button {
    width: 29px;
    height: 29px;
  }
  .site-header svg {
    width: 18px;
    height: 18px;
  }
  main {
    padding: 20px 18px 35px;
    min-height: calc(100dvh - 195px);
  }
  h1 {
    font-size: 31px;
    letter-spacing: -1.1px;
  }
  .page-title {
    margin-bottom: 22px;
    gap: 12px;
    align-items: center;
  }
  .page-title p {
    font-size: 10px;
    margin-top: 8px;
  }
  .page-title > .secondary {
    font-size: 9px;
    padding: 9px 11px;
    min-height: 36px;
    gap: 6px;
    white-space: nowrap;
  }
  .page-title > .secondary svg {
    width: 13px;
    height: 13px;
  }
  .catalog-search {
    gap: 8px;
    margin-bottom: 13px;
  }
  .search-box {
    height: 45px;
    padding: 0 12px;
    gap: 8px;
  }
  .search-box input {
    font-size: 11px;
    min-width: 0;
  }
  .search-box svg {
    width: 16px;
    height: 16px;
  }
  .search-hint {
    display: none;
  }
  .mobile-filter-button {
    display: flex;
    font-size: 9px;
    gap: 7px;
    padding: 9px 11px;
    min-height: 45px;
  }
  .mobile-filter-button svg {
    width: 15px;
    height: 15px;
  }
  .mobile-filter-button span:empty {
    display: none;
  }
  .quick-brands {
    margin-right: -18px;
    padding-right: 18px;
    padding-bottom: 18px;
    gap: 6px;
  }
  .quick-brands button {
    font-size: 8px;
    padding: 6px 10px;
  }
  .quick-brands button:last-child {
    margin-left: 0;
  }
  .catalog-layout {
    display: block;
  }
  .filters-panel {
    display: none;
  }
  .results-toolbar {
    margin-bottom: 14px;
    min-height: 25px;
  }
  .results-toolbar > p {
    font-size: 9px;
  }
  .sort-label {
    font-size: 0;
    gap: 0;
  }
  .sort-label select {
    font-size: 9px;
    padding: 3px 0;
    max-width: 175px;
  }
  .product-grid {
    gap: 25px 12px;
  }
  .product-image {
    border-radius: 6px;
    aspect-ratio: 3/4;
  }
  .save-button {
    width: 26px;
    height: 26px;
    right: 7px;
    top: 7px;
  }
  .save-button svg {
    height: 13px;
    width: 13px;
  }
  .product-meta {
    padding-top: 11px;
    padding-bottom: 9px;
  }
  .product-brand {
    font-size: 9px;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
  }
  .product-meta h3 {
    font-size: 10px;
    min-height: 32px;
    line-height: 1.6;
  }
  .product-price {
    font-size: 11px;
    margin-top: 6px;
  }
  .try-button {
    font-size: 10px;
    padding-top: 9px;
  }
  .try-button svg {
    width: 13px;
    height: 13px;
  }
  .catalog-note {
    font-size: 8px;
    margin-top: 30px;
  }
  .site-footer {
    padding: 20px 18px 112px;
    font-size: 8px;
    gap: 15px;
  }
  .site-footer button {
    font-size: 8px;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 11px 10px
      calc(
        11px +
          max(
            env(safe-area-inset-bottom),
            var(--tg-content-safe-area-inset-bottom, 0px)
          )
      );
    display: flex;
    justify-content: space-around;
    background: #f9f9f5ed;
    border-top: 1px solid #e5e5dc;
    backdrop-filter: blur(25px);
    z-index: 20;
  }
  .mobile-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    color: #a19f8f;
    font-size: 8px;
    padding: 0 4px;
  }
  .mobile-nav button svg {
    width: 19px;
    height: 19px;
  }
  .mobile-nav button.active {
    color: #222;
  }
  .brand-directory {
    grid-template-columns: 1fr;
  }
  .brand-entry {
    padding: 20px 0;
    min-height: 95px;
  }
  .brand-name {
    font-size: 18px;
  }
  .brand-thumbnails img {
    width: 42px;
    height: 56px;
  }
  .brand-entry .brand-thumbnails img:last-child {
    display: block;
  }
  .brands-search {
    margin-bottom: 15px;
  }
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 28px;
  }
  .upload-zone {
    height: 330px;
  }
  .upload-panel-title h2 {
    font-size: 14px;
  }
  .studio-controls .primary {
    width: 100%;
    align-self: stretch;
  }
  .consent {
    font-size: 9px;
  }
  .studio-caption {
    font-size: 8px;
  }
  .connection-note {
    font-size: 9px;
    padding: 13px 15px;
  }
  .saved-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .saved-tabs {
    margin-bottom: 25px;
    gap: 25px;
  }
  .saved-tabs button {
    font-size: 11px;
  }
  .result-image {
    height: 460px;
  }
  .result-title h2 {
    font-size: 22px;
  }
  .result-title span {
    font-size: 8px;
  }
  .result-actions .primary,
  .result-actions .secondary {
    font-size: 10px;
    padding: 12px 17px;
  }
  .profile-card {
    padding: 27px;
  }
  .profile-settings > div {
    padding: 18px 0;
  }
  .profile-settings > div > span {
    font-size: 10px;
  }
  .profile-settings small {
    font-size: 8px;
  }
  .profile-settings .text-button {
    font-size: 9px;
  }
  dialog {
    padding: 18px;
    max-height: calc(100dvh - 28px);
    border-radius: 12px;
  }
  .dialog-head {
    margin-bottom: 15px;
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .detail-image {
    min-height: 0;
    height: 330px;
  }
  .detail-image img {
    max-height: none;
  }
  .detail-copy {
    padding: 22px 3px 4px;
  }
  .detail-copy h2 {
    font-size: 23px;
    margin-top: 9px;
  }
  .detail-price {
    font-size: 15px;
  }
  .detail-copy dl {
    margin: 22px 0 17px;
  }
  .detail-copy .microcopy {
    font-size: 9px;
  }
  .modal-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mobile-filter-fields {
    display: block;
  }
  .mobile-filter-fields .filter-section {
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }
  .mobile-filter-fields .filter-section h3 {
    font-size: 12px;
    margin-bottom: 14px;
  }
  .mobile-filter-fields .category-button {
    font-size: 11px;
    padding: 7px 0;
  }
  .mobile-filter-fields .check-row {
    font-size: 11px;
    margin: 13px 0;
  }
  .mobile-filter-fields .check-row input {
    width: 14px;
    height: 14px;
  }
  .mobile-filter-fields .brand-options {
    max-height: 250px;
  }
  .mobile-filter-fields .filter-pill {
    font-size: 10px;
    padding: 7px 11px;
  }
  .mobile-filter-fields .price-inputs input {
    padding: 12px;
  }
  .filter-apply {
    width: 100%;
    margin-top: 10px;
  }
  #toast {
    bottom: 90px;
    font-size: 10px;
    padding: 12px 17px;
  }
  .empty-state {
    padding: 55px 20px 70px;
  }
  .empty-state h2 {
    font-size: 21px;
  }
  .empty-state p {
    font-size: 10px;
  }
  .active-filters:has(button) {
    margin-bottom: 14px;
  }
  .active-filters button {
    font-size: 8px;
  }
  .load-more .secondary {
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .page-title > .secondary {
    padding: 8px;
    font-size: 8px;
  }
  .page-title > .secondary svg {
    display: none;
  }
  .page-title h1 {
    font-size: 29px;
  }
  .brand-name {
    font-size: 16px;
  }
  .brand-thumbnails img {
    width: 34px;
  }
  .product-meta h3 {
    font-size: 9px;
  }
  .mobile-filter-button {
    font-size: 0;
    gap: 0;
    padding: 10px;
  }
  .mobile-filter-button span {
    font-size: 9px;
    margin-left: 4px;
  }
  .mobile-filter-button svg {
    width: 18px;
    height: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.simple-search {
  max-width: 520px;
  margin: 28px 0 22px;
}
.catalog-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
}
.catalog-brands button {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 16px;
  font-size: 12px;
}
.catalog-brands button.active {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}
.collection-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}
.collection-heading h2 {
  font-size: 22px;
}
.collection-heading span {
  color: var(--muted);
  font-size: 12px;
}
.catalog-alternative {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 15px;
  font-size: 12px;
  color: var(--muted);
}
.catalog-alternative button {
  font-size: 12px;
  color: var(--ink);
}
.studio-grid {
  max-width: 920px;
  gap: 24px;
}
.studio-controls,
.studio-caption,
.connection-note {
  max-width: 920px;
}
.upload-zone {
  background: #f1f1ed;
  border-radius: 16px;
  color: #9b9b94;
}
.upload-zone strong {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
.upload-panel > .microcopy {
  font-size: 11px;
}
.consent {
  font-size: 11px;
  line-height: 1.6;
}
.mobile-nav {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 650px) {
  .product-meta h3 {
    font-size: 11px;
    min-height: 35px;
  }
  .product-brand {
    font-size: 10px;
  }
  .product-price {
    font-size: 12px;
  }
  .try-button {
    font-size: 11px;
  }
  .search-box input {
    font-size: 13px;
  }
  .studio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }
  .upload-panel-title {
    gap: 6px;
    margin-bottom: 10px;
  }
  .upload-panel-title h2 {
    font-size: 12px;
  }
  .upload-zone {
    height: 220px;
    border-radius: 12px;
    padding: 10px;
    gap: 9px;
  }
  .upload-zone svg {
    width: 28px;
    height: 28px;
  }
  .upload-zone strong {
    font-size: 12px;
  }
  .upload-zone > span {
    font-size: 9px;
  }
  .upload-panel > .microcopy {
    font-size: 10px;
    line-height: 1.6;
  }
  .catalog-alternative {
    gap: 2px;
    font-size: 10px;
    margin-top: 10px;
  }
  .catalog-alternative button {
    font-size: 10px;
  }
  .studio-controls {
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
    padding-top: 18px;
  }
  .consent {
    font-size: 10px;
    line-height: 1.6;
  }
  .studio-caption {
    font-size: 9px;
  }
  .catalog-brands {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -18px 27px;
    padding: 0 18px 10px;
    scrollbar-width: none;
  }
  .catalog-brands button {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 11px;
  }
  .simple-search {
    margin: 24px 0 18px;
  }
  .collection-heading h2 {
    font-size: 20px;
  }
}

.plain-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.brand-symbol {
  width: 30px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-symbol img {
  width: 55px;
  max-width: none;
  height: 55px;
  object-fit: contain;
  flex-shrink: 0;
}
.trial-strip {
  max-width: 920px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  color: var(--muted);
}
.trial-strip .text-button {
  font-size: 12px;
  color: var(--ink);
}
.profile-subscription {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 28px 0 24px;
}
.profile-subscription span,
.appearance-settings > span {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.profile-subscription h2 {
  margin: 10px 0;
}
.profile-subscription p {
  color: var(--muted);
}
.appearance-settings {
  padding: 24px 0;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.theme-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.theme-options button {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 12px;
}
.theme-options button.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.trial-card {
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 30px 0 24px;
}
.trial-card strong {
  font-size: 15px;
  font-weight: 600;
}
.trial-card p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1000px;
}
.plan-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}
.plan-card.plan-pro {
  border-color: var(--ink);
}
.plan-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan-topline h2 {
  font-size: 22px;
}
.plan-topline > span {
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 10px;
  padding: 5px 10px;
}
.plan-description {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}
.plan-price {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1.5px;
  margin: 28px 0 12px;
}
.plan-price > span {
  font-size: 22px;
}
.plan-price small {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}
.plan-allowance {
  font-size: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.plan-allowance strong {
  font-size: 23px;
}
.plan-card ul {
  padding-left: 18px;
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
  min-height: 96px;
}
.plan-card .primary {
  width: 100%;
}
.plan-footnote {
  max-width: 900px;
  margin: 24px 0 12px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.season-edit {
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px 30px;
  background: var(--panel);
  margin: 28px 0;
}
.season-edit > div:first-child {
  min-width: 0;
}
.season-edit span {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--muted);
}
.season-edit h2 {
  font-size: 24px;
  margin: 10px 0 8px;
}
.season-edit p {
  font-size: 12px;
  color: var(--muted);
}
.season-edit strong {
  font-size: 12px;
  font-weight: 500;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}
.edit-thumbnails {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.edit-thumbnails img {
  width: 90px;
  height: 120px;
  object-fit: contain;
  border-radius: 5px;
  background: #fff;
  mix-blend-mode: multiply;
}
[data-theme="dark"] {
  --paper: #141416;
  --ink: #eeeeeb;
  --muted: #a5a5a0;
  --line: #343438;
  --panel: #202024;
}
[data-theme="dark"] .site-header,
[data-theme="dark"] .mobile-nav {
  background: #141416ee;
  border-color: var(--line);
}
[data-theme="dark"] .brand-symbol img {
  filter: invert(1);
}
[data-theme="dark"] .site-header button.active,
[data-theme="dark"] .desktop-nav button.active {
  color: var(--ink);
  border-color: var(--ink);
}
[data-theme="dark"] .page-title p,
[data-theme="dark"] .site-footer,
[data-theme="dark"] .microcopy,
[data-theme="dark"] .consent,
[data-theme="dark"] .field-label {
  color: var(--muted);
}
[data-theme="dark"] .upload-zone {
  background: #202024;
  border-color: #45454b;
  color: #aaa;
}
[data-theme="dark"] .upload-zone:hover {
  background: #28282e;
}
[data-theme="dark"] .upload-zone strong {
  color: var(--ink);
}
[data-theme="dark"] .upload-zone.has-image {
  background: #202024;
}
[data-theme="dark"] .upload-replace {
  background: #18181de8;
  border-color: #45454b;
  color: var(--ink);
}
[data-theme="dark"] .primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
[data-theme="dark"] .secondary {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
[data-theme="dark"] .search-box,
[data-theme="dark"] input:not([type="checkbox"]):not([type="range"]),
[data-theme="dark"] select {
  background: #202024;
  border-color: var(--line);
  color: var(--ink);
}
[data-theme="dark"] .search-box input {
  background: transparent !important;
}
[data-theme="dark"] input::placeholder {
  color: #8e8e95;
}
[data-theme="dark"] .catalog-brands button.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
[data-theme="dark"] .product-brand,
[data-theme="dark"] .product-meta h3,
[data-theme="dark"] .product-price,
[data-theme="dark"] .try-button {
  color: var(--ink);
}
[data-theme="dark"] .product-image,
[data-theme="dark"] .detail-image {
  background: #eeeee9;
}
[data-theme="dark"] .save-button {
  color: #62625c;
  background: #ffffffc9;
}
[data-theme="dark"] .save-button.is-saved {
  color: #202020;
}
[data-theme="dark"] .try-button,
[data-theme="dark"] .product-meta {
  border-color: var(--line);
}
[data-theme="dark"] .profile-card,
[data-theme="dark"] .connection-note,
[data-theme="dark"] .processing,
[data-theme="dark"] .empty-state {
  background: var(--panel);
  border-color: var(--line);
  color: var(--muted);
}
[data-theme="dark"] .profile-card h2,
[data-theme="dark"] .profile-stats strong {
  color: var(--ink);
}
[data-theme="dark"] .profile-avatar {
  background: #303036;
  color: var(--ink);
}
[data-theme="dark"] .profile-settings > div,
[data-theme="dark"] .studio-controls,
[data-theme="dark"] .saved-tabs,
[data-theme="dark"] .result-title {
  border-color: var(--line);
}
[data-theme="dark"] .profile-settings > div > span,
[data-theme="dark"] .text-button,
[data-theme="dark"] .saved-tabs button.active {
  color: var(--ink);
}
[data-theme="dark"] dialog {
  background: #1c1c20;
  color: var(--ink);
  border-color: var(--line);
}
[data-theme="dark"] .dialog-head,
[data-theme="dark"] .detail-copy dl > div {
  border-color: var(--line);
  color: var(--muted);
}
[data-theme="dark"] .detail-copy dd {
  color: var(--ink);
}
[data-theme="dark"] #toast {
  background: #eeeee9;
  color: #202020;
}
[data-theme="dark"] .edit-thumbnails img {
  mix-blend-mode: normal;
}
[data-theme="dark"] .mobile-nav button.active {
  color: var(--ink);
}
@media (max-width: 650px) {
  .plain-title {
    font-size: 20px;
    gap: 7px;
  }
  .brand-symbol {
    width: 28px;
    height: 30px;
  }
  .brand-symbol img {
    width: 52px;
    height: 52px;
  }
  .trial-strip {
    margin-top: 22px;
    font-size: 10px;
    gap: 8px;
  }
  .trial-strip .text-button {
    font-size: 10px;
  }
  .studio-grid {
    margin-top: 20px;
  }
  .profile-subscription {
    padding: 22px;
    gap: 18px;
  }
  .profile-subscription h2 {
    font-size: 22px;
  }
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .plan-card {
    padding: 25px;
  }
  .plan-card ul {
    min-height: 0;
  }
  .plan-price {
    font-size: 36px;
  }
  .trial-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }
  .plan-footnote {
    font-size: 11px;
  }
  .theme-options button {
    font-size: 11px;
    padding: 9px 14px;
  }
  .season-edit {
    padding: 20px;
    gap: 15px;
    align-items: flex-start;
  }
  .season-edit h2 {
    font-size: 22px;
    line-height: 1.3;
  }
  .season-edit span {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .season-edit p {
    font-size: 10px;
  }
  .season-edit strong {
    font-size: 10px;
    gap: 6px;
    margin-top: 15px;
  }
  .edit-thumbnails img {
    width: 65px;
    height: 90px;
  }
  .edit-thumbnails img:not(:first-child) {
    display: none;
  }
}
