/* HELPER Server Detail Dashboard v5 — isolated detail-page layer */

.sdd-page-root {
  color-scheme: dark;
}

body.sdd-edit-modal-open {
  overflow: hidden;
}

.sdd-shell {
  --sdd-bg: #02050d;
  --sdd-panel: rgba(6, 14, 29, .88);
  --sdd-panel-strong: rgba(4, 10, 22, .96);
  --sdd-line: rgba(58, 218, 255, .25);
  --sdd-cyan: #2ce4ff;
  --sdd-blue: #3f8dff;
  --sdd-violet: #8a53ff;
  --sdd-pink: #ff52cf;
  --sdd-green: #2be7ad;
  --sdd-gold: #ffc65d;
  --sdd-text: #f7faff;
  --sdd-muted: #91a0b7;
  --sdd-font-ui: "Segoe UI Variable Text", "Segoe UI", Inter, Arial, sans-serif;
  --sdd-font-display: "Segoe UI Variable Display", "Segoe UI", Inter, Arial, sans-serif;
  position: relative;
  isolation: isolate;
  width: min(1520px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 2.6rem 0 4.5rem;
  font-family: var(--sdd-font-ui);
}

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

.sdd-shell svg {
  width: 1.08em;
  height: 1.08em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sdd-space {
  position: fixed;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 8%, rgba(30, 203, 255, .11), transparent 31rem),
    radial-gradient(circle at 13% 42%, rgba(119, 55, 255, .10), transparent 34rem),
    linear-gradient(135deg, #02050c, #030918 53%, #020711);
}

.sdd-stars {
  position: absolute;
  inset: 0;
  opacity: .28;
  background:
    radial-gradient(circle at 12% 16%, rgba(52, 228, 255, .85) 0 1px, transparent 2px),
    radial-gradient(circle at 28% 71%, rgba(122, 79, 255, .8) 0 1px, transparent 2px),
    radial-gradient(circle at 53% 24%, rgba(255, 255, 255, .7) 0 1px, transparent 2px),
    radial-gradient(circle at 73% 57%, rgba(39, 219, 255, .9) 0 1px, transparent 2px),
    radial-gradient(circle at 91% 33%, rgba(255, 84, 207, .9) 0 1px, transparent 2px);
  background-size: 390px 310px, 520px 460px, 650px 510px, 460px 390px, 710px 620px;
  animation: sdd-stars-float 24s linear infinite;
}

.sdd-grid-plane {
  position: absolute;
  inset: 46% -18% -40%;
  opacity: .15;
  background-image:
    linear-gradient(rgba(45, 226, 255, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 226, 255, .12) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(680px) rotateX(66deg) translateY(10%);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 68%, transparent);
  animation: sdd-grid-drift 20s linear infinite;
}

.sdd-orb {
  position: absolute;
  width: 36rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(72px);
  opacity: .10;
  animation: sdd-orb-float 15s ease-in-out infinite alternate;
}

.sdd-orb.is-one {
  top: 7%;
  right: -13rem;
  background: #18d9ff;
}

.sdd-orb.is-two {
  top: 44%;
  left: -15rem;
  background: #874dff;
  animation-delay: -6s;
}

.sdd-back {
  display: inline-flex;
  align-items: center;
  gap: .52rem;
  min-height: 38px;
  margin-bottom: 1rem;
  padding: .5rem .78rem;
  border: 1px solid rgba(67, 133, 179, .24);
  border-radius: 10px;
  color: #8fa1b7;
  background: rgba(5, 13, 27, .72);
  font-size: .72rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, box-shadow .2s ease;
}

.sdd-back:hover {
  transform: translateX(-3px);
  border-color: rgba(51, 221, 255, .48);
  color: #dffaff;
  box-shadow: 0 0 20px rgba(45, 214, 255, .10);
}

.sdd-hero {
  --sdd-mx: 50%;
  --sdd-my: 50%;
  position: relative;
  min-height: 450px;
  overflow: hidden;
  border: 1px solid rgba(57, 220, 255, .44);
  border-radius: 30px;
  background: rgba(4, 11, 25, .94);
  box-shadow:
    0 38px 105px rgba(0, 0, 0, .42),
    0 0 48px rgba(43, 219, 255, .08),
    inset 0 1px rgba(255, 255, 255, .045);
  isolation: isolate;
}

.sdd-hero::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  opacity: .58;
  pointer-events: none;
  background:
    radial-gradient(circle 320px at var(--sdd-mx) var(--sdd-my), rgba(44, 227, 255, .13), transparent 68%),
    linear-gradient(132deg, transparent 0 58%, rgba(44, 226, 255, .26) 58.08%, transparent 58.32%),
    linear-gradient(153deg, transparent 0 72%, rgba(143, 75, 255, .22) 72.08%, transparent 72.32%);
}

.sdd-hero::after {
  content: "HELPER SERVER";
  position: absolute;
  z-index: 2;
  right: 4%;
  top: 10%;
  color: transparent;
  font-family: var(--sdd-font-display);
  font-size: clamp(6rem, 11vw, 12rem);
  font-weight: 700;
  letter-spacing: -.055em;
  -webkit-text-stroke: 1px rgba(92, 120, 255, .055);
  white-space: nowrap;
  pointer-events: none;
}

.sdd-shell .sd-detail-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sdd-shell .sd-detail-banner > img,
.sdd-shell .sd-detail-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .27;
  filter: saturate(.90) contrast(1.05);
}

.sdd-shell .sd-detail-fallback.is-icon {
  background-position: 74% 50%;
  background-repeat: no-repeat;
  background-size: 35%;
  filter: blur(19px) saturate(1.25);
  transform: scale(1.16);
}

.sdd-shell .sd-detail-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 17, .98) 0%, rgba(2, 7, 17, .82) 42%, rgba(3, 8, 21, .50) 74%, rgba(2, 7, 17, .82) 100%),
    linear-gradient(180deg, rgba(3, 8, 18, .16), rgba(1, 4, 12, .58));
}

.sdd-shell .sd-detail-hero-content {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 2rem;
  align-items: center;
  min-height: 450px;
  padding: 2.6rem;
}

.sdd-shell .sd-detail-hero-main {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  min-width: 0;
}

.sdd-shell .sd-detail-avatar {
  width: 220px;
  height: 220px;
  padding: 4px;
  border: 0;
  border-radius: 34px;
  object-fit: cover;
  background:
    linear-gradient(135deg, #31e9ff, #eefbff 28%, #8752ff 68%, #ff53d0);
  box-shadow:
    0 0 0 1px rgba(67, 223, 255, .34),
    0 0 34px rgba(44, 224, 255, .18),
    0 0 45px rgba(137, 82, 255, .14),
    0 24px 55px rgba(0, 0, 0, .40);
}

.sdd-shell .sd-avatar-fallback.sd-detail-avatar {
  display: grid;
  place-items: center;
  color: #dff8ff;
  font-family: var(--sdd-font-display);
  font-size: 2.2rem;
  font-weight: 800;
}

.sdd-shell .sd-detail-copy {
  gap: .82rem;
  min-width: 0;
}

.sdd-shell .sd-detail-badges {
  gap: .45rem;
}

.sdd-shell .sd-badge {
  min-height: 28px;
  padding: .38rem .64rem;
  border-color: rgba(51, 221, 255, .34);
  border-radius: 8px;
  color: #75efff;
  background: rgba(12, 88, 108, .20);
  font-size: .61rem;
  font-weight: 800;
}

.sdd-shell .sd-badge.is-owner {
  border-color: rgba(151, 101, 255, .42);
  color: #d2b8ff;
  background: rgba(75, 42, 135, .24);
}

.sdd-shell .sd-badge.is-warning {
  border-color: rgba(255, 188, 62, .42);
  color: #ffd57c;
  background: rgba(92, 62, 8, .24);
}

.sdd-shell .sd-badge.is-success {
  border-color: rgba(43, 230, 173, .38);
  color: #8ef5d2;
  background: rgba(7, 82, 65, .24);
}

.sdd-shell .sd-detail-copy h1 {
  overflow-wrap: anywhere;
  margin: .18rem 0 0;
  color: transparent;
  background: linear-gradient(92deg, #f8fbff 0%, #e7f4ff 48%, #8feaff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--sdd-font-display);
  font-size: clamp(2.45rem, 4vw, 4.45rem);
  font-weight: 800;
  line-height: .93;
  letter-spacing: -.048em;
  text-shadow: none;
}

.sdd-shell .sd-detail-summary {
  max-width: 780px;
  color: #aeb9c9;
  font-size: .98rem;
  line-height: 1.55;
}

.sdd-shell .sd-detail-meta {
  gap: .52rem;
}

.sdd-shell .sd-detail-meta .sd-badge {
  min-height: 38px;
  padding: .55rem .75rem;
  border-color: rgba(76, 119, 160, .25);
  color: #c3cedd;
  background: rgba(5, 13, 27, .73);
}

.sdd-hero-actions {
  display: grid;
  align-content: center;
  gap: .68rem;
  padding: 1rem;
  border: 1px solid rgba(56, 218, 255, .22);
  border-radius: 19px;
  background:
    radial-gradient(circle at 80% 10%, rgba(96, 74, 255, .11), transparent 10rem),
    linear-gradient(180deg, rgba(5, 17, 33, .89), rgba(3, 10, 22, .84));
  box-shadow:
    inset 0 0 32px rgba(43, 220, 255, .03),
    0 0 35px rgba(43, 220, 255, .04);
}

.sdd-shell .sd-detail-actions > * {
  width: 100%;
}

.sdd-shell .sd-primary-button,
.sdd-shell .sd-secondary-button {
  position: relative;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .58rem;
  min-height: 52px;
  border-radius: 12px;
  font-family: var(--sdd-font-display);
  font-size: .73rem;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, box-shadow .22s ease, filter .22s ease;
}

.sdd-shell .sd-primary-button {
  border-color: rgba(70, 219, 255, .56);
  color: #fff;
  background: linear-gradient(110deg, #18c5e8, #388df7 54%, #8554ff);
  box-shadow: 0 0 25px rgba(42, 208, 255, .15), inset 0 1px rgba(255, 255, 255, .15);
}

.sdd-shell .sd-secondary-button {
  border-color: rgba(105, 125, 163, .28);
  color: #b5c0d0;
  background: rgba(5, 13, 28, .82);
}

.sdd-shell .sd-primary-button:hover,
.sdd-shell .sd-secondary-button:hover {
  transform: translateY(-2px);
}

.sdd-shell .sd-primary-button:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 31px rgba(41, 209, 255, .24), 0 0 46px rgba(129, 79, 255, .15);
}

.sdd-shell .sd-secondary-button:hover {
  border-color: rgba(51, 221, 255, .46);
  color: #ecfbff;
  box-shadow: 0 0 22px rgba(44, 210, 255, .09);
}

.sdd-vote,
.sdd-vote button {
  --vote-rgb: 255, 81, 205;
  position: relative;
  z-index: 8;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: .78rem;
  width: 100%;
  min-height: 82px;
  margin: 0;
  padding: .8rem;
  border: 1px solid rgba(var(--vote-rgb), .42);
  border-radius: 15px;
  color: #f5f8ff;
  background:
    radial-gradient(circle at 12% 50%, rgba(var(--vote-rgb), .17), transparent 7rem),
    linear-gradient(112deg, rgba(38, 12, 45, .94), rgba(8, 16, 35, .94) 57%, rgba(32, 15, 58, .93));
  text-decoration: none;
  box-shadow: 0 0 25px rgba(var(--vote-rgb), .11), inset 0 1px rgba(255, 255, 255, .04);
}

form.sdd-vote {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sdd-vote button {
  cursor: pointer;
  font: inherit;
  transition: transform .18s ease, border-color .2s ease, box-shadow .22s ease, filter .22s ease;
}

.sdd-vote::before,
.sdd-vote button::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -70%;
  bottom: -70%;
  left: -58%;
  width: 36%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .52), transparent);
  transform: skewX(-18deg);
  transition: left .52s ease, opacity .22s ease;
}

.sdd-vote-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(var(--vote-rgb), .45);
  border-radius: 14px;
  color: rgb(var(--vote-rgb));
  background: radial-gradient(circle, rgba(var(--vote-rgb), .22), rgba(var(--vote-rgb), .06));
  box-shadow: 0 0 22px rgba(var(--vote-rgb), .15);
}

.sdd-vote-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  stroke: none;
}

.sdd-vote > span:last-child,
.sdd-vote button > span:last-child {
  display: grid;
  gap: .18rem;
}

.sdd-vote b {
  color: #fff;
  font-family: var(--sdd-font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
}

.sdd-vote small {
  color: #c2a9c0;
  font-size: .64rem;
  font-weight: 800;
}

.sdd-vote.is-available button:hover,
.sdd-vote.is-guest:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--vote-rgb), .82);
  filter: brightness(1.08);
  box-shadow: 0 0 33px rgba(var(--vote-rgb), .24), 0 0 48px rgba(131, 70, 255, .15);
}

.sdd-vote.is-available button:hover::before,
.sdd-vote.is-guest:hover::before {
  left: 130%;
  opacity: .7;
}

.sdd-vote.is-cooldown {
  --vote-rgb: 47, 229, 177;
  background:
    radial-gradient(circle at 12% 50%, rgba(var(--vote-rgb), .15), transparent 7rem),
    linear-gradient(112deg, rgba(6, 39, 35, .92), rgba(4, 13, 27, .92));
}

.sdd-vote.is-owner {
  --vote-rgb: 147, 109, 255;
}

.sdd-vote.is-blocked {
  --vote-rgb: 111, 128, 154;
  opacity: .78;
}

.sdd-shell .sd-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1rem;
  margin-top: 1rem;
  align-items: start;
}

.sdd-shell .sd-detail-grid main,
.sdd-shell .sd-detail-grid aside {
  gap: 1rem;
}

.sdd-shell .sd-detail-grid aside {
  position: sticky;
  top: calc(var(--sd-header-height, 80px) + 18px);
}

.sdd-panel,
.sdd-admin-panel {
  --sdd-mx: 50%;
  --sdd-my: 50%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(66, 121, 164, .24);
  border-radius: 21px;
  background:
    radial-gradient(circle 250px at var(--sdd-mx) var(--sdd-my), rgba(44, 226, 255, .055), transparent 68%),
    linear-gradient(180deg, rgba(6, 15, 30, .90), rgba(3, 10, 22, .87));
  box-shadow:
    0 20px 52px rgba(0, 0, 0, .25),
    inset 0 1px rgba(255, 255, 255, .025);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.sdd-panel::before,
.sdd-admin-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 4%;
  right: 4%;
  top: 0;
  height: 1px;
  opacity: .72;
  background: linear-gradient(90deg, transparent, #37e3ff 28%, #7867ff 64%, transparent);
  box-shadow: 0 0 12px rgba(55, 225, 255, .24);
}

.sdd-panel > *,
.sdd-admin-panel > * {
  position: relative;
  z-index: 1;
}

.sdd-shell .sd-panel,
.sdd-shell .sd-admin-panel {
  padding: 1.25rem;
}

.sdd-shell .sd-section-head {
  margin-bottom: 1rem;
}

.sdd-shell .sd-section-head .sd-kicker {
  display: inline-flex;
  align-items: center;
  gap: .46rem;
  color: #65eaff;
  font-size: .67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .075em;
}

.sdd-shell .sd-section-head h2 {
  margin-top: .38rem;
  color: #f6f9ff;
  font-family: var(--sdd-font-display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}

.sdd-shell .sd-large-text {
  color: #b1bccb;
  font-size: .92rem;
  line-height: 1.68;
}

.sdd-shell .sd-notice {
  border-color: rgba(64, 154, 192, .26);
  border-radius: 13px;
  color: #9fadc0;
  background: rgba(5, 17, 32, .72);
}

.sdd-shell .sd-count-badge {
  min-width: 34px;
  min-height: 30px;
  border-color: rgba(49, 221, 255, .42);
  color: #65eaff;
  background: rgba(10, 80, 99, .22);
}

.sdd-shell .sd-social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .58rem;
  margin-top: 1rem;
}

.sdd-shell .sdd-social-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  align-items: center;
  gap: .72rem;
  min-height: 60px;
  padding: .65rem .75rem;
  border: 1px solid rgba(81, 120, 160, .23);
  border-radius: 13px;
  color: #e7edf7;
  background: rgba(4, 12, 26, .78);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .22s ease, background .22s ease;
}

.sdd-shell .sdd-social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 222, 255, .49);
  background: rgba(7, 22, 40, .88);
  box-shadow: 0 0 22px rgba(45, 211, 255, .10), 0 0 34px rgba(126, 77, 255, .07);
}

.sdd-social-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(56, 222, 255, .30);
  border-radius: 11px;
  color: #63eaff;
  background: rgba(8, 73, 91, .20);
}

.sdd-social-copy {
  min-width: 0;
  display: grid;
  gap: .12rem;
}

.sdd-social-copy b {
  overflow: hidden;
  color: #f3f7ff;
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sdd-social-copy small {
  color: #6f7d92;
  font-size: .54rem;
}

.sdd-social-arrow {
  color: #708098;
}

.sdd-shell .sd-comment-form {
  padding: .8rem;
  border: 1px solid rgba(73, 119, 159, .22);
  border-radius: 15px;
  background: rgba(3, 10, 22, .64);
}

.sdd-shell .sd-textarea-wrap textarea {
  min-height: 112px;
  border-color: rgba(74, 119, 159, .28);
  border-radius: 13px;
  color: #edf4ff;
  background: rgba(2, 8, 18, .84);
}

.sdd-shell .sd-textarea-wrap textarea:focus {
  border-color: rgba(51, 221, 255, .55);
  box-shadow: 0 0 0 3px rgba(44, 221, 255, .07);
}

.sdd-shell .sd-comments {
  gap: .62rem;
}

.sdd-shell .sd-comment {
  padding: .9rem;
  border-color: rgba(74, 115, 154, .22);
  border-radius: 15px;
  background:
    radial-gradient(circle at 10% 0%, rgba(125, 76, 255, .07), transparent 9rem),
    rgba(4, 12, 25, .76);
  transition: transform .18s ease, border-color .18s ease, box-shadow .22s ease;
}

.sdd-shell .sd-comment:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 217, 255, .38);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .19), 0 0 22px rgba(46, 211, 255, .06);
}

.sdd-shell .sd-comment.is-pinned {
  border-color: rgba(147, 91, 255, .42);
  box-shadow: inset 0 0 28px rgba(133, 75, 255, .055);
}

.sdd-shell .sd-comment-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(132, 82, 255, .42);
  border-radius: 13px;
  color: #eee5ff;
  background: linear-gradient(135deg, rgba(64, 36, 145, .95), rgba(111, 47, 196, .92));
  box-shadow: 0 0 20px rgba(116, 69, 255, .14);
}

.sdd-shell .sd-comment-author b {
  color: #f4f7ff;
}

.sdd-shell .sd-comment-author small,
.sdd-shell .sd-comment-body {
  color: #8997aa;
}

.sdd-shell .sd-comment-expand,
.sdd-shell .sd-comment-delete,
.sdd-shell .sd-text-button {
  border-radius: 9px;
  transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .2s ease;
}

.sdd-shell .sd-comment-expand:hover,
.sdd-shell .sd-comment-delete:hover,
.sdd-shell .sd-text-button:hover {
  transform: translateY(-1px);
}

.sdd-info-card {
  border-color: rgba(51, 219, 255, .28);
}

.sdd-shell .sd-info-list {
  gap: .48rem;
}

.sdd-shell .sd-info-list > div {
  min-height: 50px;
  padding: .7rem .78rem;
  border: 1px solid rgba(79, 116, 153, .19);
  border-radius: 12px;
  background: rgba(3, 10, 22, .66);
}

.sdd-shell .sd-info-list > div > span:first-child {
  color: #7e8da2;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.sdd-shell .sd-info-list > div > b,
.sdd-shell .sd-info-list > div > span:last-child {
  color: #e5edf8;
  font-size: .72rem;
}

.sdd-shell .sd-similar-list {
  gap: .48rem;
}

.sdd-shell .sd-similar-list > a {
  min-height: 58px;
  padding: .55rem;
  border: 1px solid rgba(78, 114, 153, .18);
  border-radius: 12px;
  background: rgba(3, 10, 22, .64);
  transition: transform .18s ease, border-color .18s ease, box-shadow .2s ease;
}

.sdd-shell .sd-similar-list > a:hover {
  transform: translateX(3px);
  border-color: rgba(51, 221, 255, .40);
  box-shadow: 0 0 20px rgba(45, 211, 255, .07);
}

.sdd-shell .sd-similar-list img,
.sdd-shell .sd-similar-list > a > span {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.sdd-owner-panel {
  border-color: rgba(142, 93, 255, .32);
}

.sdd-admin-panel {
  border-color: rgba(155, 101, 255, .45);
  background:
    radial-gradient(circle at 78% -10%, rgba(132, 67, 255, .17), transparent 25rem),
    linear-gradient(180deg, rgba(10, 13, 35, .94), rgba(4, 10, 24, .91));
  box-shadow:
    0 24px 65px rgba(0, 0, 0, .31),
    0 0 42px rgba(125, 66, 255, .10),
    inset 0 1px rgba(255, 255, 255, .03);
}

.sdd-admin-panel::before {
  background: linear-gradient(90deg, transparent, #42e4ff 18%, #865eff 55%, #ff55d0 84%, transparent);
  box-shadow: 0 0 16px rgba(135, 85, 255, .38);
}

.sdd-shell .sd-admin-tabs {
  gap: .32rem;
  padding: .38rem;
  border-color: rgba(130, 98, 207, .27);
  border-radius: 14px;
  background: rgba(2, 7, 19, .62);
}

.sdd-shell .sd-admin-tab {
  min-height: 42px;
  border-radius: 10px;
  color: #9ca8bc;
  background: transparent;
  transition: transform .18s ease, color .18s ease, background .2s ease, box-shadow .22s ease;
}

.sdd-shell .sd-admin-tab:hover {
  transform: translateY(-1px);
  color: #f4f7ff;
  background: rgba(70, 86, 132, .20);
}

.sdd-shell .sd-admin-tab[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(112deg, #15c4e8, #398df8 54%, #8654ff);
  box-shadow: 0 0 24px rgba(45, 210, 255, .18), 0 0 38px rgba(130, 78, 255, .14);
}

.sdd-shell .sd-owner-grid form,
.sdd-shell .sd-admin-block,
.sdd-shell .sd-admin-list > article,
.sdd-shell .sd-admin-comment-card {
  border-color: rgba(126, 102, 186, .20);
  border-radius: 14px;
  background: rgba(3, 9, 23, .68);
}

.sdd-shell .sd-admin-actions button,
.sdd-shell .owner-request-actions button,
.sdd-shell .sd-danger-button {
  min-height: 42px;
  border-radius: 10px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .2s ease, filter .2s ease;
}

.sdd-shell .sd-admin-actions button:hover,
.sdd-shell .owner-request-actions button:hover,
.sdd-shell .sd-danger-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.sdd-shell .sd-danger-zone {
  border-color: rgba(255, 70, 102, .32);
  border-radius: 15px;
  background: rgba(62, 10, 24, .22);
}

.sdd-js [data-sd-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.sdd-js [data-sd-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .58s ease, transform .58s cubic-bezier(.2, .75, .2, 1);
}

@media (max-width: 1180px) {
  .sdd-shell .sd-detail-hero-content {
    grid-template-columns: 1fr;
  }

  .sdd-hero-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sdd-vote {
    min-height: 58px;
  }

  .sdd-shell .sd-detail-grid {
    grid-template-columns: 1fr;
  }

  .sdd-shell .sd-detail-grid aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sdd-shell {
    width: min(100% - 24px, 1520px);
    padding-top: 1.4rem;
  }

  .sdd-shell .sd-detail-hero-content {
    padding: 1.4rem;
  }

  .sdd-shell .sd-detail-hero-main {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 1.2rem;
  }

  .sdd-shell .sd-detail-avatar {
    width: 130px;
    height: 130px;
    border-radius: 25px;
  }

  .sdd-shell .sd-detail-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .sdd-hero-actions {
    grid-template-columns: 1fr;
  }

  .sdd-shell .sd-detail-grid aside {
    grid-template-columns: 1fr;
  }

  .sdd-shell .sd-social-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sdd-shell {
    width: min(100% - 16px, 1520px);
  }

  .sdd-hero {
    min-height: 0;
    border-radius: 22px;
  }

  .sdd-shell .sd-detail-hero-content {
    min-height: 0;
    padding: 1rem;
  }

  .sdd-shell .sd-detail-hero-main {
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: start;
    gap: .85rem;
  }

  .sdd-shell .sd-detail-avatar {
    width: 82px;
    height: 82px;
    border-radius: 18px;
  }

  .sdd-shell .sd-detail-copy h1 {
    font-size: clamp(1.75rem, 10vw, 2.7rem);
  }

  .sdd-shell .sd-detail-summary {
    font-size: .82rem;
  }

  .sdd-shell .sd-detail-meta {
    grid-column: 1 / -1;
  }

  .sdd-shell .sd-detail-meta .sd-badge {
    min-height: 32px;
  }

  .sdd-shell .sd-panel,
  .sdd-shell .sd-admin-panel {
    padding: .9rem;
    border-radius: 17px;
  }

  .sdd-shell .sd-comment-form {
    padding: .6rem;
  }
}

/* v5.4 — server-side report lifecycle */
.sdd-report-view-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  padding: .4rem;
  border: 1px solid rgba(87, 132, 190, .3);
  border-radius: 13px;
  background: rgba(2, 11, 27, .72);
}

.sdd-report-view-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-width: 0;
  min-height: 44px;
  padding: .65rem .8rem;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #95a5c1;
  font-size: .76rem;
  font-weight: 800;
  text-align: center;
  transition:
    color .2s ease,
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.sdd-report-view-tabs a:hover {
  color: #edf9ff;
  border-color: rgba(57, 212, 255, .3);
  background: rgba(30, 101, 153, .14);
}

.sdd-report-view-tabs a.is-active {
  color: #fff;
  border-color: rgba(112, 129, 255, .56);
  background:
    linear-gradient(
      120deg,
      rgba(22, 197, 231, .32),
      rgba(116, 80, 238, .4)
    );
  box-shadow:
    0 10px 26px rgba(39, 91, 205, .16),
    inset 0 1px rgba(255, 255, 255, .12);
}

.sdd-report-view-tabs b {
  display: inline-grid;
  min-width: 1.45rem;
  min-height: 1.45rem;
  padding: 0 .38rem;
  place-items: center;
  border: 1px solid rgba(132, 157, 211, .34);
  border-radius: 999px;
  color: #dfeaff;
  background: rgba(4, 13, 31, .72);
  font-size: .68rem;
}

.sdd-report-group {
  display: grid;
  gap: .8rem;
}

.sdd-report-group-head > div {
  min-width: 0;
}

.sdd-report-group-head small {
  display: block;
  margin-top: .22rem;
  color: #7585a3;
  font-size: .7rem;
}

.sdd-admin-report-card {
  overflow: hidden;
  overflow-wrap: anywhere;
}

.sdd-admin-report-card.is-in_review {
  border-color: rgba(52, 207, 238, .48);
  box-shadow: inset 0 1px rgba(105, 230, 255, .06);
}

.sdd-admin-report-card.is-resolved {
  border-color: rgba(55, 211, 166, .34);
}

.sdd-admin-report-card.is-dismissed {
  border-color: rgba(126, 141, 171, .3);
  background:
    linear-gradient(135deg, rgba(8, 21, 39, .88), rgba(7, 14, 29, .94));
}

.sdd-report-status.is-in_review {
  border-color: rgba(61, 215, 246, .42);
  color: #6ce5ff;
  background: rgba(31, 146, 177, .12);
}

.sdd-report-status.is-dismissed {
  border-color: rgba(135, 151, 182, .35);
  color: #aeb9cf;
  background: rgba(87, 101, 130, .12);
}

.sdd-report-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.sdd-report-people > div,
.sdd-report-note,
.sdd-report-review-meta,
.sdd-report-resolution-summary {
  min-width: 0;
  border: 1px solid rgba(91, 132, 182, .22);
  border-radius: 10px;
  background: rgba(2, 12, 27, .52);
}

.sdd-report-people > div,
.sdd-report-note {
  display: grid;
  gap: .2rem;
  padding: .7rem .8rem;
}

.sdd-report-people small,
.sdd-report-note small,
.sdd-report-review-meta small,
.sdd-report-resolution-summary small {
  color: #7687a6;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sdd-report-people b,
.sdd-report-review-meta b,
.sdd-report-resolution-summary b {
  color: #eaf5ff;
  font-size: .78rem;
}

.sdd-report-note p,
.sdd-report-resolution-summary p {
  margin: 0;
  color: #abbad1;
  font-size: .78rem;
  line-height: 1.55;
}

.sdd-report-review-meta {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem .8rem;
  border-color: rgba(52, 207, 238, .26);
  background: rgba(17, 90, 119, .1);
}

.sdd-report-review-meta > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(80, 220, 248, .3);
  border-radius: 9px;
  color: #65e1fb;
  background: rgba(36, 169, 200, .1);
}

.sdd-report-review-meta svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
}

.sdd-report-review-meta > div {
  display: grid;
  gap: .12rem;
}

.sdd-report-review-meta time {
  color: #8799b5;
  font-size: .68rem;
}

.sdd-admin-report-card .sdd-report-actions label {
  color: #b9c7dc;
  font-size: .72rem;
  font-weight: 800;
}

.sdd-admin-report-card .sdd-report-actions textarea {
  width: 100%;
  min-height: 78px;
  resize: vertical;
  padding: .7rem .8rem;
  border: 1px solid rgba(89, 136, 191, .38);
  border-radius: 9px;
  color: #edf6ff;
  background: rgba(2, 13, 29, .86);
  outline: none;
}

.sdd-admin-report-card .sdd-report-actions textarea:focus {
  border-color: rgba(44, 215, 250, .62);
  box-shadow: 0 0 0 3px rgba(41, 196, 236, .09);
}

.sdd-admin-report-card .sdd-report-actions button.is-secondary {
  border-color: rgba(126, 143, 175, .38);
  color: #c0cbe0;
  background: rgba(70, 84, 113, .16);
}

.sdd-report-delete-comment {
  display: flex;
  justify-content: flex-end;
  padding-top: .75rem;
  border-top: 1px solid rgba(102, 128, 169, .18);
}

.sdd-report-delete-comment button {
  min-height: 38px;
  padding: .58rem .78rem;
  border: 1px solid rgba(255, 65, 103, .5);
  border-radius: 9px;
  color: #ff91a6;
  background: rgba(145, 27, 56, .2);
  font-size: .7rem;
  font-weight: 800;
}

.sdd-report-delete-comment svg {
  width: .95rem;
  height: .95rem;
  margin-right: .35rem;
  fill: none;
  stroke: currentColor;
  vertical-align: -.2rem;
}

.sdd-report-resolution-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  padding: .8rem;
}

.sdd-report-resolution-summary > div {
  display: grid;
  gap: .2rem;
  min-width: 0;
}

.sdd-report-resolution-summary .is-note {
  grid-column: 1 / -1;
  padding-top: .65rem;
  border-top: 1px solid rgba(100, 130, 173, .18);
}

.sdd-report-resolution-summary time {
  color: #c4d0e3;
  font-size: .74rem;
}

.sdd-report-empty {
  display: grid;
  max-width: 520px;
  min-height: 150px;
  margin: 0 auto;
  padding: 1.25rem;
  place-items: center;
  align-content: center;
  border: 1px dashed rgba(96, 139, 194, .3);
  border-radius: 13px;
  color: #8fa0bd;
  text-align: center;
  background: rgba(3, 13, 29, .42);
}

.sdd-report-empty > span {
  color: #5ed8f4;
}

.sdd-report-empty svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
}

.sdd-report-empty b {
  margin-top: .45rem;
  color: #e9f4ff;
  font-size: .88rem;
}

.sdd-report-empty p {
  margin: .28rem 0 0;
  font-size: .74rem;
  line-height: 1.5;
}

.sdd-report-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .38rem;
  padding-top: .2rem;
}

.sdd-report-pagination a,
.sdd-report-pagination span {
  display: grid;
  min-width: 34px;
  min-height: 34px;
  padding: 0 .45rem;
  place-items: center;
  border: 1px solid rgba(89, 136, 191, .3);
  border-radius: 8px;
  color: #9fb0ca;
  background: rgba(3, 14, 31, .68);
  font-size: .72rem;
  font-weight: 800;
}

.sdd-report-pagination a:hover,
.sdd-report-pagination span[aria-current="page"] {
  border-color: rgba(56, 211, 247, .48);
  color: #fff;
  background: rgba(42, 148, 190, .16);
}

.sdd-report-pagination .is-disabled {
  opacity: .4;
}

.sdd-report-pagination i {
  color: #687996;
  font-style: normal;
}

@media (max-width: 620px) {
  .sdd-report-view-tabs {
    grid-template-columns: minmax(0, 1fr);
  }

  .sdd-report-view-tabs a {
    justify-content: space-between;
  }

  .sdd-report-group-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sdd-report-people,
  .sdd-report-resolution-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .sdd-report-resolution-summary .is-note {
    grid-column: 1;
  }

  .sdd-report-delete-comment,
  .sdd-report-delete-comment button {
    width: 100%;
  }

  .sdd-report-delete-comment button {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sdd-stars,
  .sdd-grid-plane,
  .sdd-orb {
    animation: none;
  }

  .sdd-shell *,
  .sdd-shell *::before,
  .sdd-shell *::after {
    scroll-behavior: auto;
    transition-duration: .001ms;
    animation-duration: .001ms;
    animation-iteration-count: 1;
  }

  .sdd-js [data-sd-reveal] {
    opacity: 1;
    transform: none;
  }

  .sdd-shell :is(.sdd-comment, .sdd-social-link):hover,
  .sdd-shell .sdd-social-link:hover .sdd-social-arrow {
    transform: none;
  }
}

/* v5.15 — expressive motion and network-independent system typography. */
.sdd-shell {
  --sd-font-display:
    "Segoe UI Variable Display",
    "Segoe UI Variable",
    "Segoe UI",
    system-ui,
    sans-serif;
  --sd-font-body:
    "Segoe UI Variable Text",
    "Segoe UI Variable",
    "Segoe UI",
    system-ui,
    sans-serif;
  --sd-font-ui:
    "Segoe UI Variable Text",
    "Segoe UI Variable",
    "Segoe UI",
    system-ui,
    sans-serif;
  --sd-font-mono:
    "Cascadia Code",
    "Segoe UI Mono",
    ui-monospace,
    monospace;
  --sdd-font-display: var(--sd-font-display);
  --sdd-font-ui: var(--sd-font-ui);
  font-family: var(--sd-font-body);
  font-weight: 400;
}

.sdd-shell :is(h1, h2, h3, .sdd-comment-author b, .sdd-social-copy b) {
  font-family: var(--sd-font-display);
}

.sdd-shell :is(button, input, textarea, select, .sd-badge, .sdd-category-pill, .sdd-own-label) {
  font-family: var(--sd-font-ui);
}

.sdd-shell :is(
  time,
  .sdd-vote-count,
  .sd-count-badge,
  .sdd-comments-range,
  .sdd-hero-data-list strong,
  .sdd-hero-data-list code
) {
  font-family: var(--sd-font-mono);
  font-variant-numeric: tabular-nums;
}

.sdd-shell .sdd-hero-content-column h1 {
  position: relative;
  isolation: isolate;
  max-width: 14ch;
  font-size: clamp(2.35rem, 4vw, 4.45rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.048em;
}

.sdd-shell .sdd-hero-content-column h1::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -8% -4%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 34%, rgba(138, 238, 255, .76) 48%, rgba(203, 146, 255, .62) 52%, transparent 66%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-78%) skewX(-14deg);
}

.sdd-shell .sdd-hero-content-column .sd-detail-summary {
  color: #aab9d2;
  font-size: clamp(.96rem, 1.2vw, 1.12rem);
  font-weight: 500;
  line-height: 1.58;
}

.sdd-shell .sdd-comment-body p {
  font-family: var(--sd-font-body);
  font-size: clamp(.9rem, 1.1vw, 1rem);
  font-weight: 400;
  line-height: 1.56;
}

.sdd-shell .sdd-comment-author b,
.sdd-shell .sdd-sidebar-socials .sdd-social-copy b {
  font-weight: 700;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-copy small {
  font-family: var(--sd-font-body);
  font-weight: 500;
}

.sdd-js:not(.is-motion-ready) .sdd-hero {
  opacity: 0;
  transform: translateY(12px);
}

.sdd-js.is-motion-ready .sdd-hero {
  animation: sdd-cinematic-hero .76s cubic-bezier(.2, .78, .2, 1) backwards;
}

.sdd-js.is-motion-ready .sdd-hero-avatar-column {
  animation: sdd-cinematic-avatar .7s .08s cubic-bezier(.2, .78, .2, 1) backwards;
}

.sdd-js.is-motion-ready .sdd-hero-content-column > .sd-detail-badges {
  animation: sdd-cinematic-item .62s .16s cubic-bezier(.2, .78, .2, 1) backwards;
}

.sdd-js.is-motion-ready .sdd-hero-content-column > h1 {
  animation: sdd-cinematic-item .65s .23s cubic-bezier(.2, .78, .2, 1) backwards;
}

.sdd-js.is-motion-ready .sdd-hero-content-column > h1::after {
  animation: sdd-title-sweep .82s .46s cubic-bezier(.2, .72, .2, 1) both;
}

.sdd-js.is-motion-ready .sdd-hero-content-column > .sd-detail-summary,
.sdd-js.is-motion-ready .sdd-hero-content-column > .sd-detail-meta {
  animation: sdd-cinematic-item .62s .3s cubic-bezier(.2, .78, .2, 1) backwards;
}

.sdd-js.is-motion-ready .sdd-hero-action-row {
  animation: sdd-cinematic-item .62s .38s cubic-bezier(.2, .78, .2, 1) backwards;
}

.sdd-js.is-motion-ready .sdd-hero-data-card {
  animation: sdd-cinematic-card .7s .25s cubic-bezier(.2, .78, .2, 1) backwards;
}

.sdd-hero-avatar-column {
  position: relative;
  isolation: isolate;
}

.sdd-hero-avatar-column::before,
.sdd-hero-avatar-column::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -7px;
  left: 50%;
  width: min(234px, calc(100% + 14px));
  aspect-ratio: 1;
  border-radius: 24%;
  pointer-events: none;
  transform: translateX(-50%);
}

.sdd-hero-avatar-column::before {
  padding: 2px;
  background: conic-gradient(from 0deg, transparent 4%, #35e6ff 15%, transparent 28%, #8e5dff 45%, transparent 62%, #ff56cf 75%, transparent 91%);
  filter: drop-shadow(0 0 8px rgba(80, 220, 255, .3));
  opacity: .78;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: sdd-hologram-ring 7.2s linear infinite;
}

.sdd-hero-avatar-column::after {
  z-index: 3;
  overflow: hidden;
  background: linear-gradient(112deg, transparent 28%, rgba(148, 244, 255, .38) 48%, rgba(199, 139, 255, .28) 52%, transparent 72%);
  background-size: 230% 100%;
  background-position: 180% 50%;
  mix-blend-mode: screen;
  opacity: 0;
}

.sdd-hero-avatar-column:is(:hover, :focus-within)::after {
  animation: sdd-avatar-scan .72s ease-out both;
}

.sdd-shell .sdd-hero-avatar-column .sd-detail-avatar,
.sdd-hero-vote {
  position: relative;
  z-index: 2;
}

.sdd-shell .sdd-hero-avatar-column .sd-detail-avatar:hover,
.sdd-hero:focus-within .sdd-hero-avatar-column .sd-detail-avatar {
  transform: scale(1.025);
}

.sdd-hero::before {
  background:
    radial-gradient(
      circle 420px at var(--pointer-x) var(--pointer-y),
      rgb(49 226 255 / calc(var(--pointer-opacity) * 22%)),
      rgb(133 78 255 / calc(var(--pointer-opacity) * 10%)) 46%,
      transparent 72%
    ),
    radial-gradient(circle at 24% 48%, rgba(47, 218, 255, .09), transparent 25rem),
    radial-gradient(circle at 78% 28%, rgba(133, 75, 255, .10), transparent 28rem),
    linear-gradient(132deg, transparent 0 58%, rgba(44, 226, 255, .18) 58.08%, transparent 58.32%),
    linear-gradient(153deg, transparent 0 72%, rgba(143, 75, 255, .15) 72.08%, transparent 72.32%);
  animation-duration: 18s;
}

.sdd-hero-scan {
  animation-duration: 10s;
}

.sdd-shell .sd-detail-banner-overlay {
  isolation: isolate;
}

.sdd-shell .sd-detail-banner-overlay::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .23;
  background:
    radial-gradient(circle at 18% 24%, #5cecff 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 18%, #a46dff 0 1px, transparent 1.5px),
    radial-gradient(circle at 36% 74%, #5cecff 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 68%, #ff62d3 0 1px, transparent 1.5px);
  background-size: 156px 122px, 188px 144px, 210px 166px, 242px 190px;
  animation: sdd-particles-drift 16s linear infinite;
}

.sdd-shell .sdd-hero-action-row > .sd-primary-button {
  --magnet-x: 0px;
  --magnet-y: 0px;
  --cta-x: 50%;
  --cta-y: 50%;
  --ripple-x: 50%;
  --ripple-y: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle 90px at var(--cta-x) var(--cta-y), rgba(255, 255, 255, .3), transparent 68%),
    linear-gradient(108deg, #22c9ff, #5866ff 50%, #c338ee);
  background-size: auto, 210% 100%;
  transform: translate3d(var(--magnet-x), var(--magnet-y), 0);
  animation: sdd-primary-flow 5.2s ease-in-out infinite;
}

.sdd-shell .sdd-hero-action-row > .sd-primary-button:is(:hover, :focus-visible) {
  transform: translate3d(var(--magnet-x), calc(var(--magnet-y) - 2px), 0);
  box-shadow: 0 14px 30px rgba(27, 107, 255, .24), 0 0 24px rgba(190, 54, 238, .2);
}

.sdd-shell .sdd-hero-action-row > .sd-primary-button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--ripple-x) var(--ripple-y), rgba(255, 255, 255, .5) 0, transparent 8%);
  opacity: 0;
  transform: scale(.45);
}

.sdd-shell .sdd-hero-action-row > .sd-primary-button.is-cta-rippling::after {
  animation: sdd-cta-ripple .48s ease-out both;
}

.sdd-social-panel .sd-section-head {
  position: relative;
}

.sdd-social-panel .sd-section-head::after {
  content: "";
  position: absolute;
  top: -1.15rem;
  left: -1.3rem;
  width: 62px;
  height: 3px;
  border-radius: 99px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #4ceaff 30%, #a45cff 72%, transparent);
  filter: drop-shadow(0 0 5px rgba(95, 220, 255, .58));
  offset-path: inset(-1px -1px -19rem -1px round 20px);
  animation: sdd-contact-arc 8s linear infinite;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-icon {
  position: relative;
  isolation: isolate;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-icon::before,
.sdd-shell .sdd-sidebar-socials .sdd-social-icon::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="twitch"]:is(:hover, :focus-visible) .sdd-social-icon {
  animation: sdd-social-twitch .42s cubic-bezier(.2, .8, .2, 1);
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link:is([data-sdd-social*="youtube"], [data-sdd-social*="ютуб"]):is(:hover, :focus-visible) .sdd-social-icon {
  animation: sdd-social-youtube .46s ease-out;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="discord"]:is(:hover, :focus-visible) .sdd-social-icon {
  animation: sdd-social-discord .44s ease-out;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="tiktok"]:is(:hover, :focus-visible) .sdd-social-icon {
  animation: sdd-social-tiktok .42s ease-out;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link:is([data-sdd-social*="vk"], [data-sdd-social*="вконтакте"]) .sdd-social-icon::after {
  right: 5px;
  bottom: 4px;
  left: 5px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.2);
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link:is([data-sdd-social*="vk"], [data-sdd-social*="вконтакте"]):is(:hover, :focus-visible) .sdd-social-icon::after {
  opacity: .9;
  transform: scaleX(1);
  transition: opacity .18s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link:is([data-sdd-social*="site"], [data-sdd-social*="website"], [data-sdd-social*="сайт"]) .sdd-social-icon::before {
  inset: 4px;
  border: 1px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link:is([data-sdd-social*="site"], [data-sdd-social*="website"], [data-sdd-social*="сайт"]):is(:hover, :focus-visible) .sdd-social-icon::before {
  animation: sdd-social-orbit .72s ease-out;
}

.sdd-shell .sdd-comment {
  --comment-x: 50%;
  --comment-y: 50%;
  --comment-spotlight: 0;
  background:
    radial-gradient(
      circle 180px at var(--comment-x) var(--comment-y),
      rgb(59 218 255 / calc(var(--comment-spotlight) * 15%)),
      transparent 72%
    ),
    linear-gradient(180deg, rgba(5, 15, 30, .94), rgba(3, 10, 22, .92)) padding-box,
    linear-gradient(112deg, rgba(55, 215, 255, .22), rgba(132, 78, 255, .17), rgba(55, 215, 255, .22)) border-box;
  background-size: auto, auto, 230% 100%;
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), background-position .34s ease, box-shadow .22s ease;
}

.sdd-shell .sdd-comment:hover,
.sdd-shell .sdd-comment:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(0, 0, 0, .2), 0 0 22px rgba(60, 204, 255, .07);
}

.sdd-shell .sdd-comment:hover .sdd-comment-avatar,
.sdd-shell .sdd-comment:focus-within .sdd-comment-avatar {
  animation: sdd-comment-avatar-ring .54s ease-out;
}

.sdd-shell .sdd-comment.is-own:hover::before,
.sdd-shell .sdd-comment.is-own:focus-within::before {
  animation: sdd-own-line-flow .72s ease-out;
}

.sdd-shell .sdd-vote.is-vote-confirmed .sdd-vote-icon {
  animation: sdd-vote-confirmed .48s cubic-bezier(.2, .86, .2, 1) both;
}

.sdd-shell .sdd-vote.is-vote-confirmed .sdd-vote-icon::before,
.sdd-shell .sdd-vote.is-vote-confirmed .sdd-vote-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(255, 91, 151, .75);
  border-radius: 50%;
  pointer-events: none;
  animation: sdd-vote-ring .48s ease-out both;
}

.sdd-shell .sdd-vote.is-vote-confirmed .sdd-vote-icon::after {
  inset: 50% auto auto 50%;
  width: 3px;
  height: 3px;
  border: 0;
  background: #ff80bd;
  box-shadow: 15px -9px #61eaff, -15px -7px #b67cff, 14px 10px #ff80bd, -13px 11px #61eaff;
  animation: sdd-vote-particles .46s ease-out both;
}

@keyframes sdd-cinematic-hero {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sdd-cinematic-avatar {
  from { opacity: 0; transform: translate3d(-10px, 8px, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes sdd-cinematic-item {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sdd-cinematic-card {
  from { opacity: 0; transform: translate3d(12px, 8px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes sdd-title-sweep {
  0% { opacity: 0; transform: translateX(-78%) skewX(-14deg); }
  28% { opacity: .72; }
  100% { opacity: 0; transform: translateX(78%) skewX(-14deg); }
}

@keyframes sdd-hologram-ring {
  0% { transform: translateX(-50%) rotate(0deg); opacity: .64; }
  44% { opacity: .82; }
  48% { opacity: .42; }
  52% { opacity: .88; }
  100% { transform: translateX(-50%) rotate(360deg); opacity: .64; }
}

@keyframes sdd-avatar-scan {
  0% { opacity: 0; background-position: 180% 50%; }
  35% { opacity: .52; }
  100% { opacity: 0; background-position: -80% 50%; }
}

@keyframes sdd-particles-drift {
  from { transform: translate3d(0, 0, 0); opacity: .18; }
  to { transform: translate3d(18px, -12px, 0); opacity: .28; }
}

@keyframes sdd-primary-flow {
  0%, 100% { background-position: center, 0 50%; }
  50% { background-position: center, 100% 50%; }
}

@keyframes sdd-cta-ripple {
  0% { opacity: .5; transform: scale(.45); }
  100% { opacity: 0; transform: scale(2.7); }
}

@keyframes sdd-contact-arc {
  from { offset-distance: 0%; opacity: .48; }
  50% { opacity: .92; }
  to { offset-distance: 100%; opacity: .48; }
}

@keyframes sdd-social-twitch {
  0%, 100% { transform: scale(1.04) translateY(0); }
  48% { transform: scale(1.08) translateY(-2px); }
}

@keyframes sdd-social-youtube {
  0%, 100% { transform: scale(1.04); }
  50% { transform: scale(1.12); }
}

@keyframes sdd-social-discord {
  0%, 100% { transform: scale(1.04) rotate(0); }
  42% { transform: scale(1.1) rotate(-4deg); }
  70% { transform: scale(1.07) rotate(3deg); }
}

@keyframes sdd-social-tiktok {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.04); filter: none; }
  40% { transform: translate3d(1px, -1px, 0) scale(1.08); filter: drop-shadow(-2px 0 #ff4eae) drop-shadow(2px 0 #39e8ff); }
}

@keyframes sdd-social-orbit {
  from { transform: rotate(0); opacity: .55; }
  to { transform: rotate(360deg); opacity: 1; }
}

@keyframes sdd-comment-avatar-ring {
  0% { transform: scale(.98); }
  52% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes sdd-own-line-flow {
  from { transform: translateY(-18%); opacity: .5; }
  to { transform: translateY(18%); opacity: 1; }
}

@keyframes sdd-vote-confirmed {
  0% { transform: scale(.88); }
  58% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

@keyframes sdd-vote-ring {
  from { opacity: .75; transform: scale(.72); }
  to { opacity: 0; transform: scale(1.48); }
}

@keyframes sdd-vote-particles {
  from { opacity: 1; transform: translate(-50%, -50%) scale(.55); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(1.45); }
}

@media (hover: none), (pointer: coarse) {
  .sdd-hero,
  .sdd-social-panel,
  .sdd-shell .sdd-comment {
    --pointer-opacity: 0;
    --comment-spotlight: 0;
  }

  .sdd-hero-avatar-column::before,
  .sdd-hero-avatar-column::after,
  .sdd-hero-scan,
  .sdd-shell .sd-detail-banner-overlay::after,
  .sdd-social-panel .sd-section-head::after {
    animation: none;
  }

  .sdd-shell .sdd-hero-action-row > .sd-primary-button {
    --magnet-x: 0px;
    --magnet-y: 0px;
    --cta-x: 50%;
    --cta-y: 50%;
    animation-duration: 12s;
  }

  .sdd-shell .sdd-comment:hover,
  .sdd-shell .sdd-comment:focus-within {
    transform: none;
  }
}

@media (max-width: 720px) {
  .sdd-shell .sdd-hero-content-column h1 {
    max-width: none;
    font-size: clamp(2rem, 11vw, 3.15rem);
    line-height: 1.02;
  }

  .sdd-shell .sdd-hero-content-column .sd-detail-summary {
    font-size: .96rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sdd-js:not(.is-motion-ready) .sdd-hero,
  .sdd-js [data-sd-reveal] {
    opacity: 1;
    transform: none;
  }

  .sdd-js.is-motion-ready .sdd-hero,
  .sdd-js.is-motion-ready .sdd-hero-avatar-column,
  .sdd-js.is-motion-ready .sdd-hero-content-column > *,
  .sdd-js.is-motion-ready .sdd-hero-data-card,
  .sdd-hero-avatar-column::before,
  .sdd-hero-avatar-column::after,
  .sdd-hero::before,
  .sdd-hero-scan,
  .sdd-shell .sd-detail-banner-overlay::after,
  .sdd-shell .sdd-hero-action-row > .sd-primary-button,
  .sdd-shell .sdd-hero-action-row > .sd-primary-button::after,
  .sdd-social-panel::after,
  .sdd-social-panel .sd-section-head::after,
  .sdd-shell .sdd-sidebar-socials .sdd-social-icon,
  .sdd-shell .sdd-sidebar-socials .sdd-social-icon::before,
  .sdd-shell .sdd-sidebar-socials .sdd-social-icon::after,
  .sdd-shell .sdd-comment,
  .sdd-shell .sdd-comment-avatar,
  .sdd-shell .sdd-comment.is-own::before,
  .sdd-shell .sdd-vote.is-vote-confirmed .sdd-vote-icon,
  .sdd-shell .sdd-vote.is-vote-confirmed .sdd-vote-icon::before,
  .sdd-shell .sdd-vote.is-vote-confirmed .sdd-vote-icon::after {
    animation: none;
  }

  .sdd-hero,
  .sdd-social-panel,
  .sdd-shell .sdd-comment,
  .sdd-shell .sdd-hero-action-row > .sd-primary-button {
    --pointer-opacity: 0;
    --comment-spotlight: 0;
    --magnet-x: 0px;
    --magnet-y: 0px;
    transform: none;
  }
}

@keyframes sdd-stars-float {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-76px, 40px, 0); }
}

@keyframes sdd-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 64px, 64px 0; }
}

@keyframes sdd-orb-float {
  from { transform: translate3d(-3%, -2%, 0) scale(.95); }
  to { transform: translate3d(6%, 5%, 0) scale(1.08); }
}

/* v5.1 — public layout correction and full-width service zone */
.sdd-shell {
  padding-top: 3rem;
}

.sdd-back,
#server-vote,
#admin-panel {
  scroll-margin-top: calc(var(--sd-header-height, 82px) + 24px);
}

.sdd-shell .sd-detail-hero-content {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.sdd-shell .sdd-vote > span:last-child,
.sdd-shell .sdd-vote button > span:last-child {
  display: grid;
  align-content: center;
  gap: .24rem;
  min-width: 0;
}

.sdd-shell .sdd-vote b,
.sdd-shell .sdd-vote small {
  display: block;
}

.sdd-shell .sdd-vote small {
  line-height: 1.2;
}

/* Do not allow shared legacy CSS to flatten main/aside into the outer grid. */
.sdd-shell .sdd-public-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1rem;
}

.sdd-shell .sdd-public-grid > main {
  display: flex;
  flex-direction: column;
  grid-column: 1;
  min-width: 0;
  gap: 1rem;
}

.sdd-shell .sdd-public-grid > aside {
  display: flex;
  flex-direction: column;
  grid-column: 2;
  min-width: 0;
  gap: 1rem;
}

.sdd-about .sd-section-head {
  display: block;
}

.sdd-about .sd-section-head > div {
  display: grid;
  justify-items: start;
  gap: .38rem;
}

.sdd-about .sd-section-head h2 {
  margin: 0;
  text-align: left;
}

/* Comment content remains readable even with pathological unbroken input. */
.sdd-shell .sd-comment-body,
.sdd-shell .sd-comment-body p {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sdd-shell .sd-comment-body p {
  margin: 0;
  color: #a9b5c5;
  font-size: .82rem;
  line-height: 1.58;
}

.sdd-shell .sd-comment-body.is-collapsed {
  max-height: 8.1rem;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}

.sdd-shell .sd-report {
  margin-top: .7rem;
}

.sdd-shell .sd-report > summary {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .46rem .68rem;
  border: 1px solid rgba(81, 117, 154, .25);
  border-radius: 9px;
  color: #8997aa;
  background: rgba(3, 11, 23, .72);
  font-size: .66rem;
  font-weight: 800;
  cursor: pointer;
}

.sdd-shell .sd-report[open] > summary {
  border-color: rgba(255, 173, 58, .34);
  color: #ffc771;
}

.sdd-shell .sd-report form {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(220px, 1.3fr) auto;
  gap: .55rem;
  margin-top: .55rem;
  padding: .65rem;
  border: 1px solid rgba(82, 117, 155, .21);
  border-radius: 12px;
  background: rgba(2, 8, 19, .72);
}

.sdd-shell .sd-report :is(select, input, button) {
  min-width: 0;
  min-height: 42px;
  border-radius: 9px;
}

/* Full-width administration area, based on the dashboard service-zone reference. */
.sdd-service-zone {
  position: relative;
  overflow: hidden;
  margin-top: 1.25rem;
  padding: 1.2rem;
  border: 1px solid rgba(143, 91, 255, .48);
  border-radius: 24px;
  background:
    radial-gradient(circle at 72% -15%, rgba(135, 70, 255, .20), transparent 31rem),
    radial-gradient(circle at 10% 18%, rgba(41, 218, 255, .08), transparent 22rem),
    linear-gradient(180deg, rgba(9, 12, 34, .96), rgba(4, 9, 23, .94));
  box-shadow:
    0 28px 78px rgba(0, 0, 0, .34),
    0 0 48px rgba(126, 67, 255, .12),
    inset 0 1px rgba(255, 255, 255, .035);
}

.sdd-service-zone::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 3%;
  right: 3%;
  top: 0;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, #39e3ff 18%, #805eff 54%, #ff55d0 83%, transparent);
  box-shadow:
    0 0 18px rgba(128, 84, 255, .55),
    0 0 32px rgba(47, 218, 255, .25);
}

.sdd-service-zone > * {
  position: relative;
  z-index: 1;
}

.sdd-service-zone-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: .35rem .35rem 1.05rem;
}

.sdd-service-kicker,
.sdd-service-access {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
}

.sdd-service-kicker {
  color: #c9b8ff;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.sdd-service-zone-head h2 {
  margin: .42rem 0 .3rem;
  color: #f8f6ff;
  font-family: var(--sdd-font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}

.sdd-service-zone-head p {
  margin: 0;
  color: #8e9aaf;
  font-size: .76rem;
}

.sdd-service-access {
  flex: 0 0 auto;
  min-height: 38px;
  padding: .55rem .82rem;
  border: 1px solid rgba(151, 103, 255, .39);
  border-radius: 999px;
  color: #d1baff;
  background: rgba(75, 40, 137, .25);
  font-size: .66rem;
  font-weight: 800;
}

.sdd-service-zone .sdd-admin-panel {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  padding: 1.15rem;
  border-color: rgba(112, 89, 186, .28);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(134, 89, 255, .045), transparent 42%),
    rgba(3, 10, 25, .78);
  box-shadow: inset 0 0 34px rgba(125, 70, 255, .025);
}

.sdd-service-zone .sdd-admin-panel > .sd-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.sdd-service-zone .sdd-admin-panel > .sd-section-head h2 {
  max-width: none;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  line-height: 1.05;
}

.sdd-service-zone .sd-admin-tabs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: .35rem;
  overflow: visible;
  margin-bottom: 1rem;
  padding: .38rem;
}

.sdd-service-zone .sd-admin-tab {
  min-width: 0;
  padding-inline: .55rem;
  white-space: nowrap;
}

.sdd-service-zone .sd-admin-section,
.sdd-service-zone .sd-admin-form,
.sdd-service-zone .sd-owner-grid,
.sdd-service-zone .sd-admin-list,
.sdd-service-zone .sd-admin-comment-card {
  min-width: 0;
}

.sdd-service-zone :is(input, select, textarea, button) {
  min-width: 0;
}

.sdd-service-zone .sd-owner-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sdd-service-zone .sd-admin-actions,
.sdd-service-zone .owner-request-actions {
  align-items: stretch;
}

@media (max-width: 1180px) {
  .sdd-shell .sdd-public-grid {
    grid-template-columns: 1fr;
  }

  .sdd-shell .sdd-public-grid > main,
  .sdd-shell .sdd-public-grid > aside {
    grid-column: 1;
  }

  .sdd-shell .sdd-public-grid > aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sdd-service-zone .sd-admin-tabs {
    display: flex;
    overflow-x: auto;
  }

  .sdd-service-zone .sd-admin-tab {
    flex: 0 0 auto;
    min-width: 130px;
  }
}

@media (max-width: 820px) {
  .sdd-shell {
    padding-top: 2rem;
  }

  .sdd-shell .sdd-public-grid > aside {
    grid-template-columns: 1fr;
  }

  .sdd-shell .sd-report form {
    grid-template-columns: 1fr;
  }

  .sdd-service-zone {
    padding: .85rem;
    border-radius: 19px;
  }

  .sdd-service-zone-head {
    flex-direction: column;
    gap: .85rem;
  }

  .sdd-service-zone .sd-owner-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sdd-shell {
    padding-top: 1.35rem;
  }

  .sdd-service-zone .sdd-admin-panel {
    padding: .75rem;
  }
}

/* v5.2 — premium admin dashboard matching the approved service-zone reference */
.sdd-service-zone {
  padding: 1.45rem;
  border-color: rgba(149, 93, 255, .58);
  border-radius: 27px;
  background:
    radial-gradient(circle at 66% -18%, rgba(126, 61, 255, .24), transparent 34rem),
    radial-gradient(circle at 8% 14%, rgba(39, 216, 255, .09), transparent 24rem),
    linear-gradient(180deg, rgba(10, 13, 39, .97), rgba(4, 9, 24, .96));
  box-shadow:
    0 32px 88px rgba(0, 0, 0, .39),
    0 0 58px rgba(130, 63, 255, .15),
    inset 0 1px rgba(255, 255, 255, .04);
}

.sdd-service-zone::before {
  left: 2.4%;
  right: 2.4%;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, #31e4ff 14%, #8160ff 52%, #f94eff 84%, transparent);
  box-shadow:
    0 0 18px rgba(129, 85, 255, .70),
    0 0 36px rgba(48, 220, 255, .32);
}

.sdd-service-zone-head {
  padding: .55rem .55rem 1.25rem;
}

.sdd-service-kicker {
  color: #c6b2ff;
  font-size: .72rem;
}

.sdd-service-zone-head h2 {
  margin-top: .5rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.sdd-service-zone-head p {
  color: #8492a8;
  font-size: .78rem;
}

.sdd-service-access {
  min-height: 42px;
  padding: .62rem .95rem;
  border-color: rgba(165, 104, 255, .54);
  color: #dcc8ff;
  background:
    linear-gradient(180deg, rgba(80, 40, 151, .34), rgba(44, 25, 89, .28));
  box-shadow:
    0 0 22px rgba(142, 76, 255, .13),
    inset 0 1px rgba(255, 255, 255, .05);
}

.sdd-service-zone .sdd-admin-panel {
  padding: 1.35rem;
  border-color: rgba(63, 199, 242, .30);
  border-radius: 21px;
  background:
    radial-gradient(circle at 7% 8%, rgba(40, 218, 255, .08), transparent 22rem),
    linear-gradient(180deg, rgba(4, 16, 34, .91), rgba(3, 9, 24, .91));
  box-shadow:
    inset 0 0 38px rgba(39, 213, 255, .025),
    0 0 36px rgba(40, 211, 255, .035);
}

.sdd-service-zone .sdd-admin-panel > .sd-section-head {
  align-items: center;
  margin-bottom: 1rem;
}

.sdd-service-zone .sdd-admin-panel > .sd-section-head .sd-kicker {
  color: #42e4ff;
  font-size: .69rem;
}

.sdd-service-zone .sdd-admin-panel > .sd-section-head h2 {
  margin-top: .42rem;
  font-size: clamp(1.75rem, 2.5vw, 2.45rem);
}

.sdd-service-zone .sd-admin-indicator {
  min-height: 40px;
  padding: .58rem .88rem;
  border-color: rgba(159, 103, 255, .56);
  border-radius: 999px;
  color: #e2d1ff;
  background:
    radial-gradient(circle at 20% 50%, rgba(150, 89, 255, .20), transparent 5rem),
    rgba(43, 25, 84, .42);
  box-shadow:
    0 0 22px rgba(142, 76, 255, .16),
    inset 0 1px rgba(255, 255, 255, .05);
}

/* Segmented navigation with SVG icons */
.sdd-service-zone .sdd-admin-tabs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(92, 103, 191, .34);
  border-radius: 14px;
  background: rgba(2, 7, 20, .68);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .025),
    0 0 28px rgba(100, 64, 209, .05);
}

.sdd-service-zone .sdd-admin-tabs .sd-admin-tab {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-width: 0;
  min-height: 54px;
  padding: .62rem .55rem;
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(85, 103, 156, .22);
  border-radius: 0;
  color: #a7b0c3;
  background: rgba(5, 12, 27, .62);
  font-size: .69rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    color .18s ease,
    background .22s ease,
    box-shadow .22s ease,
    transform .18s ease;
}

.sdd-service-zone .sdd-admin-tabs .sd-admin-tab:last-child {
  border-right: 0;
}

.sdd-service-zone .sdd-admin-tabs .sd-admin-tab::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(115deg, rgba(35, 220, 255, .24), rgba(54, 122, 255, .26) 54%, rgba(132, 75, 255, .30));
  transition: opacity .22s ease;
}

.sdd-service-zone .sdd-admin-tabs .sd-admin-tab:hover {
  transform: translateY(-1px);
  color: #f4f8ff;
  background: rgba(24, 40, 70, .62);
}

.sdd-service-zone .sdd-admin-tabs .sd-admin-tab:hover::before {
  opacity: .48;
}

.sdd-service-zone .sdd-admin-tabs .sd-admin-tab[aria-selected="true"] {
  color: #fff;
  background:
    linear-gradient(112deg, #16c8e7 0%, #2f94ff 50%, #765eff 100%);
  box-shadow:
    0 0 26px rgba(42, 211, 255, .24),
    0 0 42px rgba(123, 82, 255, .20),
    inset 0 1px rgba(255, 255, 255, .18);
}

.sdd-service-zone .sdd-admin-tabs .sd-admin-tab[aria-selected="true"]::before {
  opacity: 1;
}

.sdd-tab-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #aeb8ce;
}

.sdd-tab-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.sd-admin-tab[aria-selected="true"] .sdd-tab-icon {
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .34));
}

/* Section canvas */
.sdd-admin-section {
  margin-top: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(68, 125, 173, .24);
  border-radius: 17px;
  background:
    radial-gradient(circle at 7% 0%, rgba(39, 219, 255, .055), transparent 20rem),
    linear-gradient(180deg, rgba(5, 16, 32, .82), rgba(3, 9, 22, .76));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .025),
    inset 0 0 32px rgba(35, 212, 255, .018);
}

.sdd-admin-module-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}

.sdd-module-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(50, 223, 255, .46);
  border-radius: 14px;
  color: #42e6ff;
  background:
    radial-gradient(circle, rgba(39, 220, 255, .20), rgba(39, 220, 255, .045));
  box-shadow:
    0 0 22px rgba(42, 218, 255, .15),
    inset 0 1px rgba(255, 255, 255, .05);
}

.sdd-module-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.sdd-admin-module-head h3 {
  margin: 0;
  color: #f6f9ff;
  font-family: var(--sdd-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.025em;
}

.sdd-admin-module-head p {
  margin: .25rem 0 0;
  color: #8795aa;
  font-size: .72rem;
}

.sdd-admin-form {
  display: grid;
  gap: .85rem;
}

.sdd-admin-fieldset {
  min-width: 0;
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(70, 117, 162, .25);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(4, 13, 28, .78), rgba(2, 8, 20, .73));
  box-shadow: inset 0 0 30px rgba(35, 213, 255, .015);
}

.sdd-admin-grid,
.sdd-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem 1rem;
}

.sdd-control {
  display: grid;
  gap: .42rem;
  min-width: 0;
  color: #bdc7d6;
  font-size: .69rem;
  font-weight: 700;
}

.sdd-control.is-wide {
  grid-column: 1 / -1;
}

.sdd-input-shell {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid rgba(78, 119, 159, .31);
  border-radius: 11px;
  color: #8b9cb4;
  background:
    linear-gradient(180deg, rgba(5, 14, 28, .94), rgba(2, 8, 19, .92));
  transition: border-color .2s ease, box-shadow .22s ease, background .2s ease;
}

.sdd-input-shell:focus-within {
  border-color: rgba(48, 222, 255, .60);
  background:
    linear-gradient(180deg, rgba(6, 20, 36, .97), rgba(3, 10, 23, .95));
  box-shadow:
    0 0 0 3px rgba(44, 220, 255, .065),
    0 0 22px rgba(44, 220, 255, .09);
}

.sdd-input-shell > svg {
  justify-self: center;
  width: 1.08rem;
  height: 1.08rem;
}

.sdd-input-shell input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 .75rem 0 0;
  border: 0;
  outline: 0;
  color: #e8eff9;
  background: transparent;
  font: inherit;
}

.sdd-control > textarea {
  width: 100%;
  min-height: 90px;
  padding: .75rem .85rem;
  border: 1px solid rgba(78, 119, 159, .31);
  border-radius: 11px;
  outline: 0;
  color: #e8eff9;
  background:
    linear-gradient(180deg, rgba(5, 14, 28, .94), rgba(2, 8, 19, .92));
  resize: vertical;
}

.sdd-control > textarea:focus {
  border-color: rgba(48, 222, 255, .60);
  box-shadow:
    0 0 0 3px rgba(44, 220, 255, .065),
    0 0 22px rgba(44, 220, 255, .09);
}

.sdd-toggle-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  min-height: 86px;
  padding: .85rem 1rem;
  border: 1px solid rgba(77, 118, 160, .29);
  border-radius: 13px;
  background:
    radial-gradient(circle at 8% 50%, rgba(39, 220, 255, .08), transparent 8rem),
    linear-gradient(180deg, rgba(5, 15, 30, .91), rgba(3, 9, 21, .89));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .025),
    inset 0 0 28px rgba(41, 212, 255, .02);
}

.sdd-toggle-card.is-status {
  --toggle-rgb: 163, 77, 255;
  background:
    radial-gradient(circle at 8% 50%, rgba(var(--toggle-rgb), .13), transparent 8rem),
    linear-gradient(180deg, rgba(13, 11, 35, .92), rgba(4, 9, 22, .90));
}

.sdd-toggle-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(45, 225, 255, .54);
  border-radius: 50%;
  color: #36e4ff;
  background:
    radial-gradient(circle, rgba(39, 220, 255, .20), rgba(39, 220, 255, .04));
  box-shadow:
    0 0 22px rgba(43, 220, 255, .19),
    inset 0 0 14px rgba(43, 220, 255, .08);
}

.is-status .sdd-toggle-icon {
  border-color: rgba(177, 75, 255, .58);
  color: #c064ff;
  background:
    radial-gradient(circle, rgba(164, 72, 255, .24), rgba(164, 72, 255, .05));
  box-shadow:
    0 0 23px rgba(162, 72, 255, .22),
    inset 0 0 14px rgba(162, 72, 255, .08);
}

.sdd-toggle-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.sdd-toggle-copy {
  display: grid;
  gap: .22rem;
  min-width: 0;
}

.sdd-toggle-copy b {
  color: #f4f7ff;
  font-size: .82rem;
}

.sdd-toggle-copy small {
  color: #8391a6;
  font-size: .65rem;
  line-height: 1.35;
}

.sdd-switch {
  position: relative;
  display: block;
  width: 56px;
  height: 30px;
}

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

.sdd-switch i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(89, 117, 154, .55);
  border-radius: 999px;
  background: rgba(8, 17, 33, .92);
  box-shadow: inset 0 0 14px rgba(0, 0, 0, .38);
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.sdd-switch i::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f1f4fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), background .22s ease, box-shadow .22s ease;
}

.sdd-switch input:checked + i {
  border-color: rgba(42, 225, 255, .82);
  background: linear-gradient(90deg, rgba(16, 131, 199, .92), rgba(62, 100, 244, .94));
  box-shadow:
    0 0 18px rgba(42, 220, 255, .22),
    inset 0 0 12px rgba(42, 220, 255, .12);
}

.sdd-switch input:checked + i::after {
  transform: translateX(26px);
  background: #fff;
  box-shadow:
    0 0 12px rgba(58, 229, 255, .65),
    0 2px 8px rgba(0, 0, 0, .30);
}

.sdd-status-pill {
  flex: 0 0 auto;
  min-height: 30px;
  padding: .46rem .68rem;
  border: 1px solid rgba(168, 86, 255, .45);
  border-radius: 999px;
  color: #d1a6ff;
  background: rgba(77, 31, 130, .30);
  font-size: .62rem;
  font-weight: 800;
  white-space: nowrap;
}

.sdd-status-pill.is-active {
  border-color: rgba(44, 228, 177, .45);
  color: #8ef5d3;
  background: rgba(6, 86, 66, .27);
}

.sdd-status-pill.is-scheduled {
  border-color: rgba(46, 212, 255, .45);
  color: #82ebff;
  background: rgba(7, 77, 100, .28);
}

.sdd-status-pill.is-expired {
  border-color: rgba(255, 103, 124, .42);
  color: #ff9bab;
  background: rgba(107, 25, 42, .28);
}

/* Information and state strips */
.sdd-admin-info {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  min-height: 62px;
  margin-bottom: 1rem;
  padding: .7rem .85rem;
  border: 1px solid rgba(47, 216, 255, .30);
  border-radius: 12px;
  background:
    linear-gradient(100deg, rgba(5, 78, 102, .16), rgba(37, 34, 111, .15) 55%, rgba(109, 31, 147, .15));
}

.sdd-admin-info.is-gradient {
  margin: 1rem 0 0;
  border-color: rgba(103, 86, 255, .47);
  background:
    linear-gradient(100deg, rgba(2, 112, 148, .20), rgba(36, 45, 139, .20) 52%, rgba(104, 34, 151, .21));
  box-shadow: inset 0 0 24px rgba(68, 101, 255, .04);
}

.sdd-admin-info > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(48, 220, 255, .42);
  border-radius: 50%;
  color: #4ce8ff;
  background: rgba(8, 80, 103, .22);
}

.sdd-admin-info b {
  display: block;
  color: #eaf3ff;
  font-size: .75rem;
}

.sdd-admin-info small {
  display: block;
  margin-top: .18rem;
  color: #8795aa;
  font-size: .65rem;
}

.sdd-state-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(44, 222, 255, .38);
  border-radius: 50%;
  color: #40e4ff;
  background: rgba(8, 75, 95, .20);
  box-shadow: 0 0 18px rgba(42, 218, 255, .11);
}

/* Primary save action */
.sdd-service-zone .sdd-save-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 58px;
  border-color: rgba(60, 224, 255, .68);
  border-radius: 11px;
  color: #fff;
  background:
    linear-gradient(105deg, #16cbe3 0%, #318ffc 48%, #765fff 74%, #b51af4 100%);
  font-family: var(--sdd-font-display);
  font-size: .88rem;
  font-weight: 800;
  box-shadow:
    0 0 28px rgba(40, 211, 255, .18),
    0 0 45px rgba(126, 80, 255, .14),
    inset 0 1px rgba(255, 255, 255, .20);
}

.sdd-service-zone .sdd-save-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -80%;
  bottom: -80%;
  left: -40%;
  width: 28%;
  opacity: .42;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .58), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
}

.sdd-service-zone .sdd-save-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 0 34px rgba(42, 218, 255, .27),
    0 0 58px rgba(129, 79, 255, .21),
    inset 0 1px rgba(255, 255, 255, .22);
}

.sdd-service-zone .sdd-save-button:hover::before {
  left: 125%;
}

/* Bring legacy general/comments/report forms into the same system. */
.sdd-admin-section > h3 {
  margin: 0 0 .85rem;
  color: #f4f7ff;
  font-family: var(--sdd-font-display);
  font-size: 1.2rem;
}

.sdd-service-zone .sd-admin-form fieldset:not(.sdd-admin-fieldset),
.sdd-service-zone .sd-admin-block,
.sdd-service-zone .sd-admin-list > article {
  border-color: rgba(74, 116, 158, .24);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(5, 14, 29, .78), rgba(3, 9, 21, .74));
}

.sdd-service-zone .sd-admin-form fieldset:not(.sdd-admin-fieldset) {
  padding: 1rem;
}

.sdd-service-zone .sd-admin-form :is(input, select, textarea),
.sdd-service-zone .sd-admin-actions :is(input, select),
.sdd-service-zone .owner-request-actions :is(input, select),
.sdd-service-zone .sd-inline-form :is(input, select, textarea) {
  border-color: rgba(77, 119, 160, .30);
  border-radius: 10px;
  color: #e7eef8;
  background: rgba(2, 8, 19, .86);
}

.sdd-service-zone .sd-admin-form :is(input, select, textarea):focus,
.sdd-service-zone .sd-admin-actions :is(input, select):focus,
.sdd-service-zone .owner-request-actions :is(input, select):focus,
.sdd-service-zone .sd-inline-form :is(input, select, textarea):focus {
  border-color: rgba(47, 222, 255, .58);
  box-shadow: 0 0 0 3px rgba(44, 220, 255, .06);
}

@media (max-width: 1180px) {
  .sdd-service-zone .sdd-admin-tabs {
    display: flex;
    overflow-x: auto;
  }

  .sdd-service-zone .sdd-admin-tabs .sd-admin-tab {
    flex: 0 0 150px;
    border-right: 1px solid rgba(85, 103, 156, .22);
  }
}

@media (max-width: 820px) {
  .sdd-service-zone {
    padding: .9rem;
  }

  .sdd-service-zone .sdd-admin-panel {
    padding: .85rem;
  }

  .sdd-admin-grid,
  .sdd-link-grid {
    grid-template-columns: 1fr;
  }

  .sdd-control.is-wide {
    grid-column: 1;
  }

  .sdd-toggle-card {
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }

}

@media (max-width: 560px) {
  .sdd-service-zone-head h2 {
    font-size: 1.75rem;
  }

  .sdd-service-zone .sdd-admin-panel > .sd-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sdd-toggle-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .sdd-switch,
  .sdd-status-pill {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .sdd-admin-fieldset {
    padding: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sdd-service-zone .sd-admin-tab,
  .sdd-switch i,
  .sdd-switch i::after,
  .sdd-save-button {
    transition: none;
  }

  .sdd-save-button::before {
    display: none;
  }
}

/* v5.3 — contacts moved into the right server-data column */
.sdd-shell .sdd-public-grid {
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 1rem;
}

.sdd-shell .sdd-public-grid.is-single-column {
  grid-template-columns: minmax(0, 1fr);
}

.sdd-shell .sdd-public-grid.is-single-column > aside {
  display: none;
}

.sdd-shell .sdd-public-grid > main {
  grid-column: 1;
}

.sdd-shell .sdd-public-grid > aside {
  grid-column: 2;
}

/* The right column follows the reference: contacts first, system data below. */
.sdd-social-panel {
  border-color: rgba(157, 89, 255, .44);
  background:
    radial-gradient(circle at 82% 4%, rgba(142, 72, 255, .15), transparent 15rem),
    radial-gradient(circle at 9% 16%, rgba(44, 220, 255, .07), transparent 12rem),
    linear-gradient(180deg, rgba(9, 13, 36, .93), rgba(4, 10, 24, .91));
  box-shadow:
    0 22px 58px rgba(0, 0, 0, .27),
    0 0 34px rgba(134, 72, 255, .10),
    inset 0 1px rgba(255, 255, 255, .03);
}

.sdd-social-panel::before {
  background:
    linear-gradient(90deg, transparent, #36e2ff 18%, #8660ff 57%, #f052ff 84%, transparent);
  box-shadow:
    0 0 14px rgba(132, 77, 255, .38),
    0 0 22px rgba(50, 217, 255, .18);
}

.sdd-social-panel .sd-section-head {
  margin-bottom: .85rem;
}

.sdd-social-panel .sd-section-head h2 {
  font-size: clamp(1.35rem, 1.8vw, 1.72rem);
  line-height: 1.05;
}

.sdd-shell .sdd-sidebar-socials {
  display: grid;
  grid-template-columns: 1fr;
  gap: .58rem;
  margin-top: 0;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link {
  --sdd-social-accent: 89, 104, 255;
  min-height: 64px;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  border-color: rgba(104, 100, 184, .32);
  background:
    linear-gradient(180deg, rgba(12, 18, 42, .90), rgba(5, 11, 27, .88));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .025);
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link:hover,
.sdd-shell .sdd-sidebar-socials .sdd-social-link:focus-visible {
  transform: translateX(3px);
  border-color: rgba(var(--sdd-social-accent), .62);
  background:
    linear-gradient(105deg, rgba(14, 31, 57, .94), rgba(24, 18, 58, .94));
  box-shadow:
    0 0 24px rgba(var(--sdd-social-accent), .12),
    0 0 34px rgba(var(--sdd-social-accent), .09),
    inset 0 1px rgba(255, 255, 255, .04);
}

.sdd-shell .sdd-sidebar-socials .sdd-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-copy b {
  font-size: .76rem;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-copy small {
  font-size: .56rem;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-arrow {
  transition: transform .18s ease, color .18s ease;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link:hover .sdd-social-arrow,
.sdd-shell .sdd-sidebar-socials .sdd-social-link:focus-visible .sdd-social-arrow {
  transform: translateX(3px);
  color: #c8dcff;
}

/* Brand accents while retaining the common HELPER visual language. */
.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="discord"] {
  --sdd-social-accent: 88, 101, 242;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="twitch"] {
  --sdd-social-accent: 145, 70, 255;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="youtube"] {
  --sdd-social-accent: 255, 58, 73;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="ютуб"] {
  --sdd-social-accent: 255, 58, 73;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="tiktok"] {
  --sdd-social-accent: 52, 220, 236;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="vk"] {
  --sdd-social-accent: 54, 149, 255;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="вконтакте"] {
  --sdd-social-accent: 54, 149, 255;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="site"],
.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="website"],
.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="сайт"] {
  --sdd-social-accent: 45, 223, 255;
}

.sdd-social-link[data-sdd-social*="discord"] .sdd-social-icon {
  border-color: rgba(112, 127, 255, .48);
  color: #dbe0ff;
  background: linear-gradient(135deg, rgba(73, 91, 224, .92), rgba(98, 73, 210, .88));
}

.sdd-social-link[data-sdd-social*="twitch"] .sdd-social-icon {
  border-color: rgba(174, 83, 255, .52);
  color: #fff;
  background: linear-gradient(135deg, rgba(113, 46, 205, .95), rgba(157, 64, 244, .88));
}

.sdd-social-link[data-sdd-social*="youtube"] .sdd-social-icon,
.sdd-social-link[data-sdd-social*="ютуб"] .sdd-social-icon {
  border-color: rgba(255, 73, 88, .52);
  color: #fff;
  background: linear-gradient(135deg, rgba(209, 27, 46, .96), rgba(255, 54, 68, .90));
}

.sdd-social-link[data-sdd-social*="tiktok"] .sdd-social-icon {
  border-color: rgba(52, 229, 255, .48);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 12, 22, .98), rgba(16, 20, 35, .96));
  box-shadow:
    -3px 0 12px rgba(39, 231, 255, .20),
    3px 0 12px rgba(255, 61, 143, .18);
}

.sdd-social-link[data-sdd-social*="vk"] .sdd-social-icon,
.sdd-social-link[data-sdd-social*="вконтакте"] .sdd-social-icon {
  border-color: rgba(57, 161, 255, .52);
  color: #fff;
  background: linear-gradient(135deg, rgba(22, 113, 218, .96), rgba(51, 153, 255, .90));
}

.sdd-social-link[data-sdd-social*="сайт"] .sdd-social-icon,
.sdd-social-link[data-sdd-social*="site"] .sdd-social-icon,
.sdd-social-link[data-sdd-social*="website"] .sdd-social-icon {
  border-color: rgba(45, 223, 255, .52);
  color: #54eaff;
  background: rgba(7, 73, 94, .32);
}

/* Server data visually connects to the contact panel. */
.sdd-info-card {
  border-color: rgba(43, 218, 255, .31);
  background:
    radial-gradient(circle at 84% 5%, rgba(39, 216, 255, .10), transparent 13rem),
    linear-gradient(180deg, rgba(5, 17, 32, .91), rgba(3, 10, 22, .89));
}

.sdd-shell .sdd-info-card .sd-info-list > div {
  min-height: 54px;
}

@media (max-width: 1180px) {
  .sdd-shell .sdd-public-grid {
    grid-template-columns: 1fr;
  }

  .sdd-shell .sdd-public-grid > main,
  .sdd-shell .sdd-public-grid > aside {
    grid-column: 1;
  }

  .sdd-shell .sdd-public-grid > aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }

  .sdd-social-panel {
    grid-column: 1;
  }

  .sdd-info-card {
    grid-column: 2;
  }

  .sdd-similar-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .sdd-shell .sdd-public-grid > aside {
    grid-template-columns: 1fr;
  }

  .sdd-social-panel,
  .sdd-info-card,
  .sdd-similar-panel {
    grid-column: 1;
  }
}

/* v5.4 — compact comments matching the approved reference */
.sdd-comments-panel {
  padding: 1.05rem;
  border-color: rgba(72, 119, 171, .29);
  background:
    radial-gradient(circle at 90% 0%, rgba(120, 72, 255, .09), transparent 20rem),
    linear-gradient(180deg, rgba(5, 14, 29, .93), rgba(3, 9, 21, .91));
}

.sdd-comments-panel::before {
  background:
    linear-gradient(90deg, transparent, #39e2ff 18%, #7f61ff 58%, #ed53ff 84%, transparent);
}

.sdd-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  margin-bottom: .75rem;
  padding: 0 .15rem;
}

.sdd-comments-title {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.sdd-comments-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: #b06cff;
  filter: drop-shadow(0 0 10px rgba(160, 81, 255, .32));
}

.sdd-comments-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.sdd-comments-title h2 {
  margin: 0;
  color: #f7f8ff;
  font-family: var(--sdd-font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -.025em;
}

.sdd-comments-title .sd-count-badge {
  min-width: 28px;
  min-height: 25px;
  padding: .2rem .46rem;
  border-color: rgba(122, 87, 255, .34);
  color: #d2c1ff;
  background: rgba(72, 43, 132, .28);
  font-size: .65rem;
}

.sdd-comments-note {
  color: #69778c;
  font-size: .62rem;
}

.sdd-comments-list {
  display: grid;
  gap: .58rem;
}

.sdd-shell .sdd-comment {
  position: relative;
  z-index: 0;
  padding: .72rem .78rem;
  border-color: rgba(74, 108, 153, .24);
  border-radius: 13px;
  background:
    radial-gradient(circle at 8% 0%, rgba(111, 64, 255, .075), transparent 9rem),
    linear-gradient(180deg, rgba(6, 15, 30, .86), rgba(3, 10, 22, .82));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .02),
    0 9px 24px rgba(0, 0, 0, .12);
  transition: transform .19s ease, border-color .19s ease, background .19s ease, box-shadow .19s ease;
}

.sdd-shell .sdd-comment:hover {
  transform: translateY(-1px);
  border-color: rgba(76, 178, 222, .42);
  background:
    radial-gradient(circle at 8% 0%, rgba(111, 64, 255, .095), transparent 9rem),
    linear-gradient(180deg, rgba(8, 18, 35, .9), rgba(4, 11, 25, .86));
  box-shadow:
    0 13px 30px rgba(0, 0, 0, .17),
    0 0 19px rgba(75, 161, 255, .07);
}

.sdd-js .sdd-shell .sdd-comments-panel[data-sd-reveal].is-visible {
  transform: none;
}

.sdd-shell .sdd-comment.is-pinned {
  border-color: rgba(168, 76, 255, .43);
  background:
    radial-gradient(circle at 7% 0%, rgba(142, 68, 255, .13), transparent 10rem),
    linear-gradient(180deg, rgba(9, 14, 34, .90), rgba(4, 10, 24, .87));
  box-shadow:
    inset 0 0 27px rgba(140, 72, 255, .04),
    0 0 22px rgba(135, 69, 255, .055);
}

.sdd-shell .sdd-comment.is-own {
  border-color: rgba(72, 190, 228, .33);
  background:
    radial-gradient(circle at 8% 0%, rgba(50, 210, 255, .075), transparent 10rem),
    radial-gradient(circle at 86% 8%, rgba(126, 74, 255, .065), transparent 11rem),
    linear-gradient(180deg, rgba(6, 17, 33, .9), rgba(3, 10, 23, .84));
  box-shadow:
    inset 0 0 24px rgba(68, 205, 255, .025),
    0 9px 24px rgba(0, 0, 0, .12);
}

.sdd-shell .sdd-comment .sdd-comment-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: .62rem;
  margin-bottom: 0;
}

.sdd-shell .sdd-comment-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-color: rgba(135, 79, 255, .52);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .13), transparent 30%),
    linear-gradient(135deg, #3e2b99, #7431bd 58%, #1d69b7);
  box-shadow:
    0 0 17px rgba(114, 70, 255, .18),
    inset 0 1px rgba(255, 255, 255, .08);
}

.sdd-shell .sdd-comment-avatar i {
  position: absolute;
  right: -1px;
  bottom: 1px;
  width: 9px;
  height: 9px;
  border: 2px solid #06101f;
  border-radius: 50%;
  background: #31e7a6;
  box-shadow: 0 0 9px rgba(49, 231, 166, .62);
}

.sdd-comment-author {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: .65rem;
}

.sdd-shell .sdd-comment-author b {
  color: #f5f7ff;
  font-size: .76rem;
  line-height: 1.15;
}

.sdd-shell .sdd-comment-author small {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  color: #77869c;
  font-size: .57rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sdd-own-label {
  align-self: center;
  padding: .16rem .4rem;
  border: 1px solid rgba(74, 205, 238, .26);
  border-radius: 999px;
  color: #82dff3;
  background: rgba(15, 72, 91, .22);
  font-size: .5rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.sdd-comment-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: .42rem;
  min-height: 30px;
}

.sdd-pinned {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 28px;
  padding: .38rem .58rem;
  border: 1px solid rgba(255, 77, 207, .42);
  border-radius: 8px;
  color: #ff94de;
  background: rgba(112, 22, 89, .25);
  font-size: .56rem;
  font-weight: 800;
}

.sdd-pinned svg {
  width: .8rem;
  height: .8rem;
}

.sdd-comment-delete-form {
  margin: 0;
}

.sdd-shell .sdd-comment-action-button {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-height: 30px;
  margin: 0;
  padding: .38rem .58rem;
  border: 1px solid rgba(150, 91, 255, .34);
  border-radius: 8px;
  color: #c5a8ff;
  background: rgba(62, 36, 111, .22);
  font-size: .57rem;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .2s ease;
}

.sdd-shell .sdd-comment-action-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 74, 112, .48);
  color: #ff91a7;
  box-shadow: 0 0 17px rgba(255, 63, 103, .09);
}

.sdd-comment-action-button svg {
  width: .82rem;
  height: .82rem;
}

.sdd-comment-menu {
  position: relative;
  z-index: auto;
  margin: 0;
}

.sdd-shell .sdd-comment.is-menu-open {
  z-index: 110;
}

.sdd-shell .sdd-comment-menu > summary {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  min-height: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #748198;
  background: transparent;
  list-style: none;
  cursor: pointer;
}

.sdd-comment-menu > summary::-webkit-details-marker {
  display: none;
}

.sdd-shell .sdd-comment-menu > summary:hover,
.sdd-shell .sdd-comment-menu[open] > summary {
  border-color: rgba(113, 97, 191, .34);
  color: #d7c9ff;
  background: rgba(55, 39, 97, .24);
}

.sdd-comment-menu > summary svg {
  width: 1rem;
  height: 1rem;
}

.sdd-report-popover {
  position: fixed;
  z-index: 120;
  top: 0;
  right: auto;
  left: 0;
  width: min(330px, calc(100vw - 42px));
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  padding: .68rem;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(137, 92, 220, .38);
  border-radius: 12px;
  background:
    radial-gradient(circle at 90% 0%, rgba(128, 67, 255, .13), transparent 10rem),
    #040a18;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, .52),
    0 0 25px rgba(128, 70, 255, .10);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sdd-comment-menu[open] .sdd-report-popover.is-positioned {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sdd-report-title {
  display: flex;
  align-items: center;
  gap: .42rem;
  margin-bottom: .55rem;
  color: #d9c9ff;
  font-size: .67rem;
  font-weight: 800;
}

.sdd-shell .sdd-report-popover form {
  display: grid;
  grid-template-columns: 1fr;
  gap: .46rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.sdd-shell .sdd-report-popover :is(select, input, button) {
  min-height: 39px;
  width: 100%;
  border-radius: 8px;
}

.sdd-comment-body {
  margin: .38rem 0 0 3.28rem;
  line-height: 1.38;
}

.sdd-shell .sdd-comment-body p {
  margin: 0;
  color: #b0bac9;
  font-size: .69rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
}

.sdd-shell .sdd-comment-body.is-collapsed {
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 64%, transparent);
}

.sdd-shell .sdd-comment-expand {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 27px;
  margin: .42rem 0 0 3.28rem;
  padding: .3rem .58rem;
  border: 1px solid rgba(93, 111, 166, .29);
  border-radius: 7px;
  color: #aeb9cb;
  background: rgba(6, 14, 29, .72);
  font-size: .56rem;
  font-weight: 800;
}

.sdd-comment-expand::after {
  content: "⌄";
  color: #8b78cf;
  font-size: .75rem;
  line-height: 1;
  transition: transform .18s ease;
}

.sdd-comment-expand[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.sdd-comments-empty {
  min-height: 105px;
  border-radius: 12px;
}

.sdd-comments-pagination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .72rem;
  margin-top: .72rem;
  padding: .62rem .7rem;
  border: 1px solid rgba(72, 106, 160, .24);
  border-radius: 11px;
  background: rgba(3, 11, 25, .76);
}

.sdd-comments-pagination > p,
.sdd-comments-range {
  margin: 0;
  color: #7f8da5;
  font-size: .64rem;
  line-height: 1.4;
}

.sdd-comments-range {
  margin-top: .58rem;
  text-align: right;
}

.sdd-comments-pagination nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .28rem;
  min-width: 0;
}

.sdd-comments-pagination nav :is(a, span) {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 .42rem;
  border: 1px solid rgba(81, 108, 158, .24);
  border-radius: 8px;
  color: #a7b3c7;
  background: rgba(7, 17, 34, .76);
  font-size: .61rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.sdd-comments-pagination nav a:hover,
.sdd-comments-pagination nav a:focus-visible {
  border-color: rgba(48, 219, 255, .48);
  color: #edf8ff;
  background: rgba(21, 57, 88, .82);
  box-shadow: 0 0 17px rgba(47, 211, 255, .11);
  outline: none;
}

.sdd-comments-pagination nav [aria-current="page"] {
  border-color: rgba(70, 221, 255, .72);
  color: #fff;
  background: linear-gradient(135deg, #1bcde9, #3b8cff 55%, #7955ff);
  box-shadow: 0 0 19px rgba(58, 173, 255, .22);
}

.sdd-comments-pagination nav .is-direction {
  min-width: 64px;
}

.sdd-comments-pagination nav .is-disabled {
  cursor: default;
  opacity: .42;
}

.sdd-comments-pagination nav i {
  flex: 0 0 auto;
  padding: 0 .15rem;
  color: #65718a;
  font-size: .72rem;
  font-style: normal;
}

@media (max-width: 560px) {
  .sdd-comments-pagination {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .sdd-comments-pagination > p {
    text-align: center;
  }

  .sdd-comments-pagination nav {
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    padding-bottom: .15rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }
}

/* Compact one-line composer at the bottom. */
.sdd-shell .sdd-comment-composer {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 42px;
  align-items: end;
  gap: .55rem;
  margin-top: .68rem;
  padding: .55rem;
  border-color: rgba(72, 105, 154, .27);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(5, 14, 29, .91), rgba(3, 9, 21, .89));
}

.sdd-composer-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(53, 218, 255, .32);
  border-radius: 50%;
  color: #4de7ff;
  background:
    radial-gradient(circle, rgba(43, 218, 255, .14), rgba(43, 218, 255, .035));
}

.sdd-composer-input {
  min-width: 0;
  position: relative;
}

.sdd-shell .sdd-composer-input textarea {
  display: block;
  width: 100%;
  min-height: 40px;
  max-height: 118px;
  padding: .68rem 3.8rem .56rem .72rem;
  overflow-y: auto;
  border: 1px solid rgba(70, 105, 151, .24);
  border-radius: 10px;
  color: #edf3fd;
  background: rgba(2, 8, 18, .70);
  font-size: .69rem;
  line-height: 1.38;
  resize: none;
}

.sdd-shell .sdd-composer-input textarea:focus {
  border-color: rgba(48, 219, 255, .48);
  box-shadow: 0 0 0 3px rgba(44, 219, 255, .055);
}

.sdd-shell .sdd-composer-input .sd-counter {
  right: .55rem;
  bottom: .43rem;
  color: #59677b;
  font-size: .5rem;
}

.sdd-shell .sdd-comment-send {
  display: grid;
  place-items: center;
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 10px;
  color: #bdefff;
  background: rgba(9, 32, 57, .85);
}

.sdd-shell .sdd-comment-send:hover {
  color: #fff;
  background: linear-gradient(135deg, #19c7e7, #4c8dff 58%, #855aff);
}

.sdd-comment-send svg {
  width: 1.2rem;
  height: 1.2rem;
}

.sdd-comment-notice {
  margin-top: .68rem;
}

@media (max-width: 720px) {
  .sdd-comments-note {
    display: none;
  }

  .sdd-comment-author {
    grid-template-columns: 1fr;
    gap: .12rem;
  }

  .sdd-pinned span {
    display: none;
  }

  .sdd-shell .sdd-comment-action-button span {
    display: none;
  }

  .sdd-comment-body,
  .sdd-shell .sdd-comment-expand {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .sdd-comments-panel {
    padding: .78rem;
  }

  .sdd-comment-head {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: .48rem;
  }

  .sdd-shell .sdd-comment-avatar {
    width: 36px;
    height: 36px;
  }

  .sdd-shell .sdd-comment {
    padding: .62rem;
  }

  .sdd-shell .sdd-comment-composer {
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .sdd-composer-avatar {
    display: none;
  }
}

/* v5.5 — real avatars, editing, emoji picker and corrected collapse control */
.sdd-comments-panel,
.sdd-shell .sdd-comment {
  overflow: visible;
}

.sdd-user-avatar {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: visible;
  border: 1px solid rgba(135, 79, 255, .52);
  border-radius: 50%;
  color: #f3edff;
  background: linear-gradient(135deg, #3e2b99, #7431bd 58%, #1d69b7);
  box-shadow: 0 0 17px rgba(114, 70, 255, .18), inset 0 1px rgba(255, 255, 255, .08);
}

.sdd-user-avatar > img,
.sdd-avatar-fallback {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 50%;
}

.sdd-user-avatar > img {
  z-index: 2;
  object-fit: cover;
  background: #081020;
}

.sdd-avatar-fallback {
  z-index: 1;
  display: grid;
  place-items: center;
  font-size: .76rem;
  font-weight: 800;
}

.sdd-user-avatar > img.is-broken {
  display: none;
}

.sdd-user-avatar > i {
  position: absolute;
  z-index: 3;
  right: -1px;
  bottom: 1px;
  width: 9px;
  height: 9px;
  border: 2px solid #06101f;
  border-radius: 50%;
  background: #31e7a6;
  box-shadow: 0 0 9px rgba(49, 231, 166, .62);
}

.sdd-comment-avatar {
  grid-column: 1;
}

.sdd-comment-actions {
  z-index: 30;
}

.sdd-comment-edit {
  margin: 0;
}

.sdd-comment-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  width: auto;
  min-height: 30px;
  padding: .38rem .62rem;
  border: 1px solid rgba(150, 91, 255, .38);
  border-radius: 8px;
  color: #c7adff;
  background: rgba(62, 36, 111, .25);
  font-size: .57rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .2s ease;
}

.sdd-comment-action-button:hover,
.sdd-comment-edit:has(.sdd-edit-dialog[open]) > .sdd-comment-action-button {
  transform: translateY(-1px);
  border-color: rgba(157, 103, 255, .62);
  color: #f0e8ff;
  box-shadow: 0 0 18px rgba(135, 77, 255, .13);
}

.sdd-comment-action-button.is-delete:hover {
  border-color: rgba(255, 76, 113, .55);
  color: #ff99ad;
  box-shadow: 0 0 18px rgba(255, 63, 103, .10);
}

.sdd-comment-action-button svg {
  width: .84rem;
  height: .84rem;
}

.sdd-edit-dialog {
  position: fixed;
  z-index: 1010;
  inset: 0;
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  color: inherit;
  background: transparent;
  isolation: isolate;
}

.sdd-edit-dialog:not([open]) {
  display: none;
}

.sdd-edit-dialog::backdrop {
  z-index: 1000;
  opacity: 1;
  background: rgba(0, 3, 12, .90);
  backdrop-filter: blur(9px) saturate(.72);
  -webkit-backdrop-filter: blur(9px) saturate(.72);
}

.sdd-edit-popover {
  position: relative;
  z-index: 1010;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  max-height: calc(100vh - 32px);
  overflow: visible;
  border: 1px solid rgba(75, 218, 255, .42);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 0%, rgba(126, 73, 255, .18), transparent 15rem),
    linear-gradient(180deg, #071326, #030a17);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .72),
    0 0 34px rgba(51, 215, 255, .13),
    0 0 54px rgba(126, 68, 255, .10),
    inset 0 1px rgba(255, 255, 255, .04);
}

.sdd-edit-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  min-height: 54px;
  padding: .72rem .82rem .68rem;
  border-bottom: 1px solid rgba(94, 125, 169, .22);
  color: #e0d4ff;
  font-size: .68rem;
  font-weight: 800;
}

.sdd-edit-title > span {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
}

.sdd-edit-title > button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(110, 105, 166, .25);
  border-radius: 8px;
  color: #8d99ad;
  background: rgba(8, 15, 29, .82);
  cursor: pointer;
}

.sdd-edit-form {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  margin: 0;
  padding: .78rem;
}

.sdd-edit-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sdd-edit-popover textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 132px;
  max-height: 260px;
  margin: 0;
  padding: .82rem .88rem;
  overflow-y: auto;
  border: 1px solid rgba(80, 116, 162, .34);
  border-radius: 11px;
  outline: 0;
  color: #edf3fd;
  background: #020817;
  font: inherit;
  font-size: .7rem;
  line-height: 1.5;
  resize: vertical;
}

.sdd-edit-popover textarea:focus {
  border-color: rgba(52, 220, 255, .56);
  box-shadow: 0 0 0 3px rgba(47, 220, 255, .06);
}

.sdd-edit-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-top: .68rem;
  padding-top: .68rem;
  border-top: 1px solid rgba(94, 125, 169, .20);
}

.sdd-edit-toolbar .sdd-live-counter {
  margin-right: auto;
}

.sdd-edit-cancel,
.sdd-edit-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  min-height: 34px;
  padding: .42rem .68rem;
  border-radius: 8px;
  font-size: .61rem;
  font-weight: 800;
  cursor: pointer;
}

.sdd-edit-cancel {
  border: 1px solid rgba(92, 112, 151, .30);
  color: #9eabba;
  background: rgba(7, 14, 28, .80);
}

.sdd-edit-save {
  border: 1px solid rgba(50, 221, 255, .50);
  color: #fff;
  background: linear-gradient(110deg, #15c4e3, #3f8ef7 58%, #8257ff);
  box-shadow: 0 0 18px rgba(43, 211, 255, .12);
}

.sdd-edit-cancel svg,
.sdd-edit-save svg {
  width: .85rem;
  height: .85rem;
}

.sdd-emoji-picker {
  position: relative;
  z-index: 90;
  flex: 0 0 auto;
}

.sdd-emoji-picker > summary {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(81, 120, 162, .30);
  border-radius: 10px;
  color: #91a1b7;
  background: rgba(5, 14, 29, .88);
  list-style: none;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, box-shadow .2s ease, transform .18s ease;
}

.sdd-emoji-picker > summary::-webkit-details-marker {
  display: none;
}

.sdd-emoji-picker > summary:hover,
.sdd-emoji-picker[open] > summary {
  transform: translateY(-1px);
  border-color: rgba(48, 220, 255, .54);
  color: #5ce9ff;
  box-shadow: 0 0 18px rgba(43, 214, 255, .11);
}

.sdd-emoji-picker > summary svg {
  width: 1.05rem;
  height: 1.05rem;
}

.sdd-emoji-popover {
  position: absolute;
  z-index: 100;
  left: 0;
  bottom: calc(100% + 8px);
  display: grid;
  grid-template-columns: repeat(6, 34px);
  gap: .3rem;
  width: max-content;
  padding: .55rem;
  border: 1px solid rgba(126, 91, 212, .38);
  border-radius: 12px;
  background: rgba(3, 9, 23, .985);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .56), 0 0 26px rgba(122, 69, 255, .10);
}

.sdd-edit-dialog .sdd-emoji-picker,
.sdd-edit-dialog .sdd-emoji-popover {
  z-index: 1020;
}

.sdd-edit-dialog .sdd-emoji-popover {
  width: min(238px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
  max-height: min(240px, calc(100vh - 48px));
  grid-template-columns: repeat(6, minmax(30px, 1fr));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sdd-edit-dialog .sdd-emoji-picker.is-below .sdd-emoji-popover {
  top: calc(100% + 8px);
  bottom: auto;
}

.sdd-emoji-popover button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(11, 20, 36, .72);
  font-size: 1rem;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.sdd-emoji-popover button:hover {
  transform: translateY(-2px) scale(1.08);
  border-color: rgba(73, 218, 255, .36);
  background: rgba(26, 42, 69, .92);
}

.sdd-shell .sdd-comment-expand {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  align-items: center;
  justify-content: stretch;
  gap: .38rem;
  width: auto;
  min-width: 142px;
  min-height: 29px;
  margin-top: .42rem;
  padding: .34rem .62rem;
  border: 1px solid rgba(91, 111, 164, .30);
  border-radius: 8px;
  color: #aeb9cb;
  background: rgba(6, 14, 29, .76);
  font-size: .57rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.sdd-comment-expand::after {
  content: none;
}

.sdd-expand-icon {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  color: #9a7bdd;
  transition: transform .2s ease;
}

.sdd-expand-icon svg {
  width: .82rem;
  height: .82rem;
}

.sdd-comment-expand[aria-expanded="true"] .sdd-expand-icon {
  transform: rotate(180deg);
}

.sdd-live-counter {
  color: #617086;
  font-size: .52rem;
  font-weight: 700;
}

.sdd-comment-composer {
  grid-template-columns: 40px 38px minmax(0, 1fr) 42px;
  align-items: center;
}

.sdd-composer-avatar {
  width: 40px;
  height: 40px;
}

.sdd-composer-avatar > i {
  display: none;
}

.sdd-composer-input textarea {
  height: 44px;
  min-height: 44px;
  max-height: 132px;
  padding-top: .68rem;
  padding-bottom: .58rem;
}

.sdd-composer-input {
  display: grid;
  min-width: 0;
}

.sdd-composer-counter {
  position: static;
  justify-self: end;
  margin: .24rem .15rem 0;
  line-height: 1;
}

@media (max-width: 720px) {
  .sdd-comment-action-button span,
  .sdd-pinned span {
    display: none;
  }

}

@media (max-width: 480px) {
  .sdd-edit-title {
    min-height: 50px;
    padding: .62rem .68rem;
  }

  .sdd-edit-form {
    padding: .66rem;
  }

  .sdd-edit-popover textarea {
    min-height: 118px;
  }

  .sdd-edit-toolbar {
    gap: .38rem;
  }

  .sdd-edit-cancel,
  .sdd-edit-save {
    padding-inline: .58rem;
  }

  .sdd-comment-composer {
    grid-template-columns: 36px minmax(0, 1fr) 40px;
  }

  .sdd-comment-composer > .sdd-emoji-picker {
    grid-column: 1;
    grid-row: 2;
  }

  .sdd-composer-input {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .sdd-comment-send {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .sdd-emoji-popover {
    grid-template-columns: repeat(5, 34px);
  }
}


/* v5.5.2 — Discord OAuth/guild avatars and stable comment composer */
.sdd-user-avatar > img {
  display: block;
  visibility: visible;
  opacity: 1;
}

.sdd-user-avatar > img:not(.is-broken) + .sdd-avatar-fallback {
  visibility: hidden;
}

.sdd-shell .sdd-comment-composer {
  position: relative;
  display: grid;
  grid-template-columns: 40px 40px minmax(220px, 1fr) 44px;
  align-items: center;
  min-height: 64px;
  padding: .55rem;
}

.sdd-shell .sdd-comment-composer > .sdd-user-avatar,
.sdd-shell .sdd-comment-composer > .sdd-emoji-picker,
.sdd-shell .sdd-comment-composer > .sdd-composer-input,
.sdd-shell .sdd-comment-composer > .sdd-comment-send {
  grid-row: 1;
  min-width: 0;
}

.sdd-shell .sdd-comment-composer > .sdd-user-avatar { grid-column: 1; }
.sdd-shell .sdd-comment-composer > .sdd-emoji-picker { grid-column: 2; }
.sdd-shell .sdd-comment-composer > .sdd-composer-input { grid-column: 3; width: 100%; }
.sdd-shell .sdd-comment-composer > .sdd-comment-send { grid-column: 4; }

.sdd-shell .sdd-composer-input textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 132px;
  padding: .68rem .72rem .58rem;
  overflow-x: hidden;
  overflow-y: auto;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  white-space: pre-wrap;
  word-break: break-word;
}

.sdd-shell .sdd-comment-send:disabled,
.sdd-shell .sdd-report-popover button:disabled {
  cursor: wait;
  opacity: .65;
}

.sdd-shell .sdd-comment-composer > .sdd-emoji-picker {
  position: relative;
  z-index: 120;
  width: 40px;
  height: 40px;
}

.sdd-shell .sdd-comment-composer .sdd-emoji-popover {
  right: auto;
  left: 0;
  bottom: calc(100% + 9px);
  width: 250px;
  max-width: min(250px, calc(100vw - 32px));
  grid-template-columns: repeat(6, 34px);
  direction: ltr;
  writing-mode: horizontal-tb;
}

@media (max-width: 560px) {
  .sdd-shell .sdd-comment-composer {
    grid-template-columns: 38px minmax(0, 1fr) 42px;
  }

  .sdd-shell .sdd-comment-composer > .sdd-user-avatar {
    display: none;
  }

  .sdd-shell .sdd-comment-composer > .sdd-emoji-picker { grid-column: 1; }
  .sdd-shell .sdd-comment-composer > .sdd-composer-input { grid-column: 2; }
  .sdd-shell .sdd-comment-composer > .sdd-comment-send { grid-column: 3; }

  .sdd-shell .sdd-comment-composer .sdd-emoji-popover {
    position: fixed;
    left: 50%;
    bottom: 18px;
    width: min(280px, calc(100vw - 28px));
    grid-template-columns: repeat(6, minmax(0, 1fr));
    transform: translateX(-50%);
  }
}

/* v5.6 — useful three-column hero */
.sdd-shell .sd-detail-hero-content.sdd-hero-layout {
  grid-template-columns: minmax(220px, 240px) minmax(0, 1fr) minmax(330px, 380px);
  gap: clamp(1.5rem, 2vw, 2rem);
  align-items: center;
  padding: 2.25rem;
}

.sdd-hero-avatar-column {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .85rem;
  min-width: 0;
}

.sdd-shell .sdd-hero-avatar-column .sd-detail-avatar,
.sdd-hero-vote {
  width: min(220px, 100%);
}

.sdd-shell .sdd-hero-avatar-column .sd-detail-avatar {
  height: auto;
  aspect-ratio: 1;
}

.sdd-hero-vote {
  min-width: 0;
}

.sdd-shell .sdd-hero-vote .sdd-vote,
.sdd-shell .sdd-hero-vote .sdd-vote button {
  min-height: 76px;
}

.sdd-shell .sdd-hero-vote .sdd-vote {
  width: 100%;
}

.sdd-shell .sdd-hero-vote .sdd-vote-icon {
  width: 44px;
  height: 44px;
}

.sdd-shell .sdd-hero-vote .sdd-vote small {
  overflow-wrap: anywhere;
}

.sdd-hero-content-column {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: .72rem;
  min-width: 0;
}

.sdd-shell .sdd-hero-content-column > .sd-detail-badges,
.sdd-shell .sdd-hero-content-column > .sd-detail-meta {
  width: 100%;
  margin: 0;
}

.sdd-shell .sdd-hero-content-column > h1,
.sdd-shell .sdd-hero-content-column > .sd-detail-summary {
  margin: 0;
}

.sdd-shell .sdd-hero-content-column h1 {
  font-size: clamp(2.3rem, 3.4vw, 4.15rem);
  letter-spacing: -.045em;
}

.sdd-shell .sdd-hero-content-column .sd-detail-summary {
  max-width: 680px;
  margin-top: .32rem;
}

.sdd-shell .sdd-hero-content-column .sd-detail-badges,
.sdd-shell .sdd-hero-content-column .sd-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}

.sdd-shell .sdd-hero-content-column .sd-detail-badges .sd-badge {
  min-height: 30px;
  padding: .4rem .68rem;
}

.sdd-shell .sdd-hero-content-column .sd-detail-meta .sd-badge {
  min-height: 36px;
  border-radius: 10px;
  line-height: 1;
}

.sdd-shell .sdd-hero-content-column .sd-detail-meta .sd-badge {
  justify-content: center;
  padding: .5rem .78rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sdd-shell .sdd-hero-content-column .sdd-category-pill {
  gap: .38rem;
  min-height: 32px;
  border-color: rgba(73, 190, 230, .3);
  color: #afe4f2;
  background: linear-gradient(105deg, rgba(8, 31, 47, .72), rgba(24, 18, 53, .66));
}

.sdd-category-pill i {
  display: grid;
  place-items: center;
  color: #55dcff;
}

.sdd-category-pill svg {
  width: .9rem;
  height: .9rem;
}

.sdd-shell .sdd-hero-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: auto;
  justify-content: flex-start;
  gap: .55rem;
  width: 100%;
  max-width: none;
  margin-top: .12rem;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.sdd-shell .sdd-hero-action-row > * {
  flex: 0 1 auto;
  width: auto;
  min-height: 42px;
  padding: .62rem .8rem;
  border-radius: 10px;
  font-size: .66rem;
}

.sdd-shell .sdd-hero-action-row > :focus-visible {
  outline: 2px solid #63eaff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(68, 221, 255, .13), 0 0 24px rgba(71, 208, 255, .18);
}

.sdd-hero-data-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-self: center;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(48, 221, 255, .39);
  border-radius: 19px;
  background:
    radial-gradient(circle at 88% 2%, rgba(77, 75, 255, .18), transparent 12rem),
    linear-gradient(180deg, rgba(5, 17, 34, .97), rgba(3, 10, 23, .96));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .04),
    inset 0 0 32px rgba(35, 218, 255, .035),
    0 22px 48px rgba(0, 0, 0, .28),
    0 0 30px rgba(45, 217, 255, .08);
}

.sdd-hero-data-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #41e5ff, #8d65ff, transparent);
  box-shadow: 0 0 16px rgba(66, 226, 255, .42);
}

.sdd-hero-data-head {
  display: flex;
  align-items: center;
  gap: .72rem;
  margin-bottom: .78rem;
}

.sdd-data-heading-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(56, 222, 255, .38);
  border-radius: 12px;
  color: #61eaff;
  background: rgba(13, 93, 119, .23);
  box-shadow: inset 0 0 18px rgba(61, 226, 255, .07), 0 0 20px rgba(61, 226, 255, .08);
}

.sdd-data-heading-icon svg {
  width: 1.22rem;
  height: 1.22rem;
}

.sdd-hero-data-head small {
  display: block;
  margin-bottom: .18rem;
  color: #8679a4;
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.sdd-hero-data-head h2 {
  margin: 0;
  color: #edfaff;
  font-family: var(--sdd-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.12;
}

.sdd-shell .sdd-hero-data-list {
  display: grid;
  overflow: hidden;
  gap: 0;
  border: 1px solid rgba(69, 112, 157, .22);
  border-radius: 13px;
  background: rgba(2, 8, 19, .58);
}

.sdd-shell .sdd-hero-data-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  min-height: 50px;
  padding: .62rem .72rem;
  border-bottom: 1px solid rgba(67, 109, 151, .18);
}

.sdd-shell .sdd-hero-data-list > div:last-child {
  border-bottom: 0;
}

.sdd-data-label {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  min-width: 0;
  color: #9eacbf;
  font-size: .64rem;
  font-weight: 800;
}

.sdd-data-label i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(55, 210, 240, .2);
  border-radius: 7px;
  color: #59dff5;
  background: rgba(8, 61, 78, .2);
}

.sdd-data-label svg {
  width: .88rem;
  height: .88rem;
}

.sdd-shell .sdd-hero-data-list b,
.sdd-shell .sdd-hero-data-list .sdd-sync-value {
  color: #e9f9ff;
  font-family: var(--sdd-font-display);
  font-size: .69rem;
  font-weight: 700;
  text-align: right;
}

.sdd-shell .sdd-hero-data-list .sd-badge {
  max-width: 145px;
  min-height: 25px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sdd-sync-value {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .sdd-shell .sd-detail-hero-content.sdd-hero-layout {
    grid-template-columns: minmax(200px, 220px) minmax(0, 1fr);
    align-items: center;
  }

  .sdd-hero-data-card {
    grid-column: 1 / -1;
    width: 100%;
  }

  .sdd-shell .sdd-hero-content-column h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  }

  .sdd-shell .sdd-hero-data-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sdd-shell .sdd-hero-data-list > div {
    grid-template-columns: 1fr;
    align-content: center;
    border-right: 1px solid rgba(67, 109, 151, .18);
  }

  .sdd-shell .sdd-hero-data-list > div:nth-child(3n) {
    border-right: 0;
  }

  .sdd-shell .sdd-hero-data-list b,
  .sdd-shell .sdd-hero-data-list .sdd-sync-value {
    text-align: left;
  }
}

@media (max-width: 820px) {
  .sdd-shell .sd-detail-hero-content.sdd-hero-layout {
    grid-template-columns: minmax(150px, 170px) minmax(0, 1fr);
    gap: 1.2rem;
  }

  .sdd-shell .sdd-hero-content-column h1 {
    font-size: clamp(2rem, 6vw, 3.15rem);
  }

  .sdd-shell .sdd-hero-avatar-column .sd-detail-avatar,
  .sdd-hero-vote {
    width: min(160px, 100%);
  }

  .sdd-shell .sdd-hero-vote .sdd-vote,
  .sdd-shell .sdd-hero-vote .sdd-vote button {
    min-height: 70px;
    padding: .65rem;
  }

  .sdd-shell .sdd-hero-vote .sdd-vote-icon {
    width: 38px;
    height: 38px;
  }

  .sdd-shell .sdd-hero-vote .sdd-vote b {
    font-size: 1.35rem;
  }

  .sdd-shell .sdd-hero-vote .sdd-vote small {
    font-size: .56rem;
  }

  .sdd-shell .sdd-hero-data-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sdd-shell .sdd-hero-data-list > div:nth-child(3n) {
    border-right: 1px solid rgba(67, 109, 151, .18);
  }

  .sdd-shell .sdd-hero-data-list > div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .sdd-shell .sd-detail-hero-content.sdd-hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
  }

  .sdd-hero-avatar-column {
    grid-column: 1;
    justify-items: center;
  }

  .sdd-shell .sdd-hero-avatar-column .sd-detail-avatar,
  .sdd-hero-vote {
    width: min(220px, 100%);
  }

  .sdd-shell .sdd-hero-avatar-column .sd-detail-avatar {
    border-radius: 25px;
  }

  .sdd-hero-content-column {
    grid-column: 1;
    width: 100%;
  }

  .sdd-shell .sdd-hero-content-column h1 {
    font-size: clamp(1.75rem, 10vw, 2.7rem);
  }

  .sdd-shell .sdd-hero-action-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sdd-shell .sdd-hero-action-row > * {
    width: 100%;
    min-width: 0;
  }

  .sdd-shell .sdd-hero-action-row > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .sdd-hero-data-card {
    grid-column: 1;
    padding: .82rem;
  }

  .sdd-shell .sdd-hero-data-list {
    grid-template-columns: 1fr;
  }

  .sdd-shell .sdd-hero-data-list > div {
    grid-template-columns: minmax(0, 1fr) auto;
    border-right: 0;
  }

  .sdd-shell .sdd-hero-data-list b,
  .sdd-shell .sdd-hero-data-list .sdd-sync-value {
    text-align: right;
  }

  .sdd-shell .sdd-hero-data-list .sdd-sync-value {
    font-size: clamp(.59rem, 2.85vw, .68rem);
  }
}

/* Server Directory: comment moderation workspace */
.sdd-admin-comments {
  --sdd-comment-line: rgba(74, 122, 164, .26);
  --sdd-comment-field: rgba(2, 9, 21, .84);
  overflow: hidden;
  padding: 1.15rem;
}

.sdd-admin-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sdd-admin-comments-head > p {
  margin: 0;
  color: #7f8ca6;
  font-size: .76rem;
  text-align: right;
}

.sdd-admin-comments-title {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
}

.sdd-admin-comments-title h3 {
  margin: 0;
  color: #f4f7ff;
  font-family: var(--sdd-font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  letter-spacing: -.02em;
}

.sdd-admin-comments-title-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #31e4ff;
}

.sdd-admin-comments-title-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  filter: drop-shadow(0 0 9px rgba(49, 228, 255, .32));
}

.sdd-admin-comments-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 1.55rem;
  padding: 0 .55rem;
  border: 1px solid rgba(38, 222, 255, .52);
  border-radius: 999px;
  color: #3ce8ff;
  background: rgba(21, 194, 225, .10);
  font: 700 .78rem/1 var(--sdd-font-display);
}

.sdd-admin-comments-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) repeat(3, minmax(132px, 1fr)) auto auto;
  align-items: end;
  gap: .65rem;
  margin-bottom: .9rem;
  padding: .8rem;
  border: 1px solid rgba(75, 123, 166, .22);
  border-radius: 14px;
  background:
    linear-gradient(110deg, rgba(18, 126, 159, .06), transparent 30%),
    rgba(2, 9, 21, .58);
}

.sdd-admin-comments-search,
.sdd-admin-comments-select {
  min-width: 0;
}

.sdd-admin-comments-search {
  position: relative;
  display: block;
}

.sdd-admin-comments-search svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: .85rem;
  width: 17px;
  height: 17px;
  color: #6f809c;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
  pointer-events: none;
}

.sdd-admin-comments-search input,
.sdd-admin-comments-select select,
.sdd-admin-comment-fields :is(input, select),
.sdd-admin-comment-user-actions input,
.sdd-admin-comments-page-size select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--sdd-comment-line);
  border-radius: 10px;
  outline: none;
  color: #dfe8f7;
  background: var(--sdd-comment-field);
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background-color .18s ease;
}

.sdd-admin-comments-search input {
  padding: 0 .85rem 0 2.55rem;
}

.sdd-admin-comments-select {
  display: grid;
  gap: .35rem;
}

.sdd-admin-comments-select > span {
  padding-left: .15rem;
  color: #77849e;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sdd-admin-comments-select select,
.sdd-admin-comment-fields select,
.sdd-admin-comments-page-size select {
  padding: 0 2rem 0 .72rem;
}

.sdd-admin-comments-search input::placeholder,
.sdd-admin-comment-fields input::placeholder,
.sdd-admin-comment-user-actions input::placeholder {
  color: #65728b;
}

.sdd-admin-comments :is(input, select):focus-visible {
  border-color: rgba(48, 222, 255, .68);
  box-shadow:
    0 0 0 3px rgba(48, 222, 255, .075),
    0 0 20px rgba(48, 222, 255, .06);
  background-color: rgba(4, 14, 29, .96);
}

.sdd-admin-comments-apply,
.sdd-admin-comments-reset {
  min-height: 42px;
  border-radius: 10px;
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
}

.sdd-admin-comments-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  padding: 0 .95rem;
  border: 1px solid rgba(44, 221, 255, .50);
  color: #04111f;
  background: linear-gradient(110deg, #25dcf4, #2ca9fa 58%, #6c67ff);
  box-shadow: 0 0 20px rgba(39, 211, 242, .13);
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.sdd-admin-comments-apply svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sdd-admin-comments-apply:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 26px rgba(39, 211, 242, .22);
  transform: translateY(-1px);
}

.sdd-admin-comments-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .65rem;
  color: #8d9ab4;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}

.sdd-admin-comments-reset:hover {
  color: #dbe6f8;
  background: rgba(255, 255, 255, .04);
}

.sdd-admin-comments-list {
  display: grid;
  gap: .72rem;
}

.sdd-admin-comment-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--sdd-comment-line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(32, 217, 255, .045), transparent 18rem),
    linear-gradient(180deg, rgba(5, 16, 32, .88), rgba(3, 10, 23, .82));
  box-shadow: inset 0 1px rgba(255, 255, 255, .022);
}

.sdd-admin-comment-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  content: "";
  background: #28dff5;
  box-shadow: 0 0 12px rgba(40, 223, 245, .44);
}

.sdd-admin-comment-card.is-hidden::before {
  background: #6b8fff;
  box-shadow: 0 0 12px rgba(107, 143, 255, .42);
}

.sdd-admin-comment-card.is-deleted::before {
  background: #ff4e70;
  box-shadow: 0 0 12px rgba(255, 78, 112, .42);
}

.sdd-admin-comment-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .88rem .95rem .65rem;
}

.sdd-admin-comment-author {
  display: flex;
  align-items: center;
  gap: .72rem;
  min-width: 0;
}

.sdd-admin-comment-author .sdd-user-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-color: rgba(126, 83, 255, .42);
  box-shadow: 0 0 16px rgba(112, 72, 255, .13);
}

.sdd-admin-comment-author > div {
  display: grid;
  gap: .22rem;
  min-width: 0;
}

.sdd-admin-comment-author b {
  overflow: hidden;
  color: #f3f6fc;
  font: 700 .88rem/1.25 var(--sdd-font-display);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sdd-admin-comment-meta {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  color: #77849e;
  font-size: .67rem;
}

.sdd-admin-comment-meta code {
  overflow: hidden;
  max-width: 15rem;
  color: #8998b3;
  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sdd-admin-comment-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #53617a;
}

.sdd-admin-comment-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .35rem;
}

.sdd-admin-comment-badges > span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 23px;
  padding: 0 .55rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.sdd-admin-comment-badges svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.sdd-admin-comment-badges .is-active {
  color: #20e1f5;
  background: rgba(32, 225, 245, .07);
}

.sdd-admin-comment-badges .is-hidden {
  color: #78a2ff;
  background: rgba(84, 122, 255, .08);
}

.sdd-admin-comment-badges .is-deleted,
.sdd-admin-comment-badges .is-blocked {
  color: #ff5b79;
  background: rgba(255, 72, 108, .07);
}

.sdd-admin-comment-badges .is-pinned {
  color: #ae72ff;
  background: rgba(148, 77, 255, .09);
}

.sdd-admin-comment-badges .is-reported {
  color: #ff9d3c;
  background: rgba(255, 139, 41, .08);
}

.sdd-admin-comment-body {
  margin: 0;
  padding: 0 .95rem .8rem 4.62rem;
  color: #cbd4e4;
  font-size: .82rem;
  line-height: 1.52;
  overflow-wrap: anywhere;
}

.sdd-admin-comment-reason {
  display: flex;
  gap: .42rem;
  margin: 0 .95rem .75rem 4.62rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(255, 166, 61, .18);
  border-radius: 8px;
  color: #aeb9cd;
  background: rgba(255, 139, 41, .045);
  font-size: .7rem;
}

.sdd-admin-comment-reason b {
  flex: 0 0 auto;
  color: #e2a65f;
}

.sdd-admin-comment-actions {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto;
  align-items: center;
  gap: .65rem;
  padding: .75rem .95rem;
  border-top: 1px solid rgba(72, 116, 158, .18);
  background: rgba(0, 5, 15, .22);
}

.sdd-admin-comment-fields {
  display: grid;
  grid-template-columns: minmax(130px, .7fr) minmax(180px, 1.3fr);
  gap: .5rem;
  min-width: 0;
}

.sdd-admin-comment-fields label,
.sdd-admin-comment-user-actions label {
  min-width: 0;
}

.sdd-admin-comment-fields :is(input, select),
.sdd-admin-comment-user-actions input {
  min-height: 38px;
  padding-right: .7rem;
  padding-left: .7rem;
  font-size: .72rem;
}

.sdd-admin-comment-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
}

.sdd-admin-comment-buttons button,
.sdd-admin-comment-user-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  min-height: 38px;
  padding: 0 .72rem;
  border: 1px solid rgba(79, 123, 166, .38);
  border-radius: 9px;
  color: #aebbd0;
  background: rgba(5, 16, 33, .84);
  font-size: .69rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-color .17s ease,
    color .17s ease,
    background-color .17s ease,
    transform .17s ease;
}

.sdd-admin-comment-buttons button:hover,
.sdd-admin-comment-user-actions button:hover {
  transform: translateY(-1px);
}

.sdd-admin-comment-buttons svg,
.sdd-admin-comment-user-actions svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sdd-admin-comment-buttons .is-hide {
  border-color: rgba(76, 129, 255, .55);
  color: #78a5ff;
  background: rgba(52, 94, 219, .075);
}

.sdd-admin-comment-buttons .is-danger,
.sdd-admin-comment-user-actions .is-block {
  border-color: rgba(255, 66, 104, .58);
  color: #ff5e7d;
  background: rgba(217, 37, 75, .075);
}

.sdd-admin-comment-buttons .is-pin {
  border-color: rgba(164, 82, 255, .54);
  color: #b477ff;
  background: rgba(133, 53, 225, .08);
}

.sdd-admin-comment-buttons .is-restore,
.sdd-admin-comment-user-actions .is-unblock {
  border-color: rgba(48, 210, 181, .54);
  color: #5ce5c9;
  background: rgba(32, 174, 151, .075);
}

.sdd-admin-comment-user-actions {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: .65rem;
  padding: .55rem .95rem .7rem;
  border-top: 1px solid rgba(72, 116, 158, .12);
}

.sdd-admin-comments-empty {
  display: grid;
  justify-items: center;
  gap: .35rem;
  padding: 3.4rem 1rem;
  border: 1px dashed rgba(78, 128, 170, .28);
  border-radius: 14px;
  color: #8492aa;
  text-align: center;
  background: rgba(2, 9, 21, .42);
}

.sdd-admin-comments-empty > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #31dff4;
}

.sdd-admin-comments-empty svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
}

.sdd-admin-comments-empty b {
  color: #dce5f3;
}

.sdd-admin-comments-empty p {
  margin: 0;
  font-size: .75rem;
}

.sdd-admin-comments-pagination {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 1rem;
  margin-top: .95rem;
  padding: .35rem .1rem .05rem;
}

.sdd-admin-comments-pagination > p {
  margin: 0;
  color: #7f8ba3;
  font-size: .7rem;
}

.sdd-admin-comments-pagination nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
}

.sdd-admin-comments-pagination nav :is(a, span) {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 .35rem;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #9ba8bd;
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}

.sdd-admin-comments-pagination nav a:hover {
  border-color: rgba(62, 207, 242, .30);
  color: #dce8f8;
  background: rgba(36, 168, 204, .07);
}

.sdd-admin-comments-pagination nav [aria-current="page"] {
  border-color: rgba(49, 221, 250, .55);
  color: #04111f;
  background: linear-gradient(130deg, #2ce1f5, #2ea7f7);
  box-shadow: 0 0 19px rgba(43, 217, 244, .21);
}

.sdd-admin-comments-pagination nav .is-arrow {
  font-size: 1.25rem;
  font-weight: 500;
}

.sdd-admin-comments-pagination nav .is-disabled {
  color: #3f4b61;
}

.sdd-admin-comments-pagination nav i {
  padding: 0 .18rem;
  color: #59657a;
  font-style: normal;
}

.sdd-admin-comments-page-size {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
}

.sdd-admin-comments-page-size label {
  color: #7f8ba3;
  font-size: .7rem;
  white-space: nowrap;
}

.sdd-admin-comments-page-size select {
  width: 70px;
  min-height: 36px;
  font-size: .72rem;
}

@media (max-width: 1180px) {
  .sdd-admin-comments-toolbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sdd-admin-comments-search {
    grid-column: span 2;
  }

  .sdd-admin-comments-apply,
  .sdd-admin-comments-reset {
    align-self: end;
  }

  .sdd-admin-comment-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .sdd-admin-comment-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .sdd-admin-comments-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sdd-admin-comments-head > p {
    text-align: left;
  }

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

  .sdd-admin-comments-search {
    grid-column: 1 / -1;
  }

  .sdd-admin-comment-header {
    align-items: stretch;
    flex-direction: column;
  }

  .sdd-admin-comment-badges {
    justify-content: flex-start;
    padding-left: 3.25rem;
  }

  .sdd-admin-comments-pagination {
    grid-template-columns: 1fr auto;
  }

  .sdd-admin-comments-pagination nav {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

@media (max-width: 560px) {
  .sdd-admin-comments {
    padding: .72rem;
  }

  .sdd-admin-comments-title {
    flex-wrap: wrap;
  }

  .sdd-admin-comments-head > p {
    font-size: .7rem;
  }

  .sdd-admin-comments-toolbar {
    grid-template-columns: minmax(0, 1fr);
    padding: .65rem;
  }

  .sdd-admin-comments-search,
  .sdd-admin-comments-select,
  .sdd-admin-comments-apply,
  .sdd-admin-comments-reset {
    grid-column: 1;
  }

  .sdd-admin-comments-reset {
    min-height: 34px;
  }

  .sdd-admin-comment-header {
    padding: .75rem;
  }

  .sdd-admin-comment-author {
    align-items: flex-start;
  }

  .sdd-admin-comment-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: .1rem;
  }

  .sdd-admin-comment-meta i {
    display: none;
  }

  .sdd-admin-comment-badges {
    padding-left: 0;
  }

  .sdd-admin-comment-body {
    padding: 0 .75rem .72rem;
  }

  .sdd-admin-comment-reason {
    align-items: flex-start;
    flex-direction: column;
    margin: 0 .75rem .7rem;
  }

  .sdd-admin-comment-actions,
  .sdd-admin-comment-user-actions {
    grid-template-columns: minmax(0, 1fr);
    padding-right: .75rem;
    padding-left: .75rem;
  }

  .sdd-admin-comment-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .sdd-admin-comment-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sdd-admin-comment-buttons button,
  .sdd-admin-comment-user-actions button {
    width: 100%;
  }

  .sdd-admin-comments-pagination {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .sdd-admin-comments-pagination > p,
  .sdd-admin-comments-page-size {
    justify-content: center;
    text-align: center;
  }

  .sdd-admin-comments-pagination nav {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
    overflow-x: auto;
  }
}

/* Server Directory: public links workspace */
.sdd-links-workspace {
  --sdd-link-line: rgba(71, 121, 165, .25);
  --sdd-link-surface: rgba(3, 12, 27, .80);
}

.sdd-links-workspace .sdd-admin-module-head {
  margin-bottom: 1rem;
}

.sdd-links-workspace .sdd-admin-module-head p {
  font-size: .75rem;
}

.sdd-links-workspace .sdd-links-form {
  gap: .95rem;
}

.sdd-links-workspace .sdd-links-fieldset {
  overflow: hidden;
  padding: 0;
  border-color: rgba(71, 122, 166, .24);
  background:
    radial-gradient(circle at 0 0, rgba(39, 221, 255, .055), transparent 28rem),
    linear-gradient(180deg, rgba(4, 15, 31, .82), rgba(2, 9, 22, .78));
}

.sdd-link-service-list {
  display: grid;
}

.sdd-link-service-row {
  --sdd-link-rgb: 36, 222, 246;
  display: grid;
  grid-template-columns: 58px minmax(170px, 205px) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 88px;
  padding: .72rem .95rem;
  border-bottom: 1px solid var(--sdd-link-line);
  background:
    linear-gradient(90deg, rgba(var(--sdd-link-rgb), .035), transparent 24%),
    var(--sdd-link-surface);
  transition:
    border-color .18s ease,
    background-color .18s ease,
    box-shadow .18s ease;
}

.sdd-link-service-row:last-child {
  border-bottom: 0;
}

.sdd-link-service-row:focus-within {
  border-color: rgba(var(--sdd-link-rgb), .42);
  background:
    linear-gradient(90deg, rgba(var(--sdd-link-rgb), .075), transparent 30%),
    rgba(4, 15, 31, .92);
  box-shadow: inset 0 0 28px rgba(var(--sdd-link-rgb), .025);
}

.sdd-link-service-row.is-discord {
  --sdd-link-rgb: 141, 83, 255;
}

.sdd-link-service-row.is-twitch {
  --sdd-link-rgb: 164, 74, 255;
}

.sdd-link-service-row.is-youtube {
  --sdd-link-rgb: 255, 50, 77;
}

.sdd-link-service-row.is-tiktok {
  --sdd-link-rgb: 31, 224, 242;
}

.sdd-link-service-row.is-vk {
  --sdd-link-rgb: 42, 133, 255;
}

.sdd-link-service-row.is-website {
  --sdd-link-rgb: 30, 224, 242;
}

.sdd-link-brand {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(var(--sdd-link-rgb), .78);
  border-radius: 14px;
  color: rgb(var(--sdd-link-rgb));
  background:
    radial-gradient(circle, rgba(var(--sdd-link-rgb), .20), rgba(var(--sdd-link-rgb), .055));
  box-shadow:
    0 0 20px rgba(var(--sdd-link-rgb), .17),
    inset 0 1px rgba(255, 255, 255, .08);
}

.sdd-link-brand svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  filter: drop-shadow(0 0 7px rgba(var(--sdd-link-rgb), .42));
}

.sdd-link-brand.is-discord svg,
.sdd-link-brand.is-youtube svg,
.sdd-link-brand.is-vk svg {
  fill: currentColor;
  stroke: rgba(255, 255, 255, .92);
  stroke-width: 1.25;
}

.sdd-link-brand.is-tiktok svg {
  filter:
    drop-shadow(2px 0 0 rgba(255, 49, 92, .80))
    drop-shadow(-2px 0 0 rgba(42, 240, 255, .85));
}

.sdd-link-service-copy {
  display: grid;
  gap: .28rem;
  min-width: 0;
  cursor: text;
}

.sdd-link-service-copy b {
  color: #f2f6fd;
  font: 700 .83rem/1.2 var(--sdd-font-display);
}

.sdd-link-service-copy span {
  color: #7e8ba3;
  font-size: .67rem;
  line-height: 1.42;
}

.sdd-link-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.sdd-link-field input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 .9rem;
  border: 1px solid rgba(77, 126, 170, .33);
  border-radius: 10px;
  outline: 0;
  color: #e6edf8;
  background:
    linear-gradient(180deg, rgba(4, 14, 29, .96), rgba(2, 8, 19, .94));
  font-size: .78rem;
  font-weight: 600;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background-color .18s ease;
}

.sdd-link-field input::placeholder {
  color: #64728a;
  font-weight: 500;
}

.sdd-link-field input:focus {
  border-color: rgba(var(--sdd-link-rgb), .66);
  background-color: rgba(5, 17, 34, .98);
  box-shadow:
    0 0 0 3px rgba(var(--sdd-link-rgb), .065),
    0 0 20px rgba(var(--sdd-link-rgb), .08);
}

.sdd-link-open {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(var(--sdd-link-rgb), .68);
  border-radius: 11px;
  color: rgb(var(--sdd-link-rgb));
  background:
    linear-gradient(180deg, rgba(var(--sdd-link-rgb), .12), rgba(var(--sdd-link-rgb), .045));
  box-shadow:
    0 0 17px rgba(var(--sdd-link-rgb), .10),
    inset 0 1px rgba(255, 255, 255, .06);
  cursor: pointer;
  transition:
    transform .18s ease,
    filter .18s ease,
    opacity .18s ease,
    box-shadow .18s ease;
}

.sdd-link-open svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.sdd-link-open.is-ready:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow:
    0 0 24px rgba(var(--sdd-link-rgb), .20),
    inset 0 1px rgba(255, 255, 255, .09);
}

.sdd-link-open:disabled {
  opacity: .32;
  cursor: not-allowed;
  filter: grayscale(.35);
  box-shadow: none;
}

.sdd-links-workspace .sdd-save-button {
  width: 100%;
  min-height: 54px;
  margin-top: 0;
  border-radius: 10px;
  font-size: .82rem;
  box-shadow:
    0 0 28px rgba(40, 211, 255, .18),
    0 0 38px rgba(149, 62, 255, .12),
    inset 0 1px rgba(255, 255, 255, .18);
}

.sdd-links-workspace .sdd-save-button svg {
  width: 19px;
  height: 19px;
}

@media (max-width: 820px) {
  .sdd-link-service-row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: .75rem 1rem;
  }

  .sdd-link-field {
    grid-column: 1 / -1;
  }

  .sdd-link-service-copy span br {
    display: none;
  }
}

@media (max-width: 560px) {
  .sdd-links-workspace .sdd-admin-module-head {
    align-items: flex-start;
  }

  .sdd-link-service-row {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 0;
    padding: .8rem;
  }

  .sdd-link-brand {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .sdd-link-brand svg {
    width: 23px;
    height: 23px;
  }

  .sdd-link-field {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: .5rem;
  }

  .sdd-link-field input,
  .sdd-link-open {
    min-height: 44px;
    height: 44px;
  }

  .sdd-links-workspace .sdd-save-button {
    min-height: 50px;
  }
}

/* Server Directory: general admin dashboard and report moderation */
.sdd-service-zone .sd-admin-tabs {
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

.sdd-service-zone .sd-admin-indicator svg,
.sdd-general-section-title svg,
.sdd-general-head svg,
.sdd-danger-icon svg,
.sdd-status-icon svg,
.sdd-general-save svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sdd-tab-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 .3rem;
  border: 1px solid rgba(255, 94, 129, .72);
  border-radius: 999px;
  color: #fff;
  background: rgba(194, 35, 76, .82);
  box-shadow: 0 0 14px rgba(255, 48, 98, .35);
  font-size: .65rem;
  font-weight: 800;
  line-height: 1;
}

.sdd-general-workspace {
  gap: 1rem;
}

.sdd-admin-section.sdd-general-workspace.is-active {
  display: grid;
}

.sdd-admin-section.sdd-general-workspace:not(.is-active) {
  display: none;
}

.sdd-general-card,
.sdd-admin-report-card {
  border: 1px solid rgba(89, 136, 191, .32);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(8, 26, 47, .92), rgba(5, 15, 34, .96)),
    radial-gradient(circle at 10% 0, rgba(35, 212, 255, .08), transparent 38%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .025),
    0 14px 34px rgba(0, 5, 18, .2);
}

.sdd-general-card {
  padding: 1.35rem;
}

.sdd-general-head,
.sdd-general-section-title {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
}

.sdd-general-head > svg,
.sdd-general-section-title > svg {
  color: #2bd8ff;
  filter: drop-shadow(0 0 9px rgba(43, 216, 255, .38));
}

.sdd-general-head h3,
.sdd-general-section-title h3 {
  margin: 0;
  color: #f5f8ff;
  font-size: 1.05rem;
}

.sdd-general-head p {
  margin: .2rem 0 0;
  color: #25d6f7;
  font-size: .78rem;
  font-weight: 700;
}

.sdd-general-form {
  display: grid;
  gap: 1rem;
}

.sdd-general-field-grid {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: .9rem 1.25rem;
  align-items: center;
}

.sdd-general-field-grid label {
  color: #aab7d2;
  font-size: .78rem;
  font-weight: 700;
}

.sdd-general-field-grid input,
.sdd-general-field-grid textarea,
.sdd-danger-form input {
  width: 100%;
  border: 1px solid rgba(89, 136, 191, .38);
  border-radius: 9px;
  color: #edf6ff;
  background: rgba(2, 13, 29, .86);
  box-shadow: inset 0 1px 7px rgba(0, 0, 0, .22);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.sdd-general-field-grid input {
  min-height: 45px;
  padding: .7rem .9rem;
}

.sdd-general-field-grid textarea {
  min-height: 98px;
  padding: .8rem .9rem;
  resize: vertical;
}

.sdd-general-field-grid input::placeholder,
.sdd-general-field-grid textarea::placeholder,
.sdd-danger-form input::placeholder {
  color: #66748c;
}

.sdd-general-field-grid input:focus,
.sdd-general-field-grid textarea:focus,
.sdd-danger-form input:focus {
  outline: none;
  border-color: rgba(36, 215, 255, .78);
  background: rgba(3, 17, 36, .98);
  box-shadow:
    0 0 0 3px rgba(36, 215, 255, .08),
    0 0 22px rgba(36, 215, 255, .1);
}

.sdd-general-save {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: 100%;
  min-height: 56px;
  overflow: hidden;
  border: 1px solid rgba(111, 231, 255, .58);
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(100deg, #1fd2e5 0%, #369cf8 48%, #7656ff 100%);
  box-shadow:
    0 0 26px rgba(35, 210, 255, .24),
    0 0 34px rgba(118, 86, 255, .18),
    inset 0 1px rgba(255, 255, 255, .26);
  font-size: .92rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.sdd-general-save::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .18) 47%, transparent 68%);
  content: "";
  transform: translateX(-100%);
  transition: transform .45s ease;
}

.sdd-general-save:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 0 34px rgba(35, 210, 255, .34),
    0 0 44px rgba(118, 86, 255, .24),
    inset 0 1px rgba(255, 255, 255, .3);
}

.sdd-general-save:hover:not(:disabled)::after {
  transform: translateX(100%);
}

.sdd-general-save:focus-visible {
  outline: 3px solid rgba(147, 91, 255, .42);
  outline-offset: 3px;
}

.sdd-general-save:disabled {
  cursor: wait;
  filter: saturate(.55);
  opacity: .74;
}

.sdd-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin: 0;
}

.sdd-status-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  min-height: 88px;
  padding: .85rem;
  overflow: hidden;
  border: 1px solid rgba(81, 130, 185, .45);
  border-radius: 11px;
  background: rgba(5, 18, 38, .74);
}

.sdd-status-card::before {
  position: absolute;
  inset: auto 12% -32px;
  height: 48px;
  border-radius: 50%;
  background: rgba(37, 213, 247, .13);
  filter: blur(20px);
  content: "";
}

.sdd-status-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(36, 215, 255, .25);
  border-radius: 50%;
  color: #2cddff;
  background: rgba(27, 206, 239, .09);
  box-shadow: 0 0 18px rgba(27, 206, 239, .12);
}

.sdd-status-copy {
  display: grid;
  gap: .28rem;
  min-width: 0;
}

.sdd-status-label {
  color: #8392ae;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sdd-status-value {
  color: #f2f7ff;
  font-size: .83rem;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.sdd-status-card.is-license {
  border-color: rgba(151, 77, 255, .48);
}

.sdd-status-card.is-license .sdd-status-icon {
  border-color: rgba(151, 77, 255, .34);
  color: #ac70ff;
  background: rgba(151, 77, 255, .12);
}

.sdd-status-card.is-danger {
  border-color: rgba(255, 76, 112, .38);
}

.sdd-status-card.is-danger .sdd-status-icon {
  color: #ff647f;
  border-color: rgba(255, 76, 112, .28);
  background: rgba(255, 76, 112, .1);
}

.sdd-danger-card {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 64, 102, .43);
  border-radius: 13px;
  background:
    linear-gradient(90deg, rgba(62, 10, 30, .36), rgba(8, 17, 36, .92)),
    radial-gradient(circle at 5% 50%, rgba(255, 49, 95, .14), transparent 30%);
}

.sdd-danger-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #ff617d;
  background: rgba(255, 49, 95, .12);
  box-shadow: 0 0 22px rgba(255, 49, 95, .18);
}

.sdd-danger-form {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 260px;
  gap: 1rem;
  align-items: center;
  width: 100%;
  margin: 0;
}

.sdd-danger-field {
  display: grid;
  gap: .38rem;
  min-width: 0;
}

.sdd-danger-field > span {
  color: #f2f5ff;
  font-size: .8rem;
  font-weight: 800;
}

.sdd-danger-form input {
  min-height: 44px;
  padding: .68rem .85rem;
}

.sdd-danger-form .sdd-danger-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  min-height: 54px;
  padding: .75rem 1rem;
  border: 1px solid rgba(255, 65, 102, .72);
  border-radius: 9px;
  color: #ff8aa0;
  background: rgba(135, 24, 53, .43);
  font-size: .78rem;
  font-weight: 800;
}

.sdd-danger-form .sdd-danger-action svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
}

.sdd-existing-comment {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(42, 209, 255, .28);
  border-radius: 12px;
  color: #bac6dc;
  background: rgba(7, 25, 46, .76);
}

.sdd-existing-comment .sdd-comment-action-button {
  text-decoration: none;
}

.sdd-admin-report-list {
  display: grid;
  gap: .9rem;
}

.sdd-admin-section.sdd-reports-workspace.is-active {
  display: grid;
  gap: .9rem;
}

.sdd-admin-section.sdd-reports-workspace:not(.is-active) {
  display: none;
}

.sdd-admin-report-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.sdd-admin-report-card > header,
.sdd-report-reporter,
.sdd-report-group-head {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.sdd-admin-report-card > header h5,
.sdd-report-group-head h4 {
  margin: 0;
  color: #f4f8ff;
}

.sdd-admin-report-card > header small,
.sdd-report-reporter small {
  color: #7f8daa;
}

.sdd-admin-report-card blockquote {
  margin: 0;
  padding: .8rem .95rem;
  border-left: 2px solid rgba(42, 215, 255, .62);
  border-radius: 0 9px 9px 0;
  color: #dbe5f7;
  background: rgba(2, 13, 29, .62);
}

.sdd-report-details,
.sdd-report-resolution {
  margin: 0;
  color: #aebbd1;
  font-size: .8rem;
}

.sdd-report-reporter {
  padding-top: .75rem;
  border-top: 1px solid rgba(92, 132, 181, .2);
}

.sdd-report-reporter span {
  display: grid;
  gap: .12rem;
}

.sdd-report-status {
  display: inline-flex;
  margin-bottom: .3rem;
  padding: .2rem .48rem;
  border: 1px solid rgba(94, 214, 255, .32);
  border-radius: 999px;
  color: #67dcff;
  background: rgba(30, 157, 211, .1);
  font-size: .62rem;
  font-weight: 800;
}

.sdd-report-status.is-open {
  border-color: rgba(255, 75, 113, .4);
  color: #ff8099;
  background: rgba(177, 30, 66, .13);
}

.sdd-report-status.is-resolved {
  border-color: rgba(47, 229, 189, .36);
  color: #58ebc9;
}

.sdd-report-group-head {
  justify-content: space-between;
}

.sdd-report-group-head > span,
.sdd-reports-total {
  color: #dfe8fa;
  font-size: .75rem;
  font-weight: 800;
}

.sdd-admin-report-card.is-open {
  border-color: rgba(255, 78, 116, .42);
}

.sdd-admin-report-card.is-history {
  opacity: .82;
}

.sdd-admin-report-card .sdd-report-actions {
  display: grid;
  grid-template-columns: minmax(180px, 1fr);
  gap: .7rem;
}

.sdd-admin-report-card .sdd-report-actions input {
  min-height: 42px;
  padding: .65rem .8rem;
  border: 1px solid rgba(89, 136, 191, .38);
  border-radius: 9px;
  color: #edf6ff;
  background: rgba(2, 13, 29, .86);
}

.sdd-admin-report-card .sdd-report-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.sdd-admin-report-card .sdd-report-actions button {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 40px;
  padding: .55rem .75rem;
  border: 1px solid rgba(57, 197, 244, .38);
  border-radius: 8px;
  color: #c9f5ff;
  background: rgba(26, 117, 161, .16);
  font-size: .72rem;
  font-weight: 800;
}

.sdd-admin-report-card .sdd-report-actions button.is-danger {
  border-color: rgba(255, 65, 103, .55);
  color: #ff91a6;
  background: rgba(145, 27, 56, .24);
}

.sdd-admin-report-card .sdd-report-actions button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
}

@media (max-width: 1100px) {
  .sdd-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sdd-service-zone .sd-admin-tabs {
    display: flex;
    overflow-x: auto;
  }

  .sdd-service-zone .sd-admin-tab {
    flex: 0 0 auto;
    min-width: 132px;
  }

  .sdd-general-field-grid {
    grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  }

  .sdd-danger-form {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .sdd-general-card {
    padding: 1rem;
  }

  .sdd-general-field-grid,
  .sdd-status-grid,
  .sdd-danger-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .sdd-general-field-grid {
    gap: .45rem;
  }

  .sdd-general-field-grid input,
  .sdd-general-field-grid textarea {
    margin-bottom: .55rem;
  }

  .sdd-danger-icon {
    width: 42px;
    height: 42px;
  }

  .sdd-danger-action,
  .sdd-general-save {
    width: 100%;
  }

  .sdd-existing-comment {
    align-items: stretch;
    flex-direction: column;
  }

  .sdd-admin-report-card .sdd-report-actions > div,
  .sdd-admin-report-card .sdd-report-actions button {
    width: 100%;
  }

  .sdd-admin-report-card .sdd-report-actions button {
    justify-content: center;
  }
}

/* v5.14 — premium public-page motion; no application state is involved. */
.sdd-hero,
.sdd-social-panel {
  --pointer-x: 50%;
  --pointer-y: 50%;
  --pointer-opacity: 0;
}

.sdd-hero::before {
  opacity: 1;
  background:
    radial-gradient(
      circle 330px at var(--pointer-x) var(--pointer-y),
      rgb(49 226 255 / calc(var(--pointer-opacity) * 14%)),
      rgb(133 78 255 / calc(var(--pointer-opacity) * 6%)) 46%,
      transparent 72%
    ),
    radial-gradient(circle at 24% 48%, rgba(47, 218, 255, .075), transparent 25rem),
    radial-gradient(circle at 78% 28%, rgba(133, 75, 255, .085), transparent 28rem),
    linear-gradient(132deg, transparent 0 58%, rgba(44, 226, 255, .18) 58.08%, transparent 58.32%),
    linear-gradient(153deg, transparent 0 72%, rgba(143, 75, 255, .15) 72.08%, transparent 72.32%);
  background-position: center, 0 0, 100% 0, center, center;
  animation: sdd-hero-ambient 15s ease-in-out infinite alternate;
}

.sdd-hero-scan {
  position: absolute;
  z-index: 4;
  top: -22%;
  bottom: -22%;
  left: -24%;
  width: 14%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(129, 230, 255, .19), rgba(255, 255, 255, .14), transparent);
  filter: blur(.2px);
  transform: skewX(-17deg);
  animation: sdd-hero-scan 15s ease-in-out infinite;
}

.sdd-shell .sdd-hero-avatar-column .sd-detail-avatar {
  transition: transform .34s cubic-bezier(.2, .8, .2, 1), box-shadow .34s ease, filter .34s ease;
}

.sdd-shell .sdd-hero-avatar-column .sd-detail-avatar:hover,
.sdd-hero:focus-within .sdd-hero-avatar-column .sd-detail-avatar {
  will-change: transform;
  transform: scale(1.015);
  filter: saturate(1.05);
  box-shadow:
    0 0 0 1px rgba(88, 234, 255, .55),
    0 0 38px rgba(44, 224, 255, .24),
    0 0 58px rgba(137, 82, 255, .19),
    0 26px 58px rgba(0, 0, 0, .42);
}

.sdd-verified-badge {
  position: relative;
  isolation: isolate;
}

.sdd-verified-badge::after {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border: 1px solid rgba(78, 229, 255, .72);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.sdd-js .sdd-verified-badge::after {
  animation: sdd-verified-pulse .72s ease-out both;
}

.sdd-shell .sdd-hero-action-row > * {
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .22s ease, filter .18s ease;
}

.sdd-shell .sdd-hero-action-row > .sd-primary-button {
  order: -1;
}

.sdd-shell .sdd-hero-action-row > *::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -42%;
  width: 28%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
  transform: skewX(-18deg);
}

.sdd-shell .sdd-hero-action-row > *:is(:hover, :focus-visible) {
  transform: translateY(-2px);
}

.sdd-shell .sdd-hero-action-row > *:active {
  transform: translateY(0) scale(.99);
}

.sdd-shell .sdd-hero-action-row > *:is(:hover, :focus-visible)::before {
  animation: sdd-button-shine .62s ease-out both;
}

.sdd-shell .sdd-hero-action-row > * > svg:last-child {
  transition: transform .18s ease;
}

.sdd-shell .sdd-hero-action-row > *:is(:hover, :focus-visible) > svg:last-child {
  transform: translate(2px, -2px);
}

.sdd-category-pill {
  background-size: 210% 100%;
  transition: border-color .18s ease, box-shadow .2s ease, background-position .4s ease;
}

.sdd-category-pill:hover {
  border-color: rgba(88, 221, 255, .54);
  background-position: 100% 50%;
  box-shadow: 0 0 16px rgba(72, 207, 255, .08);
}

.sdd-social-panel {
  background:
    radial-gradient(
      circle 260px at var(--pointer-x) var(--pointer-y),
      rgb(57 218 255 / calc(var(--pointer-opacity) * 11%)),
      transparent 70%
    ),
    radial-gradient(circle at 82% 4%, rgba(142, 72, 255, .15), transparent 15rem),
    linear-gradient(180deg, rgba(5, 13, 29, .96), rgba(4, 10, 23, .94));
}

.sdd-social-panel::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 8%, #38dcff 28%, #875dff 58%, #ed5de8 76%, transparent 92%);
  background-position: 0 50%;
  background-size: 260% 100%;
  opacity: .58;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: sdd-contact-border 14s ease-in-out infinite;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link {
  --social-rgb: 89, 104, 255;
  --social-accent: rgb(var(--social-rgb));
  --social-glow: rgba(var(--social-rgb), .14);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -55% auto -55% -44%;
  width: 28%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
  transform: skewX(-18deg);
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link > * {
  position: relative;
  z-index: 1;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link:hover,
.sdd-shell .sdd-sidebar-socials .sdd-social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(var(--social-rgb), .64);
  box-shadow: 0 13px 28px rgba(0, 0, 0, .2), 0 0 24px var(--social-glow);
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link:is(:hover, :focus-visible)::after {
  animation: sdd-social-shine .68s ease-out both;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link:is(:hover, :focus-visible) .sdd-social-icon {
  transform: scale(1.04);
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link:is(:hover, :focus-visible) .sdd-social-arrow {
  transform: translate(2px, -2px);
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="discord"] { --social-rgb: 88, 101, 242; }
.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="twitch"] { --social-rgb: 145, 70, 255; }
.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="youtube"],
.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="ютуб"] { --social-rgb: 255, 58, 73; }
.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="tiktok"] { --social-rgb: 52, 220, 236; }
.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="vk"],
.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="вконтакте"] { --social-rgb: 54, 149, 255; }
.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="site"],
.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="website"],
.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="сайт"] { --social-rgb: 45, 223, 255; }

.sdd-shell .sdd-sidebar-socials .sdd-social-icon {
  color: #f7f8ff;
  filter: drop-shadow(0 0 5px var(--social-glow));
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}

.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="site"] .sdd-social-icon,
.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="website"] .sdd-social-icon,
.sdd-shell .sdd-sidebar-socials .sdd-social-link[data-sdd-social*="сайт"] .sdd-social-icon {
  color: #73eeff;
}

.sdd-brand-svg {
  width: 1.22rem;
  height: 1.22rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sdd-shell .sdd-comment {
  background:
    radial-gradient(circle at 9% 0%, rgba(55, 215, 255, .035), transparent 11rem),
    linear-gradient(180deg, rgba(5, 15, 30, .94), rgba(3, 10, 22, .92)) padding-box,
    linear-gradient(112deg, rgba(55, 215, 255, .20), rgba(132, 78, 255, .15), rgba(55, 215, 255, .20)) border-box;
  background-size: auto, auto, 230% 100%;
  border-color: transparent;
}

.sdd-shell .sdd-comment:hover,
.sdd-shell .sdd-comment:focus-within {
  background-position: 0 0, 0 0, 100% 50%;
}

.sdd-shell .sdd-comment:hover .sdd-comment-avatar,
.sdd-shell .sdd-comment:focus-within .sdd-comment-avatar {
  box-shadow:
    0 0 0 1px rgba(70, 225, 255, .55),
    0 0 18px rgba(63, 210, 255, .16),
    inset 0 1px rgba(255, 255, 255, .08);
}

.sdd-shell .sdd-comment.is-own::before {
  content: "";
  position: absolute;
  inset: 8px auto 8px 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #39dcff, #8a60ff);
  box-shadow: 0 0 10px rgba(64, 214, 255, .32);
}

.sdd-shell .sdd-comment.is-own:hover::before,
.sdd-shell .sdd-comment.is-own:focus-within::before {
  filter: brightness(1.18);
}

.sdd-js .sdd-shell .sdd-comment.is-own .sdd-own-label {
  animation: sdd-own-comment-shimmer .72s ease-out both;
}

@keyframes sdd-hero-ambient {
  from { background-position: center, 0 0, 100% 0, center, center; }
  to { background-position: center, 8% 3%, 92% 6%, center, center; }
}

@keyframes sdd-hero-scan {
  0%, 78%, 100% { transform: skewX(-17deg) translateX(0); opacity: 0; }
  82% { opacity: .42; }
  94% { transform: skewX(-17deg) translateX(980%); opacity: 0; }
}

@keyframes sdd-verified-pulse {
  0% { opacity: 0; transform: scale(.92); }
  45% { opacity: .72; }
  100% { opacity: 0; transform: scale(1.16); }
}

@keyframes sdd-button-shine {
  from { transform: skewX(-18deg) translateX(0); }
  to { transform: skewX(-18deg) translateX(590%); }
}

@keyframes sdd-contact-border {
  0%, 100% { background-position: 0 50%; opacity: .42; }
  50% { background-position: 100% 50%; opacity: .64; }
}

@keyframes sdd-social-shine {
  from { transform: skewX(-18deg) translateX(0); }
  to { transform: skewX(-18deg) translateX(590%); }
}

@keyframes sdd-own-comment-shimmer {
  0% { filter: brightness(.9); opacity: .6; }
  48% { filter: brightness(1.55); opacity: 1; }
  100% { filter: brightness(1); opacity: .82; }
}

@media (max-width: 720px), (hover: none) {
  .sdd-hero::before,
  .sdd-hero-scan,
  .sdd-social-panel::after {
    animation: none;
  }

  .sdd-hero-scan {
    display: none;
  }

  .sdd-social-panel::after {
    background-position: 50% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sdd-hero,
  .sdd-social-panel {
    --pointer-opacity: 0;
  }

  .sdd-hero::before,
  .sdd-hero-scan,
  .sdd-social-panel::after,
  .sdd-js .sdd-verified-badge::after,
  .sdd-shell .sdd-hero-action-row > *:is(:hover, :focus-visible)::before,
  .sdd-shell .sdd-sidebar-socials .sdd-social-link:is(:hover, :focus-visible)::after,
  .sdd-js .sdd-shell .sdd-comment.is-own .sdd-own-label {
    animation: none;
  }

  .sdd-shell .sdd-hero-avatar-column .sd-detail-avatar:hover,
  .sdd-hero:focus-within .sdd-hero-avatar-column .sd-detail-avatar,
  .sdd-shell .sdd-hero-action-row > *:is(:hover, :focus-visible),
  .sdd-shell .sdd-hero-action-row > *:is(:hover, :focus-visible) > svg:last-child,
  .sdd-shell .sdd-sidebar-socials .sdd-social-link:is(:hover, :focus-visible),
  .sdd-shell .sdd-sidebar-socials .sdd-social-link:is(:hover, :focus-visible) .sdd-social-icon,
  .sdd-shell .sdd-sidebar-socials .sdd-social-link:is(:hover, :focus-visible) .sdd-social-arrow {
    transform: none;
  }
}

/* v5.15 cascade guardrails: retain pointer-driven depth above legacy v5 rules. */
.sdd-grid-plane,
.sdd-stars,
.sdd-orb,
.sdd-hero::before,
.sdd-shell .sd-detail-banner-overlay::after,
.sdd-social-panel::after {
  animation: none;
}

.sdd-hero::before {
  background:
    radial-gradient(
      circle 420px at var(--pointer-x) var(--pointer-y),
      rgb(49 226 255 / calc(var(--pointer-opacity) * 22%)),
      rgb(133 78 255 / calc(var(--pointer-opacity) * 10%)) 46%,
      transparent 72%
    ),
    radial-gradient(circle at 24% 48%, rgba(47, 218, 255, .09), transparent 25rem),
    radial-gradient(circle at 78% 28%, rgba(133, 75, 255, .10), transparent 28rem),
    linear-gradient(132deg, transparent 0 58%, rgba(44, 226, 255, .18) 58.08%, transparent 58.32%),
    linear-gradient(153deg, transparent 0 72%, rgba(143, 75, 255, .15) 72.08%, transparent 72.32%);
}

.sdd-hero-scan {
  animation-duration: 10s;
}

.sdd-shell .sdd-hero-action-row > .sd-primary-button {
  transform: translate3d(var(--magnet-x), var(--magnet-y), 0);
  animation: sdd-primary-flow 5.2s ease-in-out infinite;
}

.sdd-shell .sdd-hero-action-row > .sd-primary-button:is(:hover, :focus-visible) {
  transform: translate3d(var(--magnet-x), calc(var(--magnet-y) - 2px), 0);
}

.sdd-shell .sdd-comment {
  background:
    radial-gradient(
      circle 180px at var(--comment-x) var(--comment-y),
      rgb(59 218 255 / calc(var(--comment-spotlight) * 15%)),
      transparent 72%
    ),
    linear-gradient(180deg, rgba(5, 15, 30, .94), rgba(3, 10, 22, .92)) padding-box,
    linear-gradient(112deg, rgba(55, 215, 255, .22), rgba(132, 78, 255, .17), rgba(55, 215, 255, .22)) border-box;
  background-size: auto, auto, 230% 100%;
}

.sdd-shell .sdd-comment:hover,
.sdd-shell .sdd-comment:focus-within {
  transform: translateY(-2px);
}

.sdd-social-panel .sd-section-head::after {
  offset-path: none;
  animation: none;
  transform: translate3d(36px, 0, 0);
}

.sdd-social-panel.is-visible .sd-section-head::after {
  animation: sdd-contact-arc 6.4s linear 1 both;
}

@keyframes sdd-contact-arc {
  from { opacity: .38; transform: translate3d(-120%, 0, 0); }
  45% { opacity: .96; }
  to { opacity: .38; transform: translate3d(calc(100vw - 90px), 0, 0); }
}

@media (hover: none), (pointer: coarse) {
  .sdd-hero-avatar-column::before,
  .sdd-hero-avatar-column::after,
  .sdd-hero-scan,
  .sdd-shell .sd-detail-banner-overlay::after,
  .sdd-social-panel .sd-section-head::after {
    animation: none;
  }

  .sdd-shell .sdd-hero-action-row > .sd-primary-button,
  .sdd-shell .sdd-hero-action-row > .sd-primary-button:is(:hover, :focus-visible),
  .sdd-shell .sdd-comment:hover,
  .sdd-shell .sdd-comment:focus-within {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sdd-js:not(.is-motion-ready) .sdd-hero,
  .sdd-js [data-sd-reveal] {
    opacity: 1;
    transform: none;
  }

  .sdd-js.is-motion-ready .sdd-hero,
  .sdd-js.is-motion-ready .sdd-hero-avatar-column,
  .sdd-js.is-motion-ready .sdd-hero-content-column > *,
  .sdd-js.is-motion-ready .sdd-hero-data-card,
  .sdd-hero-avatar-column::before,
  .sdd-hero-avatar-column::after,
  .sdd-hero::before,
  .sdd-hero-scan,
  .sdd-shell .sd-detail-banner-overlay::after,
  .sdd-shell .sdd-hero-action-row > .sd-primary-button,
  .sdd-shell .sdd-hero-action-row > .sd-primary-button::after,
  .sdd-social-panel::after,
  .sdd-social-panel .sd-section-head::after,
  .sdd-shell .sdd-sidebar-socials .sdd-social-icon,
  .sdd-shell .sdd-sidebar-socials .sdd-social-icon::before,
  .sdd-shell .sdd-sidebar-socials .sdd-social-icon::after,
  .sdd-shell .sdd-comment,
  .sdd-shell .sdd-comment-avatar,
  .sdd-shell .sdd-comment.is-own::before,
  .sdd-shell .sdd-vote.is-vote-confirmed .sdd-vote-icon,
  .sdd-shell .sdd-vote.is-vote-confirmed .sdd-vote-icon::before,
  .sdd-shell .sdd-vote.is-vote-confirmed .sdd-vote-icon::after {
    animation: none;
  }

  .sdd-hero,
  .sdd-social-panel,
  .sdd-shell .sdd-comment,
  .sdd-shell .sdd-hero-action-row > .sd-primary-button {
    --pointer-opacity: 0;
    --comment-spotlight: 0;
    --magnet-x: 0px;
    --magnet-y: 0px;
    transform: none;
  }
}
