@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Lora:wght@400;500&display=swap");

:root {
  --pc-bg-deep: #0b1711;
  --pc-bg-green: #10251b;
  --pc-panel-green: #0f241b;
  --pc-panel-green-2: #183226;
  --pc-green-highlight: #244637;
  --pc-border-gold: #8a6a35;
  --pc-border-muted: #5d4a2b;
  --pc-text-gold: #d9c69a;
  --pc-text-bright: #f2dfb7;
  --pc-text-muted: #b7aa86;
  --pc-leather: #8a4b2a;
  --pc-leather-dark: #3b1d12;
  --pc-leather-light: #a64e1e;
  --pc-leather-border: #a56a34;
  --pc-report-red: #b44a32;
  --pc-report-red-dark: #5a241d;
  --pc-input-bg: #0a1712;
  --pc-shadow: rgba(0, 0, 0, 0.65);
  --pc-title-font: "Cormorant Garamond", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --pc-body-font: "Lora", Georgia, "Times New Roman", serif;
  --panel-line: rgba(138, 106, 53, 0.72);
  --cream: var(--pc-text-bright);
  --pc-green-leather-image: url("/assets/ui/quilted-leather-background.png?v=20260525224941");
  --pc-button-leather-image: url("/assets/ui/cognac-leather-texture.png?v=20260525224941");
  --pc-green-button-image: url("/assets/ui/green-button-texture.png?v=20260525224941");
  --pc-motif-image: url("/assets/ui/pc-embossed-motif.png?v=20260525224941");
  --pc-border-detail-image: url("/assets/ui/panel-border-detail.png?v=20260525224941");
  --pc-btn-buy-default-image: url("/assets/ui/button-buy-default.png?v=20260525224941");
  --pc-btn-buy-hover-image: url("/assets/ui/button-buy-hover.png?v=20260525224941");
  --pc-btn-post-default-image: url("/assets/ui/button-post-default.png?v=20260525224941");
  --pc-btn-post-hover-image: url("/assets/ui/button-post-hover.png?v=20260525224941");
  --pc-btn-account-default-image: url("/assets/ui/button-account-default.png?v=20260525224941");
  --pc-btn-account-hover-image: url("/assets/ui/button-account-hover.png?v=20260525224941");
  --pc-btn-chat-header-default-image: url("/assets/ui/button-chat-header-default.png?v=20260525224941");
  --pc-btn-chat-header-hover-image: url("/assets/ui/button-chat-header-hover.png?v=20260525224941");
  --pc-btn-open-chat-default-image: url("/assets/ui/button-open-chat-default.png?v=20260525224941");
  --pc-btn-open-chat-hover-image: url("/assets/ui/button-open-chat-hover.png?v=20260525224941");
  --pc-btn-info-default-image: url("/assets/ui/button-info-default.png?v=20260525224941");
  --pc-btn-info-hover-image: url("/assets/ui/button-info-hover.png?v=20260525224941");
  --pc-btn-details-image: url("/assets/ui/button-details.png?v=20260525224941");
  --pc-btn-message-seller-image: url("/assets/ui/button-message-seller.png?v=20260525224941");
  --pc-btn-seller-profile-image: url("/assets/ui/button-seller-profile-new.png?v=20260525224941");
  --pc-btn-privacy-policy-image: url("/assets/ui/button-privacy-policy.png?v=20260525224941");
  --pc-btn-back-main-image: url("/assets/ui/button-back-main.png?v=20260525224941");
  --pc-btn-logout-image: url("/assets/ui/button-logout.png?v=20260525224941");
  --pc-btn-close-image: url("/assets/ui/button-close.png?v=20260525224941");
  --pc-btn-delete-account-image: url("/assets/ui/button-delete-account.png?v=20260525224941");
  --pc-btn-quick-listings-image: url("/assets/ui/button-quick-listings.png?v=20260525224941");
  --pc-btn-seed-batch-post-image: url("/assets/ui/button-seed-batch-post.png?v=20260525224941");
  --pc-btn-single-post-image: url("/assets/ui/button-single-post.png?v=20260525224941");
  --pc-btn-publish-listings-image: url("/assets/ui/button-publish-listings.png?v=20260525224941");
  --pc-btn-save-login-details-image: url("/assets/ui/button-save-login-details.png?v=20260525224941");
  --pc-btn-choose-files-image: url("/assets/ui/button-choose-files-new.png?v=20260525224941");
  --pc-btn-close-chat-image: url("/assets/ui/button-close-chat.png?v=20260525224941");
  --pc-btn-send-image: url("/assets/ui/button-send-v2.png?v=20260525224941");
  --pc-btn-login-image: url("/assets/ui/button-login.png?v=20260525224941");
  --pc-btn-create-account-image: url("/assets/ui/button-create-account.png?v=20260525224941");
  --pc-btn-sign-in-chat-image: url("/assets/ui/button-sign-in-to-chat.png?v=20260525224941");
  --pc-btn-report-image: url("/assets/ui/button-report-new.png?v=20260525224941");
  --pc-leaf-icon-image: url("/assets/ui/leaf-icon.png?v=20260525224941");
  --pc-rivet-size: 6px;
  --pc-button-rivets:
    radial-gradient(circle at 7px 7px, #f7e5ad 0 0.7px, #c99048 1.7px, #5c3218 3.2px, transparent 4px),
    radial-gradient(circle at calc(100% - 7px) 7px, #f7e5ad 0 0.7px, #c99048 1.7px, #5c3218 3.2px, transparent 4px),
    radial-gradient(circle at 7px calc(100% - 7px), #f7e5ad 0 0.7px, #c99048 1.7px, #5c3218 3.2px, transparent 4px),
    radial-gradient(circle at calc(100% - 7px) calc(100% - 7px), #f7e5ad 0 0.7px, #c99048 1.7px, #5c3218 3.2px, transparent 4px);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--pc-bg-deep);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--pc-text-gold);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 205, 130, 0.08), transparent 28%),
    radial-gradient(circle at 82% 34%, rgba(201, 144, 72, 0.045), transparent 34%),
    linear-gradient(rgba(7, 18, 13, 0.48), rgba(7, 18, 13, 0.62)),
    var(--pc-green-leather-image) left top / auto repeat,
    linear-gradient(180deg, #10251b, #0b1711);
  font-family: var(--pc-body-font);
  font-size: 17px;
  line-height: 1.42;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.36;
  background:
    radial-gradient(circle at center, transparent 46%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(90deg, rgba(255, 218, 146, 0.025), transparent 18%, transparent 82%, rgba(255, 218, 146, 0.025));
}

body::after {
  content: "";
  position: fixed;
  inset: auto auto 24px 24px;
  width: min(230px, 34vw);
  aspect-ratio: 288 / 496;
  z-index: -2;
  pointer-events: none;
  opacity: 0.24;
  background: var(--pc-motif-image) center / contain no-repeat;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.65));
}

.bg-glow {
  display: none;
}

button,
a,
input,
select,
textarea {
  font: inherit;
}

button,
a.btn {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
strong,
legend,
label {
  font-family: var(--pc-title-font);
}

h1,
h2,
h3 {
  color: var(--pc-text-bright);
  font-weight: 500;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.78),
    0 0 8px rgba(217, 198, 154, 0.14);
}

p {
  margin: 0 0 12px;
}

a {
  color: #c99048;
}

.hidden,
[hidden] {
  display: none !important;
}

.muted,
.form-help,
small {
  color: var(--pc-text-muted);
}

.error {
  color: #ff7896;
  font-weight: 700;
}

.disabled-link,
button:disabled,
.btn:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 72px;
  padding: 12px 20px;
  border: 1px solid var(--pc-border-muted);
  border-left: 0;
  border-right: 0;
  background:
    linear-gradient(rgba(14, 31, 23, 0.86), rgba(7, 16, 12, 0.92)),
    var(--pc-green-leather-image) left top / auto repeat,
    linear-gradient(180deg, #102219, #09140f);
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.65),
    inset 0 -1px 0 rgba(201, 144, 72, 0.24),
    0 10px 26px rgba(0, 0, 0, 0.45);
}

.topbar h1 {
  grid-column: 2;
  margin: 0;
  color: #c99048;
  font-size: clamp(30px, 3.1vw, 44px);
  font-variant: small-caps;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  font-weight: 500;
  text-shadow:
    0 2px 0 #2b160b,
    0 0 8px rgba(221, 156, 74, 0.35);
}

.topbar-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.topbar-actions .btn {
  min-height: 38px;
  min-width: 114px;
  padding: 0;
  font-size: 10px;
}

.auth-controls {
  display: none;
}

.layout {
  width: min(1080px, calc(100vw - 18px));
  margin: 0 auto 34px;
  padding: 10px;
  border: 1px solid rgba(138, 106, 53, 0.8);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background:
    linear-gradient(rgba(10, 25, 18, 0.9), rgba(10, 25, 18, 0.94)),
    var(--pc-green-leather-image) left top / auto repeat,
    radial-gradient(circle, rgba(201, 144, 72, 0.08), transparent 40%);
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1px rgba(201, 144, 72, 0.16),
    0 0 0 1px rgba(220, 160, 80, 0.08);
}

.feed-column {
  width: min(940px, 100%);
  margin: 0 auto;
}

.panel,
.feed-filters,
.post,
.modal-panel,
.chat-panel,
.composer-window,
.seller-section-panel,
.stripe-connect-card,
.sale-card,
.confirmation-card,
.checkout-seedling-card {
  position: relative;
  background:
    linear-gradient(rgba(13, 31, 23, 0.82), rgba(8, 20, 15, 0.88)),
    var(--pc-green-leather-image) left top / auto repeat,
    linear-gradient(180deg, rgba(24, 50, 38, 0.96), rgba(15, 36, 27, 0.97));
  border: 1px solid rgba(138, 106, 53, 0.84);
  border-radius: 12px;
  box-shadow:
    inset 0 0 22px rgba(0, 0, 0, 0.64),
    inset 0 0 0 1px rgba(201, 144, 72, 0.1),
    0 8px 22px rgba(0, 0, 0, 0.34);
}

.layout {
  position: relative;
  overflow: hidden;
}

.layout::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: min(170px, 30vw);
  aspect-ratio: 288 / 496;
  background: var(--pc-motif-image) center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.layout > * {
  position: relative;
  z-index: 1;
}

.feed-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 6px;
  align-items: end;
  padding: 8px 10px;
  margin: 16px 0 8px;
}

.feed-filters label:nth-of-type(1) {
  grid-column: 1 / -1;
}

.feed-filters label:nth-of-type(2),
.feed-filters label:nth-of-type(3),
.feed-filters label:nth-of-type(4) {
  max-width: 210px;
}

.feed-filters label,
.feed-filters legend {
  margin: 0 0 2px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pc-border-gold);
}

.feed-filters input,
.feed-filters select {
  min-height: 28px;
  padding: 5px 8px;
  font-size: 14px;
}

.feed-filters input,
.feed-filters select,
.feed-filters .filter-reset-btn {
  color: #8f866c;
  font-family: var(--pc-title-font);
  letter-spacing: 0.04em;
}

.feed-filters select option {
  color: #8f866c;
  background: #0d1f17;
}

.search-input-wrap {
  position: relative;
}

.search-input-wrap input[type="search"] {
  width: 100%;
  padding-right: 34px;
}

.search-clear-btn {
  position: absolute;
  top: 50%;
  right: 6px;
  z-index: 2;
  transform: translateY(-50%);
  min-width: 22px;
  width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  border-radius: 5px;
  border: 1px solid rgba(138, 106, 53, 0.72);
  background: rgba(18, 38, 29, 0.98);
  color: #f7e8c4;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-shadow: none;
}

.search-clear-btn:disabled {
  opacity: 0.45;
}

.search-clear-btn:hover {
  filter: brightness(1.08);
}

.feed-filters input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  display: none;
}

.filter-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.feed-filters .filter-group {
  grid-column: 1 / -1;
}

.checkbox-grid,
.checkbox-grid-tight {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.checkbox-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  margin: 0;
  color: var(--pc-text-gold);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.checkbox-chip input {
  appearance: none;
  width: 15px;
  height: 15px;
  min-width: 15px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #9b6f3a;
  background: #08130f;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.75);
}

.checkbox-chip input:checked {
  background:
    radial-gradient(circle at center, #c99048 0 3px, transparent 4px),
    #0a1712;
  border-color: #c99048;
}

.checkbox-chip span {
  padding: 0;
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  margin: 10px 0;
}

.checkbox-inline input {
  width: 16px;
  height: 16px;
  accent-color: #8a6a35;
}

.feed-filters .plant-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  grid-template-rows: repeat(4, auto);
  align-items: start;
  gap: 6px 18px;
}

.feed-filters .plant-type-grid .checkbox-chip {
  width: 100%;
}

.feed-filters .plant-type-grid .checkbox-chip:nth-child(1) { grid-column: 1; grid-row: 1; }
.feed-filters .plant-type-grid .checkbox-chip:nth-child(2) { grid-column: 1; grid-row: 2; }
.feed-filters .plant-type-grid .checkbox-chip:nth-child(3) { grid-column: 1; grid-row: 3; }
.feed-filters .plant-type-grid .checkbox-chip:nth-child(4) { grid-column: 1; grid-row: 4; }
.feed-filters .plant-type-grid .checkbox-chip:nth-child(5) { grid-column: 2; grid-row: 1; }
.feed-filters .plant-type-grid .checkbox-chip:nth-child(6) { grid-column: 2; grid-row: 2; }
.feed-filters .plant-type-grid .checkbox-chip:nth-child(7) { grid-column: 2; grid-row: 3; }
.feed-filters .plant-type-grid .checkbox-chip:nth-child(8) { grid-column: 2; grid-row: 4; }

.feed {
  display: grid;
  gap: 16px;
}

.post {
  position: relative;
  padding: 10px 10px 46px;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 760px;
}

.post::before,
.panel::before,
.modal-panel::before,
.composer-window::before,
.seller-section-panel::before,
.chat-panel::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(138, 106, 53, 0.42);
  border-radius: calc(12px - 3px);
  box-shadow:
    inset 0 0 0 1px rgba(10, 21, 16, 0.9),
    inset 0 0 0 2px rgba(201, 144, 72, 0.09),
    0 0 0 1px rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.post > *,
.panel > *,
.modal-panel > *,
.composer-window > *,
.seller-section-panel > *,
.chat-panel > * {
  position: relative;
  z-index: 1;
}

.post-head,
.post-actions,
.sale-card-head,
.chat-panel-head,
.modal-head,
.tracking-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-panel-head {
  min-height: 44px;
  padding: 2px 0;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.chat-panel-head:active {
  cursor: grabbing;
}

.post-head {
  padding: 2px 4px 10px;
}

.post-user {
  color: #c99048;
  font-size: 19px;
  font-variant: small-caps;
}

.username-link {
  color: inherit;
  text-decoration: none;
}

.username-link:hover,
.username-link:focus-visible {
  text-decoration: underline;
}

.post-type {
  display: none;
}

.post-leaf-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c99048;
  font-family: var(--pc-body-font);
  font-weight: 400;
  font-size: 20px;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

.leaf-mark {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: var(--pc-leaf-icon-image) center / contain no-repeat;
  transform: rotate(-18deg);
  filter:
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 5px rgba(138, 179, 108, 0.22));
}

.leaf-count-number {
  display: inline-block;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.media-wrap {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 9px;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.media-wrap-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.media-empty-note {
  color: var(--pc-text-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-wrap img,
.photo-carousel img,
.seed-batch-listing img {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  height: auto;
  max-height: min(84vh, 980px);
  object-fit: unset;
  background: transparent;
}

.media-wrap video {
  display: block;
  width: 100%;
  max-height: min(72vh, 760px);
  background: transparent;
}

.media-wrap video::-webkit-media-controls-panel,
.media-wrap video::-webkit-media-controls-enclosure {
  display: none !important;
}

.post-caption {
  margin: 10px 6px 4px;
  color: #c9a15f;
  font-family: var(--pc-body-font) !important;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400 !important;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-caption.is-truncated {
  cursor: pointer;
}

.post.is-details-open .post-caption {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.post-price {
  margin: 9px 6px 11px;
  color: #c99048;
  font-size: 27px;
  line-height: 1;
  font-family: var(--pc-title-font);
}

.post-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin: 9px 130px 0 0;
}

.account-modal-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
}

.account-modal-content {
  display: grid;
  gap: 10px;
}

.account-modal-content p {
  margin: 0;
}

.account-modal-username {
  font-size: 17px;
}

.post-detail-line,
.post-meta-list p,
.post-location {
  margin: 4px 0;
  color: var(--pc-text-gold);
  font-family: var(--pc-body-font);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.post-details-panel {
  margin: 12px 0 4px;
  padding: 12px;
  border: 1px solid rgba(138, 106, 53, 0.46);
  border-radius: 10px;
  background: rgba(9, 20, 15, 0.48);
}

.btn,
input::file-selector-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  min-width: 96px;
  padding: 5px 15px;
  border: 1px solid #a56a34;
  border-radius: 6px;
  color: #f2dfb7;
  background:
    var(--pc-button-rivets),
    linear-gradient(rgba(154, 86, 44, 0.18), rgba(59, 29, 18, 0.28)),
    var(--pc-button-leather-image) center / 80px 48px repeat,
    linear-gradient(180deg, #9a562c 0%, #6f351c 48%, #3b1d12 100%);
  background-blend-mode: normal, soft-light, multiply, normal;
  box-shadow:
    inset 0 0 0 2px rgba(55, 25, 10, 0.9),
    inset 0 0 0 3px rgba(188, 121, 56, 0.54),
    inset 0 1px 0 rgba(255, 205, 130, 0.42),
    inset 0 -2px 0 rgba(0, 0, 0, 0.36),
    0 2px 5px rgba(0, 0, 0, 0.5);
  font-family: var(--pc-body-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.65);
  cursor: pointer;
}

.image-btn {
  width: 114px;
  min-width: 114px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-position: center;
  background-size: auto 100%;
  background-repeat: no-repeat;
  box-shadow: none;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1;
  text-shadow: none;
  overflow: hidden;
  white-space: nowrap;
  text-indent: -9999px !important;
  letter-spacing: 0 !important;
}

.image-btn,
.image-btn:hover,
.image-btn:focus,
.image-btn:active,
a.image-btn,
button.image-btn {
  color: transparent !important;
  font-size: 0 !important;
  text-shadow: none !important;
  text-indent: -9999px !important;
}

.image-btn:hover,
.image-btn:focus-visible {
  filter: brightness(1.08) saturate(1.08);
}

.image-btn:active {
  filter: brightness(0.97) saturate(1.02);
}

.report-btn.image-btn,
.image-btn-report {
  width: 56px;
  min-width: 56px;
  height: 22px;
  min-height: 22px;
}

.image-btn > * {
  pointer-events: none;
}

.image-btn-post { background-image: url("/assets/ui/button-post-default.png?v=20260525224941"); }
.image-btn-post:hover { background-image: url("/assets/ui/button-post-default.png?v=20260525224941"); }
.image-btn-chat-header { background-image: url("/assets/ui/button-chat-header-default.png?v=20260525224941"); }
.image-btn-chat-header:hover { background-image: url("/assets/ui/button-chat-header-default.png?v=20260525224941"); }
.image-btn-account { background-image: url("/assets/ui/button-account-default.png?v=20260525224941"); }
.image-btn-account:hover { background-image: url("/assets/ui/button-account-default.png?v=20260525224941"); }
.image-btn-info { background-image: url("/assets/ui/button-info-default.png?v=20260525224941"); }
.image-btn-info:hover { background-image: url("/assets/ui/button-info-default.png?v=20260525224941"); }
.image-btn-info {
  width: 102px;
  min-width: 102px;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 2172 / 724;
  background-size: contain;
}
.image-btn-buy { background-image: url("/assets/ui/button-buy-default.png?v=20260525224941"); }
.image-btn-buy:hover { background-image: url("/assets/ui/button-buy-hover.png?v=20260525224941"); }
.image-btn-details { background-image: url("/assets/ui/button-details.png?v=20260525224941"); }
.image-btn-message-seller { background-image: url("/assets/ui/button-message-seller.png?v=20260525224941"); }
.image-btn-seller-profile { background-image: url("/assets/ui/button-seller-profile-new.png?v=20260525224941"); }
.image-btn-seller-socials { background-image: url("/assets/ui/button-seller-socials.png?v=20260525224941"); }
.image-btn-privacy-policy { background-image: url("/assets/ui/button-privacy-policy.png?v=20260525224941"); }
.image-btn-back-main { background-image: url("/assets/ui/button-back-main.png?v=20260525224941"); }
.image-btn-report { background-image: url("/assets/ui/button-report-new.png?v=20260525224941"); }
.image-btn-open-chat { background-image: url("/assets/ui/button-open-chat-default.png?v=20260525224941"); }
.image-btn-open-chat:hover { background-image: url("/assets/ui/button-open-chat-hover.png?v=20260525224941"); }
.image-btn-close-chat { background-image: url("/assets/ui/button-close-chat.png?v=20260525224941"); }
.image-btn-close { background-image: url("/assets/ui/button-close.png?v=20260525224941"); }
.image-btn-delete-account { background-image: url("/assets/ui/button-delete-account.png?v=20260525224941"); }
.image-btn-login { background-image: url("/assets/ui/button-login.png?v=20260525224941"); }
.image-btn-create-account { background-image: url("/assets/ui/button-create-account.png?v=20260525224941"); }
.image-btn-sign-in-chat { background-image: url("/assets/ui/button-sign-in-to-chat.png?v=20260525224941"); }
.image-btn-logout { background-image: url("/assets/ui/button-logout.png?v=20260525224941"); }
.image-btn-send { background-image: url("/assets/ui/button-send-v2.png?v=20260525224941"); }
.image-btn-close-chat,
.image-btn-send {
  width: 136px;
  min-width: 136px;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 2508 / 627;
  background-size: contain;
}
.image-btn-quick-listings { background-image: url("/assets/ui/button-quick-listings.png?v=20260525224941"); }
.image-btn-seed-batch-post { background-image: url("/assets/ui/button-seed-batch-post.png?v=20260525224941"); }
.image-btn-single-post { background-image: url("/assets/ui/button-single-post.png?v=20260525224941"); }
.image-btn-publish-listings { background-image: url("/assets/ui/button-publish-listings.png?v=20260525224941"); }
.image-btn-save-login-details { background-image: url("/assets/ui/button-save-login-details.png?v=20260525224941"); }
.image-btn-save-tracking { background-image: url("/assets/ui/button-save-tracking.png?v=20260525224941"); }
.image-btn-save-changes { background-image: url("/assets/ui/button-save-changes.png?v=20260525224941"); }
.image-btn-save-my-profile { background-image: url("/assets/ui/button-save-my-profile.png?v=20260525224941"); }
.image-btn-view-order { background-image: url("/assets/ui/button-view-order.png?v=20260525224941"); }
.image-btn-edit-post { background-image: url("/assets/ui/button-edit-post.png?v=20260525224941"); }
.image-btn-delete-post { background-image: url("/assets/ui/button-delete-post.png?v=20260525224941"); }
.image-btn-back-to-checkout { background-image: url("/assets/ui/button-back-to-checkout.png?v=20260525224941"); }
.image-btn-buy-selected { background-image: url("/assets/ui/button-buy-selected.png?v=20260525224941"); }
.image-btn-copy-address { background-image: url("/assets/ui/button-copy-address.png?v=20260525224941"); }

.btn:hover,
input::file-selector-button:hover {
  background:
    var(--pc-button-rivets),
    linear-gradient(rgba(184, 109, 56, 0.2), rgba(67, 32, 20, 0.25)),
    var(--pc-button-leather-image) center / 80px 48px repeat,
    linear-gradient(180deg, #b86d38 0%, #7f3f22 48%, #432014 100%);
  background-blend-mode: normal, soft-light, multiply, normal;
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid rgba(201, 144, 72, 0.55);
  outline-offset: 1px;
  box-shadow: 0 0 0 2px rgba(201, 144, 72, 0.16);
}

.btn.outline,
.outline,
.seller-link,
.message-seller-link,
.details-toggle-btn,
.compact-btn,
.seller-section-tab {
  color: #f2dfb7;
  background:
    linear-gradient(rgba(13, 31, 23, 0.56), rgba(7, 17, 13, 0.68)),
    var(--pc-green-button-image) center / 70px 28px repeat,
    linear-gradient(180deg, #13271e, #0a1712);
  background-blend-mode: normal, multiply, normal;
  border-color: #9b6f3a;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 150, 0.12),
    inset 0 0 10px rgba(0, 0, 0, 0.55),
    0 2px 5px rgba(0, 0, 0, 0.45);
}

.btn.outline:hover,
.outline:hover,
.seller-link:hover,
.message-seller-link:hover,
.details-toggle-btn:hover,
.compact-btn:hover,
.seller-section-tab:hover,
.seller-section-tab.is-active {
  background:
    linear-gradient(rgba(25, 51, 40, 0.58), rgba(13, 31, 23, 0.72)),
    var(--pc-green-button-image) center / 70px 28px repeat,
    linear-gradient(180deg, #193328, #0d1f17);
  border-color: #c99048;
  color: #f2dfb7;
}

.report-btn,
.report-corner {
  min-height: 22px;
  min-width: 56px;
  padding: 0;
  color: #e46b58;
  background:
    linear-gradient(rgba(13, 18, 15, 0.76), rgba(7, 10, 8, 0.84)),
    var(--pc-green-button-image) center / 70px 28px repeat,
    linear-gradient(180deg, #151b17, #0b100e);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 11px;
}

.report-btn:hover,
.report-corner:hover {
  color: #ff9a88;
  background: var(--pc-report-red-dark);
}

.filter-reset-btn {
  min-height: 20px;
  min-width: 50px;
  width: 50px;
  height: 20px;
  padding: 0;
  font-size: 10px;
  line-height: 1;
  color: #f2dfb7;
  border: 1px solid #9b6f3a;
  border-radius: 999px;
  background:
    linear-gradient(rgba(13, 31, 23, 0.56), rgba(7, 17, 13, 0.68)),
    var(--pc-green-button-image) center / 70px 28px repeat,
    linear-gradient(180deg, #13271e, #0a1712);
  background-blend-mode: normal, multiply, normal;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 150, 0.12),
    inset 0 0 10px rgba(0, 0, 0, 0.55),
    0 2px 5px rgba(0, 0, 0, 0.45);
  justify-self: end;
  align-self: end;
}

.filter-reset-btn:hover {
  color: #f2dfb7;
  border-color: #c99048;
  background:
    linear-gradient(rgba(25, 51, 40, 0.58), rgba(13, 31, 23, 0.72)),
    var(--pc-green-button-image) center / 70px 28px repeat,
    linear-gradient(180deg, #193328, #0d1f17);
}

.topbar-actions .btn,
.account-modal-actions .btn:not(.outline),
.modal-actions .btn:not(.outline),
.buy-btn,
#infoButton,
#stripeConnectBtn,
#chatAccountBtn,
#guestReportAccountBtn,
button[type="submit"]:not(.report-btn) {
  color: #f2dfb7;
  background:
    var(--pc-button-rivets),
    linear-gradient(rgba(154, 86, 44, 0.18), rgba(59, 29, 18, 0.28)),
    var(--pc-button-leather-image) center / 80px 48px repeat,
    linear-gradient(180deg, #9a562c 0%, #6f351c 48%, #3b1d12 100%);
  border-color: #a56a34;
  background-blend-mode: normal, soft-light, multiply, normal;
}

.topbar-actions .btn:hover,
.buy-btn:hover,
#infoButton:hover,
#stripeConnectBtn:hover,
#chatAccountBtn:hover,
#guestReportAccountBtn:hover,
button[type="submit"]:not(.report-btn):hover {
  background:
    var(--pc-button-rivets),
    linear-gradient(rgba(184, 109, 56, 0.2), rgba(67, 32, 20, 0.25)),
    var(--pc-button-leather-image) center / 80px 48px repeat,
    linear-gradient(180deg, #b86d38 0%, #7f3f22 48%, #432014 100%);
}

.report-corner {
  position: absolute;
  right: 10px;
  bottom: 12px;
  z-index: 3;
}

.report-corner.image-btn-report,
.btn.image-btn.image-btn-report {
  width: 50px;
  min-width: 50px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  font-size: 0 !important;
}

/* Force PNG button assets to win over legacy .btn/.outline background rules. */
.btn.image-btn,
a.image-btn,
button.image-btn,
.image-btn.outline {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
  background-size: auto 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.btn.image-btn.image-btn-post { background-image: url("/assets/ui/button-post-default.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-post:hover { background-image: url("/assets/ui/button-post-default.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-chat-header { background-image: url("/assets/ui/button-chat-header-default.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-chat-header:hover { background-image: url("/assets/ui/button-chat-header-default.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-account { background-image: url("/assets/ui/button-account-default.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-account:hover { background-image: url("/assets/ui/button-account-default.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-info { background-image: url("/assets/ui/button-info-default.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-info:hover { background-image: url("/assets/ui/button-info-default.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-info,
.btn.image-btn.image-btn-info:hover {
  width: 102px !important;
  min-width: 102px !important;
  height: 38px !important;
  min-height: 38px !important;
  aspect-ratio: 2172 / 724 !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.btn.image-btn.image-btn-buy { background-image: url("/assets/ui/button-buy-default.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-buy:hover { background-image: url("/assets/ui/button-buy-hover.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-details { background-image: url("/assets/ui/button-details.png?v=20260525224941") !important; }
.image-btn.image-btn-message-seller { background-image: url("/assets/ui/button-message-seller.png?v=20260525224941") !important; }
.image-btn.image-btn-seller-profile { background-image: url("/assets/ui/button-seller-profile-new.png?v=20260525224941") !important; }
.image-btn.image-btn-seller-socials { background-image: url("/assets/ui/button-seller-socials.png?v=20260525224941") !important; }
.image-btn.image-btn-privacy-policy { background-image: url("/assets/ui/button-privacy-policy.png?v=20260525224941") !important; }
.image-btn.image-btn-back-main { background-image: url("/assets/ui/button-back-main.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-report { background-image: url("/assets/ui/button-report-new.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-open-chat { background-image: url("/assets/ui/button-open-chat-default.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-open-chat:hover { background-image: url("/assets/ui/button-open-chat-hover.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-close-chat { background-image: url("/assets/ui/button-close-chat.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-close { background-image: url("/assets/ui/button-close.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-delete-account { background-image: url("/assets/ui/button-delete-account.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-login { background-image: url("/assets/ui/button-login.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-create-account { background-image: url("/assets/ui/button-create-account.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-sign-in-chat { background-image: url("/assets/ui/button-sign-in-to-chat.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-logout { background-image: url("/assets/ui/button-logout.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-send { background-image: url("/assets/ui/button-send-v2.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-quick-listings { background-image: url("/assets/ui/button-quick-listings.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-seed-batch-post { background-image: url("/assets/ui/button-seed-batch-post.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-single-post { background-image: url("/assets/ui/button-single-post.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-publish-listings { background-image: url("/assets/ui/button-publish-listings.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-save-login-details { background-image: url("/assets/ui/button-save-login-details.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-save-tracking { background-image: url("/assets/ui/button-save-tracking.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-save-changes { background-image: url("/assets/ui/button-save-changes.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-save-my-profile { background-image: url("/assets/ui/button-save-my-profile.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-view-order { background-image: url("/assets/ui/button-view-order.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-edit-post { background-image: url("/assets/ui/button-edit-post.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-delete-post { background-image: url("/assets/ui/button-delete-post.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-back-to-checkout { background-image: url("/assets/ui/button-back-to-checkout.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-buy-selected { background-image: url("/assets/ui/button-buy-selected.png?v=20260525224941") !important; }
.btn.image-btn.image-btn-copy-address { background-image: url("/assets/ui/button-copy-address.png?v=20260525224941") !important; }

label {
  display: block;
  margin: 12px 0 6px;
  color: var(--pc-text-gold);
  font-size: 15px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 6px;
  border: 1px solid var(--pc-border-muted);
  color: var(--pc-text-bright);
  background: var(--pc-input-bg);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.65);
}

.password-input-wrap {
  position: relative;
  display: block;
}

.password-input-wrap input {
  padding-right: 64px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 34px;
  height: 26px;
  border: 1px solid rgba(201, 144, 72, 0.55);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(25, 51, 39, 0.96), rgba(11, 24, 18, 0.96));
  color: transparent;
  font-size: 0;
  line-height: 0;
  padding: 0;
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(255, 226, 175, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.35);
}

.password-toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 10px;
  transform: translate(-50%, -50%);
  border: 2px solid #d2a464;
  border-radius: 12px / 8px;
  box-sizing: border-box;
}

.password-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #f2dfb7;
  box-shadow: 0 0 4px rgba(242, 223, 183, 0.4);
}

.password-toggle[aria-pressed="true"]::before {
  border-color: #f2dfb7;
}

.password-toggle[aria-pressed="true"]::after {
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #f2dfb7;
  box-shadow: none;
}

.password-toggle:hover {
  filter: brightness(1.12);
}

.password-toggle:focus-visible {
  outline: 2px solid rgba(242, 223, 183, 0.9);
  outline-offset: 1px;
}

textarea {
  resize: vertical;
  min-height: 52px;
}

input::placeholder,
textarea::placeholder {
  color: #8f866c;
}

/* Keep autofilled fields visually consistent with the site theme on all pages. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--pc-text-bright);
  caret-color: var(--pc-text-bright);
  -webkit-box-shadow: 0 0 0 1000px var(--pc-input-bg) inset;
  box-shadow: 0 0 0 1000px var(--pc-input-bg) inset;
  transition: background-color 9999s ease-out 0s;
}

input[type="number"] {
  appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

input[type="file"] {
  padding: 7px;
}

input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  border: 1px solid #9b6f3a;
  background: #08130f;
  box-shadow:
    inset 0 0 6px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(201, 144, 72, 0.1);
  vertical-align: middle;
}

input[type="checkbox"]:checked {
  background:
    linear-gradient(135deg, transparent 0 38%, #f2dfb7 39% 48%, transparent 49%),
    linear-gradient(45deg, transparent 0 45%, #f2dfb7 46% 55%, transparent 56%),
    #163123;
  border-color: #c99048;
}

.checkbox-chip input,
.checkbox-inline input {
  min-height: 0;
}

.checkbox-chip input {
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  border-radius: 999px;
}

.checkbox-chip input:checked {
  background:
    radial-gradient(circle at center, #c99048 0 3px, transparent 4px),
    #0a1712;
  border-color: #c99048;
}

input::file-selector-button {
  width: auto;
  min-width: 0;
  min-height: 32px;
  margin-right: 10px;
  padding: 6px 14px;
  font-size: 13px;
}

#batchListingForm input[type="file"]::file-selector-button,
#seedBatchForm input[type="file"]::file-selector-button,
#postForm input[type="file"]::file-selector-button {
  width: 88px;
  min-width: 88px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent url("/assets/ui/button-choose-files-new.png?v=20260525224941") center / auto 100% no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-shadow: none;
  box-shadow: none;
}

#batchListingForm input[type="file"]::-webkit-file-upload-button,
#seedBatchForm input[type="file"]::-webkit-file-upload-button,
#postForm input[type="file"]::-webkit-file-upload-button {
  width: 88px;
  min-width: 88px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent url("/assets/ui/button-choose-files-new.png?v=20260525224941") center / auto 100% no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-shadow: none;
  box-shadow: none;
}

#editPostForm .choose-files-input::file-selector-button {
  width: 88px;
  min-width: 88px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent url("/assets/ui/button-choose-files-new.png?v=20260525224941") center / auto 100% no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-shadow: none;
  box-shadow: none;
}

#editPostForm .choose-files-input::-webkit-file-upload-button {
  width: 88px;
  min-width: 88px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent url("/assets/ui/button-choose-files-new.png?v=20260525224941") center / auto 100% no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-shadow: none;
  box-shadow: none;
}

#editPostForm .image-btn-save-changes {
  width: 176px;
  min-width: 176px;
  max-width: none;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 2508 / 627;
  background-size: contain !important;
  align-self: flex-start;
}

hr {
  border: 0;
  border-top: 1px solid var(--pc-border-muted);
}

.loading {
  padding: 18px;
  text-align: center;
  color: var(--pc-text-muted);
}

.utility-mounts {
  display: none;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(4px);
}

.modal-panel {
  width: min(780px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 22px;
}

.modal-head {
  margin-bottom: 10px;
}

.modal-head h3,
#appModalBody h2,
.composer-window h2,
.seller-section-panel h2 {
  margin: 0 0 12px;
  color: var(--pc-text-bright);
}

.modal-head .image-btn-close {
  width: 120px;
  min-width: 120px;
  height: 38px;
  min-height: 38px;
}

.composer-window {
  padding: 14px;
}

.composer-tabs,
.seller-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}

.composer-tab,
.seller-section-tab {
  min-height: 38px;
  min-width: 96px;
  padding: 0;
  font-size: 10px;
}

.seller-section-nav .seller-section-tab,
.seller-section-nav .seller-section-tab:hover,
.seller-section-nav .seller-section-tab.is-active {
  border: 0;
}

.seller-section-nav .seller-section-tab[data-seller-section="orders"],
.seller-section-nav .seller-section-tab[data-seller-section="purchases"],
.seller-section-nav .seller-section-tab[data-seller-section="listings"],
.seller-section-nav .seller-section-tab[data-seller-section="orders"]:hover,
.seller-section-nav .seller-section-tab[data-seller-section="purchases"]:hover,
.seller-section-nav .seller-section-tab[data-seller-section="listings"]:hover,
.seller-section-nav .seller-section-tab[data-seller-section="orders"].is-active,
.seller-section-nav .seller-section-tab[data-seller-section="purchases"].is-active,
.seller-section-nav .seller-section-tab[data-seller-section="listings"].is-active {
  border: 0;
}

.composer-tab.is-active {
  background:
    linear-gradient(180deg, rgba(226, 172, 103, 0.24) 0%, transparent 28%),
    linear-gradient(180deg, #9a562c 0%, #6f351c 48%, #3b1d12 100%);
}

.composer-tab.image-btn.is-active {
  filter: brightness(1.16) saturate(1.1);
  box-shadow:
    0 0 0 1px rgba(201, 144, 72, 0.82),
    0 0 0 3px rgba(201, 144, 72, 0.22);
}

.composer-tab.image-btn {
  width: 188px;
  min-width: 188px;
  height: 38px;
  min-height: 38px;
}

.composer-pane button[type="submit"].image-btn {
  width: 176px;
  min-width: 176px;
  height: 38px;
  min-height: 38px;
}

.composer-pane input[type="file"]::file-selector-button {
  width: 88px;
  min-width: 88px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent url("/assets/ui/button-choose-files-new.png?v=20260525224941") center / auto 100% no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-shadow: none;
  box-shadow: none;
}

.composer-pane {
  padding: 4px;
}

.listing-draft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.listing-draft-card,
.seed-draft-card {
  padding: 10px;
  border: 1px solid rgba(138, 106, 53, 0.45);
  border-radius: 12px;
  background: rgba(7, 17, 12, 0.5);
}

.listing-draft-card img,
.seed-draft-card img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--pc-border-muted);
}

.compact-choice-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.photo-carousel,
.seed-batch-listing {
  position: relative;
  overflow: visible;
  background: transparent;
}

.media-wrap img.media-pending,
.photo-carousel img.media-pending,
.seed-batch-listing img.media-pending {
  opacity: 0;
}

.media-wrap img.media-ready,
.photo-carousel img.media-ready,
.seed-batch-listing img.media-ready {
  opacity: 1;
  transition: opacity 120ms linear;
}

.photo-slide-btn,
.seed-slide-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 28px;
  min-width: 28px;
  height: 54px;
  min-height: 54px;
  padding: 0;
  transform: translateY(-50%);
  border-radius: 7px;
  font-size: 18px;
  background:
    var(--pc-button-rivets),
    linear-gradient(rgba(154, 86, 44, 0.16), rgba(59, 29, 18, 0.3)),
    var(--pc-button-leather-image) center / 72px 44px repeat,
    linear-gradient(180deg, #9a562c 0%, #6f351c 48%, #3b1d12 100%);
  border: 1px solid #a56a34;
  color: #f2dfb7;
  box-shadow:
    inset 0 0 0 2px rgba(55, 25, 10, 0.88),
    inset 0 1px 0 rgba(255, 205, 130, 0.38),
    0 2px 6px rgba(0, 0, 0, 0.58);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.65);
}

.photo-slide-prev,
.seed-slide-prev {
  left: -14px;
}

.photo-slide-next,
.seed-slide-next {
  right: -14px;
}

.photo-carousel-count,
.seed-batch-count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--pc-text-bright);
  background: rgba(5, 12, 9, 0.75);
  border: 1px solid rgba(138, 106, 53, 0.55);
  font-size: 13px;
}

.seed-batch-info {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 10px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(5, 12, 9, 0.75);
  border: 1px solid rgba(138, 106, 53, 0.55);
}

.seed-batch-info strong {
  color: var(--pc-text-bright);
  font-size: 14px;
  line-height: 1.1;
}

.seed-batch-info .seed-batch-count {
  position: static;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c99048;
  font-size: 12px;
  white-space: nowrap;
}

.seed-select-btn {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  height: 38px;
  min-height: 38px;
  margin-top: 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  justify-self: stretch;
  background: transparent url("/assets/ui/button-select-seedling.png?v=20260525224941") center / auto 100% no-repeat;
  color: transparent !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden;
  white-space: nowrap;
}

.seed-select-btn.is-selected {
  background: transparent url("/assets/ui/button-selected-seedling.png?v=20260525224941") center / auto 100% no-repeat;
}

.floating-chat-shell {
  position: fixed;
  right: 14px;
  bottom: 12px;
  z-index: 70;
  width: min(280px, calc(100vw - 32px));
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}

.floating-chat-shell.is-collapsed {
  width: auto;
}

.chat-panel {
  padding: 10px;
  background: rgba(15, 36, 27, 0.74);
  backdrop-filter: blur(5px);
  pointer-events: auto;
}

.chat-panel h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #c99048;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chat-drag-grip {
  display: inline-block;
  width: 18px;
  height: 14px;
  border-radius: 4px;
  background:
    radial-gradient(circle, rgba(242, 223, 183, 0.82) 1.2px, transparent 1.3px) 0 0 / 6px 6px repeat;
  border: 1px solid rgba(155, 111, 58, 0.72);
  box-shadow:
    inset 0 0 5px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(0, 0, 0, 0.35);
  opacity: 0.95;
}

.chat-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chat-drag-handle {
  min-height: 24px;
  min-width: 0;
  padding: 3px 7px;
  border: 1px solid rgba(155, 111, 58, 0.8);
  border-radius: 6px;
  color: var(--pc-text-muted);
  background: rgba(7, 17, 12, 0.72);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.55);
  font-size: 11px;
  cursor: grab;
}

.chat-drag-handle:active {
  cursor: grabbing;
}

.compact-btn {
  min-height: 38px;
  min-width: 96px;
  padding: 0;
  font-size: 10px;
}

.chat-note {
  margin: 5px 0 6px;
  font-size: 12px;
  line-height: 1.2;
}

.chat-stream {
  height: min(190px, 36vh);
  min-height: 140px;
  max-height: 190px;
  overflow-y: scroll;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  pointer-events: auto;
  scrollbar-gutter: stable;
  padding: 3px 3px 7px;
  scrollbar-width: auto;
  scrollbar-color: auto;
}

.chat-stream-wrap {
  position: relative;
}

.chat-scroll-rail {
  position: absolute;
  top: 0;
  right: 1px;
  width: 10px;
  height: 100%;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  opacity: 1;
  transition: opacity 0.16s ease;
  pointer-events: none;
}

.chat-scroll-thumb {
  width: 100%;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(230, 176, 92, 0.96), rgba(138, 106, 53, 0.96));
  border: 1px solid rgba(0, 0, 0, 0.22);
  transform: translateY(0);
}

/* Website scrollbar (default): always visible and stable. */
html:not([data-shell="app"]) {
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: rgba(142, 99, 47, 0.96) rgba(18, 12, 8, 0.62);
}

html:not([data-shell="app"])::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html:not([data-shell="app"])::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(158, 116, 57, 0.98), rgba(90, 57, 30, 0.98));
  border: 1px solid rgba(20, 11, 6, 0.62);
  border-radius: 999px;
}

html:not([data-shell="app"])::-webkit-scrollbar-track {
  background: rgba(18, 12, 8, 0.62);
  border-radius: 999px;
}

html:not([data-shell="app"]) .chat-stream {
  scrollbar-width: thin;
  scrollbar-color: rgba(220, 165, 86, 0.92) rgba(0, 0, 0, 0.22);
}

/* Website-only modal/composer scrollbar: dark brass (posting window). */
html:not([data-shell="app"]) .modal-panel,
html:not([data-shell="app"]) .composer-window {
  scrollbar-width: thin;
  scrollbar-color: rgba(142, 99, 47, 0.96) rgba(18, 12, 8, 0.62);
}

html:not([data-shell="app"]) .chat-stream::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html:not([data-shell="app"]) .modal-panel::-webkit-scrollbar,
html:not([data-shell="app"]) .composer-window::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html:not([data-shell="app"]) .chat-stream::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(230, 176, 92, 0.96), rgba(138, 106, 53, 0.96));
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 999px;
}

html:not([data-shell="app"]) .modal-panel::-webkit-scrollbar-thumb,
html:not([data-shell="app"]) .composer-window::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(158, 116, 57, 0.98), rgba(90, 57, 30, 0.98));
  border: 1px solid rgba(20, 11, 6, 0.62);
  border-radius: 999px;
}

html:not([data-shell="app"]) .chat-stream::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

html:not([data-shell="app"]) .modal-panel::-webkit-scrollbar-track,
html:not([data-shell="app"]) .composer-window::-webkit-scrollbar-track {
  background: rgba(18, 12, 8, 0.62);
  border-radius: 999px;
}

html[data-shell="app"] .chat-stream {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html[data-shell="app"] .chat-stream::-webkit-scrollbar,
html[data-shell="app"] .chat-stream::-webkit-scrollbar-thumb,
html[data-shell="app"] .chat-stream::-webkit-scrollbar-track {
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

html[data-shell="app"] .chat-scroll-rail {
  display: none;
}

/* Chat controls: always render as image-only buttons without text overlays. */
.chat-panel .image-btn-open-chat,
.chat-panel .image-btn-close-chat,
.chat-panel .image-btn-sign-in-chat,
.chat-panel .image-btn-send {
  color: transparent !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
  text-shadow: none !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Prevent chat header/form controls from colliding. */
.chat-panel-head {
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  row-gap: 6px;
}

.chat-panel-head h2 {
  flex: 0 1 auto;
  min-width: 0;
}

.chat-panel-head .image-btn-open-chat,
.chat-panel-head .image-btn-close-chat {
  flex: 0 0 auto;
  margin-left: 0;
}

.chat-form-row {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chat-form-row .image-btn-send {
  margin-left: auto;
}

.chat-message {
  padding: 6px 4px;
  border-bottom: 1px solid rgba(138, 106, 53, 0.18);
}

.chat-message-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--pc-text-muted);
  font-size: 12px;
}

.chat-username-link {
  font-weight: 700;
}

.chat-text {
  margin: 2px 0 0;
  color: var(--pc-text-gold);
  font-size: 14px;
  line-height: 1.22;
}

.chat-form label {
  margin-top: 6px;
  font-size: 12px;
}

.chat-form textarea {
  min-height: 42px;
  font-size: 14px;
}

.chat-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}

.chat-form-row button {
  min-height: 38px;
  min-width: 96px;
  padding: 0;
  font-size: 10px;
}

/* Keep chat actions anchored cleanly in the panel. */
.chat-panel .chat-form-row {
  justify-content: flex-end;
}

.chat-panel .chat-form-row .image-btn-send {
  margin-left: auto;
}

/* Chat controls use dedicated sizing so they never inherit conflicting button widths. */
.chat-panel .image-btn-close-chat,
.chat-panel .image-btn-send {
  width: clamp(122px, 36vw, 146px);
  min-width: 0;
  height: auto;
  min-height: 0;
  aspect-ratio: 2508 / 627;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  border: 0;
  box-shadow: none;
}

#chatAccountBtn.image-btn-sign-in-chat {
  width: 160px;
  min-width: 160px;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 2172 / 577;
  background-size: contain;
}

#loginForm .image-btn-login {
  width: 214px;
  min-width: 214px;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 395 / 70;
  background-size: contain;
}

#signupForm .image-btn-create-account {
  width: 114px;
  min-width: 114px;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 2172 / 724;
  background-size: contain;
}

.chat-empty {
  padding: 10px;
  color: var(--pc-text-muted);
  font-size: 14px;
}

.checkout-grid,
.sale-card-grid,
.tracking-grid,
.confirmation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

/* Checkout page-specific cleanup after compact global controls */
.layout.layout-narrow {
  width: min(760px, calc(100vw - 18px));
  padding: 12px;
  border-color: rgba(138, 106, 53, 0.45);
}

.layout.layout-narrow::after {
  display: none;
}

.layout.layout-narrow > .panel {
  padding: 16px 18px;
  border-color: rgba(138, 106, 53, 0.52);
  box-shadow:
    inset 0 0 14px rgba(0, 0, 0, 0.52),
    0 4px 14px rgba(0, 0, 0, 0.24);
}

.layout.layout-narrow > .panel::before {
  display: none;
}

#checkoutContent {
  margin-top: 8px;
}

#checkoutContent > p {
  margin-bottom: 10px;
}

#checkoutContent .checkout-seedling-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  margin: 8px 0 12px;
}

#checkoutContent .checkout-seedling-card img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--pc-border-muted);
}

#checkoutForm {
  display: grid;
  gap: 8px;
}

#checkoutForm label {
  margin: 6px 0 2px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

#checkoutForm input,
#checkoutForm select,
#checkoutForm textarea {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 14px;
  border-color: rgba(138, 106, 53, 0.6);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.45);
}

#checkoutForm .checkout-grid {
  margin-top: 2px;
}

#checkoutForm .form-help {
  margin: 2px 0 6px;
  font-size: 12px;
  line-height: 1.3;
}

#checkoutForm .checkout-terms-panel {
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(138, 106, 53, 0.45);
  border-radius: 10px;
  box-shadow: none;
}

#checkoutForm .checkout-terms-panel::before {
  display: none;
}

#checkoutForm .checkout-terms-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: normal;
}

#checkoutForm .checkout-terms-checkbox {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  border-radius: 4px;
}

#checkoutSubmit.image-btn,
.back-main-link.image-btn {
  width: 176px;
  min-width: 176px;
  height: 38px;
  min-height: 38px;
}

#checkoutForm #checkoutError {
  margin: 4px 0 0;
}

.seller-dashboard-intro,
.sale-status,
.confirmation-badge {
  padding: 10px 12px;
  border: 1px solid rgba(138, 106, 53, 0.45);
  border-radius: 12px;
  background: rgba(7, 17, 12, 0.5);
}

.sale-card-head > :first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.sale-card-head .sale-status {
  flex: 0 1 auto;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sale-status.ready-to-ship-chip {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
}

.seller-section-orders .sale-card-head {
  flex-wrap: wrap;
  align-items: flex-start;
}

.seller-section-orders .sale-card-head .sale-status {
  margin-left: auto;
}

.seller-dashboard-intro {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent;
}

.seller-section-panel,
.sale-card,
.confirmation-card {
  position: relative;
  padding: 16px;
  margin-top: 14px;
}

.layout-narrow .seller-section-panel::before {
  display: none;
}

.seller-section-sales,
.seller-section-orders,
.seller-section-listings {
  border: 0 !important;
}

.seller-section-sales {
  box-shadow: none !important;
}

.layout-narrow .seller-section-panel .panel::before {
  display: none;
}

.layout-narrow .seller-section-panel .panel {
  border-color: rgba(138, 106, 53, 0.56);
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.5),
    0 3px 10px rgba(0, 0, 0, 0.2);
}

.seller-section-sales .sale-card,
.seller-section-orders .sale-card {
  border: 0 !important;
}

.seller-section-sales .panel.sale-card {
  box-shadow: none !important;
}

.post-actions-top .image-btn-message-seller,
.post-actions-top .image-btn-seller-socials,
.post-actions-top .image-btn-seller-profile,
.seller-section-panel .buy-btn.image-btn {
  width: 136px;
  min-width: 136px;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 2508 / 627;
  background-size: contain;
}

.post-actions-top .back-main-link.image-btn {
  width: 176px;
  min-width: 176px;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 2508 / 627;
  background-size: contain;
}

.post-actions .image-btn-seller-profile,
.post-actions .image-btn-message-seller,
.post-actions .image-btn-seller-socials,
.post-actions .image-btn-view-order,
.post-actions .image-btn-privacy-policy,
.post-actions .image-btn-logout,
.post-actions .image-btn-save-tracking,
.post-actions .image-btn-save-changes,
.post-actions .image-btn-save-my-profile,
.post-actions .image-btn-edit-post,
.post-actions .image-btn-delete-post,
.post-actions .image-btn-copy-address {
  width: 152px;
  min-width: 152px;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 2508 / 627;
  background-size: contain;
}

.post-actions .image-btn-logout {
  width: 152px;
  min-width: 152px;
  aspect-ratio: 2508 / 627;
}

/* Keep all four main feed listing action buttons equal to seller-profile height. */
.feed .post .post-actions .image-btn-buy,
.feed .post .post-actions .image-btn-buy-selected,
.feed .post .post-actions .image-btn-details,
.feed .post .post-actions .image-btn-seller-profile,
.feed .post .post-actions .image-btn-message-seller {
  width: 100%;
  min-width: 0;
  max-width: 168px;
  height: 38px;
  min-height: 38px;
}

/* Main feed listing actions: keep a clean 2x2 button set in source order. */
.feed .post .post-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 4px;
  row-gap: 6px;
  justify-content: start;
  justify-items: start;
  margin-right: 0;
  margin-left: -4px;
  width: 100%;
  max-width: 340px;
}

.profile-subform,
.tracking-form {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(138, 106, 53, 0.4);
}

.tracking-timeline {
  margin: 8px 0 10px;
  padding: 8px 10px;
  border: 1px solid rgba(138, 106, 53, 0.35);
  border-radius: 10px;
  background: rgba(8, 18, 13, 0.38);
}

.tracking-timeline-step {
  position: relative;
  padding-left: 18px;
  margin: 0;
}

.tracking-timeline-step + .tracking-timeline-step {
  margin-top: 7px;
}

.tracking-timeline-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(174, 141, 86, 0.55);
  box-shadow: 0 0 0 1px rgba(52, 32, 18, 0.7);
}

.tracking-timeline-step.is-complete::before {
  background: #9cc66f;
}

.tracking-timeline-step.is-current::before {
  background: #d8bd7e;
  box-shadow: 0 0 0 1px rgba(52, 32, 18, 0.7), 0 0 8px rgba(216, 189, 126, 0.4);
}

.tracking-timeline-label {
  font-weight: 700;
}

.tracking-timeline-meta {
  color: var(--pc-text-muted);
  font-size: 13px;
  margin-top: 1px;
}

.account-profile-panel::before {
  border: 0;
  box-shadow: none;
}

.account-profile-panel {
  border: 0 !important;
  box-shadow: none !important;
}

.account-profile-panel .profile-subform,
.account-profile-panel #sellerDetailsForm {
  border-top: 0;
  padding-top: 0;
}

.account-profile-panel .panel-inline {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent;
}

.account-profile-panel .panel-inline::before {
  display: none;
  border: 0;
  box-shadow: none;
}

.layout-narrow .seller-section-panel.account-profile-panel .panel.panel-inline {
  border: 0 !important;
  box-shadow: none !important;
}

.layout-narrow .seller-section-panel.account-profile-panel {
  border: 0 !important;
  box-shadow: none !important;
}

.seller-section-panel .stripe-connect-card,
.seller-section-panel .stripe-connect-inline {
  margin-top: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#loginDetailsForm > .image-btn-save-login-details {
  margin-top: 10px;
  width: 152px;
  min-width: 152px;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 2508 / 627;
  background-size: contain;
}

#sellerDetailsForm .post-actions {
  margin: 12px 0 0;
  gap: 10px;
}

#sellerDetailsForm .post-actions .btn {
  width: 152px;
  min-width: 152px;
  height: 38px;
  min-height: 38px;
  padding: 0;
}

#sellerDetailsForm .post-actions .image-btn {
  width: 152px;
  min-width: 152px;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 2508 / 627;
  background-size: contain;
}

.account-danger-zone {
  margin-top: 26px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(180, 74, 50, 0.38);
  border-radius: 12px;
  background: linear-gradient(rgba(45, 16, 13, 0.58), rgba(20, 8, 7, 0.68));
  box-shadow:
    inset 0 0 0 1px rgba(255, 140, 120, 0.1),
    0 6px 16px rgba(0, 0, 0, 0.3);
}

.account-danger-zone h3 {
  margin: 0 0 6px;
  color: #ffb6a6;
}

.account-danger-zone p {
  margin: 0 0 12px;
}

.account-danger-zone .image-btn-delete-account {
  width: 114px;
  min-width: 114px;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 2172 / 724;
  background-size: contain;
}

.account-delete-footer {
  margin-top: 24px;
  padding-top: 8px;
  border-top: 0;
  display: flex;
  justify-content: center;
}

.account-delete-footer .image-btn-delete-account {
  width: 114px;
  min-width: 114px;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 2172 / 724;
  background-size: contain;
}

.profile-search-results {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.profile-search-head {
  margin: 0 0 8px;
  color: var(--pc-text-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-search-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-search-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  text-decoration: none;
}

.profile-search-card strong {
  color: var(--pc-text-bright);
}

.profile-search-empty {
  margin: 0;
  font-size: 12px;
}

.account-modal-actions .image-btn-seller-profile,
.account-modal-actions .image-btn-privacy-policy {
  width: 152px;
  min-width: 152px;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 2508 / 627;
  background-size: contain;
}

.account-modal-actions .image-btn-logout {
  width: 152px;
  min-width: 152px;
  height: 38px;
  min-height: 38px;
  aspect-ratio: 2508 / 627;
  background-size: contain;
}

.sale-address,
.confirmation-address {
  white-space: pre-line;
  color: var(--pc-text-bright);
}

.leaf-rating-field {
  display: flex;
  gap: 8px;
}

.leaf-rating-display {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  flex-wrap: wrap;
}

.leaf-count-display {
  row-gap: 2px;
}

.rating-leaf {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: var(--pc-leaf-icon-image) center / contain no-repeat;
  transform-origin: 50% 65%;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55));
}

.leaf-rating-display .rating-leaf:nth-child(5n + 1) {
  transform: translateY(1px) rotate(-16deg);
}

.leaf-rating-display .rating-leaf:nth-child(5n + 2) {
  transform: translateY(-1px) rotate(11deg);
}

.leaf-rating-display .rating-leaf:nth-child(5n + 3) {
  transform: translateY(0) rotate(-5deg);
}

.leaf-rating-display .rating-leaf:nth-child(5n + 4) {
  transform: translateY(1px) rotate(15deg);
}

.leaf-rating-display .rating-leaf:nth-child(5n + 5) {
  transform: translateY(-1px) rotate(-12deg);
}

.leaf-burst {
  position: fixed;
  z-index: 100;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: auto;
  padding: 8px 11px;
  border: 1px solid rgba(138, 106, 53, 0.75);
  border-radius: 999px;
  color: var(--pc-text-bright);
  background: rgba(15, 36, 27, 0.92);
  animation: leaf-pop 0.75s ease forwards;
}

.stripe-required-message {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(201, 144, 72, 0.5);
  border-radius: 12px;
  background: rgba(7, 17, 12, 0.46);
}

.stripe-required-message h2 {
  margin: 0 0 6px;
  color: #c99048;
  font-size: 22px;
}

.pc-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  transform: translateX(-50%);
  padding: 10px 14px;
  border: 1px solid var(--pc-border-muted);
  border-radius: 999px;
  color: var(--pc-text-bright);
  background: rgba(15, 36, 27, 0.95);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.pc-visual-debug-badge {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 120;
  min-width: 190px;
  max-width: 240px;
  padding: 8px 10px;
  border: 1px solid rgba(138, 106, 53, 0.8);
  border-radius: 10px;
  color: var(--pc-text-bright);
  background: rgba(8, 20, 15, 0.92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.48);
  font-size: 12px;
  line-height: 1.3;
}

.pc-visual-debug-title {
  display: block;
  margin-bottom: 6px;
  color: #c99048;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pc-visual-debug-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 0;
}

.pc-visual-debug-row code {
  color: #f2dfb7;
  font-size: 11px;
}

.terms-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 16px 36px;
}

.terms-wrap > .panel {
  padding: 22px 24px;
}

.terms-wrap > .panel h1 {
  margin-bottom: 16px;
}

.terms-body {
  white-space: pre-wrap;
  line-height: 1.58;
  padding: 16px;
  border: 1px solid rgba(138, 106, 53, 0.46);
  border-radius: 10px;
  background: rgba(6, 15, 11, 0.38);
}

.legal-wrap {
  max-width: 980px;
}

.legal-wrap > .panel {
  border: 1px solid rgba(201, 144, 72, 0.78);
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.56),
    inset 0 0 0 1px rgba(255, 214, 150, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.38);
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  margin: 2px 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(138, 106, 53, 0.45);
  border-radius: 10px;
  background: rgba(7, 17, 12, 0.42);
}

.legal-meta p {
  margin: 0;
}

.legal-body {
  white-space: normal;
  line-height: 1.62;
}

.legal-body h2 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.legal-body p {
  margin: 0 0 12px;
}

.legal-body ul {
  margin: 0 0 12px;
  padding-left: 24px;
  list-style: disc;
}

.legal-body li {
  margin: 0 0 6px;
}

.legal-actions {
  margin-top: 20px;
  justify-content: flex-start;
}

.legal-actions .image-btn {
  width: 176px;
  min-width: 176px;
  height: 38px;
  min-height: 38px;
}

.post-actions.post-actions-static {
  margin: 18px 0 0;
  gap: 10px;
}

.post-actions.post-actions-static .btn {
  min-height: 32px;
}

.post-actions.post-actions-static .image-btn-privacy-policy,
.post-actions.post-actions-static .back-main-link.image-btn {
  width: 176px;
  min-width: 176px;
  height: 38px;
  min-height: 38px;
}

.post-actions.post-actions-static .image-btn-back-to-checkout {
  width: 176px;
  min-width: 176px;
  height: 38px;
  min-height: 38px;
  padding: 0;
}

/* Global border cleanup: keep UI readable, remove decorative double-lines */
.post::before,
.panel::before,
.modal-panel::before,
.composer-window::before,
.seller-section-panel::before,
.chat-panel::before,
.layout.layout-narrow > .panel::before,
.layout-narrow .seller-section-panel .panel::before {
  display: none !important;
}

.layout,
.topbar,
.panel,
.feed-filters,
.post,
.modal-panel,
.chat-panel,
.composer-window,
.sale-card,
.confirmation-card,
.checkout-seedling-card,
.seller-dashboard-intro,
.account-profile-panel,
.account-profile-panel .panel-inline,
.layout-narrow .seller-section-panel.account-profile-panel,
.layout-narrow .seller-section-panel.account-profile-panel .panel.panel-inline {
  border: 0 !important;
}

.seller-dashboard-intro,
.account-profile-panel,
.account-profile-panel .panel-inline {
  box-shadow: none !important;
  background: transparent;
}

.profile-subform,
.tracking-form,
.account-delete-footer {
  border-top: 0 !important;
}

@keyframes leaf-pop {
  0% { transform: scale(0.7) rotate(-35deg); opacity: 0; }
  25% { transform: scale(1.35) rotate(-20deg); opacity: 1; }
  100% { transform: translateY(-42px) scale(0.9) rotate(10deg); opacity: 0; }
}

@media (max-width: 900px) {
  body {
    font-size: 17px;
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    justify-items: center;
    row-gap: 8px;
    min-height: 0;
    padding: 10px 10px 12px;
  }

  .topbar h1 {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    text-align: center;
  font-weight: 500;
  }

  .topbar-actions {
    position: static;
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .topbar-actions .btn {
    min-height: 38px;
    height: 38px;
    min-width: 114px;
    width: 114px;
    padding: 0;
    font-size: 9px;
  }

  .topbar-actions .btn.image-btn-info {
    width: 102px;
    min-width: 102px;
  }

  .layout {
    width: calc(100vw - 14px);
    padding: 10px;
  }

  .feed-filters {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .feed-filters label:first-child {
    grid-column: 1 / -1;
  }

  .feed-filters label:nth-of-type(2),
  .feed-filters label:nth-of-type(3),
  .feed-filters label:nth-of-type(4) {
    max-width: none;
  }

  .post {
    padding: 10px 10px 46px;
  }

  .post-actions {
    gap: 7px;
    margin: 10px 0 0;
  }

  .post-actions .btn {
    flex: 1 1 calc(50% - 8px);
    min-height: 22px;
    padding: 0;
    font-size: 9px;
  }

  .post-actions .btn.image-btn,
  .post-actions a.image-btn,
  .post-actions span.image-btn {
    flex: 0 0 auto;
  }

  .report-corner {
    right: 11px;
    bottom: 9px;
    min-height: 20px;
    min-width: 50px;
    padding: 0;
    font-size: 8px;
  }

  .floating-chat-shell {
    width: min(268px, calc(100vw - 24px));
    right: 10px;
    bottom: 10px;
  }

  .chat-stream {
    height: min(210px, 36vh);
    max-height: 210px;
  }
}

/* Stack title/actions sooner so header controls do not spill off screen. */
@media (max-width: 1200px) {
  .topbar {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    justify-items: center;
    row-gap: 8px;
    min-height: 0;
    padding: 10px 10px 12px;
  }

  .topbar h1 {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    text-align: center;
  font-weight: 500;
  }

  .topbar-actions {
    position: static;
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .topbar h1 {
    font-size: 26px;
  }

  .feed-filters {
    grid-template-columns: 1fr;
  }

  .feed-filters .plant-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    gap: 6px 12px;
  }

  .checkbox-grid,
  .checkbox-grid-tight {
    gap: 7px 10px;
  }

  .checkbox-chip {
    font-size: 12px;
  }

  .post-caption {
    font-size: 15px;
  }

  .media-wrap img,
  .media-wrap video,
  .photo-carousel img,
  .seed-batch-listing img {
    max-height: 76vh;
  }

  .modal-overlay {
    padding: 10px;
  }

  .floating-chat-shell {
    width: min(262px, calc(100vw - 20px));
    right: 6px;
    left: auto;
    bottom: 8px;
  }

  .chat-panel-head h2 {
    flex: 1 1 auto;
  }

  .chat-panel-head .image-btn-open-chat,
  .chat-panel-head .image-btn-close-chat {
    width: clamp(116px, 34vw, 136px);
    min-width: 0;
  }

  .chat-form-row .image-btn-send {
    width: clamp(116px, 34vw, 136px);
    min-width: 0;
  }

  .modal-panel {
    max-height: 92vh;
    padding: 14px;
  }

  .layout.layout-narrow {
    width: calc(100vw - 12px);
  }

  #checkoutContent .checkout-seedling-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  #checkoutContent .checkout-seedling-card img {
    width: 72px;
    height: 72px;
  }

  #checkoutSubmit.image-btn,
  .back-main-link.image-btn {
    width: 152px;
    min-width: 152px;
    height: 38px;
    min-height: 38px;
  }

  .terms-wrap {
    padding: 12px 6px 20px;
  }

  .terms-wrap > .panel {
    padding: 14px 12px;
  }

  .terms-body {
    padding: 10px;
    line-height: 1.5;
  }

  .post-actions.post-actions-static .image-btn-privacy-policy,
  .post-actions.post-actions-static .back-main-link.image-btn,
  .post-actions.post-actions-static .image-btn-back-to-checkout {
    width: 152px;
    min-width: 152px;
    height: 38px;
    min-height: 38px;
  }

  .post-actions .image-btn-seller-profile,
  .post-actions .image-btn-message-seller,
  .post-actions .image-btn-seller-socials,
  .post-actions .image-btn-privacy-policy,
  .post-actions .image-btn-copy-address,
  .post-actions-top .image-btn-seller-profile,
  .post-actions-top .image-btn-message-seller,
  .post-actions-top .image-btn-seller-socials {
    width: 152px;
    min-width: 152px;
    height: 38px;
    min-height: 38px;
  }

  .post-actions .image-btn-logout {
    width: 152px;
    min-width: 152px;
    height: 38px;
    min-height: 38px;
    aspect-ratio: 2508 / 627;
    background-size: contain;
  }
}



