:root {
  --ink: #ffffff;
  --subtle: rgba(255, 255, 255, 0.78);
  --panel: rgba(255, 255, 255, 0.08);
  --modal-panel: rgba(255, 255, 255, 0.26);
  --line: rgba(255, 255, 255, 0.14);
  --muted-bg: #120d2e;
  --accent: #53f2ff;
  --chip: rgba(255, 255, 255, 0.06);
  --pink: #ff4fd8;
  --blue: #54c8ff;
  --purple: #8b5dff;
  --cyan: #53f2ff;
  --yellow: #ffd95e;
  --green: #67ff9b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 26px;
  --radius-sm: 18px;
  --gradient-main: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  --bg: #065662;
  --row-accent: #8b5dff;
  --row-neon: #54c8ff;
  --player-color: var(--accent);
  --player-bg: var(--panel);
  --icon-container-size: 40px;
  --icon-glyph-size: 24px;
  --header-icon-container-size: 34px;
  --header-icon-glyph-size: 22px;
  --track-icon-container-size: 30px;
  --track-icon-glyph-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
}

main.shell {
  padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
}

.profile-cta-stack {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}

.profile-cta-stack .spasm-profile-cta,
.profile-cta-stack .website-cta {
  width: auto;
  min-width: 220px;
  justify-content: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 8, 32, 0.45);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px -45px rgba(0, 0, 0, 0.75);
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(320px, 2fr) minmax(0, 3fr);
  gap: 22px;
  align-items: start;
  margin: 18px 0;
}

.layout-left,
.layout-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.layout-grid .profile-card {
  margin: 0;
}

@media (max-width: 980px) {
  .layout-grid {
    grid-template-columns: 1fr;
  }
}

.site-header .shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
}

.header-spacer {
  min-height: 1px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.wallet-header-btn {
  height: var(--icon-container-size);
  width: var(--icon-container-size);
  min-width: var(--icon-container-size);
  padding: 0;
  position: relative;
  gap: 0;
}

.wallet-header-btn.is-connected {
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  border-color: var(--accent);
  color: #ffffff;
}

.wallet-header-copy {
  max-width: min(28vw, 220px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: currentColor;
  display: none !important;
}

.wallet-status-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.35);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
  pointer-events: none;
}

.wallet-header-btn.is-connected .wallet-status-dot {
  background: #22c55e;
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.55);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: 6px;
}

.site-logo img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: none;
  background: var(--chip);
  display: block;
  object-fit: cover;
}

.post-page-main {
  padding-top: 28px;
}

.post-page-card {
  margin-top: 0;
}

.post-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.post-page-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.post-page-title {
  margin: 4px 0 0;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.08;
  color: rgba(255, 255, 255, 0.96);
}

.post-page-subtitle,
.post-page-status {
  margin: 6px 0 0;
}

.post-page-render {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}

.post-page-comments-title {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.94);
}

.post-page-track-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.post-page-related-grid {
  align-items: start;
}

.post-related-brick .block-track-main {
  gap: 10px;
}

.post-related-brick .block-track-actions {
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  justify-content: flex-start;
  margin-left: 14px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  color: var(--subtle);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 10px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.is-active {
  color: var(--ink);
  border-color: var(--accent);
  background: #2a2d2f;
}

.header-menu {
  margin-left: 0;
  margin-right: 6px;
  justify-self: end;
}

.icon-btn {
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  color: rgba(255, 255, 255, 0.92);
  width: var(--icon-container-size);
  height: var(--icon-container-size);
  padding: 2px;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 16px 50px -40px rgba(0, 0, 0, 0.7);
}

.icon-btn .icon {
  width: var(--icon-glyph-size);
  height: var(--icon-glyph-size);
  fill: currentColor;
  display: block;
}

.header-actions .icon-btn {
  width: var(--header-icon-container-size);
  height: var(--header-icon-container-size);
  padding: 0;
}

.header-actions .icon-btn .icon {
  width: var(--header-icon-glyph-size);
  height: var(--header-icon-glyph-size);
}

.header-actions .icon-lines,
.header-actions .icon-plus {
  width: var(--header-icon-glyph-size);
  height: var(--header-icon-glyph-size);
}

.header-actions .icon-lines::before {
  top: 2px;
}

.header-actions .icon-lines span {
  top: 10px;
}

.header-actions .icon-lines::after {
  top: 18px;
}

.header-tip-btn {
  color: #ff8d2b;
  border-color: color-mix(in srgb, #ff8d2b 65%, #ffffff 35%);
  background: color-mix(in srgb, #ff8d2b 18%, var(--chip) 82%);
}

.header-tip-btn:hover {
  box-shadow: 0 0 18px color-mix(in srgb, #ff8d2b 35%, transparent);
}

.icon-btn.is-copied {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.icon-btn[data-copy-state],
.block-track-icon[data-copy-state] {
  position: relative;
  overflow: visible;
}

.icon-btn[data-copy-state]::after,
.block-track-icon[data-copy-state]::after {
  content: attr(data-copy-state);
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  transform: translateY(-50%);
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  background: color-mix(in srgb, var(--panel) 94%, #10131a 6%);
  color: rgba(255, 255, 255, 0.96);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.8);
  z-index: 4;
}

.header-actions .icon-btn[data-copy-state]::after {
  left: auto;
  right: calc(100% + 8px);
}

.icon-btn:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line) 45%);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 22px 70px -52px rgba(0, 0, 0, 0.75);
}

.icon-btn.ghost {
  background: var(--chip);
}

.icon-lines,
.icon-plus,
.icon-playlist {
  position: relative;
  display: inline-block;
  width: var(--icon-glyph-size);
  height: var(--icon-glyph-size);
}

.icon-lines::before,
.icon-lines::after,
.icon-lines span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.icon-lines::before {
  top: 3px;
}

.icon-lines span {
  top: 11px;
}

.icon-lines::after {
  top: 19px;
}

.icon-plus::before,
.icon-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 14px;
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.icon-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.icon-plus.rotated {
  transform: rotate(45deg);
}

.icon-playlist::before,
.icon-playlist::after {
  content: "";
  position: absolute;
}

.icon-playlist::before {
  left: 1px;
  top: 4px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  box-shadow:
    0 7px 0 currentColor,
    0 14px 0 currentColor;
}

.icon-playlist::after {
  left: 8px;
  top: 5px;
  width: 14px;
  height: 2px;
  background: currentColor;
  box-shadow:
    0 7px 0 currentColor,
    0 14px 0 currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pill {
  border: 0;
  background: var(--gradient-main);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 10px 30px rgba(139, 93, 255, 0.35);
}

.pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 18px 40px rgba(139, 93, 255, 0.45);
}

.pill.is-processing,
.pill.is-processing:hover {
  transform: none;
  cursor: progress;
  opacity: 0.92;
  box-shadow: none;
}

.pill:disabled,
.pill[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  filter: none;
  box-shadow: none;
}

.pill.is-processing::before {
  content: "";
  width: 0.9em;
  height: 0.9em;
  margin-right: 8px;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-top-color: currentColor;
  display: inline-block;
  animation: pillSpin 0.8s linear infinite;
  vertical-align: -0.12em;
}

.pill.ghost {
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.pill.ghost:hover {
  transform: translateY(-2px);
  filter: none;
  background: color-mix(in srgb, var(--panel) 80%, transparent);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line) 55%);
  box-shadow: 0 16px 40px -28px rgba(0, 0, 0, 0.7);
}

@keyframes pillSpin {
  to {
    transform: rotate(360deg);
  }
}

.profile-card {
  margin: 16px 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 98%, rgba(255, 255, 255, 0.02)), color-mix(in srgb, var(--panel) 92%, transparent)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 12%, transparent), transparent 46%);
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

#block-bricks {
  display: none !important;
}

[data-playlist-player] {
  display: none !important;
}

.theme-section-borders .main-shell .profile-card {
  border: 1px solid var(--line);
}

.cover {
  position: relative;
  height: 380px;
  padding-top: 28px;
  background: var(--muted-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 22, 0.12) 0%, rgba(20, 20, 22, 0.82) 100%);
  mix-blend-mode: multiply;
  z-index: 2;
  pointer-events: none;
}

.cover-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: none;
  z-index: 1;
}

.cover-img,
.cover-video {
  background: #0b0d10;
}

.cover-frame {
  border: 0;
}

.avatar-row {
  --avatar-overlap: 90px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 22px;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.follow-spot {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex: 0 0 auto;
  margin-top: 4px;
}

.avatar-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 0;
  flex: 1 1 auto;
  width: 100%;
}

.avatar-wrap {
  width: 132px;
  height: 132px;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  transform: translateY(calc(var(--avatar-overlap) * -1));
  margin-bottom: calc(var(--avatar-overlap) * -1);
  background: linear-gradient(135deg, #25292b, #30363a);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.7);
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.identity {
  padding-bottom: 10px;
}

.label {
  margin: 0 0 4px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--subtle);
  display: none;
}

.ens-name {
  margin: 0 0 2px;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.ens-handle {
  margin: 0 0 6px;
  color: var(--subtle);
  font-size: 0.95rem;
}

.ens-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ens-blab-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 0 0;
  width: 100%;
  min-width: 0;
}

.ens-blab {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 60ch;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--subtle);
}

.ens-blab.is-placeholder {
  opacity: 0.65;
  font-weight: 500;
}

.ens-blab-edit {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.ens-blab-edit .icon-plus {
  width: 16px;
  height: 16px;
}

.ens-blab-modal .ens-blab-count {
  margin: -4px 0 0;
  text-align: right;
}

.profile-side-actions {
  margin: 12px 0 0;
  padding-top: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  flex: 0 0 auto;
}

.profile-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 0;
}

.profile-side-actions .profile-nav-row {
  margin: 0;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.profile-side-actions .follow-spot {
  align-self: center;
  margin-top: 0;
  justify-content: flex-start;
  width: auto;
}

.profile-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
}

.profile-stat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  background: var(--chip);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.profile-stat-count {
  font-weight: 900;
  color: var(--ink);
}

.profile-stat-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
}

.profile-nav-icon {
  width: var(--track-icon-container-size);
  height: var(--track-icon-container-size);
  min-width: var(--track-icon-container-size);
  padding: 0;
}

button.block-track-icon.profile-nav-profile {
  color: #4ade80;
  border: 2px solid #4ade80;
  background: color-mix(in srgb, #4ade80 12%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, #4ade80 32%, transparent), 0 0 16px color-mix(in srgb, #4ade80 18%, transparent);
}

button.block-track-icon.profile-nav-profile::before {
  content: "";
  width: calc(var(--track-icon-glyph-size) + 1px);
  height: calc(var(--track-icon-glyph-size) + 1px);
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 12c2.76 0 5-2.24 5-5S14.76 2 12 2 7 4.24 7 7s2.24 5 5 5zm0 2c-4.42 0-8 2.24-8 5v3h16v-3c0-2.76-3.58-5-8-5z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 12c2.76 0 5-2.24 5-5S14.76 2 12 2 7 4.24 7 7s2.24 5 5 5zm0 2c-4.42 0-8 2.24-8 5v3h16v-3c0-2.76-3.58-5-8-5z'/></svg>") center / contain no-repeat;
}

.profile-nav-rss {
  color: #ff9835;
  border-color: color-mix(in srgb, #ff9835 72%, #ffffff 28%);
  background: color-mix(in srgb, #ff9835 14%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, #ff9835 34%, transparent);
}

.profile-nav-rss::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 8h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2Z'/><path d='M4 4h10a2 2 0 0 1 2 2v1h-2V6H4v10h1v2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 8h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2Z'/><path d='M4 4h10a2 2 0 0 1 2 2v1h-2V6H4v10h1v2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/></svg>") center / contain no-repeat;
}

.profile-nav-rss.is-copied {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 34%, transparent);
}

.profile-nav-rss.is-copied::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20.3 5.7a1 1 0 0 1 0 1.4l-9.1 9.1a1 1 0 0 1-1.4 0L3.7 10a1 1 0 0 1 1.4-1.4l5 5 8.4-8.4a1 1 0 0 1 1.4 0Z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20.3 5.7a1 1 0 0 1 0 1.4l-9.1 9.1a1 1 0 0 1-1.4 0L3.7 10a1 1 0 0 1 1.4-1.4l5 5 8.4-8.4a1 1 0 0 1 1.4 0Z'/></svg>") center / contain no-repeat;
}

.ens-bio {
  margin: 0 0 12px;
  color: var(--ink);
  max-width: 740px;
}

.profile-modal-store {
  display: none;
}

.website-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  padding: 10px 16px;
}

.website-cta-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.spasm-profile-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  padding: 10px 16px;
  background: #000000 !important;
  color: #f321ae !important;
  border-color: #f321ae !important;
}

.spasm-profile-cta:hover {
  background: #000000 !important;
  color: #f321ae !important;
  border-color: #f321ae !important;
  box-shadow: 0 10px 28px -20px rgba(243, 33, 174, 0.55);
}

.spasm-cta-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.avatar-col .ens-bio {
  margin: 0;
  max-width: 100%;
}

.avatar-col .ens-name {
  margin: 0;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--chip);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink);
}

.meta-chip.muted {
  color: var(--subtle);
}

.follow-counts {
  width: auto;
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  padding: 8px 12px;
  min-width: 0;
  white-space: nowrap;
  background: var(--chip);
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line) 58%);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line) 58%);
  color: var(--ink);
  border-radius: 999px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--line) 65%, transparent);
}

.follow-summary-btn {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: left;
}

.follow-summary-btn > * {
  flex: 0 0 auto;
}

.follow-summary-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  flex: 0 0 auto;
}

.follow-summary-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.follow-summary-copy {
  min-width: 0;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.follow-count-value {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}

.follow-count-label {
  display: inline-block;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  flex: 0 0 auto;
}

.follow-list-modal {
  display: grid;
  gap: 12px;
  min-height: 100%;
}

.follow-list-tabs {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr);
}

.follow-list-search-wrap {
  display: grid;
  width: min(100%, 320px);
}

.follow-list-search-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(17, 19, 25, 0.7);
  color: #fff;
  font: inherit;
  line-height: 1.35;
}

.follow-list-tab-bar {
  margin: 0;
}

.follow-list-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.follow-list-pane {
  display: grid;
}

.follow-list-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 96%, #ffffff 4%), color-mix(in srgb, var(--panel) 88%, transparent)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 18%, transparent), transparent 48%);
  padding: 12px;
  display: grid;
  gap: 12px;
  box-shadow: 0 20px 44px -34px rgba(0, 0, 0, 0.75);
}

.follow-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.follow-list-title {
  margin: 0;
  font-size: 0.95rem;
  color: var(--accent);
}

.follow-list-total {
  font-size: 0.78rem;
  color: var(--subtle);
}

.follow-list-items {
  display: grid;
  gap: 6px;
}

.follow-list-stack {
  display: grid;
  gap: 6px;
}

.efp-profile-card {
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 45%),
    color-mix(in srgb, #0d1117 62%, var(--panel) 38%);
  box-shadow: 0 12px 24px -28px rgba(0, 0, 0, 0.75);
}

.efp-profile-content {
  display: grid;
  gap: 7px;
  padding: 9px 11px;
}

.efp-profile-identity {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.efp-profile-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(10, 14, 20, 0.96);
  background: color-mix(in srgb, var(--chip) 88%, #000);
  box-shadow: 0 10px 20px -16px rgba(0, 0, 0, 0.68);
  flex: 0 0 auto;
}

.efp-profile-heading {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.efp-profile-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.efp-profile-name {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.1;
  color: #fff;
  text-decoration: none;
}

a.efp-profile-name:hover,
a.efp-profile-name:focus-visible {
  color: var(--accent);
}

.efp-profile-realname,
.efp-profile-handle {
  margin: 0;
  color: var(--subtle);
  font-size: 0.74rem;
}

.efp-profile-dpd-note {
  margin: 0;
  color: color-mix(in srgb, var(--accent) 74%, #fff 26%);
  font-size: 0.72rem;
  line-height: 1.25;
}

.efp-profile-bio {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
  white-space: pre-wrap;
  font-size: 0.8rem;
}

.efp-profile-stats,
.efp-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.efp-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.7rem;
  line-height: 1.2;
}

.efp-profile-pill.is-stat {
  border-color: color-mix(in srgb, var(--accent) 48%, transparent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.efp-profile-pill strong {
  color: #fff;
  font-size: 0.8rem;
}

.efp-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.efp-profile-action {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 0.76rem;
}

.efp-profile-action.is-hidden {
  display: none;
}

.efp-profile-card.is-compact .efp-profile-content {
  gap: 5px;
  padding: 8px 10px;
}

.efp-profile-card.is-compact .efp-profile-avatar {
  width: 40px;
  height: 40px;
}

.efp-profile-card.is-compact .efp-profile-identity {
  gap: 8px;
}

.efp-profile-card.is-compact .efp-profile-name {
  font-size: 0.88rem;
}

.efp-profile-card.is-compact .efp-profile-realname,
.efp-profile-card.is-compact .efp-profile-handle,
.efp-profile-card.is-compact .efp-profile-dpd-note {
  font-size: 0.7rem;
}

.efp-profile-card.is-compact .efp-profile-bio,
.efp-profile-card.is-compact .efp-profile-stats,
.efp-profile-card.is-compact .efp-profile-meta,
.efp-profile-card.is-compact .efp-profile-actions {
  display: none !important;
}

.follow-list-empty {
  margin: 0;
  color: var(--subtle);
  padding: 6px 2px;
}

.follow-list-hint {
  margin: 0;
  color: var(--subtle);
  font-size: 0.78rem;
  padding: 0 2px 6px;
}

.follow-list-modal-actions {
  margin-bottom: 4px;
}

.modal.modal-follow-lists .modal-dialog {
  width: min(100% - 40px, 1080px);
  max-width: 1080px;
  margin: 24px auto;
  height: calc(100vh - 48px);
  max-height: calc(100vh - 48px);
  padding: 0;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--modal-panel) 98%, #ffffff 2%), color-mix(in srgb, var(--modal-panel) 95%, transparent)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 14%, transparent), transparent 44%);
}

.modal.modal-follow-lists .modal-head {
  padding: 18px 20px 0;
}

.modal.modal-follow-lists .modal-body {
  flex: 1 1 auto;
  max-height: none;
  overflow-y: auto;
  padding: 0 20px 20px;
}

.profile-body {
  padding: 8px 22px 20px;
}

.section-head {
  padding: 14px 22px 4px;
}

.cid-player-head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.cid-player-tab-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.cid-player-tab-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.cid-player-tab-icon {
  flex: 0 0 auto;
}

.section-head h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.section-subtitle {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--subtle);
}

.timestamp {
  color: var(--subtle);
  font-size: 10px;
  margin-left: auto;
  font-weight: 500;
  margin: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.music-links-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}

.music-links-list .info-block {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.music-links-list .label {
  display: none;
  width: 100%;
  margin: 0 0 8px;
}

.music-links-list .info-value {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.billboard-list {
  --billboard-row-height: 64px;
  --billboard-gap: 10px;
  display: flex;
  flex-direction: column;
  gap: var(--billboard-gap);
  max-height: calc(var(--billboard-row-height) * 4 + var(--billboard-gap) * 3);
  overflow-y: auto;
  padding-right: 6px;
}

.billboard-row {
  min-height: var(--billboard-row-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

.billboard-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--muted-bg);
}

.billboard-main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  gap: 4px;
}

.billboard-label {
  display: none;
}

.billboard-value {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.billboard-meta {
  font-size: 12px;
  color: var(--subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.merch-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.merch-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

.merch-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--muted-bg);
}

a.merch-media:hover {
  box-shadow: 0 10px 25px -18px rgba(0, 0, 0, 0.55);
}

.merch-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merch-image-placeholder {
  font-size: 12px;
  color: var(--subtle);
  font-weight: 700;
}

.merch-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.merch-title {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.merch-description {
  margin: 0;
  color: var(--subtle);
  font-size: 12px;
  line-height: 1.45;
}

.merch-price {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.merch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

.link-card-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--muted-bg);
}

.link-card-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.link-card-actions {
  display: flex;
  justify-content: flex-end;
}

.link-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  white-space: normal;
  overflow: hidden;
  text-overflow: initial;
}

.link-card-meta {
  font-size: 12px;
  color: var(--subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640px) {
  .latest-news-head {
    align-items: center;
  }

  .latest-news-slider {
    grid-auto-columns: 100%;
    gap: 12px;
  }

  .latest-news-card {
    padding: 12px;
  }

  .latest-news-card-title {
    font-size: 18px;
  }

  .latest-news-actions {
    gap: 8px;
  }

  .latest-news-action-read {
    margin-left: 0;
  }

  .latest-news-editor-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .latest-news-editor-slot-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .link-card {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas:
      "thumb main"
      "actions actions";
  }

  .link-card-thumb {
    grid-area: thumb;
    width: 64px;
    height: 64px;
  }

  .link-card-main {
    grid-area: main;
  }

  .link-card-actions {
    grid-area: actions;
    justify-content: flex-start;
    margin-top: 6px;
  }

  .modal.modal-latest-news-editor .modal-dialog {
    width: min(100% - 20px, 100%);
    margin: 18px auto;
  }
}

.feed-pane .info-grid + .info-grid {
  margin-top: 14px;
}

.feed-pane .info-grid + .helper {
  margin-top: 10px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.production-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.cid-player-playlist-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.cid-player-playlist-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--subtle);
  text-transform: uppercase;
}

.cid-player-sort-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--subtle);
  text-transform: uppercase;
}

.cid-player-playlist-select {
  min-width: min(280px, 100%);
  max-width: 100%;
  border: 1px solid var(--accent);
  background: var(--chip);
  color: var(--ink);
  border-radius: 5px;
  padding: 9px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.cid-player-sort-select {
  min-width: min(220px, 100%);
  max-width: 100%;
  border: 1px solid var(--accent);
  background: var(--chip);
  color: var(--ink);
  border-radius: 5px;
  padding: 9px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.cid-player-playlist-delete {
  flex: 0 0 auto;
  min-height: 39px;
  padding: 9px 15px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.production-tab {
  border: 1px solid var(--accent);
  background: var(--chip);
  color: var(--accent);
  border-radius: 5px;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.03em;
}

.production-tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16) inset;
}

.feed-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.feed-tab {
  border: 1px solid var(--accent);
  background: var(--chip);
  color: var(--accent);
  border-radius: 5px;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.03em;
}

.feed-tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16) inset;
}

.feed-pane {
  display: none;
  min-width: 0;
}

.feed-pane.is-active {
  display: block;
}

.production-pane {
  display: none;
  min-width: 0;
}

.production-pane.is-active {
  display: block;
}

.block-bricks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.cid-player-public-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 14px;
}

.advert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.latest-news-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.latest-news-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post-feed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.post-feed-controls {
  display: grid;
  place-items: center;
  gap: 12px;
}

.post-feed-sentinel {
  width: 100%;
  height: 1px;
}

.post-composer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.post-composer .profile-body {
  padding-bottom: 16px;
}

.post-composer-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.post-composer-form {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.post-composer .meta-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.post-composer .meta-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--subtle);
}

.post-composer .meta-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  color: var(--ink);
  font-weight: 600;
  font-family: inherit;
}

.post-composer .meta-input::placeholder {
  color: color-mix(in srgb, var(--subtle) 70%, transparent);
}

.post-composer .meta-input:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 70%, transparent);
  outline-offset: 2px;
}

.post-composer .meta-textarea {
  min-height: 96px;
  resize: vertical;
}

.post-composer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.post-composer-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.post-editor-btn {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.post-editor-btn span {
  font-size: 12px;
}

.post-editor-btn[data-post-editor-link] {
  width: auto;
  padding: 0 10px;
}

.post-composer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.post-composer .pill {
  padding: 10px 16px;
}

.post-composer-meta {
  display: grid;
  gap: 4px;
}

.post-compose-status.is-error {
  color: #ff4d6d;
}

.latest-news-create-btn {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
}

.latest-news-create-btn .icon-plus {
  width: 16px;
  height: 16px;
}

.latest-news-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(50% - 8px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  touch-action: manipulation;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

@media (max-width: 900px) {
  .latest-news-slider {
    grid-auto-columns: 100%;
  }
}

.latest-news-slider::-webkit-scrollbar {
  height: 8px;
}

.latest-news-slider::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 999px;
}

.latest-news-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.latest-news-slider-meta {
  min-width: 68px;
  margin: 0;
  text-align: center;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.latest-news-arrow[disabled] {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.latest-news-card {
  scroll-snap-align: start;
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 98%, #ffffff 2%), color-mix(in srgb, var(--panel) 92%, transparent)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 14%, transparent), transparent 42%);
  box-shadow: 0 24px 60px -50px rgba(0, 0, 0, 0.82);
  min-width: 0;
}

.latest-news-card[role="button"] {
  cursor: pointer;
}

.latest-news-card[role="button"]:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 72%, white 12%);
  outline-offset: 3px;
}

.latest-news-card.is-placeholder {
  opacity: 0.78;
  pointer-events: none;
}

.latest-news-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.latest-news-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--muted-bg);
  flex: 0 0 auto;
}

.latest-news-card-author {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 2px;
}

.latest-news-card-name {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.latest-news-card-date {
  margin: 0;
  color: var(--subtle);
  font-size: 12px;
}

.latest-news-card-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.latest-news-card-title {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.latest-news-card-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.9), rgba(15, 18, 24, 0.7));
  min-height: 220px;
}

.latest-news-card-media-placeholder {
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--accent) 54%, var(--ink));
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.latest-news-card-media img,
.latest-news-card-media audio,
.latest-news-card-media video,
.latest-news-card-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border: 0;
}

.latest-news-card-media audio {
  height: auto;
  min-height: 72px;
  object-fit: initial;
  accent-color: var(--accent);
  color-scheme: dark;
  background: transparent;
}

.latest-news-card-media.latest-news-card-media-audio,
.latest-news-card-media.latest-news-card-media-audio-only {
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

.latest-news-card-media.latest-news-card-media-audio {
  display: grid;
  grid-template-rows: 220px auto;
}

.latest-news-card-media.latest-news-card-media-audio img {
  height: 220px;
  min-height: 220px;
  object-fit: cover;
}

.latest-news-card-media.latest-news-card-media-audio audio {
  height: auto;
  min-height: 54px;
  border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}

.latest-news-card-media.latest-news-card-media-audio-only {
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 16px 14px;
}

.latest-news-card-media.latest-news-card-media-audio-only audio {
  min-height: 54px;
}

.latest-news-card-media audio::-webkit-media-controls-panel {
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

.latest-news-card-media audio::-webkit-media-controls-current-time-display,
.latest-news-card-media audio::-webkit-media-controls-time-remaining-display {
  color: var(--ink);
}

.latest-news-card-media iframe {
  aspect-ratio: 16 / 9;
}

.latest-news-card-copy {
  display: grid;
  gap: 10px;
}

.advert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: color-mix(in srgb, var(--accent) 84%, #ffffff 16%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.latest-news-description {
  margin: 0;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.latest-news-read-more-inline {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  line-height: inherit;
  cursor: pointer;
  text-decoration: none;
}

.latest-news-read-more-inline:hover,
.latest-news-read-more-inline:focus-visible {
  color: color-mix(in srgb, var(--accent) 82%, #ffffff 18%);
  text-decoration: underline;
  outline: none;
}

.latest-news-description.is-scrollable {
  max-height: 9.75rem;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
}

.latest-news-description.is-scrollable::-webkit-scrollbar {
  width: 6px;
}

.latest-news-description.is-scrollable::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 999px;
}

.latest-news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.latest-news-action-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #f87171 60%, transparent);
  background: color-mix(in srgb, #f87171 12%, transparent);
  color: #fca5a5;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.latest-news-action-remove:hover,
.latest-news-action-remove:focus-visible {
  background: color-mix(in srgb, #f87171 22%, transparent);
  color: #fecaca;
}

.track-action-remove {
  width: 32px;
  height: 32px;
  font-size: 18px;
  margin-left: 10px;
  flex: 0 0 auto;
}

.latest-news-action {
  min-width: 0;
}

.latest-news-action-read {
  color: color-mix(in srgb, var(--accent) 84%, #ffffff 16%);
  border-color: color-mix(in srgb, var(--accent) 68%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
}

.latest-news-action-read::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 4.75A2.75 2.75 0 0 1 8.75 2h8.5A2.75 2.75 0 0 1 20 4.75v8.5A2.75 2.75 0 0 1 17.25 16H16v1.25A2.75 2.75 0 0 1 13.25 20h-8.5A2.75 2.75 0 0 1 2 17.25v-8.5A2.75 2.75 0 0 1 4.75 6H6V4.75Zm2 .25v8.25c0 .41.34.75.75.75H17.25c.41 0 .75-.34.75-.75v-8.5A.75.75 0 0 0 17.25 4h-8.5A.75.75 0 0 0 8 4.75V5Zm-3.25 3A.75.75 0 0 0 4 8.75v8.5c0 .41.34.75.75.75h8.5c.41 0 .75-.34.75-.75V16H8.75A2.75 2.75 0 0 1 6 13.25V8H4.75Zm6.54 1.29a1 1 0 0 1 1.41 0L15.41 12l-2.71 2.71a1 1 0 1 1-1.41-1.41L12.59 13H10a1 1 0 1 1 0-2h2.59l-1.3-1.29a1 1 0 0 1 0-1.41Z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 4.75A2.75 2.75 0 0 1 8.75 2h8.5A2.75 2.75 0 0 1 20 4.75v8.5A2.75 2.75 0 0 1 17.25 16H16v1.25A2.75 2.75 0 0 1 13.25 20h-8.5A2.75 2.75 0 0 1 2 17.25v-8.5A2.75 2.75 0 0 1 4.75 6H6V4.75Zm2 .25v8.25c0 .41.34.75.75.75H17.25c.41 0 .75-.34.75-.75v-8.5A.75.75 0 0 0 17.25 4h-8.5A.75.75 0 0 0 8 4.75V5Zm-3.25 3A.75.75 0 0 0 4 8.75v8.5c0 .41.34.75.75.75h8.5c.41 0 .75-.34.75-.75V16H8.75A2.75 2.75 0 0 1 6 13.25V8H4.75Zm6.54 1.29a1 1 0 0 1 1.41 0L15.41 12l-2.71 2.71a1 1 0 1 1-1.41-1.41L12.59 13H10a1 1 0 1 1 0-2h2.59l-1.3-1.29a1 1 0 0 1 0-1.41Z'/></svg>") center / contain no-repeat;
}

.block-track-stat-share {
  color: #c4a2ff;
  border: 2px solid color-mix(in srgb, #c4a2ff 78%, #ffffff 22%);
  border-color: color-mix(in srgb, #c4a2ff 78%, #ffffff 22%);
  background: color-mix(in srgb, #c4a2ff 12%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, #c4a2ff 34%, transparent);
}

.block-track-stat-share::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18 16a3 3 0 0 0-2.39 1.19L8.91 13.7a3.2 3.2 0 0 0 0-3.39l6.7-3.49A3 3 0 1 0 15 5a2.9 2.9 0 0 0 .08.68l-6.7 3.49a3 3 0 1 0 0 5.66l6.7 3.49A2.9 2.9 0 0 0 15 19a3 3 0 1 0 3-3z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18 16a3 3 0 0 0-2.39 1.19L8.91 13.7a3.2 3.2 0 0 0 0-3.39l6.7-3.49A3 3 0 1 0 15 5a2.9 2.9 0 0 0 .08.68l-6.7 3.49a3 3 0 1 0 0 5.66l6.7 3.49A2.9 2.9 0 0 0 15 19a3 3 0 1 0 3-3z'/></svg>") center / contain no-repeat;
}

.latest-news-comments {
  display: grid;
  gap: 8px;
  padding-top: 2px;
  cursor: pointer;
}

.section-empty-actions {
  display: grid;
  gap: 12px;
}

.section-empty-actions p {
  margin: 0;
}

.section-empty-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.instructions-modal[data-post-media-picker] {
  display: grid;
  gap: 12px;
}

.latest-news-post-modal {
  display: grid;
  gap: 16px;
}

.track-post-modal {
  display: grid;
  gap: 16px;
}

.track-post-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 98%, rgba(255, 255, 255, 0.02)), color-mix(in srgb, var(--panel) 92%, transparent)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 12%, transparent), transparent 46%);
}

.track-post-media {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
  background: rgba(0, 0, 0, 0.22);
}

.track-post-media img,
.track-post-media video,
.track-post-media iframe,
.track-post-media audio {
  width: 100%;
  max-width: 100%;
  display: block;
}

.track-post-media img,
.track-post-media video,
.track-post-media iframe {
  min-height: 260px;
  object-fit: cover;
  border: 0;
}

.track-post-media-audio {
  padding: 12px;
}

.track-post-modal.is-video-post {
  gap: 18px;
}

.track-post-card.is-video-post-card {
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.track-post-modal.is-video-post .track-post-media {
  border-radius: 20px;
  border-color: color-mix(in srgb, var(--line) 72%, transparent);
  background: #000;
  box-shadow: 0 24px 60px -38px rgba(0, 0, 0, 0.85);
}

.track-post-modal.is-video-post .track-post-media video,
.track-post-modal.is-video-post .track-post-media iframe,
.track-post-modal.is-video-post .track-post-media img {
  aspect-ratio: 16 / 9;
  min-height: min(62vh, 760px);
  object-fit: contain;
  background: #000;
}

.track-post-modal.is-video-post .track-post-copy {
  padding: 0 6px;
  gap: 14px;
}

.track-post-modal.is-video-post .track-post-comments {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 98%, rgba(255, 255, 255, 0.02)), color-mix(in srgb, var(--panel) 94%, transparent)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 10%, transparent), transparent 48%);
}

.cid-video-post-channel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0 6px;
}

.cid-video-post-channel-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cid-video-post-channel-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
  background: rgba(255, 255, 255, 0.04);
}

.cid-video-post-channel-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cid-video-post-channel-copy strong,
.cid-video-post-channel-copy span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cid-video-post-channel-copy span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.cid-video-post-channel-actions,
.cid-video-post-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cid-video-post-toolbar {
  padding: 4px 0;
}

.cid-video-post-toolbar .block-track-icon {
  flex: 0 0 auto;
}

.post-track-player {
  width: 100%;
  margin: 0;
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
}

.post-track-player .playlist-meta {
  flex: 1 1 auto;
}

.post-track-player .playlist-cover {
  display: flex;
}

.post-track-player .playlist-controls {
  margin-left: auto;
}

.post-track-player .playlist-time {
  white-space: nowrap;
}

.post-track-player audio {
  display: none;
}

.post-track-player .playlist-video {
  min-height: 0;
  max-height: min(56vh, 560px);
}

.post-track-player.is-video .playlist-meta {
  justify-content: space-between;
}

.post-track-player.is-video .playlist-video-actions {
  display: inline-flex;
}

.track-post-media .post-track-player + img,
.track-post-media img:first-child {
  justify-self: center;
}

.track-post-media-audio img {
  min-height: 0;
  max-height: 360px;
  border-radius: 12px;
}

.track-post-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.track-post-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.track-post-head-row .latest-news-card-title {
  flex: 1 1 auto;
  min-width: 0;
}

.track-post-copy .block-track-text {
  white-space: pre-wrap;
}

.track-post-copy .block-track-details {
  width: 100%;
}

.track-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.track-post-cid-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.track-post-cid-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.track-post-cid-value {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.track-post-cid-value code {
  display: inline-block;
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  background: rgba(255, 255, 255, 0.04);
}

.track-post-cid-value:hover,
.track-post-cid-value:focus-visible {
  outline: none;
  color: color-mix(in srgb, var(--accent) 70%, #ffffff 30%);
}

.track-post-cid-value.is-copied code {
  border-color: color-mix(in srgb, #fbbf24 70%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, #fbbf24 38%, transparent);
}

.track-post-meta-pill,
.track-post-stats-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.track-post-actions,
.track-post-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.track-post-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.track-post-reaction-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--card) 82%, rgba(255, 255, 255, 0.08));
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.track-post-reaction-pill:hover,
.track-post-reaction-pill:focus-visible {
  background: color-mix(in srgb, var(--button) 16%, var(--card));
  border-color: color-mix(in srgb, var(--button) 68%, transparent);
  transform: translateY(-1px);
}

.track-post-reaction-pill:disabled,
.track-post-reaction-pill.is-processing {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.track-post-reaction-label {
  display: inline-flex;
  align-items: center;
}

.track-post-reaction-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--button) 18%, transparent);
  color: inherit;
  font-size: 11px;
  font-weight: 800;
}

.track-post-comments {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.track-post-compose.is-disabled {
  opacity: 0.9;
}

.latest-news-card-full {
  gap: 16px;
}

.latest-news-card-copy-full {
  gap: 0;
}

.latest-news-description-full {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.latest-news-post-comments {
  margin-top: 0;
}

.latest-news-comment {
  display: grid;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--line) 56%, transparent);
  background: color-mix(in srgb, var(--muted-bg) 82%, rgba(255, 255, 255, 0.03));
}

.latest-news-comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.latest-news-comment-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.latest-news-comment-avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) 56%, transparent);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  flex: 0 0 auto;
}

.latest-news-comment-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.latest-news-comment-label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.latest-news-comment-time {
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.2;
}

.latest-news-comment-text {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.latest-news-comment-media {
  display: grid;
  gap: 8px;
}

.latest-news-comment-media img,
.latest-news-comment-media video,
.latest-news-comment-media iframe,
.latest-news-comment-media audio {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
}

.latest-news-comment-media audio {
  accent-color: var(--accent);
  color-scheme: dark;
}

.latest-news-comment-media audio::-webkit-media-controls-panel {
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

.latest-news-comment-media audio::-webkit-media-controls-current-time-display,
.latest-news-comment-media audio::-webkit-media-controls-time-remaining-display {
  color: var(--ink);
}

.latest-news-comment-media img,
.latest-news-comment-media video,
.latest-news-comment-media iframe {
  min-height: 180px;
  object-fit: cover;
}

.latest-news-comment-empty {
  margin: 0;
  color: var(--subtle);
  font-size: 12px;
}

.latest-news-editor {
  display: grid;
  gap: 14px;
}

.latest-news-editor-panel {
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: none;
}

.latest-news-editor-header {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.latest-news-editor-title {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.latest-news-editor-subtitle {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  font-size: 13px;
  line-height: 1.5;
}

.latest-news-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.latest-news-editor-status {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 76%, transparent);
  font-size: 13px;
}

.latest-news-editor-status.is-success {
  color: #86efac;
}

.latest-news-editor-status.is-error {
  color: #f87171;
}

.latest-news-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.latest-news-editor-list {
  display: grid;
  gap: 14px;
}

.latest-news-editor-slot {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: none;
}

.latest-news-editor-slot-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 56%, transparent);
}

.latest-news-editor-slot-title {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.latest-news-editor-slot-subtitle {
  margin: 4px 0 0;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  font-size: 12px;
  line-height: 1.45;
}

.latest-news-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.latest-news-editor-grid .meta-field {
  margin: 0;
}

.latest-news-editor-grid .meta-field.is-full {
  grid-column: 1 / -1;
}

.latest-news-editor-slot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 2px;
}

.latest-news-editor-hidden-input {
  display: none;
}

.latest-news-editor-checkbox {
  margin: 0;
}

.latest-news-editor-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.latest-news-editor-slot-note {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  font-size: 12px;
  line-height: 1.45;
}

.support-ticket-panel {
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: none;
}

.support-ticket-panel .profile-body {
  display: grid;
  gap: 14px;
}

.support-ticket-header {
  display: grid;
  gap: 6px;
}

.support-ticket-title {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.support-ticket-subtitle {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  font-size: 13px;
  line-height: 1.5;
}

.support-ticket-grid {
  display: grid;
  gap: 12px;
}

.marketing-contact-form {
  display: grid;
  gap: 10px;
}

.support-ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.support-ticket-status {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 76%, transparent);
  font-size: 13px;
}

.support-ticket-status.is-success {
  color: #86efac;
}

.support-ticket-status.is-error {
  color: #f87171;
}

.ens-search-panel {
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: none;
}

.ens-search-panel .profile-body {
  display: grid;
  gap: 14px;
}

.ens-search-header {
  display: grid;
  gap: 6px;
}

.ens-search-title {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.ens-search-subtitle {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  font-size: 13px;
  line-height: 1.5;
}

.ens-search-form {
  display: grid;
  gap: 12px;
}

.ens-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ens-search-status {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 76%, transparent);
  font-size: 13px;
}

.ens-search-status.is-success {
  color: #86efac;
}

.ens-search-status.is-error {
  color: #f87171;
}

.advert-card {
  padding: 10px;
  border-radius: 14px;
  border: 0;
  background: var(--panel);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

.theme-section-borders .advert-card {
  border: 1px solid var(--line);
}

.advert-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--muted-bg);
}

a.advert-media:hover {
  box-shadow: 0 10px 25px -18px rgba(0, 0, 0, 0.55);
}

.advert-visual {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.advert-video {
  max-height: 480px;
  background: #000;
}

.advert-frame {
  min-height: 320px;
  border: 0;
  background: #000;
}

@media (min-width: 721px) {
  .advert-grid.is-single {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }
}

.advert-text {
  margin: 10px 2px 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.advert-card .latest-news-title {
  margin: 10px 2px 2px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.advert-card .latest-news-description {
  margin: 2px 2px 8px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.info-block.block-brick {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-areas:
    "cover main"
    "cover actions";
  align-items: start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 0;
  background: var(--panel);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

.theme-section-borders .info-block.block-brick {
  border: 1px solid var(--line);
}

.block-brick-meta {
  display: none;
}

.block-brick-meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.block-brick-subrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.block-brick-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--player-color);
  background: var(--muted-bg);
}

.block-brick-name {
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}

.block-brick-status {
  color: var(--subtle);
  font-size: 12px;
}

.block-brick-media {
  grid-area: cover;
  width: 72px;
  height: 72px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--player-color);
  background: var(--muted-bg);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-brick-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.block-brick-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
}

.block-brick-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  overflow: hidden;
}

.block-track-main {
  grid-area: main;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.block-track-source {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.block-track-title-text {
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.block-track-engagement {
  display: none;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: 8px;
  padding-left: 2px;
}

.block-track-counter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.block-track-counter-icon {
  width: 11px;
  height: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.block-track-counter-icon svg {
  width: 11px;
  height: 11px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.block-track-counter-like .block-track-counter-icon {
  color: #f26d8d;
}

.block-track-counter-comment .block-track-counter-icon {
  color: #69b4ff;
}

.block-track-counter-comment.is-clickable {
  cursor: pointer;
}

.block-track-counter-comment.is-clickable:hover,
.block-track-counter-comment.is-clickable:focus-visible {
  color: #ffffff;
}

.track-comments-modal {
  display: grid;
  gap: 10px;
}

.track-comments-compose {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, #ffffff 14%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--card) 84%, transparent);
}

.track-comments-compose-label {
  font-size: 12px;
  font-weight: 700;
  color: color-mix(in srgb, var(--ink) 90%, transparent);
}

.track-comments-compose-input {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  border: 1px solid color-mix(in srgb, #ffffff 18%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  color: color-mix(in srgb, var(--ink) 92%, transparent);
  padding: 10px 12px;
  font: inherit;
  line-height: 1.45;
}

.track-comments-compose-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--brand, #69b4ff) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #69b4ff) 22%, transparent);
}

.track-comments-compose-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.track-comments-feedback {
  margin: 0;
  font-size: 12px;
  color: color-mix(in srgb, var(--ink) 68%, transparent);
}

.track-comments-feedback.is-error {
  color: #ff8b8b;
}

.track-comments-meta {
  margin: 0;
  font-size: 12px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}

.track-comments-list {
  max-height: 50vh;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding-right: 2px;
}

.track-comment-item {
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 10px;
  padding: 9px 10px;
  background: color-mix(in srgb, var(--card) 84%, transparent);
  margin-left: calc(var(--comment-depth, 0) * 10px);
}

.track-comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.track-comment-author {
  font-size: 12px;
  font-weight: 700;
  color: color-mix(in srgb, var(--ink) 92%, transparent);
}

.track-comment-time {
  font-size: 11px;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}

.track-comment-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--ink) 88%, transparent);
  word-break: break-word;
}

.track-comment-media {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.track-comment-media img,
.track-comment-media video,
.track-comment-media iframe,
.track-comment-media audio {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
}

.track-comment-media img,
.track-comment-media video,
.track-comment-media iframe {
  min-height: 180px;
  object-fit: cover;
}

.track-comments-empty {
  margin: 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
}

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

.messages-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.messages-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.messages-compose {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, #ffffff 14%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--card) 84%, transparent);
}

.messages-compose.is-disabled {
  opacity: 0.92;
}

.messages-disabled {
  margin: 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
}

.messages-compose-label {
  font-size: 12px;
  font-weight: 700;
  color: color-mix(in srgb, var(--ink) 90%, transparent);
}

.messages-compose-input {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  border: 1px solid color-mix(in srgb, #ffffff 18%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  color: color-mix(in srgb, var(--ink) 92%, transparent);
  padding: 10px 12px;
  font: inherit;
  line-height: 1.45;
}

.messages-compose-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--brand, #69b4ff) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #69b4ff) 22%, transparent);
}

.messages-compose-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.messages-feedback {
  margin: 0;
  font-size: 12px;
  color: color-mix(in srgb, var(--ink) 68%, transparent);
}

.messages-feedback.is-error {
  color: #ff8b8b;
}

.messages-meta {
  margin: 0;
  font-size: 12px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}

.messages-list {
  max-height: 50vh;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding-right: 2px;
}

.message-item {
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 10px;
  padding: 9px 10px;
  background: color-mix(in srgb, var(--card) 84%, transparent);
}

.message-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.message-author {
  font-size: 12px;
  font-weight: 700;
  color: color-mix(in srgb, var(--ink) 92%, transparent);
}

.message-time {
  font-size: 11px;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}

.message-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--ink) 88%, transparent);
  word-break: break-word;
}

.message-media {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.message-media img,
.message-media video,
.message-media iframe,
.message-media audio {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
}

.message-media img,
.message-media video,
.message-media iframe {
  min-height: 180px;
  object-fit: cover;
}

.messages-empty {
  margin: 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
}

.block-track-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.block-track-details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 6px 8px;
  background: rgba(12, 14, 18, 0.6);
}

.block-track-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.block-track-summary::-webkit-details-marker {
  display: none;
}

.block-track-summary::after {
  content: "▾";
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease;
}

.block-track-details[open] .block-track-summary::after {
  transform: rotate(-180deg);
}

.block-track-detail-grid {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.block-track-detail {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 8px;
  font-size: 11px;
}

.block-track-detail-label {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.block-track-detail-value {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  word-break: break-word;
}

.block-track-cid-value {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.block-track-cid-value code {
  display: inline-block;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.block-track-cid-value:hover,
.block-track-cid-value:focus-visible {
  color: color-mix(in srgb, var(--accent) 70%, #ffffff 30%);
  outline: none;
}

.block-track-cid-value:disabled {
  cursor: default;
  opacity: 0.55;
}

.block-brick-audio {
  display: none;
}

.block-track-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 8px;
  flex-wrap: nowrap;
  margin-top: 2px;
  width: 100%;
  min-width: 0;
}

.block-brick.has-inline-player .block-track-actions .block-track-btn:not(.block-track-nft) {
  display: none;
}

.block-track-btn {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 7px 12px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: var(--chip);
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

#gated-content .profile-body {
  position: relative;
  min-height: 220px;
}

#gated-content .gated-pane-head {
  margin-bottom: 10px;
}

#gated-content [data-gated-grid] {
  min-height: 180px;
  transition: filter 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

#gated-content.is-wallet-locked [data-gated-grid] {
  filter: blur(7px) saturate(0.82);
  opacity: 0.92;
  transform: scale(1.01);
  pointer-events: none;
  user-select: none;
}

.gated-wallet-lock {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, #0d1117 82%, transparent);
  backdrop-filter: blur(2px);
}

#gated-content.has-gated-items .gated-wallet-lock {
  bottom: auto;
}

.gated-wallet-btn {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--chip) 82%, transparent);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
  pointer-events: auto;
}

.gated-wallet-btn .icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.gated-wallet-btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.gated-wallet-text {
  margin: 0;
  text-align: center;
}

.block-track-icon {
  width: var(--track-icon-container-size);
  height: var(--track-icon-container-size);
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--panel) 74%, transparent);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
  box-shadow: 0 16px 50px -40px rgba(0, 0, 0, 0.7);
}

.block-track-icon::before {
  content: "";
  width: var(--track-icon-glyph-size);
  height: var(--track-icon-glyph-size);
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 6c-1.1 0-2 .9-2 2H8c0-1.66 1.34-3 3-3V4h2v1.09c1.39.24 2.5 1.43 2.5 2.91 0 1.66-1.34 3-3 3h-1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2h2c0 1.66-1.34 3-3 3V20h-2v-1.09C10.61 18.68 9.5 17.49 9.5 16c0-1.66 1.34-3 3-3h1c1.1 0 2-.9 2-2s-.9-2-2-2z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 6c-1.1 0-2 .9-2 2H8c0-1.66 1.34-3 3-3V4h2v1.09c1.39.24 2.5 1.43 2.5 2.91 0 1.66-1.34 3-3 3h-1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2h2c0 1.66-1.34 3-3 3V20h-2v-1.09C10.61 18.68 9.5 17.49 9.5 16c0-1.66 1.34-3 3-3h1c1.1 0 2-.9 2-2s-.9-2-2-2z'/></svg>") center / contain no-repeat;
}

.block-track-tip::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13.5 2.1c.3 1.7-.3 3.4-1.6 4.6-1.2 1.1-1.9 2.6-1.9 4.1 0 2.3 1.8 4.2 4.1 4.2 2.3 0 4.2-1.9 4.2-4.2 0-3.1-1.8-6-4.8-8.7zM7.2 10.4c-1.7 1.5-2.7 3.6-2.7 5.8 0 4.2 3.4 7.6 7.6 7.6s7.6-3.4 7.6-7.6c0-1.8-.6-3.4-1.7-4.8.1.4.2.8.2 1.3 0 3.4-2.8 6.2-6.2 6.2-3.5 0-6.3-2.8-6.3-6.2 0-.8.1-1.6.5-2.3z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13.5 2.1c.3 1.7-.3 3.4-1.6 4.6-1.2 1.1-1.9 2.6-1.9 4.1 0 2.3 1.8 4.2 4.1 4.2 2.3 0 4.2-1.9 4.2-4.2 0-3.1-1.8-6-4.8-8.7zM7.2 10.4c-1.7 1.5-2.7 3.6-2.7 5.8 0 4.2 3.4 7.6 7.6 7.6s7.6-3.4 7.6-7.6c0-1.8-.6-3.4-1.7-4.8.1.4.2.8.2 1.3 0 3.4-2.8 6.2-6.2 6.2-3.5 0-6.3-2.8-6.3-6.2 0-.8.1-1.6.5-2.3z'/></svg>") center / contain no-repeat;
}

.block-track-tip {
  margin-left: 0;
  color: #ff8d2b;
  border-color: color-mix(in srgb, #ff8d2b 72%, #ffffff 28%);
  background: color-mix(in srgb, #ff8d2b 18%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, #ff8d2b 38%, transparent), 0 0 16px color-mix(in srgb, #ff8d2b 32%, transparent);
}

.block-track-tip.is-playing {
  animation: tipFlameFlicker 0.9s ease-in-out infinite;
}

.block-track-site {
  color: color-mix(in srgb, var(--accent) 80%, #ffffff 20%);
  border-color: color-mix(in srgb, var(--accent) 64%, transparent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.block-track-site::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3zM5 5h6v2H7v10h10v-4h2v6H5V5z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3zM5 5h6v2H7v10h10v-4h2v6H5V5z'/></svg>") center / contain no-repeat;
}

.block-track-share {
  color: #c4a2ff;
  border-color: color-mix(in srgb, #c4a2ff 72%, #ffffff 28%);
  background: color-mix(in srgb, #c4a2ff 14%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, #c4a2ff 34%, transparent);
}

.block-track-share::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18 16a3 3 0 0 0-2.39 1.19L8.91 13.7a3.2 3.2 0 0 0 0-3.39l6.7-3.49A3 3 0 1 0 15 5a2.9 2.9 0 0 0 .08.68l-6.7 3.49a3 3 0 1 0 0 5.66l6.7 3.49A2.9 2.9 0 0 0 15 19a3 3 0 1 0 3-3z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18 16a3 3 0 0 0-2.39 1.19L8.91 13.7a3.2 3.2 0 0 0 0-3.39l6.7-3.49A3 3 0 1 0 15 5a2.9 2.9 0 0 0 .08.68l-6.7 3.49a3 3 0 1 0 0 5.66l6.7 3.49A2.9 2.9 0 0 0 15 19a3 3 0 1 0 3-3z'/></svg>") center / contain no-repeat;
}

.block-track-copy {
  color: #fbbf24;
  border-color: color-mix(in srgb, #fbbf24 72%, #ffffff 28%);
  background: color-mix(in srgb, #fbbf24 12%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, #fbbf24 32%, transparent);
}

.block-track-copy::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z'/></svg>") center / contain no-repeat;
}

.block-track-stat {
  position: relative;
}

.block-track-stat::before {
  width: calc(var(--track-icon-glyph-size) - 2px);
  height: calc(var(--track-icon-glyph-size) - 2px);
}

.block-track-stat-like {
  color: #f26d8d;
  border-color: color-mix(in srgb, #f26d8d 68%, transparent);
  background: color-mix(in srgb, #f26d8d 14%, transparent);
}

.block-track-stat-like::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12.1 21.35l-1.1-1.02C5.14 14.89 2 12.04 2 8.5 2 5.42 4.42 3 7.5 3c1.73 0 3.39.81 4.5 2.09C13.11 3.81 14.77 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.54-3.14 6.39-8.99 11.84l-1.11 1.01z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12.1 21.35l-1.1-1.02C5.14 14.89 2 12.04 2 8.5 2 5.42 4.42 3 7.5 3c1.73 0 3.39.81 4.5 2.09C13.11 3.81 14.77 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.54-3.14 6.39-8.99 11.84l-1.11 1.01z'/></svg>") center / contain no-repeat;
}

.block-track-stat-comment {
  color: #69b4ff;
  border-color: color-mix(in srgb, #69b4ff 68%, transparent);
  background: color-mix(in srgb, #69b4ff 12%, transparent);
}

.block-track-stat-comment::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 4h16c1.1 0 2 .9 2 2v9c0 1.1-.9 2-2 2H8l-5 4v-4H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2zm2 4v2h12V8H6zm0 4v2h8v-2H6z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 4h16c1.1 0 2 .9 2 2v9c0 1.1-.9 2-2 2H8l-5 4v-4H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2zm2 4v2h12V8H6zm0 4v2h8v-2H6z'/></svg>") center / contain no-repeat;
}

.block-track-stat-like.is-clickable,
.block-track-stat-comment.is-clickable {
  cursor: pointer;
}

.block-track-stat-like.is-clickable:hover,
.block-track-stat-like.is-clickable:focus-visible,
.block-track-stat-comment.is-clickable:hover,
.block-track-stat-comment.is-clickable:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
}

.block-track-stat-play {
  color: #8bf0bd;
  border-color: color-mix(in srgb, #8bf0bd 68%, transparent);
  background: color-mix(in srgb, #8bf0bd 12%, transparent);
}

.block-track-stat-play::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 7h5v5H6V7zm7 0h5v5h-5V7zM6 14h5v5H6v-5zm10.5-.5L20 17l-3.5 3.5-1.41-1.41L17.17 17l-2.08-2.09 1.41-1.41z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 7h5v5H6V7zm7 0h5v5h-5V7zM6 14h5v5H6v-5zm10.5-.5L20 17l-3.5 3.5-1.41-1.41L17.17 17l-2.08-2.09 1.41-1.41z'/></svg>") center / contain no-repeat;
}

.block-track-queue {
  display: none !important;
}

.block-track-stat-comment:not(.is-clickable) {
  opacity: 0.65;
  pointer-events: none;
}

.block-track-stat.is-processing {
  opacity: 0.72;
  pointer-events: none;
}

.block-track-stat.is-processing::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.95);
  animation: pillSpin 0.8s linear infinite;
}

.block-track-stat-count {
  position: absolute;
  right: -5px;
  bottom: -5px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, #0d1117 88%, transparent);
  color: rgba(255, 255, 255, 0.9);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.block-track-queue::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 10H3v2h11v-2zm0-4H3v2h11V6zM3 14h7v-2H3v2zm13-1v-3h-2v3h-3v2h3v3h2v-3h3v-2h-3z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 10H3v2h11v-2zm0-4H3v2h11V6zM3 14h7v-2H3v2zm13-1v-3h-2v3h-3v2h3v3h2v-3h3v-2h-3z'/></svg>") center / contain no-repeat;
}

.block-track-icon.latest-news-action-read {
  color: color-mix(in srgb, var(--accent) 84%, #ffffff 16%);
  border-color: color-mix(in srgb, var(--accent) 72%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
}

.block-track-icon.latest-news-action-read::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 4.75A2.75 2.75 0 0 1 7.75 2h11.5v16.5H8a3 3 0 0 0-3 3V4.75ZM7.75 4A.75.75 0 0 0 7 4.75v12.52c.32-.12.66-.2 1-.24L17.25 17V4H7.75ZM9 7h6.5v1.5H9V7Zm0 3h6.5v1.5H9V10Zm0 3h4.5v1.5H9V13ZM5 19.25c0-.97.78-1.75 1.75-1.75h10.5V19H6.75A1.75 1.75 0 0 0 5 20.75v-1.5Z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 4.75A2.75 2.75 0 0 1 7.75 2h11.5v16.5H8a3 3 0 0 0-3 3V4.75ZM7.75 4A.75.75 0 0 0 7 4.75v12.52c.32-.12.66-.2 1-.24L17.25 17V4H7.75ZM9 7h6.5v1.5H9V7Zm0 3h6.5v1.5H9V10Zm0 3h4.5v1.5H9V13ZM5 19.25c0-.97.78-1.75 1.75-1.75h10.5V19H6.75A1.75 1.75 0 0 0 5 20.75v-1.5Z'/></svg>") center / contain no-repeat;
}

.block-track-icon:hover {
  background: color-mix(in srgb, var(--panel) 82%, transparent);
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line) 55%);
  box-shadow: 0 22px 70px -52px rgba(0, 0, 0, 0.75);
}

@keyframes tipFlameFlicker {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 1px color-mix(in srgb, #ff8d2b 38%, transparent), 0 0 12px color-mix(in srgb, #ff8d2b 24%, transparent);
  }
  35% {
    transform: translateY(-1px) scale(1.08);
    box-shadow: 0 0 0 1px color-mix(in srgb, #ff8d2b 52%, transparent), 0 0 20px color-mix(in srgb, #ff8d2b 46%, transparent);
  }
  60% {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 0 0 1px color-mix(in srgb, #ff8d2b 44%, transparent), 0 0 16px color-mix(in srgb, #ff8d2b 34%, transparent);
  }
  100% {
    transform: translateY(0) scale(1.03);
    box-shadow: 0 0 0 1px color-mix(in srgb, #ff8d2b 50%, transparent), 0 0 18px color-mix(in srgb, #ff8d2b 44%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .block-track-tip.is-playing {
    animation: none;
  }
}

.block-track-play {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-left: auto;
}

.block-track-play::before {
  content: "";
  width: 30px;
  height: 30px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5v14l11-7z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5v14l11-7z'/></svg>") center / contain no-repeat;
}

.block-track-play.is-playing::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 5h4v14H6zM14 5h4v14h-4z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 5h4v14H6zM14 5h4v14h-4z'/></svg>") center / contain no-repeat;
}

.block-track-nft {
  min-width: 0;
  width: var(--track-icon-container-size);
  height: var(--track-icon-container-size);
  padding: 0;
  border-radius: 5px;
  font-size: 0;
  line-height: 0;
  color: #f3d36a;
  border-color: color-mix(in srgb, #f3d36a 72%, #ffffff 28%);
  background: color-mix(in srgb, #f3d36a 12%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, #f3d36a 28%, transparent);
  flex: 0 0 auto;
}

.block-track-nft::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2 4.5 6v6c0 5 3.4 9.6 7.5 10 4.1-.4 7.5-5 7.5-10V6L12 2zm0 2.2 5.5 2.9v4.8c0 3.8-2.4 7.3-5.5 8-3.1-.7-5.5-4.2-5.5-8V7.1L12 4.2zm0 2.3-3.5 1.8V12l3.5 1.8L15.5 12V8.3L12 6.5zm-1.5 2.5L12 8.3 13.5 9l-1.5.8-1.5-.8zm-.5 1.4 1.5.8v1.6l-1.5-.8v-1.6zm4 0v1.6l-1.5.8v-1.6l1.5-.8z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2 4.5 6v6c0 5 3.4 9.6 7.5 10 4.1-.4 7.5-5 7.5-10V6L12 2zm0 2.2 5.5 2.9v4.8c0 3.8-2.4 7.3-5.5 8-3.1-.7-5.5-4.2-5.5-8V7.1L12 4.2zm0 2.3-3.5 1.8V12l3.5 1.8L15.5 12V8.3L12 6.5zm-1.5 2.5L12 8.3 13.5 9l-1.5.8-1.5-.8zm-.5 1.4 1.5.8v1.6l-1.5-.8v-1.6zm4 0v1.6l-1.5.8v-1.6l1.5-.8z'/></svg>") center / contain no-repeat;
}

.playlist-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--player-color);
  background: var(--player-bg);
  background: color-mix(in srgb, var(--player-bg) 86%, transparent);
  box-shadow: 0 18px 50px -36px rgba(0, 0, 0, 0.7);
  margin-bottom: 12px;
  max-width: 100%;
  overflow: hidden;
}

.playlist-player.is-video {
  padding: 0;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.92);
  gap: 0;
  align-items: stretch;
  flex-direction: column;
}

.playlist-player-floating {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(calc(100% - 18px), 880px);
  max-width: 880px;
  margin: 0;
  z-index: 55;
}

.playlist-video {
  width: 100%;
  max-height: min(34vh, 320px);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 14px 14px 0 0;
  border: 0;
  background: #000;
  display: none;
}

.playlist-player.is-video .playlist-meta {
  display: flex;
  width: 100%;
  min-height: 0;
  padding: 5px 8px 6px;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 12, 18, 0.96);
}

.playlist-player.is-video .playlist-cover,
.playlist-player.is-video .playlist-label,
.playlist-player.is-video .playlist-controls {
  display: none;
}

.playlist-player.is-video .playlist-meta-text {
  width: 100%;
  gap: 6px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.playlist-player.is-video .playlist-title {
  font-size: 11px;
  line-height: 1.15;
  min-width: 0;
}

.playlist-player.is-video .playlist-time {
  font-size: 10px;
  white-space: nowrap;
  justify-self: end;
}

.playlist-video-actions {
  display: none;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.playlist-player.is-video .playlist-video-actions {
  display: inline-flex;
}

.playlist-video-action-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.playlist-video-action-btn::before {
  content: "";
  width: 13px;
  height: 13px;
  background-color: currentColor;
  display: block;
}

[data-playlist-video-toggle]::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5v14l11-7z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5v14l11-7z'/></svg>") center / contain no-repeat;
}

[data-playlist-video-toggle].is-playing::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 5h4v14H7zm6 0h4v14h-4z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 5h4v14H7zm6 0h4v14h-4z'/></svg>") center / contain no-repeat;
}

[data-playlist-video-fullscreen]::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 10V4h6v2H6v4zm10-6h6v6h-2V6h-4zm4 10h2v6h-6v-2h4zM4 14h2v4h4v2H4z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 10V4h6v2H6v4zm10-6h6v6h-2V6h-4zm4 10h2v6h-6v-2h4zM4 14h2v4h4v2H4z'/></svg>") center / contain no-repeat;
}

.playlist-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.playlist-cover {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--player-color);
  background: var(--muted-bg);
  flex: 0 0 auto;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.playlist-meta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.playlist-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

.playlist-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-time {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  white-space: nowrap;
}

.playlist-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.block-track-transport {
  position: relative;
  flex: 0 0 auto;
  align-self: center;
}

.block-track-transport::before {
  content: "";
  width: 14px;
  height: 14px;
  background-color: currentColor;
  display: block;
}

.block-track-prev::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M15.7 6.3a1 1 0 0 1 0 1.4L11.41 12l4.29 4.3a1 1 0 1 1-1.41 1.4l-5-5a1 1 0 0 1 0-1.4l5-5a1 1 0 0 1 1.41 0z'/><path d='M7 6h2v12H7z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M15.7 6.3a1 1 0 0 1 0 1.4L11.41 12l4.29 4.3a1 1 0 1 1-1.41 1.4l-5-5a1 1 0 0 1 0-1.4l5-5a1 1 0 0 1 1.41 0z'/><path d='M7 6h2v12H7z'/></svg>") center / contain no-repeat;
  margin-left: auto;
}

.block-track-next::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8.3 17.7a1 1 0 0 1 0-1.4l4.29-4.3-4.29-4.3a1 1 0 1 1 1.41-1.4l5 5a1 1 0 0 1 0 1.4l-5 5a1 1 0 0 1-1.41 0z'/><path d='M15 6h2v12h-2z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8.3 17.7a1 1 0 0 1 0-1.4l4.29-4.3-4.29-4.3a1 1 0 1 1 1.41-1.4l5 5a1 1 0 0 1 0 1.4l-5 5a1 1 0 0 1-1.41 0z'/><path d='M15 6h2v12h-2z'/></svg>") center / contain no-repeat;
}

.block-track-transport.is-active {
  border-color: var(--accent);
  color: #fff;
  background: color-mix(in srgb, var(--accent) 72%, transparent);
}

.playlist-skip-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--player-color);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.playlist-skip-btn::before {
  content: "";
  width: 18px;
  height: 18px;
  background-color: currentColor;
}

[data-playlist-prev]::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 5h2v14H6zM10 12l8-7v14z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 5h2v14H6zM10 12l8-7v14z'/></svg>") center / contain no-repeat;
}

[data-playlist-next]::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5v14l8-7zM16 5h2v14h-2z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5v14l8-7zM16 5h2v14h-2z'/></svg>") center / contain no-repeat;
}

.playlist-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #111319;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6), 0 0 0 2px var(--player-color) inset;
}

.playlist-play-btn::before {
  content: "";
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5v14l11-7z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5v14l11-7z'/></svg>") center / contain no-repeat;
}

.playlist-play-btn.is-playing::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 5h4v14H6zM14 5h4v14h-4z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 5h4v14H6zM14 5h4v14h-4z'/></svg>") center / contain no-repeat;
}

.playlist-player button:disabled {
  opacity: 0.45;
  cursor: default;
}

.block-track-btn-buy {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.block-track-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16) inset;
}

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

.channel-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #111319, #0f1116);
}

.channel-media {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-media img,
.channel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.channel-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.channel-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.channel-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-url {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-open-btn {
  min-width: 72px;
  justify-content: center;
  border-radius: 15px;
}

[data-channel-empty] {
  margin: 12px 2px 0;
  font-size: 12px;
}

@media (max-width: 900px) {
  .info-block.block-brick {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "cover main"
      "cover actions";
    align-items: start;
  }

  .block-track-actions {
    margin-top: 2px;
    justify-content: flex-end;
    justify-self: end;
  }

  .channel-card {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "media main"
      "media action";
    align-items: start;
  }

  .channel-media {
    grid-area: media;
  }

  .channel-main {
    grid-area: main;
  }

  .channel-open-btn {
    grid-area: action;
    justify-self: start;
    margin-top: 2px;
  }
}

@media (max-width: 520px) {
  .block-track-text {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .block-track-btn {
    min-width: 64px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .playlist-player-floating {
    width: calc(100% - 12px);
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .playlist-player {
    gap: 8px;
    padding: 8px 10px;
  }

  .playlist-player.is-video {
    padding: 0;
    gap: 0;
  }

  .playlist-video {
    max-height: min(24vh, 200px);
    border-radius: 12px 12px 0 0;
  }

  .playlist-player.is-video .playlist-meta {
    padding: 4px 6px 5px;
  }

  .playlist-player.is-video .playlist-title,
  .playlist-player.is-video .playlist-time {
    font-size: 9px;
  }

  .playlist-video-action-btn {
    width: 24px;
    height: 24px;
  }

  .playlist-video-action-btn::before {
    width: 11px;
    height: 11px;
  }

  .block-track-actions {
    gap: 6px;
  }
}

@media (max-width: 720px) {
  .advert-grid {
    grid-template-columns: 1fr;
  }

  #advert .profile-body {
    padding-left: 12px;
    padding-right: 12px;
  }

  #advert .advert-card {
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 14px;
  }

  #advert .advert-media {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-radius: 12px;
  }

  .info-block.block-brick {
    grid-template-columns: 1fr;
    grid-template-areas:
      "cover"
      "main"
      "actions";
  }

  .block-brick-media {
    width: 100%;
    height: 180px;
  }

  .block-track-main {
    width: 100%;
  }

  .block-track-details {
    width: 100%;
  }

  .block-track-actions {
    justify-content: flex-end;
  }
}

.rss-feed {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.rss-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #111319, #0f1116);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  align-items: center;
  min-width: 0;
}

.rss-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: #0d0f10;
  flex: 0 0 52px;
}

.rss-thumb-placeholder {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(25, 82, 135, 0.16), rgba(255, 255, 255, 0.05));
}

.rss-item-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
}

.rss-title {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin: 0;
}

.rss-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rss-copy-btn {
  margin-left: 0;
  border: 1px solid var(--line);
  background: var(--chip);
  color: var(--ink);
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  text-indent: -9999px;
  overflow: hidden;
  position: relative;
}

.rss-copy-btn::before {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  inset: 0;
  margin: auto;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 8h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2Z'/><path d='M4 4h10a2 2 0 0 1 2 2v1h-2V6H4v10h1v2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 8h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2Z'/><path d='M4 4h10a2 2 0 0 1 2 2v1h-2V6H4v10h1v2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/></svg>") center / contain no-repeat;
}

.rss-copy-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16) inset;
}

.rss-copy-btn.is-copied {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.rss-copy-btn.is-copied::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20.3 5.7a1 1 0 0 1 0 1.4l-9.1 9.1a1 1 0 0 1-1.4 0L3.7 10a1 1 0 0 1 1.4-1.4l5 5 8.4-8.4a1 1 0 0 1 1.4 0Z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20.3 5.7a1 1 0 0 1 0 1.4l-9.1 9.1a1 1 0 0 1-1.4 0L3.7 10a1 1 0 0 1 1.4-1.4l5 5 8.4-8.4a1 1 0 0 1 1.4 0Z'/></svg>") center / contain no-repeat;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 60;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  width: 90%;
  max-width: 90%;
  margin: 120px auto;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--modal-panel) 98%, #ffffff 2%), color-mix(in srgb, var(--modal-panel) 94%, transparent)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 10%, transparent), transparent 42%);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 80px -50px rgba(0, 0, 0, 0.9);
  z-index: 1;
  max-height: 80vh;
  overflow: hidden;
}

.modal.modal-instructions .modal-dialog {
  width: min(100% - 48px, 880px);
  max-width: 880px;
  margin: 24px auto;
  height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
}

.modal.modal-instructions .modal-body {
  flex: 1 1 auto;
  max-height: none;
  overflow-y: auto;
}

.modal.modal-invoice .modal-dialog {
  width: min(100% - 48px, 560px);
  max-width: 560px;
  margin: 70px auto;
}

.modal.modal-quick-cid .modal-dialog {
  width: min(100% - 48px, 560px);
  max-width: 560px;
  margin: 70px auto;
}

.modal.modal-quick-cid .modal-body {
  max-height: min(70vh, 680px);
  overflow-y: auto;
}

.modal.modal-track-comments .modal-dialog {
  width: min(100% - 48px, 760px);
  max-width: 760px;
  margin: 52px auto;
}

.modal.modal-messages .modal-dialog {
  width: min(100% - 48px, 760px);
  max-width: 760px;
  margin: 52px auto;
}

.modal.modal-track-post .modal-dialog {
  width: min(100% - 48px, 860px);
  max-width: 860px;
  margin: 36px auto;
  display: flex;
  flex-direction: column;
}

.modal.modal-track-post .modal-body {
  flex: 1 1 auto;
  max-height: none;
  overflow-y: auto;
}

.modal.modal-cid-video-post .modal-dialog {
  width: min(100% - 24px, 1320px);
  max-width: 1320px;
  min-height: calc(100vh - 24px);
  margin: 12px auto;
  display: flex;
  flex-direction: column;
}

.modal.modal-cid-video-post .modal-head {
  position: sticky;
  top: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--modal-panel) 99%, rgba(255, 255, 255, 0.01)), color-mix(in srgb, var(--modal-panel) 96%, transparent));
  backdrop-filter: blur(14px);
}

.modal.modal-cid-video-post .modal-body {
  flex: 1 1 auto;
  max-height: none;
  overflow-y: auto;
}

.modal.modal-latest-news-post .modal-dialog {
  width: min(100% - 48px, 860px);
  max-width: 860px;
  margin: 36px auto;
  display: flex;
  flex-direction: column;
}

.modal.modal-latest-news-post .modal-body {
  flex: 1 1 auto;
  max-height: none;
  overflow-y: auto;
}

.modal.modal-latest-news-editor .modal-dialog {
  width: min(100% - 48px, 980px);
  max-width: 980px;
  margin: 36px auto;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--modal-panel) 99%, #ffffff 1%), color-mix(in srgb, var(--modal-panel) 95%, transparent)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 12%, transparent), transparent 42%);
}

.modal.modal-latest-news-editor .modal-body {
  flex: 1 1 auto;
  max-height: none;
  overflow-y: auto;
}

.modal.modal-metadata-generator .modal-dialog,
.modal.modal-project-generator .modal-dialog {
  width: min(100% - 48px, 980px);
  max-width: 980px;
  margin: 32px auto;
  display: flex;
  flex-direction: column;
}

.modal.modal-metadata-generator .modal-body,
.modal.modal-project-generator .modal-body {
  flex: 1 1 auto;
  max-height: none;
  overflow-y: auto;
}

.modal.modal-profile-panel .modal-dialog {
  width: min(100% - 48px, 980px);
  max-width: 980px;
  margin: 32px auto;
  display: flex;
  flex-direction: column;
}

.modal.modal-profile-card .modal-dialog {
  width: min(100% - 48px, 560px);
  max-width: 560px;
  min-height: 560px;
  margin: 52px auto;
}

.modal.modal-profile-panel .modal-body {
  flex: 1 1 auto;
  max-height: none;
  overflow-y: auto;
}

body.is-modal-open {
  overflow: hidden;
}

.modal {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.modal-dialog {
  --modal-drawer-width: min(calc(100vw - 32px), 560px);
  position: absolute;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: var(--modal-drawer-width);
  max-width: calc(100vw - 32px);
  min-height: 0;
  max-height: calc(100vh - 32px);
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 28px 90px -44px rgba(0, 0, 0, 0.92);
  transform: translate(-50%, calc(-50% + 18px));
  opacity: 0;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}

.modal.is-open .modal-dialog {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.modal.modal-instructions .modal-dialog {
  --modal-drawer-width: min(calc(100vw - 32px), 620px);
  top: 16px;
  right: 16px;
  bottom: 16px;
  left: auto;
  width: var(--modal-drawer-width);
  max-width: calc(100vw - 32px);
  max-height: none;
  height: auto;
  transform: translateX(28px);
}

.modal.modal-instructions.is-open .modal-dialog {
  transform: translateX(0);
}

.modal.modal-invoice .modal-dialog,
.modal.modal-quick-cid .modal-dialog,
.modal.modal-profile-card .modal-dialog {
  --modal-drawer-width: min(calc(100vw - 32px), 560px);
  width: var(--modal-drawer-width);
  max-width: calc(100vw - 32px);
  min-height: 0;
}

.modal.modal-track-comments .modal-dialog {
  --modal-drawer-width: min(calc(100vw - 32px), 760px);
  width: var(--modal-drawer-width);
  max-width: calc(100vw - 32px);
}

.modal.modal-messages .modal-dialog {
  --modal-drawer-width: min(calc(100vw - 32px), 760px);
  width: var(--modal-drawer-width);
  max-width: calc(100vw - 32px);
}

.modal.modal-track-post .modal-dialog,
.modal.modal-latest-news-post .modal-dialog,
.modal.modal-latest-news-editor .modal-dialog,
.modal.modal-metadata-generator .modal-dialog,
.modal.modal-project-generator .modal-dialog,
.modal.modal-profile-panel .modal-dialog {
  --modal-drawer-width: min(calc(100vw - 32px), 860px);
  width: var(--modal-drawer-width);
  max-width: calc(100vw - 32px);
  height: auto;
}

.modal.modal-follow-lists .modal-dialog {
  --modal-drawer-width: min(calc(100vw - 32px), 960px);
  width: var(--modal-drawer-width);
  max-width: calc(100vw - 32px);
  height: auto;
  max-height: none;
  margin: 0;
}

.modal.modal-cid-video-post .modal-dialog {
  --modal-drawer-width: min(calc(100vw - 32px), 1120px);
  width: var(--modal-drawer-width);
  max-width: calc(100vw - 32px);
  min-height: 0;
  height: auto;
  margin: 0;
}

@media (max-width: 1024px) {
  .modal-dialog {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
    transform: translateY(18px);
  }

  .modal.is-open .modal-dialog {
    transform: translateY(0);
  }

  .modal-head {
    padding-top: calc(14px + env(safe-area-inset-top, 0px));
  }

  .modal-body {
    flex: 1 1 auto;
    max-height: none;
    overflow-y: auto;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
}

.latest-news-generator-shell {
  margin-bottom: 12px;
}

.invoice-card {
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 14px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 98%, #ffffff 2%), color-mix(in srgb, var(--panel) 92%, transparent)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 8%, transparent), transparent 46%);
  padding: 14px;
}

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

.invoice-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
}

.invoice-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line) 58%);
  background: color-mix(in srgb, var(--accent) 16%, var(--panel) 84%);
  color: color-mix(in srgb, var(--ink) 90%, transparent);
}

.invoice-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  margin-top: 8px;
}

.invoice-label {
  color: color-mix(in srgb, var(--ink) 60%, transparent);
  font-size: 12px;
  font-weight: 700;
}

.invoice-value {
  color: color-mix(in srgb, var(--ink) 92%, transparent);
  font-size: 13px;
  font-weight: 700;
  word-break: break-word;
}

.invoice-wallet {
  margin-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--line) 64%, transparent);
  padding-top: 12px;
  display: grid;
  gap: 8px;
}

.invoice-wallet .wallet-value {
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: color-mix(in srgb, var(--ink) 94%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--card) 88%, transparent);
  border-radius: 10px;
  padding: 10px 12px;
}

.invoice-copy-btn {
  justify-self: start;
}

.tip-copy-row {
  margin-top: 8px;
  display: flex;
  justify-content: flex-start;
}

.tip-copy-btn {
  width: auto;
  min-height: 34px;
  padding: 8px 12px;
  font-size: 0.82rem;
}

.tip-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}

.tip-amount-input {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
  background: color-mix(in srgb, var(--card) 86%, transparent);
  color: color-mix(in srgb, var(--ink) 95%, transparent);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.tip-amount-input:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 36%, transparent);
  outline-offset: 1px;
}

.tip-status {
  margin: 10px 0 0;
  min-height: 20px;
}

.tip-status.is-error {
  color: #fca5a5;
}

.tip-status.is-success {
  color: #86efac;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.modal-head-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 4px;
}

.modal-head h3 {
  margin: 0;
}

.modal-subtitle {
  display: none;
  color: var(--subtle);
  font-size: 12px;
  line-height: 1.45;
}

.modal-version {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  white-space: nowrap;
}

.modal-body {
  color: var(--ink);
  line-height: 1.6;
  max-height: calc(80vh - 70px);
  overflow-y: auto;
}

.profile-panel-modal {
  display: grid;
  gap: 16px;
}

.profile-panel-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 98%, #ffffff 2%), color-mix(in srgb, var(--panel) 92%, transparent)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 12%, transparent), transparent 42%);
}

.profile-panel-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--muted-bg);
  flex: 0 0 auto;
}

.profile-panel-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.profile-panel-name {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.profile-panel-handle {
  margin: 0;
  color: var(--subtle);
  font-size: 0.9rem;
}

.profile-panel-copy,
.profile-panel-feed,
.profile-panel-grid {
  display: grid;
  gap: 14px;
}

.profile-panel-eyebrow {
  margin: 0;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-panel-bio {
  margin: 0;
  color: var(--ink);
  white-space: pre-wrap;
}

.profile-panel-latest-list {
  display: grid;
  gap: 14px;
}

.profile-panel-latest-list .latest-news-card {
  width: 100%;
}

.profile-panel-grid .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.profile-panel-grid .music-links-list,
.profile-panel-grid .rss-feed {
  display: grid;
  gap: 12px;
}

.profile-panel-rss-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
}

.profile-panel-rss-actions {
  align-items: center;
  justify-content: flex-end;
}

.profile-panel-grid .latest-news-slider-controls,
.profile-panel-grid .latest-news-create-btn {
  display: none !important;
}

.profile-panel-modal .info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.modal-actions.modal-actions-primary {
  margin-top: 0;
  margin-bottom: 12px;
}

.modal-actions.modal-actions-secondary {
  margin-top: 12px;
  margin-bottom: 12px;
}

/* Modal-only CTA styles */
.modal-actions .pill {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  font-size: 1rem;
  text-align: center;
  min-height: 52px;
}

.modal-actions-primary .ens-editor-primary {
  width: 100%;
  flex: 1 1 auto;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 16px 34px -20px rgba(0, 0, 0, 0.6);
}

.modal-actions-primary .ens-editor-primary:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.modal-actions .ens-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.55);
}

.modal-actions .ens-cta:hover {
  border-color: var(--accent);
}

.modal-actions .efp-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.55);
}

.modal-actions .efp-cta:hover {
  border-color: var(--accent);
}

.modal-actions .spasm-cta {
  background: #f321ae;
  border-color: #f321ae;
  color: #fff;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.55);
}

.modal-actions .spasm-cta:hover {
  border-color: #c1178a;
  background: #c1178a;
}

.modal-actions .pinata-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.55);
}

.modal-actions .pinata-cta:hover {
  border-color: var(--accent);
}

.wallet-modal {
  display: grid;
  gap: 12px;
}

.wallet-modal-copy {
  margin: 0;
  color: var(--subtle);
  font-size: 0.95rem;
}

.wallet-modal-status {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.wallet-options {
  display: grid;
  gap: 10px;
}

.wallet-option {
  width: 100%;
  border: 1px solid var(--accent);
  background: var(--chip);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wallet-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.55);
}

.wallet-option-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wallet-option-label img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  flex: 0 0 auto;
}

.wallet-option-title {
  font-weight: 600;
}

.wallet-option-meta {
  color: var(--subtle);
  font-size: 0.82rem;
}

.wallet-option:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.wallet-modal-note {
  margin: 0;
  color: var(--subtle);
  font-size: 0.86rem;
}

.block-brick.is-nft-locked .block-brick-media {
  position: relative;
  overflow: hidden;
}

.block-brick.is-nft-locked .block-brick-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
  pointer-events: none;
}

.block-brick.is-nft-locked .block-brick-media::after {
  content: attr(data-gate-label);
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  pointer-events: none;
}

.block-brick.is-nft-locked .block-brick-media img,
.block-brick.is-nft-locked .block-brick-video,
.block-brick.is-nft-locked .block-brick-frame {
  filter: blur(4px);
}

.block-brick.is-nft-locked .block-track-btn,
.block-brick.is-nft-locked .block-track-icon,
.block-brick.is-nft-locked .block-track-play,
.block-brick.is-nft-locked .block-track-details,
.block-brick.is-nft-locked .block-brick-audio {
  display: none !important;
}

.block-brick.is-nft-locked .block-track-btn.block-track-nft {
  display: inline-flex !important;
}

.instructions-modal {
  --menu-field-border: rgba(156, 163, 175, 0.34);
  --menu-field-border-strong: rgba(156, 163, 175, 0.48);
  --menu-field-bg: rgba(17, 19, 25, 0.72);
}

.instructions-modal .profile-card {
  margin: 12px 0;
}

.instructions-modal .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px 6px;
}

.instructions-modal .section-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.instructions-hub .instructions-nav {
  display: grid;
  margin: 2px 0 12px;
}

.instructions-hub .instructions-nav-group {
  display: grid;
  margin: 0;
  gap: 0;
}

.instructions-hub .instructions-nav-item,
.instructions-hub .instructions-tab {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
  font: inherit;
  font-size: 12.5px;
  font-weight: 620;
  letter-spacing: 0.01em;
  padding: 9px 4px;
  cursor: pointer;
  position: relative;
  box-shadow: none !important;
  min-height: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.instructions-hub .instructions-nav-item {
  text-decoration: none;
}

.instructions-hub .instructions-nav-item::before,
.instructions-hub .instructions-tab::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  flex: 0 0 12px;
}

.instructions-hub .instructions-tab-row {
  display: grid;
  margin: 0;
}

.instructions-hub .instructions-nav-item + .instructions-nav-item,
.instructions-hub .instructions-tab + .instructions-tab {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.instructions-hub .instructions-tab::after {
  content: "›";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1;
}

.instructions-hub .instructions-nav-item:hover,
.instructions-hub .instructions-tab:hover {
  color: #fff;
  background: color-mix(in srgb, var(--chip) 24%, transparent);
}

.instructions-hub .instructions-tab.is-active,
.instructions-hub .instructions-nav-item.is-active {
  color: #fff;
  background: color-mix(in srgb, var(--chip) 34%, transparent);
}

.instructions-hub .modal-actions {
  margin: 0;
}

.instructions-hub .modal-actions .pill {
  width: 100%;
  padding: 9px 4px;
  min-height: 0;
  font-size: 12.5px;
  justify-content: flex-start;
}

.instructions-hub .modal-actions .ens-cta,
.instructions-hub .modal-actions .spasm-cta,
.instructions-hub .modal-actions .pinata-cta,
.instructions-hub .modal-actions .ens-editor-primary {
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  border: 0;
  box-shadow: none;
}

.instructions-hub .instructions-nav {
  gap: 10px;
}

.instructions-hub .menu-group-title {
  margin: 0 2px -2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}

.instructions-hub .instructions-nav-group {
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  overflow: hidden;
}

.instructions-hub .instructions-nav-group.is-most-used {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line) 66%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent), 0 8px 24px rgba(0, 0, 0, 0.28);
  background: color-mix(in srgb, var(--panel) 96%, var(--accent) 4%);
}

.instructions-hub .instructions-nav .menu-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 560;
  color: color-mix(in srgb, var(--ink) 90%, transparent);
  text-decoration: none;
}

.instructions-hub .instructions-nav .menu-row::before,
.instructions-hub .instructions-nav .menu-row::after {
  content: none !important;
}

.instructions-hub .instructions-nav .menu-row + .menu-row {
  border-top: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
}

.instructions-hub .instructions-nav-group > .menu-row {
  border-top: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
}

.instructions-hub .instructions-nav-group > .menu-row:first-child {
  border-top: 0;
}

.instructions-hub .instructions-nav .menu-row:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--card) 88%, transparent);
}

.instructions-hub .instructions-nav .menu-row.is-static:hover {
  color: color-mix(in srgb, var(--ink) 90%, transparent);
  background: transparent;
}

.instructions-hub .instructions-nav .menu-row.is-active {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 14%, var(--card) 86%);
}

.instructions-hub .menu-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--card) 86%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.instructions-hub .menu-icon svg {
  width: 13px;
  height: 13px;
  display: block;
  stroke: color-mix(in srgb, var(--ink) 92%, transparent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.instructions-hub .menu-label {
  min-width: 0;
  flex: 1 1 auto;
}

.instructions-hub .menu-chevron {
  font-size: 12px;
  font-weight: 700;
  color: color-mix(in srgb, var(--ink) 50%, transparent);
  margin-left: auto;
  line-height: 1;
}

.instructions-hub .menu-row-value {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  white-space: nowrap;
}

.instructions-hub .instructions-hub-pane {
  margin-top: 0;
}

.instructions-hub .instructions-nav-group > .instructions-hub-pane {
  display: none;
  border-top: 1px solid color-mix(in srgb, var(--line) 64%, transparent);
  padding: 0 10px 10px;
  background: color-mix(in srgb, var(--card) 82%, transparent);
}

.instructions-hub .instructions-nav-group > .instructions-hub-pane.is-active {
  display: block;
}

.instructions-hub .instructions-nav-group > .instructions-hub-pane .profile-card {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.instructions-hub .instructions-nav-group > .instructions-hub-pane .section-head {
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: color-mix(in srgb, var(--ink) 90%, transparent);
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.01em;
  background: transparent;
}

.instructions-hub .instructions-nav-group > .instructions-hub-pane .profile-body {
  padding-left: 0;
  padding-right: 0;
}

.instructions-hub .instructions-hub-pane[data-instruction-pane="metadata"] > .profile-card > .accordion > summary.section-head,
.instructions-hub .instructions-hub-pane[data-instruction-pane="project-generator"] > .profile-card > .accordion > summary.section-head {
  display: none;
}

.instructions-hub .instructions-nav-group > .instructions-hub-pane .section-head:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--card) 88%, transparent);
}

.instructions-hub .instructions-nav-group > .instructions-hub-pane .accordion[open] > .section-head {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 14%, var(--card) 86%);
}

.instructions-hub .instructions-nav-group > .instructions-hub-pane .section-head::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--card) 86%, transparent);
  flex: 0 0 18px;
}

.instructions-hub .instructions-nav-group > .instructions-hub-pane .section-head::after {
  content: "›";
  margin-left: auto;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
}

.instructions-hub .instructions-nav-group > .instructions-hub-pane .accordion[open] > .section-head::after {
  transform: translateY(-1px) rotate(90deg);
}

.instructions-hub .instructions-nav-group > .instructions-hub-pane .section-head::after {
  color: color-mix(in srgb, var(--ink) 50%, transparent);
}

.instructions-hub .instructions-nav-group > .instructions-hub-pane .section-title {
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.01em;
  color: inherit;
}

.instructions-hub .instructions-hub-pane[data-instruction-pane="instructions"] .profile-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.instructions-hub .instructions-hub-pane[data-instruction-pane="instructions"] .section-head {
  padding-left: 10px;
  padding-right: 10px;
}

.instructions-hub .instructions-hub-pane[data-instruction-pane="instructions"] .profile-body {
  padding-left: 0;
  padding-right: 0;
}

.instructions-hub .instructions-hub-pane[data-instruction-pane="instructions"] .info-grid {
  display: grid;
  gap: 8px;
}

.instructions-hub .instructions-hub-pane[data-instruction-pane="instructions"] .info-block {
  border: 0;
  background: transparent;
  padding: 4px 0 10px;
}

.instructions-hub .instructions-hub-pane[data-instruction-pane="instructions"] .accordion > summary.section-head::after {
  content: "›";
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  margin-left: 10px;
  transform: translateY(-1px);
}

.instructions-hub .instructions-hub-pane[data-instruction-pane="instructions"] .accordion[open] > summary.section-head::after {
  content: "⌄";
  font-size: 14px;
}

.instructions-hub .instructions-nav-group > .instructions-hub-pane .accordion > summary.section-head::after,
.instructions-hub .instructions-hub-pane[data-instruction-pane="instructions"] .accordion > summary.section-head::after {
  content: "›";
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin-left: auto;
  transform: translateY(-1px);
}

.instructions-hub .instructions-nav-group > .instructions-hub-pane .accordion[open] > summary.section-head::after,
.instructions-hub .instructions-hub-pane[data-instruction-pane="instructions"] .accordion[open] > summary.section-head::after {
  content: "›";
  transform: translateY(-1px) rotate(90deg);
}

.instructions-modal .accordion {
  border: 0;
}

.instructions-modal .accordion > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.instructions-modal .accordion > summary::-webkit-details-marker {
  display: none;
}

.instructions-modal .accordion > summary.section-head::after {
  content: "+";
  color: var(--subtle);
  font-size: 1.1rem;
  line-height: 1;
  margin-left: 10px;
}

.instructions-modal .accordion[open] > summary.section-head::after {
  content: "-";
}

.instructions-modal .profile-body {
  padding: 10px 16px 18px;
}

.instructions-modal .info-block {
  padding: 12px 14px;
}

.instructions-modal .meta-generator {
  display: grid;
  gap: 12px;
}

.instructions-modal .meta-intro {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.instructions-modal .meta-columns {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.instructions-modal .meta-column {
  display: grid;
  gap: 12px;
}

.instructions-modal .meta-column .label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.instructions-modal .meta-field {
  display: grid;
  gap: 6px;
}

.instructions-modal .meta-field-important {
  border: 1px solid rgba(104, 174, 255, 0.75);
  border-radius: 5px;
  padding: 10px 10px 9px;
  background: rgba(31, 53, 84, 0.28);
  box-shadow: 0 0 0 1px rgba(104, 174, 255, 0.18);
}

.instructions-modal .meta-field-important .meta-input {
  border-color: rgba(104, 174, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(104, 174, 255, 0.22);
}

.instructions-modal .meta-note-important {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(212, 232, 255, 0.95);
}

.instructions-modal .project-auto-post {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 2px;
  padding: 10px 12px;
  border: 1px solid rgba(139, 240, 189, 0.28);
  border-radius: 12px;
  background: rgba(19, 36, 28, 0.56);
  color: rgba(231, 255, 241, 0.95);
  font-size: 12px;
  line-height: 1.45;
}

.instructions-modal .project-auto-post input[type="checkbox"] {
  margin: 2px 0 0;
  accent-color: #8bf0bd;
}

.instructions-modal .project-auto-post code {
  color: #8bf0bd;
}

.instructions-modal .project-slot-hint {
  margin: 2px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(114, 173, 255, 0.24);
  background: rgba(17, 28, 44, 0.5);
  color: rgba(224, 238, 255, 0.94);
  font-size: 12px;
  line-height: 1.45;
}

.instructions-modal .meta-accordion {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(17, 19, 25, 0.6);
}

.instructions-modal .meta-accordion-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  user-select: none;
}

.instructions-modal .meta-accordion-summary::-webkit-details-marker {
  display: none;
}

.instructions-modal .meta-accordion-summary::after {
  content: "▾";
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease;
}

.instructions-modal .meta-accordion[open] .meta-accordion-summary::after {
  transform: rotate(-180deg);
}

.instructions-modal .meta-accordion-body {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.instructions-modal .meta-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.instructions-modal .meta-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--menu-field-border);
  background: var(--menu-field-bg);
  color: #fff;
  font: inherit;
  line-height: 1.4;
}

.instructions-modal .meta-textarea {
  resize: vertical;
  min-height: 88px;
}

.instructions-modal .meta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.instructions-modal .meta-output {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f1116;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.instructions-modal .project-upload-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.instructions-modal .project-ipfs-section {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 14, 18, 0.45);
}

.instructions-modal .project-ipfs-section .helper {
  margin: 0;
}

.instructions-modal .project-ipfs-section .meta-actions {
  margin-top: 0;
}

.instructions-modal .project-ipfs-title {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.instructions-modal .project-ipfs-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.instructions-modal .project-ipfs-wide {
  grid-column: 1 / -1;
}

.instructions-modal .project-ipfs-basic-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.instructions-modal .project-status {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(179, 255, 205, 0.95);
}

.instructions-modal .project-status.is-error {
  color: rgba(255, 159, 159, 0.96);
}

.instructions-modal .project-ens-save {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(104, 174, 255, 0.24);
  background: rgba(17, 28, 44, 0.42);
}

.instructions-modal .project-ens-save-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(245, 250, 255, 0.96);
}

.instructions-modal .project-ens-save-copy,
.instructions-modal .project-ens-save-cid {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(224, 238, 255, 0.9);
}

.instructions-modal .project-ens-save .helper {
  margin-top: 0;
}

.instructions-modal .project-ens-save-status.is-error {
  color: rgba(255, 159, 159, 0.96);
}

.instructions-modal .project-ens-save-status.is-success {
  color: rgba(179, 255, 205, 0.95);
}

.instructions-modal .cheatsheet-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.instructions-modal .key-cheatsheet {
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f1116;
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.instructions-modal .cheatsheet-grid {
  column-count: 2;
  column-gap: 24px;
}

.instructions-modal .cheatsheet-group {
  break-inside: avoid;
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 14, 18, 0.5);
}

.instructions-modal .cheatsheet-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.instructions-modal .cheatsheet-list {
  display: grid;
  gap: 6px;
}

.instructions-modal .cheatsheet-note {
  margin: 8px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.instructions-modal .cheatsheet-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.instructions-modal .cheatsheet-item code {
  font-size: 12px;
  color: #fff;
}

.instructions-modal .key-copy-btn {
  min-width: 56px;
  padding: 6px 10px;
  font-size: 11px;
}

@media (max-width: 720px) {
  .instructions-modal .cheatsheet-grid {
    column-count: 1;
  }
}

@media (max-width: 720px) {
  .instructions-modal .meta-columns {
    grid-template-columns: 1fr;
  }

  .instructions-modal .project-upload-grid,
  .instructions-modal .project-ipfs-grid,
  .instructions-modal .project-ipfs-basic-grid {
    grid-template-columns: 1fr;
  }
}

.instructions-modal .theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.instructions-modal .theme-control {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.instructions-modal .theme-control label {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
}

.instructions-modal #bg-select,
.instructions-modal #cards-select,
.instructions-modal #details-select,
.instructions-modal #text-select,
.instructions-modal #player-select {
  display: none !important;
}

.instructions-modal select,
.instructions-modal .key-input,
.instructions-modal .theme-reset {
  width: 100%;
  padding: 10px 12px;
  border-radius: 15px;
  border: 1px solid var(--menu-field-border);
  background: var(--menu-field-bg);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

.instructions-modal .key-input {
  cursor: default;
  font-weight: 500;
}

.instructions-modal .key-input::selection {
  background: var(--accent);
  color: #fff;
}

.instructions-modal select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.instructions-modal .theme-reset {
  background: transparent;
  border-color: var(--menu-field-border);
}

.instructions-modal .theme-color-picker {
  width: 100%;
  height: 44px;
  padding: 0;
  border-radius: 15px;
  border: 1px solid var(--menu-field-border);
  background: var(--menu-field-bg);
  cursor: pointer;
}

.instructions-modal .theme-color-picker:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.instructions-modal .theme-color-picker::-webkit-color-swatch-wrapper {
  padding: 6px;
}

.instructions-modal .theme-color-picker::-webkit-color-swatch {
  border: 0;
  border-radius: 11px;
}

.instructions-modal .theme-key {
  margin-top: 6px;
  display: grid;
  gap: 8px;
}

.instructions-modal .key-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.instructions-modal .key-row .key-input {
  padding: 8px 10px;
  font-size: 12px;
}

.instructions-modal .copy-btn {
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid var(--menu-field-border);
  background: var(--chip);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  white-space: nowrap;
}

.instructions-modal .copy-btn:hover {
  border-color: var(--menu-field-border-strong);
}

.instructions-modal .theme-preview-warning {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--menu-field-border);
  background: rgba(12, 14, 18, 0.6);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.45;
}

.instructions-modal .theme-preview-warning strong {
  color: #fff;
}

.instructions-modal .theme-preview-warning a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.instructions-modal .install-card {
  margin: 12px 0;
}

.instructions-modal .install-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.55);
}

.instructions-modal .install-cta:hover {
  border-color: var(--accent);
}

.instructions-modal .install-cta[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.instructions-modal .install-note {
  font-size: 0.85rem;
}

.instructions-modal .ens-editor-toolbar {
  display: grid;
  gap: 10px;
}

.instructions-modal .ens-editor-ens-row {
  display: grid;
  gap: 6px;
}

.instructions-modal .ens-editor-ens-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.instructions-modal .ens-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.instructions-modal[data-quick-cid-root] .meta-field {
  margin-bottom: 12px;
}

.instructions-modal[data-quick-cid-root] .ens-editor-actions {
  margin-top: 18px;
}

.instructions-modal[data-quick-cid-root] [data-quick-cid-wallet],
.instructions-modal[data-quick-cid-root] [data-quick-cid-status] {
  margin-top: 12px;
}

.instructions-modal[data-create-playlist-root] .meta-field {
  margin-bottom: 12px;
}

.instructions-modal[data-create-playlist-root] .ens-editor-actions {
  margin-top: 18px;
}

.instructions-modal[data-create-playlist-root] [data-create-playlist-wallet],
.instructions-modal[data-create-playlist-root] [data-create-playlist-status] {
  margin-top: 12px;
}

.instructions-modal .playlist-type-grid {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.instructions-modal .playlist-type-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(17, 19, 25, 0.7);
  cursor: pointer;
}

.instructions-modal .playlist-type-option input {
  margin: 3px 0 0;
  accent-color: #3f90db;
}

.instructions-modal .playlist-type-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.instructions-modal .playlist-type-copy strong {
  color: #fff;
  font-size: 13px;
}

.instructions-modal .playlist-type-copy small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.4;
}

.instructions-modal .ens-editor-group-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.instructions-modal .ens-editor-inline-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.instructions-modal .ens-editor-inline-controls .ens-editor-input {
  width: auto;
  min-width: 220px;
}

.instructions-modal .ens-editor-group-count {
  font-size: 12px;
  color: var(--subtle);
  font-weight: 700;
}

.instructions-modal .ens-editor-featured {
  border: 1px solid rgba(63, 144, 219, 0.55);
  box-shadow: 0 0 0 1px rgba(63, 144, 219, 0.18), 0 22px 44px -34px rgba(63, 144, 219, 0.8);
}

.instructions-modal .ens-editor-featured .section-head {
  background: linear-gradient(135deg, rgba(63, 144, 219, 0.2), rgba(243, 33, 174, 0.16));
}

.instructions-modal .ens-editor-featured-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(63, 144, 219, 0.55);
  background: rgba(9, 16, 27, 0.7);
  color: #9cd0ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.instructions-modal .ens-editor-grid {
  display: grid;
  gap: 8px;
}

.instructions-modal .ens-editor-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 14, 18, 0.45);
}

.instructions-modal .ens-editor-key {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
}

.instructions-modal .ens-editor-field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  white-space: normal;
}

.instructions-modal .ens-editor-key code {
  font-size: 12px;
  color: color-mix(in srgb, #ffffff 86%, var(--subtle) 14%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.instructions-modal .ens-editor-key {
  align-items: center;
}

@media (min-width: 721px) {
  .instructions-modal .ens-editor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .instructions-modal .ens-editor-row.ens-editor-row-half {
    grid-column: auto;
  }
}

.instructions-modal .ens-editor-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--menu-field-border);
  background: var(--menu-field-bg);
  color: #fff;
  font: inherit;
  line-height: 1.35;
}

.instructions-modal .ens-editor-value-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
}

.instructions-modal .ens-editor-color-input {
  width: 44px;
  height: 44px;
  padding: 2px;
  border-radius: 10px;
  border: 1px solid var(--menu-field-border);
  background: var(--menu-field-bg);
  cursor: pointer;
}

.instructions-modal .ens-editor-color-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.instructions-modal .ens-editor-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.instructions-modal .ens-editor-color-input::-webkit-color-swatch {
  border: none;
  border-radius: 8px;
}

.instructions-modal .ens-editor-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.instructions-modal .ens-editor-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.instructions-modal .ens-editor-custom-list {
  display: grid;
  gap: 8px;
}

.instructions-modal .ens-editor-custom-row {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.instructions-modal .ens-editor-remove {
  white-space: nowrap;
}

@media (min-width: 720px) {
  .modal-actions .pill {
    flex: 1 1 180px;
    padding: 16px 20px;
    font-size: 1.05rem;
  }

  .modal-actions-primary .ens-editor-primary {
    flex: 1 1 auto;
  }
}

.info-block {
  padding: 14px 16px;
  background: var(--muted-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.info-value {
  margin: 4px 0 0;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
  text-decoration: none;
}

.instructions-modal .theme-control .info-value.muted,
.instructions-modal .theme-grid + .info-value.muted {
  font-size: 14px;
}

.info-value a {
  color: #3f90db;
  text-decoration: none;
}

.info-value a.auto-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-value a:hover {
  text-decoration: underline;
}

.ens-bio a {
  color: #3f90db;
  text-decoration: none;
}

.ens-bio a:hover {
  text-decoration: underline;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  background: var(--chip);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 15px;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -18px rgba(0, 0, 0, 0.55);
}

#my-feeds .profile-body,
#block-bricks .profile-body,
#advert .profile-body {
  padding-bottom: 36px;
}

.market-button {
  display: none;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  flex: 1 1 50%;
  text-align: center;
}

.market-button.ghost {
  background: var(--chip);
  color: var(--ink);
  border-color: var(--line);
}

.market-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -18px rgba(0, 0, 0, 0.55);
}

.support-button {
  display: inline-flex;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  flex: 1 1 100%;
  text-align: center;
}

.support-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -18px rgba(0, 0, 0, 0.5);
  border-color: var(--accent);
}

@keyframes rpcWalletLid {
  0%,
  20% {
    transform: translateX(-50%) rotateX(0deg);
  }
  45%,
  75% {
    transform: translateX(-50%) rotateX(70deg);
  }
  100% {
    transform: translateX(-50%) rotateX(0deg);
  }
}

@keyframes rpcWalletCard {
  0%,
  25% {
    transform: translateX(-50%) translateY(22px);
    opacity: 0;
  }
  45%,
  75% {
    transform: translateX(-50%) translateY(-18px);
    opacity: 0.95;
  }
  100% {
    transform: translateX(-50%) translateY(22px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rpc-loading-wallet::after,
  .rpc-loading-wallet-card,
  .rpc-loading-caption-inner {
    animation: none !important;
  }
}

.is-rpc-loading [data-status] {
  display: none !important;
}

.rpc-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
}

.rpc-loading-wallet {
  width: 180px;
  height: 112px;
  position: relative;
  display: block;
  color: rgba(255, 255, 255, 0.9);
  perspective: 900px;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.38));
}

.rpc-loading-wallet::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: 160px;
  height: 82px;
  transform: translateX(-50%);
  border: 10px solid currentColor;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.rpc-loading-wallet::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 54px;
  z-index: 3;
  width: 160px;
  height: 56px;
  transform: translateX(-50%) rotateX(0deg);
  transform-origin: 50% 100%;
  border: 10px solid currentColor;
  border-bottom: none;
  border-radius: 22px 22px 16px 16px;
  background: rgba(255, 255, 255, 0.04);
  animation: rpcWalletLid 1.35s ease-in-out infinite;
}

.rpc-loading-wallet-card {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  width: 116px;
  height: 64px;
  transform: translateX(-50%) translateY(22px);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(83, 242, 255, 0.95), rgba(139, 93, 255, 0.95));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
  opacity: 0;
  animation: rpcWalletCard 1.35s ease-in-out infinite;
}

.rpc-loading-wallet-card::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 34px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  opacity: 0.8;
}

.rpc-loading-caption {
  --caption-tilt: 0deg;
  --caption-drift: 0px;
  transform: translateX(var(--caption-drift)) rotate(var(--caption-tilt));
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: min(520px, calc(100vw - 40px));
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.rpc-loading-caption-inner {
  display: inline-block;
  animation: rpcCaptionSway 4.8s ease-in-out infinite;
}

@keyframes rpcCaptionSway {
  0% {
    transform: translateY(0) rotate(-0.7deg);
    opacity: 0.88;
  }
  50% {
    transform: translateY(3px) rotate(0.7deg);
    opacity: 0.98;
  }
  100% {
    transform: translateY(0) rotate(-0.4deg);
    opacity: 0.9;
  }
}

.helper {
  margin-top: 16px;
}

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

.error {
  color: #c0392b;
}

.site-footer {
  margin: 40px 0 20px;
  text-align: center;
  color: var(--subtle);
  font-size: 0.95rem;
}

.site-footer a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .shell {
    width: 100%;
    padding: 0 10px;
  }

  .layout-grid {
    gap: 14px;
    margin: 12px 0;
  }

  .layout-left,
  .layout-right {
    gap: 14px;
  }

  .post-feed {
    gap: 12px;
  }

  .profile-nav-row {
    width: auto;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .cover {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 200px;
  }

  .cover-media {
    object-fit: contain;
    background: #0b0d10;
  }

  .site-header .shell {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .header-spacer {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .wallet-header-btn {
    width: var(--icon-container-size);
    min-width: var(--icon-container-size);
    height: var(--icon-container-size);
    padding: 0;
    gap: 0;
  }

  .wallet-header-copy {
    max-width: 34vw;
  }

  .site-logo {
    order: 0;
    margin-left: 4px;
  }

  .site-logo img {
    width: 46px;
    height: 46px;
  }


  .avatar-row {
    --avatar-overlap: 50px;
    flex-direction: row;
    align-items: flex-start;
    position: relative;
    margin-top: 0;
    gap: 12px;
    padding: 0 8px 10px;
  }

  .avatar-col {
    margin-top: 0;
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-areas:
      "avatar actions"
      "name name"
      "blab blab"
      "stats stats";
    column-gap: 12px;
    row-gap: 8px;
    align-items: start;
  }

  .avatar-col .avatar-wrap {
    grid-area: avatar;
    margin-bottom: 0;
  }

  .avatar-col .profile-side-actions {
    grid-area: actions;
  }

  .avatar-col .ens-name-row {
    grid-area: name;
  }

  .avatar-col .ens-blab-row {
    grid-area: blab;
  }

  .avatar-col .profile-stats-row {
    grid-area: stats;
  }

  .follow-spot {
    margin-top: 0;
  }

  .profile-side-actions {
    width: 100%;
    margin: 0;
    padding-top: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 10px;
    flex: 0 0 auto;
  }

  .profile-side-actions .follow-spot {
    align-self: flex-end;
    width: auto;
  }

  .profile-side-actions .profile-nav-row {
    width: auto;
    justify-content: flex-end;
  }

  .follow-counts {
    width: auto;
    max-width: 100%;
  }

  .ens-name {
    font-size: 1.7rem;
  }

  .profile-body {
    padding: 6px 8px 12px;
  }

  .section-head {
    padding: 8px 8px 4px;
  }

  .cid-player-head {
    flex-wrap: wrap;
  }

  .cid-player-tab-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cid-player-tab-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .info-block {
    padding: 10px;
  }

  /* Ensure Block Bricks stays visible on mobile */
  #block-bricks:not([hidden]) {
    display: block !important;
  }

  .block-brick-media img,
  .block-brick-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .rss-item {
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-areas:
      "thumb body"
      "btn btn";
    align-items: start;
  }

  .rss-thumb {
    grid-area: thumb;
    width: 52px;
    height: 52px;
  }

  .rss-item-body {
    grid-area: body;
  }

  .rss-copy-btn {
    grid-area: btn;
    justify-self: end;
    margin-top: 4px;
  }
}

@media (max-width: 720px) {
  .latest-news-slider {
    scroll-snap-type: x proximity;
  }

  .modal .modal-dialog {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .modal .modal-head {
    padding-top: calc(14px + env(safe-area-inset-top, 0px));
  }

  .modal .modal-body {
    flex: 1 1 auto;
    max-height: none;
    overflow-y: auto;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .follow-list-modal {
    gap: 14px;
  }

  .follow-list-tabs {
    gap: 14px;
  }

  .follow-list-search-input {
    padding: 9px 11px;
  }

  .follow-list-tab {
    flex: 1 1 0;
    min-width: 0;
  }

  .follow-list-card {
    padding: 14px;
    border-radius: 18px;
  }

  .efp-profile-content {
    padding: 9px 10px;
    gap: 7px;
  }

  .efp-profile-identity {
    gap: 8px;
    align-items: flex-start;
  }

  .efp-profile-avatar {
    width: 42px;
    height: 42px;
  }

  .efp-profile-name {
    font-size: 0.9rem;
  }

  .efp-profile-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .efp-profile-action {
    width: 100%;
    justify-content: center;
  }

  .modal.modal-instructions .modal-dialog {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .modal.modal-instructions .modal-body {
    max-height: none;
    flex: 1 1 auto;
    overflow-y: auto;
  }

  .instructions-modal .section-head {
    padding: 12px 12px 6px;
  }

  .instructions-modal .profile-body {
    padding: 10px 12px 16px;
  }

  .instructions-modal .info-block {
    padding: 10px 12px;
  }

  .instructions-modal .theme-grid {
    grid-template-columns: 1fr;
  }

  .instructions-modal .ens-editor-ens-input-row {
    grid-template-columns: 1fr;
  }

  .instructions-modal .ens-editor-row {
    grid-template-columns: 1fr;
  }

  .instructions-modal .ens-editor-key code {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .instructions-modal .ens-editor-custom-row {
    grid-template-columns: 1fr;
  }

  .instructions-modal .ens-editor-inline-controls {
    width: 100%;
  }

  .instructions-modal .ens-editor-inline-controls .ens-editor-input,
  .instructions-modal .ens-editor-inline-controls .pill {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .modal.modal-track-comments .modal-dialog {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .modal.modal-track-comments .modal-body {
    max-height: none;
    flex: 1 1 auto;
    overflow-y: auto;
  }

  .modal.modal-track-comments .track-comments-modal {
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }

  .modal.modal-track-comments .track-comments-list {
    max-height: none;
    flex: 1 1 auto;
  }

  .modal.modal-quick-cid .modal-dialog {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .modal.modal-quick-cid .modal-body {
    max-height: none;
    flex: 1 1 auto;
    overflow-y: auto;
  }

  .modal.modal-latest-news-post .modal-dialog {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .modal.modal-latest-news-post .modal-body {
    max-height: none;
    flex: 1 1 auto;
    overflow-y: auto;
  }

  .modal.modal-latest-news-post .latest-news-post-modal {
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }

  .modal.modal-profile-panel .modal-dialog {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .modal.modal-profile-panel .modal-body {
    max-height: none;
    flex: 1 1 auto;
    overflow-y: auto;
  }

  .modal.modal-profile-card .modal-dialog {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
  }

  .profile-panel-identity {
    padding: 12px;
    border-radius: 14px;
  }

  .profile-panel-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .profile-panel-rss-item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "body"
      "actions";
    align-items: start;
  }

  .profile-panel-rss-item .rss-item-body {
    grid-area: body;
  }

  .profile-panel-rss-actions {
    grid-area: actions;
    justify-content: flex-start;
  }

  .modal.modal-track-post .track-post-modal {
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }

  .modal.modal-cid-video-post .track-post-modal {
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .post-page-main {
    padding-top: 0;
  }

  .post-page-head {
    gap: 12px;
  }

  .post-page-head-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .post-page-title {
    font-size: 1.45rem;
  }

  .modal.modal-track-post .modal-dialog {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .modal.modal-track-post .modal-body {
    max-height: none;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .modal.modal-cid-video-post .modal-dialog {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .modal.modal-cid-video-post .modal-body {
    max-height: none;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .track-post-card {
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    border-left: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
    border-right: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  }

  .track-post-media {
    border-radius: 12px;
  }

  .track-post-media img,
  .track-post-media video,
  .track-post-media iframe {
    min-height: 0;
  }

  .track-post-media img {
    height: auto;
    max-height: min(56vh, 420px);
    object-fit: contain;
    background: rgba(0, 0, 0, 0.3);
  }

  .track-post-media video,
  .track-post-media iframe {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .track-post-modal.is-video-post .track-post-media video,
  .track-post-modal.is-video-post .track-post-media iframe,
  .track-post-modal.is-video-post .track-post-media img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .track-post-media-audio img {
    max-height: min(46vh, 320px);
  }

  .cid-video-post-channel,
  .cid-video-post-channel-actions,
  .cid-video-post-toolbar {
    align-items: stretch;
  }

  .track-post-actions,
  .track-post-stats,
  .track-post-meta,
  .track-post-reactions {
    min-width: 0;
  }

  .main-shell {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 14px;
  }

  .main-shell .profile-card {
    margin: 10px 0;
    border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-shell .layout-grid .profile-card {
    margin: 0;
  }

  .theme-section-borders .main-shell .profile-card {
    border: 1px solid var(--line);
  }

  .main-shell .section-head {
    padding-top: 8px;
    padding-bottom: 4px;
  }

  .main-shell .profile-body {
    padding-top: 6px;
    padding-bottom: 12px;
  }

  .main-shell #post-section .profile-body,
  .main-shell #block-bricks .profile-body,
  .main-shell #advert .profile-body {
    padding-bottom: 14px;
  }

  .main-shell .profile-card:last-of-type .profile-body {
    padding-bottom: 18px;
  }
}
