:root {
  --color-bg-dark: #050b16;
  --color-bg-blue: #0a1730;
  --color-bg-brown: #0b1426;
  --color-bg-brown-light: #11223f;
  --color-bg-brown-lighter: #183055;
  --color-bg-brown-orange: #1e4677;
  --color-text-beige: #79a9d8;
  --color-text-gray: #8ea8c7;
  --color-accent-blue: #31b5ff;
  --color-accent-yellow: #31b5ff;
  --color-accent-orange: #1598ff;
  --color-accent-blue-10: rgba(49, 181, 255, 0.14);
  --color-accent-blue-20: rgba(49, 181, 255, 0.24);
  --color-star-gradient: radial-gradient(50% 50% at 50% 50%, #e7fbff 0%, #7edfff 40%, #31b5ff 70%, #167cff 100%);
}

html,
body {
  background:
    radial-gradient(circle at top center, rgba(49, 181, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #08101c 0%, #050b16 100%) fixed;
}

body {
  color: #f4fbff;
}

.bg-\[\#ffc60a\],
.bg-accent-yellow,
.bg-\[\#FFA90A\],
.bg-\[\#926D1D\],
.bg-\[\#352B01\],
.bg-\[\#352b01\],
.bg-\[\#1A1F00\],
.bg-\[\#1a1f00\] {
  background-color: #31b5ff !important;
  color: #06101b !important;
}

.bg-\[\#361D00\],
.bg-\[\#361d00\],
.bg-\[\#241401\],
.bg-\[\#412709\],
.bg-bg-brown,
.bg-bg-brown-light,
.bg-bg-brown-lighter {
  background-color: #0f1c32 !important;
}

.bg-\[\#292524\] {
  background-color: #132540 !important;
}

.bg-\[\#0A99FF\],
.bg-\[\#0A1121\],
.bg-bg-dark,
.bg-bg-dark\/70 {
  background-color: #0a1730 !important;
}

.bg-\[rgba\(255\,215\,0\,0\.2\)\],
.bg-\[rgba\(10\,186\,255\,0\.3\)\],
.bg-\[rgba\(10\,186\,255\,0\.9\)\] {
  background-color: rgba(49, 181, 255, 0.18) !important;
}

.border-\[\#412709\],
.border-\[\#FFC60A\],
.border-\[\#ffc60a\],
.border-bg-brown-light,
.border-bg-brown-orange,
.border-text-beige {
  border-color: #1d4678 !important;
}

.hover\:border-yellow-400\/50:hover,
.hover\:border-yellow-700:hover {
  border-color: #31b5ff !important;
}

.hover\:bg-\[\#4a2a00\]:hover,
.hover\:bg-\[\#e6b209\]:hover,
.hover\:bg-\[\#ffc60a\]:hover {
  background-color: #259fff !important;
}

.hover\:bg-\[rgba\(10\,186\,255\,0\.2\)\]:hover,
.hover\:bg-accent-blue-20:hover {
  background-color: rgba(49, 181, 255, 0.24) !important;
}

.text-\[\#ffd700\],
.text-\[\#FFC60A\],
.text-accent-yellow,
.text-accent-orange {
  color: #31b5ff !important;
}

.bg-\[\#926D1D\].text-\[\#FFC60A\],
.bg-\[\#352B01\].text-\[\#D0FF00\],
.bg-\[\#1A1F00\].text-\[\#D0FF00\],
.bg-\[\#412709\].text-\[\#FFC60A\],
.bg-\[\#FFA90A\].text-\[\#FFC60A\] {
  color: #071120 !important;
}

.text-\[\#C59C6D\],
.text-text-beige,
.placeholder\:text-text-beige::placeholder {
  color: #79a9d8 !important;
}

.text-star-gradient {
  background: linear-gradient(180deg, #f4fdff 0%, #97e8ff 40%, #31b5ff 100%) !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  text-decoration-color: #31b5ff !important;
}

.text-star-gradient2 {
  background: linear-gradient(180deg, #f4fdff 0%, #83e1ff 50%, #209cff 100%) !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
}

.shadow-\[0px_0px_24px_0px_rgba\(255\,198\,10\,0\.3\)\] {
  box-shadow: 0 0 24px rgba(49, 181, 255, 0.28) !important;
}

button.bg-\[\#ffc60a\],
a.bg-\[\#ffc60a\],
button.bg-accent-yellow,
a.bg-accent-yellow,
.bg-\[\#FFA90A\] {
  color: #071120 !important;
}

img[src$="yellow.svg"] {
  filter: drop-shadow(0 0 10px rgba(49, 181, 255, 0.16));
}

header,
footer {
  backdrop-filter: blur(16px);
}

body.akiro-mobile-nav-ready {
  padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
}

.akiro-mobile-nav {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 9991;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(11, 22, 42, 0.97) 0%, rgba(6, 13, 26, 0.97) 100%);
  border: 1px solid rgba(49, 181, 255, 0.15);
  box-shadow:
    0 20px 50px rgba(2, 7, 18, 0.55),
    0 4px 16px rgba(2, 7, 18, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.akiro-mobile-nav__item {
  appearance: none;
  border: 0;
  outline: 0;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 60px;
  padding: 8px 6px;
  border-radius: 20px;
  background: transparent;
  color: rgba(180, 215, 255, 0.5);
  transition:
    transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.2s ease,
    color 0.2s ease;
}

.akiro-mobile-nav__item svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.akiro-mobile-nav__item span {
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

/* Badge для уведомлений */
.akiro-mobile-nav__badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 18px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5f88, #ff3060);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  border: 1.5px solid rgba(6, 13, 26, 0.9);
  box-shadow: 0 2px 6px rgba(255, 60, 96, 0.45);
  pointer-events: none;
  display: none;
}

.akiro-mobile-nav__badge.is-visible {
  display: block;
  animation: akiro-badge-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes akiro-badge-pop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Primary кнопка (Заказать) */
.akiro-mobile-nav__item--primary {
  background: linear-gradient(160deg, rgba(49, 181, 255, 0.2) 0%, rgba(16, 70, 130, 0.16) 100%);
  color: #c8edff;
  box-shadow: inset 0 0 0 1px rgba(83, 192, 255, 0.2);
}

.akiro-mobile-nav__item--primary svg {
  color: #5dd0ff;
}

/* Нажатие */
.akiro-mobile-nav__item:active {
  transform: scale(0.88);
}

.akiro-mobile-nav__item:active svg {
  transform: scale(0.9);
}

/* Активное состояние — pill */
.akiro-mobile-nav__item.is-active {
  color: #e8f8ff;
  background: linear-gradient(160deg, rgba(49, 181, 255, 0.22) 0%, rgba(12, 55, 108, 0.26) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(83, 207, 255, 0.3),
    0 6px 20px rgba(14, 80, 160, 0.3);
}

.akiro-mobile-nav__item.is-active svg {
  color: #5dd5ff;
  filter: drop-shadow(0 0 6px rgba(49, 181, 255, 0.6));
}

.akiro-mobile-nav__item.is-active span {
  color: #7de2ff;
}

/* Dot-индикатор под иконкой активного */
.akiro-mobile-nav__item.is-active::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #31b5ff;
  box-shadow: 0 0 6px rgba(49, 181, 255, 0.8);
  opacity: 0;
  animation: akiro-dot-appear 0.25s ease 0.05s forwards;
}

@keyframes akiro-dot-appear {
  from { opacity: 0; transform: translateX(-50%) scale(0); }
  to   { opacity: 1; transform: translateX(-50%) scale(1); }
}

@media (min-width: 1024px) {
  body.akiro-mobile-nav-ready {
    padding-bottom: 0;
  }

  .akiro-mobile-nav {
    display: none;
  }
}

body.akiro-modal-open {
  overflow: hidden;
}

.akiro-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.akiro-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 18, 0.72);
  backdrop-filter: blur(10px);
}

.akiro-modal__dialog {
  position: relative;
  width: min(100%, 520px);
  border-radius: 28px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(13, 24, 43, 0.98) 0%, rgba(8, 15, 27, 0.98) 100%);
  border: 1px solid rgba(49, 181, 255, 0.22);
  box-shadow:
    0 24px 60px rgba(2, 8, 18, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.akiro-modal__dialog--compact {
  width: min(100%, 460px);
}

.akiro-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(49, 181, 255, 0.12);
  color: #dff7ff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.akiro-modal__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(49, 181, 255, 0.1);
  color: #77d8ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.akiro-modal__title {
  margin: 0;
  color: #f4fbff;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
}

.akiro-modal__text {
  margin: 12px 0 0;
  color: rgba(232, 245, 255, 0.74);
  font-size: 15px;
  line-height: 1.55;
}

.akiro-modal__presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.akiro-modal__presets button,
.akiro-profile-card__link,
.akiro-profile-card__button,
.akiro-modal__button {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.akiro-modal__presets button {
  min-height: 46px;
  border-radius: 16px;
  background: rgba(17, 37, 66, 0.92);
  color: #eaf8ff;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.akiro-modal__presets button:hover,
.akiro-modal__presets button:focus-visible {
  background: rgba(49, 181, 255, 0.18);
}

.akiro-modal__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.akiro-modal__field span {
  color: rgba(228, 243, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.akiro-modal__field input,
.akiro-modal__field textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(49, 181, 255, 0.18);
  background: rgba(12, 23, 41, 0.96);
  color: #f4fbff;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.4;
}

.akiro-modal__field textarea {
  min-height: 132px;
  resize: vertical;
}

.akiro-modal__field input:focus,
.akiro-modal__field textarea:focus {
  outline: none;
  border-color: rgba(83, 207, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(49, 181, 255, 0.12);
}

.akiro-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.akiro-modal__button {
  flex: 1 1 0;
  min-height: 54px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.akiro-modal__button:disabled {
  opacity: 0.65;
  cursor: default;
}

.akiro-modal__button--ghost {
  background: rgba(17, 37, 66, 0.92);
  color: #e8f6ff;
}

.akiro-modal__button--primary {
  background: linear-gradient(180deg, #35c0ff 0%, #1696ff 100%);
  color: #06101b;
  box-shadow: 0 16px 30px rgba(20, 120, 194, 0.26);
}

.akiro-profile-card {
  display: none;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-bottom: 18px;
  padding: 20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(49, 181, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(13, 24, 43, 0.98) 0%, rgba(8, 15, 27, 0.98) 100%);
  border: 1px solid rgba(49, 181, 255, 0.18);
  box-shadow:
    0 18px 40px rgba(3, 9, 20, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.akiro-profile-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
}

.akiro-profile-card__avatar-wrap {
  width: 62px;
  height: 62px;
  border-radius: 22px;
  padding: 2px;
  background: linear-gradient(180deg, rgba(53, 192, 255, 0.88), rgba(19, 91, 152, 0.92));
}

.akiro-profile-card__avatar {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  display: block;
  background: #0e1f39;
}

.akiro-profile-card__avatar.is-fallback {
  object-fit: contain;
  padding: 6px;
  background: #10264a;
}

.akiro-profile-card__identity {
  min-width: 0;
}

.akiro-profile-card__eyebrow {
  color: #7ad8ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.akiro-profile-card__name {
  margin-top: 6px;
  color: #f4fbff;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 800;
}

.akiro-profile-card__username {
  margin-top: 6px;
  color: rgba(220, 240, 255, 0.7);
  font-size: 14px;
  line-height: 1.4;
}

.akiro-profile-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  margin: -2px auto 0;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(49, 181, 255, 0.12);
  color: #def7ff;
  font-size: 13px;
  font-weight: 700;
}

.akiro-profile-card__link-icon,
.akiro-profile-card__stat-icon,
.akiro-profile-card__button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.akiro-profile-card__link-icon svg,
.akiro-profile-card__stat-icon svg,
.akiro-profile-card__button-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.akiro-profile-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.akiro-profile-card__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(17, 37, 66, 0.84);
  border: 1px solid rgba(49, 181, 255, 0.1);
}

.akiro-profile-card__stat-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.akiro-profile-card__stat-head span:last-child {
  color: rgba(220, 240, 255, 0.66);
  font-size: 12px;
  line-height: 1.3;
}

.akiro-profile-card__stat-icon {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  color: #8fdbff;
  background: rgba(49, 181, 255, 0.1);
}

.akiro-profile-card__stat strong {
  color: #f4fbff;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.akiro-profile-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.akiro-profile-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: 18px;
  background: rgba(17, 37, 66, 0.92);
  color: #e8f6ff;
  font-size: 15px;
  font-weight: 700;
}

.akiro-profile-card__button-icon {
  width: 22px;
  height: 22px;
}

.akiro-profile-card__button--primary {
  background: linear-gradient(180deg, #35c0ff 0%, #1696ff 100%);
  color: #06101b;
  box-shadow: 0 8px 20px rgba(22, 150, 255, 0.28);
}

.akiro-profile-card__button:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.akiro-profile-card__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(17, 37, 66, 0.84);
  border: 1px solid rgba(49, 181, 255, 0.1);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.akiro-profile-card__stat:hover {
  border-color: rgba(49, 181, 255, 0.22);
  background: rgba(20, 44, 80, 0.9);
}

.akiro-support-center {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: none;
  align-items: stretch;
  justify-content: center;
}

.akiro-support-center.is-open {
  display: flex;
}

.akiro-support-center__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 20, 0.7);
  backdrop-filter: blur(8px);
}

.akiro-support-center__panel {
  position: relative;
  width: min(100%, 1040px);
  margin: 18px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(49, 181, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(11, 21, 38, 0.98) 0%, rgba(6, 13, 24, 0.98) 100%);
  border: 1px solid rgba(49, 181, 255, 0.16);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.akiro-support-center__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(49, 181, 255, 0.1);
}

.akiro-support-center__eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(49, 181, 255, 0.1);
  color: #7ad8ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.akiro-support-center__title {
  margin: 10px 0 0;
  color: #f4fbff;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
}

.akiro-support-center__summary {
  margin-top: 8px;
  color: rgba(213, 237, 255, 0.68);
  font-size: 14px;
  line-height: 1.45;
}

.akiro-support-center__close {
  appearance: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(49, 181, 255, 0.1);
  color: #dff7ff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.akiro-support-center__body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  min-height: 0;
  flex: 1 1 auto;
}

.akiro-support-center__sidebar {
  border-right: 1px solid rgba(49, 181, 255, 0.08);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.akiro-support-center__new,
.akiro-support-center__status-btn,
.akiro-support-center__send {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.akiro-support-center__new {
  min-height: 48px;
  border-radius: 18px;
  background: linear-gradient(180deg, #35c0ff 0%, #1696ff 100%);
  color: #06101b;
  font-size: 15px;
  font-weight: 800;
}

.akiro-support-center__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding-right: 2px;
}

.akiro-support-center__ticket {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(49, 181, 255, 0.1);
  background: rgba(13, 28, 50, 0.72);
  color: inherit;
  border-radius: 20px;
  padding: 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

.akiro-support-center__ticket.is-active {
  border-color: rgba(83, 207, 255, 0.26);
  background: rgba(19, 44, 80, 0.86);
}

.akiro-support-center__ticket-status {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(29, 167, 111, 0.14);
  color: #6be3b0;
  font-size: 11px;
  font-weight: 700;
}

.akiro-support-center__ticket-status.is-closed {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(224, 236, 247, 0.82);
}

.akiro-support-center__ticket-subject {
  color: #f4fbff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.akiro-support-center__ticket-preview,
.akiro-support-center__ticket-time {
  color: rgba(208, 231, 250, 0.64);
  font-size: 13px;
  line-height: 1.45;
}

.akiro-support-center__thread {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.akiro-support-center__thread-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(49, 181, 255, 0.08);
}

.akiro-support-center__thread-title {
  color: #f4fbff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.05;
}

.akiro-support-center__thread-meta {
  margin-top: 6px;
  color: rgba(208, 231, 250, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.akiro-support-center__thread-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.akiro-support-center__status-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(49, 181, 255, 0.12);
  color: #dff7ff;
  font-size: 13px;
  font-weight: 700;
}

.akiro-support-center__messages {
  flex: 1 1 auto;
  min-height: 220px;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.akiro-support-center__message {
  max-width: min(100%, 560px);
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(17, 37, 66, 0.9);
  border: 1px solid rgba(49, 181, 255, 0.08);
}

.akiro-support-center__message.is-admin {
  align-self: flex-start;
  background: rgba(16, 54, 96, 0.86);
  border-color: rgba(49, 181, 255, 0.14);
}

.akiro-support-center__message.is-user {
  align-self: flex-end;
  background: rgba(14, 30, 54, 0.94);
}

.akiro-support-center__message-role {
  color: rgba(160, 217, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.akiro-support-center__message-text {
  margin-top: 8px;
  color: #f4fbff;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}

.akiro-support-center__composer {
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(49, 181, 255, 0.08);
}

.akiro-support-center__label {
  display: block;
  color: rgba(220, 240, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.akiro-support-center__composer textarea {
  width: 100%;
  min-height: 108px;
  margin-top: 10px;
  resize: vertical;
  border-radius: 18px;
  border: 1px solid rgba(49, 181, 255, 0.14);
  background: rgba(12, 23, 41, 0.96);
  color: #f4fbff;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.55;
}

.akiro-support-center__composer textarea:focus {
  outline: none;
  border-color: rgba(83, 207, 255, 0.48);
  box-shadow: 0 0 0 4px rgba(49, 181, 255, 0.12);
}

.akiro-support-center__composer-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.akiro-support-center__send {
  min-width: 180px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #35c0ff 0%, #1696ff 100%);
  color: #06101b;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(22, 150, 255, 0.24);
}

.akiro-support-center__empty,
.akiro-support-center__empty-thread {
  padding: 18px;
  border-radius: 20px;
  background: rgba(13, 28, 50, 0.6);
  color: rgba(220, 240, 255, 0.64);
  font-size: 14px;
  line-height: 1.55;
}

.akiro-sidebar__item-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 66, 112, 0.18);
  color: #ffdfe8;
  font-size: 11px;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
}

.akiro-sidebar__item-badge.is-visible {
  display: inline-flex;
}

/* ===== SIDEBAR ===== */

.akiro-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: stretch;
  justify-content: flex-end;
  background: rgba(3, 9, 20, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.akiro-sidebar-overlay.is-open {
  opacity: 1;
}

.akiro-sidebar {
  position: relative;
  width: min(88vw, 340px);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(10, 19, 36, 0.99) 0%, rgba(6, 13, 26, 0.99) 100%);
  border-left: 1px solid rgba(49, 181, 255, 0.18);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.akiro-sidebar-overlay.is-open .akiro-sidebar {
  transform: translateX(0);
}

.akiro-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  flex-shrink: 0;
}

.akiro-sidebar__title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.akiro-sidebar__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(49, 181, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.akiro-sidebar__title {
  font-size: 18px;
  font-weight: 800;
  color: #f4fbff;
  letter-spacing: -0.01em;
}

.akiro-sidebar__close {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(49, 181, 255, 0.1);
  color: #b8e4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s ease, color 0.18s ease;
}

.akiro-sidebar__close:hover {
  background: rgba(49, 181, 255, 0.2);
  color: #f4fbff;
}

.akiro-sidebar__user {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 16px 16px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(17, 37, 66, 0.7);
  border: 1px solid rgba(49, 181, 255, 0.14);
  flex-shrink: 0;
}

.akiro-sidebar__user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  background: #0e1f39;
  flex-shrink: 0;
  border: 2px solid rgba(53, 192, 255, 0.3);
}

.akiro-sidebar__user-info {
  min-width: 0;
  flex: 1;
}

.akiro-sidebar__user-name {
  font-size: 15px;
  font-weight: 700;
  color: #f4fbff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.akiro-sidebar__user-balance {
  margin-top: 3px;
  font-size: 13px;
  color: rgba(183, 220, 255, 0.72);
}

.akiro-sidebar__divider {
  height: 1px;
  background: rgba(49, 181, 255, 0.1);
  margin: 0 16px 12px;
  flex-shrink: 0;
}

.akiro-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 12px;
  flex: 1;
}

.akiro-sidebar__item {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  background: transparent;
  color: rgba(220, 240, 255, 0.82);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease, transform 0.14s ease;
  border: 1px solid transparent;
}

.akiro-sidebar__item:hover {
  background: rgba(49, 181, 255, 0.08);
  color: #f4fbff;
  border-color: rgba(49, 181, 255, 0.14);
}

.akiro-sidebar__item:active {
  transform: scale(0.98);
}

.akiro-sidebar__item--primary {
  background: linear-gradient(135deg, rgba(49, 181, 255, 0.18) 0%, rgba(22, 100, 180, 0.14) 100%);
  color: #b8e8ff;
  border-color: rgba(49, 181, 255, 0.22);
}

.akiro-sidebar__item--primary:hover {
  background: linear-gradient(135deg, rgba(49, 181, 255, 0.26) 0%, rgba(22, 100, 180, 0.22) 100%);
  color: #dff5ff;
}

.akiro-sidebar__item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(49, 181, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #6ecfff;
  transition: background 0.18s ease;
}

.akiro-sidebar__item--primary .akiro-sidebar__item-icon {
  background: rgba(49, 181, 255, 0.18);
  color: #35c0ff;
}

.akiro-sidebar__item:hover .akiro-sidebar__item-icon {
  background: rgba(49, 181, 255, 0.18);
}

.akiro-sidebar__item-label {
  flex: 1;
}

.akiro-sidebar__item-arrow {
  color: rgba(183, 220, 255, 0.35);
  display: flex;
  align-items: center;
  transition: color 0.18s ease, transform 0.18s ease;
}

.akiro-sidebar__item:hover .akiro-sidebar__item-arrow {
  color: rgba(183, 220, 255, 0.7);
  transform: translateX(2px);
}

.akiro-sidebar__footer {
  padding: 20px 20px 28px;
  text-align: center;
  flex-shrink: 0;
}

.akiro-sidebar__footer span {
  font-size: 13px;
  color: rgba(183, 220, 255, 0.38);
  font-weight: 500;
}

@media (max-width: 640px) {
  .akiro-support-center__panel {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .akiro-support-center__body {
    grid-template-columns: 1fr;
  }

  .akiro-support-center__sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(49, 181, 255, 0.08);
    max-height: 38vh;
  }

  .akiro-support-center__composer-actions {
    justify-content: stretch;
  }

  .akiro-support-center__send {
    width: 100%;
  }

  .akiro-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .akiro-modal__dialog {
    padding: 22px 18px 18px;
    border-radius: 24px;
  }

  .akiro-modal__presets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .akiro-modal__actions {
    flex-direction: column;
  }

  .akiro-profile-card__head {
    grid-template-columns: auto 1fr;
  }

  .akiro-profile-card__link {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .akiro-profile-card__stats {
    grid-template-columns: 1fr;
  }
}
