

.object-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.object-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.object-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  min-width: 0;
  isolation: isolate;
}

.object-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(155deg, var(--tone-a), var(--tone-b));
}

.object-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.9);
}

.object-card:hover .object-card__media img {
  transform: scale(1.045);
  filter: saturate(1);
}

.object-card__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 15, 0.03) 30%, rgba(8, 14, 15, 0.24) 56%, rgba(8, 14, 15, 0.9) 100%),
    linear-gradient(90deg, rgba(8, 14, 15, 0.2), transparent 50%);
}

.object-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  border: 1px solid rgba(245, 242, 233, 0.22);
  background: rgba(8, 14, 15, 0.26);
  color: rgba(245, 242, 233, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.object-card__private {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid rgba(245, 242, 233, 0.22);
  background: rgba(8, 14, 15, 0.3);
  color: rgba(245, 242, 233, 0.7);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.object-card__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 22px 20px 18px;
  color: var(--paper);
}

.object-card__caption h3 {
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.object-card__quote {
  margin-top: 7px;
  color: rgba(245, 242, 233, 0.68);
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.quote-mark {
  color: rgba(240, 202, 188, 0.6);
}

.object-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid rgba(245, 242, 233, 0.13);
  color: rgba(245, 242, 233, 0.48);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.object-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.object-card__owner {
  margin-left: auto;
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.object-card__owner .avatar {
  width: 18px !important;
  height: 18px !important;
  border-color: rgba(245, 242, 233, 0.2);
}

.object-card--wide .object-card__media {
  aspect-ratio: 16 / 10;
}

.object-card--wide .object-card__caption h3 {
  font-size: 24px;
}

.object-card.is-text .object-card__media {
  background: linear-gradient(150deg, var(--tone-a), var(--tone-b));
}

.object-card__texture {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.object-card__texture::before,
.object-card__texture::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(245, 242, 233, 0.13);
}

.object-card__texture::before {
  inset: 22px;
}

.object-card__texture::after {
  inset: 34px;
}

.object-card__texture span {
  font-family: var(--serif);
  font-size: 150px;
  line-height: 1;
  color: rgba(245, 242, 233, 0.18);
  transform: translateY(-10%);
}

.object-card__texture i {
  position: absolute;
  width: 1px;
  height: 34%;
  top: 9%;
  background: rgba(245, 242, 233, 0.25);
}

.object-card.is-text .object-card__veil {
  background: linear-gradient(180deg, transparent 20%, rgba(8, 14, 15, 0.82) 100%);
}

.object-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.object-grid--compact .object-card__caption h3 {
  font-size: 19px;
}

.object-grid--compact .object-card__quote {
  display: none;
}

.object-grid--compact .object-card__meta {
  margin-top: 8px;
  padding-top: 7px;
}

.object-row {
  border-bottom: 1px solid var(--line-soft);
}

.object-row:last-child {
  border-bottom: 0;
}

.object-row__link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 0;
  min-width: 0;
}

.object-row__link:hover .object-row__text strong {
  color: var(--seal);
}

.object-row__rank {
  width: 24px;
  flex: 0 0 auto;
  color: var(--muted-2);
  font-family: var(--serif);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.object-row__thumb {
  width: 43px;
  height: 53px;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, var(--tone-a), var(--tone-b));
  color: rgba(245, 242, 233, 0.6);
  font-family: var(--serif);
  font-size: 17px;
}

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

.object-row__text {
  min-width: 0;
  flex: 1;
}

.object-row__text strong {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s var(--ease);
}

.object-row__text small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.object-row__count {
  text-align: right;
  flex: 0 0 auto;
}

.object-row__count strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.object-row__count small {
  margin-left: 2px;
  color: var(--muted-2);
  font-size: 8px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  width: min(380px, 100%);
}

.search-box .icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
}

.search-box .input {
  height: 40px;
  padding-left: 37px;
  background: rgba(255, 255, 255, 0.28);
  font-size: 12px;
}

.search-box .input:focus {
  background: rgba(255, 255, 255, 0.58);
}

.toolbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.toolbar__count {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.results-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -6px 0 20px;
  color: var(--muted);
  font-size: 10px;
}

.results-note strong {
  color: var(--ink-2);
  font-weight: 500;
}

.object-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.91fr) minmax(0, 1.09fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.object-detail__visual {
  position: sticky;
  top: 90px;
}

.object-detail__image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}

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

.object-detail__image.is-text {
  background: linear-gradient(150deg, var(--tone-a), var(--tone-b));
}

.object-detail__image.is-text .object-detail__glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: clamp(160px, 28vw, 310px);
  line-height: 1;
  color: rgba(245, 242, 233, 0.2);
}

.object-detail__image.is-text .object-detail__glyph::before {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(245, 242, 233, 0.14);
}

.object-detail__image-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 9px;
  background: rgba(8, 14, 15, 0.42);
  border: 1px solid rgba(245, 242, 233, 0.2);
  color: rgba(245, 242, 233, 0.7);
  font-size: 8px;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.object-gallery {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 3px;
}

.object-gallery button {
  flex: 0 0 76px;
  width: 76px;
  height: 98px;
  padding: 0;
  border: 1px solid transparent;
  background: var(--paper-2);
  overflow: hidden;
  cursor: zoom-in;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}

.object-gallery button:hover,
.object-gallery button.is-active {
  opacity: 1;
  border-color: var(--seal);
}

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

.object-detail__info {
  padding-top: 8px;
  min-width: 0;
}

.object-detail__topline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.object-detail__title {
  font-size: clamp(46px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: 0.04em;
}

.object-detail__quote {
  position: relative;
  margin-top: 24px;
  padding: 20px 0 20px 24px;
  border-left: 2px solid var(--seal);
}

.object-detail__quote blockquote {
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.68;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.object-detail__quote cite {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.object-detail__intro {
  margin-top: 24px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 2;
  white-space: pre-wrap;
}

.object-detail__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.object-detail__stats .stat-block {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.object-detail__stats .stat-block:first-child {
  border-left: 0;
  padding-left: 0;
}

.respect-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.respect-btn {
  min-height: 56px;
  padding: 0 30px;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.12em;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.respect-btn:hover:not(:disabled) {
  background: var(--seal);
  border-color: var(--seal);
}

.respect-btn.is-respected {
  background: transparent;
  color: var(--ink-3);
  border-color: var(--line-strong);
  cursor: default;
}

.respect-btn.is-respected:hover {
  background: transparent;
  border-color: var(--line-strong);
}

.respect-btn:disabled {
  opacity: 0.52;
}

.respect-btn__count {
  padding-left: 11px;
  border-left: 1px solid rgba(245, 242, 233, 0.25);
  font-family: var(--serif);
  font-size: 16px;
}

.respect-btn.is-respected .respect-btn__count {
  border-color: var(--line);
}

.respect-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.respect-note strong {
  color: var(--ink-3);
  font-weight: 500;
}

.object-owner {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.22);
}

.object-owner__copy {
  min-width: 0;
  flex: 1;
}

.object-owner__copy small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.object-owner__copy strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

.object-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.object-actions .btn {
  min-height: 34px;
  font-size: 10px;
  padding: 0 12px;
}

.object-actions__spacer {
  flex: 1;
}

.removed-banner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 13px 15px;
  border: 1px solid rgba(163, 58, 43, 0.25);
  background: rgba(163, 58, 43, 0.05);
  color: var(--seal);
  font-size: 11px;
  line-height: 1.7;
}

.object-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.object-detail__back:hover {
  color: var(--seal);
}

.leader-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.leader-tab {
  position: relative;
  padding: 0 4px 14px;
  margin-right: 30px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.06em;
}

.leader-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
}

.leader-tab.is-active {
  color: var(--ink);
}

.leader-tab.is-active::after {
  background: var(--seal);
}

.podium {
  display: grid;
  grid-template-columns: 1fr 1.16fr 1fr;
  gap: 12px;
  align-items: end;
  margin-bottom: 32px;
}

.podium__item {
  position: relative;
  padding: 22px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.24);
  text-align: center;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.podium__item:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.podium__item.is-first {
  padding-top: 28px;
  padding-bottom: 25px;
  border-color: rgba(163, 58, 43, 0.3);
  background: linear-gradient(180deg, rgba(163, 58, 43, 0.07), rgba(255, 255, 255, 0.3));
}

.podium__item.is-first::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 18px;
  background: var(--seal);
  transform: translateX(-50%);
}

.podium__rank {
  position: absolute;
  top: 12px;
  left: 13px;
  color: var(--muted-2);
  font-family: var(--serif);
  font-size: 11px;
}

.podium__item.is-first .podium__rank {
  color: var(--seal);
}

.podium__avatar {
  position: relative;
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.podium__item.is-first .podium__avatar {
  padding: 4px;
  border-color: var(--seal);
}

.podium__name {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.podium__meta {
  display: flex;
  justify-content: center;
  margin-top: 5px;
}

.podium__score {
  display: block;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-3);
}

.podium__score small {
  margin-left: 3px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.level-section {
  margin-top: 36px;
}

.level-section__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.level-section__head h2 {
  font-size: 19px;
  letter-spacing: 0.04em;
}

.level-section__head span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.level-section__head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.rank-list {
  border-top: 1px solid var(--line);
}

.rank-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line-soft);
}

.rank-row__no {
  width: 28px;
  flex: 0 0 auto;
  color: var(--muted-2);
  font-family: var(--serif);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.rank-row__no.is-top {
  color: var(--seal);
  font-size: 15px;
}

.rank-row__person {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex: 1;
}

.rank-row__name {
  min-width: 0;
}

.rank-row__name strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row__name small {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.rank-row__metric {
  text-align: right;
  flex: 0 0 auto;
}

.rank-row__metric strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.rank-row__metric small {
  display: block;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.leader-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 24px 0;
  padding: 13px 15px;
  border-left: 2px solid var(--gold);
  background: rgba(179, 146, 88, 0.07);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.leader-note .icon {
  color: var(--gold);
  margin-top: 1px;
}

.forget-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line-soft);
}

.forget-row__rank {
  width: 28px;
  color: var(--muted-2);
  font-family: var(--serif);
  font-size: 12px;
}

.forget-row__person {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex: 1;
}

.forget-row__badge {
  flex: 0 0 auto;
  text-align: right;
}

.forget-row__badge strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  color: var(--seal);
}

.forget-row__badge small {
  display: block;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.user-card {
  position: relative;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.24);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), transform 0.22s var(--ease);
}

.user-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.user-card__link {
  display: block;
}

.user-card__avatar {
  --avatar-size: 58px !important;
  margin-bottom: 13px;
}

.user-card__head h3 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.user-card__head .identity-line {
  margin-top: 4px;
}

.user-card__bio {
  min-height: 34px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.user-card__stats {
  display: flex;
  gap: 15px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.user-card__stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-2);
}

.user-card .follow-btn {
  position: absolute;
  top: 18px;
  right: 18px;
}

.profile-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 38px 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 84% 10%, rgba(163, 58, 43, 0.24), transparent 32%),
    linear-gradient(145deg, #31474c, #1a292b 65%, #101a1b);
  color: var(--paper);
  isolation: isolate;
}

.profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.36;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

.profile-hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 68%;
  width: 7vw;
  min-width: 55px;
  background: rgba(245, 242, 233, 0.04);
  z-index: -1;
}

.profile-hero__top {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.profile-avatar {
  position: relative;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid rgba(245, 242, 233, 0.25);
  border-radius: 50%;
}

.profile-avatar::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--seal);
  border: 2px solid #1b2a2c;
}

.profile-hero__main {
  min-width: 0;
  flex: 1;
  padding-top: 4px;
}

.profile-hero__name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-hero h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.profile-hero__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.profile-hero__signature {
  margin-top: 11px;
  max-width: 560px;
  color: rgba(245, 242, 233, 0.6);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.profile-hero__meta {
  display: flex;
  gap: 17px;
  margin-top: 17px;
  color: rgba(245, 242, 233, 0.4);
  font-size: 9px;
  letter-spacing: 0.07em;
  flex-wrap: wrap;
}

.profile-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.profile-hero__actions {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.profile-hero__actions .btn {
  min-height: 36px;
  padding: 0 14px;
  font-size: 10px;
}

.profile-hero__actions .btn--ghost {
  border-color: rgba(245, 242, 233, 0.26);
  color: rgba(245, 242, 233, 0.78);
}

.profile-hero__actions .btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(245, 242, 233, 0.08);
  color: var(--paper);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 242, 233, 0.12);
}

.profile-stats .stat-block strong {
  color: var(--paper);
  font-size: 22px;
}

.profile-stats .stat-block span {
  color: rgba(245, 242, 233, 0.38);
}

.profile-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(245px, 0.75fr);
  gap: 38px;
  margin-top: 32px;
}

.profile-tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.profile-tab {
  position: relative;
  padding: 0 0 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.profile-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
}

.profile-tab.is-active {
  color: var(--ink);
}

.profile-tab.is-active::after {
  background: var(--seal);
}

.profile-tab em {
  font-style: normal;
  margin-left: 3px;
  color: var(--muted-2);
  font-size: 9px;
}

.record-list {
  display: flex;
  flex-direction: column;
}

.record-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.record-item__date {
  width: 50px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.record-item__date strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-3);
}

.record-item__body {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.record-item__thumb {
  width: 31px;
  height: 39px;
  flex: 0 0 auto;
  background: var(--paper-3);
  overflow: hidden;
}

.record-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.record-item__text {
  min-width: 0;
}

.record-item__text strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

.record-item__text small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-item__action {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 9px;
  white-space: nowrap;
}

.profile-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.22);
}

.side-panel h3 {
  font-size: 16px;
  letter-spacing: 0.04em;
  margin-bottom: 13px;
}

.info-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
}

.info-line:first-of-type {
  border-top: 0;
}

.info-line__label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  flex: 0 0 auto;
}

.info-line__value {
  text-align: right;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
}

.connection-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.connection-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 10px;
  color: var(--ink-3);
  transition: border-color 0.2s var(--ease);
}

.connection-chip:hover {
  border-color: var(--seal);
}

.connection-chip .avatar {
  width: 22px !important;
  height: 22px !important;
}

.private-records {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.private-records .icon {
  color: var(--muted-2);
  margin-bottom: 8px;
}

.settings-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.settings-menu {
  position: sticky;
  top: 94px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.settings-menu a {
  padding: 8px 12px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.settings-menu a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.24);
}

.settings-menu a.is-active {
  color: var(--ink);
  border-left-color: var(--seal);
  background: rgba(255, 255, 255, 0.3);
}

.settings-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.settings-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.24);
  scroll-margin-top: 92px;
}

.settings-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.settings-card__head h2 {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.settings-card__head p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.settings-card__body {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.avatar-editor {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.avatar-editor .avatar {
  border: 1px solid var(--line);
  padding: 3px;
}

.avatar-editor__copy {
  flex: 1;
  min-width: 170px;
}

.avatar-editor__copy strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

.avatar-editor__copy small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.invite-create {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  flex-wrap: wrap;
}

.invite-create__copy strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

.invite-create__copy small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.invite-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.invite-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  flex-wrap: wrap;
}

.invite-item__code {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.invite-item__meta {
  flex: 1;
  min-width: 120px;
}

.invite-item__meta small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.invite-item__status {
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.invite-item__status.is-active {
  background: rgba(76, 109, 93, 0.1);
  color: #4c6d5d;
}

.invite-item__status.is-used {
  background: rgba(24, 33, 31, 0.07);
  color: var(--muted);
}

.invite-item__status.is-expired {
  background: rgba(163, 58, 43, 0.07);
  color: var(--seal);
}

.copy-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.copy-btn:hover {
  color: var(--seal);
}

.danger-zone {
  border-color: rgba(163, 58, 43, 0.22);
}

.danger-zone .settings-card__head {
  border-color: rgba(163, 58, 43, 0.16);
}

.admin-tabs {
  display: flex;
  gap: 25px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.admin-tab {
  position: relative;
  padding: 0 0 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.admin-tab em {
  font-style: normal;
  color: var(--seal);
  font-size: 9px;
  margin-left: 4px;
}

.admin-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
}

.admin-tab.is-active {
  color: var(--ink);
}

.admin-tab.is-active::after {
  background: var(--seal);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.admin-stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.24);
}

.admin-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

.admin-stat span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.2);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table th {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11px;
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table__person {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 140px;
}

.admin-table__person strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}

.admin-table__person small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.admin-table__actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.admin-table__actions .btn {
  min-height: 28px;
  padding: 0 9px;
  font-size: 9px;
  letter-spacing: 0.03em;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}

.status-dot::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5d7b6b;
}

.status-dot.is-banned::before {
  background: var(--seal);
}

.report-card {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.23);
  margin-bottom: 11px;
}

.report-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.report-card__object {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.report-card__thumb {
  width: 43px;
  height: 53px;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--paper-3);
}

.report-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-card__object strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.report-card__object small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.report-card__reason {
  margin-top: 13px;
  padding: 12px 14px;
  background: rgba(24, 33, 31, 0.035);
  border-left: 2px solid var(--gold);
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.8;
}

.report-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  flex-wrap: wrap;
}

.report-card__meta {
  color: var(--muted);
  font-size: 9px;
}

.report-card__actions {
  display: flex;
  gap: 6px;
}

.empty-mini {
  padding: 36px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  border: 1px dashed var(--line);
}

.banned-note {
  color: var(--seal);
  font-size: 9px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(10, 16, 15, 0.55);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity 0.18s var(--ease);
}

.modal-backdrop.is-open {
  opacity: 1;
}

.modal-backdrop.is-closing {
  opacity: 0;
}

.modal {
  width: min(480px, 100%);
  max-height: calc(100svh - 44px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-deep);
  transform: translateY(12px) scale(0.985);
  transition: transform 0.22s var(--ease-out);
  overflow: hidden;
}

.modal-backdrop.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal--wide {
  width: min(760px, 100%);
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
}

.modal__head h2 {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.modal__body {
  padding: 22px;
  overflow-y: auto;
}

.modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 15px 22px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
}

.modal__close {
  width: 30px;
  height: 30px;
}

.confirm-text {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.8;
}

.toast-stack {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 180px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-soft);
  font-size: 11px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast__icon {
  display: inline-flex;
  color: #b8cdbf;
}

.toast--error .toast__icon {
  color: #e7a89c;
}

.toast--info .toast__icon {
  color: #c7b78d;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px;
  background: rgba(7, 11, 11, 0.94);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox__figure {
  max-width: min(1000px, 88vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
}

.lightbox__figure figcaption {
  color: rgba(245, 242, 233, 0.46);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  border: 1px solid rgba(245, 242, 233, 0.18);
  background: rgba(245, 242, 233, 0.05);
  color: rgba(245, 242, 233, 0.72);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.2s var(--ease);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(245, 242, 233, 0.13);
}

.lightbox__close {
  top: 22px;
  right: 22px;
}

.lightbox__prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.create-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
}

.create-visual {
  position: sticky;
  top: 92px;
}

.upload-zone {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.2);
  color: var(--muted);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.upload-zone:hover,
.upload-zone.is-dragging {
  border-color: var(--seal);
  background: rgba(163, 58, 43, 0.035);
}

.upload-zone input {
  display: none;
}

.upload-zone__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--seal);
}

.upload-zone strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-2);
}

.upload-zone small {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.7;
}

.upload-zone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-zone__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(8, 14, 15, 0.66));
  color: rgba(245, 242, 233, 0.8);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-align: center;
}

.upload-zone__remove {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(245, 242, 233, 0.3);
  background: rgba(8, 14, 15, 0.38);
  color: var(--paper);
  display: grid;
  place-items: center;
  z-index: 2;
}

.gallery-editor {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.gallery-editor__item {
  position: relative;
  width: 70px;
  height: 90px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.gallery-editor__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-editor__item button {
  position: absolute;
  right: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(8, 14, 15, 0.6);
  color: var(--paper);
}

.gallery-editor__add {
  width: 70px;
  height: 90px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 20px;
}

.gallery-editor__add:hover {
  border-color: var(--seal);
  color: var(--seal);
}

.form-section {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.form-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.form-section__title span {
  color: var(--seal);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.visibility-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.visibility-option {
  position: relative;
  display: flex;
  gap: 9px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.visibility-option:hover {
  border-color: var(--line-strong);
}

.visibility-option.is-selected {
  border-color: var(--seal);
  background: rgba(163, 58, 43, 0.035);
}

.visibility-option input {
  position: absolute;
  opacity: 0;
}

.visibility-option__icon {
  color: var(--seal);
  flex: 0 0 auto;
  margin-top: 1px;
}

.visibility-option strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}

.visibility-option small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 40px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty-state__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  margin-bottom: 15px;
}

.empty-state h3 {
  font-size: 19px;
  letter-spacing: 0.04em;
}

.empty-state p {
  margin-top: 6px;
  max-width: 360px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.empty-state .btn {
  margin-top: 18px;
}

.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 300px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.loader-ring {
  width: 17px;
  height: 17px;
  border: 1px solid var(--line-strong);
  border-top-color: var(--seal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.skeleton-card {
  padding: 10px;
  border: 1px solid var(--line-soft);
}

.skeleton-block {
  aspect-ratio: 4 / 5;
  background: linear-gradient(100deg, var(--paper-2) 20%, var(--paper-3) 45%, var(--paper-2) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-line {
  height: 8px;
  margin-top: 11px;
  background: var(--paper-2);
}

.skeleton-line.short {
  width: 55%;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.page-footer__mark {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.14em;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 34px 0;
}

.view-toggle {
  display: flex;
  gap: 2px;
  border: 1px solid var(--line);
  padding: 2px;
}

.view-toggle button {
  width: 30px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.view-toggle button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.notice {
  display: flex;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.2);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

.notice .icon {
  color: var(--seal);
  flex: 0 0 auto;
  margin-top: 1px;
}

.mobile-only {
  display: none;
}

.text-muted {
  color: var(--muted);
}

.text-seal {
  color: var(--seal);
}

.serif {
  font-family: var(--serif);
}

@media (max-width: 1180px) {
  :root { --sidebar: 220px; }
  .page { padding: 38px 34px 80px; }
  .topbar { padding: 0 34px; }
  .object-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-layout { grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr); gap: 30px; }
  .profile-stats { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
}

@media (max-width: 980px) {
  .auth { grid-template-columns: 1fr 1fr; }
  .auth__visual { padding: 32px; }
  .auth__huge { font-size: 120px; }
  .object-detail { gap: 34px; }
  .profile-body { grid-template-columns: 1fr; gap: 28px; }
  .settings-layout { grid-template-columns: 150px minmax(0, 1fr); gap: 28px; }
  .create-layout { gap: 30px; }
  .home-layout { grid-template-columns: 1fr; }
  .home-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .object-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-stats { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 860px) {
  :root { --sidebar: 0px; }
  .sidebar { display: none; }
  .shell__main { width: 100%; margin-left: 0; }
  .topbar { height: 58px; padding: 0 20px; }
  .topbar__brand { display: flex; }
  .topbar__crumb { display: none; }
  .page { padding: 30px 24px 104px; max-width: 760px; }
  .tabbar {
    position: fixed;
    z-index: 40;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 5px;
    border: 1px solid rgba(24, 33, 31, 0.16);
    border-radius: 99px;
    background: rgba(245, 242, 233, 0.92);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: 0 12px 35px rgba(20, 28, 26, 0.13);
  }
  .tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 61px;
    height: 48px;
    border-radius: 99px;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.05em;
  }
  .tabbar__item.is-active {
    background: var(--ink);
    color: var(--paper);
  }
  .tabbar__item .icon { width: 19px; height: 19px; }
  .cover__bg { display: block; }
  .cover__header { padding: 22px 24px; }
  .cover__nav { display: none; }
  .cover__body { padding: 44px 24px 42px; margin-top: auto; }
  .cover__title { font-size: clamp(45px, 11vw, 76px); }
  .cover__foot { padding: 16px 24px 24px; }
  .cover__seal { display: none; }
  .cover__cross::before { left: 47%; }
  .auth { grid-template-columns: 1fr; }
  .auth__visual { min-height: 220px; padding: 24px; justify-content: space-between; }
  .auth__visual-main { display: none; }
  .auth__visual::after { left: 55%; width: 20vw; }
  .auth__huge { display: none; }
  .auth__panel { padding: 34px 24px 46px; }
  .auth__panel::before { display: none; }
  .auth__box { max-width: 430px; }
  .auth__back { margin-bottom: 24px; }
  .auth__title { font-size: 29px; }
  .auth__statement { display: none; }
  .home-hero { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; }
  .home-hero__aside { flex-direction: row; align-items: center; }
  .home-streak { width: auto; flex: 1; }
  .home-ring__copy { text-align: left; }
  .home-rail { grid-template-columns: 1fr; }
  .object-detail { grid-template-columns: 1fr; gap: 30px; }
  .object-detail__visual { position: static; }
  .object-detail__image { max-height: 62vh; }
  .object-detail__image img { max-height: 62vh; }
  .object-detail__title { font-size: 52px; }
  .create-layout { grid-template-columns: 1fr; }
  .create-visual { position: static; }
  .upload-zone { max-width: 360px; margin: 0 auto; }
  .settings-layout { grid-template-columns: 1fr; gap: 20px; }
  .settings-menu { position: static; flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .settings-menu a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; padding: 7px 10px; }
  .settings-menu a.is-active { border-left: 0; border-bottom-color: var(--seal); }
  .profile-stats { grid-template-columns: repeat(3, 1fr); }
  .profile-hero { padding: 26px 22px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .object-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .podium { gap: 8px; }
  .podium__item { padding: 18px 10px 15px; }
  .podium__name { font-size: 15px; }
  .podium__score { font-size: 18px; }
  .toast-stack { right: 16px; bottom: 88px; left: 16px; align-items: flex-end; }
}

@media (max-width: 620px) {
  .page { padding: 22px 16px 98px; }
  .topbar { padding: 0 15px; }
  .topbar__actions { gap: 4px; }
  .topbar__avatar { display: none; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
  .page-head h1 { font-size: 34px; }
  .page-head__actions { width: 100%; }
  .page-head__actions .btn { flex: 1; }
  .section-head { margin-bottom: 14px; }
  .section-head h2 { font-size: 19px; }
  .home-hero { padding: 24px 20px; border-radius: 3px; }
  .home-hero h1 { font-size: 35px; }
  .home-hero__sub { font-size: 11px; }
  .home-hero__aside { align-items: stretch; flex-direction: column; gap: 12px; }
  .home-streak { width: 100%; }
  .home-quote-strip { grid-template-columns: 1fr auto; padding: 13px 15px; }
  .home-quote-strip__text blockquote { font-size: 12px; }
  .home-quote-strip__text cite { display: none; }
  .home-layout { margin-top: 28px; gap: 28px; }
  .home-feature-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .object-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .object-card__caption { padding: 14px 12px 12px; }
  .object-card__caption h3 { font-size: 20px; }
  .object-card__quote { font-size: 10px; -webkit-line-clamp: 1; }
  .object-card__meta { margin-top: 8px; padding-top: 7px; font-size: 8px; gap: 7px; }
  .object-card__owner { display: none; }
  .object-card__badge { top: 8px; left: 8px; padding: 3px 6px; font-size: 7px; }
  .object-card__private { top: 8px; right: 8px; }
  .object-card__texture span { font-size: 90px; }
  .object-card__texture::before { inset: 13px; }
  .object-card__texture::after { inset: 21px; }
  .object-grid--two { grid-template-columns: 1fr 1fr; }
  .object-row__text small { max-width: 150px; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .search-box { width: 100%; }
  .toolbar__right { justify-content: space-between; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .home-stats-row { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .home-stats-row .stat-block { padding-left: 10px; }
  .home-stats-row .stat-block strong { font-size: 18px; }
  .object-detail__title { font-size: 45px; }
  .object-detail__quote blockquote { font-size: 19px; }
  .object-detail__stats { gap: 8px; }
  .object-detail__stats .stat-block { padding-left: 10px; }
  .object-detail__stats .stat-block strong { font-size: 20px; }
  .respect-panel { flex-direction: column; align-items: stretch; }
  .respect-btn { width: 100%; }
  .respect-note { text-align: center; }
  .profile-hero { padding: 22px 18px; }
  .profile-hero__top { flex-direction: column; gap: 14px; }
  .profile-avatar { margin-top: -58px; }
  .profile-hero__actions { width: 100%; }
  .profile-hero__actions .btn { flex: 1; }
  .profile-stats { grid-template-columns: repeat(3, 1fr); gap: 12px 6px; }
  .profile-stats .stat-block strong { font-size: 19px; }
  .profile-hero__meta { gap: 10px; }
  .profile-tabs { gap: 18px; overflow-x: auto; }
  .profile-tab { white-space: nowrap; font-size: 11px; }
  .settings-card { padding: 20px 17px; }
  .settings-card__head { flex-direction: column; gap: 8px; }
  .field-row { grid-template-columns: 1fr; gap: 16px; }
  .visibility-options { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .admin-stat { padding: 14px; }
  .admin-stat strong { font-size: 24px; }
  .admin-tabs { gap: 17px; overflow-x: auto; }
  .admin-tab { white-space: nowrap; }
  .leader-tabs { gap: 0; overflow-x: auto; }
  .leader-tab { margin-right: 20px; white-space: nowrap; font-size: 14px; }
  .podium { grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
  .podium__item { padding: 15px 6px 12px; }
  .podium__avatar .avatar { width: 42px !important; height: 42px !important; }
  .podium__name { font-size: 13px; margin-top: 8px; }
  .podium__score { font-size: 15px; margin-top: 6px; }
  .podium__item.is-first .podium__avatar .avatar { width: 50px !important; height: 50px !important; }
  .rank-row { gap: 8px; }
  .rank-row__no { width: 21px; }
  .rank-row__name small { font-size: 8px; }
  .rank-row__metric strong { font-size: 17px; }
  .people-grid { grid-template-columns: 1fr; }
  .user-card { padding: 18px; }
  .cover__header { padding: 18px 18px; }
  .cover__brand .brand-cn { font-size: 21px; }
  .cover__brand .brand-mark { width: 35px; height: 43px; font-size: 20px; }
  .cover__body { padding: 32px 20px 34px; }
  .cover__title { margin-top: 18px; font-size: 46px; }
  .cover__status { font-size: 12px; margin-top: 16px; }
  .cover__quote-wrap { margin-top: 34px; min-height: 130px; }
  .cover__quote { padding-left: 20px; }
  .cover__quote::before { left: 8px; font-size: 38px; }
  .cover__quote blockquote { font-size: 20px; line-height: 1.7; }
  .cover__quote figcaption { margin-top: 11px; }
  .cover__actions { margin-top: 27px; gap: 8px; }
  .cover__actions .btn { min-height: 46px; padding: 0 18px; font-size: 11px; }
  .cover__foot { padding: 14px 20px 22px; font-size: 8px; letter-spacing: 0.12em; }
  .cover__mini-stats { gap: 14px; }
  .cover__mini-stats strong { font-size: 15px; }
  .cover__vertical { display: none; }
  .auth__visual { min-height: 190px; padding: 20px; }
  .auth__visual-top .brand-en { display: none; }
  .auth__panel { padding: 28px 20px 44px; }
  .auth__title { font-size: 27px; }
  .modal-backdrop { padding: 10px; align-items: flex-end; }
  .modal { max-height: calc(100svh - 20px); }
  .modal__body { padding: 18px; }
  .modal__head { padding: 16px 18px; }
  .modal__foot { padding: 13px 18px; }
  .lightbox { padding: 18px; }
  .lightbox__prev { left: 6px; }
  .lightbox__next { right: 6px; }
  .lightbox__close { top: 12px; right: 12px; }
  .page-footer { margin-top: 40px; flex-direction: column; align-items: flex-start; gap: 5px; }
  .toast-stack { bottom: 82px; }
  .skeleton-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
}

@media (max-width: 380px) {
  .object-grid { grid-template-columns: 1fr; }
  .home-feature-grid { grid-template-columns: 1fr; }
  .tabbar__item { width: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
