/* The simpler iteration is opt-in; the three original concepts remain reviewable. */
.account-status {
  padding: 8px 16px;
  border-bottom: 1px solid #333;
  font-size: 11px;
  color: #bbb;
  line-height: 1.45;
}
.account-status[hidden] {
  display: none;
}
.account-status button {
  display: block;
  min-height: 36px;
  margin-top: 4px;
}
.source-price {
  color: #ccc;
  font-size: 15px;
  margin: -8px 0 20px;
}
.source-price span {
  color: #999;
  font-size: 12px;
}
.simple-mode .pricing-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.currency-list {
  border: 1px solid #ffffff20;
  border-radius: 18px;
  overflow: hidden;
  margin: 20px 0;
}
.currency-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 14px;
}
.currency-row + .currency-row {
  border-top: 1px solid #ffffff18;
}
.currency-row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.currency-row > div:last-child {
  text-align: right;
}
.currency-row strong {
  font-size: 14px;
  font-weight: 500;
}
.currency-row small {
  display: block;
  color: #aaa;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 6px;
}
.referral-hero {
  padding: 24px 20px;
  margin: 20px 0;
  border: 1px solid #ffffff24;
  border-radius: 24px;
  background: radial-gradient(ellipse at top right, #ffffff18, #ffffff02 70%);
}
.referral-badge {
  display: inline-block;
  padding: 6px 10px;
  font-size: 11px;
  border-radius: 20px;
  border: 1px solid #ffffff26;
  color: #ccc;
}
.referral-hero h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin: 20px 0;
}
.referral-reward {
  font-size: 64px;
  letter-spacing: -3px;
  line-height: 1.1;
}
.referral-reward span {
  font-size: 14px;
  letter-spacing: 0;
  color: #ccc;
}
.referral-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #ffffff20;
  border-radius: 18px;
  margin: 20px 0;
  padding: 18px 0;
}
.referral-stats > div {
  text-align: center;
  padding: 0 6px;
}
.referral-stats > div + div {
  border-left: 1px solid #ffffff20;
}
.referral-stats strong {
  display: block;
  font-size: 26px;
  font-weight: 500;
}
.referral-stats span {
  display: block;
  font-size: 11px;
  color: #aaa;
  margin-top: 6px;
}
.referral-steps {
  padding-left: 20px;
  margin-bottom: 0;
  color: #bbb;
  font-size: 13px;
  line-height: 1.6;
}
.referral-steps li + li {
  margin-top: 12px;
}
.referral-link .pair button {
  margin: 0;
}
.simple-mode .lab-header,
.simple-mode .lab-controls,
.simple-mode .notes,
.simple-mode .stage-caption,
.simple-mode .telegram-bar,
.simple-mode .wordmark small {
  display: none;
}
.simple-mode {
  background: #090909;
}
.simple-mode .lab {
  display: block;
  max-width: 520px;
  padding: 0;
  margin: 0 auto;
}
.simple-mode .device {
  height: 100dvh;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #090909;
}
.simple-mode .app-top {
  padding: 16px 20px;
  min-height: 66px;
}
.simple-mode .wordmark {
  font-size: 24px;
}
.simple-mode .demo-label {
  font-size: 8px;
  padding: 5px;
  background: #171717;
}
.simple-mode .viewport {
  padding: 18px 18px 104px;
  scroll-padding-bottom: 104px;
}
.simple-mode .field input:not([type="file"]),
.simple-mode .field select,
.simple-mode .field textarea {
  font-size: 16px;
}
.simple-mode h2,
.simple-mode .search-summary span {
  overflow-wrap: anywhere;
}
.simple-mode .pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.simple-mode .pair > * {
  min-width: 0;
}
.simple-mode h2[tabindex="-1"]:focus {
  outline: none;
}
@media (max-height: 500px) {
  .simple-mode .app-top {
    min-height: 46px;
    padding: 8px 18px;
  }
  .simple-mode .wordmark {
    font-size: 20px;
  }
}
.simple-mode .brand-chips button,
.simple-mode .size-chips button {
  min-height: 40px;
}
.simple-mode #bottom-nav {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  bottom: max(12px, env(safe-area-inset-bottom));
  padding: 6px;
  z-index: 5;
  background: linear-gradient(125deg, #2a2a2adb, #171717de 48%, #101010e6);
  border: 1px solid #ffffff30;
  border-radius: 26px;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow:
    0 12px 32px #0006,
    inset 0 1px 0 #ffffff26;
}
.simple-mode #bottom-nav button {
  color: #c6c6c6;
  border-radius: 20px;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}
.simple-mode #bottom-nav button[aria-current="page"] {
  color: #fff;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff24, #ffffff09);
  box-shadow: inset 0 1px 0 #ffffff25;
}
.simple-mode #action-dock {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(max(12px, env(safe-area-inset-bottom)) + 72px);
  z-index: 4;
  border: 1px solid #ffffff24;
  border-radius: 22px;
  background: #141414d9;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow:
    0 8px 24px #0005,
    inset 0 1px 0 #ffffff14;
  padding: 8px;
}
.simple-mode #action-dock .filter-apply,
.simple-mode #action-dock .brand-apply {
  position: static;
  display: flex;
  gap: 8px;
  align-items: stretch;
  padding: 0;
  background: none;
  backdrop-filter: none;
}
.simple-mode #action-dock button {
  margin: 0;
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border-radius: 16px;
  padding: 10px 8px;
  line-height: 1.35;
  font-size: 12px;
}
.simple-mode #action-dock .secondary {
  color: #d1d1d1;
}
.simple-mode .has-action-dock .viewport {
  padding-bottom: calc(184px + env(safe-area-inset-bottom));
  scroll-padding-bottom: calc(184px + env(safe-area-inset-bottom));
}
.simple-mode .has-action-dock #toast {
  bottom: calc(max(12px, env(safe-area-inset-bottom)) + 152px);
}
.simple-mode #simple-filter-form .filter-section {
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid #ffffff18;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff08, #ffffff02);
}
.simple-mode #simple-filter-form .filter-section summary {
  font-weight: 500;
}
@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .simple-mode #bottom-nav,
  .simple-mode #action-dock {
    background: #171717f5;
  }
}
@media (prefers-reduced-motion: reduce) {
  .simple-mode #bottom-nav button {
    transition: none;
  }
}
.collection-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.collection-tabs [aria-current="page"] {
  background: #eee;
  color: #111;
  border-color: #eee;
}
.simple-mode #bottom-nav button {
  font-size: 10px;
  min-height: 47px;
}
.simple-mode .kicker {
  display: none;
}
.filter-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}
.filter-heading h2 {
  margin: 0;
}
.live-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.live-heading h2 {
  font-size: 24px;
  letter-spacing: -0.8px;
  margin: 0;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--fg);
  padding: 8px 2px;
  font-size: 12px;
  min-height: 40px;
}
.single-product {
  position: relative;
}
.single-photo {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  border-radius: 20px;
  background: transparent;
  touch-action: pan-y;
}
.simple-mode .single-photo .art {
  height: clamp(175px, 34dvh, 350px);
  border-radius: 20px;
  background: radial-gradient(ellipse at 40% 20%, #a2a2a2, #555);
}
.single-photo .art svg {
  width: 85%;
  height: 90%;
}
.single-product .live-source {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  border-radius: 99px;
  font-size: 10px;
  background: #141414b0;
  color: #eee;
}
.single-product .save {
  top: 13px;
  right: 13px;
  width: 36px;
  height: 36px;
}
.single-copy {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-top: 17px;
}
.single-copy h3 {
  font-size: 20px;
  letter-spacing: 0.4px;
  line-height: 1.2;
  margin: 0 0 5px;
}
.single-copy p {
  color: var(--sub);
  font-size: 12px;
  margin: 0;
}
.single-copy > strong {
  white-space: nowrap;
  font-size: 19px;
  letter-spacing: -0.5px;
}
.single-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--sub);
  font-size: 11px;
  margin: 12px 0 17px;
}
.live-time {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #bcbcbc;
  margin-bottom: 8px;
  min-height: 15px;
}
#live-progress {
  display: block;
  width: 100%;
  height: 3px;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  appearance: none;
  background: #333;
  color: #eee;
}
#live-progress::-webkit-progress-bar {
  background: #333;
}
#live-progress::-webkit-progress-value {
  background: #eee;
}
#live-progress::-moz-progress-bar {
  background: #eee;
}
.live-controls {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 10px;
  margin: 18px 0 10px;
}
.live-controls button {
  border: 1px solid #444;
  border-radius: 99px;
  background: #202020;
  color: #eee;
  min-height: 42px;
  font-size: 12px;
}
.live-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.live-help {
  font-size: 10px;
  line-height: 1.5;
  color: #a5a5a5;
  text-align: center;
  margin: 8px 0;
}
.demo-arrival {
  font-size: 10px;
  color: #aaa;
  display: block;
  margin: 12px auto 0;
  background: none;
  border: 0;
  padding: 8px;
  min-height: 32px;
}
.search-summary {
  margin-bottom: 16px;
  padding: 14px;
  background: #1c1c1c;
  border-radius: 12px;
}
.search-summary span,
.search-summary small {
  display: block;
}
.search-summary span {
  font-size: 14px;
  font-weight: 600;
}
.search-summary small {
  font-size: 11px;
  color: #b0b0b0;
  margin-top: 4px;
}
.filter-section {
  border-bottom: 1px solid #333;
  padding: 12px 0;
}
.filter-section summary {
  font-size: 14px;
  cursor: pointer;
  min-height: 36px;
  padding: 8px 0;
}
.filter-section summary small {
  float: right;
  color: #aaa;
  font-size: 11px;
}
.filter-section .field {
  margin: 10px 0 15px;
}
.filter-section .platform-list label {
  min-height: 38px;
}
.filter-section .platform-list input {
  min-width: 16px;
  min-height: 16px;
}
.filter-apply {
  position: sticky;
  bottom: -2px;
  background: #101010ed;
  backdrop-filter: blur(14px);
  padding: 10px 0;
  z-index: 1;
}
.filter-apply .primary {
  margin-top: 0;
}
.filter-apply .secondary {
  border: 0;
  background: transparent;
  font-weight: 400;
  margin-top: 2px;
  padding: 8px;
  min-height: 36px;
}
.more-draft {
  font-size: 11px;
  color: #aaa;
  margin: 25px 0 10px;
}
.simple-mode .profile-summary {
  margin-top: 24px;
}
.profile-link {
  width: 100%;
  text-align: left;
  color: var(--fg);
}
.profile-link .minor {
  display: block;
  margin-top: 4px;
}
@media (max-width: 360px) {
  .simple-mode .viewport {
    padding: 12px 14px 100px;
  }
  .single-copy h3 {
    font-size: 17px;
  }
  .single-copy > strong {
    font-size: 17px;
  }
  .single-meta {
    font-size: 10px;
  }
  .simple-mode .app-top {
    padding: 12px 16px;
    min-height: 54px;
  }
  .live-heading {
    margin-bottom: 10px;
  }
}
@media (min-width: 700px) {
  .simple-mode .device {
    border-left: 1px solid #333;
    border-right: 1px solid #333;
  }
}
.brand-field-head,
.brand-results-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.brand-chips button {
  border: 1px solid #555;
  background: #222;
  color: #eee;
  border-radius: 18px;
  padding: 8px 12px;
  overflow-wrap: anywhere;
}
.brand-search {
  display: block;
  margin: 22px 0 14px;
}
.brand-search input {
  width: 100%;
  margin-top: 8px;
}
.brand-tabs {
  display: flex;
  gap: 8px;
}
.brand-tabs button {
  flex: 1;
  min-height: 44px;
  border: 1px solid #444;
  border-radius: 12px;
  background: #222;
  color: #bbb;
}
.brand-tabs button[aria-pressed="true"] {
  background: #eee;
  color: #111;
}
.brand-results-summary {
  margin: 16px 0 8px;
  font-size: 12px;
  color: #aaa;
}
.brand-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  color: #eee;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #333;
  padding: 16px 4px;
  min-height: 60px;
}
.brand-option strong {
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.brand-option small {
  display: block;
  color: #aaa;
  font-size: 11px;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.brand-check {
  flex: 0 0 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid #555;
  border-radius: 8px;
}
.brand-option[aria-pressed="true"] .brand-check {
  background: #eee;
  color: #111;
  border-color: #eee;
}
.brand-apply {
  position: sticky;
  bottom: 0;
  padding: 10px 0;
  background: #101010f5;
  z-index: 2;
}
.brand-apply .primary {
  margin: 0;
}
.size-tabs small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.size-tabs button {
  padding: 10px 4px;
}
.size-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.size-grid button {
  min-height: 46px;
  border: 1px solid #444;
  background: #1b1b1b;
  color: #ddd;
  border-radius: 12px;
  font-size: 14px;
}
.size-grid button[aria-pressed="true"] {
  background: #eee;
  color: #111;
  border-color: #eee;
  font-weight: 600;
}
.size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.size-chips button,
.size-chips > span:not(.minor) {
  border: 1px solid #444;
  border-radius: 16px;
  color: #ddd;
  background: #222;
  padding: 7px 12px;
  font-size: 12px;
}
.size-selection {
  border-top: 1px solid #333;
  padding-top: 16px;
  margin-top: 20px;
}
.price-rule-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  background: #1b1b1b;
  border: 1px solid #363636;
  border-radius: 16px;
  padding: 16px;
  margin: 10px 0;
  color: #eee;
  text-align: left;
}
.price-rule-card strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.price-rule-card small {
  display: block;
  color: #aaa;
  font-size: 12px;
  margin-top: 7px;
  line-height: 1.5;
}
.price-section-head {
  margin-top: 24px;
}
.price-section-head h3 {
  font-size: 16px;
}
.simple-mode #bottom-nav button {
  font-size: 9px;
  min-width: 0;
  padding-left: 1px;
  padding-right: 1px;
}
/* Support: quiet monochrome inbox and a readable conversation on narrow screens. */
.simple-mode .support-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}
.support-contact strong {
  font-size: 22px;
}
.support-contact small {
  display: block;
  margin-top: 8px;
  color: #aaa;
}
.support-actions {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}
.support-faq-title {
  margin-top: 32px;
}
.support-faq {
  border-bottom: 1px solid #333;
  padding: 18px 0;
}
.support-faq summary {
  cursor: pointer;
  line-height: 1.5;
}
.support-faq p {
  color: #bbb;
  line-height: 1.6;
}
.support-back {
  margin-bottom: 16px;
}
.support-notice {
  padding: 16px;
  border: 1px solid #777;
  border-radius: 16px;
  line-height: 1.5;
}
.support-inbox {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}
.support-ticket {
  display: grid;
  gap: 12px;
  width: 100%;
  text-align: left;
}
.support-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #aaa;
}
.support-status {
  width: fit-content;
  border: 1px solid #555;
  border-radius: 24px;
  padding: 5px 10px;
  font-size: 11px;
}
.support-thread-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
.support-thread-heading small {
  color: #aaa;
}
.support-messages {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}
.support-message {
  margin-left: 20px;
  padding: 16px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 20px 20px 4px 20px;
  min-width: 0;
}
.support-message.from-staff {
  margin-left: 0;
  margin-right: 20px;
  background: #262626;
  border-radius: 20px 20px 20px 4px;
}
.support-message header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  font-size: 11px;
}
.support-message time {
  color: #aaa;
}
.support-message p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
#support-create,
#support-reply {
  display: grid;
  gap: 16px;
  margin: 20px 0;
}
#support-create textarea,
#support-reply textarea {
  min-height: 160px;
  resize: vertical;
}
/* Catalog photos retain their source colors within the monochrome interface. */
.single-photo img,
.catalog-detail-photo img {
  width: 100%;
  height: 100%;
  max-height: 48vh;
  object-fit: contain;
}
.catalog-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.catalog-detail-photo {
  background: #181818;
  border-radius: 16px;
  overflow: hidden;
}
.single-copy strong {
  flex-shrink: 0;
}
.catalog-photo {
  display: grid;
  place-items: center;
  background: #181818;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1;
}
.single-photo .catalog-photo {
  height: clamp(175px, 34dvh, 350px);
  aspect-ratio: auto;
}
.single-copy > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.single-product > .source-price {
  margin: 8px 0 20px;
}
/* Phone catalog: stable image boxes, readable copy and thumb-sized actions. */
.feed-return[hidden] { display: none; }
.simple-mode .feed-return {
  position: absolute;
  bottom: calc(max(12px, env(safe-area-inset-bottom)) + 80px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 32px);
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #ffffff36;
  border-radius: 999px;
  background: #202020e8;
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 20px #0006, inset 0 1px 0 #ffffff18;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.simple-mode .feed-return[hidden] { display: none; }
.simple-mode .feed-return:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.simple-mode .feed-return:active { background: #383838; }
.simple-mode .beta-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.simple-mode .beta-actions button { flex: 1 1 120px; margin: 0; min-height: 44px; }
.simple-mode .beta-participant { overflow-wrap: anywhere; }
.simple-mode #beta-form label { display: block; margin: 12px 0 8px; }
.simple-mode #beta-form input, .simple-mode #beta-form select {
  width: 100%; min-height: 44px; padding: 12px 14px;
  border: 1px solid #444; border-radius: 14px; background: #101010; color: #eee;
  font: inherit;
}
.simple-mode #beta-form :is(input, select):focus-visible { outline: 2px solid #aaa; outline-offset: 2px; }
.simple-mode .device {
  height: var(--tg-viewport-height, 100dvh);
}
.simple-mode .app-top {
  min-height: 58px;
  padding: 8px 16px;
  padding-top: max(8px, env(safe-area-inset-top));
}
.simple-mode .avatar,
.simple-mode .text-button {
  min-height: 44px;
  min-width: 44px;
}
.simple-mode .viewport {
  padding: 16px 12px calc(100px + env(safe-area-inset-bottom));
  scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom));
  overflow-anchor: none;
}
.simple-mode .live-heading {
  margin-bottom: 4px;
}
.simple-mode .live-heading h2 {
  font-size: 26px;
  letter-spacing: -0.7px;
}
.simple-mode .catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 10px;
  margin-top: 16px;
}
.simple-mode .catalog-grid .product-copy {
  display: block;
  padding: 10px 2px 0;
  overflow-wrap: anywhere;
}
.simple-mode .catalog-grid .catalog-photo,
.simple-mode .catalog-grid .art {
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: 14px;
}
.simple-mode .catalog-grid .catalog-photo img {
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}
.simple-mode .catalog-grid .brand {
  font-size: 13px;
  line-height: 1.4;
}
.simple-mode .catalog-grid .product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.4;
  min-height: 2.8em;
  margin: 4px 0 8px;
}
.simple-mode .catalog-grid .price {
  font-size: 17px;
}
.simple-mode .catalog-grid .meta {
  font-size: 11px;
  line-height: 1.4;
}
.simple-mode .catalog-grid .save {
  width: 44px;
  height: 44px;
  background: #171717bf;
  color: #fff;
  border: 1px solid #ffffff38;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.feed-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ccc;
  font-size: 12px;
}
.feed-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
}
.feed-caption {
  font-size: 12px;
  color: #aaa;
  margin: 0 0 10px;
}
.feed-coverage {
  font-size: 11px;
  color: #999;
  line-height: 1.5;
}
.feed-coverage summary {
  min-height: 32px;
  cursor: pointer;
}
.catalog-more {
  width: 100%;
  min-height: 48px;
  margin-top: 24px;
}
.visual-access {
  margin-top: 20px;
}
.visual-access-icon {
  margin: 28px 0 20px;
}
.visual-access-icon .nav-icon {
  width: 48px;
  height: 48px;
  color: #ddd;
}
.visual-access .primary {
  margin-top: 20px;
}
.entry-loader[hidden] { display: none; }
.entry-loader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px; background: #090909; color: #f4f4f4; text-align: center;
}
.entry-loader strong { font-size: 42px; letter-spacing: -.06em; }
.entry-loader p { margin: 18px 0 32px; font-size: 15px; color: #bbb; }
.entry-loader small { margin-top: 18px; color: #999; font-size: 12px; }
.loading-line { width: 180px; max-width: 100%; height: 3px; overflow: hidden; background: #292929; border-radius: 9px; }
.loading-line::after { content: ""; display: block; height: 100%; width: 45%; background: #eee; border-radius: inherit; animation: entry-progress 1.5s ease-in-out infinite; }
@keyframes entry-progress { from { transform: translateX(-110%); } to { transform: translateX(340%); } }
@media (prefers-reduced-motion: reduce) { .loading-line::after { animation: none; width: 100%; opacity: .6; } }
.simple-mode .page-intro { font-size: 14px; color: #b9b9b9; line-height: 1.65; margin: 14px 0 24px; }
.simple-mode .profile-summary { padding: 22px 18px; gap: 16px; align-items: center; }
.profile-summary > div { min-width: 0; }
.simple-mode .profile-summary h3 { font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; margin: 0; }
.simple-mode .profile-avatar { width: 64px; height: 64px; flex: 0 0 64px; font-size: 26px; }
.avatar { overflow: hidden; padding: 0; display: grid; place-items: center; flex-shrink: 0; }
.simple-mode .app-top .avatar { width: 44px; height: 44px; appearance: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; border-radius: inherit; }
.profile-username { margin: 5px 0; font-size: 13px; color: #aaa; overflow-wrap: anywhere; }
.telegram-id { min-height: 38px; background: none; padding: 4px 0; border: 0; color: #c4c4c4; font-size: 12px; font-variant-numeric: tabular-nums; text-align: left; }
.telegram-id span { margin-left: 8px; }
.profile-access { margin: -4px 0 28px; font-size: 12px; color: #aaa; }
.access-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-block: 1px solid #292929; padding: 10px 0; margin: 0 0 24px; font-size: 13px; }
.access-summary .text-button { flex-shrink: 0; }
.plans { display: grid; gap: 12px; margin: 24px 0; }
.plan-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; padding: 20px; border: 1px solid #333; border-radius: 20px; background: linear-gradient(145deg,#1c1c1c,#111); color: #f1f1f1; min-height: 84px; }
.plan-card strong { display: block; font-size: 16px; font-weight: 550; }
.plan-card small { display: block; margin-top: 7px; color: #aaa; font-size: 12px; }
.plan-card b { font-size: 22px; font-weight: 550; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan-card:active { background: #292929; }
.plan-card:focus-visible { outline: 2px solid #eee; outline-offset: 3px; }
.checkout-note { padding: 8px 2px 16px; }
.checkout-note h3 { font-size: 16px; font-weight: 550; margin-bottom: 14px; }
.checkout-note p { color: #b5b5b5; font-size: 13px; line-height: 1.65; margin: 12px 0; }
.checkout-note small { font-size: 12px; color: #929292; }
.simple-mode .menu-row span { line-height: 1.5; }
.simple-mode .filters-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex-shrink: 0; min-height: 44px; padding: 10px 16px;
  border: 1px solid #454545; border-radius: 999px; color: #eee;
  background: linear-gradient(145deg, #2a2a2a, #1b1b1b);
  box-shadow: inset 0 1px 0 #ffffff0d; font-size: 13px; font-weight: 500;
  touch-action: manipulation;
}
.simple-mode .filters-button .nav-icon { width: 17px; height: 17px; }
.simple-mode .filters-button:hover { border-color: #777; background: #303030; }
.simple-mode .filters-button:active { background: #3b3b3b; }
.simple-mode .settings-section { margin: 0 0 20px; padding: 18px 16px; border: 1px solid #303030; border-radius: 20px; background: #141414; }
.simple-mode .settings-section h3 { margin: 0 0 6px; font-size: 16px; }
.simple-mode .settings-section .field { margin-top: 0; }
.simple-mode .settings-section .minor { margin-bottom: 0; font-size: 12px; line-height: 1.55; color: #aaa; }
.simple-mode .settings-section .toggle { font-size: 14px; }
.simple-mode .settings-section .toggle small { font-size: 12px; line-height: 1.5; }
.simple-mode .catalog-photo img { opacity: 0; transition: opacity 240ms ease-out; }
.simple-mode .catalog-photo img.photo-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .simple-mode .catalog-photo img { transition: none; } }
.simple-mode .more-menu { margin-top: 24px; }
.simple-mode .more-menu h3 { margin: 0 2px 12px; font-size: 14px; font-weight: 500; color: #aaa; }
.simple-mode .more-actions { display: grid; gap: 8px; }
.simple-mode .more-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.simple-mode .more-action {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 78px;
  padding: 14px; border: 1px solid #303030; border-radius: 18px;
  background: linear-gradient(135deg, #1b1b1b, #131313); text-align: left;
  transition: background .15s ease, border-color .15s ease;
  touch-action: manipulation;
}
.simple-mode .more-action:hover { background: #222; border-color: #484848; }
.simple-mode .more-action:active { background: #2b2b2b; border-color: #777; }
.simple-mode .more-action:focus-visible { outline: 2px solid #eee; outline-offset: 3px; }
.simple-mode .more-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; background: #292929; color: #ddd; }
.simple-mode .more-icon .nav-icon { width: 22px; height: 22px; }
.simple-mode .more-copy { flex: 1; min-width: 0; }
.simple-mode .more-copy strong { display: block; font-size: 15px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.simple-mode .more-copy small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.45; color: #aaa; }
.simple-mode .more-chevron { display: flex; flex: 0 0 16px; color: #888; }
.simple-mode .more-chevron .nav-icon { width: 16px; height: 16px; }
.simple-mode .more-tile { position: relative; flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 14px; }
.simple-mode .more-tile .more-chevron { position: absolute; top: 26px; right: 14px; }
.simple-mode .more-tile .more-copy { flex: none; }
@media (prefers-reduced-motion: reduce) { .simple-mode .more-action { transition: none; } }
.simple-mode .legal-section {
  margin-top: 28px;
  padding: 20px 16px 16px;
  border: 1px solid #303030;
  border-radius: 20px;
  background: #111;
}
.simple-mode .legal-section h3 { margin: 0; font-size: 16px; font-weight: 600; }
.simple-mode .legal-section p { margin: 8px 0 6px; color: #aaa; font-size: 13px; line-height: 1.6; }
.simple-mode .legal-section .menu-row { gap: 12px; text-decoration: none; min-height: 64px; }
.simple-mode .legal-section .menu-row strong { font-size: 14px; }
.simple-mode .legal-section .menu-row small { font-size: 12px; }
.simple-mode .legal-section .menu-row > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.simple-mode .legal-section .menu-row > span:last-child { flex-shrink: 0; }
.simple-mode .legal-section .menu-row:hover { background: #1a1a1a; }
.simple-mode .legal-section .menu-row:focus-visible { outline: 2px solid #ddd; outline-offset: 3px; }
.simple-mode .legal-note { display: block; margin-top: 14px; color: #999; font-size: 11px; line-height: 1.5; }
.publication-date time {
  display: block;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 360px) {
  .simple-mode .catalog-grid {
    gap: 18px 8px;
  }
  .simple-mode #bottom-nav {
    left: 8px;
    right: 8px;
    padding: 4px;
  }
  .simple-mode #bottom-nav button {
    font-size: 9px;
    padding-inline: 0;
  }
}
/* Channel access uses the same restrained, rounded controls as the account. */
.channel-gate { display: grid; gap: 16px; }
.channel-gate a.primary, .channel-gate a.text-button { display: block; text-align: center; text-decoration: none; }
.more-action { text-decoration: none; }
.simple-mode #bottom-nav[hidden] { display: none; }
/* Catalog controls use the same neutral rounded shapes as the filters. */
.catalog-query { display:flex; gap:8px; padding:5px; border:1px solid #383838; border-radius:24px; background:#191919; margin:16px 0 12px; }
.catalog-query input { min-width:0; flex:1; border:0; background:transparent; padding:10px 12px; font-size:16px; color:#f4f4f4; outline-offset:2px; }
.catalog-query button { width:44px; height:44px; flex:none; border-radius:50%; border:0; background:#eee; color:#111; display:grid; place-items:center; }
.catalog-tools { display:flex; align-items:center; gap:12px; font-size:13px; color:#bbb; }
.catalog-tools select { min-width:0; flex:1; border:1px solid #383838; border-radius:20px; min-height:44px; padding:8px 12px; background:#191919; color:#eee; font:inherit; }
.filter-chips { display:flex; flex-wrap:wrap; gap:7px; margin:12px 0; }
.filter-chip { border:1px solid #383838; border-radius:20px; background:#222; color:#eee; min-height:36px; padding:8px 12px; max-width:100%; overflow-wrap:anywhere; text-align:left; }
.filter-chip span { margin-left:5px; color:#aaa; }
.catalog-coverage { line-height:1.55; margin:12px 0 20px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.photo-upload { display:grid; gap:12px; }
.photo-preview { width:100%; height:230px; object-fit:contain; border-radius:18px; background:#111; }
.photo-placeholder { border:1px dashed #444; border-radius:18px; padding:36px 20px; color:#bbb; text-align:center; }
.photo-file { position:relative; overflow:hidden; text-align:center; display:block; cursor:pointer; }
.photo-file input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.photo-file:focus-within { outline:2px solid #ddd; outline-offset:2px; }
.catalog-refresh { width:44px; height:44px; flex:none; border:1px solid #383838; border-radius:50%; background:#191919; color:#eee; font-size:23px; }
.catalog-coverage summary { cursor:pointer; min-height:32px; display:flex; align-items:center; }
.catalog-coverage summary::after { content:"⌄"; margin-left:8px; }
/* Mobile shell: one scroll container and identical control metrics in WKWebView
   and Chromium. Keep pinch zoom enabled; prevent WebKit text auto-inflation. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.simple-mode { height: 100%; overflow: hidden; }
.simple-mode .lab {
  position: fixed; top: var(--attum-viewport-top, 0px); left: 0; right: 0;
  width: 100%; padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.simple-mode .device {
  height: 100vh;
  height: var(--attum-viewport-height, 100dvh);
  width: 100%; min-width: 0;
}
.simple-mode .app-top, .simple-mode .demo-label, .simple-mode #account-status {
  flex-shrink: 0;
}
.simple-mode .viewport { min-width: 0; -webkit-overflow-scrolling: touch; }
.simple-mode button, .simple-mode select,
.simple-mode input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  -webkit-appearance: none; appearance: none;
}
.simple-mode input:not([type="checkbox"]):not([type="radio"]),
.simple-mode select, .simple-mode textarea { font-size: 16px; }
.simple-mode select {
  min-height: 48px; line-height: 1.4; padding: 12px 36px 12px 14px;
  background-image: url("chevron-down.svg");
  background-position: right 14px center; background-repeat: no-repeat;
}
.simple-mode .catalog-query input { width: 0; min-height: 44px; border-radius: 18px; }
.simple-mode .catalog-query input::-webkit-search-decoration { -webkit-appearance: none; }
.simple-mode .filter-chip { min-height: 44px; }
.simple-mode #bottom-nav { align-items: stretch; }
.simple-mode #bottom-nav button {
  min-width: 0; min-height: 48px; grid-template-rows: 20px auto;
  align-content: center; align-items: center; line-height: 1.3;
}
.simple-mode #bottom-nav .nav-icon { width: 20px; height: 20px; }
.simple-mode .avatar img { min-width: 0; min-height: 0; }
/* One glass layer over moving cards; avoid nested blur surfaces and GPU halos. */
.simple-mode .catalog-grid .save { -webkit-backdrop-filter: none; backdrop-filter: none; background: #252525e8; }
.simple-mode #action-dock { -webkit-backdrop-filter: none; backdrop-filter: none; background: #191919f5; }
.simple-mode #bottom-nav button[aria-current="page"] svg { filter: none; }
.simple-mode #bottom-nav { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .simple-mode #bottom-nav { background: #202020; }
}
