html {
  --rocky-color-bg: #070706;
  --rocky-color-bg-elevated: #0c0b0a;
  --rocky-color-surface: #11100f;
  --rocky-color-surface-2: #191714;
  --rocky-color-surface-3: #24211d;
  --rocky-color-border: #302c26;
  --rocky-color-border-soft: rgba(243, 241, 236, .08);
  --rocky-text-primary: #F3F1EC;
  --rocky-text-secondary: #B7B1A8;
  --rocky-text-muted: #8B857D;
  --rocky-text-disabled: #6E6962;
  --rocky-accent: #D7B26B;
  --rocky-accent-bright: #F1D28B;
  --rocky-accent-muted: #B79257;
  --rocky-accent-contrast: #12100B;
  --rocky-color-danger: #D95B70;
  --rocky-color-success: #8FAF82;
  --rocky-radius-sm: 10px;
  --rocky-radius-md: 12px;
  --rocky-radius-lg: 16px;
  --rocky-radius-xl: 20px;
  --rocky-shadow-card: 0 14px 34px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(243, 241, 236, .045);
  --rocky-shadow-card-soft: 0 8px 20px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(243, 241, 236, .035);
  --rocky-shadow-active: 0 12px 30px rgba(183, 146, 87, .16), inset 0 0 0 1px rgba(241, 210, 139, .28);
  --rocky-shadow-button: inset 0 1px 0 rgba(255, 245, 214, .42), inset 0 -14px 24px rgba(98, 65, 20, .28), 0 10px 22px rgba(0, 0, 0, .32);
  --rocky-shadow-pressed: inset 0 2px 10px rgba(0, 0, 0, .38);
  --rocky-gradient-button: linear-gradient(135deg, var(--rocky-accent-bright) 0%, var(--rocky-accent) 48%, var(--rocky-accent-muted) 100%);
  --rocky-gradient-button-pressed: linear-gradient(135deg, #CDA762 0%, #B79257 100%);
  --rocky-gradient-nav-active: linear-gradient(180deg, rgba(215, 178, 107, .30), rgba(215, 178, 107, .06));
  --rocky-gradient-progress: linear-gradient(90deg, #B79257 0%, #D7B26B 52%, #F1D28B 100%);
  --rocky-gradient-text: linear-gradient(90deg, var(--rocky-accent-bright), var(--rocky-accent));
  --rocky-overlay-soft: linear-gradient(180deg, rgba(7, 7, 6, .14), rgba(7, 7, 6, .78));
  --rocky-font-stack: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
  height: 100%;
  overflow: hidden;
  background-color: var(--rocky-color-bg);
}

body {
  height: 100%;
  overflow: hidden;
  min-height: 100%;
  isolation: isolate;
  background-color: var(--rocky-color-bg);
  font-family: var(--rocky-font-stack);
  font-kerning: normal;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "tnum" 0;
}

body.rocky-landscape-blocked {
  touch-action: none;
}

body.rocky-landscape-blocked #root,
body.rocky-landscape-blocked #loader {
  pointer-events: none;
  user-select: none;
}

body.rocky-landscape-blocked::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background:
    radial-gradient(circle at 50% 28%, rgba(215, 178, 107, .18), transparent 32%),
    linear-gradient(180deg, rgba(7, 7, 6, .98), rgba(12, 11, 10, .98));
}

body.rocky-landscape-blocked::after {
  content: "Поверните телефон вертикально";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2147483647;
  width: min(360px, calc(100vw - 48px));
  transform: translate(-50%, -50%);
  color: var(--rocky-text-primary);
  font: 700 22px/1.25 var(--rocky-font-stack);
  letter-spacing: 0;
  text-align: center;
  padding: 80px 24px 28px;
  border: 1px solid rgba(215, 178, 107, .26);
  border-radius: var(--rocky-radius-lg);
  background:
    linear-gradient(180deg, rgba(25, 23, 20, .96), rgba(12, 11, 10, .96));
  box-shadow: var(--rocky-shadow-card);
}

:root {
  --app-safe-top: max(env(safe-area-inset-top, 0px), var(--tg-safe-area-inset-top, 0px), var(--tg-content-safe-area-inset-top, 0px));
  --app-safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--tg-safe-area-inset-bottom, 0px), var(--tg-content-safe-area-inset-bottom, 0px));
}

#root {
  min-height: 100dvh;
  overflow: hidden;
  background-color: var(--rocky-color-bg);
}

html,
body,
#root {
  background-image: var(--rocky-bg-main-url, url("/game/images/bg/main.png"));
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: var(--rocky-color-bg);
}

.bg-graphite-dark {
  background-color: var(--rocky-color-bg) !important;
}

.bg-graphite-normal {
  background-color: var(--rocky-color-surface) !important;
  box-shadow: var(--rocky-shadow-card-soft);
}

.bg-graphite-light,
.data-\[state\=active\]\:bg-graphite-light[data-state=active] {
  background-color: var(--rocky-color-surface-2) !important;
}

.border-graphite-light {
  border-color: var(--rocky-color-border) !important;
}

.text-gold,
.data-\[status\=active\]\:text-gold[data-status=active] {
  color: var(--rocky-accent) !important;
}

.text-graphite-superlight {
  color: var(--rocky-text-disabled) !important;
}

.text-white {
  color: var(--rocky-text-primary) !important;
}

.text-white\/85,
.text-white\/80 {
  color: var(--rocky-text-primary) !important;
}

.text-white\/75,
.text-white\/65 {
  color: var(--rocky-text-secondary) !important;
}

.text-white\/55,
.text-white\/40,
.text-white\/35 {
  color: var(--rocky-text-muted) !important;
}

.text-white\/20 {
  color: var(--rocky-text-disabled) !important;
}

.text-black {
  color: var(--rocky-accent-contrast) !important;
}

.rocky-special-mission-card .rocky-task-copy {
  min-width: 0;
  align-items: flex-start;
  text-align: left;
}

.rocky-special-mission-card .rocky-task-card-main {
  align-items: flex-start;
}

.rocky-special-mission-card .rocky-task-description {
  display: -webkit-box;
  max-width: min(50vw, 230px);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.rocky-special-mission-card .rocky-task-claim {
  flex-shrink: 0;
}

.rocky-special-mission-card .rocky-special-task-action {
  width: min(34vw, 132px);
  min-width: 102px;
  text-align: center;
}

.rocky-special-mission-card .rocky-task-reward {
  justify-content: center;
}

.bg-gold-button-gradient {
  background-image: var(--rocky-gradient-button) !important;
  color: var(--rocky-accent-contrast) !important;
}

.bg-gold\/10 {
  background-color: rgba(215, 178, 107, .12) !important;
}

.data-\[status\=active\]\:bg-active-nav-gradient[data-status=active] {
  background-image: var(--rocky-gradient-nav-active) !important;
}

.data-\[status\=active\]\:shadow-gold[data-status=active] {
  --tw-shadow-color: rgba(215, 178, 107, .50) !important;
}

.shadow-gold-button-glow {
  --tw-shadow: var(--rocky-shadow-button) !important;
  box-shadow: var(--rocky-shadow-button) !important;
}

.shadow-heat-button-glow {
  --tw-shadow: var(--rocky-shadow-button) !important;
  box-shadow: var(--rocky-shadow-button) !important;
}

.from-graphite-dark {
  --tw-gradient-from: var(--rocky-color-bg) var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgba(5, 6, 7, 0) var(--tw-gradient-to-position) !important;
}

.bg-accent-error {
  background-color: var(--rocky-color-danger) !important;
}

.bg-heat-button-gradient,
.bg-heat-progress-gradient {
  background-image: var(--rocky-gradient-progress) !important;
}

.bg-heat-text-gradient {
  background-image: var(--rocky-gradient-text) !important;
}

.shadow-progress-glow {
  --tw-shadow: 0 0 12px rgba(215, 178, 107, .25) !important;
  box-shadow: 0 0 12px rgba(215, 178, 107, .25) !important;
}

#root .h-\[80dvh\] {
  height: 80dvh;
}

#root .min-h-\[64px\] {
  min-height: 64px;
}

#root .w-16 {
  width: 4rem;
}

#root .items-stretch {
  align-items: stretch;
}

#root .border-gold\/30 {
  border-color: rgba(215, 178, 107, .30) !important;
}

#root .leading-\[1\.3rem\] {
  line-height: 1.3rem;
}

.rounded-xl {
  border-radius: var(--rocky-radius-md) !important;
}

.rounded-2xl,
.rounded-3xl {
  border-radius: var(--rocky-radius-lg) !important;
}

.rounded-t-xl,
.rounded-t-3xl {
  border-top-left-radius: var(--rocky-radius-xl) !important;
  border-top-right-radius: var(--rocky-radius-xl) !important;
}

.border-white\/35 {
  border-color: rgba(243, 241, 236, .18) !important;
}

.bg-white\/5 {
  background-color: rgba(243, 241, 236, .06) !important;
}

.opacity-50,
.disabled\:opacity-50:disabled,
.disabled\:opacity-35:disabled {
  opacity: .68 !important;
}

button,
a,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}

button:disabled,
button[disabled],
[data-disabled] {
  color: var(--rocky-text-disabled) !important;
  filter: saturate(.72);
}

.bg-gold-button-gradient:active,
.bg-heat-button-gradient:active {
  background-image: var(--rocky-gradient-button-pressed) !important;
  box-shadow: var(--rocky-shadow-pressed) !important;
}

#root .bg-graphite-normal,
#root .bg-graphite-light {
  border: 1px solid var(--rocky-color-border-soft);
}

#root .bg-graphite-light .bg-graphite-normal,
#root .bg-graphite-normal .bg-graphite-light {
  box-shadow: none;
}

#root [role="tablist"],
#root .border-graphite-light.backdrop-blur-\[2px\] {
  min-height: 52px;
  padding: 3px !important;
  gap: 3px !important;
  border-radius: var(--rocky-radius-lg) !important;
  border-color: var(--rocky-color-border) !important;
  background: rgba(17, 16, 15, .74) !important;
  box-shadow: var(--rocky-shadow-card-soft);
}

#root [role="tab"] {
  min-height: 40px;
  border-radius: var(--rocky-radius-md) !important;
  color: var(--rocky-text-secondary) !important;
  text-align: center;
}

#root [role="tab"][data-state="active"] {
  color: var(--rocky-text-primary) !important;
  background: linear-gradient(180deg, rgba(215, 178, 107, .20), rgba(215, 178, 107, .08)) !important;
  box-shadow: var(--rocky-shadow-active);
}

#root nav .bg-graphite-normal,
#root a[data-status],
#root [data-status] {
  border-radius: var(--rocky-radius-lg) !important;
}

#root a[data-status="active"],
#root [data-status="active"] {
  background-image: var(--rocky-gradient-nav-active) !important;
  box-shadow: var(--rocky-shadow-active) !important;
}

#root nav.flex.gap-1 {
  align-items: stretch;
}

#root nav.flex.gap-1 > a[data-status] {
  flex: 1 1 0 !important;
  min-width: 0;
  height: 80px;
  display: grid !important;
  place-items: center;
  padding-left: 6px !important;
  padding-right: 6px !important;
}

#root nav.flex.gap-1 > a[data-status] > div {
  width: 100%;
  min-width: 0;
}

#root nav.flex.gap-1 > a[data-status] > div > div:first-child {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

#root nav.flex.gap-1 > a[data-status] > div > div:last-child {
  width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.15;
}

#root nav.flex.gap-1 > a[data-status] > .bg-accent-error {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  border-radius: 999px !important;
  padding: 0 !important;
  aspect-ratio: 1 / 1;
}

.rocky-products-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rocky-shop-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.rocky-shop-filter {
  min-height: 38px;
  border: 1px solid var(--rocky-color-border);
  border-radius: var(--rocky-radius-md);
  background: rgba(17, 16, 15, .78);
  color: var(--rocky-text-secondary);
  box-shadow: var(--rocky-shadow-card-soft);
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.rocky-shop-filter.is-active {
  border-color: rgba(241, 210, 139, .34);
  background: linear-gradient(180deg, rgba(215, 178, 107, .20), rgba(215, 178, 107, .08));
  color: var(--rocky-text-primary);
  box-shadow: var(--rocky-shadow-active);
}

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

.rocky-product-card {
  display: block;
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
}

.rocky-product-image-wrap {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
}

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

.rocky-product-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(255, 255, 255, .45);
  font-size: 12px;
  text-align: center;
}

.rocky-product-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 8px;
}

.rocky-product-store {
  color: rgba(255, 255, 255, .45);
  font-size: 11px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rocky-product-title {
  color: rgba(255, 255, 255, .92);
  display: -webkit-box;
  min-height: 36px;
  overflow: hidden;
  font-size: 13px;
  line-height: 18px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rocky-product-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  min-height: 18px;
}

.rocky-product-price {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.rocky-product-old-price {
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
  line-height: 16px;
  text-decoration: line-through;
}

.rocky-product-discount {
  color: #e55b5b;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.rocky-products-more {
  align-self: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .82);
  padding: 10px 16px;
  font-size: 13px;
}

.rocky-brand-task-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.rocky-runtime-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(2px);
  transition: opacity .2s ease-out;
}

.rocky-runtime-drawer-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 88dvh;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background-color: rgba(17, 16, 15, .94);
  background-image: linear-gradient(180deg, rgba(7, 7, 6, .72), rgba(7, 7, 6, .90)), var(--rocky-bg-mini-url, url("/game/images/bg/mini.png"));
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  isolation: isolate;
  box-shadow: 0 -18px 44px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(243, 241, 236, .055);
  animation: rockyBoostDrawerOpen .3s cubic-bezier(.32, .72, 0, 1);
}

.rocky-runtime-drawer-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -10;
  width: 100%;
  max-width: none;
  pointer-events: none;
}

.rocky-runtime-drawer.is-closing .rocky-runtime-drawer-overlay {
  opacity: 0;
}

.rocky-runtime-drawer.is-closing .rocky-runtime-drawer-content {
  transform: translate3d(0, 100%, 0);
  transition: transform .22s cubic-bezier(.32, .72, 0, 1);
}

.rocky-brand-task-backdrop:not(.rocky-runtime-drawer-overlay) {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(2px);
}

.rocky-brand-task-sheet:not(.rocky-runtime-drawer-content) {
  --rocky-popup-panel-bg: linear-gradient(180deg, rgba(25, 23, 20, .98), rgba(12, 11, 10, .98));
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 88dvh;
  overflow: hidden;
  border: 1px solid rgba(243, 241, 236, .12);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: var(--rocky-popup-panel-bg);
  color: #fff;
  isolation: isolate;
  box-shadow: 0 -18px 42px rgba(0, 0, 0, .42);
  transition: transform .18s ease;
}

.rocky-favorite-brand-sheet {
  display: flex;
  max-height: 88dvh;
  flex-direction: column;
  border: 0;
  border-radius: 12px 12px 0 0;
  padding: 40px 24px;
}

.rocky-favorite-brand-sheet .rocky-brand-task-close {
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  background: transparent;
  color: var(--rocky-text-primary);
}

.rocky-favorite-brand-sheet .rocky-brand-task-close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.rocky-favorite-brand-sheet .rocky-brand-task-content {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 0;
  text-align: center;
}

.rocky-favorite-brand-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rocky-favorite-brand-sheet .rocky-brand-sheet-confirm {
  border-radius: 12px;
  background: var(--rocky-gradient-progress);
  box-shadow: var(--rocky-shadow-button);
  color: var(--rocky-accent-contrast);
  padding: 17px;
  font-size: 18px;
  font-weight: 600;
  line-height: 18px;
}

.rocky-brand-task-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  opacity: .72;
  pointer-events: none;
}

.rocky-brand-task-handle {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .24);
  transform: translateX(-50%);
}

.rocky-brand-task-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .72);
  font-size: 24px;
  line-height: 1;
}

.rocky-brand-task-content {
  position: relative;
  z-index: 1;
  max-height: 88dvh;
  overflow-y: auto;
  padding: 34px 24px calc(18px + env(safe-area-inset-bottom));
}

.rocky-brand-task-kicker {
  margin-bottom: 8px;
  color: var(--rocky-accent-bright);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.rocky-brand-task-title {
  padding: 0 34px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
}

.rocky-brand-task-text {
  margin-top: 10px;
  color: rgba(255, 255, 255, .66);
  font-size: 14px;
  line-height: 1.38;
  text-align: center;
}

.rocky-brand-sheet-choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding-bottom: 2px;
}

.rocky-brand-sheet-hint {
  border: 1px solid rgba(255, 212, 122, .18);
  border-radius: var(--rocky-radius-md);
  background: rgba(215, 178, 107, .08);
  color: rgba(255, 255, 255, .82);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.rocky-brand-sheet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.rocky-brand-sheet-brand {
  display: flex;
  min-width: 0;
  min-height: 60px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--rocky-color-border);
  border-radius: var(--rocky-radius-md);
  background: rgba(255, 255, 255, .045);
  color: var(--rocky-text-primary);
  padding: 10px;
  text-align: center;
}

.rocky-brand-sheet-brand span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(215, 178, 107, .14);
  color: var(--rocky-accent-bright);
  font-size: 12px;
  font-weight: 700;
}

.rocky-brand-sheet-brand b {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.12;
}

.rocky-brand-sheet-brand.is-selected {
  border-color: rgba(241, 210, 139, .48);
  background: linear-gradient(180deg, rgba(215, 178, 107, .22), rgba(215, 178, 107, .08));
  box-shadow: var(--rocky-shadow-active);
}

.rocky-brand-sheet-confirm {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--rocky-gradient-button);
  box-shadow: var(--rocky-shadow-button);
  color: var(--rocky-accent-contrast);
  padding: 13px 18px;
  font-size: 17px;
  font-weight: 700;
}

.rocky-brand-sheet-confirm:disabled {
  opacity: .6;
}

.rocky-brand-sheet-status {
  min-height: 19px;
  color: var(--rocky-color-success);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.rocky-brand-sheet-status:empty {
  display: none;
}

#root a[data-status] img,
#root [data-status] img {
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .28));
}

#root a[data-status="active"] img,
#root [data-status="active"] img {
  filter: drop-shadow(0 5px 14px rgba(215, 178, 107, .20));
}

#root img[src*="nav/glow"] {
  opacity: .34 !important;
  filter: sepia(.55) saturate(.9) brightness(.88);
}

#root [role="progressbar"] {
  background: rgba(7, 7, 6, .72) !important;
  border-color: var(--rocky-color-border) !important;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, .42);
}

#root [role="progressbar"] > div {
  background-image: var(--rocky-gradient-progress) !important;
  box-shadow: 0 0 12px rgba(215, 178, 107, .25) !important;
}

#root [class*="fixed"][class*="bottom-0"][class*="bg-graphite-normal"],
#root [vaul-drawer],
#root [role="dialog"] {
  background-color: rgba(17, 16, 15, .94) !important;
  background-image: linear-gradient(180deg, rgba(7, 7, 6, .72), rgba(7, 7, 6, .90)), var(--rocky-bg-mini-url, url("/game/images/bg/mini.png")) !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  border: 1px solid var(--rocky-color-border-soft);
  box-shadow: 0 -18px 44px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(243, 241, 236, .055);
}

#root .bg-black\/50,
#root .bg-black\/70,
#root .bg-black\/80 {
  background-color: rgba(7, 7, 6, .82) !important;
}

#root .text-rose-500 {
  color: var(--rocky-color-danger) !important;
}

#root .text-green-400 {
  color: var(--rocky-color-success) !important;
}

#root > div {
  min-height: 100dvh;
  height: 100dvh;
  box-sizing: border-box;
  padding-top: calc(var(--app-safe-top) + 12px);
  padding-bottom: calc(var(--app-safe-bottom) + 24px);
}

#root > div.relative.grid > div.relative:not(.overflow-scroll) {
  padding-bottom: 8px;
}

#root img[alt="bg"] {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  min-height: 100dvh;
  height: 100dvh;
  object-fit: cover;
}

#root .flex.flex-col.items-center.gap-0:has(> button[class="px-2 py-1 focus-visible:outline-none"]) {
  padding-top: 36px;
}

#root button[class="px-2 py-1 focus-visible:outline-none"] {
  position: fixed;
  top: calc(var(--app-safe-top) + 6px);
  left: 50%;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}


.rocky-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, .76);
  backdrop-filter: blur(4px);
  animation: rockyPopupFade .24s ease-out;
}

.rocky-popup-closing {
  opacity: 0;
  transition: opacity .22s ease;
}

.rocky-popup-card {
  --rocky-popup-panel-bg: linear-gradient(180deg, rgba(25, 23, 20, .98), rgba(12, 11, 10, .98));
  --rocky-popup-glow-url: url("/game/images/bg/accent.png");
  position: relative;
  width: min(100%, 360px);
  max-height: 88dvh;
  overflow-y: auto;
  border: 1px solid rgba(243, 241, 236, .12);
  border-radius: 18px;
  background: var(--rocky-popup-panel-bg);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .05);
  padding: 22px;
  color: var(--rocky-text-primary);
  text-align: center;
}

.rocky-welcome-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden auto;
  background: var(--rocky-popup-panel-bg) !important;
}

.rocky-popup-glow {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  opacity: .72;
  pointer-events: none;
}

.rocky-welcome-card > :not(.rocky-popup-glow) {
  position: relative;
  z-index: 1;
}

.rocky-welcome-card .rocky-popup-button {
  margin-top: 0;
  padding: 17px;
  border-radius: 12px;
  font-size: 20px;
  line-height: 1.2;
}

.rocky-welcome-card .rocky-popup-text,
.rocky-welcome-card .rocky-popup-note {
  margin: 0;
}

.rocky-welcome-card .rocky-popup-highlight {
  margin: 0;
  padding: 13px 15px;
  color: var(--rocky-text-primary);
  font-size: 14px;
  line-height: 1.45;
}

.rocky-welcome-popup {
  place-items: end center;
  padding: 0;
}

.rocky-welcome-popup .rocky-popup-card {
  width: 100%;
  max-width: none;
  max-height: 96dvh;
  background: var(--rocky-color-surface);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 12px 12px 0 0;
  padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
}

.rocky-welcome-popup .rocky-welcome-card {
  background: var(--rocky-popup-panel-bg) !important;
}

.rocky-level-sheet {
  min-height: min(78dvh, 640px);
  max-height: 88dvh;
}

.rocky-popup-title {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
}

.rocky-popup-trophy {
  margin-bottom: 6px;
  font-size: 34px;
  line-height: 1;
}

.rocky-popup-text,
.rocky-popup-note {
  margin: 12px 0 0;
  color: var(--rocky-text-secondary);
  font-size: 15px;
  line-height: 1.38;
}

.rocky-popup-subtitle {
  margin: 0;
  color: var(--rocky-text-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.28;
}

.rocky-welcome-content {
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow-y: auto;
  text-align: center;
}

.rocky-welcome-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.rocky-welcome-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.rocky-welcome-rewards {
  display: grid;
  gap: 12px;
  width: 100%;
}

.rocky-welcome-reward-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.rocky-welcome-reward {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  font-size: 12px;
  line-height: 1.15;
}

.rocky-welcome-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}

.rocky-welcome-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.rocky-welcome-reward b {
  color: var(--rocky-text-primary);
  font-size: 12px;
  line-height: 1.15;
}

.rocky-welcome-coin-reward b {
  color: var(--rocky-accent-bright);
  font-size: 18px;
}

.rocky-welcome-reward small {
  display: block;
  color: var(--rocky-text-secondary);
  font-size: 10px;
  line-height: 1.18;
}

.rocky-intro-stores {
  display: grid;
  gap: 10px;
}

.rocky-inline-coin {
  width: 31px;
  height: 31px;
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
}

.rocky-inline-coin img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.rocky-inline-coin-button {
  width: 24px;
  height: 24px;
  margin: 0 1px;
}

.rocky-inline-coin-button img {
  width: 22px;
  height: 22px;
}

.rocky-onboarding {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 10080;
  overflow: visible;
  pointer-events: none;
  font-family: Montserrat, Arial, sans-serif;
}

.rocky-onboarding-ring {
  position: fixed;
  z-index: 10081;
  display: none;
  box-sizing: border-box;
  border: 1px solid rgba(255, 212, 122, .9);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .12),
    0 0 22px rgba(255, 197, 83, .38),
    inset 0 0 18px rgba(255, 197, 83, .12);
  pointer-events: none;
  transition: opacity .14s ease;
  opacity: 0;
}

.rocky-onboarding-ring.is-visible {
  display: block;
  opacity: 1;
}

.rocky-onboarding-ring.is-level {
  border-width: 2px;
  border-color: rgba(255, 224, 151, .98);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .18),
    0 0 0 3px rgba(255, 198, 82, .18),
    0 0 28px rgba(255, 197, 83, .48),
    inset 0 0 22px rgba(255, 197, 83, .16);
}

.rocky-onboarding-ring.is-footer-reminder {
  border-width: 2px;
  border-color: rgba(255, 219, 139, .98);
  border-radius: 16px;
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, .18),
    0 0 0 5px rgba(255, 197, 83, .16),
    0 0 26px rgba(255, 197, 83, .54),
    inset 0 0 18px rgba(255, 197, 83, .18);
}

.rocky-onboarding-ring.is-pulsing {
  animation: rocky-onboarding-pulse 1.1s ease;
}

.rocky-onboarding-pointer {
  position: fixed;
  z-index: 10086;
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, #ffe2a0 0 34%, rgba(255, 204, 111, .72) 35% 58%, rgba(255, 204, 111, 0) 60%);
  filter: drop-shadow(0 0 10px rgba(255, 198, 82, .6));
  pointer-events: none;
  animation: rocky-onboarding-marker 1.15s ease-in-out infinite;
}

.rocky-onboarding-pointer.is-visible {
  display: block;
}

.rocky-onboarding-bubble {
  position: fixed;
  z-index: 10088;
  display: none;
  box-sizing: border-box;
  border: 1px solid rgba(255, 212, 122, .2);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(31, 28, 22, .96), rgba(12, 11, 10, .95)),
    url("/game/images/bg/accent.png") bottom center / 100% auto no-repeat;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .06);
  padding: 11px 13px;
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.32;
  text-align: center;
  opacity: 0;
  transform: translateY(6px) scale(.98);
  pointer-events: auto;
  transition: opacity .18s ease, transform .18s ease;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.rocky-onboarding-bubble.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rocky-onboarding-chip {
  position: fixed;
  right: 14px;
  bottom: calc(98px + env(safe-area-inset-bottom));
  z-index: 10084;
  display: none;
  width: max-content;
  max-width: min(270px, calc(100vw - 32px));
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 212, 122, .24);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(33, 30, 24, .96), rgba(12, 11, 10, .96));
  box-shadow: 0 9px 22px rgba(0, 0, 0, .32), 0 0 14px rgba(255, 196, 75, .14);
  padding: 6px 10px 6px 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.12;
  pointer-events: auto;
  text-align: center;
  white-space: normal;
  overflow: hidden;
}

.rocky-onboarding-chip.is-visible {
  display: inline-flex;
}

.rocky-toast-below-onboarding-chip {
  top: var(--rocky-toast-top) !important;
}

body:has(.rocky-brand-task-overlay) .rocky-onboarding-chip {
  display: none !important;
}

.rocky-onboarding.is-popup-occluded > :not(.rocky-onboarding-success) {
  display: none !important;
}

.rocky-onboarding-chip::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 0%, transparent 38%, rgba(255, 230, 166, .34) 48%, transparent 58%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
  animation: rocky-onboarding-chip-sheen 10s ease-in-out infinite;
}

.rocky-onboarding-chip > * {
  position: relative;
  z-index: 1;
}

.rocky-onboarding-chip-label {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--rocky-gradient-button);
  padding: 3px 6px;
  color: #111;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.rocky-referrals-empty-page {
  justify-content: flex-start !important;
  gap: 32px;
}

.rocky-referrals-empty-state {
  height: auto !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  margin-top: 0;
}

.rocky-referrals-empty-state img[alt="no referrals"] {
  display: none !important;
}

.rocky-referrals-empty-title {
  color: rgba(255, 255, 255, .75) !important;
  font-size: 20px !important;
  line-height: 1.18 !important;
  font-weight: 600 !important;
}

.rocky-onboarding-success {
  position: fixed;
  left: 50%;
  top: 18%;
  z-index: 10089;
  display: none;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--rocky-gradient-button);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .32), 0 0 26px rgba(255, 196, 75, .3);
  padding: 10px 16px;
  color: #111;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.rocky-onboarding-success.is-visible {
  display: block;
  animation: rocky-onboarding-success .95s ease forwards;
}

.rocky-onboarding-coin-fly {
  position: fixed;
  bottom: 132px;
  z-index: 10086;
  width: 22px;
  height: 22px;
  pointer-events: none;
  animation: rocky-onboarding-coin-fly .86s ease-out forwards;
}

@keyframes rocky-onboarding-pulse {
  0% { transform: scale(.985); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 0 16px rgba(255, 197, 83, .28), inset 0 0 14px rgba(255, 197, 83, .10); }
  45% { transform: scale(1.025); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 0 34px rgba(255, 197, 83, .52), inset 0 0 22px rgba(255, 197, 83, .18); }
  100% { transform: scale(1); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 0 22px rgba(255, 197, 83, .38), inset 0 0 18px rgba(255, 197, 83, .12); }
}

@keyframes rocky-onboarding-marker {
  0%, 100% { transform: translateY(0) scale(.92); opacity: .72; }
  50% { transform: translateY(-5px) scale(1); opacity: 1; }
}

@keyframes rocky-onboarding-success {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(.92); }
  18% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  78% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -8px) scale(.96); }
}

@keyframes rocky-onboarding-chip-sheen {
  0%, 82% { opacity: 0; transform: translateX(-120%); }
  86% { opacity: .8; }
  94% { opacity: 0; transform: translateX(120%); }
  100% { opacity: 0; transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  .rocky-onboarding-chip::after {
    animation: none;
  }
}

@keyframes rocky-onboarding-coin-fly {
  0% { opacity: 0; transform: translate(0, 0) scale(.78) rotate(0deg); }
  14% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.08) rotate(26deg); }
}

.rocky-brand-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
}

.rocky-brand-chip {
  box-sizing: border-box;
  width: 100%;
  height: 30px;
  min-width: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f7f3ea;
  padding: 0 8px;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  overflow: hidden;
}

.rocky-brand-logo {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 30px;
  display: block;
  object-fit: contain;
}

.rocky-brand-logo-text {
  font-size: 16px;
}

.rocky-intro-delivery {
  grid-column: span 2;
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rocky-inviter-name {
  color: var(--rocky-accent-bright);
}

.rocky-level-benefits,
.rocky-next-box {
  border: 1px solid rgba(215, 178, 107, .18);
  border-radius: 14px;
  background: rgba(243, 241, 236, .055);
}

.rocky-level-benefits {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  padding: 12px;
  text-align: left;
  color: var(--rocky-text-secondary);
  font-size: 15px;
}

.rocky-level-benefits b,
.rocky-next-box b {
  color: var(--rocky-accent-bright);
}

.rocky-popup-highlight {
  border: 1px solid rgba(215, 178, 107, .55);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 220, 139, .18), transparent 42%),
    linear-gradient(180deg, rgba(36, 32, 26, .98), rgba(22, 22, 20, .96));
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 214, .12),
    0 12px 28px rgba(0, 0, 0, .22);
  margin: 18px 0;
}

.rocky-next-box {
  margin-top: 14px;
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
}

.rocky-next-box ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--rocky-text-secondary);
}

.rocky-level-requirements {
  border: 1px solid rgba(215, 178, 107, .58);
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 220, 139, .16), transparent 44%),
    linear-gradient(180deg, rgba(40, 36, 30, .98), rgba(20, 20, 19, .98));
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 219, .12),
    0 14px 30px rgba(0, 0, 0, .25);
}

.rocky-level-requirements-title {
  color: #f6d38a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.rocky-level-task-row {
  min-height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.rocky-task-card-main {
  gap: 10px;
  align-items: center;
}

.rocky-task-card-main > .flex:first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.rocky-task-icon {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px;
  object-fit: contain;
}

.rocky-special-task-icon {
  width: 38px !important;
  height: 38px !important;
  flex-basis: 38px;
}

.rocky-task-copy {
  min-width: 0;
  gap: 6px !important;
}

.rocky-task-title {
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.18 !important;
}

.rocky-task-reward {
  line-height: 1;
}

.rocky-task-reward img {
  width: 18px !important;
  height: 18px !important;
}

.rocky-task-claim {
  flex: 0 0 auto;
  width: 100%;
  min-width: 82px;
  max-width: 132px;
  padding: 9px 12px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  text-align: center;
  white-space: normal;
}

.rocky-special-mission-card .rocky-task-card-main {
  align-items: flex-start;
}

.h-\[88dvh\] {
  height: 88dvh;
}

.max-h-\[88dvh\] {
  max-height: 88dvh;
}

.min-h-\[72px\] {
  min-height: 72px;
}

.w-\[72px\] {
  width: 72px;
}

.rocky-popup-button {
  width: 100%;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  background: var(--rocky-gradient-button);
  box-shadow: var(--rocky-shadow-button);
  color: var(--rocky-accent-contrast);
  padding: 13px 18px;
  font-size: 17px;
  font-weight: 700;
}

.rocky-task-congrats-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.rocky-task-congrats-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.rocky-task-congrats-reward {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
}

.rocky-invited-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  border-radius: 999px;
  background: rgba(215, 178, 107, .14);
  color: var(--rocky-accent-bright);
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.rocky-inviter-avatar-marker {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(7, 7, 6, .72);
  border-radius: 999px;
  background: var(--rocky-gradient-button);
  color: var(--rocky-accent-contrast);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .28);
}

.rocky-referral-inviter-card {
  border: 1px solid rgba(215, 178, 107, .2);
  box-shadow: inset 0 1px 0 rgba(255, 246, 219, .06);
}

.rocky-inviter-badge {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(215, 178, 107, .34);
  border-radius: 999px;
  background: rgba(215, 178, 107, .12);
  color: var(--rocky-accent-bright);
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.rocky-referral-inviter-rewards {
  border-radius: 999px;
}

@keyframes rockyPopupFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rockyBoostDrawerOpen {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes rockyBoostBackdropOpen {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


.rocky-multitap-free-slot {
  margin-top: 10px;
}

.rocky-multitap-free-slot > * {
  width: 100%;
}
