﻿:root {
  --taskbar-height: 82px;
  --taskbar-mobile-height: 96px;
  --text: #ffffff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  --glass-bg: rgba(32, 44, 53, 0.28);
  --glass-border: rgba(255, 255, 255, 0.18);
  --accent-primary: #c9ff72;
  --accent-secondary: #6dffb3;
  --accent-contrast: #16311b;
  --accent-soft: rgba(186, 255, 113, 0.18);
  --accent-border: rgba(186, 255, 113, 0.34);
  --accent-glow: rgba(142, 255, 94, 0.32);
  --sun-x: 1230px;
  --sun-y: 125px;
  --sun-rays-size: 290vmin;
  --sun-flare-size: min(24vw, 360px);
  --desktop-wallpaper: url("assets/Wallpaper.png");
  --desktop-rays-opacity: 0.8;
  --sun-rays-opacity: 0.8;
  --hm-nav-offset: 82px;
}

/* OS app final overrides */
.name-my-weed-window,
.profiles-window,
.blog-window,
.blog-post-window,
.profile-detail-window,
.name-my-weed-strain-window {
  width: min(1120px, calc(100vw - 28px)) !important;
}

.name-my-weed-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
}

.name-my-weed-card.hm-strain-card {
  min-height: 148px;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  padding: 16px;
}

.name-my-weed-card.hm-strain-card img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  image-rendering: pixelated;
}

.name-my-weed-card .hm-strain-card-copy strong,
.name-my-weed-card .hm-strain-card-copy small {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.profiles-search,
.blog-os-search {
  min-height: 52px;
  border-radius: 8px;
  background: rgba(10, 12, 18, 0.72);
}

.profiles-search input,
.blog-os-search {
  font: inherit;
  font-size: 1rem;
}

.profile-search-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.profile-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.blog-post-os {
  width: min(100%, 980px);
  margin: 0 auto;
  font-size: clamp(0.95rem, 0.9rem + 0.18vw, 1.08rem);
  line-height: 1.65;
}

.blog-post-os-head {
  grid-template-columns: 1fr;
}

.blog-post-os-head h1 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.6rem);
  line-height: 1.12;
}

.blog-post-os-cover {
  min-height: clamp(160px, 28vw, 320px);
}

.blog-post-os-content {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.blog-post-os-content img,
.blog-post-os-content video,
.blog-post-os-content iframe {
  max-width: 100%;
  height: auto;
}

.blog-post-os-content iframe {
  aspect-ratio: 16 / 9;
}

.os-profile-banner {
  min-height: clamp(150px, 24vw, 280px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12) center / cover no-repeat;
}

.os-profile-achievement-grid,
.os-profile-friends {
  display: grid;
  gap: 10px;
}

.name-my-weed-window,
.profiles-window,
.blog-window,
.blog-post-window,
.profile-detail-window,
.name-my-weed-strain-window {
  width: min(1120px, calc(100vw - 28px));
}

.name-my-weed-window-body,
.profiles-window-body,
.blog-window-body,
.blog-post-window-body,
.profile-detail-window-body,
.name-my-weed-strain-window-body {
  display: grid;
  gap: 14px;
}

.name-my-weed-grid,
.profiles-list,
.blog-os-list,
.name-my-weed-submissions,
.name-my-weed-candidates {
  display: grid;
  gap: 10px;
}

.name-my-weed-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.name-my-weed-card {
  min-height: 148px !important;
  grid-template-columns: 96px minmax(0, 1fr) !important;
  align-items: center !important;
}

.name-my-weed-card .hm-strain-card-copy {
  min-width: 0;
}

.name-my-weed-card .hm-strain-card-copy strong,
.name-my-weed-card .hm-strain-card-copy small {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  line-height: 1.25;
}

.name-my-weed-card img {
  width: 88px !important;
  height: 88px !important;
  object-fit: contain !important;
}

.name-my-weed-card img,
.name-my-weed-entry img,
.name-my-weed-strain-hero img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.name-my-weed-entry,
.profile-search-row,
.blog-os-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
}

.name-my-weed-entry img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.profiles-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(10, 12, 18, 0.72);
}

.profiles-search input {
  width: 100%;
  min-height: 52px;
  border: 0;
  outline: 0;
  color: inherit;
  font: inherit;
  font-size: 1rem;
  background: transparent;
}

.blog-os-search {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: inherit;
  font: inherit;
  background: rgba(10, 12, 18, 0.72);
}

.profile-search-avatar,
.blog-os-thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12) center / cover no-repeat;
}

.profile-search-copy,
.blog-os-card span,
.name-my-weed-entry span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.profile-search-copy strong,
.blog-os-card strong,
.name-my-weed-entry strong {
  overflow-wrap: anywhere;
}

.blog-os-card {
  grid-template-columns: 82px minmax(0, 1fr);
}

.profile-search-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.profile-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.blog-os-thumb {
  width: 82px;
  height: 62px;
}

.blog-os-card em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.name-my-weed-strain-hero,
.public-profile-hero,
.blog-post-os-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.name-my-weed-strain-hero img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.name-my-weed-vote-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.blog-post-os {
  display: grid;
  gap: 16px;
  width: min(100%, 980px) !important;
  margin: 0 auto !important;
  font-size: clamp(0.95rem, 0.9rem + 0.18vw, 1.08rem);
  line-height: 1.65;
}

.blog-post-os-cover {
  min-height: clamp(160px, 28vw, 320px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1) center / cover no-repeat;
}

.blog-post-os-content {
  display: grid;
  gap: 12px;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

.blog-post-os-content img,
.blog-post-os-content video,
.blog-post-os-content iframe {
  max-width: 100% !important;
  height: auto !important;
}

.blog-post-os-content iframe {
  aspect-ratio: 16 / 9;
}

.blog-post-os-head {
  grid-template-columns: 1fr;
  gap: 6px;
}

.blog-post-os-head h1 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.6rem);
  line-height: 1.12;
}

.blog-emote-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-emote-picker button {
  width: 34px;
  height: 34px;
  padding: 2px;
}

.blog-emote-picker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.os-profile-page {
  display: grid;
  gap: 16px;
}

.os-profile-banner {
  min-height: clamp(150px, 24vw, 280px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12) center / cover no-repeat;
}

.os-profile-achievement-grid,
.os-profile-friends {
  display: grid;
  gap: 10px;
}

.os-profile-achievement {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.os-profile-achievement img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.os-profile-friends button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  text-align: left;
}

.os-username-button {
  border: 0;
  padding: 0;
  text-align: left;
  background: transparent;
}

@media (max-width: 720px) {
  .name-my-weed-strain-hero,
  .public-profile-hero {
    grid-template-columns: 1fr;
  }

  .name-my-weed-vote-form,
  .blog-os-card {
    grid-template-columns: 1fr;
  }
}

body.hm-scrolled {
  --hm-nav-offset: 18px;
}

/* Final admin dashboard performance overrides. */
.admin-control-graph::before,
.admin-ambient-particles {
  display: none !important;
}

.admin-line-area {
  display: none !important;
}

.admin-neon-line {
  stroke-width: 2.5px !important;
  stroke-linejoin: round;
  filter: none !important;
}

.admin-data-point circle {
  filter: none !important;
}

body {
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
select,
[contenteditable],
pre,
code,
kbd,
samp,
.copyable,
[data-copyable],
[data-coupon-copy],
[data-link-copy],
[data-chat-image-preview],
.community-message-body,
.chat-message-body {
  -webkit-user-select: text;
  user-select: text;
}

.admin-dashboard-page {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  width: min(1500px, calc(100% - 40px));
  margin: 28px auto 90px;
}

.admin-dashboard-sidebar {
  position: sticky;
  top: 28px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 18px;
  border-color: rgba(111, 216, 255, 0.18);
}

.admin-dashboard-sidebar strong {
  color: #9cff72;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.admin-dashboard-sidebar a,
.admin-dashboard-actions a,
.admin-panel-head a {
  text-decoration: none;
}

.admin-dashboard-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.admin-dashboard-sidebar a:hover,
.admin-dashboard-sidebar a.is-active {
  color: #ffffff;
  background: rgba(111, 216, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(156, 255, 114, 0.18), 0 14px 34px rgba(111, 216, 255, 0.08);
  transform: translateX(3px);
}

.admin-dashboard-main {
  min-width: 0;
}

.admin-dashboard-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.admin-dashboard-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.admin-dashboard-hero p:not(.landing-kicker) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.02rem;
}

.admin-dashboard-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-metric-grid,
.admin-dashboard-grid {
  display: grid;
  gap: 14px;
}

.admin-metric-grid {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  margin-bottom: 14px;
}

.admin-panel {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.admin-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(156, 255, 114, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), 0 0 34px rgba(111, 216, 255, 0.08);
}

.admin-panel-head span,
.admin-activity-item small,
.admin-member-row small,
.admin-shop-item small,
.admin-poll-list small {
  color: rgba(255, 255, 255, 0.62);
}

.admin-dashboard-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr) minmax(260px, 0.6fr);
}

.admin-panel {
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.1);
}

.admin-panel-wide {
  grid-column: span 2;
}

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

.admin-panel-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.08rem;
}

.admin-panel-head input,
.admin-panel-head select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(5, 10, 14, 0.72);
}

.admin-icon-button {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.admin-chart-legend,
.admin-dashboard-actions {
  display: flex;
  gap: 14px;
}

.admin-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
}

.admin-chart-legend span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.admin-activity-list,
.admin-todo-list,
.admin-member-list,
.admin-poll-list,
.admin-shop-trends,
.admin-user-table {
  display: grid;
  gap: 10px;
}

.admin-activity-item,
.admin-todo-item,
.admin-member-row,
.admin-shop-item,
.admin-poll-list article,
.admin-user-table-row {
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-activity-item {
  grid-template-columns: auto 1fr;
}

.admin-activity-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #9cff72;
  box-shadow: 0 0 18px rgba(156, 255, 114, 0.65);
}

.admin-todo-item {
  grid-template-columns: auto 1fr;
  color: rgba(255, 255, 255, 0.8);
}

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

.admin-page-stats div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(5, 10, 14, 0.5);
}

.admin-page-stats p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.admin-shop-item,
.admin-member-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
  color: #ffffff;
  text-decoration: none;
}

.admin-shop-preview,
.admin-member-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--item-color, rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-shop-preview img,
.admin-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.admin-user-table-row {
  grid-template-columns: 56px minmax(0, 1fr) 110px 120px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.admin-dashboard-page.is-loading {
  cursor: progress;
}

@media (max-width: 1100px) {
  .admin-dashboard-page {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-sidebar {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

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

  .admin-panel-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .admin-dashboard-page {
    width: min(100% - 24px, 1500px);
    margin-top: 18px;
  }

  .admin-dashboard-hero {
    display: grid;
  }

  .admin-dashboard-grid,
  .admin-page-stats {
    grid-template-columns: 1fr;
  }

  .admin-user-table-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }
}

/* Hell's Mouth landing page and strain naming contest */
.hm-site-page {
  --hm-ink: #160d0a;
  --hm-paper: #f0e5bf;
  --hm-acid: #b8ee32;
  --hm-green: #1d8b43;
  --hm-rust: #b94120;
  color: var(--hm-paper);
  margin: 0 auto;
  max-width: 1540px;
  padding: 34px clamp(18px, 4vw, 64px) 90px;
  position: relative;
}

.hm-site-page::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(184, 238, 50, .11), transparent 28%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px),
    #130d0a;
  content: "";
  inset: 0 calc(50% - 50vw);
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hm-overline {
  color: var(--hm-acid);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hm-hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(13,8,6,.96) 0%, rgba(13,8,6,.7) 44%, rgba(13,8,6,.12) 72%),
    url("assets/blogcontents/Hellsmouth/Helmond area vlakbij het kasteel mary jane doet rennen.png") center 42% / cover;
  border: 2px solid rgba(218, 232, 172, .2);
  box-shadow: 0 28px 80px rgba(0,0,0,.55);
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: min(700px, 72vh);
  overflow: hidden;
  padding: clamp(28px, 6vw, 82px);
  position: relative;
}

.hm-hero::after {
  border: 1px solid rgba(184,238,50,.3);
  content: "";
  inset: 14px;
  pointer-events: none;
  position: absolute;
}

.hm-hero-copy {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hm-hero h1,
.hm-contest-hero h1 {
  color: #fff6d7;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(66px, 10vw, 148px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .78;
  margin: 0 0 28px;
  text-shadow: 5px 6px 0 #27140d, 9px 10px 0 rgba(185,65,32,.7);
  text-transform: uppercase;
}

.hm-hero h1 em {
  color: var(--hm-acid);
  font-style: normal;
}

.hm-hero-copy > p {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 610px;
}

.hm-button {
  align-items: center;
  background: #33241c;
  border: 1px solid rgba(255,255,255,.2);
  color: #fff7db;
  cursor: pointer;
  display: inline-flex;
  font: 800 13px/1 "Outfit", sans-serif;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
  text-transform: uppercase;
}

.hm-button:hover { filter: brightness(1.16); transform: translateY(-1px); }
.hm-button-primary { background: var(--hm-acid); border-color: #dfff75; color: #172009; box-shadow: 5px 5px 0 #602615; }
.hm-button-quiet { background: transparent; margin-left: 10px; }

.hm-countdown-shell {
  backdrop-filter: blur(8px);
  background: rgba(13,8,6,.82);
  border: 1px solid rgba(184,238,50,.38);
  min-width: min(100%, 470px);
  padding: 22px;
  position: relative;
  z-index: 1;
}

.hm-countdown-shell > span {
  color: #dfd2ad;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hm-countdown { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); }
.hm-countdown strong { background: #211711; border-top: 3px solid var(--hm-rust); padding: 12px 8px; text-align: center; }
.hm-countdown b { color: var(--hm-acid); display: block; font: 400 clamp(28px, 4vw, 48px)/1 Impact, sans-serif; }
.hm-countdown small { color: #b6a98e; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.hm-countdown-shell time { color: #91846f; display: block; font-size: 11px; margin-top: 12px; text-align: right; }

.hm-admin-settings {
  align-items: center;
  background: rgba(35,24,18,.92);
  border: 1px solid rgba(184,238,50,.25);
  display: flex;
  gap: 16px;
  margin: 18px 0 0;
  padding: 16px 18px;
}
.hm-admin-settings > div { margin-right: auto; }
.hm-admin-settings strong { display: block; }
.hm-admin-settings input { background: #130d0a; border: 1px solid #5e5140; color: #fff4d2; min-height: 46px; padding: 0 12px; }

.hm-section { padding: 90px 0 70px; }
.hm-section-head { align-items: end; display: flex; justify-content: space-between; margin-bottom: 28px; }
.hm-section-head h2, .hm-contest-cta h2 {
  font: 400 clamp(42px, 6vw, 72px)/.95 Impact, sans-serif;
  margin: 0;
  text-transform: uppercase;
}
.hm-section-head > a { color: var(--hm-acid); font-weight: 800; }
.hm-blog-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.hm-blog-card {
  background: #211711;
  border: 1px solid #493a2e;
  color: #f5e9c5;
  display: grid;
  min-height: 320px;
  overflow: hidden;
  text-decoration: none;
}
.hm-blog-image { background: linear-gradient(135deg, #4e6a20, #20120c); background-position: center; background-size: cover; min-height: 190px; }
.hm-blog-card > span:last-child { display: grid; gap: 8px; padding: 20px; }
.hm-blog-card small { color: var(--hm-rust); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hm-blog-card strong { font-size: 22px; }
.hm-blog-card em { color: #a99e83; font-style: normal; line-height: 1.45; }
.hm-blog-card:hover { border-color: var(--hm-acid); transform: translateY(-4px); }
.hm-empty-card { grid-column: 1 / -1; min-height: 170px; }

.hm-contest-cta {
  align-items: center;
  background: #eee2ba;
  color: #1d120d;
  display: grid;
  gap: clamp(26px, 5vw, 72px);
  grid-template-columns: minmax(280px, .9fr) 1.1fr;
  overflow: hidden;
  padding: clamp(26px, 5vw, 64px);
  position: relative;
}
.hm-contest-cta::after { border: 2px solid #1d120d; content: ""; inset: 12px; pointer-events: none; position: absolute; }
.hm-contest-cta > img { background: #17100c; height: 380px; image-rendering: pixelated; object-fit: cover; width: 100%; }
.hm-contest-cta > div { position: relative; z-index: 1; }
.hm-contest-cta p { font-size: 18px; line-height: 1.55; max-width: 580px; }

.hm-contest-hero { max-width: 1050px; padding: 80px 0 45px; }
.hm-contest-hero h1 { color: var(--hm-acid); font-size: clamp(62px, 10vw, 136px); margin: 16px 0 28px; }
.hm-contest-hero > p { color: #c9bea0; font-size: clamp(18px, 2.2vw, 24px); line-height: 1.55; max-width: 820px; }
.hm-back-link { color: #d9ccaa; display: inline-flex; gap: 9px; margin-bottom: 38px; text-decoration: none; }
.hm-start-naming {
  gap: 10px;
  min-height: 56px;
  padding-inline: 25px;
}

.hm-contest-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hm-steam-wishlist {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 14px;
  color: #17212a;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  text-decoration: none;
}

.hm-steam-wishlist:hover {
  background: #eaf2f7;
  transform: translateY(-1px);
}

.hm-steam-wishlist i {
  font-size: 21px;
}

.hm-batch-name-link {
  background: transparent;
  border: 0;
  color: #aeb8c0;
  cursor: pointer;
  display: inline-block;
  font: 700 14px "Outfit", sans-serif;
  margin: 12px 0 0;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(174, 184, 192, .35);
  text-underline-offset: 4px;
}

.hm-batch-name-link:hover {
  color: #dce6ed;
  text-decoration-color: #3f9cff;
}

.hm-latest-devlog {
  align-items: center;
  background: linear-gradient(145deg, rgba(38, 49, 59, .94), rgba(20, 29, 37, .94));
  border: 1px solid rgba(173, 190, 204, .22);
  border-radius: 20px;
  color: #eef2f6;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 52px;
  overflow: hidden;
  padding: 12px 20px 12px 12px;
  text-decoration: none;
}

.hm-contest-feature-row {
  align-items: stretch;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
}

.hm-contest-feature-row .hm-picked-section,
.hm-contest-feature-row .hm-latest-devlog {
  min-width: 0;
}

.hm-contest-feature-row .hm-picked-section {
  margin-top: 52px;
}

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

.hm-contest-feature-row .hm-latest-devlog-image {
  height: 190px;
}

.hm-contest-feature-row .hm-latest-devlog-open {
  justify-self: start;
}

.hm-running-group + .hm-running-group {
  border-top: 1px solid rgba(190, 204, 215, .16);
  margin-top: 34px;
  padding-top: 28px;
}

.hm-running-group.is-hidden {
  display: none;
}

.hm-running-group h3 {
  color: #d9e2e8;
  font-size: 16px;
  margin: 0 0 14px;
}

.hm-voted-group {
  opacity: .82;
}

.hm-latest-devlog:hover {
  border-color: rgba(156,255,114,.55);
  transform: translateY(-2px);
}

.hm-latest-devlog-image {
  background: linear-gradient(135deg, #2c3b47, #141d24);
  background-position: center;
  background-size: cover;
  border-radius: 14px;
  display: block;
  height: 92px;
}

.hm-latest-devlog-copy {
  display: grid;
  gap: 5px;
}

.hm-latest-devlog-copy small {
  color: #9cff72;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hm-latest-devlog-copy strong {
  font-size: 20px;
}

.hm-latest-devlog-copy em {
  color: #aebbc5;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-latest-devlog-open {
  color: #dce5eb;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .hm-steam-wishlist,
  .hm-start-naming {
    justify-content: center;
    width: 100%;
  }

  .hm-latest-devlog {
    grid-template-columns: 86px minmax(0, 1fr);
    padding-right: 12px;
  }

  .hm-latest-devlog-image {
    height: 76px;
  }

  .hm-latest-devlog-copy strong {
    font-size: 15px;
  }

  .hm-latest-devlog-open {
    display: none;
  }

  .hm-contest-feature-row {
    grid-template-columns: 1fr;
  }

  .hm-contest-feature-row .hm-picked-section {
    order: 1;
  }

  .hm-contest-feature-row .hm-latest-devlog {
    order: 2;
  }

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

.hm-how-to {
  align-items: center;
  background: #211711;
  border-left: 5px solid var(--hm-acid);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-bottom: 44px;
  padding: 18px 22px;
}
.hm-how-to > strong { color: var(--hm-acid); text-transform: uppercase; }
.hm-how-to span { align-items: center; display: inline-flex; gap: 8px; }
.hm-how-to span b { background: #3f9cff; border-radius: 50%; box-shadow: 0 0 18px rgba(63,156,255,.22); color: #fff; display: grid; height: 25px; place-items: center; width: 25px; }
.hm-how-to em { color: #9d9178; font-size: 12px; font-style: normal; margin-left: auto; }

.hm-strain-grid { display: grid; gap: 14px; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.hm-strain-section { margin-top: 52px; }
.hm-strain-section.is-hidden { display: none; }
.hm-strain-section-head { align-items: end; display: flex; justify-content: space-between; margin-bottom: 20px; }
.hm-strain-section-head h2 { font-size: clamp(28px, 4vw, 48px); margin: 0; }
.hm-strain-section-head > span { color: #aebbc5; font-size: 13px; }
.hm-picked-section { border-top: 1px solid rgba(190, 204, 215, .16); padding-top: 22px; }
.hm-strain-card {
  background: #201610;
  border: 1px solid #4c3c2f;
  color: #f4e7c3;
  cursor: pointer;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
}
.hm-strain-card::before { background: radial-gradient(circle, rgba(184,238,50,.18), transparent 64%); content: ""; inset: 0 0 78px; position: absolute; }
.hm-strain-card:hover { border-color: var(--hm-acid); box-shadow: 8px 8px 0 rgba(185,65,32,.55); transform: translate(-3px,-3px); }
.hm-strain-card.has-voted { border-color: #3dbb67; }
.hm-strain-card.has-voted::after { background: #2ca956; color: white; content: "✓ voted today"; font-size: 10px; font-weight: 900; padding: 6px 8px; position: absolute; right: 8px; top: 8px; text-transform: uppercase; }
.hm-strain-card > img { aspect-ratio: 1; display: block; height: auto; image-rendering: pixelated; image-rendering: crisp-edges; margin: 12px auto 4px; object-fit: contain; position: relative; width: 100%; }
.hm-strain-card-copy { border-top: 1px solid #493a2e; display: grid; gap: 3px; padding: 9px 8px; }
.hm-strain-card-copy strong { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-strain-card-copy small { color: #968a73; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hm-modal-open { overflow: hidden; }
.hm-strain-modal { inset: 0; position: fixed; z-index: 30000; }
.hm-strain-modal.is-hidden { display: none; }
.hm-modal-backdrop { backdrop-filter: blur(7px); background: rgba(8,5,4,.84); inset: 0; position: absolute; }
.hm-modal-card {
  background: #eee4c7;
  border: 3px solid #1a110c;
  box-shadow: 12px 12px 0 var(--hm-rust), 0 30px 100px #000;
  color: #1a110c;
  display: grid;
  gap: 22px;
  left: 50%;
  max-height: calc(100vh - 40px);
  max-width: 930px;
  overflow: hidden;
  padding: clamp(20px, 4vw, 42px);
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  width: calc(100% - 36px);
}
.hm-modal-card::before { border: 1px solid rgba(26,17,12,.28); content: ""; inset: 10px; pointer-events: none; position: absolute; }
.hm-modal-close { background: #1a110c; border: 0; color: #fff4d6; cursor: pointer; font-size: 25px; height: 38px; position: absolute; right: 10px; top: 10px; width: 38px; z-index: 4; }
.hm-modal-vote-row { align-items: center; display: grid; gap: 20px; grid-template-columns: 180px 1fr 94px; position: relative; z-index: 1; }
.hm-modal-preview { align-items: center; background: #211711; display: flex; height: 180px; justify-content: center; width: 180px; }
.hm-modal-preview img { height: 180px; image-rendering: pixelated; image-rendering: crisp-edges; object-fit: contain; width: 180px; }
.hm-name-entry { position: relative; }
.hm-name-entry label { display: block; font: 28px/1.1 Impact, sans-serif; margin-bottom: 12px; text-transform: uppercase; }
.hm-name-entry input { background: #fffdf3; border: 4px solid #1a110c; box-sizing: border-box; font: 700 20px "Outfit", sans-serif; min-height: 68px; padding: 0 17px; width: 100%; }
.hm-name-entry > small { color: #6b5b49; display: block; margin-top: 8px; }
.hm-inline-auth-message {
  align-items: center;
  background: linear-gradient(135deg, #1673dc, #275dba);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 13px;
  color: #fff;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 10px;
  padding: 10px 11px 10px 13px;
}
.hm-inline-auth-message.is-hidden { display: none; }
.hm-inline-auth-message > span { align-items: center; display: flex; font-size: 12px; gap: 7px; line-height: 1.35; }
.hm-inline-auth-message > button {
  background: #fff;
  border: 0;
  border-radius: 9px;
  color: #145ab5;
  cursor: pointer;
  flex: 0 0 auto;
  font: 800 12px "Outfit", sans-serif;
  min-height: 36px;
  padding: 0 12px;
}
.hm-inline-auth-message > button:hover { background: #eaf5ff; }
.hm-vote-button { background: #20a94f; border: 0; box-shadow: 5px 5px 0 #0f5126; color: white; cursor: pointer; font-size: 42px; height: 94px; width: 94px; }
.hm-vote-button:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .5; }
.hm-strain-description { font-size: 18px; font-weight: 700; line-height: 1.45; margin: 0; padding: 0 6px; position: relative; z-index: 1; }
.hm-submissions { border: 2px solid #1a110c; border-radius: 16px; min-height: 230px; overflow: hidden; position: relative; z-index: 1; }
.hm-submissions > header { align-items: center; border-bottom: 1px solid rgba(26,17,12,.3); display: flex; justify-content: space-between; padding: 16px 20px; }
.hm-submission-list { max-height: min(330px, 35vh); overflow-y: auto; padding: 0 14px 14px; }
.hm-submission-list > button { align-items: center; background: transparent; border: 0; border-bottom: 1px solid rgba(26,17,12,.22); color: #1a110c; cursor: pointer; display: flex; font: 700 17px "Outfit", sans-serif; justify-content: space-between; padding: 15px 6px; text-align: left; width: 100%; }
.hm-submission-list > button:hover { background: rgba(184,238,50,.22); }
.hm-submission-list > button.is-voted { background: rgba(32,169,79,.16); }
.hm-submission-list span { align-items: center; display: flex; gap: 8px; }
.hm-submission-list small { background: #d5cba9; font-size: 9px; padding: 3px 5px; text-transform: uppercase; }
.hm-no-submissions { color: #756752; padding: 26px 6px; }
.hm-autocomplete { background: #fffdf3; border: 2px solid #1a110c; left: 0; max-height: 240px; overflow-y: auto; position: absolute; right: 0; top: calc(100% - 28px); z-index: 8; }
.hm-autocomplete.is-hidden { display: none; }
.hm-autocomplete button { align-items: center; background: transparent; border: 0; border-bottom: 1px solid #d8cdb0; cursor: pointer; display: flex; justify-content: space-between; padding: 11px 13px; text-align: left; width: 100%; }
.hm-autocomplete button:hover { background: #e5f6b8; }
.hm-vote-success { align-items: center; background: rgba(25,156,70,.96); color: white; display: flex; flex-direction: column; inset: 0; justify-content: center; opacity: 0; pointer-events: none; position: absolute; transition: opacity .28s ease; z-index: 12; }
.hm-vote-success i { border: 8px solid white; border-radius: 50%; display: grid; font-size: 74px; height: 150px; margin-bottom: 22px; place-items: center; width: 150px; }
.hm-vote-success strong { font: 44px Impact, sans-serif; letter-spacing: .02em; text-transform: uppercase; }
.hm-vote-success span { font-size: 18px; margin-top: 8px; }
.hm-strain-modal.is-vote-success .hm-vote-success { opacity: 1; }

.hm-batch-name-modal {
  inset: 0;
  position: fixed;
  z-index: 30010;
}

.hm-batch-name-modal.is-hidden {
  display: none;
}

.hm-batch-name-card {
  background: linear-gradient(145deg, rgba(37, 50, 60, .98), rgba(14, 21, 28, .98));
  border: 1px solid rgba(174, 190, 203, .24);
  border-radius: 26px;
  box-shadow: 0 32px 110px rgba(0, 0, 0, .72);
  color: #eef5f9;
  display: grid;
  gap: 14px;
  grid-template-rows: auto auto auto auto auto minmax(0, 1fr);
  height: min(850px, calc(100vh - 58px));
  left: 50%;
  max-width: 820px;
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 34px);
}

.hm-batch-name-card h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: .98;
  margin: 0;
}

.hm-batch-name-card p {
  color: #b7c4ce;
  line-height: 1.45;
  margin: 0;
}

.hm-batch-name-input {
  display: grid;
  gap: 8px;
}

.hm-batch-name-input span,
.hm-batch-counter {
  color: #dce6ed;
  font-size: 13px;
  font-weight: 800;
}

.hm-batch-name-input input {
  background: #0f1922;
  border: 2px solid rgba(151, 171, 188, .45);
  border-radius: 14px;
  color: #fff;
  font: 800 18px "Outfit", sans-serif;
  min-height: 56px;
  padding: 0 16px;
}

.hm-batch-name-input input:focus {
  border-color: #3f9cff;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(63, 156, 255, .16);
}

.hm-batch-strain-list {
  display: grid;
  gap: 9px;
  margin-top: 2px;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
  padding: 0 4px 74px 0;
}

.hm-batch-strain-option {
  align-items: center;
  background: rgba(12, 21, 29, .82);
  border: 1px solid rgba(151, 171, 188, .24);
  border-radius: 15px;
  color: #f4f8fb;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 58px minmax(0, 1fr) 30px;
  min-height: 78px;
  padding: 10px 12px;
  text-align: left;
}

.hm-batch-strain-option:hover {
  border-color: rgba(63, 156, 255, .78);
  background: rgba(28, 45, 58, .92);
}

.hm-batch-strain-option.is-selected {
  border-color: #9cff72;
  box-shadow: inset 0 0 0 1px rgba(156, 255, 114, .55);
}

.hm-batch-strain-option img {
  height: 58px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  object-fit: contain;
  width: 58px;
}

.hm-batch-strain-option span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.hm-batch-strain-option strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-batch-strain-option small {
  color: #9eafbc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-batch-strain-option i {
  color: #9cff72;
  opacity: 0;
}

.hm-batch-strain-option.is-selected i {
  opacity: 1;
}

.hm-batch-message {
  color: #8fc8ff !important;
  font-weight: 800;
  margin: 0;
  min-height: 0;
}

.hm-batch-message:empty {
  display: none;
}

.hm-batch-actions {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  bottom: 5px;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 15px;
  z-index: 2;
}

@media (max-width: 900px) {
  .hm-hero { align-items: end; grid-template-columns: 1fr; }
  .hm-countdown-shell { min-width: 0; width: 100%; }
  .hm-blog-grid { grid-template-columns: 1fr; }
  .hm-contest-cta { grid-template-columns: 1fr; }
  .hm-modal-vote-row { grid-template-columns: 130px 1fr 72px; }
  .hm-modal-preview, .hm-modal-preview img { height: 130px; width: 130px; }
  .hm-vote-button { height: 72px; width: 72px; }
}

@media (max-width: 620px) {
  .hm-site-page { padding-inline: 14px; }
  .hm-hero { min-height: 680px; padding: 28px 20px; }
  .hm-hero h1 { font-size: clamp(56px, 20vw, 88px); }
  .hm-countdown-shell { padding: 14px; }
  .hm-countdown strong { padding-inline: 3px; }
  .hm-admin-settings { align-items: stretch; flex-direction: column; }
  .hm-section { padding-top: 64px; }
  .hm-section-head { align-items: start; flex-direction: column; gap: 14px; }
  .hm-contest-cta > img { height: 260px; }
  .hm-how-to { align-items: flex-start; flex-direction: column; }
  .hm-how-to em { margin-left: 0; }
  .hm-strain-grid { gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hm-strain-card { margin: 0; max-width: none; width: 100%; }
  .hm-strain-card-copy { padding: 8px 6px; }
  .hm-strain-card-copy strong { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hm-strain-card-copy small { font-size: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hm-modal-card { gap: 15px; max-height: calc(100vh - 18px); overflow-y: auto; padding: 48px 16px 18px; width: calc(100% - 18px); }
  .hm-modal-vote-row { grid-template-columns: 92px 1fr; }
  .hm-modal-preview, .hm-modal-preview img { height: 92px; width: 92px; }
  .hm-name-entry label { font-size: 20px; }
  .hm-name-entry input { border-width: 3px; font-size: 16px; min-height: 54px; }
  .hm-vote-button { grid-column: 1 / -1; height: 58px; width: 100%; }
  .hm-submission-list { max-height: 240px; }
  .hm-vote-success strong { font-size: 34px; text-align: center; }
  .hm-vote-success span { padding: 0 20px; text-align: center; }
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent-primary) 58%, #76dfff 42%) rgba(255, 255, 255, 0.06);
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Outfit", sans-serif;
}

body {
  color: var(--text);
  overflow: hidden;
  background: #59cfff;
  cursor: none;
}

.landing-body {
  overflow-x: hidden;
  overflow-y: auto;
  background: #100d14;
  cursor: auto;
}

@media (min-width: 701px) {
  .landing-body {
    cursor: none;
  }

  .landing-body a,
  .landing-body button,
  .landing-body input,
  .landing-body textarea,
  .landing-body select {
    cursor: none;
  }
}

.landing-body a,
.landing-body button {
  cursor: pointer;
}

@media (min-width: 701px) {
  .landing-body a,
  .landing-body button {
    cursor: none;
  }
}

body.native-cursor-peek,
body.native-cursor-peek a,
body.native-cursor-peek button,
body.native-cursor-peek input,
body.native-cursor-peek textarea,
body.native-cursor-peek select,
body.native-cursor-peek label,
body.native-cursor-peek [role="button"],
body.native-cursor-peek [tabindex]:not([tabindex="-1"]) {
  cursor: pointer !important;
}

body.native-cursor-peek input,
body.native-cursor-peek textarea {
  cursor: text !important;
}

body.native-cursor-peek .local-cursor {
  opacity: 0.14;
}

.landing-page {
  min-height: 100vh;
  color: #f7fbff;
  background: #100d14;
}

.not-found-body {
  background: #0b0908;
}

@media (min-width: 901px) {
  .not-found-body {
    overflow: hidden;
  }
}

.not-found-body .landing-page {
  min-height: 100vh;
  overflow: hidden;
  background: #0b0908;
}

.not-found-scene {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 132px clamp(18px, 5vw, 76px) 34px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 88%, rgba(12, 10, 7, 0.92), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(255, 79, 159, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.1) 46%, rgba(0, 0, 0, 0.62)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 78px),
    repeating-linear-gradient(90deg, #42342f 0 88px, #372b28 88px 92px, #4c3d37 92px 180px, #2f2623 180px 184px);
}

.not-found-scene::before,
.not-found-scene::after,
.not-found-wall-grit {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.not-found-scene::before {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.62), transparent 18%, transparent 74%, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(8deg, transparent 0 26px, rgba(255, 255, 255, 0.035) 27px 29px);
}

.not-found-scene::after {
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 105%, rgba(0, 0, 0, 0.86), transparent 46%),
    linear-gradient(180deg, transparent 74%, rgba(22, 18, 16, 0.96) 74%, rgba(9, 8, 7, 1));
}

.not-found-wall-grit {
  opacity: 0.74;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(0, 0, 0, 0.42) 0 1px, transparent 1.6px);
  background-position: 0 0, 18px 23px;
  background-size: 42px 42px, 64px 64px;
}

.not-found-paint-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.not-found-tags {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  font-weight: 900;
  text-transform: uppercase;
}

.not-found-tags span {
  position: absolute;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.14);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.44);
  transform: rotate(var(--tag-rotate, -8deg));
}

.tag-one {
  --tag-rotate: -13deg;
  left: 7%;
  top: 33%;
  font-size: clamp(4rem, 13vw, 11rem);
}

.tag-two {
  --tag-rotate: 9deg;
  right: 13%;
  top: 18%;
  color: rgba(247, 255, 77, 0.12) !important;
  -webkit-text-stroke-color: rgba(247, 255, 77, 0.32) !important;
  font-size: clamp(7rem, 18vw, 18rem);
}

.tag-three {
  --tag-rotate: 5deg;
  left: 35%;
  bottom: 12%;
  font-size: clamp(2.4rem, 7vw, 7rem);
}

.tag-four {
  --tag-rotate: -4deg;
  right: 5%;
  bottom: 28%;
  color: rgba(66, 245, 179, 0.1) !important;
  -webkit-text-stroke-color: rgba(66, 245, 179, 0.26) !important;
  font-size: clamp(2.8rem, 8vw, 8rem);
}

.not-found-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin-top: 16px;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.72);
}

.not-found-copy h1 {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(4.2rem, 11vw, 10.5rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

.not-found-copy p:not(.landing-kicker) {
  max-width: 530px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.not-found-home-link {
  width: max-content;
}

.not-found-supplies {
  position: fixed;
  z-index: 2100;
  top: 126px;
  right: 22px;
  width: min(188px, calc(100vw - 36px));
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(10, 11, 12, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.not-found-supply-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.not-found-supply-head strong {
  font-size: 0.92rem;
  color: #ffffff;
}

.not-found-supply-head span,
.not-found-brush-size span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.not-found-color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.not-found-color-grid button,
.not-found-tool-row button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.not-found-color-grid button {
  aspect-ratio: 1;
  border-radius: 12px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.72), transparent 18%),
    var(--paint);
}

.not-found-color-grid button.is-active {
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15), 0 0 28px color-mix(in srgb, var(--paint) 58%, transparent);
}

.not-found-brush-size {
  display: grid;
  gap: 8px;
}

.not-found-brush-size input {
  width: 100%;
  accent-color: #f7ff4d;
}

.not-found-tool-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.not-found-tool-row button {
  min-height: 42px;
  border-radius: 12px;
}

.not-found-cursor-gang {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.not-found-remote-cursor {
  position: absolute;
  display: grid;
  gap: 4px;
  transform: translate3d(0, 0, 0);
  animation: notFoundCursorDrift 9s ease-in-out infinite alternate;
}

.not-found-remote-cursor i {
  width: 0;
  height: 0;
  border-left: 15px solid #ffffff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.48));
  transform: rotate(28deg);
}

.not-found-remote-cursor b {
  width: max-content;
  padding: 4px 8px;
  border-radius: 10px;
  color: #111111;
  background: #f7ff4d;
  font-size: 0.72rem;
}

.cursor-a {
  left: 54%;
  top: 32%;
}

.cursor-b {
  right: 23%;
  bottom: 24%;
  animation-duration: 7s;
}

.cursor-b b {
  background: #42f5b3;
}

.cursor-c {
  left: 23%;
  bottom: 31%;
  animation-duration: 8.5s;
}

.cursor-c b {
  color: #ffffff;
  background: #ff4f9f;
}

@keyframes notFoundCursorDrift {
  from {
    transform: translate3d(-12px, 8px, 0) rotate(-2deg);
  }
  to {
    transform: translate3d(26px, -18px, 0) rotate(4deg);
  }
}

@media (max-width: 900px) {
  .not-found-body,
  .not-found-body .landing-page {
    overflow-y: auto;
  }

  .not-found-scene {
    min-height: 100svh;
    align-items: end;
    padding: 120px 18px 166px;
  }

  .not-found-copy h1 {
    font-size: clamp(3.4rem, 18vw, 6.4rem);
  }

  .not-found-supplies {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .not-found-supply-head,
  .not-found-brush-size {
    grid-column: span 2;
  }
}

.not-found-body,
.not-found-body .landing-page {
  overflow: hidden;
}

.not-found-scene.playful-graffiti-wall {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #15110f;
  overflow: hidden;
  isolation: isolate;
}

.not-found-graffiti-surface.playful-graffiti-surface {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  min-height: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.42);
}

.not-found-graffiti-surface.playful-graffiti-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 52%, rgba(0, 0, 0, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 22%, transparent 68%, rgba(0, 0, 0, 0.34));
}

.not-found-scene .playful-graffiti-clear {
  z-index: 8;
  top: 112px;
  right: 24px;
}

.not-found-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  display: grid;
  gap: 8px;
  width: min(92vw, 720px);
  max-width: none;
  margin: 0;
  text-align: center;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.64);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.not-found-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(6rem, 20vw, 15rem);
  line-height: 0.8;
  letter-spacing: 0;
}

.not-found-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2.4vw, 1.8rem);
  font-weight: 800;
}

.killed-copy {
  width: min(92vw, 720px);
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(4, 5, 6, 0.76);
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
}

.killed-copy h1 {
  max-width: none;
  font-size: clamp(2rem, 5.8vw, 4.2rem);
  line-height: 1;
}

.killed-pvp-badge {
  width: max-content;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(151, 255, 184, 0.3);
  border-radius: 999px;
  color: #a7ffc2;
  background: rgba(61, 155, 91, 0.14);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.killed-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.killed-stat-row div {
  display: grid;
  gap: 6px;
  padding: 13px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.killed-stat-row small,
.killed-cursor-loadout small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.killed-stat-row strong {
  color: #ff8b9d;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}

.killed-stat-row strong.is-positive {
  color: #bfff71;
}

.killed-stat-row div:last-child strong {
  color: #ffffff;
}

.killed-cursor-loadout {
  width: 100%;
  display: grid;
  grid-template-columns: 62px 1fr 18px;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.055);
  text-align: left;
}

.killed-cursor-loadout:hover,
.killed-cursor-loadout:focus-visible {
  border-color: rgba(191, 255, 113, 0.46);
  background: rgba(191, 255, 113, 0.1);
}

.killed-cursor-media {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}

.killed-cursor-media img,
.killed-cursor-media .cursor-preview-media,
.killed-cursor-media .cursor-preview-media img {
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
}

.killed-cursor-loadout > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.killed-cursor-loadout strong {
  text-transform: capitalize;
}

.killed-cursor-loadout em {
  color: #bfff71;
  font-size: 0.78rem;
  font-style: normal;
}

.killed-copy .not-found-home-link {
  margin: 2px auto 0;
}

.killed-heal-action {
  width: min(100%, 300px);
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.killed-health-state {
  display: grid;
  place-items: center;
  min-height: 34px;
}

.heart-healthbar {
  --heart-size: 22px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  width: fit-content;
  max-width: calc((var(--heart-size) * 8) + 14px);
  vertical-align: middle;
}

.heart-healthbar img {
  display: block;
  width: var(--heart-size);
  height: var(--heart-size);
  object-fit: contain;
  image-rendering: pixelated;
}

.killed-health-state .heart-healthbar {
  --heart-size: 30px;
  justify-content: center;
}

.killed-heal-action img {
  width: 30px;
  height: 30px;
  image-rendering: pixelated;
}

.killed-heal-action strong {
  padding-left: 8px;
  border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.killed-scene .not-found-graffiti-surface.playful-graffiti-surface {
  background-color: #090b0d;
  background-image: var(--graffiti-brick);
  background-repeat: repeat;
  background-size: auto;
}

@media (max-width: 600px) {
  .killed-copy {
    gap: 14px;
    padding: 18px 14px;
  }

  .killed-stat-row {
    grid-template-columns: 1fr;
  }
}

.not-found-graffiti-cans.playful-graffiti-cans {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 2100;
  width: min(210px, calc(100vw - 36px));
  max-height: min(62vh, 520px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px;
  border-radius: 8px;
  background: rgba(8, 10, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(-50%);
}

.not-found-graffiti-cans .playful-graffiti-can,
.not-found-graffiti-cans .playful-graffiti-undo {
  width: 100%;
  min-width: 0;
  border-radius: 8px;
}

.not-found-graffiti-cans .playful-graffiti-brushes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.not-found-graffiti-cans .playful-graffiti-brushes button {
  min-width: 0;
  border-radius: 8px;
}

.not-found-scene .graffiti-wall-pattern-tools {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 2100;
  width: min(360px, calc(100vw - 36px));
  margin: 0;
}

.not-found-scene .graffiti-wall-pattern-tools > div {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .not-found-scene.playful-graffiti-wall {
    min-height: 100svh;
    height: 100svh;
  }

  .not-found-graffiti-cans.playful-graffiti-cans {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-height: 132px;
    flex-direction: row;
    align-items: center;
    transform: none;
  }

  .not-found-scene .graffiti-wall-pattern-tools {
    display: none;
  }
}

.landing-body.is-launching-os .landing-hero,
.landing-body.is-launching-os .landing-projects-page {
  filter: brightness(0.9) saturate(1.08);
}

.landing-body.is-launching-os .landing-primary,
.landing-body.is-launching-os .landing-nav-cta {
  pointer-events: none;
  transform: translateY(1px) scale(0.98);
}

.landing-nav {
  position: fixed;
  top: var(--hm-nav-offset, 18px);
  left: 50%;
  z-index: 10080;
  width: min(1120px, calc(100% - 32px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(8, 15, 22, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: top .16s ease;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(240px, 23vw, 360px);
  min-height: 64px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.landing-brand img {
  width: 100%;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.36));
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.landing-menu-toggle {
  display: none;
  width: 46px;
  min-width: 46px;
  min-height: 46px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 10px;
  width: min(260px, calc(100vw - 32px));
  display: none;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(8, 15, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.landing-mobile-menu.is-open {
  display: grid;
}

.landing-mobile-menu a,
.landing-mobile-menu button {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-weight: 800;
  text-align: center;
  position: relative;
}

.landing-mobile-menu img,
.landing-shortcut-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: pixelated;
}

.notification-badge {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  color: #ffffff;
  background: #ee4056;
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 0 0 2px rgba(238, 64, 86, 0.2);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
}

.landing-mobile-menu .notification-badge {
  margin-left: auto;
}

.desktop-icon.has-notification-badge,
.landing-member-menu a.has-notification-badge,
.landing-mobile-menu a.has-notification-badge {
  position: relative;
}

.desktop-icon > .notification-badge {
  position: absolute;
  top: 8px;
  right: 16px;
  z-index: 4;
  min-width: 22px;
  height: 22px;
}

.landing-member-menu a > .notification-badge {
  margin-left: auto;
}

.landing-mobile-menu a:hover,
.landing-mobile-menu a:focus-visible,
.landing-mobile-menu button:hover,
.landing-mobile-menu button:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.landing-user-menu {
  position: relative;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
}

.landing-user-hint {
  appearance: none;
  padding: 7px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  font-family: inherit;
  white-space: nowrap;
}

.landing-user-hint strong {
  color: rgba(201, 255, 114, 0.9);
}

.landing-user-hint:hover,
.landing-user-hint:focus-visible {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.075);
}

.landing-user-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 20;
  min-width: 180px;
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(8, 15, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.landing-user-popover span,
.landing-user-popover strong,
.landing-user-popover a,
.landing-user-popover button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
  font-size: 0.82rem;
  font-weight: 900;
}

.landing-user-popover strong {
  color: var(--accent-primary);
}

.landing-user-popover a,
.landing-user-popover button {
  justify-content: center;
  width: 100%;
  padding: 0 10px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 0;
  font: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
}

.landing-user-popover a:hover,
.landing-user-popover a:focus-visible,
.landing-user-popover button:hover,
.landing-user-popover button:focus-visible {
  color: #ffffff;
  background: rgba(201, 255, 114, 0.14);
}

.landing-user-menu:hover .landing-user-popover,
.landing-user-menu:focus-within .landing-user-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.landing-nav-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.landing-nav-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  border: 1px solid transparent;
  background: transparent;
}

.landing-nav-actions a:hover,
.landing-nav-actions a:focus-visible,
.landing-nav-actions button:hover,
.landing-nav-actions button:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.landing-nav-actions .landing-nav-login {
  border-color: rgba(255, 255, 255, 0.14);
}

.landing-nav-actions .landing-menu-toggle {
  width: 46px;
  min-width: 46px;
  padding: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.landing-nav-actions .landing-nav-cta {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 14px 26px rgba(109, 255, 179, 0.2);
}

.landing-nav-actions .landing-nav-cta:hover,
.landing-nav-actions .landing-nav-cta:focus-visible {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, #dcff95, #7dffc0);
  box-shadow: 0 18px 34px rgba(109, 255, 179, 0.28);
}

.landing-hero {
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 132px max(28px, calc((100vw - 1120px) / 2)) 96px;
  position: relative;
  overflow: hidden;
}

.landing-hero::before,
.landing-projects-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/Wallpaper-night.png") center center / cover no-repeat;
  opacity: 1;
  transition: opacity 420ms ease, background-image 420ms ease;
}

.landing-page[data-wallpaper-mode="day"] .landing-hero::before,
.landing-page[data-wallpaper-mode="day"] .landing-projects-page::before {
  background-image: url("assets/Wallpaper.png");
  opacity: 0.7;
}

.landing-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(16, 13, 20, 0.08) 0%, rgba(16, 13, 20, 0.24) 42%, #100d14 100%),
    radial-gradient(circle at 68% 20%, rgba(255, 255, 255, 0.16), transparent 26%);
}

.landing-hero-copy {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-width: 100%;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.46);
}

.landing-kicker {
  margin: 0 0 16px;
  color: var(--accent-primary);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-hero h1 {
  margin: 0;
  width: max-content;
  max-width: 100%;
  font-size: clamp(4.4rem, 10vw, 9rem);
  line-height: 0.86;
  letter-spacing: 0;
  white-space: nowrap;
}

.landing-hero-copy > p:not(.landing-kicker) {
  width: min(620px, 100%);
  margin: 26px 0 0;
  color: rgba(238, 247, 255, 0.86);
  font-size: clamp(1.1rem, 2.1vw, 1.52rem);
  line-height: 1.55;
  font-weight: 600;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.landing-primary,
.landing-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 800;
}

.landing-primary {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 20px 42px rgba(109, 255, 179, 0.26);
}

.landing-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.landing-primary:hover,
.landing-primary:focus-visible,
.landing-secondary:hover,
.landing-secondary:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.landing-strip {
  width: min(1120px, calc(100% - 32px));
  margin: -58px auto 0;
  padding: 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.landing-strip article {
  min-height: 170px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(13, 25, 34, 0.66);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.landing-strip-card {
  min-height: 170px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(13, 25, 34, 0.66);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.landing-strip-card:hover,
.landing-strip-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(201, 255, 114, 0.36);
  background: rgba(17, 32, 40, 0.82);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.28);
}

.landing-strip img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.landing-feature-visual {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  transition: transform 180ms ease;
}

.landing-strip-card:hover .landing-feature-visual,
.landing-strip-card:focus-visible .landing-feature-visual {
  transform: scale(1.06) rotate(-2deg);
}

.landing-strip strong {
  font-size: 1.18rem;
}

.landing-strip span {
  color: rgba(231, 243, 252, 0.74);
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 600;
}

.landing-members {
  width: auto;
  margin: 0;
  display: grid;
  gap: 18px;
}

.landing-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.landing-section-heading .landing-kicker {
  margin: 0 0 8px;
}

.landing-section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1;
}

.landing-member-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.landing-member-card {
  min-height: 82px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  justify-items: start;
  align-content: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(13, 25, 34, 0.66);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.2);
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.landing-member-card:hover,
.landing-member-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(201, 255, 114, 0.28);
  background: rgba(18, 35, 45, 0.74);
}

.landing-member-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 40% 34%, #ffd1bd 0 12%, transparent 13%),
    radial-gradient(circle at 48% 76%, #2f3d4b 0 28%, transparent 29%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  background-position: center;
  background-size: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.landing-member-avatar.has-image {
  background-size: cover;
  background-position: center;
}

.landing-member-card strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-member-card span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 800;
}

.landing-admin-edit-dock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
}

.landing-admin-edit-dock .accent-dock-mode-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-main-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}

.landing-about {
  min-height: 390px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(13, 18, 25, 0.72);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.landing-about .landing-kicker {
  margin: 0;
}

.landing-about h2,
.projects-page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.landing-about p:not(.landing-kicker),
.projects-page-hero p:not(.landing-kicker) {
  max-width: 740px;
  margin: 0;
  color: rgba(238, 247, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.65;
  font-weight: 600;
}

.landing-about .landing-secondary {
  width: max-content;
}

.landing-blog-preview,
.landing-community-cta,
.landing-perks-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 22px auto 0;
  position: relative;
  z-index: 2;
}

.landing-blog-preview,
.landing-community-cta,
.landing-perk-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(13, 18, 25, 0.72);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.landing-blog-preview {
  padding: 18px;
}

.landing-blog-preview .landing-section-heading,
.landing-community-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.landing-blog-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.landing-blog-card a {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-blog-card a:hover,
.landing-blog-card a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(201, 255, 114, 0.3);
  background: rgba(255, 255, 255, 0.085);
}

.landing-blog-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
}

.landing-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-blog-card strong,
.landing-community-cta h2,
.landing-perk-card h2 {
  margin: 0;
  color: var(--accent-primary);
}

.landing-blog-card span:last-child,
.landing-community-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
  font-weight: 800;
}

.landing-community-cta {
  padding: 20px;
}

.landing-member-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.landing-member-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.landing-member-menu a:hover,
.landing-member-menu a:focus-visible {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  transform: translateY(-2px);
}

.landing-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-perks-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.landing-perk-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  position: relative;
  transform: translateY(0);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
  will-change: transform;
}

.landing-perk-card.is-featured {
  transform: translateY(-8px);
  border-color: rgba(201, 255, 114, 0.28);
  box-shadow: 0 24px 54px rgba(109, 255, 179, 0.16);
}

.landing-perk-card > span {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  align-self: start;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.landing-perk-card:hover,
.landing-perk-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(201, 255, 114, 0.24);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 22px 46px rgba(109, 255, 179, 0.12);
}

.landing-perk-card.is-featured:hover,
.landing-perk-card.is-featured:focus-within {
  transform: translateY(-14px);
  border-color: rgba(201, 255, 114, 0.42);
  box-shadow: 0 30px 64px rgba(109, 255, 179, 0.22);
}

.landing-perk-card p {
  margin: 0;
  display: flex;
  gap: 9px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.landing-perk-card i {
  color: var(--accent-primary);
}

.landing-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 30020;
  display: grid;
  place-items: center;
  padding: 20px;
}

.landing-auth-modal.is-hidden {
  display: none;
}

.landing-auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 12, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.landing-auth-card {
  position: relative;
  width: min(460px, 100%);
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
}

.landing-auth-close {
  position: absolute;
  right: 14px;
  top: 14px;
}

.landing-auth-message {
  min-height: 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.blog-comment-gate button {
  color: var(--accent-primary);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(201, 255, 114, 0.42);
}

.landing-footer {
  width: min(1120px, calc(100% - 32px));
  min-height: 86px;
  margin: 54px auto 0;
  padding: 24px 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
  font-weight: 700;
}

.playful-graffiti-wall {
  width: 100%;
  margin: 44px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(8, 13, 19, 0.9);
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-color: rgba(156, 255, 114, 0.6) rgba(255, 255, 255, 0.08);
}

.playful-graffiti-wall:not(.is-profile-wall) {
  padding-inline: 0;
  border-inline: 0;
  border-radius: 0;
}

.playful-graffiti-wall.is-profile-wall {
  width: min(1440px, calc(100% - 32px));
  margin-top: 28px;
}

.public-profile-top .playful-graffiti-wall.is-profile-wall {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}

.playful-graffiti-wall.is-account-wall {
  width: min(1440px, calc(100% - 32px));
  margin-top: 24px;
}

.playful-graffiti-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.playful-graffiti-wall:not(.is-profile-wall) .playful-graffiti-head {
  display: none;
}

.playful-graffiti-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.playful-graffiti-head span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 900;
}

.playful-graffiti-surface {
  position: relative;
  width: 100%;
  min-height: 280px;
  border-radius: 8px;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(8, 12, 16, 0.08), rgba(8, 12, 16, 0.32)),
    var(--graffiti-brick, url("assets/playful/brickbg2x.png"));
  background-repeat: repeat;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 48px rgba(0, 0, 0, 0.24);
  touch-action: none;
}

.playful-graffiti-wall .playful-graffiti-surface {
  border-radius: 0;
}

.playful-graffiti-wall.is-profile-wall .playful-graffiti-surface {
  width: 100%;
  min-height: 440px;
}

.playful-graffiti-cans {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  overflow-x: auto;
  padding: 2px 0 4px;
}

.playful-graffiti-cans.is-empty {
  display: none;
}

.playful-graffiti-can {
  position: relative;
  flex: 0 0 auto;
  min-width: 74px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 950;
  cursor: pointer;
}

.playful-graffiti-can.is-custom-spraycan img {
  display: none;
}

.playful-graffiti-can.is-custom-spraycan::before {
  content: "";
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  background: var(--spray-tint, #9cff72);
  -webkit-mask: url("assets/playful/spraypaint white.png") center / contain no-repeat;
  mask: url("assets/playful/spraypaint white.png") center / contain no-repeat;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--spray-tint, #9cff72) 60%, transparent));
}

.playful-graffiti-can.is-eraser-sponge {
  background: rgba(216, 242, 255, 0.12);
}

.playful-graffiti-undo,
.playful-graffiti-brushes button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 950;
  cursor: pointer;
}

.playful-graffiti-brushes {
  flex: 0 0 auto;
  display: inline-flex;
  gap: 6px;
}

.playful-graffiti-brushes button.is-active,
.playful-graffiti-undo:hover,
.playful-graffiti-brushes button:hover {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.playful-graffiti-can.is-active {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 12px 26px rgba(104, 255, 156, 0.24);
}

.playful-graffiti-can img,
.playful-graffiti-can span {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.playful-graffiti-can img {
  object-fit: contain;
  image-rendering: pixelated;
}

.playful-graffiti-can span {
  border-radius: 999px;
  background: var(--can-color, #ffffff);
  border: 1px solid rgba(0, 0, 0, 0.24);
}

.playful-graffiti-can strong {
  font-size: 0.8rem;
}

.playful-graffiti-clear {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(7, 12, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.playful-graffiti-clear:hover,
.playful-graffiti-clear:focus-visible {
  transform: translateY(-2px);
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38), 0 0 0 2px rgba(156, 255, 114, 0.24);
}

.playful-graffiti-surface.is-spray-ready {
  cursor: none;
}

.playful-graffiti-surface canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.playful-graffiti-canvas-color {
  mix-blend-mode: var(--graffiti-blend-mode, normal);
}

.playful-graffiti-canvas-overlay {
  display: none;
}

.graffiti-feature-toggle {
  position: fixed;
  left: 18px;
  top: 92px;
  z-index: 1200;
  width: min(280px, calc(100vw - 36px));
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
}

.graffiti-feature-toggle.is-hidden {
  display: none;
}

.graffiti-feature-toggle strong,
.graffiti-feature-toggle span {
  display: block;
}

.graffiti-feature-toggle strong {
  color: #ffffff;
  font-weight: 950;
}

.graffiti-feature-toggle span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
}

.graffiti-feature-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.graffiti-feature-switch {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.graffiti-feature-switch input {
  width: 42px;
  height: 22px;
  accent-color: var(--accent-primary);
}

.graffiti-feature-select {
  display: grid;
  gap: 6px;
}

.graffiti-feature-select select {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font: inherit;
  font-weight: 800;
}

.graffiti-admin-colors {
  display: grid;
  gap: 8px;
}

.graffiti-admin-colors > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.graffiti-admin-colors label {
  display: grid;
  grid-template-columns: 54px 38px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.graffiti-admin-colors em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  text-transform: capitalize;
}

.graffiti-admin-colors input[type="color"] {
  width: 38px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
}

.graffiti-admin-colors input[type="text"] {
  min-width: 0;
  min-height: 34px;
  padding: 0 9px;
  border-radius: 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

.graffiti-permission-control {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 900;
}

.graffiti-permission-control select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font: inherit;
  font-weight: 900;
}

.graffiti-pattern-picker {
  display: grid;
  gap: 10px;
}

.graffiti-pattern-picker > span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.graffiti-pattern-picker > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.graffiti-pattern-picker label,
.graffiti-pattern-picker button {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.08), rgba(5, 8, 12, 0.56)),
    var(--brick-thumb) center / 96px 96px repeat;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.graffiti-pattern-picker label.is-active,
.graffiti-pattern-picker button.is-active {
  border-color: var(--accent-primary);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(201, 255, 114, 0.16);
}

.graffiti-pattern-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.graffiti-pattern-picker em {
  position: relative;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.56);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.graffiti-pattern-picker.is-compact {
  margin-top: 12px;
}

.graffiti-pattern-picker.is-compact label {
  min-height: 58px;
}

.graffiti-admin-pattern-picker {
  width: 100%;
}

.graffiti-admin-pattern-picker button {
  min-height: 54px;
}

.graffiti-wall-pattern-tools {
  width: min(460px, 100%);
  margin-left: auto;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.playful-graffiti-wall:not(.is-profile-wall) .graffiti-wall-pattern-tools {
  margin-right: 16px;
}

.graffiti-wall-pattern-tools > div {
  grid-template-columns: repeat(3, 96px);
  justify-content: end;
}

.graffiti-wall-pattern-tools button {
  min-height: 54px;
}

.playful-graffiti-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  gap: 7px;
  pointer-events: none;
  will-change: transform;
}

.playful-graffiti-cursor.is-visible {
  display: inline-flex;
}

.playful-graffiti-cursor img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.38));
}

.playful-graffiti-cursor span {
  width: 46px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.playful-graffiti-cursor span::before {
  content: "";
  display: block;
  width: var(--graffiti-progress, 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9cff72, #ffd86b);
}

.site-paint-layer {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10030;
  min-width: 100%;
  min-height: 100%;
  pointer-events: none;
  contain: layout style paint;
}

.landing-page:has([data-wifi-network-page].has-graffiti-background) .site-paint-layer {
  display: none;
}

.site-paint-canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  pointer-events: none;
}

.site-paint-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10060;
  display: none;
  align-items: center;
  gap: 7px;
  pointer-events: none;
  will-change: transform;
}

.site-paint-cursor.is-visible {
  display: inline-flex;
}

.mobile-weapon-toggle {
  display: none;
}

.mobile-health-overlay,
.mobile-heal-modal {
  display: none;
}

.site-paint-cursor span {
  width: 54px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.site-paint-cursor span::before {
  content: "";
  display: block;
  width: var(--graffiti-progress, 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9cff72, #ffd86b);
}

.site-paint-cursor b {
  min-width: 38px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(7, 12, 18, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.72rem;
  line-height: 1;
}

.graffiti-inspect-overlay {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10180;
  display: none;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  max-width: min(360px, calc(100vw - 24px));
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(216, 242, 255, 0.34);
  background: rgba(12, 18, 24, 0.9);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.graffiti-inspect-overlay.is-visible {
  display: grid;
}

.graffiti-inspect-overlay.is-locked {
  pointer-events: auto;
}

.graffiti-inspect-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1) center / cover no-repeat;
  border: 2px solid rgba(216, 242, 255, 0.8);
}

.graffiti-inspect-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.graffiti-inspect-copy span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

.graffiti-inspect-close {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.graffiti-inspect-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.graffiti-inspect-actions button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.site-paint-modal {
  position: fixed;
  inset: 0;
  z-index: 10090;
  display: grid;
  place-items: center;
  padding: 18px;
}

.site-paint-modal.is-hidden {
  display: none;
}

.fly-cursor-warning-modal {
  position: fixed;
  inset: 0;
  z-index: 10110;
  display: grid;
  place-items: center;
  padding: 18px;
}

.fly-cursor-warning-modal.is-hidden {
  display: none;
}

.fly-cursor-warning-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}

.fly-cursor-warning-card .window-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.fly-cursor-warning-card h2 {
  margin: 0;
  padding: 0 36px;
  font-size: 1.2rem;
}

.fly-cursor-warning-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.fly-cursor-warning-gif {
  width: 84px;
  height: 84px;
  object-fit: contain;
  image-rendering: pixelated;
}

.fly-cursor-warning-checkbox {
  width: 100%;
  justify-content: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.fly-cursor-warning-actions {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.site-paint-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(12px);
}

.site-paint-card {
  position: relative;
  width: min(680px, 100%);
  max-height: min(560px, calc(100vh - 36px));
  overflow: auto;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding: 22px;
  border-radius: 12px;
}

.site-paint-card .window-close {
  position: absolute;
  right: 12px;
  top: 12px;
}

.site-paint-card h2 {
  margin: 0;
  padding-right: 48px;
}

.site-paint-nav {
  display: grid;
  align-content: start;
  gap: 2px;
  padding-top: 42px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.site-paint-nav button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px 0 0 6px;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.site-paint-nav button.is-active {
  color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--accent-primary);
}

.site-paint-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.site-paint-clean {
  min-height: 38px;
  width: max-content;
  padding: 0 12px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 95, 95, 0.18);
  border: 1px solid rgba(255, 130, 130, 0.28);
  font-weight: 950;
  cursor: pointer;
}

.site-paint-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.site-paint-supplies {
  display: grid;
  gap: 8px;
}

.site-paint-supply {
  min-height: 62px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.site-paint-supply.is-active {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.site-paint-supply img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--spray-tint, #9cff72) 58%, transparent));
}

.site-paint-supply span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.site-paint-supply strong,
.site-paint-supply em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-paint-supply em {
  font-style: normal;
  font-size: 0.78rem;
  opacity: 0.78;
}

.site-paint-supply i {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.site-paint-supply i::before {
  content: "";
  display: block;
  width: var(--fill, 100%);
  height: 100%;
  border-radius: inherit;
  background: var(--spray-tint, #9cff72);
}

.site-paint-thickness {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-paint-thickness button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 950;
  cursor: pointer;
}

.site-paint-thickness button.is-active {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.site-paint-tile {
  min-width: 0;
  min-height: 108px;
  display: grid;
  grid-template-rows: 42px auto auto 7px;
  justify-items: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.site-paint-tile.is-active {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.site-paint-tile img,
.site-paint-tile .cursor-preview-media {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  object-fit: contain;
  image-rendering: pixelated;
}

.site-paint-tile strong,
.site-paint-tile em {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.72rem;
  text-align: center;
}

.site-paint-tile em {
  font-style: normal;
  opacity: 0.76;
}

.site-paint-tile i {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.site-paint-tile i::before {
  content: "";
  display: block;
  width: var(--fill, 100%);
  height: 100%;
  border-radius: inherit;
  background: var(--spray-tint, #9cff72);
}

@media (max-width: 720px) {
  .site-paint-card {
    grid-template-columns: 1fr;
    width: min(420px, 100%);
  }

  .site-paint-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 36px;
  }

  .site-paint-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.landing-token-shop-page {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 126px 0 40px;
  display: grid;
  gap: 18px;
  position: relative;
}

.landing-token-shop-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 20%, rgba(156, 255, 114, 0.14), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(73, 210, 255, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(10, 16, 24, 0.94), rgba(9, 6, 18, 0.96)),
    url("assets/Wallpaper-night.png");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.landing-shop-storefront-hero {
  min-height: 320px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 10, 16, 0.82), rgba(7, 14, 22, 0.46)),
    url("assets/appicons/token shop.gif"),
    radial-gradient(circle at 72% 42%, rgba(156, 255, 114, 0.18), transparent 32%);
  background-repeat: no-repeat;
  background-size: cover, 220px, cover;
  background-position: center, right 8% center, center;
  box-shadow: 0 28px 90px rgba(42, 255, 170, 0.12);
}

.landing-shop-carousel {
  overflow: hidden;
  padding: 16px;
  border-radius: 18px;
}

.landing-shop-carousel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.landing-shop-carousel-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: shopCarouselSpin 28s linear infinite;
}

.landing-shop-carousel:hover .landing-shop-carousel-track {
  animation-play-state: paused;
}

.landing-shop-carousel-card {
  width: 190px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-shop-carousel-preview {
  width: 46px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.landing-shop-carousel-preview img {
  max-width: 34px;
  max-height: 34px;
  image-rendering: pixelated;
}

.landing-shop-carousel-card b,
.landing-shop-carousel-card small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-shop-carousel-card small {
  color: var(--text-muted);
}

@keyframes shopCarouselSpin {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.landing-shop-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 8px;
}

.landing-shop-featured-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 16px;
  align-items: stretch;
}

.landing-shop-featured-main,
.landing-shop-featured-bundle {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 20px;
}

.landing-shop-featured-main {
  min-height: 260px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(90deg, rgba(5, 9, 16, 0.92), rgba(6, 14, 19, 0.48)),
    radial-gradient(circle at 72% 36%, rgba(156, 255, 114, 0.2), transparent 34%),
    url("assets/preview.jpg");
  background-size: cover;
  background-position: center;
}

.landing-shop-featured-main h2 {
  max-width: 660px;
  margin: 4px 0 8px;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.94;
}

.landing-shop-featured-main p {
  max-width: 560px;
  color: var(--text-muted);
  font-weight: 800;
}

.landing-shop-featured-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.landing-shop-featured-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 210px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-shop-featured-row img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  image-rendering: pixelated;
}

.landing-shop-featured-row b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-shop-featured-bundle {
  display: grid;
  gap: 12px;
  align-content: start;
  background:
    radial-gradient(circle at 60% 18%, rgba(156, 255, 114, 0.18), transparent 38%),
    rgba(7, 12, 18, 0.72);
}

.landing-shop-featured-bundle-thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.landing-shop-featured-bundle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-shop-featured-bundle h3 {
  margin: 0;
  font-size: 1.5rem;
}

.landing-shop-featured-bundle p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 800;
}

.landing-shop-search {
  width: 100%;
}

.landing-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.landing-shop-item {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border-radius: 8px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease, box-shadow 220ms ease;
}

.landing-shop-item.is-owned,
.shop-item.is-owned {
  opacity: 0.48;
}

.landing-shop-item.is-owned:hover,
.shop-item.is-owned:hover {
  opacity: 0.68;
}

.shop-owned-button,
.shop-owned-button:disabled {
  color: rgba(255, 255, 255, 0.58) !important;
  background: linear-gradient(135deg, #08090c, #16191f) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

.landing-shop-item:hover {
  transform: translateY(-5px);
  border-color: rgba(156, 255, 114, 0.3);
  box-shadow: 0 24px 50px rgba(87, 255, 179, 0.12);
}

.landing-shop-item.is-hidden {
  display: none;
}

.landing-shop-preview {
  position: relative;
  min-height: 128px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-shop-preview img {
  max-width: 86px;
  max-height: 86px;
  image-rendering: pixelated;
  object-fit: contain;
}

.shop-preview-color-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--item-color, #ffffff);
  border: 2px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.landing-shop-preview.is-bundle-preview {
  aspect-ratio: 16 / 9;
  min-height: auto;
  position: relative;
  overflow: hidden;
}

.landing-shop-preview.is-bundle-preview img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  image-rendering: auto;
}

.shop-save-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #05100b;
  background: linear-gradient(135deg, #c7ff76, #62f58f);
  font-weight: 1000;
  box-shadow: 0 0 22px rgba(120, 255, 154, 0.35);
}

.shop-save-badge.is-inline {
  position: static;
  align-self: center;
  justify-self: start;
}

.landing-shop-preview.is-tinted-spraycan,
.cursor-preview-media.is-tinted-spraycan {
  position: relative;
  isolation: isolate;
}

.landing-shop-preview.is-tinted-spraycan::before,
.cursor-preview-media.is-tinted-spraycan::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  background: var(--spray-tint, #9cff72);
  opacity: 0.46;
  filter: blur(14px);
  z-index: -1;
}

.landing-shop-preview.is-tinted-spraycan img,
.cursor-preview-media.is-tinted-spraycan img {
  opacity: 0.26;
  filter: grayscale(1) brightness(1.35) contrast(1.08) drop-shadow(0 0 10px color-mix(in srgb, var(--spray-tint, #9cff72) 64%, transparent));
}

.landing-shop-preview.is-tinted-spraycan::after,
.cursor-preview-media.is-tinted-spraycan::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  background: var(--spray-tint, #9cff72);
  -webkit-mask: url("assets/playful/spraypaint white.png") center / contain no-repeat;
  mask: url("assets/playful/spraypaint white.png") center / contain no-repeat;
  filter: saturate(1.15) drop-shadow(0 0 12px color-mix(in srgb, var(--spray-tint, #9cff72) 58%, transparent));
  pointer-events: none;
}

.cursor-preview-media.is-tinted-spraycan::after {
  width: 72px;
  height: 72px;
}

.landing-shop-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
}

.landing-shop-hero-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.landing-token-wallet {
  min-width: 220px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 12px;
  padding: 14px 16px;
  border-radius: 22px;
  border-color: rgba(201, 255, 114, 0.28);
  box-shadow: 0 18px 42px rgba(109, 255, 179, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.landing-token-wallet i {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #17351d;
  background: linear-gradient(180deg, #fff18c, var(--accent-primary));
  box-shadow: 0 0 22px rgba(201, 255, 114, 0.22);
}

.landing-token-wallet span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.landing-token-wallet strong {
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1;
}

.landing-shop-actions [data-shop-like].is-liked {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.landing-shop-actions [data-shop-like] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.landing-page[data-site-edit-mode="edit"] [data-landing-text-key] {
  cursor: text;
  outline: 1px dashed rgba(201, 255, 114, 0.44);
  outline-offset: 4px;
  border-radius: 4px;
}

.landing-page[data-wifi-edit-mode="edit"] [data-wifi-edit-field] {
  cursor: text;
  position: relative;
  outline: 1px dashed rgba(201, 255, 114, 0.58);
  outline-offset: 6px;
  border-radius: 6px;
}

.landing-page[data-wifi-edit-mode="edit"] [data-wifi-edit-field]::after {
  content: "double-click to edit";
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 2;
  padding: 3px 8px;
  border: 1px solid rgba(201, 255, 114, 0.38);
  border-radius: 999px;
  color: #c9ff72;
  background: rgba(7, 12, 16, 0.86);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.86;
}

.landing-page[data-wifi-edit-mode="edit"] .wifi-widget-board.is-edit-mode [data-wifi-widget-title] {
  cursor: text;
  outline: 1px dashed rgba(201, 255, 114, 0.5);
  outline-offset: 5px;
  border-radius: 6px;
}

.wifi-widget-title-editor {
  width: min(100%, 420px);
  padding: 8px 10px;
  border: 1px solid rgba(201, 255, 114, 0.42);
  border-radius: 10px;
  color: #fff;
  background: rgba(4, 9, 13, 0.92);
  font: inherit;
  font-weight: 900;
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 255, 115, 0.12);
}

.wifi-hub-card,
.wifi-unclaimed,
.wifi-network-hero,
.wifi-network-editor,
.wifi-comments {
  width: min(1180px, calc(100% - 28px));
  margin: 18px auto;
}

.wifi-hub-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 20px;
}

.wifi-hub-orb,
.wifi-network-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #241101;
  background: linear-gradient(180deg, #ffb14a, #ff7a1a);
  box-shadow: 0 16px 40px rgba(255, 122, 26, 0.22);
}

.wifi-hub-orb {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  font-size: 2rem;
}

.wifi-hub-orb img,
.wifi-network-avatar img,
.wifi-widget-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wifi-network-page {
  width: min(1380px, calc(100% - 28px));
  margin: 0 auto 56px;
  padding-top: 126px;
}

.wifi-network-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 20px;
  min-height: 260px;
  padding: 26px;
  overflow: hidden;
  background-image: linear-gradient(180deg, rgba(4, 8, 13, 0.22), rgba(4, 8, 13, 0.86)), var(--wifi-banner);
  background-size: cover;
  background-position: center;
}

.wifi-network-avatar {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  font-size: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.wifi-network-editor {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.wifi-network-editor label,
.wifi-widget-modal-card label {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.wifi-network-editor input,
.wifi-network-editor textarea,
.wifi-widget-modal-card input,
.wifi-widget-modal-card textarea,
.wifi-widget-modal-card select {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font: inherit;
}

.wifi-network-editor textarea,
.wifi-widget-modal-card textarea {
  min-height: 96px;
  resize: vertical;
}

.wifi-network-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wifi-widget-board {
  width: 100%;
  margin-top: 18px;
  grid-auto-rows: auto;
}

.wifi-widget-card {
  min-width: 0;
  overflow: visible;
}

.wifi-widget-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.wifi-widget-image {
  max-height: 360px;
  border-radius: 8px;
}

.wifi-widget-add-card {
  display: grid;
  grid-column: span 6;
  gap: 12px;
  place-items: center;
  min-height: 180px;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 160ms ease, transform 160ms ease;
}

.wifi-widget-add-card:hover,
.wifi-widget-add-card:focus-visible {
  opacity: 0.86;
  transform: translateY(-2px);
}

.wifi-widget-add-card i {
  font-size: 2.4rem;
  color: #ffb14a;
}

.wifi-widget-action-card span {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 900;
}

.wifi-widget-board.has-no-widgets .wifi-widget-add-card {
  display: grid !important;
  opacity: 0.82;
}

.wifi-widget-board.has-no-widgets .wifi-widget-add-card,
.wifi-widget-board.has-no-widgets .wifi-widget-template-card {
  grid-column: span 6;
}

.wifi-widget-board.has-widgets:not(.is-edit-mode) .wifi-widget-add-card {
  display: none !important;
}

.wifi-network-balance {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 181, 72, 0.25);
  border-radius: 999px;
  color: #ffd185;
  background: rgba(255, 181, 72, 0.1);
  font-weight: 900;
}

.wifi-widget-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wifi-widget-delete {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 112, 112, 0.28);
  border-radius: 8px;
  color: #ffd4d4;
  background: rgba(255, 112, 112, 0.1);
  cursor: pointer;
}

.wifi-widget-delete:hover,
.wifi-widget-delete:focus-visible {
  border-color: rgba(255, 112, 112, 0.58);
  background: rgba(255, 112, 112, 0.18);
  transform: translateY(-1px);
}

.wifi-unclaimed {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 420px;
  padding: 34px;
  text-align: center;
}

.wifi-unclaimed > i {
  font-size: 3rem;
  color: #ffb14a;
}

.wifi-widget-modal-card form {
  display: grid;
  gap: 12px;
}

.landing-page[data-site-edit-mode="edit"] [data-landing-visual-key] {
  cursor: pointer;
  outline: 2px solid rgba(201, 255, 114, 0.54);
  outline-offset: 4px;
  border-radius: 8px;
}

.landing-inline-editor {
  width: min(100%, 680px);
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
}

textarea.landing-inline-editor {
  min-height: 120px;
  resize: vertical;
}

.landing-achievements-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 146px max(24px, calc((100vw - 1400px) / 2)) 80px;
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0.08) 0%, #100d14 62%),
    var(--landing-wallpaper, url("assets/Wallpaper.png")) center top / cover no-repeat;
}

.landing-achievements-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 20, 31, 0.26), rgba(16, 13, 20, 0.96) 70%),
    url("assets/Wallpaper2.png") center / cover no-repeat;
  opacity: 0.72;
  pointer-events: none;
}

.landing-page[data-wallpaper-mode="day"] .landing-achievements-page::before {
  background:
    linear-gradient(180deg, rgba(9, 20, 31, 0.14), rgba(16, 13, 20, 0.96) 70%),
    url("assets/Wallpaper.png") center / cover no-repeat;
  opacity: 0.7;
}

.landing-achievements-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: end;
  gap: 28px;
  margin-bottom: 22px;
}

.landing-achievements-hero h1 {
  margin: 0;
  font-size: clamp(3.8rem, 9vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.landing-achievements-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.achievement-progress-card {
  padding: 22px;
  border-radius: 22px;
  display: grid;
  gap: 10px;
}

.achievement-progress-card span {
  color: var(--accent-primary);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.achievement-progress-card strong {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 0.9;
}

.achievement-progress-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.95rem;
}

.achievement-progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.achievement-progress-bar i,
.achievement-progress-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 0 18px rgba(109, 255, 179, 0.28);
}

.achievement-recent-unlocks {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 24px;
}

.achievement-recent-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.achievement-recent-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.achievement-recent-head > span {
  color: rgba(255, 255, 255, 0.64);
  font-weight: 800;
}

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

.achievement-recent-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: radial-gradient(circle at 18% 10%, rgba(201, 255, 114, 0.14), transparent 56%), rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.achievement-recent-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 255, 114, 0.32);
  box-shadow: 0 20px 46px rgba(109, 255, 179, 0.1);
}

.achievement-recent-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(5, 12, 18, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.achievement-recent-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.achievement-recent-card strong,
.achievement-recent-card span {
  display: block;
  min-width: 0;
}

.achievement-recent-card strong {
  color: #ffffff;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.achievement-recent-card div span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
}

.achievement-recent-card div em {
  display: block;
  margin-top: 5px;
  color: var(--accent-secondary);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
}

.achievement-share-button {
  grid-column: 1 / -1;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  color: #16311b;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.achievement-share-button:hover,
.achievement-share-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.achievement-share-button.is-shared {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(111, 216, 255, 0.36), rgba(201, 255, 114, 0.24));
}

.achievements-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 22px;
}

.achievements-search {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(4, 9, 14, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.achievements-search input {
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  outline: 0;
  color: #fff;
  background: transparent !important;
  font: inherit;
  font-weight: 700;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
}

.achievements-search input:focus,
.achievements-search input:active {
  outline: none;
  box-shadow: none !important;
  background: transparent !important;
}

.achievements-search input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.achievements-search input::-webkit-search-decoration,
.achievements-search input::-webkit-search-cancel-button,
.achievements-search input::-webkit-search-results-button,
.achievements-search input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.achievements-filter-tabs {
  display: flex;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.achievements-filter-tabs button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  font: inherit;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.achievements-filter-tabs button:hover,
.achievements-filter-tabs button:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.achievements-filter-tabs button.is-active {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.achievements-public-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
}

.achievement-public-card {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(13, 23, 31, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 38px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 160ms ease, opacity 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.achievement-public-card.is-hidden-by-filter {
  display: none !important;
}

.achievement-public-card.is-locked {
  opacity: 0.5;
  filter: grayscale(0.45);
}

.achievement-public-card:hover,
.achievement-public-card:focus-visible {
  opacity: 1;
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(201, 255, 114, 0.46);
  box-shadow: 0 22px 48px rgba(109, 255, 179, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.achievement-public-icon {
  width: 78%;
  height: 78%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(5, 12, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.achievement-public-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.achievement-public-icon i {
  color: var(--accent-primary);
  font-size: clamp(1.8rem, 3vw, 3.5rem);
}

.achievement-public-hover {
  position: absolute;
  inset: auto 8px 8px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border-radius: 12px;
  color: #fff;
  background: rgba(5, 9, 14, 0.74);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.achievement-public-card:hover .achievement-public-hover,
.achievement-public-card:focus-visible .achievement-public-hover {
  opacity: 1;
  transform: translateY(0);
}

.achievement-public-hover strong {
  overflow: hidden;
  font-size: 0.76rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.achievement-public-hover em {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.68rem;
  font-style: normal;
}

.achievement-public-hover i {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.achievements-empty {
  padding: 28px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.66);
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
}

.achievement-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 22px;
}

.achievement-detail-modal.is-hidden {
  display: none;
}

.achievement-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 12, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.achievement-detail-card {
  position: relative;
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  align-items: center;
  overflow: hidden;
}

.achievement-detail-card .window-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  font-size: 0;
}

.achievement-detail-card .window-close::before {
  content: "x";
  font-size: 1rem;
  line-height: 1;
}

.achievement-detail-card > div {
  min-width: 0;
  padding-right: 42px;
}

.achievement-detail-card img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border-radius: 8px;
}

.achievement-detail-card h2 {
  margin: 6px 0;
  color: var(--accent-primary);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.achievement-detail-card span,
.achievement-detail-card small {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 900;
}

.achievement-detail-card span.is-unlocked {
  color: var(--accent-secondary);
}

.landing-projects-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 138px max(24px, calc((100vw - 1120px) / 2)) 80px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
}

.landing-projects-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, rgba(16, 13, 20, 0.12), #100d14 100%);
}

.projects-toc,
.projects-page-content {
  position: relative;
  z-index: 1;
}

.projects-toc {
  align-self: start;
  position: sticky;
  top: 124px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(13, 18, 25, 0.72);
}

.projects-toc strong {
  margin-bottom: 8px;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.projects-toc a {
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 800;
}

.projects-toc a:hover,
.projects-toc a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.projects-page-content {
  display: grid;
  gap: 18px;
}

.projects-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(13, 18, 25, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.projects-page-hero .landing-kicker {
  margin-top: 0;
}

.projects-page-visual {
  min-height: 190px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.projects-page-visual img {
  width: 128px;
  height: 128px;
  object-fit: contain;
}

.projects-page-grid {
  display: grid;
  gap: 14px;
}

.projects-page-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(13, 18, 25, 0.7);
}

.projects-page-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.projects-page-card span {
  color: var(--accent-primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.projects-page-card h2 {
  margin: 4px 0;
}

.projects-page-card p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  font-weight: 600;
}

.projects-page-card a {
  color: var(--accent-primary);
  font-weight: 900;
}

.landing-blog-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 138px max(24px, calc((100vw - 1120px) / 2)) 72px;
}

.landing-blog-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 560px;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(16, 13, 20, 0.14), #100d14 100%),
    url("assets/Wallpaper-night.png") center top / cover no-repeat;
  pointer-events: none;
}

.landing-page[data-wallpaper-mode="day"] .landing-blog-page::before {
  background:
    linear-gradient(180deg, rgba(16, 13, 20, 0.08), #100d14 100%),
    url("assets/Wallpaper.png") center top / cover no-repeat;
  opacity: 0.7;
}

.landing-page[data-blog-cover="true"] .landing-blog-page::before,
.landing-page[data-blog-cover="true"][data-wallpaper-mode="day"] .landing-blog-page::before {
  height: 680px;
  background:
    linear-gradient(180deg, rgba(16, 13, 20, 0.08), #100d14 100%),
    var(--blog-post-wallpaper) center top / cover no-repeat;
  filter: blur(20px);
  opacity: 0.3;
  transform: scale(1.05);
  transform-origin: center top;
}

.blog-hero,
.blog-grid,
.blog-featured-card,
.blog-admin-editor,
.blog-post-shell,
.blog-comments {
  position: relative;
  z-index: 1;
}

.blog-hero {
  max-width: 860px;
  margin-bottom: 28px;
}

.blog-hero .landing-kicker {
  margin-top: 0;
}

.blog-hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.9;
}

.blog-hero.is-blog-post-hero {
  max-width: min(1120px, 100%);
}

.blog-hero.is-blog-post-hero h1 {
  max-width: min(980px, 100%);
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(1.7rem, 3.8vw, 3.5rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-hero p:not(.landing-kicker) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
  font-weight: 700;
}

.blog-card a,
.blog-featured-card,
.blog-carousel-section,
.blog-popular-list,
.blog-related-section,
.blog-post-shell,
.blog-comments,
.blog-admin-editor {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(13, 18, 25, 0.74);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.blog-card a {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.blog-card a:hover,
.blog-card a:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(201, 255, 114, 0.34);
  background: rgba(22, 30, 38, 0.82);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(201, 255, 114, 0.08);
}

.landing-blog-page a:not(.landing-primary):not(.landing-secondary):not(.landing-nav-cta),
.blog-post-content a {
  color: var(--accent-primary);
  text-decoration-color: rgba(201, 255, 114, 0.48);
}

.blog-overview-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 16px;
  margin-bottom: 16px;
}

.blog-featured-card {
  overflow: hidden;
}

.blog-featured-card a {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.blog-featured-card a:hover,
.blog-featured-card a:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(201, 255, 114, 0.34);
  background: rgba(22, 30, 38, 0.82);
}

.pictures-page-hero {
  grid-template-columns: minmax(0, 1fr);
}

.pictures-page-hero > * {
  min-width: 0;
}

.blog-featured-thumb {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 30%, rgba(201, 255, 114, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.05);
}

.blog-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-copy {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 15px;
}

.blog-featured-copy > span {
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-featured-copy h2 {
  margin: 0;
  color: var(--accent-primary);
  font-size: clamp(1.18rem, 1.9vw, 2rem);
  line-height: 1.06;
}

.blog-featured-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 700;
}

.blog-popular-list {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
}

.blog-popular-list h2,
.blog-section-head h2 {
  margin: 0;
  color: var(--accent-primary);
  font-size: 1.1rem;
}

.blog-popular-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.blog-popular-item:hover,
.blog-popular-item:focus-visible {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(201, 255, 114, 0.24);
}

.blog-popular-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
}

.blog-popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-popular-item strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--accent-primary);
  font-size: 1rem;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-popular-item em {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
}

.blog-carousel-section,
.blog-related-section {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
}

.blog-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 280px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 10px;
  scroll-snap-type: inline proximity;
}

.blog-carousel-card {
  scroll-snap-align: start;
}

.blog-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 30%, rgba(201, 255, 114, 0.18), transparent 40%),
    rgba(255, 255, 255, 0.05);
}

.blog-featured-thumb,
.blog-popular-thumb {
  position: relative;
}

.blog-video-badge,
.blog-access-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: #071119;
  background: linear-gradient(180deg, #75d7ff, #4b8eff);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card-thumb .blog-video-badge,
.blog-featured-thumb .blog-video-badge,
.blog-popular-thumb .blog-video-badge {
  position: absolute;
  left: 9px;
  top: 9px;
  z-index: 2;
}

.blog-access-badge {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.blog-card-thumb img,
.blog-post-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-copy {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 13px;
}

.blog-card-copy > span,
.blog-card-meta {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
}

.blog-card-copy h2 {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--accent-primary);
  font-size: 1.05rem;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-card-copy p {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.42;
  font-weight: 600;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.blog-admin-inline-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--accent-contrast);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.blog-admin-inline-action:hover,
.blog-admin-inline-action:focus-visible {
  background: rgba(201, 255, 114, 0.22);
  transform: translateY(-1px);
}

.blog-admin-editor {
  display: grid;
  gap: 16px;
  padding: 18px;
  margin-bottom: 22px;
}

.blog-admin-create-button {
  position: fixed;
  right: 28px;
  top: 138px;
  z-index: 8;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #000 !important;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 18px 36px rgba(109, 255, 179, 0.26);
  font-size: 1.25rem;
}

.blog-admin-create-button:hover,
.blog-admin-create-button:focus-visible {
  transform: translateY(-2px) scale(1.03);
}

.blog-admin-head,
.blog-editor-actions,
.blog-thumbnail-row,
.blog-post-meta,
.blog-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-template-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-admin-head h2,
.blog-comments h2 {
  margin: 0;
}

.blog-editor-form {
  display: grid;
  gap: 12px;
}

.blog-editor-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.blog-editor-form input,
.blog-editor-form textarea,
.blog-editor-form select {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
}

.blog-editor-form textarea {
  min-height: 92px;
  resize: vertical;
}

.blog-thumbnail-preview {
  aspect-ratio: 16 / 9;
  width: min(420px, 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(201, 255, 114, 0.16), rgba(109, 255, 179, 0.08)),
    rgba(4, 8, 12, 0.38);
  background-position: center;
  background-size: cover;
  border: 1px dashed rgba(255, 255, 255, 0.28);
}

.blog-thumbnail-preview.has-image {
  border-style: solid;
}

.blog-thumbnail-preview > div {
  display: grid;
  gap: 4px;
  place-items: center;
  padding: 16px;
  text-align: center;
  border-radius: 8px;
  background: rgba(4, 8, 12, 0.56);
}

.blog-thumbnail-preview.has-image > div {
  opacity: 0;
}

.blog-thumbnail-preview strong,
.blog-thumbnail-preview span {
  display: block;
}

.blog-thumbnail-preview span {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 800;
}

.blog-html-editor {
  min-height: 260px !important;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important;
  font-size: 0.92rem !important;
}

.blog-composer {
  width: min(980px, 100%);
}

.blog-composer-workspace {
  display: grid;
  gap: 12px;
}

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-toolbar select,
.blog-toolbar button {
  min-height: 38px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.blog-toolbar select,
.blog-editor-form select {
  color-scheme: dark;
}

.blog-editor-form select option,
.blog-toolbar select option,
select option {
  color: rgba(255, 255, 255, 0.92);
  background: #1d222a;
  font-weight: 800;
}

.blog-toolbar select option,
.blog-editor-form select option {
  color: rgba(255, 255, 255, 0.92);
  background: #1d222a;
  font-weight: 800;
}

.blog-toolbar select {
  width: auto;
  padding: 0 34px 0 12px !important;
}

.blog-toolbar button {
  min-width: 38px;
  padding: 0 12px;
}

.blog-template-toggle {
  min-width: 156px !important;
  justify-content: space-between !important;
  gap: 14px !important;
}

.blog-template-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 4;
  width: min(220px, 72vw);
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(18, 24, 31, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.blog-template-menu[hidden] {
  display: none;
}

.blog-template-menu button {
  justify-content: flex-start;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
}

.blog-template-menu button:hover,
.blog-template-menu button:focus-visible,
.blog-template-menu button.is-active {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.blog-toolbar button:hover,
.blog-toolbar button:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.2);
}

.blog-toolbar [data-blog-color] {
  width: 34px;
  min-width: 34px;
  padding: 4px;
  border-radius: 50%;
}

.blog-toolbar [data-blog-color]::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.blog-rich-editor {
  min-height: 460px;
  padding: clamp(18px, 3vw, 32px);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(4, 8, 12, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 1.05rem;
  line-height: 1.65;
  outline: none;
}

.blog-html-source {
  min-height: 460px;
  width: 100%;
  padding: clamp(18px, 3vw, 32px);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(4, 8, 12, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font: 0.96rem/1.6 ui-monospace, SFMono-Regular, Consolas, monospace;
  resize: vertical;
  outline: none;
}

.blog-rich-editor:focus,
.blog-html-source:focus {
  border-color: var(--accent-border);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent-primary) 46%, transparent),
    0 0 0 5px color-mix(in srgb, var(--accent-primary) 14%, transparent);
}

.blog-rich-editor h2,
.blog-rich-editor h3 {
  color: #fff;
  line-height: 1.08;
}

.blog-rich-editor img {
  max-width: 100%;
  border-radius: 8px;
}

.blog-video-embed {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 22px 0;
  border-radius: 8px;
  background: rgba(4, 8, 12, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-video-embed iframe,
.blog-post-content iframe,
.blog-rich-editor iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  border-radius: 8px;
}

.blog-post-content iframe,
.blog-rich-editor iframe {
  margin: 22px 0;
}

.blog-mode-toggle {
  min-width: 72px !important;
}

.blog-rich-editor figure {
  margin: 20px 0;
}

.blog-rich-editor figcaption {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  font-weight: 800;
}

.blog-post-shell {
  position: relative;
  overflow: hidden;
}

.blog-post-toc {
  position: sticky;
  top: 118px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 22px;
  border-radius: 18px;
}

.blog-post-toc strong {
  color: #ffffff;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-post-toc-links {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.blog-post-toc-links a {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 800;
}

.blog-post-toc-links a:hover,
.blog-post-toc-links a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.blog-post-cover {
  display: block;
  max-height: 430px;
}

.blog-post-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 18px clamp(18px, 4vw, 46px) 0;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 800;
}

.blog-like-button,
.blog-comment-actions button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.blog-like-button.is-liked,
.blog-comment-actions button.is-liked {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  border-color: rgba(201, 255, 114, 0.32);
}

.blog-floating-like {
  position: fixed;
  right: max(18px, calc((100vw - 1120px) / 2 - 76px));
  bottom: 28px;
  z-index: 1200;
  min-width: 64px;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--accent-contrast);
  font-weight: 950;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.blog-floating-like.is-liked {
  background: linear-gradient(180deg, #ffffff, #d8ff9f);
}

.blog-post-content {
  padding: clamp(22px, 5vw, 56px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.72;
  scroll-margin-top: 150px;
}

.blog-post-content h2,
.blog-post-content h3 {
  color: var(--accent-primary);
  line-height: 1.08;
  scroll-margin-top: 150px;
}

.blog-poll-shell,
.blog-comments {
  scroll-margin-top: 150px;
}

.blog-post-content img {
  max-width: 100%;
  border-radius: 8px;
}

.blog-post-content figure {
  margin: 24px 0;
}

.blog-post-content figcaption {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.88rem;
  font-weight: 700;
}

.blog-comments {
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.blog-emote-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.blog-emote-strip button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.blog-emote-strip button:has(img[src=""]),
.blog-emote-strip button:has(img:not([src])) {
  display: none;
}

.blog-emote-strip img,
.blog-comment-emote {
  width: 28px;
  height: 28px;
  object-fit: contain;
  vertical-align: middle;
}

.blog-comment-form {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.blog-comment-form textarea {
  width: 100%;
  min-height: 94px;
  padding: 14px;
  font: inherit;
  resize: vertical;
}

.blog-comment-preview {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
  line-height: 1.45;
}

.blog-comment-preview.is-hidden {
  display: none;
}

.blog-comment-gate {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.blog-comment-list {
  display: grid;
  gap: 10px;
}

.blog-comment {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  margin-left: calc(var(--comment-depth, 0) * 34px);
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(circle at 50% 34%, #f4d2c3 0 20%, transparent 21%),
    radial-gradient(circle at 50% 82%, #26323d 0 44%, transparent 45%),
    linear-gradient(180deg, #5f3a26, #d8b2a1);
  background-size: cover;
  background-position: center;
}

.blog-comment-body {
  min-width: 0;
}

.blog-comment-body strong {
  display: block;
  margin-bottom: 4px;
}

.blog-comment-author {
  display: inline-grid;
  gap: 2px;
  margin-bottom: 8px;
  text-align: left;
  text-decoration: none;
  transition: transform 140ms ease, filter 140ms ease;
}

.blog-comment-author:hover,
.blog-comment-author:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.18);
}

.blog-comment-author span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
}

.landing-featured-achievements {
  margin: 4px 0 8px;
}

.blog-comment-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.blog-comment-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.blog-comment-actions button:last-child {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.blog-editor-actions input[type="datetime-local"],
.blog-editor-actions select {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font: inherit;
  font-weight: 850;
  color-scheme: dark;
}

button,
a {
  font: inherit;
  color: inherit;
  transition:
    transform 160ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    filter 180ms ease,
    opacity 180ms ease;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  padding: 0;
  text-align: center;
  line-height: 1.1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
}

img,
canvas,
.cursor-media {
  image-rendering: crisp-edges !important;
  image-rendering: pixelated !important;
}

.pictures-photo-card img,
.pictures-page-card img,
.image-modal-image,
.pictures-album-button img {
  image-rendering: auto !important;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]),
textarea,
select {
  background: linear-gradient(180deg, rgba(21, 31, 38, 0.68), rgba(12, 19, 26, 0.54));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 160ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

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

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  width: 18px;
  min-height: 32px;
  margin-right: 4px;
  border-radius: 999px;
  opacity: 0.62;
  filter: invert(1) brightness(1.4) saturate(0.7);
}

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px !important;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.82) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82) 50%, transparent 50%),
    linear-gradient(180deg, rgba(21, 31, 38, 0.68), rgba(12, 19, 26, 0.54));
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]):hover,
textarea:hover,
select:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]):focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--accent-border);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent-primary) 58%, transparent),
    0 0 0 5px color-mix(in srgb, var(--accent-primary) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-primary) 66%, #b5ffd4), color-mix(in srgb, var(--accent-secondary) 58%, #73dbff));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.desktop {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.04)),
    var(--desktop-wallpaper) center center / cover no-repeat;
}

.boot-overlay {
  position: absolute;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(5, 8, 12, 0.96);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 1000ms ease;
}

.boot-overlay.is-leaving {
  opacity: 0;
}

.boot-overlay.is-hidden {
  display: none;
}

.boot-overlay-inner {
  display: grid;
  place-items: center;
}

.boot-logo {
  width: min(480px, 52vw);
  max-width: 480px;
  object-fit: contain;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.38));
}

.boot-loading {
  width: min(420px, 58vw);
  margin-top: 24px;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.boot-loading-track {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.24);
}

.boot-loading-fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 0 22px rgba(109, 255, 179, 0.32);
  transform-origin: left center;
  animation: boot-loading-fill 3.1s cubic-bezier(0.18, 0.82, 0.24, 1) both;
}

.desktop-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--sun-x) var(--sun-y), rgba(255, 255, 255, 0.34), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(5, 39, 23, 0.08) 72%, rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.desktop-overlay::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: url("assets/lightrays.png") center center / cover no-repeat;
  mix-blend-mode: overlay;
  opacity: var(--desktop-rays-opacity);
  filter: saturate(1.08) blur(1.5px);
  transform: scale(1.06);
}

.desktop-overlay,
.sun-container,
.sun-system,
.sun-flare {
  pointer-events: none;
}

.sun-flare {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--sun-flare-size);
  height: var(--sun-flare-size);
  background: radial-gradient(circle, rgba(255, 247, 198, 0.78), rgba(255, 255, 255, 0.08) 42%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  opacity: 0.95;
  transform: translate(-50%, -50%);
}

.sun-rays {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--sun-rays-size);
  height: var(--sun-rays-size);
  border-radius: 50%;
  background: url("assets/lightrays.png") center center / contain no-repeat;
  filter: blur(1px);
  opacity: var(--sun-rays-opacity);
  mix-blend-mode: plus-lighter;
  transform-origin: 50% 50%;
  animation: rotate-rays 42s linear infinite;
  pointer-events: none;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.sun-container {
  position: absolute;
  left: var(--sun-x);
  top: var(--sun-y);
  width: var(--sun-rays-size);
  height: var(--sun-rays-size);
  transform: translate(-50%, -50%);
  transform-origin: center;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
  isolation: isolate;
  contain: layout style paint;
}

.sun-system {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: center;
}

.wallpaper-clock {
  position: absolute;
  top: 50%;
  right: 48px;
  transform: translateY(-50%);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  z-index: 2;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.34);
}

.clock-time {
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.clock-period {
  margin-top: 0.65em;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  opacity: 0.9;
}

.glass {
  background: linear-gradient(180deg, rgba(32, 44, 53, 0.36), rgba(15, 19, 22, 0.22));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.desktop-icons {
  position: absolute;
  top: 28px;
  left: 20px;
  display: grid;
  grid-template-columns: repeat(6, minmax(82px, 96px));
  gap: 18px 20px;
  align-items: start;
  z-index: 2;
  max-height: calc(100dvh - var(--taskbar-height) - 58px);
  overflow: visible;
}

.desktop-icon {
  width: 96px;
  display: grid;
  justify-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 140ms ease;
}

.desktop-icon.is-search-hidden {
  display: none !important;
}

.app-search-shell {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 4;
  display: block;
}

.app-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  width: min(360px, calc(100vw - 48px));
  height: 48px;
  padding: 0 18px 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 9, 12, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.app-search-input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.app-search-input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.app-search-icon {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  justify-self: end;
  pointer-events: none;
}

.desktop-icon-image {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.desktop-icon:hover,
.desktop-icon:focus-visible {
  transform: translateY(-2px);
}

.desktop-icon:hover .desktop-icon-image,
.desktop-icon:focus-visible .desktop-icon-image {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.desktop-icon-image.has-app-icon {
  display: grid;
  place-items: center;
  background: rgba(14, 22, 31, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-ui-icon {
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

.app-ui-icon-fallback {
  border-radius: 8px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(180deg, #fff88f, #77d94d 48%, #1f9c5e);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.desktop-app-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.art-icon {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(180deg, #7bffcf, #1ec1ff 60%, #2574ff);
}

.game-icon {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(180deg, #fff88f, #77d94d 48%, #1f9c5e);
}

.lab-icon {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(180deg, #d4d6ff, #83a7ff 42%, #5272eb);
}

.chat-icon {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(180deg, #aef0ff, #55d8ff 44%, #1fae9c);
}

.cursor-icon {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(180deg, #f7ffb0, #7effb7 46%, #2eb9ff);
}

.rewards-icon {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(180deg, #ffe98a, #ffb85d 44%, #ff6c8a);
}

.admin-icon {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(180deg, #ffdcb2, #ff8c6f 46%, #cc4d83);
}

.analytics-icon {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(180deg, #b5ffe7, #59d7ff 44%, #3d7eff);
}

.community-icon {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(180deg, #ffd9b8, #ff8f8f 42%, #7b74ff);
}

.desktop-icon-label {
  padding: 4px 8px;
  border-radius: 10px;
  text-align: center;
  font-size: 0.9rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  transition: transform 160ms ease, background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.desktop[data-wallpaper-mode="day"] .desktop-icon-label {
  background: rgba(15, 20, 28, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.desktop-icon:hover .desktop-icon-label,
.desktop-icon:focus-visible .desktop-icon-label {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--accent-soft) 42%, rgba(20, 30, 38, 0.18));
  border-color: color-mix(in srgb, var(--accent-primary) 28%, rgba(255, 255, 255, 0.15));
}

.desktop-shortcuts {
  position: absolute;
  left: 28px;
  bottom: calc(var(--taskbar-height) + 26px);
  display: none;
  gap: 14px;
  z-index: 2;
}

.guest-perk-bubble {
  position: absolute;
  left: 24px;
  bottom: calc(var(--taskbar-height) + 24px);
  z-index: 4;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100vw - 48px));
  padding: 16px;
  border-radius: 18px;
}

.guest-perk-bubble strong {
  font-size: 1rem;
}

.guest-perk-bubble span {
  color: rgba(255, 255, 255, 0.76);
}

.guest-perk-bubble div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.perk-info-window {
  width: min(820px, calc(100vw - 72px));
}

.perk-info-window .window-toggle {
  display: none;
}

.perk-info-body {
  display: grid;
  gap: 18px;
  align-content: center;
}

.perk-info-window.is-fullscreen .perk-info-body {
  height: calc(100dvh - var(--taskbar-height) - 67px);
  min-height: 0;
  grid-template-rows: auto minmax(min-content, auto);
  align-content: center;
  padding-top: 28px;
  padding-bottom: 120px;
  overflow-y: auto;
}

.perk-info-window.is-fullscreen.is-admin-view .perk-info-body {
  min-height: 0;
  height: calc(100vh - var(--taskbar-height) - 67px);
  grid-template-rows: none;
  align-content: start;
  padding-top: 24px;
  padding-bottom: 120px;
  overflow-y: auto;
}

.perk-info-window .window-intro {
  margin-bottom: 0;
}

.perk-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(240px, 1.18fr) minmax(0, 0.88fr);
  align-items: end;
  gap: 10px;
}

.perk-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 244px;
  transform-origin: center bottom;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    filter 180ms ease,
    box-shadow 220ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.perk-card-guest,
.perk-card-vip {
  opacity: 0.76;
  filter: saturate(0.9) brightness(0.96);
}

.perk-card:hover,
.perk-card:focus-within {
  opacity: 1;
  filter: saturate(1.04) brightness(1.04);
  transform: translateY(-8px);
  z-index: 2;
  border-color: color-mix(in srgb, var(--accent-primary) 30%, rgba(255, 255, 255, 0.18));
  box-shadow:
    0 26px 48px rgba(0, 0, 0, 0.26),
    0 0 0 1px color-mix(in srgb, var(--accent-primary) 20%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.perk-card h3,
.perk-card p {
  margin: 0;
}

.perk-card i {
  color: var(--accent-primary);
  margin-right: 8px;
}

.perk-price-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 30px;
  padding: 6px 12px;
  line-height: 1;
  text-align: center;
}

.perk-card-member {
  min-height: 318px;
  opacity: 1;
  z-index: 1;
  border-color: color-mix(in srgb, var(--accent-primary) 34%, rgba(255, 255, 255, 0.16));
  box-shadow:
    0 30px 58px rgba(0, 0, 0, 0.28),
    0 0 0 1px color-mix(in srgb, var(--accent-primary) 22%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.perk-card-member:hover,
.perk-card-member:focus-within {
  transform: translateY(-10px);
}

.perk-register-button {
  align-self: end;
  justify-self: start;
  margin-top: 4px;
}

.perk-admin-panel {
  display: grid;
  gap: 12px;
}

.perk-admin-form {
  display: grid;
  gap: 12px;
}

.perk-admin-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.perk-admin-card legend {
  padding: 0 8px;
  font-weight: 800;
}

.perk-admin-card label {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.perk-admin-card input,
.perk-admin-card textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(10, 14, 18, 0.28);
  font: inherit;
}

.perk-admin-card textarea {
  resize: vertical;
  min-height: 124px;
}

.admin-edit-dock {
  position: absolute;
  right: 24px;
  bottom: calc(var(--taskbar-height) + 24px);
  z-index: 7;
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  min-width: 196px;
  background:
    linear-gradient(180deg, rgba(22, 31, 38, 0.58), rgba(11, 16, 22, 0.4)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-soft) 70%, transparent), transparent 54%);
}

.admin-edit-dock.is-hidden {
  display: none;
}

.admin-edit-dock.is-dismissed {
  display: none;
}

.admin-edit-dock-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 160ms ease, border-color 180ms ease, background-color 180ms ease;
}

.admin-edit-dock-close:hover,
.admin-edit-dock-close:focus-visible {
  transform: translateY(-1px) rotate(8deg);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
}

.accent-dock-copy {
  display: grid;
  gap: 2px;
  padding-right: 28px;
}

.accent-dock-copy strong {
  font-size: 0.94rem;
}

.accent-dock-copy span {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.66);
}

.accent-dock-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.accent-dock-mode-button {
  min-height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.accent-dock-mode-button:hover,
.accent-dock-mode-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
}

.accent-dock-mode-button.is-active {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-primary) 82%, white), color-mix(in srgb, var(--accent-secondary) 76%, transparent));
  border-color: var(--accent-border);
  color: var(--accent-contrast);
  box-shadow: 0 12px 24px var(--accent-glow);
}

.admin-edit-dock.landing-admin-edit-dock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
}

.accent-dock-swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.accent-swatch {
  width: 100%;
  aspect-ratio: 1;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.accent-swatch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.accent-swatch[data-accent-preset="lime"] span {
  background: linear-gradient(135deg, #d7ff74, #6dffb3);
}

.accent-swatch[data-accent-preset="violet"] span {
  background: linear-gradient(135deg, #e0a3ff, #8db6ff);
}

.accent-swatch[data-accent-preset="aqua"] span {
  background: linear-gradient(135deg, #8ff3ff, #7cffc2);
}

.accent-swatch[data-accent-preset="sunset"] span {
  background: linear-gradient(135deg, #ffb36e, #ff7eb7);
}

.accent-swatch:hover,
.accent-swatch:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.accent-swatch.is-active {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-primary) 32%, transparent), 0 10px 22px rgba(0, 0, 0, 0.18);
}

.shortcut-card {
  min-width: 168px;
  padding: 14px 16px;
  border-radius: 18px;
  display: grid;
  gap: 4px;
  cursor: pointer;
}

.shortcut-title {
  font-weight: 600;
}

.shortcut-meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.76);
}

.avatar-face,
.start-menu-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 50% 34%, #f4d2c3 0 20%, transparent 21%),
    radial-gradient(circle at 39% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 61% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 50% 45%, #dbad97 0 7%, transparent 8%),
    radial-gradient(circle at 50% 82%, #26323d 0 44%, transparent 45%),
    linear-gradient(180deg, #5f3a26 0 26%, #d8b2a1 27% 68%, #25303b 69% 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.start-menu {
  position: absolute;
  left: 18px;
  bottom: calc(var(--taskbar-height) + 18px);
  width: min(340px, calc(100vw - 36px));
  padding: 18px;
  border-radius: 22px;
  z-index: 50;
  visibility: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.start-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.start-menu.is-power-open > :not(.start-menu-power) {
  filter: blur(2px);
  opacity: 0.42;
  pointer-events: none;
  transition: filter 160ms ease, opacity 160ms ease;
}

.start-menu.is-power-open .start-menu-power-button {
  filter: blur(1.5px);
  opacity: 0.56;
  pointer-events: none;
}

.start-menu-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.start-menu-header p,
.start-menu-header strong {
  margin: 0;
}

.start-menu-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.system-label {
  margin: 0;
}

.start-menu-copy {
  display: grid;
  gap: 4px;
}

.start-menu-subtitle {
  margin: 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.4;
}

.start-menu-xp {
  display: grid;
  gap: 5px;
  margin-top: 6px;
  width: min(220px, 100%);
}

.start-menu-xp-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 9, 12, 0.42);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.28);
}

.start-menu-xp-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent-primary) 54%, transparent);
  transition: width 260ms ease;
}

.start-menu-xp-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
}

.start-menu-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.start-menu-theme-block {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.start-menu-theme-title {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.start-menu-theme-toggle {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.start-menu-theme-option {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.start-menu-theme-option:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.start-menu-theme-option.is-active {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-primary) 82%, white), color-mix(in srgb, var(--accent-secondary) 76%, transparent));
  border-color: var(--accent-border);
  box-shadow: 0 12px 24px var(--accent-glow);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.status-pill:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
}

.status-pill.is-banned {
  color: #ffd5d5;
  background: rgba(255, 111, 111, 0.14);
  border-color: rgba(255, 148, 148, 0.24);
}

.admin-only.is-hidden {
  display: none !important;
}

.is-hidden {
  display: none !important;
}

.start-menu-actions {
  display: grid;
  gap: 10px;
}

.start-menu-button,
.start-menu-signout {
  width: 100%;
  min-height: 54px;
  padding: 11px 14px;
  border-radius: 16px;
  text-align: left;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.start-menu-button:hover,
.start-menu-signout:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.2);
}

.start-menu-button,
.start-menu-signout {
  cursor: pointer;
}

.start-menu-button:focus-visible,
.start-menu-signout:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.start-menu-button-title {
  font-weight: 600;
}

.start-menu-button-meta {
  flex: 0 1 48%;
  text-align: right;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  line-height: 1.3;
}

.start-menu-signout {
  margin-top: 14px;
}

.start-menu-power {
  position: relative;
  margin-top: 14px;
  z-index: 5;
}

.start-menu-power .start-menu-signout {
  margin-top: 0;
}

.start-menu-power-button .start-menu-button-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.power-menu-popover {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 30;
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  pointer-events: auto;
  background:
    linear-gradient(180deg, rgba(21, 31, 38, 0.72), rgba(10, 16, 22, 0.56)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-soft) 56%, transparent), transparent 54%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.power-menu-option {
  position: relative;
  z-index: 1;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 800;
  text-align: left;
}

.power-menu-option:hover,
.power-menu-option:focus-visible {
  transform: translateY(-1px);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.window-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.os-window {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(540px, calc(100vw - 48px));
  max-height: min(760px, calc(100vh - 120px));
  border-radius: 30px;
  overflow: hidden;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  opacity: 1;
  transition:
    opacity 220ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 220ms ease,
    box-shadow 240ms ease;
  will-change: opacity, transform, filter;
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.os-window.is-entering {
  opacity: 0;
  filter: blur(6px);
  transform: translate(-50%, calc(-50% + 18px)) scale(0.975);
}

.os-window.is-visible {
  opacity: 1;
  filter: blur(0);
}

.os-window.is-closing {
  opacity: 0;
  filter: blur(6px);
  transform: translate(-50%, calc(-50% + 18px)) scale(0.982);
  pointer-events: none;
}

.os-window.is-fullscreen {
  left: 0 !important;
  top: 0 !important;
  width: 100vw;
  max-width: none;
  max-height: none;
  height: calc(100vh - var(--taskbar-height));
  transform: none !important;
  border-radius: 0;
}

.os-window.is-fullscreen.is-entering {
  transform: translateY(18px) !important;
}

.os-window.is-fullscreen.is-closing {
  transform: translateY(18px) !important;
}

.os-window.is-hidden {
  display: none;
}

.os-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  cursor: grab;
  user-select: none;
}

.window-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.window-title span {
  min-width: 0;
}

.window-title-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
}

.os-window-body {
  display: grid;
  gap: 20px;
  padding: 24px;
  overflow: auto;
}

.window-intro {
  display: grid;
  gap: 6px;
}

.window-eyebrow {
  display: none;
}

.window-intro h2,
.window-intro p {
  margin: 0;
}

.window-eyebrow {
  color: rgba(204, 255, 218, 0.84);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.window-intro h2 {
  font-size: 1.25rem;
  line-height: 1.1;
}

.window-intro p {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

.window-close {
  width: 42px;
  min-width: 42px;
  min-height: 34px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  font-size: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 111, 111, 0.94), rgba(212, 56, 76, 0.92));
  color: #fff6f6;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(164, 28, 50, 0.22);
}

.window-close::before {
  content: "\00d7";
  font-size: 1.4rem;
  line-height: 1;
}

.window-close i {
  font-size: 1rem;
}

.window-close:has(i)::before {
  display: none;
}

.window-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-toggle {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.window-toggle:hover,
.window-toggle:focus-visible {
  transform: translateY(-1px) scale(1.03);
  background: color-mix(in srgb, var(--accent-soft) 48%, rgba(255, 255, 255, 0.08));
  border-color: color-mix(in srgb, var(--accent-primary) 26%, rgba(255, 255, 255, 0.18));
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
}

.window-toggle:active {
  transform: scale(0.97);
}

.window-toggle.is-disabled {
  opacity: 0.55;
  cursor: default;
}

.icon-action-button {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  font-size: 0.98rem;
  border-radius: 8px;
}

.window-close:hover,
.window-close:focus-visible {
  transform: translateY(-1px) scale(1.03);
  filter: saturate(1.06) brightness(1.04);
}

.window-close:active {
  transform: scale(0.97);
}

.icon-send-button {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
}

.button-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
}

.button-with-icon i {
  flex: 0 0 auto;
}

.level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  margin-left: 6px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(156, 255, 114, 0.14);
  border: 1px solid rgba(156, 255, 114, 0.24);
  color: #d7ff9a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
  white-space: nowrap;
}

.pane-block,
.inventory-section {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-window {
  min-width: min(520px, calc(100vw - 32px));
}

.auth-window {
  width: min(760px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 80px));
}

.projects-window {
  width: min(1120px, calc(100vw - 32px));
}

.chat-window {
  width: min(1120px, calc(100vw - 32px));
}

.white-screen-window {
  width: min(920px, calc(100vw - 32px));
}

.community-window {
  width: min(1120px, calc(100vw - 32px));
}

.hellsmouth-window {
  width: min(560px, calc(100vw - 32px));
}

.tappy-frog-window {
  width: min(560px, calc(100vw - 32px));
}

.auth-tabs {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 8px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.auth-tab.is-active {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-primary) 82%, white), color-mix(in srgb, var(--accent-secondary) 76%, transparent));
  border-color: var(--accent-border);
  color: var(--accent-contrast);
  box-shadow: 0 12px 24px var(--accent-glow);
}

.auth-tab:hover,
.auth-tab:focus-visible,
.analytics-filter:hover,
.analytics-filter:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.auth-panels {
  display: grid;
  min-height: 0;
}

.auth-panels > .auth-panel {
  display: none !important;
}

.auth-panels > .auth-panel.is-active {
  display: grid !important;
}

.auth-window-body {
  max-height: min(640px, calc(100vh - 150px));
  overflow: auto;
  padding-right: 18px;
  align-content: start;
}

.os-window.is-fullscreen .os-window-body {
  height: calc(100vh - var(--taskbar-height) - 67px);
  max-height: none;
}

.auth-guest-view,
.member-space-view {
  display: grid;
  gap: 20px;
}

.member-space-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.member-identity-panel,
.member-security-panel,
.member-info-card,
.member-space-footer-actions {
  display: grid;
  gap: 16px;
}

.member-info-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.member-profile-summary {
  align-items: center;
}

.member-profile-info-grid {
  display: grid;
  gap: 14px;
}

.member-profile-info-copy {
  display: grid;
  gap: 12px;
}

.member-profile-bio {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.member-profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-profile-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  font-weight: 600;
}

.member-security-copy {
  display: grid;
  gap: 12px;
}

.member-security-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.member-security-actions,
.member-space-footer-actions {
  display: grid;
  gap: 12px;
}

.member-security-actions {
  grid-template-columns: 1fr;
}

.member-space-footer-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.danger-action {
  border-color: rgba(255, 135, 135, 0.24);
  color: #ffd4d4;
}

.danger-action:hover,
.danger-action:focus-visible {
  background: rgba(255, 114, 114, 0.14);
}

.member-profile-copy {
  display: grid;
  gap: 4px;
}

.member-avatar-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.member-color-admin-form {
  display: grid;
  gap: 14px;
}

.member-color-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 88px;
  gap: 10px;
}

.member-color-admin-grid input[type="text"],
.member-color-admin-grid select {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(12, 21, 27, 0.32);
  color: #ffffff;
  padding: 0 14px;
  outline: none;
  font: inherit;
}

.member-color-picker {
  width: 88px;
  min-height: 46px;
  padding: 5px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 21, 27, 0.32);
}

.member-color-admin-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.member-space-section-header {
  margin-bottom: 0;
}

.member-space-logout {
  width: 100%;
}

.chat-window-body {
  max-height: min(560px, calc(100vh - 180px));
  grid-template-rows: auto auto auto auto minmax(220px, 1fr);
}

.chat-window.is-fullscreen .chat-window-body {
  height: calc(100vh - var(--taskbar-height) - 67px);
  max-height: none;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  padding: 18px 24px 14px;
  position: relative;
}

.chat-window.is-fullscreen .window-intro {
  display: flex;
  align-items: baseline;
  gap: 14px;
  white-space: nowrap;
  padding-right: 420px;
}

.chat-window.is-fullscreen .window-intro p {
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-window.is-fullscreen .chat-meta-row {
  position: absolute;
  top: 20px;
  right: 24px;
  justify-content: flex-end;
  gap: 16px;
  text-align: right;
  white-space: nowrap;
}

.chat-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.chat-layout-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-layout-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.72);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.chat-layout-button:hover,
.chat-layout-button:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.chat-layout-button.is-active {
  color: #183216;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  border-color: var(--accent-border);
  box-shadow: 0 8px 18px var(--accent-glow);
}

.chat-cost-note {
  text-align: right;
  font-size: 0.84rem;
}

.chat-cost-note::before {
  content: none !important;
}

.token-shop-tabs.chat-room-tabs {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-self: start;
  align-items: center;
  position: relative;
}

.chat-room-tabs .chat-layout-toggle {
  margin-left: auto;
}

.chat-room-tabs .wifi-chat-tab,
.token-shop-tab.wifi-chat-tab {
  color: #241101;
  background: linear-gradient(180deg, #ffb14a, #ff7a1a);
  border-color: rgba(255, 177, 74, 0.55);
}

.chat-room-tabs .wifi-chat-tab.is-active,
.token-shop-tab.wifi-chat-tab.is-active {
  box-shadow: 0 0 0 2px rgba(255, 177, 74, 0.22), 0 12px 28px rgba(255, 122, 26, 0.18);
}

.chat-private-tab-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.chat-private-tab-close {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.chat-private-picker {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 4;
  min-width: 220px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(12, 16, 24, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.chat-private-picker.is-hidden {
  display: none;
}

.chat-private-picker button {
  min-height: 34px;
  padding: 0 10px;
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.chat-room-notice {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 214, 102, 0.14);
  border: 1px solid rgba(255, 219, 122, 0.24);
  color: rgba(255, 245, 211, 0.88);
  font-size: 0.84rem;
}

.chat-desktop-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(0, 3fr);
  gap: 14px;
  min-height: 0;
}

.chat-main-panel {
  display: grid;
  grid-template-rows: minmax(220px, 1fr) auto;
  gap: 12px;
  min-width: 0;
  min-height: 0;
}

.chat-online-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  min-height: 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(9, 17, 23, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-online-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chat-online-count-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(169, 255, 126, 0.16);
  border: 1px solid rgba(169, 255, 126, 0.24);
  color: #b7ff8a;
  font-weight: 900;
}

.chat-online-list {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: auto;
  padding-right: 2px;
}

.chat-online-user {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-online-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 50% 34%, #f4d2c3 0 20%, transparent 21%),
    radial-gradient(circle at 50% 82%, #26323d 0 44%, transparent 45%),
    linear-gradient(180deg, #5f3a26 0 26%, #d8b2a1 27% 68%, #25303b 69% 100%);
  background-size: cover;
  background-position: center;
}

.chat-online-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.chat-online-copy strong,
.chat-online-copy span {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.chat-online-copy span,
.chat-online-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.chat-cost-note::before {
  content: none;
  font-size: 0.84rem;
}

.chat-log {
  min-height: 220px;
  max-height: 320px;
  overflow: auto;
  padding: 14px;
  border-radius: 18px;
  background: rgba(9, 17, 23, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
  align-content: start;
}

.chat-day-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-day-divider::before,
.chat-day-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.chat-day-divider span {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-load-more {
  justify-self: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  border: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(109, 255, 179, 0.16);
}

.chat-load-more:hover,
.chat-load-more:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(109, 255, 179, 0.24);
}

.chat-load-more:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (max-width: 720px) {
  .token-shop-tabs {
    display: flex !important;
    grid-auto-flow: initial;
    grid-template-columns: none !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 6px 4px 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .token-shop-tabs .token-shop-tab {
    flex: 0 0 auto;
    min-width: max-content;
    max-width: 78vw;
    min-height: 42px;
    padding-inline: 13px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .token-shop-tabs.chat-room-tabs {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 6px 4px 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .chat-room-tabs .token-shop-tab,
  .chat-private-tab-wrap,
  .chat-room-tabs .chat-layout-toggle {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .chat-room-tabs .token-shop-tab {
    min-width: max-content;
    max-width: 78vw;
    min-height: 42px;
    padding-inline: 13px;
    white-space: nowrap;
  }

  .chat-private-tab-wrap {
    min-width: max-content;
  }

  .chat-private-tab-wrap .token-shop-tab {
    max-width: 62vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .chat-room-tabs .chat-layout-toggle {
    margin-left: 0;
  }

  .chat-private-picker {
    position: fixed;
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 96px;
    max-height: 42vh;
    overflow: auto;
  }
}

/* OS app final overrides */
.name-my-weed-window,
.profiles-window,
.blog-window,
.blog-post-window,
.profile-detail-window,
.name-my-weed-strain-window {
  width: min(1120px, calc(100vw - 28px));
}

.name-my-weed-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.name-my-weed-card.hm-strain-card {
  min-height: 148px;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  padding: 16px;
}

.name-my-weed-card.hm-strain-card img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  image-rendering: pixelated;
}

.name-my-weed-card .hm-strain-card-copy strong,
.name-my-weed-card .hm-strain-card-copy small {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.profiles-search,
.blog-os-search {
  min-height: 52px;
  border-radius: 8px;
  background: rgba(10, 12, 18, 0.72);
}

.profiles-search input,
.blog-os-search {
  font: inherit;
  font-size: 1rem;
}

.profile-search-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.profile-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.blog-post-os {
  width: min(100%, 980px);
  margin: 0 auto;
  font-size: clamp(0.95rem, 0.9rem + 0.18vw, 1.08rem);
  line-height: 1.65;
}

.blog-post-os-head {
  grid-template-columns: 1fr;
}

.blog-post-os-head h1 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.6rem);
  line-height: 1.12;
}

.blog-post-os-cover {
  min-height: clamp(160px, 28vw, 320px);
}

.blog-post-os-content {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.blog-post-os-content img,
.blog-post-os-content video,
.blog-post-os-content iframe {
  max-width: 100%;
  height: auto;
}

.blog-post-os-content iframe {
  aspect-ratio: 16 / 9;
}

.os-profile-banner {
  min-height: clamp(150px, 24vw, 280px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12) center / cover no-repeat;
}

.os-profile-achievement-grid,
.os-profile-friends {
  display: grid;
  gap: 10px;
}

/* OS app final overrides */
.name-my-weed-window,
.profiles-window,
.blog-window,
.blog-post-window,
.profile-detail-window,
.name-my-weed-strain-window {
  width: min(1120px, calc(100vw - 28px));
}

.name-my-weed-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.name-my-weed-card.hm-strain-card {
  min-height: 148px;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  padding: 16px;
}

.name-my-weed-card.hm-strain-card img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  image-rendering: pixelated;
}

.name-my-weed-card .hm-strain-card-copy strong,
.name-my-weed-card .hm-strain-card-copy small {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.profiles-search,
.blog-os-search {
  min-height: 52px;
  border-radius: 8px;
  background: rgba(10, 12, 18, 0.72);
}

.profiles-search input,
.blog-os-search {
  font: inherit;
  font-size: 1rem;
}

.profile-search-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.profile-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.blog-post-os {
  width: min(100%, 980px);
  margin: 0 auto;
  font-size: clamp(0.95rem, 0.9rem + 0.18vw, 1.08rem);
  line-height: 1.65;
}

.blog-post-os-head {
  grid-template-columns: 1fr;
}

.blog-post-os-head h1 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.6rem);
  line-height: 1.12;
}

.blog-post-os-cover {
  min-height: clamp(160px, 28vw, 320px);
}

.blog-post-os-content {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.blog-post-os-content img,
.blog-post-os-content video,
.blog-post-os-content iframe {
  max-width: 100%;
  height: auto;
}

.blog-post-os-content iframe {
  aspect-ratio: 16 / 9;
}

.os-profile-banner {
  min-height: clamp(150px, 24vw, 280px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12) center / cover no-repeat;
}

.os-profile-achievement-grid,
.os-profile-friends {
  display: grid;
  gap: 10px;
}

/* Final Hell's Mouth contest cascade overrides. */
.hm-site-page .hm-submission-row > button:first-child,
.hm-site-page .hm-submission-row > button:first-child strong {
  color: #f5f7f9 !important;
}

.hm-site-page .hm-submission-row > button:first-child:hover,
.hm-site-page .hm-submission-row > button:first-child:hover strong {
  background: rgba(82, 217, 129, .18) !important;
  color: #baffc9 !important;
}

.hm-site-page .hm-finalize-name {
  background: transparent !important;
  color: #8797a4 !important;
}

.hm-site-page .hm-finalize-name:hover,
.hm-site-page .hm-finalize-name.is-active {
  color: #ffd85a !important;
}

.hm-site-page .hm-strain-card.is-finalized {
  background: linear-gradient(145deg, rgba(89, 78, 35, .94), rgba(47, 43, 28, .94)) !important;
  border-color: rgba(255, 216, 90, .82) !important;
}

.hm-site-page .hm-strain-modal.is-finalized .hm-modal-card {
  background: linear-gradient(145deg, #51492c, #282a28) !important;
  border-color: rgba(255, 216, 90, .8) !important;
}

.hm-site-page button.hm-strain-card {
  display: block;
}

.hm-site-page .hm-name-entry input {
  background: #fffdf3 !important;
  border: 4px solid #1a110c !important;
  color: #1a110c !important;
}

.hm-site-page button.hm-vote-button {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 0;
}

.hm-site-page .hm-submission-list > button,
.hm-site-page .hm-autocomplete > button {
  color: #1a110c;
}

/* Softer Fourplenty treatment for the Hell's Mouth pages. */
.hm-site-page {
  --hm-acid: #9cff72;
  --hm-green: #43cf83;
  --hm-rust: #ff8f6b;
  color: #eef8ff;
}

.hm-site-page::before {
  background:
    radial-gradient(circle at 12% 5%, rgba(109, 255, 179, .18), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(111, 216, 255, .16), transparent 28%),
    linear-gradient(180deg, #071b2d 0%, #102b41 48%, #071724 100%);
}

.hm-home-page {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.hm-home-page > :not(.hm-hero) {
  margin-left: auto;
  margin-right: auto;
  max-width: 1410px;
  width: calc(100% - clamp(36px, 8vw, 128px));
}

.hm-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(4, 18, 32, .83), rgba(4, 18, 32, .3)),
    url("assets/blogcontents/Hellsmouth/Helmond area vlakbij het kasteel mary jane doet rennen.png") center 42% / cover;
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 -70px 90px rgba(5, 21, 34, .72);
  grid-template-columns: minmax(300px, .8fr) minmax(520px, 1.2fr);
  min-height: calc(100vh - 76px);
  padding: clamp(34px, 6vw, 90px);
  width: 100%;
}

.hm-hero::after {
  border: 0;
}

.hm-hero h1,
.hm-contest-hero h1 {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .9;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .42);
  text-transform: none;
}

.hm-hero h1 {
  font-size: clamp(58px, 7vw, 112px);
}

.hm-countdown-shell {
  align-items: center;
  backdrop-filter: blur(18px) saturate(1.25);
  background: linear-gradient(145deg, rgba(9, 34, 54, .88), rgba(12, 54, 68, .75));
  border: 1px solid rgba(205, 255, 234, .45);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38), inset 0 1px rgba(255, 255, 255, .2);
  display: grid;
  min-width: 0;
  padding: clamp(28px, 4vw, 56px);
  text-align: center;
  width: 100%;
}

.hm-countdown-shell > span {
  color: #fff;
  font-size: clamp(16px, 1.7vw, 24px);
  letter-spacing: .08em;
  margin-bottom: 22px;
}

.hm-countdown {
  gap: clamp(9px, 1.4vw, 20px);
}

.hm-countdown strong {
  background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  padding: clamp(18px, 3vw, 34px) 8px;
}

.hm-countdown b {
  color: #c9ff72;
  font-family: "Outfit", sans-serif;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -.06em;
  text-shadow: 0 0 24px rgba(156, 255, 114, .28);
}

.hm-countdown small {
  color: #dff7ff;
  font-size: clamp(9px, 1vw, 13px);
}

.hm-countdown-shell time {
  color: #b8d5df;
  font-size: 13px;
  margin-top: 20px;
  text-align: center;
}

.hm-button {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px;
  color: #fff;
  letter-spacing: .03em;
  text-transform: none;
}

.hm-button-primary {
  background: linear-gradient(135deg, #83ef71, #43cf83);
  border-color: #baff9e;
  box-shadow: 0 12px 28px rgba(67, 207, 131, .25);
  color: #092718;
}

.hm-admin-settings,
.hm-blog-card,
.hm-how-to,
.hm-strain-card {
  backdrop-filter: blur(16px);
  background: linear-gradient(145deg, rgba(17, 54, 78, .82), rgba(8, 34, 53, .78));
  border: 1px solid rgba(190, 235, 255, .2);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.08);
}

.hm-section-head h2,
.hm-contest-cta h2 {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: -.04em;
  text-transform: none;
}

.hm-blog-card {
  color: #eef8ff;
}

.hm-blog-card small,
.hm-overline {
  color: #9cff72;
}

.hm-blog-card em,
.hm-strain-card-copy small,
.hm-how-to em {
  color: #a9c2ce;
}

.hm-contest-cta {
  background: linear-gradient(145deg, rgba(227, 250, 255, .96), rgba(204, 242, 232, .94));
  border-radius: 30px;
  box-shadow: 0 26px 70px rgba(0,0,0,.28);
  color: #09243a;
}

.hm-contest-cta::after {
  border: 0;
}

.hm-contest-cta > img {
  background: #0a2538;
  border-radius: 22px;
}

.hm-contest-hero h1 {
  color: #dfffcf;
  font-size: clamp(58px, 8vw, 112px);
}

.hm-how-to {
  border-left: 5px solid #9cff72;
}

.hm-strain-card {
  color: #eef8ff;
}

.hm-strain-card:hover {
  border-color: rgba(156, 255, 114, .8);
  box-shadow: 0 22px 50px rgba(0,0,0,.3), 0 0 0 2px rgba(156,255,114,.18);
  transform: translateY(-5px);
}

.hm-strain-card-copy {
  border-color: rgba(190, 235, 255, .16);
}

.hm-modal-card {
  background: linear-gradient(145deg, #eaf8ff, #dff5ea);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 28px;
  box-shadow: 0 34px 100px rgba(0,0,0,.52);
  color: #102b3d;
}

.hm-modal-card::before {
  border: 0;
}

.hm-modal-preview {
  background: linear-gradient(145deg, #123d55, #09263b);
  border-radius: 22px;
}

.hm-name-entry label {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  text-transform: none;
}

.hm-site-page .hm-name-entry input {
  border: 2px solid #214b5e !important;
  border-radius: 14px;
}

.hm-vote-button {
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(32,169,79,.32);
}

.hm-submissions {
  border: 1px solid rgba(16,43,61,.32);
  border-radius: 20px;
}

.hm-modal-close {
  background: rgba(10, 42, 59, .9);
  border-radius: 12px;
}

.hm-strain-card-copy strong {
  transition: opacity .23s ease, transform .23s ease;
}

.hm-strain-card-copy strong.is-changing {
  opacity: 0;
  transform: translateY(5px);
}

/* Dark slate palette matching the rest of Fourplenty more closely. */
.hm-site-page {
  color: #eef2f6;
}

.hm-site-page::before {
  background:
    radial-gradient(circle at 16% 8%, rgba(122, 145, 164, .15), transparent 30%),
    radial-gradient(circle at 82% 15%, rgba(86, 111, 134, .14), transparent 28%),
    linear-gradient(180deg, #11171d 0%, #1b252e 48%, #0e141a 100%);
}

.hm-hero {
  background:
    linear-gradient(90deg, rgba(12, 18, 24, .9), rgba(16, 24, 31, .38)),
    url("assets/blogcontents/Hellsmouth/Helmond area vlakbij het kasteel mary jane doet rennen.png") center 42% / cover;
  box-shadow: inset 0 -80px 100px rgba(10, 15, 20, .82);
}

.hm-countdown-shell,
.hm-admin-settings,
.hm-blog-card,
.hm-how-to,
.hm-strain-card {
  background: linear-gradient(145deg, rgba(38, 49, 59, .92), rgba(20, 29, 37, .9));
  border-color: rgba(173, 190, 204, .2);
}

.hm-countdown-shell {
  box-shadow: 0 30px 80px rgba(0, 0, 0, .42), inset 0 1px rgba(255,255,255,.11);
}

.hm-countdown strong {
  background: linear-gradient(180deg, rgba(177, 193, 206, .12), rgba(93, 111, 126, .08));
  border-color: rgba(190, 204, 215, .16);
}

.hm-countdown b,
.hm-overline,
.hm-blog-card small {
  color: #b9ff8b;
}

.hm-countdown-shell time,
.hm-blog-card em,
.hm-strain-card-copy small,
.hm-how-to em {
  color: #aebbc5;
}

.hm-contest-cta {
  background: linear-gradient(145deg, #2b3741, #1d2730);
  border: 1px solid rgba(190, 204, 215, .18);
  color: #eef2f6;
}

.hm-contest-cta > img {
  background: #131b22;
}

.hm-contest-hero h1 {
  color: #f2f5f7;
}

.hm-modal-card {
  background: linear-gradient(145deg, #2d3943, #202a33);
  border-color: rgba(205, 216, 224, .25);
  color: #eef2f6;
}

.hm-modal-preview {
  background: linear-gradient(145deg, #202b34, #11191f);
}

.hm-site-page .hm-name-entry input {
  background: #151d24 !important;
  border-color: #63798a !important;
  color: #f4f7f9 !important;
}

.hm-name-entry > small,
.hm-no-submissions {
  color: #b4c0c9;
}

.hm-submissions {
  border-color: rgba(190, 204, 215, .28);
}

.hm-submissions > header,
.hm-submission-list > button {
  border-color: rgba(190, 204, 215, .18);
}

.hm-site-page .hm-submission-list > button,
.hm-site-page .hm-autocomplete > button {
  color: #eef2f6;
}

.hm-submission-list > button:hover,
.hm-submission-list > button.is-voted {
  background: rgba(156, 255, 114, .1);
}

.hm-submission-list small {
  background: #45525e;
  color: #dce4e9;
}

.hm-autocomplete {
  background: #202a33;
  border-color: #63798a;
}

.hm-autocomplete button {
  border-color: rgba(190, 204, 215, .18);
}

.hm-autocomplete button:hover {
  background: #34424e;
}

.hm-submission-row {
  align-items: stretch;
  border-bottom: 1px solid rgba(190, 204, 215, .18);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.hm-submission-row > button:first-child {
  align-items: center;
  background: transparent;
  border: 0;
  color: #f5f7f9 !important;
  cursor: pointer;
  display: flex;
  font: 700 17px "Outfit", sans-serif;
  justify-content: space-between;
  min-width: 0;
  padding: 15px 8px;
  text-align: left;
}

.hm-submission-row > button:first-child:hover {
  background: rgba(82, 217, 129, .18);
  color: #baffc9 !important;
}

.hm-submission-row > button:first-child span {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hm-submission-row > button:first-child strong {
  color: inherit;
  flex: 0 0 auto;
}

.hm-submission-row.is-voted {
  background: rgba(82, 217, 129, .1);
}

.hm-finalize-name {
  background: transparent;
  border: 0;
  color: #8797a4;
  cursor: pointer;
  font-size: 18px;
  min-width: 48px;
}

.hm-row-vote {
  background: rgba(42, 177, 91, .14);
  border: 0;
  color: #72e49a;
  cursor: pointer;
  font-size: 18px;
  min-width: 48px;
}

.hm-row-vote:hover {
  background: #2ab15b;
  color: #fff;
}

.hm-row-vote:disabled {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: .35;
}

.hm-skip-button {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(190, 204, 215, .24);
  border-radius: 12px;
  color: #b9c5cd;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  justify-self: start;
  min-height: 40px;
  padding: 0 15px;
}

.hm-skip-button:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.hm-name-entry input:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.hm-contest-hero {
  align-items: center;
  display: grid;
  gap: clamp(24px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  max-width: none;
  min-height: 590px;
  overflow: hidden;
  position: relative;
}

.hm-contest-hero-copy {
  position: relative;
  z-index: 2;
}

.hm-contest-hero-strains {
  align-self: stretch;
  min-height: 420px;
  position: relative;
  z-index: 1;
}

.hm-contest-hero-strains::before {
  background: radial-gradient(circle, rgba(156, 255, 114, .18), transparent 67%);
  content: "";
  inset: 5%;
  position: absolute;
}

.hm-contest-hero-strains img {
  height: min(38vw, 420px);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  left: 50%;
  object-fit: contain;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(.94);
  transition: opacity .7s ease, transform .7s ease;
  width: min(38vw, 420px);
}

.hm-contest-hero-strains img.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hm-login-prompt {
  inset: 0;
  position: fixed;
  z-index: 10050;
}

.hm-login-prompt.is-hidden {
  display: none;
}

.hm-login-prompt-backdrop {
  backdrop-filter: blur(8px);
  background: rgba(4, 10, 18, .72);
  inset: 0;
  position: absolute;
}

.hm-login-prompt-card {
  align-items: center;
  background: linear-gradient(135deg, #1673dc, #275dba);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,.52), 0 0 50px rgba(42,127,232,.18);
  color: #fff;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr;
  left: 50%;
  max-width: 590px;
  padding: 28px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
}

.hm-login-prompt-icon {
  align-items: center;
  background: rgba(255,255,255,.15);
  border-radius: 18px;
  display: flex;
  font-size: 28px;
  height: 66px;
  justify-content: center;
  width: 66px;
}

.hm-login-prompt-kicker {
  color: #cce7ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hm-login-prompt-card h2 {
  font-size: 27px;
  margin: 4px 0 7px;
}

.hm-login-prompt-card p {
  color: #e2f1ff;
  line-height: 1.45;
  margin: 0;
}

.hm-login-prompt-action {
  background: #fff;
  border: 0;
  border-radius: 14px;
  color: #145ab5;
  cursor: pointer;
  font: 800 15px "Outfit", sans-serif;
  grid-column: 1 / -1;
  min-height: 52px;
}

.hm-login-prompt-action:hover {
  background: #eaf5ff;
  transform: translateY(-1px);
}

.hm-login-prompt-close {
  background: rgba(5, 41, 91, .55);
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  height: 36px;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 36px;
}

.hm-site-announcement {
  align-items: center;
  background: linear-gradient(90deg, #f5d76e, #ffe89b);
  border-bottom: 1px solid rgba(57, 43, 0, .26);
  color: #332700;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  left: 50%;
  min-height: 52px;
  padding: 8px max(18px, calc((100vw - 1400px) / 2));
  position: relative;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 100;
}

.hm-site-announcement-icon {
  align-items: center;
  background: rgba(255,255,255,.45);
  border-radius: 50%;
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.hm-site-announcement p {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.hm-site-announcement a {
  background: #332700;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
  text-decoration: none;
  white-space: nowrap;
}

.hm-site-announcement > button {
  background: transparent;
  border: 0;
  color: #332700;
  cursor: pointer;
  font-size: 24px;
  height: 34px;
  width: 34px;
}

@media (max-width: 720px) {
  .hm-site-announcement {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-inline: 12px;
  }

  .hm-site-announcement a {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }

  .hm-site-announcement > button {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 540px) {
  .hm-inline-auth-message {
    align-items: stretch;
    flex-direction: column;
  }

  .hm-inline-auth-message > button {
    width: 100%;
  }

  .hm-login-prompt-card {
    grid-template-columns: 1fr;
    padding: 24px 20px 20px;
    text-align: center;
  }

  .hm-login-prompt-icon {
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .hm-contest-hero {
    grid-template-columns: 1fr minmax(180px, 260px);
    min-height: 500px;
  }

  .hm-contest-hero-strains {
    min-height: 300px;
  }

  .hm-contest-hero-strains img {
    height: min(36vw, 280px);
    width: min(36vw, 280px);
  }
}

@media (max-width: 620px) {
  .hm-contest-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
  }

  .hm-contest-hero-strains {
    min-height: 230px;
    order: -1;
  }

  .hm-contest-hero-strains img {
    height: 230px;
    width: 230px;
  }
}

.hm-finalize-name:hover,
.hm-finalize-name.is-active {
  color: #ffd85a;
  text-shadow: 0 0 14px rgba(255, 216, 90, .55);
}

.hm-final-label {
  background: rgba(255, 216, 90, .22) !important;
  color: #ffe58a !important;
}

.hm-strain-card.is-finalized {
  background: linear-gradient(145deg, rgba(89, 78, 35, .94), rgba(47, 43, 28, .94));
  border-color: rgba(255, 216, 90, .82);
  box-shadow: 0 20px 55px rgba(0,0,0,.3), 0 0 0 2px rgba(255,216,90,.15);
}

.hm-strain-card.is-finalized .hm-strain-card-copy {
  background: linear-gradient(180deg, rgba(255,216,90,.18), rgba(255,216,90,.07));
}

.hm-strain-card.is-finalized .hm-strain-card-copy strong,
.hm-strain-card.is-finalized .hm-strain-card-copy small {
  color: #ffe98e;
}

.hm-strain-modal.is-finalized .hm-modal-card {
  background: linear-gradient(145deg, #51492c, #282a28);
  border-color: rgba(255, 216, 90, .8);
  box-shadow: 0 34px 100px rgba(0,0,0,.52), 0 0 0 3px rgba(255,216,90,.12);
}

.hm-strain-modal.is-finalized .hm-modal-preview {
  box-shadow: inset 0 0 0 2px rgba(255,216,90,.42), 0 0 30px rgba(255,216,90,.1);
}

.hm-modal-nav {
  align-items: center;
  background: rgba(17, 25, 32, .92);
  border: 1px solid rgba(190,204,215,.24);
  border-radius: 50%;
  color: #f2f5f7;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  height: 48px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  z-index: 15;
}

.hm-modal-nav:hover {
  background: #33424e;
  color: #baffc9;
}

.hm-modal-nav-prev { left: -70px; }
.hm-modal-nav-next { right: -70px; }

.hm-vote-confirm {
  inset: 0;
  position: fixed;
  z-index: 10040;
}

.hm-vote-confirm.is-hidden {
  display: none;
}

.hm-vote-confirm-backdrop {
  backdrop-filter: blur(9px);
  background: rgba(4, 8, 12, .72);
  inset: 0;
  position: absolute;
}

.hm-vote-confirm-card {
  background: linear-gradient(145deg, #303d47, #1d2730);
  border: 1px solid rgba(205,216,224,.28);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  color: #f3f6f8;
  left: 50%;
  max-width: 430px;
  padding: 28px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 34px);
}

.hm-vote-confirm-icon {
  align-items: center;
  background: rgba(82,217,129,.16);
  border-radius: 50%;
  color: #72e49a;
  display: inline-flex;
  font-size: 25px;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.hm-vote-confirm-card h2 {
  font-size: 28px;
  margin: 16px 0 6px;
}

.hm-vote-confirm-card > p {
  color: #c7d1d8;
  margin: 0 0 20px;
}

.hm-vote-confirm-card > p strong {
  color: #baffc9;
}

.hm-submitter-profile {
  align-items: center;
  background: rgba(10, 16, 22, .42);
  border: 1px solid rgba(190,204,215,.16);
  border-radius: 16px;
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
  padding: 12px;
  text-align: left;
}

.hm-submitter-profile img,
.hm-submitter-avatar-fallback {
  align-items: center;
  background: #141e26;
  border-radius: 50%;
  display: flex;
  height: 44px;
  justify-content: center;
  object-fit: cover;
  width: 44px;
}

.hm-submitter-profile span:last-child {
  display: grid;
  gap: 2px;
}

.hm-submitter-profile small {
  color: #9fafba;
  text-transform: capitalize;
}

.hm-vote-confirm-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.hm-vote-confirm-actions .hm-button {
  margin: 0;
  width: 100%;
}

.hm-hero {
  align-content: end;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
}

.hm-countdown-shell {
  align-self: start;
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
  max-width: none;
}

.hm-hero-copy {
  align-self: end;
  grid-column: 1;
  grid-row: 3;
  margin-top: clamp(90px, 18vh, 230px);
}

@media (max-width: 1080px) {
  .hm-modal-nav-prev { left: 12px; }
  .hm-modal-nav-next { right: 12px; }
  .hm-modal-nav { top: auto; bottom: 14px; transform: none; }
}

@media (max-width: 620px) {
  .hm-submission-row > button:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .hm-hero-copy {
    margin-top: 70px;
  }
}

@media (max-width: 900px) {
  .hm-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 80px;
  }

  .hm-hero-copy {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .hm-home-page {
    padding-inline: 0;
  }

  .hm-home-page > :not(.hm-hero) {
    width: calc(100% - 28px);
  }

  .hm-hero {
    min-height: calc(100vh - 64px);
    padding: 56px 18px 38px;
  }

  .hm-countdown-shell {
    border-radius: 22px;
    padding: 18px 12px;
  }

  .hm-countdown strong {
    border-radius: 14px;
    padding: 15px 3px;
  }

  .hm-countdown b {
    font-size: clamp(34px, 12vw, 52px);
  }
}

/* Keep Hell's Mouth components isolated from later global form/button rules. */
.hm-site-page button.hm-strain-card {
  display: block;
}

.hm-site-page .hm-name-entry input {
  background: #fffdf3;
  border: 4px solid #1a110c;
  color: #1a110c;
}

.hm-site-page button.hm-vote-button {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 0;
}

.hm-site-page .hm-submission-list > button,
.hm-site-page .hm-autocomplete > button {
  color: #1a110c;
}

/* Admin dashboard final layout and interaction rules */
.cursor-layer,
.landing-body .cursor-layer {
  z-index: 2147483646 !important;
}

.admin-dashboard-main {
  display: flex !important;
  flex-direction: column;
}

.admin-dashboard-main .admin-dashboard-topbar { order: 0; }
.admin-dashboard-main .admin-dashboard-hero { order: 1; }
.admin-dashboard-main .admin-widget-board { order: 2; }

.admin-widget-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 8px;
  gap: 14px;
  align-items: start;
}

.admin-widget-board.homepage-widget-board {
  grid-auto-rows: auto !important;
}

.admin-widget-board.homepage-widget-board > [data-home-widget] {
  grid-row: auto !important;
  grid-row-end: auto !important;
  height: auto !important;
  align-self: start;
}

.admin-widget-board.wifi-widget-board {
  grid-auto-rows: 8px !important;
  grid-auto-flow: row;
}

.admin-widget-board.wifi-widget-board > .wifi-widget-card {
  height: auto !important;
  align-self: start;
}

.admin-widget-board > .admin-panel,
.admin-widget-board > .admin-control-graph {
  min-height: 0 !important;
  margin-bottom: 0 !important;
}

.admin-widget-handle {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.42);
  cursor: grab;
}

.admin-widget-board:not(.is-edit-mode) .admin-widget-handle,
.admin-widget-board:not(.is-edit-mode) .admin-widget-width,
.admin-widget-board:not(.is-edit-mode) .admin-widget-move,
.admin-widget-board:not(.is-edit-mode) .wifi-widget-add-card,
.admin-widget-board:not(.is-edit-mode) .wifi-widget-delete,
.admin-widget-board:not(.is-edit-mode) .admin-widget-floating-head {
  display: none !important;
}

.admin-widget-board.wifi-widget-board.has-no-widgets:not(.is-edit-mode) .wifi-widget-add-card {
  display: grid !important;
}

.admin-widget-board.is-edit-mode > [data-admin-widget] {
  outline: 1px dashed rgba(255, 181, 72, 0.48);
  outline-offset: 5px;
}

.admin-widget-board.is-edit-mode .admin-widget-move,
.admin-widget-board.is-edit-mode .admin-widget-handle,
.admin-widget-board.is-edit-mode .admin-widget-width {
  display: inline-flex !important;
}

.admin-widget-edit-toggle,
.wifi-edit-overlay {
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto;
}

.admin-widget-handle:active {
  cursor: grabbing;
}

.admin-widget-move {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.admin-widget-move-button {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.admin-widget-move-button::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.admin-widget-move-button-left::before {
  border-right: 9px solid rgba(255, 255, 255, 0.7);
}

.admin-widget-move-button-right::before {
  border-left: 9px solid rgba(255, 255, 255, 0.7);
}

.admin-widget-move-button:hover {
  border-color: rgba(156, 255, 114, 0.4);
  background: rgba(156, 255, 114, 0.12);
}

.admin-widget-width {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.72rem;
  cursor: pointer;
}

.admin-widget-width:hover {
  color: #fff;
  border-color: rgba(156, 255, 114, 0.3);
}

.admin-panel-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-widget-board .is-dragging {
  opacity: 0.38;
}

.admin-control-graph {
  min-height: 430px !important;
}

.admin-analytics-chart-shell {
  position: relative;
  height: 300px;
  margin: 14px 0 18px;
}

.admin-analytics-chart-shell .analytics-chart {
  height: 100%;
}

.admin-analytics-point {
  fill: #091016;
  stroke: var(--series-color);
  stroke-width: 3;
}

.admin-analytics-chart-shell .analytics-tooltip {
  left: 16px;
  top: 16px;
}

.admin-user-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
}

.admin-registrations-wide {
  overflow: hidden;
}

.admin-registration-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.admin-registration-card {
  flex: 0 0 clamp(210px, 25%, 278px);
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.045);
  scroll-snap-align: start;
}

.admin-registration-card small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
}

.admin-project-list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
}

.admin-project-chip {
  flex: 1 1 145px;
  min-height: 58px;
}

.admin-project-chip small .fa-heart {
  color: #ff708b;
}

.admin-shop-best-list {
  display: grid;
  gap: 7px;
}

.admin-shop-best-item,
.admin-shop-modal-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  text-align: left;
  background: rgba(255, 255, 255, 0.045);
}

.admin-shop-best-item:hover,
.admin-shop-modal-item:hover,
.admin-shop-modal-item.is-active {
  border-color: rgba(156, 255, 114, 0.3);
  background: rgba(156, 255, 114, 0.09);
}

.admin-shop-best-item strong,
.admin-shop-best-item small,
.admin-shop-modal-item strong,
.admin-shop-modal-item small {
  display: block;
}

.admin-shop-best-item small,
.admin-shop-modal-item small {
  color: rgba(255, 255, 255, 0.62);
}

.admin-shop-window {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1100px, calc(100vw - 34px));
  height: min(730px, calc(100vh - 34px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  background: #0b1218;
}

.admin-shop-window > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-shop-window h2 {
  margin: 0;
}

.admin-shop-window header small {
  color: rgba(255, 255, 255, 0.58);
}

.admin-shop-window header button {
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 1.6rem;
}

.admin-shop-modal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  min-height: 0;
}

.admin-shop-modal-list {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 0;
  overflow-y: auto;
  padding: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-shop-detail {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  padding: 18px;
}

.admin-shop-detail-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-shop-detail-head strong,
.admin-shop-detail-head small {
  display: block;
}

.admin-shop-detail-head small {
  color: rgba(255, 255, 255, 0.62);
}

.admin-shop-sales-chart {
  position: relative;
  height: 310px;
  padding: 8px 0 36px;
}

.admin-shop-sales-chart .analytics-svg {
  height: 240px;
}

.admin-shop-sales-line {
  stroke: #9cff72;
}

.admin-shop-sales-point {
  fill: #071018;
  stroke: #9cff72;
  stroke-width: 3;
}

.admin-rank-wrap {
  position: relative;
}

.admin-user-rank {
  border: 0;
  cursor: pointer;
}

.admin-rank-menu {
  position: absolute;
  z-index: 3;
  top: calc(100% + 5px);
  left: 0;
  display: grid;
  min-width: 120px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: #111a22;
}

.admin-rank-menu.is-hidden {
  display: none;
}

.admin-rank-menu button {
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  color: #f4f7fb;
  text-align: left;
  text-transform: capitalize;
  background: transparent;
}

.admin-rank-menu button:hover {
  background: rgba(156, 255, 114, 0.12);
}

.admin-activity-carousel,
.admin-registration-carousel {
  position: relative;
  min-height: 82px;
  overflow: hidden;
}

.admin-activity-carousel .admin-activity-item,
.admin-registration-carousel .admin-registration-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.admin-activity-carousel .admin-activity-item.is-current,
.admin-registration-carousel .admin-registration-slide.is-current {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.admin-registration-carousel .admin-registration-slide {
  width: 100%;
}

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

.admin-graffiti-wall-card {
  display: grid;
  align-content: end;
  min-height: 88px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  text-align: left;
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent), var(--wall-texture);
  background-repeat: no-repeat, repeat;
}

.admin-graffiti-wall-card small {
  color: rgba(255, 255, 255, 0.75);
}

.admin-graffiti-viewer {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(880px, calc(100vw - 34px));
  max-height: calc(100vh - 34px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  background: #0b1218;
}

.admin-graffiti-viewer header,
.admin-graffiti-viewer footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-graffiti-viewer header button {
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  background: transparent;
}

.admin-graffiti-preview {
  max-height: min(62vh, 620px);
  overflow: auto;
  padding: 10px;
  border-radius: 8px;
  background-image: var(--wall-texture);
  background-repeat: repeat;
}

.admin-graffiti-preview canvas {
  display: block;
  max-width: 100%;
  height: auto;
  pointer-events: none;
  image-rendering: pixelated;
}

@media (max-width: 680px) {
  .admin-graffiti-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Admin control center refresh */
.admin-launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  gap: 16px;
  margin-bottom: 16px;
}

.admin-app-launcher,
.admin-todo-dash,
.admin-user-search-panel {
  min-height: 0;
}

.admin-app-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.admin-app-tile {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 86px;
  padding: 10px 6px;
  color: #f5f7fb;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-app-tile:hover {
  border-color: rgba(156, 255, 114, 0.35);
  background: rgba(156, 255, 114, 0.08);
}

.admin-app-tile img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.admin-app-tile span {
  font-size: 0.78rem;
}

.admin-inline-link {
  color: #9cff72;
  border: 0;
  background: transparent;
  font-size: 0.8rem;
}

.admin-todo-dash-list {
  display: grid;
  gap: 8px;
}

.admin-todo-dash-item {
  display: flex;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.admin-todo-dash-item input {
  margin-top: 3px;
  accent-color: #9cff72;
}

.admin-control-graph::before,
.admin-ambient-particles {
  display: none;
}

.admin-line-chart {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    rgba(5, 11, 16, 0.52);
}

.admin-neon-line {
  stroke-width: 2.5px;
  filter: none;
  stroke-linejoin: round;
}

.admin-data-point circle {
  filter: none;
}

.admin-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.admin-chart-legend label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.admin-chart-legend label::before,
.admin-user-activity-legend span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--series-color);
}

.admin-chart-legend input {
  accent-color: var(--series-color);
}

.admin-user-search-panel {
  margin-bottom: 16px;
  overflow: visible;
}

.admin-user-filters {
  display: grid;
  grid-template-columns: minmax(270px, 1fr) repeat(3, minmax(130px, 170px));
  gap: 10px;
  margin-bottom: 14px;
}

.admin-user-filters input,
.admin-user-filters select,
.admin-user-actions select {
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #fff;
  background: rgba(5, 10, 14, 0.8);
}

.admin-user-table-head,
.admin-user-table-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.1fr) 110px minmax(170px, 0.75fr) 100px minmax(360px, 1.45fr);
  align-items: center;
  gap: 12px;
}

.admin-user-table-head {
  padding: 0 12px 9px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.admin-user-record {
  display: grid;
  gap: 0;
}

.admin-user-table-row {
  padding: 10px 12px;
  border-radius: 8px;
}

.admin-user-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.admin-user-identity small,
.admin-member-row a small {
  display: block;
  color: rgba(255, 255, 255, 0.58);
}

.admin-user-hearts .heart-healthbar {
  position: static;
  display: flex;
  flex-wrap: wrap;
  opacity: 1;
  transform: none;
  background: transparent;
  padding: 0;
  max-width: 170px;
}

.admin-user-hearts .heart-healthbar img {
  width: 23px;
  height: auto;
}

.admin-member-row {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.admin-member-row a {
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.admin-thank-actions,
.admin-user-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-thank-actions button,
.admin-row-action {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  color: #eff5ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.admin-thank-actions img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.admin-thank-actions button.is-given {
  opacity: 0.38;
  background: transparent;
}

.admin-row-action.is-danger {
  color: #ff9da9;
  border-color: rgba(255, 100, 125, 0.28);
}

.admin-user-activity {
  margin: 0 12px 10px;
  padding: 12px;
  border: 1px solid rgba(111, 216, 255, 0.16);
  border-radius: 8px;
  background: rgba(3, 8, 12, 0.5);
}

.admin-user-activity-legend {
  display: flex;
  gap: 14px;
  margin-bottom: 8px;
}

.admin-user-activity-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: capitalize;
  font-size: 0.74rem;
}

.admin-user-activity svg {
  display: block;
  width: 100%;
  height: 120px;
}

.admin-user-activity polyline {
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
}

.admin-user-activity text {
  fill: rgba(255, 255, 255, 0.5);
  font-size: 9px;
}

.admin-action-modal,
.admin-embedded-modal {
  position: fixed;
  z-index: 22000;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.58);
}

.admin-action-modal.is-hidden,
.admin-embedded-modal.is-hidden,
[data-admin-series].is-hidden {
  display: none;
}

.admin-action-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.admin-action-card {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 28px));
  padding: 24px;
  border: 1px solid rgba(255, 216, 79, 0.24);
  border-radius: 8px;
  background: #121a22;
  color: #fff;
  text-align: center;
}

.admin-action-close {
  position: absolute;
  top: 9px;
  right: 10px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 1.5rem;
}

.admin-action-icon {
  color: #ffd84f;
  font-size: 2.25rem;
}

.admin-token-gift-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.admin-token-gift-options button {
  min-height: 44px;
  color: #10151a;
  border: 0;
  border-radius: 8px;
  background: #ffd84f;
  font-weight: 700;
}

.admin-embedded-window {
  display: grid;
  grid-template-rows: 52px 1fr;
  width: min(1280px, calc(100vw - 40px));
  height: min(880px, calc(100vh - 40px));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: #091016;
}

.admin-embedded-window header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #fff;
  background: #101a22;
}

.admin-embedded-window header button {
  color: #fff;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
}

.admin-embedded-body {
  width: 100%;
  height: 100%;
  overflow: auto;
  background: #070d12;
  min-height: 0;
}

.admin-embedded-body .app-window {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  transform: none !important;
  border: 0;
  border-radius: 0;
  display: flex !important;
  flex-direction: column;
  overflow: hidden !important;
}

.admin-embedded-body .os-window-body,
.admin-embedded-body .window-body,
.admin-embedded-body .pane-stack,
.admin-embedded-body .reports-body,
.admin-embedded-body .tickets-window-body {
  min-height: 0 !important;
  overflow-y: auto !important;
}

.admin-embedded-body .app-window > :last-child {
  flex: 1 1 auto;
  min-height: 0 !important;
  overflow-y: auto !important;
}

.admin-embedded-body .window-actions,
.admin-embedded-body .os-window-bar {
  display: none;
}

@media (max-width: 1080px) {
  .admin-launch-grid,
  .admin-user-filters {
    grid-template-columns: 1fr;
  }

  .admin-user-table-head {
    display: none;
  }

  .admin-user-table-row {
    grid-template-columns: minmax(210px, 1fr) auto;
  }

  .admin-user-actions,
  .admin-user-hearts {
    grid-column: 1 / -1;
  }

  .admin-widget-board > [data-admin-widget] {
    grid-column: span 12 !important;
  }
}

@media (max-width: 760px) {
  .admin-shop-modal-layout {
    grid-template-columns: 1fr;
  }

  .admin-shop-modal-list {
    max-height: 220px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 680px) {
  .admin-app-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-member-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .admin-member-row .admin-thank-actions {
    grid-column: 2 / -1;
  }

  .admin-user-actions {
    flex-wrap: wrap;
  }
}

.chat-window.is-text-mode .chat-log {
  gap: 5px;
  padding: 9px;
}

.chat-window.is-fullscreen .chat-log {
  max-height: none;
}

.chat-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.chat-message {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.chat-message-compact {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 32px;
  padding: 4px 6px 4px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.chat-message-compact:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.1);
}

.chat-compact-author {
  display: grid;
  justify-items: start;
  gap: 3px;
  flex: 0 1 clamp(150px, 20%, 260px);
  min-width: 0;
  max-width: 260px;
}

.chat-compact-author .chat-author-button {
  max-width: 100%;
  min-width: 0;
  gap: 5px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.chat-compact-body {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-compact-time {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.chat-compact-inline-media {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.chat-compact-emote {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.chat-compact-image-link {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c8f3ff;
  font: inherit;
  font-weight: 800;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-compact-image-link:hover,
.chat-compact-image-link:focus-visible {
  color: #ffffff;
}

.chat-achievement-trophy {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(100%, 480px);
  margin-top: 8px;
  padding: 12px;
  border-radius: 18px;
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 230, 120, 0.18), transparent 52%),
    linear-gradient(135deg, rgba(201, 255, 114, 0.16), rgba(111, 216, 255, 0.08));
  border: 1px solid rgba(255, 230, 120, 0.26);
  box-shadow: 0 18px 46px rgba(201, 255, 114, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.chat-achievement-trophy.is-compact {
  grid-template-columns: 30px minmax(0, 1fr);
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 5px 8px;
  border-radius: 12px;
}

.chat-achievement-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(5, 12, 18, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.chat-achievement-trophy.is-compact .chat-achievement-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.chat-achievement-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.chat-achievement-trophy em,
.chat-achievement-trophy strong {
  display: block;
  min-width: 0;
}

.chat-achievement-trophy em {
  color: var(--accent-primary);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-achievement-trophy strong {
  margin-top: 2px;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.chat-achievement-trophy.is-compact em {
  display: none;
}

.chat-achievement-trophy.is-compact strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-compact-profile {
  flex: 1 0 100%;
  margin-top: 4px;
}

.chat-window.is-text-mode .chat-compact-profile {
  display: none;
}

.chat-compact-profile .chat-profile-card {
  margin: 0;
  border-color: rgba(169, 255, 126, 0.18);
  background: rgba(7, 15, 22, 0.38);
}

.chat-compact-actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-left: auto;
}

.chat-compact-action,
.chat-message-compact .chat-like {
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
}

.chat-message-compact .chat-like {
  width: auto;
  min-width: 36px;
  padding: 0 7px;
}

.chat-window.is-text-mode .chat-compact-action:disabled:not(.chat-like) {
  display: none;
}

.chat-message-compact [data-chat-delete-id] span,
.chat-message-compact .chat-compact-report span {
  display: none;
}

.chat-compact-action:hover,
.chat-message-compact .chat-like:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.13);
}

.chat-compact-action:disabled,
.chat-message-compact .chat-like:disabled {
  opacity: 0.38;
  cursor: default;
  transform: none;
}

.chat-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 50% 34%, #f4d2c3 0 20%, transparent 21%),
    radial-gradient(circle at 39% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 61% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 50% 45%, #dbad97 0 7%, transparent 8%),
    radial-gradient(circle at 50% 82%, #26323d 0 44%, transparent 45%),
    linear-gradient(180deg, #5f3a26 0 26%, #d8b2a1 27% 68%, #25303b 69% 100%);
  background-size: cover;
  background-position: center;
}

.chat-avatar.has-image {
  background-size: cover;
  background-position: center;
}

.chat-bubble {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-guest-signup-prompt {
  align-items: center;
}

.chat-guest-signup-avatar {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.92), transparent 0 22%, transparent 23%),
    linear-gradient(135deg, #0f7bff, #43d2ff);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(12, 119, 255, 0.28);
}

.chat-guest-signup-bubble {
  max-width: 560px;
  background: linear-gradient(135deg, rgba(12, 108, 255, 0.94), rgba(50, 199, 255, 0.88));
  border-color: rgba(185, 229, 255, 0.45);
  color: #ffffff;
  box-shadow: 0 18px 46px rgba(12, 108, 255, 0.22);
}

.chat-guest-notice.is-warning .chat-guest-signup-bubble {
  background: linear-gradient(135deg, rgba(14, 106, 255, 0.95), rgba(74, 193, 255, 0.9));
}

.chat-guest-notice.is-error .chat-guest-signup-avatar,
.chat-guest-notice.is-error .chat-guest-signup-bubble {
  background: linear-gradient(135deg, rgba(255, 54, 78, 0.95), rgba(255, 118, 95, 0.9));
}

.chat-guest-notice.is-error .chat-guest-signup-bubble {
  border-color: rgba(255, 205, 205, 0.48);
  box-shadow: 0 18px 46px rgba(255, 54, 78, 0.2);
}

.chat-guest-signup-bubble strong {
  font-size: 0.98rem;
}

.chat-guest-signup-bubble p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.chat-guest-signup-bubble .primary-action {
  justify-self: start;
  min-height: 36px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.82);
  color: #075ebf;
  box-shadow: none;
}

.chat-guest-notice-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chat-guest-signup-bubble .secondary-action {
  justify-self: start;
  min-height: 36px;
  padding: 0 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.chat-guest-signup-prompt .chat-delete-spacer {
  display: none;
}

.chat-window.is-text-mode .chat-guest-signup-prompt {
  grid-template-columns: minmax(0, 1fr);
}

.chat-window.is-text-mode .chat-guest-signup-avatar {
  display: none;
}

.chat-message-actions {
  display: grid;
  gap: 8px;
}

.chat-message-actions.chat-compact-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.chat-delete,
.chat-report {
  align-self: start;
  min-width: 40px;
  min-height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.chat-like {
  align-self: start;
  min-width: 56px;
  min-height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(226, 232, 238, 0.82);
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, background 160ms ease, border-color 160ms ease;
}

.chat-delete:hover,
.chat-report:hover,
.chat-like:hover,
.chat-attach-action:hover,
.chat-emote-button:hover,
.chat-compose-icon:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}

.chat-like.is-liked {
  color: #183216;
  background: linear-gradient(180deg, rgba(213, 255, 140, 0.95), rgba(89, 217, 79, 0.85));
  border-color: rgba(201, 255, 165, 0.38);
}

.chat-like.is-bouncing {
  animation: like-bounce 320ms cubic-bezier(0.2, 1.1, 0.2, 1);
}

.chat-delete-spacer {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
}

.chat-attachment-slot {
  display: grid;
  gap: 8px;
}

.chat-image-attachment {
  width: min(100%, 224px);
  max-height: 208px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-window.is-fullscreen .chat-image-attachment {
  width: min(100%, 416px);
  max-height: 336px;
}

.chat-image-button {
  display: inline-grid;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.chat-emote-attachment {
  width: 40px;
  height: 40px;
  image-rendering: auto;
}

.chat-message-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.chat-author {
  font-weight: 700;
}

.chat-author-with-health {
  display: grid;
  justify-items: start;
  gap: 4px;
}

.chat-author-health {
  display: block;
  line-height: 0;
}

.chat-author-healthbar {
  --heart-size: 10px;
  pointer-events: none;
}

.chat-author-button {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font: inherit;
  color: inherit;
}

.chat-author-button .level-badge {
  flex-basis: 100%;
  width: max-content;
  margin: 3px 0 0;
}

.chat-author-button:hover {
  text-decoration: underline;
}

.chat-role-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: 2px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.36);
}

.chat-role-badge-vip {
  border-color: rgba(255, 222, 87, 0.54);
  background: rgba(255, 222, 87, 0.2);
  color: #ffe55c;
}

.chat-role-badge-moderator {
  border-color: rgba(111, 229, 255, 0.54);
  background: rgba(111, 229, 255, 0.18);
  color: #91efff;
}

.chat-role-badge-admin {
  border-color: rgba(255, 115, 130, 0.6);
  background: rgba(255, 115, 130, 0.18);
  color: #ff9ca8;
}

.chat-role-badge-chief {
  border-color: rgba(255, 155, 54, 0.62);
  background: rgba(255, 155, 54, 0.2);
  color: #ffb24f;
}

.chat-role-badge-tribe {
  border-color: rgba(196, 205, 214, 0.42);
  background: rgba(196, 205, 214, 0.16);
  color: #d4dce4;
}

.chat-profile-card {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 4px;
  min-height: 292px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(7, 15, 22, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-profile-banner {
  height: 112px;
  margin: -16px -16px 0;
  border-radius: 14px 14px 8px 8px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 22px;
}

.chat-profile-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 12, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.chat-profile-modal-card {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.chat-profile-modal-card .chat-profile-card {
  margin: 0;
  min-height: 314px;
  padding: 18px;
  padding-top: 18px;
  border: 0;
  border-radius: 0;
  background: rgba(7, 15, 22, 0.22);
}

.chat-profile-modal-card .chat-profile-banner {
  margin: -18px -18px 2px;
  height: 126px;
  border-radius: 0;
}

.chat-profile-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.graffiti-profile-actions {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.graffiti-profile-actions > strong {
  font-size: 0.82rem;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.72);
}

.graffiti-profile-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-profile-card-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.chat-profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 50% 34%, #f4d2c3 0 20%, transparent 21%),
    radial-gradient(circle at 39% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 61% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 50% 45%, #dbad97 0 7%, transparent 8%),
    radial-gradient(circle at 50% 82%, #26323d 0 44%, transparent 45%),
    linear-gradient(180deg, #5f3a26 0 26%, #d8b2a1 27% 68%, #25303b 69% 100%);
  background-size: cover;
  background-position: center;
}

.chat-profile-copy {
  display: grid;
  gap: 3px;
}

.chat-profile-copy strong,
.chat-profile-display-link {
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: none;
}

.chat-profile-display-link:hover,
.chat-profile-display-link:focus-visible,
.chat-profile-name-link:hover,
.chat-profile-name-link:focus-visible {
  text-decoration: underline;
}

.chat-profile-copy span,
.chat-profile-name-link,
.chat-profile-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  text-decoration: none;
}

.chat-profile-card p {
  margin: 0;
  line-height: 1.45;
}

.chat-profile-actions {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  align-self: end;
  padding-top: 8px;
  margin-top: 2px;
  padding-right: 14px;
  padding-bottom: 12px;
}

.chat-time {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.74rem;
  white-space: nowrap;
}

.chat-body {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-message-emote {
  width: 32px;
  height: 32px;
  object-fit: contain;
  vertical-align: middle;
  margin: 0 3px;
}

.chat-compose {
  display: grid;
  gap: 10px;
}

.chat-compose.is-read-only {
  opacity: 0.82;
}

.chat-attach-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(7, 15, 22, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-token-drop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 180px);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 216, 107, 0.14), rgba(124, 255, 174, 0.06)),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 216, 107, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.chat-token-drop-copy {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.chat-token-drop-copy img {
  width: 42px;
  height: 42px;
  padding: 7px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 216, 107, 0.13);
  border: 1px solid rgba(255, 216, 107, 0.24);
}

.chat-token-drop-copy strong {
  display: block;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.15;
}

.chat-token-drop-copy span,
.chat-token-drop-input span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 850;
}

.chat-token-drop-input {
  display: grid;
  grid-template-columns: auto minmax(56px, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(5, 10, 14, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.chat-token-drop-input input {
  width: 100%;
  min-width: 0;
  min-height: 28px;
  padding: 0;
  border-radius: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-weight: 950;
  text-align: right;
}

.chat-token-drop-input input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

@media (max-width: 680px) {
  .chat-token-drop {
    grid-template-columns: 1fr;
  }

  .chat-token-drop-input {
    grid-template-columns: auto minmax(80px, 1fr) auto;
  }
}

.chat-token-drop-card {
  display: inline-grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 216, 107, 0.12);
  border: 1px solid rgba(255, 216, 107, 0.32);
}

.chat-token-drop-card strong {
  color: #ffd86b;
  font-weight: 950;
}

.chat-token-drop-card span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 800;
}

.chat-token-drop-card.is-claimed {
  opacity: 0.72;
}

.chat-token-drop-card .primary-action {
  min-height: 32px;
  padding: 0 12px;
}

.community-token-attachment {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(156, 255, 114, 0.34);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(156, 255, 114, 0.16), rgba(111, 216, 255, 0.08));
  box-shadow: 0 12px 24px rgba(95, 255, 141, 0.12);
}

.community-token-attachment img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  image-rendering: pixelated;
}

.community-token-attachment strong,
.community-token-attachment span {
  display: block;
  line-height: 1.1;
}

.community-token-attachment span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.chat-attach-action {
  min-height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
}

.chat-emote-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  gap: 8px;
}

.chat-emote-button {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.chat-emote-button img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.chat-compose-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.chat-compose-icon {
  min-width: 52px;
  min-height: 52px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  transition: transform 140ms ease, background 160ms ease, border-color 160ms ease;
}

.chat-input {
  width: 100%;
  min-height: 82px;
  resize: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(12, 21, 27, 0.32);
  color: #ffffff;
  padding: 14px 16px;
  outline: none;
  font: inherit;
}

.chat-window.is-fullscreen .chat-input {
  min-height: 42px;
  padding: 10px 14px;
}

.chat-window.is-fullscreen .chat-compose {
  gap: 8px;
}

.chat-window.is-fullscreen .chat-compose-row {
  align-items: center;
}

.chat-window.is-fullscreen .chat-send-button,
.chat-window.is-fullscreen .chat-compose-icon {
  min-height: 42px;
}

.chat-window.is-fullscreen .chat-compose-footer {
  min-height: 18px;
}

.chat-send-button {
  min-width: 120px;
}

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.chat-compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-char-count {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
}

.chat-drop-hint {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
}

.landing-chat-page {
  overflow: visible;
  grid-template-columns: minmax(0, 1fr);
  max-width: 100vw;
}

.landing-chat-page .projects-toc,
.landing-rewards-page .projects-toc {
  display: none;
}

.landing-chat-shell {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 12px;
  min-height: calc(100vh - 166px);
  padding: 18px;
  border-radius: 8px;
  background: rgba(11, 18, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.3);
}

.landing-chat-page .projects-toc,
.landing-chat-shell,
.landing-rewards-page .projects-toc,
.landing-rewards-shell {
  position: relative;
  z-index: 1;
}

.landing-chat-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
}

.landing-chat-head h1 {
  margin: 2px 0 6px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
}

.landing-chat-head p {
  margin: 0;
}

.landing-chat-shell .chat-desktop-layout {
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 3.5fr);
  min-width: 0;
}

.landing-chat-shell .chat-main-panel {
  grid-template-rows: minmax(420px, 1fr) auto;
  min-width: 0;
}

.landing-chat-shell .chat-log {
  max-height: none;
  min-height: 420px;
  border-radius: 8px;
}

.landing-chat-shell .chat-online-panel,
.landing-chat-shell .chat-attach-panel,
.landing-chat-shell .chat-bubble,
.landing-chat-shell .chat-message-compact,
.landing-chat-shell .chat-input,
.landing-chat-shell .chat-emote-button {
  border-radius: 8px;
}

.landing-chat-shell .chat-input {
  min-height: 58px;
}

.landing-chat-shell .chat-compose-icon,
.landing-chat-shell .chat-send-button {
  min-height: 46px;
}

.landing-chat-shell .chat-message {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.landing-chat-shell .chat-avatar {
  width: 42px;
  height: 42px;
}

.landing-rewards-page {
  overflow: visible;
  grid-template-columns: minmax(0, 1fr);
  max-width: 100vw;
}

.landing-account-page {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 136px 0 64px;
  display: grid;
  gap: 16px;
  isolation: isolate;
}

.landing-account-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(3, 8, 12, 0.2) 0%, rgba(3, 8, 12, 0.78) 42%, rgba(3, 8, 12, 0.97) 100%),
    var(--account-banner-image, radial-gradient(circle at 20% 20%, rgba(116, 220, 255, 0.24), transparent 32%));
  background-size: cover;
  background-position: var(--account-banner-position, 50% 50%);
  filter: blur(22px) saturate(1.05);
  transform: scale(1.08);
  opacity: 0.78;
  pointer-events: none;
}

.landing-account-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 14%, rgba(156, 255, 114, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(4, 9, 14, 0.12), rgba(4, 9, 14, 0.96));
  pointer-events: none;
}

.account-login-card {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 28px;
}

.account-panel {
  border-radius: 8px;
  overflow: hidden;
}

.account-hero {
  position: relative;
  min-height: 330px;
  display: grid;
  align-items: end;
  padding: 0;
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.account-banner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4, 9, 14, 0.08) 0%, rgba(4, 9, 14, 0.34) 46%, rgba(4, 9, 14, 0.94) 100%),
    radial-gradient(circle at 18% 24%, rgba(137, 221, 255, 0.26), transparent 34%),
    var(--account-banner-image, linear-gradient(135deg, rgba(10, 28, 40, 0.94), rgba(16, 36, 24, 0.86)));
  background-size: cover;
  background-position: var(--account-banner-position, 50% 50%);
}

.account-banner-action,
.account-avatar span {
  position: absolute;
  right: 16px;
  top: 16px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(6, 12, 18, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.account-banner-action {
  width: 44px;
  padding: 0;
  z-index: 5;
  opacity: 0.92;
  transform: none;
  cursor: pointer;
}

.account-banner-action span {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: max-content;
  max-width: min(220px, calc(100vw - 40px));
  padding: 8px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(6, 12, 18, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.account-banner-action:hover,
.account-banner-action:focus-visible {
  opacity: 1;
  background: rgba(156, 255, 114, 0.9);
  color: var(--accent-contrast);
}

.account-banner-action:hover span,
.account-banner-action:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.account-banner:hover .account-banner-action,
.account-banner-action:focus-visible,
.account-avatar:hover span,
.account-avatar:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.account-avatar {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 6;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at 50% 34%, #f4d2c3 0 20%, transparent 21%),
    radial-gradient(circle at 50% 82%, #26323d 0 44%, transparent 45%),
    linear-gradient(180deg, #5f3a26 0 26%, #d8b2a1 27% 68%, #25303b 69% 100%);
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28);
}

.account-banner-action:hover,
.account-banner-action:focus-visible,
.account-avatar:hover,
.account-avatar:focus-visible,
.visual-asset-button:hover,
.visual-asset-button:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34), 0 0 0 2px rgba(156, 255, 114, 0.26);
}

.account-avatar span {
  top: auto;
  right: auto;
  left: 50%;
  bottom: -54px;
  z-index: 10;
  width: max-content;
  transform: translate(-50%, -4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34);
}

.account-avatar:hover span,
.account-avatar:focus-visible span {
  transform: translate(-50%, 0);
}

.account-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 168px 28px 28px 188px;
}

.account-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.9;
}

.account-hero-copy p {
  margin: 0;
  max-width: 720px;
}

.account-stat-row,
.account-section-head,
.account-panel-headline,
.account-range-tabs,
.account-chart-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.account-stat-row span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.account-panel-headline {
  justify-content: space-between;
}

.account-panel-headline a {
  color: var(--accent-primary);
  font-size: 0.84rem;
  font-weight: 900;
}

.account-top-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.72fr);
  gap: 16px;
  align-items: stretch;
}

.account-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 16px;
}

.account-panel {
  padding: 20px;
  display: grid;
  gap: 16px;
  background: rgba(8, 15, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.account-profile-stack {
  align-content: start;
  gap: 22px;
}

.account-profile-stack > section {
  display: grid;
  gap: 12px;
}

.account-activity-panel {
  min-width: 0;
}

.account-panel h2 {
  margin: 0;
}

.account-form,
.account-form label {
  display: grid;
  gap: 8px;
}

.account-form input,
.account-form textarea,
.account-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 14, 20, 0.5);
  color: #ffffff;
  font: inherit;
}

.account-form textarea {
  min-height: 86px;
  padding: 10px 12px;
  resize: vertical;
}

.account-form select {
  min-height: 46px;
  appearance: none;
}

.account-form .graffiti-pattern-picker label {
  display: flex;
  gap: 0;
}

.account-form .graffiti-pattern-picker input[type="radio"] {
  width: auto;
  min-height: 0;
  padding: 0;
}

.account-cursor-preview {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.account-cursor-preview em {
  grid-column: 2;
  margin-top: -8px;
  color: rgba(255, 255, 255, 0.58);
  font-style: normal;
  font-size: 0.84rem;
}

.account-cursor-preview strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-cursor-preview-media {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}

.account-cursor-preview-media img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  image-rendering: auto;
}

.account-color-grid,
.account-achievement-picker,
.account-cursor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-color-swatch {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--swatch);
  border: 3px solid rgba(255, 255, 255, 0.18);
}

.account-color-swatch.is-active,
.account-achievement-chip.is-active,
.account-cursor-option.is-active {
  outline: 3px solid var(--accent-primary);
}

.account-achievement-chip {
  position: relative;
  width: 74px;
  height: 74px;
  padding: 6px;
  border-radius: 8px;
  background: rgba(5, 12, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.account-achievement-chip::after {
  content: attr(data-achievement-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 30;
  width: max-content;
  max-width: 260px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(4, 9, 14, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 140ms ease, transform 140ms ease;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: left;
}

.account-achievement-chip:hover::after,
.account-achievement-chip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.account-achievement-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.account-streak-float {
  position: sticky;
  top: 98px;
  z-index: 4;
  justify-self: end;
  width: max-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: -40px;
  padding: 0 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(10, 18, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.account-streak-float i {
  color: #ffb13b;
  filter: drop-shadow(0 0 10px rgba(255, 177, 59, 0.45));
}

.account-streak-float strong {
  color: var(--accent-primary);
  font-size: 1.35rem;
}

.account-todo-list {
  display: grid;
  gap: 8px;
}

.account-todo-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.account-todo-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 14, 20, 0.5);
  color: #ffffff;
  font: inherit;
}

.account-todo-list p,
.account-todo-item {
  margin: 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.account-todo-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
}

.account-todo-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-todo-item button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.account-todo-item button:hover,
.account-todo-item button:focus-visible {
  color: var(--accent-contrast);
  background: var(--accent-primary);
}

.account-section-head {
  justify-content: space-between;
}

.account-range-tabs button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.account-range-tabs button.is-active {
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.account-chart-wrap {
  position: relative;
  min-height: 352px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(5, 12, 18, 0.38);
}

.account-activity-chart {
  width: 100%;
  height: 352px;
  display: block;
}

.account-chart-point,
.account-chart-point-hit {
  cursor: crosshair;
}

.account-chart-point-hit:hover + .account-chart-point,
.account-chart-point:hover {
  r: 6.5;
}

.account-chart-tooltip {
  position: absolute;
  min-width: 160px;
  padding: 10px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(4, 9, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  pointer-events: none;
}

.account-chart-tooltip strong,
.account-chart-tooltip span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.account-chart-tooltip strong {
  margin-bottom: 6px;
}

.account-chart-tooltip i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
}

.account-chart-tooltip b {
  margin-left: auto;
}

.account-chart-legend button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font: inherit;
  font-weight: 900;
}

.account-chart-legend button i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 12px var(--legend);
}

.account-chart-legend button.is-muted {
  opacity: 0.42;
  filter: grayscale(0.8);
}

.account-transactions-panel {
  gap: 16px;
}

.account-panel-headline span {
  color: rgba(255, 255, 255, 0.64);
  font-weight: 800;
}

.account-transaction-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 10, 14, 0.34);
}

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

.account-transaction-table th,
.account-transaction-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.account-transaction-table th {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.account-transaction-table tr.is-positive {
  background: rgba(95, 255, 154, 0.1);
}

.account-transaction-table tr.is-negative {
  background: rgba(255, 94, 110, 0.1);
}

.account-transaction-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.account-transaction-preview {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--transaction-color, rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.account-transaction-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.account-transaction-amount {
  text-align: right;
  white-space: nowrap;
}

.account-transaction-table tr.is-positive .account-transaction-amount {
  color: #bfff71;
}

.account-transaction-table tr.is-negative .account-transaction-amount {
  color: #ff9ba7;
}

.account-load-more-transactions {
  justify-self: center;
}

.account-transaction-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.account-transaction-filters label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  font-weight: 800;
}

.account-transaction-filters input {
  accent-color: var(--accent-primary);
}

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

.account-friend-card {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
}

.account-friend-card:hover,
.account-friend-card:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(156, 255, 114, 0.28);
}

.account-friend-card span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  background-size: cover;
  background-position: center;
}

.account-friend-card strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-profile-avatar {
  cursor: default;
}

.public-profile-bio {
  min-height: 90px;
  padding: 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.55;
}

.public-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.public-profile-actions .primary-action,
.public-profile-actions .secondary-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.public-profile-ranks {
  display: grid;
  gap: 8px;
}

.public-profile-ranks span {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 216, 107, 0.12);
  border: 1px solid rgba(255, 216, 107, 0.22);
  font-weight: 900;
}

.public-achievement-wall {
  align-content: start;
  overflow: visible;
}

.account-advanced-panel {
  grid-template-columns: auto repeat(3, max-content);
  align-items: center;
  justify-content: start;
}

.account-cursor-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.account-cursor-modal.is-hidden {
  display: none;
}

.account-cursor-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 12, 0.64);
  backdrop-filter: blur(12px);
}

.account-cursor-card {
  position: relative;
  width: min(860px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 22px;
  border-radius: 8px;
}

.account-cursor-option {
  width: 132px;
  min-height: 136px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.account-cursor-option .cursor-preview-bubble {
  min-height: 64px;
  width: 64px;
}

.account-cursor-option .account-cursor-preview-media {
  width: 86px;
  height: 86px;
}

.account-cursor-option .account-cursor-preview-media img {
  width: 76px;
  height: 76px;
}

.account-cursor-option strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
}

.account-featured-panel {
  overflow: visible;
}

@media (max-width: 900px) {
  .landing-account-page {
    width: calc(100% - 24px);
    padding-top: 112px;
  }

  .account-top-layout,
  .account-lower-grid {
    grid-template-columns: 1fr;
  }

  .account-hero {
    min-height: 420px;
  }

  .account-banner {
    inset: 0;
  }

  .account-avatar {
    left: 50%;
    bottom: 232px;
    transform: translateX(-50%);
    width: 116px;
    height: 116px;
  }

  .public-profile-page .public-profile-avatar {
    bottom: 296px;
  }

  .account-avatar:hover,
  .account-avatar:focus-visible {
    transform: translateX(-50%) translateY(-2px) scale(1.03);
  }

  .account-hero-copy {
    padding: 248px 18px 22px;
    text-align: center;
    justify-items: center;
  }

  .account-hero-copy h1 {
    font-size: clamp(2.2rem, 13vw, 4.3rem);
  }

  .account-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-chart-wrap {
    overflow: hidden;
  }

  .account-activity-chart {
    height: 280px;
  }

  .account-streak-float {
    position: relative;
    top: auto;
    justify-self: start;
    margin-top: -2px;
  }

  .account-friends-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-advanced-panel {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
}

@media (max-width: 560px) {
  .account-friends-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-color-grid,
  .account-achievement-picker,
  .account-cursor-grid {
    gap: 8px;
  }

  .account-cursor-card {
    padding: 16px;
  }
}

.rewards-window.landing-rewards-shell {
  width: auto;
  min-width: 0;
  display: grid;
  gap: 18px;
}

.landing-rewards-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  line-height: 0.9;
}

.landing-rewards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.landing-rewards-grid .reward-card {
  min-width: 0;
  min-height: 330px;
  grid-template-rows: 104px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(13, 18, 25, 0.72);
  border-color: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.landing-rewards-grid .reward-card-lottery {
  grid-column: auto;
}

.landing-rewards-grid .reward-card-visual,
.landing-rewards-grid .reward-card-visual-static {
  width: 96px;
  height: 96px;
  max-width: 100%;
  place-self: center;
  object-fit: contain;
  image-rendering: auto;
}

.landing-rewards-grid .visual-asset-button {
  width: 104px;
  height: 104px;
  place-self: center;
}

.landing-rewards-grid .reward-card-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent-primary);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-rewards-grid .reward-card h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1;
}

.landing-rewards-grid .reward-card-copy {
  margin: 0;
}

.landing-rewards-grid .reward-claim-button,
.landing-rewards-grid .secondary-action,
.landing-rewards-grid .primary-action {
  width: 100%;
  min-width: 0;
  justify-content: center;
}

.landing-rewards-shell .pane-block {
  border-radius: 8px;
  background: rgba(13, 18, 25, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.landing-rewards-shell .rewards-custom-list {
  max-height: none;
}

@media (max-width: 760px) {
  .landing-chat-page {
    padding-top: 102px;
  }

  .landing-chat-shell {
    min-height: calc(100vh - 114px);
    padding: 12px;
  }

  .landing-chat-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .landing-chat-head h1 {
    font-size: 2.1rem;
  }

  .landing-chat-shell .chat-main-panel,
  .landing-chat-shell .chat-desktop-layout {
    min-height: 0;
  }

  .landing-chat-shell .chat-desktop-layout {
    grid-template-columns: 1fr;
  }

  .landing-chat-shell .chat-online-panel {
    max-height: 190px;
  }

  .landing-chat-shell .chat-log {
    min-height: 52vh;
  }

  .landing-rewards-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) and (max-width: 1060px) {
  .landing-rewards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.members-roles-window {
  width: min(980px, calc(100vw - 80px));
}

.cursors-window {
  width: min(760px, calc(100vw - 48px));
}

.analytics-window {
  width: min(980px, calc(100vw - 80px));
}

.store-manage-window {
  width: min(1160px, calc(100vw - 80px));
}

.rewards-window {
  width: min(920px, calc(100vw - 64px));
}

.achievements-window {
  width: min(1320px, calc(100vw - 72px));
}

.coupons-window {
  width: min(1120px, calc(100vw - 72px));
}

.rewards-window-body {
  max-height: min(680px, calc(100vh - 150px));
  overflow: auto;
  padding-right: 18px;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 255, 227, 0.42) rgba(255, 255, 255, 0.06);
}

.rewards-window-body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.rewards-window-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.rewards-window-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(181, 255, 206, 0.55), rgba(112, 219, 255, 0.48));
  border-radius: 999px;
  border: 2px solid rgba(8, 17, 23, 0.18);
}

.achievements-window-body {
  position: relative;
  max-height: min(700px, calc(100vh - 150px));
  overflow: auto;
  padding-right: 18px;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 255, 227, 0.42) rgba(255, 255, 255, 0.06);
}

.achievements-window-body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.achievements-window-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.achievements-window-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(181, 255, 206, 0.55), rgba(112, 219, 255, 0.48));
  border-radius: 999px;
  border: 2px solid rgba(8, 17, 23, 0.18);
}

.achievements-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 14px;
}

.achievements-summary-shell,
.achievement-card,
.achievements-toolbar {
  display: grid;
  gap: 14px;
}

.achievements-summary-top,
.achievement-card-top,
.achievement-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.achievements-summary-title {
  margin: 8px 0 0;
}

.achievements-summary-meta,
.achievement-card-progress {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.achievements-progress-track {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.achievements-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9cff72 0%, #74dcff 100%);
  box-shadow: 0 0 18px rgba(156, 255, 114, 0.24);
}

.achievements-toolbar {
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
}

.achievements-search-input,
.achievements-sort-select,
.links-create-form input {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(12, 21, 27, 0.32);
  color: #ffffff;
  padding: 0 14px;
  outline: none;
  font: inherit;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.achievement-card {
  grid-template-columns: 1fr;
  align-items: start;
  min-height: 100%;
}

.achievement-card.is-unlocked {
  border-color: rgba(156, 255, 114, 0.28);
  box-shadow: inset 0 0 0 1px rgba(156, 255, 114, 0.06);
}

.achievement-card-media {
  display: grid;
  place-items: center;
  justify-content: start;
}

.achievement-icon-button {
  position: relative;
  width: 96px;
  height: 96px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  overflow: visible;
}

.achievement-card-icon {
  width: 96px;
  height: 96px;
  display: block;
  border-radius: 8px;
  object-fit: contain;
  padding: 0;
  background: rgba(5, 12, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
  transform-origin: center;
}

.achievement-icon-button:hover .achievement-card-icon,
.achievement-icon-button:focus-visible .achievement-card-icon,
.achievement-icon-button:active .achievement-card-icon {
  transform: scale(1.06);
  filter: saturate(1.06) brightness(1.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.achievement-icon-edit {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(9, 17, 25, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d7ff9a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

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

.achievement-card-top {
  align-items: start;
}

.achievement-card-top strong {
  font-size: 1rem;
  line-height: 1.2;
}

.achievement-feature-button.is-active {
  border-color: rgba(156, 255, 114, 0.28);
  color: #d9ff9d;
}

.achievement-status-pending {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
}

.achievement-mobile-modal {
  display: none;
}

.reward-card.is-disabled-reward {
  opacity: 0.5;
}

.reward-card.is-disabled-reward:hover {
  transform: none;
}

.achievements-referral-shell {
  display: grid;
  gap: 14px;
  align-content: start;
}

.achievements-referral-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.achievements-referral-input {
  min-height: 46px;
  border-radius: 10px;
  background: rgba(12, 21, 27, 0.32);
  color: #ffffff;
  padding: 0 14px;
  outline: none;
  font: inherit;
}

.achievements-referral-stats,
.featured-achievements-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.featured-achievement-chip {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}

.featured-achievement-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.featured-achievement-chip:hover img,
.featured-achievement-chip:focus-visible img,
.featured-achievement-chip:active img {
  transform: scale(1.08);
  filter: saturate(1.06) brightness(1.03);
}

.achievement-preview-tooltip {
  position: fixed;
  z-index: 120;
  max-width: 240px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(9, 16, 23, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  pointer-events: none;
}

.achievement-preview-tooltip.is-hidden {
  display: none;
}

.achievement-preview-tooltip strong {
  font-size: 0.86rem;
}

.achievement-preview-tooltip span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  line-height: 1.4;
}

.member-achievements-shell,
.member-achievement-actions {
  display: grid;
  gap: 12px;
}

.member-achievement-actions {
  grid-template-columns: 1fr;
}

.member-featured-achievements {
  display: grid;
  gap: 10px;
}

.community-user-copy span,
.community-mini-copy span {
  color: rgba(255, 255, 255, 0.68);
}

.member-achievements-count {
  color: rgba(255, 255, 255, 0.72);
}

.projects-window-body {
  display: grid;
  gap: 16px;
  position: relative;
}

.projects-toolbar,
.projects-toolbar-actions,
.projects-section-copy,
.projects-featured-form,
.projects-featured-choices {
  display: flex;
  align-items: center;
  gap: 12px;
}

.projects-toolbar {
  justify-content: space-between;
  flex-wrap: wrap;
}

.projects-toolbar-actions {
  flex-wrap: wrap;
}

.projects-panel,
.projects-section-head {
  display: grid;
  gap: 14px;
}

.projects-games-panel .projects-section-head {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  align-items: stretch;
}

.projects-gallery-panel .projects-section-head {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  align-items: stretch;
}

.projects-games-main {
  display: grid;
  gap: 14px;
  align-content: start;
}

.projects-spotlight-card {
  position: relative;
  min-height: 224px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.projects-spotlight-slideshow,
.projects-spotlight-slide,
.projects-spotlight-overlay,
.projects-spotlight-copy {
  position: absolute;
  inset: 0;
}

.projects-spotlight-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: projects-spotlight-fade 12s infinite;
}

.projects-spotlight-upload {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  opacity: 0;
  animation: projects-spotlight-fade 12s infinite;
}

.projects-spotlight-upload .projects-spotlight-slide {
  opacity: 1;
  animation: none;
}

.projects-spotlight-wishlist {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
}

.projects-spotlight-bulk-upload {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 3px solid color-mix(in srgb, var(--accent-primary) 72%, #ff385f);
  color: color-mix(in srgb, var(--accent-primary) 70%, #ff385f);
  background: rgba(5, 9, 12, 0.08);
  font-size: 2rem;
  line-height: 1;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.projects-spotlight-bulk-upload:hover,
.projects-spotlight-bulk-upload:focus-visible {
  transform: translateY(-1px) scale(1.04);
  background: rgba(5, 9, 12, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.projects-spotlight-slide:nth-child(2) {
  animation-delay: 4s;
}

.projects-spotlight-slide:nth-child(3) {
  animation-delay: 8s;
}

.projects-spotlight-slide[data-projects-visual$="_2"],
.projects-spotlight-slide[data-projects-visual-static$="_2"],
.projects-spotlight-upload:has([data-projects-visual$="_2"]) {
  animation-delay: 4s;
}

.projects-spotlight-slide[data-projects-visual$="_3"],
.projects-spotlight-slide[data-projects-visual-static$="_3"],
.projects-spotlight-upload:has([data-projects-visual$="_3"]) {
  animation-delay: 8s;
}

.projects-spotlight-overlay {
  background:
    linear-gradient(90deg, rgba(9, 14, 18, 0.92), rgba(9, 14, 18, 0.46) 58%, rgba(9, 14, 18, 0.2)),
    linear-gradient(180deg, rgba(9, 14, 18, 0.1), rgba(9, 14, 18, 0.62));
}

.projects-spotlight-copy {
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  max-width: 360px;
}

.projects-spotlight-copy strong {
  font-size: 1.14rem;
  line-height: 1.16;
}

.projects-spotlight-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.42;
}

.projects-wishlist-button,
.hellsmouth-wishlist-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-width: 132px;
  text-decoration: none;
}

@keyframes projects-spotlight-fade {
  0%,
  8% {
    opacity: 0;
    transform: scale(1.04);
  }
  14%,
  38% {
    opacity: 1;
    transform: scale(1);
  }
  46%,
  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

.projects-gallery-actions,
.projects-gallery-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.projects-gallery-actions {
  justify-content: center;
  align-items: stretch;
  width: 100%;
  min-height: 100%;
}

.projects-gallery-cta {
  display: flex;
  flex: 1 1 auto;
  min-height: 100%;
  width: 100%;
  max-width: none;
  margin-left: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.projects-gallery-cta span {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.projects-contact-button {
  min-width: 156px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.projects-section-copy {
  align-items: center;
}

.projects-visual-shell {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
}

.visual-asset-button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.projects-section-visual,
.reward-card-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.projects-featured-form {
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.projects-featured-choices {
  flex-wrap: wrap;
}

.projects-feature-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.projects-feature-choice img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

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

.projects-game-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: left;
  transition: transform 160ms ease, background 180ms ease, border-color 180ms ease;
}

.projects-game-card:hover,
.projects-game-card:focus-visible {
  transform: translateY(-3px) scale(1.01);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
}

.projects-game-card-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.projects-game-card-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.projects-game-card span {
  color: rgba(255, 255, 255, 0.68);
}

.projects-gallery-dropzone {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.04);
}

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

.projects-gallery-card {
  display: grid;
  gap: 8px;
}

.projects-gallery-delete {
  justify-self: start;
}

.projects-gallery-button {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0;
}

.projects-gallery-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.projects-gallery-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  background: rgba(5, 10, 16, 0.18);
  opacity: 0;
  transition: opacity 180ms ease, background 180ms ease;
}

.projects-gallery-button:hover img,
.projects-gallery-button:focus-visible img {
  transform: scale(1.06);
}

.projects-gallery-button:hover .projects-gallery-overlay,
.projects-gallery-button:focus-visible .projects-gallery-overlay {
  opacity: 1;
  background: rgba(5, 10, 16, 0.48);
}

.projects-gallery-overlay span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.85rem;
  line-height: 1.4;
}

.projects-gallery-modal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 8, 12, 0.46);
  backdrop-filter: blur(8px);
  z-index: 4;
}

.projects-gallery-modal-card {
  width: min(460px, 100%);
  display: grid;
  gap: 14px;
}

.projects-gallery-modal-preview {
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

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

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

.reward-card {
  display: grid;
  gap: 12px;
}

.reward-card-visual-shell {
  width: 72px;
  height: 72px;
  overflow: visible;
}

.reward-card-visual-static,
.projects-section-visual-static {
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
  transform-origin: center;
}

.reward-card:hover .reward-card-visual,
.reward-card:focus-within .reward-card-visual,
.reward-card:hover .reward-card-visual-static,
.reward-card:focus-within .reward-card-visual-static {
  transform: scale(1.06);
  filter: saturate(1.06) brightness(1.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.reward-card-visual-static.is-hidden,
.projects-section-visual-static.is-hidden {
  display: none;
}

.rewards-section-header h2,
.reward-card-top .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reward-card-top,
.reward-custom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.reward-card h3,
.reward-card p {
  margin: 0;
}

.reward-card-copy {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.45;
}

.reward-card-lottery .reward-card-visual-static {
  object-fit: contain;
  padding: 14px;
}

.reward-card-amount {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffe78e;
  font-weight: 700;
  font-size: 0.82rem;
}

.reward-claim-button.is-disabled,
.secondary-action.is-disabled,
.chat-attach-action.is-disabled {
  opacity: 0.58;
  cursor: default;
}

.reward-claim-button:not(:disabled),
.reward-claim-button.is-claimable:not(:disabled) {
  background: #218849;
  border-color: #35ae63;
  color: #fff;
}

.reward-claim-button.is-claimed,
.reward-claim-button.is-disabled,
.reward-claim-button:disabled {
  opacity: 1;
  background: #20252c;
  border-color: #343b45;
  color: #aab0b9;
  box-shadow: none;
}

.rewards-custom-list {
  display: grid;
  gap: 12px;
}

.reward-custom-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reward-custom-card.is-claimed {
  opacity: 0.68;
}

.reward-custom-copy {
  display: grid;
  gap: 4px;
}

.reward-custom-copy strong {
  font-size: 1rem;
}

.reward-custom-copy span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
}

.rewards-section-header {
  margin-bottom: 10px;
}

.rewards-admin-form {
  display: grid;
  gap: 12px;
}

.rewards-coupon-form,
.coupons-form {
  display: grid;
  gap: 12px;
}

.rewards-admin-form input,
.rewards-admin-form textarea,
.rewards-coupon-form input,
.coupons-form input,
.coupons-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(12, 21, 27, 0.32);
  color: #ffffff;
  padding: 12px 14px;
  outline: none;
  font: inherit;
  resize: vertical;
}

.blog-poll-editor {
  display: grid;
  gap: 12px;
}

.blog-poll-editor input,
.blog-poll-editor textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 21, 27, 0.32);
  color: #ffffff;
  font: inherit;
}

.blog-poll-shell {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 20px;
}

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

.blog-poll-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 14px 16px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

.blog-poll-option i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(201, 255, 114, 0.18);
  pointer-events: none;
}

.blog-poll-option span,
.blog-poll-option strong {
  position: relative;
  z-index: 1;
}

.blog-poll-option.is-voted {
  border-color: rgba(201, 255, 114, 0.36);
}

.blog-poll-option.is-results {
  cursor: default;
}

.analytics-window-body {
  display: flex;
  flex-direction: column;
  max-height: min(680px, calc(100vh - 150px));
  overflow: auto;
  padding-right: 18px;
  gap: 18px;
  align-items: stretch;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 255, 227, 0.42) rgba(255, 255, 255, 0.06);
}

.store-manage-body {
  max-height: min(700px, calc(100vh - 140px));
  overflow: auto;
  padding-right: 18px;
  gap: 16px;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 255, 227, 0.42) rgba(255, 255, 255, 0.06);
}

.community-window-body {
  max-height: min(700px, calc(100vh - 150px));
  overflow: auto;
  padding-right: 18px;
  gap: 16px;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 255, 227, 0.42) rgba(255, 255, 255, 0.06);
}

.community-window-body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.community-window-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.community-window-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(181, 255, 206, 0.55), rgba(112, 219, 255, 0.48));
  border-radius: 999px;
  border: 2px solid rgba(8, 17, 23, 0.18);
}

.todo-window {
  width: min(760px, calc(100vw - 72px));
}

.todo-window-body {
  display: grid;
  gap: 16px;
  max-height: min(70vh, 680px);
  overflow: auto;
}

.todo-hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 18px;
  align-items: center;
}

.todo-hero-copy {
  min-width: 0;
}

.todo-hero-visual {
  display: grid;
  place-items: center;
}

.todo-hero-icon {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.24), transparent 36%),
    linear-gradient(150deg, rgba(201, 255, 114, 0.22), rgba(109, 255, 179, 0.14));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 34px rgba(11, 26, 18, 0.22);
}

.todo-hero-upload:hover {
  transform: translateY(-3px) rotate(-2deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 22px 40px rgba(109, 255, 179, 0.22);
}

.todo-hero-image {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.22));
}

.todo-tabs {
  justify-content: flex-start;
}

.todo-create-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.07)),
    rgba(13, 29, 24, 0.16);
}

.todo-create-input {
  min-width: 0;
  min-height: 58px;
  padding: 17px 20px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.todo-create-input::placeholder {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.todo-bulk-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: -2px;
}

.todo-clear-completed-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 14px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    opacity 160ms ease;
}

.todo-clear-completed-button:not(:disabled):hover {
  transform: translateY(-1px);
  border-color: rgba(201, 255, 114, 0.34);
  background: rgba(255, 255, 255, 0.16);
}

.todo-clear-completed-button.is-disabled,
.todo-clear-completed-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.todo-list {
  display: grid;
  gap: 10px;
}

.todo-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(0) scale(1);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    opacity 160ms ease;
}

.todo-item:hover,
.todo-item:focus-within {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(201, 255, 114, 0.34);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 26px rgba(16, 38, 25, 0.18);
}

.todo-item.is-dragging {
  opacity: 0.58;
  transform: scale(1.025);
  border-color: rgba(201, 255, 114, 0.48);
  background: rgba(201, 255, 114, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 34px rgba(10, 28, 18, 0.26);
}

.todo-item.is-drop-before {
  box-shadow:
    0 -4px 0 rgba(201, 255, 114, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.todo-item.is-drop-after {
  box-shadow:
    0 4px 0 rgba(201, 255, 114, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.todo-toggle-button,
.todo-delete-button {
  display: inline-grid;
  place-items: center;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 900;
}

.todo-toggle-button {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--accent-contrast);
  position: relative;
  overflow: hidden;
}

.todo-item.is-completed .todo-toggle-button {
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 8px 18px rgba(109, 255, 179, 0.22);
}

.todo-item.is-completed .todo-toggle-button::after {
  content: "\2713";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  animation: todo-check-pop 260ms cubic-bezier(0.2, 1.45, 0.36, 1);
}

.todo-delete-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
}

.todo-toggle-button:hover,
.todo-delete-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.todo-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.todo-body {
  overflow-wrap: anywhere;
}

.todo-item.is-completed .todo-body {
  opacity: 0.7;
  text-decoration: line-through;
}

.todo-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

@keyframes todo-check-pop {
  0% {
    opacity: 0;
    transform: scale(0.35) rotate(-18deg);
  }
  72% {
    opacity: 1;
    transform: scale(1.18) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.tickets-window {
  width: min(1120px, calc(100vw - 48px));
  min-height: min(720px, calc(100vh - 120px));
}

.tickets-window-body,
.tickets-content,
.ticket-create-form,
.ticket-detail-card {
  display: grid;
  gap: 16px;
}

.tickets-window-body {
  overflow: auto;
}

.tickets-admin-layout,
.tickets-user-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.4fr);
  gap: 16px;
  align-items: start;
}

.tickets-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.tickets-filter-row label,
.ticket-create-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.tickets-filter-row select,
.ticket-create-form select,
.ticket-create-form input,
.ticket-create-form textarea,
.ticket-reply-form textarea {
  width: 100%;
  border-radius: 18px;
}

.tickets-inbox-list,
.tickets-user-list {
  display: grid;
  gap: 10px;
}

.tickets-user-list h3 {
  margin: 0;
}

.ticket-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ticket-row:hover,
.ticket-row:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(169, 255, 126, 0.36);
  background: rgba(255, 255, 255, 0.11);
}

.ticket-row strong,
.ticket-row span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-row span:last-child {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.ticket-status-badge,
.ticket-reason-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.ticket-reason-badge {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

.ticket-status-open {
  background: rgba(120, 255, 145, 0.2);
  color: #a7ff88;
}

.ticket-status-pending {
  background: rgba(255, 216, 95, 0.22);
  color: #ffe17a;
}

.ticket-status-closed {
  background: rgba(139, 163, 177, 0.22);
  color: #c7d1d8;
}

.ticket-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ticket-detail-head h3 {
  margin: 10px 0 4px;
  font-size: 1.35rem;
}

.ticket-detail-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.ticket-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ticket-status-button {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease;
}

.ticket-status-button:hover,
.ticket-status-button.is-active {
  transform: translateY(-1px);
  background: rgba(168, 255, 126, 0.18);
  color: #ffffff;
}

.ticket-thread {
  display: grid;
  gap: 12px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.ticket-message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
}

.ticket-message-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.ticket-message-bubble {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ticket-message.is-original .ticket-message-bubble {
  border-color: rgba(169, 255, 126, 0.24);
}

.ticket-message-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.ticket-message-bubble p {
  margin: 0;
  white-space: pre-wrap;
}

.ticket-reply-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.white-screen-window-body {
  padding: 0;
  background: #ffffff;
  overflow: hidden;
}

.white-screen-canvas {
  width: 100%;
  min-height: 540px;
  height: 100%;
  background: #ffffff;
}

.white-screen-window.is-fullscreen .white-screen-window-body {
  height: calc(100vh - var(--taskbar-height) - 67px);
}

.hellsmouth-window-body {
  gap: 18px;
}

.tappy-frog-window-body {
  gap: 18px;
}

.hellsmouth-launcher {
  display: grid;
  gap: 18px;
}

.tappy-frog-launcher {
  display: grid;
  gap: 18px;
}

.hellsmouth-hero {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.tappy-frog-hero {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.hellsmouth-hero-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.tappy-frog-hero-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.hellsmouth-copy {
  display: grid;
  gap: 4px;
}

.tappy-frog-copy {
  display: grid;
  gap: 4px;
}

.hellsmouth-copy strong {
  font-size: 1rem;
}

.tappy-frog-copy strong {
  font-size: 1rem;
}

.hellsmouth-copy span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.tappy-frog-copy span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.hellsmouth-play-button {
  width: 100%;
}

.hellsmouth-wishlist-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(13, 20, 26, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hellsmouth-wishlist-copy {
  display: grid;
  gap: 6px;
}

.hellsmouth-wishlist-copy strong {
  font-size: 1rem;
}

.hellsmouth-wishlist-copy span:last-child {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.tappy-frog-qr-shell {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tappy-frog-qr {
  width: 220px;
  height: 220px;
  border-radius: 20px;
  background: #ffffff;
  padding: 10px;
  object-fit: contain;
}

.tappy-frog-qr-caption {
  text-align: center;
}

.tappy-frog-play-button {
  width: 100%;
}

.tappy-frog-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 7000;
  display: grid;
  place-items: center;
  padding: 18px 74px 18px 18px;
}

.tappy-frog-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
}

.tappy-frog-modal-shell {
  position: relative;
  width: min(calc((100vh - 36px) * 9 / 16), calc(100vw - 110px));
  height: min(calc(100vh - 36px), calc((100vw - 110px) * 16 / 9));
  aspect-ratio: 9 / 16;
}

.tappy-frog-modal-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  background: #000;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.54);
}

.tappy-frog-modal-close {
  position: absolute;
  left: calc(100% + 12px);
  top: 0;
  z-index: 2;
}

.community-profile-panel,
.community-search-panel,
.community-social-panel,
.community-inbox-panel {
  display: grid;
  gap: 14px;
}

.community-profile-banner {
  position: relative;
  min-height: 92px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(201, 255, 114, 0.16), rgba(109, 255, 179, 0.08)),
    rgba(5, 9, 12, 0.32);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.community-banner-edit-button,
.community-banner-delete-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(7, 13, 19, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.community-banner-delete-button {
  right: 62px;
  background: rgba(28, 9, 12, 0.72);
}

.community-banner-edit-button:hover,
.community-banner-edit-button:focus-visible,
.community-banner-delete-button:hover,
.community-banner-delete-button:focus-visible {
  transform: translateY(-1px) scale(1.04);
  background: color-mix(in srgb, var(--accent-soft) 54%, rgba(7, 13, 19, 0.74));
  border-color: var(--accent-border);
}

.community-banner-delete-button:hover,
.community-banner-delete-button:focus-visible {
  background: rgba(255, 84, 101, 0.22);
  border-color: rgba(255, 132, 148, 0.38);
}

.community-banner-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 9px);
  width: max-content;
  max-width: 220px;
  padding: 8px 10px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(8, 14, 19, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.community-banner-edit-button:hover .community-banner-tooltip,
.community-banner-edit-button:focus-visible .community-banner-tooltip,
.community-banner-delete-button:hover .community-banner-tooltip,
.community-banner-delete-button:focus-visible .community-banner-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.community-profile-banner::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.community-profile-banner.has-image {
  min-height: 118px;
}

.community-profile-banner.has-image::after {
  content: none;
}

.community-banner-position-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.community-banner-position-modal.is-hidden {
  display: none;
}

.community-banner-position-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 12, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.community-banner-position-card {
  position: relative;
  width: min(1280px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 22px;
}

.community-banner-position-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.community-banner-position-preview {
  width: 100%;
  height: 118px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-size: cover;
  background-position: 50% 50%;
  background-color: rgba(6, 12, 18, 0.32);
  cursor: grab;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: none;
  user-select: none;
}

.community-banner-position-preview.is-dragging {
  cursor: grabbing;
}

.community-banner-position-preview span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(5, 10, 15, 0.54);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  font-weight: 800;
  pointer-events: none;
}

.community-profile-form,
.community-search-form,
.community-inbox-form {
  display: grid;
  gap: 12px;
}

.community-attach-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.community-emote-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.community-token-transfer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.community-token-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(12, 21, 27, 0.32);
  color: #ffffff;
  padding: 0 14px;
  outline: none;
  font: inherit;
}

.rewards-coupon-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.coupons-window-body {
  display: grid;
  gap: 16px;
  align-content: start;
  overflow: auto;
}

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

.coupons-admin-panel,
.coupons-table-shell {
  display: grid;
  gap: 12px;
}

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

.coupons-form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coupons-table-wrap {
  overflow: auto;
}

.coupons-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.coupons-table th,
.coupons-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: middle;
}

.coupons-table th {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.coupons-table code {
  font: inherit;
  font-family: "Consolas", "Courier New", monospace;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-social-actions {
  display: grid;
  gap: 10px;
}

.auth-social-actions .secondary-action {
  width: 100%;
  justify-content: center;
}

.pictures-window {
  width: min(1120px, calc(100vw - 48px));
}

.pictures-window-body {
  display: grid;
  gap: 16px;
  overflow: auto;
}

.pictures-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.pictures-album-list,
.pictures-gallery-shell,
.pictures-admin-panel {
  display: grid;
  gap: 12px;
}

.pictures-album-button {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-align: left;
}

.pictures-album-button.is-active {
  border-color: rgba(201, 255, 114, 0.45);
  background: rgba(201, 255, 114, 0.1);
}

.pictures-album-button img,
.pictures-empty-cover {
  width: 92px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.pictures-empty-cover {
  display: grid;
  place-items: center;
}

.pictures-album-button span {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.pictures-album-button strong,
.pictures-album-button em {
  overflow: hidden;
  text-overflow: ellipsis;
}

.pictures-album-button em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
}

.pictures-gallery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pictures-access-select {
  min-width: min(320px, 100%);
  max-width: 100%;
}

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

.pictures-photo-card {
  display: grid;
  gap: 8px;
}

.pictures-photo-card > button {
  padding: 0;
  border: 0;
  background: transparent;
}

.pictures-photo-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.pictures-upload-form {
  display: grid;
  gap: 12px;
}

.pictures-drop-zone {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  cursor: pointer;
}

.pictures-drop-zone input {
  display: none;
}

.pictures-coupon-select,
.coupon-album-select {
  min-height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(12, 21, 27, 0.32);
  color: #ffffff;
  padding: 10px 12px;
  font: inherit;
}

.landing-pictures-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  min-height: auto;
  align-content: start;
  isolation: isolate;
}

.landing-pictures-page > * {
  position: relative;
  z-index: 1;
  opacity: 1 !important;
}

.pictures-page-browser {
  display: grid;
  gap: 16px;
}

.landing-pictures-page .projects-page-hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.pictures-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pictures-page-grid .pictures-page-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 18, 25, 0.72);
  text-align: left;
  color: inherit;
  opacity: 1 !important;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.pictures-page-detail {
  display: grid;
  gap: 16px;
}

.pictures-page-detail.is-hidden,
.pictures-page-grid.is-hidden {
  display: none;
}

.pictures-page-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.pictures-page-detail-copy {
  display: grid;
  gap: 4px;
}

.pictures-page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pictures-page-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  min-height: 280px;
  padding: 20px;
  overflow: hidden;
}

.pictures-page-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 14px;
  image-rendering: auto !important;
}

.pictures-photo-card img,
.pictures-page-card img,
.pictures-album-button img,
.pictures-window img,
.pictures-page-detail img,
.pictures-photo-grid img,
.image-modal-image {
  image-rendering: auto !important;
}

.pictures-page-card > div {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.pictures-page-card h2,
.pictures-page-card p {
  margin: 0;
}

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

  .pictures-layout {
    grid-template-columns: 1fr;
  }

  .pictures-page-grid {
    grid-template-columns: 1fr;
  }

  .pictures-window {
    width: min(100vw - 20px, 1120px);
  }
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.74fr) minmax(0, 1fr);
  gap: 14px;
  min-height: 420px;
  align-items: start;
}

.community-search-input,
.community-bio-input,
.community-inbox-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(12, 21, 27, 0.32);
  color: #ffffff;
  padding: 12px 14px;
  outline: none;
  font: inherit;
}

.community-search-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.community-profile-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.community-compose-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.community-inbox-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.community-search-results,
.community-incoming-list,
.community-friends-list,
.community-inbox-log {
  display: grid;
  gap: 10px;
  align-content: start;
}

.community-search-panel,
.community-social-panel,
.community-inbox-panel {
  align-self: start;
  align-content: start;
}

.community-search-results,
.community-inbox-log {
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.community-user-card,
.community-mini-card,
.community-friend-button,
.community-message-bubble {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.community-user-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.community-card-banner {
  min-height: 84px;
  margin: -14px -14px 0;
  border-radius: 18px 18px 10px 10px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.community-user-top {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.community-user-avatar,
.community-mini-avatar,
.community-message-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 50% 34%, #f4d2c3 0 20%, transparent 21%),
    radial-gradient(circle at 39% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 61% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 50% 45%, #dbad97 0 7%, transparent 8%),
    radial-gradient(circle at 50% 82%, #26323d 0 44%, transparent 45%),
    linear-gradient(180deg, #5f3a26 0 26%, #d8b2a1 27% 68%, #25303b 69% 100%);
  background-size: cover;
  background-position: center;
}

.community-mini-avatar,
.community-message-avatar {
  width: 42px;
  height: 42px;
}

.community-user-copy,
.community-mini-copy {
  display: grid;
  gap: 4px;
}

.community-user-copy strong,
.community-mini-copy strong {
  font-size: 0.96rem;
}

.community-user-copy span,
.community-mini-copy span,
.community-message-meta span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.community-user-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.45;
}

.community-user-actions {
  display: flex;
  justify-content: flex-end;
}

.community-social-group {
  display: grid;
  gap: 10px;
  align-content: start;
}

.community-mini-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
}

.community-mini-action {
  min-height: 38px;
  padding: 0 12px;
}

.community-friend-button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  text-align: left;
}

.community-friend-button.is-active {
  border-color: rgba(152, 255, 172, 0.58);
  box-shadow: 0 0 0 1px rgba(152, 255, 172, 0.26) inset;
}

.community-inbox-panel {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.community-inbox-log {
  min-height: 220px;
  max-height: 360px;
  overflow: auto;
  padding: 12px;
  border-radius: 18px;
  background: rgba(9, 17, 23, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.community-friends-list,
.community-incoming-list {
  min-height: 0;
}

.community-friends-list {
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
}

.community-friends-list .community-friend-button {
  min-height: 172px;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: start;
  gap: 9px;
  padding: 14px 10px;
  text-align: center;
}

.community-friends-list .community-mini-avatar {
  width: 64px;
  height: 64px;
}

.community-friends-list .community-mini-copy {
  justify-items: center;
  min-width: 0;
}

.community-friends-list .community-mini-copy strong,
.community-friends-list .community-mini-copy span,
.community-friends-list .community-mini-copy em {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-friends-list .community-mini-copy em {
  color: color-mix(in srgb, var(--accent-primary) 78%, #ffffff);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
}

.community-friend-chat-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  font-size: 0.78rem;
  font-weight: 950;
}

.community-message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.community-message.is-self {
  grid-template-columns: minmax(0, 1fr) 42px;
}

.community-message.is-self .community-message-avatar {
  order: 2;
}

.community-message-bubble {
  padding: 12px 14px;
  display: grid;
  gap: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.community-message-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.community-message-bubble p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  white-space: pre-wrap;
  word-break: break-word;
}

.community-message-bubble.is-token-transfer {
  gap: 8px;
}

.community-message-bubble.is-token-sent {
  background: rgba(255, 136, 136, 0.16);
  border-color: rgba(255, 149, 149, 0.26);
  box-shadow: inset 0 0 0 1px rgba(255, 126, 126, 0.05);
}

.community-message-bubble.is-token-received {
  background: rgba(135, 255, 179, 0.16);
  border-color: rgba(157, 255, 177, 0.24);
  box-shadow: inset 0 0 0 1px rgba(163, 255, 197, 0.05);
}

.community-token-transfer-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.community-token-transfer-copy p {
  margin: 0;
}

.community-token-transfer-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
}

.community-message-attachment {
  margin-top: 2px;
}

.community-image-attachment {
  display: block;
  width: min(240px, 100%);
  max-height: 240px;
  object-fit: cover;
  border-radius: 16px;
}

.community-emote-attachment {
  width: 56px;
  height: 56px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.reports-window-body {
  display: grid;
  gap: 16px;
  align-content: start;
  overflow: auto;
}

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

.reports-list {
  display: grid;
  gap: 14px;
  align-content: start;
}

.reports-card {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(8, 17, 23, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reports-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.reports-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.reports-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background:
    radial-gradient(circle at 50% 34%, #f4d2c3 0 20%, transparent 21%),
    radial-gradient(circle at 39% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 61% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 50% 45%, #dbad97 0 7%, transparent 8%),
    radial-gradient(circle at 50% 82%, #26323d 0 44%, transparent 45%),
    linear-gradient(180deg, #5f3a26 0 26%, #d8b2a1 27% 68%, #25303b 69% 100%);
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
}

.reports-avatar.has-image {
  background-size: cover;
  background-position: center;
}

.reports-user-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.reports-user-copy strong,
.reports-user-copy span {
  overflow-wrap: anywhere;
}

.reports-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.reports-meta,
.reports-footnotes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.reports-message-shell {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reports-message-body {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-wrap;
  word-break: break-word;
}

.reports-message-body.is-muted {
  color: rgba(255, 255, 255, 0.62);
  font-style: italic;
}

.reports-image-button {
  justify-self: start;
}

.reports-image-attachment {
  display: block;
  width: min(280px, 100%);
  max-height: 260px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.reports-ban-duration,
.members-ban-days {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0 12px;
}

.reports-ban-duration:disabled,
.members-ban-days:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.reports-actions button[disabled] {
  opacity: 0.48;
  cursor: not-allowed;
}

.analytics-window.is-fullscreen .analytics-window-body {
  max-height: calc(100vh - 96px);
  gap: 20px;
}

.analytics-window-body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.analytics-window-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.analytics-window-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(181, 255, 206, 0.55), rgba(112, 219, 255, 0.48));
  border-radius: 999px;
  border: 2px solid rgba(8, 17, 23, 0.18);
}

.analytics-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.analytics-filters {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 8px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.analytics-filter {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.analytics-filter.is-active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

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

.analytics-insights-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.9fr);
  gap: 16px;
  align-items: start;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.analytics-stat {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.analytics-stat-label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.analytics-stat strong {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1;
}

.analytics-chart-shell {
  position: relative;
  flex: 0 0 auto;
  min-height: 360px;
  height: min(52vh, 560px);
  width: 100%;
  padding: 18px;
  border-radius: 24px;
  background: rgba(7, 16, 23, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
}

.analytics-chart {
  display: grid;
  height: 100%;
  min-height: 0;
  gap: 14px;
  grid-template-rows: minmax(0, 1fr) auto auto;
}

.analytics-svg {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  display: block;
  overflow: hidden;
}

.analytics-grid line {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}

.analytics-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.analytics-line-visits {
  stroke: #8fe8ff;
}

.analytics-line-registrations {
  stroke: #ffd86b;
}

.analytics-line-revenue {
  stroke: #9dff8f;
}

.analytics-point {
  pointer-events: none;
}

.analytics-point-hit {
  fill: rgba(255, 255, 255, 0.001);
  cursor: pointer;
}

.analytics-point-visits {
  fill: #8fe8ff;
}

.analytics-point-registrations {
  fill: #ffd86b;
}

.analytics-point-revenue {
  fill: #9dff8f;
}

.analytics-axis {
  position: relative;
  height: 22px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.62);
  width: 100%;
}

.analytics-axis span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}

.analytics-axis span.is-edge-start {
  transform: translateX(0);
  text-align: left;
}

.analytics-axis span.is-edge-end {
  transform: translateX(-100%);
  text-align: right;
}

.analytics-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

.analytics-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.analytics-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.analytics-legend-visits {
  background: #8fe8ff;
}

.analytics-legend-registrations {
  background: #ffd86b;
}

.analytics-legend-revenue {
  background: #9dff8f;
}

.analytics-tooltip {
  position: absolute;
  min-width: 150px;
  max-width: 170px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(14, 24, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  z-index: 30;
}

.analytics-tooltip strong {
  font-size: 0.84rem;
}

.analytics-tooltip span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}

.analytics-sales-shell {
  display: grid;
  gap: 12px;
  min-height: 100%;
}

.analytics-sales-list {
  display: grid;
  gap: 10px;
}

.analytics-sale-item {
  display: grid;
  grid-template-columns: auto 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.analytics-sale-rank {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(213, 255, 140, 0.95), rgba(89, 217, 79, 0.85));
  color: #183216;
  font-weight: 700;
}

.analytics-sale-copy {
  display: grid;
  gap: 3px;
}

.analytics-sale-copy .analytics-sale-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.analytics-sale-copy span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.analytics-sale-copy span:not(.analytics-sale-meta) {
  display: none;
}

.analytics-sale-preview {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.analytics-sale-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.analytics-sale-preview-color {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.analytics-sale-preview-fallback {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.analytics-pie-shell {
  display: grid;
  gap: 16px;
  align-content: start;
}

.analytics-pie-chart {
  display: grid;
  place-items: center;
}

.analytics-pie-visual {
  width: min(100%, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.2);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, filter 220ms ease;
}

.analytics-pie-center {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  background: rgba(10, 19, 26, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.analytics-pie-center strong {
  font-size: 2rem;
  line-height: 1;
}

.analytics-pie-center span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.analytics-pie-legend {
  display: grid;
  gap: 10px;
}

.analytics-pie-legend-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.analytics-pie-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.analytics-pie-copy {
  display: grid;
  gap: 3px;
}

.analytics-pie-copy span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.analytics-sale-item:hover {
  border-color: color-mix(in srgb, var(--accent-primary) 24%, rgba(255, 255, 255, 0.12));
  background: color-mix(in srgb, var(--accent-soft) 26%, rgba(255, 255, 255, 0.07));
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.12);
}

.analytics-pie-shell:hover .analytics-pie-visual {
  transform: rotate(-5deg) scale(1.025);
  filter: saturate(1.05);
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.26);
}

.analytics-pie-shell:hover .analytics-pie-center {
  transform: scale(1.04);
  border-color: color-mix(in srgb, var(--accent-primary) 24%, rgba(255, 255, 255, 0.12));
}

.analytics-pie-legend-item:hover {
  border-color: color-mix(in srgb, var(--accent-primary) 26%, rgba(255, 255, 255, 0.12));
  background: color-mix(in srgb, var(--accent-soft) 35%, rgba(255, 255, 255, 0.06));
  box-shadow: 0 18px 26px rgba(0, 0, 0, 0.12);
}

.analytics-pie-legend-item:hover .analytics-pie-copy {
  transform: translateX(2px);
}

[data-edit-text-key].is-editable-text {
  transition: transform 160ms ease, color 180ms ease, text-shadow 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.desktop[data-admin-edit-mode="edit"] [data-edit-text-key].is-editable-text {
  cursor: text;
}

.desktop[data-admin-edit-mode="edit"] [data-edit-text-key].is-editable-text:hover {
  transform: translateY(-1px);
  color: color-mix(in srgb, var(--accent-primary) 42%, white);
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent-primary) 24%, transparent);
}

.desktop[data-admin-edit-mode="edit"] [data-edit-text-key].is-edit-mode {
  outline: 1px dashed color-mix(in srgb, var(--accent-primary) 48%, rgba(255, 255, 255, 0.18));
  outline-offset: 6px;
}

.desktop[data-admin-edit-mode="edit"] [data-edit-text-key].is-edit-mode {
  background: rgba(8, 14, 20, 0.36);
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--accent-border), 0 12px 22px rgba(0, 0, 0, 0.12);
}

.inline-text-editor {
  width: min(100%, 720px);
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid var(--accent-border);
  background: rgba(8, 14, 20, 0.74);
  color: #ffffff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-primary) 20%, transparent), 0 12px 22px rgba(0, 0, 0, 0.18);
  font: inherit;
  outline: none;
}

.community-user-card,
.community-mini-card,
.community-friend-button,
.community-profile-actions .secondary-action,
.community-profile-actions .primary-action,
.community-user-actions .secondary-action,
.community-compose-row .chat-compose-icon,
.community-inbox-header .ghost-action,
.community-attach-panel .chat-attach-action,
.community-emote-picker button {
  transition: transform 160ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.community-user-actions .secondary-action:hover,
.community-user-actions .secondary-action:focus-visible,
.community-profile-actions .primary-action:hover,
.community-profile-actions .primary-action:focus-visible,
.community-mini-action:hover,
.community-mini-action:focus-visible,
.community-friend-button:hover,
.community-friend-button:focus-visible,
.community-compose-row .chat-compose-icon:hover,
.community-compose-row .chat-compose-icon:focus-visible,
.community-inbox-header .ghost-action:hover,
.community-inbox-header .ghost-action:focus-visible,
.community-attach-panel .chat-attach-action:hover,
.community-attach-panel .chat-attach-action:focus-visible,
.community-emote-picker button:hover,
.community-emote-picker button:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-primary) 38%, rgba(255, 255, 255, 0.18));
  background: color-mix(in srgb, var(--accent-soft) 38%, rgba(255, 255, 255, 0.08));
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}

.community-user-actions .secondary-action:active,
.community-profile-actions .primary-action:active,
.community-mini-action:active,
.community-friend-button:active,
.community-compose-row .chat-compose-icon:active,
.community-inbox-header .ghost-action:active,
.community-attach-panel .chat-attach-action:active,
.community-emote-picker button:active {
  transform: translateY(0) scale(0.98);
}

.reward-claim-button.is-loading {
  opacity: 0.74;
  cursor: progress;
}

.cursors-window-body {
  max-height: min(640px, calc(100vh - 170px));
  overflow: auto;
  padding-right: 18px;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: rgba(194, 255, 209, 0.44) rgba(255, 255, 255, 0.06);
}

.cursors-window-body::-webkit-scrollbar {
  width: 10px;
}

.cursors-window-body::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.cursors-window-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(200, 255, 213, 0.58), rgba(115, 215, 159, 0.42));
  border: 2px solid rgba(15, 28, 24, 0.18);
}

.cursor-inventory-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cursor-choice {
  text-align: left;
  min-height: 0;
}

.cursor-choice.is-locked {
  opacity: 0.5;
}

.cursor-choice.is-locked .cursor-action-button {
  opacity: 1;
}

.cursor-card-topline,
.cursor-choice-actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cursor-state-pill,
.cursor-token-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
  font-weight: 600;
}

.cursor-token-pill {
  color: #ffe78e;
}

.cursor-preview {
  display: grid;
  place-items: center;
  min-height: 110px;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
  width: 100%;
  border: 0;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, background-color 180ms ease;
}

.inventory-preview.cursor-preview {
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: transparent !important;
  box-shadow: none !important;
}

.cursor-preview-media,
.cursor-preview-bubble {
  display: grid;
  place-items: center;
  width: 86px;
  min-height: 86px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.cursor-preview img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  image-rendering: auto;
  background: transparent;
  box-shadow: none;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), filter 180ms ease;
}

.cursor-preview-bubble .cursor-face {
  width: 46px;
  height: 46px;
}

.inventory-item.cursor-choice:hover .cursor-preview,
.shop-item:hover .cursor-preview {
  transform: translateY(-2px) scale(1.03);
}

.inventory-item.cursor-choice:hover .cursor-preview img,
.shop-item:hover .cursor-preview img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.cursor-choice .inventory-copy {
  width: 100%;
}

.cursor-action-button {
  width: 100%;
  justify-content: center;
}

.members-roles-body {
  max-height: min(620px, calc(100vh - 160px));
  overflow: auto;
  padding-right: 18px;
  align-content: start;
}

.leaderboards-window {
  width: min(960px, calc(100vw - 36px));
}

.leaderboards-window-body {
  max-height: min(680px, calc(100vh - 150px));
  overflow: auto;
  padding-right: 18px;
  gap: 16px;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 255, 227, 0.42) rgba(255, 255, 255, 0.06);
}

.leaderboards-window-body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.leaderboards-window-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.leaderboards-window-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(181, 255, 206, 0.55), rgba(112, 219, 255, 0.48));
  border-radius: 999px;
  border: 2px solid rgba(8, 17, 23, 0.18);
}

.leaderboards-tabs {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 10px;
  justify-content: start;
}

.leaderboard-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.leaderboard-tab-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.leaderboards-panel {
  display: grid;
  gap: 12px;
}

.leaderboards-list {
  display: grid;
  gap: 10px;
}

.leaderboard-entry {
  display: grid;
  grid-template-columns: auto 50px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease, box-shadow 220ms ease, background-color 180ms ease;
}

.leaderboard-rank {
  min-width: 50px;
  min-height: 40px;
  padding: 0 12px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(213, 255, 140, 0.95), rgba(89, 217, 79, 0.85));
  color: #183216;
  font-weight: 700;
}

.leaderboard-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 50% 34%, #f4d2c3 0 20%, transparent 21%),
    radial-gradient(circle at 39% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 61% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 50% 45%, #dbad97 0 7%, transparent 8%),
    radial-gradient(circle at 50% 82%, #26323d 0 44%, transparent 45%),
    linear-gradient(180deg, #5f3a26 0 26%, #d8b2a1 27% 68%, #25303b 69% 100%);
  background-size: cover;
  background-position: center;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, border-color 180ms ease;
}

.leaderboard-copy {
  display: grid;
  gap: 4px;
  justify-items: start;
  text-align: left;
}

.leaderboard-profile-button {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.leaderboard-profile-button .level-badge {
  margin-left: 2px;
}

.leaderboard-profile-button:hover,
.leaderboard-profile-button:focus-visible {
  text-decoration: underline;
}

.leaderboard-copy span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

.leaderboard-score {
  font-size: 1rem;
  font-weight: 700;
  color: #d5ff8c;
}

.leaderboard-entry:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: color-mix(in srgb, var(--accent-primary) 24%, rgba(255, 255, 255, 0.12));
  background: color-mix(in srgb, var(--accent-soft) 26%, rgba(255, 255, 255, 0.08));
  box-shadow: 0 24px 32px rgba(0, 0, 0, 0.15);
}

.leaderboard-entry:hover .leaderboard-avatar {
  transform: scale(1.06);
  border-color: color-mix(in srgb, var(--accent-primary) 52%, rgba(255, 255, 255, 0.82));
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.leaderboard-score.is-censored {
  color: rgba(255, 255, 255, 0.58);
  font-style: italic;
}

.members-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.members-search-input,
.members-token-input,
.members-role-select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(12, 21, 27, 0.32);
  color: #ffffff;
  padding: 12px 14px;
  outline: none;
}

.members-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.members-results-count {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
}

.members-table-scroller {
  overflow: auto;
  border-radius: 18px;
  background: rgba(8, 17, 23, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.members-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.members-table th,
.members-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: middle;
}

.members-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.64);
}

.members-user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.members-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 50% 34%, #f4d2c3 0 20%, transparent 21%),
    radial-gradient(circle at 39% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 61% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 50% 45%, #dbad97 0 7%, transparent 8%),
    radial-gradient(circle at 50% 82%, #26323d 0 44%, transparent 45%),
    linear-gradient(180deg, #5f3a26 0 26%, #d8b2a1 27% 68%, #25303b 69% 100%);
  background-size: cover;
  background-position: center;
}

.members-user-copy {
  display: grid;
  gap: 2px;
}

.members-user-copy span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

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

.members-save-button,
.members-ban-button {
  min-height: 40px;
  white-space: nowrap;
}

.members-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(139, 255, 188, 0.12);
  border: 1px solid rgba(139, 255, 188, 0.18);
  color: #dfffe7;
  font-size: 0.82rem;
}

.members-status-pill.is-banned {
  background: rgba(255, 132, 132, 0.14);
  border-color: rgba(255, 132, 132, 0.2);
  color: #ffd7d7;
}

.members-empty {
  color: rgba(255, 255, 255, 0.7);
}

.image-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 16, 0.42);
  backdrop-filter: blur(16px) brightness(0.76);
  -webkit-backdrop-filter: blur(16px) brightness(0.76);
}

.image-modal {
  position: relative;
  width: min(1120px, calc(100vw - 40px));
  max-height: calc(100vh - 60px);
  overflow: hidden;
  border-radius: 28px;
  z-index: 1;
}

.image-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.image-modal-body {
  display: grid;
  place-items: center;
  padding: 20px;
  max-height: calc(100vh - 130px);
}

.image-modal-image {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.member-profile-form,
.member-profile-form-grid {
  display: grid;
  gap: 12px;
}

.member-profile-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@keyframes like-bounce {
  0% { transform: scale(1); }
  35% { transform: scale(1.18); }
  65% { transform: scale(0.94); }
  100% { transform: scale(1); }
}

.confirm-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 41;
  display: grid;
  place-items: center;
}

.confirm-modal {
  position: relative;
  width: min(480px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 28px;
  z-index: 1;
}

.confirm-modal-body {
  display: grid;
  gap: 18px;
  padding: 22px 20px 20px;
}

.confirm-modal-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.6;
}

.confirm-modal-checkbox {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  z-index: 10320;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.desktop-body .cookie-consent {
  bottom: calc(var(--taskbar-height) + 18px);
}

.cookie-consent-panel {
  display: grid;
  gap: 14px;
  width: min(760px, 100%);
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(30, 43, 51, 0.94), rgba(14, 20, 24, 0.92));
  border: 1px solid rgba(201, 255, 114, 0.2);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: auto;
}

.cookie-consent-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.cookie-consent-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #16311b;
  background: linear-gradient(135deg, #c9ff72, #7cffc2);
  box-shadow: 0 14px 34px rgba(124, 255, 194, 0.18);
}

.cookie-consent-head strong {
  display: block;
  color: #ffffff;
  font-size: 1.02rem;
}

.cookie-consent-head p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-consent-options {
  display: grid;
  gap: 8px;
}

.cookie-consent-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.cookie-consent-option input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #9cff72;
}

.cookie-consent-option span {
  display: grid;
  gap: 2px;
}

.cookie-consent-option b {
  font-size: 0.9rem;
}

.cookie-consent-option small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  line-height: 1.4;
}

.cookie-consent-option.is-locked {
  opacity: 0.78;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cookie-consent-actions button {
  min-height: 40px;
}

.cookie-settings-button {
  position: fixed;
  left: 18px;
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  z-index: 10310;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #16311b;
  background: linear-gradient(135deg, #c9ff72, #7cffc2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.desktop-body .cookie-settings-button {
  bottom: calc(var(--taskbar-height) + 18px);
}

.cookie-settings-button:hover,
.cookie-settings-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(124, 255, 194, 0.22);
}

@media (max-width: 640px) {
  .cookie-consent {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
  }

  .desktop-body .cookie-consent {
    bottom: calc(var(--taskbar-mobile-height) + 10px);
  }

  .cookie-consent-panel {
    max-height: min(78dvh, 620px);
    overflow: auto;
    padding: 14px;
  }

  .cookie-consent-head {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .cookie-consent-icon {
    width: 38px;
    height: 38px;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions button {
    width: 100%;
  }

  .cookie-settings-button {
    left: 10px;
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
  }

  .desktop-body .cookie-settings-button {
    bottom: calc(var(--taskbar-mobile-height) + 10px);
  }
}

.confirm-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.auth-window-body,
.chat-window-body,
.chat-log,
.members-roles-body,
.members-table-scroller,
.chat-input {
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 255, 227, 0.42) rgba(255, 255, 255, 0.06);
}

.auth-window-body::-webkit-scrollbar,
.chat-window-body::-webkit-scrollbar,
.chat-log::-webkit-scrollbar,
.members-roles-body::-webkit-scrollbar,
.members-table-scroller::-webkit-scrollbar,
.chat-input::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.auth-window-body::-webkit-scrollbar-track,
.chat-window-body::-webkit-scrollbar-track,
.chat-log::-webkit-scrollbar-track,
.members-roles-body::-webkit-scrollbar-track,
.members-table-scroller::-webkit-scrollbar-track,
.chat-input::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.auth-window-body::-webkit-scrollbar-thumb,
.chat-window-body::-webkit-scrollbar-thumb,
.chat-log::-webkit-scrollbar-thumb,
.members-roles-body::-webkit-scrollbar-thumb,
.members-table-scroller::-webkit-scrollbar-thumb,
.chat-input::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(181, 255, 206, 0.55), rgba(112, 219, 255, 0.48));
  border-radius: 999px;
  border: 2px solid rgba(8, 17, 23, 0.18);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #7bd6ff;
}

.pane-block h2,
.inventory-header h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

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

.stack-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(12, 21, 27, 0.32);
  color: #ffffff;
  padding: 14px 16px;
  outline: none;
}

.compact-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.stack-form input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.upload-field {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.color-field {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.color-field input[type="color"] {
  min-height: 44px;
  padding: 6px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 600;
  padding: 0 14px;
  text-align: center;
  line-height: 1.1;
  transition: transform 140ms ease, filter 160ms ease, background 160ms ease, border-color 160ms ease;
}

.primary-action {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-primary) 88%, white), color-mix(in srgb, var(--accent-secondary) 82%, transparent));
  color: var(--accent-contrast);
  box-shadow: 0 16px 28px var(--accent-glow);
}

.secondary-action {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  padding: 0 14px;
  text-align: center;
  line-height: 1.1;
  transition: transform 140ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.secondary-action:hover,
.ghost-action:hover {
  border-color: color-mix(in srgb, var(--accent-primary) 28%, rgba(255, 255, 255, 0.18));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.primary-action:hover,
.secondary-action:hover,
.ghost-action:hover,
.chat-compose-icon:hover,
.taskbar-app:hover,
.auth-tab:hover,
.start-menu-theme-option:hover,
.analytics-sale-item:hover,
.analytics-pie-legend-item:hover {
  transform: translateY(-2px);
}

.primary-action:active,
.secondary-action:active,
.ghost-action:active,
.chat-compose-icon:active,
.taskbar-app:active,
.projects-game-card:active,
.desktop-icon:active {
  transform: scale(0.98);
}

.achievement-card.is-locked {
  opacity: 0.5;
}

.links-window {
  width: min(1040px, calc(100vw - 72px));
}

.links-window-body {
  display: grid;
  gap: 14px;
  max-height: min(700px, calc(100vh - 150px));
  overflow: auto;
  padding-right: 18px;
}

.links-create-form {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 10px;
}

.links-create-form > * {
  min-width: 0;
  width: 100%;
}

.links-table-wrap {
  overflow: auto;
}

.links-table {
  width: 100%;
  border-collapse: collapse;
}

.links-table th,
.links-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.links-table code,
.links-target-copy {
  color: rgba(255, 255, 255, 0.78);
  word-break: break-all;
}

.site-notification {
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.site-notification-icon,
.site-levelup-ring {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.site-notification-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-notification-copy {
  display: grid;
  gap: 4px;
}

.site-notification-copy em {
  font-style: normal;
  color: #d8ff92;
  font-size: 0.8rem;
}

.site-notification-copy small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  line-height: 1.25;
  font-weight: 800;
}

.site-levelup-ring {
  border-radius: 999px;
  position: relative;
  color: #ffffff;
  font-weight: 700;
}

.site-levelup-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  background: rgba(6, 14, 20, 0.92);
}

.friend-chat-dock {
  position: fixed;
  right: 18px;
  bottom: calc(var(--taskbar-height) + 14px);
  z-index: 88;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.landing-body .friend-chat-dock {
  left: 18px;
  right: auto;
  bottom: 18px;
  z-index: 88;
}

.desktop:has(#community-window:not([aria-hidden="true"])) .friend-chat-dock .friend-dock-button,
.desktop:has(#chat-window:not([aria-hidden="true"])) .friend-chat-dock .friend-dock-button,
.landing-chat-page ~ .friend-chat-dock .friend-dock-button {
  opacity: 0;
  pointer-events: none;
}

.friend-dock-button,
.friend-dock-dismiss,
.friend-dock-menu,
.friend-chat-popout,
.friend-mobile-chat-modal {
  pointer-events: auto;
}

.friend-dock-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  font-weight: 900;
}

.friend-dock-dismiss {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1.1rem;
  font-weight: 950;
  cursor: pointer;
}

.friend-dock-dismiss:hover,
.friend-dock-dismiss:focus-visible {
  color: #ffffff;
  background: rgba(238, 64, 86, 0.72);
}

.friend-dock-menu {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: 280px;
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
}

.landing-body .friend-dock-menu {
  left: 0;
  right: auto;
}

.friend-dock-menu header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.friend-dock-list {
  display: grid;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
}

.friend-dock-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.friend-dock-item em {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.friend-dock-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12) center / cover no-repeat;
  border: 2px solid rgba(255, 255, 255, 0.68);
}

.friend-chat-windows {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.friend-chat-popout {
  width: 290px;
  overflow: hidden;
  border-radius: 16px;
}

.friend-chat-popout header {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
  padding: 9px;
  background: rgba(255, 255, 255, 0.08);
}

.friend-chat-popout header button {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.friend-chat-popout header .friend-chat-profile-link {
  width: auto;
  height: auto;
  min-width: 0;
  justify-self: start;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-weight: 900;
  text-align: left;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-chat-popout header .friend-chat-profile-link:hover,
.friend-chat-popout header .friend-chat-profile-link:focus-visible {
  text-decoration: underline;
}

.friend-chat-log {
  display: grid;
  gap: 6px;
  max-height: 260px;
  min-height: 180px;
  overflow-y: auto;
  padding: 10px;
}

.friend-chat-actions {
  padding: 8px 10px 0;
}

.friend-chat-open-community {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(207, 214, 224, 0.78);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
}

.friend-chat-message {
  margin: 0;
  width: fit-content;
  max-width: 86%;
  padding: 8px 10px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.88rem;
  font-weight: 700;
}

.friend-chat-message p {
  margin: 0;
}

.friend-chat-message.is-self {
  justify-self: end;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.16);
}

.friend-chat-message .community-message-attachment {
  margin-top: 6px;
}

.friend-chat-follow {
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  margin-top: 5px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.friend-chat-follow:hover,
.friend-chat-follow:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.chat-private-follow {
  width: min(220px, 100%);
  margin: 10px auto 0;
}

.friend-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  padding: 9px;
}

.follow-status-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  padding: 18px;
}

.follow-status-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 7, 11, 0.62);
  backdrop-filter: blur(5px);
}

.follow-status-card {
  position: relative;
  width: min(390px, calc(100vw - 32px));
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 30px 24px 22px;
  text-align: center;
  border-radius: 8px;
}

.follow-status-card > i {
  font-size: 2.1rem;
  color: #ffca52;
}

.follow-status-card h2,
.follow-status-card p {
  margin: 0;
}

.follow-status-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.follow-status-card .primary-action {
  min-width: 130px;
  min-height: 42px;
}

.follow-status-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.friend-chat-form input {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: #fff;
  background: rgba(6, 10, 14, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font: inherit;
}

.friend-chat-form button {
  border-radius: 12px;
  color: var(--accent-contrast);
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.friend-mobile-chat-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  padding: 14px;
}

.friend-mobile-chat-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(1, 4, 8, 0.72);
}

.friend-mobile-chat-card {
  position: relative;
  width: min(100%, 460px);
  height: min(84vh, 720px);
  margin: auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 18px;
}

.friend-mobile-chat-card header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.friend-mobile-chat-card header button {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.friend-mobile-chat-card .friend-chat-profile-link {
  min-width: 0;
  color: inherit;
  font-weight: 950;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-mobile-chat-card .friend-chat-log {
  max-height: none;
  min-height: 0;
}

.site-levelup-ring span {
  position: relative;
  z-index: 1;
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 50% 34%, #f4d2c3 0 20%, transparent 21%),
    radial-gradient(circle at 39% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 61% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 50% 45%, #dbad97 0 7%, transparent 8%),
    radial-gradient(circle at 50% 82%, #26323d 0 44%, transparent 45%),
    linear-gradient(180deg, #5f3a26 0 26%, #d8b2a1 27% 68%, #25303b 69% 100%);
  background-size: cover;
  background-position: center;
}

.profile-name,
.profile-meta {
  margin: 0;
}

.profile-name {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-meta,
.inventory-caption {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
}

.community-privacy-row {
  margin-top: 2px;
}

.community-featured-achievements {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.member-level-ring {
  --level-progress: 0deg;
  width: 74px;
  height: 74px;
  margin-left: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 6px;
  background:
    conic-gradient(from -90deg, #9cff72 0deg, #74dcff var(--level-progress), rgba(255, 255, 255, 0.08) var(--level-progress), rgba(255, 255, 255, 0.08) 360deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.member-level-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  gap: 1px;
  background: rgba(10, 18, 25, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.member-level-ring-value {
  font-size: 1.15rem;
  line-height: 1;
}

.member-level-ring-label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.inventory-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

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

.color-inventory-list,
.shop-cursor-list,
.shop-color-list,
.shop-emote-list,
.token-shop-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.token-shop-list.shop-cursor-list {
  grid-template-columns: 1fr;
}

.token-shop-list.shop-supplies-list {
  grid-template-columns: 1fr;
}

.token-shop-group {
  display: grid;
  gap: 12px;
}

.token-shop-group h3 {
  margin: 10px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.token-shop-group:first-child h3 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.token-shop-group-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.inventory-item {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
  width: 100%;
  min-height: 154px;
  padding: 14px;
  border-radius: 18px;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease, box-shadow 220ms ease, background-color 180ms ease;
}

.inventory-item.is-selected {
  border-color: rgba(152, 255, 172, 0.58);
  box-shadow: 0 0 0 1px rgba(152, 255, 172, 0.26) inset;
}

.color-item,
.shop-item {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 154px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease, box-shadow 220ms ease, background-color 180ms ease;
}

.inventory-item:hover,
.shop-item:hover,
.color-item:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: color-mix(in srgb, var(--accent-primary) 26%, rgba(255, 255, 255, 0.12));
  background: color-mix(in srgb, var(--accent-soft) 28%, rgba(255, 255, 255, 0.08));
  box-shadow: 0 22px 30px rgba(0, 0, 0, 0.14);
}

.custom-spray-picker {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}

.custom-spray-picker input[type="color"] {
  width: 44px;
  height: 40px;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  cursor: pointer;
}

.custom-spray-picker input[type="text"] {
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(7, 12, 18, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
}

.custom-spray-open {
  justify-self: start;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(156, 255, 114, 0.28);
  color: #c7ff76;
  background: rgba(156, 255, 114, 0.08);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.custom-spray-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  place-items: center;
  padding: 20px;
}

.bundle-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 10018;
  display: grid;
  place-items: center;
  padding: 20px;
}

.bundle-detail-modal.is-hidden {
  display: none;
}

.bundle-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(14px);
}

.bundle-detail-card {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100dvh - 34px);
  overflow: auto;
  padding: 22px;
  border-radius: 26px;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.56), 0 0 70px rgba(118, 255, 177, 0.14);
}

.bundle-detail-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
}

.bundle-detail-content {
  display: grid;
  gap: 20px;
}

.bundle-detail-hero {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: center;
}

.bundle-detail-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(156, 255, 114, 0.16), rgba(75, 219, 255, 0.1));
}

.bundle-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bundle-detail-copy {
  display: grid;
  gap: 12px;
  padding-right: 34px;
}

.bundle-detail-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.96;
}

.bundle-detail-copy p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 800;
}

.bundle-detail-price {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bundle-detail-price span {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.bundle-detail-price small {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bundle-detail-price strong,
.bundle-detail-price b {
  color: #9cff72;
  font-size: 1.35rem;
}

.bundle-detail-price del {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 900;
}

.bundle-detail-items h3 {
  margin: 0 0 10px;
}

.bundle-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}

.bundle-detail-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bundle-detail-item-preview {
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.bundle-detail-item-preview img {
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
  image-rendering: pixelated;
}

.bundle-detail-item b,
.bundle-detail-item small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bundle-detail-item small {
  color: var(--text-muted);
  font-weight: 800;
}

.shop-item[data-shop-item-detail],
.landing-shop-item[data-shop-item-detail],
.landing-shop-carousel-card[data-shop-item-detail] {
  cursor: pointer;
}

.shop-item-detail-card {
  width: min(760px, 100%);
}

.shop-item-detail-hero {
  grid-template-columns: 184px minmax(0, 1fr);
  align-items: start;
}

.shop-item-detail-thumb {
  aspect-ratio: 1;
  border-radius: 8px;
}

.shop-item-detail-thumb img {
  width: min(136px, 80%);
  height: min(136px, 80%);
  object-fit: contain;
  image-rendering: pixelated;
}

.shop-item-detail-thumb .shop-vip-label {
  position: absolute;
  top: 8px;
  right: 8px;
}

.shop-detail-color {
  width: 100%;
  height: 100%;
}

.shop-item-detail-price {
  display: inline-grid;
  gap: 3px;
  width: max-content;
  min-width: 120px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.shop-item-detail-price small {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-item-detail-price strong {
  color: #9cff72;
  font-size: 1.35rem;
}

.shop-item-detail-info {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.shop-item-detail-info h3 {
  margin: 0;
}

.shop-item-detail-info ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-weight: 800;
}

.shop-item-detail-info li::marker {
  color: #9cff72;
}

.shop-exact-color,
.custom-spray-color-readout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.shop-exact-color > span,
.custom-spray-color-readout > span {
  display: block;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--item-color, var(--spray-color, #9cff72));
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.shop-exact-color div {
  display: grid;
  gap: 2px;
}

.shop-exact-color small {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-exact-color b,
.custom-spray-color-readout b {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.shop-heart-progress {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.shop-heart-progress header {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-level-pill {
  padding: 7px 10px;
  border-radius: 8px;
  background: #9cff72;
  color: #07120d;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.shop-current-hearts {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
}

.shop-current-hearts img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  image-rendering: pixelated;
}

.shop-current-hearts img.is-cap-unlocked {
  opacity: 0.22;
}

.shop-current-hearts b {
  margin-left: 7px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.shop-heart-progress h3 {
  margin: 4px 0 0;
  font-size: 0.92rem;
}

.shop-detail-table {
  display: grid;
  gap: 5px;
}

.shop-detail-table > div {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: rgba(0, 0, 0, 0.16);
}

.shop-detail-table > div.is-current {
  border-color: rgba(156, 255, 114, 0.55);
  background: rgba(156, 255, 114, 0.12);
}

.shop-detail-table > div.is-owned {
  opacity: 0.55;
}

.shop-detail-table strong {
  font-size: 0.8rem;
}

.shop-detail-table span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.shop-detail-table img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  image-rendering: pixelated;
}

.shop-detail-table small {
  margin-left: 5px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.shop-heart-price-table > div {
  grid-template-columns: minmax(0, 1fr) 164px;
}

.shop-heart-price-table > div.is-current strong {
  color: #9cff72;
}

.custom-spray-modal.is-hidden {
  display: none;
}

.custom-spray-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(14px);
}

.custom-spray-card {
  position: relative;
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border-radius: 26px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.5), 0 0 60px color-mix(in srgb, var(--spray-tint, #9cff72) 24%, transparent);
}

.custom-spray-close {
  position: absolute;
  right: 14px;
  top: 14px;
}

.custom-spray-preview {
  grid-row: span 3;
  min-height: 230px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--spray-tint, #9cff72) 22%, transparent), transparent 62%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.custom-spray-preview img {
  width: 118px;
  opacity: 0.25;
  filter: grayscale(1) brightness(1.35) contrast(1.08);
  image-rendering: pixelated;
}

.custom-spray-preview::after {
  content: "";
  position: absolute;
  width: 118px;
  height: 118px;
  background: var(--spray-tint, #9cff72);
  -webkit-mask: url("assets/playful/spraypaint white.png") center / contain no-repeat;
  mask: url("assets/playful/spraypaint white.png") center / contain no-repeat;
  filter: saturate(1.16) drop-shadow(0 0 18px color-mix(in srgb, var(--spray-tint, #9cff72) 62%, transparent));
  pointer-events: none;
}

.custom-spray-copy h2 {
  margin: 2px 0 6px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.custom-spray-color-readout {
  margin-top: 12px;
}

.custom-spray-color-readout > span {
  --item-color: var(--spray-color);
}

.custom-spray-controls {
  display: grid;
  gap: 12px;
}

.custom-spray-spectrum {
  height: 118px;
  border-radius: 18px;
  cursor: crosshair;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.58), rgba(255,255,255,0), rgba(0,0,0,0.52)),
    linear-gradient(90deg, #ff3b3b, #ffd541, #59c135, #249fde, #8c5cff, #ff55d5, #ff3b3b);
}

.custom-spray-controls label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}

.custom-spray-controls input {
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(7, 12, 18, 0.72);
  padding: 0 14px;
  font: inherit;
  font-weight: 1000;
  text-transform: uppercase;
}

.custom-spray-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.custom-spray-swatches button {
  width: 34px;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  background: var(--swatch);
  cursor: pointer;
}

.custom-spray-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.shop-bundle-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.shop-bundle-card {
  position: relative;
}

.shop-bundle-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(156, 255, 114, 0.16), rgba(75, 219, 255, 0.1));
}

.store-item-preview-bundle {
  width: 120px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-weight: 1000;
}

.shop-bundle-thumb img,
.store-item-preview-bundle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-bundle-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.shop-bundle-mini-list span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 160px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.shop-bundle-mini-list img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  image-rendering: pixelated;
}

.shop-bundle-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.shop-bundle-price del,
.landing-shop-item del {
  color: rgba(255, 255, 255, 0.48);
}

.shop-bundle-price strong,
.landing-shop-item b {
  color: #9cff72;
}

.bundle-builder {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bundle-builder-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.bundle-builder-head div {
  display: grid;
  gap: 3px;
}

.bundle-builder-head span {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bundle-builder-head strong {
  color: #9cff72;
  font-size: 1.6rem;
}

.bundle-builder-head b {
  color: #66f5ff;
}

.bundle-builder-group {
  display: grid;
  gap: 8px;
}

.bundle-builder-group h4 {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.bundle-builder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 8px;
}

.bundle-builder-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  cursor: pointer;
}

.bundle-builder-item.is-selected {
  border-color: rgba(156, 255, 114, 0.62);
  background: rgba(156, 255, 114, 0.14);
  box-shadow: 0 0 22px rgba(156, 255, 114, 0.12);
}

.bundle-builder-preview,
.bundle-builder-color {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.bundle-builder-preview img {
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
  image-rendering: pixelated;
}

.bundle-builder-item b,
.bundle-builder-item small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bundle-builder-item small {
  color: var(--text-muted);
  font-weight: 800;
}

.color-item.is-selected {
  border-color: rgba(152, 255, 172, 0.58);
  box-shadow: 0 0 0 1px rgba(152, 255, 172, 0.26) inset;
}

.member-color-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.member-color-list .color-item {
  min-height: 0;
  gap: 8px;
  padding: 12px 10px 10px;
  justify-items: center;
  text-align: center;
  border-radius: 16px;
}

.member-color-list .inventory-copy {
  justify-items: center;
  gap: 1px;
}

.member-color-list .inventory-copy strong {
  font-size: 0.82rem;
  line-height: 1.15;
}

.member-color-list .inventory-copy span {
  font-size: 0.72rem;
}

.color-swatch-button {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 2px;
  border-radius: 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.color-swatch-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.member-color-list .color-preview {
  width: 50px;
  height: 50px;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.member-color-list .color-swatch-button:hover .color-preview,
.member-color-list .color-swatch-button:focus-visible .color-preview {
  transform: scale(1.06);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.member-color-list .color-item.is-selected .color-preview {
  box-shadow:
    0 0 0 3px rgba(152, 255, 172, 0.42),
    0 12px 24px rgba(0, 0, 0, 0.24);
}

.inventory-preview {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.92), transparent 26%),
    var(--preview-color, #ffffff);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, filter 180ms ease;
}

.color-preview {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.inventory-copy {
  display: grid;
  gap: 3px;
}

.inventory-copy strong {
  font-size: 0.9rem;
}

.inventory-copy span,
.inventory-empty {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
}

.shop-section + .shop-section {
  margin-top: 18px;
}

.shop-launch-grid {
  display: grid;
  gap: 12px;
}

.shop-section h3 {
  margin: 0 0 10px;
  font-size: 0.98rem;
}

.shop-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.token-shop-window-body,
.token-shop-panel {
  display: grid;
  gap: 14px;
}

.token-shop-window-body {
  max-height: min(640px, calc(100vh - 150px));
  overflow: auto;
  padding-right: 18px;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 255, 227, 0.42) rgba(255, 255, 255, 0.06);
}

.token-shop-window-body::-webkit-scrollbar {
  width: 12px;
}

.store-manage-body::-webkit-scrollbar {
  width: 12px;
}

.token-shop-window-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.store-manage-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.token-shop-window-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(181, 255, 206, 0.55), rgba(112, 219, 255, 0.48));
  border-radius: 999px;
  border: 2px solid rgba(8, 17, 23, 0.18);
}

.store-manage-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(181, 255, 206, 0.55), rgba(112, 219, 255, 0.48));
  border-radius: 999px;
  border: 2px solid rgba(8, 17, 23, 0.18);
}

.token-shop-window .token-shop-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.token-shop-window.is-fullscreen .token-shop-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.token-shop-window .token-shop-list.shop-cursor-list,
.token-shop-window.is-fullscreen .token-shop-list.shop-cursor-list,
.token-shop-window .token-shop-list.shop-favorites-list,
.token-shop-window.is-fullscreen .token-shop-list.shop-favorites-list,
.token-shop-window .token-shop-list.shop-supplies-list,
.token-shop-window.is-fullscreen .token-shop-list.shop-supplies-list {
  grid-template-columns: 1fr;
}

.token-shop-window .token-shop-group-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.token-shop-window.is-fullscreen .token-shop-group-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.token-shop-tabs {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 8px;
  justify-content: start;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  scrollbar-width: none;
}

.token-shop-tabs::-webkit-scrollbar {
  display: none;
}

.token-shop-tab {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.token-shop-tab .notification-badge {
  margin-left: 6px;
}

.coupon-channel-input {
  min-width: 150px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font: inherit;
  font-weight: 800;
}

.token-shop-tab:hover,
.token-shop-tab:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.token-shop-tab.is-active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.token-shop-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  min-height: 48px;
  padding: 0 16px 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 9, 12, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cursors-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  min-height: 48px;
  padding: 0 16px 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 9, 12, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cursors-search-input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.cursors-search-input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.cursors-search-icon {
  color: rgba(255, 255, 255, 0.72);
  justify-self: end;
  pointer-events: none;
}

.token-shop-search-input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.token-shop-search-input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.token-shop-search-icon {
  color: rgba(255, 255, 255, 0.72);
  justify-self: end;
  pointer-events: none;
}

.store-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.store-tag-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(201, 255, 114, 0.24);
  background: rgba(201, 255, 114, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 800;
}

.token-shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.token-shop-heading-copy {
  display: grid;
  gap: 6px;
}

.token-shop-title {
  margin: 0;
}

.token-shop-manage-button {
  flex: 0 0 auto;
}

.app-icons-window {
  width: min(980px, calc(100vw - 32px));
}

.billing-window {
  width: min(860px, calc(100vw - 32px));
}

.billing-window-body,
.billing-card {
  display: grid;
  gap: 16px;
}

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

.billing-card {
  align-content: start;
}

.billing-price {
  color: #d7ff9a;
  font-size: 2rem;
  line-height: 1;
}

.billing-slider-label {
  display: grid;
  gap: 10px;
}

.billing-token-slider {
  width: 100%;
  accent-color: var(--accent-primary);
}

.billing-provider-note code {
  color: #d7ff9a;
}

.app-icons-window-body {
  max-height: min(700px, calc(100vh - 150px));
  overflow: auto;
  padding-right: 18px;
  align-content: start;
}

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

.app-icon-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.app-icon-card-media {
  position: relative;
  min-height: 124px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(9, 17, 25, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-icon-card-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.app-icon-edit-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(8, 14, 19, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(4px) scale(0.92);
}

.app-icon-card-media:hover .app-icon-edit-button,
.app-icon-card-media:focus-within .app-icon-edit-button {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.app-icon-card-copy {
  display: grid;
  gap: 5px;
}

.app-icon-card-copy span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
}

.app-manager-field {
  display: grid;
  gap: 6px;
}

.app-manager-field span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-manager-label-input,
.app-manager-rank-select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
}

.app-manager-save-button {
  width: 100%;
}

.shop-emote-preview {
  display: grid;
  place-items: center;
  min-height: 74px;
  border-radius: 16px;
  background: rgba(12, 21, 27, 0.2);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, background-color 180ms ease;
}

.shop-emote-preview img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), filter 180ms ease;
}

.shop-item:hover .inventory-preview,
.shop-item:hover .shop-emote-preview,
.inventory-item:hover .inventory-preview {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.16);
}

.shop-item:hover .shop-emote-preview img,
.inventory-item:hover .inventory-preview img,
.shop-item:hover .inventory-preview img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.store-manage-panel,
.store-manage-list {
  display: grid;
  gap: 14px;
}

.store-manage-panel {
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.95fr);
  align-items: start;
}

.store-manage-editor {
  display: grid;
  gap: 14px;
}

.store-editor-card {
  display: grid;
  gap: 14px;
}

.store-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.store-editor-head strong {
  display: block;
  font-size: 1rem;
}

.store-editor-head span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.store-item-preview-cursor,
.store-item-preview-emote {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(8, 17, 24, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.store-item-preview-cursor .cursor-preview-media img,
.store-item-preview-emote img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.store-item-preview-emote img {
  image-rendering: pixelated;
}

.store-item-preview-color {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

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

.store-editor-grid label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

.store-editor-grid input,
.store-editor-grid select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(12, 21, 27, 0.32);
  color: #ffffff;
  padding: 14px 16px;
  outline: none;
}

.store-editor-grid input[type="color"] {
  min-height: 48px;
  padding: 6px;
}

.store-editor-grid input[type="file"] {
  padding: 12px;
}

.store-editor-wide {
  grid-column: 1 / -1;
}

.store-editor-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.store-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.store-summary-card {
  min-height: 0;
}

.store-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.store-summary-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.store-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(122, 255, 154, 0.18);
  border: 1px solid rgba(122, 255, 154, 0.28);
  color: rgba(221, 255, 226, 0.92);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.store-status-pill.is-hidden-status {
  background: rgba(255, 210, 110, 0.16);
  border-color: rgba(255, 210, 110, 0.24);
  color: rgba(255, 233, 183, 0.94);
}

.store-create-card {
  place-items: start;
}

.store-create-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.4rem;
  font-weight: 600;
}

.logout-button {
  margin-top: 2px;
}

.admin-user-results {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  max-height: 280px;
  overflow: auto;
}

.admin-user-card {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-user-card p {
  margin: 4px 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
}

.admin-user-card strong {
  display: block;
  font-size: 1rem;
}

.panel-message {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 0.86rem;
  color: rgba(203, 255, 215, 0.92);
}

.panel-message.is-error {
  color: #ffd2d2;
}

.site-notifications {
  position: fixed;
  right: 18px;
  bottom: calc(var(--taskbar-height) + 18px);
  z-index: 95;
  display: grid;
  gap: 10px;
  width: min(320px, calc(100vw - 24px));
  pointer-events: none;
}

.site-notification {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(32, 44, 53, 0.78), rgba(15, 19, 22, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translate(16px, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: auto;
}

.site-notification.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.site-notification.is-clickable {
  cursor: pointer;
}

.site-notification.is-clickable:hover {
  transform: translate(-2px, -2px);
  border-color: rgba(201, 255, 165, 0.28);
}

.site-notification strong {
  font-size: 0.94rem;
}

.site-notification span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
  line-height: 1.4;
}

.taskbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--taskbar-height);
  z-index: 10080;
}

.taskbar-surface {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.08)),
    url("assets/Taskbar.png") center center / cover no-repeat;
  border-top: 1px solid rgba(64, 255, 114, 0.25);
  opacity: 0.76;
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

.start-button {
  position: absolute;
  left: 10px;
  bottom: 6px;
  width: 72px;
  height: 72px;
  z-index: 2;
  display: grid;
  place-items: center;
}

.start-button img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.32));
}

.taskbar-apps {
  position: absolute;
  left: 96px;
  right: 180px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0;
  z-index: 2;
}

.taskbar-app {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 140ms ease, background 160ms ease, border-color 160ms ease;
}

.taskbar-app-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
}

.taskbar-app.is-active {
  background: color-mix(in srgb, var(--accent-soft) 62%, rgba(255, 255, 255, 0.08));
  border-color: var(--accent-border);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
}

.taskbar-status {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.72);
}

.taskbar-sound-toggle {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: transform 140ms ease, background 160ms ease, border-color 160ms ease;
}

.taskbar-sound-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--accent-border);
}

.taskbar-sound-toggle.is-on {
  background: color-mix(in srgb, var(--accent-soft) 64%, rgba(255, 255, 255, 0.08));
  color: var(--accent-primary);
}

.follow-overlay {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 10220;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 12, 17, 0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
}

.follow-overlay i {
  color: var(--accent-primary);
}

.follow-overlay span {
  font-size: 0.8rem;
  font-weight: 600;
}

.follow-overlay button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.follow-overlay.is-pulsing {
  animation: followOverlayPulse 1.2s ease;
}

@keyframes followOverlayPulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.18); }
  35% { border-color: var(--accent-primary); box-shadow: 0 0 0 2px var(--accent-soft), 0 14px 30px rgba(0, 0, 0, 0.26); }
}

.cursor-layer,
.site-fly-layer {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  pointer-events: none;
  contain: layout style paint;
}

.cursor-layer {
  z-index: 10150;
}

.site-fly-layer {
  position: absolute;
  inset: auto;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 10040;
}

.landing-body .cursor-layer,
.landing-body .cursor-layer {
  position: absolute;
  z-index: 10150;
}

.landing-body .site-fly-layer {
  position: absolute;
  z-index: 10040;
}

.site-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10160;
  display: grid;
  justify-items: center;
  gap: 6px;
  transition: opacity 120ms ease;
  will-change: transform, opacity;
  contain: layout style;
  transform: translate3d(-999px, -999px, 0);
}

.remote-cursor {
  transition: transform 120ms linear, opacity 120ms ease;
}

.site-cursor.is-dead {
  opacity: 0.5;
}

.site-cursor.is-hidden {
  opacity: 0;
}

.cursor-name {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(16, 24, 31, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.cursor-face {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 50% 34%, #f4d2c3 0 20%, transparent 21%),
    radial-gradient(circle at 39% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 61% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 50% 45%, #dbad97 0 7%, transparent 8%),
    radial-gradient(circle at 50% 82%, #26323d 0 44%, transparent 45%),
    linear-gradient(180deg, #5f3a26 0 26%, #d8b2a1 27% 68%, #25303b 69% 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.cursor-combat-hud {
  position: absolute;
  top: 44px;
  left: calc(50% + 30px);
  right: auto;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-3px);
  overflow: visible;
}

.cursor-combat-hud.is-pulsing {
  animation: cursorCombatHudPulse 4s ease forwards;
}

.cursor-health-hud .heart-healthbar {
  --heart-size: 17px;
}

.cursor-health-hud {
  display: block;
  width: max-content;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(5, 8, 10, 0.74);
  overflow: visible;
}

.cursor-health-hud .cursor-heart-healthbar {
  display: flex;
  width: fit-content;
  max-width: calc((var(--heart-size) * 8) + 14px);
}

.cursor-durability-hud {
  width: 112px;
  min-width: 112px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(5, 8, 10, 0.74);
  overflow: visible;
}

.cursor-durability-hud span {
  flex: 1 1 auto;
  min-width: 0;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.cursor-durability-hud i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffd452, #a6ff6b);
}

.cursor-durability-hud small {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.cursor-durability-hud.has-health-peek {
  width: max-content;
  min-width: 112px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
}

.cursor-durability-hud .sword-health-peek {
  --heart-size: 17px;
  grid-column: 1 / -1;
  display: flex;
  flex: none;
  height: auto;
  overflow: visible;
  border-radius: 0;
  background: none;
  margin-left: 0;
  max-width: calc((var(--heart-size) * 8) + 14px);
}

.cursor-durability-hud.has-health-peek .sword-durability-track {
  min-width: 96px;
}

@keyframes cursorCombatHudPulse {
  0% { opacity: 0; transform: translateY(-3px); }
  8%, 82% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-3px); }
}

.profile-health {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
}

.profile-health .heart-healthbar {
  --heart-size: 17px;
}

.shop-vip-label {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 2;
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 4px;
  color: #070707;
  background: #ffd541;
  font-size: 0.68rem;
  font-weight: 800;
}

.shop-stock-label {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 4px;
  color: #fff;
  background: #c62f3b;
  font-size: 0.68rem;
  font-weight: 800;
}

.token-shop-window .shop-heal-healthbar {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 4px auto 0;
  overflow: hidden;
}

.token-shop-window .shop-heal-healthbar .heart-healthbar {
  --heart-size: 12px;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1px;
  max-width: calc((var(--heart-size) * 8) + 7px);
  justify-content: center;
  align-content: center;
}

.token-shop-window .shop-heal-healthbar .heart-healthbar img {
  width: var(--heart-size);
  height: var(--heart-size);
  flex: 0 0 var(--heart-size);
  transform: none;
}

.token-shop-window .shop-heal-healthbar.is-few-hearts .heart-healthbar {
  --heart-size: 18px;
}

.token-shop-window .shop-heal-healthbar.is-medium-hearts .heart-healthbar {
  --heart-size: 15px;
}

.token-shop-window .shop-heal-healthbar.is-many-hearts .heart-healthbar {
  --heart-size: 12px;
}

.token-shop-window .inventory-preview.shop-heal-preview {
  width: 126px;
  height: 92px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  gap: 4px;
  overflow: hidden;
}

.inventory-preview.cursor-preview {
  position: relative;
}

.shop-item.is-fly-stock .inventory-preview.cursor-preview,
.shop-item.is-vip-item .inventory-preview.cursor-preview {
  width: 126px;
  height: 88px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.token-shop-window .inventory-preview.shop-heal-preview .cursor-preview-media img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.landing-shop-preview .shop-heal-healthbar {
  max-width: none;
}

.cursor-style-sprout .cursor-face:not(.has-image):not(.has-cursor-asset) {
  background:
    radial-gradient(circle at 50% 34%, #f4d2c3 0 20%, transparent 21%),
    radial-gradient(circle at 39% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 61% 34%, #3d281f 0 5%, transparent 6%),
    radial-gradient(circle at 50% 45%, #dbad97 0 7%, transparent 8%),
    radial-gradient(circle at 50% 82%, #26323d 0 44%, transparent 45%),
    linear-gradient(180deg, #5f3a26 0 26%, #d8b2a1 27% 68%, #25303b 69% 100%);
}

.cursor-face.has-cursor-asset {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  overflow: visible;
}

.cursor-style-orb .cursor-face.has-cursor-asset,
.cursor-style-nova .cursor-face.has-cursor-asset,
.cursor-style-crown .cursor-face.has-cursor-asset,
.cursor-style-prism .cursor-face.has-cursor-asset {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.cursor-face.has-cursor-asset::after {
  display: none;
}

.cursor-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  image-rendering: auto;
  background: transparent;
  mix-blend-mode: normal;
}

.cursor-face.has-image,
.start-menu-avatar.has-image,
.profile-avatar.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cursor-face::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -10px;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.9);
  clip-path: polygon(0 0, 0 100%, 100% 18%);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
}

.remote-cursor .cursor-name {
  background: rgba(28, 58, 26, 0.42);
}

.site-fly {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: auto;
  cursor: crosshair;
  transform: translate3d(-999px, -999px, 0);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  contain: layout style paint;
}

.site-fly img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  image-rendering: auto;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.28));
}

.site-fly:hover img {
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.35));
}

.site-fly.is-falling {
  pointer-events: none;
  animation: siteFlyFall 900ms cubic-bezier(0.18, 0.72, 0.38, 1) forwards;
}

@keyframes siteFlyFall {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--fall-x, 0), 112vh, 0) rotate(720deg) scale(0.72);
  }
}

.cursor-style-sprout .cursor-face {
  border-radius: 50%;
}

.cursor-style-orb .cursor-face {
  border-radius: 18px;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.92), transparent 22%),
    linear-gradient(180deg, #9cf4ff, #4cb6ff 54%, #296bff);
}

.cursor-style-orb .cursor-face::after {
  background: rgba(154, 236, 255, 0.92);
}

.cursor-style-nova .cursor-face {
  border-radius: 18px 18px 18px 6px;
  background:
    radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.92), transparent 18%),
    linear-gradient(180deg, #fff0a6, #ffb347 52%, #ff774d);
}

.cursor-style-nova .cursor-face::after {
  background: rgba(255, 231, 126, 0.96);
  clip-path: polygon(0 0, 0 100%, 100% 50%);
}

.cursor-style-crown .cursor-face {
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.92), transparent 18%),
    linear-gradient(180deg, #ffd86b, #ff9c2f 52%, #d65c1e);
}

.cursor-style-prism .cursor-face {
  border-radius: 14px;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.92), transparent 20%),
    linear-gradient(180deg, #ffb3ff, #8de3ff 46%, #58ff95);
}

@keyframes rotate-rays {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes boot-loading-fill {
  0% {
    transform: scaleX(0.04);
  }

  36% {
    transform: scaleX(0.42);
  }

  68% {
    transform: scaleX(0.78);
  }

  100% {
    transform: scaleX(1);
  }
}

@media (max-width: 900px) {
  .member-space-top-grid,
  .member-security-actions,
  .member-space-footer-actions {
    grid-template-columns: 1fr;
  }

  .projects-gallery-actions,
  .projects-gallery-cta {
    justify-content: flex-start;
  }

  .projects-games-panel .projects-section-head,
  .projects-gallery-panel .projects-section-head {
    grid-template-columns: 1fr;
  }

  .desktop-shortcuts {
    left: 18px;
    right: 18px;
    bottom: calc(var(--taskbar-mobile-height) + 20px);
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .color-inventory-list,
  .shop-cursor-list,
  .shop-color-list,
  .shop-emote-list,
  .token-shop-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .token-shop-list.shop-cursor-list,
  .token-shop-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-color-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .member-color-admin-grid {
    grid-template-columns: 1fr;
  }

  .store-editor-grid {
    grid-template-columns: 1fr;
  }

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

  .community-layout {
    grid-template-columns: 1fr;
  }

  .tickets-admin-layout,
  .tickets-user-layout,
  .ticket-reply-form {
    grid-template-columns: 1fr;
  }

  .tickets-filter-row {
    grid-template-columns: 1fr;
  }

  .ticket-detail-head {
    display: grid;
  }
}

@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .landing-page,
  .site-paint-layer,
  .site-paint-canvas,
  .cursor-layer,
  .site-fly-layer {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .playful-graffiti-wall {
    overflow-x: auto;
    max-width: 100vw;
  }

  .mobile-weapon-toggle {
    position: fixed;
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 10200;
    display: grid;
    place-items: center;
    gap: 3px;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    background: rgba(9, 14, 19, 0.84);
    touch-action: manipulation;
  }

  .mobile-weapon-toggle i,
  .mobile-weapon-toggle img {
    display: block;
    width: 27px;
    height: 27px;
    object-fit: contain;
    image-rendering: pixelated;
  }

  .mobile-weapon-toggle .mobile-sprout-avatar {
    width: 38px;
    height: 38px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    object-fit: cover;
    image-rendering: auto;
  }

  .mobile-weapon-toggle i {
    width: auto;
    height: auto;
    font-size: 1.12rem;
  }

  .mobile-weapon-toggle.is-armed {
    color: #0f1814;
    background: var(--accent-primary);
  }

  .mobile-weapon-toggle.is-heal {
    border-color: rgba(255, 211, 100, 0.52);
    background: rgba(24, 20, 11, 0.94);
  }

  .mobile-health-overlay {
    position: fixed;
    left: 50%;
    bottom: calc(86px + env(safe-area-inset-bottom));
    z-index: 10210;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #fff;
    background: rgba(7, 11, 15, 0.88);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
  }

  .mobile-health-overlay.is-visible {
    animation: mobileHealthPulse 4.2s ease forwards;
  }

  .mobile-health-overlay .heart-healthbar {
    --heart-size: 18px;
  }

  .mobile-health-overlay span {
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .mobile-heal-modal {
    position: fixed;
    inset: 0;
    z-index: 10300;
    display: grid;
    place-items: center;
    padding: 18px;
  }

  .mobile-heal-modal.is-hidden {
    display: none;
  }

  .mobile-heal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.7);
  }

  .mobile-heal-card {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 12px;
    width: min(310px, 100%);
    padding: 18px 16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #fff;
    background: #10161c;
  }

  .mobile-heal-close {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 30px;
    height: 30px;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 1.45rem;
    line-height: 1;
  }

  .mobile-heal-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    image-rendering: pixelated;
  }

  .mobile-heal-card h2 {
    margin: 0;
    font-size: 1.08rem;
  }

  .mobile-heal-health {
    display: block;
  }

  .mobile-heal-health .heart-healthbar {
    --heart-size: 21px;
    justify-content: center;
  }

  .mobile-heal-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 9px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.84rem;
    font-weight: 600;
  }

  .mobile-heal-confirm {
    width: 100%;
  }

  @keyframes mobileHealthPulse {
    0% { opacity: 0; transform: translate(-50%, 8px); }
    10%, 80% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 8px); }
  }

  .landing-nav {
    top: var(--hm-nav-offset, 12px);
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    width: auto;
    max-width: calc(100vw - 20px);
    min-height: 66px;
    padding: 10px;
    border-radius: 20px;
    transform: none;
  }

  .landing-brand {
    width: 146px;
    min-height: 48px;
    padding: 0;
    border-radius: 0;
  }

  .landing-brand img {
    width: 100%;
    height: 44px;
  }

  .landing-nav-actions {
    flex: 1;
    justify-content: flex-end;
  }

  .landing-user-hint {
    display: none;
  }

  .landing-nav-actions a,
  .landing-nav-actions button {
    min-height: 42px;
    padding: 0 11px;
    font-size: 0.88rem;
  }

  .landing-nav-actions a:not(.landing-nav-cta),
  .landing-nav-actions .landing-nav-login {
    display: none;
  }

  .landing-menu-toggle {
    display: inline-flex;
  }

  .landing-hero {
    min-height: 88vh;
    padding: 116px max(22px, env(safe-area-inset-left)) 92px max(22px, env(safe-area-inset-right));
    justify-items: center;
    text-align: center;
  }

  .landing-hero-copy {
    width: 100%;
    margin-inline: auto;
    display: grid;
    justify-items: center;
  }

  .landing-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .landing-hero h1 {
    width: auto;
    max-width: min(100%, 11ch);
    font-size: clamp(2.55rem, 16vw, 4.6rem);
    line-height: 0.94;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .landing-hero-copy > p:not(.landing-kicker) {
    width: 100%;
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-inline: auto;
  }

  .landing-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 22rem);
    justify-content: center;
  }

  .landing-primary,
  .landing-secondary {
    width: 100%;
    min-height: 56px;
  }

  .landing-members {
    width: auto;
    margin-top: 0;
    gap: 14px;
  }

  .landing-blog-row,
  .landing-perks-grid {
    grid-template-columns: 1fr;
  }

  .landing-community-cta,
  .landing-blog-preview .landing-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-perk-card.is-featured {
    transform: none;
  }

  .landing-section-heading {
    display: grid;
    gap: 0;
  }

  .landing-member-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .landing-member-card {
    min-height: 76px;
    padding: 10px;
    gap: 6px;
  }

  .landing-member-avatar {
    width: 42px;
    height: 42px;
  }

  .landing-member-card strong {
    font-size: 0.72rem;
  }

  .landing-member-card span {
    min-height: 22px;
    padding: 0 7px;
    font-size: 0.68rem;
  }

  .landing-strip {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    margin-top: 14px;
    padding-bottom: 0;
  }

  .landing-main-grid,
  .landing-achievements-page,
  .landing-projects-page {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .landing-main-grid {
    margin-inline: auto;
  }

  .landing-about {
    min-height: auto;
    padding: 22px;
  }

  .landing-footer {
    width: calc(100% - 24px);
    display: grid;
    text-align: center;
  }

  .wifi-network-page {
    width: calc(100% - 24px);
    margin-inline: auto;
  }

  .wifi-network-hero {
    min-height: 520px;
    width: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: end;
    gap: 14px;
    padding: 86px 22px 28px;
    text-align: center;
  }

  .wifi-network-hero::before {
    background:
      linear-gradient(180deg, rgba(5, 8, 12, 0.18), rgba(5, 8, 12, 0.92)),
      var(--wifi-banner, url("assets/Wallpaper.png")) center / cover no-repeat;
  }

  .wifi-network-avatar {
    width: 116px;
    height: 116px;
    order: 0;
  }

  .wifi-network-hero > div {
    order: 1;
    display: grid;
    justify-items: center;
    gap: 10px;
    width: 100%;
  }

  .wifi-network-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 13vw, 4.2rem);
    line-height: 0.92;
    overflow-wrap: anywhere;
  }

  .wifi-network-hero p:not(.landing-kicker) {
    max-width: 28rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
  }

  .wifi-network-hero .landing-primary,
  .wifi-network-hero .landing-secondary,
  .wifi-network-balance {
    width: min(100%, 21rem);
    justify-content: center;
  }

  .wifi-widget-board {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    grid-template-columns: none !important;
    grid-auto-rows: auto !important;
    grid-auto-flow: row !important;
    padding-inline: 0 !important;
  }

  .wifi-widget-board > [data-admin-widget],
  .wifi-widget-board > .wifi-widget-add-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
    grid-row: auto !important;
    grid-row-end: auto !important;
    transform: none !important;
    margin: 0 !important;
    align-self: stretch !important;
  }

  .wifi-widget-card {
    padding: 22px !important;
    overflow: visible !important;
  }

  .wifi-donation-widget {
    grid-template-columns: 56px minmax(0, 1fr) !important;
  }

  .wifi-donation-widget .landing-primary,
  .wifi-donation-widget .landing-secondary {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .playful-graffiti-wall {
    width: 100%;
    padding: 12px;
    overflow-x: auto;
  }

  .playful-graffiti-wall.is-profile-wall {
    width: calc(100% - 24px);
  }

  .playful-graffiti-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .playful-graffiti-surface {
    width: 1920px;
    min-height: 220px;
  }

  .playful-graffiti-wall.is-profile-wall .playful-graffiti-surface {
    width: 100%;
    min-width: 620px;
    min-height: 340px;
  }

  .playful-graffiti-cans {
    width: max-content;
    max-width: 100%;
  }

  .playful-graffiti-wall.is-profile-wall .playful-graffiti-cans {
    width: 100%;
  }

  .landing-token-shop-page {
    width: calc(100% - 24px);
    padding-top: 112px;
  }

  .landing-shop-hero-actions {
    justify-items: stretch;
    width: 100%;
  }

  .landing-token-wallet {
    width: 100%;
    min-width: 0;
  }

  .landing-shop-storefront-hero {
    min-height: 260px;
    background-size: cover, 150px, cover;
    background-position: center, right 18px bottom 24px, center;
  }

  .landing-shop-carousel-card {
    width: 168px;
  }

  .landing-shop-featured-shell {
    grid-template-columns: 1fr;
  }

  .landing-shop-featured-main {
    min-height: 220px;
  }

  .landing-shop-toolbar {
    grid-template-columns: 1fr;
  }

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

  .custom-spray-card {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 28px);
    overflow: auto;
  }

  .bundle-detail-hero,
  .bundle-detail-price {
    grid-template-columns: 1fr;
  }

  .bundle-detail-copy {
    padding-right: 0;
  }

  .custom-spray-preview {
    grid-row: auto;
    min-height: 170px;
  }

  .custom-spray-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-bundle-list {
    grid-template-columns: 1fr;
  }

  .landing-projects-page {
    padding: 112px 0 48px;
  }

  .landing-achievements-page {
    width: auto;
    margin-top: 0;
    padding: 112px 12px 48px;
  }

  .landing-achievements-hero,
  .achievements-controls {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .landing-achievements-hero h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .landing-achievements-hero p {
    max-width: 100%;
    margin-inline: auto;
  }

  .achievement-recent-head {
    display: grid;
    text-align: center;
  }

  .achievement-recent-grid {
    grid-template-columns: 1fr;
  }

  .achievement-recent-card {
    grid-template-columns: 58px minmax(0, 1fr);
    text-align: left;
  }

  .achievement-recent-icon {
    width: 58px;
    height: 58px;
  }

  .achievements-filter-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .achievements-filter-tabs button {
    flex: 1;
    min-width: 96px;
  }

  .achievements-public-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .achievement-public-card {
    border-radius: 12px;
  }

  .achievement-public-hover {
    display: none;
  }

  .achievement-detail-card {
    width: min(420px, 100%);
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 58px 18px 20px;
  }

  .achievement-detail-card img {
    width: 82px;
    height: 82px;
  }

  .achievement-detail-card > div {
    padding-right: 0;
  }

  .landing-blog-page {
    padding: 112px 12px 44px;
  }

  .landing-blog-page::before {
    height: 460px;
  }

  .blog-hero h1 {
    font-size: clamp(2.8rem, 18vw, 4.8rem);
  }

  .blog-hero.is-blog-post-hero h1 {
    font-size: clamp(1.85rem, 9vw, 3.2rem);
    white-space: normal;
  }

  .blog-post-toc {
    top: 90px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .blog-floating-like {
    right: 14px;
    bottom: 16px;
    min-width: 58px;
    min-height: 50px;
    padding: 0 13px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured-card a {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .blog-featured-thumb {
    min-height: 190px;
  }

  .blog-featured-copy {
    padding: 20px;
  }

  .blog-card a {
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .blog-admin-head,
  .blog-editor-actions,
  .blog-thumbnail-row,
  .blog-template-picker,
  .blog-post-meta,
  .blog-comments-head {
    display: grid;
    justify-content: stretch;
  }

  .blog-comment {
    margin-left: calc(var(--comment-depth, 0) * 14px);
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .blog-comment-avatar {
    width: 36px;
    height: 36px;
  }

  .blog-admin-create-button {
    right: 16px;
    top: 104px;
    width: 50px;
    height: 50px;
  }

  .blog-toolbar {
    gap: 6px;
  }

  .blog-toolbar select {
    width: 100%;
  }

  .blog-rich-editor {
    min-height: 360px;
    padding: 16px;
  }

  .projects-toc {
    position: relative;
    top: auto;
    display: flex;
    overflow-x: auto;
  }

  .projects-page-hero {
    grid-template-columns: 1fr;
  }

  .projects-page-card {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 14px;
  }

  .projects-page-card img {
    width: 56px;
    height: 56px;
  }

  .landing-strip article {
    min-height: 132px;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 8px 14px;
    padding: 16px;
  }

  .landing-strip img {
    grid-row: span 2;
    width: 52px;
    height: 52px;
  }

  body {
    overflow: auto;
  }

  .desktop {
    min-height: 100dvh;
    background-position: 34% center;
  }

  .desktop-only-app {
    display: none !important;
  }

  .tickets-window {
    width: calc(100vw - 18px);
    min-height: calc(100vh - 92px);
  }

  .chat-window {
    width: calc(100vw - 18px);
  }

  .chat-window-body,
  .chat-window.is-fullscreen .chat-window-body {
    gap: 12px;
    padding: 14px 10px 12px;
  }

  .chat-window .window-intro {
    gap: 5px;
  }

  .chat-window .window-intro h2 {
    font-size: 1.35rem;
  }

  .chat-window .window-intro p {
    max-width: none;
    font-size: 0.96rem;
    line-height: 1.4;
  }

  .chat-desktop-layout,
  .chat-main-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .chat-online-panel {
    display: none;
  }

  .chat-meta-row {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 8px;
    align-items: center;
    min-height: 34px;
    padding: 0 2px;
    position: relative;
    z-index: 2;
    margin-bottom: 8px;
  }

  .chat-meta-row .status-pill {
    justify-self: start;
    max-width: 100%;
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .chat-cost-note {
    min-width: 0;
    justify-self: end;
    max-width: 100%;
    font-size: 0.74rem;
    line-height: 1.2;
    text-align: right;
    white-space: normal;
  }

  .token-shop-tabs.chat-room-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    padding: 6px;
  }

  .chat-room-tabs .token-shop-tab {
    min-width: 0;
    min-height: 42px;
    padding: 0 10px;
  }

  .chat-layout-toggle {
    justify-self: end;
    margin-left: 0;
    gap: 6px;
    padding: 5px;
    border-radius: 16px;
  }

  .chat-layout-button {
    width: 38px;
    height: 38px;
  }

  .chat-desktop-layout {
    margin-top: 6px;
    min-height: 0;
    position: relative;
    z-index: 1;
  }

  .chat-log {
    min-height: 240px;
    max-height: calc(100dvh - var(--taskbar-mobile-height) - 410px);
    padding: 14px 10px 10px;
    border-radius: 16px;
    gap: 8px;
  }

  .chat-window.is-text-mode .chat-log {
    padding: 8px;
    gap: 5px;
  }

  .chat-message-compact {
    gap: 6px;
    min-height: 34px;
    padding: 4px 5px 4px 8px;
  }

  .chat-compact-author {
    flex-basis: 118px;
    min-width: 0;
    max-width: 38vw;
  }

  .chat-compact-body {
    flex-basis: 120px;
  }

  .chat-compact-author .chat-author-button,
  .chat-compact-body {
    font-size: 0.82rem;
  }

  .chat-compact-time {
    font-size: 0.68rem;
  }

  .chat-role-badge {
    padding: 2px 5px;
    font-size: 0.64rem;
  }

  .chat-compact-actions {
    gap: 3px;
  }

  .chat-message-actions.chat-compact-actions {
    gap: 3px;
  }

  .chat-compact-action,
  .chat-message-compact .chat-like {
    width: 28px;
    min-width: 28px;
    height: 28px;
    min-height: 28px;
    border-radius: 9px;
  }

  .chat-message-compact .chat-like {
    width: auto;
    min-width: 34px;
    padding: 0 6px;
  }

  .chat-message:not(.chat-message-compact) {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
  }

  .chat-message:not(.chat-message-compact) .chat-avatar {
    width: 48px;
    height: 48px;
  }

  .chat-message:not(.chat-message-compact) .chat-bubble {
    min-width: 0;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .chat-message:not(.chat-message-compact) .chat-message-header {
    align-items: flex-start;
    gap: 6px;
  }

  .chat-message:not(.chat-message-compact) .chat-author-button {
    flex-wrap: wrap;
    gap: 4px;
  }

  .chat-message:not(.chat-message-compact) .chat-message-actions {
    grid-column: 2;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
  }

  .chat-message:not(.chat-message-compact) .chat-delete,
  .chat-message:not(.chat-message-compact) .chat-report,
  .chat-message:not(.chat-message-compact) .chat-like {
    width: 44px;
    min-width: 44px;
    min-height: 40px;
    padding: 0;
    border-radius: 12px;
    font-size: 0;
  }

  .chat-message:not(.chat-message-compact) .chat-like {
    width: 56px;
    min-width: 56px;
    font-size: 0.82rem;
  }

  .chat-message:not(.chat-message-compact) .chat-delete span,
  .chat-message:not(.chat-message-compact) .chat-report span {
    display: none;
  }

  .ticket-row {
    grid-template-columns: 1fr;
  }

  .community-banner-position-preview {
    height: 118px;
  }

  .wallpaper-clock {
    top: max(68px, calc(env(safe-area-inset-top, 0px) + 56px));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
  }

  .clock-time {
    font-size: clamp(3.8rem, 16vw, 5.2rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.06em;
  }

  .clock-period {
    margin-top: 0;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
  }

  .desktop-icons {
    top: max(164px, calc(env(safe-area-inset-top, 0px) + 152px));
    left: 10px;
    right: 10px;
    grid-template-columns: repeat(3, minmax(0, 82px));
    gap: 14px 10px;
    justify-content: center;
    max-height: none;
  }

  .app-search-shell {
    position: fixed;
    top: auto;
    bottom: calc(var(--taskbar-mobile-height) + max(12px, env(safe-area-inset-bottom, 0px)));
    left: 12px;
    right: 12px;
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 220ms ease,
      opacity 180ms ease;
  }

  .app-search-shell.is-mobile-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .app-search {
    width: 100%;
    height: 46px;
  }

  .desktop-icons.is-paged {
    display: block;
    overflow: hidden;
    padding-bottom: 28px;
  }

  .desktop-icons-track {
    display: flex;
    width: 100%;
    transition: transform 220ms ease;
    will-change: transform;
  }

  .desktop-icons-page {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 82px));
    gap: 14px 10px;
    justify-content: center;
    align-content: start;
  }

  .desktop-icons-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }

  .desktop-icons-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.28);
  }

  .desktop-icons-dot.is-active {
    background: rgba(255, 255, 255, 0.88);
  }

  .desktop-icon {
    width: 82px;
  }

  .desktop-icon-image {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .desktop-app-icon {
    width: 64px;
    height: 64px;
  }

  .desktop-icon-label {
    font-size: 0.78rem;
  }

  .desktop-shortcuts {
    left: 12px;
    right: 12px;
    gap: 10px;
  }

  .guest-perk-bubble {
    left: 12px;
    right: 12px;
    bottom: calc(var(--taskbar-mobile-height) + max(14px, env(safe-area-inset-bottom, 0px)));
    width: auto;
    border-radius: 18px 18px 0 0;
  }

  .perk-grid {
    grid-template-columns: 1fr;
  }

  .perk-card-member {
    min-height: 236px;
    transform: none;
  }

  .perk-card-guest,
  .perk-card-vip {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .user-actions,
  .compact-form {
    grid-template-columns: 1fr;
  }

  .todo-window {
    width: 100vw;
  }

  .todo-window-body {
    max-height: none;
    padding-right: 0;
  }

  .todo-hero-intro {
    grid-template-columns: 1fr;
  }

  .todo-hero-visual {
    justify-content: start;
  }

  .todo-hero-icon {
    width: 92px;
    height: 92px;
    border-radius: 20px;
  }

  .todo-hero-image {
    width: 66px;
    height: 66px;
  }

  .todo-create-form {
    grid-template-columns: 1fr;
  }

  .todo-bulk-actions {
    justify-content: stretch;
  }

  .todo-clear-completed-button {
    width: 100%;
    justify-content: center;
  }

  .todo-item {
    grid-template-columns: 38px minmax(0, 1fr) 34px;
    gap: 10px;
  }

  .todo-toggle-button {
    width: 38px;
    height: 38px;
  }

  .todo-delete-button {
    width: 34px;
    height: 34px;
  }

  .os-window {
    width: 100vw;
    max-width: none;
    max-height: none;
    height: calc(100dvh - var(--taskbar-mobile-height));
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    border-radius: 0;
  }

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

  .color-inventory-list,
  .shop-cursor-list,
  .shop-color-list,
  .shop-emote-list,
  .token-shop-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .token-shop-window .token-shop-list,
  .token-shop-window.is-fullscreen .token-shop-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .token-shop-window .token-shop-list.shop-cursor-list,
  .token-shop-window.is-fullscreen .token-shop-list.shop-cursor-list {
    grid-template-columns: 1fr;
  }

  .token-shop-window .token-shop-group-grid,
  .token-shop-window.is-fullscreen .token-shop-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-color-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .member-color-admin-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .member-achievement-actions {
    grid-template-columns: 1fr;
  }

  .analytics-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .store-editor-head,
  .store-editor-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rewards-grid {
    grid-template-columns: 1fr;
  }

  .rewards-coupon-form,
  .coupons-admin-grid,
  .coupons-form-grid,
  .coupons-form-grid-3 {
    grid-template-columns: 1fr;
  }

  .achievements-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .achievement-card {
    min-height: auto;
    padding: 4px;
    border-radius: 10px;
    cursor: pointer;
  }

  .achievement-card-media {
    justify-content: center;
  }

  .achievement-icon-button {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 7px;
  }

  .achievement-card-icon {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    border-radius: 7px;
    object-fit: contain;
  }

  .achievement-card-copy {
    display: none;
  }

  .achievement-mobile-modal {
    position: fixed;
    inset: 0;
    z-index: 12;
    display: grid;
    place-items: center;
    padding: 16px 16px calc(var(--taskbar-mobile-height) + 16px);
    background: rgba(5, 9, 12, 0.54);
  }

  .achievement-mobile-modal.is-hidden {
    display: none;
  }

  .achievement-mobile-modal-card {
    position: relative;
    width: min(100%, 420px);
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 18px 18px 12px 12px;
    background: rgba(15, 24, 31, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  }

  .achievement-mobile-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  .achievement-mobile-modal-icon {
    width: 86px;
    height: 86px;
    border-radius: 10px;
    object-fit: contain;
  }

  .achievement-mobile-modal-copy {
    display: grid;
    gap: 8px;
  }

  .achievement-mobile-modal-copy h2,
  .achievement-mobile-modal-copy p {
    margin: 0;
  }

  .achievement-mobile-modal-copy p {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.45;
  }

  .achievement-mobile-modal-rewards,
  .achievement-mobile-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .achievements-overview-grid,
  .achievements-toolbar,
  .links-create-form {
    grid-template-columns: 1fr;
  }

  .links-window {
    width: 100vw;
  }

  .links-window-body {
    overflow-x: hidden;
    padding-right: 0;
  }

  .links-create-shell {
    min-width: 0;
  }

  .links-create-form input,
  .links-create-form button {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .projects-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .projects-gallery-button {
    border-radius: 12px;
  }

  .projects-gallery-overlay {
    display: none;
  }

  .projects-spotlight-card {
    min-height: 260px;
  }

  .projects-spotlight-copy {
    max-width: none;
  }

  .hellsmouth-wishlist-card {
    grid-template-columns: 1fr;
  }

  .community-search-form {
    grid-template-columns: 1fr;
  }

  .community-inbox-header-meta,
  .community-compose-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .community-token-transfer {
    grid-template-columns: 1fr;
  }

  .community-inbox-log {
    min-height: 220px;
    max-height: none;
  }

  .chat-compose-row {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    align-items: center;
  }

  .chat-input {
    min-height: 44px;
    height: 44px;
    padding: 10px 12px;
  }

  .chat-compose-icon,
  .chat-send-button {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .tappy-frog-qr {
    width: min(220px, 100%);
    height: auto;
  }

  .tappy-frog-modal-layer {
    padding: 54px 10px 12px;
  }

  .tappy-frog-modal-shell {
    width: min(calc((100vh - 76px) * 9 / 16), calc(100vw - 20px));
    height: min(calc(100vh - 76px), calc((100vw - 20px) * 16 / 9));
  }

  .tappy-frog-modal-close {
    left: auto;
    right: 0;
    top: -44px;
  }

  .reward-custom-card {
    grid-template-columns: 1fr;
  }

  .analytics-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .token-shop-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .token-shop-tabs.chat-room-tabs {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  }

  .analytics-filter {
    min-height: 46px;
    padding: 0 10px;
  }

  .analytics-window-body {
    gap: 10px;
    padding-right: 8px;
    display: flex;
    flex-direction: column;
  }

  .analytics-window .window-intro {
    gap: 2px;
  }

  .analytics-window .window-intro .window-eyebrow {
    font-size: 0.68rem;
  }

  .analytics-window .window-intro h2 {
    font-size: 1.35rem;
  }

  .analytics-window .window-intro p {
    display: none;
  }

  .analytics-stat {
    min-height: 92px;
    padding: 12px 14px;
  }

  .analytics-stat-label {
    font-size: 0.74rem;
  }

  .analytics-stat strong {
    font-size: 1.85rem;
  }

  .analytics-axis {
    min-width: 720px;
    gap: 10px;
    font-size: 0.78rem;
  }

  .analytics-insights-grid {
    grid-template-columns: 1fr;
  }

  .billing-grid {
    grid-template-columns: 1fr;
  }

  .analytics-chart-shell {
    overflow-x: auto;
    overflow-y: hidden;
    height: auto;
    min-height: 340px;
    padding: 12px 12px 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 255, 227, 0.42) rgba(255, 255, 255, 0.06);
  }

  .analytics-chart-shell::-webkit-scrollbar {
    height: 10px;
  }

  .analytics-chart-shell::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
  }

  .analytics-chart-shell::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(181, 255, 206, 0.55), rgba(112, 219, 255, 0.48));
    border-radius: 999px;
    border: 2px solid rgba(8, 17, 23, 0.18);
  }

  .analytics-chart {
    width: max-content;
    min-width: 720px;
    height: auto;
    grid-template-rows: auto auto auto;
  }

  .analytics-svg {
    width: 720px;
    min-width: 720px;
    height: auto;
    aspect-ratio: 16 / 11;
  }

  .analytics-legend {
    font-size: 0.86rem;
    gap: 14px;
  }

  .analytics-sale-item {
    grid-template-columns: auto 52px minmax(0, 1fr);
  }

  .analytics-pie-visual {
    width: min(100%, 220px);
  }

  .leaderboards-tabs {
    grid-auto-flow: row;
  }

  .leaderboard-entry {
    grid-template-columns: auto 44px minmax(0, 1fr);
  }

  .leaderboard-score {
    grid-column: 1 / -1;
    padding-left: 62px;
  }

  .shortcut-card {
    min-width: 148px;
    padding: 12px 14px;
  }

  .taskbar {
    height: var(--taskbar-mobile-height);
  }

  .site-notifications {
    left: 12px;
    right: 12px;
    top: max(12px, calc(env(safe-area-inset-top, 0px) + 12px));
    bottom: auto;
    width: auto;
  }

  .admin-edit-dock {
    right: 12px;
    bottom: calc(var(--taskbar-mobile-height) + 12px);
    min-width: 144px;
    padding: 10px 12px;
    gap: 10px;
  }

  .site-notification {
    transform: translateY(-14px);
  }

  .boot-logo {
    width: min(280px, 60vw);
    max-width: 280px;
  }

  .taskbar-surface {
    background-position: center bottom;
  }

  .start-button {
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 86px;
    height: 86px;
  }

  .start-button img {
    width: 72px;
    height: 72px;
  }

  .taskbar-status {
    position: fixed;
    top: max(10px, env(safe-area-inset-top, 0px));
    left: 50%;
    width: auto;
    min-width: min(260px, calc(100vw - 24px));
    padding: 8px 14px;
    border-radius: 999px;
    justify-content: center;
    align-items: center;
    transform: translateX(-50%);
    font-size: 0.68rem;
    background: rgba(18, 27, 34, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 12;
  }

  .taskbar-apps {
    display: none;
  }

  .start-menu {
    left: 50%;
    bottom: calc(var(--taskbar-mobile-height) + 12px);
    width: min(340px, calc(100vw - 20px));
    transform: translate(-50%, 18px) scale(0.96);
  }

  .start-menu.is-open {
    transform: translate(-50%, 0) scale(1);
  }

  .start-menu-button,
  .start-menu-signout {
    min-height: 58px;
    padding: 12px 14px;
  }

  .chat-compose {
    gap: 8px;
  }

  .chat-compose-row {
    grid-template-columns: 44px minmax(0, 1fr) 52px;
    gap: 7px;
    align-items: center;
  }

  .chat-input {
    min-height: 44px;
    height: 44px;
    max-height: 44px;
    padding: 10px 12px;
    border-radius: 14px;
    overflow: hidden;
  }

  .chat-compose-icon {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 14px;
    font-size: 1.28rem;
  }

  .chat-send-button {
    grid-column: auto;
    width: 52px;
    min-width: 52px;
    min-height: 44px;
    padding: 0;
    border-radius: 14px;
    font-size: 0;
  }

  .chat-send-button i {
    font-size: 1.05rem;
  }

  .chat-compose-footer {
    gap: 8px;
    padding: 0 2px;
  }

  .chat-char-count,
  .chat-drop-hint {
    font-size: 0.76rem;
  }

  .chat-drop-hint {
    display: none;
  }

  .os-window-body,
  .os-window.is-fullscreen .os-window-body {
    height: calc(100dvh - var(--taskbar-mobile-height) - 67px);
    max-height: none;
  }

  .cursor-inventory-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .os-window.is-fullscreen {
    height: calc(100dvh - var(--taskbar-mobile-height));
  }

  .chat-window.is-fullscreen .chat-window-body {
    height: calc(100dvh - var(--taskbar-mobile-height) - 67px);
    grid-template-rows: auto auto auto auto minmax(0, 1fr);
  }

  .white-screen-window.is-fullscreen .white-screen-window-body {
    height: calc(100dvh - var(--taskbar-mobile-height) - 67px);
  }

  .chat-window.is-fullscreen .window-intro {
    display: grid;
    white-space: normal;
    padding-right: 0;
  }

  .chat-window.is-fullscreen .chat-meta-row {
    position: static;
    justify-content: space-between;
    text-align: left;
    white-space: normal;
  }

  .image-modal {
    width: calc(100vw - 20px);
  }

  .site-cursor {
    display: none;
  }

  .site-cursor.local-cursor,
  .site-cursor.remote-cursor {
    display: grid;
  }

  .site-cursor.local-cursor .cursor-health-hud {
    display: none;
  }

  .sun-anchor-modal {
    display: none !important;
  }

  body {
    cursor: auto;
  }
}

.landing-shop-subcategory {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.8rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.landing-shop-subcategory.is-hidden {
  display: none;
}

@media (max-width: 480px) {
  .sun-flare {
    width: 24vw;
    height: 24vw;
  }

  .sun-rays {
    width: 54vw;
    height: 54vw;
  }

  .desktop-shortcuts {
    bottom: calc(var(--taskbar-mobile-height) + 12px);
  }

  .start-menu {
    width: calc(100vw - 20px);
  }

  .start-menu-button,
  .start-menu-signout {
    display: grid;
    justify-items: start;
  }

  .start-menu-button-meta {
    text-align: left;
  }

  .inventory-list {
    grid-template-columns: 1fr;
  }

  .color-inventory-list,
  .shop-cursor-list,
  .shop-color-list,
  .shop-emote-list,
  .token-shop-list {
    grid-template-columns: 1fr;
  }

  .token-shop-window .token-shop-list,
  .token-shop-window.is-fullscreen .token-shop-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .token-shop-list.shop-cursor-list,
  .token-shop-group-grid {
    grid-template-columns: 1fr;
  }

  .landing-shop-grid {
    grid-template-columns: 1fr;
  }
}

/* Premium admin control center */
.landing-body:has(.admin-dashboard-page) {
  background:
    radial-gradient(circle at 18% 10%, rgba(111, 216, 255, 0.16), transparent 34%),
    radial-gradient(circle at 86% 4%, rgba(156, 255, 114, 0.12), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(189, 140, 255, 0.08), transparent 38%),
    #04080d;
}

.landing-page:has(.admin-dashboard-page) > .landing-nav {
  display: none;
}

.homepage-widget-board {
  width: min(80vw, calc(100% - 40px));
  max-width: none;
  margin: 0 auto 56px;
  padding: 0;
  box-sizing: border-box;
  align-items: start;
  grid-auto-rows: auto;
  gap: 22px;
}

.homepage-widget-board > [data-home-widget] {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  box-sizing: border-box;
  justify-self: stretch;
  align-self: start;
}

.homepage-widget-board > .landing-strip {
  margin-top: 0 !important;
}

.homepage-widget-board > .landing-blog-preview,
.homepage-widget-board > .landing-community-cta,
.homepage-widget-board > .landing-perks-grid,
.homepage-widget-board > .wifi-hub-card,
.homepage-widget-board > .landing-about,
.homepage-widget-board > .landing-members {
  position: relative;
  z-index: 2;
}

.homepage-widget-card {
  position: relative;
}

.homepage-widget-card > .admin-widget-floating-head {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  width: max-content;
  max-width: min(320px, calc(100% - 20px));
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 8, 12, 0.72);
  backdrop-filter: blur(12px);
}

.wifi-network-page {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.wifi-network-page > :not(.wifi-background-graffiti-wall) {
  position: relative;
  z-index: 2;
}

.wifi-network-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.32), rgba(8, 10, 14, 0.92)),
    var(--wifi-banner, url("assets/Wallpaper.png")) center / cover no-repeat;
  filter: blur(18px) saturate(1.12);
  transform: scale(1.06);
  opacity: 0.54;
  pointer-events: none;
}

.wifi-network-page.has-graffiti-background::before {
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.24), rgba(8, 10, 14, 0.9)),
    var(--wifi-brick, url("assets/playful/blackbrickbg2x.png")) center / 320px repeat;
  filter: none;
  transform: none;
  opacity: 0.72;
}

.wifi-background-graffiti-wall {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 0;
  width: 100vw;
  height: max(100vh, 100%);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  pointer-events: none;
}

.wifi-background-graffiti-wall .wifi-background-graffiti-surface {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: max(100vh, 100%);
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}

.wifi-background-graffiti-wall .playful-graffiti-clear {
  position: fixed;
  right: 22px;
  top: 146px;
  z-index: 40;
}

.wifi-background-graffiti-cans {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 21000;
  width: min(620px, calc(100vw - 40px));
  transform: translateX(-50%);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(6, 10, 14, 0.76);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.wifi-network-page.has-graffiti-background ~ .site-footer,
.wifi-network-page.has-graffiti-background + .site-footer {
  position: relative;
  z-index: 2;
}

.wifi-background-graffiti-cans.is-empty {
  display: none;
}

.wifi-network-hero {
  overflow: hidden;
}

.wifi-network-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.82), rgba(5, 8, 12, 0.42)),
    var(--wifi-banner, url("assets/Wallpaper.png")) center / cover no-repeat;
  opacity: 0.82;
  z-index: -1;
}

.wifi-network-avatar {
  border-radius: 50% !important;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1), 0 18px 42px rgba(0, 0, 0, 0.32);
  border: 0;
  padding: 0;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.wifi-network-avatar:disabled {
  cursor: default;
}

.wifi-banner-edit {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

.wifi-network-hero [data-wifi-edit-field] {
  cursor: pointer;
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.wifi-edit-overlay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.wifi-edit-overlay span {
  color: rgba(255, 255, 255, 0.68);
}

.wifi-widget-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wifi-widget-type-grid button {
  min-height: 116px;
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #fff;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
}

.wifi-widget-type-grid button.is-active {
  border-color: rgba(255, 181, 72, 0.78);
  background: rgba(255, 181, 72, 0.14);
  box-shadow: 0 0 0 1px rgba(255, 181, 72, 0.2), 0 14px 34px rgba(255, 181, 72, 0.1);
}

.wifi-widget-type-grid i,
.wifi-widget-type-grid img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  font-size: 1.8rem;
  color: #ffb548;
}

.wifi-widget-type-grid span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.wifi-widget-modal-step {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.wifi-widget-modal-step.is-active {
  display: grid;
  gap: 12px;
  opacity: 1;
  transform: translateY(0);
}

.wifi-widget-pattern-field {
  display: none !important;
}

.wifi-widget-modal-card[data-widget-type="graffiti"] .wifi-widget-pattern-field {
  display: grid !important;
}

.wifi-widget-text-tools,
.wifi-widget-image-field {
  display: none;
  align-items: center;
  gap: 8px;
}

.wifi-widget-text-tools button {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.wifi-widget-modal-card[data-widget-type="text"] .wifi-widget-text-tools,
.wifi-widget-modal-card[data-widget-type="image"] .wifi-widget-image-field {
  display: flex;
}

.wifi-widget-modal-card[data-widget-type="image"] .wifi-widget-url-field {
  display: none;
}

.wifi-widget-image-field span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.wifi-widget-heading,
.wifi-widget-bullet {
  display: block;
}

.wifi-widget-heading {
  margin-bottom: 6px;
  color: var(--accent-primary);
  font-size: 1.1rem;
}

.wifi-widget-bullet::before {
  content: "- ";
  color: var(--accent-primary);
}

.account-network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.account-network-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.account-network-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffb14a, #ff7c2a);
  color: #10131a;
}

.account-network-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-network-card div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.account-network-card small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wifi-widget-selected {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 181, 72, 0.28);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 181, 72, 0.08);
}

.wifi-donate-modal-card {
  width: min(460px, calc(100vw - 28px));
  padding: 26px;
  gap: 14px;
}

.wifi-donate-modal-card form,
.wifi-donate-modal-card label {
  display: grid;
  gap: 10px;
}

.wifi-donate-modal-card label {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.wifi-donate-modal-card input[type="number"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  outline: 0;
  color: #fff;
  background: rgba(10, 18, 24, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  font: inherit;
  font-weight: 900;
}

.wifi-donate-modal-card input[type="number"]:focus {
  border-color: rgba(255, 181, 72, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 181, 72, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.wifi-donate-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  image-rendering: pixelated;
}

.wifi-donate-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.wifi-donate-options button {
  min-height: 48px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-weight: 900;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.wifi-donate-options button:hover,
.wifi-donate-options button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 181, 72, 0.48);
  background: rgba(255, 181, 72, 0.12);
}

.wifi-donate-options button.is-active {
  border-color: rgba(255, 181, 72, 0.74);
  color: #1a1208;
  background: linear-gradient(180deg, #ffd883, #ff9d38);
}

.wifi-widget-selected span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
}

.wifi-widget-back {
  justify-self: start;
}

.wifi-claim-modal-card,
.wifi-widget-modal-card {
  width: min(980px, calc(100vw - 28px));
  max-width: min(980px, calc(100vw - 28px));
  max-height: calc(100vh - 56px);
  overflow: auto;
}

.wifi-claim-modal-card {
  width: min(640px, calc(100vw - 28px));
  padding: 28px;
}

.wifi-claim-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #120c05;
  background: #ffb548;
  font-size: 1.55rem;
}

.wifi-claim-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.wifi-claim-field {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.wifi-claim-field strong,
.wifi-claim-divider {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
}

.wifi-claim-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #fff;
  background: rgba(5, 10, 14, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.wifi-claim-existing {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.wifi-claim-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
}

.wifi-claim-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.wifi-claim-tribe-list {
  display: grid;
  gap: 9px;
  max-height: 220px;
  overflow: auto;
}

.wifi-claim-tribe-list button {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 181, 72, 0.24);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 181, 72, 0.08);
  text-align: left;
  cursor: pointer;
}

.wifi-claim-tribe-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #ffb548;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.wifi-claim-tribe-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wifi-claim-tribe-list em {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-style: normal;
  font-size: 0.85rem;
}

.wifi-donation-widget {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.wifi-auth-cta {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(201, 255, 114, 0.18);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(201, 255, 114, 0.06);
}

.wifi-auth-cta strong {
  color: #fff;
  font-size: 1.05rem;
}

.wifi-auth-cta div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wifi-full-chat {
  display: grid;
  gap: 12px;
}

.wifi-chat-read-more {
  justify-self: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.wifi-full-chat-log {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding-right: 6px;
}

.wifi-full-chat-message {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.wifi-full-chat-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.wifi-full-chat-form textarea,
.wifi-full-chat-tools input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #fff;
  background: rgba(5, 10, 14, 0.72);
}

.wifi-full-chat-tools {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.wifi-widget-poll,
.wifi-widget-cta,
.wifi-newest-members {
  display: grid;
  gap: 12px;
}

.wifi-widget-cta .landing-primary {
  justify-self: start;
}

.wifi-widget-graffiti-wall {
  width: 100%;
  min-height: 280px;
  margin: 0;
}

.wifi-widget-graffiti-wall .playful-graffiti-surface {
  min-height: 260px;
}

.wifi-widget-image-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.wifi-widget-image-frame .wifi-widget-image {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

.wifi-widget-image-frame.is-slideshow .wifi-widget-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease;
}

.wifi-widget-image-frame.is-slideshow .wifi-widget-image.is-active {
  opacity: 1;
}

.wifi-widget-edit-media {
  float: right;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  margin: 0 0 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.wifi-image-grid,
.wifi-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  max-height: 52vh;
  overflow: auto;
}

.wifi-template-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  max-height: none;
  overflow: visible;
}

.wifi-image-choice,
.wifi-template-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  text-align: left;
  cursor: pointer;
}

.wifi-image-choice {
  cursor: default;
}

.wifi-image-choice img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.wifi-image-choice.is-enabled {
  border-color: rgba(156, 255, 114, 0.52);
  background: rgba(156, 255, 114, 0.12);
}

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

.wifi-image-actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.wifi-youtube-modal-card,
.wifi-image-modal-card {
  width: min(720px, calc(100vw - 28px));
  padding: 26px;
}

.wifi-youtube-modal-card form {
  display: grid;
  gap: 16px;
}

.wifi-youtube-modal-card label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.wifi-youtube-modal-card input {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #fff;
  background: rgba(5, 10, 14, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.wifi-youtube-modal-card input:focus {
  outline: none;
  border-color: rgba(156, 255, 114, 0.52);
}

.wifi-template-summary {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.wifi-template-summary > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-height: 210px;
  overflow: auto;
  padding-right: 4px;
}

.wifi-template-summary span {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.wifi-template-modal-card {
  width: min(1040px, calc(100vw - 28px));
  height: min(80vh, 760px);
  max-height: 80vh;
  padding: 0;
  overflow: hidden;
  display: grid;
}

.wifi-template-modal-card > .admin-action-close {
  z-index: 2;
}

.wifi-template-modal-card [data-wifi-template-shell] {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.wifi-template-modal-card.is-template-picker [data-wifi-template-shell] {
  display: block;
  padding: 26px;
  overflow-y: auto;
}

.wifi-template-modal-card.is-template-picker .wifi-template-head {
  max-width: 620px;
  margin-bottom: 18px;
}

.wifi-template-modal-card.is-template-picker .wifi-template-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wifi-template-modal-card.is-template-picker .wifi-template-card {
  min-height: 0;
}

.wifi-template-modal-card.is-template-picker .wifi-template-card-banner {
  min-height: 96px;
}

.wifi-template-modal-card.is-template-picker .wifi-template-card > button:first-child {
  align-content: start;
}

.wifi-template-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 0;
  overflow-y: auto;
}

.wifi-template-sidebar button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  cursor: pointer;
}

.wifi-template-sidebar button.is-active,
.wifi-template-sidebar button:hover {
  color: #101813;
  background: linear-gradient(135deg, #c9ff72, #64f596);
}

.wifi-template-panel,
.wifi-template-modal-card [data-wifi-template-shell] > :not(.wifi-template-sidebar) {
  padding: 0 28px 28px;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.wifi-template-panel form {
  display: grid;
  gap: 16px;
}

.wifi-template-field {
  display: grid;
  gap: 7px;
}

.wifi-template-field input,
.wifi-template-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #fff;
  background: rgba(5, 10, 14, 0.72);
}

.wifi-template-field textarea {
  min-height: 100px;
  padding-block: 12px;
  resize: vertical;
}

.wifi-template-background-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 14px;
  align-items: start;
}

.wifi-template-background-row .wifi-template-textures {
  opacity: 0.5;
  transition: opacity 160ms ease;
}

.wifi-template-background-row.is-enabled .wifi-template-textures {
  opacity: 1;
}

.wifi-template-save-actions {
  display: flex;
  justify-content: flex-end;
}

.wifi-template-panel::-webkit-scrollbar,
.wifi-template-modal-card [data-wifi-template-shell] > :not(.wifi-template-sidebar)::-webkit-scrollbar {
  width: 10px;
}

.wifi-template-panel::-webkit-scrollbar-thumb,
.wifi-template-modal-card [data-wifi-template-shell] > :not(.wifi-template-sidebar)::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(156, 255, 114, 0.36);
}

.wifi-template-head h2 {
  margin: 0 0 6px;
  font-size: 1.7rem;
}

.wifi-template-head p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.68);
}

.wifi-template-preview-hero {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: end;
  gap: 18px;
  margin: 0 -28px 24px;
  padding: 46px 28px 24px;
  background: linear-gradient(90deg, rgba(5,8,12,.84), rgba(5,8,12,.34)), var(--wifi-banner, url("assets/Wallpaper.png")) center / cover no-repeat;
}

.wifi-template-preview-avatar {
  width: 128px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1);
}

.wifi-template-preview-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wifi-template-preview-hero h2 {
  margin: 0 0 6px;
  font-size: 2rem;
}

.wifi-template-preview-hero p {
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.82);
}

.wifi-template-textures {
  position: relative;
  display: grid;
  gap: 8px;
}

.wifi-template-texture-current,
.wifi-template-texture-options button {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

.wifi-template-texture-options {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 6px);
  z-index: 5;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(8, 12, 18, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.wifi-template-textures.is-open .wifi-template-texture-options {
  display: grid;
  gap: 8px;
}

.wifi-template-textures button.is-active {
  border-color: rgba(156, 255, 114, 0.58);
  box-shadow: 0 0 0 2px rgba(156, 255, 114, 0.12);
}

.wifi-template-textures span {
  display: block;
  height: 42px;
  border-radius: 8px;
  background-size: 120px;
  background-position: center;
}

.wifi-template-card {
  position: relative;
  padding: 12px;
}

.wifi-template-card > button:first-child {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.wifi-template-card-banner {
  position: relative;
  display: block;
  min-height: 112px;
  margin-bottom: 2px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(156, 255, 114, 0.16), rgba(255, 155, 54, 0.14)), rgba(255, 255, 255, 0.06);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.wifi-template-card-avatar {
  position: absolute;
  left: 12px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  color: #c9ff72;
  background: rgba(5, 10, 14, 0.82);
  overflow: hidden;
}

.wifi-template-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wifi-template-delete {
  min-height: 34px;
  border: 1px solid rgba(255, 112, 112, 0.3);
  border-radius: 8px;
  color: #ffdede;
  background: rgba(255, 112, 112, 0.1);
  cursor: pointer;
}

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

  .wifi-template-modal-card.is-template-picker .wifi-template-grid {
    grid-template-columns: 1fr;
  }

  .wifi-template-modal-card [data-wifi-template-shell] {
    grid-template-columns: 1fr;
  }

  .wifi-template-sidebar {
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, 1fr);
    overflow-x: auto;
  }
}

.wifi-comment-emotes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wifi-comment-emotes button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.wifi-comment-emotes img {
  max-width: 26px;
  max-height: 26px;
  object-fit: contain;
}

.wifi-mini-chat {
  display: grid;
  gap: 12px;
}

.wifi-mini-chat-log {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
}

.wifi-mini-chat-log article {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.wifi-mini-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}

.wifi-graffiti-history {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.wifi-donation-widget img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .homepage-widget-board {
    width: calc(100% - 24px);
  }

  .wifi-widget-type-grid,
  .wifi-donation-widget {
    grid-template-columns: 1fr;
  }
}

.admin-dashboard-page {
  position: relative;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 22px;
  width: min(1560px, calc(100% - 44px));
  margin-top: 22px;
  isolation: isolate;
}

.admin-ambient-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.admin-ambient-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(156, 255, 114, 0.7);
  box-shadow: 0 0 22px rgba(156, 255, 114, 0.8);
  animation: adminParticleFloat 12s ease-in-out infinite;
}

.admin-ambient-particles span:nth-child(1) { left: 12%; top: 24%; animation-delay: -1s; }
.admin-ambient-particles span:nth-child(2) { left: 35%; top: 12%; background: rgba(111, 216, 255, 0.7); box-shadow: 0 0 22px rgba(111, 216, 255, 0.8); animation-delay: -4s; }
.admin-ambient-particles span:nth-child(3) { left: 67%; top: 32%; animation-delay: -7s; }
.admin-ambient-particles span:nth-child(4) { left: 88%; top: 18%; background: rgba(255, 216, 107, 0.7); box-shadow: 0 0 22px rgba(255, 216, 107, 0.55); animation-delay: -2s; }
.admin-ambient-particles span:nth-child(5) { left: 76%; top: 74%; background: rgba(111, 216, 255, 0.7); animation-delay: -9s; }

@keyframes adminParticleFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.25; }
  50% { transform: translate3d(18px, -28px, 0) scale(1.8); opacity: 0.9; }
}

.admin-dashboard-page .glass,
.admin-control-graph,
.admin-panel,
.admin-dashboard-sidebar,
.admin-dashboard-topbar,
.admin-dashboard-hero {
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(14, 24, 33, 0.88), rgba(7, 12, 18, 0.74)),
    rgba(9, 16, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(22px);
}

.admin-dashboard-sidebar {
  top: 18px;
  gap: 18px;
  padding: 18px 14px;
}

.admin-dashboard-logo {
  display: block;
  padding: 6px 8px 12px;
}

.admin-dashboard-logo img {
  width: 100%;
  max-height: 52px;
  object-fit: contain;
}

.admin-sidebar-section {
  display: grid;
  gap: 8px;
}

.admin-sidebar-section > span {
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.admin-dashboard-sidebar a {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.admin-dashboard-sidebar a i {
  width: 22px;
  color: rgba(111, 216, 255, 0.78);
}

.admin-dashboard-sidebar a:hover,
.admin-dashboard-sidebar a.is-active {
  background: linear-gradient(135deg, rgba(156, 255, 114, 0.14), rgba(111, 216, 255, 0.1));
  box-shadow: 0 0 28px rgba(111, 216, 255, 0.12), inset 0 0 0 1px rgba(156, 255, 114, 0.24);
}

.admin-sidebar-launch {
  margin-top: auto;
}

.admin-dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 58px;
  margin-bottom: 14px;
  padding: 8px 10px 8px 18px;
}

.admin-dashboard-topbar div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.055);
}

.admin-live-dot,
.admin-health-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9cff72;
  box-shadow: 0 0 16px rgba(156, 255, 114, 0.9);
}

.admin-health-dot {
  background: #6fd8ff;
  box-shadow: 0 0 16px rgba(111, 216, 255, 0.9);
}

.admin-dashboard-hero {
  align-items: center;
  min-height: 176px;
  padding: 26px;
  margin-bottom: 16px;
  overflow: hidden;
}

.admin-dashboard-hero::after {
  content: "";
  position: absolute;
  right: 5%;
  top: -55%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 255, 114, 0.18), transparent 68%);
  filter: blur(6px);
}

.admin-dashboard-hero h1 {
  max-width: 840px;
  font-size: clamp(2.4rem, 5.4vw, 5.6rem);
}

.admin-dashboard-hero p:not(.landing-kicker) {
  max-width: 760px;
}

.admin-control-graph {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  margin-bottom: 16px;
  padding: 22px;
}

.admin-control-graph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 65%) var(--glow-y, 25%), rgba(111, 216, 255, 0.16), transparent 34%);
  opacity: 0.9;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.admin-line-chart {
  position: relative;
  height: 380px;
  margin-top: 10px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 0, rgba(111, 216, 255, 0.09), transparent 50%);
  background-size: 100% 58px, 86px 100%, 100% 100%;
}

.admin-line-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.admin-grid-line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.admin-line-area {
  opacity: 0.82;
}

.admin-neon-line {
  fill: none;
  stroke: var(--series-color);
  stroke-width: 4;
  stroke-linecap: round;
  filter: url(#adminLineGlow);
  stroke-dasharray: 1200;
  animation: adminLineDraw 1.8s ease both, adminLinePulse 3.5s ease-in-out infinite;
}

@keyframes adminLineDraw {
  from { stroke-dashoffset: 1200; }
  to { stroke-dashoffset: 0; }
}

@keyframes adminLinePulse {
  0%, 100% { opacity: 0.78; }
  50% { opacity: 1; }
}

.admin-data-point circle {
  fill: #071018;
  stroke: var(--series-color);
  stroke-width: 3;
  filter: drop-shadow(0 0 10px var(--series-color));
  transition: r 160ms ease, fill 160ms ease;
}

.admin-data-point:hover circle {
  r: 8;
  fill: var(--series-color);
}

.admin-point-tooltip {
  opacity: 0;
  transform: translateY(6px);
  padding: 7px 9px;
  border-radius: 12px;
  color: #ffffff;
  text-align: center;
  background: rgba(6, 10, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  transition: opacity 140ms ease, transform 140ms ease;
}

.admin-point-tooltip strong,
.admin-point-tooltip span {
  display: block;
  font-size: 11px;
  line-height: 1.2;
}

.admin-data-point:hover .admin-point-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.admin-chart-legend {
  align-items: center;
  flex-wrap: wrap;
}

.admin-chart-legend span {
  gap: 7px;
  font-size: 0.82rem;
}

.admin-chart-legend span::before {
  background: var(--series-color);
  box-shadow: 0 0 12px var(--series-color);
}

.admin-signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.admin-signal-strip span {
  padding: 14px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-signal-strip b {
  display: block;
  color: #ffffff;
  font-size: 1.25rem;
}

.admin-dashboard-grid {
  grid-template-columns: minmax(320px, 1.1fr) repeat(2, minmax(260px, 0.72fr));
  gap: 16px;
}

.admin-panel {
  min-height: 220px;
  padding: 18px;
  border-radius: 22px;
}

.admin-panel-tall {
  grid-row: span 2;
}

.admin-feature-widget {
  min-height: 180px;
}

.admin-panel-head {
  align-items: start;
}

.admin-panel-head h2 {
  font-size: 1.12rem;
}

.admin-widget-row,
.admin-activity-item,
.admin-member-row,
.admin-shop-item,
.admin-poll-list article,
.admin-user-table-row,
.admin-todo-item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.admin-widget-row:hover,
.admin-activity-item:hover,
.admin-member-row:hover {
  transform: translateY(-2px);
  background: rgba(111, 216, 255, 0.07);
  border-color: rgba(111, 216, 255, 0.22);
}

.admin-achievement-list,
.admin-project-list {
  display: grid;
  gap: 10px;
}

.admin-widget-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  color: #ffffff;
  text-decoration: none;
}

.admin-widget-row strong,
.admin-widget-row small {
  display: block;
}

.admin-widget-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
}

.admin-widget-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-big-stat {
  display: grid;
  gap: 8px;
  place-items: start;
  min-height: 120px;
  padding: 18px;
  border-radius: 20px;
  background: radial-gradient(circle at 18% 10%, rgba(156, 255, 114, 0.14), transparent 48%), rgba(255, 255, 255, 0.045);
}

.admin-big-stat i {
  color: #9cff72;
  font-size: 1.8rem;
  filter: drop-shadow(0 0 12px rgba(156, 255, 114, 0.6));
}

.admin-big-stat strong {
  color: #ffffff;
  font-size: 1.5rem;
}

.admin-big-stat span {
  color: rgba(255, 255, 255, 0.62);
}

.admin-big-stat.is-alert {
  background: radial-gradient(circle at 18% 10%, rgba(255, 95, 129, 0.14), transparent 48%), rgba(255, 255, 255, 0.045);
}

.admin-big-stat.is-alert i {
  color: #ff7b93;
  filter: drop-shadow(0 0 12px rgba(255, 123, 147, 0.6));
}

.admin-shop-hero {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.admin-shop-hero .admin-shop-preview {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  box-shadow: 0 0 28px rgba(156, 255, 114, 0.12);
}

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

.admin-graffiti-pixel {
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--pixel-color);
  box-shadow: 0 0 16px var(--pixel-color);
  transition: transform 160ms ease;
}

.admin-graffiti-pixel:hover {
  transform: scale(1.18) rotate(4deg);
}

.admin-member-list,
.admin-activity-list {
  gap: 9px;
}

.admin-member-row {
  min-height: 58px;
}

.admin-member-avatar,
.admin-shop-preview {
  border-radius: 15px;
}

@media (max-width: 1120px) {
  .admin-dashboard-page {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-sidebar {
    position: static;
    grid-template-columns: 1fr;
  }

  .admin-sidebar-section {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .admin-sidebar-section > span {
    grid-column: 1 / -1;
  }

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

@media (max-width: 760px) {
  .admin-dashboard-page {
    width: min(100% - 22px, 1560px);
  }

  .admin-dashboard-topbar,
  .admin-dashboard-hero {
    align-items: stretch;
    display: grid;
  }

  .admin-dashboard-actions {
    justify-content: start;
  }

  .admin-line-chart {
    overflow-x: auto;
  }

  .admin-line-chart svg {
    min-width: 820px;
  }

  .admin-signal-strip,
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .token-shop-tabs {
    display: flex !important;
    grid-auto-flow: initial !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 6px 4px 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .token-shop-tabs .token-shop-tab {
    flex: 0 0 auto;
    min-width: max-content;
    max-width: 78vw;
    min-height: 42px;
    padding-inline: 13px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .token-shop-tabs.chat-room-tabs {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 6px 4px 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .chat-room-tabs .token-shop-tab,
  .chat-private-tab-wrap,
  .chat-room-tabs .chat-layout-toggle {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .chat-room-tabs .token-shop-tab {
    min-width: max-content;
    max-width: 78vw;
    min-height: 42px;
    padding-inline: 13px;
    white-space: nowrap;
  }

  .chat-private-tab-wrap {
    min-width: max-content;
  }

  .chat-private-tab-wrap .token-shop-tab {
    max-width: 62vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .chat-room-tabs .chat-layout-toggle {
    margin-left: 0 !important;
  }

  .chat-private-picker {
    position: fixed;
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 96px;
    max-height: 42vh;
    overflow: auto;
  }
}

