:root {
  color-scheme: dark;
  --bg: #040708;
  --panel: rgba(9, 15, 17, 0.84);
  --panel-strong: rgba(12, 20, 22, 0.96);
  --line: rgba(162, 232, 226, 0.12);
  --text: #f3f8f7;
  --muted: #8fa4a4;
  --cyan: #55f4e1;
  --cyan-soft: #19cbbd;
  --amber: #ffb348;
  --danger: #ff5f57;
  --radius: 31px;
  --pointer-x: 50%;
  --pointer-y: 20%;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.js:not(.page-ready) body {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.preloader {
  display: none;
}

.js .preloader {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 43%, rgba(33, 214, 194, 0.14), transparent 20rem),
    linear-gradient(145deg, #020405, #071113 52%, #020405);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 580ms ease,
    visibility 580ms ease;
}

.js .preloader::before,
.js .preloader::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.js .preloader::before {
  inset: -25%;
  background-image:
    linear-gradient(rgba(85, 244, 225, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 244, 225, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(500px) rotateX(62deg) translateY(32%);
  -webkit-mask-image: radial-gradient(circle, #000, transparent 66%);
  mask-image: radial-gradient(circle, #000, transparent 66%);
  animation: loader-grid 4s linear infinite;
}

.js .preloader::after {
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(85, 244, 225, 0.06) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: loader-light 2.5s ease-in-out infinite;
}

.js .preloader.is-complete {
  opacity: 0;
  visibility: hidden;
}

.preloader__core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 144px;
  height: 144px;
  margin-bottom: 30px;
}

.preloader__core img {
  width: 106px;
  height: 106px;
  border: 1px solid rgba(85, 244, 225, 0.35);
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 6px rgba(6, 13, 15, 0.9),
    0 0 45px rgba(85, 244, 225, 0.24);
  animation: loader-logo 2.2s ease-in-out infinite;
}

.preloader__orbit {
  position: absolute;
  border-radius: 50%;
}

.preloader__orbit--outer {
  inset: 0;
  border: 1px solid rgba(85, 244, 225, 0.14);
  border-top-color: var(--cyan);
  border-bottom-color: rgba(255, 179, 72, 0.65);
  box-shadow: 0 0 22px rgba(85, 244, 225, 0.07);
  animation: loader-spin 2.1s linear infinite;
}

.preloader__orbit--inner {
  inset: 11px;
  border: 1px dashed rgba(85, 244, 225, 0.35);
  animation: loader-spin-reverse 6s linear infinite;
}

.preloader__scanner {
  position: absolute;
  z-index: 2;
  width: 100px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 -12px 30px rgba(85, 244, 225, 0.18);
  animation: logo-scan 2s ease-in-out infinite;
}

.preloader__eyebrow,
.preloader__title,
.preloader__progress,
.preloader__meta {
  position: relative;
  z-index: 1;
}

.preloader__eyebrow {
  margin: 0 0 9px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.preloader__title {
  color: #f2fffd;
  font-size: clamp(24px, 8vw, 38px);
  font-weight: 950;
  letter-spacing: -0.055em;
}

.preloader__title span {
  color: var(--cyan);
}

.preloader__progress {
  width: min(78vw, 330px);
  height: 3px;
  margin-top: 25px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.preloader__progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #118d84, var(--cyan), var(--amber));
  box-shadow: 0 0 16px rgba(85, 244, 225, 0.55);
  transition: width 180ms ease;
}

.preloader__meta {
  display: flex;
  justify-content: space-between;
  width: min(78vw, 330px);
  margin-top: 9px;
  color: #617675;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.preloader__meta output {
  color: #9fb6b4;
}

.world,
.world > * {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.world {
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(60, 245, 222, 0.1), transparent 23rem),
    radial-gradient(circle at 15% 15%, rgba(19, 157, 148, 0.13), transparent 28%),
    radial-gradient(circle at 82% 82%, rgba(189, 112, 27, 0.09), transparent 30%),
    linear-gradient(145deg, #020405 0%, #071113 50%, #020405 100%);
}

.world__aurora {
  width: 70vw;
  height: 70vw;
  inset: auto;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.19;
  mix-blend-mode: screen;
  animation: aurora-drift 18s ease-in-out infinite alternate;
}

.world__aurora--one {
  top: -25vw;
  left: -15vw;
  background: #14e5ce;
}

.world__aurora--two {
  right: -25vw;
  bottom: -30vw;
  background: #da781a;
  animation-delay: -9s;
}

.world__beam {
  inset: -60% -25%;
  background: linear-gradient(110deg, transparent 43%, rgba(80, 245, 224, 0.055) 49%, transparent 55%);
  transform: translateX(-35%);
  animation: scan-beam 11s linear infinite;
}

.world__grid {
  inset: auto -20% -42%;
  height: 75%;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(65, 235, 215, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 235, 215, 0.1) 1px, transparent 1px);
  background-size: 62px 44px;
  transform: perspective(360px) rotateX(64deg);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, #000);
  mask-image: linear-gradient(to bottom, transparent, #000 35%, #000);
  animation: grid-travel 5s linear infinite;
}

.world__noise {
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.particle {
  position: absolute;
  top: 105%;
  width: var(--size);
  height: var(--size);
  left: var(--x);
  border-radius: 50%;
  background: var(--color);
  box-shadow: 0 0 16px var(--color);
  opacity: 0;
  animation: particle-rise var(--duration) linear var(--delay) infinite;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 34px 18px max(34px, env(safe-area-inset-bottom));
}

.profile {
  position: relative;
  isolation: isolate;
  width: min(100%, 520px);
  padding: 28px 28px 25px;
  overflow: hidden;
  border: 1px solid rgba(124, 226, 215, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(18, 29, 31, 0.93), rgba(5, 10, 12, 0.91)),
    var(--panel);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.57),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(22px);
}

.js .profile,
.js .service-card,
.js .socials,
.js .creator-credit,
.js .footer-note {
  opacity: 0;
}

.js.page-ready .profile {
  animation: profile-enter 780ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.js.page-ready .service-card {
  animation: card-enter 560ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.js.page-ready .service-card:nth-child(1) { animation-delay: 180ms; }
.js.page-ready .service-card:nth-child(2) { animation-delay: 260ms; }
.js.page-ready .service-card:nth-child(3) { animation-delay: 340ms; }
.js.page-ready .service-card:nth-child(4) { animation-delay: 420ms; }
.js.page-ready .service-card:nth-child(5) { animation-delay: 500ms; }

.js.page-ready .socials,
.js.page-ready .creator-credit,
.js.page-ready .footer-note {
  animation: fade-rise 480ms ease both;
  animation-delay: 430ms;
}

.profile::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -100px;
  left: 50%;
  width: 330px;
  height: 250px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 229, 208, 0.16), transparent 68%);
  filter: blur(9px);
}

.profile__shine {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.035) 42%, transparent 56%);
  transform: translateX(-100%);
  animation: panel-shine 8s ease-in-out 2s infinite;
}

.avatar-wrap {
  position: relative;
  width: 122px;
  height: 122px;
  margin: 0 auto 19px;
  border: 1px solid rgba(82, 243, 224, 0.35);
  border-radius: 50%;
  background: #020404;
  box-shadow:
    0 0 0 7px rgba(6, 12, 14, 0.92),
    0 0 0 8px rgba(85, 244, 225, 0.12),
    0 22px 50px rgba(0, 0, 0, 0.75),
    0 0 42px rgba(25, 203, 189, 0.16);
}

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

.avatar-pulse {
  position: absolute;
  inset: -13px;
  border: 1px solid rgba(85, 244, 225, 0.24);
  border-radius: 50%;
  animation: avatar-pulse 2.7s ease-out infinite;
}

.status-dot {
  position: absolute;
  right: 3px;
  bottom: 9px;
  width: 17px;
  height: 17px;
  border: 4px solid #091012;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 13px rgba(85, 244, 225, 0.9);
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 9px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.eyebrow span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
}

h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(27px, 7vw, 39px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

h1 span {
  color: transparent;
  background: linear-gradient(95deg, #e9fffc 12%, var(--cyan) 47%, #18a79e 92%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 17px rgba(85, 244, 225, 0.14));
}

.profile__subtitle {
  max-width: 360px;
  margin: 13px auto 15px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.system-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: max-content;
  margin: 0 auto 25px;
  padding: 6px 10px;
  border: 1px solid rgba(85, 244, 225, 0.11);
  border-radius: 999px;
  color: #b0c3c2;
  background: rgba(85, 244, 225, 0.045);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.system-status__light {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 7px var(--cyan);
  animation: status-blink 1.6s ease-in-out infinite;
}

.system-status__divider {
  width: 1px;
  height: 10px;
  margin-inline: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.services {
  display: grid;
  gap: 11px;
}

.service-card {
  --accent: var(--cyan);
  --accent-rgb: 85, 244, 225;
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 13px 13px 13px 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 19px;
  color: var(--text);
  background:
    linear-gradient(100deg, rgba(var(--accent-rgb), 0.095), transparent 45%),
    rgba(255, 255, 255, 0.032);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
  opacity: 0.72;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -110%;
  left: -45%;
  width: 32%;
  height: 320%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  transform: rotate(20deg);
  transition: left 650ms ease;
}

.service-card--featured {
  min-height: 98px;
  border-color: rgba(85, 244, 225, 0.2);
  background:
    linear-gradient(100deg, rgba(31, 205, 190, 0.17), rgba(8, 15, 17, 0.72) 62%),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 11px 34px rgba(0, 0, 0, 0.19);
}

.service-card--manager {
  --accent: #b687ff;
  --accent-rgb: 182, 135, 255;
}

.service-card--reviews {
  --accent: #ffd278;
  --accent-rgb: 255, 210, 120;
}

.service-card--support {
  --accent: #5fbfff;
  --accent-rgb: 95, 191, 255;
}

.service-card--donate {
  --accent: var(--amber);
  --accent-rgb: 255, 179, 72;
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(var(--accent-rgb), 0.21);
  border-radius: 14px;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  transition:
    transform 230ms ease,
    box-shadow 230ms ease;
}

.service-card__icon svg,
.service-card__arrow svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__copy {
  min-width: 0;
}

.service-card__tag,
.service-card__copy strong,
.service-card__copy small {
  display: block;
}

.service-card__tag {
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.service-card__copy strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-card__copy small {
  margin-top: 4px;
  overflow: hidden;
  color: #8da09f;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-card__arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #93a5a4;
  background: rgba(255, 255, 255, 0.045);
  transition:
    color 200ms ease,
    transform 200ms ease,
    background 200ms ease;
}

.service-card__arrow svg {
  width: 16px;
}

.service-card:hover,
.service-card:focus-visible {
  outline: none;
  transform: translateY(-3px) scale(1.008);
  border-color: rgba(var(--accent-rgb), 0.32);
  background-color: rgba(var(--accent-rgb), 0.045);
  box-shadow:
    0 16px 35px rgba(0, 0, 0, 0.26),
    0 0 26px rgba(var(--accent-rgb), 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.service-card:hover::after,
.service-card:focus-visible::after {
  left: 125%;
}

.service-card:hover .service-card__icon,
.service-card:focus-visible .service-card__icon {
  transform: rotate(-4deg) scale(1.06);
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.12);
}

.service-card:hover .service-card__arrow,
.service-card:focus-visible .service-card__arrow {
  color: #03100f;
  background: var(--accent);
  transform: translateX(2px);
}

.service-card:active {
  transform: scale(0.985);
  transition-duration: 80ms;
}

.tap-ripple {
  position: absolute;
  z-index: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb, 85, 244, 225), 0.26);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: tap-ripple 620ms ease-out forwards;
}

.socials {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 23px;
}

.socials__line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85, 244, 225, 0.18));
}

.socials__line:last-child {
  transform: scaleX(-1);
}

.telegram {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 10px;
  border: 1px solid rgba(85, 244, 225, 0.17);
  border-radius: 999px;
  color: #c9f9f3;
  background: rgba(85, 244, 225, 0.065);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.telegram::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(85, 244, 225, 0.4);
  border-radius: inherit;
  opacity: 0;
  animation: telegram-pulse 2.8s ease-out infinite;
}

.telegram svg {
  width: 23px;
  height: 23px;
  padding: 5px;
  overflow: visible;
  border-radius: 50%;
  fill: #06100f;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(85, 244, 225, 0.22);
}

.telegram:hover,
.telegram:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(85, 244, 225, 0.38);
  background: rgba(85, 244, 225, 0.11);
}

.creator-credit {
  --accent-rgb: 182, 135, 255;
  position: relative;
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 11px;
  margin-top: 15px;
  padding: 11px 12px;
  overflow: hidden;
  border: 1px solid rgba(182, 135, 255, 0.13);
  border-radius: 15px;
  color: #dce8e6;
  background: linear-gradient(105deg, rgba(182, 135, 255, 0.07), rgba(85, 244, 225, 0.025));
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.creator-credit:hover,
.creator-credit:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(182, 135, 255, 0.3);
  background: linear-gradient(105deg, rgba(182, 135, 255, 0.11), rgba(85, 244, 225, 0.045));
}

.creator-credit__mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(182, 135, 255, 0.28);
  border-radius: 12px;
  color: #d8c1ff;
  background: rgba(182, 135, 255, 0.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 0 19px rgba(182, 135, 255, 0.1);
}

.creator-credit__copy,
.creator-credit__copy small,
.creator-credit__copy strong,
.creator-credit__copy > span {
  display: block;
  min-width: 0;
}

.creator-credit__copy small {
  color: #b687ff;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.creator-credit__copy strong {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.025em;
}

.creator-credit__copy > span {
  margin-top: 3px;
  color: #758986;
  font-size: 8px;
  line-height: 1.4;
}

.creator-credit__arrow {
  color: #8c72b7;
  font-size: 15px;
  transition: color 180ms ease, transform 180ms ease;
}

.creator-credit:hover .creator-credit__arrow {
  color: #cdb3ff;
  transform: translate(2px, -2px);
}

.footer-note {
  margin: 16px 0 0;
  color: #526363;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.toast {
  position: fixed;
  z-index: 5;
  right: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 11px;
  width: min(calc(100% - 32px), 370px);
  padding: 12px 15px;
  border: 1px solid rgba(85, 244, 225, 0.2);
  border-radius: 16px;
  color: var(--text);
  background: rgba(7, 14, 16, 0.93);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translate(50%, 24px) scale(0.96);
  visibility: hidden;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    visibility 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0) scale(1);
  visibility: visible;
}

.toast__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #06100f;
  background: var(--cyan);
  font-weight: 950;
  box-shadow: 0 0 19px rgba(85, 244, 225, 0.2);
}

.toast strong,
.toast small {
  display: block;
}

body.modal-open {
  overflow: hidden;
}

.community-modal {
  position: fixed;
  z-index: 14;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.community-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.community-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(85, 244, 225, 0.11), transparent 28rem),
    rgba(1, 5, 6, 0.87);
  backdrop-filter: blur(17px);
  cursor: default;
}

.community-panel {
  position: relative;
  width: min(100%, 760px);
  max-height: min(92vh, 900px);
  max-height: min(92svh, 900px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(85, 244, 225, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(15, 25, 27, 0.98), rgba(4, 9, 11, 0.985)),
    #071012;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transform: translateY(24px) scale(0.97);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-color: rgba(85, 244, 225, 0.25) transparent;
}

.community-modal.is-open .community-panel {
  transform: none;
}

.community-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 150px;
  pointer-events: none;
  background: radial-gradient(circle at 22% 0%, rgba(85, 244, 225, 0.12), transparent 60%);
}

.community-panel__header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 14, 16, 0.9);
  backdrop-filter: blur(20px);
}

.community-panel__brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.community-panel__brand img {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(85, 244, 225, 0.3);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(85, 244, 225, 0.15);
}

.community-panel__brand span,
.community-panel__brand strong,
.community-panel__brand small {
  display: block;
}

.community-panel__brand small {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.community-panel__brand strong {
  margin-top: 3px;
  font-size: 14px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #a9bcba;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  outline: none;
  color: var(--cyan);
  border-color: rgba(85, 244, 225, 0.3);
  transform: rotate(4deg);
}

.icon-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.community-tabs {
  position: sticky;
  z-index: 4;
  top: 78px;
  display: flex;
  gap: 6px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(6, 12, 14, 0.9);
  backdrop-filter: blur(17px);
}

.community-tab {
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #778b89;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.community-tab:hover,
.community-tab:focus-visible {
  outline: none;
  color: #d7e7e5;
}

.community-tab.is-active {
  border-color: rgba(85, 244, 225, 0.18);
  color: #d9fffa;
  background: rgba(85, 244, 225, 0.075);
}

.community-panel__body {
  position: relative;
  padding: 22px 22px 28px;
}

.community-view {
  animation: community-view-enter 260ms ease both;
}

.community-intro {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 210, 120, 0.14);
  border-radius: 16px;
  background: linear-gradient(100deg, rgba(255, 210, 120, 0.07), transparent);
}

.community-intro--support {
  border-color: rgba(95, 191, 255, 0.14);
  background: linear-gradient(100deg, rgba(95, 191, 255, 0.07), transparent);
}

.community-intro__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #07100f;
  background: #ffd278;
  font-weight: 950;
  box-shadow: 0 0 20px rgba(255, 210, 120, 0.13);
}

.community-intro--support .community-intro__icon {
  background: #5fbfff;
}

.community-intro span,
.community-intro strong,
.community-intro small {
  display: block;
}

.community-intro strong {
  font-size: 13px;
}

.community-intro small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  min-height: 70px;
  color: var(--muted);
  font-size: 12px;
}

.review-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.028);
}

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

.review-card__head span,
.review-card__head strong,
.review-card__head small {
  display: block;
}

.review-card__head strong {
  overflow: hidden;
  color: #e5f0ef;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-card__head small {
  margin-top: 3px;
  color: #607271;
  font-size: 8px;
}

.review-card__stars {
  flex: 0 0 auto;
  color: #ffd278;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.review-card > p,
.review-card__reply p {
  margin: 11px 0 0;
  color: #a5b7b5;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.review-card__reply {
  margin-top: 12px;
  padding: 10px;
  border-left: 2px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  background: rgba(85, 244, 225, 0.045);
}

.review-card__reply strong {
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.review-card__reply p {
  margin-top: 5px;
  font-size: 10px;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  place-content: center;
  min-height: 120px;
  padding: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.09);
  border-radius: 17px;
  text-align: center;
}

.empty-state strong,
.empty-state small {
  display: block;
}

.empty-state strong {
  color: #c7d6d4;
  font-size: 12px;
}

.empty-state small {
  max-width: 420px;
  margin-top: 5px;
  color: #6f8180;
  font-size: 10px;
  line-height: 1.5;
}

.empty-state--error {
  border-color: rgba(255, 95, 87, 0.17);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 17px;
  color: #667a78;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.065);
}

.metro-form {
  display: grid;
  gap: 13px;
}

.metro-form--compact {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
}

.metro-form--compact .form-status {
  grid-column: 1 / -1;
  grid-row: 2;
}

.field-grid {
  display: grid;
  gap: 12px;
}

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

.field {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #92a4a2;
  font-size: 10px;
  font-weight: 650;
}

.field > span small {
  color: #5c6e6d;
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 12px;
  outline: none;
  color: #ecf6f5;
  background: rgba(0, 0, 0, 0.22);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  resize: vertical;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field textarea {
  line-height: 1.5;
}

.field select {
  color-scheme: dark;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(85, 244, 225, 0.42);
  background: rgba(85, 244, 225, 0.035);
  box-shadow: 0 0 0 3px rgba(85, 244, 225, 0.06);
}

.field__counter {
  position: absolute;
  right: 9px;
  bottom: 8px;
  padding: 2px 5px;
  border-radius: 5px;
  color: #5c706e;
  background: rgba(4, 9, 11, 0.82);
  font-size: 8px;
  pointer-events: none;
}

.rating-field {
  margin: 0;
  padding: 0;
  border: 0;
  color: #92a4a2;
  font-size: 10px;
  font-weight: 650;
}

.rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  width: max-content;
  margin-top: 6px;
}

.rating-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-input label {
  padding-right: 3px;
  color: #394644;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  transition: color 130ms ease, transform 130ms ease;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
  color: #ffd278;
  filter: drop-shadow(0 0 7px rgba(255, 210, 120, 0.22));
}

.rating-input label:hover {
  transform: translateY(-2px);
}

.primary-button,
.secondary-button,
.last-ticket-button,
.text-button,
.credential-card button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.primary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px;
  overflow: hidden;
  border-radius: 13px;
  color: #03100f;
  background: linear-gradient(100deg, #23bbae, var(--cyan));
  box-shadow: 0 10px 25px rgba(25, 203, 189, 0.12);
  font-size: 11px;
  font-weight: 850;
  transition: transform 160ms ease, filter 160ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  outline: none;
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.primary-button i {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(3, 16, 15, 0.3);
  border-top-color: #03100f;
  border-radius: 50%;
  animation: loader-spin 700ms linear infinite;
}

.primary-button.is-loading i {
  display: block;
}

.secondary-button {
  min-height: 41px;
  padding: 10px 15px;
  border: 1px solid rgba(85, 244, 225, 0.15);
  border-radius: 12px;
  color: #b8d5d2;
  background: rgba(85, 244, 225, 0.055);
  font-size: 10px;
  font-weight: 750;
  transition: border-color 160ms ease, background 160ms ease;
}

.secondary-button:hover,
.secondary-button:focus-visible {
  outline: none;
  border-color: rgba(85, 244, 225, 0.35);
  background: rgba(85, 244, 225, 0.095);
}

#reviewsMore {
  display: block;
  margin: 14px auto 0;
}

.form-status {
  min-height: 0;
  margin: 0;
  color: #7f9694;
  font-size: 10px;
  line-height: 1.45;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="error"] {
  color: #ff7b74;
}

.turnstile-slot:empty {
  display: none;
}

.last-ticket-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 15px;
  padding: 12px 14px;
  border: 1px solid rgba(95, 191, 255, 0.16);
  border-radius: 13px;
  color: #8ea4a2;
  background: rgba(95, 191, 255, 0.045);
  font-size: 10px;
}

.last-ticket-button strong {
  color: #75c8ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.ticket-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.text-button {
  padding: 0;
  color: #7e9492;
  background: transparent;
  font-size: 10px;
}

.text-button:hover {
  color: var(--cyan);
}

.ticket-status {
  padding: 6px 9px;
  border: 1px solid rgba(85, 244, 225, 0.15);
  border-radius: 99px;
  color: var(--cyan);
  background: rgba(85, 244, 225, 0.055);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket-status[data-status="closed"] {
  color: #899694;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

#ticketNumber {
  margin: 14px 0 4px;
  color: #edf9f7;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.ticket-subject {
  margin: 0 0 18px;
  color: #78908e;
  font-size: 11px;
}

.ticket-messages {
  display: grid;
  gap: 10px;
  margin-bottom: 17px;
}

.ticket-message {
  width: min(86%, 520px);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px 15px 15px 4px;
  background: rgba(255, 255, 255, 0.03);
}

.ticket-message--admin {
  justify-self: end;
  border-color: rgba(85, 244, 225, 0.13);
  border-radius: 15px 15px 4px 15px;
  background: rgba(85, 244, 225, 0.055);
}

.ticket-message strong,
.ticket-message time {
  display: block;
}

.ticket-message strong {
  color: var(--cyan);
  font-size: 8px;
}

.ticket-message p {
  margin: 6px 0;
  color: #b0c1bf;
  font-size: 11px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.ticket-message time {
  color: #586b69;
  font-size: 8px;
}

.metro-form--reply {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.community-success {
  display: grid;
  justify-items: center;
  min-height: 410px;
  place-content: center;
  text-align: center;
  animation: community-view-enter 320ms ease both;
}

.managers-panel {
  width: min(100%, 790px);
  overflow: hidden;
}

.managers-panel::before {
  height: 100%;
  background:
    radial-gradient(circle at 12% 18%, rgba(182, 135, 255, 0.1), transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(85, 244, 225, 0.075), transparent 27%);
}

.managers-panel__body {
  position: relative;
  padding: 22px;
}

.managers-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  padding: 13px 14px;
  border: 1px solid rgba(182, 135, 255, 0.15);
  border-radius: 15px;
  background: linear-gradient(100deg, rgba(182, 135, 255, 0.075), transparent);
}

.managers-intro__pulse {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border: 2px solid #071012;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(85, 244, 225, 0.08), 0 0 16px var(--cyan);
  animation: status-blink 1.6s ease-in-out infinite;
}

.managers-intro strong,
.managers-intro small {
  display: block;
}

.managers-intro strong {
  font-size: 12px;
}

.managers-intro small {
  margin-top: 3px;
  color: #7d918f;
  font-size: 9px;
  line-height: 1.45;
}

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

.manager-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.manager-card[data-status="available"] {
  border-color: rgba(85, 244, 225, 0.25);
}

.manager-card[data-status="available"]:hover {
  transform: translateY(-3px);
  border-color: rgba(85, 244, 225, 0.42);
}

.manager-card[data-status="busy"] {
  border-color: rgba(255, 95, 87, 0.16);
}

.manager-card__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #050a0b;
}

.manager-card__visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(transparent, rgba(4, 9, 11, 0.92));
  pointer-events: none;
}

.manager-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 220ms ease;
}

.manager-card[data-status="available"]:hover .manager-card__visual img {
  transform: scale(1.035);
}

.manager-card[data-status="busy"] .manager-card__visual img {
  filter: grayscale(0.72) brightness(0.62);
}

.manager-card__scan {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(85, 244, 225, 0.12) 50%, transparent 55%);
  transform: translateY(-100%);
  animation: manager-scan 4s ease-in-out infinite;
  pointer-events: none;
}

.manager-card__status {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #a5b8b5;
  background: rgba(4, 9, 11, 0.77);
  backdrop-filter: blur(11px);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.manager-card__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #82908e;
}

.manager-card[data-status="available"] .manager-card__status {
  color: #c9fff8;
  border-color: rgba(85, 244, 225, 0.25);
}

.manager-card[data-status="available"] .manager-card__status i {
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
}

.manager-card[data-status="busy"] .manager-card__status {
  color: #ffc4c0;
  border-color: rgba(255, 95, 87, 0.25);
}

.manager-card[data-status="busy"] .manager-card__status i {
  background: var(--danger);
  box-shadow: 0 0 9px rgba(255, 95, 87, 0.8);
}

.manager-card__content {
  padding: 15px;
}

.manager-card__content > small {
  color: #8873aa;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.manager-card__content h3 {
  margin: 4px 0 0;
  color: #edf7f5;
  font-size: 17px;
  letter-spacing: -0.035em;
}

.manager-card__content p {
  min-height: 31px;
  margin: 5px 0 13px;
  color: #718683;
  font-size: 10px;
  line-height: 1.45;
}

.manager-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(100deg, #168cc1, #35b9f1);
  box-shadow: 0 10px 25px rgba(48, 174, 232, 0.13);
  font: inherit;
  font-size: 10px;
  font-weight: 820;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.manager-contact:hover,
.manager-contact:focus-visible {
  outline: none;
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.manager-contact:disabled {
  color: #788986;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.manager-contact svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.managers-message {
  min-height: 15px;
  margin: 13px 2px 0;
  color: #758a87;
  text-align: center;
  font-size: 9px;
}

.managers-message:empty {
  min-height: 0;
  margin-top: 0;
}

.managers-message[data-state="error"] {
  color: #ff827b;
}

.managers-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: #7d908e;
  font-size: 8px;
}

.managers-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.managers-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 7px var(--cyan);
}

.managers-legend span:nth-child(2) i {
  background: var(--danger);
  box-shadow: 0 0 7px rgba(255, 95, 87, 0.8);
}

.managers-legend small {
  margin-left: auto;
  color: #526563;
  font-size: 8px;
}

@keyframes manager-scan {
  0%, 28% { transform: translateY(-110%); opacity: 0; }
  45% { opacity: 0.7; }
  68%, 100% { transform: translateY(110%); opacity: 0; }
}

.community-success__mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 21px;
  border: 1px solid rgba(85, 244, 225, 0.38);
  border-radius: 50%;
  color: #04110f;
  background: var(--cyan);
  box-shadow: 0 0 45px rgba(85, 244, 225, 0.22);
  font-size: 30px;
  font-weight: 950;
  animation: success-pop 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.community-success > small {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.community-success h2 {
  margin: 8px 0 7px;
  font-size: 24px;
}

.community-success > p {
  max-width: 470px;
  margin: 0 0 18px;
  color: #829593;
  font-size: 11px;
  line-height: 1.55;
}

.credential-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(85, 244, 225, 0.17);
  border-radius: 13px;
  background: rgba(85, 244, 225, 0.05);
}

.credential-card span,
.credential-card small,
.credential-card strong {
  display: block;
}

.credential-card small {
  color: #657a77;
  font-size: 8px;
}

.credential-card strong {
  margin-top: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.credential-card button {
  padding: 8px 10px;
  border-radius: 9px;
  color: #b9d3d0;
  background: rgba(255, 255, 255, 0.055);
  font-size: 9px;
}

@keyframes community-view-enter {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: none; }
}

@keyframes success-pop {
  from { opacity: 0; transform: scale(0.55) rotate(-18deg); }
  to { opacity: 1; transform: none; }
}

.link-transition {
  position: fixed;
  z-index: 15;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 24px;
  overflow: hidden;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 260ms ease,
    visibility 260ms ease;
}

.link-transition.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.link-transition__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(85, 244, 225, 0.16), transparent 23rem),
    rgba(2, 6, 7, 0.96);
  backdrop-filter: blur(20px);
}

.link-transition__backdrop::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 0deg, transparent, rgba(85, 244, 225, 0.06), transparent 22%);
  animation: loader-spin 3s linear infinite;
}

.link-transition__portal {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 158px;
  height: 158px;
  margin-bottom: 29px;
  transform: scale(0.65);
  transition: transform 550ms cubic-bezier(0.16, 1, 0.3, 1);
}

.link-transition.is-active .link-transition__portal {
  transform: scale(1);
}

.link-transition__portal > span {
  position: absolute;
  border: 1px solid rgba(85, 244, 225, 0.32);
  border-radius: 50%;
}

.link-transition__portal > span:nth-child(1) {
  inset: 0;
  border-top-color: var(--cyan);
  animation: loader-spin 1.8s linear infinite;
}

.link-transition__portal > span:nth-child(2) {
  inset: 12px;
  border-style: dashed;
  animation: loader-spin-reverse 4s linear infinite;
}

.link-transition__portal > span:nth-child(3) {
  inset: 25px;
  border-color: rgba(85, 244, 225, 0.12);
  box-shadow: inset 0 0 35px rgba(85, 244, 225, 0.09), 0 0 35px rgba(85, 244, 225, 0.08);
  animation: transition-ring-pulse 1s ease-in-out infinite;
}

.link-transition__icon {
  position: relative;
  z-index: 2;
  display: none;
  place-items: center;
  width: 75px;
  height: 75px;
  border-radius: 24px;
  color: #02100f;
  background: var(--cyan);
  box-shadow: 0 0 45px rgba(85, 244, 225, 0.3);
}

.link-transition__icon svg {
  width: 37px;
  height: 37px;
}

.link-transition__icon--telegram {
  background: #30aee8;
  box-shadow: 0 0 45px rgba(48, 174, 232, 0.35);
}

.link-transition__icon--telegram svg {
  fill: #fff;
}

.link-transition__icon--external svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-transition.is-telegram .link-transition__icon--telegram,
.link-transition:not(.is-telegram) .link-transition__icon--external {
  display: grid;
}

.link-transition.is-active.is-telegram .link-transition__icon--telegram svg {
  animation: telegram-launch 1.05s ease-in-out both;
}

.link-transition.is-active:not(.is-telegram) .link-transition__icon--external svg {
  animation: external-launch 900ms ease-in-out infinite;
}

.link-transition__eyebrow,
.link-transition__title,
.link-transition__note,
.link-transition__line {
  position: relative;
  z-index: 1;
}

.link-transition__eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.is-telegram .link-transition__eyebrow {
  color: #5fc9fa;
}

.link-transition__title {
  max-width: 420px;
  font-size: clamp(23px, 7vw, 34px);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.link-transition__note {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.link-transition__line {
  width: min(72vw, 280px);
  height: 2px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
}

.link-transition__line::after {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: transition-line 900ms ease-in-out infinite;
}

.toast strong {
  font-size: 12px;
}

.toast small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

@keyframes aurora-drift {
  to {
    transform: translate3d(24vw, 16vw, 0) scale(1.18);
  }
}

@keyframes scan-beam {
  0% { transform: translateX(-40%); }
  100% { transform: translateX(40%); }
}

@keyframes grid-travel {
  to { background-position: 0 44px, 0 0; }
}

@keyframes particle-rise {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.5); }
  10% { opacity: 0.65; }
  85% { opacity: 0.3; }
  100% { opacity: 0; transform: translate3d(var(--drift), -120vh, 0) scale(1.15); }
}

@keyframes panel-shine {
  0%, 35% { transform: translateX(-110%); }
  62%, 100% { transform: translateX(120%); }
}

@keyframes avatar-pulse {
  0% { opacity: 0.7; transform: scale(0.94); }
  75%, 100% { opacity: 0; transform: scale(1.13); }
}

@keyframes status-blink {
  50% { opacity: 0.4; }
}

@keyframes loader-grid {
  to { background-position: 0 46px, 46px 0; }
}

@keyframes loader-light {
  55%, 100% { transform: translateX(100%); }
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

@keyframes loader-spin-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes loader-logo {
  50% { transform: scale(1.035); filter: brightness(1.12); }
}

@keyframes logo-scan {
  0%, 100% { transform: translateY(-37px); opacity: 0.35; }
  50% { transform: translateY(37px); opacity: 1; }
}

@keyframes profile-enter {
  from { opacity: 0; transform: translateY(25px) scale(0.965); filter: blur(7px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes card-enter {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes tap-ripple {
  to { opacity: 0; transform: translate(-50%, -50%) scale(18); }
}

@keyframes telegram-pulse {
  0%, 70% { opacity: 0; transform: scale(0.94); }
  78% { opacity: 0.6; }
  100% { opacity: 0; transform: scale(1.18); }
}

@keyframes transition-ring-pulse {
  50% { transform: scale(1.07); opacity: 0.55; }
}

@keyframes telegram-launch {
  0% { transform: translate(-12px, 10px) scale(0.82); opacity: 0; }
  45% { transform: translate(0, 0) scale(1); opacity: 1; }
  80% { transform: translate(3px, -3px) scale(1.05); }
  100% { transform: translate(24px, -21px) scale(0.75); opacity: 0; }
}

@keyframes external-launch {
  50% { transform: translateX(5px); }
}

@keyframes transition-line {
  from { transform: translateX(-110%); }
  to { transform: translateX(330%); }
}

@media (max-width: 560px) {
  .page-shell {
    align-items: start;
    padding: max(12px, env(safe-area-inset-top)) 12px max(22px, env(safe-area-inset-bottom));
  }

  .profile {
    padding: 22px 15px 21px;
    border-radius: 25px;
  }

  .avatar-wrap {
    width: 108px;
    height: 108px;
  }

  .service-card {
    grid-template-columns: 43px minmax(0, 1fr) 28px;
    gap: 10px;
    min-height: 84px;
    padding: 11px 10px 11px 12px;
    border-radius: 17px;
  }

  .service-card--featured {
    min-height: 93px;
  }

  .service-card__icon {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }

  .service-card__copy strong {
    font-size: 14px;
  }

  .service-card__copy small {
    font-size: 10.5px;
  }

  .community-modal {
    place-items: end center;
    padding: 0;
  }

  .community-panel {
    width: 100%;
    max-height: 94svh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
  }

  .community-panel__header {
    padding: 14px 15px;
  }

  .community-tabs {
    top: 72px;
    padding-inline: 15px;
  }

  .community-panel__body {
    padding: 18px 14px max(26px, env(safe-area-inset-bottom));
  }

  .reviews-list,
  .field-grid--two,
  .metro-form--compact {
    grid-template-columns: 1fr;
  }

  .metro-form--compact .form-status {
    grid-column: 1;
    grid-row: auto;
  }

  .ticket-message {
    width: 92%;
  }

  .managers-panel__body {
    padding: 18px 14px max(24px, env(safe-area-inset-bottom));
  }

  .manager-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .manager-card {
    display: grid;
    grid-template-columns: 122px minmax(0, 1fr);
    min-height: 174px;
  }

  .manager-card__visual {
    height: 100%;
    aspect-ratio: auto;
  }

  .manager-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 13px;
  }

  .manager-card__content p {
    min-height: 0;
    margin-bottom: 11px;
  }

  .managers-legend {
    flex-wrap: wrap;
  }

  .managers-legend small {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 360px) {
  .page-shell {
    padding-inline: 8px;
  }

  .profile {
    padding-inline: 11px;
  }

  .profile__subtitle {
    font-size: 13px;
  }

  .service-card__copy small {
    max-width: 205px;
  }

  .creator-credit {
    grid-template-columns: 35px minmax(0, 1fr) 18px;
    padding-inline: 10px;
  }

  .creator-credit__mark {
    width: 35px;
    height: 35px;
  }

  .creator-credit__copy > span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .manager-card {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .manager-card__content {
    padding: 11px;
  }

  .manager-card__content h3 {
    font-size: 15px;
  }

  .manager-contact {
    padding-inline: 10px;
    font-size: 9px;
  }
}

/* Lightweight motion path for phones and touch devices */
@keyframes mobile-profile-enter {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 600px), (pointer: coarse) {
  .profile {
    backdrop-filter: none;
  }

  .js.page-ready .profile {
    animation: mobile-profile-enter 380ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .js.page-ready .service-card {
    animation-duration: 260ms;
    animation-timing-function: ease-out;
  }

  .js.page-ready .service-card:nth-child(1) { animation-delay: 50ms; }
  .js.page-ready .service-card:nth-child(2) { animation-delay: 85ms; }
  .js.page-ready .service-card:nth-child(3) { animation-delay: 120ms; }
  .js.page-ready .service-card:nth-child(4) { animation-delay: 155ms; }
  .js.page-ready .service-card:nth-child(5) { animation-delay: 190ms; }

  .js.page-ready .socials,
  .js.page-ready .creator-credit,
  .js.page-ready .footer-note {
    animation-duration: 280ms;
    animation-delay: 180ms;
  }

  .world__aurora {
    opacity: 0.12;
    filter: blur(48px);
  }

  .world__noise {
    opacity: 0.018;
  }

  .particle {
    box-shadow: none;
  }

  .link-transition {
    transition-duration: 140ms;
  }

  .link-transition__backdrop {
    background: radial-gradient(circle at center, rgba(48, 174, 232, 0.13), transparent 15rem), #020607;
    backdrop-filter: none;
  }

  .link-transition__backdrop::after,
  .link-transition__portal > span:nth-child(2),
  .link-transition__portal > span:nth-child(3) {
    display: none;
  }

  .link-transition__portal {
    width: 108px;
    height: 108px;
    margin-bottom: 18px;
    transform: scale(0.82);
    transition-duration: 230ms;
  }

  .link-transition__portal > span:nth-child(1) {
    animation-duration: 1.25s;
  }

  .link-transition__icon {
    width: 60px;
    height: 60px;
    border-radius: 19px;
    box-shadow: 0 0 18px rgba(85, 244, 225, 0.2);
  }

  .link-transition__icon--telegram {
    box-shadow: 0 0 18px rgba(48, 174, 232, 0.24);
  }

  .link-transition__icon svg {
    width: 29px;
    height: 29px;
  }

  .link-transition__note {
    display: none;
  }

  .link-transition__line {
    margin-top: 16px;
  }
}

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

/* Compact manager selector and creator signature */
.managers-panel {
  width: min(calc(100% - 24px), 570px);
  max-height: 85vh;
  max-height: 85svh;
  overflow-x: hidden;
  overflow-y: auto;
}

.managers-panel__body {
  padding: 16px;
}

.managers-intro {
  margin-bottom: 12px;
  padding: 10px 12px;
}

.manager-grid {
  grid-template-columns: 1fr;
  gap: 9px;
}

@media (min-width: 561px) {
  .manager-card {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 114px;
    padding: 9px;
    border-radius: 16px;
  }
}

.manager-card__visual {
  width: 94px;
  height: 94px;
  aspect-ratio: 1;
  border-radius: 13px;
}

.manager-card__visual::after {
  height: 45%;
}

.manager-card__content {
  min-width: 0;
  padding: 0;
}

.manager-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.manager-card__top > small {
  color: #8873aa;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.manager-card__status {
  position: static;
  flex: 0 0 auto;
  padding: 4px 7px;
  font-size: 7px;
}

.manager-card__content h3 {
  margin-top: 3px;
  font-size: 15px;
}

.manager-card__content p {
  min-height: 0;
  margin: 3px 0 8px;
  font-size: 9px;
}

.manager-card__actions {
  display: grid;
  gap: 5px;
}

.manager-contact {
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 9px;
}

.manager-contact svg {
  width: 16px;
  height: 16px;
}

.manager-fallback {
  min-height: 31px;
  padding: 6px 9px;
  border: 1px solid rgba(48, 174, 232, 0.2);
  border-radius: 9px;
  color: #92d9f8;
  background: rgba(48, 174, 232, 0.055);
  font: inherit;
  font-size: 8px;
  font-weight: 750;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.manager-fallback:hover,
.manager-fallback:focus-visible {
  outline: none;
  border-color: rgba(48, 174, 232, 0.42);
  background: rgba(48, 174, 232, 0.1);
}

.manager-fallback[hidden] {
  display: none;
}

.manager-card[data-status="unavailable"] {
  border-color: rgba(255, 179, 72, 0.18);
}

.manager-card[data-status="unavailable"] .manager-card__status {
  color: #ffd19a;
  border-color: rgba(255, 179, 72, 0.24);
}

.manager-card[data-status="unavailable"] .manager-card__status i {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255, 179, 72, 0.75);
}

.managers-message {
  margin-top: 9px;
}

.managers-legend {
  margin-top: 10px;
  padding-top: 9px;
}

.creator-credit,
.creator-credit:hover,
.creator-credit:focus,
.creator-credit:visited {
  color: #dce8e6;
  text-decoration: none !important;
}

.creator-credit {
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  gap: 9px;
  margin-top: 12px;
  padding: 9px 10px;
  border-radius: 13px;
}

.creator-credit__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 9px;
}

.creator-credit__copy strong {
  font-size: 10px;
}

.creator-credit__copy > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 560px) {
  .managers-modal {
    place-items: center;
    padding: 10px;
  }

  .managers-panel {
    width: calc(100% - 20px);
    max-height: 85svh;
    border: 1px solid rgba(85, 244, 225, 0.16);
    border-radius: 20px;
  }

  .managers-panel .community-panel__header {
    padding: 11px 12px;
  }

  .managers-panel__body {
    padding: 12px;
  }

  .managers-intro {
    padding: 9px 10px;
  }

  .manager-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 9px;
    min-height: 100px;
    padding: 8px;
  }

  .manager-card__visual {
    width: 76px;
    height: 76px;
    align-self: start;
  }

  .manager-card__content {
    display: block;
    padding: 0;
  }

  .manager-card__content h3 {
    font-size: 14px;
  }

  .manager-card__content p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .manager-contact {
    min-height: 34px;
    font-size: 8.5px;
  }

  .managers-legend small {
    display: none;
  }
}

@media (max-width: 360px) {
  .managers-modal {
    padding: 6px;
  }

  .managers-panel {
    width: calc(100% - 12px);
  }

  .managers-intro small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}
/* Verified buyer review helper */
.form-help { margin:-4px 0 12px; color:rgba(211,235,232,.58); font-size:12px; line-height:1.55; }
