/*
! tailwindcss v3.3.0 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
*/

html {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

:root,
[data-theme] {
  background-color: var(--fallback-b1,oklch(var(--b1)/1));
  color: var(--fallback-bc,oklch(var(--bc)/1));
}

@supports not (color: oklch(0% 0 0)) {
  :root {
    color-scheme: light;
    --fallback-p: #491eff;
    --fallback-pc: #d4dbff;
    --fallback-s: #ff41c7;
    --fallback-sc: #fff9fc;
    --fallback-a: #00cfbd;
    --fallback-ac: #00100d;
    --fallback-n: #2b3440;
    --fallback-nc: #d7dde4;
    --fallback-b1: #ffffff;
    --fallback-b2: #e5e6e6;
    --fallback-b3: #e5e6e6;
    --fallback-bc: #1f2937;
    --fallback-in: #00b3f0;
    --fallback-inc: #000000;
    --fallback-su: #00ca92;
    --fallback-suc: #000000;
    --fallback-wa: #ffc22d;
    --fallback-wac: #000000;
    --fallback-er: #ff6f70;
    --fallback-erc: #000000;
  }

  @media (prefers-color-scheme: dark) {
    :root {
      color-scheme: dark;
      --fallback-p: #7582ff;
      --fallback-pc: #050617;
      --fallback-s: #ff71cf;
      --fallback-sc: #190211;
      --fallback-a: #00c7b5;
      --fallback-ac: #000e0c;
      --fallback-n: #2a323c;
      --fallback-nc: #a6adbb;
      --fallback-b1: #1d232a;
      --fallback-b2: #191e24;
      --fallback-b3: #15191e;
      --fallback-bc: #a6adbb;
      --fallback-in: #00b3f0;
      --fallback-inc: #000000;
      --fallback-su: #00ca92;
      --fallback-suc: #000000;
      --fallback-wa: #ffc22d;
      --fallback-wac: #000000;
      --fallback-er: #ff6f70;
      --fallback-erc: #000000;
    }
  }
}

html {
  -webkit-tap-highlight-color: transparent;
}

* {
  scrollbar-color: color-mix(in oklch, currentColor 35%, transparent) transparent;
}

*:hover {
  scrollbar-color: color-mix(in oklch, currentColor 60%, transparent) transparent;
}

:root {
  --p: 60.5631% 0.218915 292.717225;
  --b2: 23.932% 0.080043 281.288269;
  --b3: 22.1306% 0.074018 281.288269;
  --bc: 85.1467% 0.017214 281.288269;
  --pc: 12.1126% 0.043783 292.717225;
  --sc: 85.1467% 0.017214 281.288269;
  --ac: 87.5812% 0.027552 265.522188;
  --nc: 19.5215% 0.002771 304.141563;
  --inc: 12.4617% 0.037603 259.814527;
  --suc: 11.3446% 0.031876 146.328995;
  --wac: 12.4537% 0.042667 25.987819;
  --erc: 18.5747% 0.008859 58.431169;
  --rounded-box: 1rem;
  --rounded-btn: 0.5rem;
  --rounded-badge: 1.9rem;
  --animation-btn: 0.25s;
  --animation-input: .2s;
  --btn-focus-scale: 0.95;
  --border-btn: 1px;
  --tab-border: 1px;
  --tab-radius: 0.5rem;
  --s: 25.7333% 0.086068 281.288269;
  --a: 37.9059% 0.137761 265.522188;
  --n: 97.6077% 0.013857 304.141563;
  --b1: 25.7333% 0.086068 281.288269;
  --in: 62.3083% 0.188015 259.814527;
  --su: 56.7228% 0.159382 146.328995;
  --wa: 62.2684% 0.213334 25.987819;
  --er: 92.8733% 0.044295 58.431169;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.alert {
  display: grid;
  width: 100%;
  grid-auto-flow: row;
  align-content: flex-start;
  align-items: center;
  justify-items: center;
  gap: 1rem;
  text-align: center;
  border-radius: var(--rounded-box, 1rem);
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));
  padding: 1rem;
  --tw-text-opacity: 1;
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
  --alert-bg: var(--fallback-b2,oklch(var(--b2)/1));
  --alert-bg-mix: var(--fallback-b1,oklch(var(--b1)/1));
  background-color: var(--alert-bg);
}

@media (min-width: 640px) {
  .alert {
    grid-auto-flow: column;
    grid-template-columns: auto minmax(auto,1fr);
    justify-items: start;
    text-align: start;
  }
}

.avatar {
  position: relative;
  display: inline-flex;
}

.avatar > div {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.avatar img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.avatar.placeholder > div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  transition-duration: 200ms;
  height: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  width: -moz-fit-content;
  width: fit-content;
  padding-left: 0.563rem;
  padding-right: 0.563rem;
  border-radius: var(--rounded-badge, 1.9rem);
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
  --tw-text-opacity: 1;
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
}

@media (hover:hover) {
  .label a:hover {
    --tw-text-opacity: 1;
    color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
  }

  .menu li > *:not(ul, .menu-title, details, .btn):active,
.menu li > *:not(ul, .menu-title, details, .btn).active,
.menu li > details > summary:active {
    --tw-bg-opacity: 1;
    background-color: var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));
    --tw-text-opacity: 1;
    color: var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity)));
  }

  .tab:hover {
    --tw-text-opacity: 1;
  }

  .table tr.hover:hover,
  .table tr.hover:nth-child(even):hover {
    --tw-bg-opacity: 1;
    background-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));
  }
}

.btn {
  display: inline-flex;
  height: 3rem;
  min-height: 3rem;
  flex-shrink: 0;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  border-radius: var(--rounded-btn, 0.5rem);
  border-color: transparent;
  border-color: oklch(var(--btn-color, var(--b2)) / var(--tw-border-opacity));
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1em;
  gap: 0.5rem;
  font-weight: 600;
  text-decoration-line: none;
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  border-width: var(--border-btn, 1px);
  transition-property: color, background-color, border-color, opacity, box-shadow, transform;
  --tw-text-opacity: 1;
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  outline-color: var(--fallback-bc,oklch(var(--bc)/1));
  background-color: oklch(var(--btn-color, var(--b2)) / var(--tw-bg-opacity));
  --tw-bg-opacity: 1;
  --tw-border-opacity: 1;
}

.btn-disabled,
  .btn[disabled],
  .btn:disabled {
  pointer-events: none;
}

:where(.btn:is(input[type="checkbox"])),
:where(.btn:is(input[type="radio"])) {
  width: auto;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.btn:is(input[type="checkbox"]):after,
.btn:is(input[type="radio"]):after {
  --tw-content: attr(aria-label);
  content: var(--tw-content);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--rounded-box, 1rem);
}

.card:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.card figure {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card.image-full {
  display: grid;
}

.card.image-full:before {
  position: relative;
  content: "";
  z-index: 10;
  border-radius: var(--rounded-box, 1rem);
  --tw-bg-opacity: 1;
  background-color: var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));
  opacity: 0.75;
}

.card.image-full:before,
    .card.image-full > * {
  grid-column-start: 1;
  grid-row-start: 1;
}

.card.image-full > figure img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.card.image-full > .card-body {
  position: relative;
  z-index: 20;
  --tw-text-opacity: 1;
  color: var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity)));
}

.diff {
  position: relative;
  display: grid;
  width: 100%;
  overflow: hidden;
  container-type: inline-size;
  grid-template-columns: auto 1fr;
}

.divider {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: stretch;
  margin-top: 1rem;
  margin-bottom: 1rem;
  height: 1rem;
  white-space: nowrap;
}

.divider:before,
  .divider:after {
  height: 0.125rem;
  width: 100%;
  flex-grow: 1;
  --tw-content: '';
  content: var(--tw-content);
  background-color: var(--fallback-bc,oklch(var(--bc)/0.1));
}

@media (hover: hover) {
  .btm-nav > *.disabled:hover,
      .btm-nav > *[disabled]:hover {
    pointer-events: none;
    --tw-border-opacity: 0;
    background-color: var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));
    --tw-bg-opacity: 0.1;
    color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
    --tw-text-opacity: 0.2;
  }

  .btn:hover {
    --tw-border-opacity: 1;
    border-color: var(--fallback-b3,oklch(var(--b3)/var(--tw-border-opacity)));
    --tw-bg-opacity: 1;
    background-color: var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)));
  }

  @supports (color: color-mix(in oklab, black, black)) {
    .btn:hover {
      background-color: color-mix(
            in oklab,
            oklch(var(--btn-color, var(--b2)) / var(--tw-bg-opacity, 1)) 90%,
            black
          );
      border-color: color-mix(
            in oklab,
            oklch(var(--btn-color, var(--b2)) / var(--tw-border-opacity, 1)) 90%,
            black
          );
    }
  }

  @supports not (color: oklch(0% 0 0)) {
    .btn:hover {
      background-color: var(--btn-color, var(--fallback-b2));
      border-color: var(--btn-color, var(--fallback-b2));
    }
  }

  .btn.glass:hover {
    --glass-opacity: 25%;
    --glass-border-opacity: 15%;
  }

  .btn-outline.btn-primary:hover {
    --tw-text-opacity: 1;
    color: var(--fallback-pc,oklch(var(--pc)/var(--tw-text-opacity)));
  }

  @supports (color: color-mix(in oklab, black, black)) {
    .btn-outline.btn-primary:hover {
      background-color: color-mix(in oklab, var(--fallback-p,oklch(var(--p)/1)) 90%, black);
      border-color: color-mix(in oklab, var(--fallback-p,oklch(var(--p)/1)) 90%, black);
    }
  }

  .btn-disabled:hover,
    .btn[disabled]:hover,
    .btn:disabled:hover {
    --tw-border-opacity: 0;
    background-color: var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));
    --tw-bg-opacity: 0.2;
    color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
    --tw-text-opacity: 0.2;
  }

  @supports (color: color-mix(in oklab, black, black)) {
    .btn:is(input[type="checkbox"]:checked):hover, .btn:is(input[type="radio"]:checked):hover {
      background-color: color-mix(in oklab, var(--fallback-p,oklch(var(--p)/1)) 90%, black);
      border-color: color-mix(in oklab, var(--fallback-p,oklch(var(--p)/1)) 90%, black);
    }
  }

  :where(.menu li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title)):not(.active, .btn):hover, :where(.menu li:not(.menu-title, .disabled) > details > summary:not(.menu-title)):not(.active, .btn):hover {
    cursor: pointer;
    outline: 2px solid transparent;
    outline-offset: 2px;
  }

  @supports (color: oklch(0% 0 0)) {
    :where(.menu li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title)):not(.active, .btn):hover, :where(.menu li:not(.menu-title, .disabled) > details > summary:not(.menu-title)):not(.active, .btn):hover {
      background-color: var(--fallback-bc,oklch(var(--bc)/0.1));
    }
  }

  .tab[disabled],
    .tab[disabled]:hover {
    cursor: not-allowed;
    color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
    --tw-text-opacity: 0.2;
  }
}

.footer {
  display: grid;
  width: 100%;
  grid-auto-flow: row;
  place-items: start;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  row-gap: 2.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.footer > * {
  display: grid;
  place-items: start;
  gap: 0.5rem;
}

@media (min-width: 48rem) {
  .footer {
    grid-auto-flow: column;
  }

  .footer-center {
    grid-auto-flow: row dense;
  }
}

.label {
  display: flex;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  align-items: center;
  justify-content: space-between;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.hero {
  display: grid;
  width: 100%;
  place-items: center;
  background-size: cover;
  background-position: center;
}

.hero > * {
  grid-column-start: 1;
  grid-row-start: 1;
}

.input {
  flex-shrink: 1;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  height: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  line-height: 2;
  line-height: 1.5rem;
  border-radius: var(--rounded-btn, 0.5rem);
  border-width: 1px;
  border-color: transparent;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
}

.input[type="number"]::-webkit-inner-spin-button,
.input-md[type="number"]::-webkit-inner-spin-button {
  margin-top: -1rem;
  margin-bottom: -1rem;
  -webkit-margin-end: -1rem;
          margin-inline-end: -1rem;
}

.join {
  display: inline-flex;
  align-items: stretch;
  border-radius: var(--rounded-btn, 0.5rem);
}

.join :where(.join-item) {
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  border-end-start-radius: 0;
  border-start-start-radius: 0;
}

.join .join-item:not(:first-child):not(:last-child),
  .join *:not(:first-child):not(:last-child) .join-item {
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  border-end-start-radius: 0;
  border-start-start-radius: 0;
}

.join .join-item:first-child:not(:last-child),
  .join *:first-child:not(:last-child) .join-item {
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}

.join .dropdown .join-item:first-child:not(:last-child),
  .join *:first-child:not(:last-child) .dropdown .join-item {
  border-start-end-radius: inherit;
  border-end-end-radius: inherit;
}

.join :where(.join-item:first-child:not(:last-child)),
  .join :where(*:first-child:not(:last-child) .join-item) {
  border-end-start-radius: inherit;
  border-start-start-radius: inherit;
}

.join .join-item:last-child:not(:first-child),
  .join *:last-child:not(:first-child) .join-item {
  border-end-start-radius: 0;
  border-start-start-radius: 0;
}

.join :where(.join-item:last-child:not(:first-child)),
  .join :where(*:last-child:not(:first-child) .join-item) {
  border-start-end-radius: inherit;
  border-end-end-radius: inherit;
}

@supports not selector(:has(*)) {
  :where(.join *) {
    border-radius: inherit;
  }
}

@supports selector(:has(*)) {
  :where(.join *:has(.join-item)) {
    border-radius: inherit;
  }
}

.kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--rounded-btn, 0.5rem);
  border-width: 1px;
  border-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));
  --tw-border-opacity: 0.2;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-bottom-width: 2px;
  min-height: 2.2em;
  min-width: 2.2em;
}

.link {
  cursor: pointer;
  text-decoration-line: underline;
}

.mask {
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}

.menu {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.5rem;
}

.menu :where(li ul) {
  position: relative;
  white-space: nowrap;
  -webkit-margin-start: 1rem;
          margin-inline-start: 1rem;
  -webkit-padding-start: 0.5rem;
          padding-inline-start: 0.5rem;
}

.menu :where(li:not(.menu-title) > *:not(ul, details, .menu-title, .btn)), .menu :where(li:not(.menu-title) > details > summary:not(.menu-title)) {
  display: grid;
  grid-auto-flow: column;
  align-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  grid-auto-columns: minmax(auto, max-content) auto max-content;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.menu li.disabled {
  cursor: not-allowed;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  color: var(--fallback-bc,oklch(var(--bc)/0.3));
}

.menu :where(li > .menu-dropdown:not(.menu-dropdown-show)) {
  display: none;
}

:where(.menu li) {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: stretch;
}

:where(.menu li) .badge {
  justify-self: end;
}

.\!modal {
  pointer-events: none !important;
  position: fixed !important;
  inset: 0px !important;
  margin: 0px !important;
  display: grid !important;
  height: 100% !important;
  max-height: none !important;
  width: 100% !important;
  max-width: none !important;
  justify-items: center !important;
  padding: 0px !important;
  opacity: 0 !important;
  overscroll-behavior: contain !important;
  z-index: 999 !important;
  background-color: transparent !important;
  color: inherit !important;
  transition-duration: 200ms !important;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1) !important;
  transition-property: transform, opacity, visibility !important;
  overflow-y: hidden !important;
}

.modal {
  pointer-events: none;
  position: fixed;
  inset: 0px;
  margin: 0px;
  display: grid;
  height: 100%;
  max-height: none;
  width: 100%;
  max-width: none;
  justify-items: center;
  padding: 0px;
  opacity: 0;
  overscroll-behavior: contain;
  z-index: 999;
  background-color: transparent;
  color: inherit;
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  transition-property: transform, opacity, visibility;
  overflow-y: hidden;
}

:where(.\!modal) {
  align-items: center !important;
}

:where(.modal) {
  align-items: center;
}


.\!modal:target,
.modal-toggle:checked + .\!modal,
.\!modal[open] {
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.modal-open,
.modal:target,
.modal-toggle:checked + .modal,
.modal[open] {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}


.\!modal:target,
.modal-toggle:checked + .\!modal,
.\!modal[open] {
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

:root:has(:is(.modal-open, .\!modal:target, .modal-toggle:checked + .\!modal, .\!modal[open])) {
  overflow: hidden !important;
  scrollbar-gutter: stable !important;
}

:root:has(:is(.modal-open, .modal:target, .modal-toggle:checked + .modal, .modal[open])) {
  overflow: hidden;
  scrollbar-gutter: stable;
}

:root:has(:is(.modal-open, .\!modal:target, .modal-toggle:checked + .\!modal, .\!modal[open])) {
  overflow: hidden !important;
  scrollbar-gutter: stable !important;
}

.navbar {
  display: flex;
  align-items: center;
  padding: var(--navbar-padding, 0.5rem);
  min-height: 4rem;
  width: 100%;
}

:where(.navbar > *:not(script, style)) {
  display: inline-flex;
  align-items: center;
}

.progress {
  position: relative;
  width: 100%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  overflow: hidden;
  height: 0.5rem;
  border-radius: var(--rounded-box, 1rem);
  background-color: var(--fallback-bc,oklch(var(--bc)/0.2));
}

.radio {
  flex-shrink: 0;
  --chkbg: var(--bc);
  height: 1.5rem;
  width: 1.5rem;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 9999px;
  border-width: 1px;
  border-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));
  --tw-border-opacity: 0.2;
}

.range {
  height: 1.5rem;
  width: 100%;
  cursor: pointer;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  --range-shdw: var(--fallback-bc,oklch(var(--bc)/1));
  overflow: hidden;
  border-radius: var(--rounded-box, 1rem);
  background-color: transparent;
}

.range:focus {
  outline: none;
}

.select {
  display: inline-flex;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  height: 3rem;
  min-height: 3rem;
  -webkit-padding-start: 1rem;
          padding-inline-start: 1rem;
  -webkit-padding-end: 2.5rem;
          padding-inline-end: 2.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 2;
  border-radius: var(--rounded-btn, 0.5rem);
  border-width: 1px;
  border-color: transparent;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1px + 50%),
    calc(100% - 16.1px) calc(1px + 50%);
  background-size: 4px 4px,
    4px 4px;
  background-repeat: no-repeat;
}

.select[multiple] {
  height: auto;
}

.steps {
  display: inline-grid;
  grid-auto-flow: column;
  overflow: hidden;
  overflow-x: auto;
  counter-reset: step;
  grid-auto-columns: 1fr;
}

.steps .step {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  grid-template-columns: auto;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-template-rows: 40px 1fr;
  place-items: center;
  text-align: center;
  min-width: 4rem;
}

.swap {
  position: relative;
  display: inline-grid;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  place-content: center;
  cursor: pointer;
}

.swap > * {
  grid-column-start: 1;
  grid-row-start: 1;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  transition-property: transform, opacity;
}

.swap input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.swap .swap-on,
.swap .swap-indeterminate,
.swap input:indeterminate ~ .swap-on {
  opacity: 0;
}

.swap input:checked ~ .swap-off,
.swap-active .swap-off,
.swap input:indeterminate ~ .swap-off {
  opacity: 0;
}

.swap input:checked ~ .swap-on,
.swap-active .swap-on,
.swap input:indeterminate ~ .swap-indeterminate {
  opacity: 1;
}

.tabs-lifted:has(.tab-content[class^="rounded-"])
    .tab:first-child:not(:is(.tab-active, [aria-selected="true"])), .tabs-lifted:has(.tab-content[class*=" rounded-"])
    .tab:first-child:not(:is(.tab-active, [aria-selected="true"])) {
  border-bottom-color: transparent;
}

.tab {
  position: relative;
  grid-row-start: 1;
  display: inline-flex;
  height: 2rem;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 2;
  --tab-padding: 1rem;
  --tw-text-opacity: 0.5;
  --tab-color: var(--fallback-bc,oklch(var(--bc)/1));
  --tab-bg: var(--fallback-b1,oklch(var(--b1)/1));
  --tab-border-color: var(--fallback-b3,oklch(var(--b3)/1));
  color: var(--tab-color);
  -webkit-padding-start: var(--tab-padding, 1rem);
          padding-inline-start: var(--tab-padding, 1rem);
  -webkit-padding-end: var(--tab-padding, 1rem);
          padding-inline-end: var(--tab-padding, 1rem);
}

.tab:is(input[type="radio"]) {
  width: auto;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

.tab:is(input[type="radio"]):after {
  --tw-content: attr(aria-label);
  content: var(--tw-content);
}

.tab:not(input):empty {
  cursor: default;
  grid-column-start: span 9999;
}

input.tab:checked + .tab-content,
:is(.tab-active, [aria-selected="true"]) + .tab-content {
  display: block;
}

.table {
  position: relative;
  width: 100%;
  border-radius: var(--rounded-box, 1rem);
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.table :where(.table-pin-rows thead tr) {
  position: sticky;
  top: 0px;
  z-index: 1;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
}

.table :where(.table-pin-rows tfoot tr) {
  position: sticky;
  bottom: 0px;
  z-index: 1;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
}

.table :where(.table-pin-cols tr th) {
  position: sticky;
  left: 0px;
  right: 0px;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
}

.textarea {
  min-height: 3rem;
  flex-shrink: 1;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 2;
  border-radius: var(--rounded-btn, 0.5rem);
  border-width: 1px;
  border-color: transparent;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
}

.timeline {
  position: relative;
  display: flex;
}

:where(.timeline > li) {
  position: relative;
  display: grid;
  flex-shrink: 0;
  align-items: center;
  grid-template-rows: var(--timeline-row-start, minmax(0, 1fr)) auto var(
      --timeline-row-end,
      minmax(0, 1fr)
    );
  grid-template-columns: var(--timeline-col-start, minmax(0, 1fr)) auto var(
      --timeline-col-end,
      minmax(0, 1fr)
    );
}

.timeline > li > hr {
  width: 100%;
  border-width: 0px;
}

:where(.timeline > li > hr):first-child {
  grid-column-start: 1;
  grid-row-start: 2;
}

:where(.timeline > li > hr):last-child {
  grid-column-start: 3;
  grid-column-end: none;
  grid-row-start: 2;
  grid-row-end: auto;
}

.toggle {
  flex-shrink: 0;
  --tglbg: var(--fallback-b1,oklch(var(--b1)/1));
  --handleoffset: 1.5rem;
  --handleoffsetcalculator: calc(var(--handleoffset) * -1);
  --togglehandleborder: 0 0;
  height: 1.5rem;
  width: 3rem;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: var(--rounded-badge, 1.9rem);
  border-width: 1px;
  border-color: currentColor;
  background-color: currentColor;
  color: var(--fallback-bc,oklch(var(--bc)/0.5));
  transition: background,
    box-shadow var(--animation-input, 0.2s) ease-out;
  box-shadow: var(--handleoffsetcalculator) 0 0 2px var(--tglbg) inset,
    0 0 0 2px var(--tglbg) inset,
    var(--togglehandleborder);
}

.alert-warning {
  border-color: var(--fallback-wa,oklch(var(--wa)/0.2));
  --tw-text-opacity: 1;
  color: var(--fallback-wac,oklch(var(--wac)/var(--tw-text-opacity)));
  --alert-bg: var(--fallback-wa,oklch(var(--wa)/1));
  --alert-bg-mix: var(--fallback-b1,oklch(var(--b1)/1));
}

.avatar-group :where(.avatar) {
  overflow: hidden;
  border-radius: 9999px;
  border-width: 4px;
  --tw-border-opacity: 1;
  border-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-border-opacity)));
}

.badge-primary {
  --tw-border-opacity: 1;
  border-color: var(--fallback-p,oklch(var(--p)/var(--tw-border-opacity)));
  --tw-bg-opacity: 1;
  background-color: var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)));
  --tw-text-opacity: 1;
  color: var(--fallback-pc,oklch(var(--pc)/var(--tw-text-opacity)));
}

.badge-outline {
  border-color: currentColor;
  --tw-border-opacity: 0.5;
  background-color: transparent;
  color: currentColor;
}

.badge-outline.badge-neutral {
  --tw-text-opacity: 1;
  color: var(--fallback-n,oklch(var(--n)/var(--tw-text-opacity)));
}

.badge-outline.badge-primary {
  --tw-text-opacity: 1;
  color: var(--fallback-p,oklch(var(--p)/var(--tw-text-opacity)));
}

.badge-outline.badge-secondary {
  --tw-text-opacity: 1;
  color: var(--fallback-s,oklch(var(--s)/var(--tw-text-opacity)));
}

.badge-outline.badge-accent {
  --tw-text-opacity: 1;
  color: var(--fallback-a,oklch(var(--a)/var(--tw-text-opacity)));
}

.badge-outline.badge-info {
  --tw-text-opacity: 1;
  color: var(--fallback-in,oklch(var(--in)/var(--tw-text-opacity)));
}

.badge-outline.badge-success {
  --tw-text-opacity: 1;
  color: var(--fallback-su,oklch(var(--su)/var(--tw-text-opacity)));
}

.badge-outline.badge-warning {
  --tw-text-opacity: 1;
  color: var(--fallback-wa,oklch(var(--wa)/var(--tw-text-opacity)));
}

.badge-outline.badge-error {
  --tw-text-opacity: 1;
  color: var(--fallback-er,oklch(var(--er)/var(--tw-text-opacity)));
}

.btm-nav > *:where(.active) {
  border-top-width: 2px;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
}

.btm-nav > *.disabled,
    .btm-nav > *[disabled] {
  pointer-events: none;
  --tw-border-opacity: 0;
  background-color: var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));
  --tw-bg-opacity: 0.1;
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
  --tw-text-opacity: 0.2;
}

.btm-nav > * .label {
  font-size: 1rem;
  line-height: 1.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  .btn {
    animation: button-pop var(--animation-btn, 0.25s) ease-out;
  }
}

.btn:active:hover,
  .btn:active:focus {
  animation: button-pop 0s ease-out;
  transform: scale(var(--btn-focus-scale, 0.97));
}

@supports not (color: oklch(0% 0 0)) {
  .btn {
    background-color: var(--btn-color, var(--fallback-b2));
    border-color: var(--btn-color, var(--fallback-b2));
  }

  .btn-primary {
    --btn-color: var(--fallback-p);
  }
}

@supports (color: color-mix(in oklab, black, black)) {
  .btn-outline.btn-primary.btn-active {
    background-color: color-mix(in oklab, var(--fallback-p,oklch(var(--p)/1)) 90%, black);
    border-color: color-mix(in oklab, var(--fallback-p,oklch(var(--p)/1)) 90%, black);
  }
}

.btn:focus-visible {
  outline-style: solid;
  outline-width: 2px;
  outline-offset: 2px;
}

.btn-primary {
  --tw-text-opacity: 1;
  color: var(--fallback-pc,oklch(var(--pc)/var(--tw-text-opacity)));
  outline-color: var(--fallback-p,oklch(var(--p)/1));
}

@supports (color: oklch(0% 0 0)) {
  .btn-primary {
    --btn-color: var(--p);
  }
}

.btn.glass {
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  outline-color: currentColor;
}

.btn.glass.btn-active {
  --glass-opacity: 25%;
  --glass-border-opacity: 15%;
}

.btn-outline.btn-primary {
  --tw-text-opacity: 1;
  color: var(--fallback-p,oklch(var(--p)/var(--tw-text-opacity)));
}

.btn-outline.btn-primary.btn-active {
  --tw-text-opacity: 1;
  color: var(--fallback-pc,oklch(var(--pc)/var(--tw-text-opacity)));
}

.btn.btn-disabled,
  .btn[disabled],
  .btn:disabled {
  --tw-border-opacity: 0;
  background-color: var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));
  --tw-bg-opacity: 0.2;
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
  --tw-text-opacity: 0.2;
}

.btn:is(input[type="checkbox"]:checked),
.btn:is(input[type="radio"]:checked) {
  --tw-border-opacity: 1;
  border-color: var(--fallback-p,oklch(var(--p)/var(--tw-border-opacity)));
  --tw-bg-opacity: 1;
  background-color: var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)));
  --tw-text-opacity: 1;
  color: var(--fallback-pc,oklch(var(--pc)/var(--tw-text-opacity)));
}

.btn:is(input[type="checkbox"]:checked):focus-visible, .btn:is(input[type="radio"]:checked):focus-visible {
  outline-color: var(--fallback-p,oklch(var(--p)/1));
}

@keyframes button-pop {
  0% {
    transform: scale(var(--btn-focus-scale, 0.98));
  }

  40% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

.card :where(figure:first-child) {
  overflow: hidden;
  border-start-start-radius: inherit;
  border-start-end-radius: inherit;
  border-end-start-radius: unset;
  border-end-end-radius: unset;
}

.card :where(figure:last-child) {
  overflow: hidden;
  border-start-start-radius: unset;
  border-start-end-radius: unset;
  border-end-start-radius: inherit;
  border-end-end-radius: inherit;
}

.card:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.card.bordered {
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));
}

.card.compact .card-body {
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.card.image-full :where(figure) {
  overflow: hidden;
  border-radius: inherit;
}

@keyframes checkmark {
  0% {
    background-position-y: 5px;
  }

  50% {
    background-position-y: -2px;
  }

  100% {
    background-position-y: 0;
  }
}

.divider:not(:empty) {
  gap: 1rem;
}

.divider-primary:before,
  .divider-primary:after {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)));
}

.input input {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)));
  background-color: transparent;
}

.input input:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.input[list]::-webkit-calendar-picker-indicator {
  line-height: 1em;
}

.input-bordered {
  border-color: var(--fallback-bc,oklch(var(--bc)/0.2));
}

.input:focus,
  .input:focus-within {
  box-shadow: none;
  border-color: var(--fallback-bc,oklch(var(--bc)/0.2));
  outline-style: solid;
  outline-width: 2px;
  outline-offset: 2px;
  outline-color: var(--fallback-bc,oklch(var(--bc)/0.2));
}

.input-primary {
  --tw-border-opacity: 1;
  border-color: var(--fallback-p,oklch(var(--p)/var(--tw-border-opacity)));
}

.input-primary:focus,
    .input-primary:focus-within {
  --tw-border-opacity: 1;
  border-color: var(--fallback-p,oklch(var(--p)/var(--tw-border-opacity)));
  outline-color: var(--fallback-p,oklch(var(--p)/1));
}

.input:has(> input[disabled]),
  .input-disabled,
  .input:disabled,
  .input[disabled] {
  cursor: not-allowed;
  --tw-border-opacity: 1;
  border-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));
  color: var(--fallback-bc,oklch(var(--bc)/0.4));
}

.input:has(> input[disabled])::-moz-placeholder, .input-disabled::-moz-placeholder, .input:disabled::-moz-placeholder, .input[disabled]::-moz-placeholder {
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));
  --tw-placeholder-opacity: 0.2;
}

.input:has(> input[disabled])::placeholder,
  .input-disabled::placeholder,
  .input:disabled::placeholder,
  .input[disabled]::placeholder {
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));
  --tw-placeholder-opacity: 0.2;
}

.input:has(> input[disabled]) > input[disabled] {
  cursor: not-allowed;
}

.input::-webkit-date-and-time-value {
  text-align: inherit;
}

.join > :where(*:not(:first-child)) {
  margin-top: 0px;
  margin-bottom: 0px;
  -webkit-margin-start: -1px;
          margin-inline-start: -1px;
}

.join > :where(*:not(:first-child)):is(.btn) {
  -webkit-margin-start: calc(var(--border-btn) * -1);
          margin-inline-start: calc(var(--border-btn) * -1);
}

.link:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.loading {
  pointer-events: none;
  display: inline-block;
  aspect-ratio: 1 / 1;
  width: 1.5rem;
  background-color: currentColor;
  -webkit-mask-size: 100%;
          mask-size: 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_V8m1%7Btransform-origin:center;animation:spinner_zKoa 2s linear infinite%7D.spinner_V8m1 circle%7Bstroke-linecap:round;animation:spinner_YpZS 1.5s ease-out infinite%7D%40keyframes spinner_zKoa%7B100%25%7Btransform:rotate(360deg)%7D%7D%40keyframes spinner_YpZS%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25%2C100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C%2Fstyle%3E%3Cg class='spinner_V8m1'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_V8m1%7Btransform-origin:center;animation:spinner_zKoa 2s linear infinite%7D.spinner_V8m1 circle%7Bstroke-linecap:round;animation:spinner_YpZS 1.5s ease-out infinite%7D%40keyframes spinner_zKoa%7B100%25%7Btransform:rotate(360deg)%7D%7D%40keyframes spinner_YpZS%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25%2C100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C%2Fstyle%3E%3Cg class='spinner_V8m1'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

:where(.menu li:empty) {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));
  opacity: 0.1;
  margin: 0.5rem 1rem;
  height: 1px;
}

.menu :where(li ul):before {
  position: absolute;
  bottom: 0.75rem;
  inset-inline-start: 0px;
  top: 0.75rem;
  width: 1px;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));
  opacity: 0.1;
  content: "";
}

.menu :where(li:not(.menu-title) > *:not(ul, details, .menu-title, .btn)),
.menu :where(li:not(.menu-title) > details > summary:not(.menu-title)) {
  border-radius: var(--rounded-btn, 0.5rem);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: start;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  transition-duration: 200ms;
  text-wrap: balance;
}

:where(.menu li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title)):not(summary, .active, .btn).focus, :where(.menu li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title)):not(summary, .active, .btn):focus, :where(.menu li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title)):is(summary):not(.active, .btn):focus-visible, :where(.menu li:not(.menu-title, .disabled) > details > summary:not(.menu-title)):not(summary, .active, .btn).focus, :where(.menu li:not(.menu-title, .disabled) > details > summary:not(.menu-title)):not(summary, .active, .btn):focus, :where(.menu li:not(.menu-title, .disabled) > details > summary:not(.menu-title)):is(summary):not(.active, .btn):focus-visible {
  cursor: pointer;
  background-color: var(--fallback-bc,oklch(var(--bc)/0.1));
  --tw-text-opacity: 1;
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.menu li > *:not(ul, .menu-title, details, .btn):active,
.menu li > *:not(ul, .menu-title, details, .btn).active,
.menu li > details > summary:active {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));
  --tw-text-opacity: 1;
  color: var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity)));
}

.menu :where(li > details > summary)::-webkit-details-marker {
  display: none;
}

.menu :where(li > details > summary):after,
.menu :where(li > .menu-dropdown-toggle):after {
  justify-self: end;
  display: block;
  margin-top: -0.5rem;
  height: 0.5rem;
  width: 0.5rem;
  transform: rotate(45deg);
  transition-property: transform, margin-top;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  content: "";
  transform-origin: 75% 75%;
  box-shadow: 2px 2px;
  pointer-events: none;
}

.menu :where(li > details[open] > summary):after,
.menu :where(li > .menu-dropdown-toggle.menu-dropdown-show):after {
  transform: rotate(225deg);
  margin-top: 0;
}

.mockup-phone .display {
  overflow: hidden;
  border-radius: 40px;
  margin-top: -25px;
}

.mockup-browser .mockup-browser-toolbar .input {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  display: block;
  height: 1.75rem;
  width: 24rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));
  padding-left: 2rem;
  direction: ltr;
}

.mockup-browser .mockup-browser-toolbar .input:before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 50%;
  aspect-ratio: 1 / 1;
  height: 0.75rem;
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  border-radius: 9999px;
  border-width: 2px;
  border-color: currentColor;
  opacity: 0.6;
}

.mockup-browser .mockup-browser-toolbar .input:after {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 50%;
  height: 0.5rem;
  --tw-translate-y: 25%;
  --tw-rotate: -45deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  border-radius: 9999px;
  border-width: 1px;
  border-color: currentColor;
  opacity: 0.6;
}

.\!modal:not(dialog:not(.modal-open)),
  .\!modal::backdrop {
  background-color: #0006 !important;
  animation: modal-pop 0.2s ease-out !important;
}

.modal:not(dialog:not(.modal-open)),
  .modal::backdrop {
  background-color: #0006;
  animation: modal-pop 0.2s ease-out;
}

.\!modal:not(dialog:not(.modal-open)),
  .\!modal::backdrop {
  background-color: #0006 !important;
  animation: modal-pop 0.2s ease-out !important;
}


.modal-toggle:checked + .\!modal .modal-box,
.\!modal:target .modal-box,
.\!modal[open] .modal-box {
  --tw-translate-y: 0px !important;
  --tw-scale-x: 1 !important;
  --tw-scale-y: 1 !important;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
}

.modal-open .modal-box,
.modal-toggle:checked + .modal .modal-box,
.modal:target .modal-box,
.modal[open] .modal-box {
  --tw-translate-y: 0px;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


.modal-toggle:checked + .\!modal .modal-box,
.\!modal:target .modal-box,
.\!modal[open] .modal-box {
  --tw-translate-y: 0px !important;
  --tw-scale-x: 1 !important;
  --tw-scale-y: 1 !important;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
}

@keyframes modal-pop {
  0% {
    opacity: 0;
  }
}

.progress::-moz-progress-bar {
  border-radius: var(--rounded-box, 1rem);
  --tw-bg-opacity: 1;
  background-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));
}

.progress-primary::-moz-progress-bar {
  border-radius: var(--rounded-box, 1rem);
  --tw-bg-opacity: 1;
  background-color: var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)));
}

.progress:indeterminate {
  --progress-color: var(--fallback-bc,oklch(var(--bc)/1));
  background-image: repeating-linear-gradient(
    90deg,
    var(--progress-color) -1%,
    var(--progress-color) 10%,
    transparent 10%,
    transparent 90%
  );
  background-size: 200%;
  background-position-x: 15%;
  animation: progress-loading 5s ease-in-out infinite;
}

.progress-primary:indeterminate {
  --progress-color: var(--fallback-p,oklch(var(--p)/1));
}

.progress::-webkit-progress-bar {
  border-radius: var(--rounded-box, 1rem);
  background-color: transparent;
}

.progress::-webkit-progress-value {
  border-radius: var(--rounded-box, 1rem);
  --tw-bg-opacity: 1;
  background-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));
}

.progress-primary::-webkit-progress-value {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)));
}

.progress:indeterminate::-moz-progress-bar {
  background-color: transparent;
  background-image: repeating-linear-gradient(
    90deg,
    var(--progress-color) -1%,
    var(--progress-color) 10%,
    transparent 10%,
    transparent 90%
  );
  background-size: 200%;
  background-position-x: 15%;
  animation: progress-loading 5s ease-in-out infinite;
}

@keyframes progress-loading {
  50% {
    background-position-x: -115%;
  }
}

.radio:focus {
  box-shadow: none;
}

.radio:focus-visible {
  outline-style: solid;
  outline-width: 2px;
  outline-offset: 2px;
  outline-color: var(--fallback-bc,oklch(var(--bc)/1));
}

.radio:checked,
  .radio[aria-checked="true"] {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));
  background-image: none;
  animation: radiomark var(--animation-input, 0.2s) ease-out;
  box-shadow: 0 0 0 4px var(--fallback-b1,oklch(var(--b1)/1)) inset,
      0 0 0 4px var(--fallback-b1,oklch(var(--b1)/1)) inset;
}

.radio:disabled {
  cursor: not-allowed;
  opacity: 0.2;
}

@keyframes radiomark {
  0% {
    box-shadow: 0 0 0 12px var(--fallback-b1,oklch(var(--b1)/1)) inset,
      0 0 0 12px var(--fallback-b1,oklch(var(--b1)/1)) inset;
  }

  50% {
    box-shadow: 0 0 0 3px var(--fallback-b1,oklch(var(--b1)/1)) inset,
      0 0 0 3px var(--fallback-b1,oklch(var(--b1)/1)) inset;
  }

  100% {
    box-shadow: 0 0 0 4px var(--fallback-b1,oklch(var(--b1)/1)) inset,
      0 0 0 4px var(--fallback-b1,oklch(var(--b1)/1)) inset;
  }
}

.range:focus-visible::-webkit-slider-thumb {
  --focus-shadow: 0 0 0 6px var(--fallback-b1,oklch(var(--b1)/1)) inset, 0 0 0 2rem var(--range-shdw) inset;
}

.range:focus-visible::-moz-range-thumb {
  --focus-shadow: 0 0 0 6px var(--fallback-b1,oklch(var(--b1)/1)) inset, 0 0 0 2rem var(--range-shdw) inset;
}

.range::-webkit-slider-runnable-track {
  height: 0.5rem;
  width: 100%;
  border-radius: var(--rounded-box, 1rem);
  background-color: var(--fallback-bc,oklch(var(--bc)/0.1));
}

.range::-moz-range-track {
  height: 0.5rem;
  width: 100%;
  border-radius: var(--rounded-box, 1rem);
  background-color: var(--fallback-bc,oklch(var(--bc)/0.1));
}

.range::-webkit-slider-thumb {
  position: relative;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: var(--rounded-box, 1rem);
  border-style: none;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
  appearance: none;
  -webkit-appearance: none;
  top: 50%;
  color: var(--range-shdw);
  transform: translateY(-50%);
  --filler-size: 100rem;
  --filler-offset: 0.6rem;
  box-shadow: 0 0 0 3px var(--range-shdw) inset,
      var(--focus-shadow, 0 0),
      calc(var(--filler-size) * -1 - var(--filler-offset)) 0 0 var(--filler-size);
}

.range::-moz-range-thumb {
  position: relative;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: var(--rounded-box, 1rem);
  border-style: none;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
  top: 50%;
  color: var(--range-shdw);
  --filler-size: 100rem;
  --filler-offset: 0.5rem;
  box-shadow: 0 0 0 3px var(--range-shdw) inset,
      var(--focus-shadow, 0 0),
      calc(var(--filler-size) * -1 - var(--filler-offset)) 0 0 var(--filler-size);
}

@keyframes rating-pop {
  0% {
    transform: translateY(-0.125em);
  }

  40% {
    transform: translateY(-0.125em);
  }

  100% {
    transform: translateY(0);
  }
}

.select:focus {
  box-shadow: none;
  border-color: var(--fallback-bc,oklch(var(--bc)/0.2));
  outline-style: solid;
  outline-width: 2px;
  outline-offset: 2px;
  outline-color: var(--fallback-bc,oklch(var(--bc)/0.2));
}

.select-disabled,
  .select:disabled,
  .select[disabled] {
  cursor: not-allowed;
  --tw-border-opacity: 1;
  border-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));
  color: var(--fallback-bc,oklch(var(--bc)/0.4));
}

.select-disabled::-moz-placeholder, .select:disabled::-moz-placeholder, .select[disabled]::-moz-placeholder {
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));
  --tw-placeholder-opacity: 0.2;
}

.select-disabled::placeholder,
  .select:disabled::placeholder,
  .select[disabled]::placeholder {
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));
  --tw-placeholder-opacity: 0.2;
}

.select-multiple,
  .select[multiple],
  .select[size].select:not([size="1"]) {
  background-image: none;
  padding-right: 1rem;
}

[dir="rtl"] .select {
  background-position: calc(0% + 12px) calc(1px + 50%),
    calc(0% + 16px) calc(1px + 50%);
}

@keyframes skeleton {
  from {
    background-position: 150%;
  }

  to {
    background-position: -50%;
  }
}

.steps .step:before {
  top: 0px;
  grid-column-start: 1;
  grid-row-start: 1;
  height: 0.5rem;
  width: 100%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)));
  --tw-text-opacity: 1;
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
  content: "";
  -webkit-margin-start: -100%;
          margin-inline-start: -100%;
}

.steps .step:after {
  content: counter(step);
  counter-increment: step;
  z-index: 1;
  position: relative;
  grid-column-start: 1;
  grid-row-start: 1;
  display: grid;
  height: 2rem;
  width: 2rem;
  place-items: center;
  place-self: center;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)));
  --tw-text-opacity: 1;
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
}

.steps .step:first-child:before {
  content: none;
}

.steps .step[data-content]:after {
  content: attr(data-content);
}

.steps .step-neutral + .step-neutral:before,
  .steps .step-neutral:after {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));
  --tw-text-opacity: 1;
  color: var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity)));
}

.steps .step-primary + .step-primary:before,
  .steps .step-primary:after {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)));
  --tw-text-opacity: 1;
  color: var(--fallback-pc,oklch(var(--pc)/var(--tw-text-opacity)));
}

.steps .step-secondary + .step-secondary:before,
  .steps .step-secondary:after {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-s,oklch(var(--s)/var(--tw-bg-opacity)));
  --tw-text-opacity: 1;
  color: var(--fallback-sc,oklch(var(--sc)/var(--tw-text-opacity)));
}

.steps .step-accent + .step-accent:before,
  .steps .step-accent:after {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-a,oklch(var(--a)/var(--tw-bg-opacity)));
  --tw-text-opacity: 1;
  color: var(--fallback-ac,oklch(var(--ac)/var(--tw-text-opacity)));
}

.steps .step-info + .step-info:before {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-in,oklch(var(--in)/var(--tw-bg-opacity)));
}

.steps .step-info:after {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-in,oklch(var(--in)/var(--tw-bg-opacity)));
  --tw-text-opacity: 1;
  color: var(--fallback-inc,oklch(var(--inc)/var(--tw-text-opacity)));
}

.steps .step-success + .step-success:before {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-su,oklch(var(--su)/var(--tw-bg-opacity)));
}

.steps .step-success:after {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-su,oklch(var(--su)/var(--tw-bg-opacity)));
  --tw-text-opacity: 1;
  color: var(--fallback-suc,oklch(var(--suc)/var(--tw-text-opacity)));
}

.steps .step-warning + .step-warning:before {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-wa,oklch(var(--wa)/var(--tw-bg-opacity)));
}

.steps .step-warning:after {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-wa,oklch(var(--wa)/var(--tw-bg-opacity)));
  --tw-text-opacity: 1;
  color: var(--fallback-wac,oklch(var(--wac)/var(--tw-text-opacity)));
}

.steps .step-error + .step-error:before {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-er,oklch(var(--er)/var(--tw-bg-opacity)));
}

.steps .step-error:after {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-er,oklch(var(--er)/var(--tw-bg-opacity)));
  --tw-text-opacity: 1;
  color: var(--fallback-erc,oklch(var(--erc)/var(--tw-text-opacity)));
}

.tabs-lifted > .tab:focus-visible {
  border-end-end-radius: 0;
  border-end-start-radius: 0;
}

.tab:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]), .tab:is(input:checked) {
  border-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));
  --tw-border-opacity: 1;
  --tw-text-opacity: 1;
}

.tab:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.tab:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -5px;
}

.tab-disabled,
  .tab[disabled] {
  cursor: not-allowed;
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
  --tw-text-opacity: 0.2;
}

.tabs-bordered > .tab {
  border-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));
  --tw-border-opacity: 0.2;
  border-style: solid;
  border-bottom-width: calc(var(--tab-border, 1px) + 1px);
}

.tabs-lifted > .tab {
  border: var(--tab-border, 1px) solid transparent;
  border-width: 0 0 var(--tab-border, 1px) 0;
  border-start-start-radius: var(--tab-radius, 0.5rem);
  border-start-end-radius: var(--tab-radius, 0.5rem);
  border-bottom-color: var(--tab-border-color);
  -webkit-padding-start: var(--tab-padding, 1rem);
          padding-inline-start: var(--tab-padding, 1rem);
  -webkit-padding-end: var(--tab-padding, 1rem);
          padding-inline-end: var(--tab-padding, 1rem);
  padding-top: var(--tab-border, 1px);
}

.tabs-lifted > .tab:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]), .tabs-lifted > .tab:is(input:checked) {
  background-color: var(--tab-bg);
  border-width: var(--tab-border, 1px) var(--tab-border, 1px) 0 var(--tab-border, 1px);
  border-inline-start-color: var(--tab-border-color);
  border-inline-end-color: var(--tab-border-color);
  border-top-color: var(--tab-border-color);
  -webkit-padding-start: calc(var(--tab-padding, 1rem) - var(--tab-border, 1px));
          padding-inline-start: calc(var(--tab-padding, 1rem) - var(--tab-border, 1px));
  -webkit-padding-end: calc(var(--tab-padding, 1rem) - var(--tab-border, 1px));
          padding-inline-end: calc(var(--tab-padding, 1rem) - var(--tab-border, 1px));
  padding-bottom: var(--tab-border, 1px);
  padding-top: 0;
}

.tabs-lifted > .tab:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]):before, .tabs-lifted > .tab:is(input:checked):before {
  z-index: 1;
  content: "";
  display: block;
  position: absolute;
  width: calc(100% + var(--tab-radius, 0.5rem) * 2);
  height: var(--tab-radius, 0.5rem);
  bottom: 0;
  background-size: var(--tab-radius, 0.5rem);
  background-position: top left,
        top right;
  background-repeat: no-repeat;
  --tab-grad: calc(69% - var(--tab-border, 1px));
  --radius-start: radial-gradient(
        circle at top left,
        transparent var(--tab-grad),
        var(--tab-border-color) calc(var(--tab-grad) + 0.25px),
        var(--tab-border-color) calc(var(--tab-grad) + var(--tab-border, 1px)),
        var(--tab-bg) calc(var(--tab-grad) + var(--tab-border, 1px) + 0.25px)
      );
  --radius-end: radial-gradient(
        circle at top right,
        transparent var(--tab-grad),
        var(--tab-border-color) calc(var(--tab-grad) + 0.25px),
        var(--tab-border-color) calc(var(--tab-grad) + var(--tab-border, 1px)),
        var(--tab-bg) calc(var(--tab-grad) + var(--tab-border, 1px) + 0.25px)
      );
  background-image: var(--radius-start), var(--radius-end);
}

.tabs-lifted > .tab:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]):first-child:before, .tabs-lifted > .tab:is(input:checked):first-child:before {
  background-image: var(--radius-end);
  background-position: top right;
}

[dir="rtl"] .tabs-lifted > .tab:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]):first-child:before, [dir="rtl"] .tabs-lifted > .tab:is(input:checked):first-child:before {
  background-image: var(--radius-start);
  background-position: top left;
}

.tabs-lifted > .tab:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]):last-child:before, .tabs-lifted > .tab:is(input:checked):last-child:before {
  background-image: var(--radius-start);
  background-position: top left;
}

[dir="rtl"] .tabs-lifted > .tab:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]):last-child:before, [dir="rtl"] .tabs-lifted > .tab:is(input:checked):last-child:before {
  background-image: var(--radius-end);
  background-position: top right;
}

.tabs-lifted
  > :is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled])
  + .tabs-lifted
  :is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]):before, .tabs-lifted > .tab:is(input:checked) + .tabs-lifted .tab:is(input:checked):before {
  background-image: var(--radius-end);
  background-position: top right;
}

.tabs-boxed .tab {
  border-radius: var(--rounded-btn, 0.5rem);
}

.table:where([dir="rtl"], [dir="rtl"] *) {
  text-align: right;
}

.table :where(th, td) {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  vertical-align: middle;
}

.table tr.active,
  .table tr.active:nth-child(even),
  .table-zebra tbody tr:nth-child(even) {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));
}

.table-zebra tr.active,
    .table-zebra tr.active:nth-child(even),
    .table-zebra-zebra tbody tr:nth-child(even) {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)));
}

.table :where(thead tr, tbody tr:not(:last-child), tbody tr:first-child:last-child) {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-bottom-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));
}

.table :where(thead, tfoot) {
  white-space: nowrap;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  color: var(--fallback-bc,oklch(var(--bc)/0.6));
}

.table :where(tfoot) {
  border-top-width: 1px;
  --tw-border-opacity: 1;
  border-top-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));
}

.textarea:focus {
  box-shadow: none;
  border-color: var(--fallback-bc,oklch(var(--bc)/0.2));
  outline-style: solid;
  outline-width: 2px;
  outline-offset: 2px;
  outline-color: var(--fallback-bc,oklch(var(--bc)/0.2));
}

.textarea-disabled,
  .textarea:disabled,
  .textarea[disabled] {
  cursor: not-allowed;
  --tw-border-opacity: 1;
  border-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));
  color: var(--fallback-bc,oklch(var(--bc)/0.4));
}

.textarea-disabled::-moz-placeholder, .textarea:disabled::-moz-placeholder, .textarea[disabled]::-moz-placeholder {
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));
  --tw-placeholder-opacity: 0.2;
}

.textarea-disabled::placeholder,
  .textarea:disabled::placeholder,
  .textarea[disabled]::placeholder {
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));
  --tw-placeholder-opacity: 0.2;
}

.timeline hr {
  height: 0.25rem;
}

:where(.timeline hr) {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)));
}

:where(.timeline:has(.timeline-middle) hr):first-child {
  border-start-end-radius: var(--rounded-badge, 1.9rem);
  border-end-end-radius: var(--rounded-badge, 1.9rem);
  border-start-start-radius: 0px;
  border-end-start-radius: 0px;
}

:where(.timeline:has(.timeline-middle) hr):last-child {
  border-start-start-radius: var(--rounded-badge, 1.9rem);
  border-end-start-radius: var(--rounded-badge, 1.9rem);
  border-start-end-radius: 0px;
  border-end-end-radius: 0px;
}

:where(.timeline:not(:has(.timeline-middle)) :first-child hr:last-child) {
  border-start-start-radius: var(--rounded-badge, 1.9rem);
  border-end-start-radius: var(--rounded-badge, 1.9rem);
  border-start-end-radius: 0px;
  border-end-end-radius: 0px;
}

:where(.timeline:not(:has(.timeline-middle)) :last-child hr:first-child) {
  border-start-end-radius: var(--rounded-badge, 1.9rem);
  border-end-end-radius: var(--rounded-badge, 1.9rem);
  border-start-start-radius: 0px;
  border-end-start-radius: 0px;
}

@keyframes toast-pop {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

[dir="rtl"] .toggle {
  --handleoffsetcalculator: calc(var(--handleoffset) * 1);
}

.toggle:focus-visible {
  outline-style: solid;
  outline-width: 2px;
  outline-offset: 2px;
  outline-color: var(--fallback-bc,oklch(var(--bc)/0.2));
}

.toggle:hover {
  background-color: currentColor;
}

.toggle:checked,
  .toggle[aria-checked="true"] {
  background-image: none;
  --handleoffsetcalculator: var(--handleoffset);
  --tw-text-opacity: 1;
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
}

[dir="rtl"] .toggle:checked, [dir="rtl"] .toggle[aria-checked="true"] {
  --handleoffsetcalculator: calc(var(--handleoffset) * -1);
}

.toggle:indeterminate {
  --tw-text-opacity: 1;
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
  box-shadow: calc(var(--handleoffset) / 2) 0 0 2px var(--tglbg) inset,
      calc(var(--handleoffset) / -2) 0 0 2px var(--tglbg) inset,
      0 0 0 2px var(--tglbg) inset;
}

[dir="rtl"] .toggle:indeterminate {
  box-shadow: calc(var(--handleoffset) / 2) 0 0 2px var(--tglbg) inset,
        calc(var(--handleoffset) / -2) 0 0 2px var(--tglbg) inset,
        0 0 0 2px var(--tglbg) inset;
}

.toggle:disabled {
  cursor: not-allowed;
  --tw-border-opacity: 1;
  border-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));
  background-color: transparent;
  opacity: 0.3;
  --togglehandleborder: 0 0 0 3px var(--fallback-bc,oklch(var(--bc)/1)) inset,
      var(--handleoffsetcalculator) 0 0 3px var(--fallback-bc,oklch(var(--bc)/1)) inset;
}

.artboard.phone-1.horizontal,
      .artboard.phone-1.artboard-horizontal {
  width: 568px;
  height: 320px;
}

.artboard.phone-2.horizontal,
      .artboard.phone-2.artboard-horizontal {
  width: 667px;
  height: 375px;
}

.artboard.phone-3.horizontal,
      .artboard.phone-3.artboard-horizontal {
  width: 736px;
  height: 414px;
}

.artboard.phone-4.horizontal,
      .artboard.phone-4.artboard-horizontal {
  width: 812px;
  height: 375px;
}

.artboard.phone-5.horizontal,
      .artboard.phone-5.artboard-horizontal {
  width: 896px;
  height: 414px;
}

.artboard.phone-6.horizontal,
      .artboard.phone-6.artboard-horizontal {
  width: 1024px;
  height: 320px;
}

.btm-nav-xs > *:where(.active) {
  border-top-width: 1px;
}

.btm-nav-sm > *:where(.active) {
  border-top-width: 2px;
}

.btm-nav-md > *:where(.active) {
  border-top-width: 2px;
}

.btm-nav-lg > *:where(.active) {
  border-top-width: 4px;
}

.join.join-vertical {
  flex-direction: column;
}

.join.join-vertical .join-item:first-child:not(:last-child),
  .join.join-vertical *:first-child:not(:last-child) .join-item {
  border-end-start-radius: 0;
  border-end-end-radius: 0;
  border-start-start-radius: inherit;
  border-start-end-radius: inherit;
}

.join.join-vertical .join-item:last-child:not(:first-child),
  .join.join-vertical *:last-child:not(:first-child) .join-item {
  border-start-start-radius: 0;
  border-start-end-radius: 0;
  border-end-start-radius: inherit;
  border-end-end-radius: inherit;
}

.join.join-horizontal {
  flex-direction: row;
}

.join.join-horizontal .join-item:first-child:not(:last-child),
  .join.join-horizontal *:first-child:not(:last-child) .join-item {
  border-end-end-radius: 0;
  border-start-end-radius: 0;
  border-end-start-radius: inherit;
  border-start-start-radius: inherit;
}

.join.join-horizontal .join-item:last-child:not(:first-child),
  .join.join-horizontal *:last-child:not(:first-child) .join-item {
  border-end-start-radius: 0;
  border-start-start-radius: 0;
  border-end-end-radius: inherit;
  border-start-end-radius: inherit;
}

.steps-horizontal .step {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  place-items: center;
  text-align: center;
}

.steps-vertical .step {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(1, minmax(0, 1fr));
}

.tabs-md :where(.tab) {
  height: 2rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 2;
  --tab-padding: 1rem;
}

.tabs-lg :where(.tab) {
  height: 3rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  line-height: 2;
  --tab-padding: 1.25rem;
}

.tabs-sm :where(.tab) {
  height: 1.5rem;
  font-size: 0.875rem;
  line-height: .75rem;
  --tab-padding: 0.75rem;
}

.tabs-xs :where(.tab) {
  height: 1.25rem;
  font-size: 0.75rem;
  line-height: .75rem;
  --tab-padding: 0.5rem;
}

.avatar.online:before {
  content: "";
  position: absolute;
  z-index: 10;
  display: block;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-su,oklch(var(--su)/var(--tw-bg-opacity)));
  outline-style: solid;
  outline-width: 2px;
  outline-color: var(--fallback-b1,oklch(var(--b1)/1));
  width: 15%;
  height: 15%;
  top: 7%;
  right: 7%;
}

.avatar.offline:before {
  content: "";
  position: absolute;
  z-index: 10;
  display: block;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)));
  outline-style: solid;
  outline-width: 2px;
  outline-color: var(--fallback-b1,oklch(var(--b1)/1));
  width: 15%;
  height: 15%;
  top: 7%;
  right: 7%;
}

.join.join-vertical > :where(*:not(:first-child)) {
  margin-left: 0px;
  margin-right: 0px;
  margin-top: -1px;
}

.join.join-vertical > :where(*:not(:first-child)):is(.btn) {
  margin-top: calc(var(--border-btn) * -1);
}

.join.join-horizontal > :where(*:not(:first-child)) {
  margin-top: 0px;
  margin-bottom: 0px;
  -webkit-margin-start: -1px;
          margin-inline-start: -1px;
}

.join.join-horizontal > :where(*:not(:first-child)):is(.btn) {
  -webkit-margin-start: calc(var(--border-btn) * -1);
          margin-inline-start: calc(var(--border-btn) * -1);
}

.steps-horizontal .step {
  grid-template-rows: 40px 1fr;
  grid-template-columns: auto;
  min-width: 4rem;
}

.steps-horizontal .step:before {
  height: 0.5rem;
  width: 100%;
  --tw-translate-x: 0px;
  --tw-translate-y: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  content: "";
  -webkit-margin-start: -100%;
          margin-inline-start: -100%;
}

.steps-horizontal .step:where([dir="rtl"], [dir="rtl"] *):before {
  --tw-translate-x: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.steps-vertical .step {
  gap: 0.5rem;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto;
  min-height: 4rem;
  justify-items: start;
}

.steps-vertical .step:before {
  height: 100%;
  width: 0.5rem;
  --tw-translate-x: -50%;
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  -webkit-margin-start: 50%;
          margin-inline-start: 50%;
}

.steps-vertical .step:where([dir="rtl"], [dir="rtl"] *):before {
  --tw-translate-x: 50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.pointer-events-none {
  pointer-events: none;
}

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.inset-x-0 {
  left: 0px;
  right: 0px;
}

.inset-y-0 {
  top: 0px;
  bottom: 0px;
}

.-left-7 {
  left: -1.75rem;
}

.-right-10 {
  right: -2.5rem;
}

.-top-5 {
  top: -1.25rem;
}

.bottom-0 {
  bottom: 0px;
}

.bottom-12 {
  bottom: 3rem;
}

.bottom-14 {
  bottom: 3.5rem;
}

.bottom-7 {
  bottom: 1.75rem;
}

.bottom-8 {
  bottom: 2rem;
}

.bottom-\[-30px\] {
  bottom: -30px;
}

.bottom-\[6\%\] {
  bottom: 6%;
}

.left-0 {
  left: 0px;
}

.left-1\/2 {
  left: 50%;
}

.left-10 {
  left: 2.5rem;
}

.left-8 {
  left: 2rem;
}

.left-\[22\%\] {
  left: 22%;
}

.left-\[4\%\] {
  left: 4%;
}

.right-3 {
  right: 0.75rem;
}

.right-4 {
  right: 1rem;
}

.right-8 {
  right: 2rem;
}

.right-\[16\%\] {
  right: 16%;
}

.top-0 {
  top: 0px;
}

.top-1\/2 {
  top: 50%;
}

.top-12 {
  top: 3rem;
}

.top-28 {
  top: 7rem;
}

.top-8 {
  top: 2rem;
}

.top-\[78\%\] {
  top: 78%;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-12 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-5 {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-\[-20px\] {
  margin-bottom: -20px;
}

.ml-auto {
  margin-left: auto;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-7 {
  margin-top: 1.75rem;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.h-0 {
  height: 0px;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.h-16 {
  height: 4rem;
}

.h-20 {
  height: 5rem;
}

.h-24 {
  height: 6rem;
}

.h-44 {
  height: 11rem;
}

.h-6 {
  height: 1.5rem;
}

.h-64 {
  height: 16rem;
}

.h-7 {
  height: 1.75rem;
}

.h-8 {
  height: 2rem;
}

.h-9 {
  height: 2.25rem;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.h-screen {
  height: 100vh;
}

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

.min-h-\[calc\(100vh-150px\)\] {
  min-height: calc(100vh - 150px);
}

.min-h-screen {
  min-height: 100vh;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-20 {
  width: 5rem;
}

.w-24 {
  width: 6rem;
}

.w-28 {
  width: 7rem;
}

.w-36 {
  width: 9rem;
}

.w-40 {
  width: 10rem;
}

.w-44 {
  width: 11rem;
}

.w-48 {
  width: 12rem;
}

.w-6 {
  width: 1.5rem;
}

.w-64 {
  width: 16rem;
}

.w-8 {
  width: 2rem;
}

.w-9 {
  width: 2.25rem;
}

.w-\[7\.5rem\] {
  width: 7.5rem;
}

.w-\[74\%\] {
  width: 74%;
}

.w-\[88\%\] {
  width: 88%;
}

.w-\[min\(92vw\2c 1040px\)\] {
  width: min(92vw,1040px);
}

.w-\[min\(92vw\2c 520px\)\] {
  width: min(92vw,520px);
}

.w-\[min\(94vw\2c 1180px\)\] {
  width: min(94vw,1180px);
}

.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}

.w-full {
  width: 100%;
}

.w-screen {
  width: 100vw;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-7xl {
  max-width: 80rem;
}

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

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

.max-w-lg {
  max-width: 32rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-sm {
  max-width: 24rem;
}

.max-w-xs {
  max-width: 20rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-none {
  flex: none;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.shrink-0 {
  flex-shrink: 0;
}

.origin-bottom-left {
  transform-origin: bottom left;
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-x-full {
  --tw-translate-x: -100%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-x-0 {
  --tw-translate-x: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-x-5 {
  --tw-translate-x: 1.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.resize {
  resize: both;
}

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

.flex-row-reverse {
  flex-direction: row-reverse;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-2\.5 {
  gap: 0.625rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.625rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.overflow-hidden {
  overflow: hidden;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-\[24px\] {
  border-radius: 24px;
}

.rounded-\[28px\] {
  border-radius: 28px;
}

.rounded-\[35px\] {
  border-radius: 35px;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-t-3xl {
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
}

.rounded-br-3xl {
  border-bottom-right-radius: 1.5rem;
}

.rounded-tr-3xl {
  border-top-right-radius: 1.5rem;
}

.border {
  border-width: 1px;
}

.border-0 {
  border-width: 0px;
}

.border-4 {
  border-width: 4px;
}

.border-l {
  border-left-width: 1px;
}

.border-r {
  border-right-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-none {
  border-style: none;
}

.border-indigo-100 {
  --tw-border-opacity: 1;
  border-color: rgb(224 231 255 / var(--tw-border-opacity));
}

.border-primary\/10 {
  border-color: var(--fallback-p,oklch(var(--p)/0.1));
}

.border-primary\/20 {
  border-color: var(--fallback-p,oklch(var(--p)/0.2));
}

.border-primary\/30 {
  border-color: var(--fallback-p,oklch(var(--p)/0.3));
}

.border-primary\/40 {
  border-color: var(--fallback-p,oklch(var(--p)/0.4));
}

.border-primary\/50 {
  border-color: var(--fallback-p,oklch(var(--p)/0.5));
}

.border-primary\/75 {
  border-color: var(--fallback-p,oklch(var(--p)/0.75));
}

.border-primary\/80 {
  border-color: var(--fallback-p,oklch(var(--p)/0.8));
}

.border-secondary {
  --tw-border-opacity: 1;
  border-color: var(--fallback-s,oklch(var(--s)/var(--tw-border-opacity)));
}

.border-warning\/30 {
  border-color: var(--fallback-wa,oklch(var(--wa)/0.3));
}

.bg-\[\#21194b\]\/80 {
  background-color: rgb(33 25 75 / 0.8);
}

.bg-base-100\/10 {
  background-color: var(--fallback-b1,oklch(var(--b1)/0.1));
}

.bg-base-100\/5 {
  background-color: var(--fallback-b1,oklch(var(--b1)/0.05));
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}

.bg-indigo-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(79 70 229 / var(--tw-bg-opacity));
}

.bg-primary {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)));
}

.bg-primary\/10 {
  background-color: var(--fallback-p,oklch(var(--p)/0.1));
}

.bg-primary\/20 {
  background-color: var(--fallback-p,oklch(var(--p)/0.2));
}

.bg-primary\/25 {
  background-color: var(--fallback-p,oklch(var(--p)/0.25));
}

.bg-primary\/30 {
  background-color: var(--fallback-p,oklch(var(--p)/0.3));
}

.bg-primary\/40 {
  background-color: var(--fallback-p,oklch(var(--p)/0.4));
}

.bg-secondary {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-s,oklch(var(--s)/var(--tw-bg-opacity)));
}

.bg-secondary\/60 {
  background-color: var(--fallback-s,oklch(var(--s)/0.6));
}

.bg-secondary\/70 {
  background-color: var(--fallback-s,oklch(var(--s)/0.7));
}

.bg-warning\/90 {
  background-color: var(--fallback-wa,oklch(var(--wa)/0.9));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-opacity-50 {
  --tw-bg-opacity: 0.5;
}

.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-white {
  --tw-gradient-from: #fff var(--tw-gradient-from-position);
  --tw-gradient-from-position:  ;
  --tw-gradient-to: rgb(255 255 255 / 0)  var(--tw-gradient-from-position);
  --tw-gradient-to-position:  ;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-orange-300 {
  --tw-gradient-via-position:  ;
  --tw-gradient-to: rgb(253 186 116 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-to-position:  ;
  --tw-gradient-stops: var(--tw-gradient-from), #fdba74 var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-primary {
  --tw-gradient-to: var(--fallback-p,oklch(var(--p)/1)) var(--tw-gradient-to-position);
  --tw-gradient-to-position:  ;
}

.bg-cover {
  background-size: cover;
}

.bg-fixed {
  background-attachment: fixed;
}

.bg-no-repeat {
  background-repeat: no-repeat;
}

.stroke-current {
  stroke: currentColor;
}

.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-2 {
  padding: 0.5rem;
}

.p-7 {
  padding: 1.75rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-7 {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-9 {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.pb-44 {
  padding-bottom: 11rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pl-16 {
  padding-left: 4rem;
}

.pl-5 {
  padding-left: 1.25rem;
}

.pr-16 {
  padding-right: 4rem;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-\[0\.68rem\] {
  font-size: 0.68rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-light {
  font-weight: 300;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.italic {
  font-style: italic;
}

.leading-5 {
  line-height: 1.25rem;
}

.leading-normal {
  line-height: 1.5;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-tight {
  line-height: 1.25;
}

.tracking-\[0\.18em\] {
  letter-spacing: 0.18em;
}

.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity));
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
}

.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity));
}

.text-primary {
  --tw-text-opacity: 1;
  color: var(--fallback-p,oklch(var(--p)/var(--tw-text-opacity)));
}

.text-primary\/90 {
  color: var(--fallback-p,oklch(var(--p)/0.9));
}

.text-red-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity));
}

.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.text-white\/60 {
  color: rgb(255 255 255 / 0.6);
}

.text-white\/70 {
  color: rgb(255 255 255 / 0.7);
}

.text-white\/80 {
  color: rgb(255 255 255 / 0.8);
}

.text-white\/95 {
  color: rgb(255 255 255 / 0.95);
}

.text-yellow-400 {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / var(--tw-text-opacity));
}

.underline {
  text-decoration-line: underline;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-90 {
  opacity: 0.9;
}

.shadow-\[0_0_24px_rgba\(139\2c 92\2c 246\2c 0\.2\)\] {
  --tw-shadow: 0 0 24px rgba(139,92,246,0.2);
  --tw-shadow-colored: 0 0 24px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_0_24px_rgba\(236\2c 59\2c 59\2c 0\.22\)\] {
  --tw-shadow: 0 0 24px rgba(236,59,59,0.22);
  --tw-shadow-colored: 0 0 24px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_0_28px_rgba\(139\2c 92\2c 246\2c 0\.42\)\] {
  --tw-shadow: 0 0 28px rgba(139,92,246,0.42);
  --tw-shadow-colored: 0 0 28px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_0_28px_rgba\(139\2c 92\2c 246\2c 0\.45\)\] {
  --tw-shadow: 0 0 28px rgba(139,92,246,0.45);
  --tw-shadow-colored: 0 0 28px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_0_32px_rgba\(139\2c 92\2c 246\2c 0\.28\)\] {
  --tw-shadow: 0 0 32px rgba(139,92,246,0.28);
  --tw-shadow-colored: 0 0 32px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_0_38px_rgba\(139\2c 92\2c 246\2c 0\.32\)\] {
  --tw-shadow: 0 0 38px rgba(139,92,246,0.32);
  --tw-shadow-colored: 0 0 38px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_0_42px_rgba\(139\2c 92\2c 246\2c 0\.32\)\] {
  --tw-shadow: 0 0 42px rgba(139,92,246,0.32);
  --tw-shadow-colored: 0 0 42px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_0_44px_rgba\(139\2c 92\2c 246\2c 0\.34\)\] {
  --tw-shadow: 0 0 44px rgba(139,92,246,0.34);
  --tw-shadow-colored: 0 0 44px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[inset_0_0_46px_rgba\(139\2c 92\2c 246\2c 0\.25\)\2c 0_0_52px_rgba\(139\2c 92\2c 246\2c 0\.22\)\] {
  --tw-shadow: inset 0 0 46px rgba(139,92,246,0.25),0 0 52px rgba(139,92,246,0.22);
  --tw-shadow-colored: inset 0 0 46px var(--tw-shadow-color), 0 0 52px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.ring {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.blur-3xl {
  --tw-blur: blur(64px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-sm {
  --tw-blur: blur(4px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow {
  --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow-\[0_0_22px_rgba\(139\2c 92\2c 246\2c 0\.45\)\] {
  --tw-drop-shadow: drop-shadow(0 0 22px rgba(139,92,246,0.45));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow-\[0_12px_12px_rgba\(0\2c 0\2c 0\2c 0\.35\)\] {
  --tw-drop-shadow: drop-shadow(0 12px 12px rgba(0,0,0,0.35));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow-\[0_12px_14px_rgba\(0\2c 0\2c 0\2c 0\.35\)\] {
  --tw-drop-shadow: drop-shadow(0 12px 14px rgba(0,0,0,0.35));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow-\[0_12px_28px_rgba\(141\2c 104\2c 248\2c 0\.35\)\] {
  --tw-drop-shadow: drop-shadow(0 12px 28px rgba(141,104,248,0.35));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow-\[0_14px_18px_rgba\(0\2c 0\2c 0\2c 0\.36\)\] {
  --tw-drop-shadow: drop-shadow(0 14px 18px rgba(0,0,0,0.36));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow-\[0_14px_18px_rgba\(0\2c 0\2c 0\2c 0\.4\)\] {
  --tw-drop-shadow: drop-shadow(0 14px 18px rgba(0,0,0,0.4));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow-\[0_16px_16px_rgba\(0\2c 0\2c 0\2c 0\.34\)\] {
  --tw-drop-shadow: drop-shadow(0 16px 16px rgba(0,0,0,0.34));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow-\[0_16px_22px_rgba\(0\2c 0\2c 0\2c 0\.42\)\] {
  --tw-drop-shadow: drop-shadow(0 16px 22px rgba(0,0,0,0.42));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow-\[0_28px_32px_rgba\(0\2c 0\2c 0\2c 0\.48\)\] {
  --tw-drop-shadow: drop-shadow(0 28px 32px rgba(0,0,0,0.48));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
          backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.\[e\:\FFFD\] {
  e: �;
}

.\[s\:M\12M\FFFD\15\FFFD c\703\FFFD 2\] {
  s: MM��c܃�2;
}

.font-roboto-condensed {
  font-family: 'Roboto Condensed', sans-serif;
}

body {
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, 100% 100%;
  background-attachment: fixed, fixed;
}

.hm-casino-page {
  --hm-casino-void: #09021d;
  --hm-casino-ink: #13072f;
  --hm-casino-panel: rgba(20, 10, 49, 0.9);
  --hm-casino-panel-deep: rgba(8, 3, 28, 0.96);
  --hm-casino-violet: #8b5cf6;
  --hm-casino-violet-soft: #c4b5fd;
  --hm-casino-pink: #ec4899;
  --hm-casino-moon: #f4f0ff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(18px, 3vw, 34px);
  color: #f8fbff;
  background:
        radial-gradient(circle at 50% -10%, rgba(139, 92, 246, 0.34), transparent 22rem),
        radial-gradient(circle at 16% 32%, rgba(236, 72, 153, 0.16), transparent 18rem),
        radial-gradient(circle at 84% 28%, rgba(196, 181, 253, 0.15), transparent 18rem),
        linear-gradient(145deg, var(--hm-casino-void) 0%, #18073a 48%, #070116 100%);
}

.hm-casino-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hm-casino-stars--near {
  background:
        radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 2px) 12% 25% / 170px 170px,
        radial-gradient(circle, rgba(196, 181, 253, 0.9) 0 1px, transparent 2px) 76% 40% / 210px 210px;
  opacity: 0.38;
}

.hm-casino-stars--far {
  background:
        radial-gradient(circle, rgba(167, 139, 250, 0.72) 0 1px, transparent 2px) 38% 18% / 260px 260px,
        radial-gradient(circle, rgba(244, 240, 255, 0.52) 0 1px, transparent 2px) 62% 74% / 290px 290px;
  opacity: 0.3;
}

.hm-casino-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hm-casino-header,
.hm-casino-layout {
  display: grid;
  gap: 18px;
}

.hm-casino-header {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 18px;
}

.hm-casino-kicker {
  margin: 0 0 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--hm-casino-violet-soft);
  font-weight: 800;
}

.hm-casino-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  text-shadow: 0 0 24px rgba(139, 92, 246, 0.52), 0 4px 0 rgba(0, 0, 0, 0.28);
}

.hm-casino-header h1 + span {
  display: block;
  max-width: 520px;
  margin-top: 8px;
  color: rgba(248, 251, 255, 0.66);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
}

.hm-casino-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hm-casino-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 8px;
  border: 1px solid rgba(196, 181, 253, 0.24);
  color: rgba(244, 240, 255, 0.78);
  background: rgba(17, 7, 43, 0.62);
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.hm-casino-nav a:hover,
.hm-casino-nav a.is-active {
  transform: translateY(-1px);
  border-color: rgba(236, 72, 153, 0.58);
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.46), rgba(236, 72, 153, 0.24));
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.22);
}

.hm-casino-wallet {
  min-width: 150px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 2px solid rgba(196, 181, 253, 0.5);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(30, 15, 71, 0.94), rgba(12, 4, 35, 0.94));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.13), 0 0 32px rgba(139, 92, 246, 0.24), 0 16px 40px rgba(0, 0, 0, 0.28);
  font-size: 1.3rem;
  font-weight: 900;
}

.hm-casino-wallet img {
  width: 32px;
  height: 32px;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-casino-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  align-items: start;
}

.hm-casino-machine,
.hm-casino-lobby,
.hm-casino-side section,
.hm-casino-error {
  border: 1px solid rgba(196, 181, 253, 0.28);
  border-radius: 8px;
  background:
        linear-gradient(180deg, var(--hm-casino-panel), var(--hm-casino-panel-deep)),
        linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), 0 0 36px rgba(139, 92, 246, 0.18), 0 22px 55px rgba(0, 0, 0, 0.34);
}

.hm-casino-lobby {
  padding: clamp(16px, 2.6vw, 24px);
  position: relative;
  overflow: hidden;
}

.hm-casino-lobby::before {
  content: "";
  position: absolute;
  right: -8rem;
  top: -10rem;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.24), transparent 66%);
  pointer-events: none;
}

.hm-casino-lobby::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
        linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 82px 82px;
  opacity: 0.36;
  pointer-events: none;
}

.hm-casino-lobby-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: 16px;
}

.hm-casino-lobby-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1;
}

.hm-casino-lobby-head > span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(196, 181, 253, 0.26);
  color: #ddd6fe;
  font-weight: 900;
}

.hm-casino-featured-machine {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 136px;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(250, 204, 21, 0.42);
  color: #fff;
  text-decoration: none;
  background:
        linear-gradient(135deg, rgba(255,255,255,0.12), transparent 32%),
        radial-gradient(circle at 18% 40%, rgba(250, 204, 21, 0.18), transparent 16rem),
        linear-gradient(135deg, rgba(72, 42, 126, 0.92), rgba(23, 9, 58, 0.96));
  box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 0 34px rgba(250, 204, 21, 0.12),
        0 20px 44px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hm-casino-featured-machine:hover {
  transform: translateY(-3px);
  border-color: rgba(250, 204, 21, 0.72);
  box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.14),
        0 0 42px rgba(250, 204, 21, 0.2),
        0 24px 50px rgba(0, 0, 0, 0.34);
}

.hm-casino-featured-glow {
  position: absolute;
  inset: auto 10% -48% auto;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.28), transparent 68%);
  pointer-events: none;
}

.hm-casino-featured-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 96px;
  border-radius: 22px;
  border: 1px solid rgba(250, 204, 21, 0.3);
  background:
        radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 66%),
        rgba(0, 0, 0, 0.24);
}

.hm-casino-featured-art img:first-child {
  width: 58px;
  height: 58px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.34)) drop-shadow(0 0 18px rgba(250, 204, 21, 0.28));
}

.hm-casino-featured-moon {
  position: absolute;
  right: -0.4rem;
  bottom: -0.6rem;
  width: 42px;
  height: 42px;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-casino-featured-copy {
  min-width: 0;
}

.hm-casino-featured-copy strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 0 22px rgba(250, 204, 21, 0.22);
}

.hm-casino-featured-copy span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.66);
  font-size: 0.9rem;
  font-weight: 800;
}

.hm-casino-featured-bank {
  position: relative;
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 132px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(250, 204, 21, 0.28);
}

.hm-casino-featured-bank small,
.hm-casino-featured-bank em {
  color: rgba(254, 243, 199, 0.76);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hm-casino-featured-bank b {
  color: #fde68a;
  font-size: 1.4rem;
  line-height: 1;
}

.hm-casino-featured-bank em {
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  letter-spacing: 0.04em;
}

.hm-casino-lobby-filters {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hm-casino-lobby-filters span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.32);
  color: rgba(255,255,255,0.68);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-casino-lobby-filters span.is-active {
  border-color: rgba(236, 72, 153, 0.58);
  color: #fff;
  background: rgba(139, 92, 246, 0.22);
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.18);
}

.hm-casino-machine-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 252px), 1fr));
  gap: 12px;
}

.hm-casino-machine-card {
  position: relative;
  min-height: 176px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(139, 92, 246, 0.34);
  background:
        radial-gradient(circle at 82% 12%, rgba(236, 72, 153, 0.16), transparent 9rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
        rgba(7, 3, 31, 0.58);
  color: #f8fbff;
  text-decoration: none;
  box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 16px 30px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hm-casino-machine-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.75);
  background:
        radial-gradient(circle at 82% 12%, rgba(236, 72, 153, 0.22), transparent 9rem),
        linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.07)),
        rgba(7, 3, 31, 0.66);
  box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 0 28px rgba(139, 92, 246, 0.18),
        0 20px 36px rgba(0, 0, 0, 0.28);
}

.hm-casino-machine-card::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.16), transparent 68%);
  pointer-events: none;
}

.hm-casino-machine-card-status {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #fde68a;
  background: rgba(250, 204, 21, 0.13);
  border: 1px solid rgba(250, 204, 21, 0.28);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-casino-machine-card-art {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
        radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 68%),
        rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hm-casino-machine-card-art img {
  width: 48px;
  height: 48px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.32));
}

.hm-casino-machine-card-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding-right: 3.8rem;
}

.hm-casino-machine-card-copy span,
.hm-casino-machine-card-copy small,
.hm-casino-machine-card-bank small {
  color: rgba(254, 243, 199, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hm-casino-machine-card-copy strong {
  min-width: 0;
  margin-top: 28px;
  font-size: 1.08rem;
  line-height: 1.12;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-casino-machine-card-copy small {
  color: rgba(196, 181, 253, 0.78);
}

.hm-casino-machine-card-bank {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: start;
  gap: 4px;
  margin-top: 4px;
  padding: 9px 10px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255,255,255,0.08);
}

.hm-casino-machine-card-bank b {
  color: #fde68a;
  font-size: 1.05rem;
}

.hm-casino-machine-card-play {
  grid-column: 1 / -1;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 12px 22px rgba(139, 92, 246, 0.22);
  font-size: 0.82rem;
  font-weight: 950;
}

.hm-casino-game-list {
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 0.85rem;
}

.hm-casino-machine-card.hm-casino-game-card {
  --hm-slot-accent: #8b5cf6;
  --hm-slot-accent-two: #ec4899;
  position: relative;
  display: flex;
  min-height: 12.2rem;
  aspect-ratio: 0.78;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  padding: 0.65rem;
  overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid color-mix(in srgb, var(--hm-slot-accent) 48%, rgba(139, 92, 246, 0.26));
  background:
        radial-gradient(circle at 50% 36%, color-mix(in srgb, var(--hm-slot-accent) 22%, transparent), transparent 8rem),
        linear-gradient(155deg, color-mix(in srgb, var(--hm-slot-accent) 84%, #271058 16%), color-mix(in srgb, var(--hm-slot-accent-two) 78%, #14072f 22%));
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 18px 34px rgba(7, 2, 24, 0.34),
        0 0 24px color-mix(in srgb, var(--hm-slot-accent) 12%, transparent);
  isolation: isolate;
}

.hm-casino-machine-card.hm-casino-game-card:hover {
  transform: translateY(-0.22rem);
  border-color: color-mix(in srgb, var(--hm-slot-accent) 72%, white 8%);
  background:
        radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--hm-slot-accent) 28%, transparent), transparent 8rem),
        linear-gradient(155deg, color-mix(in srgb, var(--hm-slot-accent) 88%, #271058 12%), color-mix(in srgb, var(--hm-slot-accent-two) 82%, #14072f 18%));
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 22px 42px rgba(7, 2, 24, 0.42),
        0 0 34px color-mix(in srgb, var(--hm-slot-accent) 20%, transparent);
}

.hm-casino-game-card-space {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
        radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 1px, transparent 2px) 18% 18% / 72px 72px,
        radial-gradient(circle, rgba(255, 255, 255, 0.46) 0 1px, transparent 2px) 78% 38% / 92px 92px,
        linear-gradient(160deg, rgba(255,255,255,0.18) 0 10%, transparent 42%);
  opacity: 0.48;
  pointer-events: none;
}

.hm-casino-game-card-space::after {
  content: "";
  position: absolute;
  right: -2.6rem;
  top: -2.2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  background:
        radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.75), transparent 0.55rem),
        radial-gradient(circle, color-mix(in srgb, var(--hm-slot-accent-two) 34%, white 24%), color-mix(in srgb, var(--hm-slot-accent) 36%, transparent) 38%, transparent 70%);
  opacity: 0.84;
}

.hm-casino-game-card-rate {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 3;
  display: inline-flex;
  min-height: 1.45rem;
  max-width: calc(100% - 1.1rem);
  align-items: center;
  padding: 0 0.48rem;
  border-radius: 0.42rem;
  color: #fff7ed;
  background: rgba(7, 2, 28, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-casino-game-card-rate::after {
  content: " banque";
  color: rgba(255,255,255,0.72);
  font-size: 0.48rem;
  font-weight: 900;
}

.hm-casino-game-card-art {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 5.4rem;
  place-items: center;
  margin: auto 0 0.7rem;
}

.hm-casino-game-card-art::before {
  content: "";
  position: absolute;
  width: 5.7rem;
  height: 5.7rem;
  border: 1px solid color-mix(in srgb, var(--hm-slot-accent) 38%, rgba(255,255,255,0.1));
  border-radius: 50%;
  background: color-mix(in srgb, var(--hm-slot-accent) 10%, rgba(7, 2, 28, 0.22));
  box-shadow:
        inset 0 0 28px color-mix(in srgb, var(--hm-slot-accent) 12%, transparent),
        0 0 24px color-mix(in srgb, var(--hm-slot-accent-two) 12%, transparent);
}

.hm-casino-game-card-art img {
  position: relative;
  z-index: 2;
  width: 4.2rem;
  height: 4.2rem;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 14px 13px rgba(7, 2, 24, 0.42));
}

.hm-casino-game-card-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.16rem;
  text-align: center;
  text-transform: uppercase;
}

.hm-casino-game-card-copy strong {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: clamp(1rem, 1.65vw, 1.28rem);
  font-weight: 950;
  line-height: 0.95;
  text-shadow: 0 2px 0 rgba(7, 2, 24, 0.22), 0 0 18px rgba(255,255,255,0.18);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hm-casino-game-card-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.43rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.hm-casino-game-card-meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.32rem;
  margin-top: 0.55rem;
  color: rgba(255,255,255,0.58);
  font-size: 0.48rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hm-casino-game-card-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-casino-machine-card.hm-casino-roulette-card {
  background:
        radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--hm-slot-accent) 24%, transparent), transparent 8rem),
        linear-gradient(158deg, color-mix(in srgb, var(--hm-slot-accent) 78%, #1d1645 22%), color-mix(in srgb, var(--hm-slot-accent-two) 78%, #09021d 22%));
}

.hm-casino-roulette-card .hm-casino-game-card-space {
  background:
        conic-gradient(from -28deg at 50% 36%, rgba(236, 72, 153, 0.28) 0 9%, rgba(14, 5, 38, 0.36) 9% 18%, rgba(139, 92, 246, 0.26) 18% 27%, rgba(14, 5, 38, 0.34) 27% 36%, transparent 36% 100%),
        radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 1px, transparent 2px) 18% 18% / 72px 72px,
        linear-gradient(160deg, rgba(255,255,255,0.16) 0 10%, transparent 42%);
  opacity: 0.52;
}

.hm-casino-roulette-card-art::before {
  width: 6rem;
  height: 6rem;
  border-color: color-mix(in srgb, var(--hm-slot-accent) 48%, rgba(244, 240, 255, 0.18));
  background:
        conic-gradient(from 10deg, #ec4899 0 10%, #12062e 10% 20%, #8b5cf6 20% 30%, #12062e 30% 40%, #ec4899 40% 50%, #12062e 50% 60%, #8b5cf6 60% 70%, #12062e 70% 80%, #ec4899 80% 90%, #12062e 90% 100%);
  box-shadow:
        inset 0 0 0 0.58rem rgba(139, 92, 246, 0.16),
        inset 0 0 32px rgba(7, 2, 24, 0.72),
        0 0 24px color-mix(in srgb, var(--hm-slot-accent) 18%, transparent);
}

.hm-casino-roulette-card-art::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 3.05rem;
  height: 3.05rem;
  border-radius: 50%;
  background:
        radial-gradient(circle at 34% 30%, rgba(255,255,255,0.85), transparent 0.5rem),
        linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(32, 15, 82, 0.96));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 0 18px rgba(255,255,255,0.1);
}

.hm-casino-roulette-card-art img {
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
}

.hm-casino-roulette-card-art > span {
  position: absolute;
  z-index: 3;
  right: calc(50% - 2.55rem);
  top: 0.15rem;
  display: grid;
  width: 1.38rem;
  height: 1.38rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #8b5cf6;
  border: 2px solid rgba(255,255,255,0.82);
  box-shadow: 0 8px 14px rgba(7, 2, 24, 0.32);
  font-size: 0.58rem;
  font-weight: 950;
}

.hm-casino-lobby-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  color: rgba(255,255,255,0.64);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.86rem;
  font-weight: 800;
}

.hm-casino-lobby-note img {
  width: 34px;
  height: 34px;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-casino-machine {
  position: relative;
  overflow: hidden;
  padding: clamp(12px, 1.8vw, 18px);
  background:
        linear-gradient(180deg, rgba(22, 27, 48, 0.78), rgba(7, 10, 25, 0.94) 58%, rgba(4, 6, 16, 0.98)),
        radial-gradient(circle at 50% 18%, rgba(139, 92, 246, 0.22), transparent 22rem);
  border-color: rgba(244, 114, 182, 0.34);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hm-casino-machine::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  pointer-events: none;
}

.hm-casino-machine::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(72%, 520px);
  aspect-ratio: 1 / 0.44;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.24), rgba(236, 72, 153, 0.14) 42%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.hm-casino-page.is-spinning .hm-casino-machine {
  animation: hm-casino-machine-shake 160ms linear infinite;
  border-color: rgba(196, 181, 253, 0.62);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), 0 0 44px rgba(139, 92, 246, 0.28), 0 22px 55px rgba(0, 0, 0, 0.34);
}

.hm-casino-page.is-win-flash .hm-casino-machine {
  animation: hm-casino-win-flash 760ms ease-out;
}

.hm-casino-marquee {
  z-index: 1;
  position: relative;
  min-height: 74px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin: 0 auto 12px;
  border-radius: 8px;
  border: 1px solid rgba(244, 114, 182, 0.52);
  background:
        linear-gradient(90deg, rgba(76, 29, 149, 0.86), rgba(22, 10, 54, 0.94) 44%, rgba(83, 18, 68, 0.78)),
        radial-gradient(circle at 18% 50%, rgba(196, 181, 253, 0.16), transparent 54%);
  box-shadow: 0 0 22px rgba(236, 72, 153, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hm-casino-marquee-lights {
  position: absolute;
  inset: 6px;
  border-radius: 7px;
  background:
        radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 2px, transparent 3px) 0 0 / 28px 28px;
  opacity: 0.26;
  pointer-events: none;
}

.hm-casino-marquee img {
  width: 48px;
  height: 48px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(196, 181, 253, 0.62));
}

.hm-casino-marquee div {
  min-width: 0;
  display: grid;
  gap: 4px;
  position: relative;
}

.hm-casino-marquee span {
  color: #ddd6fe;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
}

.hm-casino-marquee strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1;
  color: #fff7ed;
  text-shadow: 0 0 18px rgba(244, 114, 182, 0.65);
}

.hm-casino-marquee b {
  position: relative;
  padding: 7px 10px;
  border-radius: 8px;
  color: #f4f0ff;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(196, 181, 253, 0.34);
}

.hm-casino-cabinet {
  position: relative;
  z-index: 1;
  width: min(500px, 100%);
  margin: 0 auto;
  padding: clamp(14px, 2.2vw, 22px);
  border-radius: 8px;
  border: 1px solid rgba(196, 181, 253, 0.3);
  background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
        linear-gradient(145deg, rgba(31, 16, 70, 0.88), rgba(8, 3, 28, 0.96));
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -18px 45px rgba(0, 0, 0, 0.36),
        0 0 34px rgba(139, 92, 246, 0.22),
        0 26px 65px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.hm-casino-cabinet::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(196, 181, 253, 0.68), rgba(236, 72, 153, 0.7), rgba(139, 92, 246, 0.78));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hm-casino-cabinet::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 20%;
  height: 56%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.16) 42%, transparent 72%);
  filter: blur(22px);
  pointer-events: none;
}

.hm-casino-reels {
  position: relative;
  width: 100%;
  min-height: clamp(132px, 18vw, 188px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.4vw, 14px);
  padding: 0;
  border-radius: 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
  z-index: 2;
}

.hm-casino-reel {
  position: relative;
  min-height: clamp(132px, 18vw, 188px);
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
        linear-gradient(180deg, rgba(18, 8, 46, 0.98), rgba(5, 2, 21, 0.98)),
        radial-gradient(circle at 50% 0%, rgba(196, 181, 253, 0.12), transparent 58%);
  border: 1px solid rgba(196, 181, 253, 0.26);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -24px 45px rgba(0, 0, 0, 0.42),
        inset 0 0 0 2px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(196, 181, 253, 0.13),
        0 16px 32px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hm-casino-reel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(196, 181, 253, 0.68), rgba(236, 72, 153, 0.5), rgba(139, 92, 246, 0.64));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hm-casino-reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 24%, transparent 66%, rgba(255, 255, 255, 0.06)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.hm-casino-reel-glass {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 8%;
  height: 20%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent);
  filter: blur(1px);
  pointer-events: none;
}

.hm-casino-reel img {
  position: relative;
  z-index: 1;
  width: min(58%, 86px);
  height: min(58%, 86px);
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.36)) drop-shadow(0 0 14px rgba(196, 181, 253, 0.24));
  transition: transform 220ms ease, filter 220ms ease;
}

.hm-casino-reel.is-spinning img {
  animation: hm-casino-reel-spin 135ms linear infinite;
}

.hm-casino-reel.is-spinning {
  border-color: rgba(196, 181, 253, 0.72);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -24px 45px rgba(0, 0, 0, 0.42),
        0 0 28px rgba(139, 92, 246, 0.38),
        0 0 34px rgba(236, 72, 153, 0.18);
  animation: hm-casino-border-flow 680ms linear infinite;
}

.hm-casino-reel.is-stopped {
  border-color: rgba(244, 114, 182, 0.74);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -24px 45px rgba(0, 0, 0, 0.42),
        0 0 24px rgba(244, 114, 182, 0.32),
        0 0 38px rgba(139, 92, 246, 0.16);
}

.hm-casino-reel.is-stopped img {
  transform: scale(1.08);
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.36)) drop-shadow(0 0 18px rgba(244, 114, 182, 0.34));
}

.hm-casino-result {
  min-height: 48px;
  margin: 16px 0;
  display: grid;
  place-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.76), rgba(0, 0, 0, 0.42));
  border: 1px solid rgba(196, 181, 253, 0.24);
  font-weight: 900;
  text-align: center;
}

.hm-casino-result.is-win {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.72);
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.18);
}

.hm-casino-result.is-loss {
  color: #fecaca;
}

.hm-casino-result.is-error {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.72);
}

.hm-casino-controls {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.hm-casino-controls label {
  display: grid;
  gap: 7px;
  color: #ddd6fe;
  font-weight: 800;
}

.hm-casino-controls input {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  border: 2px solid rgba(196, 181, 253, 0.34);
  background: rgba(9, 2, 29, 0.68);
  color: #fff7ed;
  padding: 0 12px;
  font-size: 1.1rem;
  font-weight: 900;
}

.hm-casino-bet-presets {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.hm-casino-bet-presets button,
.hm-casino-history-head button,
.hm-casino-spin {
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.hm-casino-history-head button {
  min-height: 38px;
  color: #f8fbff;
  background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
        rgba(22, 10, 54, 0.72);
  border: 1px solid rgba(196, 181, 253, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.hm-casino-history-head button:hover {
  transform: translateY(-1px);
  border-color: rgba(244, 114, 182, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 18px rgba(244, 114, 182, 0.18), 0 10px 22px rgba(0, 0, 0, 0.2);
}

.hm-casino-bet-presets button {
  min-height: 46px;
  color: #f8fbff;
  background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        url("../images/casino/buttons/bet-8895363209c55261c5fa9aaf4c12578c.png") center / 100% 100% no-repeat;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.62);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.22), 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.hm-casino-bet-presets button:hover {
  transform: translateY(-2px);
  filter: saturate(1.18) brightness(1.08);
  box-shadow: 0 0 24px rgba(244, 114, 182, 0.32), 0 12px 24px rgba(0, 0, 0, 0.24);
}

.hm-casino-spin {
  min-width: 140px;
  min-height: 56px;
  color: #fff;
  background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04) 25%),
        linear-gradient(90deg, #7c3aed 0%, #ec4899 55%, #c084fc 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        0 0 26px rgba(244, 114, 182, 0.42),
        0 12px 0 rgba(88, 28, 135, 0.45),
        0 18px 32px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.hm-casino-spin:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: saturate(1.12) brightness(1.04);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.46),
        0 0 34px rgba(244, 114, 182, 0.58),
        0 12px 0 rgba(88, 28, 135, 0.45),
        0 20px 36px rgba(0, 0, 0, 0.32);
}

.hm-casino-spin:disabled {
  opacity: 0.72;
  cursor: wait;
}

.hm-casino-machine-base {
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr 0.6fr;
  gap: 10px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(45, 24, 92, 0.82), rgba(9, 2, 29, 0.92));
  border: 1px solid rgba(196, 181, 253, 0.26);
}

.hm-casino-machine-base span {
  min-height: 28px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(244, 240, 255, 0.52), rgba(91, 64, 150, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hm-casino-machine-base span:nth-child(3) {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.9), rgba(244, 114, 182, 0.85));
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.28);
}

.hm-casino-side {
  display: grid;
  gap: 14px;
}

.hm-casino-side section {
  padding: 16px;
}

.hm-casino-side section > strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.hm-casino-side section > span {
  display: block;
  margin-top: 5px;
  color: rgba(244, 240, 255, 0.72);
  font-size: 0.88rem;
}

.hm-casino-symbol-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hm-casino-symbol-grid div {
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 8px 4px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hm-casino-symbol-grid img {
  width: 34px;
  height: 34px;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-casino-symbol-grid span {
  max-width: 100%;
  font-size: 0.7rem;
  color: #fef3c7;
  overflow-wrap: anywhere;
}

.hm-casino-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hm-casino-history {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  max-height: 218px;
  overflow: auto;
}

.hm-casino-history > span,
.hm-casino-history-item {
  min-height: 44px;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hm-casino-history-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.hm-casino-history-item div {
  display: grid;
  min-width: 0;
}

.hm-casino-history-item span {
  color: rgba(255, 247, 221, 0.64);
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-casino-history-item.is-win b {
  color: #fde68a;
}

.hm-casino-history-item.is-loss b {
  color: #fecaca;
}

.hm-casino-error {
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  padding: 30px;
}

.hm-casino-error--compact {
  min-height: 260px;
}

.hm-casino-error img {
  width: 74px;
  height: 74px;
}

.hm-casino-error h2,
.hm-casino-error p {
  margin: 0;
}

@keyframes hm-casino-reel-spin {
  0% {
    transform: translateY(-44%) scale(0.92);
    opacity: 0.54;
  }

  100% {
    transform: translateY(44%) scale(1.06);
    opacity: 1;
  }
}

@keyframes hm-casino-border-flow {
  0% {
    filter: hue-rotate(0deg) saturate(1);
  }

  100% {
    filter: hue-rotate(70deg) saturate(1.2);
  }
}

@keyframes hm-casino-machine-shake {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  25% {
    transform: translate3d(1px, -1px, 0);
  }

  50% {
    transform: translate3d(-1px, 1px, 0);
  }

  75% {
    transform: translate3d(1px, 1px, 0);
  }
}

@keyframes hm-casino-win-flash {
  0% {
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), 0 0 36px rgba(14, 165, 233, 0.16), 0 22px 55px rgba(0, 0, 0, 0.34);
  }

  28% {
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.22), 0 0 80px rgba(250, 204, 21, 0.44), 0 0 58px rgba(244, 114, 182, 0.34), 0 22px 55px rgba(0, 0, 0, 0.34);
  }

  100% {
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), 0 0 36px rgba(14, 165, 233, 0.16), 0 22px 55px rgba(0, 0, 0, 0.34);
  }
}

@media (max-width: 860px) {
  .hm-casino-header,
    .hm-casino-layout {
    grid-template-columns: 1fr;
  }

  .hm-casino-wallet {
    justify-content: flex-start;
  }

  .hm-casino-controls {
    grid-template-columns: 1fr;
  }

  .hm-casino-spin {
    width: 100%;
  }

  .hm-casino-cabinet {
    width: min(460px, 100%);
  }

  .hm-casino-reels,
    .hm-casino-reel {
    min-height: clamp(128px, 34vw, 176px);
  }

  .hm-casino-featured-machine {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .hm-casino-featured-art {
    width: 92px;
    height: 82px;
  }

  .hm-casino-featured-bank {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    justify-items: start;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .hm-casino-page {
    padding: 12px;
  }

  .hm-casino-lobby-head {
    align-items: start;
    flex-direction: column;
  }

  .hm-casino-header h1 + span {
    font-size: 0.86rem;
  }

  .hm-casino-featured-machine {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px;
  }

  .hm-casino-featured-art {
    width: 100%;
    height: 92px;
  }

  .hm-casino-featured-copy strong {
    white-space: normal;
  }

  .hm-casino-featured-bank {
    grid-template-columns: 1fr auto;
  }

  .hm-casino-featured-bank em {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }

  .hm-casino-lobby-filters span {
    min-height: 32px;
    font-size: 0.64rem;
  }

  .hm-casino-machine-card {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 0;
    padding: 12px;
  }

  .hm-casino-machine-card-art {
    width: 62px;
    height: 62px;
  }

  .hm-casino-machine-card-art img {
    width: 42px;
    height: 42px;
  }

  .hm-casino-machine-card-copy {
    padding-right: 3.2rem;
  }

  .hm-casino-machine-card-copy strong {
    margin-top: 26px;
    white-space: normal;
  }

  .hm-casino-machine-card-status {
    top: 10px;
    right: 10px;
    font-size: 0.52rem;
  }

  .hm-casino-lobby-note {
    align-items: flex-start;
    font-size: 0.78rem;
  }

  .hm-casino-marquee {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 10px;
  }

  .hm-casino-marquee img {
    width: 38px;
    height: 38px;
  }

  .hm-casino-marquee strong {
    font-size: 1.12rem;
  }

  .hm-casino-marquee b {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .hm-casino-reels,
    .hm-casino-reel {
    min-height: 112px;
  }

  .hm-casino-machine-base {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pixel-img {
  image-rendering: pixelated;
}

.hm-login-page {
  background:
        radial-gradient(circle at 72% 48%, rgba(139, 92, 246, 0.22), transparent 24rem),
        radial-gradient(circle at 16% 28%, rgba(59, 130, 246, 0.14), transparent 20rem),
        linear-gradient(180deg, #1a0842 0%, #24085b 43%, #070219 100%);
  isolation: isolate;
}

.hm-login-page::before,
.hm-login-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hm-login-page::before {
  background-image: url("../images/stars2-d08978f0599b5376bb179666296538fc.png");
  background-size: min(1024px, 120vw);
  background-position: center top;
  opacity: 0.66;
}

.hm-login-page::after {
  background:
        radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 1px, transparent 2px) 9% 22% / 180px 180px,
        radial-gradient(circle, rgba(196, 181, 253, 0.85) 0 1px, transparent 2px) 72% 14% / 220px 220px,
        radial-gradient(circle, rgba(147, 197, 253, 0.7) 0 1px, transparent 2px) 48% 70% / 260px 260px;
  opacity: 0.38;
  animation: hm-star-twinkle 6s ease-in-out infinite alternate;
}

.hm-starry-layer,
.hm-cosmic-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hm-starry-layer--near {
  background:
        radial-gradient(circle, rgba(255,255,255,0.95) 0 2px, transparent 3px) 11% 38% / 230px 210px,
        radial-gradient(circle, rgba(255,255,255,0.9) 0 1px, transparent 3px) 79% 73% / 270px 250px;
  opacity: 0.42;
  animation: hm-star-drift 18s linear infinite;
}

.hm-starry-layer--far {
  background:
        radial-gradient(circle, rgba(196,181,253,0.8) 0 1px, transparent 2px) 22% 18% / 310px 300px,
        radial-gradient(circle, rgba(191,219,254,0.7) 0 1px, transparent 2px) 62% 52% / 360px 340px;
  opacity: 0.32;
  animation: hm-star-drift 28s linear infinite reverse;
}

.hm-cosmic-dust {
  background:
        linear-gradient(115deg, transparent 0 35%, rgba(139, 92, 246, 0.12) 48%, transparent 62%),
        linear-gradient(15deg, transparent 0 58%, rgba(59, 130, 246, 0.10) 70%, transparent 84%);
  mix-blend-mode: screen;
  opacity: 0.52;
}

.hm-login-shell,
.hm-register-link {
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(196, 181, 253, 0.08),
        0 24px 70px rgba(13, 6, 45, 0.42);
}

.hm-login-logo img {
  width: 11rem;
  max-width: none;
}

.hm-login-page .hm-hero-title {
  font-size: clamp(2.35rem, 4.25vw, 2.85rem) !important;
  line-height: 1.02 !important;
}

.hm-login-page .hm-hero-text {
  font-size: clamp(0.98rem, 1.55vw, 1.1rem) !important;
  line-height: 1.45 !important;
}

.hm-login-input,
.hm-moon-button {
  font-size: 0.95rem;
}

.hm-login-input {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hm-field:focus-within .hm-login-input {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.32);
}

.hm-field-icon,
.hm-button-planet,
.hm-floating-moon,
.hm-register-ship,
.hm-hotel-satellite {
  will-change: transform;
}

.hm-moon-button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #7c5cf4 0%, #8b5cf6 58%, #6d49db 100%);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.hm-moon-button::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.hm-moon-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 0 36px rgba(139, 92, 246, 0.58);
}

.hm-moon-button:hover::before {
  transform: translateX(120%);
}

.hm-kicker {
  letter-spacing: 0.18em;
}

.hm-hotel-stage {
  min-height: clamp(320px, 43vw, 570px);
}

.hm-hotel-orbit {
  transform: rotate(-8deg) scaleX(1.06);
}

.hm-hotel-halo {
  filter: saturate(1.25);
}

.hm-login-footer {
  opacity: 0.94;
  transform: translateY(14%);
}

.hm-register-page {
  background:
        radial-gradient(circle at 66% 42%, rgba(139, 92, 246, 0.24), transparent 25rem),
        radial-gradient(circle at 20% 70%, rgba(59, 130, 246, 0.16), transparent 20rem),
        linear-gradient(180deg, #1a0842 0%, #25085b 48%, #070219 100%);
  isolation: isolate;
}

.hm-register-page::before,
.hm-register-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hm-register-page::before {
  background-image: url("../images/stars2-d08978f0599b5376bb179666296538fc.png");
  background-position: center top;
  background-size: min(1024px, 120vw);
  opacity: 0.58;
}

.hm-register-page::after {
  background:
        radial-gradient(circle, rgba(255,255,255,0.94) 0 1px, transparent 2px) 9% 21% / 190px 180px,
        radial-gradient(circle, rgba(196,181,253,0.82) 0 1px, transparent 2px) 78% 28% / 220px 220px,
        radial-gradient(circle, rgba(147,197,253,0.66) 0 1px, transparent 2px) 48% 78% / 260px 260px;
  opacity: 0.34;
  animation: hm-star-twinkle 6s ease-in-out infinite alternate;
}

.hm-register-module {
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(196, 181, 253, 0.08),
        0 24px 70px rgba(13, 6, 45, 0.42);
}

.hm-register-form-panel {
  background:
        linear-gradient(180deg, rgba(30, 27, 75, 0.92), rgba(23, 18, 60, 0.94)),
        radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.18), transparent 18rem);
}

.hm-register-kicker {
  letter-spacing: 0.18em;
}

.hm-register-label {
  display: inline-flex;
  margin-bottom: 0.28rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 800;
}

.hm-register-input {
  height: 2.58rem;
  border-radius: 0.9rem;
  border-color: rgba(139, 92, 246, 0.76);
  background: rgba(26, 18, 72, 0.88);
  padding-left: 0.95rem;
  padding-right: 3.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hm-register-input-picto {
  width: 2.05rem;
  height: 2.05rem;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0.88;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.34));
}

.hm-register-input-picto--small {
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.8;
}

.hm-register-input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.hm-register-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.hm-register-field:focus-within .hm-register-input {
  transform: translateY(-1px);
  border-color: rgba(196, 181, 253, 0.96);
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.30);
}

.hm-register-submit {
  background: linear-gradient(135deg, #7c5cf4 0%, #8b5cf6 60%, #6842dc 100%);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.hm-register-submit::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: translateX(-120%);
  transition: transform 560ms ease;
}

.hm-register-submit:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 0 38px rgba(139, 92, 246, 0.58);
}

.hm-register-submit:hover::before {
  transform: translateX(120%);
}

.hm-register-benefits {
  background:
        radial-gradient(circle at 60% 28%, rgba(139, 92, 246, 0.24), transparent 12rem),
        radial-gradient(circle at 34% 84%, rgba(59, 130, 246, 0.18), transparent 10rem),
        rgba(63, 37, 110, 0.44);
}

.hm-register-benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
        radial-gradient(circle, rgba(255,255,255,0.86) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(196,181,253,0.6) 0 1px, transparent 2px);
  background-position: 22px 38px, 110px 84px;
  background-size: 84px 84px, 132px 132px;
  opacity: 0.34;
}

.hm-benefit-card {
  display: flex;
  align-items: center;
  gap: 0.82rem;
  border: 1px solid rgba(139, 92, 246, 0.36);
  border-radius: 1rem;
  background: rgba(30, 27, 75, 0.60);
  padding: 0.68rem 0.78rem;
  color: #fff;
  box-shadow: 0 12px 28px rgba(12, 7, 40, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hm-benefit-icon {
  display: grid;
  flex: 0 0 2.45rem;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 1px solid rgba(196, 181, 253, 0.34);
  border-radius: 0.88rem;
  background:
        radial-gradient(circle at 50% 24%, rgba(196, 181, 253, 0.20), transparent 1.45rem),
        rgba(18, 13, 51, 0.54);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 8px 18px rgba(10, 6, 35, 0.26);
}

.hm-benefit-icon img {
  width: 1.65rem;
  height: 1.65rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-benefit-icon .hm-benefit-icon--wide {
  width: 1.9rem;
  height: 1.55rem;
}

.hm-benefit-icon .hm-benefit-icon--small {
  width: 1.32rem;
  height: 1.32rem;
}

.hm-benefit-card--premium {
  background: rgba(50, 38, 104, 0.68);
}

.hm-benefit-card--featured {
  border-color: rgba(196, 181, 253, 0.74);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.34), rgba(30, 27, 75, 0.68));
  box-shadow: 0 18px 42px rgba(139, 92, 246, 0.22);
}

.hm-benefit-card h3 {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 900;
}

.hm-benefit-card p {
  margin: 0.12rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.73rem;
  line-height: 1.3;
}

.hm-benefit-card:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 181, 253, 0.86);
  background: rgba(69, 49, 130, 0.72);
  box-shadow: 0 18px 46px rgba(139, 92, 246, 0.28);
}

.hm-register-footer {
  opacity: 0.94;
  transform: translateY(18%);
}

.hm-launch-page {
  background:
        radial-gradient(circle at 50% 38%, rgba(139, 92, 246, 0.28), transparent 24rem),
        radial-gradient(circle at 72% 20%, rgba(59, 130, 246, 0.16), transparent 18rem),
        linear-gradient(180deg, #1a0842 0%, #210755 48%, #070219 100%);
  isolation: isolate;
}

.hm-launch-page::before,
.hm-launch-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hm-launch-page::before {
  background-image: url("../images/stars2-d08978f0599b5376bb179666296538fc.png");
  background-position: center top;
  background-size: min(1024px, 120vw);
  opacity: 0.62;
}

.hm-launch-page::after {
  background:
        radial-gradient(circle, rgba(255,255,255,0.96) 0 1px, transparent 2px) 12% 26% / 180px 180px,
        radial-gradient(circle, rgba(196,181,253,0.82) 0 1px, transparent 2px) 78% 36% / 220px 220px,
        radial-gradient(circle, rgba(147,197,253,0.68) 0 1px, transparent 2px) 44% 78% / 260px 260px;
  opacity: 0.32;
  animation: hm-star-twinkle 5s ease-in-out infinite alternate;
}

.hm-launch-card {
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(196, 181, 253, 0.08),
        0 26px 74px rgba(13, 6, 45, 0.48);
}

.hm-launch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
        radial-gradient(circle at 50% 33%, rgba(139, 92, 246, 0.26), transparent 14rem),
        linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.06) 50%, transparent 74%);
  pointer-events: none;
}

.hm-launch-logo,
.hm-launch-stage,
.hm-launch-card > p,
.hm-launch-card > h1,
.hm-launch-card > .hm-launch-progress,
.hm-launch-footer {
  position: relative;
  z-index: 1;
}

.hm-launch-orbit {
  box-shadow:
        0 0 28px rgba(139, 92, 246, 0.26),
        inset 0 0 20px rgba(196, 181, 253, 0.12);
}

.hm-launch-flame {
  opacity: 0.88;
  transform-origin: top center;
  will-change: transform, opacity;
}

.hm-launch-cloud {
  position: absolute;
  bottom: 1.5rem;
  width: 8rem;
  height: 2.5rem;
  border-radius: 999px;
  background:
        radial-gradient(circle at 20% 60%, rgba(255,255,255,0.70) 0 1.15rem, transparent 1.2rem),
        radial-gradient(circle at 48% 45%, rgba(196,181,253,0.74) 0 1.35rem, transparent 1.4rem),
        radial-gradient(circle at 76% 62%, rgba(147,197,253,0.58) 0 1rem, transparent 1.05rem);
  filter: blur(0.5px);
  opacity: 0.58;
  will-change: transform, opacity;
}

.hm-launch-cloud--left {
  left: 16%;
}

.hm-launch-cloud--right {
  right: 14%;
}

.hm-launch-progress-bar {
  transform-origin: left center;
}

.hm-launch-logo,
.hm-launch-rocket-wrap,
.hm-launch-moon,
.hm-launch-planet,
.hm-launch-footer {
  will-change: transform;
}

.hm-launch-footer {
  opacity: 0.86;
  transform: translateY(26%);
}

.hm-sidebar-mini,
.hm-sidebar-panel,
.hm-sidebar-mobile {
  background:
        radial-gradient(circle at 50% 6%, rgba(139, 92, 246, 0.22), transparent 10rem),
        rgba(20, 15, 52, 0.88) !important;
  border-color: rgba(139, 92, 246, 0.34) !important;
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 24px 58px rgba(7, 2, 24, 0.34);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hm-sidebar-mini {
  width: 4.75rem;
}

.hm-sidebar-tab {
  position: relative;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  overflow: hidden;
}

.hm-sidebar-tab::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 20%, rgba(196, 181, 253, 0.22), transparent 2rem);
  opacity: 0;
  transition: opacity 180ms ease;
}

.hm-sidebar-tab:hover::before,
.hm-sidebar-tab--active::before {
  opacity: 1;
}

.hm-sidebar-tab-icon {
  position: relative;
  z-index: 1;
  width: 1.55rem;
  height: 1.55rem;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.32));
}

.hm-sidebar-panel a,
.hm-sidebar-panel button {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hm-sidebar-panel a:hover,
.hm-sidebar-panel button:hover {
  transform: translateX(2px);
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.18);
}

.hm-site-footer-panel {
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 44px rgba(7, 2, 24, 0.30);
}

.hm-me-page {
  min-height: calc(100vh - 4rem);
  isolation: isolate;
}

.hm-me-page::before,
.hm-me-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.hm-me-page::before {
  background:
        radial-gradient(circle at 48% 18%, rgba(139, 92, 246, 0.22), transparent 28rem),
        radial-gradient(circle at 84% 62%, rgba(56, 189, 248, 0.13), transparent 22rem);
}

.hm-me-page::after {
  background:
        radial-gradient(circle, rgba(255,255,255,0.94) 0 1px, transparent 2px) 8% 20% / 180px 180px,
        radial-gradient(circle, rgba(196,181,253,0.72) 0 1px, transparent 2px) 72% 28% / 220px 220px,
        radial-gradient(circle, rgba(147,197,253,0.62) 0 1px, transparent 2px) 44% 76% / 260px 260px;
  opacity: 0.26;
  animation: hm-star-twinkle 6s ease-in-out infinite alternate;
}

.hm-me-stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hm-me-stars--near {
  background:
        radial-gradient(circle, rgba(255,255,255,0.92) 0 2px, transparent 3px) 18% 28% / 260px 240px,
        radial-gradient(circle, rgba(255,255,255,0.8) 0 1px, transparent 3px) 82% 76% / 310px 280px;
  opacity: 0.26;
  animation: hm-star-drift 20s linear infinite;
}

.hm-me-stars--far {
  background:
        radial-gradient(circle, rgba(196,181,253,0.72) 0 1px, transparent 2px) 22% 18% / 320px 300px,
        radial-gradient(circle, rgba(191,219,254,0.62) 0 1px, transparent 2px) 62% 58% / 380px 350px;
  opacity: 0.2;
  animation: hm-star-drift 32s linear infinite reverse;
}

.hm-me-topbar {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) auto;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hm-site-topbar {
  position: relative;
  z-index: 30;
}

.hm-me-search,
.hm-me-shortcut,
.hm-me-panel {
  border: 1px solid rgba(139, 92, 246, 0.42);
  background: rgba(29, 22, 69, 0.72);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 20px 48px rgba(7, 2, 24, 0.28);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hm-me-search {
  display: flex;
  align-items: center;
  min-height: 3.7rem;
  gap: 0.8rem;
  border-radius: 1.4rem;
  padding: 0 1rem;
}

.hm-me-search img {
  width: 1.55rem;
  height: 1.55rem;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0.78;
}

.hm-me-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-weight: 800;
}

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

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

.hm-me-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(7.25rem, auto));
  gap: 0.75rem;
}

.hm-me-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.7rem;
  gap: 0.65rem;
  border-radius: 1.25rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hm-me-shortcut:nth-child(1) {
  border-color: rgba(168, 85, 247, 0.52);
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.68), rgba(49, 46, 129, 0.62));
}

.hm-me-shortcut:nth-child(2) {
  border-color: rgba(236, 72, 153, 0.42);
  background: linear-gradient(135deg, rgba(157, 23, 77, 0.55), rgba(49, 46, 129, 0.62));
}

.hm-me-shortcut:nth-child(3) {
  border-color: rgba(250, 204, 21, 0.42);
  background: linear-gradient(135deg, rgba(133, 77, 14, 0.52), rgba(49, 46, 129, 0.62));
}

.hm-me-shortcut img {
  width: 1.55rem;
  height: 1.55rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-me-shortcut--hotel {
  min-width: 12rem;
  border-color: rgba(196, 181, 253, 0.72);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.96), rgba(109, 73, 219, 0.94));
  box-shadow: 0 0 34px rgba(139, 92, 246, 0.34);
}

.hm-me-shortcut.is-active {
  border-color: rgba(221, 214, 254, 0.92);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 0 26px rgba(139, 92, 246, 0.32);
}

.hm-me-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  gap: 1.25rem;
}

.hm-me-main {
  min-width: 0;
}

.hm-me-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.62fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.hm-me-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.55rem;
}

.hm-me-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
        radial-gradient(circle at 70% 18%, rgba(139, 92, 246, 0.17), transparent 12rem),
        linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.04) 48%, transparent 72%);
  pointer-events: none;
}

.hm-me-section-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.05rem 1.2rem 0;
}

.hm-me-section-heading--between {
  justify-content: space-between;
  padding-bottom: 1rem;
}

.hm-me-section-heading--between span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.hm-me-section-heading img {
  width: 1.8rem;
  height: 1.8rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-me-section-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
}

.hm-me-section-heading a {
  border: 1px solid rgba(196, 181, 253, 0.42);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hm-me-profile-card {
  min-height: 18rem;
}

.hm-me-profile-banner {
  position: relative;
  min-height: 14.5rem;
  margin: 1rem;
  overflow: hidden;
  border: 1px solid rgba(196, 181, 253, 0.34);
  border-radius: 1.45rem;
}

.hm-me-profile-bg,
.hm-me-featured-article > img,
.hm-me-small-article > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.hm-me-profile-bg {
  opacity: 0.76;
}

.hm-me-profile-banner::after,
.hm-me-featured-article::after,
.hm-me-small-article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 2, 28, 0.92), rgba(7, 2, 28, 0.48) 62%, rgba(7, 2, 28, 0.72));
}

.hm-me-profile-shine {
  position: absolute;
  inset: -30% auto -30% -40%;
  z-index: 1;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(12deg);
}

.hm-me-avatar-stage {
  position: absolute;
  right: 1.1rem;
  bottom: 0.75rem;
  z-index: 2;
  display: grid;
  width: 8.8rem;
  height: 9.3rem;
  place-items: end center;
  overflow: hidden;
  border: 1px solid rgba(196, 181, 253, 0.34);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.26), rgba(56, 189, 248, 0.08));
}

.hm-me-avatar {
  width: 9.5rem;
  transform: translateY(0.5rem);
}

.hm-me-profile-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 28rem);
  padding: 1.4rem;
}

.hm-me-kicker {
  display: inline-flex;
  margin: 0 0 0.85rem;
  border: 1px solid rgba(196, 181, 253, 0.42);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.14);
  padding: 0.42rem 0.8rem;
  color: rgba(196, 181, 253, 0.92);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hm-me-profile-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 950;
  line-height: 0.95;
}

.hm-me-profile-copy p {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.hm-me-profile-copy span {
  display: inline-flex;
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  font-weight: 800;
}

.hm-me-wallet {
  min-height: 18rem;
}

.hm-me-wallet-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.15rem 1.2rem;
}

.hm-me-currency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.05rem;
  padding: 0.8rem 0.9rem;
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 12px 26px rgba(7, 2, 24, 0.18);
}

.hm-me-currency--moon {
  border-color: rgba(248, 113, 113, 0.56);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.88), rgba(185, 28, 28, 0.76));
}

.hm-me-currency--diamond {
  border-color: rgba(96, 165, 250, 0.58);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.90), rgba(37, 99, 235, 0.78));
}

.hm-me-currency--season {
  border-color: rgba(250, 204, 21, 0.60);
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.94), rgba(202, 138, 4, 0.82));
}

.hm-me-currency span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(7, 2, 24, 0.28);
}

.hm-me-currency img {
  width: 1.75rem;
  height: 1.75rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-me-currency strong {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 950;
  text-shadow: 0 2px 8px rgba(7, 2, 24, 0.32);
}

.hm-me-news {
  padding-bottom: 1.1rem;
}

.hm-me-featured-article {
  position: relative;
  min-height: 22rem;
  margin: 0 1.1rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(196, 181, 253, 0.34);
  border-radius: 1.5rem;
}

.hm-me-featured-article::after {
  background: linear-gradient(180deg, rgba(7, 2, 28, 0.02), rgba(7, 2, 28, 0.88));
}

.hm-me-article-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 76% 20%, rgba(139, 92, 246, 0.24), transparent 16rem);
}

.hm-me-featured-copy {
  position: absolute;
  inset: auto 1.4rem 1.35rem 1.4rem;
  z-index: 2;
}

.hm-me-featured-copy h3 {
  margin: 0;
  max-width: 42rem;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  font-weight: 950;
  line-height: 1.02;
}

.hm-me-featured-copy a,
.hm-me-mission a {
  display: inline-flex;
  margin-top: 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c5cf4, #8b5cf6);
  padding: 0.7rem 1.15rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  box-shadow: 0 0 26px rgba(139, 92, 246, 0.34);
}

.hm-me-mission a {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.92), rgba(139, 92, 246, 0.92));
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.24);
}

.hm-me-small-articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 1.1rem;
}

.hm-me-small-article {
  position: relative;
  min-height: 13.2rem;
  overflow: hidden;
  border: 1px solid rgba(196, 181, 253, 0.34);
  border-radius: 1.25rem;
  background: rgba(29, 22, 69, 0.72);
}

.hm-me-small-article span {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 10%, rgba(7, 2, 28, 0.92));
}

.hm-me-small-article h3 {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 1.14;
}

.hm-me-dock {
  display: grid;
  align-content: start;
  gap: 1.25rem;
}

.hm-me-mission,
.hm-me-topics,
.hm-me-social {
  padding-bottom: 1.15rem;
}

.hm-me-mission {
  min-height: 13rem;
}

.hm-me-mission p {
  position: relative;
  z-index: 2;
  max-width: 12rem;
  margin: 0.9rem 1.2rem 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
  line-height: 1.35;
}

.hm-me-cosmo {
  position: absolute;
  right: -0.8rem;
  bottom: -0.4rem;
  z-index: 1;
  width: 9.8rem;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.34));
}

.hm-me-mission a {
  position: relative;
  z-index: 2;
  margin-left: 1.2rem;
}

.hm-me-topic-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.1rem 0;
}

.hm-me-topic-card {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.72rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hm-me-topic-card > img {
  width: 3.2rem;
  height: 3.2rem;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.75rem;
}

.hm-me-topic-card strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.15;
}

.hm-me-topic-card small {
  display: block;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.52);
  font-weight: 800;
}

.hm-me-social-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1rem 1.1rem 0;
}

.hm-me-social-grid a {
  display: grid;
  min-height: 4.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 12px 26px rgba(7, 2, 24, 0.18);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hm-me-social-grid a:nth-child(1) {
  border-color: rgba(129, 140, 248, 0.62);
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.95), rgba(67, 56, 202, 0.82));
}

.hm-me-social-grid a:nth-child(2) {
  border-color: rgba(96, 165, 250, 0.62);
  background: linear-gradient(135deg, rgba(29, 161, 242, 0.95), rgba(37, 99, 235, 0.82));
}

.hm-me-social-grid a:nth-child(3) {
  border-color: rgba(244, 114, 182, 0.62);
  background: linear-gradient(135deg, rgba(193, 53, 132, 0.95), rgba(157, 23, 77, 0.82));
}

.hm-me-social-grid img {
  width: 2.2rem;
  height: 2.2rem;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(7, 2, 24, 0.32));
}

.hm-me-shortcut:hover,
.hm-me-topic-card:hover,
.hm-me-social-grid a:hover,
.hm-me-featured-copy a:hover,
.hm-me-mission a:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 181, 253, 0.72);
}

.hm-me-empty-card {
  border: 1px dashed rgba(196, 181, 253, 0.34);
  border-radius: 1rem;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.hm-me-footer-visual {
  pointer-events: none;
  position: fixed;
  right: 0;
  bottom: -3.8rem;
  left: 0;
  z-index: -1;
  width: 100%;
  opacity: 0.72;
}

.hm-profile-page {
  min-height: calc(100vh - 4rem);
  isolation: isolate;
}

.hm-profile-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 1.55rem;
  background: rgba(29, 22, 69, 0.76);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 20px 48px rgba(7, 2, 24, 0.28);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hm-profile-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
        radial-gradient(circle at 78% 14%, rgba(139, 92, 246, 0.17), transparent 14rem),
        linear-gradient(120deg, transparent 16%, rgba(255, 255, 255, 0.035) 48%, transparent 76%);
  pointer-events: none;
}

.hm-profile-hero {
  min-height: 22rem;
  margin-bottom: 1.25rem;
}

.hm-profile-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.74;
}

.hm-profile-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
        linear-gradient(90deg, rgba(7, 2, 28, 0.96) 4%, rgba(7, 2, 28, 0.72) 52%, rgba(7, 2, 28, 0.18)),
        linear-gradient(0deg, rgba(7, 2, 28, 0.56), transparent 48%);
}

.hm-profile-hero-shine {
  position: absolute;
  inset: -35% auto -35% -38%;
  z-index: 1;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(12deg);
}

.hm-profile-identity {
  position: relative;
  z-index: 3;
  width: min(58%, 42rem);
  padding: 3.1rem;
}

.hm-profile-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hm-profile-status span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: 0 0 12px rgba(148, 163, 184, 0.5);
}

.hm-profile-status.is-online {
  color: #86efac;
}

.hm-profile-status.is-online span {
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.78);
}

.hm-profile-identity h1 {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 950;
  line-height: 0.92;
}

.hm-profile-motto {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  font-weight: 850;
}

.hm-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  font-weight: 800;
}

.hm-profile-meta span,
.hm-profile-currency span,
.hm-profile-stat-list span,
.hm-profile-heading-between small,
.hm-profile-list-item small {
  white-space: normal;
}

.hm-profile-edit {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  border: 1px solid rgba(196, 181, 253, 0.52);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.24);
  padding: 0.65rem 1rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.hm-profile-edit img {
  width: 1.35rem;
  height: 1.35rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-profile-avatar-orbit {
  position: absolute;
  right: 4.5rem;
  bottom: -11rem;
  z-index: 1;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(196, 181, 253, 0.35);
  border-radius: 50%;
  box-shadow:
        inset 0 0 54px rgba(139, 92, 246, 0.14),
        0 0 44px rgba(56, 189, 248, 0.12);
}

.hm-profile-avatar-stage {
  position: absolute;
  right: 7.5rem;
  bottom: 0;
  z-index: 3;
  display: grid;
  width: 18rem;
  height: 21rem;
  place-items: end center;
}

.hm-profile-avatar {
  width: 17rem;
  max-height: 21rem;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: bottom;
     object-position: bottom;
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.42));
}

.hm-profile-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.9fr) minmax(14rem, 0.52fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.hm-profile-wallet-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 1rem 1.15rem 1.2rem;
}

.hm-profile-currency {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  padding: 0.7rem 0.85rem;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hm-profile-currency img {
  width: 1.75rem;
  height: 1.75rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-profile-currency span {
  min-width: 0;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-profile-currency strong {
  font-size: 1rem;
  font-weight: 950;
}

.hm-profile-currency--moon {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(185, 28, 28, 0.76));
}

.hm-profile-currency--diamond {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(37, 99, 235, 0.76));
}

.hm-profile-currency--season {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.94), rgba(202, 138, 4, 0.8));
}

.hm-profile-currency--credits {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(5, 150, 105, 0.78));
}

.hm-profile-currency--duckets {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(126, 34, 206, 0.78));
}

.hm-profile-currency--badges {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.9), rgba(190, 24, 93, 0.78));
}

.hm-profile-heading-between {
  justify-content: space-between;
}

.hm-profile-heading-between > span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.hm-profile-heading-between small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hm-profile-badge-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(2.8rem, 1fr));
  gap: 0.6rem;
  padding: 1rem 1.15rem 1.2rem;
}

.hm-profile-badge {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(196, 181, 253, 0.22);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
}

.hm-profile-badge img {
  width: 2.6rem;
  height: 2.6rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-profile-stat-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.15rem 1.2rem;
}

.hm-profile-stat-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.055);
  padding: 0.8rem;
}

.hm-profile-stat-list strong {
  color: #c4b5fd;
  font-size: 1.4rem;
  font-weight: 950;
}

.hm-profile-stat-list span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
  font-weight: 850;
  text-align: right;
}

.hm-profile-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 23rem);
  gap: 1.25rem;
}

.hm-profile-creations {
  padding-bottom: 1.15rem;
}

.hm-profile-art-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 1.15rem 0;
}

.hm-profile-art-card {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  border: 1px solid rgba(196, 181, 253, 0.26);
  border-radius: 1.2rem;
  background: rgba(7, 2, 28, 0.46);
}

.hm-profile-art-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.hm-profile-art-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 22%, rgba(7, 2, 28, 0.94));
}

.hm-profile-art-card div {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
}

.hm-profile-art-card span,
.hm-profile-list-item small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 800;
}

.hm-profile-art-card h3 {
  margin: 0.25rem 0 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 950;
}

.hm-profile-dock {
  display: grid;
  align-content: start;
  gap: 1.25rem;
}

.hm-profile-rooms,
.hm-profile-topics {
  padding-bottom: 1.1rem;
}

.hm-profile-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.1rem 0;
}

.hm-profile-list-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-height: 4.25rem;
  border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.055);
  padding: 0.6rem;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hm-profile-list-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(56, 189, 248, 0.12));
}

.hm-profile-list-icon img {
  width: 2rem;
  height: 2rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-profile-list-item strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-profile-list-item small {
  display: block;
  margin-top: 0.25rem;
}

.hm-profile-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(196, 181, 253, 0.3);
  border-radius: 1rem;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  font-weight: 800;
}

.hm-profile-hero,
.hm-profile-panel,
.hm-profile-avatar-stage,
.hm-profile-badge,
.hm-profile-art-card,
.hm-profile-list-item {
  will-change: transform;
}

.hm-news-page,
.hm-article-page {
  min-height: calc(100vh - 4rem);
  isolation: isolate;
}

.hm-news-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 1.4rem;
  background: rgba(29, 22, 69, 0.76);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 20px 48px rgba(7, 2, 24, 0.28);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hm-news-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin: 0.5rem 0 1.25rem;
  padding: 1rem 0.25rem;
}

.hm-news-heading h1 {
  max-width: 54rem;
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 950;
  line-height: 0.94;
}

.hm-news-heading > div > p:last-child {
  max-width: 46rem;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  font-weight: 750;
}

.hm-news-count {
  display: grid;
  grid-template-columns: 3rem auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 0.7rem;
  min-width: 10rem;
  border: 1px solid rgba(196, 181, 253, 0.34);
  border-radius: 1.15rem;
  background: rgba(139, 92, 246, 0.12);
  padding: 0.8rem 1rem;
}

.hm-news-count img {
  grid-row: 1 / 3;
  width: 2.6rem;
  height: 2.6rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-news-count strong {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
}

.hm-news-count span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: normal;
}

.hm-news-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 1.3rem;
  background: rgba(29, 22, 69, 0.72);
  padding: 0.6rem;
  box-shadow: 0 18px 42px rgba(7, 2, 24, 0.22);
}

.hm-news-search > img {
  width: 1.6rem;
  height: 1.6rem;
  margin-left: 0.6rem;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0.7;
}

.hm-news-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-weight: 850;
}

.hm-news-search input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.hm-news-search input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.hm-news-search a,
.hm-news-search button {
  border-radius: 0.9rem;
  padding: 0.7rem 1rem;
  font-size: 0.76rem;
  font-weight: 900;
}

.hm-news-search a {
  color: rgba(255, 255, 255, 0.58);
}

.hm-news-search button {
  border: 1px solid rgba(196, 181, 253, 0.45);
  background: linear-gradient(135deg, #7c5cf4, #8b5cf6);
  color: #fff;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.24);
}

.hm-news-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.hm-news-featured {
  min-height: 31rem;
  margin-bottom: 1.25rem;
}

.hm-news-featured-overlay,
.hm-article-hero-overlay {
  position: absolute;
  inset: 0;
  background:
        linear-gradient(90deg, rgba(7, 2, 28, 0.95) 2%, rgba(7, 2, 28, 0.64) 52%, rgba(7, 2, 28, 0.18)),
        linear-gradient(0deg, rgba(7, 2, 28, 0.72), transparent 54%);
}

.hm-news-scan {
  position: absolute;
  inset: -35% auto -35% -35%;
  z-index: 1;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  transform: rotate(12deg);
}

.hm-news-featured-copy {
  position: absolute;
  right: 3rem;
  bottom: 2.6rem;
  left: 3rem;
  z-index: 2;
  max-width: 54rem;
}

.hm-news-featured-copy h2,
.hm-article-hero-copy h1 {
  max-width: 52rem;
  margin: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  font-weight: 950;
  line-height: 0.96;
}

.hm-news-featured-copy > p:not(.hm-me-kicker) {
  max-width: 43rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.55;
}

.hm-news-featured-copy > a,
.hm-news-empty a {
  display: inline-flex;
  margin-top: 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c5cf4, #8b5cf6);
  padding: 0.75rem 1.15rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.34);
}

.hm-news-id {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 2, 28, 0.5);
  padding: 0.45rem 0.75rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hm-news-priority,
.hm-article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hm-news-priority {
  margin-bottom: 1.25rem;
}

.hm-news-priority-card {
  min-height: 16rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.hm-news-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 2, 28, 0.04), rgba(7, 2, 28, 0.94));
}

.hm-news-priority-card > div {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  left: 1.1rem;
  z-index: 1;
}

.hm-news-priority-card small,
.hm-news-archive-card small {
  color: rgba(196, 181, 253, 0.78);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hm-news-priority-card h2 {
  margin: 0.35rem 0 0.65rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1.06;
}

.hm-news-priority-card > div > span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  font-weight: 850;
}

.hm-news-archive {
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 1.5rem;
  background: rgba(29, 22, 69, 0.52);
  padding-bottom: 1.15rem;
}

.hm-news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 1.15rem 0;
}

.hm-news-archive-card {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  min-height: 8rem;
}

.hm-news-archive-card > img {
  position: relative;
}

.hm-news-archive-card > div {
  min-width: 0;
  padding: 1rem;
}

.hm-news-archive-card h3 {
  margin: 0.3rem 0 0;
  overflow: hidden;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 950;
  line-height: 1.15;
  text-overflow: ellipsis;
}

.hm-news-archive-card p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.hm-news-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.hm-news-pagination a {
  display: grid;
  min-width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 0.8rem;
  background: rgba(29, 22, 69, 0.72);
  color: rgba(255, 255, 255, 0.68);
  font-weight: 900;
}

.hm-news-pagination a.is-active {
  border-color: rgba(196, 181, 253, 0.8);
  background: #7c5cf4;
  color: #fff;
}

.hm-news-empty {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) minmax(0, 38rem);
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  min-height: 27rem;
  padding: 2rem;
}

.hm-news-empty > img {
  width: 100%;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.36));
}

.hm-news-empty h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 950;
  line-height: 1;
}

.hm-news-empty div > p:not(.hm-me-kicker) {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 750;
}

.hm-article-back {
  display: inline-flex;
  margin: 0.3rem 0 1rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 900;
}

.hm-article-hero {
  min-height: 25rem;
  margin-bottom: 1.25rem;
}

.hm-article-hero-copy {
  position: absolute;
  right: 2.5rem;
  bottom: 2.25rem;
  left: 2.5rem;
  z-index: 2;
}

.hm-article-hero-copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin-top: 1rem;
}

.hm-article-hero-copy > div span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 850;
  white-space: normal;
}

.hm-article-hero-copy > div img {
  width: 1.35rem;
  height: 1.35rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 25rem);
  align-items: start;
  gap: 1.25rem;
}

.hm-article-reader {
  padding: clamp(1.25rem, 4vw, 3.5rem);
}

.hm-article-reader-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.hm-article-reader-heading span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.46));
}

.hm-article-reader-heading span:last-child {
  background: linear-gradient(90deg, rgba(196, 181, 253, 0.46), transparent);
}

.hm-article-reader-heading p {
  margin: 0;
  color: rgba(196, 181, 253, 0.72);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hm-article-prose {
  max-width: 50rem;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.82;
}

.hm-article-prose > *:first-child {
  margin-top: 0;
}

.hm-article-prose h1,
.hm-article-prose h2,
.hm-article-prose h3,
.hm-article-prose h4 {
  margin: 2rem 0 0.75rem;
  color: #fff;
  font-weight: 950;
  line-height: 1.12;
}

.hm-article-prose h2 {
  font-size: 1.8rem;
}

.hm-article-prose h3 {
  font-size: 1.4rem;
}

.hm-article-prose p {
  margin: 0 0 1.25rem;
}

.hm-article-prose a {
  color: #c4b5fd;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.hm-article-prose ul,
.hm-article-prose ol {
  margin: 1rem 0 1.4rem;
  padding-left: 1.4rem;
}

.hm-article-prose ul {
  list-style: square;
}

.hm-article-prose ol {
  list-style: decimal;
}

.hm-article-prose li {
  margin: 0.4rem 0;
}

.hm-article-prose blockquote {
  margin: 1.5rem 0;
  border-left: 3px solid #8b5cf6;
  border-radius: 0 1rem 1rem 0;
  background: rgba(139, 92, 246, 0.11);
  padding: 1rem 1.2rem;
  color: rgba(255, 255, 255, 0.72);
}

.hm-article-prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border: 1px solid rgba(196, 181, 253, 0.28);
  border-radius: 1rem;
}

.hm-article-prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.hm-article-prose th,
.hm-article-prose td {
  border: 1px solid rgba(196, 181, 253, 0.2);
  padding: 0.7rem;
}

.hm-article-reader-end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(196, 181, 253, 0.18);
  padding-top: 1.4rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hm-article-reader-end img {
  width: 1.5rem;
  height: 1.5rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-article-community {
  display: grid;
  gap: 1.25rem;
}

.hm-article-comments,
.hm-article-reply {
  padding-bottom: 1.1rem;
}

.hm-article-comment-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  max-height: 32rem;
  overflow-y: auto;
  padding: 1rem 1.1rem 0;
}

.hm-article-comment {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
}

.hm-article-comment-avatar {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(196, 181, 253, 0.3);
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.34), rgba(56, 189, 248, 0.12));
}

.hm-article-comment-avatar img {
  width: 3.4rem;
  height: 3.4rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-article-comment > div {
  min-width: 0;
  border: 1px solid rgba(196, 181, 253, 0.16);
  border-radius: 0.25rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.055);
  padding: 0.75rem 0.85rem;
}

.hm-article-comment header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.hm-article-comment strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 950;
  text-overflow: ellipsis;
}

.hm-article-comment time {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.62rem;
  font-weight: 800;
}

.hm-article-comment p {
  margin: 0.45rem 0 0;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.hm-article-comment-empty {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(196, 181, 253, 0.28);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
}

.hm-article-comment-empty img {
  width: 2.5rem;
}

.hm-article-comment-empty p {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 750;
}

.hm-article-comment-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.1rem 0;
}

.hm-article-comment-form > label {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  font-weight: 900;
}

.hm-article-comment-form ul {
  margin: 0;
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 800;
}

.hm-article-textarea-wrap {
  position: relative;
}

.hm-article-textarea {
  display: block;
  width: 100%;
  min-height: 8rem;
  resize: vertical;
  border: 1px solid rgba(139, 92, 246, 0.46);
  border-radius: 1rem;
  outline: 0;
  background: rgba(7, 2, 28, 0.38);
  padding: 0.85rem 0.85rem 1.7rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.hm-article-textarea:focus {
  border-color: rgba(196, 181, 253, 0.8);
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.18);
}

.hm-article-textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.hm-article-textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.hm-article-textarea-wrap > span {
  position: absolute;
  right: 0.7rem;
  bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.65rem;
  font-weight: 800;
}

.hm-article-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  border: 1px solid rgba(196, 181, 253, 0.55);
  border-radius: 1rem;
  background: linear-gradient(135deg, #7c5cf4, #8b5cf6);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.26);
}

.hm-article-submit img {
  width: 1.6rem;
  height: 1.6rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-article-related {
  margin-top: 1.25rem;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 1.5rem;
  background: rgba(29, 22, 69, 0.4);
  padding-bottom: 1.15rem;
}

.hm-article-related-grid {
  padding: 1rem 1.15rem 0;
}

.hm-news-featured,
.hm-news-priority-card,
.hm-news-archive-card,
.hm-news-empty,
.hm-article-hero,
.hm-article-reader,
.hm-article-comments,
.hm-article-reply,
.hm-article-comment,
.hm-article-submit {
  will-change: transform;
}

@media (max-width: 1180px) {
  .hm-news-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-article-layout {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 21rem);
  }
}

@media (max-width: 900px) {
  .hm-news-priority,
    .hm-article-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-news-priority-card:last-child:nth-child(odd),
    .hm-article-related-grid .hm-news-priority-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .hm-article-layout {
    grid-template-columns: 1fr;
  }

  .hm-article-community {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-article-comment-list {
    max-height: none;
  }
}

@media (max-width: 640px) {
  .hm-news-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .hm-news-heading h1 {
    font-size: 2.5rem;
  }

  .hm-news-count {
    width: 100%;
  }

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

  .hm-news-search a,
    .hm-news-search button {
    grid-column: span 1;
    text-align: center;
  }

  .hm-news-featured {
    min-height: 29rem;
  }

  .hm-news-featured-overlay,
    .hm-article-hero-overlay {
    background: linear-gradient(180deg, rgba(7, 2, 28, 0.2), rgba(7, 2, 28, 0.94) 68%);
  }

  .hm-news-featured-copy,
    .hm-article-hero-copy {
    right: 1.2rem;
    bottom: 1.3rem;
    left: 1.2rem;
  }

  .hm-news-featured-copy h2,
    .hm-article-hero-copy h1 {
    font-size: 2.25rem;
  }

  .hm-news-priority,
    .hm-news-archive-grid,
    .hm-article-community,
    .hm-article-related-grid {
    grid-template-columns: 1fr;
  }

  .hm-news-priority-card:last-child:nth-child(odd),
    .hm-article-related-grid .hm-news-priority-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .hm-news-archive-card {
    grid-template-columns: 6.5rem minmax(0, 1fr);
  }

  .hm-news-empty {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .hm-news-empty > img {
    width: 11rem;
    margin-inline: auto;
  }

  .hm-article-hero {
    min-height: 24rem;
  }

  .hm-article-reader {
    padding: 1.3rem;
  }

  .hm-article-reader-heading {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hm-article-reader-heading span {
    display: none;
  }

  .hm-article-prose {
    font-size: 0.94rem;
    line-height: 1.7;
  }
}

.hm-team-page {
  min-height: calc(100vh - 4rem);
  isolation: isolate;
}

.hm-team-hero,
.hm-team-section,
.hm-team-member-card {
  border: 1px solid rgba(139, 92, 246, 0.4);
  background: rgba(29, 22, 69, 0.74);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 20px 48px rgba(7, 2, 24, 0.28);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hm-team-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem);
  min-height: 21rem;
  overflow: hidden;
  border-radius: 1.6rem;
  background:
        radial-gradient(circle at 78% 38%, rgba(139, 92, 246, 0.32), transparent 18rem),
        linear-gradient(120deg, rgba(29, 22, 69, 0.94), rgba(45, 22, 94, 0.74));
}

.hm-team-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
        radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px) 10% 20% / 180px 170px,
        radial-gradient(circle, rgba(196, 181, 253, 0.58) 0 1px, transparent 2px) 62% 72% / 230px 220px;
  opacity: 0.24;
  pointer-events: none;
}

.hm-team-hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 53rem;
  padding: 2.1rem 2.3rem 5.4rem;
}

.hm-team-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 4.1vw, 3.75rem);
  font-weight: 950;
  line-height: 0.96;
}

.hm-team-hero-copy > p:not(.hm-me-kicker) {
  max-width: 44rem;
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.55;
}

.hm-team-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 1rem;
  border: 1px solid rgba(196, 181, 253, 0.3);
  border-radius: 1rem;
  background: rgba(7, 2, 28, 0.28);
  padding: 0.35rem;
}

.hm-team-switcher a {
  border-radius: 0.72rem;
  padding: 0.52rem 0.78rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.7rem;
  font-weight: 900;
  text-align: center;
}

.hm-team-switcher a.is-active {
  background: linear-gradient(135deg, #7c5cf4, #8b5cf6);
  color: #fff;
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.26);
}

.hm-team-hero-visual {
  position: relative;
  z-index: 2;
  min-height: 17rem;
}

.hm-team-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16rem;
  height: 16rem;
  border: 1px solid rgba(196, 181, 253, 0.38);
  border-radius: 50%;
  box-shadow:
        inset 0 0 50px rgba(139, 92, 246, 0.16),
        0 0 40px rgba(56, 189, 248, 0.12);
  transform: translate(-50%, -50%);
}

.hm-team-orbit::before,
.hm-team-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hm-team-orbit::before {
  top: 8%;
  left: 13%;
  width: 0.75rem;
  height: 0.75rem;
  background: #c4b5fd;
  box-shadow: 0 0 14px rgba(196, 181, 253, 0.86);
}

.hm-team-orbit::after {
  right: 5%;
  bottom: 18%;
  width: 0.45rem;
  height: 0.45rem;
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

.hm-team-astronaut {
  position: absolute;
  right: 1.5rem;
  bottom: 1.15rem;
  z-index: 2;
  width: min(16rem, 88%);
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.42));
}

.hm-team-emblem {
  position: absolute;
  top: 1.3rem;
  left: 0;
  z-index: 3;
  width: 3.6rem;
  filter: drop-shadow(0 10px 15px rgba(7, 2, 24, 0.48));
}

.hm-team-stats {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hm-team-stats div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  border: 1px solid rgba(196, 181, 253, 0.22);
  border-radius: 1rem;
  background: rgba(7, 2, 28, 0.5);
  padding: 0.55rem 0.75rem;
}

.hm-team-stats strong {
  color: #c4b5fd;
  font-size: 1.1rem;
  font-weight: 950;
}

.hm-team-stats span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.64rem;
  font-weight: 850;
  white-space: normal;
}

.hm-team-sections {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.hm-team-section {
  position: relative;
  overflow: hidden;
  border-radius: 1.55rem;
  padding-bottom: 1rem;
}

.hm-team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
        radial-gradient(circle at 82% 10%, rgba(139, 92, 246, 0.16), transparent 16rem),
        linear-gradient(120deg, transparent 22%, rgba(255, 255, 255, 0.035) 50%, transparent 76%);
  pointer-events: none;
}

.hm-team-section-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.05rem 1.1rem 0.8rem;
}

.hm-team-section-heading p {
  margin: 0 0 0.35rem;
  color: #a78bfa;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hm-team-section-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 950;
  line-height: 1;
}

.hm-team-section-heading > div:first-child > span {
  display: block;
  max-width: 46rem;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.45;
  white-space: normal;
}

.hm-team-role-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.hm-team-role-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid color-mix(in srgb, var(--hm-role-accent) 54%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--hm-role-accent) 13%, rgba(7, 2, 28, 0.5));
  padding: 0.3rem 0.55rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.61rem;
  font-weight: 900;
}

.hm-team-role-chips img {
  width: 1.05rem;
  height: 1.05rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-team-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 18rem));
  justify-content: start;
  gap: 0.8rem;
  padding: 0 1rem;
}

.hm-team-member-card {
  position: relative;
  display: flex;
  min-height: 15rem;
  flex-direction: column;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--hm-role-accent) 48%, transparent);
  border-radius: 1.15rem;
  padding: 0 0 0.8rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.hm-team-member-card--featured {
  min-height: 15.5rem;
  background:
        radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--hm-role-accent) 20%, transparent), transparent 9rem),
        rgba(29, 22, 69, 0.82);
}

.hm-team-member-card--premium {
  min-height: 15.25rem;
  background:
        linear-gradient(135deg, color-mix(in srgb, var(--hm-role-accent) 12%, rgba(29, 22, 69, 0.82)), rgba(29, 22, 69, 0.78));
}

.hm-team-card-space {
  position: absolute;
  inset: 0;
  background:
        radial-gradient(circle, rgba(255, 255, 255, 0.58) 0 1px, transparent 2px) 20% 20% / 120px 110px,
        linear-gradient(135deg, color-mix(in srgb, var(--hm-role-accent) 9%, transparent), transparent 58%);
  opacity: 0.34;
  pointer-events: none;
}

.hm-team-card-banner {
  position: relative;
  z-index: 1;
  width: calc(100% - 1rem);
  height: 6.15rem;
  flex: 0 0 auto;
  margin: 0.5rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--hm-role-accent) 32%, rgba(196, 181, 253, 0.16));
  border-radius: 0.85rem;
  background: #10072e;
}

.hm-team-card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
        linear-gradient(180deg, rgba(7, 2, 28, 0.04), rgba(7, 2, 28, 0.38)),
        radial-gradient(circle at 50% 115%, color-mix(in srgb, var(--hm-role-accent) 30%, transparent), transparent 60%);
  pointer-events: none;
}

.hm-team-card-banner-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.92;
  transition: opacity 260ms ease, transform 360ms ease;
}

.hm-team-role-marker {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: calc(100% - 0.9rem);
  border: 1px solid color-mix(in srgb, var(--hm-role-accent) 54%, transparent);
  border-radius: 999px;
  background: rgba(7, 2, 28, 0.72);
  padding: 0.25rem 0.5rem 0.25rem 0.3rem;
  box-shadow: 0 6px 16px rgba(7, 2, 24, 0.34);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

.hm-team-role-marker span {
  overflow: hidden;
  color: #fff;
  font-size: 0.56rem;
  font-weight: 950;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.hm-team-role-badge {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 5px 7px rgba(7, 2, 24, 0.48));
}

.hm-team-card-star {
  position: absolute;
  z-index: 2;
  width: 0.32rem;
  height: 0.32rem;
  background: #fff;
  box-shadow: 0 0 10px #fff, 0 0 18px var(--hm-role-accent);
  transform: rotate(45deg);
}

.hm-team-card-star--one {
  top: 1rem;
  right: 1.15rem;
}

.hm-team-card-star--two {
  right: 2.7rem;
  bottom: 1rem;
  width: 0.2rem;
  height: 0.2rem;
}

.hm-team-avatar-medallion {
  position: relative;
  z-index: 2;
  display: grid;
  width: 6.35rem;
  height: 6.35rem;
  flex: 0 0 auto;
  place-items: center;
  margin: -3.55rem auto 0;
  overflow: visible;
  border: 0.38rem solid rgba(32, 25, 80, 0.96);
  border-radius: 50%;
  background: linear-gradient(145deg, color-mix(in srgb, var(--hm-role-accent) 62%, #8b5cf6), #7c5cf4);
  box-shadow:
        0 0 0 1px color-mix(in srgb, var(--hm-role-accent) 58%, transparent),
        0 16px 28px rgba(7, 2, 24, 0.36),
        0 0 30px color-mix(in srgb, var(--hm-role-accent) 18%, transparent);
}

.hm-team-member-card--featured .hm-team-avatar-medallion {
  width: 6.8rem;
  height: 6.8rem;
}

.hm-team-avatar-clip {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border-radius: 50%;
}

.hm-team-avatar {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center bottom;
     object-position: center bottom;
}

.hm-team-online-status {
  position: absolute;
  top: -0.35rem;
  left: -0.3rem;
  z-index: 4;
  width: 1.55rem;
  height: 1.55rem;
  border: 0.25rem solid rgba(32, 25, 80, 0.98);
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.48);
}

.hm-team-online-status.is-online {
  background: #22c55e;
  box-shadow: 0 0 17px rgba(34, 197, 94, 0.72);
}

.hm-team-member-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  padding: 0.55rem 0.9rem 0;
  text-align: center;
}

.hm-team-member-copy p {
  margin: 0.32rem 0 0;
  color: var(--hm-role-accent);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hm-team-member-copy h3 {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
}

.hm-team-member-copy > span {
  display: -webkit-box;
  margin-top: 0.45rem;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.4;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.hm-team-member-copy small {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.6rem;
  color: color-mix(in srgb, var(--hm-role-accent) 72%, white);
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hm-team-member-copy small span {
  font-size: 0.82rem;
  transition: transform 180ms ease;
}

.hm-team-member-card:hover {
  border-color: color-mix(in srgb, var(--hm-role-accent) 76%, white 8%);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 20px 42px rgba(7, 2, 24, 0.4),
        0 0 30px color-mix(in srgb, var(--hm-role-accent) 16%, transparent);
}

.hm-team-member-card:hover .hm-team-member-copy small span {
  transform: translateX(0.2rem);
}

.hm-team-member-card:hover .hm-team-card-banner-image {
  opacity: 1;
  transform: scale(1.035);
}

.hm-team-member-card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--hm-role-accent) 78%, white);
  outline-offset: 3px;
}

.hm-team-empty {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0 1.3rem;
  border: 1px dashed rgba(196, 181, 253, 0.28);
  border-radius: 1rem;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
  font-weight: 800;
}

.hm-team-empty img {
  width: 2rem;
  height: 2rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-team-hero,
.hm-team-section,
.hm-team-member-card,
.hm-team-avatar-medallion,
.hm-team-role-badge,
.hm-team-astronaut,
.hm-team-emblem,
.hm-team-orbit {
  will-change: transform;
}

@media (max-width: 1180px) {
  .hm-team-grid {
    grid-template-columns: repeat(auto-fill, minmax(15rem, 18rem));
  }
}

@media (max-width: 900px) {
  .hm-team-hero {
    grid-template-columns: 1fr;
    min-height: 35rem;
  }

  .hm-team-hero-copy {
    padding: 2rem 2rem 0;
  }

  .hm-team-hero-visual {
    min-height: 17rem;
  }

  .hm-team-astronaut {
    right: 50%;
    transform: translateX(50%);
  }

  .hm-team-emblem {
    left: calc(50% - 9rem);
  }

  .hm-team-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hm-team-role-chips {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hm-team-hero {
    min-height: 38rem;
  }

  .hm-team-hero-copy {
    padding: 1.4rem 1.4rem 0;
  }

  .hm-team-hero-copy h1 {
    font-size: 2.2rem;
  }

  .hm-team-switcher {
    display: grid;
    width: 100%;
  }

  .hm-team-stats {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .hm-team-stats div {
    min-height: 2.6rem;
    padding: 0.45rem 0.75rem;
  }

  .hm-team-stats strong {
    font-size: 1.05rem;
  }

  .hm-team-hero-visual {
    min-height: 14.5rem;
  }

  .hm-team-orbit {
    width: 13.5rem;
    height: 13.5rem;
  }

  .hm-team-astronaut {
    width: 13.5rem;
  }

  .hm-team-emblem {
    left: 1rem;
    width: 3rem;
  }

  .hm-team-section-heading {
    padding: 1.2rem 1rem 0.9rem;
  }

  .hm-team-role-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hm-team-role-chips span {
    justify-content: flex-start;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hm-team-grid {
    grid-template-columns: 1fr;
    padding: 0 0.9rem;
  }

  .hm-team-member-card,
    .hm-team-member-card--featured {
    width: 100%;
    max-width: 20rem;
    min-height: 14.5rem;
    justify-self: center;
    padding: 0 0 0.75rem;
  }

  .hm-team-avatar-medallion,
    .hm-team-member-card--featured .hm-team-avatar-medallion {
    width: 5.8rem;
    height: 5.8rem;
    margin-top: -3.25rem;
    border-width: 0.32rem;
  }

  .hm-team-role-badge,
    .hm-team-member-card--featured .hm-team-role-badge {
    width: 1.6rem;
    height: 1.6rem;
  }

  .hm-team-member-copy {
    padding: 0.5rem 0.75rem 0;
  }

  .hm-team-member-copy h3 {
    font-size: 1.15rem;
  }

  .hm-team-online-status {
    width: 1.3rem;
    height: 1.3rem;
    border-width: 0.2rem;
  }
}

.hm-ranking-page {
  position: relative;
  min-height: calc(100vh - 4rem);
  isolation: isolate;
}

.hm-ranking-hero,
.hm-ranking-board,
.hm-ranking-journey {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.4);
  background: rgba(29, 22, 69, 0.78);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 20px 48px rgba(7, 2, 24, 0.3);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hm-ranking-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 22rem);
  min-height: 18rem;
  border-radius: 1.5rem;
  background:
        radial-gradient(circle at 82% 45%, rgba(139, 92, 246, 0.32), transparent 15rem),
        linear-gradient(120deg, rgba(29, 22, 69, 0.95), rgba(48, 24, 99, 0.74));
}

.hm-ranking-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
        radial-gradient(circle, rgba(255, 255, 255, 0.76) 0 1px, transparent 2px) 12% 23% / 170px 150px,
        radial-gradient(circle, rgba(196, 181, 253, 0.68) 0 1px, transparent 2px) 70% 75% / 220px 210px;
  opacity: 0.28;
  pointer-events: none;
}

.hm-ranking-hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 2.2rem 2.4rem;
}

.hm-ranking-hero-copy h1 {
  max-width: 55rem;
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  font-weight: 950;
  line-height: 0.96;
}

.hm-ranking-hero-copy > p:not(.hm-me-kicker) {
  max-width: 47rem;
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.55;
}

.hm-ranking-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.hm-ranking-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  border: 1px solid rgba(196, 181, 253, 0.26);
  border-radius: 0.8rem;
  background: rgba(7, 2, 28, 0.34);
  padding: 0.45rem 0.75rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.7rem;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hm-ranking-tabs a.is-active {
  border-color: rgba(196, 181, 253, 0.7);
  background: linear-gradient(135deg, #7654ec, #8b5cf6);
  color: #fff;
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.25);
}

.hm-ranking-tabs img {
  width: 1.3rem;
  height: 1.3rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-ranking-hero-visual {
  position: relative;
  z-index: 1;
  min-height: 18rem;
}

.hm-ranking-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14rem;
  height: 14rem;
  border: 1px solid rgba(196, 181, 253, 0.38);
  border-radius: 50%;
  box-shadow: inset 0 0 50px rgba(139, 92, 246, 0.16), 0 0 36px rgba(56, 189, 248, 0.12);
  translate: -50% -50%;
}

.hm-ranking-orbit::before,
.hm-ranking-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hm-ranking-orbit::before {
  top: 12%;
  left: 10%;
  width: 0.65rem;
  height: 0.65rem;
  background: #c4b5fd;
  box-shadow: 0 0 14px #c4b5fd;
}

.hm-ranking-orbit::after {
  right: 8%;
  bottom: 18%;
  width: 0.4rem;
  height: 0.4rem;
  background: #38bdf8;
  box-shadow: 0 0 12px #38bdf8;
}

.hm-ranking-hero-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(11rem, 72%);
  max-height: 11rem;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(7, 2, 24, 0.5));
  translate: -50% -50%;
}

.hm-ranking-meteor {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  width: 2.2rem;
  filter: drop-shadow(0 8px 12px rgba(7, 2, 24, 0.48));
  transform: rotate(28deg);
}

.hm-ranking-layout {
  margin-top: 1.1rem;
}

.hm-ranking-layout--journey {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(19rem, 0.88fr);
  align-items: start;
  gap: 1rem;
}

.hm-ranking-boards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  align-items: start;
  gap: 1rem;
}

.hm-ranking-layout--journey .hm-ranking-boards {
  grid-template-columns: 1fr;
}

.hm-ranking-board {
  border-color: color-mix(in srgb, var(--hm-ranking-accent) 38%, rgba(139, 92, 246, 0.3));
  border-radius: 1.35rem;
  background:
        radial-gradient(circle at 50% 25%, color-mix(in srgb, var(--hm-ranking-accent) 13%, transparent), transparent 15rem),
        rgba(29, 22, 69, 0.8);
  padding: 1rem;
}

.hm-ranking-board-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid color-mix(in srgb, var(--hm-ranking-accent) 42%, transparent);
  padding: 0 0 0.8rem;
}

.hm-ranking-board-icon {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--hm-ranking-accent) 48%, transparent);
  border-radius: 0.8rem;
  background: color-mix(in srgb, var(--hm-ranking-accent) 14%, rgba(7, 2, 28, 0.5));
}

.hm-ranking-board-icon img {
  width: 2rem;
  height: 2rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-ranking-board-heading p {
  margin: 0;
  color: var(--hm-ranking-accent);
  font-size: 0.57rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hm-ranking-board-heading h2 {
  margin: 0.12rem 0 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 950;
  line-height: 1;
}

.hm-ranking-board-heading > div > span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
  font-weight: 750;
}

.hm-ranking-podium {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 0.5rem;
  min-height: 15.5rem;
  padding: 1.1rem 0 0;
}

.hm-ranking-podium::before {
  content: "";
  position: absolute;
  inset: 20% 5% 8%;
  z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--hm-ranking-accent) 18%, transparent), transparent 68%);
  filter: blur(8px);
}

.hm-ranking-winner {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hm-ranking-winner--place-1 {
  z-index: 3;
}

.hm-ranking-position {
  position: absolute;
  top: -0.2rem;
  left: calc(50% - 2.65rem);
  z-index: 4;
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border: 0.2rem solid #201950;
  border-radius: 50%;
  background: #a78bfa;
  color: #fff;
  font-size: 0.67rem;
  font-weight: 950;
}

.hm-ranking-winner--place-1 .hm-ranking-position {
  background: #fbbf24;
  color: #241405;
}

.hm-ranking-winner--place-2 .hm-ranking-position {
  background: #cbd5e1;
  color: #172033;
}

.hm-ranking-winner--place-3 .hm-ranking-position {
  background: #d97706;
}

.hm-ranking-avatar {
  display: grid;
  width: 5rem;
  height: 5rem;
  place-items: end center;
  overflow: hidden;
  border: 0.32rem solid rgba(32, 25, 80, 0.98);
  border-radius: 50%;
  background: linear-gradient(145deg, color-mix(in srgb, var(--hm-ranking-accent) 62%, #8b5cf6), #6d4adb);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--hm-ranking-accent) 56%, transparent), 0 15px 24px rgba(7, 2, 24, 0.4);
}

.hm-ranking-winner--place-1 .hm-ranking-avatar {
  width: 6rem;
  height: 6rem;
  box-shadow: 0 0 0 1px #fbbf24, 0 18px 28px rgba(7, 2, 24, 0.45), 0 0 30px rgba(251, 191, 36, 0.16);
}

.hm-ranking-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center bottom;
     object-position: center bottom;
}

.hm-ranking-winner strong {
  width: 100%;
  margin-top: 0.45rem;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-ranking-winner--place-1 strong {
  font-size: 0.92rem;
}

.hm-ranking-score {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.32rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.65rem;
  font-weight: 900;
}

.hm-ranking-score img {
  width: 1.15rem;
  height: 1.15rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-ranking-step {
  width: 100%;
  height: 3.5rem;
  margin-top: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--hm-ranking-accent) 36%, transparent);
  border-bottom: 0;
  border-radius: 0.75rem 0.75rem 0 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--hm-ranking-accent) 25%, rgba(255, 255, 255, 0.05)), rgba(7, 2, 28, 0.46));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hm-ranking-winner--place-1 .hm-ranking-step {
  height: 5rem;
}

.hm-ranking-winner--place-2 .hm-ranking-step {
  height: 3.8rem;
}

.hm-ranking-winner--place-3 .hm-ranking-step {
  height: 3rem;
}

.hm-ranking-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.45rem;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
}

.hm-ranking-list a {
  display: grid;
  grid-template-columns: 1.7rem 2.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  border: 1px solid rgba(196, 181, 253, 0.16);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.045);
  padding: 0.35rem 0.55rem;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hm-ranking-list-position {
  color: var(--hm-ranking-accent);
  font-size: 0.72rem;
  font-weight: 950;
  text-align: center;
}

.hm-ranking-list-avatar {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  overflow: hidden;
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--hm-ranking-accent) 16%, rgba(7, 2, 28, 0.6));
}

.hm-ranking-list-avatar img {
  width: 3rem;
  height: 3rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-ranking-list strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-ranking-list-score {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.68rem;
  font-weight: 900;
}

.hm-ranking-list-score img {
  width: 1.25rem;
  height: 1.25rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-ranking-empty {
  border: 1px dashed rgba(196, 181, 253, 0.28);
  border-radius: 0.8rem;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}

.hm-ranking-journey {
  border-color: color-mix(in srgb, var(--hm-ranking-accent) 44%, rgba(139, 92, 246, 0.3));
  border-radius: 1.35rem;
  background:
        radial-gradient(circle at 85% 18%, rgba(139, 92, 246, 0.24), transparent 13rem),
        rgba(29, 22, 69, 0.82);
  padding: 1.25rem 1.25rem 1.25rem 3.8rem;
}

.hm-ranking-journey-route {
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  left: 1.45rem;
  width: 1rem;
}

.hm-ranking-journey-route span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px dashed rgba(196, 181, 253, 0.42);
}

.hm-ranking-journey-route span::before,
.hm-ranking-journey-route span::after {
  content: "";
  position: absolute;
  left: -0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 12px #8b5cf6;
}

.hm-ranking-journey-route span::before {
  top: 0;
}

.hm-ranking-journey-route span::after {
  bottom: 0;
}

.hm-ranking-journey-rocket {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: 2.5rem;
  max-width: none;
  filter: drop-shadow(0 8px 10px rgba(7, 2, 24, 0.48));
  transform: translateX(-50%);
}

.hm-ranking-journey-copy {
  position: relative;
  z-index: 1;
}

.hm-ranking-journey-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  font-weight: 950;
  line-height: 1.03;
}

.hm-ranking-journey-copy > p:last-child {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.6;
}

.hm-ranking-leader {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 3.8rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
  border: 1px solid rgba(251, 191, 36, 0.42);
  border-radius: 0.95rem;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.14), rgba(139, 92, 246, 0.12));
  padding: 0.55rem 0.7rem;
}

.hm-ranking-leader-avatar {
  display: grid;
  width: 3.8rem;
  height: 3.8rem;
  place-items: end center;
  overflow: hidden;
  border: 0.25rem solid #201950;
  border-radius: 50%;
  background: linear-gradient(145deg, #fbbf24, #8b5cf6);
}

.hm-ranking-leader-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center bottom;
     object-position: center bottom;
}

.hm-ranking-leader small,
.hm-ranking-leader strong {
  display: block;
}

.hm-ranking-leader small {
  color: #fbbf24;
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hm-ranking-leader strong {
  margin-top: 0.18rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
}

.hm-ranking-leader b {
  color: #fff;
  font-size: 0.72rem;
  white-space: nowrap;
}

.hm-ranking-progress-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.hm-ranking-progress-item > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.hm-ranking-progress-item strong,
.hm-ranking-progress-item span {
  font-size: 0.65rem;
  font-weight: 850;
}

.hm-ranking-progress-item strong {
  color: rgba(255, 255, 255, 0.78);
}

.hm-ranking-progress-item > div > span {
  color: rgba(255, 255, 255, 0.44);
}

.hm-ranking-progress-track {
  display: block;
  height: 0.55rem;
  overflow: hidden;
  border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: 999px;
  background: rgba(7, 2, 28, 0.5);
}

.hm-ranking-progress-track i {
  display: block;
  width: var(--hm-progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6d4adb, var(--hm-ranking-accent));
  box-shadow: 0 0 14px color-mix(in srgb, var(--hm-ranking-accent) 48%, transparent);
  transform-origin: left center;
}

.hm-ranking-journey-note {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.15rem;
  border: 1px solid rgba(196, 181, 253, 0.2);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.045);
  padding: 0.75rem;
}

.hm-ranking-journey-note img {
  width: 2.5rem;
  height: 2.5rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-ranking-journey-note strong,
.hm-ranking-journey-note span {
  display: block;
}

.hm-ranking-journey-note strong {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
}

.hm-ranking-journey-note span {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.65rem;
  font-weight: 750;
  line-height: 1.45;
}

.hm-ranking-hero,
.hm-ranking-board,
.hm-ranking-journey,
.hm-ranking-winner,
.hm-ranking-hero-icon,
.hm-ranking-orbit,
.hm-ranking-journey-rocket {
  will-change: transform;
}

@media (max-width: 1100px) {
  .hm-ranking-layout--journey {
    grid-template-columns: 1fr;
  }

  .hm-ranking-journey {
    min-height: auto;
  }
}

@media (max-width: 800px) {
  .hm-ranking-hero {
    grid-template-columns: 1fr;
  }

  .hm-ranking-hero-copy {
    padding-bottom: 0;
  }

  .hm-ranking-hero-visual {
    min-height: 13rem;
  }

  .hm-ranking-orbit {
    width: 11rem;
    height: 11rem;
  }

  .hm-ranking-hero-icon {
    width: 8rem;
    max-height: 8rem;
  }
}

@media (max-width: 640px) {
  .hm-ranking-hero-copy {
    padding: 1.4rem 1.25rem 0;
  }

  .hm-ranking-hero-copy h1 {
    font-size: 2.25rem;
  }

  .hm-ranking-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .hm-ranking-tabs a {
    justify-content: center;
    min-width: 0;
    padding-inline: 0.35rem;
    font-size: 0.62rem;
  }

  .hm-ranking-boards {
    grid-template-columns: 1fr;
  }

  .hm-ranking-board {
    padding: 0.8rem;
  }

  .hm-ranking-podium {
    gap: 0.3rem;
    min-height: 14rem;
  }

  .hm-ranking-avatar {
    width: 4.25rem;
    height: 4.25rem;
  }

  .hm-ranking-winner--place-1 .hm-ranking-avatar {
    width: 5rem;
    height: 5rem;
  }

  .hm-ranking-position {
    left: calc(50% - 2.2rem);
  }

  .hm-ranking-winner strong,
    .hm-ranking-winner--place-1 strong {
    font-size: 0.68rem;
  }

  .hm-ranking-score {
    font-size: 0.56rem;
  }

  .hm-ranking-list a {
    grid-template-columns: 1.5rem 2.3rem minmax(0, 1fr);
  }

  .hm-ranking-list-score {
    grid-column: 3;
    justify-self: start;
    margin-top: -0.35rem;
  }

  .hm-ranking-journey {
    padding: 1rem 1rem 1rem 3.2rem;
  }

  .hm-ranking-journey-route {
    left: 1.15rem;
  }

  .hm-ranking-leader {
    grid-template-columns: 3.4rem minmax(0, 1fr);
  }

  .hm-ranking-leader-avatar {
    width: 3.4rem;
    height: 3.4rem;
  }

  .hm-ranking-leader b {
    grid-column: 2;
  }
}

.hm-economy-page {
  position: relative;
  min-height: calc(100vh - 4rem);
  isolation: isolate;
}

.hm-economy-hero,
.hm-economy-toolbar,
.hm-economy-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.4);
  background: rgba(29, 22, 69, 0.78);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 20px 48px rgba(7, 2, 24, 0.3);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hm-economy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
  min-height: 20rem;
  border-radius: 1.5rem;
  background:
        radial-gradient(circle at 83% 44%, rgba(56, 189, 248, 0.18), transparent 13rem),
        radial-gradient(circle at 73% 30%, rgba(139, 92, 246, 0.3), transparent 19rem),
        linear-gradient(120deg, rgba(29, 22, 69, 0.96), rgba(45, 22, 94, 0.76));
}

.hm-economy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
        radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px) 10% 20% / 175px 155px,
        radial-gradient(circle, rgba(196, 181, 253, 0.58) 0 1px, transparent 2px) 68% 72% / 220px 210px;
  opacity: 0.26;
  pointer-events: none;
}

.hm-economy-hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 2.2rem 2.4rem;
}

.hm-economy-hero-copy h1 {
  max-width: 58rem;
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 4.6vw, 4.25rem);
  font-weight: 950;
  line-height: 0.95;
}

.hm-economy-hero-copy > p:not(.hm-me-kicker) {
  max-width: 49rem;
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.55;
}

.hm-economy-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.hm-economy-stats div {
  min-width: 0;
  border: 1px solid rgba(196, 181, 253, 0.2);
  border-radius: 0.85rem;
  background: rgba(7, 2, 28, 0.4);
  padding: 0.65rem 0.75rem;
}

.hm-economy-stats strong,
.hm-economy-stats span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-economy-stats strong {
  color: #c4b5fd;
  font-size: 1.05rem;
  font-weight: 950;
  white-space: nowrap;
}

.hm-economy-stats span {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.47);
  font-size: 0.59rem;
  font-weight: 850;
  line-height: 1.3;
  white-space: normal;
}

.hm-economy-hero-visual {
  position: relative;
  z-index: 1;
  min-height: 20rem;
}

.hm-economy-orbit,
.hm-economy-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  translate: -50% -50%;
}

.hm-economy-orbit {
  width: 15rem;
  height: 15rem;
  border: 1px solid rgba(196, 181, 253, 0.34);
  box-shadow: inset 0 0 55px rgba(139, 92, 246, 0.14), 0 0 42px rgba(56, 189, 248, 0.1);
}

.hm-economy-orbit::before,
.hm-economy-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hm-economy-orbit::before {
  top: 10%;
  left: 12%;
  width: 0.7rem;
  height: 0.7rem;
  background: #c4b5fd;
  box-shadow: 0 0 14px #c4b5fd;
}

.hm-economy-orbit::after {
  right: 7%;
  bottom: 20%;
  width: 0.45rem;
  height: 0.45rem;
  background: #38bdf8;
  box-shadow: 0 0 12px #38bdf8;
}

.hm-economy-glow {
  width: 10rem;
  height: 10rem;
  background: rgba(139, 92, 246, 0.24);
  filter: blur(35px);
}

.hm-economy-chest {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: min(12rem, 72%);
  max-height: 12rem;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 22px 25px rgba(7, 2, 24, 0.5));
  translate: -50% -50%;
}

.hm-economy-diamond,
.hm-economy-meteor {
  position: absolute;
  z-index: 3;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(7, 2, 24, 0.46));
}

.hm-economy-diamond--one {
  top: 20%;
  right: 15%;
  width: 2.1rem;
}

.hm-economy-diamond--two {
  bottom: 19%;
  left: 15%;
  width: 1.45rem;
}

.hm-economy-meteor {
  top: 1.2rem;
  right: 1.3rem;
  width: 2rem;
  transform: rotate(28deg);
}

.hm-economy-toolbar {
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  border-radius: 1.1rem;
  padding: 0.75rem;
}

.hm-economy-categories {
  display: flex;
  min-width: 0;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.hm-economy-categories::-webkit-scrollbar {
  display: none;
}

.hm-economy-category {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.45rem;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--hm-category-accent) 34%, rgba(196, 181, 253, 0.14));
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--hm-category-accent) 7%, rgba(7, 2, 28, 0.34));
  padding: 0.45rem 0.7rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.65rem;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.hm-economy-category span {
  display: grid;
  min-width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.56rem;
}

.hm-economy-category.is-active {
  border-color: color-mix(in srgb, var(--hm-category-accent) 78%, white 8%);
  background: color-mix(in srgb, var(--hm-category-accent) 30%, rgba(29, 22, 69, 0.9));
  color: #fff;
  box-shadow: 0 0 20px color-mix(in srgb, var(--hm-category-accent) 16%, transparent);
}

.hm-economy-controls {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(9rem, 13rem) auto;
  align-items: center;
  gap: 0.45rem;
}

.hm-economy-search,
.hm-economy-sort {
  display: flex;
  align-items: center;
  min-height: 2.65rem;
  border: 1px solid rgba(196, 181, 253, 0.24);
  border-radius: 0.78rem;
  background: rgba(7, 2, 28, 0.38);
}

.hm-economy-search {
  gap: 0.45rem;
  padding: 0 0.7rem;
}

.hm-economy-search img {
  width: 1.25rem;
  height: 1.25rem;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0.66;
}

.hm-economy-search input,
.hm-economy-sort select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.hm-economy-search input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.hm-economy-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.hm-economy-sort {
  padding: 0 0.65rem;
}

.hm-economy-sort select {
  cursor: pointer;
}

.hm-economy-sort option {
  background: #1d1645;
}

.hm-economy-submit {
  min-height: 2.65rem;
  border: 1px solid rgba(196, 181, 253, 0.54);
  border-radius: 0.78rem;
  background: linear-gradient(135deg, #7654ec, #8b5cf6);
  padding: 0 0.85rem;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 950;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.hm-economy-results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0.2rem 0.85rem;
}

.hm-economy-results-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
}

.hm-economy-results-heading a {
  color: #c4b5fd;
  font-size: 0.66rem;
  font-weight: 900;
}

.hm-economy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr));
  gap: 0.85rem;
}

.hm-economy-card {
  min-width: 0;
  border-color: color-mix(in srgb, var(--hm-category-accent) 40%, rgba(139, 92, 246, 0.28));
  border-radius: 1.15rem;
  background:
        radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--hm-category-accent) 15%, transparent), transparent 9rem),
        rgba(29, 22, 69, 0.82);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.hm-economy-card-open {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 20rem;
  flex-direction: column;
  border: 0;
  background: transparent;
  padding: 0.7rem;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.hm-economy-card-space {
  position: absolute;
  inset: 0;
  background:
        radial-gradient(circle, rgba(255, 255, 255, 0.6) 0 1px, transparent 2px) 20% 20% / 125px 115px,
        linear-gradient(145deg, color-mix(in srgb, var(--hm-category-accent) 7%, transparent), transparent 58%);
  opacity: 0.38;
  pointer-events: none;
}

.hm-economy-card-topline,
.hm-economy-card-copy,
.hm-economy-card-metrics,
.hm-economy-card-action {
  position: relative;
  z-index: 2;
}

.hm-economy-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.hm-economy-card-category {
  display: inline-flex;
  width: -moz-fit-content;
  width: fit-content;
  border: 1px solid color-mix(in srgb, var(--hm-category-accent) 56%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--hm-category-accent) 16%, rgba(7, 2, 28, 0.5));
  padding: 0.28rem 0.55rem;
  color: color-mix(in srgb, var(--hm-category-accent) 74%, white);
  font-size: 0.55rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-economy-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  padding: 0.25rem 0.48rem;
  font-size: 0.55rem;
  font-weight: 900;
}

.hm-economy-trend b {
  font-size: 0.78rem;
  line-height: 1;
}

.hm-economy-trend.is-up {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
}

.hm-economy-trend.is-down {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}

.hm-economy-trend.is-stable {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

.hm-economy-item-stage {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 8.5rem;
  place-items: center;
  margin-top: 0.35rem;
}

.hm-economy-item-orbit {
  position: absolute;
  width: 7.3rem;
  height: 7.3rem;
  border: 1px solid color-mix(in srgb, var(--hm-category-accent) 36%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--hm-category-accent) 8%, rgba(7, 2, 28, 0.32));
  box-shadow: inset 0 0 32px color-mix(in srgb, var(--hm-category-accent) 11%, transparent), 0 0 26px color-mix(in srgb, var(--hm-category-accent) 9%, transparent);
}

.hm-economy-item {
  position: relative;
  z-index: 2;
  width: 5rem;
  height: 5rem;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 15px 14px rgba(7, 2, 24, 0.5));
}

.hm-economy-card-copy {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.7rem;
}

.hm-economy-card-copy > strong {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.1;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hm-economy-price {
  display: grid;
  grid-template-columns: 1.25rem auto;
  grid-template-rows: auto auto;
  align-items: center;
  flex: 0 0 auto;
  color: #fff;
}

.hm-economy-price img {
  grid-row: 1 / 3;
  width: 1.1rem;
  height: 1.1rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-economy-price b {
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1;
}

.hm-economy-price small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.48rem;
  font-weight: 800;
}

.hm-economy-card-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.hm-economy-card-metrics > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  border: 1px solid rgba(196, 181, 253, 0.15);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.42rem 0.5rem;
}

.hm-economy-card-metrics small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.52rem;
  font-weight: 800;
}

.hm-economy-card-metrics strong {
  color: #fff;
  font-size: 0.65rem;
  font-weight: 950;
}

.hm-economy-rarity-track {
  position: relative;
  z-index: 2;
  display: block;
  height: 0.42rem;
  margin-top: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7, 2, 28, 0.54);
}

.hm-economy-rarity-track i {
  display: block;
  width: var(--hm-rarity);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6d4adb, var(--hm-category-accent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--hm-category-accent) 44%, transparent);
  transform-origin: left center;
}

.hm-economy-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.7rem;
  color: color-mix(in srgb, var(--hm-category-accent) 68%, white);
  font-size: 0.57rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hm-economy-card-action b {
  font-size: 0.9rem;
  transition: transform 180ms ease;
}

.hm-economy-card:hover {
  border-color: color-mix(in srgb, var(--hm-category-accent) 76%, white 8%);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 20px 42px rgba(7, 2, 24, 0.42),
        0 0 28px color-mix(in srgb, var(--hm-category-accent) 14%, transparent);
}

.hm-economy-card:hover .hm-economy-card-action b {
  transform: translateX(0.2rem);
}

.hm-economy-card-open:focus-visible,
.hm-economy-category:focus-visible,
.hm-economy-submit:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--hm-category-accent, #8b5cf6) 72%, white);
  outline-offset: 3px;
}

.hm-economy-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.hm-economy-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.hm-economy-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 2, 20, 0.82);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.hm-economy-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(48rem, 100%);
  max-height: min(45rem, calc(100vh - 2rem));
  overflow: auto;
  border: 1px solid color-mix(in srgb, var(--hm-category-accent) 48%, rgba(196, 181, 253, 0.28));
  border-radius: 1.35rem;
  background:
        radial-gradient(circle at 18% 16%, color-mix(in srgb, var(--hm-category-accent) 18%, transparent), transparent 16rem),
        #1d1645;
  padding: 1.25rem;
  box-shadow: 0 28px 70px rgba(4, 1, 18, 0.7), 0 0 40px color-mix(in srgb, var(--hm-category-accent) 12%, transparent);
}

.hm-economy-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 5;
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid rgba(196, 181, 253, 0.3);
  border-radius: 50%;
  background: rgba(7, 2, 28, 0.56);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}

.hm-economy-modal-product {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
}

.hm-economy-modal-stage {
  position: relative;
  display: grid;
  min-height: 13rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--hm-category-accent) 34%, transparent);
  border-radius: 1rem;
  background: rgba(7, 2, 28, 0.36);
}

.hm-economy-modal-stage span {
  position: absolute;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--hm-category-accent) 25%, transparent);
  filter: blur(24px);
}

.hm-economy-modal-stage img {
  position: relative;
  z-index: 1;
  width: 7rem;
  height: 7rem;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(7, 2, 24, 0.52));
}

.hm-economy-modal-copy h2 {
  margin: 0.6rem 2.4rem 0 0;
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 950;
  line-height: 1;
}

.hm-economy-modal-copy > p {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 750;
}

.hm-economy-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.hm-economy-modal-badges > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  border: 1px solid rgba(196, 181, 253, 0.2);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.045);
  padding: 0.35rem 0.55rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.62rem;
  font-weight: 850;
}

.hm-economy-modal-badges img {
  width: 1.2rem;
  height: 1.2rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-economy-modal-divider {
  height: 1px;
  margin: 1.2rem 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--hm-category-accent) 54%, transparent), transparent);
}

.hm-economy-owners header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.hm-economy-owners h3 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 950;
}

.hm-economy-owners header > span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.62rem;
  font-weight: 850;
}

.hm-economy-owner-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  max-height: 21rem;
  margin-top: 0.8rem;
  overflow: auto;
  padding-right: 0.25rem;
}

.hm-economy-owner {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.7rem;
  border: 1px solid rgba(196, 181, 253, 0.16);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 0.55rem;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hm-economy-owner-avatar {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  overflow: hidden;
  border-radius: 0.7rem;
  background: color-mix(in srgb, var(--hm-category-accent) 16%, rgba(7, 2, 28, 0.5));
}

.hm-economy-owner-avatar img {
  width: 3.4rem;
  height: 3.4rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-economy-owner strong,
.hm-economy-owner small {
  display: block;
}

.hm-economy-owner strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-economy-owner small {
  margin-top: 0.18rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.56rem;
  font-weight: 750;
}

.hm-economy-owner > b {
  color: color-mix(in srgb, var(--hm-category-accent) 70%, white);
  font-size: 0.7rem;
}

.hm-economy-empty-owners,
.hm-economy-empty {
  border: 1px dashed rgba(196, 181, 253, 0.26);
  border-radius: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.hm-economy-empty-owners {
  margin-top: 0.8rem;
  padding: 1rem;
}

.hm-economy-empty {
  grid-column: 1 / -1;
  padding: 2rem;
}

.hm-economy-empty img {
  width: 6rem;
  margin-inline: auto;
}

.hm-economy-empty h2 {
  margin: 0.8rem 0 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 950;
}

.hm-economy-empty p {
  margin: 0.4rem 0 0;
}

.hm-economy-empty a {
  display: inline-flex;
  margin-top: 0.8rem;
  color: #c4b5fd;
  font-weight: 900;
}

.hm-economy-hero,
.hm-economy-card,
.hm-economy-item,
.hm-economy-item-orbit,
.hm-economy-chest,
.hm-economy-orbit,
.hm-economy-modal-dialog {
  will-change: transform;
}

@media (max-width: 1180px) {
  .hm-economy-toolbar {
    grid-template-columns: 1fr;
  }

  .hm-economy-controls {
    grid-template-columns: minmax(0, 1fr) minmax(10rem, 14rem) auto;
  }
}

@media (max-width: 800px) {
  .hm-economy-hero {
    grid-template-columns: 1fr;
  }

  .hm-economy-hero-copy {
    padding-bottom: 0;
  }

  .hm-economy-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-economy-hero-visual {
    min-height: 14rem;
  }

  .hm-economy-orbit {
    width: 11rem;
    height: 11rem;
  }

  .hm-economy-chest {
    width: 8.5rem;
  }

  .hm-economy-modal-product {
    grid-template-columns: 10rem minmax(0, 1fr);
  }

  .hm-economy-modal-stage {
    min-height: 10rem;
  }
}

@media (max-width: 640px) {
  .hm-economy-hero-copy {
    padding: 1.4rem 1.25rem 0;
  }

  .hm-economy-hero-copy h1 {
    font-size: 2.3rem;
  }

  .hm-economy-controls {
    grid-template-columns: 1fr;
  }

  .hm-economy-search,
    .hm-economy-sort,
    .hm-economy-submit {
    width: 100%;
  }

  .hm-economy-results-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hm-economy-grid {
    grid-template-columns: 1fr;
  }

  .hm-economy-card {
    width: 100%;
    max-width: 24rem;
    justify-self: center;
  }

  .hm-economy-card-open {
    min-height: 18.5rem;
  }

  .hm-economy-modal {
    align-items: end;
    padding: 0;
  }

  .hm-economy-modal-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 1.2rem 1.2rem 0 0;
    padding: 1rem;
  }

  .hm-economy-modal-product {
    grid-template-columns: 1fr;
  }

  .hm-economy-modal-stage {
    min-height: 8.5rem;
  }

  .hm-economy-modal-stage img {
    width: 5.5rem;
    height: 5.5rem;
  }

  .hm-economy-modal-copy h2 {
    font-size: 1.65rem;
  }

  .hm-economy-owner-list {
    grid-template-columns: 1fr;
  }
}

.hm-me-profile-card,
.hm-me-wallet,
.hm-me-news,
.hm-me-mission,
.hm-me-topics,
.hm-me-social,
.hm-me-shortcut,
.hm-me-search,
.hm-sidebar-mini,
.hm-sidebar-panel {
  will-change: transform;
}

.hm-register-logo,
.hm-register-moonlet,
.hm-register-astronaut,
.hm-register-badge,
.hm-register-orb,
.hm-submit-rocket {
  will-change: transform;
}

@keyframes hm-star-twinkle {
  from {
    opacity: 0.24;
    transform: scale(1);
  }

  to {
    opacity: 0.48;
    transform: scale(1.015);
  }
}

@keyframes hm-star-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-28px, 18px, 0);
  }
}

@media (max-width: 1023px) {
  .hm-login-logo img {
    position: static;
    transform: none;
    width: 13rem;
  }

  .hm-hotel-stage {
    min-height: 340px;
  }

  .hm-register-module {
    max-width: 36rem;
    margin-inline: auto;
  }

  .hm-register-form-panel {
    padding-bottom: 2.25rem;
  }

  .hm-me-topbar,
    .hm-me-grid,
    .hm-me-card-grid {
    grid-template-columns: 1fr;
  }

  .hm-me-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-me-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-me-social {
    grid-column: 1 / -1;
  }

  .hm-me-footer-visual {
    opacity: 0.48;
    transform: translateY(10%);
  }

  .hm-profile-summary-grid,
    .hm-profile-content-grid {
    grid-template-columns: 1fr;
  }

  .hm-profile-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-profile-stats {
    grid-column: 1 / -1;
  }

  .hm-profile-stat-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hm-profile-avatar-stage {
    right: 2rem;
  }

  .hm-profile-avatar-orbit {
    right: -1rem;
  }
}

@media (min-width: 1024px) {
  .hm-login-logo {
    flex: 0 0 17rem;
    min-height: 5.75rem;
  }

  .hm-login-logo img {
    top: calc(50% + 1rem);
  }
}

@media (max-width: 640px) {
  .hm-login-page {
    background:
            radial-gradient(circle at 50% 28%, rgba(139, 92, 246, 0.24), transparent 16rem),
            linear-gradient(180deg, #1a0842 0%, #210755 54%, #070219 100%);
  }

  .hm-login-shell {
    border-radius: 22px;
  }

  .hm-login-logo img {
    width: 12rem;
  }

  .hm-hero-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hm-hotel-stage {
    min-height: 270px;
  }

  .hm-login-footer {
    transform: translateY(38%);
    opacity: 0.68;
  }

  .hm-register-page {
    background:
            radial-gradient(circle at 50% 20%, rgba(139, 92, 246, 0.24), transparent 15rem),
            linear-gradient(180deg, #1a0842 0%, #210755 54%, #070219 100%);
  }

  .hm-register-module {
    border-radius: 1.5rem;
  }

  .hm-launch-card {
    border-radius: 1.5rem;
    padding-inline: 1.25rem;
  }

  .hm-register-logo {
    width: 9rem;
  }

  .hm-launch-stage {
    height: 14rem;
  }

  .hm-register-input {
    height: 2.8rem;
    font-size: 0.92rem;
  }

  .hm-register-footer {
    opacity: 0.66;
    transform: translateY(36%);
  }

  .hm-launch-footer {
    opacity: 0.66;
    transform: translateY(38%);
  }

  .hm-me-page {
    padding-bottom: 8rem;
  }

  .hm-me-shortcuts,
    .hm-me-small-articles,
    .hm-me-dock {
    grid-template-columns: 1fr;
  }

  .hm-me-search,
    .hm-me-shortcut {
    min-height: 3.25rem;
  }

  .hm-me-profile-banner {
    min-height: 24rem;
  }

  .hm-me-avatar-stage {
    right: 50%;
    bottom: 1rem;
    transform: translateX(50%);
  }

  .hm-me-profile-copy {
    width: 100%;
    padding: 1.1rem;
    text-align: center;
  }

  .hm-me-profile-copy h1 {
    font-size: 2.25rem;
  }

  .hm-me-featured-article {
    min-height: 19rem;
  }

  .hm-me-small-article {
    min-height: 11rem;
  }

  .hm-me-section-heading {
    align-items: flex-start;
  }

  .hm-me-section-heading--between {
    gap: 0.8rem;
  }

  .hm-me-footer-visual {
    opacity: 0.36;
    transform: translateY(20%);
  }

  .hm-me-topbar {
    gap: 0.75rem;
  }

  .hm-me-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-me-shortcut,
    .hm-me-shortcut--hotel {
    min-width: 0;
    min-height: 3.35rem;
    padding-inline: 0.55rem;
    font-size: 0.76rem;
  }

  .hm-profile-hero {
    min-height: 31rem;
  }

  .hm-profile-hero::after {
    background: linear-gradient(180deg, rgba(7, 2, 28, 0.9) 0%, rgba(7, 2, 28, 0.72) 58%, rgba(7, 2, 28, 0.38));
  }

  .hm-profile-identity {
    width: 100%;
    padding: 1.5rem;
  }

  .hm-profile-identity h1 {
    font-size: clamp(2.2rem, 13vw, 3.5rem);
  }

  .hm-profile-avatar-stage {
    right: 50%;
    width: 14rem;
    height: 16rem;
    transform: translateX(50%);
  }

  .hm-profile-avatar {
    width: 13rem;
    max-height: 16rem;
  }

  .hm-profile-avatar-orbit {
    right: 50%;
    bottom: -10rem;
    width: 24rem;
    height: 24rem;
    transform: translateX(50%);
  }

  .hm-profile-summary-grid,
    .hm-profile-wallet-grid,
    .hm-profile-art-grid,
    .hm-profile-stat-list {
    grid-template-columns: 1fr;
  }

  .hm-profile-stats {
    grid-column: auto;
  }

  .hm-profile-badge-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .hm-profile-badge img {
    width: 2.1rem;
    height: 2.1rem;
  }

  .hm-profile-art-card {
    min-height: 14rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-login-page::after,
    .hm-starry-layer--near,
    .hm-starry-layer--far {
    animation: none;
  }

  .hm-field-icon,
    .hm-button-planet,
    .hm-floating-moon,
    .hm-register-ship,
    .hm-hotel-satellite,
    .hm-hotel,
    .hm-register-logo,
    .hm-register-moonlet,
    .hm-register-astronaut,
    .hm-register-badge,
    .hm-register-orb,
    .hm-submit-rocket,
    .hm-launch-logo,
    .hm-launch-rocket-wrap,
    .hm-launch-moon,
    .hm-launch-planet,
    .hm-launch-footer,
    .hm-me-profile-card,
    .hm-me-wallet,
    .hm-me-news,
    .hm-me-mission,
    .hm-me-topics,
    .hm-me-social,
    .hm-me-shortcut,
    .hm-me-search,
    .hm-sidebar-mini,
    .hm-sidebar-panel {
    will-change: auto;
  }
}

.hm-roulette-machine {
  padding-bottom: clamp(16px, 3vw, 24px);
}

.hm-roulette-stage {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(18px, 4vw, 32px) clamp(14px, 3vw, 24px);
}

.hm-roulette-wheel {
  position: relative;
  width: min(380px, 84vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 12px solid rgba(139, 92, 246, 0.62);
  background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18) 0 8%, transparent 8.5%),
        radial-gradient(circle at 50% 50%, #241056 0 24%, transparent 24.5%),
        radial-gradient(circle at 50% 50%, transparent 0 61%, rgba(255, 255, 255, 0.18) 61.5% 63%, transparent 63.5%),
        conic-gradient(from -4deg, #166534 0 9.72deg, #111827 9.72deg 19.44deg, #b91c1c 19.44deg 29.16deg, #111827 29.16deg 38.88deg, #b91c1c 38.88deg 48.6deg, #111827 48.6deg 58.32deg, #b91c1c 58.32deg 68.04deg, #111827 68.04deg 77.76deg, #b91c1c 77.76deg 87.48deg, #111827 87.48deg 97.2deg, #b91c1c 97.2deg 106.92deg, #111827 106.92deg 116.64deg, #b91c1c 116.64deg 126.36deg, #111827 126.36deg 136.08deg, #b91c1c 136.08deg 145.8deg, #111827 145.8deg 155.52deg, #b91c1c 155.52deg 165.24deg, #111827 165.24deg 174.96deg, #b91c1c 174.96deg 184.68deg, #111827 184.68deg 194.4deg, #b91c1c 194.4deg 204.12deg, #111827 204.12deg 213.84deg, #b91c1c 213.84deg 223.56deg, #111827 223.56deg 233.28deg, #b91c1c 233.28deg 243deg, #111827 243deg 252.72deg, #b91c1c 252.72deg 262.44deg, #111827 262.44deg 272.16deg, #b91c1c 272.16deg 281.88deg, #111827 281.88deg 291.6deg, #b91c1c 291.6deg 301.32deg, #111827 301.32deg 311.04deg, #b91c1c 311.04deg 320.76deg, #111827 320.76deg 330.48deg, #b91c1c 330.48deg 340.2deg, #111827 340.2deg 349.92deg, #b91c1c 349.92deg 360deg);
  box-shadow:
        inset 0 0 0 10px rgba(37, 16, 83, 0.88),
        inset 0 0 0 32px rgba(2, 6, 23, 0.22),
        inset 0 0 56px rgba(255, 255, 255, 0.16),
        0 0 42px rgba(139, 92, 246, 0.32),
        0 24px 60px rgba(0, 0, 0, 0.42);
  transition: filter 180ms ease, transform 220ms ease;
}

.hm-roulette-wheel.is-spinning {
  filter: brightness(1.16);
}

.hm-roulette-wheel-track {
  position: absolute;
  inset: 6%;
  border-radius: inherit;
  animation-duration: 0.01ms;
}

.hm-roulette-wheel.is-spinning .hm-roulette-wheel-track {
  animation: hmRouletteSpin 1.05s linear infinite;
}

.hm-roulette-wheel-track > span {
  --angle: calc(var(--slot) * 9.729deg);
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 950;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
  transform: rotate(var(--angle)) translateY(-150px) rotate(calc(var(--angle) * -1)) translate(-50%, -50%);
}

.hm-roulette-ball {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  z-index: 4;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 28%, #fff, #f8fafc 46%, #94a3b8 100%);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.78), 0 5px 12px rgba(0, 0, 0, 0.36);
  transform: rotate(28deg) translateY(-124px) translate(-50%, -50%);
}

.hm-roulette-ball.is-spinning {
  animation: hmRouletteBall 0.48s linear infinite reverse;
}

.hm-roulette-wheel-center {
  position: relative;
  z-index: 3;
  width: 38%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.22), transparent 30%),
        linear-gradient(180deg, rgba(76, 29, 149, 0.96), rgba(15, 6, 42, 0.96));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), 0 0 28px rgba(139, 92, 246, 0.28);
}

.hm-roulette-wheel-center small {
  color: rgba(226, 232, 240, 0.74);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hm-roulette-wheel-center strong {
  color: #fff;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 950;
  line-height: 0.95;
}

.hm-roulette-wheel.is-red .hm-roulette-wheel-center {
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), 0 0 34px rgba(248, 113, 113, 0.38);
}

.hm-roulette-wheel.is-black .hm-roulette-wheel-center {
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), 0 0 34px rgba(148, 163, 184, 0.32);
}

.hm-roulette-wheel.is-green .hm-roulette-wheel-center {
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), 0 0 34px rgba(74, 222, 128, 0.38);
}

.hm-roulette-result {
  width: min(100%, 520px);
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(196, 181, 253, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  color: #f4f0ff;
  font-weight: 900;
  text-align: center;
}

.hm-roulette-result.is-win {
  color: #bbf7d0;
  border-color: rgba(74, 222, 128, 0.5);
}

.hm-roulette-result.is-loss {
  color: #fecdd3;
  border-color: rgba(251, 113, 133, 0.42);
}

.hm-roulette-result.is-error {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.46);
}

.hm-roulette-controls {
  margin: 0 clamp(14px, 3vw, 24px) 18px;
}

.hm-roulette-board {
  display: grid;
  gap: 10px;
  padding: 0 clamp(14px, 3vw, 24px);
}

.hm-roulette-number-grid {
  display: grid;
  grid-template-columns: 0.7fr repeat(12, minmax(38px, 1fr));
  grid-template-rows: repeat(3, minmax(42px, 1fr));
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(196, 181, 253, 0.28);
  border-radius: 8px;
  background:
        linear-gradient(180deg, rgba(46, 16, 101, 0.78), rgba(12, 4, 35, 0.92)),
        rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08);
}

.hm-roulette-cell,
.hm-roulette-chip {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  font-weight: 950;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 150ms ease, border-color 150ms ease, filter 150ms ease;
}

.hm-roulette-cell:hover,
.hm-roulette-chip:hover,
.hm-roulette-cell.is-selected,
.hm-roulette-chip.is-selected,
.hm-roulette-cell.is-hit {
  transform: translateY(-1px);
  border-color: rgba(196, 181, 253, 0.78);
  filter: brightness(1.16);
}

.hm-roulette-cell.is-hit {
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.18), 0 0 26px rgba(196, 181, 253, 0.58);
}

.hm-roulette-cell.is-red {
  background: linear-gradient(180deg, #ef4444, #991b1b);
}

.hm-roulette-cell.is-black {
  background: linear-gradient(180deg, #334155, #020617);
}

.hm-roulette-cell.is-zero {
  grid-row: 1 / span 3;
  background: linear-gradient(180deg, #22c55e, #166534);
}

.hm-roulette-outside-bets {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.hm-roulette-chip {
  background:
        linear-gradient(180deg, rgba(139, 92, 246, 0.74), rgba(49, 46, 129, 0.9)),
        rgba(0, 0, 0, 0.22);
}

.hm-roulette-chip.is-red {
  background: linear-gradient(180deg, #ef4444, #991b1b);
}

.hm-roulette-chip.is-black {
  background: linear-gradient(180deg, #334155, #020617);
}

@keyframes hmRouletteSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hmRouletteBall {
  to {
    transform: rotate(360deg) translateY(-124px) translate(-50%, -50%);
  }
}

@media (max-width: 760px) {
  .hm-roulette-number-grid {
    grid-template-columns: 0.8fr repeat(6, minmax(38px, 1fr));
    grid-auto-flow: dense;
  }

  .hm-roulette-outside-bets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-roulette-wheel-track > span {
    transform: rotate(var(--angle)) translateY(-40vw) rotate(calc(var(--angle) * -1)) translate(-50%, -50%);
  }
}

/* Art gallery V2 */

.hm-art-page {
  --hm-art-cyan: #38bdf8;
  --hm-art-pink: #f472b6;
  --hm-art-gold: #fbbf24;
  position: relative;
  isolation: isolate;
  width: min(100%, 94rem);
  margin: 0 auto;
  color: #fff;
}

.hm-art-page span,
.hm-art-page small,
.hm-art-page strong {
  white-space: normal;
}

.hm-art-page > :not(.hm-me-stars):not(.hm-me-footer-visual) {
  position: relative;
  z-index: 2;
}

.hm-art-flash {
  margin-bottom: 0.8rem;
  border: 1px solid rgba(74, 222, 128, 0.42);
  border-radius: 8px;
  background: rgba(20, 83, 45, 0.72);
  padding: 0.75rem 1rem;
  color: #dcfce7;
  font-weight: 850;
}

.hm-art-flash--error {
  border-color: rgba(251, 113, 133, 0.48);
  background: rgba(127, 29, 29, 0.72);
  color: #ffe4e6;
}

.hm-art-hero,
.hm-art-filters,
.hm-art-studio-hero,
.hm-art-upload-panel,
.hm-art-upload-preview {
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 8px;
  background:
        radial-gradient(circle at 82% 20%, rgba(244, 114, 182, 0.12), transparent 18rem),
        linear-gradient(145deg, rgba(35, 22, 91, 0.95), rgba(18, 12, 58, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 48px rgba(7, 2, 28, 0.3);
}

.hm-art-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
  min-height: 17rem;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.6rem);
}

.hm-art-hero::before,
.hm-art-studio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
        linear-gradient(90deg, transparent 0 48%, rgba(139, 92, 246, 0.08) 50%, transparent 52%) 0 0 / 4rem 100%,
        radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 1px, transparent 2px) 72% 28% / 13rem 11rem;
  opacity: 0.38;
}

.hm-art-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 50rem;
}

.hm-art-hero-copy h1,
.hm-art-studio-hero h1 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
}

.hm-art-hero-copy > p:last-of-type,
.hm-art-studio-hero > div > p:last-child {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.92rem, 1.25vw, 1.05rem);
  line-height: 1.55;
}

.hm-art-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 3.5vw, 3.5rem);
  margin-top: 1.5rem;
}

.hm-art-stats div {
  display: grid;
  gap: 0.1rem;
}

.hm-art-stats strong {
  font-size: 1.35rem;
  line-height: 1;
}

.hm-art-stats span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-art-hero-visual {
  position: relative;
  z-index: 2;
  min-height: 11rem;
}

.hm-art-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14rem;
  aspect-ratio: 1;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg) scaleY(0.55);
}

.hm-art-orbit::after {
  content: "";
  position: absolute;
  top: 47%;
  left: -0.28rem;
  width: 0.55rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--hm-art-cyan);
  box-shadow: 0 0 16px var(--hm-art-cyan);
}

.hm-art-tool {
  position: absolute;
  top: 45%;
  left: 50%;
  width: clamp(5rem, 9vw, 8rem);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 16px 22px rgba(7, 2, 28, 0.55));
}

.hm-art-spark {
  position: absolute;
  top: 13%;
  right: 14%;
  width: 2.8rem;
  filter: drop-shadow(0 8px 12px rgba(7, 2, 28, 0.5));
}

.hm-art-moon {
  position: absolute;
  right: 2%;
  bottom: 2%;
  width: 4.6rem;
  opacity: 0.76;
}

.hm-art-publish-button {
  position: absolute;
  right: clamp(1rem, 2.5vw, 2.2rem);
  bottom: clamp(1rem, 2vw, 1.7rem);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 2.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #7c5cf4, #8b5cf6 58%, #d946ef);
  padding: 0.6rem 1rem;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 13px 28px rgba(92, 49, 190, 0.34);
}

.hm-art-publish-button img {
  width: 1.7rem;
}

.hm-art-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.7rem 0.8rem;
}

.hm-art-filters > div {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
}

.hm-art-filters a {
  flex: 0 0 auto;
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.5rem 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 900;
}

.hm-art-filters a.is-active {
  border-color: rgba(56, 189, 248, 0.62);
  background: rgba(56, 189, 248, 0.12);
  color: #e0f2fe;
}

.hm-art-filters > span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  font-weight: 800;
}

.hm-art-gallery {
  -moz-column-count: 4;
       column-count: 4;
  -moz-column-gap: 0.85rem;
       column-gap: 0.85rem;
  margin-top: 1rem;
}

.hm-art-card {
  display: inline-block;
  width: 100%;
  overflow: hidden;
  margin: 0 0 0.85rem;
  border: 1px solid rgba(139, 92, 246, 0.38);
  border-radius: 8px;
  background: linear-gradient(155deg, rgba(43, 29, 103, 0.95), rgba(17, 11, 53, 0.98));
  box-shadow: 0 16px 32px rgba(7, 2, 28, 0.3);
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  transform: translateZ(0);
}

.hm-art-card-open {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: #fff;
  text-align: left;
  cursor: zoom-in;
}

.hm-art-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 8rem;
  background: rgba(7, 2, 28, 0.55);
}

.hm-art-card-media > img:first-child {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 320ms ease, filter 320ms ease;
}

.hm-art-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 2, 28, 0.55), transparent 32%, transparent 58%, rgba(7, 2, 28, 0.74));
  opacity: 0.82;
}

.hm-art-card-author {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  max-width: calc(100% - 3rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(12, 7, 43, 0.72);
  padding: 0.22rem 0.55rem 0.22rem 0.22rem;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.hm-art-card-author img {
  width: 2.55rem;
  height: 2.55rem;
  overflow: hidden;
  border-radius: 50%;
  background: #8b5cf6;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-art-card-author strong {
  overflow: hidden;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-art-card-expand {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: grid;
  place-items: center;
  width: 1.9rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(12, 7, 43, 0.72);
  color: #fff;
  font-size: 0.8rem;
}

.hm-art-card-title {
  display: block;
  overflow: hidden;
  padding: 0.72rem 0.8rem 0.45rem;
  font-size: 0.94rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-art-card-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.65rem 0.65rem;
}

.hm-art-card-actions form {
  display: contents;
}

.hm-art-card-actions button,
.hm-art-modal-social button,
.hm-art-modal-social > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  padding: 0.4rem 0.65rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 850;
}

.hm-art-card-actions button img {
  width: 1.15rem;
  height: 1.15rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-art-like span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1;
}

.hm-art-like.is-liked {
  background: rgba(244, 114, 182, 0.13);
  color: #fbcfe8;
}

.hm-art-like.is-liked span {
  color: #f472b6;
  filter: drop-shadow(0 0 7px rgba(244, 114, 182, 0.5));
}

.hm-art-card:hover .hm-art-card-media > img:first-child {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.hm-art-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.hm-art-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.hm-art-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 1, 18, 0.88);
  -webkit-backdrop-filter: blur(9px);
          backdrop-filter: blur(9px);
}

.hm-art-modal-dialog {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  width: min(86vw, 68rem);
  height: min(78vh, 42rem);
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.65);
  border-radius: 8px;
  outline: none;
  background: #120b35;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62), 0 0 45px rgba(139, 92, 246, 0.16);
}

.hm-art-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 2.25rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(7, 2, 28, 0.74);
  color: #fff;
  font-size: 1.35rem;
}

.hm-art-modal-media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  background:
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.12), transparent 26rem),
        #060217;
}

.hm-art-modal-media > img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-art-modal-nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2.6rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(7, 2, 28, 0.68);
  color: #fff;
  font-size: 1.8rem;
  transform: translateY(-50%);
}

.hm-art-modal-nav--previous {
  left: 0.8rem;
}

.hm-art-modal-nav--next {
  right: 0.8rem;
}

.hm-art-modal-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  min-height: 0;
  border-left: 1px solid rgba(139, 92, 246, 0.34);
  background:
        radial-gradient(circle at 80% 5%, rgba(244, 114, 182, 0.1), transparent 12rem),
        linear-gradient(180deg, #211653, #130c38);
}

.hm-art-modal-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.24);
  padding: 0.9rem 3.6rem 0.9rem 1rem;
}

.hm-art-modal-author > span,
.hm-art-comment > span {
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  width: 3.55rem;
  aspect-ratio: 1;
  border: 2px solid rgba(139, 92, 246, 0.62);
  border-radius: 50%;
  background: linear-gradient(145deg, #a78bfa, #6d4adb);
}

.hm-art-modal-author img,
.hm-art-comment img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transform: scale(1.32) translateY(4%);
  transform-origin: center;
}

.hm-art-modal-author div {
  display: grid;
}

.hm-art-modal-author strong {
  font-size: 0.86rem;
}

.hm-art-modal-author small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.64rem;
}

.hm-art-modal-title {
  padding: 1rem 1rem 0.75rem;
}

.hm-art-modal-title h2 {
  margin: 0.25rem 0 0;
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.hm-art-modal-comments {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-height: 0;
  overflow-y: auto;
  border-top: 1px solid rgba(139, 92, 246, 0.18);
  padding: 0.85rem 1rem;
  scrollbar-width: thin;
}

.hm-art-comment {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.hm-art-comment > span {
  width: 2.85rem;
}

.hm-art-comment p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hm-art-comment p strong {
  margin-right: 0.4rem;
  color: #fff;
}

.hm-art-comment-empty {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  margin: auto;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
}

.hm-art-comment-empty img {
  width: 3.7rem;
}

.hm-art-comment-empty p {
  max-width: 14rem;
  margin: 0;
  font-size: 0.76rem;
}

.hm-art-modal-social {
  display: flex;
  gap: 0.45rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding: 0.7rem 1rem;
}

.hm-art-modal-social form {
  display: contents;
}

.hm-art-modal-social small {
  color: rgba(255, 255, 255, 0.46);
}

.hm-art-modal-social img {
  width: 1.1rem;
}

.hm-art-comment-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.55rem;
  border-top: 1px solid rgba(139, 92, 246, 0.25);
  padding: 0.75rem 1rem 0.9rem;
}

.hm-art-comment-input {
  position: relative;
}

.hm-art-comment-input textarea {
  width: 100%;
  min-height: 3.3rem;
  max-height: 7rem;
  resize: vertical;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 8px;
  outline: none;
  background: rgba(7, 2, 28, 0.44);
  padding: 0.65rem 0.75rem 1.25rem;
  color: #fff;
  font-size: 0.76rem;
}

.hm-art-comment-input textarea:focus {
  border-color: var(--hm-art-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.07);
}

.hm-art-comment-input > span {
  position: absolute;
  right: 0.55rem;
  bottom: 0.38rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.58rem;
}

.hm-art-comment-form > ul {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #fda4af;
  font-size: 0.68rem;
}

.hm-art-comment-form > button {
  min-height: 2.45rem;
  border: 0;
  border-radius: 7px;
  background: #8b5cf6;
  padding: 0.55rem 0.75rem;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
}

.hm-art-empty {
  -moz-column-span: all;
       column-span: all;
  display: grid;
  justify-items: center;
  min-height: 16rem;
  border: 1px dashed rgba(139, 92, 246, 0.42);
  border-radius: 8px;
  background: rgba(18, 12, 58, 0.72);
  padding: 2rem;
  text-align: center;
}

.hm-art-empty img {
  width: 5rem;
}

.hm-art-empty h2 {
  margin: 0.7rem 0 0;
  font-size: 1.4rem;
  font-weight: 950;
}

.hm-art-empty p {
  margin: 0.2rem 0 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.hm-art-empty a {
  border-radius: 7px;
  background: #8b5cf6;
  padding: 0.65rem 1rem;
  color: #fff;
  font-weight: 900;
}

.hm-art-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  font-weight: 850;
}

.hm-art-breadcrumb a {
  color: #c4b5fd;
}

.hm-art-studio-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 12rem;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.hm-art-studio-hero > div {
  position: relative;
  z-index: 2;
}

.hm-art-studio-tool {
  position: relative;
  z-index: 2;
  width: clamp(5rem, 9vw, 8rem);
  margin-right: 5%;
  filter: drop-shadow(0 15px 22px rgba(7, 2, 28, 0.5));
}

.hm-art-studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.8fr);
  gap: 1rem;
  margin-top: 1rem;
}

.hm-art-upload-panel,
.hm-art-upload-preview {
  padding: clamp(1rem, 2.5vw, 1.8rem);
}

.hm-art-upload-form {
  display: grid;
  gap: 1rem;
}

.hm-art-form-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hm-art-form-heading > span {
  display: grid;
  place-items: center;
  width: 2.35rem;
  aspect-ratio: 1;
  border: 1px solid rgba(56, 189, 248, 0.44);
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.09);
  color: #7dd3fc;
  font-size: 0.7rem;
  font-weight: 950;
}

.hm-art-form-heading h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 950;
}

.hm-art-form-heading p {
  margin: 0.12rem 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
}

.hm-art-form-heading--title {
  border-top: 1px solid rgba(139, 92, 246, 0.22);
  padding-top: 1rem;
}

.hm-art-dropzone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 13rem;
  border: 1px dashed rgba(139, 92, 246, 0.7);
  border-radius: 8px;
  background:
        radial-gradient(circle at 50% 40%, rgba(139, 92, 246, 0.14), transparent 9rem),
        rgba(7, 2, 28, 0.35);
  padding: 2rem 1rem;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hm-art-dropzone-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  cursor: pointer;
}

.hm-art-dropzone.is-dragging,
.hm-art-dropzone:hover {
  border-color: var(--hm-art-cyan);
  background-color: rgba(56, 189, 248, 0.055);
}

.hm-art-dropzone-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.16);
}

.hm-art-dropzone-icon img {
  width: 2.3rem;
}

.hm-art-dropzone-content > strong {
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

.hm-art-dropzone-content > small {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
}

.hm-art-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.hm-art-upload-form > ul,
.hm-art-title-field ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #fda4af;
  font-size: 0.7rem;
}

.hm-art-title-field {
  display: grid;
  gap: 0.35rem;
}

.hm-art-title-field label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  font-weight: 900;
}

.hm-art-title-field input {
  min-height: 3rem;
  border: 1px solid rgba(139, 92, 246, 0.48);
  border-radius: 8px;
  outline: none;
  background: rgba(7, 2, 28, 0.4);
  padding: 0.7rem 0.85rem;
  color: #fff;
}

.hm-art-title-field input:focus {
  border-color: var(--hm-art-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.07);
}

.hm-art-upload-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.hm-art-upload-actions > a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 900;
}

.hm-art-upload-actions > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.8rem;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c5cf4, #8b5cf6);
  padding: 0.55rem 1rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(92, 49, 190, 0.3);
}

.hm-art-upload-actions > button img {
  width: 1.65rem;
}

.hm-art-upload-preview {
  align-self: start;
  position: sticky;
  top: 1rem;
}

.hm-art-preview-card {
  overflow: hidden;
  margin-top: 0.7rem;
  border: 1px solid rgba(244, 114, 182, 0.36);
  border-radius: 8px;
  background: rgba(7, 2, 28, 0.45);
}

.hm-art-preview-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 19rem;
  max-height: 34rem;
  overflow: hidden;
  background: #060217;
}

.hm-art-preview-media > div {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.hm-art-preview-media > div img {
  width: 5rem;
}

.hm-art-preview-media > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 34rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-art-preview-media > img[hidden] {
  display: none;
}

.hm-art-preview-copy {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
}

.hm-art-preview-copy > span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hm-art-preview-copy > span img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #8b5cf6;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-art-preview-copy > span b {
  font-size: 0.72rem;
}

.hm-art-preview-copy h2 {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.hm-art-preview-copy > small {
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.65rem;
}

.hm-art-upload-note {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.75rem;
  border-left: 2px solid var(--hm-art-gold);
  background: rgba(251, 191, 36, 0.055);
  padding: 0.75rem;
}

.hm-art-upload-note img {
  width: 2.3rem;
  height: 2.3rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-art-upload-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  line-height: 1.45;
}

.hm-art-upload-note strong {
  display: block;
  color: #fff;
}

.hm-art-hero,
.hm-art-filters,
.hm-art-card,
.hm-art-studio-hero,
.hm-art-upload-panel,
.hm-art-upload-preview,
.hm-art-tool,
.hm-art-spark,
.hm-art-moon,
.hm-art-modal-dialog {
  will-change: transform, opacity;
}

@media (max-width: 1180px) {
  .hm-art-gallery {
    -moz-column-count: 3;
         column-count: 3;
  }
}

@media (max-width: 900px) {
  .hm-art-hero {
    grid-template-columns: minmax(0, 1fr) 14rem;
  }

  .hm-art-gallery {
    -moz-column-count: 2;
         column-count: 2;
  }

  .hm-art-modal-dialog {
    grid-template-columns: minmax(0, 1fr) 18rem;
    width: min(91vw, 60rem);
    height: min(82vh, 40rem);
  }

  .hm-art-studio-layout {
    grid-template-columns: minmax(0, 1fr) 18rem;
  }
}

@media (max-width: 720px) {
  .hm-art-hero {
    grid-template-columns: 1fr;
    min-height: 24rem;
    padding-bottom: 7rem;
  }

  .hm-art-hero-visual {
    position: absolute;
    right: -1rem;
    bottom: 0;
    width: 15rem;
    min-height: 10rem;
    opacity: 0.72;
  }

  .hm-art-publish-button {
    right: auto;
    left: 1.2rem;
  }

  .hm-art-modal-dialog {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(13rem, 43vh) minmax(0, 1fr);
    width: 94vw;
    height: min(88vh, 46rem);
  }

  .hm-art-modal-panel {
    border-top: 1px solid rgba(139, 92, 246, 0.34);
    border-left: 0;
  }

  .hm-art-modal-comments {
    max-height: 13rem;
  }

  .hm-art-studio-layout {
    grid-template-columns: 1fr;
  }

  .hm-art-upload-preview {
    position: static;
  }
}

@media (max-width: 520px) {
  .hm-art-hero {
    min-height: 25rem;
    padding: 1.2rem 1rem 7rem;
  }

  .hm-art-hero-copy h1,
    .hm-art-studio-hero h1 {
    font-size: 2.25rem;
  }

  .hm-art-filters {
    align-items: stretch;
    flex-direction: column;
  }

  .hm-art-filters > span {
    padding-left: 0.2rem;
  }

  .hm-art-gallery {
    -moz-column-count: 1;
         column-count: 1;
  }

  .hm-art-card {
    margin-bottom: 0.7rem;
  }

  .hm-art-modal-dialog {
    width: 94vw;
  }

  .hm-art-modal-title {
    padding-top: 0.75rem;
  }

  .hm-art-modal-title h2 {
    font-size: 1.2rem;
  }

  .hm-art-modal-comments {
    max-height: 9rem;
  }

  .hm-art-comment-form {
    grid-template-columns: 1fr auto;
    padding: 0.6rem;
  }

  .hm-art-studio-hero {
    min-height: 10rem;
    padding: 1.15rem;
  }

  .hm-art-studio-tool {
    width: 4.5rem;
    margin-right: 0;
    opacity: 0.72;
  }

  .hm-art-upload-panel,
    .hm-art-upload-preview {
    padding: 0.9rem;
  }

  .hm-art-dropzone {
    min-height: 11rem;
  }

  .hm-art-upload-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    text-align: center;
  }

  .hm-art-upload-actions > button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-art-page *,
    .hm-art-page *::before,
    .hm-art-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes move-horizontal {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.meteorite {
  position: absolute;
  animation: move-horizontal 10s linear infinite;
}

.meteorite-1 {
  top: 10%;
  animation-delay: 0s;
}

.meteorite-2 {
  right: 60%;
  animation-delay: 3s;
}

.meteorite-3 {
  top: 70%;
  animation-delay: 6s;
}

.card-container {
  width: 1200px;
  height: 1000px;
  text-align: center;
  margin-left: 100px;
  margin-top: 60px;
  display: grid;
  grid-template-columns: 360px 360px 360px;
  grid-template-rows: 140px 140px 140px;
  gap: 2rem;
}

.wrapper {
  padding-top: 50px;
}

.base-card {
  background: none;
  width: 350px;
  display: inline-block;
  margin: auto;
  position: relative;
  text-align: center;
  box-shadow: 0 0 15px #a884f8;
  z-index: 9999;
  animation: fade-in 0.3s ease-out;
  border-radius: 20px;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.base-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px #c3a5ff;
}

.base-card__image {
  position: relative;
  height: 120px;
}

.base-card__image--demo {
  background: url('https://assets.habbmoon.fr/swf/c_images/album137/banner.png') no-repeat;
}

.base-card__image--demo img {
  width: 100px;
  position: absolute;
  top: -65px;
  left: -50px;
}

.fonda {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/HM_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.gerant {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/GERANT_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.dev {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/DEV_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.resp {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/RESP_ART_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.modo {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/MOD_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.anim {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/ANIM_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.com {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/COM_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.event {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/COM_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.wired {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/WIRED_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.casino {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/CAS_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.archi {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/ARCHI_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.graph {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/ART_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.amba {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/ORGA_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.discord {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/DISCORD_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.cata {
  background-image: url('https://assets.habbmoon.fr/swf/c_images/album1584/CATA_MOON.gif');
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  background-repeat: no-repeat!important;
}

.badge_content {
  top: 30px;
  left: 100px;
  position: absolute;
  background: rgba(242, 242, 242, 0.71);
  image-rendering: pixelated;
  border-radius: 10px 10px 10px 10px;
  align-items: center;
  grid-template-columns: 200px;
  grid-template-rows: 50px;
}

.badge_content span {
  font-size: 20px;
  font-weight: bold;
  position: relative;
  display: flex;
  left: 45px;
  top: 2px;
}

.badge_content span1 {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  padding: 10px;
}

.online {
  position: absolute;
  right: -10px;
  top: -10px;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #44cf48;
}

.offline {
  position: absolute;
  right: -10px;
  top: -10px;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #ED1C24;
}

span {
  white-space: nowrap;
}

/* Forum V2 */

.hm-forum-page {
  --hm-forum-cyan: #38bdf8;
  --hm-forum-pink: #f472b6;
  --hm-forum-gold: #fbbf24;
  position: relative;
  isolation: isolate;
  width: min(100%, 94rem);
  margin: 0 auto;
  color: #fff;
}

.hm-forum-page span,
.hm-forum-page small,
.hm-forum-page strong {
  white-space: normal;
}

.hm-forum-page > :not(.hm-me-stars):not(.hm-me-footer-visual) {
  position: relative;
  z-index: 2;
}

.hm-forum-flash {
  margin-bottom: 1rem;
  border: 1px solid rgba(74, 222, 128, 0.45);
  border-radius: 8px;
  background: rgba(20, 83, 45, 0.72);
  padding: 0.8rem 1rem;
  color: #dcfce7;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(7, 2, 28, 0.25);
}

.hm-forum-flash--warning {
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(120, 53, 15, 0.72);
  color: #fef3c7;
}

.hm-forum-hero,
.hm-forum-thread-hero,
.hm-forum-create-hero,
.hm-forum-toolbar,
.hm-forum-feed,
.hm-forum-original-post,
.hm-forum-replies,
.hm-forum-composer,
.hm-forum-form-panel,
.hm-forum-preview-panel {
  border: 1px solid rgba(139, 92, 246, 0.52);
  border-radius: 8px;
  background:
        radial-gradient(circle at 78% 18%, rgba(56, 189, 248, 0.1), transparent 18rem),
        linear-gradient(145deg, rgba(35, 22, 91, 0.94), rgba(18, 12, 58, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 58px rgba(7, 2, 28, 0.32);
}

.hm-forum-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 0.6fr);
  min-height: 17rem;
  overflow: hidden;
  padding: clamp(1.35rem, 2.7vw, 2.5rem);
}

.hm-forum-hero::before,
.hm-forum-thread-hero::before,
.hm-forum-create-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
        linear-gradient(90deg, transparent 0 48%, rgba(139, 92, 246, 0.08) 50%, transparent 52%) 0 0 / 4rem 100%,
        radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 1px, transparent 2px) 70% 25% / 13rem 11rem;
  opacity: 0.38;
}

.hm-forum-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 52rem;
}

.hm-forum-hero-copy h1,
.hm-forum-thread-copy h1,
.hm-forum-create-hero h1 {
  margin: 0.45rem 0 1rem;
  max-width: 15ch;
  font-size: clamp(2.15rem, 3.8vw, 3.65rem);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
  text-wrap: balance;
}

.hm-forum-hero-copy > p:last-of-type,
.hm-forum-thread-copy > p,
.hm-forum-create-hero > div > p:last-child {
  max-width: 45rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.9rem, 1.2vw, 1.02rem);
  line-height: 1.5;
}

.hm-forum-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 3rem);
  margin-top: 1.35rem;
}

.hm-forum-stats div {
  display: grid;
  gap: 0.1rem;
}

.hm-forum-stats strong {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
}

.hm-forum-stats span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hm-forum-hero-visual {
  position: relative;
  z-index: 2;
  min-height: 12rem;
}

.hm-forum-hero-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(17rem, 84%);
  max-height: 12rem;
  -o-object-fit: contain;
     object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 20px 28px rgba(7, 2, 28, 0.6));
}

.hm-forum-hero-satellite {
  position: absolute;
  top: 8%;
  right: 3%;
  width: 3.3rem;
  filter: drop-shadow(0 8px 12px rgba(7, 2, 28, 0.5));
}

.hm-forum-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15rem;
  aspect-ratio: 1;
  border: 1px solid rgba(196, 181, 253, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg) scaleY(0.48);
}

.hm-forum-orbit::after {
  content: "";
  position: absolute;
  top: 48%;
  left: -0.32rem;
  width: 0.65rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--hm-forum-cyan);
  box-shadow: 0 0 18px var(--hm-forum-cyan);
}

.hm-forum-signal {
  position: absolute;
  border: 1px solid rgba(56, 189, 248, 0.34);
  border-radius: 50%;
}

.hm-forum-signal--one {
  inset: 15% 8% 12% 18%;
}

.hm-forum-signal--two {
  inset: 27% 19% 24% 28%;
}

.hm-forum-create-button {
  position: absolute;
  right: clamp(1.25rem, 3vw, 3rem);
  bottom: clamp(1.25rem, 2.5vw, 2.25rem);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 2.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, #7c5cf4, #8b5cf6 60%, #d946ef);
  padding: 0.58rem 1rem;
  color: #fff;
  font-weight: 900;
  font-size: 0.86rem;
  box-shadow: 0 14px 30px rgba(92, 49, 190, 0.36);
}

.hm-forum-create-button img,
.hm-forum-send-button img {
  width: 1.7rem;
  max-height: 1.7rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-forum-toolbar {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.75rem;
}

.hm-forum-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  border: 1px solid rgba(139, 92, 246, 0.48);
  border-radius: 8px;
  background: rgba(12, 7, 43, 0.55);
  padding: 0.45rem 0.45rem 0.45rem 1rem;
}

.hm-forum-search img {
  width: 1.7rem;
}

.hm-forum-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-weight: 750;
}

.hm-forum-search input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.hm-forum-search input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.hm-forum-search button,
.hm-forum-send-button {
  min-height: 2.7rem;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #7c5cf4, #8b5cf6);
  padding: 0.65rem 1.1rem;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.hm-forum-categories {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.1rem;
  scrollbar-width: thin;
}

.hm-forum-categories a {
  flex: 0 0 auto;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.55rem 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
}

.hm-forum-categories a.is-active {
  border-color: rgba(56, 189, 248, 0.62);
  background: rgba(56, 189, 248, 0.13);
  color: #e0f2fe;
  box-shadow: inset 0 0 16px rgba(56, 189, 248, 0.08);
}

.hm-forum-feed {
  margin-top: 1rem;
  padding: clamp(0.8rem, 1.7vw, 1.25rem);
}

.hm-forum-feed-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hm-forum-feed-heading h2 {
  margin: 0.18rem 0 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 950;
}

.hm-forum-feed-heading > a {
  color: #c4b5fd;
  font-size: 0.82rem;
  font-weight: 900;
}

.hm-forum-topic-list,
.hm-forum-reply-list {
  display: grid;
  gap: 0.7rem;
}

.hm-forum-topic-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-forum-topic {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.65rem 0.8rem;
  min-height: 12.2rem;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  padding: 0.8rem;
  color: #fff;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hm-forum-topic::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--hm-forum-cyan);
  opacity: 0;
  box-shadow: 0 0 15px var(--hm-forum-cyan);
  transition: opacity 180ms ease;
}

.hm-forum-topic--priority {
  border-color: rgba(244, 114, 182, 0.46);
  background:
        linear-gradient(100deg, rgba(217, 70, 239, 0.12), rgba(56, 189, 248, 0.045)),
        rgba(255, 255, 255, 0.035);
}

.hm-forum-topic:hover,
.hm-forum-topic:focus-visible {
  border-color: rgba(56, 189, 248, 0.6);
  background: linear-gradient(100deg, rgba(56, 189, 248, 0.1), rgba(139, 92, 246, 0.07));
  box-shadow: 0 16px 30px rgba(7, 2, 28, 0.24);
  outline: none;
}

.hm-forum-topic:hover::before,
.hm-forum-topic:focus-visible::before {
  opacity: 1;
}

.hm-forum-topic-avatar,
.hm-forum-post-avatar,
.hm-forum-reply-avatar,
.hm-forum-preview-author > span {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(139, 92, 246, 0.72);
  border-radius: 50%;
  background: linear-gradient(145deg, #a78bfa, #6d4adb);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.09), 0 10px 18px rgba(7, 2, 28, 0.35);
}

.hm-forum-topic-avatar {
  align-self: stretch;
  width: 4.5rem;
  height: 7.1rem;
  border-radius: 7px;
  background:
        radial-gradient(circle at 50% 28%, rgba(167, 139, 250, 0.65), transparent 3.4rem),
        linear-gradient(180deg, rgba(90, 63, 175, 0.82), rgba(25, 16, 71, 0.92));
}

.hm-forum-topic-avatar img,
.hm-forum-post-avatar img,
.hm-forum-reply-avatar img,
.hm-forum-preview-author img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  image-rendering: pixelated;
}

.hm-forum-topic-avatar img {
  width: auto;
  height: 7.7rem;
  max-width: none;
  -o-object-position: center bottom;
     object-position: center bottom;
  transform: translate(-0.18rem, 0.72rem);
}

.hm-forum-topic-copy {
  display: grid;
  min-width: 0;
}

.hm-forum-topic-copy > strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hm-forum-topic-copy > span:not(.hm-forum-topic-meta) {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hm-forum-topic-copy > small {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
}

.hm-forum-topic-copy > small b {
  color: #c4b5fd;
}

.hm-forum-topic-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.25rem;
}

.hm-forum-topic-meta small {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hm-forum-category {
  display: inline-flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.22rem 0.55rem;
  color: #bae6fd;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hm-forum-topic-replies {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  border-top: 1px solid rgba(139, 92, 246, 0.22);
  padding-top: 0.6rem;
  color: rgba(255, 255, 255, 0.58);
}

.hm-forum-topic-replies img {
  width: 1.8rem;
  height: 1.8rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-forum-topic-replies strong {
  color: #fff;
  font-size: 1.05rem;
}

.hm-forum-topic-replies small {
  font-size: 0.66rem;
}

.hm-forum-topic-arrow {
  position: absolute;
  right: 0.85rem;
  bottom: 0.62rem;
  color: #a78bfa;
  font-size: 1.2rem;
}

.hm-forum-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 10rem;
  border: 1px dashed rgba(139, 92, 246, 0.42);
  border-radius: 8px;
  background: rgba(7, 2, 28, 0.22);
  padding: 1.5rem;
  text-align: left;
}

.hm-forum-empty > img {
  width: 4.5rem;
}

.hm-forum-empty h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 950;
}

.hm-forum-empty p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.hm-forum-empty > a {
  margin-left: auto;
  border-radius: 7px;
  background: #8b5cf6;
  padding: 0.7rem 1rem;
  color: #fff;
  font-weight: 900;
}

.hm-forum-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  font-weight: 800;
}

.hm-forum-breadcrumb a {
  color: #c4b5fd;
}

.hm-forum-thread-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.75rem);
}

.hm-forum-thread-copy {
  position: relative;
  z-index: 2;
}

.hm-forum-thread-copy h1 {
  max-width: 22ch;
  font-size: clamp(2rem, 4vw, 3.75rem);
}

.hm-forum-thread-copy > p {
  margin: 0;
  font-size: 1rem;
}

.hm-forum-thread-author {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hm-forum-thread-author > span {
  position: relative;
  display: grid;
  place-items: end center;
  overflow: hidden;
  width: 5rem;
  height: 5rem;
  border: 1px solid rgba(139, 92, 246, 0.48);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(167, 139, 250, 0.35), rgba(56, 189, 248, 0.12));
}

.hm-forum-thread-author img {
  max-width: 5rem;
  max-height: 6.5rem;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: bottom;
     object-position: bottom;
}

.hm-forum-thread-author div {
  display: grid;
  gap: 0.15rem;
}

.hm-forum-thread-author small,
.hm-forum-thread-count span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hm-forum-thread-author strong {
  font-size: 1rem;
}

.hm-forum-thread-count {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  min-width: 6.5rem;
  border-left: 1px solid rgba(139, 92, 246, 0.34);
  padding-left: 1.5rem;
}

.hm-forum-thread-count img {
  width: 2.2rem;
}

.hm-forum-thread-count strong {
  margin-top: 0.25rem;
  font-size: 1.4rem;
}

.hm-forum-thread {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.hm-forum-original-post {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  overflow: hidden;
}

.hm-forum-post-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(139, 92, 246, 0.34);
  background:
        radial-gradient(circle at 50% 20%, rgba(244, 114, 182, 0.14), transparent 8rem),
        rgba(7, 2, 28, 0.26);
  padding: 1.05rem 0.75rem;
  text-align: center;
}

.hm-forum-post-avatar {
  width: 7rem;
  aspect-ratio: 1;
  align-items: end;
}

.hm-forum-post-avatar img {
  width: auto;
  height: 8.8rem;
  max-width: none;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center bottom;
     object-position: center bottom;
  transform: translateY(1.05rem);
}

.hm-forum-post-rail > strong {
  margin-top: 0.8rem;
  font-size: 1rem;
}

.hm-forum-post-rail > small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
}

.hm-forum-post-content {
  min-width: 0;
  padding: clamp(1.1rem, 2vw, 1.7rem);
}

.hm-forum-post-heading {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(139, 92, 246, 0.28);
  padding-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-forum-prose {
  min-height: 6rem;
  padding: 1rem 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.hm-forum-prose h1,
.hm-forum-prose h2,
.hm-forum-prose h3 {
  margin: 1.2em 0 0.45em;
  color: #fff;
  font-weight: 950;
}

.hm-forum-prose a {
  color: #7dd3fc;
  text-decoration: underline;
}

.hm-forum-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.hm-forum-post-content > footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid rgba(139, 92, 246, 0.22);
  padding-top: 0.8rem;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.7rem;
  font-weight: 800;
}

.hm-forum-post-content > footer img {
  width: 1.8rem;
}

.hm-forum-replies,
.hm-forum-composer {
  padding: clamp(1rem, 2.5vw, 2rem);
}

.hm-forum-feed-heading > span {
  display: grid;
  place-items: center;
  width: 2.4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.18);
  color: #c4b5fd;
  font-weight: 950;
}

.hm-forum-reply {
  position: relative;
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  gap: 0.9rem;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 1rem 3.5rem 1rem 1rem;
}

.hm-forum-reply-index {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.7rem;
  font-weight: 900;
}

.hm-forum-reply-avatar {
  width: 3.4rem;
  aspect-ratio: 1;
}

.hm-forum-reply > div > strong {
  color: #c4b5fd;
  font-size: 0.88rem;
}

.hm-forum-reply p {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.hm-forum-empty--replies {
  min-height: 8rem;
  justify-content: flex-start;
}

.hm-forum-composer {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1.2rem;
}

.hm-forum-composer-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.hm-forum-composer-heading > img {
  width: 2.2rem;
}

.hm-forum-composer-heading h2 {
  margin: 0.12rem 0 0;
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 950;
}

.hm-forum-reply-form {
  display: grid;
  gap: 0.6rem;
}

.hm-forum-reply-form > label,
.hm-forum-field > label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
}

.hm-forum-textarea-wrap {
  position: relative;
}

.hm-forum-textarea-wrap textarea,
.hm-forum-field input,
.hm-forum-field textarea,
.hm-forum-field select {
  width: 100%;
  border: 1px solid rgba(139, 92, 246, 0.52);
  border-radius: 8px;
  outline: 0;
  background: rgba(7, 2, 28, 0.45);
  padding: 0.85rem 1rem;
  color: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hm-forum-textarea-wrap textarea {
  min-height: 4.8rem;
  resize: vertical;
  padding: 0.7rem 0.85rem 1.65rem;
}

.hm-forum-textarea-wrap span {
  position: absolute;
  right: 0.8rem;
  bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.68rem;
}

.hm-forum-textarea-wrap textarea:focus,
.hm-forum-field input:focus,
.hm-forum-field textarea:focus,
.hm-forum-field select:focus {
  border-color: var(--hm-forum-cyan);
  background: rgba(7, 2, 28, 0.6);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.08), 0 0 22px rgba(56, 189, 248, 0.1);
}

.hm-forum-send-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  justify-self: end;
  min-width: 11.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  box-shadow: 0 12px 24px rgba(92, 49, 190, 0.32);
}

.hm-forum-create-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 13rem;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.75rem);
}

.hm-forum-create-hero > div {
  position: relative;
  z-index: 2;
}

.hm-forum-create-hero h1 {
  max-width: none;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
}

.hm-forum-create-icon {
  position: relative;
  z-index: 2;
  width: clamp(5rem, 9vw, 8rem);
  margin-right: 4%;
  filter: drop-shadow(0 15px 22px rgba(7, 2, 28, 0.55));
}

.hm-forum-create-orbit {
  position: absolute;
  right: -2rem;
  width: 18rem;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 114, 182, 0.3);
  border-radius: 50%;
}

.hm-forum-create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 0.65fr);
  gap: 1rem;
  margin-top: 1rem;
}

.hm-forum-form-panel,
.hm-forum-preview-panel {
  padding: clamp(1.15rem, 2.5vw, 2rem);
}

.hm-forum-topic-form {
  display: grid;
  gap: 1.1rem;
}

.hm-forum-form-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hm-forum-form-heading > span {
  display: grid;
  place-items: center;
  width: 2.5rem;
  aspect-ratio: 1;
  border: 1px solid rgba(56, 189, 248, 0.44);
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.09);
  color: #7dd3fc;
  font-size: 0.75rem;
  font-weight: 950;
}

.hm-forum-form-heading h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 950;
}

.hm-forum-form-heading p {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
}

.hm-forum-form-heading--message {
  margin-top: 0.6rem;
  border-top: 1px solid rgba(139, 92, 246, 0.24);
  padding-top: 1.3rem;
}

.hm-forum-field {
  display: grid;
  gap: 0.38rem;
}

.hm-forum-field input {
  min-height: 3rem;
}

.hm-forum-field textarea:not(.tinymce) {
  min-height: 6rem;
  resize: vertical;
}

.hm-forum-field select {
  min-height: 3rem;
}

.hm-forum-field ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #fda4af;
  font-size: 0.72rem;
  font-weight: 800;
}

.hm-forum-editor-field .tox-tinymce {
  border: 1px solid rgba(139, 92, 246, 0.52) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 30px rgba(7, 2, 28, 0.22);
}

.hm-forum-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
  padding-top: 0.4rem;
}

.hm-forum-form-actions > a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 900;
}

.hm-forum-preview-panel {
  align-self: start;
  position: sticky;
  top: 1rem;
}

.hm-forum-preview-card {
  position: relative;
  display: grid;
  min-height: 22rem;
  overflow: hidden;
  margin-top: 0.75rem;
  border: 1px solid rgba(244, 114, 182, 0.36);
  border-radius: 8px;
  background: linear-gradient(165deg, rgba(76, 29, 149, 0.42), rgba(7, 2, 28, 0.76));
  padding: 1.25rem;
  align-content: end;
}

.hm-forum-preview-space {
  position: absolute;
  inset: 0;
  background:
        linear-gradient(180deg, transparent 20%, rgba(7, 2, 28, 0.92) 88%),
        url("../images/banner-e538225cab7bc851fa4c2d1f493181d2.png") center / cover;
  opacity: 0.55;
}

.hm-forum-preview-card > :not(.hm-forum-preview-space) {
  position: relative;
  z-index: 2;
}

.hm-forum-preview-card h2 {
  margin: 0.7rem 0 0.35rem;
  font-size: 1.65rem;
  line-height: 1.08;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.hm-forum-preview-card > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.hm-forum-preview-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.hm-forum-preview-author > span {
  width: 2.8rem;
  aspect-ratio: 1;
}

.hm-forum-preview-author div {
  display: grid;
}

.hm-forum-preview-author small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.hm-forum-preview-author strong {
  font-size: 0.85rem;
}

.hm-forum-guidelines {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.8rem;
  border-left: 2px solid var(--hm-forum-gold);
  background: rgba(251, 191, 36, 0.06);
  padding: 0.85rem;
}

.hm-forum-guidelines img {
  width: 2.5rem;
  height: 2.5rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-forum-guidelines strong {
  font-size: 0.82rem;
}

.hm-forum-guidelines p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  line-height: 1.45;
}

.hm-forum-hero,
.hm-forum-toolbar,
.hm-forum-feed,
.hm-forum-thread-hero,
.hm-forum-original-post,
.hm-forum-replies,
.hm-forum-composer,
.hm-forum-create-hero,
.hm-forum-form-panel,
.hm-forum-preview-panel,
.hm-forum-topic,
.hm-forum-reply,
.hm-forum-hero-screen,
.hm-forum-hero-satellite,
.hm-forum-create-icon {
  will-change: transform, opacity;
}

@media (max-width: 1024px) {
  .hm-forum-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.65fr);
  }

  .hm-forum-create-layout {
    grid-template-columns: minmax(0, 1fr) 18rem;
  }

  .hm-forum-thread-hero {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hm-forum-thread-count {
    grid-column: 2;
  }

  .hm-forum-thread-author {
    grid-row: span 2;
  }

  .hm-forum-topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hm-forum-hero {
    grid-template-columns: 1fr;
    min-height: 25rem;
    padding-bottom: 8rem;
  }

  .hm-forum-hero-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 16rem;
    min-height: 11rem;
    opacity: 0.78;
  }

  .hm-forum-create-button {
    right: auto;
    left: clamp(1.25rem, 4vw, 2rem);
  }

  .hm-forum-topic {
    grid-template-columns: 4.2rem minmax(0, 1fr);
  }

  .hm-forum-thread-hero {
    grid-template-columns: 1fr;
  }

  .hm-forum-thread-author {
    grid-row: auto;
  }

  .hm-forum-thread-count {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    grid-column: auto;
    border: 0;
    padding: 0;
  }

  .hm-forum-original-post {
    grid-template-columns: 1fr;
  }

  .hm-forum-post-rail {
    flex-direction: row;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.34);
    text-align: left;
  }

  .hm-forum-post-rail > strong {
    margin: 0 0 0 0.75rem;
  }

  .hm-forum-post-rail > small {
    margin-left: 0.45rem;
  }

  .hm-forum-post-avatar {
    width: 4.5rem;
  }

  .hm-forum-post-avatar img {
    height: 5.7rem;
    transform: translateY(0.72rem);
  }

  .hm-forum-composer {
    grid-template-columns: 1fr;
  }

  .hm-forum-create-layout {
    grid-template-columns: 1fr;
  }

  .hm-forum-preview-panel {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.45fr);
    gap: 0.8rem;
  }

  .hm-forum-preview-panel > .hm-me-kicker {
    grid-column: 1 / -1;
  }

  .hm-forum-preview-card {
    min-height: 18rem;
    margin-top: 0;
  }

  .hm-forum-guidelines {
    margin-top: 0;
    align-self: stretch;
  }
}

@media (max-width: 560px) {
  .hm-forum-page {
    width: 100%;
  }

  .hm-forum-hero {
    min-height: 27rem;
    padding: 1.2rem 1rem 8rem;
  }

  .hm-forum-hero-copy h1 {
    font-size: 2.15rem;
  }

  .hm-forum-stats {
    gap: 1.25rem;
  }

  .hm-forum-stats strong {
    font-size: 1.25rem;
  }

  .hm-forum-hero-visual {
    right: -2rem;
    width: 15rem;
  }

  .hm-forum-create-button {
    right: 1rem;
    left: 1rem;
    width: auto;
  }

  .hm-forum-toolbar,
    .hm-forum-feed,
    .hm-forum-replies,
    .hm-forum-composer,
    .hm-forum-form-panel,
    .hm-forum-preview-panel {
    padding: 0.9rem;
  }

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

  .hm-forum-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hm-forum-feed-heading {
    align-items: flex-start;
  }

  .hm-forum-feed-heading > a {
    text-align: right;
  }

  .hm-forum-topic-list {
    grid-template-columns: 1fr;
  }

  .hm-forum-topic {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 0.65rem;
    min-height: 10.8rem;
    padding: 0.68rem;
  }

  .hm-forum-topic-avatar {
    width: 4rem;
    height: 6.5rem;
  }

  .hm-forum-topic-avatar img {
    height: 7rem;
    transform: translate(-0.14rem, 0.72rem);
  }

  .hm-forum-topic-replies {
    position: static;
    display: flex;
    align-items: center;
  }

  .hm-forum-topic-replies img {
    width: 1.35rem;
    height: 1.35rem;
  }

  .hm-forum-topic-replies small {
    display: none;
  }

  .hm-forum-topic-copy > strong {
    padding-right: 0.25rem;
    font-size: 0.98rem;
  }

  .hm-forum-topic-meta small {
    display: none;
  }

  .hm-forum-empty {
    flex-direction: column;
    text-align: center;
  }

  .hm-forum-empty > a {
    margin: 0;
  }

  .hm-forum-thread-hero {
    padding: 1.2rem;
  }

  .hm-forum-thread-copy h1 {
    padding-right: 3.3rem;
    font-size: 2rem;
  }

  .hm-forum-thread-count {
    top: 1rem;
    right: 1rem;
    min-width: 3rem;
  }

  .hm-forum-thread-count img {
    width: 1.65rem;
  }

  .hm-forum-thread-count span {
    display: none;
  }

  .hm-forum-thread-author > span {
    width: 4rem;
    height: 4rem;
  }

  .hm-forum-post-rail {
    flex-wrap: wrap;
    padding: 0.8rem;
  }

  .hm-forum-post-rail > small {
    width: calc(100% - 4.3rem);
    margin: -1rem 0 0 4.3rem;
  }

  .hm-forum-post-content {
    padding: 1rem;
  }

  .hm-forum-reply {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    padding: 0.8rem 2.6rem 0.8rem 0.8rem;
  }

  .hm-forum-reply-avatar {
    width: 2.7rem;
  }

  .hm-forum-send-button {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .hm-forum-create-hero {
    min-height: 12rem;
    padding: 1.2rem;
  }

  .hm-forum-create-hero h1 {
    font-size: 2.2rem;
  }

  .hm-forum-create-icon {
    width: 4.5rem;
    margin-right: 0;
    opacity: 0.72;
  }

  .hm-forum-preview-panel {
    grid-template-columns: 1fr;
  }

  .hm-forum-preview-card {
    min-height: 17rem;
  }

  .hm-forum-form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    text-align: center;
  }
}

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

/* Clan V2 */

.hm-sidebar-clan-panel a > span:first-of-type {
  display: none;
}

.hm-sidebar-clan-link-icon {
  width: 2rem;
  height: 2rem;
  -o-object-fit: contain;
     object-fit: contain;
  flex: 0 0 auto;
}

.hm-clan-page {
  --hm-clan-violet: #8b5cf6;
  --hm-clan-cyan: #38bdf8;
  --hm-clan-gold: #fbbf24;
  --hm-clan-coral: #fb7185;
  position: relative;
  isolation: isolate;
  color: #fff;
}

.hm-clan-page > :not(.hm-me-stars):not(.hm-me-footer-visual):not(.hm-clan-modal) {
  position: relative;
  z-index: 2;
}

.hm-clan-flash {
  margin-bottom: 0.8rem;
  border: 1px solid rgba(56, 189, 248, 0.48);
  border-radius: 8px;
  background: rgba(14, 116, 144, 0.22);
  padding: 0.75rem 1rem;
  color: #e0f2fe;
  font-size: 0.78rem;
  font-weight: 800;
}

.hm-clan-flash--error {
  border-color: rgba(251, 113, 133, 0.5);
  background: rgba(159, 18, 57, 0.18);
  color: #ffe4e6;
}

.hm-clan-hero,
.hm-clan-create-hero,
.hm-clan-base-hero,
.hm-clan-toolbar,
.hm-clan-directory,
.hm-clan-form-panel,
.hm-clan-preview-panel,
.hm-clan-members-panel,
.hm-clan-chat-panel {
  border: 1px solid rgba(139, 92, 246, 0.38);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(35, 24, 88, 0.95), rgba(17, 10, 52, 0.96));
  box-shadow: 0 18px 46px rgba(7, 2, 28, 0.26);
}

.hm-clan-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  min-height: 18rem;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.6rem);
}

.hm-clan-hero::before,
.hm-clan-create-hero::before,
.hm-clan-base-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
        linear-gradient(rgba(139, 92, 246, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.035) 1px, transparent 1px);
  background-size: 3rem 3rem;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%);
          mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.hm-clan-hero-copy {
  align-self: center;
  max-width: 44rem;
}

.hm-clan-hero-copy h1,
.hm-clan-create-hero h1,
.hm-clan-base-copy h1 {
  margin: 0.45rem 0 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.94;
  font-weight: 950;
  letter-spacing: 0;
}

.hm-clan-hero-copy > p:not(.hm-me-kicker),
.hm-clan-create-hero > div:first-child > p:not(.hm-me-kicker),
.hm-clan-base-copy > p:not(.hm-me-kicker) {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.65;
}

.hm-clan-stats {
  display: flex;
  gap: 1.8rem;
  margin-top: 1.4rem;
}

.hm-clan-stats > div {
  display: grid;
  gap: 0.08rem;
}

.hm-clan-stats strong {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
}

.hm-clan-stats span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hm-clan-hero-visual {
  position: relative;
  min-height: 12rem;
}

.hm-clan-hero-scene {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 25rem);
  height: 11rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  -o-object-fit: cover;
     object-fit: cover;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 40px rgba(7, 2, 28, 0.52);
}

.hm-clan-hero-emblem {
  position: absolute;
  top: 0.5rem;
  left: 9%;
  display: grid;
  place-items: center;
  width: 4.2rem;
  aspect-ratio: 1;
  border: 1px solid rgba(251, 191, 36, 0.48);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2), rgba(34, 18, 76, 0.92));
  box-shadow: 0 0 28px rgba(251, 191, 36, 0.18);
}

.hm-clan-hero-emblem img {
  width: 2.2rem;
  image-rendering: pixelated;
}

.hm-clan-hero-meteor {
  position: absolute;
  right: 1%;
  bottom: 4%;
  width: 3.6rem;
}

.hm-clan-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.hm-clan-orbit--one {
  width: 24rem;
  height: 12rem;
}

.hm-clan-orbit--two {
  width: 18rem;
  height: 20rem;
  border-color: rgba(244, 114, 182, 0.18);
}

.hm-clan-primary-action {
  position: absolute;
  right: clamp(1rem, 2vw, 1.8rem);
  bottom: clamp(1rem, 2vw, 1.6rem);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: linear-gradient(135deg, #7454e8, #8b5cf6 60%, #b855df);
  padding: 0.55rem 1rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(92, 49, 190, 0.34);
}

.hm-clan-primary-action img {
  width: 1.45rem;
}

.hm-clan-primary-action > span {
  font-size: 1.15rem;
  line-height: 1;
}

.hm-clan-toolbar {
  margin-top: 1rem;
  padding: 0.8rem;
}

.hm-clan-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
}

.hm-clan-search > img {
  width: 1.45rem;
  margin-left: 0.35rem;
  opacity: 0.72;
}

.hm-clan-search input {
  min-width: 0;
  min-height: 2.8rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 750;
}

.hm-clan-search input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.hm-clan-search input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.hm-clan-search button,
.hm-clan-modal form button {
  min-height: 2.55rem;
  border: 0;
  border-radius: 7px;
  background: #8b5cf6;
  padding: 0.5rem 0.9rem;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
}

.hm-clan-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding-top: 0.75rem;
}

.hm-clan-filters {
  display: flex;
  gap: 0.4rem;
}

.hm-clan-filters a {
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.42rem 0.76rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 900;
}

.hm-clan-filters a.is-active {
  border-color: rgba(56, 189, 248, 0.54);
  background: rgba(56, 189, 248, 0.11);
  color: #e0f2fe;
}

.hm-clan-sort {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hm-clan-sort label {
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.65rem;
  font-weight: 800;
}

.hm-clan-sort select {
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 7px;
  outline: 0;
  background: #17103f;
  padding: 0.42rem 1.8rem 0.42rem 0.65rem;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 850;
}

.hm-clan-directory {
  margin-top: 1rem;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.hm-clan-directory-heading,
.hm-clan-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hm-clan-directory-heading h2,
.hm-clan-panel-heading h2 {
  margin: 0.15rem 0 0;
  font-size: 1.35rem;
  font-weight: 950;
}

.hm-clan-directory-heading > a {
  color: #c4b5fd;
  font-size: 0.68rem;
  font-weight: 900;
}

.hm-clan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.hm-clan-card {
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(42, 28, 101, 0.96), rgba(14, 9, 45, 0.98));
  box-shadow: 0 14px 30px rgba(7, 2, 28, 0.28);
  transform: translateZ(0);
}

.hm-clan-card.is-current {
  border-color: rgba(56, 189, 248, 0.64);
  box-shadow: 0 16px 34px rgba(14, 116, 144, 0.16);
}

.hm-clan-card-banner {
  position: relative;
  height: 7.4rem;
  overflow: hidden;
  background: #120936;
}

.hm-clan-card-banner > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.hm-clan-card:hover .hm-clan-card-banner > img {
  transform: scale(1.035);
  filter: saturate(1.12);
}

.hm-clan-card-privacy {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 2, 28, 0.7);
  padding: 0.28rem 0.55rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.58rem;
  font-weight: 900;
  -webkit-backdrop-filter: blur(7px);
          backdrop-filter: blur(7px);
}

.hm-clan-card-badge {
  position: absolute;
  left: 0.75rem;
  bottom: -1.55rem;
  display: grid;
  place-items: center;
  width: 3.7rem;
  aspect-ratio: 1;
  border: 2px solid #17103f;
  border-radius: 50%;
  background: linear-gradient(145deg, #5b3eb4, #26175f);
  box-shadow: 0 8px 20px rgba(7, 2, 28, 0.5);
}

.hm-clan-card-badge img {
  width: 1.9rem;
}

.hm-clan-card-body {
  padding: 1.85rem 0.85rem 0.85rem;
}

.hm-clan-card-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.65rem;
}

.hm-clan-card-title p {
  margin: 0;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.55rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hm-clan-card-title h3 {
  margin: 0.1rem 0 0;
  font-size: 1.08rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.hm-clan-card-title > strong {
  flex: 0 0 auto;
  color: #fde68a;
  font-size: 0.66rem;
}

.hm-clan-card-description {
  display: -webkit-box;
  min-height: 2.65rem;
  overflow: hidden;
  margin: 0.55rem 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.7rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hm-clan-card-crew {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border-top: 1px solid rgba(139, 92, 246, 0.18);
  padding-top: 0.65rem;
}

.hm-clan-card-leader {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.hm-clan-card-leader > span,
.hm-clan-card-members span {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 50%;
  background: #7654e5;
}

.hm-clan-card-leader > span {
  width: 2.45rem;
  aspect-ratio: 1;
}

.hm-clan-card-leader img {
  width: 3rem;
  max-width: none;
  transform: translate(0, -0.04rem);
}

.hm-clan-card-leader div {
  display: grid;
  min-width: 0;
}

.hm-clan-card-leader small,
.hm-clan-card-members small {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.52rem;
}

.hm-clan-card-leader strong {
  overflow: hidden;
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-clan-card-members {
  display: grid;
  justify-items: end;
  gap: 0.2rem;
}

.hm-clan-card-members > div {
  display: flex;
  flex-direction: row-reverse;
  justify-content: end;
}

.hm-clan-card-members span {
  width: 1.85rem;
  aspect-ratio: 1;
  margin-left: -0.45rem;
  border-color: #211653;
}

.hm-clan-card-members img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transform: scale(1.22);
}

.hm-clan-card-actions {
  margin-top: 0.75rem;
}

.hm-clan-card-actions form {
  display: contents;
}

.hm-clan-card-actions a,
.hm-clan-card-actions button,
.hm-clan-card-actions .is-disabled {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 2.45rem;
  border: 1px solid rgba(139, 92, 246, 0.36);
  border-radius: 7px;
  background: rgba(139, 92, 246, 0.1);
  padding: 0.5rem 0.7rem;
  color: #ddd6fe;
  font-size: 0.66rem;
  font-weight: 900;
  text-align: left;
}

.hm-clan-card-actions a,
.hm-clan-card-actions button {
  cursor: pointer;
}

.hm-clan-card-actions .is-disabled {
  justify-content: center;
  color: rgba(255, 255, 255, 0.32);
  cursor: not-allowed;
}

.hm-clan-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 9rem;
  border: 1px dashed rgba(139, 92, 246, 0.42);
  border-radius: 8px;
  padding: 1.2rem;
}

.hm-clan-empty > img {
  width: 4rem;
}

.hm-clan-empty h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 950;
}

.hm-clan-empty p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
}

.hm-clan-empty > a {
  margin-left: auto;
  border-radius: 7px;
  background: #8b5cf6;
  padding: 0.6rem 0.85rem;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
}

.hm-clan-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.hm-clan-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.hm-clan-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 1, 18, 0.86);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.hm-clan-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(90vw, 25rem);
  border: 1px solid rgba(139, 92, 246, 0.62);
  border-radius: 8px;
  outline: 0;
  background: linear-gradient(150deg, #281768, #110a36);
  padding: 1.4rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.58);
}

.hm-clan-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(7, 2, 28, 0.48);
  color: #fff;
}

.hm-clan-modal-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  aspect-ratio: 1;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.1);
}

.hm-clan-modal-icon img {
  width: 1.8rem;
}

.hm-clan-modal h2 {
  margin: 0.3rem 0 0;
  font-size: 1.4rem;
  font-weight: 950;
}

.hm-clan-modal-dialog > p:not(.hm-me-kicker) {
  margin: 0.45rem 0 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  line-height: 1.5;
}

.hm-clan-modal form {
  display: grid;
  gap: 0.55rem;
}

.hm-clan-modal label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 900;
}

.hm-clan-modal input {
  min-height: 2.8rem;
  border: 1px solid rgba(139, 92, 246, 0.44);
  border-radius: 7px;
  outline: 0;
  background: rgba(7, 2, 28, 0.42);
  padding: 0.65rem 0.75rem;
  color: #fff;
}

.hm-clan-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.7rem;
  font-weight: 850;
}

.hm-clan-breadcrumb a {
  color: #c4b5fd;
}

.hm-clan-create-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 12rem;
  overflow: hidden;
  padding: clamp(1.3rem, 3vw, 2.4rem);
}

.hm-clan-create-hero > div:first-child {
  position: relative;
  z-index: 2;
  max-width: 48rem;
}

.hm-clan-create-hero h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.hm-clan-create-hero-art {
  position: relative;
  width: 13rem;
  min-height: 9rem;
}

.hm-clan-create-hero-art > span {
  position: absolute;
  inset: 0.3rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 50%;
  transform: scaleY(0.58) rotate(-15deg);
}

.hm-clan-create-hero-art img:nth-of-type(1) {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4.8rem;
  transform: translate(-50%, -50%) scale(2);
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 20px rgba(7, 2, 28, 0.5));
}

.hm-clan-create-hero-art img:nth-of-type(2) {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 3rem;
}

.hm-clan-create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.72fr);
  gap: 1rem;
  margin-top: 1rem;
}

.hm-clan-form-panel,
.hm-clan-preview-panel {
  padding: clamp(1rem, 2.4vw, 1.6rem);
}

.hm-clan-section-heading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hm-clan-section-heading > span {
  display: grid;
  place-items: center;
  width: 2.35rem;
  aspect-ratio: 1;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.08);
  color: #7dd3fc;
  font-size: 0.66rem;
  font-weight: 950;
}

.hm-clan-section-heading h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 950;
}

.hm-clan-section-heading p {
  margin: 0.1rem 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.67rem;
}

.hm-clan-section-heading--access {
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding-top: 1rem;
}

.hm-clan-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.hm-clan-field {
  display: grid;
  gap: 0.38rem;
}

.hm-clan-field > label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.7rem;
  font-weight: 900;
}

.hm-clan-field-control {
  position: relative;
}

.hm-clan-field input,
.hm-clan-field textarea {
  width: 100%;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 8px;
  outline: 0;
  background: rgba(7, 2, 28, 0.38);
  padding: 0.7rem 0.8rem;
  color: #fff;
  font-size: 0.78rem;
}

.hm-clan-field input {
  min-height: 3rem;
}

.hm-clan-field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.hm-clan-field input:focus,
.hm-clan-field textarea:focus {
  border-color: var(--hm-clan-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.06);
}

.hm-clan-field-control > span {
  position: absolute;
  right: 0.6rem;
  bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.56rem;
}

.hm-clan-field ul,
.hm-clan-access-control ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #fda4af;
  font-size: 0.66rem;
}

.hm-clan-password-field > small {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.62rem;
}

.hm-clan-password-field[hidden] {
  display: none;
}

.hm-clan-access-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.hm-clan-access-control button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  -moz-column-gap: 0.55rem;
       column-gap: 0.55rem;
  align-items: center;
  min-height: 4.4rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  padding: 0.7rem;
  color: rgba(255, 255, 255, 0.48);
  text-align: left;
}

.hm-clan-access-control button > span {
  grid-row: 1 / 3;
  color: #a78bfa;
  font-size: 1.1rem;
}

.hm-clan-access-control button strong {
  font-size: 0.75rem;
}

.hm-clan-access-control button small {
  font-size: 0.58rem;
}

.hm-clan-access-control button.is-active {
  border-color: rgba(56, 189, 248, 0.58);
  background: rgba(56, 189, 248, 0.08);
  color: #e0f2fe;
  box-shadow: inset 0 0 20px rgba(56, 189, 248, 0.04);
}

.hm-clan-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

.hm-clan-form-actions > a {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  font-weight: 900;
}

.hm-clan-form-actions > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.8rem;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #7555e9, #8b5cf6);
  padding: 0.55rem 0.9rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.hm-clan-form-actions img {
  width: 1.45rem;
}

.hm-clan-preview-panel {
  align-self: start;
  position: sticky;
  top: 1rem;
}

.hm-clan-preview-card {
  overflow: hidden;
  margin-top: 0.65rem;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 8px;
  background: rgba(7, 2, 28, 0.4);
}

.hm-clan-preview-banner {
  position: relative;
  height: 8.8rem;
}

.hm-clan-preview-banner > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.hm-clan-preview-banner > span {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  border-radius: 999px;
  background: rgba(7, 2, 28, 0.72);
  padding: 0.3rem 0.55rem;
  font-size: 0.58rem;
  font-weight: 900;
}

.hm-clan-preview-banner > b {
  position: absolute;
  left: 0.75rem;
  bottom: -1.6rem;
  display: grid;
  place-items: center;
  width: 3.8rem;
  aspect-ratio: 1;
  border: 2px solid #17103f;
  border-radius: 50%;
  background: #5b3eb4;
}

.hm-clan-preview-banner > b img {
  width: 2rem;
}

.hm-clan-preview-body {
  padding: 2rem 0.9rem 0.9rem;
}

.hm-clan-preview-body > small {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.56rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hm-clan-preview-body h2 {
  margin: 0.12rem 0 0;
  font-size: 1.3rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.hm-clan-preview-body > p {
  min-height: 3.1rem;
  margin: 0.45rem 0 0.7rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.7rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hm-clan-preview-leader {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-top: 1px solid rgba(139, 92, 246, 0.18);
  padding-top: 0.7rem;
}

.hm-clan-preview-leader > span {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 3rem;
  aspect-ratio: 1;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 50%;
  background: #7654e5;
}

.hm-clan-preview-leader img {
  width: 3.7rem;
  max-width: none;
  transform: translateY(0.3rem);
}

.hm-clan-preview-leader div {
  display: grid;
}

.hm-clan-preview-leader small {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.56rem;
}

.hm-clan-preview-leader strong {
  font-size: 0.72rem;
}

.hm-clan-create-note {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.75rem;
  border-left: 2px solid var(--hm-clan-gold);
  background: rgba(251, 191, 36, 0.05);
  padding: 0.7rem;
}

.hm-clan-create-note img {
  width: 2.8rem;
  height: 2.8rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-clan-create-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.66rem;
  line-height: 1.45;
}

.hm-clan-create-note strong {
  display: block;
  color: #fff;
}

.hm-clan-base-hero {
  position: relative;
  min-height: 23rem;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.hm-clan-base-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.56;
}

.hm-clan-base-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 7, 47, 0.98) 0%, rgba(23, 10, 73, 0.84) 48%, rgba(10, 5, 37, 0.42));
}

.hm-clan-base-emblem {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: grid;
  place-items: center;
  width: 5rem;
  aspect-ratio: 1;
  border: 1px solid rgba(251, 191, 36, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.18), rgba(24, 12, 61, 0.78));
}

.hm-clan-base-emblem img {
  width: 2.5rem;
}

.hm-clan-base-copy {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.hm-clan-base-meta {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.hm-clan-base-meta span {
  border: 1px solid rgba(56, 189, 248, 0.34);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.07);
  padding: 0.3rem 0.58rem;
  color: #bae6fd;
  font-size: 0.56rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hm-clan-base-copy h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.hm-clan-base-leader {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.hm-clan-base-leader > span {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 3.2rem;
  aspect-ratio: 1;
  border: 2px solid rgba(251, 191, 36, 0.46);
  border-radius: 50%;
  background: #7654e5;
}

.hm-clan-base-leader img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transform: scale(1.22);
}

.hm-clan-base-leader div {
  display: grid;
}

.hm-clan-base-leader small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.57rem;
}

.hm-clan-base-leader strong {
  font-size: 0.76rem;
}

.hm-clan-level-card {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 3;
  width: min(28rem, 42%);
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 8px;
  background: rgba(13, 7, 47, 0.78);
  padding: 0.85rem;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.hm-clan-level-card > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.hm-clan-level-card span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.65rem;
  font-weight: 850;
}

.hm-clan-level-card strong {
  color: #fde68a;
  font-size: 0.72rem;
}

.hm-clan-level-track {
  overflow: hidden;
  height: 0.42rem;
  margin: 0.55rem 0 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.hm-clan-level-track > span {
  display: block;
  width: var(--clan-progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hm-clan-cyan), var(--hm-clan-violet), #f472b6);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

.hm-clan-level-card small {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.56rem;
}

.hm-clan-leave-form {
  position: absolute;
  right: 1.4rem;
  top: 1.4rem;
  z-index: 4;
  margin-right: 6rem;
}

.hm-clan-leave-form button {
  border: 1px solid rgba(251, 113, 133, 0.32);
  border-radius: 7px;
  background: rgba(159, 18, 57, 0.14);
  padding: 0.45rem 0.7rem;
  color: #fecdd3;
  font-size: 0.62rem;
  font-weight: 900;
}

.hm-clan-base-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.65fr);
  gap: 1rem;
  margin-top: 1rem;
}

.hm-clan-members-panel,
.hm-clan-chat-panel {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.hm-clan-panel-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.6rem;
  font-weight: 900;
}

.hm-clan-panel-heading > span img {
  width: 1.3rem;
}

.hm-clan-member-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.hm-clan-member-card {
  position: relative;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  min-height: 10.5rem;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(50, 32, 116, 0.72), rgba(15, 9, 48, 0.92));
}

.hm-clan-member-card.is-leader {
  border-color: rgba(251, 191, 36, 0.42);
  box-shadow: inset 0 0 24px rgba(251, 191, 36, 0.035);
}

.hm-clan-member-space {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.55;
}

.hm-clan-member-space span,
.hm-clan-member-space i,
.hm-clan-member-space b {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.hm-clan-member-space span {
  top: 1rem;
  right: 1.2rem;
  width: 0.35rem;
  aspect-ratio: 1;
  background: var(--hm-clan-cyan);
  box-shadow: 0 0 12px var(--hm-clan-cyan);
}

.hm-clan-member-space i {
  bottom: -2rem;
  left: -1rem;
  width: 8rem;
  aspect-ratio: 1;
  border: 1px solid rgba(139, 92, 246, 0.18);
}

.hm-clan-member-space b {
  top: 40%;
  left: 52%;
  width: 0.2rem;
  aspect-ratio: 1;
  background: #fff;
}

.hm-clan-member-rank {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  border: 1px solid rgba(251, 191, 36, 0.38);
  border-radius: 999px;
  background: rgba(146, 64, 14, 0.16);
  padding: 0.25rem 0.45rem;
  color: #fde68a;
  font-size: 0.5rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hm-clan-member-avatar {
  position: relative;
  align-self: end;
  width: 7rem;
  height: 9.2rem;
  overflow: hidden;
  border-right: 1px solid rgba(139, 92, 246, 0.18);
  background: radial-gradient(circle at 50% 68%, rgba(139, 92, 246, 0.36), transparent 62%);
}

.hm-clan-member-avatar::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  bottom: 0.6rem;
  left: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(7, 2, 28, 0.4);
  filter: blur(4px);
}

.hm-clan-member-avatar img {
  position: absolute;
  z-index: 2;
  bottom: -0.8rem;
  left: 50%;
  width: auto;
  max-width: none;
  height: 9rem;
  transform: translateX(-50%);
}

.hm-clan-member-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  padding: 1rem 0.8rem 2.6rem;
}

.hm-clan-member-copy h3 {
  margin: 0;
  padding-right: 3rem;
  font-size: 1rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.hm-clan-member-copy > p {
  margin: 0.15rem 0 0.65rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.62rem;
}

.hm-clan-member-copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hm-clan-member-copy > div span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  padding: 0.3rem 0.45rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.55rem;
  font-weight: 800;
}

.hm-clan-member-copy > div img {
  width: 1rem;
  height: 1rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-clan-member-actions {
  position: absolute;
  right: 0.7rem;
  bottom: 0.65rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hm-clan-member-actions a,
.hm-clan-member-actions button {
  border: 0;
  background: transparent;
  color: #c4b5fd;
  font-size: 0.58rem;
  font-weight: 900;
}

.hm-clan-member-actions button {
  color: #fda4af;
}

.hm-clan-chat-panel {
  align-self: start;
  position: sticky;
  top: 1rem;
  min-width: 0;
}

.hm-clan-live {
  color: #86efac !important;
}

.hm-clan-live i {
  width: 0.42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
}

.hm-clan-messages {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  height: 25rem;
  overflow-y: auto;
  margin-top: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  background: rgba(7, 2, 28, 0.3);
  padding: 0.75rem;
  scrollbar-width: thin;
}

.hm-clan-message {
  display: grid;
  grid-template-columns: 2.55rem minmax(0, 1fr);
  align-items: end;
  gap: 0.5rem;
}

.hm-clan-message > span {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 2.55rem;
  aspect-ratio: 1;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 50%;
  background: #7654e5;
}

.hm-clan-message > span img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transform: scale(1.25);
}

.hm-clan-message > div {
  min-width: 0;
  border-radius: 8px 8px 8px 2px;
  background: rgba(255, 255, 255, 0.055);
  padding: 0.55rem 0.65rem;
}

.hm-clan-message.is-mine > div {
  background: rgba(139, 92, 246, 0.16);
}

.hm-clan-message header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.hm-clan-message header strong {
  font-size: 0.63rem;
}

.hm-clan-message time {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.5rem;
}

.hm-clan-message p {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.hm-clan-message-empty {
  display: grid;
  justify-items: center;
  align-self: center;
  gap: 0.45rem;
  margin: auto;
  text-align: center;
}

.hm-clan-message-empty img {
  width: 3.8rem;
}

.hm-clan-message-empty p {
  max-width: 13rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.66rem;
}

.hm-clan-message-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.hm-clan-message-form > label {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.62rem;
  font-weight: 900;
}

.hm-clan-message-form > div {
  position: relative;
}

.hm-clan-message-form textarea {
  width: 100%;
  min-height: 3.4rem;
  max-height: 8rem;
  resize: vertical;
  border: 1px solid rgba(139, 92, 246, 0.36);
  border-radius: 8px;
  outline: 0;
  background: rgba(7, 2, 28, 0.38);
  padding: 0.65rem 0.7rem 1.15rem;
  color: #fff;
  font-size: 0.7rem;
}

.hm-clan-message-form textarea:focus {
  border-color: var(--hm-clan-cyan);
}

.hm-clan-message-form > div > span {
  position: absolute;
  right: 0.5rem;
  bottom: 0.32rem;
  color: rgba(255, 255, 255, 0.26);
  font-size: 0.52rem;
}

.hm-clan-message-form > button {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 3.4rem;
  border: 0;
  border-radius: 8px;
  background: #8b5cf6;
  padding: 0.5rem 0.7rem;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
}

.hm-clan-message-form > button img {
  width: 1.4rem;
}

.hm-clan-message-form > p {
  grid-column: 1 / -1;
  min-height: 0.8rem;
  margin: 0;
  color: #bae6fd;
  font-size: 0.58rem;
}

.hm-clan-hero,
.hm-clan-toolbar,
.hm-clan-directory,
.hm-clan-card,
.hm-clan-create-hero,
.hm-clan-form-panel,
.hm-clan-preview-panel,
.hm-clan-base-hero,
.hm-clan-members-panel,
.hm-clan-chat-panel,
.hm-clan-member-card {
  will-change: transform, opacity;
}

@media (max-width: 1180px) {
  .hm-clan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-clan-base-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.72fr);
  }

  .hm-clan-member-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hm-clan-hero {
    grid-template-columns: minmax(0, 1fr) 15rem;
  }

  .hm-clan-create-layout {
    grid-template-columns: minmax(0, 1fr) 17rem;
  }

  .hm-clan-base-layout {
    grid-template-columns: 1fr;
  }

  .hm-clan-chat-panel {
    position: static;
  }

  .hm-clan-member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hm-clan-hero {
    grid-template-columns: 1fr;
    min-height: 25rem;
    padding-bottom: 10rem;
  }

  .hm-clan-hero-copy h1 {
    font-size: 3.4rem;
  }

  .hm-clan-hero-visual {
    position: absolute;
    right: -1rem;
    bottom: 0.5rem;
    width: 17rem;
    min-height: 10rem;
    opacity: 0.72;
  }

  .hm-clan-primary-action {
    right: auto;
    left: 1.4rem;
  }

  .hm-clan-filter-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hm-clan-sort {
    justify-content: space-between;
  }

  .hm-clan-grid {
    grid-template-columns: 1fr;
  }

  .hm-clan-create-layout {
    grid-template-columns: 1fr;
  }

  .hm-clan-preview-panel {
    position: static;
  }

  .hm-clan-base-hero {
    min-height: 31rem;
  }

  .hm-clan-base-copy h1 {
    padding-right: 4rem;
    font-size: 3.7rem;
  }

  .hm-clan-level-card {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: auto;
  }

  .hm-clan-leave-form {
    top: auto;
    right: auto;
    bottom: 7.5rem;
    left: 1rem;
    margin: 0;
  }

  .hm-clan-member-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hm-clan-hero {
    min-height: 27rem;
    padding: 1.1rem 1rem 10rem;
  }

  .hm-clan-hero-copy h1 {
    font-size: 2.65rem;
  }

  .hm-clan-hero-copy > p:not(.hm-me-kicker) {
    font-size: 0.78rem;
  }

  .hm-clan-stats {
    gap: 0.9rem;
  }

  .hm-clan-stats strong {
    font-size: 1.05rem;
  }

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

  .hm-clan-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hm-clan-filters {
    overflow-x: auto;
  }

  .hm-clan-directory {
    padding: 0.85rem;
  }

  .hm-clan-card-banner {
    height: 6.8rem;
  }

  .hm-clan-empty {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .hm-clan-empty > a {
    margin: 0;
  }

  .hm-clan-create-hero {
    min-height: 11rem;
    padding: 1.1rem;
  }

  .hm-clan-create-hero h1 {
    font-size: 2.3rem;
  }

  .hm-clan-create-hero-art {
    width: 5rem;
    opacity: 0.68;
  }

  .hm-clan-create-hero-art img:nth-of-type(1) {
    width: 2.8rem;
  }

  .hm-clan-form-panel,
    .hm-clan-preview-panel {
    padding: 0.9rem;
  }

  .hm-clan-access-control {
    grid-template-columns: 1fr;
  }

  .hm-clan-form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    text-align: center;
  }

  .hm-clan-form-actions > button {
    width: 100%;
  }

  .hm-clan-base-hero {
    min-height: 30rem;
    padding: 1.1rem;
  }

  .hm-clan-base-emblem {
    width: 3.8rem;
  }

  .hm-clan-base-emblem img {
    width: 2rem;
  }

  .hm-clan-base-copy h1 {
    padding-right: 3.2rem;
    font-size: 2.8rem;
  }

  .hm-clan-base-copy > p:not(.hm-me-kicker) {
    font-size: 0.75rem;
  }

  .hm-clan-members-panel,
    .hm-clan-chat-panel {
    padding: 0.85rem;
  }

  .hm-clan-member-card {
    grid-template-columns: 6.2rem minmax(0, 1fr);
  }

  .hm-clan-member-avatar {
    width: 6.2rem;
  }

  .hm-clan-member-avatar img {
    height: 8.5rem;
  }

  .hm-clan-message-form {
    grid-template-columns: 1fr;
  }

  .hm-clan-message-form > button {
    width: 100%;
    min-height: 2.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-clan-page *,
    .hm-clan-page *::before,
    .hm-clan-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* MoonCoins shop V2 */

.hm-mooncoins-page {
  --hm-mooncoins-violet: #8b5cf6;
  --hm-mooncoins-violet-2: #a855f7;
  --hm-mooncoins-cyan: #38bdf8;
  --hm-mooncoins-gold: #f5c84b;
  --hm-mooncoins-rose: #ec4899;
  --hm-mooncoins-panel: rgba(31, 23, 76, 0.78);
  --hm-mooncoins-panel-strong: rgba(25, 18, 62, 0.94);
  --hm-mooncoins-border: rgba(139, 92, 246, 0.62);
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: clamp(1rem, 2vw, 2rem);
  padding-bottom: 11rem;
  color: #fff;
  overflow-x: hidden;
}

.hm-mooncoins-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
        radial-gradient(circle at 68% 18%, rgba(109, 40, 217, 0.45), transparent 34rem),
        radial-gradient(circle at 18% 48%, rgba(56, 189, 248, 0.12), transparent 28rem),
        linear-gradient(135deg, rgba(15, 7, 48, 0.96), rgba(34, 10, 86, 0.9) 48%, rgba(10, 5, 35, 0.96));
}

.hm-mooncoins-page > :not(.hm-me-stars):not(.hm-me-footer-visual) {
  position: relative;
  z-index: 2;
}

.hm-mooncoins-hero,
.hm-mooncoins-info-strip,
.hm-mooncoins-shop {
  border: 1px solid var(--hm-mooncoins-border);
  border-radius: 8px;
  background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(14, 8, 45, 0.86)),
        rgba(26, 19, 65, 0.74);
  box-shadow: 0 24px 70px rgba(10, 4, 36, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hm-mooncoins-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(13rem, 0.48fr);
  gap: clamp(0.8rem, 2vw, 1.5rem);
  min-height: 15rem;
  padding: clamp(1rem, 2vw, 1.55rem);
  overflow: hidden;
}

.hm-mooncoins-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
}

.hm-mooncoins-hero-copy {
  align-self: center;
  max-width: 47rem;
}

.hm-mooncoins-hero-copy h1 {
  max-width: 13ch;
  margin: 0.36rem 0 0;
  color: #fff;
  font-size: clamp(2.65rem, 5.6vw, 4.85rem);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 0 32px rgba(139, 92, 246, 0.34);
}

.hm-mooncoins-hero-copy > p:not(.hm-me-kicker) {
  max-width: 39rem;
  margin: 0.78rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.78rem, 1.05vw, 0.96rem);
  font-weight: 800;
  line-height: 1.42;
}

.hm-mooncoins-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  max-width: 37rem;
  margin-top: clamp(0.85rem, 1.4vw, 1.2rem);
}

.hm-mooncoins-stats > div {
  min-width: 0;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 8px;
  background: rgba(9, 5, 35, 0.48);
}

.hm-mooncoins-stats strong,
.hm-mooncoins-stats span {
  display: block;
}

.hm-mooncoins-stats strong {
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 1.48rem);
  font-weight: 950;
  line-height: 1;
}

.hm-mooncoins-stats span {
  margin-top: 0.22rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hm-mooncoins-hero-visual {
  position: relative;
  min-height: 12.4rem;
}

.hm-mooncoins-hero-coin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(6rem, 11vw, 8.9rem);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 38px rgba(139, 92, 246, 0.72));
}

.hm-mooncoins-hero-moon {
  position: absolute;
  right: 6%;
  bottom: 5%;
  width: clamp(3.1rem, 5.5vw, 4.6rem);
  opacity: 0.86;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.35));
}

.hm-mooncoins-hero-meteor {
  position: absolute;
  width: clamp(2.3rem, 4vw, 3.3rem);
  opacity: 0.8;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.hm-mooncoins-hero-meteor--one {
  top: 9%;
  right: 17%;
}

.hm-mooncoins-hero-meteor--two {
  bottom: 18%;
  left: 5%;
  width: clamp(2rem, 3.4vw, 2.8rem);
}

.hm-mooncoins-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.hm-mooncoins-orbit--one {
  width: clamp(8.5rem, 18vw, 14rem);
  height: clamp(5.8rem, 11vw, 9rem);
}

.hm-mooncoins-orbit--two {
  width: clamp(10rem, 21vw, 16.5rem);
  height: clamp(6.6rem, 13vw, 10.6rem);
  transform: translate(-50%, -50%) rotate(18deg);
}

.hm-mooncoins-info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.62rem;
  padding: 0.62rem;
}

.hm-mooncoins-info-strip > div {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  -moz-column-gap: 0.58rem;
       column-gap: 0.58rem;
  align-items: center;
  min-width: 0;
  padding: 0.52rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.hm-mooncoins-info-strip img {
  grid-row: span 2;
  justify-self: center;
  max-width: 1.9rem;
  max-height: 1.9rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-mooncoins-info-strip strong {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 950;
}

.hm-mooncoins-info-strip span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1.25;
}

.hm-mooncoins-shop {
  margin-top: 1rem;
  padding: clamp(1rem, 2.4vw, 1.6rem);
}

.hm-mooncoins-shop-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hm-mooncoins-shop-heading h2 {
  margin: 0.3rem 0 0;
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 3.1rem);
  font-weight: 950;
  line-height: 0.95;
}

.hm-mooncoins-shop-heading > span {
  flex: 0 0 auto;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(56, 189, 248, 0.12);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hm-mooncoins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 18.5rem));
  justify-content: start;
  gap: 0.85rem;
}

.hm-mooncoins-pack {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 17.4rem;
  padding: 0.82rem;
  border: 1px solid rgba(139, 92, 246, 0.48);
  border-radius: 8px;
  background:
        radial-gradient(circle at 82% 8%, rgba(245, 200, 75, 0.16), transparent 5rem),
        radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.14), transparent 6rem),
        linear-gradient(180deg, rgba(53, 39, 112, 0.88), rgba(12, 7, 41, 0.97));
  box-shadow: 0 13px 30px rgba(7, 3, 29, 0.3);
  overflow: hidden;
}

.hm-mooncoins-pack::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.92) 1px, transparent 1.5px),
        radial-gradient(circle, rgba(139, 92, 246, 0.8) 1px, transparent 1.6px);
  background-position: 0 0, 1.4rem 1.1rem;
  background-size: 5.5rem 5.5rem, 7rem 7rem;
}

.hm-mooncoins-pack-glow {
  position: absolute;
  inset: auto -20% -32% -20%;
  height: 42%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.42), transparent 62%);
  opacity: 0.74;
}

.hm-mooncoins-pack.is-featured {
  border-color: rgba(245, 200, 75, 0.72);
  background:
        radial-gradient(circle at 68% 0%, rgba(245, 200, 75, 0.24), transparent 11rem),
        radial-gradient(circle at 8% 85%, rgba(56, 189, 248, 0.18), transparent 11rem),
        linear-gradient(180deg, rgba(59, 42, 116, 0.92), rgba(14, 7, 43, 0.98));
}

.hm-mooncoins-pack-ribbon {
  position: absolute;
  top: 0.68rem;
  right: 0.68rem;
  z-index: 2;
  padding: 0.34rem 0.5rem;
  border: 1px solid rgba(245, 200, 75, 0.46);
  border-radius: 999px;
  color: #ffe89a;
  background: rgba(245, 158, 11, 0.17);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-mooncoins-pack-header,
.hm-mooncoins-pack-price,
.hm-mooncoins-pack-meta,
.hm-mooncoins-buy {
  position: relative;
  z-index: 1;
}

.hm-mooncoins-pack-header {
  display: grid;
  grid-template-columns: 4.05rem minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
  min-height: 5rem;
  padding-top: 0.55rem;
}

.hm-mooncoins-pack-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.05rem;
  height: 4.05rem;
  border: 1px solid rgba(245, 200, 75, 0.36);
  border-radius: 999px;
  background:
        radial-gradient(circle at 35% 28%, rgba(255, 232, 154, 0.22), transparent 1.2rem),
        radial-gradient(circle, rgba(139, 92, 246, 0.42), rgba(20, 13, 58, 0.78) 64%);
  box-shadow:
        inset 0 0 0 0.28rem rgba(255, 255, 255, 0.05),
        0 0 24px rgba(139, 92, 246, 0.38);
}

.hm-mooncoins-pack-icon::before,
.hm-mooncoins-pack-icon::after {
  content: "";
  position: absolute;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #f5c84b;
  box-shadow: 0 0 12px rgba(245, 200, 75, 0.65);
}

.hm-mooncoins-pack-icon::before {
  top: 0.28rem;
  right: 0.5rem;
}

.hm-mooncoins-pack-icon::after {
  bottom: 0.38rem;
  left: 0.42rem;
  width: 0.28rem;
  height: 0.28rem;
  background: #38bdf8;
}

.hm-mooncoins-pack-icon img {
  width: 2.45rem;
  filter: drop-shadow(0 0 14px rgba(245, 200, 75, 0.42));
}

.hm-mooncoins-pack-header small {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-mooncoins-pack-header h3 {
  margin: 0.08rem 0 0;
  color: #fff;
  font-size: clamp(1.62rem, 2.4vw, 2.22rem);
  font-weight: 950;
  line-height: 0.92;
  text-shadow: 0 0 22px rgba(139, 92, 246, 0.32);
}

.hm-mooncoins-pack-header p {
  margin: 0.12rem 0 0;
  color: rgba(196, 181, 253, 0.86);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hm-mooncoins-pack-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.72rem;
  padding: 0.62rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
        linear-gradient(135deg, rgba(245, 200, 75, 0.13), transparent),
        rgba(7, 4, 31, 0.42);
}

.hm-mooncoins-pack-price span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hm-mooncoins-pack-price strong {
  color: #fff;
  font-size: 1.28rem;
  font-weight: 950;
  line-height: 1;
}

.hm-mooncoins-pack-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.62rem;
}

.hm-mooncoins-pack-meta span {
  display: flex;
  align-items: center;
  flex: 1 1 8rem;
  gap: 0.38rem;
  min-height: 2.18rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.2;
}

.hm-mooncoins-pack-meta img {
  width: 1.18rem;
  height: 1.18rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-mooncoins-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  min-height: 2.65rem;
  margin-top: auto;
  padding: 0.62rem 0.72rem;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(135deg, var(--hm-mooncoins-violet), var(--hm-mooncoins-violet-2));
  box-shadow: 0 14px 30px rgba(139, 92, 246, 0.26);
  cursor: not-allowed;
}

.hm-mooncoins-buy span,
.hm-mooncoins-buy small {
  display: block;
}

.hm-mooncoins-buy span {
  font-size: 0.78rem;
  font-weight: 950;
}

.hm-mooncoins-buy small {
  padding: 0.24rem 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.55rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-mooncoins-empty {
  display: flex;
  align-items: center;
  gap: 1rem;
  grid-column: 1 / -1;
  min-height: 10rem;
  padding: 1.2rem;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 8px;
  background: rgba(9, 5, 35, 0.46);
}

.hm-mooncoins-empty img {
  width: 4.5rem;
}

.hm-mooncoins-empty h2 {
  margin: 0;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 950;
}

.hm-mooncoins-empty p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.hm-mooncoins-hero,
.hm-mooncoins-info-strip,
.hm-mooncoins-shop,
.hm-mooncoins-pack {
  will-change: transform, opacity;
}

@media (max-width: 1180px) {
  .hm-mooncoins-grid {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 18rem));
  }
}

@media (max-width: 920px) {
  .hm-mooncoins-hero {
    grid-template-columns: 1fr;
  }

  .hm-mooncoins-hero-visual {
    min-height: 10rem;
  }

  .hm-mooncoins-info-strip {
    grid-template-columns: 1fr;
  }

  .hm-mooncoins-shop-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hm-mooncoins-page {
    padding: 0.75rem 0.75rem 8rem;
  }

  .hm-mooncoins-hero {
    min-height: 22rem;
    padding: 1rem;
  }

  .hm-mooncoins-hero-copy h1 {
    font-size: 2.75rem;
  }

  .hm-mooncoins-stats {
    grid-template-columns: 1fr;
  }

  .hm-mooncoins-hero-visual {
    position: absolute;
    right: -1.8rem;
    bottom: 0.6rem;
    width: 13rem;
    opacity: 0.68;
  }

  .hm-mooncoins-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }

  .hm-mooncoins-pack {
    min-height: 16.4rem;
  }

  .hm-mooncoins-pack-header {
    grid-template-columns: 3.9rem minmax(0, 1fr);
  }

  .hm-mooncoins-pack-icon {
    width: 3.9rem;
    height: 3.9rem;
  }

  .hm-mooncoins-pack-icon img {
    width: 2.3rem;
  }

  .hm-mooncoins-empty {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-mooncoins-page *,
    .hm-mooncoins-page *::before,
    .hm-mooncoins-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* VIP shop V2 */

.hm-vip-page {
  --hm-vip-violet: #8b5cf6;
  --hm-vip-magenta: #c026d3;
  --hm-vip-gold: #f5c84b;
  --hm-vip-cyan: #38bdf8;
  --hm-vip-panel: rgba(29, 21, 74, 0.78);
  --hm-vip-border: rgba(139, 92, 246, 0.62);
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: clamp(1rem, 2vw, 2rem);
  padding-bottom: 11rem;
  color: #fff;
  overflow-x: hidden;
}

.hm-vip-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
        radial-gradient(circle at 72% 20%, rgba(192, 38, 211, 0.32), transparent 30rem),
        radial-gradient(circle at 18% 55%, rgba(245, 200, 75, 0.1), transparent 24rem),
        linear-gradient(135deg, rgba(15, 7, 48, 0.97), rgba(42, 12, 91, 0.92) 52%, rgba(8, 5, 32, 0.98));
}

.hm-vip-page > :not(.hm-me-stars):not(.hm-me-footer-visual):not(.hm-vip-modal) {
  position: relative;
  z-index: 2;
}

.hm-vip-flashes {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.hm-vip-flash {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: min(100%, 34rem);
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(31, 23, 76, 0.76);
  box-shadow: 0 12px 28px rgba(6, 2, 26, 0.24);
  font-size: 0.82rem;
  font-weight: 900;
}

.hm-vip-flash img {
  width: 1.7rem;
  height: 1.7rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-vip-flash--success {
  border-color: rgba(74, 222, 128, 0.42);
  background: rgba(22, 101, 52, 0.24);
}

.hm-vip-flash--danger {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(127, 29, 29, 0.24);
}

.hm-vip-flash--warning {
  border-color: rgba(245, 200, 75, 0.5);
  background: rgba(146, 64, 14, 0.22);
}

.hm-vip-hero,
.hm-vip-pass-card,
.hm-vip-benefits {
  border: 1px solid var(--hm-vip-border);
  border-radius: 8px;
  background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(14, 8, 45, 0.86)),
        rgba(26, 19, 65, 0.72);
  box-shadow: 0 24px 70px rgba(10, 4, 36, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hm-vip-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.5fr);
  gap: clamp(0.9rem, 2vw, 1.5rem);
  min-height: 16rem;
  padding: clamp(1rem, 2vw, 1.6rem);
  overflow: hidden;
}

.hm-vip-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
}

.hm-vip-copy {
  align-self: center;
  max-width: 46rem;
}

.hm-vip-copy h1 {
  max-width: 10ch;
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(139, 92, 246, 0.36);
}

.hm-vip-copy > p:not(.hm-me-kicker) {
  max-width: 39rem;
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.8rem, 1.08vw, 0.98rem);
  font-weight: 800;
  line-height: 1.45;
}

.hm-vip-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  max-width: 37rem;
  margin-top: 1rem;
}

.hm-vip-status-grid > div {
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 8px;
  background: rgba(9, 5, 35, 0.48);
}

.hm-vip-status-grid strong,
.hm-vip-status-grid span {
  display: block;
}

.hm-vip-status-grid strong {
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  font-weight: 950;
  line-height: 1;
}

.hm-vip-status-grid span {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hm-vip-visual {
  position: relative;
  min-height: 12.5rem;
}

.hm-vip-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(7rem, 13vw, 10.5rem);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 38px rgba(245, 200, 75, 0.32)) drop-shadow(0 0 32px rgba(139, 92, 246, 0.44));
}

.hm-vip-coin,
.hm-vip-moon {
  position: absolute;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.3));
}

.hm-vip-coin {
  right: 12%;
  bottom: 12%;
  width: clamp(2.9rem, 5vw, 4.3rem);
}

.hm-vip-moon {
  top: 10%;
  left: 8%;
  width: clamp(2.8rem, 4.6vw, 4rem);
  opacity: 0.86;
}

.hm-vip-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.hm-vip-orbit--one {
  width: clamp(9rem, 18vw, 14.5rem);
  height: clamp(6rem, 11vw, 9.2rem);
}

.hm-vip-orbit--two {
  width: clamp(10.5rem, 22vw, 17rem);
  height: clamp(6.8rem, 13vw, 10.8rem);
  transform: translate(-50%, -50%) rotate(20deg);
}

.hm-vip-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.56fr) minmax(0, 1fr);
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.hm-vip-pass-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 21.5rem;
  padding: 0.88rem;
  overflow: hidden;
}

.hm-vip-pass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.9) 1px, transparent 1.5px),
        radial-gradient(circle, rgba(245, 200, 75, 0.75) 1px, transparent 1.6px);
  background-position: 0 0, 1.4rem 1.1rem;
  background-size: 5.4rem 5.4rem, 7rem 7rem;
}

.hm-vip-card-glow {
  position: absolute;
  inset: -20% -25% auto;
  height: 48%;
  width: auto;
  pointer-events: none;
  background: radial-gradient(circle, rgba(245, 200, 75, 0.24), transparent 62%);
}

.hm-vip-pass-top,
.hm-vip-pass-medal,
.hm-vip-price,
.hm-vip-conditions,
.hm-vip-pass-card form,
.hm-vip-details-trigger {
  position: relative;
  z-index: 1;
}

.hm-vip-pass-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.hm-vip-pass-top span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-vip-pass-top strong {
  padding: 0.34rem 0.55rem;
  border: 1px solid rgba(245, 200, 75, 0.44);
  border-radius: 999px;
  color: #ffe89a;
  background: rgba(245, 158, 11, 0.15);
  font-size: 0.6rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-vip-pass-medal {
  position: relative;
  display: grid;
  place-items: center;
  width: 8.25rem;
  height: 8.25rem;
  margin: 0.85rem auto 0.78rem;
  border: 1px solid rgba(245, 200, 75, 0.38);
  border-radius: 999px;
  background:
        radial-gradient(circle at 34% 28%, rgba(255, 232, 154, 0.22), transparent 2.2rem),
        radial-gradient(circle, rgba(139, 92, 246, 0.34), rgba(18, 11, 54, 0.82) 66%);
  box-shadow:
        inset 0 0 0 0.38rem rgba(255, 255, 255, 0.045),
        0 0 32px rgba(139, 92, 246, 0.34);
  overflow: hidden;
}

.hm-vip-pass-medal::before {
  content: "";
  position: absolute;
  width: 6.85rem;
  height: 6.85rem;
  border: 1px solid rgba(245, 200, 75, 0.26);
  border-radius: 999px;
  background: rgba(7, 4, 31, 0.34);
}

.hm-vip-pass-medal img {
  position: relative;
  z-index: 1;
  width: 5.25rem;
  filter: drop-shadow(0 0 24px rgba(245, 200, 75, 0.34));
}

.hm-vip-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem;
  border: 1px solid rgba(245, 200, 75, 0.2);
  border-radius: 8px;
  background:
        linear-gradient(135deg, rgba(245, 200, 75, 0.13), transparent),
        rgba(7, 4, 31, 0.42);
}

.hm-vip-price span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hm-vip-price strong {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
}

.hm-vip-price img {
  width: 1.45rem;
  height: 1.45rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-vip-conditions {
  margin-top: 0.55rem;
}

.hm-vip-conditions span {
  display: block;
  padding: 0.58rem 0.65rem;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.35;
}

.hm-vip-conditions .is-success {
  border-color: rgba(74, 222, 128, 0.34);
  color: #bbf7d0;
}

.hm-vip-conditions .is-warning {
  border-color: rgba(245, 200, 75, 0.38);
  color: #fde68a;
}

.hm-vip-conditions .is-danger {
  border-color: rgba(248, 113, 113, 0.42);
  color: #fecaca;
}

.hm-vip-buy,
.hm-vip-details-trigger {
  width: 100%;
  border: 0;
  border-radius: 8px;
  font-weight: 950;
}

.hm-vip-pass-card form {
  margin: 0;
}

.hm-vip-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 3rem;
  margin-top: 0.7rem;
  padding: 0.68rem 0.8rem;
  color: #fff;
  background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(135deg, var(--hm-vip-violet), var(--hm-vip-magenta));
  box-shadow: 0 15px 34px rgba(139, 92, 246, 0.28);
}

.hm-vip-buy:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.hm-vip-buy span {
  font-size: 0.84rem;
}

.hm-vip-buy small {
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-vip-details-trigger {
  margin-top: 0.52rem;
  min-height: 2.6rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.28);
}

.hm-vip-benefits {
  padding: 1rem;
}

.hm-vip-benefits-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.hm-vip-benefits-heading h2 {
  max-width: 16ch;
  margin: 0.3rem 0 0;
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  font-weight: 950;
  line-height: 0.95;
}

.hm-vip-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.hm-vip-benefit-grid article {
  min-height: 8rem;
  padding: 0.78rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  background:
        radial-gradient(circle at 88% 10%, rgba(139, 92, 246, 0.24), transparent 6rem),
        rgba(255, 255, 255, 0.055);
}

.hm-vip-benefit-grid img {
  width: 2.2rem;
  height: 2.2rem;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(139, 92, 246, 0.38));
}

.hm-vip-benefit-grid strong,
.hm-vip-benefit-grid span {
  display: block;
}

.hm-vip-benefit-grid strong {
  margin-top: 0.55rem;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 950;
}

.hm-vip-benefit-grid span {
  margin-top: 0.28rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
}

.hm-vip-note {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.75rem;
  padding: 0.72rem;
  border: 1px solid rgba(245, 200, 75, 0.22);
  border-radius: 8px;
  background: rgba(245, 200, 75, 0.08);
}

.hm-vip-note img {
  width: 2.1rem;
  height: 2.1rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-vip-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.35;
}

.hm-vip-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(6, 3, 24, 0.72);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.hm-vip-modal.is-open {
  display: grid;
}

.hm-vip-modal-dialog {
  position: relative;
  width: min(100%, 34rem);
  padding: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.58);
  border-radius: 8px;
  background:
        radial-gradient(circle at 80% 0%, rgba(245, 200, 75, 0.14), transparent 10rem),
        linear-gradient(135deg, rgba(45, 33, 105, 0.96), rgba(13, 8, 42, 0.98));
  box-shadow: 0 24px 70px rgba(3, 1, 16, 0.56);
  outline: none;
}

.hm-vip-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.3rem;
  font-weight: 900;
}

.hm-vip-modal-dialog h2 {
  max-width: 14ch;
  margin: 0.3rem 0 0;
  color: #fff;
  font-size: 2.25rem;
  font-weight: 950;
  line-height: 0.95;
}

.hm-vip-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.hm-vip-modal-grid span {
  padding: 0.68rem;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  font-weight: 950;
}

.hm-vip-modal-condition {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(245, 200, 75, 0.28);
  border-radius: 8px;
  background: rgba(245, 200, 75, 0.08);
}

.hm-vip-modal-condition strong {
  color: #ffe89a;
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hm-vip-modal-condition p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.45;
}

.hm-vip-hero,
.hm-vip-pass-card,
.hm-vip-benefits,
.hm-vip-benefit-grid article {
  will-change: transform, opacity;
}

@media (max-width: 1020px) {
  .hm-vip-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hm-vip-hero {
    grid-template-columns: 1fr;
    min-height: 22rem;
  }

  .hm-vip-copy h1 {
    font-size: 3rem;
  }

  .hm-vip-status-grid {
    grid-template-columns: 1fr;
  }

  .hm-vip-visual {
    position: absolute;
    right: -1rem;
    bottom: 0.4rem;
    width: 13rem;
    min-height: 10rem;
    opacity: 0.68;
  }

  .hm-vip-benefit-grid {
    grid-template-columns: 1fr;
  }

  .hm-vip-benefits-heading h2 {
    font-size: 2.2rem;
  }

  .hm-vip-modal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hm-vip-page {
    padding: 0.75rem 0.75rem 8rem;
  }

  .hm-vip-pass-card,
    .hm-vip-benefits {
    padding: 0.82rem;
  }

  .hm-vip-pass-medal {
    width: 7.35rem;
    height: 7.35rem;
  }

  .hm-vip-pass-medal::before {
    width: 6.1rem;
    height: 6.1rem;
  }

  .hm-vip-pass-medal img {
    width: 4.65rem;
  }

  .hm-vip-note {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-vip-page *,
    .hm-vip-page *::before,
    .hm-vip-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Chest shop V2 */

.hm-chest-page {
  --hm-chest-violet: #8b5cf6;
  --hm-chest-cyan: #38bdf8;
  --hm-chest-gold: #f5c84b;
  --hm-chest-panel: rgba(29, 21, 74, 0.78);
  --hm-chest-border: rgba(139, 92, 246, 0.62);
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: clamp(1rem, 2vw, 2rem);
  padding-bottom: 11rem;
  color: #fff;
  overflow-x: hidden;
}

.hm-chest-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
        radial-gradient(circle at 72% 22%, rgba(139, 92, 246, 0.36), transparent 31rem),
        radial-gradient(circle at 16% 58%, rgba(56, 189, 248, 0.12), transparent 24rem),
        linear-gradient(135deg, rgba(15, 7, 48, 0.97), rgba(38, 13, 92, 0.92) 52%, rgba(8, 5, 32, 0.98));
}

.hm-chest-page > :not(.hm-me-stars):not(.hm-me-footer-visual):not(.hm-chest-modal) {
  position: relative;
  z-index: 2;
}

.hm-chest-hero,
.hm-chest-shop {
  border: 1px solid var(--hm-chest-border);
  border-radius: 8px;
  background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(14, 8, 45, 0.86)),
        rgba(26, 19, 65, 0.72);
  box-shadow: 0 24px 70px rgba(10, 4, 36, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hm-chest-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.45fr);
  gap: 1rem;
  min-height: 14.5rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  overflow: hidden;
}

.hm-chest-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
}

.hm-chest-hero h1 {
  max-width: 12ch;
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: clamp(2.7rem, 5.8vw, 5rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(139, 92, 246, 0.36);
}

.hm-chest-hero p:not(.hm-me-kicker) {
  max-width: 39rem;
  margin: 0.78rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.8rem, 1.08vw, 0.98rem);
  font-weight: 800;
  line-height: 1.45;
}

.hm-chest-hero-visual {
  position: relative;
  min-height: 11rem;
}

.hm-chest-hero-chest {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(8rem, 14vw, 11rem);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 34px rgba(139, 92, 246, 0.5));
}

.hm-chest-hero-meteor {
  position: absolute;
  right: 12%;
  bottom: 8%;
  width: clamp(2.5rem, 4vw, 3.6rem);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.3));
}

.hm-chest-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.hm-chest-orbit--one {
  width: clamp(9rem, 18vw, 14rem);
  height: clamp(5.7rem, 11vw, 8.8rem);
}

.hm-chest-orbit--two {
  width: clamp(10.5rem, 21vw, 16rem);
  height: clamp(6.7rem, 13vw, 10rem);
  transform: translate(-50%, -50%) rotate(20deg);
}

.hm-chest-shop {
  margin-top: 0.85rem;
  padding: clamp(0.9rem, 2vw, 1.25rem);
}

.hm-chest-shop-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.hm-chest-shop-heading h2 {
  margin: 0.25rem 0 0;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 950;
  line-height: 0.95;
}

.hm-chest-shop-heading > span {
  flex: 0 0 auto;
  padding: 0.56rem 0.78rem;
  border: 1px solid rgba(245, 200, 75, 0.38);
  border-radius: 999px;
  color: #ffe89a;
  background: rgba(245, 158, 11, 0.14);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-chest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 20rem));
  gap: 0.85rem;
}

.hm-chest-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 24rem;
  padding: 0.9rem;
  border: 1px solid rgba(139, 92, 246, 0.54);
  border-radius: 8px;
  background:
        radial-gradient(circle at 80% 0%, rgba(245, 200, 75, 0.15), transparent 8rem),
        linear-gradient(180deg, rgba(53, 39, 112, 0.9), rgba(12, 7, 41, 0.98));
  box-shadow: 0 16px 42px rgba(7, 3, 29, 0.34);
  overflow: hidden;
}

.hm-chest-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.92) 1px, transparent 1.5px),
        radial-gradient(circle, rgba(139, 92, 246, 0.8) 1px, transparent 1.6px);
  background-position: 0 0, 1.4rem 1.1rem;
  background-size: 5.5rem 5.5rem, 7rem 7rem;
}

.hm-chest-card-glow {
  position: absolute;
  inset: auto -20% -32%;
  height: 44%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.42), transparent 62%);
  opacity: 0.75;
}

.hm-chest-card-space {
  position: absolute;
  inset: 0 0 auto;
  height: 5.6rem;
  background:
        linear-gradient(90deg, rgba(139, 92, 246, 0.32), transparent 44%, rgba(56, 189, 248, 0.16)),
        rgba(255, 255, 255, 0.035);
}

.hm-chest-card-top,
.hm-chest-card-copy,
.hm-chest-card-visual,
.hm-chest-card-reward,
.hm-chest-card-meta,
.hm-chest-card-actions {
  position: relative;
  z-index: 1;
}

.hm-chest-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.hm-chest-card-top span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-chest-card-top strong {
  padding: 0.34rem 0.5rem;
  border: 1px solid rgba(56, 189, 248, 0.36);
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.12);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hm-chest-card-copy {
  margin-top: 1rem;
  text-align: center;
}

.hm-chest-card-copy h3 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1;
}

.hm-chest-card-copy h3 span {
  color: var(--hm-chest-violet);
}

.hm-chest-card-copy p {
  margin: 0.28rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 850;
}

.hm-chest-card-visual {
  display: grid;
  place-items: center;
  width: 8.4rem;
  height: 8.4rem;
  margin: 0.9rem auto 0.7rem;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 8px;
  background:
        radial-gradient(circle, rgba(139, 92, 246, 0.28), transparent 62%),
        rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 0.4rem rgba(255, 255, 255, 0.035);
}

.hm-chest-card-visual img {
  width: 7.1rem;
  filter: drop-shadow(0 0 24px rgba(139, 92, 246, 0.45));
}

.hm-chest-card-reward {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.44rem 0.65rem;
  border: 1px solid rgba(245, 200, 75, 0.35);
  border-radius: 999px;
  color: #ffe89a;
  background: rgba(245, 158, 11, 0.14);
  font-size: 0.66rem;
  font-weight: 950;
}

.hm-chest-card-reward img {
  width: 1.15rem;
  height: 1.15rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-chest-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.85rem;
  padding: 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 4, 31, 0.42);
}

.hm-chest-card-meta > span {
  display: flex;
  align-items: center;
  gap: 0.34rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.68rem;
  font-weight: 850;
}

.hm-chest-card-meta img {
  width: 1.25rem;
  height: 1.25rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-chest-card-meta strong {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 950;
}

.hm-chest-card-meta small {
  padding: 0.3rem 0.48rem;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(139, 92, 246, 0.12);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-chest-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.82rem;
}

.hm-chest-buy,
.hm-chest-details,
.hm-chest-modal-action {
  border: 0;
  border-radius: 8px;
  font-weight: 950;
}

.hm-chest-buy,
.hm-chest-modal-action {
  min-height: 2.7rem;
  color: #fff;
  background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(135deg, var(--hm-chest-violet), #a855f7);
  box-shadow: 0 14px 30px rgba(139, 92, 246, 0.26);
}

.hm-chest-details {
  min-height: 2.7rem;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.hm-chest-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(6, 3, 24, 0.72);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.hm-chest-modal.is-open {
  display: grid;
}

.hm-chest-modal-dialog {
  position: relative;
  width: min(100%, 48rem);
  padding: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.58);
  border-radius: 8px;
  background:
        radial-gradient(circle at 80% 0%, rgba(56, 189, 248, 0.14), transparent 12rem),
        linear-gradient(135deg, rgba(45, 33, 105, 0.96), rgba(13, 8, 42, 0.98));
  box-shadow: 0 24px 70px rgba(3, 1, 16, 0.56);
  outline: none;
}

.hm-chest-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.3rem;
  font-weight: 900;
}

.hm-chest-modal-head {
  display: flex;
  align-items: center;
  gap: 0.78rem;
  padding-right: 2.8rem;
}

.hm-chest-modal-head > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3.3rem;
  height: 3.3rem;
  border: 1px solid rgba(139, 92, 246, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.hm-chest-modal-head img {
  width: 2.5rem;
}

.hm-chest-modal-head h2 {
  margin: 0.28rem 0 0;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 950;
  line-height: 0.95;
}

.hm-chest-modal-body {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.hm-chest-modal-preview {
  display: grid;
  place-items: center;
  min-height: 12rem;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.hm-chest-modal-preview img {
  width: 9rem;
}

.hm-chest-modal-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.5;
}

.hm-chest-modal-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.hm-chest-modal-stats span {
  padding: 0.62rem;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.hm-chest-modal-stats small,
.hm-chest-modal-stats strong {
  display: block;
}

.hm-chest-modal-stats small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-chest-modal-stats strong {
  margin-top: 0.2rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 950;
}

.hm-chest-odds {
  margin-top: 0.75rem;
  padding: 0.72rem;
  border: 1px solid rgba(245, 200, 75, 0.24);
  border-radius: 8px;
  background: rgba(245, 200, 75, 0.075);
}

.hm-chest-odds div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
}

.hm-chest-odds progress + div {
  margin-top: 0.55rem;
}

.hm-chest-modal-action {
  display: block;
  min-width: 8rem;
  margin: 1rem 0 0 auto;
  padding: 0 1rem;
}

.hm-chest-hero,
.hm-chest-shop,
.hm-chest-card {
  will-change: transform, opacity;
}

@media (max-width: 820px) {
  .hm-chest-hero {
    grid-template-columns: 1fr;
    min-height: 21rem;
  }

  .hm-chest-hero-visual {
    position: absolute;
    right: -1rem;
    bottom: 0.4rem;
    width: 13rem;
    min-height: 10rem;
    opacity: 0.7;
  }

  .hm-chest-shop-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hm-chest-modal-body {
    grid-template-columns: 1fr;
  }

  .hm-chest-modal-preview {
    min-height: 8.5rem;
  }

  .hm-chest-modal-preview img {
    width: 7rem;
  }
}

@media (max-width: 560px) {
  .hm-chest-page {
    padding: 0.75rem 0.75rem 8rem;
  }

  .hm-chest-hero h1 {
    font-size: 2.7rem;
  }

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

  .hm-chest-card {
    min-height: 22.5rem;
  }

  .hm-chest-modal-stats {
    grid-template-columns: 1fr;
  }

  .hm-chest-card-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-chest-page *,
    .hm-chest-page *::before,
    .hm-chest-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Badge shop V2 */

.hm-badge-page {
  --hm-badge-violet: #875cf6;
  --hm-badge-pink: #c84df2;
  --hm-badge-cyan: #57b8ff;
  --hm-badge-gold: #f4c35f;
  --hm-badge-border: rgba(139, 92, 246, 0.62);
  --hm-badge-radius-panel: 26px;
  --hm-badge-radius-card: 22px;
  --hm-badge-radius-soft: 16px;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: clamp(1rem, 2vw, 2rem);
  padding-bottom: 11rem;
  color: #fff;
  overflow-x: hidden;
  background:
        radial-gradient(circle at 78% 18%, rgba(132, 92, 246, 0.3), transparent 20rem),
        radial-gradient(circle at 14% 42%, rgba(87, 184, 255, 0.13), transparent 17rem),
        linear-gradient(135deg, #13053b 0%, #21065a 45%, #08031f 100%);
}

.hm-badge-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 72%);
          mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 72%);
}

.hm-badge-page > :not(.hm-me-stars):not(.hm-me-footer-visual) {
  position: relative;
  z-index: 2;
}

.hm-badge-flashes {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
}

.hm-badge-flash {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.2rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(139, 92, 246, 0.38);
  border-radius: var(--hm-badge-radius-soft);
  color: #fff;
  background: rgba(27, 14, 72, 0.84);
  box-shadow: 0 16px 38px rgba(3, 1, 16, 0.28);
  font-size: 0.86rem;
  font-weight: 850;
}

.hm-badge-flash img {
  width: 2rem;
  height: 2rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-badge-flash--success {
  border-color: rgba(74, 222, 128, 0.42);
  background: linear-gradient(135deg, rgba(28, 136, 86, 0.76), rgba(28, 14, 72, 0.88));
}

.hm-badge-flash--warning {
  border-color: rgba(244, 195, 95, 0.42);
  background: linear-gradient(135deg, rgba(146, 94, 28, 0.76), rgba(28, 14, 72, 0.88));
}

.hm-badge-flash--danger {
  border-color: rgba(248, 113, 113, 0.42);
  background: linear-gradient(135deg, rgba(160, 47, 72, 0.76), rgba(28, 14, 72, 0.88));
}

.hm-badge-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(12rem, 0.48fr);
  gap: clamp(0.8rem, 2vw, 1.5rem);
  align-items: center;
  min-height: 15rem;
  padding: clamp(1rem, 2vw, 1.55rem);
  border: 1px solid var(--hm-badge-border);
  border-radius: var(--hm-badge-radius-panel);
  background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(14, 8, 45, 0.86)),
        rgba(26, 19, 65, 0.74);
  box-shadow: 0 24px 70px rgba(10, 4, 36, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  overflow: hidden;
}

.hm-badge-hero h1 {
  max-width: 12ch;
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: clamp(2.7rem, 5.8vw, 5rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(139, 92, 246, 0.35);
}

.hm-badge-hero p:not(.hm-me-kicker) {
  max-width: 39rem;
  margin: 0.78rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.8rem, 1.08vw, 0.98rem);
  font-weight: 800;
  line-height: 1.45;
}

.hm-badge-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 31rem;
  margin-top: 1rem;
}

.hm-badge-hero-stats span {
  min-height: 3.55rem;
  padding: 0.58rem 0.7rem;
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: var(--hm-badge-radius-soft);
  color: rgba(255, 255, 255, 0.58);
  background: rgba(8, 4, 33, 0.42);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-badge-hero-stats strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #fff;
  font-size: 1.32rem;
  line-height: 1;
}

.hm-badge-hero-visual {
  position: relative;
  min-height: 11rem;
}

.hm-badge-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(9rem, 18vw, 14rem);
  height: clamp(5.7rem, 11vw, 8.8rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-16deg);
}

.hm-badge-orbit--two {
  width: clamp(10.5rem, 21vw, 16rem);
  height: clamp(6.7rem, 13vw, 10rem);
  border-color: rgba(87, 184, 255, 0.16);
  transform: translate(-50%, -50%) rotate(28deg);
}

.hm-badge-hero-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(4.2rem, 8vw, 6.4rem);
  height: clamp(4.2rem, 8vw, 6.4rem);
  -o-object-fit: contain;
     object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 34px rgba(139, 92, 246, 0.44));
}

.hm-badge-hero-moon {
  position: absolute;
  right: 9%;
  bottom: 7%;
  width: clamp(3.4rem, 6vw, 5rem);
  filter: drop-shadow(0 14px 28px rgba(200, 77, 242, 0.35));
}

.hm-badge-hero-meteor {
  position: absolute;
  top: 9%;
  left: 8%;
  width: clamp(2.5rem, 4vw, 3.6rem);
  filter: drop-shadow(0 12px 24px rgba(87, 184, 255, 0.25));
}

.hm-badge-shop {
  margin-top: 0.85rem;
  padding: clamp(0.9rem, 2vw, 1.25rem);
  border: 1px solid var(--hm-badge-border);
  border-radius: var(--hm-badge-radius-panel);
  background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(14, 8, 45, 0.86)),
        radial-gradient(circle at 54% 0%, rgba(132, 92, 246, 0.18), transparent 18rem),
        rgba(26, 19, 65, 0.74);
  box-shadow: 0 24px 70px rgba(10, 4, 36, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hm-badge-shop-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.hm-badge-shop-heading h2 {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  font-weight: 950;
  line-height: 0.92;
}

.hm-badge-shop-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0 1rem;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: var(--hm-badge-radius-soft);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14.8rem, 17.2rem));
  gap: 0.9rem;
  align-items: stretch;
}

.hm-badge-card {
  position: relative;
  min-height: 24rem;
  border: 1px solid rgba(139, 92, 246, 0.46);
  border-radius: var(--hm-badge-radius-card);
  background:
        linear-gradient(180deg, rgba(72, 46, 143, 0.78) 0 32%, rgba(19, 11, 56, 0.96) 32% 100%);
  box-shadow:
        0 18px 44px rgba(4, 1, 20, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hm-badge-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background:
        radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.5) 0 1px, transparent 2px),
        radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.55) 0 1px, transparent 2px),
        radial-gradient(circle at 58% 46%, rgba(87, 184, 255, 0.58) 0 1px, transparent 2px),
        radial-gradient(circle at 31% 72%, rgba(255, 255, 255, 0.42) 0 1px, transparent 2px);
}

.hm-badge-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5.3rem;
  background: linear-gradient(to top, rgba(3, 1, 15, 0.92), transparent);
  pointer-events: none;
}

.hm-badge-card:hover {
  border-color: rgba(183, 139, 255, 0.86);
  box-shadow:
        0 22px 54px rgba(4, 1, 20, 0.4),
        0 0 34px rgba(139, 92, 246, 0.19);
}

.hm-badge-card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 50% 30%, rgba(200, 77, 242, 0.24), transparent 12rem);
  transition: opacity 0.25s ease;
}

.hm-badge-card:hover .hm-badge-card-glow {
  opacity: 1;
}

.hm-badge-card-sky {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  left: 0.65rem;
  height: 5.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--hm-badge-radius-soft);
  background:
        radial-gradient(circle at 18% 18%, rgba(87, 184, 255, 0.16), transparent 4rem),
        linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(7, 3, 28, 0.38));
}

.hm-badge-card-status {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 1.86rem;
  padding: 0 0.58rem;
  border: 1px solid rgba(74, 222, 128, 0.34);
  border-radius: var(--hm-badge-radius-soft);
  color: #c7ffd5;
  background: rgba(16, 121, 76, 0.23);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hm-badge-card-status span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #fb7185;
  box-shadow: 0 0 10px rgba(251, 113, 133, 0.56);
}

.hm-badge-card-status .is-live {
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.56);
}

.hm-badge-card-window {
  position: relative;
  display: grid;
  place-items: center;
  width: 6.7rem;
  height: 6.7rem;
  margin: 3.2rem auto 0;
  border: 1px solid rgba(139, 92, 246, 0.52);
  border-radius: var(--hm-badge-radius-soft);
  background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.11), transparent 3rem),
        rgba(11, 5, 38, 0.72);
  box-shadow:
        0 18px 34px rgba(3, 1, 15, 0.34),
        inset 0 0 0 0.35rem rgba(255, 255, 255, 0.035);
}

.hm-badge-card-orbit {
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(244, 195, 95, 0.28);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.hm-badge-card-image {
  position: relative;
  z-index: 1;
  width: 4.1rem;
  height: 4.1rem;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 9px 15px rgba(139, 92, 246, 0.3));
}

.hm-badge-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 13.2rem;
  padding: 0.75rem 0.9rem 0.9rem;
  text-align: center;
}

.hm-badge-card-code {
  align-self: center;
  max-width: 100%;
  margin: 0;
  padding: 0.28rem 0.58rem;
  border: 1px solid rgba(139, 92, 246, 0.26);
  border-radius: var(--hm-badge-radius-soft);
  color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-badge-card h3 {
  display: -webkit-box;
  min-height: 2.52rem;
  margin: 0.65rem 0 0;
  overflow: hidden;
  color: #fff;
  font-size: 1.16rem;
  font-weight: 950;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hm-badge-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 2.65rem;
  margin: 0.75rem 0 0;
  padding: 0 0.58rem;
  border: 1px solid rgba(244, 195, 95, 0.26);
  border-radius: var(--hm-badge-radius-soft);
  color: rgba(255, 255, 255, 0.62);
  background:
        linear-gradient(135deg, rgba(244, 195, 95, 0.12), transparent),
        rgba(255, 255, 255, 0.055);
  font-size: 0.72rem;
  font-weight: 900;
}

.hm-badge-price img {
  width: 1.45rem;
  height: 1.45rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-badge-price strong {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
}

.hm-badge-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  margin-top: auto;
  border: 0;
  border-radius: var(--hm-badge-radius-card);
  color: #fff;
  background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 36%),
        linear-gradient(135deg, var(--hm-badge-violet), var(--hm-badge-pink));
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.28);
  font-size: 0.94rem;
  font-weight: 950;
  text-decoration: none;
  transition: filter 0.22s ease, box-shadow 0.22s ease;
}

.hm-badge-buy:hover {
  filter: brightness(1.08);
  box-shadow: 0 18px 36px rgba(200, 77, 242, 0.32);
}

.hm-badge-buy img {
  width: 1.75rem;
  height: 1.75rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-badge-buy.is-disabled,
.hm-badge-buy:disabled {
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.hm-badge-card.is-sold-out {
  opacity: 0.74;
}

.hm-badge-card.is-sold-out .hm-badge-card-image {
  filter: grayscale(0.75) drop-shadow(0 9px 15px rgba(139, 92, 246, 0.22));
}

.hm-badge-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 16rem;
  padding: 2rem;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: var(--hm-badge-radius-panel);
  background: rgba(255, 255, 255, 0.055);
  text-align: center;
}

.hm-badge-empty img {
  width: 4.8rem;
}

.hm-badge-empty h2 {
  margin: 0.7rem 0 0;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 950;
}

.hm-badge-empty p {
  max-width: 32rem;
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 750;
}

.hm-badge-hero,
.hm-badge-shop,
.hm-badge-card {
  will-change: transform, opacity;
}

@media (max-width: 1020px) {
  .hm-badge-hero {
    grid-template-columns: 1fr;
  }

  .hm-badge-hero-visual {
    position: absolute;
    right: -2rem;
    bottom: -1rem;
    width: 18rem;
    opacity: 0.62;
  }
}

@media (max-width: 760px) {
  .hm-badge-page {
    padding: 0.9rem 0.75rem 8rem;
  }

  .hm-badge-hero {
    min-height: 18rem;
  }

  .hm-badge-hero h1 {
    font-size: 3rem;
  }

  .hm-badge-hero-stats {
    grid-template-columns: 1fr;
    max-width: 15rem;
  }

  .hm-badge-shop-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hm-badge-grid {
    grid-template-columns: repeat(auto-fit, minmax(13.4rem, 1fr));
  }
}

@media (max-width: 480px) {
  .hm-badge-shop {
    padding: 0.75rem;
  }

  .hm-badge-grid {
    grid-template-columns: 1fr;
  }

  .hm-badge-card {
    min-height: 22.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-badge-page *,
    .hm-badge-page *::before,
    .hm-badge-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared shop radius harmonization */

.hm-mooncoins-page,
.hm-vip-page,
.hm-chest-page {
  --hm-shop-radius-panel: 26px;
  --hm-shop-radius-card: 22px;
  --hm-shop-radius-soft: 16px;
}

.hm-mooncoins-hero,
.hm-mooncoins-info-strip,
.hm-mooncoins-shop,
.hm-mooncoins-empty,
.hm-vip-hero,
.hm-vip-layout > *,
.hm-vip-modal-dialog,
.hm-chest-hero,
.hm-chest-shop,
.hm-chest-modal-dialog {
  border-radius: var(--hm-shop-radius-panel);
}

.hm-mooncoins-pack,
.hm-vip-pass-card,
.hm-vip-benefits,
.hm-chest-card {
  border-radius: var(--hm-shop-radius-card);
}

.hm-mooncoins-stats > div,
.hm-mooncoins-info-strip > div,
.hm-mooncoins-pack-icon,
.hm-mooncoins-pack-price,
.hm-mooncoins-pack-meta,
.hm-mooncoins-pack-meta span,
.hm-mooncoins-buy,
.hm-vip-status-grid > div,
.hm-vip-pass-top strong,
.hm-vip-pass-medal,
.hm-vip-price,
.hm-vip-conditions,
.hm-vip-buy,
.hm-vip-details-trigger,
.hm-vip-benefit-grid article,
.hm-vip-note,
.hm-vip-modal-close,
.hm-vip-modal-grid span,
.hm-vip-modal-condition,
.hm-chest-card-top strong,
.hm-chest-card-visual,
.hm-chest-card-reward,
.hm-chest-card-meta,
.hm-chest-card-actions > *,
.hm-chest-modal-close,
.hm-chest-modal-head > span,
.hm-chest-modal-preview,
.hm-chest-modal-stats span,
.hm-chest-odds,
.hm-chest-modal-action {
  border-radius: var(--hm-shop-radius-soft);
}

/* Moon Fighting Championship V2 */

.hm-mfc-page {
  --hm-mfc-violet: #8b5cf6;
  --hm-mfc-violet-2: #a855f7;
  --hm-mfc-red: #ef4444;
  --hm-mfc-gold: #f6c453;
  --hm-mfc-cyan: #38bdf8;
  --hm-mfc-border: rgba(139, 92, 246, 0.62);
  --hm-mfc-radius-panel: 26px;
  --hm-mfc-radius-card: 22px;
  --hm-mfc-radius-soft: 16px;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: clamp(1rem, 2vw, 2rem);
  padding-bottom: 11rem;
  color: #fff;
  overflow-x: hidden;
  background:
        radial-gradient(circle at 76% 16%, rgba(239, 68, 68, 0.18), transparent 24rem),
        radial-gradient(circle at 18% 48%, rgba(56, 189, 248, 0.12), transparent 26rem),
        linear-gradient(135deg, rgba(15, 7, 48, 0.98), rgba(42, 10, 90, 0.92) 48%, rgba(8, 5, 32, 0.98));
}

.hm-mfc-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 74%);
          mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 74%);
}

.hm-mfc-page > :not(.hm-me-stars):not(.hm-me-footer-visual) {
  position: relative;
  z-index: 2;
}

.hm-mfc-hero,
.hm-mfc-panel,
.hm-mfc-ranking-section,
.hm-mfc-empty {
  border: 1px solid var(--hm-mfc-border);
  border-radius: var(--hm-mfc-radius-panel);
  background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(14, 8, 45, 0.88)),
        rgba(26, 19, 65, 0.74);
  box-shadow: 0 24px 70px rgba(10, 4, 36, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hm-mfc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(13rem, 0.48fr);
  gap: clamp(0.9rem, 2vw, 1.6rem);
  align-items: center;
  min-height: 15.5rem;
  padding: clamp(1rem, 2vw, 1.6rem);
  overflow: hidden;
}

.hm-mfc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  background:
        linear-gradient(60deg, transparent 0 47%, rgba(255, 255, 255, 0.18) 48% 50%, transparent 51% 100%),
        linear-gradient(-60deg, transparent 0 47%, rgba(255, 255, 255, 0.12) 48% 50%, transparent 51% 100%);
  background-size: 7rem 7rem;
}

.hm-mfc-hero-copy {
  position: relative;
  z-index: 1;
}

.hm-mfc-hero h1 {
  max-width: 12ch;
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(139, 92, 246, 0.36);
}

.hm-mfc-hero--event h1 {
  max-width: 15ch;
}

.hm-mfc-hero p:not(.hm-me-kicker) {
  max-width: 42rem;
  margin: 0.78rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.82rem, 1.08vw, 1rem);
  font-weight: 800;
  line-height: 1.45;
}

.hm-mfc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 34rem;
  margin-top: 1rem;
}

.hm-mfc-stats span {
  min-height: 3.55rem;
  padding: 0.58rem 0.7rem;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: var(--hm-mfc-radius-soft);
  color: rgba(255, 255, 255, 0.58);
  background: rgba(8, 4, 33, 0.42);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-mfc-stats strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #fff;
  font-size: 1.28rem;
  line-height: 1;
}

.hm-mfc-hero-visual {
  position: relative;
  min-height: 11rem;
}

.hm-mfc-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(9rem, 18vw, 14rem);
  height: clamp(5.7rem, 11vw, 8.8rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-16deg);
}

.hm-mfc-orbit--two {
  width: clamp(10.5rem, 21vw, 16rem);
  height: clamp(6.7rem, 13vw, 10rem);
  border-color: rgba(56, 189, 248, 0.17);
  transform: translate(-50%, -50%) rotate(28deg);
}

.hm-mfc-octagon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(7rem, 12vw, 9.5rem);
  aspect-ratio: 1;
  border: 2px solid rgba(239, 68, 68, 0.34);
  -webkit-clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
          clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  transform: translate(-50%, -50%);
  background:
        radial-gradient(circle, rgba(239, 68, 68, 0.22), transparent 58%),
        rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 34px rgba(239, 68, 68, 0.16);
}

.hm-mfc-octagon-icon {
  position: absolute;
  top: 18%;
  left: 20%;
  width: 3rem;
  filter: drop-shadow(0 12px 18px rgba(239, 68, 68, 0.35));
}

.hm-mfc-belt {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(5.6rem, 11vw, 8.5rem);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 30px rgba(246, 196, 83, 0.3));
}

.hm-mfc-belt--large {
  width: clamp(6.4rem, 13vw, 10rem);
}

.hm-mfc-meteor {
  position: absolute;
  right: 8%;
  bottom: 9%;
  width: clamp(2.5rem, 4vw, 3.6rem);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.3));
}

.hm-mfc-panel,
.hm-mfc-ranking {
  margin-top: 0.85rem;
}

.hm-mfc-panel {
  padding: clamp(0.9rem, 2vw, 1.25rem);
}

.hm-mfc-panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.hm-mfc-panel-heading h2 {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  font-weight: 950;
  line-height: 0.92;
}

.hm-mfc-panel-heading > a,
.hm-mfc-panel-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0 1rem;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: var(--hm-mfc-radius-soft);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.hm-mfc-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 20rem));
  gap: 0.9rem;
}

.hm-mfc-event-card,
.hm-mfc-fight-card,
.hm-mfc-rank-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: var(--hm-mfc-radius-card);
  background:
        radial-gradient(circle at 50% 0%, rgba(239, 68, 68, 0.1), transparent 9rem),
        linear-gradient(145deg, rgba(55, 34, 118, 0.8), rgba(12, 7, 40, 0.96));
  box-shadow: 0 18px 44px rgba(4, 1, 20, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hm-mfc-event-card {
  min-height: 24rem;
}

.hm-mfc-card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 50% 30%, rgba(239, 68, 68, 0.19), transparent 13rem);
  transition: opacity 0.22s ease;
}

.hm-mfc-event-card:hover .hm-mfc-card-glow,
.hm-mfc-rank-card:hover .hm-mfc-card-glow {
  opacity: 1;
}

.hm-mfc-card-banner {
  position: relative;
  height: 8rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(139, 92, 246, 0.26);
}

.hm-mfc-card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 3, 28, 0.9), transparent 58%);
}

.hm-mfc-card-banner img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.74;
}

.hm-mfc-event-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  padding: 0.9rem;
}

.hm-mfc-chip,
.hm-mfc-champion-tag {
  display: inline-flex;
  align-self: flex-start;
  min-height: 1.85rem;
  padding: 0 0.62rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 68, 68, 0.36);
  border-radius: 999px;
  color: #ffd7d7;
  background: rgba(239, 68, 68, 0.15);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-mfc-event-body h3 {
  display: -webkit-box;
  min-height: 3rem;
  margin: 0.75rem 0 0;
  overflow: hidden;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hm-mfc-event-body p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 820;
}

.hm-mfc-event-meta,
.hm-mfc-record {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.hm-mfc-event-meta span,
.hm-mfc-record span {
  min-height: 3rem;
  padding: 0.55rem;
  border: 1px solid rgba(139, 92, 246, 0.26);
  border-radius: var(--hm-mfc-radius-soft);
  color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hm-mfc-event-meta strong,
.hm-mfc-record strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}

.hm-mfc-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  margin-top: auto;
  border-radius: var(--hm-mfc-radius-soft);
  color: #fff;
  background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(135deg, var(--hm-mfc-red), var(--hm-mfc-violet));
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.26);
  font-size: 0.9rem;
  font-weight: 950;
  text-decoration: none;
}

.hm-mfc-action img {
  width: 1.35rem;
}

.hm-mfc-fight-list {
  display: grid;
  gap: 0.75rem;
}

.hm-mfc-fight-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-height: 8.4rem;
  padding: 0.9rem;
}

.hm-mfc-fight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
        linear-gradient(60deg, transparent 0 48%, rgba(255, 255, 255, 0.4) 49% 50%, transparent 51% 100%),
        linear-gradient(-60deg, transparent 0 48%, rgba(255, 255, 255, 0.35) 49% 50%, transparent 51% 100%);
  background-size: 5rem 5rem;
}

.hm-mfc-fighter {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.hm-mfc-fighter--right {
  flex-direction: row-reverse;
  text-align: right;
}

.hm-mfc-avatar-ring,
.hm-mfc-rank-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid rgba(139, 92, 246, 0.54);
  border-radius: 999px;
  background:
        radial-gradient(circle, rgba(139, 92, 246, 0.5), rgba(33, 13, 92, 0.98));
  box-shadow: inset 0 0 0 0.45rem rgba(255, 255, 255, 0.04), 0 13px 24px rgba(4, 1, 20, 0.32);
  overflow: hidden;
}

.hm-mfc-avatar-ring {
  width: 5.2rem;
  height: 5.2rem;
}

.hm-mfc-avatar-ring img {
  width: 4.1rem;
  height: 4.1rem;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center bottom;
     object-position: center bottom;
}

.hm-mfc-fighter strong,
.hm-mfc-rank-card h3 {
  display: block;
  color: #fff;
  font-weight: 950;
  line-height: 1;
}

.hm-mfc-fighter strong {
  overflow: hidden;
  font-size: 1.2rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-mfc-fighter span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-mfc-versus {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 0.25rem;
  min-height: 5.3rem;
  border: 1px solid rgba(239, 68, 68, 0.32);
  border-radius: var(--hm-mfc-radius-soft);
  background: rgba(239, 68, 68, 0.11);
}

.hm-mfc-versus span {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 0 22px rgba(239, 68, 68, 0.38);
}

.hm-mfc-versus small {
  max-width: 6rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.hm-mfc-ranking-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.hm-mfc-category-rail {
  position: sticky;
  top: 1rem;
  align-self: start;
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--hm-mfc-border);
  border-radius: var(--hm-mfc-radius-panel);
  background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(14, 8, 45, 0.88)),
        rgba(26, 19, 65, 0.74);
  box-shadow: 0 24px 70px rgba(10, 4, 36, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hm-mfc-category-rail > div,
.hm-mfc-ranking-list {
  display: grid;
  gap: 0.65rem;
}

.hm-mfc-category-rail a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.35rem;
  padding: 0.58rem 0.72rem;
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: var(--hm-mfc-radius-soft);
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.hm-mfc-category-rail a:hover {
  border-color: rgba(246, 196, 83, 0.42);
  background: rgba(246, 196, 83, 0.08);
  transform: translateX(3px);
}

.hm-mfc-category-rail a span {
  min-width: 0;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-mfc-category-rail a strong {
  display: grid;
  place-items: center;
  min-width: 1.9rem;
  min-height: 1.9rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(139, 92, 246, 0.34);
  font-size: 0.72rem;
  font-weight: 950;
}

.hm-mfc-ranking-section {
  padding: clamp(0.9rem, 2vw, 1.25rem);
}

.hm-mfc-rank-table {
  display: grid;
  gap: 0.55rem;
}

.hm-mfc-rank-row {
  position: relative;
  display: grid;
  grid-template-columns: 4rem 4.6rem minmax(0, 1fr) minmax(9rem, 0.35fr) minmax(9rem, 0.4fr);
  align-items: center;
  gap: 0.75rem;
  min-height: 5.75rem;
  padding: 0.55rem 0.72rem;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: var(--hm-mfc-radius-card);
  background:
        radial-gradient(circle at 0% 50%, rgba(139, 92, 246, 0.14), transparent 13rem),
        linear-gradient(145deg, rgba(47, 31, 105, 0.72), rgba(12, 7, 40, 0.9));
  box-shadow: 0 14px 34px rgba(4, 1, 20, 0.22);
  overflow: hidden;
}

.hm-mfc-rank-row.is-champion {
  border-color: rgba(246, 196, 83, 0.5);
  background:
        radial-gradient(circle at 0% 50%, rgba(246, 196, 83, 0.18), transparent 15rem),
        linear-gradient(145deg, rgba(67, 42, 118, 0.78), rgba(13, 8, 42, 0.94));
}

.hm-mfc-rank-row::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image:
        linear-gradient(60deg, transparent 0 48%, rgba(255, 255, 255, 0.4) 49% 50%, transparent 51% 100%),
        linear-gradient(-60deg, transparent 0 48%, rgba(255, 255, 255, 0.32) 49% 50%, transparent 51% 100%);
  background-size: 4.5rem 4.5rem;
}

.hm-mfc-rank-position,
.hm-mfc-rank-avatar,
.hm-mfc-rank-identity,
.hm-mfc-rank-record,
.hm-mfc-rank-status {
  position: relative;
  z-index: 1;
}

.hm-mfc-rank-position {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.065);
  font-size: 0.9rem;
  font-weight: 950;
}

.hm-mfc-rank-avatar {
  width: 4.3rem;
  height: 4.3rem;
}

.hm-mfc-rank-avatar img {
  width: 3.65rem;
  height: 3.65rem;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center bottom;
     object-position: center bottom;
}

.hm-mfc-rank-identity {
  min-width: 0;
}

.hm-mfc-rank-identity strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-mfc-rank-identity span {
  display: block;
  margin-top: 0.32rem;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.hm-mfc-rank-record {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.hm-mfc-rank-record span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  min-height: 2.45rem;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: var(--hm-mfc-radius-soft);
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.65rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hm-mfc-rank-record strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}

.hm-mfc-rank-status {
  display: flex;
  justify-content: flex-end;
}

.hm-mfc-rank-status > span,
.hm-mfc-champion-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-mfc-champion-tag {
  border-color: rgba(246, 196, 83, 0.46);
  color: #ffe8a3;
  background: rgba(246, 196, 83, 0.14);
}

.hm-mfc-champion-tag img {
  width: 1.35rem;
  height: 1.35rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-mfc-empty {
  display: grid;
  grid-column: 1 / -1;
  place-items: center;
  min-height: 15rem;
  padding: 2rem;
  text-align: center;
}

.hm-mfc-empty img {
  width: 4.5rem;
}

.hm-mfc-empty h2 {
  margin: 0.7rem 0 0;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 950;
}

.hm-mfc-empty p {
  max-width: 32rem;
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 750;
}

.hm-mfc-hero,
.hm-mfc-panel,
.hm-mfc-ranking-section,
.hm-mfc-category-rail,
.hm-mfc-event-card,
.hm-mfc-fight-card,
.hm-mfc-rank-card,
.hm-mfc-rank-row {
  will-change: transform, opacity;
}

@media (max-width: 980px) {
  .hm-mfc-hero {
    grid-template-columns: 1fr;
  }

  .hm-mfc-hero-visual {
    position: absolute;
    right: -1.5rem;
    bottom: -1.2rem;
    width: 18rem;
    opacity: 0.58;
  }

  .hm-mfc-fight-card {
    grid-template-columns: 1fr;
  }

  .hm-mfc-fighter,
    .hm-mfc-fighter--right {
    flex-direction: row;
    text-align: left;
  }

  .hm-mfc-ranking-layout {
    grid-template-columns: 1fr;
  }

  .hm-mfc-category-rail {
    position: relative;
    top: auto;
    max-height: none;
  }

  .hm-mfc-category-rail > div {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }

  .hm-mfc-rank-row {
    grid-template-columns: 3.4rem 4.3rem minmax(0, 1fr);
  }

  .hm-mfc-rank-record,
    .hm-mfc-rank-status {
    grid-column: 3;
  }

  .hm-mfc-rank-status {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .hm-mfc-page {
    padding: 0.9rem 0.75rem 8rem;
  }

  .hm-mfc-hero {
    min-height: 18rem;
  }

  .hm-mfc-hero h1 {
    font-size: 3rem;
  }

  .hm-mfc-stats,
    .hm-mfc-event-meta,
    .hm-mfc-record {
    grid-template-columns: 1fr;
  }

  .hm-mfc-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hm-mfc-event-grid,
    .hm-mfc-ranking-grid {
    grid-template-columns: 1fr;
  }

  .hm-mfc-rank-row {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.6rem;
  }

  .hm-mfc-rank-avatar {
    grid-row: span 2;
    width: 3.8rem;
    height: 3.8rem;
  }

  .hm-mfc-rank-avatar img {
    width: 3.2rem;
    height: 3.2rem;
  }

  .hm-mfc-rank-identity,
    .hm-mfc-rank-record,
    .hm-mfc-rank-status {
    grid-column: 2;
  }

  .hm-mfc-rank-position {
    grid-column: 1;
    grid-row: 1;
    min-width: 2.5rem;
    min-height: 2.5rem;
  }

  .hm-mfc-rank-avatar {
    grid-column: 1;
    grid-row: 2 / span 2;
  }

  .hm-mfc-rank-record {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-mfc-page *,
    .hm-mfc-page *::before,
    .hm-mfc-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* MoonBet sportsbook V2 */

.hm-bet-page {
  --hm-bet-violet: #8b5cf6;
  --hm-bet-pink: #c84df2;
  --hm-bet-cyan: #38bdf8;
  --hm-bet-gold: #f5c84b;
  --hm-bet-green: #4ade80;
  --hm-bet-border: rgba(139, 92, 246, 0.62);
  --hm-bet-radius-panel: 26px;
  --hm-bet-radius-card: 22px;
  --hm-bet-radius-soft: 16px;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: clamp(1rem, 2vw, 2rem);
  padding-bottom: 11rem;
  color: #fff;
  overflow-x: hidden;
  background:
        radial-gradient(circle at 76% 16%, rgba(74, 222, 128, 0.14), transparent 24rem),
        radial-gradient(circle at 18% 48%, rgba(56, 189, 248, 0.12), transparent 26rem),
        linear-gradient(135deg, rgba(15, 7, 48, 0.98), rgba(35, 12, 86, 0.93) 48%, rgba(8, 5, 32, 0.98));
}

.hm-bet-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 74%);
          mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 74%);
}

.hm-bet-page > :not(.hm-me-stars):not(.hm-me-footer-visual):not(.hm-bet-modal) {
  position: relative;
  z-index: 2;
}

.hm-bet-flashes {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.hm-bet-flash {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.2rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(139, 92, 246, 0.38);
  border-radius: var(--hm-bet-radius-soft);
  color: #fff;
  background: rgba(27, 14, 72, 0.84);
  box-shadow: 0 16px 38px rgba(3, 1, 16, 0.28);
  font-size: 0.86rem;
  font-weight: 850;
}

.hm-bet-flash img {
  width: 2rem;
  height: 2rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-bet-flash--success {
  border-color: rgba(74, 222, 128, 0.42);
  background: linear-gradient(135deg, rgba(28, 136, 86, 0.76), rgba(28, 14, 72, 0.88));
}

.hm-bet-flash--danger {
  border-color: rgba(248, 113, 113, 0.42);
  background: linear-gradient(135deg, rgba(160, 47, 72, 0.76), rgba(28, 14, 72, 0.88));
}

.hm-bet-hero,
.hm-bet-market,
.hm-bet-slip,
.hm-bet-match-preview,
.hm-bet-form-card,
.hm-bet-empty,
.hm-bet-modal-dialog {
  border: 1px solid var(--hm-bet-border);
  border-radius: var(--hm-bet-radius-panel);
  background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(14, 8, 45, 0.88)),
        rgba(26, 19, 65, 0.74);
  box-shadow: 0 24px 70px rgba(10, 4, 36, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hm-bet-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(13rem, 0.48fr);
  gap: clamp(0.9rem, 2vw, 1.6rem);
  align-items: center;
  min-height: 15.5rem;
  padding: clamp(1rem, 2vw, 1.6rem);
  overflow: hidden;
}

.hm-bet-hero h1 {
  max-width: 12ch;
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(139, 92, 246, 0.36);
}

.hm-bet-hero--form h1 {
  max-width: 16ch;
}

.hm-bet-hero p:not(.hm-me-kicker) {
  max-width: 42rem;
  margin: 0.78rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.82rem, 1.08vw, 1rem);
  font-weight: 800;
  line-height: 1.45;
}

.hm-bet-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 34rem;
  margin-top: 1rem;
}

.hm-bet-stats span,
.hm-bet-wallet,
.hm-bet-event-meta {
  min-height: 3.55rem;
  padding: 0.58rem 0.7rem;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: var(--hm-bet-radius-soft);
  color: rgba(255, 255, 255, 0.58);
  background: rgba(8, 4, 33, 0.42);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-bet-stats strong,
.hm-bet-wallet strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #fff;
  font-size: 1.28rem;
  line-height: 1;
}

.hm-bet-hero-visual {
  position: relative;
  min-height: 11rem;
}

.hm-bet-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(9rem, 18vw, 14rem);
  height: clamp(5.7rem, 11vw, 8.8rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-16deg);
}

.hm-bet-orbit--two {
  width: clamp(10.5rem, 21vw, 16rem);
  height: clamp(6.7rem, 13vw, 10rem);
  border-color: rgba(56, 189, 248, 0.17);
  transform: translate(-50%, -50%) rotate(28deg);
}

.hm-bet-ticket-preview {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(8rem, 14vw, 11rem);
  min-height: 8rem;
  padding: 0.9rem;
  border: 1px solid rgba(74, 222, 128, 0.34);
  border-radius: var(--hm-bet-radius-card);
  background:
        radial-gradient(circle at 50% 0%, rgba(74, 222, 128, 0.16), transparent 8rem),
        rgba(8, 4, 33, 0.62);
  transform: translate(-50%, -50%) rotate(-3deg);
  text-align: center;
}

.hm-bet-ticket-preview img {
  width: 2.4rem;
}

.hm-bet-ticket-preview strong {
  margin-top: 0.35rem;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 950;
  line-height: 1;
}

.hm-bet-ticket-preview span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-bet-diamond {
  position: absolute;
  right: 10%;
  bottom: 10%;
  width: 3rem;
  filter: drop-shadow(0 12px 22px rgba(74, 222, 128, 0.28));
}

.hm-bet-meteor {
  position: absolute;
  top: 9%;
  left: 7%;
  width: 3.3rem;
}

.hm-bet-layout,
.hm-bet-form-layout {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.hm-bet-layout {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
}

.hm-bet-form-layout {
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 27rem);
}

.hm-bet-market,
.hm-bet-slip,
.hm-bet-match-preview,
.hm-bet-form-card {
  padding: clamp(0.9rem, 2vw, 1.25rem);
}

.hm-bet-panel-heading,
.hm-bet-slip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.hm-bet-slip-head {
  align-items: center;
  justify-content: flex-start;
}

.hm-bet-slip-head img {
  width: 2.6rem;
}

.hm-bet-panel-heading h2,
.hm-bet-slip-head h2 {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  font-weight: 950;
  line-height: 0.92;
}

.hm-bet-panel-heading > button,
.hm-bet-panel-heading > a,
.hm-bet-history-trigger,
.hm-bet-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0 1rem;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: var(--hm-bet-radius-soft);
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.hm-bet-match-list {
  display: grid;
  gap: 0.7rem;
}

.hm-bet-match-card {
  position: relative;
  overflow: hidden;
  padding: 0.85rem;
  border: 1px solid rgba(139, 92, 246, 0.36);
  border-radius: var(--hm-bet-radius-card);
  background:
        radial-gradient(circle at 0% 50%, rgba(74, 222, 128, 0.11), transparent 14rem),
        linear-gradient(145deg, rgba(47, 31, 105, 0.72), rgba(12, 7, 40, 0.9));
  box-shadow: 0 14px 34px rgba(4, 1, 20, 0.22);
}

.hm-bet-match-card.is-closed {
  opacity: 0.68;
}

.hm-bet-match-head,
.hm-bet-match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hm-bet-match-head span,
.hm-bet-match-head strong {
  display: inline-flex;
  min-height: 1.85rem;
  align-items: center;
  padding: 0 0.62rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-bet-match-head span {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.07);
}

.hm-bet-match-head strong {
  color: #d9ffe5;
  background: rgba(74, 222, 128, 0.14);
}

.hm-bet-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.hm-bet-teams > div {
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: var(--hm-bet-radius-soft);
  background: rgba(255, 255, 255, 0.055);
}

.hm-bet-teams small {
  display: block;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-bet-teams strong {
  display: block;
  margin-top: 0.3rem;
  overflow: hidden;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-bet-teams > span {
  display: grid;
  place-items: center;
  min-height: 3.4rem;
  border-radius: var(--hm-bet-radius-soft);
  color: #fff;
  background: rgba(74, 222, 128, 0.12);
  font-weight: 950;
}

.hm-bet-match-meta {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 850;
}

.hm-bet-odds,
.hm-bet-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.hm-bet-odds a,
.hm-bet-odds > span,
.hm-bet-choice {
  display: grid;
  gap: 0.18rem;
  min-height: 4rem;
  padding: 0.62rem;
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: var(--hm-bet-radius-soft);
  color: rgba(255, 255, 255, 0.68);
  background: rgba(74, 222, 128, 0.08);
  text-align: center;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.hm-bet-odds a:hover,
.hm-bet-choice:hover,
.hm-bet-choice.is-selected {
  border-color: rgba(74, 222, 128, 0.66);
  background: rgba(74, 222, 128, 0.16);
  transform: translateY(-2px);
}

.hm-bet-odds span span,
.hm-bet-odds a span,
.hm-bet-choice span {
  overflow: hidden;
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.hm-bet-odds strong,
.hm-bet-choice strong {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1;
}

.hm-bet-odds .is-disabled {
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.hm-bet-wallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.hm-bet-rules {
  display: grid;
  gap: 0.5rem;
}

.hm-bet-rules span {
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(139, 92, 246, 0.24);
  border-radius: var(--hm-bet-radius-soft);
  color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.72rem;
  font-weight: 820;
}

.hm-bet-history-trigger {
  width: 100%;
  margin-top: 0.85rem;
  border: 0;
  background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(135deg, var(--hm-bet-violet), var(--hm-bet-pink));
}

.hm-bet-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.hm-bet-scoreboard > div {
  display: grid;
  min-height: 12rem;
  padding: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--hm-bet-radius-card);
  background:
        radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.16), transparent 8rem),
        rgba(255, 255, 255, 0.055);
}

.hm-bet-scoreboard small,
.hm-bet-field label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-bet-scoreboard strong {
  align-self: center;
  overflow: hidden;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 950;
  line-height: 0.95;
  text-overflow: ellipsis;
}

.hm-bet-scoreboard span {
  align-self: end;
  color: rgba(255, 255, 255, 0.22);
  font-size: 3rem;
  font-weight: 950;
  line-height: 1;
}

.hm-bet-scoreboard em {
  display: grid;
  place-items: center;
  min-height: 4rem;
  border-radius: var(--hm-bet-radius-soft);
  color: #fff;
  background: rgba(74, 222, 128, 0.12);
  font-style: normal;
  font-weight: 950;
}

.hm-bet-market-note {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  margin-top: 0.85rem;
  padding: 0.75rem;
  border: 1px solid rgba(139, 92, 246, 0.24);
  border-radius: var(--hm-bet-radius-card);
  background: rgba(255, 255, 255, 0.045);
}

.hm-bet-market-note img {
  width: 100%;
  border-radius: var(--hm-bet-radius-soft);
}

.hm-bet-market-note p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.45;
}

.hm-bet-ticket-form {
  display: grid;
  gap: 0.85rem;
}

.hm-bet-input {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid rgba(139, 92, 246, 0.38);
  border-radius: var(--hm-bet-radius-soft);
  outline: 0;
  background: rgba(7, 3, 28, 0.62);
  padding: 0 0.85rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
}

.hm-bet-choice {
  cursor: pointer;
}

.hm-bet-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hm-bet-payout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(245, 200, 75, 0.36);
  border-radius: var(--hm-bet-radius-soft);
  color: rgba(255, 255, 255, 0.6);
  background: rgba(245, 200, 75, 0.08);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-bet-payout strong {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.hm-bet-submit {
  gap: 0.55rem;
  min-height: 3.2rem;
  border: 0;
  background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(135deg, var(--hm-bet-green), var(--hm-bet-violet));
  box-shadow: 0 16px 34px rgba(74, 222, 128, 0.18);
}

.hm-bet-submit img {
  width: 1.4rem;
}

.hm-bet-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(6, 3, 24, 0.72);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.hm-bet-modal.is-open {
  display: grid;
}

.hm-bet-modal-dialog {
  position: relative;
  width: min(100%, 44rem);
  padding: 1rem;
  outline: none;
}

.hm-bet-modal-dialog h2 {
  margin: 0.35rem 2rem 0.85rem 0;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 950;
  line-height: 0.95;
}

.hm-bet-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--hm-bet-radius-soft);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.3rem;
  font-weight: 900;
}

.hm-bet-history-list {
  display: grid;
  gap: 0.55rem;
  max-height: 24rem;
  overflow: auto;
}

.hm-bet-history-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 4.5rem;
  padding: 0.65rem;
  border: 1px solid rgba(139, 92, 246, 0.24);
  border-radius: var(--hm-bet-radius-soft);
  background: rgba(255, 255, 255, 0.055);
}

.hm-bet-history-list strong,
.hm-bet-history-list span {
  display: block;
}

.hm-bet-history-list strong {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 950;
}

.hm-bet-history-list span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 850;
}

.hm-bet-empty {
  display: grid;
  place-items: center;
  min-height: 15rem;
  padding: 2rem;
  text-align: center;
}

.hm-bet-empty img {
  width: 4.5rem;
}

.hm-bet-empty h2 {
  margin: 0.7rem 0 0;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 950;
}

.hm-bet-empty p {
  max-width: 32rem;
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 750;
}

.hm-bet-hero,
.hm-bet-market,
.hm-bet-slip,
.hm-bet-match-card,
.hm-bet-match-preview,
.hm-bet-form-card {
  will-change: transform, opacity;
}

@media (max-width: 1050px) {
  .hm-bet-hero,
    .hm-bet-layout,
    .hm-bet-form-layout {
    grid-template-columns: 1fr;
  }

  .hm-bet-hero-visual {
    position: absolute;
    right: -1.5rem;
    bottom: -1.2rem;
    width: 18rem;
    opacity: 0.58;
  }
}

@media (max-width: 760px) {
  .hm-bet-page {
    padding: 0.9rem 0.75rem 8rem;
  }

  .hm-bet-hero h1 {
    font-size: 3rem;
  }

  .hm-bet-stats,
    .hm-bet-teams,
    .hm-bet-odds,
    .hm-bet-choice-grid,
    .hm-bet-scoreboard,
    .hm-bet-market-note {
    grid-template-columns: 1fr;
  }

  .hm-bet-panel-heading,
    .hm-bet-match-head,
    .hm-bet-match-meta,
    .hm-bet-payout,
    .hm-bet-history-list article {
    align-items: flex-start;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .hm-bet-teams > span,
    .hm-bet-scoreboard em {
    min-height: 2.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-bet-page *,
    .hm-bet-page *::before,
    .hm-bet-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Settings station console */

.hm-settings-page {
  --hm-settings-violet: #8b5cf6;
  --hm-settings-pink: #c84df2;
  --hm-settings-cyan: #38bdf8;
  --hm-settings-green: #4ade80;
  --hm-settings-gold: #f5c84b;
  --hm-settings-border: rgba(139, 92, 246, 0.62);
  --hm-settings-radius-panel: 26px;
  --hm-settings-radius-card: 22px;
  --hm-settings-radius-soft: 16px;
  position: relative;
  min-height: calc(100vh - 4rem);
  padding: 1rem 1.35rem 7rem;
  color: #fff;
  isolation: isolate;
}

.hm-settings-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
        radial-gradient(circle at 78% 20%, rgba(139, 92, 246, 0.24), transparent 24rem),
        radial-gradient(circle at 36% 64%, rgba(56, 189, 248, 0.12), transparent 24rem);
  background-size: 9rem 9rem, 9rem 9rem, auto, auto;
}

.hm-settings-page > :not(.hm-me-stars):not(.hm-me-footer-visual) {
  position: relative;
  z-index: 1;
}

.hm-settings-hero,
.hm-settings-profile-panel,
.hm-settings-card {
  border: 1px solid var(--hm-settings-border);
  border-radius: var(--hm-settings-radius-panel);
  background:
        radial-gradient(circle at 78% 22%, rgba(139, 92, 246, 0.22), transparent 16rem),
        linear-gradient(135deg, rgba(48, 31, 104, 0.82), rgba(10, 4, 37, 0.86));
  box-shadow:
        0 22px 55px rgba(5, 2, 25, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hm-settings-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.58fr);
  gap: clamp(1rem, 4vw, 4rem);
  min-height: 21rem;
  padding: clamp(1.35rem, 4vw, 3rem);
}

.hm-settings-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 48rem;
}

.hm-settings-hero h1 {
  margin: 0.55rem 0 0;
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  font-weight: 950;
  line-height: 0.92;
  text-shadow: 0 0 28px rgba(139, 92, 246, 0.34);
}

.hm-settings-hero p:not(.hm-me-kicker) {
  max-width: 44rem;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.8vw, 1.36rem);
  font-weight: 800;
  line-height: 1.5;
}

.hm-settings-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 10.5rem));
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.hm-settings-hero-stats span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 4.25rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: var(--hm-settings-radius-soft);
  background: rgba(8, 3, 35, 0.48);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hm-settings-hero-stats strong {
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: 0;
  text-transform: none;
}

.hm-settings-hero-visual {
  position: relative;
  min-height: 17rem;
}

.hm-settings-orbit {
  position: absolute;
  inset: 8% 5%;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.hm-settings-orbit--two {
  inset: 18% 15%;
  border-color: rgba(56, 189, 248, 0.22);
  transform: rotate(23deg);
}

.hm-settings-avatar-card {
  position: absolute;
  right: 8%;
  top: 50%;
  display: grid;
  justify-items: center;
  width: min(18rem, 78%);
  padding: 1.15rem;
  border: 1px solid rgba(139, 92, 246, 0.54);
  border-radius: var(--hm-settings-radius-card);
  background:
        linear-gradient(180deg, rgba(88, 55, 166, 0.78) 0 43%, rgba(13, 6, 44, 0.92) 43% 100%);
  box-shadow: 0 22px 42px rgba(5, 2, 25, 0.34);
  transform: translateY(-50%);
}

.hm-settings-avatar-sky {
  position: absolute;
  inset: 0.65rem 0.65rem auto;
  height: 5.5rem;
  border-radius: var(--hm-settings-radius-soft);
  background:
        radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.62) 0 1px, transparent 2px),
        radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.42) 0 1px, transparent 2px),
        linear-gradient(135deg, rgba(139, 92, 246, 0.34), rgba(5, 1, 26, 0.52));
}

.hm-settings-avatar {
  position: relative;
  z-index: 1;
  height: 8.8rem;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: bottom center;
     object-position: bottom center;
  filter: drop-shadow(0 18px 18px rgba(4, 1, 20, 0.45));
}

.hm-settings-avatar-card strong {
  position: relative;
  z-index: 1;
  margin-top: -0.45rem;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 950;
}

.hm-settings-avatar-card span {
  position: relative;
  z-index: 1;
  max-width: 13rem;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
  font-weight: 850;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-settings-command,
.hm-settings-moon {
  position: absolute;
  z-index: 2;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(139, 92, 246, 0.32));
}

.hm-settings-command {
  left: 8%;
  top: 10%;
  width: 4.4rem;
}

.hm-settings-moon {
  right: 0;
  bottom: 4%;
  width: 6.4rem;
}

.hm-settings-flashes {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.hm-settings-flash {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: min(100%, 48rem);
  min-height: 3.25rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: var(--hm-settings-radius-soft);
  background: rgba(20, 10, 58, 0.86);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.hm-settings-flash img {
  width: 2rem;
  height: 2rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-settings-flash--success {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 22px rgba(74, 222, 128, 0.12);
}

.hm-settings-flash--danger {
  border-color: rgba(248, 113, 113, 0.45);
  box-shadow: 0 0 22px rgba(248, 113, 113, 0.12);
}

.hm-settings-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.hm-settings-profile-panel,
.hm-settings-card {
  padding: clamp(1rem, 2vw, 1.45rem);
}

.hm-settings-panel-heading,
.hm-settings-card-head {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin-bottom: 1rem;
}

.hm-settings-panel-heading img,
.hm-settings-card-head img {
  width: 2.55rem;
  height: 2.55rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-settings-panel-heading h2,
.hm-settings-card-head h2 {
  margin: 0.12rem 0 0;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 950;
  line-height: 1;
}

.hm-settings-profile-card {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: var(--hm-settings-radius-card);
  background: rgba(9, 3, 34, 0.66);
  overflow: hidden;
}

.hm-settings-profile-banner {
  position: absolute;
  inset: 0 0 auto;
  height: 5.1rem;
  background:
        radial-gradient(circle at 80% 20%, rgba(200, 77, 242, 0.3), transparent 6rem),
        linear-gradient(135deg, rgba(139, 92, 246, 0.45), rgba(8, 3, 35, 0.12));
}

.hm-settings-profile-avatar {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: end center;
  width: 7.5rem;
  height: 7.5rem;
  margin-top: 1.4rem;
  border: 0.35rem solid rgba(28, 16, 78, 0.95);
  border-radius: 999px;
  background: linear-gradient(135deg, #6d4df2, #a97cff);
  box-shadow: 0 14px 28px rgba(7, 2, 31, 0.34);
  overflow: hidden;
}

.hm-settings-profile-avatar img {
  height: 8rem;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: bottom center;
     object-position: bottom center;
}

.hm-settings-profile-card strong {
  position: relative;
  z-index: 1;
  margin-top: 0.7rem;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 950;
}

.hm-settings-profile-card span {
  position: relative;
  z-index: 1;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-settings-signal-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.hm-settings-signal-list span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.2rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: var(--hm-settings-radius-soft);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 900;
}

.hm-settings-signal-list img {
  width: 1.75rem;
  height: 1.75rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hm-settings-card {
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hm-settings-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4.5rem;
  background: linear-gradient(to top, rgba(5, 1, 24, 0.66), transparent);
  pointer-events: none;
}

.hm-settings-card--featured {
  grid-column: span 2;
}

.hm-settings-card:hover {
  border-color: rgba(183, 139, 255, 0.9);
  box-shadow:
        0 24px 58px rgba(5, 2, 25, 0.38),
        0 0 34px rgba(139, 92, 246, 0.16);
}

.hm-settings-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.7rem;
}

.hm-settings-form label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 950;
}

.hm-settings-input {
  width: 100%;
  min-height: 3.25rem;
  border: 1px solid rgba(139, 92, 246, 0.58);
  border-radius: var(--hm-settings-radius-soft);
  outline: none;
  padding: 0 0.9rem;
  background: rgba(8, 3, 35, 0.66);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  font-weight: 850;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hm-settings-input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.hm-settings-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.hm-settings-input:focus {
  border-color: rgba(200, 77, 242, 0.88);
  background: rgba(15, 7, 52, 0.82);
  box-shadow:
        0 0 0 0.22rem rgba(139, 92, 246, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hm-settings-select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image:
        linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.72) 50%),
        linear-gradient(135deg, rgba(255,255,255,0.72) 50%, transparent 50%);
  background-position:
        calc(100% - 1.15rem) 50%,
        calc(100% - 0.8rem) 50%;
  background-size: 0.36rem 0.36rem, 0.36rem 0.36rem;
  background-repeat: no-repeat;
}

.hm-settings-form ul {
  margin: -0.3rem 0 0;
  padding: 0;
  list-style: none;
}

.hm-settings-form li {
  color: #fecaca;
  font-size: 0.76rem;
  font-weight: 850;
}

.hm-settings-two-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hm-settings-two-fields > div {
  display: grid;
  gap: 0.7rem;
}

.hm-settings-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.35rem;
  margin-top: 0.2rem;
  border: 0;
  border-radius: var(--hm-settings-radius-card);
  color: #fff;
  background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 36%),
        linear-gradient(135deg, var(--hm-settings-violet), var(--hm-settings-pink));
  box-shadow: 0 16px 34px rgba(139, 92, 246, 0.26);
  font-size: 0.96rem;
  font-weight: 950;
  cursor: pointer;
  transition: filter 0.22s ease, box-shadow 0.22s ease;
}

.hm-settings-submit:hover {
  filter: brightness(1.08);
  box-shadow: 0 20px 40px rgba(200, 77, 242, 0.3);
}

.hm-settings-submit img {
  width: 2rem;
  height: 2rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-settings-submit--small {
  min-height: 3rem;
}

.hm-settings-hero,
.hm-settings-profile-panel,
.hm-settings-card {
  will-change: transform, opacity;
}

@media (max-width: 1120px) {
  .hm-settings-layout,
    .hm-settings-hero {
    grid-template-columns: 1fr;
  }

  .hm-settings-hero-visual {
    min-height: 16rem;
  }

  .hm-settings-avatar-card {
    right: 50%;
    transform: translate(50%, -50%);
  }
}

@media (max-width: 760px) {
  .hm-settings-page {
    padding: 0.85rem 0.7rem 8rem;
  }

  .hm-settings-hero {
    min-height: 26rem;
  }

  .hm-settings-hero h1 {
    font-size: 3.2rem;
  }

  .hm-settings-hero-stats,
    .hm-settings-grid,
    .hm-settings-two-fields {
    grid-template-columns: 1fr;
  }

  .hm-settings-card--featured {
    grid-column: auto;
  }

  .hm-settings-hero-visual {
    min-height: 15rem;
  }

  .hm-settings-command {
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-settings-page *,
    .hm-settings-page *::before,
    .hm-settings-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Maintenance station */

.hm-maintenance-page {
  --hm-maintenance-violet: #8b5cf6;
  --hm-maintenance-pink: #c84df2;
  --hm-maintenance-cyan: #38bdf8;
  --hm-maintenance-green: #4ade80;
  --hm-maintenance-border: rgba(139, 92, 246, 0.62);
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: clamp(0.85rem, 2vw, 1.4rem);
  color: #fff;
  background:
        radial-gradient(circle at 72% 16%, rgba(139, 92, 246, 0.24), transparent 25rem),
        radial-gradient(circle at 28% 70%, rgba(56, 189, 248, 0.13), transparent 24rem),
        linear-gradient(180deg, #170642 0%, #240858 46%, #09021d 100%);
  isolation: isolate;
}

.hm-maintenance-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 8.5rem 8.5rem;
  opacity: 0.72;
}

.hm-maintenance-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
        radial-gradient(circle at 12% 20%, rgba(255,255,255,0.7) 0 1px, transparent 2px),
        radial-gradient(circle at 18% 68%, rgba(255,255,255,0.5) 0 1px, transparent 2px),
        radial-gradient(circle at 78% 24%, rgba(255,255,255,0.65) 0 1px, transparent 2px),
        radial-gradient(circle at 92% 68%, rgba(255,255,255,0.52) 0 1px, transparent 2px);
  opacity: 0.76;
}

.hm-maintenance-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: repeat;
  opacity: 0.55;
}

.hm-maintenance-stars--near {
  background-image:
        radial-gradient(circle, rgba(255,255,255,0.95) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(166, 211, 255, 0.8) 0 1px, transparent 2px);
  background-size: 8rem 8rem, 13rem 13rem;
  animation: hmMaintenanceStars 18s linear infinite;
}

.hm-maintenance-stars--far {
  background-image: radial-gradient(circle, rgba(255,255,255,0.5) 0 1px, transparent 2px);
  background-size: 17rem 17rem;
  animation: hmMaintenanceStars 32s linear infinite reverse;
}

.hm-maintenance-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  gap: clamp(1rem, 3vw, 2.8rem);
  width: min(100%, 68rem);
  min-height: min(34rem, calc(100vh - 2.8rem));
  padding: clamp(1rem, 3vw, 2.25rem);
  border: 1px solid var(--hm-maintenance-border);
  border-radius: 34px;
  background:
        radial-gradient(circle at 82% 24%, rgba(139, 92, 246, 0.24), transparent 20rem),
        linear-gradient(135deg, rgba(43, 26, 96, 0.86), rgba(8, 3, 32, 0.88));
  box-shadow:
        0 28px 80px rgba(5, 1, 24, 0.52),
        0 0 0 1px rgba(255,255,255,0.045) inset,
        0 0 54px rgba(139, 92, 246, 0.14);
  overflow: hidden;
}

.hm-maintenance-shell::before {
  content: "";
  position: absolute;
  inset: -35% -20% auto auto;
  width: 30rem;
  height: 30rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(200, 77, 242, 0.28), transparent 68%);
  pointer-events: none;
}

.hm-maintenance-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.hm-maintenance-logo {
  width: clamp(6.2rem, 10vw, 8.25rem);
  height: auto;
  margin-bottom: 1.1rem;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(139, 92, 246, 0.32));
}

.hm-maintenance-kicker {
  display: inline-flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 2.05rem;
  margin: 0;
  padding: 0 0.9rem;
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 999px;
  color: rgba(199, 177, 255, 0.95);
  background: rgba(139, 92, 246, 0.13);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hm-maintenance-copy h1 {
  max-width: 37rem;
  margin: 0.82rem 0 0;
  color: #fff;
  font-size: clamp(2.55rem, 4.55vw, 4.85rem);
  font-weight: 950;
  line-height: 0.96;
  text-shadow: 0 0 32px rgba(139, 92, 246, 0.32);
}

.hm-maintenance-copy > p:not(.hm-maintenance-kicker) {
  max-width: 35rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  font-weight: 800;
  line-height: 1.45;
}

.hm-maintenance-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 8.8rem));
  gap: 0.62rem;
  margin-top: 1.25rem;
}

.hm-maintenance-status-grid span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 3.45rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(139, 92, 246, 0.38);
  border-radius: 16px;
  background: rgba(7, 3, 31, 0.55);
  color: rgba(255,255,255,0.48);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-maintenance-status-grid strong {
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
}

.hm-maintenance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.hm-maintenance-primary,
.hm-maintenance-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.68rem;
  min-height: 3rem;
  border-radius: 17px;
  font-size: 0.88rem;
  font-weight: 950;
  text-decoration: none;
  transition: filter 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.hm-maintenance-primary {
  min-width: 12.4rem;
  padding: 0 1rem;
  color: #fff;
  background:
        linear-gradient(135deg, rgba(255,255,255,0.16), transparent 38%),
        linear-gradient(135deg, var(--hm-maintenance-violet), var(--hm-maintenance-pink));
  box-shadow: 0 18px 38px rgba(139, 92, 246, 0.3);
}

.hm-maintenance-primary img {
  width: 1.65rem;
  height: 1.65rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.hm-maintenance-secondary {
  min-width: 10.4rem;
  padding: 0 1.1rem;
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.055);
}

.hm-maintenance-primary:hover,
.hm-maintenance-secondary:hover {
  filter: brightness(1.08);
  text-decoration: none;
  transform: translateY(-2px);
}

.hm-maintenance-visual {
  position: relative;
  z-index: 1;
  min-height: 22rem;
}

.hm-maintenance-orbit {
  position: absolute;
  inset: 13% 4%;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.hm-maintenance-orbit--two {
  inset: 24% 17%;
  border-color: rgba(56, 189, 248, 0.26);
  transform: rotate(27deg);
}

.hm-maintenance-console {
  position: absolute;
  top: 49%;
  right: 8%;
  display: grid;
  justify-items: center;
  width: min(17.5rem, 82%);
  padding: 0.82rem 0.82rem 1rem;
  border: 1px solid rgba(139, 92, 246, 0.52);
  border-radius: 22px;
  background:
        linear-gradient(180deg, rgba(76, 48, 149, 0.82) 0 34%, rgba(10, 4, 39, 0.94) 34% 100%);
  box-shadow: 0 24px 50px rgba(4, 1, 20, 0.42);
  transform: translateY(-50%);
}

.hm-maintenance-console-top {
  display: flex;
  gap: 0.38rem;
  justify-self: stretch;
  margin-bottom: 0.55rem;
}

.hm-maintenance-console-top span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
}

.hm-maintenance-console-top span:first-child {
  background: #fb7185;
}

.hm-maintenance-console-top span:nth-child(2) {
  background: #facc15;
}

.hm-maintenance-console-top span:nth-child(3) {
  background: #4ade80;
}

.hm-maintenance-console > img {
  width: min(11.5rem, 76%);
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(139, 92, 246, 0.26));
}

.hm-maintenance-console strong {
  margin-top: -0.2rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 950;
}

.hm-maintenance-console small {
  color: rgba(255,255,255,0.55);
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hm-maintenance-astronaut,
.hm-maintenance-planet,
.hm-maintenance-rocket,
.hm-maintenance-meteor {
  position: absolute;
  z-index: 3;
  -o-object-fit: contain;
     object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 15px 20px rgba(4, 1, 20, 0.42));
}

.hm-maintenance-astronaut {
  right: -0.6rem;
  bottom: 0.2rem;
  width: clamp(7rem, 14vw, 10.5rem);
}

.hm-maintenance-planet--one {
  left: 3vw;
  top: 12vh;
  width: clamp(3.4rem, 5.4vw, 5rem);
}

.hm-maintenance-planet--two {
  right: 9vw;
  top: 7vh;
  width: clamp(2.1rem, 3.5vw, 3.2rem);
}

.hm-maintenance-rocket {
  left: 7vw;
  bottom: 9vh;
  width: clamp(3.4rem, 5vw, 4.6rem);
}

.hm-maintenance-meteor--one {
  left: 7%;
  bottom: 18%;
  width: 3.4rem;
}

.hm-maintenance-meteor--two {
  right: 15%;
  top: 16%;
  width: 2.8rem;
}

.hm-maintenance-footer {
  position: absolute;
  right: 0;
  bottom: -3.3rem;
  left: 0;
  z-index: 1;
  width: 100%;
  max-height: 18rem;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  opacity: 0.9;
  pointer-events: none;
}

.hm-maintenance-shell,
.hm-maintenance-logo,
.hm-maintenance-console,
.hm-maintenance-astronaut {
  will-change: transform, opacity;
}

@keyframes hmMaintenanceStars {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-8rem, 8rem, 0);
  }
}

@media (max-width: 980px) {
  .hm-maintenance-page {
    align-items: start;
    padding-top: 1rem;
  }

  .hm-maintenance-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hm-maintenance-visual {
    min-height: 19rem;
  }

  .hm-maintenance-console {
    right: 50%;
    transform: translate(50%, -50%);
  }

  .hm-maintenance-astronaut {
    right: 1rem;
    width: 8rem;
  }
}

@media (max-width: 640px) {
  .hm-maintenance-page {
    padding: 0.75rem 0.7rem 7.5rem;
  }

  .hm-maintenance-shell {
    border-radius: 26px;
    padding: 1rem;
  }

  .hm-maintenance-copy h1 {
    font-size: 2.8rem;
  }

  .hm-maintenance-status-grid,
    .hm-maintenance-actions {
    grid-template-columns: 1fr;
  }

  .hm-maintenance-status-grid {
    display: grid;
  }

  .hm-maintenance-primary,
    .hm-maintenance-secondary {
    width: 100%;
  }

  .hm-maintenance-visual {
    min-height: 16rem;
  }

  .hm-maintenance-console {
    width: 86%;
  }

  .hm-maintenance-planet--one,
    .hm-maintenance-planet--two,
    .hm-maintenance-rocket {
    opacity: 0.62;
  }

  .hm-maintenance-footer {
    bottom: -1.4rem;
    min-height: 9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-maintenance-page *,
    .hm-maintenance-page *::before,
    .hm-maintenance-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.hover\:-translate-y-1:hover {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:overflow-auto:hover {
  overflow: auto;
}

.hover\:border-primary:hover {
  --tw-border-opacity: 1;
  border-color: var(--fallback-p,oklch(var(--p)/var(--tw-border-opacity)));
}

.hover\:border-primary\/30:hover {
  border-color: var(--fallback-p,oklch(var(--p)/0.3));
}

.hover\:bg-gray-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.hover\:bg-indigo-800:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(55 48 163 / var(--tw-bg-opacity));
}

.hover\:bg-primary\/20:hover {
  background-color: var(--fallback-p,oklch(var(--p)/0.2));
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.hover\:shadow-\[0_0_42px_rgba\(139\2c 92\2c 246\2c 0\.45\)\]:hover {
  --tw-shadow: 0 0 42px rgba(139,92,246,0.45);
  --tw-shadow-colored: 0 0 42px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.focus\:border-primary:focus {
  --tw-border-opacity: 1;
  border-color: var(--fallback-p,oklch(var(--p)/var(--tw-border-opacity)));
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-indigo-600:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity));
}

.focus\:ring-primary\/50:focus {
  --tw-ring-color: var(--fallback-p,oklch(var(--p)/0.5));
}

.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}

.focus\:ring-offset-white:focus {
  --tw-ring-offset-color: #fff;
}

@media (min-width: 640px) {
  .sm\:left-16 {
    left: 4rem;
  }

  .sm\:flex {
    display: flex;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:h-20 {
    height: 5rem;
  }

  .sm\:h-24 {
    height: 6rem;
  }

  .sm\:w-20 {
    width: 5rem;
  }

  .sm\:w-28 {
    width: 7rem;
  }

  .sm\:w-56 {
    width: 14rem;
  }

  .sm\:w-72 {
    width: 18rem;
  }

  .sm\:w-\[8\.5rem\] {
    width: 8.5rem;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:px-7 {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .sm\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .sm\:pl-10 {
    padding-left: 2.5rem;
  }

  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .sm\:text-\[1\.9rem\] {
    font-size: 1.9rem;
  }

  .sm\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:static {
    position: static;
  }

  .lg\:absolute {
    position: absolute;
  }

  .lg\:left-1\/2 {
    left: 50%;
  }

  .lg\:top-1\/2 {
    top: 50%;
  }

  .lg\:block {
    display: block;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:h-24 {
    height: 6rem;
  }

  .lg\:w-64 {
    width: 16rem;
  }

  .lg\:w-72 {
    width: 18rem;
  }

  .lg\:max-w-\[270px\] {
    max-width: 270px;
  }

  .lg\:max-w-none {
    max-width: none;
  }

  .lg\:-translate-x-1\/2 {
    --tw-translate-x: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .lg\:-translate-y-1\/2 {
    --tw-translate-y: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .lg\:grid-cols-\[0\.98fr_1\.02fr\] {
    grid-template-columns: 0.98fr 1.02fr;
  }

  .lg\:grid-cols-\[1fr_0\.9fr\] {
    grid-template-columns: 1fr 0.9fr;
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:items-center {
    align-items: center;
  }

  .lg\:justify-center {
    justify-content: center;
  }

  .lg\:gap-6 {
    gap: 1.5rem;
  }

  .lg\:px-9 {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
  }

  .lg\:py-0 {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .lg\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .lg\:text-\[1\.28rem\] {
    font-size: 1.28rem;
  }

  .lg\:text-\[3\.35rem\] {
    font-size: 3.35rem;
  }
}

@media (min-width: 1280px) {
  .xl\:w-72 {
    width: 18rem;
  }
}
