html[data-wall="1"] #app,
html[data-wall="1"] #hover,
html[data-wall="1"] #pull,
html[data-wall="1"] #new-posts,
html[data-wall="1"] #offline,
html[data-wall="1"] #update,
html[data-wall="1"] #viewer,
html[data-wall="1"] #stories,
html[data-wall="1"] #toast {
  display: none !important;
}
html[data-wall="1"] body {
  background: var(--bg);
  min-height: 100vh;
}
.x-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
}
.x-land {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 0;
}
.x-land-logo,
.x-land-copy {
  flex: 1;
  min-width: 0;
}
.x-land-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.x-land-logo svg {
  width: min(340px, 46vw);
  height: auto;
  color: var(--text);
}
.x-land-copy {
  padding: 32px 40px 48px;
  max-width: 640px;
}
.x-land-copy h1 {
  margin: 40px 0 48px;
  font-size: 64px;
  line-height: 84px;
  font-weight: 800;
  letter-spacing: -1.2px;
}
.x-land-copy h2 {
  margin: 0 0 32px;
  font-size: 31px;
  line-height: 36px;
  font-weight: 800;
}
.x-land-copy h3 {
  margin: 40px 0 16px;
  font-size: 17px;
  font-weight: 700;
}
.acct-fill,
.acct-line,
.acct-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(300px, 100%);
  border-radius: 9999px;
  font-weight: 700;
  cursor: pointer;
}
.acct-fill,
.acct-line {
  height: 40px;
  font-size: 15px;
  margin: 0 0 12px;
}
.acct-fill {
  background: #1d9bf0;
  color: #fff;
  border: 0;
}
.acct-fill:hover { background: #1a8cd8; }
.acct-line {
  background: transparent;
  color: #1d9bf0;
  border: 1px solid var(--line);
}
.acct-line:hover { background: rgba(29, 155, 240, 0.1); }
.acct-legal {
  width: min(300px, 100%);
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 12px;
}
.x-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  padding: 12px 16px 24px;
}
.x-foot button {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  padding: 4px 0;
  cursor: pointer;
}
.x-foot button:hover { text-decoration: underline; }
.acct-back {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(91, 112, 131, 0.4);
}
.acct-modal {
  width: min(600px, 100%);
  max-width: 600px;
  min-width: 0;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--sheet);
  color: var(--text);
  border-radius: 16px;
}
.acct-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  height: 53px;
  padding: 0 12px;
  background: var(--sheet);
}
.acct-head .icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.acct-head .icon-btn:hover { background: var(--hover); }
.acct-logo {
  display: flex;
  justify-content: center;
  color: var(--text);
}
.acct-logo svg { width: 28px; height: 28px; }
.acct-body { padding: 0 32px 48px; }
.acct-body h1 {
  margin: 16px 0 8px;
  font-size: 31px;
  line-height: 36px;
  font-weight: 700;
}
.acct-sub {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 20px;
}
.acct-field {
  position: relative;
  display: block;
  box-sizing: border-box;
  height: 58px;
  min-height: 58px;
  margin-top: 24px;
  border: 1px solid #333639;
  border-radius: 4px;
  background: transparent;
  overflow: hidden;
}
html[data-theme="dim"] .acct-field { border-color: #38444d; }
html[data-theme="default"] .acct-field { border-color: #cfd9de; }
.acct-field:focus-within { border-color: #1d9bf0; }
.acct-field input,
.acct-field textarea {
  display: block;
  width: 100%;
  height: 58px;
  min-height: 58px;
  max-height: 58px;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 17px;
  line-height: 24px;
  padding: 26px 72px 6px 12px;
  -webkit-appearance: none;
  appearance: none;
  caret-color: var(--text);
}
.acct-field textarea {
  height: 120px;
  min-height: 120px;
  max-height: none;
  resize: vertical;
  padding-top: 28px;
  padding-bottom: 28px;
}
.acct-field.tall { height: auto; min-height: 120px; overflow: visible; }
.acct-field label {
  position: absolute;
  left: 12px;
  right: 72px;
  top: 17px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 24px;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acct-field input:focus + label,
.acct-field textarea:focus + label,
.acct-field input:not(:placeholder-shown) + label,
.acct-field textarea:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 13px;
  line-height: 16px;
}
.acct-field:focus-within label { color: #1d9bf0; }
.acct-count {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 13px;
  line-height: 16px;
  pointer-events: none;
}
.acct-field.tall .acct-count {
  top: auto;
  bottom: 8px;
  transform: none;
}
.acct-next {
  width: 100%;
  height: 52px;
  margin-top: 28px;
  border: 0;
  background: var(--fill);
  color: var(--on-fill);
  font-size: 17px;
}
.acct-next:hover:not(:disabled) { background: var(--fill-hover); }
.acct-next:disabled { opacity: 0.5; cursor: default; }
.acct-danger { background: #f4212e; color: #fff; }
.acct-danger:hover:not(:disabled) { background: #dc1e2b; }
.acct-delete-list { margin: 12px 0 0; padding-left: 18px; }
.acct-delete-list li { margin: 6px 0; }
.acct-progress { list-style: none; margin: 16px 0 0; padding: 0; }
.acct-progress li { margin: 8px 0; color: var(--muted); }
.acct-progress li.on { color: var(--text); font-weight: 700; }
.acct-quiet {
  display: inline;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.acct-quiet:hover { text-decoration: underline; }
.acct-error {
  min-height: 16px;
  margin: 12px 0 0;
  color: #f4212e;
  font-size: 13px;
}
.acct-number {
  margin: 20px 0 8px;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}
.acct-row {
  display: flex;
  gap: 12px;
  margin: 12px 0 20px;
}
.acct-row button {
  height: 36px;
  padding: 0 16px;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.acct-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 8px;
  font-size: 15px;
}
.acct-check input { width: 18px; height: 18px; margin-top: 2px; }
.acct-switch {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.acct-switch button {
  border: 0;
  background: none;
  color: #1d9bf0;
  font: inherit;
  cursor: pointer;
}
.vbadge.exclusive { color: #e2b719; }
.acct-id {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}
.acct-settings .outline { margin: 8px 8px 0 0; }
.acct-file {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}
.acct-file input { display: block; margin-top: 6px; color: var(--text); }
.acct-edit-head {
  grid-template-columns: 36px 1fr auto;
  gap: 8px;
}
.acct-edit-head h1 {
  margin: 0;
  font-size: 17px;
  line-height: 20px;
  font-weight: 700;
}
.acct-save {
  height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: 9999px;
  background: var(--fill);
  color: var(--on-fill);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.acct-save:hover { background: var(--fill-hover); }
.acct-edit-body { padding: 0 0 32px; }
.acct-edit-body .acct-field,
.acct-edit-body .acct-error { margin-left: 16px; margin-right: 16px; }
.acct-hero { position: relative; margin-bottom: 64px; }
.acct-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  background: var(--banner);
  overflow: hidden;
}
.acct-banner img,
.acct-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.acct-ava {
  position: absolute;
  left: 16px;
  bottom: -48px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 4px solid var(--sheet);
  background: var(--banner);
  overflow: hidden;
  box-sizing: border-box;
}
.acct-ava.is-none {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.acct-ava.is-none .acct-cam { position: static; transform: none; }
.acct-hero.banner-none { margin-bottom: 12px; }
.acct-hero.banner-none .acct-banner {
  aspect-ratio: auto;
  height: 64px;
  background: transparent;
}
.acct-hero.banner-none .acct-ava {
  position: relative;
  left: 16px;
  bottom: auto;
  margin: 12px 0 0 16px;
}
.acct-hero.avatar-none:not(.banner-none) { margin-bottom: 16px; }
.acct-hero.avatar-none:not(.banner-none) .acct-ava { bottom: 12px; }
.acct-silhouette {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
}
.acct-silhouette svg { width: 68%; height: 68%; display: block; }
.acct-pop {
  position: absolute;
  z-index: 4;
  min-width: 180px;
  padding: 4px 0;
  border-radius: 12px;
  background: var(--sheet);
  box-shadow: 0 0 8px rgba(101, 119, 134, 0.2), 0 0 1px rgba(101, 119, 134, 0.5);
}
.acct-pop.for-banner { top: 58px; left: 50%; transform: translateX(-50%); }
.acct-pop.for-avatar { left: 72px; top: auto; bottom: 8px; }
.acct-hero.banner-none .acct-pop.for-avatar { left: 16px; bottom: auto; top: 78px; }
.acct-pop button {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.acct-pop button:hover,
.acct-pop button:focus { background: var(--hover); }
.acct-pop button[aria-checked="true"] { color: #1d9bf0; }
.acct-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
}
.acct-cam {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(15, 20, 25, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.acct-banner-x {
  left: auto;
  top: 12px;
  right: 12px;
  transform: none;
}
.acct-ava-x {
  left: auto;
  top: 4px;
  right: 4px;
  transform: none;
  width: 32px;
  height: 32px;
}
.acct-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.acct-crop-stage {
  position: relative;
  margin: 16px;
  overflow: hidden;
  background: #000;
  touch-action: none;
}
.acct-crop-stage[data-kind="avatar"] {
  width: min(360px, calc(100% - 32px));
  aspect-ratio: 1;
  margin-left: auto;
  margin-right: auto;
}
.acct-crop-stage[data-kind="banner"] {
  width: calc(100% - 32px);
  aspect-ratio: 3 / 1;
}
.acct-zoom {
  display: block;
  width: calc(100% - 32px);
  margin: 8px 16px 0;
}
.acct-loc {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 20px;
}
.acct-loc a { color: #1d9bf0; }

.acct-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  margin: 12px 16px 0;
  border-top: 1px solid var(--border);
}
.acct-pref-text { flex: 1; min-width: 0; }
.acct-pref-text b { display: block; font-size: 15px; color: var(--text); }
.acct-pref-text p { margin: 4px 0 0; font-size: 13px; color: var(--sub); line-height: 17px; }
.private-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 9999px;
  background: var(--blue-dim);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
  vertical-align: middle;
}
.private-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.private-connections {
  text-align: center;
  padding: 48px 24px;
}
.private-lock-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: var(--blue-dim);
  color: var(--blue);
}
.private-lock-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 700px) {
  .x-land { flex-direction: column; align-items: stretch; justify-content: flex-start; padding-top: 28px; }
  .x-land-logo { justify-content: flex-start; padding: 0 32px; }
  .x-land-logo svg { width: 48px; }
  .x-land-copy { padding: 12px 32px 32px; }
  .x-land-copy h1 { margin: 28px 0 24px; font-size: 40px; line-height: 52px; }
  .acct-back { padding: 0; align-items: stretch; }
  .acct-modal { width: 100%; max-width: none; max-height: none; height: 100%; border-radius: 0; }
  .acct-body { padding: 0 20px 32px; }
  .acct-edit-body { padding: 0 0 32px; }
  .acct-ava { width: 96px; height: 96px; bottom: -40px; }
  .acct-hero { margin-bottom: 56px; }
}

/* Linked identities */
.acct-ident-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 8px;
}
.acct-ident-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted, #71767b);
}
.acct-ident-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.acct-ident-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--hover, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.15));
  border-radius: 9999px;
  color: var(--text, #fff);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s;
}
.acct-ident-chip:hover {
  background: var(--active, rgba(255, 255, 255, 0.15));
  border-color: var(--accent, #1d9bf0);
}
.acct-ident-chip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.acct-ident-chip .ident-verified {
  color: var(--accent, #1d9bf0);
}
.acct-ident-settings-list {
  margin-bottom: 12px;
}
.acct-ident-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--hover, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: 12px;
  margin-bottom: 8px;
}
.acct-ident-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.acct-ident-item-left svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.acct-ident-item-left .ident-verified {
  color: var(--accent, #1d9bf0);
}
.acct-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--box-bg, rgba(29, 155, 240, 0.1));
  border: 1px dashed var(--accent, #1d9bf0);
  border-radius: 10px;
  margin: 12px 0 16px;
}
.acct-code-box code {
  font-family: monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent, #1d9bf0);
  letter-spacing: 0.5px;
}
.acct-select {
  width: 100%;
  background: var(--input-bg, #000);
  color: var(--text, #fff);
  border: 1px solid var(--border, #333);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}

.acct-ident-add {
  cursor: pointer;
  background: var(--accent-dim, rgba(29, 155, 240, 0.15));
  border-color: var(--accent, #1d9bf0);
  color: var(--accent, #1d9bf0);
  font-weight: 600;
}
.acct-ident-add:hover {
  background: var(--accent, #1d9bf0);
  color: #fff;
}
