.cheto-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  background: transparent;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

html:has(.cheto-body) {
  scroll-behavior: auto;
  overflow-x: hidden;
  overflow-anchor: none;
}

.cheto-body .cosmos-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
  contain: strict;
  isolation: isolate;
}

.cheto-body .cosmos-stars {
  position: absolute;
  inset: 0;
}

.cheto-body .cosmos-canvas {
  display: block;
  width: 100%;
  height: 100%;
  contain: strict;
}

.cheto-page-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(920px, 100%);
  margin: 0 auto;
  padding: 22px max(16px, env(safe-area-inset-right, 0px)) calc(48px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  overflow-x: clip;
}

.cheto-glass {
  background: rgba(10, 10, 12, 0.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}

.cheto-theme-light .cheto-glass {
  background: rgba(222, 223, 228, 0.72);
  border-color: rgba(0, 0, 0, 0.12);
}

.cheto-fade-in {
  animation: chetoFadeIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes chetoFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cheto-theme-dark {
  --cheto-bg: #050505;
  --cheto-surface: #0c0c0c;
  --cheto-surface-2: #111;
  --cheto-border: rgba(255, 255, 255, 0.08);
  --cheto-text: #f0f0f0;
  --cheto-muted: #888;
  --cheto-accent: #f5f5f5;
  --cheto-accent-soft: rgba(255, 255, 255, 0.08);
  --cheto-hover: rgba(255, 255, 255, 0.14);
  --cheto-input-bg: #080808;
  --cheto-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  --cheto-star: #c8c8c8;
  color: var(--cheto-text);
  background: transparent;
}

.cheto-theme-light {
  --cheto-bg: #c9c9cf;
  --cheto-surface: #dddee3;
  --cheto-surface-2: #d2d3d8;
  --cheto-border: rgba(0, 0, 0, 0.16);
  --cheto-text: #141414;
  --cheto-muted: #4a4a52;
  --cheto-accent: #141414;
  --cheto-accent-soft: rgba(0, 0, 0, 0.06);
  --cheto-hover: rgba(0, 0, 0, 0.12);
  --cheto-input-bg: #e4e5ea;
  --cheto-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  --cheto-star: #5a5a62;
  color: var(--cheto-text);
  background: var(--cheto-bg);
}

.cheto-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 40;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}

.cheto-topbar--glass {
  background: rgba(8, 8, 10, 0.55);
}

#chetoFiltersToggle {
  display: none;
}

.cheto-back {
  color: var(--cheto-muted);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.cheto-back:hover {
  color: var(--cheto-text);
}

.cheto-topbar__brand {
  flex: 1;
  min-width: 0;
}

.cheto-topbar__brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cheto-topbar__brand span {
  display: block;
  margin-top: 2px;
  color: var(--cheto-muted);
  font-size: 12px;
}

.cheto-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  min-width: 0;
}

.cheto-topbar__actions .lang-picker--fab-inline {
  flex-shrink: 0;
  align-self: center;
}

.cheto-risk {
  padding: 14px max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px));
  border-bottom: 1px solid rgba(255, 80, 80, 0.14);
  background: rgba(255, 60, 60, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow-x: clip;
  box-sizing: border-box;
}

.cheto-risk--warn {
  border-left: 3px solid rgba(255, 90, 90, 0.35);
}

.cheto-risk p {
  margin: 0;
  max-width: 960px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 220, 220, 0.82);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cheto-risk a {
  color: var(--cheto-text);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cheto-theme-light .cheto-risk {
  background: var(--cheto-surface);
}

.cheto-panel--hint {
  border-color: var(--cheto-border);
  background: var(--cheto-surface-2);
}

.cheto-panel--hint[hidden] {
  display: none !important;
}

.cheto-panel--hint:not([hidden]) {
  animation: chetoFadeIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cheto-profile-status {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.cheto-profile-status__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--cheto-border);
  border-radius: 10px;
  background: var(--cheto-surface-2);
  font-size: 13px;
}

.cheto-profile-status__row.is-ok {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--cheto-text);
}

.cheto-profile-status__row.is-bad {
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--cheto-muted);
}

.cheto-theme-light .cheto-profile-status__row.is-ok {
  border-color: rgba(0, 0, 0, 0.2);
}

.cheto-empty-block {
  display: none;
  gap: 14px;
  justify-items: center;
  margin-top: 28px;
  padding: 36px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(12, 12, 14, 0.4);
}

.cheto-empty-block.is-visible {
  display: grid;
  animation: chetoFadeIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cheto-user-chip--guest {
  cursor: pointer;
  color: var(--cheto-muted);
}

.cheto-user-chip--guest:hover {
  color: var(--cheto-text);
  border-color: var(--cheto-hover);
}

.cheto-detail__risk {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--cheto-border);
  background: var(--cheto-surface-2);
  font-size: 12px;
  line-height: 1.55;
  color: var(--cheto-muted);
}

.cheto-detail__risk a {
  color: var(--cheto-text);
  font-weight: 650;
}

.cheto-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cheto-theme-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--cheto-border);
  border-radius: 10px;
  background: var(--cheto-surface-2);
  color: var(--cheto-text);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cheto-theme-btn:hover {
  border-color: var(--cheto-hover);
  background: rgba(255, 255, 255, 0.06);
}

.cheto-theme-light .cheto-theme-btn {
  content: "🌙";
}

.cheto-btn {
  padding: 10px 14px;
  border: 1px solid var(--cheto-border);
  border-radius: 10px;
  background: var(--cheto-surface-2);
  color: var(--cheto-text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

a.cheto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
}

a.cheto-btn:hover,
a.cheto-btn:focus-visible {
  text-decoration: none;
}

.cheto-btn:hover {
  border-color: var(--cheto-hover);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cheto-text);
}

.cheto-theme-light .cheto-btn:hover {
  border-color: rgba(0, 0, 0, 0.24);
  background: rgba(255, 255, 255, 0.55);
}

.cheto-btn--primary {
  background: var(--cheto-accent);
  border-color: var(--cheto-accent);
  color: #0a0a0a;
}

.cheto-btn--primary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #0a0a0a;
}

.cheto-theme-light .cheto-btn--primary {
  background: #141414;
  border-color: #141414;
  color: #f5f5f5;
}

.cheto-theme-light .cheto-btn--primary:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.cheto-btn--danger {
  border-color: rgba(255, 77, 77, 0.35);
  color: #ff6b6b;
}

.cheto-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--cheto-text);
}

.cheto-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.cheto-theme-light .cheto-btn--ghost {
  border-color: rgba(0, 0, 0, 0.14);
}

.cheto-theme-light .cheto-btn--ghost:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.22);
  color: #0a0a0a;
}

.cheto-btn.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--cheto-text);
}

.cheto-theme-light .cheto-btn.is-active {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.22);
}

.cheto-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 0;
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 1;
  overflow-x: clip;
}

.cheto-shell--glass .cheto-sidebar,
.cheto-shell--glass .cheto-main {
  background: transparent;
}

.cheto-sidebar {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 10, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cheto-sidebar-nav {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.cheto-sidebar-nav__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: transparent;
  color: #8f8f8f;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition:
    color 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.cheto-sidebar-nav__link:hover {
  color: #d8d8d8;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.cheto-sidebar-nav__link.is-active {
  color: #0a0a0a;
  border-color: rgba(255, 255, 255, 0.55);
  background: #f5f5f5;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cheto-body.cheto-settings-open {
  overflow: hidden;
}

.cheto-shell--profile .cheto-page-shell {
  max-width: min(680px, 100%);
  width: 100%;
  margin: 0 auto;
  padding: 20px max(16px, env(safe-area-inset-right, 0px)) calc(48px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

.cheto-panel {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(12, 12, 14, 0.48);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
  transition:
    border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cheto-panel:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.cheto-panel + .cheto-panel {
  margin-top: 14px;
}

.cheto-panel h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cheto-text);
}

.cheto-panel--hint p {
  margin: 0;
  color: var(--cheto-muted);
  font-size: 12px;
  line-height: 1.6;
}

.cheto-field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.cheto-field:last-child {
  margin-bottom: 0;
}

.cheto-field span {
  font-size: 11px;
  font-weight: 600;
  color: var(--cheto-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cheto-field input,
.cheto-field textarea,
.cheto-field select,
.cheto-select-wrap select {
  width: 100%;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--cheto-border);
  border-radius: 12px;
  background: var(--cheto-input-bg);
  color: var(--cheto-text);
  font: inherit;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.cheto-field input:hover,
.cheto-field textarea:hover,
.cheto-select-wrap select:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.cheto-theme-light .cheto-field input:hover,
.cheto-theme-light .cheto-field textarea:hover,
.cheto-theme-light .cheto-select-wrap select:hover {
  border-color: rgba(0, 0, 0, 0.22);
}

.cheto-field input:focus,
.cheto-field textarea:focus,
.cheto-select-wrap select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.cheto-theme-light .cheto-field input:focus,
.cheto-theme-light .cheto-field textarea:focus,
.cheto-theme-light .cheto-select-wrap select:focus {
  border-color: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.cheto-field input[type="number"]::-webkit-outer-spin-button,
.cheto-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cheto-field input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.cheto-field input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.cheto-select-wrap {
  position: relative;
  display: block;
}

.cheto-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--cheto-muted);
  border-bottom: 2px solid var(--cheto-muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  transition: border-color 0.16s ease;
}

.cheto-select-wrap:focus-within::after {
  border-color: var(--cheto-text);
}

.cheto-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.cheto-select-wrap select option {
  background: var(--cheto-surface);
  color: var(--cheto-text);
}

.cheto-theme-light .cheto-select-wrap select option {
  background: var(--cheto-surface-2);
  color: var(--cheto-text);
}

.cheto-field textarea {
  resize: vertical;
  min-height: 88px;
}

.cheto-main {
  padding: 22px max(16px, env(safe-area-inset-right, 0px)) 40px max(16px, env(safe-area-inset-left, 0px));
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  background: transparent;
  overflow-x: clip;
  overflow-anchor: none;
}

.cheto-main__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cheto-main__head h1 {
  margin: 0 0 4px;
  font-size: 22px;
}

.cheto-main__head p {
  margin: 0;
  color: var(--cheto-muted);
  font-size: 13px;
}

.cheto-user-chip {
  padding: 8px 14px;
  border: 1px solid var(--cheto-border);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent), var(--cheto-surface);
  font-size: 13px;
  max-width: min(100%, 280px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  cursor: default;
  box-sizing: border-box;
}

.cheto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  overflow-anchor: none;
}

.cheto-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(12, 12, 14, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cheto-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(18, 18, 22, 0.72);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.cheto-card--locked .cheto-card__img,
.cheto-card--locked .cheto-card__body {
  filter: blur(8px);
  user-select: none;
  pointer-events: none;
}

.cheto-card--locked {
  position: relative;
}

.cheto-card__lock-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
  color: #f0f0f0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 2;
}

.cheto-guest-wall {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.cheto-guest-wall__blur {
  filter: blur(9px);
  user-select: none;
  pointer-events: none;
}

.cheto-guest-lock {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: rgba(0, 0, 0, 0.52);
}

.cheto-guest-lock__text {
  margin: 0;
  max-width: 320px;
  color: #f0f0f0;
  font-size: 15px;
  line-height: 1.45;
}

.cheto-modal__panel .cheto-guest-wall {
  min-height: 280px;
}

.cheto-card__img {
  aspect-ratio: 16 / 11;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cheto-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cheto-card__placeholder {
  color: var(--cheto-muted);
  font-size: 12px;
}

.cheto-card__body {
  padding: 14px;
  display: grid;
  gap: 8px;
  flex: 1;
}

.cheto-card__cat {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 8px;
  border: 1px solid var(--cheto-border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cheto-muted);
}

.cheto-card__price {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cheto-card__title {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cheto-card__seller {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--cheto-border);
  font-size: 12px;
  color: var(--cheto-muted);
}

.cheto-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--cheto-star);
  font-size: 12px;
  white-space: nowrap;
}

.cheto-stars__muted {
  color: var(--cheto-muted);
}

.cheto-empty {
  margin-top: 24px;
  text-align: center;
  color: var(--cheto-muted);
}

.cheto-modal[hidden] {
  display: none;
}

.cheto-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow: auto;
}

.cheto-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.cheto-theme-light .cheto-modal__backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.cheto-modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-width: 100%;
  margin-top: 4vh;
  padding: 22px;
  border: 1px solid var(--cheto-border);
  border-radius: 16px;
  background: var(--cheto-surface);
  box-shadow: var(--cheto-shadow);
  box-sizing: border-box;
  overflow-x: clip;
}

.cheto-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: var(--cheto-surface-2);
  color: var(--cheto-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.cheto-detail {
  display: grid;
  gap: 18px;
}

.cheto-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 18px;
}

.cheto-detail__img {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cheto-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cheto-detail__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cheto-detail__price {
  font-size: 28px;
  font-weight: 750;
  margin: 8px 0;
}

.cheto-detail__desc {
  color: var(--cheto-muted);
  line-height: 1.6;
  white-space: pre-wrap;
}

.cheto-profile-box {
  padding: 14px;
  border: 1px solid var(--cheto-border);
  border-radius: 12px;
  background: var(--cheto-surface-2);
}

.cheto-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--cheto-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.cheto-check:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.cheto-theme-light .cheto-check:hover {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.45);
}

.cheto-check.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cheto-check__input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: var(--cheto-input-bg);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.cheto-theme-light .cheto-check__input {
  border-color: rgba(0, 0, 0, 0.22);
}

.cheto-check__input:checked {
  border-color: #f5f5f5;
  background-color: #f5f5f5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23050505' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 6l3 3 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.cheto-theme-light .cheto-check__input:checked {
  border-color: #141414;
  background-color: #141414;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 6l3 3 5-5'/%3E%3C/svg%3E");
}

.cheto-check__input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.cheto-check__text {
  color: var(--cheto-text);
  font-size: 13px;
  line-height: 1.45;
}

.cheto-check__text a {
  color: var(--cheto-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cheto-seller {
  padding: 18px;
  border: 1px solid var(--cheto-border);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 36%),
    var(--cheto-surface-2);
}

.cheto-seller__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cheto-seller__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--cheto-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cheto-text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.cheto-seller__avatar--sm {
  width: 40px;
  height: 40px;
  font-size: 13px;
}

.cheto-seller__avatar--img {
  padding: 0;
  overflow: hidden;
}

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

.cheto-seller__info {
  min-width: 0;
  flex: 1;
}

.cheto-seller__name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.cheto-seller__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.cheto-seller__badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--cheto-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cheto-muted);
  font-size: 11px;
  font-weight: 600;
}

.cheto-seller__badge--ok {
  color: var(--cheto-text);
  border-color: rgba(255, 255, 255, 0.18);
}

.cheto-seller__rating {
  font-size: 13px;
}

.cheto-seller__bio {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--cheto-border);
  color: var(--cheto-muted);
  font-size: 13px;
  line-height: 1.6;
}

.cheto-seller__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.cheto-seller__stat {
  padding: 12px;
  border: 1px solid var(--cheto-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.cheto-seller__stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--cheto-text);
}

.cheto-seller__stat span {
  color: var(--cheto-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cheto-seller__reviews {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--cheto-border);
}

.cheto-seller__reviews-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cheto-muted);
}

.cheto-seller__review-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--cheto-border);
  display: grid;
  gap: 12px;
}

.cheto-profile-form__title {
  margin: 0;
  font-size: 20px;
}

.cheto-profile-form__user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--cheto-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.cheto-profile-form__user strong {
  display: block;
  font-size: 15px;
}

.cheto-profile-form__msgr {
  display: block;
  margin-top: 2px;
  color: var(--cheto-muted);
  font-size: 12px;
}

.cheto-seller-settings {
  padding-top: 4px;
  display: grid;
  gap: 12px;
}

.cheto-seller-settings__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cheto-seller-settings__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--cheto-muted);
  font-size: 12px;
}

.cheto-seller-settings__meta strong {
  color: var(--cheto-text);
}

.cheto-msg--muted {
  padding: 12px 14px;
  border: 1px solid var(--cheto-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--cheto-muted);
  font-size: 13px;
  line-height: 1.5;
}

.cheto-bank {
  padding: 12px;
  border-radius: 10px;
  background: var(--cheto-input-bg);
  border: 1px dashed var(--cheto-border);
  font-family: ui-monospace, monospace;
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

.cheto-reviews {
  display: grid;
  gap: 10px;
}

.cheto-review {
  padding: 12px;
  border: 1px solid var(--cheto-border);
  border-radius: 10px;
  background: var(--cheto-surface-2);
}

.cheto-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
}

.cheto-form-grid {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.cheto-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  max-width: 100%;
  min-width: 0;
}

.cheto-msg {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.cheto-msg--ok {
  background: rgba(57, 217, 138, 0.12);
  color: #39d98a;
}

.cheto-msg--err {
  background: rgba(255, 77, 77, 0.12);
  color: #ff6b6b;
}

.cheto-donor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(57, 217, 138, 0.35);
  background: rgba(57, 217, 138, 0.12);
  color: #5eeaa4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cheto-donor-badge--large {
  font-size: 12px;
  padding: 7px 12px;
}

.cheto-donor-badge::before {
  content: "♥";
  font-size: 10px;
}

.cheto-panel--profile {
  display: grid;
  gap: 10px;
}

.cheto-profile-panel__user {
  margin: 0;
  color: var(--cheto-muted);
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}

.cheto-btn--block {
  width: 100%;
  justify-content: center;
}

.cheto-profile-page {
  display: grid;
  gap: 20px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.cheto-profile-layout {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.cheto-profile-head {
  border-radius: 20px;
  padding: 22px;
  overflow: hidden;
}

.cheto-profile-head__top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.cheto-profile-head__identity {
  min-width: 0;
  flex: 1;
}

.cheto-profile-head__identity h1 {
  margin: 0 0 4px;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cheto-profile-head__relay {
  margin: 0 0 10px;
  color: var(--cheto-muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.cheto-profile-head__role {
  display: inline-flex;
}

.cheto-profile-head__stats {
  margin-top: 18px;
}

.cheto-profile-checklist {
  border-radius: 18px;
  padding: 18px 20px;
}

.cheto-profile-checklist__lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cheto-text);
}

.cheto-profile-checklist__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.cheto-profile-checklist__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 15px;
  line-height: 1.35;
  color: var(--cheto-muted);
}

.cheto-profile-checklist__item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cheto-profile-checklist__item strong {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
}

.cheto-profile-checklist__item.is-ok {
  color: var(--cheto-text);
  border-color: rgba(255, 255, 255, 0.16);
}

.cheto-profile-checklist__item.is-ok strong {
  color: #8fd4a8;
}

.cheto-profile-section {
  border-radius: 18px;
  padding: 22px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}

.cheto-profile-layout .cheto-field span,
.cheto-profile-section .cheto-field span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #b8b8b8;
}

.cheto-profile-layout .cheto-field input,
.cheto-profile-layout .cheto-field textarea,
.cheto-profile-section .cheto-field input,
.cheto-profile-section .cheto-field textarea {
  font-size: 15px;
  line-height: 1.5;
  padding: 12px 14px;
}

.cheto-profile-layout .cheto-check__text,
.cheto-profile-section .cheto-check__text {
  font-size: 15px;
  line-height: 1.45;
}

.cheto-profile-section__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}

.cheto-profile-actions {
  position: sticky;
  bottom: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  box-sizing: border-box;
}

.cheto-profile-actions .cheto-btn {
  font-size: 14px;
  min-height: 44px;
  padding: 11px 16px;
}

.cheto-avatar-picker {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.cheto-avatar-picker .avatar-picker__face {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.cheto-avatar-picker.cheto-seller__avatar--lg {
  overflow: visible;
}

.cheto-profile-head__settings {
  margin-left: auto;
  flex-shrink: 0;
}

.cheto-profile-settings {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.cheto-profile-settings[hidden] {
  display: none !important;
}

.cheto-profile-settings__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.cheto-profile-settings__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(88vh, 640px);
  overflow: auto;
  padding: 22px 22px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%),
    rgba(12, 12, 14, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.cheto-profile-settings__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.cheto-profile-settings__head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.cheto-profile-settings__lead {
  margin: 0 0 18px;
  color: var(--cheto-muted);
  font-size: 14px;
  line-height: 1.45;
}

.cheto-profile-settings__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cheto-text);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.cheto-profile-settings__close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cheto-profile-settings__fields {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.cheto-profile-settings__actions {
  display: flex;
  justify-content: flex-end;
}

.cheto-seller-settings__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--cheto-muted);
}

.cheto-seller-settings__meta strong {
  color: var(--cheto-text);
}

.cheto-profile-head__stats .cheto-seller__stat strong {
  font-size: 22px;
}

.cheto-profile-head__stats .cheto-seller__stat span {
  font-size: 12px;
}

/* legacy profile hero (public pages) */
.cheto-profile-hero {
  border-radius: 20px;
  overflow: hidden;
}

.cheto-profile-hero__cover {
  height: 88px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(120, 120, 140, 0.08), rgba(255, 255, 255, 0.06));
}

.cheto-profile-hero__body {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-end;
  padding: 0 22px 22px;
  margin-top: -28px;
}

.cheto-profile-hero__info {
  min-width: 0;
  flex: 1 1 180px;
}

.cheto-seller__avatar--lg {
  width: 88px;
  height: 88px;
  font-size: 24px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.cheto-profile-hero__info h1 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cheto-profile-hero__msgr {
  margin: 0 0 10px;
  color: var(--cheto-muted);
  font-size: 13px;
}

.cheto-profile-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.cheto-profile-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cheto-profile-hero__stats .cheto-seller__stat {
  min-width: 92px;
}

.cheto-seller__link {
  color: inherit;
  text-decoration: none;
}

.cheto-seller__link:hover {
  color: var(--cheto-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cheto-profile-login {
  padding: 32px 24px;
  border-radius: 18px;
  text-align: center;
  min-height: 180px;
  display: grid;
  align-content: center;
  justify-items: center;
}

.cheto-donate {
  border-radius: 18px;
  padding: 18px;
}

.cheto-donate__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.cheto-donate__head h3 {
  margin: 0;
  font-size: 15px;
}

.cheto-donate__lead {
  margin: 0 0 14px;
  color: var(--cheto-muted);
  font-size: 13px;
  line-height: 1.6;
}

.cheto-donate__fields {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.cheto-donate__fields div {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.cheto-donate__fields dt {
  margin: 0 0 4px;
  color: var(--cheto-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cheto-donate__fields dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cheto-modal__panel {
  background: rgba(12, 12, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cheto-btn,
.cheto-theme-btn,
.cheto-cat,
.cheto-user-chip {
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 1200px) {
  .cheto-shell {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  }

  .cheto-main {
    padding: 20px 22px;
  }
}

@media (max-width: 900px) {
  .cheto-shell {
    grid-template-columns: 1fr;
  }

  #chetoFiltersToggle {
    display: inline-flex;
  }

  .cheto-sidebar .cheto-panel {
    display: none;
  }

  .cheto-sidebar.is-filters-open .cheto-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--cheto-border);
    background: rgba(255, 255, 255, 0.03);
  }

  .cheto-topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "back brand"
      "actions actions";
    align-items: center;
    row-gap: 10px;
    column-gap: 10px;
    padding: calc(14px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 12px max(12px, env(safe-area-inset-left, 0px));
  }

  .cheto-back {
    grid-area: back;
    font-size: 13px;
    padding: 8px 0;
  }

  .cheto-topbar__brand {
    grid-area: brand;
    justify-self: end;
    text-align: right;
  }

  .cheto-topbar__actions {
    grid-area: actions;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cheto-topbar__actions::-webkit-scrollbar {
    display: none;
  }

  .cheto-topbar__actions .cheto-btn {
    flex-shrink: 0;
    padding: 9px 12px;
    font-size: 12px;
  }

  .cheto-topbar__actions .lang-picker--fab-inline {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    order: 0;
    margin-left: auto;
  }

  .cheto-topbar__actions #chetoSellBtn {
    margin-left: 0;
    flex-shrink: 0;
  }

  .cheto-risk {
    margin: 0 12px 12px;
    font-size: 13px;
  }

  .cheto-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--cheto-border);
    padding-bottom: 12px;
  }

  .cheto-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .cheto-panel h3 {
    grid-column: 1 / -1;
  }

  .cheto-detail__hero {
    grid-template-columns: 1fr;
  }

  .cheto-topbar__brand span {
    display: none;
  }

  .cheto-profile-head {
    padding: 18px 16px;
  }

  .cheto-profile-head__top {
    align-items: flex-start;
  }

  .cheto-profile-section,
  .cheto-profile-checklist {
    padding: 18px 16px;
  }

  .cheto-profile-hero__body {
    grid-template-columns: 1fr;
  }

  .cheto-profile-layout {
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .cheto-topbar__brand strong {
    font-size: 15px;
  }

  .cheto-btn {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .cheto-main {
    padding: 14px 12px;
  }

  .cheto-main__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cheto-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .cheto-modal__panel {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100vh - 24px);
    margin: 12px auto;
  }

  .cheto-profile-hero__stats {
    flex-wrap: wrap;
    gap: 10px;
  }

  .cheto-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cheto-form-actions .cheto-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .cheto-topbar__actions {
    gap: 6px;
  }

  .cheto-topbar__actions .cheto-btn {
    padding: 8px 10px;
    font-size: 12px;
  }

  .cheto-back {
    font-size: 13px;
    padding: 8px 10px;
  }

  .lang-picker--fab {
    top: 12px;
    right: 12px;
  }

  .cheto-risk {
    margin: 0 8px 8px;
    padding: 10px 12px;
  }
}
