@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

/*
! tailwindcss v3.3.6 | 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. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. 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-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
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-feature-settings: inherit;
  /* 1 */
  font-variation-settings: 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;
}

/*
Reset default styling for dialogs.
*/

dialog {
  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;
}

*, ::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-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --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-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --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% !important;
}

.container{
  width: 100%;
}

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

  .container{
    max-width: 640px;
  }
}

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

  .container{
    max-width: 768px;
  }
}

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

  .container{
    max-width: 1024px;
  }
}

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

  .container{
    max-width: 1280px;
  }
}

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

  .container{
    max-width: 1536px;
  }
}

.iconify{
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.iconify-color{
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: var(--svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.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;
}

.not-sr-only{
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

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

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

.\!visible{
  visibility: visible !important;
}

.visible{
  visibility: visible;
}

.invisible{
  visibility: hidden;
}

.collapse{
  visibility: collapse;
}

.static{
  position: static;
}

.\!fixed{
  position: fixed !important;
}

.fixed{
  position: fixed;
}

.absolute{
  position: absolute;
}

.\!relative{
  position: relative !important;
}

.relative{
  position: relative;
}

.\!sticky{
  position: sticky !important;
}

.sticky{
  position: sticky;
}

.-inset-1{
  inset: -0.25rem;
}

.inset-0{
  inset: 0px;
}

.-right-1{
  right: -0.25rem;
}

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

.bottom-0{
  bottom: 0px;
}

.bottom-1{
  bottom: 0.25rem;
}

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

.end-1{
  inset-inline-end: 0.25rem;
}

.left-0{
  left: 0px;
}

.left-1{
  left: 0.25rem;
}

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

.left-2{
  left: 0.5rem;
}

.left-5{
  left: 1.25rem;
}

.left-\[32px\]{
  left: 32px;
}

.right-0{
  right: 0px;
}

.right-3{
  right: 0.75rem;
}

.right-4{
  right: 1rem;
}

.start-1{
  inset-inline-start: 0.25rem;
}

.top-0{
  top: 0px;
}

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

.top-10{
  top: 2.5rem;
}

.top-16{
  top: 4rem;
}

.top-2{
  top: 0.5rem;
}

.top-3{
  top: 0.75rem;
}

.top-4{
  top: 1rem;
}

.top-5{
  top: 1.25rem;
}

.top-\[32px\]{
  top: 32px;
}

.top-\[calc\(100\%\+0\.35rem\)\]{
  top: calc(100% + 0.35rem);
}

.isolate{
  isolation: isolate;
}

.isolation-auto{
  isolation: auto;
}

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

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

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

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

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

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

.z-\[100000\]{
  z-index: 100000;
}

.z-\[10000\]{
  z-index: 10000;
}

.z-\[100\]{
  z-index: 100;
}

.z-\[12000\]{
  z-index: 12000;
}

.z-\[9996\]{
  z-index: 9996;
}

.z-\[9998\]{
  z-index: 9998;
}

.z-\[9999\]{
  z-index: 9999;
}

.order-1{
  order: 1;
}

.order-2{
  order: 2;
}

.order-3{
  order: 3;
}

.col-span-2{
  grid-column: span 2 / span 2;
}

.float-right{
  float: right;
}

.float-left{
  float: left;
}

.float-none{
  float: none;
}

.clear-left{
  clear: left;
}

.clear-right{
  clear: right;
}

.clear-both{
  clear: both;
}

.clear-none{
  clear: none;
}

.m-0{
  margin: 0px;
}

.m-1{
  margin: 0.25rem;
}

.m-2{
  margin: 0.5rem;
}

.m-3{
  margin: 0.75rem;
}

.m-4{
  margin: 1rem;
}

.m-5{
  margin: 1.25rem;
}

.m-auto{
  margin: auto;
}

.mx-0{
  margin-left: 0px;
  margin-right: 0px;
}

.mx-1{
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.mx-2{
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.mx-3{
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}

.mx-4{
  margin-left: 1rem;
  margin-right: 1rem;
}

.mx-5{
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

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

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

.my-2{
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

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

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

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

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

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

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

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

.mb-5{
  margin-bottom: 1.25rem;
}

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

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

.ml-1{
  margin-left: 0.25rem;
}

.ml-2{
  margin-left: 0.5rem;
}

.ml-3{
  margin-left: 0.75rem;
}

.ml-4{
  margin-left: 1rem;
}

.ml-5{
  margin-left: 1.25rem;
}

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

.mr-1{
  margin-right: 0.25rem;
}

.mr-2{
  margin-right: 0.5rem;
}

.mr-3{
  margin-right: 0.75rem;
}

.mr-4{
  margin-right: 1rem;
}

.mr-5{
  margin-right: 1.25rem;
}

.ms-2{
  margin-inline-start: 0.5rem;
}

.ms-3{
  margin-inline-start: 0.75rem;
}

.mt-0{
  margin-top: 0px;
}

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

.mt-1\.5{
  margin-top: 0.375rem;
}

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

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

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

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

.mt-6{
  margin-top: 1.5rem;
}

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

.mt-\[2px\]{
  margin-top: 2px;
}

.mt-auto{
  margin-top: auto;
}

.box-border{
  box-sizing: border-box;
}

.box-content{
  box-sizing: content-box;
}

.line-clamp-4{
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.line-clamp-none{
  overflow: visible;
  display: block;
  -webkit-box-orient: horizontal;
  -webkit-line-clamp: none;
}

.block{
  display: block;
}

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

.inline{
  display: inline;
}

.flex{
  display: flex;
}

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

.\!table{
  display: table !important;
}

.table{
  display: table;
}

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

.table-caption{
  display: table-caption;
}

.table-cell{
  display: table-cell;
}

.table-column{
  display: table-column;
}

.table-column-group{
  display: table-column-group;
}

.table-footer-group{
  display: table-footer-group;
}

.table-header-group{
  display: table-header-group;
}

.table-row-group{
  display: table-row-group;
}

.table-row{
  display: table-row;
}

.flow-root{
  display: flow-root;
}

.\!grid{
  display: grid !important;
}

.grid{
  display: grid;
}

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

.contents{
  display: contents;
}

.list-item{
  display: list-item;
}

.\!hidden{
  display: none !important;
}

.hidden{
  display: none;
}

.aspect-video{
  aspect-ratio: 16 / 9;
}

.h-1{
  height: 0.25rem;
}

.h-1\.5{
  height: 0.375rem;
}

.h-10{
  height: 2.5rem;
}

.h-11{
  height: 2.75rem;
}

.h-14{
  height: 3.5rem;
}

.h-16{
  height: 4rem;
}

.h-20{
  height: 5rem;
}

.h-28{
  height: 7rem;
}

.h-3{
  height: 0.75rem;
}

.h-3\.5{
  height: 0.875rem;
}

.h-32{
  height: 8rem;
}

.h-4{
  height: 1rem;
}

.h-40{
  height: 10rem;
}

.h-5{
  height: 1.25rem;
}

.h-7{
  height: 1.75rem;
}

.h-8{
  height: 2rem;
}

.h-9{
  height: 2.25rem;
}

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

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

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

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

.h-\[20vh\]{
  height: 20vh;
}

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

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

.h-\[5vh\]{
  height: 5vh;
}

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

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

.h-\[calc\(100\%-1rem\)\]{
  height: calc(100% - 1rem);
}

.h-\[calc\(100dvh-1\.5rem\)\]{
  height: calc(100dvh - 1.5rem);
}

.h-auto{
  height: auto;
}

.h-full{
  height: 100%;
}

.h-screen{
  height: 100vh;
}

.max-h-0{
  max-height: 0px;
}

.max-h-32{
  max-height: 8rem;
}

.max-h-44{
  max-height: 11rem;
}

.max-h-48{
  max-height: 12rem;
}

.max-h-\[100px\]{
  max-height: 100px;
}

.max-h-\[120px\]{
  max-height: 120px;
}

.max-h-\[130px\]{
  max-height: 130px;
}

.max-h-\[150px\]{
  max-height: 150px;
}

.max-h-\[200px\]{
  max-height: 200px;
}

.max-h-\[20vh\]{
  max-height: 20vh;
}

.max-h-\[220px\]{
  max-height: 220px;
}

.max-h-\[35vh\]{
  max-height: 35vh;
}

.max-h-\[80vh\]{
  max-height: 80vh;
}

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

.max-h-full{
  max-height: 100%;
}

.min-h-0{
  min-height: 0px;
}

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

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

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

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

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

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

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

.min-h-\[20rem\]{
  min-height: 20rem;
}

.min-h-\[20vh\]{
  min-height: 20vh;
}

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

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

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

.min-h-full{
  min-height: 100%;
}

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

.w-1{
  width: 0.25rem;
}

.w-1\.5{
  width: 0.375rem;
}

.w-1\/12{
  width: 8.333333%;
}

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

.w-1\/3{
  width: 33.333333%;
}

.w-11{
  width: 2.75rem;
}

.w-14{
  width: 3.5rem;
}

.w-16{
  width: 4rem;
}

.w-2\/12{
  width: 16.666667%;
}

.w-20{
  width: 5rem;
}

.w-28{
  width: 7rem;
}

.w-3{
  width: 0.75rem;
}

.w-3\.5{
  width: 0.875rem;
}

.w-32{
  width: 8rem;
}

.w-4{
  width: 1rem;
}

.w-48{
  width: 12rem;
}

.w-5{
  width: 1.25rem;
}

.w-7{
  width: 1.75rem;
}

.w-8{
  width: 2rem;
}

.w-9{
  width: 2.25rem;
}

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

.w-\[100vh\]{
  width: 100vh;
}

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

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

.w-\[20vw\]{
  width: 20vw;
}

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

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

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

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

.w-\[80vw\]{
  width: 80vw;
}

.w-\[90vw\]{
  width: 90vw;
}

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

.w-\[95vw\]{
  width: 95vw;
}

.w-\[this-is\\\\\]{
  width: this-is\\;
}

.w-\[this-is\]{
  width: this-is;
}

.w-\[weird-and-invalid\]{
  width: weird-and-invalid;
}

.w-auto{
  width: auto;
}

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

.w-full{
  width: 100%;
}

.min-w-0{
  min-width: 0px;
}

.min-w-full{
  min-width: 100%;
}

.min-w-max{
  min-width: -moz-max-content;
  min-width: max-content;
}

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

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

.max-w-4xl{
  max-width: 56rem;
}

.max-w-5xl{
  max-width: 64rem;
}

.max-w-6xl{
  max-width: 72rem;
}

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

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

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

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

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

.max-w-full{
  max-width: 100%;
}

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

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

.max-w-none{
  max-width: none;
}

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

.flex-none{
  flex: none;
}

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

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

.shrink{
  flex-shrink: 1;
}

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

.flex-grow{
  flex-grow: 1;
}

.grow{
  flex-grow: 1;
}

.table-auto{
  table-layout: auto;
}

.table-fixed{
  table-layout: fixed;
}

.caption-top{
  caption-side: top;
}

.caption-bottom{
  caption-side: bottom;
}

.border-collapse{
  border-collapse: collapse;
}

.border-separate{
  border-collapse: separate;
}

.-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-y-full{
  --tw-translate-y: -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-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-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-full{
  --tw-translate-y: 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));
}

.rotate-180{
  --tw-rotate: 180deg;
  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));
}

.rotate-90{
  --tw-rotate: 90deg;
  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));
}

.scale-100{
  --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));
}

.scale-90{
  --tw-scale-x: .9;
  --tw-scale-y: .9;
  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));
}

.scale-x-\[-1\]{
  --tw-scale-x: -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));
}

.\!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)) !important;
}

.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));
}

.transform-cpu{
  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-gpu{
  transform: translate3d(var(--tw-translate-x), var(--tw-translate-y), 0) 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-none{
  transform: none;
}

.animate-\[mp-holo-border_2s_ease-in-out_infinite\]{
  animation: mp-holo-border 2s ease-in-out infinite;
}

.animate-\[mp-pop_0\.35s_ease-out\]{
  animation: mp-pop 0.35s ease-out;
}

@keyframes dodge{
  0%{
    transform: scaleX(var(--flip)) translateY(0px);
  }

  30%{
    transform: scaleX(var(--flip)) translateY(-10px);
  }

  60%{
    transform: scaleX(var(--flip)) translateY(8px);
  }

  100%{
    transform: scaleX(var(--flip)) translateY(0px);
  }
}

.animate-dodge{
  animation: dodge 0.35s ease-out;
}

@keyframes float-damage{
  0%{
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.6);
  }

  15%{
    opacity: 1;
    transform: translate(-50%, 0px) scale(1.2);
  }

  60%{
    opacity: 1;
    transform: translate(-50%, -25px) scale(1);
  }

  100%{
    opacity: 0;
    transform: translate(-50%, -55px) scale(0.9);
  }
}

.animate-float-damage{
  animation: float-damage 1.2s ease-out forwards;
}

@keyframes pulse{
  50%{
    opacity: .5;
  }
}

.animate-pulse{
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.cursor-crosshair{
  cursor: crosshair;
}

.cursor-grab{
  cursor: grab;
}

.cursor-grabbing{
  cursor: grabbing;
}

.cursor-help{
  cursor: help;
}

.cursor-not-allowed{
  cursor: not-allowed;
}

.cursor-pointer{
  cursor: pointer;
}

.touch-auto{
  touch-action: auto;
}

.touch-none{
  touch-action: none;
}

.touch-pan-x{
  --tw-pan-x: pan-x;
  touch-action: var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom);
}

.touch-pan-left{
  --tw-pan-x: pan-left;
  touch-action: var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom);
}

.touch-pan-right{
  --tw-pan-x: pan-right;
  touch-action: var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom);
}

.touch-pan-y{
  --tw-pan-y: pan-y;
  touch-action: var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom);
}

.touch-pan-up{
  --tw-pan-y: pan-up;
  touch-action: var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom);
}

.touch-pan-down{
  --tw-pan-y: pan-down;
  touch-action: var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom);
}

.touch-pinch-zoom{
  --tw-pinch-zoom: pinch-zoom;
  touch-action: var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom);
}

.touch-manipulation{
  touch-action: manipulation;
}

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

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

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

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

.resize-none{
  resize: none;
}

.resize-y{
  resize: vertical;
}

.resize-x{
  resize: horizontal;
}

.resize{
  resize: both;
}

.snap-none{
  scroll-snap-type: none;
}

.snap-x{
  scroll-snap-type: x var(--tw-scroll-snap-strictness);
}

.snap-y{
  scroll-snap-type: y var(--tw-scroll-snap-strictness);
}

.snap-both{
  scroll-snap-type: both var(--tw-scroll-snap-strictness);
}

.snap-mandatory{
  --tw-scroll-snap-strictness: mandatory;
}

.snap-proximity{
  --tw-scroll-snap-strictness: proximity;
}

.snap-start{
  scroll-snap-align: start;
}

.snap-end{
  scroll-snap-align: end;
}

.snap-center{
  scroll-snap-align: center;
}

.snap-align-none{
  scroll-snap-align: none;
}

.snap-normal{
  scroll-snap-stop: normal;
}

.snap-always{
  scroll-snap-stop: always;
}

.scroll-mt-24{
  scroll-margin-top: 6rem;
}

.scroll-mt-28{
  scroll-margin-top: 7rem;
}

.list-inside{
  list-style-position: inside;
}

.list-outside{
  list-style-position: outside;
}

.list-none{
  list-style-type: none;
}

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

.break-before-auto{
  -moz-column-break-before: auto;
       break-before: auto;
}

.break-before-avoid{
  -moz-column-break-before: avoid;
       break-before: avoid;
}

.break-before-all{
  -moz-column-break-before: all;
       break-before: all;
}

.break-before-avoid-page{
  -moz-column-break-before: avoid;
       break-before: avoid-page;
}

.break-before-page{
  -moz-column-break-before: page;
       break-before: page;
}

.break-before-left{
  -moz-column-break-before: left;
       break-before: left;
}

.break-before-right{
  -moz-column-break-before: right;
       break-before: right;
}

.break-before-column{
  -moz-column-break-before: column;
       break-before: column;
}

.break-inside-auto{
  -moz-column-break-inside: auto;
       break-inside: auto;
}

.break-inside-avoid{
  -moz-column-break-inside: avoid;
       break-inside: avoid;
}

.break-inside-avoid-page{
  break-inside: avoid-page;
}

.break-inside-avoid-column{
  -moz-column-break-inside: avoid;
       break-inside: avoid-column;
}

.break-after-auto{
  -moz-column-break-after: auto;
       break-after: auto;
}

.break-after-avoid{
  -moz-column-break-after: avoid;
       break-after: avoid;
}

.break-after-all{
  -moz-column-break-after: all;
       break-after: all;
}

.break-after-avoid-page{
  -moz-column-break-after: avoid;
       break-after: avoid-page;
}

.break-after-page{
  -moz-column-break-after: page;
       break-after: page;
}

.break-after-left{
  -moz-column-break-after: left;
       break-after: left;
}

.break-after-right{
  -moz-column-break-after: right;
       break-after: right;
}

.break-after-column{
  -moz-column-break-after: column;
       break-after: column;
}

.grid-flow-row{
  grid-auto-flow: row;
}

.grid-flow-col{
  grid-auto-flow: column;
}

.grid-flow-dense{
  grid-auto-flow: dense;
}

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

.grid-flow-col-dense{
  grid-auto-flow: column dense;
}

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

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

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

.grid-cols-\[1fr_auto_1fr\]{
  grid-template-columns: 1fr auto 1fr;
}

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

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

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

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

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

.flex-wrap-reverse{
  flex-wrap: wrap-reverse;
}

.flex-nowrap{
  flex-wrap: nowrap;
}

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

.place-content-start{
  place-content: start;
}

.place-content-end{
  place-content: end;
}

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

.place-content-around{
  place-content: space-around;
}

.place-content-evenly{
  place-content: space-evenly;
}

.place-content-baseline{
  place-content: baseline;
}

.place-content-stretch{
  place-content: stretch;
}

.place-items-start{
  place-items: start;
}

.place-items-end{
  place-items: end;
}

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

.place-items-baseline{
  place-items: baseline;
}

.place-items-stretch{
  place-items: stretch;
}

.content-normal{
  align-content: normal;
}

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

.content-start{
  align-content: flex-start;
}

.content-end{
  align-content: flex-end;
}

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

.content-around{
  align-content: space-around;
}

.content-evenly{
  align-content: space-evenly;
}

.content-baseline{
  align-content: baseline;
}

.content-stretch{
  align-content: stretch;
}

.items-start{
  align-items: flex-start;
}

.items-end{
  align-items: flex-end;
}

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

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

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

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

.justify-start{
  justify-content: flex-start;
}

.justify-end{
  justify-content: flex-end;
}

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

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

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

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

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

.justify-items-start{
  justify-items: start;
}

.justify-items-end{
  justify-items: end;
}

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

.justify-items-stretch{
  justify-items: stretch;
}

.gap-0{
  gap: 0px;
}

.gap-0\.5{
  gap: 0.125rem;
}

.gap-1{
  gap: 0.25rem;
}

.gap-1\.5{
  gap: 0.375rem;
}

.gap-16{
  gap: 4rem;
}

.gap-2{
  gap: 0.5rem;
}

.gap-20{
  gap: 5rem;
}

.gap-3{
  gap: 0.75rem;
}

.gap-4{
  gap: 1rem;
}

.gap-6{
  gap: 1.5rem;
}

.gap-8{
  gap: 2rem;
}

.gap-\[1vh\]{
  gap: 1vh;
}

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

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

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

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

.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-3 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * 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));
}

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

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

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

.space-y-reverse > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 1;
}

.space-x-reverse > :not([hidden]) ~ :not([hidden]){
  --tw-space-x-reverse: 1;
}

.divide-x > :not([hidden]) ~ :not([hidden]){
  --tw-divide-x-reverse: 0;
  border-right-width: calc(1px * var(--tw-divide-x-reverse));
  border-left-width: calc(1px * calc(1 - var(--tw-divide-x-reverse)));
}

.divide-y > :not([hidden]) ~ :not([hidden]){
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}

.divide-y-reverse > :not([hidden]) ~ :not([hidden]){
  --tw-divide-y-reverse: 1;
}

.divide-x-reverse > :not([hidden]) ~ :not([hidden]){
  --tw-divide-x-reverse: 1;
}

.divide-solid > :not([hidden]) ~ :not([hidden]){
  border-style: solid;
}

.divide-dashed > :not([hidden]) ~ :not([hidden]){
  border-style: dashed;
}

.divide-dotted > :not([hidden]) ~ :not([hidden]){
  border-style: dotted;
}

.divide-double > :not([hidden]) ~ :not([hidden]){
  border-style: double;
}

.divide-none > :not([hidden]) ~ :not([hidden]){
  border-style: none;
}

.divide-gray-800 > :not([hidden]) ~ :not([hidden]){
  --tw-divide-opacity: 1;
  border-color: rgb(31 41 55 / var(--tw-divide-opacity));
}

.divide-white > :not([hidden]) ~ :not([hidden]){
  --tw-divide-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-divide-opacity));
}

.divide-zinc-800 > :not([hidden]) ~ :not([hidden]){
  --tw-divide-opacity: 1;
  border-color: rgb(39 39 42 / var(--tw-divide-opacity));
}

.place-self-auto{
  place-self: auto;
}

.place-self-start{
  place-self: start;
}

.place-self-end{
  place-self: end;
}

.place-self-center{
  place-self: center;
}

.place-self-stretch{
  place-self: stretch;
}

.self-auto{
  align-self: auto;
}

.self-start{
  align-self: flex-start;
}

.self-end{
  align-self: flex-end;
}

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

.self-stretch{
  align-self: stretch;
}

.self-baseline{
  align-self: baseline;
}

.justify-self-auto{
  justify-self: auto;
}

.justify-self-start{
  justify-self: start;
}

.justify-self-end{
  justify-self: end;
}

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

.justify-self-stretch{
  justify-self: stretch;
}

.overflow-auto{
  overflow: auto;
}

.overflow-hidden{
  overflow: hidden;
}

.overflow-clip{
  overflow: clip;
}

.overflow-visible{
  overflow: visible;
}

.overflow-scroll{
  overflow: scroll;
}

.overflow-x-auto{
  overflow-x: auto;
}

.overflow-y-auto{
  overflow-y: auto;
}

.overflow-x-hidden{
  overflow-x: hidden;
}

.overflow-y-hidden{
  overflow-y: hidden;
}

.overflow-x-clip{
  overflow-x: clip;
}

.overflow-y-clip{
  overflow-y: clip;
}

.overflow-x-visible{
  overflow-x: visible;
}

.overflow-y-visible{
  overflow-y: visible;
}

.overflow-x-scroll{
  overflow-x: scroll;
}

.overflow-y-scroll{
  overflow-y: scroll;
}

.overscroll-auto{
  overscroll-behavior: auto;
}

.overscroll-contain{
  overscroll-behavior: contain;
}

.overscroll-none{
  overscroll-behavior: none;
}

.overscroll-y-auto{
  overscroll-behavior-y: auto;
}

.overscroll-y-contain{
  overscroll-behavior-y: contain;
}

.overscroll-y-none{
  overscroll-behavior-y: none;
}

.overscroll-x-auto{
  overscroll-behavior-x: auto;
}

.overscroll-x-contain{
  overscroll-behavior-x: contain;
}

.overscroll-x-none{
  overscroll-behavior-x: none;
}

.scroll-auto{
  scroll-behavior: auto;
}

.scroll-smooth{
  scroll-behavior: smooth;
}

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

.overflow-ellipsis{
  text-overflow: ellipsis;
}

.text-ellipsis{
  text-overflow: ellipsis;
}

.text-clip{
  text-overflow: clip;
}

.hyphens-none{
  hyphens: none;
}

.hyphens-manual{
  hyphens: manual;
}

.hyphens-auto{
  hyphens: auto;
}

.whitespace-normal{
  white-space: normal;
}

.whitespace-nowrap{
  white-space: nowrap;
}

.whitespace-pre{
  white-space: pre;
}

.whitespace-pre-line{
  white-space: pre-line;
}

.whitespace-pre-wrap{
  white-space: pre-wrap;
}

.whitespace-break-spaces{
  white-space: break-spaces;
}

.break-normal{
  overflow-wrap: normal;
  word-break: normal;
}

.break-words{
  overflow-wrap: break-word;
}

.break-all{
  word-break: break-all;
}

.break-keep{
  word-break: keep-all;
}

.rounded{
  border-radius: 0.25rem;
}

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

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

.rounded-\[2\.5rem\]{
  border-radius: 2.5rem;
}

.rounded-\[2rem\]{
  border-radius: 2rem;
}

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

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

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

.rounded-sm{
  border-radius: 0.125rem;
}

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

.rounded-b{
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.rounded-e{
  border-start-end-radius: 0.25rem;
  border-end-end-radius: 0.25rem;
}

.rounded-l{
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.rounded-r{
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.rounded-s{
  border-start-start-radius: 0.25rem;
  border-end-start-radius: 0.25rem;
}

.rounded-t{
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.rounded-t-lg{
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

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

.rounded-bl{
  border-bottom-left-radius: 0.25rem;
}

.rounded-br{
  border-bottom-right-radius: 0.25rem;
}

.rounded-ee{
  border-end-end-radius: 0.25rem;
}

.rounded-es{
  border-end-start-radius: 0.25rem;
}

.rounded-se{
  border-start-end-radius: 0.25rem;
}

.rounded-ss{
  border-start-start-radius: 0.25rem;
}

.rounded-tl{
  border-top-left-radius: 0.25rem;
}

.rounded-tr{
  border-top-right-radius: 0.25rem;
}

.\!border{
  border-width: 1px !important;
}

.border{
  border-width: 1px;
}

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

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

.border-x{
  border-left-width: 1px;
  border-right-width: 1px;
}

.border-y{
  border-top-width: 1px;
  border-bottom-width: 1px;
}

.border-b{
  border-bottom-width: 1px;
}

.border-b-2{
  border-bottom-width: 2px;
}

.border-e{
  border-inline-end-width: 1px;
}

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

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

.border-s{
  border-inline-start-width: 1px;
}

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

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

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

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

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

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

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

.border-\[\#B1F1CB\]{
  --tw-border-opacity: 1;
  border-color: rgb(177 241 203 / var(--tw-border-opacity));
}

.border-\[\#B1F1CB\]\/40{
  border-color: rgb(177 241 203 / 0.4);
}

.border-amber-400{
  --tw-border-opacity: 1;
  border-color: rgb(251 191 36 / var(--tw-border-opacity));
}

.border-amber-400\/20{
  border-color: rgb(251 191 36 / 0.2);
}

.border-amber-400\/25{
  border-color: rgb(251 191 36 / 0.25);
}

.border-amber-400\/30{
  border-color: rgb(251 191 36 / 0.3);
}

.border-amber-400\/50{
  border-color: rgb(251 191 36 / 0.5);
}

.border-amber-500\/50{
  border-color: rgb(245 158 11 / 0.5);
}

.border-blue-600{
  --tw-border-opacity: 1;
  border-color: rgb(37 99 235 / var(--tw-border-opacity));
}

.border-cyan-400\/30{
  border-color: rgb(34 211 238 / 0.3);
}

.border-emerald-300{
  --tw-border-opacity: 1;
  border-color: rgb(110 231 183 / var(--tw-border-opacity));
}

.border-emerald-300\/70{
  border-color: rgb(110 231 183 / 0.7);
}

.border-emerald-400{
  --tw-border-opacity: 1;
  border-color: rgb(52 211 153 / var(--tw-border-opacity));
}

.border-emerald-400\/10{
  border-color: rgb(52 211 153 / 0.1);
}

.border-emerald-400\/20{
  border-color: rgb(52 211 153 / 0.2);
}

.border-emerald-400\/25{
  border-color: rgb(52 211 153 / 0.25);
}

.border-emerald-400\/30{
  border-color: rgb(52 211 153 / 0.3);
}

.border-emerald-400\/40{
  border-color: rgb(52 211 153 / 0.4);
}

.border-emerald-400\/50{
  border-color: rgb(52 211 153 / 0.5);
}

.border-emerald-400\/60{
  border-color: rgb(52 211 153 / 0.6);
}

.border-emerald-500{
  --tw-border-opacity: 1;
  border-color: rgb(16 185 129 / var(--tw-border-opacity));
}

.border-emerald-500\/10{
  border-color: rgb(16 185 129 / 0.1);
}

.border-emerald-500\/20{
  border-color: rgb(16 185 129 / 0.2);
}

.border-emerald-500\/25{
  border-color: rgb(16 185 129 / 0.25);
}

.border-emerald-500\/30{
  border-color: rgb(16 185 129 / 0.3);
}

.border-emerald-500\/40{
  border-color: rgb(16 185 129 / 0.4);
}

.border-emerald-500\/50{
  border-color: rgb(16 185 129 / 0.5);
}

.border-emerald-700\/30{
  border-color: rgb(4 120 87 / 0.3);
}

.border-emerald-700\/40{
  border-color: rgb(4 120 87 / 0.4);
}

.border-emerald-800\/20{
  border-color: rgb(6 95 70 / 0.2);
}

.border-emerald-800\/30{
  border-color: rgb(6 95 70 / 0.3);
}

.border-emerald-900{
  --tw-border-opacity: 1;
  border-color: rgb(6 78 59 / var(--tw-border-opacity));
}

.border-emerald-900\/20{
  border-color: rgb(6 78 59 / 0.2);
}

.border-gray-100{
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity));
}

.border-gray-200{
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity));
}

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

.border-gray-400{
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity));
}

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

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

.border-orange-400{
  --tw-border-opacity: 1;
  border-color: rgb(251 146 60 / var(--tw-border-opacity));
}

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

.border-red-400\/25{
  border-color: rgb(248 113 113 / 0.25);
}

.border-red-400\/30{
  border-color: rgb(248 113 113 / 0.3);
}

.border-red-400\/50{
  border-color: rgb(248 113 113 / 0.5);
}

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

.border-red-500\/20{
  border-color: rgb(239 68 68 / 0.2);
}

.border-red-500\/25{
  border-color: rgb(239 68 68 / 0.25);
}

.border-red-500\/30{
  border-color: rgb(239 68 68 / 0.3);
}

.border-red-500\/50{
  border-color: rgb(239 68 68 / 0.5);
}

.border-red-500\/60{
  border-color: rgb(239 68 68 / 0.6);
}

.border-red-600{
  --tw-border-opacity: 1;
  border-color: rgb(220 38 38 / var(--tw-border-opacity));
}

.border-sky-400\/20{
  border-color: rgb(56 189 248 / 0.2);
}

.border-sky-400\/40{
  border-color: rgb(56 189 248 / 0.4);
}

.border-sky-500\/25{
  border-color: rgb(14 165 233 / 0.25);
}

.border-slate-400{
  --tw-border-opacity: 1;
  border-color: rgb(148 163 184 / var(--tw-border-opacity));
}

.border-slate-500{
  --tw-border-opacity: 1;
  border-color: rgb(100 116 139 / var(--tw-border-opacity));
}

.border-slate-600{
  --tw-border-opacity: 1;
  border-color: rgb(71 85 105 / var(--tw-border-opacity));
}

.border-transparent{
  border-color: transparent;
}

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

.border-white\/10{
  border-color: rgb(255 255 255 / 0.1);
}

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

.border-yellow-400\/50{
  border-color: rgb(250 204 21 / 0.5);
}

.border-yellow-500\/50{
  border-color: rgb(234 179 8 / 0.5);
}

.border-zinc-700{
  --tw-border-opacity: 1;
  border-color: rgb(63 63 70 / var(--tw-border-opacity));
}

.border-zinc-800{
  --tw-border-opacity: 1;
  border-color: rgb(39 39 42 / var(--tw-border-opacity));
}

.bg-\[\#020617\]{
  --tw-bg-opacity: 1;
  background-color: rgb(2 6 23 / var(--tw-bg-opacity));
}

.bg-\[rgb\(255\2c 0\2c 0\)\]{
  --tw-bg-opacity: 1;
  background-color: rgb(255 0 0 / var(--tw-bg-opacity));
}

.bg-amber-500\/10{
  background-color: rgb(245 158 11 / 0.1);
}

.bg-amber-500\/5{
  background-color: rgb(245 158 11 / 0.05);
}

.bg-amber-500\/90{
  background-color: rgb(245 158 11 / 0.9);
}

.bg-amber-950\/25{
  background-color: rgb(69 26 3 / 0.25);
}

.bg-amber-950\/75{
  background-color: rgb(69 26 3 / 0.75);
}

.bg-black\/20{
  background-color: rgb(0 0 0 / 0.2);
}

.bg-black\/25{
  background-color: rgb(0 0 0 / 0.25);
}

.bg-black\/30{
  background-color: rgb(0 0 0 / 0.3);
}

.bg-black\/40{
  background-color: rgb(0 0 0 / 0.4);
}

.bg-black\/50{
  background-color: rgb(0 0 0 / 0.5);
}

.bg-black\/60{
  background-color: rgb(0 0 0 / 0.6);
}

.bg-black\/70{
  background-color: rgb(0 0 0 / 0.7);
}

.bg-black\/75{
  background-color: rgb(0 0 0 / 0.75);
}

.bg-black\/80{
  background-color: rgb(0 0 0 / 0.8);
}

.bg-blue-50{
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity));
}

.bg-blue-500{
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity));
}

.bg-blue-700{
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity));
}

.bg-cyan-300{
  --tw-bg-opacity: 1;
  background-color: rgb(103 232 249 / var(--tw-bg-opacity));
}

.bg-cyan-950\/25{
  background-color: rgb(8 51 68 / 0.25);
}

.bg-emerald-400{
  --tw-bg-opacity: 1;
  background-color: rgb(52 211 153 / var(--tw-bg-opacity));
}

.bg-emerald-500{
  --tw-bg-opacity: 1;
  background-color: rgb(16 185 129 / var(--tw-bg-opacity));
}

.bg-emerald-500\/10{
  background-color: rgb(16 185 129 / 0.1);
}

.bg-emerald-500\/20{
  background-color: rgb(16 185 129 / 0.2);
}

.bg-emerald-600{
  --tw-bg-opacity: 1;
  background-color: rgb(5 150 105 / var(--tw-bg-opacity));
}

.bg-emerald-600\/80{
  background-color: rgb(5 150 105 / 0.8);
}

.bg-emerald-700\/70{
  background-color: rgb(4 120 87 / 0.7);
}

.bg-emerald-900\/20{
  background-color: rgb(6 78 59 / 0.2);
}

.bg-emerald-900\/30{
  background-color: rgb(6 78 59 / 0.3);
}

.bg-emerald-900\/40{
  background-color: rgb(6 78 59 / 0.4);
}

.bg-emerald-900\/60{
  background-color: rgb(6 78 59 / 0.6);
}

.bg-emerald-950\/30{
  background-color: rgb(2 44 34 / 0.3);
}

.bg-emerald-950\/60{
  background-color: rgb(2 44 34 / 0.6);
}

.bg-emerald-950\/70{
  background-color: rgb(2 44 34 / 0.7);
}

.bg-emerald-950\/75{
  background-color: rgb(2 44 34 / 0.75);
}

.bg-gray-100{
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.bg-gray-50{
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
}

.bg-gray-600{
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / var(--tw-bg-opacity));
}

.bg-gray-700\/20{
  background-color: rgb(55 65 81 / 0.2);
}

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

.bg-gray-800\/40{
  background-color: rgb(31 41 55 / 0.4);
}

.bg-gray-900\/30{
  background-color: rgb(17 24 39 / 0.3);
}

.bg-gray-900\/40{
  background-color: rgb(17 24 39 / 0.4);
}

.bg-gray-900\/50{
  background-color: rgb(17 24 39 / 0.5);
}

.bg-gray-900\/60{
  background-color: rgb(17 24 39 / 0.6);
}

.bg-gray-900\/95{
  background-color: rgb(17 24 39 / 0.95);
}

.bg-green-400{
  --tw-bg-opacity: 1;
  background-color: rgb(74 222 128 / var(--tw-bg-opacity));
}

.bg-purple-600{
  --tw-bg-opacity: 1;
  background-color: rgb(147 51 234 / var(--tw-bg-opacity));
}

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

.bg-red-500\/10{
  background-color: rgb(239 68 68 / 0.1);
}

.bg-red-600{
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity));
}

.bg-red-700{
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity));
}

.bg-red-900\/20{
  background-color: rgb(127 29 29 / 0.2);
}

.bg-red-900\/30{
  background-color: rgb(127 29 29 / 0.3);
}

.bg-red-950\/25{
  background-color: rgb(69 10 10 / 0.25);
}

.bg-red-950\/30{
  background-color: rgb(69 10 10 / 0.3);
}

.bg-red-950\/40{
  background-color: rgb(69 10 10 / 0.4);
}

.bg-red-950\/70{
  background-color: rgb(69 10 10 / 0.7);
}

.bg-red-950\/75{
  background-color: rgb(69 10 10 / 0.75);
}

.bg-sky-800\/70{
  background-color: rgb(7 89 133 / 0.7);
}

.bg-sky-950\/60{
  background-color: rgb(8 47 73 / 0.6);
}

.bg-slate-300{
  --tw-bg-opacity: 1;
  background-color: rgb(203 213 225 / var(--tw-bg-opacity));
}

.bg-slate-700\/60{
  background-color: rgb(51 65 85 / 0.6);
}

.bg-transparent{
  background-color: transparent;
}

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

.bg-white\/5{
  background-color: rgb(255 255 255 / 0.05);
}

.bg-white\/50{
  background-color: rgb(255 255 255 / 0.5);
}

.bg-yellow-700\/70{
  background-color: rgb(161 98 7 / 0.7);
}

.bg-yellow-900\/20{
  background-color: rgb(113 63 18 / 0.2);
}

.bg-yellow-900\/30{
  background-color: rgb(113 63 18 / 0.3);
}

.bg-zinc-800{
  --tw-bg-opacity: 1;
  background-color: rgb(39 39 42 / var(--tw-bg-opacity));
}

.bg-zinc-800\/30{
  background-color: rgb(39 39 42 / 0.3);
}

.bg-zinc-800\/50{
  background-color: rgb(39 39 42 / 0.5);
}

.bg-zinc-800\/60{
  background-color: rgb(39 39 42 / 0.6);
}

.bg-zinc-800\/70{
  background-color: rgb(39 39 42 / 0.7);
}

.bg-zinc-900{
  --tw-bg-opacity: 1;
  background-color: rgb(24 24 27 / var(--tw-bg-opacity));
}

.bg-zinc-900\/30{
  background-color: rgb(24 24 27 / 0.3);
}

.bg-zinc-900\/40{
  background-color: rgb(24 24 27 / 0.4);
}

.bg-zinc-900\/50{
  background-color: rgb(24 24 27 / 0.5);
}

.bg-zinc-900\/60{
  background-color: rgb(24 24 27 / 0.6);
}

.bg-zinc-900\/70{
  background-color: rgb(24 24 27 / 0.7);
}

.bg-zinc-900\/80{
  background-color: rgb(24 24 27 / 0.8);
}

.bg-zinc-900\/90{
  background-color: rgb(24 24 27 / 0.9);
}

.bg-zinc-900\/95{
  background-color: rgb(24 24 27 / 0.95);
}

.bg-zinc-950{
  --tw-bg-opacity: 1;
  background-color: rgb(9 9 11 / var(--tw-bg-opacity));
}

.bg-zinc-950\/40{
  background-color: rgb(9 9 11 / 0.4);
}

.bg-zinc-950\/60{
  background-color: rgb(9 9 11 / 0.6);
}

.bg-zinc-950\/70{
  background-color: rgb(9 9 11 / 0.7);
}

.bg-zinc-950\/75{
  background-color: rgb(9 9 11 / 0.75);
}

.bg-zinc-950\/80{
  background-color: rgb(9 9 11 / 0.8);
}

.bg-zinc-950\/90{
  background-color: rgb(9 9 11 / 0.9);
}

.bg-zinc-950\/95{
  background-color: rgb(9 9 11 / 0.95);
}

.bg-\[radial-gradient\(circle_at_top_left\2c rgba\(16\2c 185\2c 129\2c 0\.12\)\2c transparent_30\%\)\2c radial-gradient\(circle_at_bottom_right\2c rgba\(34\2c 211\2c 238\2c 0\.08\)\2c transparent_36\%\)\]{
  background-image: radial-gradient(circle at top left,rgba(16,185,129,0.12),transparent 30%),radial-gradient(circle at bottom right,rgba(34,211,238,0.08),transparent 36%);
}

.bg-\[radial-gradient\(circle_at_top_left\2c rgba\(16\2c 185\2c 129\2c 0\.18\)\2c transparent_45\%\)\2c linear-gradient\(180deg\2c rgba\(9\2c 12\2c 15\2c 0\.95\)\2c rgba\(3\2c 7\2c 7\2c 0\.92\)\)\]{
  background-image: radial-gradient(circle at top left,rgba(16,185,129,0.18),transparent 45%),linear-gradient(180deg,rgba(9,12,15,0.95),rgba(3,7,7,0.92));
}

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

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

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

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

.from-amber-600\/70{
  --tw-gradient-from: rgb(217 119 6 / 0.7) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(217 119 6 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-emerald-900\/60{
  --tw-gradient-from: rgb(6 78 59 / 0.6) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(6 78 59 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-gray-900\/70{
  --tw-gradient-from: rgb(17 24 39 / 0.7) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-zinc-900{
  --tw-gradient-from: #18181b var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(24 24 27 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-zinc-950{
  --tw-gradient-from: #09090b var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(9 9 11 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-zinc-900{
  --tw-gradient-to: rgb(24 24 27 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #18181b var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.via-zinc-900\/20{
  --tw-gradient-to: rgb(24 24 27 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(24 24 27 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.via-zinc-900\/60{
  --tw-gradient-to: rgb(24 24 27 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(24 24 27 / 0.6) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.via-zinc-950\/75{
  --tw-gradient-to: rgb(9 9 11 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(9 9 11 / 0.75) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-black\/70{
  --tw-gradient-to: rgb(0 0 0 / 0.7) var(--tw-gradient-to-position);
}

.to-emerald-950\/25{
  --tw-gradient-to: rgb(2 44 34 / 0.25) var(--tw-gradient-to-position);
}

.to-emerald-950\/40{
  --tw-gradient-to: rgb(2 44 34 / 0.4) var(--tw-gradient-to-position);
}

.to-transparent{
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}

.to-zinc-900\/60{
  --tw-gradient-to: rgb(24 24 27 / 0.6) var(--tw-gradient-to-position);
}

.to-zinc-950\/75{
  --tw-gradient-to: rgb(9 9 11 / 0.75) var(--tw-gradient-to-position);
}

.decoration-slice{
  -webkit-box-decoration-break: slice;
          box-decoration-break: slice;
}

.decoration-clone{
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

.box-decoration-slice{
  -webkit-box-decoration-break: slice;
          box-decoration-break: slice;
}

.box-decoration-clone{
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

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

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

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

.bg-clip-border{
  background-clip: border-box;
}

.bg-clip-padding{
  background-clip: padding-box;
}

.bg-clip-content{
  background-clip: content-box;
}

.bg-clip-text{
  -webkit-background-clip: text;
          background-clip: text;
}

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

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

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

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

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

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

.bg-origin-border{
  background-origin: border-box;
}

.bg-origin-padding{
  background-origin: padding-box;
}

.bg-origin-content{
  background-origin: content-box;
}

.fill-current{
  fill: currentColor;
}

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

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

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

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

.object-scale-down{
  -o-object-fit: scale-down;
     object-fit: scale-down;
}

.object-center{
  -o-object-position: center;
     object-position: center;
}

.p-0{
  padding: 0px;
}

.p-1{
  padding: 0.25rem;
}

.p-2{
  padding: 0.5rem;
}

.p-2\.5{
  padding: 0.625rem;
}

.p-3{
  padding: 0.75rem;
}

.p-4{
  padding: 1rem;
}

.p-5{
  padding: 1.25rem;
}

.p-6{
  padding: 1.5rem;
}

.p-7{
  padding: 1.75rem;
}

.p-8{
  padding: 2rem;
}

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

.px-0{
  padding-left: 0px;
  padding-right: 0px;
}

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

.px-1\.5{
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}

.px-10{
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.px-2{
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-2\.5{
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.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-8{
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-0{
  padding-top: 0px;
  padding-bottom: 0px;
}

.py-0\.5{
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.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-2\.5{
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.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-\[1px\]{
  padding-top: 1px;
  padding-bottom: 1px;
}

.py-\[3px\]{
  padding-top: 3px;
  padding-bottom: 3px;
}

.pb-1{
  padding-bottom: 0.25rem;
}

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

.pb-12{
  padding-bottom: 3rem;
}

.pb-16{
  padding-bottom: 4rem;
}

.pb-2{
  padding-bottom: 0.5rem;
}

.pb-20{
  padding-bottom: 5rem;
}

.pb-3{
  padding-bottom: 0.75rem;
}

.pb-4{
  padding-bottom: 1rem;
}

.pb-5{
  padding-bottom: 1.25rem;
}

.pb-8{
  padding-bottom: 2rem;
}

.pl-1{
  padding-left: 0.25rem;
}

.pl-2{
  padding-left: 0.5rem;
}

.pl-3{
  padding-left: 0.75rem;
}

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

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

.pr-1{
  padding-right: 0.25rem;
}

.pr-2{
  padding-right: 0.5rem;
}

.pr-3{
  padding-right: 0.75rem;
}

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

.pr-5{
  padding-right: 1.25rem;
}

.ps-3{
  padding-inline-start: 0.75rem;
}

.pt-1{
  padding-top: 0.25rem;
}

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

.pt-16{
  padding-top: 4rem;
}

.pt-2{
  padding-top: 0.5rem;
}

.pt-24{
  padding-top: 6rem;
}

.pt-28{
  padding-top: 7rem;
}

.pt-3{
  padding-top: 0.75rem;
}

.pt-4{
  padding-top: 1rem;
}

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

.pt-8{
  padding-top: 2rem;
}

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

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

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

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

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

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

.indent-1{
  text-indent: 0.25rem;
}

.align-baseline{
  vertical-align: baseline;
}

.align-top{
  vertical-align: top;
}

.align-middle{
  vertical-align: middle;
}

.align-bottom{
  vertical-align: bottom;
}

.align-text-top{
  vertical-align: text-top;
}

.align-text-bottom{
  vertical-align: text-bottom;
}

.align-sub{
  vertical-align: sub;
}

.align-super{
  vertical-align: super;
}

.font-mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

.text-3xl{
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.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-\[0\.7rem\]{
  font-size: 0.7rem;
}

.text-\[10px\]{
  font-size: 10px;
}

.text-\[11px\]{
  font-size: 11px;
}

.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-black{
  font-weight: 900;
}

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

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

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

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

.uppercase{
  text-transform: uppercase;
}

.lowercase{
  text-transform: lowercase;
}

.capitalize{
  text-transform: capitalize;
}

.normal-case{
  text-transform: none;
}

.italic{
  font-style: italic;
}

.not-italic{
  font-style: normal;
}

.normal-nums{
  font-variant-numeric: normal;
}

.ordinal{
  --tw-ordinal: ordinal;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}

.slashed-zero{
  --tw-slashed-zero: slashed-zero;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}

.lining-nums{
  --tw-numeric-figure: lining-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}

.oldstyle-nums{
  --tw-numeric-figure: oldstyle-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}

.proportional-nums{
  --tw-numeric-spacing: proportional-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}

.tabular-nums{
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}

.diagonal-fractions{
  --tw-numeric-fraction: diagonal-fractions;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}

.stacked-fractions{
  --tw-numeric-fraction: stacked-fractions;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}

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

.leading-6{
  line-height: 1.5rem;
}

.leading-7{
  line-height: 1.75rem;
}

.leading-8{
  line-height: 2rem;
}

.leading-none{
  line-height: 1;
}

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

.leading-snug{
  line-height: 1.375;
}

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

.tracking-\[0\.08em\]{
  letter-spacing: 0.08em;
}

.tracking-\[0\.12em\]{
  letter-spacing: 0.12em;
}

.tracking-\[0\.14em\]{
  letter-spacing: 0.14em;
}

.tracking-\[0\.16em\]{
  letter-spacing: 0.16em;
}

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

.tracking-\[0\.22em\]{
  letter-spacing: 0.22em;
}

.tracking-\[0\.24em\]{
  letter-spacing: 0.24em;
}

.tracking-\[0\.25em\]{
  letter-spacing: 0.25em;
}

.tracking-\[0\.28em\]{
  letter-spacing: 0.28em;
}

.tracking-\[0\.2em\]{
  letter-spacing: 0.2em;
}

.tracking-\[0\.32em\]{
  letter-spacing: 0.32em;
}

.tracking-normal{
  letter-spacing: 0em;
}

.tracking-wide{
  letter-spacing: 0.025em;
}

.tracking-wider{
  letter-spacing: 0.05em;
}

.tracking-widest{
  letter-spacing: 0.1em;
}

.text-\[\#336699\]\/\[\.35\]{
  color: rgb(51 102 153 / .35);
}

.text-amber-100{
  --tw-text-opacity: 1;
  color: rgb(254 243 199 / var(--tw-text-opacity));
}

.text-amber-100\/90{
  color: rgb(254 243 199 / 0.9);
}

.text-amber-200{
  --tw-text-opacity: 1;
  color: rgb(253 230 138 / var(--tw-text-opacity));
}

.text-amber-200\/70{
  color: rgb(253 230 138 / 0.7);
}

.text-amber-200\/90{
  color: rgb(253 230 138 / 0.9);
}

.text-amber-300{
  --tw-text-opacity: 1;
  color: rgb(252 211 77 / var(--tw-text-opacity));
}

.text-amber-400{
  --tw-text-opacity: 1;
  color: rgb(251 191 36 / var(--tw-text-opacity));
}

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

.text-blue-500{
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity));
}

.text-blue-600{
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity));
}

.text-cyan-100{
  --tw-text-opacity: 1;
  color: rgb(207 250 254 / var(--tw-text-opacity));
}

.text-cyan-200{
  --tw-text-opacity: 1;
  color: rgb(165 243 252 / var(--tw-text-opacity));
}

.text-cyan-200\/75{
  color: rgb(165 243 252 / 0.75);
}

.text-cyan-300{
  --tw-text-opacity: 1;
  color: rgb(103 232 249 / var(--tw-text-opacity));
}

.text-emerald-100{
  --tw-text-opacity: 1;
  color: rgb(209 250 229 / var(--tw-text-opacity));
}

.text-emerald-100\/75{
  color: rgb(209 250 229 / 0.75);
}

.text-emerald-100\/80{
  color: rgb(209 250 229 / 0.8);
}

.text-emerald-100\/90{
  color: rgb(209 250 229 / 0.9);
}

.text-emerald-200{
  --tw-text-opacity: 1;
  color: rgb(167 243 208 / var(--tw-text-opacity));
}

.text-emerald-200\/70{
  color: rgb(167 243 208 / 0.7);
}

.text-emerald-200\/75{
  color: rgb(167 243 208 / 0.75);
}

.text-emerald-200\/80{
  color: rgb(167 243 208 / 0.8);
}

.text-emerald-200\/90{
  color: rgb(167 243 208 / 0.9);
}

.text-emerald-300{
  --tw-text-opacity: 1;
  color: rgb(110 231 183 / var(--tw-text-opacity));
}

.text-emerald-300\/60{
  color: rgb(110 231 183 / 0.6);
}

.text-emerald-300\/70{
  color: rgb(110 231 183 / 0.7);
}

.text-emerald-300\/75{
  color: rgb(110 231 183 / 0.75);
}

.text-emerald-300\/80{
  color: rgb(110 231 183 / 0.8);
}

.text-emerald-400{
  --tw-text-opacity: 1;
  color: rgb(52 211 153 / var(--tw-text-opacity));
}

.text-emerald-400\/60{
  color: rgb(52 211 153 / 0.6);
}

.text-emerald-400\/70{
  color: rgb(52 211 153 / 0.7);
}

.text-emerald-50{
  --tw-text-opacity: 1;
  color: rgb(236 253 245 / var(--tw-text-opacity));
}

.text-emerald-500{
  --tw-text-opacity: 1;
  color: rgb(16 185 129 / var(--tw-text-opacity));
}

.text-fuchsia-300{
  --tw-text-opacity: 1;
  color: rgb(240 171 252 / var(--tw-text-opacity));
}

.text-gray-400{
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}

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

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

.text-gray-900{
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity));
}

.text-green-400{
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / var(--tw-text-opacity));
}

.text-lime-300{
  --tw-text-opacity: 1;
  color: rgb(190 242 100 / var(--tw-text-opacity));
}

.text-lime-400{
  --tw-text-opacity: 1;
  color: rgb(163 230 53 / var(--tw-text-opacity));
}

.text-orange-300{
  --tw-text-opacity: 1;
  color: rgb(253 186 116 / var(--tw-text-opacity));
}

.text-orange-400{
  --tw-text-opacity: 1;
  color: rgb(251 146 60 / var(--tw-text-opacity));
}

.text-purple-300{
  --tw-text-opacity: 1;
  color: rgb(216 180 254 / var(--tw-text-opacity));
}

.text-red-100{
  --tw-text-opacity: 1;
  color: rgb(254 226 226 / var(--tw-text-opacity));
}

.text-red-100\/75{
  color: rgb(254 226 226 / 0.75);
}

.text-red-100\/80{
  color: rgb(254 226 226 / 0.8);
}

.text-red-200{
  --tw-text-opacity: 1;
  color: rgb(254 202 202 / var(--tw-text-opacity));
}

.text-red-300{
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity));
}

.text-red-300\/70{
  color: rgb(252 165 165 / 0.7);
}

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

.text-red-400\/90{
  color: rgb(248 113 113 / 0.9);
}

.text-red-50{
  --tw-text-opacity: 1;
  color: rgb(254 242 242 / var(--tw-text-opacity));
}

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

.text-red-600{
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity));
}

.text-sky-100{
  --tw-text-opacity: 1;
  color: rgb(224 242 254 / var(--tw-text-opacity));
}

.text-sky-200{
  --tw-text-opacity: 1;
  color: rgb(186 230 253 / var(--tw-text-opacity));
}

.text-sky-300{
  --tw-text-opacity: 1;
  color: rgb(125 211 252 / var(--tw-text-opacity));
}

.text-slate-200{
  --tw-text-opacity: 1;
  color: rgb(226 232 240 / var(--tw-text-opacity));
}

.text-violet-200{
  --tw-text-opacity: 1;
  color: rgb(221 214 254 / var(--tw-text-opacity));
}

.text-violet-300{
  --tw-text-opacity: 1;
  color: rgb(196 181 253 / var(--tw-text-opacity));
}

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

.text-yellow-300{
  --tw-text-opacity: 1;
  color: rgb(253 224 71 / var(--tw-text-opacity));
}

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

.text-zinc-100{
  --tw-text-opacity: 1;
  color: rgb(244 244 245 / var(--tw-text-opacity));
}

.text-zinc-200{
  --tw-text-opacity: 1;
  color: rgb(228 228 231 / var(--tw-text-opacity));
}

.text-zinc-300{
  --tw-text-opacity: 1;
  color: rgb(212 212 216 / var(--tw-text-opacity));
}

.text-zinc-400{
  --tw-text-opacity: 1;
  color: rgb(161 161 170 / var(--tw-text-opacity));
}

.text-zinc-500{
  --tw-text-opacity: 1;
  color: rgb(113 113 122 / var(--tw-text-opacity));
}

.text-zinc-900{
  --tw-text-opacity: 1;
  color: rgb(24 24 27 / var(--tw-text-opacity));
}

.text-zinc-950{
  --tw-text-opacity: 1;
  color: rgb(9 9 11 / var(--tw-text-opacity));
}

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

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

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

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

.decoration-solid{
  text-decoration-style: solid;
}

.decoration-double{
  text-decoration-style: double;
}

.decoration-dotted{
  text-decoration-style: dotted;
}

.decoration-dashed{
  text-decoration-style: dashed;
}

.decoration-wavy{
  text-decoration-style: wavy;
}

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

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

.placeholder-emerald-300\/40::-moz-placeholder{
  color: rgb(110 231 183 / 0.4);
}

.placeholder-emerald-300\/40::placeholder{
  color: rgb(110 231 183 / 0.4);
}

.placeholder-emerald-700::-moz-placeholder{
  --tw-placeholder-opacity: 1;
  color: rgb(4 120 87 / var(--tw-placeholder-opacity));
}

.placeholder-emerald-700::placeholder{
  --tw-placeholder-opacity: 1;
  color: rgb(4 120 87 / var(--tw-placeholder-opacity));
}

.opacity-0{
  opacity: 0;
}

.opacity-100{
  opacity: 1;
}

.opacity-40{
  opacity: 0.4;
}

.opacity-70{
  opacity: 0.7;
}

.opacity-75{
  opacity: 0.75;
}

.opacity-80{
  opacity: 0.8;
}

.opacity-90{
  opacity: 0.9;
}

.opacity-95{
  opacity: 0.95;
}

.bg-blend-normal{
  background-blend-mode: normal;
}

.bg-blend-multiply{
  background-blend-mode: multiply;
}

.bg-blend-screen{
  background-blend-mode: screen;
}

.bg-blend-overlay{
  background-blend-mode: overlay;
}

.bg-blend-darken{
  background-blend-mode: darken;
}

.bg-blend-lighten{
  background-blend-mode: lighten;
}

.bg-blend-color-dodge{
  background-blend-mode: color-dodge;
}

.bg-blend-color-burn{
  background-blend-mode: color-burn;
}

.bg-blend-hard-light{
  background-blend-mode: hard-light;
}

.bg-blend-soft-light{
  background-blend-mode: soft-light;
}

.bg-blend-difference{
  background-blend-mode: difference;
}

.bg-blend-exclusion{
  background-blend-mode: exclusion;
}

.bg-blend-hue{
  background-blend-mode: hue;
}

.bg-blend-saturation{
  background-blend-mode: saturation;
}

.bg-blend-color{
  background-blend-mode: color;
}

.bg-blend-luminosity{
  background-blend-mode: luminosity;
}

.mix-blend-normal{
  mix-blend-mode: normal;
}

.mix-blend-multiply{
  mix-blend-mode: multiply;
}

.mix-blend-screen{
  mix-blend-mode: screen;
}

.mix-blend-overlay{
  mix-blend-mode: overlay;
}

.mix-blend-darken{
  mix-blend-mode: darken;
}

.mix-blend-lighten{
  mix-blend-mode: lighten;
}

.mix-blend-color-dodge{
  mix-blend-mode: color-dodge;
}

.mix-blend-color-burn{
  mix-blend-mode: color-burn;
}

.mix-blend-hard-light{
  mix-blend-mode: hard-light;
}

.mix-blend-soft-light{
  mix-blend-mode: soft-light;
}

.mix-blend-difference{
  mix-blend-mode: difference;
}

.mix-blend-exclusion{
  mix-blend-mode: exclusion;
}

.mix-blend-hue{
  mix-blend-mode: hue;
}

.mix-blend-saturation{
  mix-blend-mode: saturation;
}

.mix-blend-color{
  mix-blend-mode: color;
}

.mix-blend-luminosity{
  mix-blend-mode: luminosity;
}

.mix-blend-plus-lighter{
  mix-blend-mode: plus-lighter;
}

.\!shadow{
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1) !important;
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
}

.shadow{
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px 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-2xl{
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px 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_10px_rgba\(16\2c 185\2c 129\2c 0\.28\)\]{
  --tw-shadow: 0 0 10px rgba(16,185,129,0.28);
  --tw-shadow-colored: 0 0 10px 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_12px_\#34d399aa\]{
  --tw-shadow: 0 0 12px #34d399aa;
  --tw-shadow-colored: 0 0 12px 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_18px_rgba\(16\2c 185\2c 129\2c 0\.35\)\]{
  --tw-shadow: 0 0 18px rgba(16,185,129,0.35);
  --tw-shadow-colored: 0 0 18px 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_30px_rgba\(10\2c 185\2c 129\2c 0\.08\)\]{
  --tw-shadow: 0 0 30px rgba(10,185,129,0.08);
  --tw-shadow-colored: 0 0 30px 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_30px_rgba\(10\2c 185\2c 129\2c 0\.4\)\]{
  --tw-shadow: 0 0 30px rgba(10,185,129,0.4);
  --tw-shadow-colored: 0 0 30px 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_30px_rgba\(255\2c 230\2c 140\2c 0\.55\)\]{
  --tw-shadow: 0 0 30px rgba(255,230,140,0.55);
  --tw-shadow-colored: 0 0 30px 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-inner{
  --tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: inset 0 2px 4px 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);
}

.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-none{
  --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);
}

.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);
}

.shadow-xl{
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px 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-amber-950\/20{
  --tw-shadow-color: rgb(69 26 3 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}

.shadow-black\/20{
  --tw-shadow-color: rgb(0 0 0 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}

.shadow-black\/40{
  --tw-shadow-color: rgb(0 0 0 / 0.4);
  --tw-shadow: var(--tw-shadow-colored);
}

.shadow-black\/60{
  --tw-shadow-color: rgb(0 0 0 / 0.6);
  --tw-shadow: var(--tw-shadow-colored);
}

.shadow-emerald-900\/20{
  --tw-shadow-color: rgb(6 78 59 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}

.shadow-emerald-900\/30{
  --tw-shadow-color: rgb(6 78 59 / 0.3);
  --tw-shadow: var(--tw-shadow-colored);
}

.shadow-emerald-900\/40{
  --tw-shadow-color: rgb(6 78 59 / 0.4);
  --tw-shadow: var(--tw-shadow-colored);
}

.shadow-emerald-950\/20{
  --tw-shadow-color: rgb(2 44 34 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}

.shadow-emerald-950\/30{
  --tw-shadow-color: rgb(2 44 34 / 0.3);
  --tw-shadow: var(--tw-shadow-colored);
}

.shadow-emerald-950\/50{
  --tw-shadow-color: rgb(2 44 34 / 0.5);
  --tw-shadow: var(--tw-shadow-colored);
}

.shadow-red-950\/20{
  --tw-shadow-color: rgb(69 10 10 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}

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

.outline{
  outline-style: solid;
}

.outline-dashed{
  outline-style: dashed;
}

.outline-dotted{
  outline-style: dotted;
}

.outline-double{
  outline-style: double;
}

.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);
}

.ring-1{
  --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(1px + 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);
}

.ring-inset{
  --tw-ring-inset: inset;
}

.ring-emerald-400\/30{
  --tw-ring-color: rgb(52 211 153 / 0.3);
}

.ring-emerald-400\/40{
  --tw-ring-color: rgb(52 211 153 / 0.4);
}

.blur{
  --tw-blur: blur(8px);
  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_6px_\#34d399\]{
  --tw-drop-shadow: drop-shadow(0 0 6px #34d399);
  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_6px_\#fff\]{
  --tw-drop-shadow: drop-shadow(0 0 6px #fff);
  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_6px_rgba\(16\2c 185\2c 129\2c 0\.35\)\]{
  --tw-drop-shadow: drop-shadow(0 0 6px rgba(16,185,129,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_0_6px_rgba\(248\2c 113\2c 113\2c 0\.6\)\]{
  --tw-drop-shadow: drop-shadow(0 0 6px rgba(248,113,113,0.6));
  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_6px_rgba\(250\2c 204\2c 21\2c 0\.7\)\]{
  --tw-drop-shadow: drop-shadow(0 0 6px rgba(250,204,21,0.7));
  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_6px_rgba\(251\2c 191\2c 36\2c 0\.5\)\]{
  --tw-drop-shadow: drop-shadow(0 0 6px rgba(251,191,36,0.5));
  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_6px_rgba\(255\2c 255\2c 255\2c 0\.65\)\]{
  --tw-drop-shadow: drop-shadow(0 0 6px rgba(255,255,255,0.65));
  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_6px_rgba\(255\2c 255\2c 255\2c 0\.7\)\]{
  --tw-drop-shadow: drop-shadow(0 0 6px rgba(255,255,255,0.7));
  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_6px_rgba\(34\2c 211\2c 238\2c 0\.5\)\]{
  --tw-drop-shadow: drop-shadow(0 0 6px rgba(34,211,238,0.5));
  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_6px_rgba\(52\2c 211\2c 153\2c 0\.6\)\]{
  --tw-drop-shadow: drop-shadow(0 0 6px rgba(52,211,153,0.6));
  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_8px_\#ffffffaa\]{
  --tw-drop-shadow: drop-shadow(0 0 8px #ffffffaa);
  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_8px_rgba\(103\2c 232\2c 249\2c 0\.30\)\]{
  --tw-drop-shadow: drop-shadow(0 0 8px rgba(103,232,249,0.30));
  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_8px_rgba\(110\2c 231\2c 183\2c 0\.35\)\]{
  --tw-drop-shadow: drop-shadow(0 0 8px rgba(110,231,183,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_0_8px_rgba\(16\2c 185\2c 129\2c 0\.35\)\]{
  --tw-drop-shadow: drop-shadow(0 0 8px rgba(16,185,129,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_0_8px_rgba\(220\2c 38\2c 38\2c 0\.8\)\]{
  --tw-drop-shadow: drop-shadow(0 0 8px rgba(220,38,38,0.8));
  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_8px_rgba\(252\2c 211\2c 77\2c 0\.30\)\]{
  --tw-drop-shadow: drop-shadow(0 0 8px rgba(252,211,77,0.30));
  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-md{
  --tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px 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);
}

.grayscale{
  --tw-grayscale: grayscale(100%);
  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);
}

.\!invert{
  --tw-invert: invert(100%) !important;
  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) !important;
}

.invert{
  --tw-invert: invert(100%);
  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);
}

.sepia{
  --tw-sepia: sepia(100%);
  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) !important;
}

.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);
}

.filter-none{
  filter: none;
}

.backdrop-blur{
  --tw-backdrop-blur: blur(8px);
  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-blur-0{
  --tw-backdrop-blur: blur(0);
  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-blur-md{
  --tw-backdrop-blur: blur(12px);
  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-blur-sm{
  --tw-backdrop-blur: blur(4px);
  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-blur-xl{
  --tw-backdrop-blur: blur(24px);
  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-brightness-125{
  --tw-backdrop-brightness: brightness(1.25);
  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-brightness-50{
  --tw-backdrop-brightness: brightness(.5);
  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-grayscale{
  --tw-backdrop-grayscale: grayscale(100%);
  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-invert{
  --tw-backdrop-invert: invert(100%);
  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-saturate-150{
  --tw-backdrop-saturate: saturate(1.5);
  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-sepia{
  --tw-backdrop-sepia: sepia(100%);
  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{
  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-none{
  backdrop-filter: none;
}

.transition{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, 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-150{
  transition-duration: 150ms;
}

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

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

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

.ease-in{
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.ease-in-out{
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.ease-out{
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.content-\[\'this-is-also-valid\]-weirdly-enough\'\]{
  --tw-content: 'this-is-also-valid]-weirdly-enough';
  content: var(--tw-content);
}

.game-icons--aerial-signal{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M138.188 38.875C67.478 79.483 19.624 155.295 19.624 242.688c0 87.858 48.383 163.966 119.72 204.406c-47.45-46.694-78.25-120.545-78.25-204.406c0-83.27 30.218-157.06 77.093-203.813zm237.687 2.313c45.574 46.86 74.75 119.59 74.75 201.5c0 82.128-29.53 154.623-75.313 201.468C444 403.043 490.344 328.56 490.344 242.686c0-85.87-46.022-160.33-114.47-201.5zm-179.28 46.718c-61.425 24.617-105.126 84.56-105.126 154.78c0 70.413 43.995 130.262 105.686 154.75c-41.348-30.252-69.47-88.174-69.47-154.748c0-66.367 27.774-124.45 68.908-154.782zm142.5 8.78c35.18 31.963 57.81 85.566 57.81 146c0 61.134-23.1 114.77-58.967 146.595c52.006-28.25 87.593-83.246 87.593-146.592c0-62.886-35.052-117.566-86.436-146zm-115.22 44.064c-42.65 14.34-73.125 54.454-73.125 101.938c0 47.91 30.968 88.504 74.22 102.5c-27.047-18.556-45.97-57.28-45.97-102.5c0-44.573 18.457-83.072 44.875-101.938m78.094 3.344c23.836 19.926 39.342 56.72 39.342 98.594c0 42.514-15.99 79.48-40.437 99.187c38.416-16.463 65.375-54.746 65.375-99.188c0-44-26.476-81.867-64.28-98.593M262 211.344c-20.3 0-36.75 16.45-36.75 36.75c0 15.484 9.573 28.743 23.125 34.156v213.125h27.25V282.25c13.558-5.41 23.125-18.668 23.125-34.156c0-20.3-16.45-36.75-36.75-36.75'/%3E%3C/svg%3E");
}

.game-icons--anti-aircraft-gun{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='m472.7 22.8l-38.5 44.91L448 84.24l48-34.65zm-50.4 55.05L312.2 178.7l-25.3 8.1l-66.3 69.6l22.8 24.7l69.3-65.4l12.9-21.5L435.7 93.27zm-8.7 72.65l-19.9 25.6l10.3 13.4l26.6-19.6zm-32.4 37.1l-68.5 62.3l-16 3.6l-42.1 39.2l20.7 22.3l43.6-39.5l6.4-13.8l65.2-62.4zm-245.8 67.3c-26.6.3-52.06 25.8-52.33 52.4c-.33 17.8 9.08 34.4 24.53 43.3l23.6-7.6c-18-2.1-31.59-17.5-31.39-35.7c0-19.7 15.89-35.7 35.59-35.7c10-.2 19.5 3.8 26.4 11v-17c-8-4.7-17.1-11-26.4-10.7m44.5 8.2v78.5L120.5 365v23.5h145v-55.2l-65.4-70.2zM87.51 407.2l-43.29 43h13.47l11.54 8l35.57-27.3h107.6l11.5 19.3H245l6.1-19.3h23.4l97.3 28.2l9.6-8.9h16l-106.5-43zm-50.68 59.9l-20.85 22.1h62.55l-20.84-22.1zm187.07 0L203 489.2h62.9L245 467.1zm160.7 0l-19.3 22.1h61L407 467.1z'/%3E%3C/svg%3E");
}

.game-icons--auto-repair{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='m241.406 21l-15.22 34.75a182 182 0 0 0-23.467 2.97l-23.282-30.064l-25.094 8.532l-.125 38.25c-10.63 5.464-20.817 12.07-30.44 19.78L88.313 79.25L70.156 98.563L88.312 133a180.6 180.6 0 0 0-15.218 26.094l-38.938 1.062l-7.906 25.28l31.438 23.158c-1.505 9.38-2.24 18.858-2.282 28.344L20.5 254.625l3.656 26.25l38.313 7.5a182 182 0 0 0 8.5 23.5L45.72 343.22l14.093 22.436l39.25-9.187a185 185 0 0 0 7.718 8.53a187 187 0 0 0 17.72 16.125l-7.625 39.313l22.938 13.25l29.968-26.094a179.4 179.4 0 0 0 26.407 8.312l9.782 38.406l26.405 2.157l15.875-36.22c10.97-.66 21.904-2.3 32.656-4.938l25.22 29.22l24.593-9.844l-.72-14.813l-57.406-43.53c-16.712 4.225-34.042 5.356-51.063 3.436c-31.754-3.58-62.27-17.92-86.218-42.686c-54.738-56.614-53.173-146.67 3.438-201.406c27.42-26.513 62.69-39.963 98-40.344c37.59-.406 75.214 13.996 103.438 43.187c45.935 47.512 52.196 118.985 19.562 173.095l31.97 24.25a181 181 0 0 0 10.75-19.375l38.655-1.063l7.906-25.28l-31.217-23a183 183 0 0 0 2.28-28.594l34.688-17.625l-3.655-26.25l-38.28-7.5a182 182 0 0 0-12.75-32.125l22.81-31.594l-15.25-21.657l-37.56 10.906c-.472-.5-.93-1.007-1.408-1.5a185 185 0 0 0-18.937-17.064l7.188-37.125L334 43.78l-28.5 24.814c-9.226-3.713-18.702-6.603-28.313-8.75l-9.343-36.688zM183.25 174.5c-10.344.118-20.597 2.658-30 7.28l45.22 34.314c13.676 10.376 17.555 30.095 7.06 43.937c-10.498 13.85-30.656 15.932-44.53 5.408l-45.188-34.282c-4.627 24.793 4.135 51.063 25.594 67.344c19.245 14.597 43.944 17.33 65.22 9.688l4.78-1.72l4.03 3.063l135.19 102.564l4.03 3.062l-.344 5.063c-1.637 22.55 7.59 45.61 26.844 60.217c21.46 16.28 49.145 17.63 71.78 6.5l-45.186-34.28c-13.874-10.526-17.282-30.506-6.78-44.344c10.5-13.84 30.537-15.405 44.217-5.032l45.188 34.283c4.616-24.784-4.11-51.067-25.563-67.344c-19.313-14.658-43.817-17.562-64.968-10.033l-4.75 1.688l-4.03-3.063l-135.19-102.562l-4.03-3.063l.344-5.03c1.55-22.387-7.85-45.194-27.157-59.845c-12.544-9.516-27.222-13.978-41.78-13.812zm43.563 90.25l163.875 124.344L379.406 404L215.5 279.625z'/%3E%3C/svg%3E");
}

.game-icons--bolt-shield{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='m104.53 75.188l.064 11.75C105.387 196.84 154.647 306.933 252 401l6.5 6.28L265 401c96.765-93.853 146.975-204.032 147.844-314.063l.094-11.718l-11.47 2.53c-80.262 17.713-205.254 17.923-285.468 0l-11.47-2.563zm33.907 32.468l11.438 2.563c60.965 13.62 156.674 13.463 217.688 0l11.468-2.532l-.092 11.718c-.67 84.917-39.46 169.857-113.907 242.063l-6.467 6.28l-6.5-6.28C177.16 289.095 139.113 204.213 138.5 119.405l-.063-11.75zm221.407 22.97c-60.417 11.242-141.785 11.386-202.25.03c3.59 73.105 36.766 146.23 100.937 210.844c63.845-64.506 97.625-137.755 101.314-210.875zm-340.22 136.5L123 433.468l17.906-51.314l96.188 88.156L133.72 303.97l-17.907 51.31l-96.188-88.155zm470.532 0l-96.22 88.155l-17.873-51.31L272.656 470.31l96.188-88.156l17.906 51.313l103.406-166.345z'/%3E%3C/svg%3E");
}

.game-icons--computing{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M83.014 30.53q-22.198.001-33.96 17.6q-11.673 17.513-11.673 50.942q0 33.341 11.675 50.94q11.76 17.51 33.96 17.51q22.197 0 33.872-17.51q11.76-17.599 11.76-50.94q0-33.43-11.76-50.94q-11.675-17.6-33.873-17.6zm230.648 0q-22.2.001-33.96 17.6q-11.675 17.513-11.675 50.942q0 33.341 11.674 50.94q11.764 17.51 33.962 17.51q22.2 0 33.87-17.51q11.765-17.599 11.765-50.94q0-33.43-11.764-50.94q-11.673-17.6-33.87-17.6zm115.324 0q-22.199.001-33.96 17.6q-11.674 17.513-11.674 50.942q0 33.341 11.673 50.94q11.764 17.51 33.96 17.51q22.2 0 33.872-17.51q11.762-17.599 11.762-50.94q0-33.43-11.763-50.94q-11.673-17.6-33.87-17.6zm-236.75 2.39l-31.572 6.367V55.56l31.748-6.367v100.73H163.23v15.036h76.055v-15.036H210.1V32.92zM83.014 44.682q13.884 0 20.783 13.62q6.987 13.53 6.986 40.77q0 27.15-6.986 40.77q-6.9 13.53-20.783 13.53q-13.796 0-20.782-13.53q-6.898-13.62-6.898-40.77q0-27.24 6.898-40.77q6.986-13.62 20.782-13.62m230.648 0q13.886 0 20.783 13.62q6.987 13.53 6.987 40.77q0 27.15-6.987 40.77q-6.897 13.53-20.783 13.53q-13.796 0-20.783-13.53q-6.9-13.62-6.9-40.77q0-27.24 6.9-40.77q6.986-13.62 20.782-13.62zm115.324 0q13.885 0 20.784 13.62q6.986 13.53 6.986 40.77q-.001 27.15-6.986 40.77q-6.9 13.53-20.784 13.53q-13.796 0-20.783-13.53q-6.899-13.62-6.898-40.77q0-27.24 6.898-40.77q6.987-13.62 20.783-13.62M83.014 187.504q-22.198 0-33.96 17.6q-11.673 17.51-11.673 50.94q0 33.342 11.675 50.94q11.76 17.512 33.96 17.512q22.197 0 33.872-17.512q11.76-17.598 11.76-50.94q0-33.43-11.76-50.94q-11.675-17.6-33.873-17.6zm115.324 0q-22.2 0-33.96 17.6q-11.675 17.51-11.675 50.94q-.001 33.342 11.674 50.94q11.762 17.512 33.96 17.512q22.199 0 33.874-17.512q11.763-17.598 11.763-50.94q0-33.43-11.762-50.94q-11.673-17.6-33.872-17.6zm109.223 2.39l-31.574 6.366v16.273l31.75-6.37v100.733h-29.183v15.036h76.056v-15.036h-29.186V189.893H307.56zm115.323 0l-31.572 6.366v16.273l31.75-6.37v100.733h-29.185v15.036h76.057v-15.036H440.75V189.893h-17.865zm-339.87 11.76q13.886 0 20.784 13.62q6.987 13.532 6.986 40.77q0 27.15-6.986 40.77q-6.9 13.531-20.783 13.532q-13.796 0-20.782-13.532q-6.897-13.62-6.898-40.77q0-27.239 6.898-40.77q6.986-13.62 20.782-13.62zm115.325 0q13.884 0 20.783 13.62q6.988 13.532 6.987 40.77q0 27.15-6.986 40.77q-6.898 13.531-20.782 13.532q-13.797 0-20.783-13.532q-6.9-13.62-6.9-40.77q0-27.239 6.9-40.77q6.986-13.62 20.783-13.62zm0 142.823q-22.2 0-33.96 17.6q-11.675 17.509-11.675 50.94q-.001 33.34 11.674 50.94q11.762 17.511 33.96 17.512q22.199-.002 33.874-17.513q11.763-17.6 11.763-50.94q0-33.431-11.762-50.94q-11.673-17.6-33.872-17.6zm115.324 0q-22.2 0-33.96 17.6q-11.675 17.509-11.675 50.94q0 33.34 11.674 50.94q11.764 17.511 33.962 17.512q22.2-.002 33.87-17.513q11.765-17.6 11.765-50.94q0-33.431-11.764-50.94q-11.673-17.6-33.87-17.6zm-236.75 2.388l-31.572 6.367v16.272l31.75-6.367V463.87H47.904v15.03h76.057v-15.03H94.778V346.864H76.912zm345.97 0l-31.57 6.367v16.272l31.75-6.367V463.87h-29.187v15.03h76.057v-15.03h-29.184V346.864h-17.865zM198.34 358.627q13.884 0 20.783 13.62q6.988 13.53 6.987 40.77q0 27.15-6.986 40.77q-6.898 13.53-20.782 13.53q-13.797 0-20.783-13.53q-6.9-13.62-6.9-40.77q0-27.24 6.9-40.77q6.986-13.62 20.783-13.62zm115.324 0q13.886 0 20.783 13.62q6.987 13.53 6.987 40.77q0 27.15-6.987 40.77q-6.897 13.53-20.783 13.53q-13.796 0-20.783-13.53q-6.9-13.62-6.9-40.77q0-27.24 6.9-40.77q6.986-13.62 20.782-13.62z'/%3E%3C/svg%3E");
}

.game-icons--crafting{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M25 25v206h110v-3.3L99.27 192L135 156.3V25zm398 94c-16.5 0-31.3 3.4-41.2 8.4c-10 5-13.8 10.6-13.8 14.6s3.8 9.6 13.8 14.6c9.9 5 24.7 8.4 41.2 8.4s31.3-3.4 41.2-8.4c10-5 13.8-10.6 13.8-14.6s-3.8-9.6-13.8-14.6c-9.9-5-24.7-8.4-41.2-8.4m-263 37.7L124.7 192l64 64l-64 64l35.3 35.3l76.3-76.3H329v37.8l72.9-60.8l-72.9-60.8V233h-92.7zm208 12.8v34.8l62.1 51.7l-62.1 51.7V366c0 8 4.8 13.8 15 18.9c10.2 5.2 25.1 8.1 40 8.1s29.8-2.9 40-8.1c10.2-5.1 15-10.9 15-18.9V169.5c-1.8 1.1-3.7 2.2-5.7 3.2c-13.2 6.6-30.4 10.3-49.3 10.3s-36.1-3.7-49.3-10.3c-2-1-3.9-2.1-5.7-3.2M80 361c-30.48 0-55 24.5-55 55s24.52 55 55 55c30.5 0 55-24.5 55-55s-24.5-55-55-55'/%3E%3C/svg%3E");
}

.game-icons--dragon-shield{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M111.9 33.4c24.8 45.04 23.8 88 8.4 124.5c-16.3 38.6-47.47 70.4-78.91 94.6c1.8 12.4 11.15 31.8 26.2 52.9c16.81 23.7 40.01 49.9 64.81 74.6c24.7 24.8 51 48.1 73.9 66.1c21.1 16.5 39.6 28.2 49.7 32.5c10.1-4.3 28.6-16 49.7-32.5c22.9-18 49.2-41.3 73.9-66.1c24.8-24.7 48-50.9 64.8-74.6c15.1-21.1 24.4-40.5 26.2-52.9c-31.4-24.2-62.6-56-78.9-94.6c-15.4-36.5-16.4-79.46 8.4-124.5H354c-64.8 31.74-131.2 31.74-196 0zm49.2 46h49l1.9.95c22.1 11.01 33.7 15.75 44 15.75s21.9-4.74 44-15.75l1.9-.95h49l-1.6 10.38c-11.9 76.52 25 129.12 67.5 161.02l3.6 2.7v4.5c0 15.2-8.9 30.9-21.3 48.3c-12.4 17.5-29 36.1-46.5 53.7c-17.6 17.6-36.2 34.1-52.7 47c-16.5 13-30 22.3-41.1 25.9l-2.8 1l-2.8-1c-11.1-3.6-24.6-12.9-41.1-25.9c-16.4-12.9-35-29.4-52.6-47s-34.2-36.2-46.6-53.7c-12.4-17.4-21.19-33.1-21.19-48.3v-4.5l3.59-2.7c42.4-31.9 79.4-84.5 67.4-161.01zm20.6 18c7.9 75.5-28.9 130.8-71.3 164.4c1.5 7.8 7.4 20.3 17.2 34.1c11.5 16.2 27.6 34.3 44.6 51.4c17.1 17.1 35.3 33.2 51 45.6c13.9 10.8 26.1 18.6 32.8 21.6c6.7-3 18.9-10.8 32.8-21.6c15.8-12.4 33.9-28.5 51-45.6s33.1-35.2 44.7-51.4c9.8-13.8 15.7-26.3 17.2-34.1c-42.5-33.6-79.2-88.9-71.4-164.4h-24.2c-21.2 10.5-35.1 16.7-50.1 16.7s-28.9-6.2-50.1-16.7zm74.3 26.3l44.7 44.7l-44.7 44.7l-44.7-44.7l38.3-38.4zm0 25.4l-19.3 19.3l19.3 19.3l19.3-19.3zm0 86.6l76.7 76.7l-76.7 76.7l-76.7-76.7l70.3-70.4zm0 25.4l-51.3 51.3l51.3 51.3l51.3-51.3z'/%3E%3C/svg%3E");
}

.game-icons--fuel-tank{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M288 133v18h160v-18zm41 34v16h78v-16zM64 201c-5.75 0-10.406 1.939-15.074 6.023c-4.668 4.085-9.078 10.48-12.701 18.631C28.978 241.96 25 265 25 288s3.978 46.041 11.225 62.346c3.623 8.152 8.033 14.546 12.7 18.63C53.595 373.062 58.25 375 64 375h5.055l2-17.994l.89-8.006h80.11l2.888 26H183V201zm137 0v46h46v-46zm64 0v174h28.055l2-17.994l.89-8.006h80.11l2.888 26H448c5.75 0 10.406-1.94 15.074-6.023c4.668-4.085 9.08-10.48 12.703-18.631c7.247-16.304 11.225-39.343 11.225-62.342c0-23-3.976-46.04-11.223-62.344c-3.623-8.152-8.034-14.55-12.703-18.635c-4.668-4.084-9.326-6.024-15.076-6.025zm-64 64v46h46v-46zm0 64v46h46v-46zM88.057 367l-14 126h75.886l-13.998-126zm224 0l-14 126h75.886l-13.998-126zM183 384v110h18v-37h46v37h18V384h-18v55h-46v-55zm226 9v30h30v-30zm6.803 48c5.844 19.928 16.417 32.884 28.318 40.563C462.214 493.235 482 493 490 493v-18c-8 0-23.214-.235-36.121-8.563c-7.548-4.87-14.772-12.42-19.473-25.437z'/%3E%3C/svg%3E");
}

.game-icons--interceptor-ship{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M256 23.2c-75.5 0-132.9 56.75-172.05 131.2c-35.92 68.2-55.33 150.3-58.34 211.4c36.08-21.9 74.59-45.9 112.19-65.6c26.8-14 52.8-25.8 77.2-32.7v-33l41-41l41 41v33c24.4 6.9 50.4 18.7 77.2 32.7c37.6 19.7 76.1 43.7 112.2 65.6c-3-61.1-22.4-143.2-58.4-211.4c-39.1-74.45-96.5-131.2-172-131.2m-201.01 23v42.42l18-9V46.2zm384.01 0v33.42l18 8.99V46.2zm-235.2 7h104.4l82.7 99.2l-11.4 13.6c-72.5-41.8-176.6-39.8-247.1 0l-11.3-13.6zM86.99 92.76l-46 23.04v91.4c7.7-20.9 16.71-41.6 27.04-61.2c5.87-11.1 12.2-22 18.96-32.4zm338.01 0v20.84c6.8 10.4 13.1 21.3 19 32.4c10.3 19.6 19.3 40.2 27 61.1v-91.3zM256 218.9l-23 23v67.3h46v-67.3zm-41 67.6c-7.4 2.3-15.2 5.1-23.1 8.3l8.2 49.5l30.9 16.5v124.4h16v-103h18v103h16V360.8l30.9-16.5l8.2-49.5c-7.9-3.2-15.7-6-23.1-8.3v40.7h-82zm-84.9 38.4c-8.8 4.8-17.7 9.8-26.5 15l-9.96 148.9l25.56-76.6zm251.8 0l10.9 87.3l25.6 76.6l-10-148.9c-8.8-5.1-17.7-10.2-26.5-15'/%3E%3C/svg%3E");
}

.game-icons--invisible{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M260.7 31.1c5.2.51 9.9 2.45 14.5 4.9l9.1-16.3c-6.4-3.81-13.9-6.07-20.7-7.3c-.9 6.24-1.9 12.47-2.9 18.7m-9.1-18.4c-7.6.51-14.1 2.52-21.1 6l8.3 16.7c5.1-1.88 9.6-3.72 14.6-4zm-38.5 18.7c-5 5.17-9.8 11.69-12.7 17l16.3 9.1c3.1-4.71 5.9-9.09 9.6-12.8c-4.3-4.46-9-8.78-13.2-13.3m88.1 1.9l-14 12.4c3.8 3.98 6.6 8.63 9.3 13.4l16.7-8.5c-3.5-6.29-7.8-12.54-12-17.3M192.4 67.4c-2.1 6.71-3.3 14.19-3.8 20.2l18.6 1.8c.6-6.22 1.4-10.74 3-16.5zm128.2 2.2c-6 1.86-12 3.42-18.1 4.9c1.1 5.58 2.2 11.79 2.7 16.6l18.7-1c-.8-7.04-1.8-14.28-3.3-20.5m-113.2 36.6l-18.5 1.9c.4 7 2.6 14.3 4.3 20.1l17.8-5.7c-1.7-5.8-2.9-11-3.6-16.3m97.2 1.7c-.8 5.7-2.4 11.2-4 16.2l17.5 6.6c2.3-6.7 4.1-14 5-20zm-86.7 29.4s-11.5 5.4-16.1 6.7c0 0 4.8 9.6 6.9 17.1c7.6-2.2 15.5-3.2 23.3-4.5c-4.7-6.9-10.5-13.4-14.1-19.3m75.3 1.7c-4.2 6.3-9.2 12-13.9 17.9c7.8 2.1 16 2.7 23.6 5.5c0 0 4.4-12.9 6.1-17.7c-5.7-1.9-15.8-5.7-15.8-5.7m-108.9 12.7c-6.6 4.4-11.1 8.1-16.1 13.4l13.5 12.9c4.6-4.5 7.8-7.5 12.6-10.5zm143.6 2.8l-10.8 15.2c4.6 3.1 8.7 6.9 12.3 11.1l13.9-12.5c-5.4-5.6-9.4-9.8-15.4-13.8m-172.1 27.4c-3.5 5.7-6.3 11.8-8.7 18l17.4 6.9c2-5.4 4.5-10.7 7.5-15.6zm199.5 3.2l-16.2 9.2c2.8 5.1 5.4 10.4 7.6 15.8L364 203c-2.4-6.2-5.5-12.1-8.7-17.9m-214.2 33.8c-1.6 6.2-3 12.7-3.8 19.2l18.4 2.8c.8-5.9 2.2-11.7 3.5-17.5zm229.1 3l-18.1 4.8c1.8 5.7 2.6 11.5 3.8 17.4l18.4-3.1c-1.1-6.4-2.3-12.8-4.1-19.1m-235.1 35.5c-.5 6.8-.6 12.6-.6 19.3h18.7c.1-6.3.2-12.9.6-18zm241.6 2.9l-18.7 1.5c.5 5.8.8 12 .8 18l18.7-.1c-.1-7-.4-13.2-.8-19.4m-223 34.6l-18.7 1c.4 6.4 1 12.7 1.7 19.1l18.6-2c-.8-6-1.2-12.1-1.6-18.1m204.5 2.9c-.2 6-1 12-1.7 18l18.5 2.4c1-6.3 1.4-12.7 1.9-19.1zM139 329.6c.5 6.3 2 12.9 2.9 18.3h20.3v-18.7c-7.7-.2-15.4.1-23.2.4m41.9-.4c-.1 6.4 0 12.3 0 18.7l19.2-.5c-.5-6.1-.9-12.1-1.2-18.2zm130 0c-.5 6.3-1 12.7-1.5 19l18.7 1.4l-.2-20.4zm35.7 0v18.7h23.2c1.3-6.4 2.3-11.6 3.4-18c-8.8-.9-17.7-.7-26.6-.7m-145.3 36.9l-18.6 1.2l1.2 18.7l18.6-1.3zm106.7.7l-1.3 18.6l18.6 1.4l1.4-18.6zm-60.2 11.9v18.7h18.6v-18.7zm-44 24.7l-18.7 1.2l1.3 18.7L205 422zm101.5.7l-1.4 18.6l18.6 1.4l1.4-18.6zm-57.5 12v18.7h18.6v-18.7zm-41.6 24.6l-18.6 1.2l1.2 18.7l18.7-1.3zm96.3.6l-1.4 18.7l18.6 1.4l1.4-18.7zm-54.7 12.2v18.7h18.6v-18.7zM208.7 478l-18.7 1.2c.5 6.8.9 13.6 1.4 20.4h15.7zm91 .6l.8 21h16.4c.4-6.5 1-13.1 1.5-19.6zm-73.9 2.3v18.7h18.6v-18.7zm37.3 0v18.7h18.7v-18.7z'/%3E%3C/svg%3E");
}

.game-icons--laser-blast{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M19.5 18.625v37.78l64.313 64.314l33.437-33.44l-68.656-68.655H19.5zm55.53 0l55.44 55.438l13.218-13.25L101.5 18.624H75.03zM176.438 54.5L52.876 178.063L89.53 214.72L213.126 91.124zM19.5 82.844v23.625l39.28 39.28l11.814-11.813zm187.28 41.062l-84.905 84.906l24.344 24.375l84.905-84.937zm125.345 27.406a24.73 24.73 0 0 0-17.563 7.282c-9.713 9.717-9.713 25.47 0 35.187c9.714 9.718 25.444 9.718 35.157 0s9.712-25.47 0-35.186c-4.858-4.86-11.23-7.28-17.595-7.28zm-87.844 10.25l-16.78 16.782c.252-.004.498-.03.75-.03c13.752 0 27.486 5.262 38.03 15.81c21.093 21.1 21.096 55.055 0 76.157c-21.09 21.1-55 21.1-76.092 0l-.5-.53c-10.39-10.67-15.5-24.498-15.313-38.28l-16.78 16.78c2.906 12.924 9.352 25.194 19.374 35.22c.235.235.48.454.718.686c.136.156.267.315.406.47c-8.723 9.11-8.618 23.566.344 32.53c9.082 9.086 23.823 9.086 32.906 0a23.2 23.2 0 0 0 4.75-6.844c22.125 7.47 43.827 4.068 73.687 12.5l29.783 29.782c-3.636 6.71-2.64 15.265 3.03 20.937s14.23 6.67 20.938 3.033L462.94 495.969h32.03V467L323.157 295.187c-5.594-15.51-7.705-28.616-9.406-40.656c6.178 2.096 13.263.677 18.188-4.25c6.91-6.912 6.91-18.118 0-25.03c-6.542-6.544-16.924-6.847-23.875-1c-3.867-12.71-10.74-25.536-25.188-40.406a55 55 0 0 0-5.22-4.688c-9.666-9.018-21.237-14.86-33.374-17.594zM357.063 262.22c-3.525 0-7.028 1.34-9.718 4.03c-5.38 5.382-5.38 14.118 0 19.5s14.09 5.382 19.47 0s5.378-14.118-.002-19.5a13.75 13.75 0 0 0-9.75-4.03m-129.468 73.09a13.74 13.74 0 0 0-9.75 4.032c-5.38 5.38-5.38 14.087 0 19.47c5.38 5.38 14.12 5.38 19.5-.002s5.38-14.087 0-19.468a13.75 13.75 0 0 0-9.75-4.03z'/%3E%3C/svg%3E");
}

.game-icons--laser-warning{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M256.594 22.78c-30.506.17-59.178 22.692-80.125 62.97c-.06.11-.13.2-.19.313L45.563 314.813l-.218.375C21.012 353.466 15.88 389.552 30.97 416.063c15.08 26.496 48.627 40.125 93.5 37.906h265.124c44.872 2.218 78.418-11.41 93.5-37.908c15.092-26.516 9.97-62.618-14.375-100.906l-.22-.344L336.375 85.345c-.075-.147-.175-.26-.25-.406c-20.513-40.036-49.052-62.324-79.53-62.157zm-.28 18.845c13.573-.132 26.512 6.475 38.155 17.78c11.558 11.227 22.392 27.263 33.092 48.19L444.25 310.218l.22.342c12.067 18.934 20.57 36.022 24.905 51.563c4.362 15.64 4.54 30.2-1.5 42.438s-17.97 20.85-33.75 25.687c-15.675 4.806-35.56 6.383-60.406 5.125H139.905c-22.9 1.157-41.964-.16-57.406-4.5c-15.56-4.373-27.874-12.147-34.78-23.906c-6.91-11.76-7.756-26.4-3.845-42.408c3.886-15.904 12.366-33.698 25.28-53.968l115.47-201.938c.063-.12.125-.222.188-.344c10.85-20.89 21.77-36.997 33.375-48.343c11.673-11.413 24.55-18.213 38.125-18.345zm.186 18.688c-7.503.072-15.765 3.758-25.25 13.03c-9.485 9.274-19.69 23.944-30.03 43.907l-.095.188l-.094.156l-70.718 123.687l61.625.19l-31.25-18.032l9.344-16.188l51.064 29.5a48 48 0 0 1 4.125-4.03l-29.532-51.126l16.187-9.344l29.563 51.188c1.785-.586 3.63-1.04 5.5-1.407v-59.186h18.687v59.375c1.824.393 3.603.896 5.344 1.5l29.717-51.47l16.157 9.344l-29.813 51.625a47 47 0 0 1 3.814 3.843l51.687-29.813l9.345 16.188l-51.688 29.843a46 46 0 0 1 1.407 5.22h59.656v18.688h-59.656a46 46 0 0 1-1.406 5.25l51.687 29.812l-9.344 16.156l-51.624-29.78a48 48 0 0 1-3.844 3.874l29.782 51.594l-16.156 9.344L271 312.03a46 46 0 0 1-5.375 1.5v59.283h-18.688v-59.094a46 46 0 0 1-5.53-1.47l-29.532 51.188l-16.188-9.344l29.563-51.188a47 47 0 0 1-4.03-4.062l-51.19 29.562l-9.343-16.156L191 294.75H99.75l-14.375 25.125l-.125.22l-.125.186C72.762 339.63 65.197 356.044 62.03 369c-3.164 12.957-2.05 21.92 1.814 28.5c3.865 6.58 11.153 11.875 23.718 15.406c12.567 3.532 30.025 4.95 51.876 3.813l.25-.033h234.28l.25.032c23.734 1.233 41.893-.468 54.436-4.314c12.544-3.845 19.08-9.322 22.438-16.125c3.358-6.802 3.88-16.225.28-29.124c-3.597-12.898-11.31-28.78-22.874-46.875l-.094-.186l-.125-.188l-116.936-202.97l-.094-.217l-.125-.22c-10.195-20.01-20.283-34.584-29.656-43.688c-9.375-9.103-17.467-12.572-24.97-12.5zm-.656 179.53c-10.807 0-20.39 6.403-25 15.376l-2.594 5.093l-5.75-.032l-102.438-.342l-9.25 16.125H228.72l2.655 4.937c4.736 8.86 13.8 14.906 24.47 14.906c15.47 0 28.03-12.56 28.03-28.03c0-15.473-12.56-28.032-28.03-28.032z'/%3E%3C/svg%3E");
}

.game-icons--mining{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M113.844 17.72c-8.426.04-16.812.833-25.094 2.436C195.65 84.503 275.473 170.516 338.47 270c2.526-53.76-19.07-109.13-53.533-154.25c-14.097 5.298-31.477.742-43.468-11.25c-11.98-11.98-16.558-29.347-11.282-43.438C194.46 34.105 153.68 17.52 113.844 17.72m380.562 20.405L423.47 115.75l30.06 125.563l-55.092 8.78l-19.407 80.626l73.5 39.124l-41.25 55.937l29.658 44.033l-88.782-27.625l16.5-43.844L291.97 364.5l13.124-84.563l-111.375 58.125l-4.22 78.25l-112.22-27.656l-33.25 104.156h450.376zM261.156 58.72c-.388.01-.776.028-1.156.06c-3.644.325-6.882 1.696-9.188 4c-6.147 6.15-5.746 18.88 3.875 28.5c9.622 9.623 22.353 10.024 28.5 3.876c6.148-6.148 5.747-18.878-3.875-28.5c-5.637-5.637-12.335-8.096-18.156-7.937zM196.5 127.593L25.28 298.874c4.273 11.926 11.027 21.05 25.25 25.626L221.97 153c-7.796-8.89-16.308-17.333-25.47-25.406zm158.78 11.625l9.314 84.686l27.437-84.687h-36.75zm-132.03 74.968l-20.156 35.937l92.687 7.375z'/%3E%3C/svg%3E");
}

.game-icons--missile-swarm{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M17.34 17.38v34.08C37.24 85.91 61.4 120.5 95.03 151c6.97 24.6 23.57 43.7 46.27 53.9c-5.9-8.2-9.4-18.1-9.6-30.1c12 .1 21.9 3.7 30.1 9.6c-10.1-22.5-28.7-39-52.9-46c-40.28-36.2-66.64-78.82-89.03-121.02zm26.96 0C98.65 32.32 173.5 71.74 240.5 124.5l16.3-11.6C205.6 71.81 149.6 38.58 99.97 17.38zm110.1 0c28.4 8.14 52.8 19.57 75.3 32.83c13 21.96 34.1 36.14 58.6 40.15c-7.8-6.38-13.7-15.05-17-26.58c11.7-2.98 22.1-2.09 31.5 1.46c-15.5-19.08-37.8-30.23-63-30.76c-10.3-6.07-21-11.82-32.3-17.1zm171.3 4.96L321 71.62c-6.1 10.46-12.1 20.92-18.2 31.38c-14.6 11.2-26.3 18.7-40.6 29l39.6 22.8h.1l38.3-13.9c37.3 28.7 84.7 43.6 133.5 39.8c-21.2-44.6-57.8-78.2-101.5-96.03l-7-39.5zM194.9 148.8l-17.2 46.4c-8.6 8.4-17.2 17.1-25.7 25.7c-14.9 5.8-31.2 11.8-46.6 17.5l32.3 32.3l40.6-3.5c28.6 37.3 70.5 64 118.6 72.9c-8.9-48.5-35.6-90.5-73.1-119l3.4-40zm123.3 20l-18.2 6.6c17.1 17.7 33.5 38.1 44.3 52.6c1.1 24.4 12.1 46.1 30.6 61.3c-3.5-9.5-4.3-19.9-1.4-31.6c11.6 3.3 20.2 9.3 26.6 17.1c-4.1-25.4-19-47-42.3-59.9c-12-15.9-25.3-31.3-39.6-46.1M17.34 247.2v49.7c14.05 24.6 33.51 44.5 56.99 61c12.88 23.6 34.67 38.8 60.27 43c-7.8-6.4-13.8-15.1-17.1-26.6c11.7-3 22.2-2.1 31.6 1.5c-15-18.5-36.3-29.5-60.47-30.7c-35.62-23.9-60.18-54.2-71.29-97.9M441.3 249l-28.7 40.4c-10.5 6-20.9 12.1-31.4 18.1c-16.1 1.9-33.2 3.3-49.6 4.8l22.9 39.6l40.1 7.1c17.9 43.5 51.5 80.1 95.7 101.2c4-49.2-10.9-96.7-39.9-133.9l13.7-37.7zm-269.4 83.9l-4.6 49.3c-6.1 10.3-12.2 20.9-18.2 31.4c-13 9.6-27 19.4-40.5 28.9l39.6 22.9l38.3-13.9c37.3 28.7 84.6 43.6 133.4 39.8c-21.1-44.7-57.7-78.3-101.4-96.1l-7-39.5z'/%3E%3C/svg%3E");
}

.game-icons--radar-cross-section{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M256 23C127.4 23 23 127.4 23 256s104.4 233 233 233s233-104.4 233-233S384.6 23 256 23m-9 18.2v78.1c-31.1 2-59.2 14.4-81.3 33.7l-55.2-55.29C146.7 64.39 194.4 43.36 247 41.2m18 0c52.6 2.16 100.3 23.19 136.5 56.51L346.2 153c-22-19.3-50.2-31.7-81.2-33.7zM97.71 110.5L153 165.7c-19.3 22.1-31.7 50.2-33.7 81.3H41.2c2.16-52.6 23.19-100.3 56.51-136.5m316.59 0c33.3 36.2 54.3 83.9 56.5 136.5h-78.1c-2-31-14.4-59.2-33.7-81.2zM247 137.3v38.6l.4.6l17.6-10v-29.2c26.1 2 49.8 12.3 68.5 28.4L322 177.2l11.2 14.4l13.1-13.1c16.1 18.7 26.4 42.4 28.4 68.5h-41.6l23.8 18h17.8c-.3 4.1-.9 8.2-1.6 12.2l15.8 12c2-7.8 3.3-15.9 3.8-24.2h78.1c-2.2 52.6-23.2 100.3-56.5 136.5l-33.7-33.7l-11.4 14.2l32.3 32.3c-36.2 33.3-83.9 54.3-136.5 56.5v-78.1c10.3-.7 20.3-2.5 29.8-5.3l-8.6-16.3c-6.8 1.8-13.9 3-21.2 3.6v-43.5l-.6-1.1l-17.4-2.2v46.8c-17.1-1.3-33.2-6.2-47.5-14l-12.2 13.8c17.7 10.3 38 16.8 59.7 18.2v78.1c-52.6-2.2-100.3-23.2-136.5-56.5l52.1-52.1l-11.3-14.3l-53.59 53.6C64.39 365.3 43.36 317.6 41.2 265h74.2l36.8-18h-14.9c2-26.1 12.3-49.8 28.4-68.5l10.8 10.8l13.1-12.5l-11.1-11.1c18.7-16.1 42.4-26.4 68.5-28.4m47 33.4l-45.1 25.6l-7.3 4.2l-19.4-29.7l-32.6 31l12.8 40.7l-80.7 39.5l58.5 73.3l43.2-48.5l52.6 6.5l49.7 93.7l71.9-88.6l-94.4-71.4l29.4-27.2z'/%3E%3C/svg%3E");
}

.game-icons--radar-sweep{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M252.78 20.875c-1.302.012-2.6.03-3.905.063c-37.928.974-76.148 11.153-111.28 31.437C25.164 117.285-13.41 261.322 51.5 373.75s208.946 151.036 321.375 86.125c77.7-44.86 120.1-127.513 117.47-211.406c-3.563 65.847-35.898 128.573-91 169.374a218 218 0 0 1-35.814 25.844c-103.68 59.86-235.983 24.4-295.842-79.282c-59.86-103.68-24.43-235.984 79.25-295.844c35.64-20.576 74.67-29.88 112.968-29.03c63.304 1.4 124.623 30.57 165.438 82.53l-32.594 23.032c-33.27-42.835-84.01-66.6-136.063-67c-.96-.008-1.91-.012-2.875 0c-.964.01-1.943.038-2.906.062c-28.006.717-56.222 8.215-82.156 23.188c-82.99 47.914-111.508 154.322-63.594 237.312s154.32 111.51 237.313 63.594c51.37-29.66 81.862-81.724 86.28-136.78c-12.53 45.37-42.32 86.745-85.438 114.186c-.02.013-.043.018-.062.03l-.344.22a158 158 0 0 1-9.78 6.156c-74.245 42.865-168.918 17.494-211.782-56.75c-42.864-74.243-17.493-168.917 56.75-211.78c23.2-13.396 48.39-20.122 73.375-20.782c47.953-1.266 95.138 19.858 125.968 59.156l-39.844 28.156c-20.232-24.32-50.055-37.79-80.594-38.03c-1.17-.01-2.33 0-3.5.03c-17.035.432-34.176 4.995-49.938 14.094c-50.435 29.12-67.806 93.877-38.687 144.313c29.12 50.434 93.908 67.806 144.344 38.686c21.245-12.267 36.623-30.85 45.124-52.03c-18.815 21.064-44.364 36.888-73.938 44.155c-.04.013-.084.02-.125.033c-37.507 10.787-78.796-4.816-99.217-40.188c-24.07-41.688-9.845-94.712 31.843-118.78c13.028-7.523 27.143-11.314 41.156-11.69c25.66-.685 50.898 10.098 68.188 30.25l-41 28.97c-5.497-4.796-12.664-7.72-20.53-7.72c-17.277 0-31.283 14.007-31.283 31.282c0 17.276 14.004 31.282 31.282 31.282s31.28-14.007 31.28-31.283c0-1.187-.06-2.347-.188-3.5l120.094-57.312l4.03-1.75l-.06-.156l62.25-29.72l9.25-4.438l-5.282-8.812l-19.97-33.375l-5.155-8.625l-8.25 5.813l-8.095 5.718c-45.9-58.864-116.14-91.053-187.844-90.405z'/%3E%3C/svg%3E");
}

.game-icons--shield-reflect{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='m19.36 19.457l-.38 27.84l267.127 154.75l-58.703 19.916l57.602 19.36L142.12 383.546l-19.214-19.213l-51.47 114.324l123.125-43.482l-17.492-18.95l151.868-151.87l12.433 43.078l22.976-68.5l56.675-16.565l-57.475-15.492l-22.934-79.828l-14.145 48.266l-268.65-155.41l-38.454-.446zM370.614 81.94q-6.796.03-13.51.302c-3.275.134-6.528.32-9.76.547l31.25 108.786l104.05 28.045c6.204-39.085 8.902-80.275 9.18-120.075C456.37 88.82 415.098 82.257 375.15 81.95a404 404 0 0 0-4.537-.01zm-36.87 2.1c-31.99 3.653-61.013 12.153-83.014 25.87l64.493 37.31l18.52-63.18zm148.18 139.997L378.958 254.13l-38.93 116.054l-20.268-70.225l-39.07 39.067c18.814 35.364 46.1 62.287 86.175 77.604c47.473-17.834 78.566-62.795 98.014-121.6c7.323-22.14 12.905-46.11 17.042-70.993z'/%3E%3C/svg%3E");
}

.game-icons--shieldcomb{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='m72.02 21.88l-.9 64.34L32.88 108l.93 6.3c18.95 128 92.49 254.1 216.79 369.8l6.4 6l6.4-6c123.2-115.5 195.2-242 214.8-369.6l.9-6.3l-38.7-22.21l-.8-60.64C320.4 41.15 182 38.72 72.02 21.88m18.4 21.71c32.58 4.95 64.88 8.72 97.18 11.22v31.85L138.9 115L89.82 86.44zm330.78 3.56l.5 39.29L372.6 115l-49.2-28.6V56.82c32.1-1.63 64.6-4.67 97.8-9.67m-214.5 9.13c32.5 1.98 65 2.47 97.9 1.42v28.7l-48.9 28.5l-49-28.53zM80.22 102.6l49.18 28.6v57.4l-48.38 28.2c-13.02-32.9-22.25-65.9-27.63-99zm351.48 0l26.9 15.3c-5.5 33.1-14.8 66.1-27.6 98.9l-48.5-28.2v-57.4zm-117.7 0l49.1 28.6v57.4L314 217.2l-48.7-28.3v-58zm-116.8.2l48.9 28.4v57.7l-48.7 28.3l-49.1-28.6v-57.4zM140 206.2l49.2 28.6v57.4l-52.5 30.6c-18.9-28.7-34.8-57.7-47.68-86.9zm117.2 0l48.7 28.4v57.9l-48.7 28.3l-49.2-28.6v-57.4zm116.5 0l49.7 28.9c-12.8 29.3-28.5 58.4-47.1 87.2L325 292.5v-57.9zm-66.5 107.7l40.7 23.6v25.4c-11.9 15.7-24.6 31.3-38.3 46.8c-14.4-8.4-28.7-16.9-43.1-25.3v-46.9zm-100.3 0l40.7 23.6v46.8c-14.3 8.4-29.7 17.6-43.5 25.6a817 817 0 0 1-37.9-45.6v-26.8zm50.2 86.9l26.8 15.6v20.7c-11.3 11.4-19.1 19.2-26.9 27.2c-9.3-8.8-18.3-17.7-27-26.6v-21.2z'/%3E%3C/svg%3E");
}

.game-icons--space-shuttle{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M256 25.162c-.445.165-1.342.498-2.506 1.24c-2.093 1.334-4.922 3.615-8.002 6.58c-6.16 5.932-13.396 14.576-20.12 24.18a179 179 0 0 0-3.69 5.516c11.783-2.326 23.053-3.5 34.318-3.5s22.535 1.174 34.318 3.5a179 179 0 0 0-3.69-5.516c-6.724-9.604-13.96-18.248-20.12-24.18c-3.08-2.965-5.91-5.246-8.002-6.58a12.4 12.4 0 0 0-2.506-1.24m0 51.662c-14.685 0-29.38 2.38-46.22 7.114C204.42 95.194 201 105.57 201 112v159.64c5.106-17.267 9.62-38.235 14-64.404V192c0-11 4.557-23.42 11.283-34.63c3.363-5.606 7.31-10.793 12.072-14.92C243.118 138.32 249 135 256 135s12.882 3.322 17.645 7.45c4.762 4.127 8.71 9.314 12.072 14.92C292.443 168.58 297 181 297 192v15.236c4.38 26.17 8.894 47.137 14 64.403V112c0-6.43-3.42-16.806-8.78-28.063c-16.84-4.734-31.535-7.113-46.22-7.113m-88 52.56c-6.513 11.517-15 29.352-15 46.616v39h30v-39c0-17.264-8.487-35.1-15-46.615zm176 0c-6.513 11.517-15 29.352-15 46.616v39h30v-39c0-17.264-8.487-35.1-15-46.615zM256 153c-1 0-3.118.678-5.855 3.05c-2.738 2.373-5.79 6.186-8.428 10.58C236.443 175.42 233 187 233 192v163.78l-2.697 2.644c-10.61 10.408-12.83 36.14-13.15 52.77c6.674 3.535 17.826 6.417 29.847 7.42V368h18v50.613c12.023-1.004 23.178-3.885 29.852-7.422c-.308-16.586-2.46-42.072-13.215-52.827L279 355.73V192c0-5-3.443-16.58-8.717-25.37c-2.637-4.394-5.69-8.207-8.428-10.58C259.118 153.68 257 153 256 153m-16 30h32v18h-32zm-87 50v116.316c12.42-10.644 21.995-21.32 30-34.69V233zm176 0v81.627c8.005 13.368 17.58 24.045 30 34.69V233zm-114 53.975c-3.513 10.4-7.342 19.745-11.697 28.175c-9.305 18.01-20.907 32.004-35.457 45.032l38.675 1.933c2.16-4.848 4.922-9.458 8.48-13.584v-61.555zm82 0v61.6c3.515 4.13 6.253 8.725 8.4 13.544l38.754-1.938c-14.55-13.028-26.152-27.023-35.457-45.032c-4.355-8.43-8.184-17.775-11.697-28.175zm197 16.04c-13.547 5.65-19.025 19.56-26.95 41.83c0 0-45.814.42-53.376 17.557c-8.08 18.31 24.582 54.784 24.582 54.784s-27.132-8.726-37.926-2.108c-11.983 7.348-17.012 38.586-17.012 38.586c-3.533-.847-6.9-1.547-10.14-2.133L362.666 420h10.668l-5.992-10.957l-53.514 2.676l-.816 1.503c-.005.914-.012 1.954-.012 2.777v4h7l-10.666 32l21.332-16l5.004 15.008c-14.785 3.136-25.546 10.693-35.9 20.533L288 448h16l-12.803-15.607C280.517 435.733 268.283 437 256 437c-12.312 0-24.576-1.272-35.273-4.63L208 448h16l-12.89 25.78c-12.137-5.026-25.02-10.03-37.602-14.305L181.334 436l21.332 16L192 420h7v-4c0-.807-.008-1.832-.014-2.73l-.85-1.553l-53.52-2.676l-5.95 10.96h10.668l-9.955 29.86c-3.99-.816-7.803-1.45-11.38-1.86c-31.566-3.623-39.72 4.634-57.932 12.416c0 0 16.664-96.575-16.69-118.38c-4.128-2.7-9.283-3.783-14.993-3.73c-6.33.056-13.342 1.526-20.385 3.733V494h237l1 2l16-32l23.488 11.744c-5.562 5.625-11.157 11.82-17.355 18.256H494zM147.02 377.16c-5.396 4.877-6.897 9.625-6.817 11.555c.046 1.094.238 1.25.508 1.49c.27.242 1.017.793 3.29.793h.225l55.195 2.76c.316-4.473.846-9.163 1.732-13.89zm217.96 0l-54.187 2.71c.896 4.73 1.437 9.418 1.762 13.89l55.22-2.762H368c2.273 0 3.02-.55 3.29-.793c.27-.24.46-.396.507-1.49c.08-1.93-1.42-6.678-6.817-11.555M160 436l7.12 21.365c-9.11-2.933-17.94-5.404-26.075-7.148zm192 0l20.547 15.41c-9.475-1.674-17.715-2.228-25.057-1.88zm-112 28l14.545 29.09c-9.876-4.675-23.293-10.83-38.356-17.186z'/%3E%3C/svg%3E");
}

.game-icons--targeting{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M310.537 18.758L295.6 74.506a185.3 185.3 0 0 0-39.067-4.156v18.662c11.306.01 22.76 1.187 34.217 3.59l-14.488 54.066c2.972.543 5.946 1.206 8.916 2.002c3.11.834 6.152 1.798 9.127 2.873l14.502-54.123a167.2 167.2 0 0 1 31.425 14.006l9.338-16.174a185.3 185.3 0 0 0-35.918-15.912l16.235-60.582zM208.4 76.756a187.15 187.15 0 0 0-83.328 48.181l13.15 13.15c8.15-8.16 17.1-15.426 26.684-21.704l27.936 48.387a112 112 0 0 1 16.19-9.334l-27.948-48.41a167.7 167.7 0 0 1 32.133-12.297L208.4 76.755zm179.668 48.105l-13.154 13.156a167.5 167.5 0 0 1 21.69 26.722l-48.692 28.114a112 112 0 0 1 9.31 16.205l48.725-28.13a167.4 167.4 0 0 1 12.278 32.147l17.97-4.816a187.2 187.2 0 0 0-48.127-83.397zm-292.55 38.574a185.2 185.2 0 0 0-15.885 35.888l-60.737-16.275v19.348L74.8 217.373a185 185 0 0 0-4.122 39.025H89.33a167.3 167.3 0 0 1 3.553-34.18l53.847 14.428a113 113 0 0 1 2.057-9.232a113 113 0 0 1 2.762-8.822l-53.843-14.428a167.3 167.3 0 0 1 13.973-31.398l-16.162-9.332zm162.023 20.484a68 68 0 0 0-2.68.06c-30.888 1.26-58.825 22.36-67.23 53.73c-10.347 38.61 12.708 78.54 51.317 88.886s78.54-12.71 88.885-51.32c10.345-38.607-12.708-78.538-51.316-88.883a72.3 72.3 0 0 0-18.975-2.472zm-.01 18.658q1.932 0 3.88.137l-5.498 20.377c.9-.072 1.806-.12 2.725-.12a33.4 33.4 0 0 1 15.623 3.856l5.293-19.617c21.288 9.357 34.11 31.358 31.818 54.456l-19.15-5.168l.003.055a33.4 33.4 0 0 1-5.178 17.906l19.332 5.214c-9.793 20.695-31.702 32.98-54.574 30.39l5.385-19.96a33.4 33.4 0 0 1-17.74-5.995l-5.59 20.706c-19.83-9.728-31.712-30.68-29.83-52.753l21.054 5.68c-.014-.396-.03-.79-.03-1.19c0-6.18 1.675-11.964 4.587-16.938l-20.882-5.633c8.495-18.616 26.727-30.598 46.777-31.367a58 58 0 0 1 1.994-.04zm166.353 53.822c-.02 11.3-1.186 22.75-3.598 34.2l-54.342-14.56a113 113 0 0 1-2.02 9.024a112 112 0 0 1-2.833 9.02l54.346 14.563a167.3 167.3 0 0 1-14.024 31.398l16.172 9.338a185.3 185.3 0 0 0 15.936-35.89l60.654 16.252v-19.346l-55.805-14.953a185.3 185.3 0 0 0 4.17-39.045h-18.657zM95.027 299.672l-17.97 4.814a187.2 187.2 0 0 0 48.11 83.278l13.157-13.155a167.6 167.6 0 0 1-21.664-26.67L165.057 320a112 112 0 0 1-9.377-16.168l-48.37 27.928a167.4 167.4 0 0 1-12.283-32.088m224.965 47.95a112 112 0 0 1-16.178 9.355l28.112 48.69a167.4 167.4 0 0 1-32.112 12.255l4.815 17.965a187.16 187.16 0 0 0 83.34-48.053l-13.152-13.15a167.4 167.4 0 0 1-26.7 21.652l-28.126-48.715zM218.81 361.08l-14.49 54.07a167 167 0 0 1-31.363-13.992l-9.338 16.174a185.2 185.2 0 0 0 35.855 15.9l-16.293 60.8h19.35l14.993-55.96a185.3 185.3 0 0 0 39.01 4.178v-18.674a167.3 167.3 0 0 1-34.164-3.584l14.5-54.11a114 114 0 0 1-9.34-2.077c-2.97-.796-5.875-1.71-8.72-2.725'/%3E%3C/svg%3E");
}

.game-icons--teacher{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M120.998 40.998v37.943C136.22 89.471 146 109.278 146 131.001c0 13.71-3.901 26.65-10.598 36.985c3.465 1.35 7.106 2.85 10.15 4.172l122.352-22.783l5.918 54.842l-111.748 23.219c-.862 16.261-2.45 32.262-5.289 51.566h336.217V40.998zM96 88.998c-16.595 0-32.002 17.747-32.002 42.004S79.405 173.004 96 173.004s32.002-17.745 32.002-42.002S112.595 88.998 96 88.998m156.096 81.629l-108.592 20.22c-14.24-5.602-4.956-3.035-21.469-8.517c-7.476 5.469-16.33 8.672-26.035 8.672c-8.6 0-16.53-2.523-23.428-6.9c-8.59 3.564-17.655 8.09-25.736 12.654c-12.992 7.338-23.722 13.211-27.838 16.033v130.213h20.004V232h17.996v263.002h30.004V326h17.996v169.002h26.004v-171.84l.154-.824c9.514-50.64 12.588-77.384 13.461-109.656l109.56-22.766zm-98.153 126.375c-.952 5.682-1.991 11.64-3.146 17.996H478v-17.996zM208 344.998c-16.595 0-32.002 17.747-32.002 42.004c0 18.198 8.67 32.73 20.01 38.855c3.599-1.662 7.482-2.706 11.68-2.851c4.633-.16 8.98.767 13.052 2.42c10.968-6.352 19.262-20.63 19.262-38.424c0-24.257-15.407-42.004-32.002-42.004m112 0c-16.595 0-32.002 17.747-32.002 42.004c0 18.198 8.67 32.73 20.01 38.855c3.599-1.662 7.482-2.706 11.68-2.851c4.633-.16 8.98.767 13.052 2.42c10.968-6.352 19.262-20.63 19.262-38.424c0-24.257-15.407-42.004-32.002-42.004m112 0c-16.595 0-32.002 17.747-32.002 42.004c0 18.198 8.67 32.73 20.01 38.855c3.599-1.662 7.482-2.706 11.68-2.851c4.633-.16 8.98.767 13.052 2.42c10.968-6.352 19.262-20.63 19.262-38.424c0-24.257-15.407-42.004-32.002-42.004m-223.688 95.996c-3.844.133-8.907 2.93-14.3 8.785s-10.696 14.25-15.125 22.76c-4.226 8.12-7.609 16.16-10.06 22.463h85.339c-3.04-6.436-7.138-14.549-12.133-22.711c-5.298-8.658-11.511-17.138-17.668-22.957s-11.8-8.487-16.053-8.34m112 0c-3.844.133-8.907 2.93-14.3 8.785s-10.696 14.25-15.125 22.76c-4.226 8.12-7.609 16.16-10.06 22.463h85.339c-3.04-6.436-7.138-14.549-12.133-22.711c-5.298-8.658-11.511-17.138-17.668-22.957s-11.8-8.487-16.052-8.34zm112 0c-3.844.133-8.907 2.93-14.3 8.785s-10.696 14.25-15.125 22.76c-4.226 8.12-7.609 16.16-10.06 22.463h85.339c-3.04-6.436-7.138-14.549-12.133-22.711c-5.298-8.658-11.511-17.138-17.668-22.957s-11.8-8.487-16.052-8.34z'/%3E%3C/svg%3E");
}

.game-icons--trade{
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='black' d='M287.03 20c-39.133.48-79.73 15.297-117 45.938h80.47v43.188c52.76-29.75 114.592-31.588 163.938.03l-18.188 9.72l64.688 50.72l-3.75-83.314l-26.407 14.126C395.99 48.792 345.038 20.644 290.907 20a162 162 0 0 0-3.875 0zm-268 64.625v212.75h212.782V84.625H19.032zm50.282 26.03H205.78v138.939h-18.718v-120.25H69.313v-18.688zm3.344 38.126l90.094 91.845l-13.344 13.094l-90.094-91.845zm206.656 61.75v212.782h212.75v-212.78h-212.75zm50.25 26.064h136.469V375.5h-18.686V255.28h-117.78l-.002-18.686zm3.344 38.094l90.125 91.875l-13.342 13.062l-90.125-91.844l13.343-13.092zm-278.53 63.656l3.75 83.312l23.312-12.47c60.927 88.637 169.99 106.485 259.625 32.814h-80.439v-43.188c-52.08 29.38-113 31.544-162.03 1.188l20.436-10.938z'/%3E%3C/svg%3E");
}

.\[a-z_\:\.\\-\]{
  a-z_: .\-;
}

@font-face {
  font-family: 'Rajdhani';

  font-style: normal;

  font-weight: 300;

  font-display: swap;

  src: url('/static/fonts/Rajdhani-300.woff2?v=20260506-2') format('woff2');
}

@font-face {
  font-family: 'Rajdhani';

  font-style: normal;

  font-weight: 400;

  font-display: swap;

  src: url('/static/fonts/Rajdhani-400.woff2?v=20260506-2') format('woff2');
}

@font-face {
  font-family: 'Rajdhani';

  font-style: normal;

  font-weight: 600;

  font-display: swap;

  src: url('/static/fonts/Rajdhani-600.woff2?v=20260506-2') format('woff2');
}

@font-face {
  font-family: 'Rajdhani';

  font-style: normal;

  font-weight: 700;

  font-display: swap;

  src: url('/static/fonts/Rajdhani-700.woff2?v=20260506-2') format('woff2');
}

.iconify {
  --local-icon-svg: none;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: var(--local-icon-svg);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: var(--local-icon-svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.iconify:not([class^="w-"]):not([class*=" w-"]) {
  width: 1em;
  min-width: 1em;
}

.iconify:not([class^="h-"]):not([class*=" h-"]) {
  height: 1em;
}

.game-icons--aerial-signal {
  --local-icon-svg: url('/static/img/ux/GameIconsAerialSignal.svg');
}

.game-icons--anti-aircraft-gun {
  --local-icon-svg: url('/static/img/ux/GameIconsAntiAircraftGun.svg');
}

.game-icons--auto-repair {
  --local-icon-svg: url('/static/img/ux/GameIconsAutoRepair.svg');
}

.game-icons--bolt-shield {
  --local-icon-svg: url('/static/img/ux/GameIconsBoltShield.svg');
}

.game-icons--computing {
  --local-icon-svg: url('/static/img/ux/GameIconsComputing.svg');
}

.game-icons--crafting {
  --local-icon-svg: url('/static/img/ux/GameIconsCrafting.svg');
}

.game-icons--dragon-shield {
  --local-icon-svg: url('/static/img/ux/GameIconsDragonShield.svg');
}

.game-icons--fuel-tank {
  --local-icon-svg: url('/static/img/ux/GameIconsFuelTank.svg');
}

.game-icons--interceptor-ship {
  --local-icon-svg: url('/static/img/ux/GameIconsInterceptorShip.svg');
}

.game-icons--invisible {
  --local-icon-svg: url('/static/img/ux/GameIconsInvisible.svg');
}

.game-icons--laser-blast {
  --local-icon-svg: url('/static/img/ux/GameIconsLaserBlast.svg');
}

.game-icons--laser-warning {
  --local-icon-svg: url('/static/img/ux/GameIconsLaserWarning.svg');
}

.game-icons--materials-science {
  --local-icon-svg: url('/static/img/ux/GameIconsMaterialsScience.svg');
}

.game-icons--melting-metal {
  --local-icon-svg: url('/static/img/ux/GameIconsMeltingMetal.svg');
}

.game-icons--mining {
  --local-icon-svg: url('/static/img/ux/GameIconsMining.svg');
}

.game-icons--missile-swarm {
  --local-icon-svg: url('/static/img/ux/GameIconsMissileSwarm.svg');
}

.game-icons--radar-cross-section {
  --local-icon-svg: url('/static/img/ux/GameIconsRadarCrossSection.svg');
}

.game-icons--radar-sweep {
  --local-icon-svg: url('/static/img/ux/GameIconsRadarSweep.svg');
}

.game-icons--shield-reflect {
  --local-icon-svg: url('/static/img/ux/GameIconsShieldReflect.svg');
}

.game-icons--shieldcomb {
  --local-icon-svg: url('/static/img/ux/GameIconsShieldcomb.svg');
}

.game-icons--targeting {
  --local-icon-svg: url('/static/img/ux/GameIconsTargeting.svg');
}

.game-icons--teacher {
  --local-icon-svg: url('/static/img/ux/GameIconsTeacher.svg');
}

.game-icons--trade {
  --local-icon-svg: url('/static/img/ux/GameIconsTrade.svg');
}

.game-icons--wireframe-globe {
  --local-icon-svg: url('/static/img/ux/GameIconsWireframeGlobe.svg');
}

body {
  font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
  background: radial-gradient(ellipse at 20% 10%, rgba(9,12,20,1) 0%, rgba(0,0,0,1) 45%),
                linear-gradient(180deg, #000011 0%, #000000 80%);
  background-attachment: scroll;
  color-scheme: dark;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  scroll-behavior: auto;
}

body.index-page,
body.game-page {
  background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.08), transparent 34%),
        linear-gradient(180deg, #020617 0%, #020617 45%, #010409 100%);
  background-attachment: fixed;
}

:root {
  --fs-2xs: 0.75rem;
  /* 12px */
  --fs-xs: 0.8125rem;
  /* 13px */
  --fs-sm: 0.9375rem;
  /* 15px */
  --fs-base: 1rem;
  /* 16px */
  --fs-md: 1.1rem;
  /* 17.6px */
  --fs-lg: 1.25rem;
  /* 20px */
  --ui-text-primary: #e5faf0;
  --ui-text-secondary: #c6f6dd;
  --ui-text-muted: #90c0ad;
  --ui-state-info: #7dd3fc;
  --ui-state-success: #34d399;
  --ui-state-warning: #fbbf24;
  --ui-state-danger: #fb7185;
}

/*
#main-screen {
    background-image: url("/static/fonts/space_2.jpg");
    background-size: cover;
}
    */

#settings-button {
  color: #F5F5F5;
  border: none;
}

.font-shadow {
  text-shadow: 1px 1px 2px black;
}

.ck-editor__editable {
  min-height: 30vh;
  max-height: 50vh;
}

fieldset {
  border: 1px solid whitesmoke;
}

.progress-bar-color {
  background-color: #01ff66;
}

.game-container-border {
  background-image: url("/static/fonts/border-container-withbg.svg");
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: cover;
}

.game-container {
  clip-path: polygon( 0% 20px, /* top left */
    20px 0%, /* top left */
    calc(100% - 20px) 0%, /* top right */
    100% 20px, /* top right */
    100% calc(100% - 20px), /* bottom right */
    calc(100% - 20px) 100%, /* bottom right */
    20px 100%, /* bottom left */
    0 calc(100% - 20px)/* bottom left */
    );
}

.inset-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.inset-center-28 {
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.inset-center-32 {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.inset-center-40 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.inset-center-45 {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.inset-center-52 {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.inset-center-58 {
  position: absolute;
  top: 58vh;
  left: 50vw;
  transform: translate(-50%, -50%);
}

.inset-center-60 {
  position: absolute;
  top: 60vh;
  left: 50vw;
  transform: translate(-50%, -50%);
}

.img-container-size {
  background-size: auto 100vh;
}

/* Hide scrollbar for IE, Edge and Firefox */

.no-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

table.no-spacing {
  border-spacing: 0;
  /* Removes the cell spacing via CSS */
  border-collapse: collapse;
  /* Optional - if you don't want to have double border where cells touch */
}

.no-borders {
  border: 0;
  border-spacing: 0;
}

select {
  text-align: center;
}

.loader-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  background: #000;
  z-index: 1;
}

.thin-semi-transparent-scrollbar {
  scrollbar-color: transparent transparent;
  scrollbar-width: thin;
}

.thin-semi-transparent-scrollbar:hover {
  scrollbar-color: #34D399 transparent;
  scrollbar-width: thin;
}

.disabled-arrow {
  background-color: rgba(0, 0, 0, 0.5);
  background-image: repeating-linear-gradient(45deg, transparent, transparent, rgb(223, 5, 5) 15px, rgb(223, 5, 5) 15px);
}

.ql-container.ql-snow {
  width: auto;
}

.ql-editor {
  height: auto;
  overflow-y: scroll;
  width: 100%;
  background-color:rgba(54, 65, 83, 0.4);
}

.ql-snow {
  background-color:rgba(123, 143, 175, 0.4);
  border-bottom: none;
}

button:hover .ql-stroke,
.ql-picker-label .ql-stroke {
  fill: none;
  stroke: #00d492 !important;
}

button:hover .ql-stroke,
.ql-picker-label:hover .ql-stroke {
  fill: none;
  stroke: #B1F1CB !important;
}

.ql-active .ql-stroke {
  fill: none;
  stroke: #B1F1CB !important;
}

button .ql-fill,
.ql-picker-label .ql-fill {
  fill: #00d492 !important;
  stroke: none;
}

button:hover .ql-fill,
.ql-picker-label:hover .ql-fill {
  fill: #B1F1CB !important;
  stroke: none;
}

.ql-active .ql-fill {
  fill: #B1F1CB !important;
  stroke: none;
}

button .ql-stroke,
.ql-picker-label .ql-stroke {
  fill: none;
  stroke: #00d492 !important;
}

.ql-container {
  min-height: 10rem;
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ql-editor {
  height: 100%;
  flex: 1;
  overflow-y: auto;
  width: 100%;
}

.in-range {
  background: rgba(0, 255, 100, 0.2);
  border-color: #00ff64;
  box-shadow: inset 0 0 10px rgba(0, 255, 100, 0.4);
}

.sonar-sweep {
  background: rgba(0, 255, 255, 0.6) !important;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.8) !important;
  border-color: #00ffff !important;
}

@keyframes sonar-pulse {
  0% {
    transform: scale(0);
    opacity: 1;
  }

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

#radar-sweep.sonar-control-active {
  opacity: 1;
  pointer-events: all;
}

#radar-sweep.sonar-active {
  background-color: #00ff00;
  box-shadow: 0 0 10px #00ff00;
}

html, body {
  font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
}

#sector-loader-canvas-container {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #020410, #000);
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.8s ease;
}

.loader-text {
  position: absolute;
  bottom: 8vh;
  width: 100%;
  text-align: center;
  color: #b7d9ff;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.06em;
  font-size: 1.2em;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.loader-dots::after {
  content: '...';
  animation: dots 1.4s infinite steps(3);
}

@keyframes dots {
  0% {
    content: '';
  }

  33% {
    content: '.';
  }

  66% {
    content: '..';
  }

  100% {
    content: '...';
  }
}

.font-orbitron {
  font-family: 'Barlow Condensed', sans-serif;
}

.text-shadow {
  text-shadow: 0 0 4px rgba(16, 185, 129, 0.28);
}

.glow {
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.16);
}

.glow-strong {
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.24), 0 0 22px rgba(16, 185, 129, 0.1);
  animation: pulse-glow 3.2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.24), 0 0 22px rgba(16, 185, 129, 0.1);
  }

  50% {
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.3), 0 0 28px rgba(16, 185, 129, 0.12);
  }
}

.stars-bg {
  background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 85%, white, transparent);
  background-size: 200% 200%;
}

.nav-blur {
  backdrop-filter: blur(6px);
  background: rgba(10, 10, 10, 0.7);
}

.index-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 999px;
  background: rgba(9, 18, 14, 0.78);
}

.lang-btn {
  min-width: 2.3rem;
  padding: 0.28rem 0.62rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(167, 243, 208, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: #d1fae5;
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.12);
}

.lang-btn.is-active {
  color: #022c22;
  border-color: rgba(52, 211, 153, 0.95);
  background: rgba(52, 211, 153, 0.95);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.index-language-switch-mobile {
  width: -moz-fit-content;
  width: fit-content;
}

.faction-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.faction-card:hover {
  transform: translateY(-10px);
  border-color: rgba(16, 185, 129, 0.8);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.feature-icon {
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(5deg);
}

.gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.recorp-wordmark {
  position: relative;
  display: inline-block;
  isolation: isolate;
  color: transparent;
  background: linear-gradient(90deg, #eafff7 0%, #34d399 28%, #67e8f9 50%, #a78bfa 72%, #d1fae5 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.22), 0 0 18px rgba(34, 211, 238, 0.12);
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.18));
  animation: recorp-wordmark-sheen 5.5s linear infinite, recorp-wordmark-pulse 4.2s ease-in-out infinite;
}

.recorp-wordmark::before,
.recorp-wordmark::after {
  content: attr(data-word);
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.35;
  -webkit-text-fill-color: currentColor;
}

.recorp-wordmark::before {
  color: rgba(103, 232, 249, 0.9);
  transform: translate(1px, -1px);
  clip-path: inset(0 0 52% 0);
  animation: recorp-wordmark-glitch-top 6s steps(1, end) infinite;
}

.recorp-wordmark::after {
  color: rgba(244, 114, 182, 0.9);
  transform: translate(-1px, 1px);
  clip-path: inset(48% 0 0 0);
  animation: recorp-wordmark-glitch-bottom 6s steps(1, end) infinite;
}

@keyframes recorp-wordmark-sheen {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

@keyframes recorp-wordmark-pulse {
  0%,
    100% {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.2));
  }

  50% {
    opacity: 0.92;
    filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.35));
  }
}

@keyframes recorp-wordmark-glitch-top {
  0%,
    88%,
    100% {
    opacity: 0.18;
    transform: translate(1px, -1px) skewX(0deg);
  }

  89% {
    opacity: 0.6;
    transform: translate(2px, -2px) skewX(-8deg);
  }

  90% {
    opacity: 0.45;
    transform: translate(0, -1px) skewX(6deg);
  }

  91% {
    opacity: 0.22;
    transform: translate(1px, -1px) skewX(0deg);
  }
}

@keyframes recorp-wordmark-glitch-bottom {
  0%,
    84%,
    100% {
    opacity: 0.16;
    transform: translate(-1px, 1px) skewX(0deg);
  }

  85% {
    opacity: 0.52;
    transform: translate(-2px, 2px) skewX(7deg);
  }

  86% {
    opacity: 0.38;
    transform: translate(0, 1px) skewX(-5deg);
  }

  87% {
    opacity: 0.2;
    transform: translate(-1px, 1px) skewX(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .recorp-wordmark,
    .recorp-wordmark::before,
    .recorp-wordmark::after {
    animation: none !important;
  }

  .recorp-wordmark::before,
    .recorp-wordmark::after {
    opacity: 0 !important;
  }
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -30px);
  }
}

.news-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.news-card:hover {
  border-color: rgba(16, 185, 129, 0.6);
  transform: translateY(-5px);
}

.badge-new {
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.space-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  contain: layout paint;
  isolation: isolate;
}

/* Nebula (légères taches floues colorées) */

.nebula {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  filter: blur(14px) saturate(104%);
  opacity: 0.05;
  transform: translate3d(-20%, -10%, 0) rotate(5deg);
  mix-blend-mode: normal;
}

.nebula.n1 {
  background: radial-gradient(circle at 30% 30%, #0ef 0%, transparent 30%);
  top: -10%;
  left: -15%;
}

.nebula.n2 {
  background: radial-gradient(circle at 70% 70%, #0f9 0%, transparent 30%);
  top: 20%;
  right: -25%;
  opacity: 0.045;
}

.nebula.n3 {
  background: radial-gradient(circle at 40% 60%, #6f0 0%, transparent 35%);
  top: 60%;
  left: 10%;
  opacity: 0.04;
}

/* Couches d'étoiles */

.stars-layer {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  transform-origin: 50% 50%;
}

/* petites étoiles (lointaines) */

.stars-layer.l1 {
  background-image: radial-gradient(#ffffff 0.6px, transparent 0.6px);
  opacity: 0.18;
}

/* étoiles moyennes */

.stars-layer.l2 {
  background-image: radial-gradient(#ffffff 1.2px, transparent 1.2px);
  opacity: 0.28;
}

/* grosses étoiles / scintillements */

.stars-layer.l3 {
  background-image: radial-gradient(#ffffff 1.7px, transparent 1.7px);
  opacity: 0.28;
  filter: none;
}

/* Animations de déplacement très lent (déplacement subtil pour parallax) */

/* Twinkle (scintillement aléatoire via animation appliquée aux pseudo-étoiles créées en JS) */

/* Lite performance tweak: réduire animations sur petits écrans */

@media (max-width: 768px) {
  .nebula {
    opacity: 0.04;
    filter: blur(36px);
  }

  .stars-layer.l1 {
    opacity: 0.10;
  }

  .stars-layer.l2 {
    opacity: 0.16;
  }

  .stars-layer.l3 {
    opacity: 0.22;
  }
}

/* BARRE OVERFLOW-Y */

::-webkit-scrollbar-button {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
}

/* Chrome, Edge, Safari */

::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  border: none;
  scrollbar-color: rgba(0,255,240,0.5) transparent;
  /* thumb visible, track transparent */
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,
        rgba(0, 255, 200, 0.2) 0%,
        rgba(0, 180, 255, 0.4) 50%,
        rgba(0, 255, 200, 0.2) 100%
    );
  border-radius: 20px;
  box-shadow:
        0 0 8px rgba(0, 255, 200, 0.25),
        0 0 15px rgba(0, 255, 255, 0.15);
  border: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg,
        rgba(0, 255, 255, 0.6),
        rgba(0, 200, 255, 0.8)
    );
  box-shadow:
        0 0 12px rgba(0, 255, 255, 0.6),
        0 0 25px rgba(0, 255, 255, 0.3);
}

/* Firefox */

* {
  scrollbar-width: thin;
}

/* comportement fluide et espacement stable */

body {
  scrollbar-gutter: stable;
}

/* Animation du menu mobile pour éviter le décalage */

#mobile-menu-logged-in,
#mobile-menu-logged-out {
  transition: max-height 0.3s ease-in-out;
}

/* Animation du modal */

#modal-content {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Amélioration du glow pour les inputs en focus */

input:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1), 0 0 20px rgba(16, 185, 129, 0.2);
}

/* Effet de blur sur le contenu de la page quand le modal est ouvert */

#content {
  transition: filter 0.3s ease;
}

#content.modal-blur-active {
  filter: blur(3px);
  pointer-events: none;
}

/* Effet de blur sur le contenu de la page quand le menu hamburger est ouvert */

#content.mobile-menu-blur-active {
  filter: blur(2px);
  pointer-events: none;
}

/* === Apparition subtile du formulaire (fade + slide-up + glow) === */

@keyframes formAppear {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: brightness(0.6) blur(2px);
  }

  60% {
    opacity: 0.8;
    transform: translateY(10px) scale(1.01);
    filter: brightness(1.1) blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

@keyframes log-entry-appear {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
    filter: brightness(0.8) blur(1px);
  }

  60% {
    opacity: 0.8;
    transform: translateY(1px) scale(1.01);
    filter: brightness(1.1);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

.log-entry {
  animation: log-entry-appear 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  will-change: transform, opacity, filter;
}

@keyframes emerald-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px #34d399);
    opacity: 1;
  }

  50% {
    filter: drop-shadow(0 0 12px #6ee7b7);
    opacity: 0.85;
  }
}

.arrow-icon {
  animation: emerald-pulse 2.5s ease-in-out infinite;
}

/* Scrollbar dans le thème spatial émeraude */

.custom-scrollbar::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(16,185,129,0.6) 0%, rgba(34,197,94,0.9) 100%);
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(16,185,129,0.5);
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(16,185,129,0.8) 0%, rgba(52,211,153,1) 100%);
}

.custom-scrollbar {
  scrollbar-color: rgba(16,185,129,0.6) transparent;
  scrollbar-width: thin;
}

.sf-scroll {
  --sf-scroll-track-color: rgba(1, 7, 8, 0.22);
  --sf-scroll-track: linear-gradient(180deg, rgba(1, 7, 8, 0.92), rgba(3, 15, 14, 0.56));
  --sf-scroll-thumb-color: rgba(16, 185, 129, 0.72);
  --sf-scroll-thumb-top: rgba(52, 211, 153, 0.58);
  --sf-scroll-thumb-bottom: rgba(16, 185, 129, 0.96);
  --sf-scroll-track-border: rgba(16, 185, 129, 0.08);
  --sf-scroll-border: rgba(16, 185, 129, 0.18);
  --sf-scroll-glow: rgba(16, 185, 129, 0.24);
  scrollbar-color: var(--sf-scroll-thumb-color) var(--sf-scroll-track-color);
  scrollbar-width: thin;
}

.sf-scroll::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.sf-scroll::-webkit-scrollbar-track {
  background: var(--sf-scroll-track);
  border: 1px solid var(--sf-scroll-track-border);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.sf-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--sf-scroll-thumb-top), var(--sf-scroll-thumb-bottom));
  border-radius: 999px;
  border: 1px solid var(--sf-scroll-border);
  box-shadow: 0 0 10px var(--sf-scroll-glow);
}

.sf-scroll::-webkit-scrollbar-thumb:hover {
  filter: brightness(1.08);
}

.sf-scroll::-webkit-scrollbar-corner {
  background: transparent;
}

.sf-scroll-emerald {
  --sf-scroll-track: linear-gradient(180deg, rgba(0, 10, 11, 0.9), rgba(5, 22, 20, 0.48));
  --sf-scroll-thumb-top: rgba(110, 231, 183, 0.62);
  --sf-scroll-thumb-bottom: rgba(16, 185, 129, 0.98);
  --sf-scroll-border: rgba(52, 211, 153, 0.28);
  --sf-scroll-glow: rgba(16, 185, 129, 0.28);
}

.sf-badge {
  --sf-badge-border: rgba(16, 185, 129, 0.28);
  --sf-badge-accent: rgba(110, 231, 183, 0.92);
  --sf-badge-accent-soft: rgba(16, 185, 129, 0.18);
  --sf-badge-bg-left: rgba(4, 10, 11, 0.94);
  --sf-badge-bg-right: rgba(9, 20, 18, 0.82);
  --sf-badge-color: #ddfff0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 1.55rem;
  padding: 0.14rem 0.62rem 0.16rem 0.8rem;
  border: 1px solid var(--sf-badge-border);
  border-radius: 0.42rem;
  background:
        linear-gradient(135deg, var(--sf-badge-bg-left), var(--sf-badge-bg-right)),
        linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  color: var(--sf-badge-color);
  box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 0 14px rgba(16, 185, 129, 0.08);
  clip-path: polygon(0.45rem 0, 100% 0, 100% calc(100% - 0.4rem), calc(100% - 0.45rem) 100%, 0 100%, 0 0.4rem);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: var(--fs-2xs);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
}

.sf-badge::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,0), var(--sf-badge-accent), rgba(255,255,255,0));
  box-shadow: 0 0 10px var(--sf-badge-accent-soft);
}

.sf-badge--emerald {
  --sf-badge-border: rgba(16, 185, 129, 0.28);
  --sf-badge-accent: rgba(110, 231, 183, 0.98);
  --sf-badge-accent-soft: rgba(16, 185, 129, 0.24);
  --sf-badge-bg-left: rgba(3, 12, 12, 0.94);
  --sf-badge-bg-right: rgba(7, 31, 23, 0.78);
  --sf-badge-color: #d8fff0;
}

.sf-badge--cyan {
  --sf-badge-border: rgba(56, 189, 248, 0.28);
  --sf-badge-accent: rgba(125, 211, 252, 0.98);
  --sf-badge-accent-soft: rgba(56, 189, 248, 0.2);
  --sf-badge-bg-left: rgba(5, 12, 18, 0.94);
  --sf-badge-bg-right: rgba(8, 28, 38, 0.76);
  --sf-badge-color: #d9f7ff;
}

.sf-badge--amber {
  --sf-badge-border: rgba(245, 158, 11, 0.32);
  --sf-badge-accent: rgba(252, 211, 77, 0.98);
  --sf-badge-accent-soft: rgba(245, 158, 11, 0.22);
  --sf-badge-bg-left: rgba(20, 12, 4, 0.94);
  --sf-badge-bg-right: rgba(47, 27, 7, 0.78);
  --sf-badge-color: #fff2c7;
}

.sf-badge--violet {
  --sf-badge-border: rgba(167, 139, 250, 0.3);
  --sf-badge-accent: rgba(196, 181, 253, 0.98);
  --sf-badge-accent-soft: rgba(167, 139, 250, 0.18);
  --sf-badge-bg-left: rgba(14, 9, 26, 0.94);
  --sf-badge-bg-right: rgba(33, 18, 54, 0.78);
  --sf-badge-color: #f0e7ff;
}

.sf-badge--ghost {
  --sf-badge-border: rgba(148, 163, 184, 0.22);
  --sf-badge-accent: rgba(203, 213, 225, 0.82);
  --sf-badge-accent-soft: rgba(148, 163, 184, 0.12);
  --sf-badge-bg-left: rgba(8, 13, 15, 0.9);
  --sf-badge-bg-right: rgba(14, 21, 24, 0.72);
  --sf-badge-color: #e2e8f0;
}

.sf-badge--danger {
  --sf-badge-border: rgba(248, 113, 113, 0.32);
  --sf-badge-accent: rgba(252, 165, 165, 0.98);
  --sf-badge-accent-soft: rgba(248, 113, 113, 0.18);
  --sf-badge-bg-left: rgba(24, 7, 9, 0.94);
  --sf-badge-bg-right: rgba(47, 12, 18, 0.78);
  --sf-badge-color: #ffe1e1;
}

/* === Animation Fade-In + Rise === */

.fade-in-up {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Animation "pulse énergétique" pour chaque groupe === */

.fade-in-up {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out, box-shadow 0.8s ease-out;
}

.fade-in-up-visible {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 0 10px 2px rgba(16, 185, 129, 0.3);
}

.fade-in-up-visible:hover {
  box-shadow: 0 0 15px 4px rgba(16, 185, 129, 0.4);
  transition: box-shadow 0.3s ease-in-out;
}

/* === Barre de scroll dans le thème === */

.skill-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.5) transparent;
}

.skill-scroll::-webkit-scrollbar {
  width: 4px;
}

.skill-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.skill-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(16, 185, 129, 0.6);
  border-radius: 4px;
}

.slim-modal-scrollbar {
  -ms-overflow-style: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(16, 185, 129, 0.72) transparent !important;
}

.slim-modal-scrollbar::-webkit-scrollbar {
  width: 2px !important;
  height: 2px !important;
}

.slim-modal-scrollbar::-webkit-scrollbar-track {
  background: transparent !important;
}

.slim-modal-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.72) !important;
  border-radius: 999px !important;
  border: 0 !important;
  box-shadow: none !important;
}

.slim-modal-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(52, 211, 153, 0.92) !important;
}

.slim-modal-scrollbar::-webkit-scrollbar-corner {
  background: transparent !important;
}

.slim-modal-scrollbar::-webkit-scrollbar-button,
.slim-modal-scrollbar::-webkit-scrollbar-button:single-button,
.slim-modal-scrollbar::-webkit-scrollbar-button:single-button:vertical:decrement,
.slim-modal-scrollbar::-webkit-scrollbar-button:single-button:vertical:increment,
.slim-modal-scrollbar::-webkit-scrollbar-button:single-button:horizontal:decrement,
.slim-modal-scrollbar::-webkit-scrollbar-button:single-button:horizontal:increment,
.slim-modal-scrollbar::-webkit-scrollbar-button:vertical:decrement,
.slim-modal-scrollbar::-webkit-scrollbar-button:vertical:increment,
.slim-modal-scrollbar::-webkit-scrollbar-button:horizontal:decrement,
.slim-modal-scrollbar::-webkit-scrollbar-button:horizontal:increment {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
}

.button-menu-modal-frame {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  border: 38px solid transparent !important;
  border-style: solid !important;
  border-color: transparent !important;
  -o-border-image: url('/static/img/ux/modal-cadres/metallic_green_borders_1024_cropped_lossless.webp') 70 90 70 75 / 1 / 0 stretch !important;
     border-image: url('/static/img/ux/modal-cadres/metallic_green_borders_1024_cropped_lossless.webp') 70 90 70 75 / 1 / 0 stretch !important;
  border-radius: 0 !important;
  max-width: calc(100vw - 16px);
  max-height: calc(100vh - 16px);
  background-color: rgba(10, 14, 18, 0.96);
  background-clip: padding-box;
  box-shadow: none !important;
}

.button-menu-modal-frame.modal-animated-panel {
  box-shadow: none !important;
}

.chat-modal-frame {
  width: 100%;
}

@media (min-width: 1025px) {
  .chat-modal-frame {
    width: min(60vw, 42rem);
    max-width: min(60vw, 42rem);
  }
}

.button-menu-modal-frame.energy-border {
  animation: none !important;
  box-shadow: none !important;
}

.button-menu-modal-header {
  height: 4rem;
  min-height: 4rem;
  box-sizing: border-box;
  flex-shrink: 0;
}

.button-menu-modal-subline {
  flex-shrink: 0;
}

.modal-header-with-art {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.modal-header-with-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image:
        linear-gradient(180deg, rgba(2, 6, 12, 0.18), rgba(2, 6, 12, 0.5)),
        var(--modal-header-art, none);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.modal-header-with-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 12, 0.12), rgba(2, 6, 12, 0.34));
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.modal-header-with-art > * {
  position: relative;
  z-index: 2;
}

.signup-invite-modal-frame {
  width: min(100vw - 2rem, 27rem) !important;
  max-width: min(100vw - 2rem, 27rem) !important;
  max-height: min(90vh, calc(100vh - 2rem)) !important;
}

@media (max-width: 768px) {
  .button-menu-modal-frame {
    border-width: 42px !important;
    max-width: calc(100vw - 8px);
    max-height: calc(100vh - 8px);
  }

  .signup-invite-modal-frame {
    width: calc(100vw - 1rem) !important;
    max-width: calc(100vw - 1rem) !important;
  }
}

#character-modal .character-meta-list {
  display: table;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0 0.2rem;
  max-width: 100%;
}

#character-modal .character-meta-row {
  display: table-row;
}

#character-modal .character-meta-label,
#character-modal .character-meta-sep,
#character-modal .character-meta-value {
  display: table-cell;
  vertical-align: middle;
}

#character-modal .character-meta-label {
  text-align: left;
  white-space: nowrap;
}

#character-modal .character-meta-sep {
  text-align: center;
  padding: 0 0.35rem;
  white-space: nowrap;
}

#character-modal .character-meta-value {
  text-align: left;
  word-break: break-word;
}

/* === Mise en page PC === */

@media (min-width: 1024px) {
  #character-modal .skills-container {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 0.5rem;
  }
}

/* === Mise en page mobile === */

@media (max-width: 1023px) {
  #character-modal .skills-container {
    max-height: none;
    overflow-y: visible;
  }

  #character-modal fieldset {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  #character-modal .skills {
    width: 100% !important;
    min-height: 60px;
  }

  #character-modal .skills .text-xs,
  #character-modal .skills p {
    font-size: 0.9rem;
  }

  #character-modal .skills .h-3 {
    height: 0.75rem !important;
  }
}

/* Grille responsive des compétences (1 / 2 / 3 colonnes max) */

#character-modal .skills-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  align-items: start;
}

#character-modal .skills-grid .skill-item {
  min-width: 0;
}

@media (min-width: 768px) {
  #character-modal .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  #character-modal .skills-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tooltip custom — thème émeraude */

.skill-tooltip {
  position: fixed;
  z-index: 99999;
  max-width: 360px;
  background: rgba(8, 10, 12, 0.95);
  color: #DFFFEA;
  border: 1px solid rgba(16,185,129,0.15);
  box-shadow: 0 6px 24px rgba(16,185,129,0.06);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.25;
  pointer-events: none;
  transform-origin: top left;
  transition: opacity 150ms ease, transform 150ms ease;
  opacity: 0;
}

/* visible state */

.skill-tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* titre du tooltip */

.skill-tooltip .tt-title {
  font-weight: 700;
  color: #A8FFDB;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* meta line (level / progress) */

.skill-tooltip .tt-meta {
  font-size: 0.8rem;
  color: rgba(200,255,230,0.9);
  margin-bottom: 8px;
}

/* content */

.skill-tooltip .tt-body {
  font-size: 0.85rem;
  color: #D8FCE6;
  max-height: 220px;
  overflow-y: auto;
}

/* Scrollbar inside tooltip (subtil) */

.skill-tooltip .tt-body::-webkit-scrollbar {
  width:6px;
}

.skill-tooltip .tt-body::-webkit-scrollbar-track {
  background: transparent;
}

.skill-tooltip .tt-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(16,185,129,0.45), rgba(52,211,153,0.8));
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(16,185,129,0.2);
}

/* Inline description box (shown under skill bar on click) */

.skill-expanded {
  margin-top: 8px;
  background: rgba(2,6,7,0.8);
  border: 1px solid rgba(16,185,129,0.12);
  color: #DFFFEA;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  animation: expandFade 180ms ease-out;
}

@keyframes expandFade {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.995);
  }

  to   {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Small responsive safety: tooltip disabled on small devices via CSS (just in case) */

@media (max-width: 1023px) {
  .skill-tooltip {
    display: none !important;
  }
}

/* ✅ Scroll personnalisé */

.custom-scroll::-webkit-scrollbar {
  width: 6px;
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(16,185,129,0.3), rgba(16,185,129,0.6));
  border-radius: 6px;
}

/* ✅ Tooltips */

#inventory-modal .equipped-modules-panel {
  background:
        linear-gradient(180deg, rgba(16,185,129,0.04), rgba(16,185,129,0) 30%),
        radial-gradient(circle at 15% 10%, rgba(16,185,129,0.08), transparent 45%);
  border-right: 1px solid rgba(16,185,129,0.12);
}

#inventory-modal #inventory-reconfig-status.is-pending {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(120, 74, 6, 0.18);
  color: #fde68a;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.08);
}

#inventory-modal #inventory-reconfig-status.is-lock {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(127, 29, 29, 0.16);
  color: #fecaca;
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.06);
}

#inventory-modal #inventory-capacity-text.is-over {
  color: #fca5a5;
  text-shadow: 0 0 8px rgba(248, 113, 113, 0.2);
}

#inventory-modal .equipped-module-group {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow: visible;
  border-color: rgba(16,185,129,0.18);
  background: linear-gradient(180deg, rgba(7,16,15,0.85), rgba(7,11,12,0.78));
  box-shadow: inset 0 0 0 1px rgba(16,185,129,0.04), 0 8px 18px rgba(0,0,0,0.18);
  border-radius: 0.5rem;
}

#inventory-modal .equipped-module-group.equip-target-highlight {
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow:
        inset 0 0 0 1px rgba(52, 211, 153, 0.08),
        0 0 0 1px rgba(52, 211, 153, 0.12),
        0 0 22px rgba(16, 185, 129, 0.16);
}

#inventory-modal .equipped-module-group::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
        linear-gradient(90deg, rgba(16,185,129,0.06), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.02), transparent 28%);
  opacity: 0.9;
  z-index: 0;
  border-radius: inherit;
}

#inventory-modal .equipped-module-group.equip-target-highlight::before {
  background:
        linear-gradient(90deg, rgba(16,185,129,0.14), transparent 32%),
        radial-gradient(circle at 90% 50%, rgba(52,211,153,0.08), transparent 52%);
}

#inventory-modal .equipped-module-group > legend,
#inventory-modal .equipped-module-group > .equipped-module-list {
  position: relative;
  z-index: 1;
}

#inventory-modal .equipped-module-legend {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
}

#inventory-modal .equipped-module-legend__label {
  color: #b7f7d3;
  letter-spacing: 0.06em;
}

#inventory-modal .equipped-module-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.8rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: var(--fs-2xs);
  line-height: 1;
  border: 1px solid rgba(16,185,129,0.2);
  background: rgba(2,6,7,0.65);
  color: #bfeeda;
  box-shadow: inset 0 0 8px rgba(16,185,129,0.07);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-transform: none;
}

#inventory-modal .equipped-module-count.is-ok {
  border-color: rgba(16,185,129,0.35);
  color: #9bf4c8;
}

#inventory-modal .equipped-module-count.is-full {
  border-color: rgba(245,158,11,0.45);
  color: #fcd34d;
  background: rgba(120, 74, 6, 0.22);
}

#inventory-modal .equipped-module-count.is-over {
  border-color: rgba(248,113,113,0.5);
  color: #fca5a5;
  background: rgba(127, 29, 29, 0.22);
  box-shadow: 0 0 12px rgba(248,113,113,0.12);
}

#inventory-modal .equipped-module-count.is-unknown {
  border-color: rgba(148,163,184,0.25);
  color: #cbd5e1;
}

#inventory-modal .equipped-module-list {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  align-content: start;
}

#inventory-modal .equipped-empty-slot {
  display: flex;
  align-items: center;
  min-height: 2rem;
  border: 1px dashed rgba(16,185,129,0.15);
  border-radius: 0.45rem;
  background: rgba(4,10,11,0.55);
  color: rgba(226,232,240,0.92);
  padding: 0.24rem 0.5rem;
  letter-spacing: 0.02em;
  font-size: 0.68rem;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0,0,0,0.35);
}

#inventory-modal .module-item {
  position: relative;
  overflow: hidden;
  border-color: rgba(16,185,129,0.2);
  background:
        linear-gradient(90deg, rgba(6, 22, 19, 0.85), rgba(8, 15, 14, 0.74)),
        linear-gradient(180deg, rgba(16,185,129,0.03), transparent);
}

#inventory-modal .module-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(16,185,129,0.25), rgba(110,231,183,0.95), rgba(16,185,129,0.2));
  box-shadow: 0 0 10px rgba(16,185,129,0.35);
}

#inventory-modal .module-item:hover {
  border-color: rgba(52,211,153,0.45);
  box-shadow: inset 0 0 0 1px rgba(52,211,153,0.05), 0 0 18px rgba(16,185,129,0.08);
}

#inventory-modal .inventory-module-row {
  position: relative;
  overflow: hidden;
  border-color: rgba(16,185,129,0.18);
  background:
        linear-gradient(90deg, rgba(6, 18, 17, 0.78), rgba(8, 13, 13, 0.72)),
        linear-gradient(180deg, rgba(16,185,129,0.02), transparent);
  line-height: 1.25;
}

#inventory-modal .inventory-module-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(16,185,129,0.18), rgba(110,231,183,0.7), rgba(16,185,129,0.16));
  box-shadow: 0 0 10px rgba(16,185,129,0.18);
}

#inventory-modal .inventory-module-row:hover {
  border-color: rgba(52,211,153,0.36);
  box-shadow: inset 0 0 0 1px rgba(52,211,153,0.05), 0 0 14px rgba(16,185,129,0.06);
}

#inventory-modal .inventory-section {
  border: 1px solid rgba(16,185,129,0.14);
  border-radius: 0.55rem;
  background:
        linear-gradient(180deg, rgba(6, 15, 14, 0.78), rgba(6, 10, 11, 0.72)),
        linear-gradient(180deg, rgba(16,185,129,0.02), transparent);
  box-shadow: inset 0 0 0 1px rgba(16,185,129,0.03);
  padding: 0.45rem;
}

#inventory-modal .inventory-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.15rem 0.1rem;
}

#inventory-modal .inventory-section-title {
  margin: 0;
  color: #b7f7d3;
  font-size: 0.875rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
}

#inventory-modal .inventory-section-count {
  min-width: 2.2rem;
  padding-inline: 0.35rem;
}

#inventory-modal .inventory-section-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

#inventory-modal .inventory-empty-row {
  border: 1px dashed rgba(16,185,129,0.12);
  border-radius: 0.45rem;
  background: rgba(4,10,11,0.5);
  color: rgba(226,232,240,0.94);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  padding: 0.5rem 0.6rem;
  text-shadow: 0 1px 0 rgba(0,0,0,0.35);
}

#inventory-modal .inventory-resource-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 0.45rem;
  padding: 0.45rem 0.55rem;
  background:
        linear-gradient(90deg, rgba(7, 16, 20, 0.75), rgba(7, 10, 13, 0.72)),
        linear-gradient(180deg, rgba(56,189,248,0.02), transparent);
  line-height: 1.25;
}

#inventory-modal .inventory-resource-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  border-radius: 0.45rem 0 0 0.45rem;
  background: linear-gradient(180deg, rgba(56,189,248,0.18), rgba(125,211,252,0.65), rgba(56,189,248,0.14));
}

#inventory-modal .inventory-resource-row.is-quest {
  border-color: rgba(245, 158, 11, 0.2);
  background:
        linear-gradient(90deg, rgba(24, 16, 7, 0.72), rgba(14, 10, 8, 0.72)),
        linear-gradient(180deg, rgba(245,158,11,0.02), transparent);
}

#inventory-modal .inventory-resource-row.is-quest::before {
  background: linear-gradient(180deg, rgba(245,158,11,0.2), rgba(252,211,77,0.72), rgba(245,158,11,0.14));
}

#inventory-modal .inventory-module-type-badge.is-quest {
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.22);
  background: rgba(120, 74, 6, 0.18);
}

#inventory-modal .inventory-module-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  font-size: var(--fs-2xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c7f9e5;
  border: 1px solid rgba(16,185,129,0.2);
  background: rgba(2, 6, 7, 0.55);
  white-space: nowrap;
}

#inventory-modal .inventory-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(16,185,129,0.2);
  background: rgba(2, 6, 7, 0.5);
  transition: all 120ms ease;
  cursor: pointer;
}

#inventory-modal .inventory-action-btn i {
  pointer-events: none;
}

#inventory-modal .inventory-action-btn.success {
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.25);
}

#inventory-modal .inventory-action-btn.danger {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.25);
}

#inventory-modal .inventory-action-btn:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 10px rgba(16,185,129,0.14);
}

#inventory-modal .inventory-action-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.2);
  transform: none;
  box-shadow: none;
}

#craft-modal .craft-modal-pane,
#inventory-modal .inventory-modal-pane {
  position: relative;
  background:
        linear-gradient(180deg, rgba(4, 12, 12, 0.78), rgba(5, 8, 10, 0.56)),
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 42%);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.03);
}

#craft-modal .craft-modal-pane::before,
#inventory-modal .inventory-modal-pane::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
        linear-gradient(90deg, rgba(16, 185, 129, 0.05), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.02), transparent 18%);
  opacity: 0.9;
}

#craft-modal .craft-overview-card,
#craft-modal [data-rid],
#craft-modal [data-job-remaining],
#craft-modal [data-effect-kind="craft"],
#craft-modal .sf-data-chip {
  position: relative;
  overflow: hidden;
}

#craft-modal .craft-overview-card {
  border-color: rgba(16, 185, 129, 0.16);
  background:
        linear-gradient(135deg, rgba(6, 16, 17, 0.88), rgba(4, 9, 11, 0.7)),
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 45%);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.04), 0 10px 20px rgba(0, 0, 0, 0.14);
}

#craft-modal .craft-overview-card::before,
#craft-modal [data-rid]::before,
#craft-modal .sf-data-chip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12), rgba(110, 231, 183, 0.96), rgba(16, 185, 129, 0.12));
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

#craft-modal .craft-modal-tab {
  position: relative;
  overflow: hidden;
  border-color: rgba(16, 185, 129, 0.16);
  background: linear-gradient(180deg, rgba(3, 12, 12, 0.92), rgba(6, 24, 20, 0.46));
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.03);
}

#craft-modal .craft-modal-tab[aria-selected="true"] {
  border-color: rgba(52, 211, 153, 0.34);
  color: #d8fff0;
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.06), 0 0 14px rgba(16, 185, 129, 0.12);
}

#craft-modal .craft-modal-tab-rail {
  padding-bottom: 0.15rem;
}

#craft-modal .sf-data-chip {
  border-color: rgba(16, 185, 129, 0.16);
  background: linear-gradient(180deg, rgba(5, 13, 13, 0.82), rgba(4, 8, 9, 0.72));
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.04);
}

#craft-modal [data-rid] {
  border-color: rgba(16, 185, 129, 0.18);
  background:
        linear-gradient(135deg, rgba(5, 15, 15, 0.86), rgba(5, 7, 9, 0.72)),
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.09), transparent 42%);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.03), 0 10px 26px rgba(0,0,0,0.16);
}

#craft-modal .craft-tab:hover,
#craft-modal [data-rid]:hover {
  border-color: rgba(52, 211, 153, 0.34);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.08);
}

#craft-modal [data-start] {
  border-color: rgba(52, 211, 153, 0.34);
  background: linear-gradient(135deg, rgba(4, 42, 28, 0.78), rgba(4, 18, 16, 0.92));
  box-shadow: inset 0 0 0 1px rgba(110, 231, 183, 0.08), 0 0 16px rgba(16, 185, 129, 0.14);
}

#craft-modal [data-start].is-disabled,
#craft-modal [data-start][aria-disabled="true"] {
  cursor: not-allowed;
  border-color: rgba(248, 113, 113, 0.62);
  background:
        linear-gradient(180deg, rgba(127, 29, 29, 0.5), rgba(69, 10, 10, 0.38)),
        rgba(45, 9, 12, 0.78);
  color: #fecaca;
  box-shadow:
        inset 0 0 0 1px rgba(248, 113, 113, 0.14),
        0 0 14px rgba(127, 29, 29, 0.2);
}

#craft-modal [data-start]:hover:not(:disabled):not(.is-disabled):not([aria-disabled="true"]) {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(110, 231, 183, 0.14), 0 0 20px rgba(16, 185, 129, 0.18);
}

#craft-modal button:focus-visible,
#craft-modal input:focus-visible,
#inventory-modal button:focus-visible,
#inventory-modal input:focus-visible {
  outline: none;
  border-color: rgba(110, 231, 183, 0.58) !important;
  box-shadow: 0 0 0 1px rgba(110, 231, 183, 0.14), 0 0 18px rgba(16, 185, 129, 0.14);
}

#craft-modal input,
#inventory-modal input {
  accent-color: #34d399;
}

#inventory-modal .equipped-module-count,
#inventory-modal .inventory-module-type-badge {
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#inventory-modal .equipped-module-count {
  min-width: 3.6rem;
  padding-inline: 0.58rem;
  font-variant-numeric: tabular-nums;
}

#inventory-modal .equipped-module-count.is-ok {
  --sf-badge-border: rgba(16,185,129,0.36);
  --sf-badge-accent: rgba(110,231,183,0.98);
  --sf-badge-accent-soft: rgba(16,185,129,0.22);
  --sf-badge-bg-left: rgba(3, 12, 12, 0.94);
  --sf-badge-bg-right: rgba(7, 31, 23, 0.78);
  --sf-badge-color: #9bf4c8;
}

#inventory-modal .equipped-module-count.is-full {
  --sf-badge-border: rgba(245,158,11,0.42);
  --sf-badge-accent: rgba(252,211,77,0.98);
  --sf-badge-accent-soft: rgba(245,158,11,0.22);
  --sf-badge-bg-left: rgba(20, 12, 4, 0.94);
  --sf-badge-bg-right: rgba(47, 27, 7, 0.78);
  --sf-badge-color: #fcd34d;
}

#inventory-modal .equipped-module-count.is-over {
  --sf-badge-border: rgba(248,113,113,0.46);
  --sf-badge-accent: rgba(252,165,165,0.98);
  --sf-badge-accent-soft: rgba(248,113,113,0.22);
  --sf-badge-bg-left: rgba(24, 7, 9, 0.94);
  --sf-badge-bg-right: rgba(47, 12, 18, 0.78);
  --sf-badge-color: #fca5a5;
}

#inventory-modal .equipped-module-count.is-unknown {
  --sf-badge-border: rgba(148,163,184,0.25);
  --sf-badge-accent: rgba(203,213,225,0.84);
  --sf-badge-accent-soft: rgba(148,163,184,0.12);
  --sf-badge-bg-left: rgba(8, 13, 15, 0.9);
  --sf-badge-bg-right: rgba(14, 21, 24, 0.72);
  --sf-badge-color: #cbd5e1;
}

#inventory-modal .inventory-module-type-badge {
  padding-inline: 0.58rem;
}

#inventory-modal .inventory-module-type-badge.is-resource {
  --sf-badge-border: rgba(16,185,129,0.28);
  --sf-badge-accent: rgba(110,231,183,0.98);
  --sf-badge-accent-soft: rgba(16,185,129,0.2);
  --sf-badge-bg-left: rgba(3, 12, 12, 0.94);
  --sf-badge-bg-right: rgba(7, 31, 23, 0.78);
  --sf-badge-color: #d8fff0;
}

#inventory-modal .inventory-module-type-badge.is-craft {
  --sf-badge-border: rgba(56,189,248,0.28);
  --sf-badge-accent: rgba(125,211,252,0.98);
  --sf-badge-accent-soft: rgba(56,189,248,0.18);
  --sf-badge-bg-left: rgba(5, 12, 18, 0.94);
  --sf-badge-bg-right: rgba(8, 28, 38, 0.76);
  --sf-badge-color: #d9f7ff;
}

#inventory-modal .inventory-module-type-badge.is-ship {
  --sf-badge-border: rgba(167,139,250,0.3);
  --sf-badge-accent: rgba(196,181,253,0.98);
  --sf-badge-accent-soft: rgba(167,139,250,0.18);
  --sf-badge-bg-left: rgba(14, 9, 26, 0.94);
  --sf-badge-bg-right: rgba(33, 18, 54, 0.78);
  --sf-badge-color: #f0e7ff;
}

#inventory-modal .inventory-module-type-badge.is-quest {
  --sf-badge-border: rgba(245,158,11,0.32);
  --sf-badge-accent: rgba(252,211,77,0.98);
  --sf-badge-accent-soft: rgba(245,158,11,0.22);
  --sf-badge-bg-left: rgba(20, 12, 4, 0.94);
  --sf-badge-bg-right: rgba(47, 27, 7, 0.78);
  --sf-badge-color: #fde68a;
}

#inventory-modal .inventory-modal__content {
  min-height: 0;
}

#inventory-modal .inventory-modal-pane--cargo,
#inventory-modal .inventory-modal-pane--modules {
  scrollbar-gutter: stable;
}

#inventory-modal .inventory-modal-pane--cargo {
  overflow-y: auto;
  overflow-x: hidden;
}

#inventory-modal #inventory-reconfig-status,
#inventory-modal #inventory-action-feedback,
#inventory-modal #inventory-overcapacity-warning {
  flex: 0 0 auto;
  width: 100%;
}

#inventory-modal .inventory-modal__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  isolation: isolate;
  overflow: hidden;
}

#inventory-modal .inventory-modal__header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image:
        linear-gradient(180deg, rgba(2, 6, 12, 0.18), rgba(2, 6, 12, 0.5)),
        url('/static/img/ux/modal-cadres/inventory_modal.webp');
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

#inventory-modal .inventory-modal__header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 12, 0.12), rgba(2, 6, 12, 0.34));
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

#inventory-modal .inventory-modal__header > * {
  position: relative;
  z-index: 2;
}

#character-modal .modal-header-with-art,
#event-modal .modal-header-with-art,
#map-modal .modal-header-with-art,
#group-modal .modal-header-with-art {
  --modal-header-art: url('/static/img/ux/modal-cadres/basic_modal.webp');
}

#message-modal .modal-header-with-art,
#chat-modal .modal-header-with-art {
  --modal-header-art: url('/static/img/ux/modal-cadres/communication_modal.webp');
}

#inventory-modal .inventory-resource-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

#inventory-modal .inventory-qty-input {
  width: 3.3rem;
  height: 1.5rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(56, 189, 248, 0.24);
  background: rgba(2, 6, 7, 0.58);
  color: #d6f7ff;
  font-size: var(--fs-2xs);
  font-weight: 600;
  text-align: center;
  padding: 0 0.25rem;
}

#inventory-modal .inventory-qty-input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.24);
}

#inventory-modal .inventory-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.5rem;
  min-width: 2.1rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(56, 189, 248, 0.24);
  background: rgba(7, 16, 20, 0.6);
  color: #bae6fd;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 0.35rem;
  cursor: pointer;
  transition: all 120ms ease;
}

#inventory-modal .inventory-qty-btn:hover {
  border-color: rgba(125, 211, 252, 0.55);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.2);
}

#inventory-modal .inventory-qty-btn:active {
  transform: translateY(1px);
}

.module-tooltip {
  position: fixed;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: 260px;
  pointer-events: none;
}

.module-tooltip.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.module-tooltip ul {
  backdrop-filter: blur(6px);
  border-radius: 0.5rem;
}

.module-item {
  transition: all 0.25s ease;
}

.module-item:hover {
  filter: drop-shadow(0 0 6px #00ffcc55);
}

.module-expanded {
  background: rgba(2,6,7,0.8);
  border: 1px solid rgba(16,185,129,0.15);
  color: #DFFFEA;
  padding: 6px;
  border-radius: 6px;
  font-size: 0.75rem;
  animation: expandFade 0.2s ease-out;
}

/* ✅ Animation apparition modal */

@keyframes modalFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalRise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-modal-fade {
  animation: modalFade 0.3s ease-out;
}

.animate-modal-rise {
  animation: modalRise 0.35s ease-out;
}

@keyframes expandFade {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ✅ Effet énergétique pulsant */

.energy-border {
  position: relative;
  box-shadow: 0 0 6px rgba(16,185,129,0.18), inset 0 0 6px rgba(16,185,129,0.12);
  animation: energyPulse 4.5s infinite ease-in-out;
}

@keyframes energyPulse {
  0%, 100% {
    box-shadow: 0 0 6px rgba(16,185,129,0.18), inset 0 0 6px rgba(16,185,129,0.12);
  }

  50% {
    box-shadow: 0 0 12px rgba(16,185,129,0.24), inset 0 0 10px rgba(16,185,129,0.14);
  }
}

.glow-ring {
  background: radial-gradient(circle, rgba(16,185,129,0.14) 0%, transparent 72%);
  filter: blur(9px);
  animation: ringGlow 6s ease-in-out infinite;
}

@keyframes ringGlow {
  0%, 100% {
    opacity: 0.24;
    transform: scale(1);
  }

  50% {
    opacity: 0.38;
    transform: scale(1.01);
  }
}

/* ✅ Layout mobile compact */

@media (max-width: 768px) {
  #inventory-modal .module-item, #inventory-modal .inventory-item {
    padding: 0.4rem 0.5rem;
    font-size: var(--fs-xs);
  }

  #inventory-modal .inventory-modal__content {
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  #inventory-modal .inventory-modal-pane--cargo,
    #inventory-modal .inventory-modal-pane--modules {
    flex: 0 0 auto !important;
    width: 100%;
    min-height: 0;
    height: auto !important;
    max-height: none !important;
    scrollbar-gutter: auto !important;
  }

  #inventory-modal .inventory-modal-pane--cargo {
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  #inventory-modal .inventory-modal-pane--modules {
    overflow: visible !important;
  }

  #inventory-modal .inventory-section-list,
    #inventory-modal .equipped-module-list {
    overflow: visible !important;
    max-height: none !important;
  }

  #inventory-modal fieldset legend {
    font-size: var(--fs-2xs);
  }

  #inventory-modal h2 {
    font-size: 1.2rem;
  }

  #inventory-modal .equipped-modules-panel {
    border-right: 0;
  }

  #inventory-modal .equipped-module-legend {
    gap: 0.3rem;
    flex-wrap: wrap;
  }

  #inventory-modal .equipped-module-count {
    font-size: var(--fs-2xs);
    min-width: 3.3rem;
  }
}

/************************************/

/********* CREATE CHARACTER *********/

.font-orbitron {
  font-family: 'Barlow Condensed', sans-serif;
}

.font-rajdhani {
  font-family: 'Rajdhani', sans-serif;
}

.text-shadow-strong {
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.8);
}

.glow-card {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
}

.glow-card:hover {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
  transform: translateY(-5px);
}

.glow-card.no-hover-lift:hover {
  transform: none;
}

.faction-accent-card {
  border: 2px solid rgb(var(--faction-accent-rgb, 148 163 184) / 0.26);
  background: rgba(9, 12, 15, 0.7);
  box-shadow: 0 0 20px rgb(var(--faction-accent-rgb, 148 163 184) / 0.14);
  transition: all 0.3s ease;
}

.faction-accent-card:hover {
  transform: translateY(-5px);
  border-color: rgb(var(--faction-accent-rgb, 148 163 184) / 0.7);
  box-shadow: 0 10px 30px rgb(var(--faction-accent-rgb, 148 163 184) / 0.24);
}

.faction-selected {
  box-shadow: 0 0 40px rgb(var(--faction-accent-rgb, 148 163 184) / 0.42), inset 0 0 20px rgb(var(--faction-accent-rgb, 148 163 184) / 0.16);
  border-color: rgb(var(--faction-accent-rgb, 148 163 184) / 0.95) !important;
  background: rgb(var(--faction-accent-rgb, 148 163 184) / 0.12) !important;
}

.faction-accent-text {
  color: rgb(var(--faction-accent-rgb, 148 163 184) / 1);
}

.faction-accent-link {
  color: rgb(var(--faction-accent-rgb, 148 163 184) / 0.88);
}

.faction-accent-link:hover {
  color: rgb(var(--faction-accent-rgb, 148 163 184) / 1);
}

.faction-accent-button {
  border-color: rgb(var(--faction-accent-rgb, 148 163 184) / 0.3);
  background: rgb(var(--faction-accent-rgb, 148 163 184) / 0.12);
  color: rgb(var(--faction-accent-rgb, 148 163 184) / 0.95);
  box-shadow: 0 0 18px rgb(var(--faction-accent-rgb, 148 163 184) / 0.12);
}

.faction-accent-button:hover {
  border-color: rgb(var(--faction-accent-rgb, 148 163 184) / 0.7);
  background: rgb(var(--faction-accent-rgb, 148 163 184) / 0.2);
  color: rgb(var(--faction-accent-rgb, 148 163 184) / 1);
}

.nav-button {
  transition: all 0.3s ease;
}

.nav-button:hover {
  transform: scale(1.05);
}

.nav-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.gradient-bg {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.05) 100%);
}

.stats-container {
  backdrop-filter: blur(10px);
}

/* MAIL */

.fade-slide {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.translate-y-3 {
  transform: translateY(0.75rem);
}

.translate-y-0 {
  transform: translateY(0);
}

.thin-semi-transparent-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.thin-semi-transparent-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.3);
  border-radius: 8px;
}

/* Message list (private messages modal) */

.mail-list-panel {
  background: linear-gradient(180deg, rgba(2, 6, 6, 0.22), rgba(6, 21, 17, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.12);
  border-radius: 0.75rem;
}

.mail-item {
  position: relative;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 0.8rem;
  padding: 0.78rem 0.85rem;
  overflow: hidden;
  background:
        linear-gradient(145deg, rgba(5, 14, 14, 0.92), rgba(5, 24, 20, 0.72) 52%, rgba(3, 9, 9, 0.93));
  box-shadow:
        inset 0 0 0 1px rgba(110, 231, 183, 0.06),
        0 8px 18px rgba(2, 6, 23, 0.46);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.mail-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.82), rgba(16, 185, 129, 0.12));
  opacity: 0.35;
  transition: opacity 140ms ease;
}

.mail-item--unread {
  border-color: rgba(52, 211, 153, 0.58);
  box-shadow:
        inset 0 0 0 1px rgba(167, 243, 208, 0.16),
        0 0 18px rgba(16, 185, 129, 0.2);
}

.mail-item--unread::before {
  opacity: 0.92;
}

.mail-item-main {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.mail-item-avatar-wrap {
  flex: 0 0 auto;
}

.mail-item-avatar {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.65rem;
  -o-object-fit: cover;
     object-fit: cover;
  border: 1px solid rgba(110, 231, 183, 0.55);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.18);
}

.mail-item-body {
  min-width: 0;
  flex: 1 1 auto;
}

.mail-item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-right: 4.1rem;
}

.mail-item-author {
  color: rgba(226, 232, 240, 0.98);
  font-weight: 700;
}

.mail-item-faction {
  display: inline;
  white-space: nowrap;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  font-size: var(--fs-2xs);
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 700;
  color: rgba(203, 213, 225, 0.88);
}

.mail-item-time {
  margin-left: auto;
  color: rgba(110, 231, 183, 0.64);
  font-style: normal;
  white-space: nowrap;
  font-size: var(--fs-2xs);
}

.mail-item-subject {
  margin-top: 0.2rem;
  margin-bottom: 0.12rem;
  color: rgba(236, 253, 245, 0.95);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mail-item-preview {
  color: rgba(134, 239, 172, 0.62);
  font-size: var(--fs-2xs);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
}

.mail-item-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 183, 0.55);
  background: rgba(16, 185, 129, 0.18);
  color: rgba(167, 243, 208, 0.98);
  padding: 0.12rem 0.45rem;
  font-size: var(--fs-2xs);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mail-item-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.45rem;
  margin-top: 0.45rem;
  border-top: 1px solid rgba(16, 185, 129, 0.15);
}

.mail-item-delete {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-2xs);
  font-weight: 600;
  border-radius: 0.5rem;
  border: 1px solid rgba(248, 113, 113, 0.26);
  background: rgba(127, 29, 29, 0.11);
  color: rgba(248, 113, 113, 0.93);
  padding: 0.25rem 0.58rem;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.mail-item-delete:hover {
  color: rgba(254, 202, 202, 0.98);
  border-color: rgba(252, 165, 165, 0.5);
  background: rgba(127, 29, 29, 0.22);
}

/* Emerald pulse for send */

@keyframes emeraldPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.sending {
  animation: emeraldPulse 0.8s ease-out;
}

/* Warp animation for modal */

#mail-modal.show {
  display: flex;
}

#mail-modal.show #mail-modal-content {
  opacity: 1;
  transform: scale(1);
}

@keyframes pulse-slow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.05);
  }
}

.animate-pulse-slow {
  animation: pulse-slow 2.5s infinite;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.3s ease-in-out;
}

/* === RESPONSIVE FIX === */

@media (max-width: 768px) {
  /* Modal backdrop */

  #message-modal {
    padding: 0;
    align-items: flex-start;
    padding-top: 2vh;
  }

  /* Modal content */

  #mail-modal-content {
    width: 100vw !important;
    height: 98vh !important;
    max-height: 98vh !important;
    border-radius: 0 !important;
    margin: 0;
  }

  /* Header */

  #mail-modal-content h2 {
    font-size: var(--fs-md);
    gap: 0.5rem !important;
  }

  #close-mail-modal {
    font-size: 1.5rem;
  }

  /* Tabs */

  .tab-btn {
    font-size: var(--fs-xs);
    padding: 0.5rem !important;
  }

  /* Search */

  #search-message {
    font-size: var(--fs-sm);
  }

  /* Mail list - plus d'espace */

  #mail-list {
    flex: 1;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    max-height: none !important;
  }

  /* Mail items */

  .mail-item {
    padding: 0.5rem !important;
    font-size: var(--fs-sm);
  }

  .mail-item-main {
    gap: 0.55rem;
  }

  .mail-item-avatar {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.55rem;
  }

  .mail-item-time {
    margin-left: 0;
    width: 100%;
  }

  .mail-item-actions {
    padding-top: 0.35rem;
    margin-top: 0.35rem;
  }

  /* Pagination */

  #mail-pagination-info {
    font-size: var(--fs-2xs);
  }

  #prev-page, #next-page {
    font-size: var(--fs-xs);
    padding: 0.25rem 0.5rem !important;
  }

  /* Formulaire nouveau message */

  #mail-list input,
    #mail-list textarea {
    font-size: var(--fs-sm);
    padding: 0.5rem !important;
  }

  #mail-list button {
    font-size: var(--fs-sm);
    padding: 0.5rem 0.75rem !important;
  }

  /* Message détaillé */

  #mail-list h3 {
    font-size: var(--fs-base);
  }

  #mail-list p {
    font-size: var(--fs-sm);
  }
}

/* Pour les très petits écrans */

@media (max-width: 480px) {
  #mail-modal-content h2 {
    font-size: var(--fs-sm);
  }

  .tab-btn {
    font-size: var(--fs-2xs);
    padding: 0.4rem !important;
  }

  .tab-btn i {
    display: none;
    /* Cache l'icône "pen" sur très petits écrans */
  }
}

.toast {
  background: rgba(16, 185, 129, 0.15);
  /* Emerald glow */
  border-left: 3px solid #10b981;
  color: #a7f3d0;
  font-size: 0.85rem;
  animation: fade-slide 0.35s ease forwards;
  box-shadow: 0 0 12px rgba(16, 185, 129, .4);
}

.toast.error {
  background: rgba(240, 82, 82, 0.15);
  border-left: 3px solid #f05252;
  color: #fecaca;
  box-shadow: 0 0 12px rgba(240, 82, 82, .4);
}

@keyframes fade-slide {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }

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

.toast-cyber {
  background: rgba(20, 255, 180, 0.12);
  border: 1px solid rgba(0, 255, 180, 0.25);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  color: #afffdd;
  animation: cyber-pop-in 0.35s ease forwards;
  box-shadow: 0 0 18px rgba(0, 255, 180, 0.35);
  /* ✅ Crypted-Transmission Layer */
}

.toast-cyber::before {
  content: "ϟ 01 A7 D3 9C 4B 88 F2 3E 9B C1 77";
  /* motif crypté */
  position: absolute;
  inset: 0;
  font-size: var(--fs-2xs);
  font-weight: bold;
  opacity: 0.12;
  color: #45ffc7;
  white-space: nowrap;
  overflow: hidden;
  animation: transmission-stream 4s linear infinite;
  pointer-events: none;
}

@keyframes transmission-stream {
  0% {
    transform: translateX(-50%) translateY(-60%) skewX(-18deg);
  }

  100% {
    transform: translateX(30%) translateY(100%) skewX(-18deg);
  }
}

.toast-cyber.error {
  background: rgba(255, 60, 60, 0.18);
  color: #ffcaca;
  border-color: rgba(255, 60, 60, 0.35);
  box-shadow: 0 0 15px rgba(255, 50, 50, 0.35);
}

.toast-cyber.error::before {
  color: #ff6e6e;
  opacity: 0.15;
}

.toast-icon {
  font-size: 1rem;
  text-shadow: 0 0 8px currentColor;
}

.comet {
  position: absolute;
  left: -40%;
  top: 50%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #10ffa2, transparent);
  transform: translateY(-50%);
  animation: cyber-comet 1.2s infinite linear;
  pointer-events: none;
}

@keyframes cyber-pop-in {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.92);
  }

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

@keyframes cyber-comet {
  0% {
    transform: translate(-120%, -50%) rotate(0deg);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: translate(220%, -50%) rotate(0deg);
    opacity: 0;
  }
}

.cyber-exit {
  opacity: 0;
  transform: translateY(-6px) scale(0.9);
  transition: all .3s ease;
}

/* Styles spécifiques au modal messages - emerald space */

#recipient-autocomplete .result-item {
  padding: 8px 10px;
  display:flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

#recipient-autocomplete .result-item:hover {
  background: rgba(16,185,129,0.06);
  cursor: pointer;
}

/* sender avatar blur overlay */

#sender-avatar {
  position: relative;
}

#sender-avatar::after{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(2px) saturate(120%);
  pointer-events: none;
}

/* error visual: glow rouge + shake */

@keyframes shake-err {
  0%, 100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

.recipient-error-anim {
  box-shadow: 0 0 16px rgba(239,68,68,0.35), 0 0 6px rgba(239,68,68,0.15) inset;
  animation: shake-err 420ms ease-in-out;
  border-radius: 6px;
  padding: 6px;
}

/* send button animated state */

.send-btn.sending {
  position: relative;
  pointer-events: none;
  opacity: 0.9;
}

.send-btn.sending::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.1);
  border-left-color: rgba(2,132,199,0.9);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

.shake-error {
  animation: shake 0.35s ease-in-out;
  box-shadow: 0 0 10px rgba(255,0,0,0.4);
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(4px);
  }
}

#recipient-autocomplete {
  backdrop-filter: blur(3px);
}

/* === Animation de transition entre pages === */

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(-40px);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(40px);
  }
}

/* === Application des animations === */

.slide-in-right {
  animation: slideInRight 0.25s ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft 0.25s ease-out forwards;
}

.slide-out-right {
  animation: slideOutRight 0.25s ease-in forwards;
}

.slide-out-left {
  animation: slideOutLeft 0.25s ease-in forwards;
}

/* === Effet holographique léger sur la pagination === */

#pagination-controls {
  position: relative;
  overflow: hidden;
}

#pagination-controls::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,0.08), transparent);
  animation: scanline 2s linear infinite;
}

@keyframes scanline {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes radar-scan {
  0% {
    transform: rotate(0deg);
    opacity: 0.3;
  }

  100% {
    transform: rotate(360deg);
    opacity: 0.6;
  }
}

/* Animation radar au survol */

.animate-radar {
  animation: radar-scan 2.5s linear infinite;
  pointer-events: none !important;
  /* ✅ bloque toute interférence */
  z-index: 0 !important;
  /* ✅ reste derrière les boutons */
}

/* On s’assure que le conteneur de l’image crée un contexte z-index indépendant */

.mail-item .relative {
  position: relative;
  z-index: 1;
}

/* Et que la zone des boutons (pagination incluse) est prioritaire */

#pagination-controls,
#pagination-controls button {
  position: relative;
  z-index: 10;
  /* ✅ toujours au-dessus de l’animation radar */
}

.mp-notification {
  animation: mp-slide-in 0.4s ease-out forwards;
}

.mp-notification.fade-out {
  animation: mp-slide-out 0.4s ease-in forwards;
}

@keyframes mp-slide-in {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  to   {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mp-slide-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to   {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
}

/* Petit effet radar dans le fond du message */

.mp-radar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent 60%, rgba(16,185,129,0.3));
  border-radius: 50%;
  animation: radar-spin 2s linear infinite;
  opacity: 0.15;
}

@keyframes radar-spin {
  from {
    transform: rotate(0deg);
  }

  to   {
    transform: rotate(360deg);
  }
}

/* Effet radar holographique */

.mp-radar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent 60%, rgba(252, 227, 124,0.25));
  border-radius: 50%;
  animation: radar-spin 2s linear infinite;
  opacity: 0.1;
}

@keyframes radar-spin {
  from {
    transform: rotate(0deg);
  }

  to   {
    transform: rotate(360deg);
  }
}

/* Lueur du bord en boucle */

@keyframes border-pulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(252, 227, 124,0.5);
  }

  50% {
    box-shadow: 0 0 25px rgba(252, 227, 124,0.8);
  }
}

.mp-notification {
  animation: mp-slide-in 0.4s ease-out forwards, border-pulse 3s ease-in-out infinite;
}

@keyframes fadeInMsg {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-msg {
  animation: fadeInMsg 0.2s ease-out;
  width: 100%;
}

.chat-dialogue-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  box-sizing: border-box;
}

.chat-dialogue-card--self {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.chat-dialogue-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0;
  border-bottom: 0;
}

.chat-dialogue-meta {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.chat-dialogue-card--self .chat-dialogue-header {
  border-bottom: 0;
}

.chat-dialogue-author {
  font-family: 'Orbitron', 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.95);
}

.chat-dialogue-faction {
  font-family: 'Barlow Condensed', 'IBM Plex Sans', sans-serif;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(203, 213, 225, 0.78);
  white-space: nowrap;
}

.chat-dialogue-time {
  flex-shrink: 0;
  white-space: nowrap;
  color: rgba(253, 244, 220, 0.76);
  font-family: 'Barlow Condensed', 'IBM Plex Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chat-dialogue-body {
  margin: 0;
  padding-top: 0;
  color: rgba(255, 244, 224, 0.95);
  font-size: 0.86rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.chat-dialogue-card--remote .chat-dialogue-time {
  color: rgba(191, 219, 254, 0.72);
}

.chat-dialogue-card--remote .chat-dialogue-body {
  color: rgba(224, 243, 255, 0.95);
}

.chat-dialogue-card--self .chat-dialogue-time {
  color: rgba(253, 244, 220, 0.82);
}

.chat-dialogue-card--self .chat-dialogue-body {
  color: rgba(255, 244, 224, 0.95);
}

.custom-scrollbar::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: rgba(16,185,129,0.4);
  border-radius: 10px;
}

.chat-message {
  white-space: pre-wrap;
  /* Conserve les sauts de ligne */
  word-break: break-word;
  /* Coupe les mots trop longs */
  overflow-wrap: anywhere;
  /* Forçage du retour ligne si nécessaire */
  line-height: 1.4;
}

@keyframes holo-glow {
  0%, 100% {
    text-shadow: 0 0 8px #10b981, 0 0 20px #10b98160;
    opacity: 1;
  }

  50% {
    text-shadow: 0 0 16px #34d399, 0 0 40px #10b98180;
    opacity: .85;
  }
}

@keyframes holo-slide {
  0% {
    transform: translateY(-30px) scale(0.95);
    opacity: 0;
  }

  10% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  90% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    transform: translateY(-30px);
    opacity: 0;
  }
}

.transmission-msg {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-left: 3px solid #10b981;
  color: #10b981;
  font-family: 'Barlow Condensed', monospace;
  text-transform: uppercase;
  padding: 10px 20px;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  animation: holo-slide 5s ease-out, holo-glow 2s infinite ease-in-out;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

@keyframes chat-shake {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }

  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-3px) rotate(-3deg);
  }

  20%, 40%, 60%, 80% {
    transform: translateX(3px) rotate(3deg);
  }
}

.chat-shake {
  animation: chat-shake 1.6s ease-in-out infinite;
}

@keyframes holo-pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.holo-pulse {
  animation: holo-pulse 1.5s ease-in-out infinite;
}

.chat-badge {
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
  animation: badge-pulse 2s ease-in-out infinite;
}

@media (max-width: 1024px) {
  .chat-dialogue-card {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .chat-dialogue-card--self,
    .chat-dialogue-card--remote {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .chat-dialogue-card--remote .chat-dialogue-time {
    color: rgba(191, 219, 254, 0.78);
  }

  .chat-dialogue-card--remote .chat-dialogue-body {
    color: rgba(224, 243, 255, 0.96);
  }

  .chat-dialogue-card--self .chat-dialogue-header {
    border-bottom: 0;
  }

  .chat-dialogue-card--self .chat-dialogue-time {
    color: rgba(253, 244, 220, 0.86);
  }

  .chat-dialogue-card--self .chat-dialogue-body {
    color: rgba(255, 244, 224, 0.96);
  }
}

@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Wrapper = conteneur positionné, il sert de référence */

#canvas-wrapper {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  /* Important : empêche les scrollbars */
}

/* Tous les canvas doivent :
- être superposés (= absolute)
- occuper tout l'espace du wrapper
- ne jamais avoir de marge */

#canvas-wrapper canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* CSS size (affichage) */
  height: 100%;
  /* CSS size (affichage) */
  pointer-events: none;
  /* Par défaut : clic désactivé */
}

/* Le seul canvas cliquable doit être celui des interactions */

#canvas-ui {
  pointer-events: auto;
}

/* Optionnel : anti-flou */

canvas {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

#ui-coordinates-x,
#ui-coordinates-y,
#ui-coordinates-empty {
  z-index: 50 !important;
  /* Sous les canvas, sous les modals */
  pointer-events: none;
  /* Ne jamais bloquer les interactions */
}

#canvas-bg,
#canvas-fg,
#canvas-actors,
#canvas-floating {
  pointer-events: none;
  top: 0;
  left: 0;
}

#canvas-ui {
  pointer-events: auto;
}

#canvas-wrapper canvas {
  z-index: 100 !important;
}

#mobile-cross {
  position: relative;
  z-index: 1;
  isolation: isolate;
  pointer-events: auto;
}

#mobile-cross .mobile-cross-col,
#mobile-cross button,
#mobile-cross fieldset {
  pointer-events: auto;
  touch-action: manipulation;
}

#modal-container,
.modal {
  z-index: 9998 !important;
}

#navbar-hamburger {
  z-index: 9997 !important;
}

html.hamburger-menu-open,
body.hamburger-menu-open {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}

#navbar-hamburger .side-menu-list {
  width: 100%;
  margin: 0;
  padding: 0;
  flex: 0 1 auto;
  min-height: 0;
  gap: 0.35rem !important;
  list-style: none;
  overflow: hidden;
  overscroll-behavior: none;
}

#navbar-hamburger li[data-modal-target],
#navbar-hamburger #corporation-hamburger-menu-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start !important;
  width: 100%;
  min-height: calc(46px * var(--game-ui-scale, 1));
  gap: 0.55rem !important;
  padding: 0.55rem 0.7rem !important;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 0.65rem;
  transition: color 160ms ease, transform 160ms ease;
}

#navbar-hamburger li[data-modal-target]:hover,
#navbar-hamburger #corporation-hamburger-menu-item:hover {
  color: #B1F1CB;
}

#navbar-hamburger li[data-modal-target] > span:first-child,
#navbar-hamburger #corporation-hamburger-menu-item > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(32px * var(--game-ui-scale, 1));
  height: calc(32px * var(--game-ui-scale, 1));
  line-height: 1;
  flex: 0 0 auto;
  border-radius: 0.5rem;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  transition: transform 180ms ease;
}

#navbar-hamburger li[data-modal-target]:hover > span:first-child,
#navbar-hamburger #corporation-hamburger-menu-item:hover > span:first-child {
  transform: scale(1.08);
}

#navbar-hamburger .logout {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start !important;
  width: 100%;
  min-height: calc(46px * var(--game-ui-scale, 1));
  gap: 0.55rem !important;
  padding: 0.55rem 0.7rem !important;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 0.65rem;
  transition: color 160ms ease, transform 160ms ease;
}

#navbar-hamburger .logout:hover {
  color: #B1F1CB;
}

#navbar-hamburger .logout > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(32px * var(--game-ui-scale, 1));
  height: calc(32px * var(--game-ui-scale, 1));
  line-height: 1;
  flex: 0 0 auto;
  border-radius: 0.5rem;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  transition: transform 180ms ease;
}

#navbar-hamburger .logout:hover > span:first-child {
  transform: scale(1.08);
}

#navbar-hamburger .wiki-nav-item {
  width: 100%;
}

#navbar-hamburger .wiki-nav-item > a {
  display: flex;
  width: 100%;
  min-height: calc(46px * var(--game-ui-scale, 1));
  align-items: center;
  justify-content: flex-start !important;
  gap: 0.55rem !important;
  padding: 0.55rem 0.7rem !important;
}

#navbar-hamburger .wiki-nav-item .wiki-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(32px * var(--game-ui-scale, 1));
  height: calc(32px * var(--game-ui-scale, 1));
  line-height: 1;
  flex: 0 0 auto;
}

#navbar-hamburger .wiki-nav-item:hover .wiki-nav-icon {
  transform: scale(1.08);
}

#navbar-hamburger .side-menu-label {
  min-width: 0;
  color: var(--ui-text-secondary);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-align: left;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-z-index{
  z-index: 9999 !important;
}

.modal-animated-panel {
  transform-origin: center;
  will-change: transform, opacity;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.18) !important;
}

.ui-choice-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: auto;
}

.ui-choice-modal-panel {
  width: min(92vw, 440px);
  max-height: min(80dvh, 520px);
  border-radius: 14px;
  border: 1px solid rgba(16, 185, 129, 0.42);
  background:
        linear-gradient(160deg, rgba(6, 28, 23, 0.96), rgba(9, 20, 29, 0.96)),
        radial-gradient(circle at top right, rgba(52, 211, 153, 0.18), rgba(0, 0, 0, 0));
  box-shadow:
        0 18px 46px rgba(2, 6, 23, 0.62),
        inset 0 0 0 1px rgba(52, 211, 153, 0.18);
  backdrop-filter: blur(6px) saturate(120%);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  pointer-events: auto;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: transform 120ms ease, opacity 120ms ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.ui-choice-modal-panel.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ui-choice-modal-text {
  margin: 0;
  color: rgba(167, 243, 208, 0.95);
  font-size: 0.92rem;
  line-height: 1.45;
  text-wrap: balance;
}

.ui-choice-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.ui-choice-modal-btn {
  border-radius: 0.55rem;
  border: 1px solid rgba(16, 185, 129, 0.36);
  padding: 0.44rem 0.72rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.ui-choice-modal-btn:focus-visible {
  outline: 2px solid rgba(52, 211, 153, 0.42);
  outline-offset: 2px;
}

.ui-choice-modal-btn--cancel {
  color: rgba(196, 181, 253, 0.95);
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(30, 41, 59, 0.55);
}

.ui-choice-modal-btn--cancel:hover {
  color: rgba(224, 231, 255, 1);
  border-color: rgba(165, 180, 252, 0.7);
  background: rgba(49, 46, 129, 0.26);
}

.ui-choice-modal-btn--confirm {
  color: rgba(110, 231, 183, 1);
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(6, 78, 59, 0.5);
}

.ui-choice-modal-btn--confirm:hover {
  color: rgba(167, 243, 208, 1);
  border-color: rgba(52, 211, 153, 0.78);
  background: rgba(6, 95, 70, 0.65);
}

@media (max-width: 640px) {
  .ui-choice-modal-layer {
    align-items: flex-end;
    padding: 0.8rem;
  }

  .ui-choice-modal-panel {
    width: min(96vw, 520px);
    max-height: min(70dvh, 460px);
    padding: 0.85rem;
  }
}

#tooltip-hover {
  opacity: 0;
  transform: translateY(4px);
  transition:
        opacity 120ms ease-out,
        transform 120ms ease-out,
        filter 200ms ease-out;
}

#tooltip-hover.visible {
  opacity: 1;
  transform: translateY(0px);
  filter: drop-shadow(0 0 8px #34d399aa);
}

@keyframes mp-pop {
  0%   {
    opacity: 0;
    transform: scale(0.8) translateY(-10px);
  }

  40%  {
    opacity: 1;
    transform: scale(1.08) translateY(0);
  }

  60%  {
    transform: scale(0.97);
  }

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

@keyframes mp-scanline {
  0%   {
    left: -120%;
    opacity: 0.2;
  }

  50%  {
    opacity: 0.6;
  }

  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes mp-radar {
  0%   {
    transform: scale(0.4);
    opacity: 0.4;
  }

  70%  {
    transform: scale(2);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes mp-fade-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to   {
    opacity: 0;
    transform: translateX(-20px);
  }
}

.mp-scanline {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(to right,
        transparent,
        rgba(255,243,150,0.25),
        transparent
    );
  animation: mp-scanline 1.5s linear infinite;
  pointer-events: none;
}

.mp-radar-pulse {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 2px solid rgba(255,225,120,0.5);
  animation: mp-radar 1.6s ease-out infinite;
  pointer-events: none;
}

/* Animation gradient énergétique autour de la bordure des mp */

@keyframes mp-holo-border {
  0% {
    border-color: rgba(255,225,150,0.9);
    box-shadow: 0 0 10px rgba(255,225,150,0.5), inset 0 0 8px rgba(255,225,150,0.3);
  }

  50% {
    border-color: rgba(255,245,180,1);
    box-shadow: 0 0 18px rgba(255,245,180,0.9), inset 0 0 12px rgba(255,245,180,0.4);
  }

  100% {
    border-color: rgba(255,225,150,0.9);
    box-shadow: 0 0 10px rgba(255,225,150,0.5), inset 0 0 8px rgba(255,225,150,0.3);
  }
}

/* Une variante avec bordure holographique angulaire */

@keyframes mp-holo-circuit {
  0%   {
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 0% 100%);
  }

  50%  {
    clip-path: polygon(10% 0%, 100% 20%, 90% 100%, 0% 80%);
  }

  100% {
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 0% 100%);
  }
}

/**************************************************/

/**************** ACTION BUTTONS ******************/

/**************************************************/

.action-button-sf:hover {
  transform: translateY(-1px);
  animation: none;
}

.action-button-sf-label {
  margin-top: 0.25rem;
  font-size: var(--fs-xs);
  font-weight: bold;
  color: rgb(110, 231, 183);
  /* emerald-300 */
  text-align: center;
  letter-spacing: 0.03em;
}

/**************************************************/

/**************** ATTACK ACTION BUTTONS ***********/

/**************************************************/

.attack-action-button-sf:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.9);
  animation: pulse 1s infinite;
}

.attack-action-button-sf-label {
  margin-top: 0.25rem;
  font-size: var(--fs-xs);
  font-weight: bold;
  color: rgb(110, 231, 183);
  /* emerald-300 */
  text-align: center;
  letter-spacing: 0.03em;
}

/* Error message */

.action-error-msg {
  display: block;
  width: 100%;
  margin: 0.35rem auto 0.25rem auto;
  padding: 0.55rem 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
  font-weight: 700;
  border-radius: 0.7rem;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background:
        linear-gradient(180deg, rgba(127, 29, 29, 0.18), rgba(31, 41, 55, 0.14));
  color: #fecaca !important;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
  box-shadow:
        inset 0 0 0 1px rgba(248, 113, 113, 0.04),
        0 0 14px rgba(248, 113, 113, 0.08);
  animation: none;
}

.action-error-msg.hidden {
  display: none !important;
}

/* Wreck lock wait notice (other player already looting/scavenging)
   Reuse the existing action error zone, but match the station-style error banner. */

.action-error-msg[data-wreck-lock-notice="1"] {
  display: block;
  width: 100%;
  margin: 0.35rem auto 0.25rem auto;
  padding: 0.52rem 0.62rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 60, 60, 0.35);
  background: rgba(255, 60, 60, 0.18);
  color: #ffcaca !important;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(255, 50, 50, 0.35);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
  animation: none !important;
}

.action-error-msg[data-wreck-lock-notice="1"]::before {
  content: "01 A7 D3 9C 4B 88 F2 3E";
  position: absolute;
  inset: 0;
  font-size: var(--fs-2xs);
  font-weight: 700;
  opacity: 0.15;
  color: #ff6e6e;
  white-space: nowrap;
  overflow: hidden;
  animation: transmission-stream 4s linear infinite;
  pointer-events: none;
}

/* Wrapper centré qui s'adapte au contenu */

.action-wrapper-sf {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 0.75rem;
}

/* Optional emerald border for action grid */

.action-grid-sf {
  --btn: 64px;
  /* taille bouton desktop */
  --gap: 15px;
  --pad: 15px;
  --cols: 5;
  /* max colonnes desktop */
  display: grid;
  gap: var(--gap);
  padding: var(--pad);
  /* max 5 colonnes, boutons fixes, et wrap si pas la place */
  grid-template-columns: repeat(
        auto-fit,
        minmax(88px, 1fr)
    );
  justify-content: center;
  justify-items: center;
  /* ✅ la bordure s’adapte au contenu */
  width: 100%;
  max-width: 100%;
}

/* Bouton */

.action-button-sf {
  width: var(--btn);
  --sf-action-edge: 11px;
  --sf-action-border: rgba(110, 231, 183, 0.42);
  --sf-action-border-strong: rgba(167, 243, 208, 0.76);
  --sf-action-inner-border: rgba(110, 231, 183, 0.14);
  --sf-action-glow: rgba(16, 185, 129, 0.2);
  --sf-action-line: linear-gradient(90deg, transparent, rgba(110, 231, 183, 0.95), rgba(34, 211, 238, 0.72), transparent);
  min-width: 88px;
  /* largeur plancher lisible */
  max-width: 100px;
  /* evite les boutons trop larges */
  min-height: 100px;
  height: auto;
  padding: 2px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0;
  clip-path: polygon(var(--sf-action-edge) 0, 100% 0, 100% calc(100% - var(--sf-action-edge)), calc(100% - var(--sf-action-edge)) 100%, 0 100%, 0 var(--sf-action-edge));
  border: 1px solid var(--sf-action-border);
  background:
        linear-gradient(180deg, rgba(16, 185, 129, 0.16), rgba(2, 10, 10, 0.96) 45%, rgba(0, 0, 0, 0.98)),
        linear-gradient(120deg, rgba(34, 211, 238, 0.12), transparent 38%),
        linear-gradient(300deg, rgba(16, 185, 129, 0.16), transparent 40%);
  color: #ecfdf5;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.18);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 0 1px rgba(6, 95, 70, 0.32),
        0 0 0 1px rgba(0, 0, 0, 0.32),
        0 0 24px var(--sf-action-glow);
  transition:
        transform 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.action-button-sf::before,
.action-button-sf::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.action-button-sf::before {
  inset: 1px;
  clip-path: inherit;
  border: 1px solid var(--sf-action-inner-border);
  opacity: 0.92;
}

.action-button-sf::after {
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: var(--sf-action-line);
  opacity: 0.88;
}

.action-button-sf-icon {
  width: 24px;
  height: 24px;
  margin-left: auto;
  margin-right: auto;
}

.action-button-sf-label {
  margin-top: 0.25rem;
  font-size: var(--fs-xs);
  font-weight: bold;
  color: rgb(110, 231, 183);
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

/* Error message */

.action-error-msg {
  display: block;
  width: 100%;
  margin: 0.35rem auto 0.25rem auto;
  padding: 0.55rem 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
  font-weight: 700;
  border-radius: 0.7rem;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background:
        linear-gradient(180deg, rgba(127, 29, 29, 0.18), rgba(31, 41, 55, 0.14));
  color: #fecaca !important;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
  box-shadow:
        inset 0 0 0 1px rgba(248, 113, 113, 0.04),
        0 0 14px rgba(248, 113, 113, 0.08);
  animation: none;
}

/* Tablet */

@media (max-width: 1023px) {
  .action-grid-sf {
    --btn: 56px;
    --cols: 4;
  }

  .action-button-sf-label {
    font-size: var(--fs-2xs);
  }
}

/* Phone */

@media (max-width: 640px) {
  .action-grid-sf {
    --btn: 52px;
    --cols: 3;
  }

  .action-button-sf-label {
    font-size: var(--fs-2xs);
  }
}

/* Tiny phone */

@media (max-width: 400px) {
  .action-grid-sf {
    --btn: 50px;
    --cols: 2;
  }
}

/* Tablette paysage */

@media (max-width: 1024px) {
  .action-grid-sf {
    --btn: 92px;
  }

  .action-button-sf-label {
    margin-top: 0.25rem;
    font-size: var(--fs-2xs);
    font-weight: bold;
    color: rgb(110, 231, 183);
    /* emerald-300 */
    text-align: center;
    letter-spacing: 0.03em;
  }
}

@media (max-width: 768px) {
  .action-grid-sf {
    --btn: 92px;
  }

  .action-button-sf-label {
    margin-top: 0.25rem;
    font-size: var(--fs-2xs);
    font-weight: bold;
    color: rgb(110, 231, 183);
    /* emerald-300 */
    text-align:  center;
    letter-spacing: 0.03em;
  }
}

/* Laptop / 1080p */

@media (max-width: 1280px) {
  .action-grid-sf {
    --btn: 96px;
  }
}

/* Mobile */

@media (max-width: 480px) {
  .action-grid-sf {
    --btn: 84px;
  }
}

.text-purple-700{
  color:oklch(55.8% 0.288 302.321)
}

/* Game layout baseline */

#main-screen {
  min-height: 100dvh;
}

.main-game-container {
  flex: 1 1 auto;
  min-height: 0;
}

#player-infos {
  min-height: 0;
}

#player-avatar-frame {
  width: calc(72px * var(--game-ui-scale, 1));
  height: calc(72px * var(--game-ui-scale, 1));
  padding: calc(4px * var(--game-ui-scale, 1));
  box-sizing: border-box;
  border-radius: calc(0.85rem * var(--game-ui-scale, 1));
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.18), rgba(9, 9, 11, 0.32));
}

#player-avatar-image {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: calc(0.55rem * var(--game-ui-scale, 1));
}

#player-infos,
#player-info-item-container {
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

#statistics-fieldset,
#status-fieldset,
#events-log {
  background-color: rgba(6, 78, 59, 0.22) !important;
}

#player-infos .hud-stats-panel,
.container-basic-stats {
  border: 0 !important;
  border-radius: 0.95rem;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

#player-infos .hud-progress-track {
  height: calc(6px * var(--game-ui-scale, 1));
  margin-top: 0.52rem;
  border: 1px solid rgba(0, 0, 0, 0.9);
  box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.02),
        inset 0 0 9px rgba(239, 68, 68, 0.1);
}

#player-infos .hud-progress-fill {
  position: relative;
  overflow: hidden;
  background-image: none !important;
  background: linear-gradient(
        90deg,
        var(--hud-fill-start, #1d4ed8) 0%,
        var(--hud-fill-mid, #60a5fa) 56%,
        var(--hud-fill-end, #bfdbfe) 100%
    ) !important;
  box-shadow: 0 0 9px var(--hud-fill-glow, rgba(96, 165, 250, 0.28));
}

#player-infos .hud-progress-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.04) 52%, rgba(255,255,255,0.08));
  opacity: 0.42;
}

#player-infos .hud-progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
        -35deg,
        rgba(255,255,255,0.12) 0 5px,
        rgba(255,255,255,0.02) 5px 11px
    );
  background-repeat: repeat-x;
  background-size: 220px 100%;
  opacity: 0.2;
}

#player-infos .hud-progress-fill.is-hp {
  --hud-fill-start: #1d4ed8;
  --hud-fill-mid: #60a5fa;
  --hud-fill-end: #bfdbfe;
  --hud-fill-glow: rgba(96, 165, 250, 0.28);
}

#player-infos .hud-progress-fill.is-ap {
  --hud-fill-start: #1d4ed8;
  --hud-fill-mid: #60a5fa;
  --hud-fill-end: #bfdbfe;
  --hud-fill-glow: rgba(96, 165, 250, 0.28);
}

#player-infos .hud-progress-fill.is-movement {
  --hud-fill-start: #1d4ed8;
  --hud-fill-mid: #60a5fa;
  --hud-fill-end: #bfdbfe;
  --hud-fill-glow: rgba(96, 165, 250, 0.28);
}

#container-core-stats .actor-progress-fill.is-hp,
#container-core-stats .actor-progress-fill.is-ap,
#container-core-stats .actor-progress-fill.is-movement,
#container-core-stats .hud-progress-fill.is-hp,
#container-core-stats .hud-progress-fill.is-ap,
#container-core-stats .hud-progress-fill.is-movement {
  background: linear-gradient(90deg, #1d4ed8 0%, #60a5fa 56%, #bfdbfe 100%) !important;
  box-shadow: 0 0 9px rgba(96, 165, 250, 0.28);
}

#player-infos .hud-progress-fill.is-defense_ballistic {
  --hud-fill-start: #b45309;
  --hud-fill-mid: #f59e0b;
  --hud-fill-end: #fde68a;
  --hud-fill-glow: rgba(245, 158, 11, 0.34);
}

#player-infos .hud-progress-fill.is-defense_laser {
  --hud-fill-start: #b45309;
  --hud-fill-mid: #f59e0b;
  --hud-fill-end: #fde68a;
  --hud-fill-glow: rgba(245, 158, 11, 0.34);
}

#player-infos .hud-progress-fill.is-defense_torpedo {
  --hud-fill-start: #b45309;
  --hud-fill-mid: #f59e0b;
  --hud-fill-end: #fde68a;
  --hud-fill-glow: rgba(245, 158, 11, 0.34);
}

#player-infos .hud-progress-value {
  bottom: calc(100% + 0.28rem);
  left: 50%;
  transform: translateX(-50%);
  color: #eff6ff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.82);
  white-space: nowrap;
}

#action-scene-modal .scene-stats-panel .hud-progress-track,
.repair-enhancement-scene .scene-stats-panel .hud-progress-track,
.combat-scene .scene-stats-panel .hud-progress-track {
  height: calc(6px * var(--game-ui-scale, 1));
  margin-top: 0.52rem;
  border: 1px solid rgba(0, 0, 0, 0.9);
  box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.02),
        inset 0 0 9px rgba(239, 68, 68, 0.1);
}

#action-scene-modal .scene-stats-panel .hud-progress-fill,
.repair-enhancement-scene .scene-stats-panel .hud-progress-fill,
.combat-scene .scene-stats-panel .hud-progress-fill {
  position: relative;
  overflow: hidden;
  background-image: none !important;
  background: linear-gradient(
        90deg,
        var(--hud-fill-start, #1d4ed8) 0%,
        var(--hud-fill-mid, #60a5fa) 56%,
        var(--hud-fill-end, #bfdbfe) 100%
    ) !important;
  box-shadow: 0 0 9px var(--hud-fill-glow, rgba(96, 165, 250, 0.28));
}

#action-scene-modal .scene-stats-panel .hud-progress-fill::before,
.repair-enhancement-scene .scene-stats-panel .hud-progress-fill::before,
.combat-scene .scene-stats-panel .hud-progress-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.04) 52%, rgba(255,255,255,0.08));
  opacity: 0.42;
}

#action-scene-modal .scene-stats-panel .hud-progress-fill::after,
.repair-enhancement-scene .scene-stats-panel .hud-progress-fill::after,
.combat-scene .scene-stats-panel .hud-progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
        -35deg,
        rgba(255,255,255,0.12) 0 5px,
        rgba(255,255,255,0.02) 5px 11px
    );
  background-repeat: repeat-x;
  background-size: 220px 100%;
  opacity: 0.2;
}

#action-scene-modal .scene-stats-panel .hud-progress-fill.is-hp,
.repair-enhancement-scene .scene-stats-panel .hud-progress-fill.is-hp,
.combat-scene .scene-stats-panel .hud-progress-fill.is-hp,
#action-scene-modal .scene-stats-panel .hud-progress-fill.is-ap,
.repair-enhancement-scene .scene-stats-panel .hud-progress-fill.is-ap,
.combat-scene .scene-stats-panel .hud-progress-fill.is-ap,
#action-scene-modal .scene-stats-panel .hud-progress-fill.is-movement,
.repair-enhancement-scene .scene-stats-panel .hud-progress-fill.is-movement,
.combat-scene .scene-stats-panel .hud-progress-fill.is-movement {
  --hud-fill-start: #1d4ed8;
  --hud-fill-mid: #60a5fa;
  --hud-fill-end: #bfdbfe;
  --hud-fill-glow: rgba(96, 165, 250, 0.28);
}

#action-scene-modal .scene-stats-panel .hud-progress-fill.is-defense_ballistic,
.repair-enhancement-scene .scene-stats-panel .hud-progress-fill.is-defense_ballistic,
.combat-scene .scene-stats-panel .hud-progress-fill.is-defense_ballistic,
#action-scene-modal .scene-stats-panel .hud-progress-fill.is-defense_laser,
.repair-enhancement-scene .scene-stats-panel .hud-progress-fill.is-defense_laser,
.combat-scene .scene-stats-panel .hud-progress-fill.is-defense_laser,
#action-scene-modal .scene-stats-panel .hud-progress-fill.is-defense_torpedo,
.repair-enhancement-scene .scene-stats-panel .hud-progress-fill.is-defense_torpedo,
.combat-scene .scene-stats-panel .hud-progress-fill.is-defense_torpedo {
  --hud-fill-start: #b45309;
  --hud-fill-mid: #f59e0b;
  --hud-fill-end: #fde68a;
  --hud-fill-glow: rgba(245, 158, 11, 0.34);
}

#action-scene-modal .scene-stats-panel .hud-progress-value,
.repair-enhancement-scene .scene-stats-panel .hud-progress-value,
.combat-scene .scene-stats-panel .hud-progress-value {
  bottom: calc(100% + 0.28rem);
  left: 50%;
  transform: translateX(-50%);
  color: #eff6ff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.82);
  white-space: nowrap;
}

#player-infos .hud-stats-panel label span:last-child {
  text-transform: none !important;
  letter-spacing: 0.03em !important;
  font-size: var(--fs-xs) !important;
}

#player-infos legend {
  text-transform: none !important;
  letter-spacing: 0.03em !important;
}

#container-core-stats .iconify {
  width: calc(20px * var(--game-ui-scale, 1));
  height: calc(20px * var(--game-ui-scale, 1));
  min-width: calc(20px * var(--game-ui-scale, 1));
  min-height: calc(20px * var(--game-ui-scale, 1));
}

#events-log li {
  line-height: 1.35;
}

.ui-status-info {
  border-color: color-mix(in srgb, var(--ui-state-info) 45%, transparent);
  background: color-mix(in srgb, var(--ui-state-info) 18%, transparent);
  color: color-mix(in srgb, var(--ui-state-info) 84%, white);
}

.ui-status-success {
  border-color: color-mix(in srgb, var(--ui-state-success) 45%, transparent);
  background: color-mix(in srgb, var(--ui-state-success) 16%, transparent);
  color: color-mix(in srgb, var(--ui-state-success) 86%, white);
}

.ui-status-warning {
  border-color: color-mix(in srgb, var(--ui-state-warning) 50%, transparent);
  background: color-mix(in srgb, var(--ui-state-warning) 18%, transparent);
  color: color-mix(in srgb, var(--ui-state-warning) 86%, white);
}

.ui-status-danger {
  border-color: color-mix(in srgb, var(--ui-state-danger) 55%, transparent);
  background: color-mix(in srgb, var(--ui-state-danger) 16%, transparent);
  color: color-mix(in srgb, var(--ui-state-danger) 86%, white);
}

.sf-timer-status {
  --sf-timer-accent: rgba(125, 211, 252, 0.95);
  --sf-timer-accent-soft: rgba(56, 189, 248, 0.24);
  --sf-timer-border: rgba(56, 189, 248, 0.34);
  --sf-timer-label: #dcfce7;
  --sf-timer-value: #e0f2fe;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 0.6rem;
  min-height: 4.75rem;
  height: auto !important;
  padding: 0.72rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid var(--sf-timer-border);
  background:
        linear-gradient(135deg, rgba(4, 10, 14, 0.94), rgba(5, 16, 20, 0.82)),
        radial-gradient(circle at top right, var(--sf-timer-accent-soft), transparent 58%);
  box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 0 18px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.sf-timer-status::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 48%, transparent 100%),
        linear-gradient(180deg, rgba(255,255,255,0.05), transparent 32%);
  opacity: 0.6;
  transform: translateX(-125%);
  animation: sf-timer-status-scan 4.8s linear infinite;
}

.sf-timer-status--amber {
  --sf-timer-accent: rgba(252, 211, 77, 0.96);
  --sf-timer-accent-soft: rgba(245, 158, 11, 0.24);
  --sf-timer-border: rgba(245, 158, 11, 0.36);
  --sf-timer-label: #fef3c7;
  --sf-timer-value: #fde68a;
}

.sf-timer-status--danger {
  --sf-timer-accent: rgba(252, 165, 165, 0.96);
  --sf-timer-accent-soft: rgba(248, 113, 113, 0.22);
  --sf-timer-border: rgba(248, 113, 113, 0.36);
  --sf-timer-label: #fee2e2;
  --sf-timer-value: #fecaca;
}

.sf-timer-status--cyan {
  --sf-timer-accent: rgba(125, 211, 252, 0.96);
  --sf-timer-accent-soft: rgba(56, 189, 248, 0.24);
  --sf-timer-border: rgba(56, 189, 248, 0.34);
  --sf-timer-label: #e0f2fe;
  --sf-timer-value: #bae6fd;
}

#inventory-modal #inventory-reconfig-status.sf-timer-status.is-pending,
#inventory-modal #inventory-reconfig-status.sf-timer-status.is-lock {
  border-color: var(--sf-timer-border);
  background:
        linear-gradient(135deg, rgba(4, 10, 14, 0.94), rgba(5, 16, 20, 0.82)),
        radial-gradient(circle at top right, var(--sf-timer-accent-soft), transparent 58%);
  color: var(--sf-timer-label);
  box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 0 18px rgba(0, 0, 0, 0.18);
}

.sf-timer-status__label,
.sf-timer-status__progress {
  position: relative;
  z-index: 1;
}

.sf-timer-status__label {
  display: block;
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: var(--sf-timer-label);
}

.sf-timer-status__progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.sf-timer-status__track {
  position: relative;
  overflow: hidden;
  height: 0.62rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--sf-timer-accent) 26%, rgba(255,255,255,0.08));
  background:
        linear-gradient(180deg, rgba(5, 8, 12, 0.92), rgba(6, 12, 17, 0.86));
  box-shadow:
        inset 0 0 10px rgba(2, 6, 10, 0.62),
        0 0 12px rgba(0,0,0,0.12);
}

.sf-timer-status__track::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
        repeating-linear-gradient(
            90deg,
            color-mix(in srgb, var(--sf-timer-accent) 18%, transparent) 0 9px,
            transparent 9px 15px
        );
  opacity: 0.45;
}

.sf-timer-status__fill {
  position: relative;
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
        linear-gradient(90deg, color-mix(in srgb, var(--sf-timer-accent) 55%, white), var(--sf-timer-accent));
  box-shadow:
        0 0 18px color-mix(in srgb, var(--sf-timer-accent) 42%, transparent),
        inset 0 0 14px rgba(255,255,255,0.18);
  transition: width 850ms linear;
}

.sf-timer-status__fill::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -12px;
  bottom: -2px;
  width: 24px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.82), transparent);
  filter: blur(1.5px);
  opacity: 0.9;
}

.sf-timer-status__value {
  min-width: 4.3ch;
  text-align: right;
  font-family: "Orbitron", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sf-timer-value);
  text-shadow: 0 0 10px color-mix(in srgb, var(--sf-timer-accent) 18%, transparent);
}

@keyframes sf-timer-status-scan {
  0% {
    transform: translateX(-125%);
  }

  100% {
    transform: translateX(125%);
  }
}

@media (min-width: 1024px) {
  #info-container {
    overflow: visible !important;
  }
}

/* Desktop XL and above: keep page itself without vertical scroll */

@media (min-width: 1280px) {
  #main-screen {
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: hidden;
  }

  .main-game-container {
    min-height: 0;
    overflow: hidden;
    align-items: stretch;
  }

  #button-menu,
    #map-background,
    #player-infos {
    min-height: 0;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
  }

  #player-infos {
    display: flex;
    flex-direction: column;
    align-self: center;
    height: auto;
    max-height: none;
    overflow-y: visible;
  }

  #player-info-item-container {
    min-height: 0;
    height: auto;
    overflow-y: visible;
  }

  /* Keep side panels readable on very wide desktop screens */

  #button-menu {
    flex: 0 0 calc(clamp(138px, 11vw, 190px) * var(--game-ui-scale, 1));
    width: calc(clamp(138px, 11vw, 190px) * var(--game-ui-scale, 1));
    min-width: calc(138px * var(--game-ui-scale, 1));
  }

  #player-infos {
    flex: 0 0 calc(clamp(260px, 16vw, 320px) * var(--game-ui-scale, 1));
    width: calc(clamp(260px, 16vw, 320px) * var(--game-ui-scale, 1));
    min-width: calc(260px * var(--game-ui-scale, 1));
  }

  #map-background {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
}

/* Desktop compact: events log moved below map */

@media (min-width: 640px) and (max-width: 1279px) {
  #desktop-events-log-anchor #events-log.desktop-events-log-panel {
    min-height: 150px;
    max-height: 200px;
  }
}

/* Desktop below XL */

@media (min-width: 1024px) and (max-width: 1279px) {
  #main-screen {
    min-height: 100dvh;
    height: auto;
    overflow-y: auto;
  }

  .main-game-container {
    min-height: 0;
    height: auto;
    overflow: visible;
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  #button-menu {
    align-self: center;
    margin-top: auto;
    margin-bottom: auto;
    flex: 0 0 calc(120px * var(--game-ui-scale, 1));
    width: calc(120px * var(--game-ui-scale, 1));
    min-width: calc(120px * var(--game-ui-scale, 1));
  }

  #map-background {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  #player-infos {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 0 0 calc(260px * var(--game-ui-scale, 1));
    width: calc(260px * var(--game-ui-scale, 1));
    min-width: calc(260px * var(--game-ui-scale, 1));
    overflow-y: auto;
  }

  #player-infos.has-sidebar-events-log {
    height: 72dvh;
    min-height: 72dvh;
    max-height: 72dvh;
  }

  #player-infos.no-sidebar-events-log {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow-y: visible;
  }

  #player-info-item-container {
    width: 100%;
    height: 100%;
    padding: 0.65rem;
    gap: 0.5rem;
    justify-content: flex-start;
    overflow-y: auto;
  }

  #player-infos.no-sidebar-events-log #player-info-item-container {
    height: auto;
    gap: 0.4rem;
    padding-top: 0.5rem;
    padding-bottom: 0.4rem;
    overflow-y: visible;
  }

  #player-infos * {
    min-width: 0;
  }

  #player-infos fieldset {
    padding: 0.5rem;
  }

  #player-infos legend {
    font-size: var(--fs-2xs);
    padding: 0.15rem 0.35rem;
  }

  #player-infos .hud-stats-panel {
    padding: 0.35rem;
    gap: 0.2rem;
  }

  #player-infos .hud-stats-panel label {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.2rem;
    line-height: 1.1;
  }

  #player-infos .hud-stats-panel .iconify {
    width: calc(15px * var(--game-ui-scale, 1));
    height: calc(15px * var(--game-ui-scale, 1));
    min-width: calc(15px * var(--game-ui-scale, 1));
    min-height: calc(15px * var(--game-ui-scale, 1));
  }

  #player-infos .hud-stats-panel label span:last-child {
    font-size: var(--fs-2xs);
    white-space: nowrap;
    letter-spacing: 0.01em;
  }
}

@media (min-width: 1024px) and (max-height: 1079px) {
  #map-background {
    min-height: calc(100dvh - 0.5rem);
    justify-content: center;
  }

  #canvas-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

#desktop-map-sector-bar {
  margin-bottom: 0.25rem;
  width: 100%;
  overflow: hidden;
}

#desktop-map-sector-inline {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  white-space: nowrap;
  font-size: clamp(0.62rem, 0.2vw + 0.55rem, 0.9rem);
  line-height: 1.15;
}

#desktop-map-sector-inline .sector-inline-item {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-width: 0;
  white-space: nowrap;
}

#desktop-map-sector-inline .sector-inline-target {
  flex: 0 1 auto;
  max-width: min(42vw, calc(300px * var(--game-ui-scale, 1)));
}

#desktop-map-sector-inline #target-coord-name {
  min-width: 0;
  max-width: clamp(90px, 14vw, calc(170px * var(--game-ui-scale, 1)));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  #desktop-map-sector-inline {
    gap: 0.45rem;
    font-size: clamp(0.55rem, 0.28vw + 0.42rem, 0.75rem);
  }

  #desktop-map-sector-inline #target-coord-name {
    max-width: clamp(72px, 11vw, calc(122px * var(--game-ui-scale, 1)));
  }
}

#desktop-action-bar {
  min-height: calc(46px * var(--game-ui-scale, 1));
  align-items: center;
  justify-content: center;
  gap: 0.5rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#desktop-action-bar .desktop-action-item {
  border: none;
  background: transparent;
  min-height: calc(36px * var(--game-ui-scale, 1));
  padding: 0.45rem 0.55rem !important;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  transition: border-color 160ms ease, background-color 160ms ease;
}

#desktop-action-bar .desktop-action-item:hover {
  border-color: rgba(52, 211, 153, 0.5);
  background-color: rgba(6, 78, 59, 0.32);
}

#desktop-action-bar .desktop-action-icon {
  width: calc(24px * var(--game-ui-scale, 1));
  height: calc(24px * var(--game-ui-scale, 1));
  display: block;
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, background-color 180ms ease;
}

#desktop-action-bar .desktop-action-item:hover .desktop-action-icon {
  transform: scale(1.12);
}

#desktop-action-bar .desktop-action-label {
  color: var(--ui-text-secondary);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: var(--fs-2xs);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: none;
  white-space: nowrap;
}

#info-sector-container .logout .desktop-action-label {
  color: var(--ui-text-secondary);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: var(--fs-2xs);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: none;
  white-space: nowrap;
}

@media (max-width: 1279px) {
  #desktop-action-bar {
    gap: 0.3rem !important;
  }

  #desktop-action-bar .desktop-action-item {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 58px;
    padding: 0.35rem 0.3rem !important;
    gap: 0.42rem !important;
  }

  #desktop-action-bar .desktop-action-label {
    display: block;
    text-align: center;
    white-space: normal;
    line-height: 1.05;
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    max-width: 64px;
  }
}

#game-ui-scale-controls {
  color: var(--ui-text-secondary);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: var(--fs-2xs);
  letter-spacing: 0.03em;
  line-height: 1;
}

#game-ui-scale-controls .game-ui-scale-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  min-height: 1.75rem;
  padding: 0.15rem 0.35rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  background: transparent;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

#game-ui-scale-controls .game-ui-scale-button:hover {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(6, 78, 59, 0.32);
  transform: translateY(-1px);
}

#game-ui-scale-controls .game-ui-scale-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

#game-ui-scale-controls .game-ui-scale-button.is-active {
  border-color: rgba(52, 211, 153, 0.65);
  background: rgba(6, 78, 59, 0.42);
  color: var(--ui-text-primary);
}

#game-ui-scale-controls .game-ui-scale-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  padding: 0 0.3rem;
  border: 1px solid rgba(52, 211, 153, 0.18);
  border-radius: 0.45rem;
  background: rgba(2, 6, 23, 0.45);
  color: #d1fae5;
  font-weight: 700;
  white-space: nowrap;
  font-size: var(--fs-2xs);
}

#button-menu > ul {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#button-menu .side-menu-list {
  gap: 0.14rem !important;
  padding: 0.12rem !important;
}

#button-menu .side-menu-item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start !important;
  align-items: center !important;
  width: 100%;
  min-height: calc(48px * var(--game-ui-scale, 1));
  gap: 0.4rem !important;
  padding: 0.28rem 0.36rem !important;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 0.5rem;
  transition: border-color 160ms ease, background-color 160ms ease;
}

#button-menu .side-menu-item:hover {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(6, 78, 59, 0.32);
}

#button-menu .side-menu-item > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 180ms ease;
}

#button-menu .side-menu-item:hover > span:first-child {
  transform: scale(1.12);
}

#button-menu .side-menu-label {
  color: var(--ui-text-secondary);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: none;
  text-align: left;
  white-space: nowrap;
  max-width: none;
}

@media (max-width: 1279px) {
  #button-menu .side-menu-list {
    gap: 0.14rem !important;
  }

  #button-menu .side-menu-item {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
    min-height: 48px;
    gap: 0.62rem !important;
    padding: 0.26rem 0.24rem !important;
  }

  #button-menu .side-menu-label {
    text-align: center;
    white-space: normal;
    font-size: 0.64rem;
    letter-spacing: 0.01em;
    line-height: 1.08;
    max-width: 80px;
  }
}

#desktop-action-bar .action-icon-mask,
#mobile-action-bar .action-icon-mask,
#group-modal .action-icon-mask {
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

#desktop-action-bar .group-action-icon-mask,
#mobile-action-bar .group-action-icon-mask,
#group-modal .group-action-icon-mask {
  -webkit-mask-image: url('/static/img/ux/group_icon.svg');
  mask-image: url('/static/img/ux/group_icon.svg');
}

#desktop-action-bar .repair-action-icon-mask,
#mobile-action-bar .repair-action-icon-mask {
  -webkit-mask-image: url('/static/img/ux/repair_icon.svg');
  mask-image: url('/static/img/ux/repair_icon.svg');
}

#desktop-action-bar .signature-action-icon-mask,
#mobile-action-bar .signature-action-icon-mask {
  -webkit-mask-image: url('/static/img/ux/invisible_icon.svg');
  mask-image: url('/static/img/ux/invisible_icon.svg');
}

#mobile-action-bar {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin: 0 auto 0.5rem;
  overflow: visible;
}

#mobile-action-bar-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;
  width: -moz-max-content;
  width: max-content;
  max-width: calc(100% - 1rem);
  gap: 0.45rem !important;
  padding: 0.5rem !important;
  border-radius: 0.85rem;
  background: rgba(9, 9, 11, 0.72);
  box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(52, 211, 153, 0.12);
  overflow: hidden;
}

#mobile-action-bar.is-collapsed #mobile-action-bar-panel {
  display: none !important;
}

#mobile-action-bar > i,
#mobile-action-bar > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#mobile-action-bar > button {
  align-self: center;
}

#mobile-action-bar .mobile-action-icon-btn {
  cursor: pointer;
  border: 0;
  background: rgba(9, 9, 11, 0.24);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

#mobile-action-bar .mobile-action-icon-btn.mobile-action-toggle {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  grid-template-columns: 1.35rem auto;
  align-items: center;
  width: auto;
  min-width: 6.25rem;
  height: auto;
  min-height: 2.45rem;
  padding: 0.48rem 0.9rem 0.48rem 0.58rem;
  gap: 0.58rem;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(52, 211, 153, 0.34);
  border-radius: 0.5rem;
  background:
        linear-gradient(135deg, rgba(5, 150, 105, 0.28), rgba(9, 9, 11, 0.68) 46%, rgba(14, 116, 144, 0.22));
  box-shadow:
        0 0 0 1px rgba(16, 185, 129, 0.08),
        0 0 18px rgba(16, 185, 129, 0.14),
        inset 0 1px 0 rgba(209, 250, 229, 0.16);
}

#mobile-action-bar .mobile-action-icon-btn.mobile-action-toggle::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: calc(0.5rem - 1px);
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.18), transparent);
  transform: translateX(-130%) skewX(-18deg);
  transition: transform 260ms ease;
}

#mobile-action-bar .mobile-action-icon-btn.mobile-action-toggle::after {
  content: "";
  position: absolute;
  right: 0.58rem;
  bottom: 0.28rem;
  left: 0.58rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.8), transparent);
  opacity: 0.62;
}

#mobile-action-bar .mobile-action-icon-btn.mobile-action-entry {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 2.45rem;
  padding: 0.45rem 0.7rem;
  gap: 0.55rem;
  justify-content: flex-start;
  background: rgba(9, 9, 11, 0.22);
}

#mobile-action-bar .mobile-action-icon-btn.mobile-action-toggle:hover,
#mobile-action-bar .mobile-action-icon-btn.mobile-action-entry:hover {
  background: rgba(52, 211, 153, 0.12);
}

#mobile-action-bar .mobile-action-icon-btn.mobile-action-toggle:hover::before {
  transform: translateX(130%) skewX(-18deg);
}

#mobile-action-bar.is-collapsed .mobile-action-icon-btn.mobile-action-toggle {
  min-width: 6.25rem;
}

#mobile-action-bar-toggle {
  background:
        linear-gradient(135deg, rgba(5, 150, 105, 0.32), rgba(9, 9, 11, 0.7) 48%, rgba(8, 145, 178, 0.2));
}

#mobile-action-bar-toggle:hover {
  background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.38), rgba(9, 9, 11, 0.66) 48%, rgba(34, 211, 238, 0.24));
}

#mobile-action-bar-toggle .mobile-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.32rem;
  min-width: 1.32rem;
  height: 1.32rem;
  font-size: 0.78rem;
  line-height: 1;
  color: rgba(209, 250, 229, 0.96);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 0.38rem;
  background:
        radial-gradient(circle at 50% 20%, rgba(209, 250, 229, 0.22), transparent 54%),
        rgba(6, 78, 59, 0.38);
  box-shadow:
        0 0 12px rgba(16, 185, 129, 0.2),
        inset 0 0 10px rgba(16, 185, 129, 0.12);
}

#mobile-action-bar-toggle .mobile-action-icon::before {
  display: inline-block;
  line-height: 1;
}

#mobile-action-bar-toggle .mobile-action-icon.fa-chevron-down::before {
  transform: translateY(0.025rem);
}

#mobile-action-bar-toggle .mobile-action-icon.fa-chevron-up::before {
  transform: translateY(-0.025rem);
}

#mobile-action-bar .mobile-action-icon-btn.mobile-action-toggle .mobile-action-label {
  color: rgba(209, 250, 229, 0.94);
  font-family: "Orbitron", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(52, 211, 153, 0.28);
}

#mobile-action-bar .mobile-action-icon-btn.is-active {
  background: rgba(6, 78, 59, 0.42);
  color: var(--ui-text-primary);
}

#mobile-action-bar #sonar-toggle-btn.active {
  background: rgba(6, 78, 59, 0.42);
  color: var(--ui-text-primary);
}

#mobile-action-bar .mobile-action-icon {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
  transition: transform 180ms ease;
}

#mobile-action-bar .mobile-action-entry .mobile-action-icon {
  flex: 0 0 auto;
}

#mobile-action-bar .mobile-action-label {
  min-width: 0;
  color: var(--ui-text-secondary);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

#mobile-action-bar .mobile-action-icon-btn:hover .mobile-action-icon {
  transform: scale(1.08);
}

#mobile-action-bar .mobile-action-icon-btn.mobile-action-toggle:hover .mobile-action-icon {
  transform: none;
}

#mobile-action-bar .mobile-action-icon-btn.mobile-action-toggle .mobile-action-icon,
#mobile-action-bar .mobile-action-icon-btn.mobile-action-entry .mobile-action-icon {
  transform-origin: center center;
}

#mobile-action-bar .action-button-sf-icon {
  margin: 0;
}

@media (min-width: 1024px) {
  #mobile-action-bar {
    display: none;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  #mobile-action-bar-panel {
    gap: 0.62rem !important;
    padding: 0.55rem !important;
  }

  #mobile-action-bar .mobile-action-icon-btn {
    width: 2.55rem;
    height: 2.55rem;
    min-width: 2.55rem;
    min-height: 2.55rem;
  }

  #mobile-action-bar .mobile-action-icon-btn.mobile-action-toggle {
    width: auto;
    min-width: 6.4rem;
    min-height: 2.6rem;
    padding: 0.5rem 0.9rem 0.5rem 0.62rem;
    gap: 0.65rem;
  }

  #mobile-action-bar .mobile-action-icon-btn.mobile-action-entry {
    width: 100%;
    min-width: 0;
    min-height: 2.6rem;
    padding: 0.5rem 0.75rem;
    gap: 0.65rem;
  }

  #mobile-action-bar-toggle .mobile-action-icon {
    width: 1.36rem;
    min-width: 1.36rem;
    height: 1.36rem;
  }

  #mobile-action-bar .mobile-action-label {
    font-size: 0.72rem;
  }
}

@media (max-width: 389px) {
  #mobile-action-bar-panel {
    gap: 0.3rem !important;
    padding: 0.32rem 0.36rem !important;
  }

  #mobile-action-bar .mobile-action-icon-btn {
    width: 2.15rem;
    height: 2.15rem;
    min-width: 2.15rem;
    min-height: 2.15rem;
  }

  #mobile-action-bar .mobile-action-icon-btn.mobile-action-toggle {
    width: auto;
    min-width: 5.9rem;
    min-height: 2.2rem;
    padding: 0.4rem 0.7rem 0.4rem 0.5rem;
    gap: 0.5rem;
  }

  #mobile-action-bar .mobile-action-icon-btn.mobile-action-entry {
    width: 100%;
    min-width: 0;
    min-height: 2.2rem;
    padding: 0.4rem 0.62rem;
    gap: 0.5rem;
  }

  #mobile-action-bar-toggle .mobile-action-icon {
    width: 1.18rem;
    min-width: 1.18rem;
    height: 1.18rem;
    font-size: 0.68rem;
  }

  #mobile-action-bar .mobile-action-label {
    font-size: 0.65rem;
    max-width: 8rem;
  }
}

#options-modal .options-tabs {
  display: flex;
  gap: 10px;
  padding: 14px 20px 0;
  flex-wrap: wrap;
}

#options-modal .options-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  color: rgba(167, 243, 208, 0.76);
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

#options-modal .options-tab:hover {
  color: #d1fae5;
  border-color: rgba(52, 211, 153, 0.38);
}

#options-modal .options-tab.is-active {
  color: #ecfdf5;
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 0 20px rgba(52, 211, 153, 0.11);
}

#options-modal .options-body {
  min-height: 0;
  padding: 0 20px 20px;
}

#options-modal .options-panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

#options-modal .options-panel.hidden,
#options-modal .options-panel[hidden] {
  display: none !important;
}

#options-modal .options-card {
  min-height: 0;
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 22px;
  background:
        linear-gradient(180deg, rgba(3, 15, 14, 0.94), rgba(6, 23, 21, 0.86)),
        radial-gradient(circle at top right, rgba(52, 211, 153, 0.08), transparent 42%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  padding: 16px;
}

#options-modal .options-card__eyebrow {
  margin: 0;
  color: rgba(110, 231, 183, 0.72);
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

#options-modal .options-card__title {
  margin: 6px 0 0;
  color: var(--ui-text-primary);
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#options-modal .options-card__text {
  margin: 8px 0 0;
  color: rgba(167, 243, 208, 0.78);
  font-size: 0.82rem;
  line-height: 1.5;
}

#options-modal .options-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid rgba(16, 185, 129, 0.34);
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.72);
  color: rgba(209, 250, 229, 0.96);
  padding: 0.7rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 700;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

#options-modal .options-action-btn:hover {
  border-color: rgba(110, 231, 183, 0.82);
  background: rgba(16, 65, 56, 0.58);
  color: rgba(236, 253, 245, 1);
  transform: translateY(-1px);
}

#options-modal .options-action-btn.is-active {
  border-color: rgba(52, 211, 153, 0.72);
  background: rgba(6, 78, 59, 0.48);
  color: var(--ui-text-primary);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.12);
}

#options-modal .options-action-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

#options-modal .options-action-btn--wide {
  width: 100%;
}

#options-modal .options-action-btn--danger {
  border-color: rgba(248, 113, 113, 0.5);
  color: rgba(254, 202, 202, 0.95);
}

#options-modal .options-action-btn--danger:hover {
  border-color: rgba(248, 113, 113, 0.82);
  background: rgba(127, 29, 29, 0.5);
  color: rgba(254, 226, 226, 1);
}

#options-modal .options-action-btn i {
  font-size: 0.92em;
}

#options-modal .options-action-btn__label {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 767px) {
  #options-modal .options-tabs {
    padding-inline: 16px;
  }

  #options-modal .options-body {
    padding-inline: 16px;
    padding-bottom: 16px;
  }

  #options-modal .options-tab {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.7rem;
  }

  #options-modal .options-card {
    padding: 14px;
    border-radius: 18px;
  }
}

#group-modal .group-inline-btn {
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 0.45rem;
  background: rgba(15, 23, 42, 0.7);
  color: rgba(167, 243, 208, 0.95);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

#group-modal .group-inline-btn:hover {
  border-color: rgba(110, 231, 183, 0.8);
  background: rgba(16, 65, 56, 0.55);
  color: rgba(236, 253, 245, 1);
}

#group-modal .group-inline-btn--danger {
  border-color: rgba(248, 113, 113, 0.55);
  color: rgba(254, 202, 202, 0.95);
}

#group-modal .group-inline-btn--danger:hover {
  border-color: rgba(248, 113, 113, 0.85);
  background: rgba(127, 29, 29, 0.45);
  color: rgba(254, 226, 226, 1);
}

#group-modal .group-inline-btn--success {
  border-color: rgba(74, 222, 128, 0.55);
  color: rgba(187, 247, 208, 0.95);
}

#group-modal .group-inline-btn--success:hover {
  border-color: rgba(74, 222, 128, 0.85);
  background: rgba(20, 83, 45, 0.5);
}

#group-modal .group-inline-btn--info {
  border-color: rgba(125, 211, 252, 0.55);
  color: rgba(186, 230, 253, 0.95);
}

#group-modal .group-inline-btn--info:hover {
  border-color: rgba(125, 211, 252, 0.85);
  background: rgba(12, 74, 110, 0.45);
}

#group-modal .group-member-card {
  position: relative;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 0.7rem;
  padding: 0.65rem;
  background: linear-gradient(145deg, rgba(7, 18, 20, 0.9), rgba(11, 44, 39, 0.32));
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.09);
}

#group-modal .group-member-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(167, 243, 208, 0.98);
  min-width: 0;
}

#group-modal .group-member-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#group-modal .group-member-name-row {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 1 auto;
}

#group-modal .group-member-index {
  color: rgba(110, 231, 183, 0.95);
  min-width: 2.25rem;
}

#group-modal .group-member-name {
  flex: 1 1 auto;
  max-width: clamp(90px, 18vw, 220px);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#group-modal .group-member-location {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
}

#group-modal .group-member-sector,
#group-modal .group-member-coordinates {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 0.38rem;
  background: rgba(2, 44, 34, 0.38);
  padding: 0.11rem 0.38rem;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.08);
}

#group-modal .group-member-sector {
  flex: 0 1 auto;
}

#group-modal .group-member-coordinates {
  flex: 0 1 auto;
  background: rgba(1, 36, 56, 0.35);
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.08);
}

#group-modal .group-member-location-key {
  flex: 0 0 auto;
  color: rgba(110, 231, 183, 0.85);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#group-modal .group-member-location-value {
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(236, 253, 245, 0.96);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#group-modal .group-member-location-value--mono {
  font-family: Consolas, "Courier New", monospace;
  color: rgba(186, 230, 253, 0.98);
}

#group-modal .group-member-badge {
  flex: 0 0 auto;
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(110, 231, 183, 0.55);
  background: rgba(5, 46, 22, 0.55);
  color: rgba(187, 247, 208, 0.98);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
}

#group-modal .group-member-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.55rem;
}

#group-modal .group-stat-item {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 0.45rem;
  background: rgba(4, 22, 18, 0.7);
  padding: 0.26rem 0.38rem;
  gap: 0.28rem;
  font-size: 0.72rem;
}

#group-modal .group-stat-label {
  color: rgba(110, 231, 183, 0.95);
  font-weight: 700;
}

#group-modal .group-stat-value {
  color: rgba(209, 250, 229, 0.98);
  font-weight: 700;
  white-space: nowrap;
}

#group-modal .group-member-actions {
  margin-top: 0.55rem;
  display: flex;
  gap: 0.4rem;
  justify-content: flex-end;
}

#group-modal .group-member-destroyed {
  position: absolute;
  inset: 0;
  border-radius: 0.7rem;
  background: rgba(127, 29, 29, 0.72);
  border: 1px solid rgba(248, 113, 113, 0.55);
  color: rgba(254, 226, 226, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.92rem;
  text-shadow: 0 0 8px rgba(248, 113, 113, 0.7);
}

#group-modal .group-autocomplete-row {
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(209, 250, 229, 0.95);
  font-size: 0.77rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.42rem 0.58rem;
  transition: background-color 130ms ease;
}

#group-modal .group-autocomplete-row:hover {
  background: rgba(16, 185, 129, 0.17);
}

#group-modal .group-autocomplete-badge {
  flex: 0 0 auto;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1px solid rgba(251, 191, 36, 0.55);
  border-radius: 999px;
  color: rgba(254, 240, 138, 0.98);
  padding: 0.08rem 0.4rem;
  background: rgba(113, 63, 18, 0.45);
}

@media (max-width: 767px) {
  #group-modal .group-member-title {
    gap: 0.5rem;
  }

  #group-modal .group-member-identity {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  #group-modal .group-member-name-row {
    width: 100%;
  }

  #group-modal .group-member-name {
    max-width: none;
  }

  #group-modal .group-member-location {
    width: 100%;
    flex-direction: row;
    align-items: center;
    font-size: 0.64rem;
    gap: 0.35rem;
  }

  #group-modal .group-member-sector,
    #group-modal .group-member-coordinates {
    max-width: none;
    padding: 0.09rem 0.28rem;
    border-radius: 0.3rem;
  }

  #group-modal .group-member-sector {
    flex: 1 1 auto;
  }

  #group-modal .group-member-coordinates {
    flex: 0 0 auto;
  }

  #group-modal .group-member-location-key {
    font-size: 0.58rem;
  }

  #group-modal .group-member-location-value {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #group-modal .group-member-location-value--mono {
    white-space: nowrap;
  }

  #group-modal .group-member-stats {
    grid-template-columns: 1fr;
  }

  #group-modal .group-member-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* Fieldsets UI scrollables */

#actions-fieldset,
#status-fieldset,
#events-mobile-log,
#events-tablet-log,
#events-log {
  overflow-x: hidden;
  /* jamais de scroll horizontal */
  overflow-y: auto;
  /* scroll vertical si besoin */
  min-width: 0;
  /* CRUCIAL pour flexbox */
  max-width: 100%;
  box-sizing: border-box;
}

#events-mobile-log,
#events-tablet-log,
#events-log {
  max-height: 200px;
}

#events-mobile-log,
#events-log li {
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (min-width: 640px) and (max-width: 1023px) {
  #effects-tablet-state,
    #events-tablet-log {
    border-radius: 0.8rem;
    padding: 0.6rem;
    background: rgba(6, 78, 59, 0.24);
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.08);
  }

  #effects-tablet-state {
    min-height: 88px;
    max-height: 122px;
  }

  #events-tablet-log {
    align-self: center;
    width: auto;
    max-width: 100%;
    min-height: 150px;
    max-height: clamp(160px, 28vh, 220px);
    margin-top: 0.25rem;
  }

  #player-event-tablet-container {
    gap: 0.35rem;
  }
}

body.device-tablet #events-tablet-log {
  display: flex !important;
}

body.device-tablet #effects-tablet-state {
  display: flex !important;
}

@media (max-width: 1023px) {
  body.device-pc #events-tablet-log {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    align-self: center;
    margin-top: 0.25rem;
  }

  body.device-pc #effects-tablet-state {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    align-self: center;
    margin-top: 0.25rem;
  }
}

.event-log-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
}

/* Mobile controls: avoid rigid blocks on short screens */

@media (max-width: 639px) {
  #info-container {
    font-size: 0.74rem;
    line-height: 1.2;
  }

  #info-container .text-xs {
    font-size: 0.66rem !important;
    line-height: 1.14;
  }

  #mobile-info-player-container .flex.justify-between,
    #info-sector-container-mobile .flex.justify-between {
    min-width: 0;
    gap: 0.35rem;
  }

  #mobile-info-player-container .flex.justify-between > span:last-child,
    #info-sector-container-mobile .flex.justify-between > span:last-child {
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
  }

  #mobile-info-player-container fieldset,
    #info-sector-container-mobile fieldset {
    padding: 0.45rem !important;
    gap: 0.35rem !important;
  }

  #player-coordinates-mobile {
    max-width: none !important;
  }

  #mobile-action-bar {
    gap: 0.36rem !important;
    padding: 0.36rem 0.4rem !important;
  }

  #mobile-action-bar > i,
    #mobile-action-bar .mobile-action-icon-btn {
    width: 2.2rem;
    height: 2.2rem;
    min-width: 2.2rem;
    min-height: 2.2rem;
  }

  #mobile-action-bar .mobile-action-icon-btn.mobile-action-toggle {
    width: auto;
    min-width: 5.9rem;
    height: auto;
    min-height: 2.2rem;
    padding: 0.4rem 0.7rem 0.4rem 0.5rem;
    gap: 0.5rem;
  }

  #mobile-action-bar > i {
    font-size: 1.1rem;
  }

  #mobile-action-bar .mobile-action-icon {
    width: 1.72rem;
    height: 1.72rem;
  }

  #mobile-action-bar-toggle .mobile-action-icon {
    width: 1.18rem;
    min-width: 1.18rem;
    height: 1.18rem;
    font-size: 0.68rem;
  }

  #effects-mobile-state,
    #events-mobile-log {
    width: min(95vw, 560px);
    border-radius: 0.75rem;
    padding: 0.62rem;
    background: rgba(6, 78, 59, 0.24);
  }

  #mobile-cross {
    width: 100%;
    margin-top: 0.1rem;
  }

  #mobile-cross > div {
    gap: 0.45rem !important;
  }

  #mobile-cross .mobile-cross-col {
    width: clamp(82px, 25vw, 114px);
    height: clamp(88px, 23vh, 122px);
    border-radius: 0.9rem;
    overflow: hidden;
  }

  #mobile-cross .direction-arrow {
    min-height: 0;
    border-color: rgba(177, 241, 203, 0.28) !important;
  }

  #mobile-cross .arrow-icon {
    font-size: 1.28rem !important;
    filter: drop-shadow(0 0 4px rgba(52, 211, 153, 0.42));
    animation-duration: 3.4s;
  }

  #mobile-cross #center .arrow-icon {
    font-size: 1.34rem !important;
  }

  #effects-mobile-state {
    min-height: 72px !important;
    max-height: 108px !important;
  }

  #events-mobile-log {
    min-height: clamp(124px, 21vh, 180px) !important;
    max-height: clamp(140px, 26vh, 196px) !important;
  }

  #player-event-mobile-container {
    gap: 0.3rem;
    font-size: 0.74rem;
    line-height: 1.25;
  }

  #player-event-mobile-container .event-log-item-hud {
    padding: 0.3rem 0.36rem;
    border-left-width: 2px;
    border-radius: 0.5rem;
  }

  #player-event-mobile-container .event-log-icon {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.08rem;
  }

  body.device-emulated-phone-view #mobile-cross {
    display: none !important;
  }
}

/* Mobile menu safe-area compensation */

@media (max-width: 1023px) {
  #navbar-hamburger > nav {
    background-color: rgba(9, 9, 11, 0.84) !important;
    backdrop-filter: blur(10px) saturate(120%);
    overflow: hidden !important;
    top: calc(2.5rem + env(safe-area-inset-top));
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
}

@media (max-width: 420px) {
  #navbar-hamburger > nav {
    padding-top: 0.65rem;
    padding-bottom: calc(0.55rem + env(safe-area-inset-bottom));
    padding-left: max(0.9rem, env(safe-area-inset-left));
    padding-right: max(0.9rem, env(safe-area-inset-right));
  }

  #navbar-hamburger .side-menu-list {
    gap: 0.22rem !important;
  }

  #navbar-hamburger li[data-modal-target],
    #navbar-hamburger #corporation-hamburger-menu-item,
    #navbar-hamburger .logout,
    #navbar-hamburger .wiki-nav-item > a {
    min-height: calc(40px * var(--game-ui-scale, 1));
    gap: 0.45rem !important;
    padding: 0.44rem 0.55rem !important;
  }

  #navbar-hamburger li[data-modal-target] > span:first-child,
    #navbar-hamburger #corporation-hamburger-menu-item > span:first-child,
    #navbar-hamburger .logout > span:first-child,
    #navbar-hamburger .wiki-nav-item .wiki-nav-icon {
    width: calc(28px * var(--game-ui-scale, 1));
    height: calc(28px * var(--game-ui-scale, 1));
  }

  #navbar-hamburger .side-menu-label {
    font-size: 0.68rem;
    line-height: 1.05;
  }
}

.event-log-item-hud {
  padding: 0.35rem 0.45rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-left: 3px solid rgba(52, 211, 153, 0.5);
  border-radius: 0.55rem;
  background: linear-gradient(135deg, rgba(3, 7, 7, 0.86), rgba(7, 37, 30, 0.42));
  box-shadow:
        inset 0 0 0 1px rgba(16, 185, 129, 0.09),
        0 0 10px rgba(16, 185, 129, 0.12);
  transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.event-log-item-modal {
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.event-log-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.05rem;
  color: rgba(167, 243, 208, 0.95);
  filter: drop-shadow(0 0 5px rgba(52, 211, 153, 0.35));
}

.event-log-body {
  min-width: 0;
  flex: 1 1 auto;
}

.event-log-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 0.15rem;
}

.event-log-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-2xs);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.15);
  color: rgba(167, 243, 208, 0.96);
}

.event-log-timestamp {
  font-size: var(--fs-2xs);
  font-family: "Roboto Mono", "Consolas", monospace;
  color: rgba(229, 231, 235, 0.76);
  white-space: nowrap;
}

.event-log-text {
  display: block;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .event-log-item-hud {
    padding: 0.38rem 0.42rem;
  }

  .event-log-icon {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.07rem;
  }

  .event-log-chip {
    font-size: var(--fs-2xs);
  }
}

#actions-fieldset * {
  min-width: 0;
}

#character-modal .character-modal-panels-shell {
  margin-inline: 1rem;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: 0;
  overflow: hidden;
  background:
        linear-gradient(180deg, rgba(4, 7, 12, 0.94), rgba(2, 6, 10, 0.96)),
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 42%);
  box-shadow:
        0 14px 36px rgba(0,0,0,0.22);
}

#character-modal .character-modal-panels-shell > * {
  min-width: 0;
}

#character-modal [class~="border"],
#character-modal [class^="border-"],
#character-modal [class*=" border-"] {
  border-color: rgba(52, 211, 153, 0.16);
}

#character-modal #character-modal-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.9rem 0.9rem 0;
  border-bottom: 1px solid rgba(52, 211, 153, 0.12);
}

#character-modal #character-modal-tabs::-webkit-scrollbar {
  display: none;
}

#character-modal .character-modal-panels-body {
  padding: 0.9rem;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
}

#character-modal .character-modal-tab {
  position: relative;
  min-width: 0;
  overflow: hidden;
  white-space: normal;
  border-color: rgba(52, 211, 153, 0.18);
  background:
        linear-gradient(180deg, rgba(3, 12, 12, 0.92), rgba(6, 24, 20, 0.46));
  color: rgba(226, 253, 243, 0.72);
  font-family: "Barlow Condensed", "Roboto Condensed", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.03);
  transition:
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

#character-modal .character-modal-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(16, 185, 129, 0.06), transparent 48%, rgba(96, 165, 250, 0.03));
  opacity: 0.24;
  pointer-events: none;
}

#character-modal .character-modal-tab:hover {
  border-color: rgba(110, 231, 183, 0.32);
  color: #f0fdf4;
}

#character-modal .character-modal-tab.is-active {
  border-color: rgba(110, 231, 183, 0.42);
  background: linear-gradient(180deg, rgba(6, 95, 70, 0.96), rgba(4, 47, 46, 0.88));
  color: #ecfdf5;
  box-shadow:
        inset 0 0 0 1px rgba(167, 243, 208, 0.08),
        0 0 0 1px rgba(16, 185, 129, 0.08);
}

#character-modal #character-modal-panel-capabilities:not([hidden]) {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

#character-modal #character-modal-capabilities-groups {
  width: 100%;
  min-height: 0;
  align-content: start;
}

#character-modal #character-modal-capabilities-groups.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(260px, 36vh, 420px);
}

#character-modal .character-modal-panel {
  min-height: 0;
}

#character-modal .character-modal-panel.hidden,
#character-modal .character-modal-panel[hidden] {
  display: none !important;
}

@media (max-width: 1023px) {
  #character-modal .button-menu-modal-frame {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  #character-modal .character-modal-panels-shell {
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
  }

  #character-modal .character-modal-panels-body {
    flex: 0 0 auto;
    max-height: none;
    overflow: visible;
  }
}

@media (min-width: 768px) {
  #character-modal .character-modal-panels-shell {
    margin-inline: 0;
  }

  #character-modal #character-modal-tabs {
    flex-direction: row;
    gap: 10px;
    padding: 14px 20px 0;
  }

  #character-modal .character-modal-panels-body {
    padding: 20px;
  }

  #character-modal .character-modal-tab {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    padding: 0 18px;
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    white-space: nowrap;
  }

  #character-modal .character-modal-tab.is-active {
    transform: translateY(1px);
    margin-bottom: -1px;
  }
}

@media (max-width: 767px) {
  #character-modal .character-modal-tab {
    justify-content: flex-start;
  }
}

/* ===========================================
   PC / NPC / UNKNOWN / SECTOR MODAL COLOR THEMES
============================================ */

:root {
  --modal-bg: rgba(9, 11, 16, 0.95);
  --modal-border-alpha: 0.45;
}

/* PLAYER (PC) */

.modal-pc {
  --modal-accent: #10b981;
  /* emerald */
}

/* NPC */

.modal-npc {
  --modal-accent: #10b981;
  /* emerald */
}

/* SECTOR ELEMENT */

.modal-sector {
  --modal-accent: #a78bfa;
  /* violet */
}

/* UNKNOWN (neutre, plus rouge) */

.modal-unknown {
  --modal-accent: #10b981;
  /* emerald */
}

.modal-sf {
  background: var(--modal-bg);
  border: 1px solid color-mix(in srgb, var(--modal-accent) var(--modal-border-alpha), transparent);
  box-shadow:
        0 0 30px color-mix(in srgb, var(--modal-accent) 35%, transparent);
  border-radius: 1rem;
}

.modal-sf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(
        to right,
        color-mix(in srgb, var(--modal-accent) 45%, transparent),
        rgba(24, 24, 27, 0.6)
    );
}

.modal-sf-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--modal-accent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===============================
   MODAL COLOR THEMES
================================ */

:root {
  --modal-bg: rgba(9, 11, 16, 0.95);
  --modal-border-alpha: 0.45;
}

.modal-sf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(
        to right,
        color-mix(in srgb, var(--modal-accent) 45%, transparent),
        rgba(24, 24, 27, 0.6)
    );
}

.modal-sf-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--modal-accent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-sf-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(0,0,0,0.25);
}

.modal-sf-footer {
  border-top: 1px solid color-mix(in srgb, var(--modal-accent) 30%, transparent);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  padding: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.modal-unknown .core {
  background: transparent;
}

.modal-sf {
  background: var(--modal-bg);
  border: 1px solid color-mix(in srgb, var(--modal-accent) var(--modal-border-alpha), transparent);
  box-shadow:
        0 0 30px color-mix(in srgb, var(--modal-accent) 35%, transparent);
  border-radius: 1rem;
}

/* PLAYER (PC) */

.modal-pc {
  --modal-accent: #10b981;
  /* emerald */
}

/* NPC */

.modal-npc {
  --modal-accent: #10b981;
  /* emerald */
}

/* SECTOR ELEMENT */

.modal-sector {
  --modal-accent: #10b981;
  /* emerald */
}

/* UNKNOWN (neutre, plus rouge) */

.modal-unknown {
  --modal-accent: #10b981;
  /* emerald */
}

.red-border-with-glow{
  border: 1px solid rgba(64, 247, 201, 0.5);
  box-shadow:
        0 0 30px rgba(64, 247, 201, 0.4),
        inset 0 0 12px rgba(34, 196, 155, 0.25);
}

.cyan-border-with-glow{
  border: 1px solid rgba(64, 247, 201, 0.5);
  box-shadow:
        0 0 30px rgba(64, 247, 201, 0.4),
        inset 0 0 12px rgba(34, 196, 155, 0.25);
}

.emerald-border-with-glow{
  border: 1px solid rgba(64, 247, 201, 0.5);
  box-shadow:
        0 0 30px rgba(64, 247, 201, 0.4),
        inset 0 0 12px rgba(34, 196, 155, 0.25);
}

.actor-modal-shell {
  --actor-ui-scale: var(--game-ui-scale, 1);
  --actor-accent: #4af0a7;
  --actor-accent-strong: #c9ffe3;
  --actor-line: rgba(74, 240, 167, 0.24);
  --actor-line-strong: rgba(74, 240, 167, 0.46);
  --actor-glow: rgba(74, 240, 167, 0.22);
  --actor-panel: rgba(7, 13, 23, 0.92);
  --actor-panel-strong: rgba(4, 8, 16, 0.96);
  --actor-text: #ecfdff;
  --actor-muted: rgba(177, 255, 219, 0.74);
  --actor-shell-glow-soft: color-mix(in srgb, var(--actor-accent) 18%, transparent);
  --actor-shell-glow-mid: color-mix(in srgb, var(--actor-accent) 12%, transparent);
  --actor-shell-glow-outer: color-mix(in srgb, var(--actor-accent) 8%, transparent);
  position: relative;
  overflow: hidden;
  background:
        radial-gradient(circle at top right, rgba(74, 240, 167, 0.16), transparent 38%),
        radial-gradient(circle at bottom left, rgba(42, 219, 146, 0.10), transparent 32%),
        linear-gradient(180deg, rgba(5, 18, 16, 0.96), rgba(3, 10, 12, 0.98));
  box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 20px 48px rgba(0, 0, 0, 0.46),
        0 0 28px var(--actor-shell-glow-soft),
        0 0 64px var(--actor-shell-glow-mid),
        0 0 108px var(--actor-shell-glow-outer);
  width: min(98%, calc(600px * var(--actor-ui-scale)));
  max-width: min(98%, calc(600px * var(--actor-ui-scale)));
}

@media (min-width: 768px) {
  .actor-modal-shell {
    width: min(98%, calc(600px * var(--actor-ui-scale)));
    max-width: min(98%, calc(600px * var(--actor-ui-scale)));
  }
}

@media (min-width: 1024px) {
  .actor-modal-shell {
    width: min(98%, calc(680px * var(--actor-ui-scale)));
    max-width: min(98%, calc(680px * var(--actor-ui-scale)));
  }
}

@media (min-width: 1280px) {
  .actor-modal-shell {
    width: min(98%, calc(520px * var(--actor-ui-scale)));
    max-width: min(98%, calc(520px * var(--actor-ui-scale)));
  }
}

.actor-modal-shell::before,
.actor-modal-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.actor-modal-shell::before {
  background:
        linear-gradient(90deg, transparent 0, transparent 18%, rgba(255,255,255,0.04) 18.5%, transparent 19%),
        linear-gradient(180deg, rgba(255,255,255,0.04), transparent 22%);
  opacity: 0.45;
}

.actor-modal-shell::after {
  background:
        linear-gradient(135deg, transparent 0 76%, rgba(255,255,255,0.03) 76.2%, transparent 76.6%),
        linear-gradient(315deg, transparent 0 80%, rgba(255,255,255,0.025) 80.2%, transparent 80.6%);
  opacity: 0.55;
}

.actor-modal-shell[data-actor-tone="npc"],
.actor-modal-shell--npc,
.actor-modal-shell[data-actor-tone="unknown"],
.actor-modal-shell--unknown {
  --actor-accent: #4af0a7;
  --actor-accent-strong: #c9ffe3;
  --actor-line: rgba(74, 240, 167, 0.24);
  --actor-line-strong: rgba(74, 240, 167, 0.46);
  --actor-glow: rgba(74, 240, 167, 0.22);
  --actor-muted: rgba(177, 255, 219, 0.74);
}

.actor-modal-shell--framed {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: calc(44px * var(--actor-ui-scale)) solid transparent !important;
  border-style: solid !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  background-color: rgba(8, 12, 18, 0.96);
  background-clip: padding-box;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.46) !important;
}

.actor-modal-shell--framed::before,
.actor-modal-shell--framed::after {
  content: none !important;
}

.actor-modal-shell--framed.actor-modal-shell--player,
.actor-modal-shell--framed[data-actor-tone="player"] {
  -o-border-image: url('/static/img/ux/modal-cadres/metallic_blue_borders_1024_cropped_lossless.webp') 92 120 92 120 / 1 / 0 stretch !important;
     border-image: url('/static/img/ux/modal-cadres/metallic_blue_borders_1024_cropped_lossless.webp') 92 120 92 120 / 1 / 0 stretch !important;
}

.actor-modal-shell--framed.actor-modal-shell--npc,
.actor-modal-shell--framed.actor-modal-shell--unknown,
.actor-modal-shell--framed[data-actor-tone="npc"],
.actor-modal-shell--framed[data-actor-tone="unknown"] {
  -o-border-image: url('/static/img/ux/modal-cadres/metallic_red_borders_1024_cropped_lossless.webp') 92 120 92 120 / 1 / 0 stretch !important;
     border-image: url('/static/img/ux/modal-cadres/metallic_red_borders_1024_cropped_lossless.webp') 92 120 92 120 / 1 / 0 stretch !important;
}

@media (max-width: 640px) {
  .actor-modal-shell--framed {
    border-width: calc(50px * var(--actor-ui-scale)) !important;
  }
}

.actor-modal-shell--sector-element {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0 !important;
  background-clip: padding-box;
  -o-border-image: url('/static/img/ux/modal-cadres/metallic_green_borders_1024_cropped_lossless.webp') 70 90 70 75 / 1 / 0 stretch !important;
     border-image: url('/static/img/ux/modal-cadres/metallic_green_borders_1024_cropped_lossless.webp') 70 90 70 75 / 1 / 0 stretch !important;
}

.foreground-modal-shell {
  --actor-accent: #4af0a7;
  --actor-accent-strong: #c9ffe3;
  --actor-line: rgba(74, 240, 167, 0.24);
  --actor-line-strong: rgba(74, 240, 167, 0.46);
  --actor-glow: rgba(74, 240, 167, 0.22);
  --actor-muted: rgba(177, 255, 219, 0.74);
  background:
        radial-gradient(circle at top right, rgba(74, 240, 167, 0.16), transparent 38%),
        radial-gradient(circle at bottom left, rgba(42, 219, 146, 0.10), transparent 32%),
        linear-gradient(180deg, rgba(5, 18, 16, 0.96), rgba(3, 10, 12, 0.98));
}

.actor-modal-shell--sector-element.actor-modal-shell--framed {
  background-color: rgba(8, 12, 18, 0.96);
  background-image:
        radial-gradient(circle at top right, rgba(74, 240, 167, 0.16), transparent 38%),
        radial-gradient(circle at bottom left, rgba(42, 219, 146, 0.10), transparent 32%),
        linear-gradient(180deg, rgba(5, 18, 16, 0.96), rgba(3, 10, 12, 0.98));
  background-repeat: no-repeat;
  background-clip: padding-box;
  background-origin: padding-box;
}

.actor-modal-shell.foreground-modal-shell .actor-modal__body.sf-scroll {
  --sf-scroll-track-color: rgba(4, 20, 14, 0.34);
  --sf-scroll-thumb-color: rgba(74, 240, 167, 0.74);
  --sf-scroll-thumb-top: rgba(143, 255, 199, 0.56);
  --sf-scroll-thumb-bottom: rgba(27, 186, 120, 0.92);
  --sf-scroll-track-border: rgba(74, 240, 167, 0.12);
  --sf-scroll-border: rgba(74, 240, 167, 0.24);
  --sf-scroll-glow: rgba(74, 240, 167, 0.28);
}

.actor-modal__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  background:
        linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)),
        linear-gradient(180deg, rgba(3, 8, 16, 0.86), rgba(9, 17, 28, 0.94));
  backdrop-filter: blur(12px);
  overflow: hidden;
  isolation: isolate;
}

.actor-modal__header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.actor-modal__header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 12, 0.12), rgba(2, 6, 12, 0.34));
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.actor-modal-shell--battle-header .actor-modal__header::before,
.actor-modal-shell--gathering-header .actor-modal__header::before,
.actor-modal-shell--unknown-header .actor-modal__header::before,
.actor-modal-shell--station-header .actor-modal__header::before,
.actor-modal-shell--station-service-header .actor-modal__header::before,
.actor-modal-shell--planet-header .actor-modal__header::before,
.actor-modal-shell--satellite-header .actor-modal__header::before,
.actor-modal-shell--star-header .actor-modal__header::before {
  opacity: 1;
}

.actor-modal-shell--battle-header .actor-modal__header::after,
.actor-modal-shell--gathering-header .actor-modal__header::after,
.actor-modal-shell--unknown-header .actor-modal__header::after,
.actor-modal-shell--station-header .actor-modal__header::after,
.actor-modal-shell--station-service-header .actor-modal__header::after,
.actor-modal-shell--planet-header .actor-modal__header::after,
.actor-modal-shell--satellite-header .actor-modal__header::after,
.actor-modal-shell--star-header .actor-modal__header::after {
  opacity: 1;
}

.actor-modal-shell--battle-header .actor-modal__header::before {
  background-image:
        linear-gradient(180deg, rgba(2, 6, 12, 0.18), rgba(2, 6, 12, 0.5)),
        url('/static/img/ux/modal-cadres/battle_modal.webp');
}

.actor-modal-shell--gathering-header .actor-modal__header::before {
  background-image:
        linear-gradient(180deg, rgba(2, 6, 12, 0.18), rgba(2, 6, 12, 0.5)),
        url('/static/img/ux/modal-cadres/gathering_modal.webp');
}

.actor-modal-shell--unknown-header .actor-modal__header::before {
  background-image:
        linear-gradient(180deg, rgba(2, 6, 12, 0.18), rgba(2, 6, 12, 0.52)),
        url('/static/img/ux/modal-cadres/modal_unknown.webp');
}

.actor-modal-shell--station-header .actor-modal__header::before {
  background-image:
        linear-gradient(180deg, rgba(2, 6, 12, 0.18), rgba(2, 6, 12, 0.5)),
        url('/static/img/ux/modal-cadres/station_modal.webp');
}

.actor-modal-shell--station-service-header .actor-modal__header::before {
  background-image:
        linear-gradient(180deg, rgba(2, 6, 12, 0.18), rgba(2, 6, 12, 0.5)),
        url('/static/img/ux/modal-cadres/refiling_modal.webp');
}

.actor-modal-shell--planet-header .actor-modal__header::before {
  background-image:
        linear-gradient(180deg, rgba(2, 6, 12, 0.18), rgba(2, 6, 12, 0.5)),
        url('/static/img/ux/modal-cadres/planet_modal.webp');
}

.actor-modal-shell--satellite-header .actor-modal__header::before {
  background-image:
        linear-gradient(180deg, rgba(2, 6, 12, 0.18), rgba(2, 6, 12, 0.5)),
        url('/static/img/ux/modal-cadres/satellite_modal.webp');
}

.actor-modal-shell--star-header .actor-modal__header::before {
  background-image:
        linear-gradient(180deg, rgba(2, 6, 12, 0.18), rgba(2, 6, 12, 0.5)),
        url('/static/img/ux/modal-cadres/star_modal.webp');
}

.actor-modal__header > * {
  position: relative;
  z-index: 2;
}

.actor-modal__header-cluster {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex-wrap: wrap;
}

.actor-modal__type {
  margin: 0;
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--actor-text);
  text-shadow: 0 0 14px var(--actor-glow);
}

.actor-modal__coords {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(8, 15, 31, 0.84), rgba(8, 15, 31, 0.58));
  color: #dbeafe;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 10px rgba(56, 189, 248, 0.18);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.08);
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.actor-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.9rem;
  border: 1px solid var(--actor-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--actor-text);
  transition: 160ms ease;
}

.actor-modal__close:hover {
  color: white;
  border-color: var(--actor-line-strong);
  box-shadow: 0 0 18px var(--actor-glow);
}

.actor-modal__body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.95rem;
  align-items: stretch;
  overflow-y: auto;
  max-height: 70vh;
}

.actor-modal-shell .actor-modal__body.sf-scroll {
  --sf-scroll-track-color: rgba(4, 20, 14, 0.34);
  --sf-scroll-thumb-color: rgba(74, 240, 167, 0.74);
  --sf-scroll-thumb-top: rgba(143, 255, 199, 0.56);
  --sf-scroll-thumb-bottom: rgba(27, 186, 120, 0.92);
  --sf-scroll-track-border: rgba(74, 240, 167, 0.12);
  --sf-scroll-border: rgba(74, 240, 167, 0.24);
  --sf-scroll-glow: rgba(74, 240, 167, 0.28);
}

.actor-modal-shell--npc .actor-modal__body.sf-scroll,
.actor-modal-shell--unknown .actor-modal__body.sf-scroll,
.actor-modal-shell[data-actor-tone="npc"] .actor-modal__body.sf-scroll,
.actor-modal-shell[data-actor-tone="unknown"] .actor-modal__body.sf-scroll {
  --sf-scroll-track-color: rgba(4, 20, 14, 0.34);
  --sf-scroll-thumb-color: rgba(74, 240, 167, 0.74);
  --sf-scroll-thumb-top: rgba(143, 255, 199, 0.56);
  --sf-scroll-thumb-bottom: rgba(27, 186, 120, 0.92);
  --sf-scroll-track-border: rgba(74, 240, 167, 0.12);
  --sf-scroll-border: rgba(74, 240, 167, 0.24);
  --sf-scroll-glow: rgba(74, 240, 167, 0.28);
}

.actor-modal__footer {
  padding-top: 0;
  border-top: none;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(255,255,255,0.02));
}

.actor-modal__footer-actions {
  width: 100%;
}

.actor-modal__footer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(132px * var(--actor-ui-scale));
  min-height: calc(38px * var(--actor-ui-scale));
  padding: 0 1.1rem;
  border-radius: 0.95rem;
  border: 1px solid var(--actor-line-strong);
  background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
        linear-gradient(135deg, color-mix(in srgb, var(--actor-accent) 18%, black), rgba(4, 8, 16, 0.84));
  color: var(--actor-accent-strong);
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 0 18px color-mix(in srgb, var(--actor-accent) 16%, transparent);
}

.actor-modal__footer-close:hover {
  color: white;
  border-color: var(--actor-accent-strong);
  box-shadow: 0 0 22px color-mix(in srgb, var(--actor-accent) 24%, transparent);
}

.actor-hero {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding: 0.9rem;
  border: 1px solid var(--actor-line);
  border-radius: 1.1rem;
  background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
        linear-gradient(135deg, rgba(6, 12, 21, 0.94), rgba(9, 19, 33, 0.88));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 0 24px rgba(0, 0, 0, 0.25);
}

.actor-hero.is-scanned {
  grid-template-columns: calc(128px * var(--actor-ui-scale)) minmax(0, 1fr);
  align-items: start;
}

.actor-hero.is-unscanned {
  justify-items: center;
}

.actor-portrait-frame {
  position: relative;
  align-self: start;
  min-height: calc(128px * var(--actor-ui-scale));
  border-radius: 1rem;
  border: 1px solid var(--actor-line-strong);
  background:
        radial-gradient(circle at center, rgba(255,255,255,0.06), transparent 68%),
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 0 18px var(--actor-glow);
}

.actor-portrait-frame::before,
.actor-portrait-frame::after {
  content: "";
  position: absolute;
  width: calc(22px * var(--actor-ui-scale));
  height: calc(22px * var(--actor-ui-scale));
  border-color: var(--actor-accent-strong);
  opacity: 0.85;
}

.actor-portrait-frame::before {
  top: 0.55rem;
  left: 0.55rem;
  border-top: calc(2px * var(--actor-ui-scale)) solid;
  border-left: calc(2px * var(--actor-ui-scale)) solid;
}

.actor-portrait-frame::after {
  right: 0.55rem;
  bottom: 0.55rem;
  border-right: calc(2px * var(--actor-ui-scale)) solid;
  border-bottom: calc(2px * var(--actor-ui-scale)) solid;
}

.actor-portrait-frame.is-centered {
  width: calc(128px * var(--actor-ui-scale));
  height: calc(128px * var(--actor-ui-scale));
  min-height: calc(128px * var(--actor-ui-scale));
  max-width: calc(128px * var(--actor-ui-scale));
  padding: 0;
  box-sizing: border-box;
}

.actor-portrait-frame.is-centered .actor-portrait {
  min-height: 0;
  border-radius: calc(0.75rem * var(--actor-ui-scale));
}

.actor-portrait {
  display: block;
  width: 100%;
  height: 100%;
  min-height: calc(128px * var(--actor-ui-scale));
}

.actor-portrait.is-player {
  -o-object-fit: cover;
     object-fit: cover;
}

.actor-portrait.is-npc,
.actor-portrait.is-unknown {
  -o-object-fit: contain;
     object-fit: contain;
  padding: 0.75rem;
}

.actor-portrait.is-unknown {
  filter: saturate(0.1) brightness(1.12);
}

.actor-profile-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.actor-profile__grid {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.actor-profile__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
  padding: 0.34rem 0.48rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.025);
}

.actor-profile__label,
.actor-section__title,
.actor-summary-card__label,
.actor-inventory-group__title,
.actor-stat-line__label {
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--actor-muted);
}

.actor-profile__value {
  min-width: 0;
  color: var(--actor-text);
  font-size: 0.86rem;
  line-height: 1.2;
  text-align: right;
  word-break: break-word;
}

.actor-summary-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.actor-summary-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.actor-ship-systems-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.actor-ship-systems-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.actor-summary-block--stats .actor-stats-grid {
  gap: 0.55rem;
}

.actor-summary-block--stats .actor-stat-line {
  gap: 0.3rem;
}

.actor-summary-block--stats .actor-stat-line__label {
  gap: 0.4rem;
}

.actor-summary-block--stats .actor-progress-track {
  height: 0.34rem;
  margin-top: 0.3rem;
}

.actor-summary-block--effects .actor-effects-grid {
  max-height: clamp(8rem, 17vh, 12rem);
  overflow-y: auto;
  padding-right: 0.2rem;
  scrollbar-gutter: stable;
}

.actor-summary-block--effects {
  min-width: 0;
}

.actor-modules-stack--compact {
  max-height: 28vh;
  gap: 0.55rem;
}

.actor-modules-stack--compact [data-accordion-toggle] {
  padding: 0.7rem 0.85rem;
}

.actor-modules-stack--compact [data-accordion-toggle] + div {
  margin-top: 0.5rem;
  gap: 0.35rem;
}

.actor-modules-stack--compact [data-accordion-toggle] + div > * {
  border-radius: 0.95rem;
  border-color: rgba(255,255,255,0.06) !important;
  background: rgba(255,255,255,0.025) !important;
  color: var(--actor-text);
}

.actor-inventory-panel--compact {
  gap: 0.65rem;
}

.actor-inventory-panel--compact .actor-summary-grid {
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.actor-inventory-panel--compact .actor-summary-card {
  padding: 0.7rem 0.78rem;
}

.actor-inventory-panel--compact .actor-inventory-group__header {
  padding: 0.68rem 0.78rem;
}

.actor-inventory-panel--compact .actor-inventory-group__list {
  gap: 0.45rem;
  padding: 0.72rem;
}

.actor-inventory-panel--compact .actor-inventory-row {
  padding: 0.6rem 0.72rem;
}

.actor-summary-subheading {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--actor-muted);
}

.actor-section {
  border: 1px solid var(--actor-line);
  border-radius: 1rem;
  background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015)),
        linear-gradient(135deg, rgba(7, 13, 23, 0.94), rgba(8, 16, 28, 0.88));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.actor-section__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  padding: 0.72rem 0.85rem;
  background: transparent;
  border: 0;
  color: var(--actor-text);
}

.actor-section__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid var(--actor-line);
  color: var(--actor-accent-strong);
  transition: transform 160ms ease;
}

.actor-section.is-open .actor-section__chevron {
  transform: rotate(180deg);
}

.actor-section__body {
  padding: 0 0.85rem 0.85rem;
}

.actor-empty-state {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px dashed var(--actor-line);
  border-radius: 0.9rem;
  background: rgba(255,255,255,0.02);
  color: var(--actor-muted);
  font-size: 0.84rem;
  text-align: center;
}

.actor-effects-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.actor-effect-chip {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  min-height: 0;
  padding: 0.6rem 0.55rem;
  border: 1px solid var(--actor-line-strong);
  border-radius: 1rem;
  background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
        rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 18px var(--actor-glow);
  text-align: left;
}

.actor-effect-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.8rem;
  border: 1px solid var(--actor-line);
  background: rgba(255,255,255,0.045);
  flex: 0 0 auto;
}

.actor-effect-chip__icon img {
  width: 1rem;
  height: 1rem;
}

.actor-effect-chip__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  flex: 1 1 auto;
  min-width: 0;
}

.actor-effect-chip__label {
  width: 100%;
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.56rem;
  line-height: 1.15;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--actor-muted);
  white-space: normal;
}

.actor-effect-chip__timer {
  align-self: flex-start;
  color: var(--actor-text);
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
}

.actor-effect-chip.is-expired {
  opacity: 0.45;
}

.actor-stats-grid {
  display: grid;
  gap: 0.8rem;
}

.actor-stat-line {
  display: grid;
  gap: 0.5rem;
}

.actor-stat-line__label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.actor-progress-track {
  position: relative;
  height: 0.44rem;
  margin-top: 0.42rem;
  overflow: visible;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.3);
  background:
        linear-gradient(180deg, rgba(127, 29, 29, 0.82), rgba(69, 10, 10, 0.92)),
        rgba(69, 10, 10, 0.9);
  box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.02),
        inset 0 0 10px rgba(239, 68, 68, 0.12);
}

.actor-progress-track::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.035), transparent 45%, rgba(127, 29, 29, 0.26));
  pointer-events: none;
}

.actor-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  border-radius: 999px;
  box-shadow: 0 0 9px rgba(96, 165, 250, 0.3);
  background: linear-gradient(90deg, #2563eb, #60a5fa 56%, #93c5fd);
}

.actor-progress-fill.is-hp {
  background: linear-gradient(90deg, #1d4ed8, #60a5fa 56%, #bfdbfe);
}

.actor-progress-fill.is-ap {
  background: linear-gradient(90deg, #1d4ed8, #60a5fa 56%, #bfdbfe);
}

.actor-progress-fill.is-movement {
  background: linear-gradient(90deg, #1d4ed8, #60a5fa 56%, #bfdbfe);
}

.actor-progress-fill.is-defense_ballistic {
  background: linear-gradient(90deg, #b45309, #f59e0b 54%, #fde68a);
  box-shadow: 0 0 9px rgba(245, 158, 11, 0.32);
}

.actor-progress-fill.is-defense_laser {
  background: linear-gradient(90deg, #b45309, #f59e0b 54%, #fde68a);
  box-shadow: 0 0 9px rgba(245, 158, 11, 0.32);
}

.actor-progress-fill.is-defense_torpedo {
  background: linear-gradient(90deg, #b45309, #f59e0b 54%, #fde68a);
  box-shadow: 0 0 9px rgba(245, 158, 11, 0.32);
}

.actor-progress-value {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.24rem);
  transform: translateX(-50%);
  z-index: 2;
  color: #eff6ff;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  pointer-events: none;
}

#character-modal .skill-progress-track,
.foreground-resource-card .skill-progress-track {
  position: relative;
  height: calc(6px * var(--game-ui-scale, 1));
  margin-top: 0.52rem;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(8, 12, 20, 0.96);
  background: linear-gradient(180deg, rgba(7, 10, 16, 0.96), rgba(2, 5, 11, 0.98));
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.22);
}

#character-modal .skill-progress-fill,
.foreground-resource-card .skill-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  border-radius: 999px;
  background-image: none !important;
  background: linear-gradient(90deg, #1d4ed8 0%, #60a5fa 56%, #bfdbfe 100%) !important;
  box-shadow: 0 0 9px rgba(96, 165, 250, 0.28);
}

#character-modal .skill-progress-fill--shield,
.foreground-resource-card .skill-progress-fill--shield {
  background: linear-gradient(90deg, #c2410c 0%, #f59e0b 56%, #fdba74 100%) !important;
  box-shadow: 0 0 9px rgba(245, 158, 11, 0.26);
}

#character-modal .skill-progress-fill::before,
#character-modal .skill-progress-fill::after,
.foreground-resource-card .skill-progress-fill::before,
.foreground-resource-card .skill-progress-fill::after {
  content: none;
}

#character-modal .skill-progress-text {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.24rem);
  transform: translateX(-50%);
  color: #eff6ff;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  pointer-events: none;
}

#character-modal .character-modal__footer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: -moz-max-content;
  width: max-content;
  white-space: nowrap;
  line-height: 1;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

.actor-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.actor-summary-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--actor-line);
  border-radius: 0.95rem;
  background: rgba(255,255,255,0.03);
}

.actor-summary-card.is-alert {
  border-color: rgba(248, 113, 113, 0.38);
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.08);
}

.actor-summary-card.is-alert .actor-summary-card__value {
  border-color: rgba(248, 113, 113, 0.42);
  color: #fecaca;
}

.actor-summary-card__label {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.15;
}

.actor-summary-card__value {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: -moz-fit-content;
  min-width: fit-content;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--actor-line);
  background: rgba(255,255,255,0.025);
  color: var(--actor-text);
  font-size: 0.88rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.actor-inventory-panel {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.actor-inventory-group {
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}

.actor-inventory-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.68rem 0.78rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.actor-inventory-group__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: -moz-fit-content;
  min-width: fit-content;
  height: 1.7rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--actor-line);
  color: var(--actor-text);
  font-size: 0.7rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.actor-inventory-group__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.8rem;
}

.actor-inventory-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.025);
}

.actor-inventory-row__copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.actor-inventory-row__name {
  color: var(--actor-text);
  font-size: 0.86rem;
  font-weight: 600;
}

.actor-inventory-row__qty {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: -moz-fit-content;
  min-width: fit-content;
  padding: 0.14rem 0.46rem;
  border-radius: 999px;
  border: 1px solid var(--actor-line);
  color: var(--actor-text);
  font-size: 0.7rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.actor-modules-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.actor-modules-stack [data-accordion-toggle] {
  width: 100%;
  margin-bottom: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid var(--actor-line);
  background: rgba(255,255,255,0.03);
  color: var(--actor-text);
}

.actor-modules-stack [data-accordion-toggle] + div {
  padding-left: 0 !important;
  margin-top: 0.65rem;
  gap: 0.45rem;
}

.actor-modules-stack [data-accordion-toggle] + div > * {
  border-radius: 0.95rem;
  border-color: rgba(255,255,255,0.06) !important;
  background: rgba(255,255,255,0.025) !important;
  color: var(--actor-text);
}

.actor-actions-context {
  margin-bottom: 0.5rem;
}

.actor-actions-context > div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.actor-actions-context > div > div {
  padding: 0.65rem !important;
  border-radius: 0.85rem !important;
  border: 1px solid var(--actor-line) !important;
  background: rgba(255,255,255,0.03);
}

.actor-actions-grid {
  --cols: 2;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  grid-auto-rows: minmax(calc(60px * var(--actor-ui-scale)), auto);
  gap: 0.5rem;
  padding: 0;
  width: 100%;
}

.actor-actions-grid > .actor-action-cell {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
}

.actor-actions-grid > .actor-action-cell > .action-button-sf,
.actor-actions-grid > .action-button-sf {
  width: 100%;
  height: 100%;
}

.actor-actions-grid .action-button-sf,
.actor-actions-context .action-button-sf {
  position: relative;
  --sf-action-edge: 10px;
  --sf-action-border: color-mix(in srgb, var(--actor-line-strong) 72%, rgba(34, 211, 238, 0.38));
  --sf-action-border-strong: color-mix(in srgb, var(--actor-line-strong) 86%, rgba(186, 230, 253, 0.55));
  --sf-action-inner-border: color-mix(in srgb, var(--actor-line-strong) 18%, rgba(255, 255, 255, 0.06));
  --sf-action-glow: color-mix(in srgb, var(--actor-glow) 22%, transparent);
  --sf-action-line: linear-gradient(90deg, transparent, color-mix(in srgb, var(--actor-line-strong) 82%, white 18%), rgba(34, 211, 238, 0.68), transparent);
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: calc(60px * var(--actor-ui-scale));
  padding: 0.25rem 0.45rem;
  border-radius: 0;
  border: 1px solid var(--sf-action-border);
  background:
        linear-gradient(180deg, color-mix(in srgb, var(--actor-glow) 18%, transparent), rgba(2, 10, 10, 0.96) 44%, rgba(0, 0, 0, 0.98)),
        linear-gradient(120deg, rgba(34, 211, 238, 0.12), transparent 38%),
        linear-gradient(300deg, color-mix(in srgb, var(--actor-glow) 16%, transparent), transparent 40%);
  box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 0 0 1px rgba(255,255,255,0.02),
        0 0 0 1px rgba(0,0,0,0.3),
        0 0 24px var(--sf-action-glow);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  gap: 0.15rem 0.3rem;
  text-align: center;
}

.actor-actions-grid .action-button-sf::before,
.actor-actions-context .action-button-sf::before {
  inset: 1px;
  clip-path: inherit;
  border: 1px solid var(--sf-action-inner-border);
  background:
        linear-gradient(180deg, rgba(255,255,255,0.06), transparent 35%),
        linear-gradient(120deg, color-mix(in srgb, var(--actor-glow) 10%, rgba(255,255,255,0.02)), transparent 42%);
}

.actor-actions-grid .action-button-sf::after,
.actor-actions-context .action-button-sf::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1px;
  background: var(--sf-action-line);
  opacity: 0.86;
  pointer-events: none;
}

.actor-actions-grid .action-button-sf:hover,
.actor-actions-context .action-button-sf:hover {
  border-color: var(--sf-action-border-strong);
  color: #f3fffb;
  background:
        linear-gradient(180deg, color-mix(in srgb, var(--actor-glow) 24%, transparent), rgba(2, 10, 10, 0.96) 44%, rgba(0, 0, 0, 0.98)),
        linear-gradient(120deg, rgba(34, 211, 238, 0.18), transparent 38%),
        linear-gradient(300deg, color-mix(in srgb, var(--actor-glow) 22%, transparent), transparent 40%);
  transform: translateY(-1px) scale(1.01);
  box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 0 0 1px color-mix(in srgb, var(--actor-line-strong) 22%, transparent),
        0 0 0 1px rgba(0,0,0,0.24),
        0 0 30px var(--sf-action-glow);
  animation: none;
}

/* Strong visual distinction for disabled action buttons */

.action-button-sf:disabled,
.action-button-sf[aria-disabled="true"],
.action-button-sf.pointer-events-none,
.action-button-sf.cursor-not-allowed {
  position: relative;
  isolation: isolate;
  cursor: not-allowed;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  border-style: solid;
  border-color: rgba(248, 113, 113, 0.62) !important;
  background:
        linear-gradient(180deg, rgba(45, 9, 12, 0.98), rgba(24, 6, 9, 0.96)),
        linear-gradient(135deg, rgba(127, 29, 29, 0.34), rgba(69, 10, 10, 0.26));
  box-shadow:
        inset 0 0 0 1px rgba(248, 113, 113, 0.18),
        inset 0 0 14px rgba(220, 38, 38, 0.14),
        0 0 14px rgba(127, 29, 29, 0.18),
        0 0 0 1px rgba(0, 0, 0, 0.55);
  filter: saturate(0.8) brightness(0.82);
}

.action-button-sf:disabled::before,
.action-button-sf[aria-disabled="true"]::before,
.action-button-sf.pointer-events-none::before,
.action-button-sf.cursor-not-allowed::before {
  opacity: 0.28;
  border-color: rgba(248, 113, 113, 0.18);
}

.action-button-sf:disabled::after,
.action-button-sf[aria-disabled="true"]::after,
.action-button-sf.pointer-events-none::after,
.action-button-sf.cursor-not-allowed::after {
  inset: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  background:
        repeating-linear-gradient(
            -35deg,
            rgba(248, 113, 113, 0.18) 0 2px,
            rgba(248, 113, 113, 0) 2px 7px
        );
  opacity: 0.42;
}

.action-button-sf:disabled .action-button-sf-label,
.action-button-sf[aria-disabled="true"] .action-button-sf-label,
.action-button-sf.pointer-events-none .action-button-sf-label,
.action-button-sf.cursor-not-allowed .action-button-sf-label,
.action-button-sf:disabled .action-button-sf-cost,
.action-button-sf[aria-disabled="true"] .action-button-sf-cost,
.action-button-sf.pointer-events-none .action-button-sf-cost,
.action-button-sf.cursor-not-allowed .action-button-sf-cost,
.action-button-sf:disabled .action-button-sf-range,
.action-button-sf[aria-disabled="true"] .action-button-sf-range,
.action-button-sf.pointer-events-none .action-button-sf-range,
.action-button-sf.cursor-not-allowed .action-button-sf-range {
  color: rgba(254, 202, 202, 0.86) !important;
  text-shadow: none;
  opacity: 0.86;
}

.action-button-sf:disabled .action-button-sf-cost > *,
.action-button-sf[aria-disabled="true"] .action-button-sf-cost > *,
.action-button-sf.pointer-events-none .action-button-sf-cost > *,
.action-button-sf.cursor-not-allowed .action-button-sf-cost > *,
.action-button-sf:disabled .action-button-sf-range,
.action-button-sf[aria-disabled="true"] .action-button-sf-range,
.action-button-sf.pointer-events-none .action-button-sf-range,
.action-button-sf.cursor-not-allowed .action-button-sf-range {
  border-color: rgba(248, 113, 113, 0.48) !important;
  background: rgba(69, 10, 10, 0.58) !important;
  color: #fecaca !important;
  box-shadow:
        inset 0 0 0 1px rgba(248, 113, 113, 0.1),
        0 0 10px rgba(127, 29, 29, 0.16);
}

.action-button-sf:disabled .action-button-sf-icon,
.action-button-sf[aria-disabled="true"] .action-button-sf-icon,
.action-button-sf.pointer-events-none .action-button-sf-icon,
.action-button-sf.cursor-not-allowed .action-button-sf-icon {
  opacity: 0.68;
  filter: sepia(0.55) saturate(1.8) hue-rotate(315deg) brightness(0.96);
}

.action-button-sf:disabled:hover,
.action-button-sf[aria-disabled="true"]:hover,
.action-button-sf.pointer-events-none:hover,
.action-button-sf.cursor-not-allowed:hover {
  transform: none !important;
  animation: none !important;
  box-shadow:
        inset 0 0 0 1px rgba(248, 113, 113, 0.18),
        inset 0 0 14px rgba(220, 38, 38, 0.14),
        0 0 14px rgba(127, 29, 29, 0.18),
        0 0 0 1px rgba(0, 0, 0, 0.55) !important;
}

[data-disabled-tooltip] {
  position: relative;
  cursor: not-allowed !important;
  overflow: visible !important;
}

.disabled-action-tooltip {
  position: fixed;
  z-index: 2147483647;
  display: block;
  box-sizing: border-box;
  width: -moz-fit-content;
  width: fit-content;
  min-width: min(10rem, calc(100vw - 2rem));
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(248, 113, 113, 0.95);
  border-radius: 0.45rem;
  background: linear-gradient(180deg, rgba(153, 27, 27, 0.99), rgba(127, 12, 12, 0.99));
  color: #ffffff;
  box-shadow:
        0 8px 24px rgba(220, 38, 38, 0.44),
        0 0 16px rgba(248, 113, 113, 0.22),
        0 0 0 1px rgba(0, 0, 0, 0.45);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.38);
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  opacity: 1 !important;
  filter: none !important;
  pointer-events: none;
}

.disabled-action-tooltip[hidden] {
  display: none !important;
}

.disabled-action-tooltip::before {
  content: "";
  position: absolute;
  left: var(--tooltip-arrow-left, 50%);
  bottom: -0.35rem;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 0.35rem solid transparent;
  border-right: 0.35rem solid transparent;
  border-top: 0.35rem solid rgba(127, 12, 12, 0.99);
  pointer-events: none;
}

.disabled-action-tooltip.is-below::before {
  top: -0.35rem;
  bottom: auto;
  border-top: 0;
  border-bottom: 0.35rem solid rgba(153, 27, 27, 0.99);
}

/* Combat / Repair action rows: strong disabled readability */

.combat-module-action-row,
.repair-module-action-row {
  position: relative;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease, background 160ms ease;
}

.combat-module-action-row.is-action-disabled,
.repair-module-action-row.is-action-disabled,
.combat-module-action-row:has(> .action-button-sf.pointer-events-none.cursor-not-allowed),
.repair-module-action-row:has(> .action-button-sf.pointer-events-none.cursor-not-allowed) {
  opacity: 1 !important;
  border-style: dashed;
  border-color: rgba(248, 113, 113, 0.46) !important;
  background:
        linear-gradient(180deg, rgba(45, 9, 12, 0.96), rgba(24, 6, 9, 0.94)),
        linear-gradient(135deg, rgba(127, 29, 29, 0.26), rgba(69, 10, 10, 0.22));
  box-shadow:
        inset 0 0 0 1px rgba(248, 113, 113, 0.12),
        inset 0 0 14px rgba(220, 38, 38, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.45);
  filter: saturate(0.82) brightness(0.82);
}

.combat-module-action-row.is-action-disabled::after,
.repair-module-action-row.is-action-disabled::after,
.combat-module-action-row:has(> .action-button-sf.pointer-events-none.cursor-not-allowed)::after,
.repair-module-action-row:has(> .action-button-sf.pointer-events-none.cursor-not-allowed)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
        repeating-linear-gradient(
            -35deg,
            rgba(248, 113, 113, 0.14) 0 2px,
            rgba(248, 113, 113, 0) 2px 7px
        );
  opacity: 0.36;
}

.combat-module-action-row.is-action-disabled .combat-compact-badge,
.repair-module-action-row.is-action-disabled .combat-compact-badge,
.combat-module-action-row:has(> .action-button-sf.pointer-events-none.cursor-not-allowed) .combat-compact-badge,
.repair-module-action-row:has(> .action-button-sf.pointer-events-none.cursor-not-allowed) .combat-compact-badge {
  border-color: rgba(248, 113, 113, 0.48) !important;
  background: rgba(69, 10, 10, 0.46) !important;
  color: #fecaca !important;
  box-shadow:
        inset 0 0 0 1px rgba(248, 113, 113, 0.08),
        0 0 10px rgba(127, 29, 29, 0.14);
}

.actor-actions-grid .action-button-sf-main,
.actor-actions-context .action-button-sf-main {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.3rem;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 160px;
}

.actor-actions-grid .action-button-sf-icon-wrap,
.actor-actions-context .action-button-sf-icon-wrap,
.actor-actions-grid .action-button-sf > .action-button-sf-icon:first-child,
.actor-actions-context .action-button-sf > .action-button-sf-icon:first-child {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.actor-actions-grid .action-button-sf-icon,
.actor-actions-context .action-button-sf-icon {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 auto;
}

.actor-actions-grid .action-button-sf-label,
.actor-actions-context .action-button-sf-label {
  margin-top: 0;
  min-width: 0;
  max-width: 100%;
  font-size: 0.64rem;
  line-height: 1.02;
  text-align: left;
  flex: 1 1 auto;
}

.actor-actions-grid .action-button-sf-meta,
.actor-actions-context .action-button-sf-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.18rem;
  max-width: 100%;
  flex: 0 1 auto;
  margin-left: auto;
}

.actor-actions-grid .action-button-sf-meta:empty,
.actor-actions-context .action-button-sf-meta:empty {
  display: none;
}

.actor-actions-grid .action-button-sf-cost,
.actor-actions-context .action-button-sf-cost,
.actor-actions-grid .action-button-sf-range,
.actor-actions-context .action-button-sf-range {
  flex: 0 0 auto;
}

.actor-actions-error {
  margin-bottom: 0.75rem;
}

.foreground-hero {
  grid-template-columns: calc(148px * var(--actor-ui-scale)) minmax(0, 1fr);
  align-items: stretch;
}

.foreground-hero--portrait-only {
  display: flex;
  justify-content: center;
  align-items: center;
}

.foreground-hero--portrait-only .foreground-profile-card {
  width: 100%;
  text-align: center;
}

.foreground-portrait-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  width: calc(148px * var(--actor-ui-scale));
  height: calc(148px * var(--actor-ui-scale));
  min-height: calc(148px * var(--actor-ui-scale));
  max-width: calc(148px * var(--actor-ui-scale));
  margin-inline: auto;
}

.foreground-hero--portrait-only .foreground-portrait-frame {
  margin-inline: auto;
}

.foreground-portrait {
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center center;
     object-position: center center;
  padding: 0.8rem;
}

.foreground-profile-card {
  gap: 0.8rem;
}

.foreground-hero.is-wreck {
  gap: 1.15rem;
}

.foreground-hero.is-wreck .foreground-profile-card {
  justify-content: flex-start;
  gap: 0.6rem;
}

.foreground-hero__eyebrow {
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--actor-muted);
}

.foreground-hero__title {
  margin: 0;
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.38rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--actor-text);
  text-shadow: 0 0 16px var(--actor-glow);
}

.foreground-hero__description {
  margin: 0;
  max-width: 100%;
  color: rgba(236, 255, 245, 0.88);
  font-size: 0.87rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.foreground-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.foreground-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--actor-line);
  background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
        rgba(255,255,255,0.03);
  color: var(--actor-accent-strong);
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.foreground-status-badge.is-timer {
  color: var(--actor-text);
  box-shadow: 0 0 18px var(--actor-glow);
}

.foreground-resources-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.foreground-resource-card {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.16rem 0;
  border: 0;
  background: transparent;
}

.foreground-resource-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(110, 231, 183, 0.55);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.foreground-resource-card__header .actor-profile__label {
  min-width: 0;
  color: inherit;
  font: inherit;
  overflow-wrap: anywhere;
}

.foreground-resource-card__count {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: #d1fae5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.foreground-resource-card__progress-track {
  width: 100%;
}

.foreground-resource-card__description {
  margin: 0;
  color: var(--actor-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.foreground-resource-notice {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px dashed var(--actor-line);
  background: rgba(255,255,255,0.03);
  color: var(--actor-muted);
  font-size: 0.84rem;
  text-align: center;
}

.foreground-resource-notice.is-alert {
  border-color: rgba(248, 113, 113, 0.36);
  background: rgba(127, 29, 29, 0.18);
  color: #fecaca;
}

.foreground-actions-wrapper {
  gap: 0.75rem;
}

.foreground-modal-shell .action-button-sf-label {
  font-size: 0.74rem;
  line-height: 1.14;
}

.foreground-modal-shell .action-wrapper-sf li {
  font-size: 0.82rem;
}

.foreground-modal-shell .action-wrapper-sf {
  padding: 0;
  gap: 0.75rem;
  background: transparent;
}

.foreground-modal-shell .action-wrapper-sf ul {
  padding: 0;
  margin: 0;
  gap: 0.65rem;
}

.foreground-modal-shell .action-wrapper-sf li {
  padding: 0.8rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid var(--actor-line);
  background: rgba(255,255,255,0.03);
  transition: 160ms ease;
}

.foreground-modal-shell .action-wrapper-sf li:hover {
  box-shadow: 0 0 18px var(--actor-glow);
  transform: translateY(-1px);
}

.foreground-modal-shell .action-error-msg {
  margin-bottom: 0;
  padding: 0.85rem 0.9rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.16);
}

.gather-resources-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #d1fae5;
}

.gather-action-selector {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
}

.gather-action-selector .gather-row-action {
  align-self: stretch;
}

.gather-action-selector .gather-inline-button {
  height: 100%;
  min-height: 2.25rem;
  width: 2.4rem;
}

.gather-resource-scan-notice {
  text-align: center;
}

.gather-resource-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.6rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(52, 211, 153, 0.26);
  background:
        linear-gradient(180deg, rgba(8, 18, 31, 0.82), rgba(10, 22, 39, 0.72)),
        rgba(6, 78, 59, 0.24);
}

.gather-resource-row.is-random {
  border-color: rgba(16, 185, 129, 0.52);
  background:
        linear-gradient(180deg, rgba(6, 78, 59, 0.3), rgba(4, 120, 87, 0.2)),
        rgba(6, 95, 70, 0.28);
}

.gather-resource-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.gather-resource-label {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ecfdf5;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.gather-resource-value {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(110, 231, 183, 0.95);
  line-height: 1.2;
}

.gather-row-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.gather-inline-button {
  width: 2rem;
  height: 2rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  border: 1px solid rgba(110, 231, 183, 0.42);
  background:
        linear-gradient(180deg, rgba(16, 185, 129, 0.18), rgba(2, 10, 10, 0.96) 44%, rgba(0, 0, 0, 0.98)),
        linear-gradient(120deg, rgba(34, 211, 238, 0.12), transparent 38%),
        linear-gradient(300deg, rgba(16, 185, 129, 0.16), transparent 40%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 0 0 1px rgba(6, 95, 70, 0.28),
        0 0 0 1px rgba(0, 0, 0, 0.28),
        0 0 18px rgba(16, 185, 129, 0.16);
  transition: 140ms ease;
}

.gather-inline-button::before,
.gather-inline-button::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.gather-inline-button::before {
  inset: 1px;
  clip-path: inherit;
  border: 1px solid rgba(110, 231, 183, 0.14);
}

.gather-inline-button::after {
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 231, 183, 0.92), rgba(34, 211, 238, 0.68), transparent);
  opacity: 0.86;
}

.gather-inline-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(167, 243, 208, 0.76);
  box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 0 0 1px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(0,0,0,0.22),
        0 0 20px rgba(16, 185, 129, 0.24);
}

.gather-inline-button:active:not(:disabled) {
  transform: translateY(0);
}

.gather-inline-button.is-disabled,
.gather-inline-button:disabled {
  cursor: not-allowed;
  border-color: rgba(248, 113, 113, 0.62);
  background:
        linear-gradient(180deg, rgba(127, 29, 29, 0.46), rgba(69, 10, 10, 0.34)),
        rgba(45, 9, 12, 0.72);
  box-shadow:
        inset 0 0 0 1px rgba(248, 113, 113, 0.12),
        0 0 12px rgba(127, 29, 29, 0.2);
  opacity: 0.78;
}

.gather-inline-button.is-disabled::before,
.gather-inline-button:disabled::before {
  border-color: rgba(248, 113, 113, 0.16);
}

.gather-inline-button.is-disabled::after,
.gather-inline-button:disabled::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  inset: 0;
  background:
        repeating-linear-gradient(
            -35deg,
            rgba(248, 113, 113, 0.18) 0 2px,
            rgba(248, 113, 113, 0) 2px 7px
        );
  opacity: 0.34;
}

.gather-inline-button__icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(83%) sepia(34%) saturate(488%) hue-rotate(96deg) brightness(100%) contrast(95%);
}

.gather-inline-button:disabled .gather-inline-button__icon,
.gather-inline-button.is-disabled .gather-inline-button__icon {
  filter: brightness(0) saturate(100%) invert(78%) sepia(51%) saturate(697%) hue-rotate(309deg) brightness(102%) contrast(96%);
}

.gather-row-action:has(.gather-inline-button:disabled) .gather-inline-cost,
.gather-row-action:has(.gather-inline-button.is-disabled) .gather-inline-cost {
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(69, 10, 10, 0.38);
  color: #fecaca;
}

.gather-inline-cost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.34);
  background: rgba(6, 78, 59, 0.35);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .actor-modal-shell {
    width: calc(100vw - 20px);
    min-height: 0;
    max-height: calc(100dvh - 20px);
    height: auto;
    border-radius: 0.9rem !important;
    margin: 10px auto;
  }

  .actor-modal__header {
    padding: 0.85rem;
    border-radius: 0;
  }

  .actor-modal__header-cluster {
    align-items: flex-start;
    gap: 0.55rem;
  }

  .actor-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    padding: 0.8rem;
  }

  .actor-hero.is-scanned {
    grid-template-columns: 1fr;
  }

  .actor-hero .actor-portrait-frame {
    width: 132px;
    height: 132px;
    min-height: 132px;
    max-width: 132px;
    margin-inline: auto;
  }

  .actor-hero .actor-portrait {
    min-height: 0;
  }

  .actor-portrait-frame.is-centered {
    width: 132px;
    height: 132px;
    min-height: 132px;
    max-width: 132px;
    padding: 0;
    box-sizing: border-box;
  }

  .foreground-portrait-frame {
    width: 128px;
    height: 128px;
    min-height: 128px;
    max-width: 128px;
    margin-inline: auto;
  }

  .foreground-hero__title {
    font-size: 1.02rem;
  }

  .actor-profile__grid {
    gap: 0.35rem;
  }

  .actor-effects-grid {
    gap: 0.45rem;
  }

  .actor-summary-stack {
    gap: 0.5rem;
  }

  .actor-summary-block {
    gap: 0.35rem;
  }

  .actor-summary-block--stats .actor-progress-track {
    height: 0.32rem;
    margin-top: 0.25rem;
  }

  .actor-ship-systems-stack {
    gap: 0.55rem;
  }

  .actor-ship-systems-block {
    gap: 0.35rem;
  }

  .actor-modules-stack--compact {
    max-height: 24vh;
    gap: 0.45rem;
  }

  .actor-modules-stack--compact [data-accordion-toggle] {
    padding: 0.62rem 0.75rem;
  }

  .actor-modules-stack--compact [data-accordion-toggle] + div {
    margin-top: 0.42rem;
    gap: 0.3rem;
  }

  .actor-inventory-panel--compact {
    gap: 0.55rem;
  }

  .actor-inventory-panel--compact .actor-summary-grid {
    gap: 0.45rem;
    margin-bottom: 0.55rem;
  }

  .actor-inventory-panel--compact .actor-summary-card {
    padding: 0.62rem 0.7rem;
  }

  .actor-inventory-panel--compact .actor-inventory-group__header {
    padding: 0.58rem 0.68rem;
  }

  .actor-inventory-panel--compact .actor-inventory-group__list {
    gap: 0.38rem;
    padding: 0.62rem;
  }

  .actor-inventory-panel--compact .actor-inventory-row {
    padding: 0.52rem 0.62rem;
  }

  .actor-effect-chip {
    flex-direction: row;
    justify-content: flex-start;
    min-height: 0;
    padding: 0.45rem 0.55rem;
    text-align: left;
    gap: 0.45rem;
  }

  .actor-effect-chip__copy {
    align-items: flex-start;
  }

  .actor-effect-chip__icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .actor-effect-chip__icon img {
    width: 0.9rem;
    height: 0.9rem;
  }

  .actor-effect-chip__label {
    font-size: 0.52rem;
  }

  .actor-effect-chip__timer {
    font-size: 0.72rem;
  }

  .actor-summary-grid {
    grid-template-columns: 1fr;
  }

  .actor-actions-grid {
    --cols: 1;
    grid-auto-rows: minmax(56px, auto);
  }

  .actor-actions-grid .action-button-sf,
.actor-actions-context .action-button-sf {
    min-height: 56px;
    padding: 0.22rem 0.38rem;
    gap: 0.12rem 0.26rem;
  }

  .gather-resource-row {
    padding: 0.46rem 0.52rem;
  }

  .gather-resource-label {
    font-size: 0.78rem;
  }

  .gather-resource-value {
    font-size: 0.71rem;
  }

  .gather-inline-button {
    width: 1.84rem;
    height: 1.84rem;
    border-radius: 0.52rem;
  }

  .gather-action-selector .gather-inline-button {
    min-height: 2.1rem;
    width: 2.2rem;
  }

  .gather-inline-cost {
    min-width: 2.75rem;
    padding: 0.1rem 0.38rem;
    font-size: 0.68rem;
  }
}

/* ------------------------------------------------------------------ */

/* Wreck Loot Modal (Fouille / Salvage)                               */

/* ------------------------------------------------------------------ */

#wreck-loot-modal.wreck-loot-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(6px);
}

#wreck-loot-modal.hidden {
  display: none !important;
}

.wreck-loot-panel {
  width: min(860px, 100%);
  max-height: min(86vh, 760px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(52, 211, 153, 0.38);
  background:
        radial-gradient(circle at 12% 10%, rgba(16, 185, 129, 0.14), transparent 58%),
        linear-gradient(180deg, rgba(6, 17, 14, 0.96), rgba(4, 8, 12, 0.96));
  box-shadow:
        0 16px 50px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(16, 185, 129, 0.08) inset,
        0 0 40px rgba(16, 185, 129, 0.12);
  color: #d1fae5;
}

.wreck-loot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem 0 1rem;
}

.wreck-loot-title-wrap {
  min-width: 0;
}

.wreck-loot-title {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #a7f3d0;
}

.wreck-loot-subtitle {
  margin-top: 0.2rem;
  color: rgba(209, 250, 229, 0.78);
  font-size: 0.85rem;
  font-weight: 600;
  word-break: break-word;
}

.wreck-loot-close {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(6, 78, 59, 0.35);
  color: #d1fae5;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.wreck-loot-close:hover {
  background: rgba(6, 78, 59, 0.6);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.22);
}

.wreck-loot-tabs {
  display: flex;
  gap: 0.4rem;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.wreck-loot-tab {
  border: 1px solid rgba(52, 211, 153, 0.22);
  background: rgba(2, 44, 34, 0.36);
  color: rgba(209, 250, 229, 0.9);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.wreck-loot-tab.is-active {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.14);
  color: #ecfdf5;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.14);
}

.wreck-loot-timer {
  margin: 0 1rem;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.28), rgba(2, 44, 34, 0.22));
  color: #d1fae5;
  border-radius: 0.75rem;
  padding: 0.55rem 0.7rem;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.14);
}

.wreck-loot-message {
  margin: 0 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(0, 255, 180, 0.25);
  background: rgba(20, 255, 180, 0.12);
  color: #afffdd;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 0.52rem 0.62rem;
  line-height: 1.35;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 18px rgba(0, 255, 180, 0.22);
}

.wreck-loot-message::before {
  content: "01 A7 D3 9C 4B 88 F2 3E";
  position: absolute;
  inset: 0;
  font-size: var(--fs-2xs);
  font-weight: 700;
  opacity: 0.11;
  color: #45ffc7;
  white-space: nowrap;
  overflow: hidden;
  animation: transmission-stream 4s linear infinite;
  pointer-events: none;
}

.wreck-loot-message[data-tone="info"] {
  border: 1px solid rgba(0, 255, 180, 0.25);
  background: rgba(20, 255, 180, 0.12);
  color: #afffdd;
}

.wreck-loot-message[data-tone="error"] {
  border: 1px solid rgba(255, 60, 60, 0.35);
  background: rgba(255, 60, 60, 0.18);
  color: #ffcaca;
  box-shadow: 0 0 15px rgba(255, 50, 50, 0.35);
}

.wreck-loot-message[data-tone="error"]::before {
  color: #ff6e6e;
  opacity: 0.15;
}

.wreck-loot-content {
  padding: 0 1rem 1rem 1rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-top: 1px solid rgba(16, 185, 129, 0.12);
  padding-top: 0.75rem;
}

.wreck-loot-mode-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.wreck-loot-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.24);
  background: rgba(6, 78, 59, 0.18);
  color: #dcfce7;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.wreck-loot-pill.is-ok {
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(6, 78, 59, 0.24);
  color: #a7f3d0;
}

.wreck-loot-pill.is-bad {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(127, 29, 29, 0.22);
  color: #fecaca;
}

.wreck-loot-pill.is-chance {
  border-color: rgba(251, 191, 36, 0.24);
  background: rgba(120, 53, 15, 0.18);
  color: #fde68a;
}

.wreck-loot-section {
  border: 1px solid rgba(52, 211, 153, 0.16);
  border-radius: 0.9rem;
  background:
        linear-gradient(180deg, rgba(3, 20, 14, 0.56), rgba(2, 12, 9, 0.34));
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.04);
}

.wreck-loot-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: #e2fdf2;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-family: "Barlow Condensed", sans-serif;
}

.wreck-loot-count {
  color: #a7f3d0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
}

.wreck-loot-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wreck-loot-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  border: 1px solid rgba(52, 211, 153, 0.16);
  border-radius: 0.7rem;
  background: rgba(4, 32, 24, 0.34);
  padding: 0.55rem 0.6rem;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.wreck-loot-item:hover {
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(6, 46, 34, 0.44);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.06) inset;
}

.wreck-loot-item-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wreck-loot-item-name {
  color: #f0fdf4;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

.wreck-loot-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.wreck-loot-btn {
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: rgba(6, 78, 59, 0.28);
  color: #ecfdf5;
  border-radius: 0.65rem;
  padding: 0.42rem 0.65rem;
  font-weight: 800;
  cursor: pointer;
  min-width: 62px;
}

.wreck-loot-btn:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.22);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.16);
}

.wreck-loot-btn:disabled,
.wreck-loot-btn.is-disabled,
.wreck-loot-btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 1;
  border-color: rgba(248, 113, 113, 0.62);
  background:
        linear-gradient(180deg, rgba(127, 29, 29, 0.48), rgba(69, 10, 10, 0.34)),
        rgba(45, 9, 12, 0.72);
  color: #fecaca;
  box-shadow:
        inset 0 0 0 1px rgba(248, 113, 113, 0.12),
        0 0 10px rgba(127, 29, 29, 0.18);
}

.wreck-loot-empty {
  border: 1px dashed rgba(52, 211, 153, 0.26);
  border-radius: 0.65rem;
  background: rgba(5, 28, 20, 0.3);
  color: rgba(209, 250, 229, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
  padding: 0.75rem 0.6rem;
}

@media (max-width: 640px) {
  .wreck-loot-panel {
    max-height: 92vh;
    gap: 0.65rem;
  }

  .wreck-loot-header {
    align-items: flex-start;
    padding-top: 0.75rem;
  }

  .wreck-loot-item {
    grid-template-columns: 1fr;
  }

  .wreck-loot-btn {
    width: 100%;
  }
}

/* ------------------------------------------------------------------ */

/* Bank Inline Modal (Planet mode)                                    */

/* ------------------------------------------------------------------ */

.bank-inline-root {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.35rem;
  color: #d1fae5;
}

.bank-inline-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.bank-inline-stat-card {
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 0.8rem;
  background:
        linear-gradient(145deg, rgba(6, 30, 20, 0.78), rgba(3, 18, 12, 0.82));
  padding: 0.65rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bank-inline-stat-card.is-accent {
  border-color: rgba(250, 204, 21, 0.35);
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.16);
}

.bank-inline-label {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #86efac;
}

.bank-inline-value {
  font-size: 0.96rem;
  font-weight: 700;
  color: #f0fdf4;
  font-variant-numeric: tabular-nums;
}

.bank-inline-section {
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 0.8rem;
  background: rgba(4, 28, 20, 0.42);
  padding: 0.65rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bank-inline-hint {
  margin: 0;
  color: rgba(209, 250, 229, 0.78);
  font-size: 0.82rem;
  line-height: 1.35;
}

.bank-inline-row {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.bank-inline-row.bank-inline-row-split {
  align-items: stretch;
}

.bank-inline-recipient-wrap {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.bank-inline-input {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 0.62rem;
  border: 1px solid rgba(52, 211, 153, 0.26);
  background: rgba(4, 24, 18, 0.72);
  color: #e2e8f0;
  padding: 0.46rem 0.56rem;
  font-size: 0.85rem;
}

.bank-inline-input::-moz-placeholder {
  color: rgba(148, 163, 184, 0.86);
}

.bank-inline-input::placeholder {
  color: rgba(148, 163, 184, 0.86);
}

.bank-inline-input:focus {
  outline: none;
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.bank-inline-input.is-invalid {
  border-color: rgba(248, 113, 113, 0.65);
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.22);
}

.bank-inline-btn {
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 0.65rem;
  background: rgba(6, 78, 59, 0.32);
  color: #ecfdf5;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 0.45rem 0.72rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bank-inline-btn:hover {
  background: rgba(16, 185, 129, 0.22);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.bank-inline-btn:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  box-shadow: none;
}

.bank-inline-btn.is-disabled,
.bank-inline-btn[aria-disabled="true"] {
  opacity: 1;
  cursor: not-allowed;
  border-color: rgba(248, 113, 113, 0.62);
  background:
        linear-gradient(180deg, rgba(127, 29, 29, 0.5), rgba(69, 10, 10, 0.34)),
        rgba(45, 9, 12, 0.72);
  color: #fecaca;
  box-shadow:
        inset 0 0 0 1px rgba(248, 113, 113, 0.12),
        0 0 12px rgba(127, 29, 29, 0.2);
}

.bank-inline-btn.is-disabled:hover,
.bank-inline-btn[aria-disabled="true"]:hover {
  background:
        linear-gradient(180deg, rgba(127, 29, 29, 0.56), rgba(69, 10, 10, 0.4)),
        rgba(45, 9, 12, 0.78);
  box-shadow:
        inset 0 0 0 1px rgba(248, 113, 113, 0.16),
        0 0 14px rgba(127, 29, 29, 0.22);
}

.bank-inline-note {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(167, 243, 208, 0.82);
}

.bank-inline-message {
  border-radius: 0.65rem;
  border: 1px solid rgba(0, 255, 180, 0.25);
  background: rgba(20, 255, 180, 0.12);
  color: #afffdd;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 0.52rem 0.62rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 18px rgba(0, 255, 180, 0.22);
}

.bank-inline-message::before {
  content: "01 A7 D3 9C 4B 88 F2 3E";
  position: absolute;
  inset: 0;
  font-size: var(--fs-2xs);
  font-weight: 700;
  opacity: 0.11;
  color: #45ffc7;
  white-space: nowrap;
  overflow: hidden;
  animation: transmission-stream 4s linear infinite;
  pointer-events: none;
}

.bank-inline-message.is-error {
  border-color: rgba(255, 60, 60, 0.35);
  background: rgba(255, 60, 60, 0.18);
  color: #ffcaca;
  box-shadow: 0 0 15px rgba(255, 50, 50, 0.35);
}

.bank-inline-message.is-error::before {
  color: #ff6e6e;
  opacity: 0.15;
}

.bank-inline-autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.22rem);
  z-index: 9;
  border: 1px solid rgba(52, 211, 153, 0.24);
  border-radius: 0.62rem;
  background: rgba(3, 20, 14, 0.96);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(2, 20, 14, 0.42);
}

.bank-inline-autocomplete.is-hidden {
  display: none;
}

.bank-inline-autocomplete-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #dcfce7;
  text-align: left;
  font-size: 0.76rem;
  padding: 0.45rem 0.58rem;
  cursor: pointer;
}

.bank-inline-autocomplete-item:hover {
  background: rgba(16, 185, 129, 0.18);
}

@media (max-width: 640px) {
  .bank-inline-summary {
    grid-template-columns: 1fr;
  }

  .bank-inline-recipient-wrap {
    width: 100%;
  }

  .bank-inline-recipient-wrap .bank-inline-input {
    width: 100%;
  }

  .bank-inline-row,
    .bank-inline-row.bank-inline-row-split {
    flex-direction: column;
    align-items: stretch;
  }

  .bank-inline-btn {
    width: 100%;
  }
}

#map-modal .map-modal-tab {
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 9999px;
  background: rgba(7, 18, 20, 0.7);
  color: rgba(167, 243, 208, 0.9);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0.8rem 1rem;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

#map-modal .map-modal-tab:hover {
  border-color: rgba(110, 231, 183, 0.56);
  background: rgba(6, 78, 59, 0.24);
  color: rgba(236, 253, 245, 0.95);
}

#map-modal .map-modal-tab.is-active {
  border-color: rgba(110, 231, 183, 0.74);
  background: linear-gradient(145deg, rgba(6, 78, 59, 0.56), rgba(4, 120, 87, 0.24));
  color: rgba(236, 253, 245, 0.98);
  box-shadow: 0 0 0 1px rgba(110, 231, 183, 0.16), 0 0 18px rgba(16, 185, 129, 0.16);
}

#map-modal .map-tab-panel[hidden] {
  display: none !important;
}

#map-modal .map-sector-scroll {
  position: relative;
  cursor: grab;
  overscroll-behavior: contain;
  background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.1), transparent 34%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(2, 12, 20, 0.9), rgba(2, 20, 28, 0.98));
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.08);
}

#map-modal .map-sector-scroll.is-dragging {
  cursor: grabbing;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

#map-modal .map-sector-scene {
  flex: 0 0 auto;
  min-width: 0;
  min-height: 0;
}

#map-modal .map-sector-canvas {
  position: absolute;
  inset: 0;
  display: block;
}

#map-modal .map-sector-empty-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  color: rgba(209, 250, 229, 0.9);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, rgba(2, 12, 20, 0.92), rgba(2, 20, 28, 0.98));
}

@media (max-width: 1279px) {
  #map-modal .map-sector-scroll {
    min-height: 24rem;
  }
}

@media (max-width: 767px) {
  #map-modal .map-modal-tab {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    padding: 0.72rem 0.9rem;
  }

  #map-modal .map-sector-scroll {
    min-height: 18rem;
  }
}

#map-modal .map-modal-tab {
  border-radius: 0.4rem;
  padding: 0.78rem 1.05rem;
  background:
        linear-gradient(180deg, rgba(7, 18, 20, 0.96), rgba(5, 30, 28, 0.92));
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.08);
}

#map-modal .map-modal-tab.is-active {
  background:
        linear-gradient(180deg, rgba(8, 76, 62, 0.92), rgba(5, 48, 43, 0.96));
}

#map-modal .map-modal-tab-rail {
  align-items: stretch;
  gap: 0;
  padding: 0.35rem;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 0.8rem;
  background:
        linear-gradient(180deg, rgba(4, 18, 20, 0.98), rgba(4, 29, 28, 0.92));
  box-shadow:
        inset 0 1px 0 rgba(110, 231, 183, 0.05),
        inset 0 0 0 1px rgba(16, 185, 129, 0.08);
}

#map-modal .map-modal-tab {
  position: relative;
  min-width: 8.5rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: rgba(125, 211, 252, 0.72);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  padding: 0.88rem 1.2rem;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.08);
  box-shadow: none;
}

#map-modal .map-modal-tab::before {
  content: "";
  position: absolute;
  inset: 0.3rem 0.4rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

#map-modal .map-modal-tab:hover {
  background: transparent;
  color: rgba(209, 250, 229, 0.94);
}

#map-modal .map-modal-tab:hover::before {
  border-color: rgba(56, 189, 248, 0.22);
  background: linear-gradient(180deg, rgba(8, 35, 41, 0.78), rgba(6, 26, 31, 0.28));
}

#map-modal .map-modal-tab.is-active {
  color: rgba(236, 253, 245, 0.98);
  background: linear-gradient(180deg, rgba(7, 72, 61, 0.95), rgba(7, 42, 40, 0.96));
  box-shadow:
        inset 0 1px 0 rgba(167, 243, 208, 0.14),
        0 0 18px rgba(16, 185, 129, 0.16);
}

#map-modal .map-modal-tab.is-active::before {
  border-color: rgba(110, 231, 183, 0.34);
  background: linear-gradient(180deg, rgba(20, 83, 72, 0.28), rgba(4, 32, 30, 0.02));
  box-shadow: inset 0 0 0 1px rgba(110, 231, 183, 0.08);
}

@media (max-width: 767px) {
  #map-modal .map-modal-tab {
    min-width: 7rem;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    padding: 0.78rem 0.9rem;
  }
}

#map-modal .map-sector-empty-state.hidden {
  display: none;
}

#map-modal .map-modal-tab-rail {
  border-radius: 0;
}

#map-modal .map-sector-scroll {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

#map-modal .map-sector-scene {
  position: relative;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 0;
}

#map-modal .map-sector-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#map-modal .map-sector-filter-shell {
  position: relative;
  z-index: 24;
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 0;
}

#map-modal .map-sector-filter-shell.is-open {
  z-index: 28;
}

#map-modal .map-sector-filter-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.72rem;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  padding: 0.68rem 0.86rem 0.62rem;
  border: 1px solid rgba(71, 85, 105, 0.72);
  border-radius: 0;
  clip-path: polygon(0.7rem 0, 100% 0, 100% calc(100% - 0.7rem), calc(100% - 0.7rem) 100%, 0 100%, 0 0.7rem);
  background:
        linear-gradient(180deg, rgba(5, 16, 21, 0.96), rgba(3, 10, 14, 0.96)),
        linear-gradient(90deg, rgba(8, 145, 178, 0.12), rgba(16, 185, 129, 0.06));
  color: rgba(224, 242, 254, 0.92);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(15, 23, 42, 0.55);
  transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

#map-modal .map-sector-filter-toggle::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  top: 0.26rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0), rgba(125, 211, 252, 0.5), rgba(52, 211, 153, 0.22));
  opacity: 0.78;
}

#map-modal .map-sector-filter-toggle:hover {
  border-color: rgba(56, 189, 248, 0.48);
  color: rgba(240, 249, 255, 1);
  box-shadow: inset 0 1px 0 rgba(125, 211, 252, 0.14), 0 0 20px rgba(8, 145, 178, 0.14);
  transform: translateY(-1px);
}

#map-modal .map-sector-filter-toggle:focus-visible {
  outline: none;
  border-color: rgba(125, 211, 252, 0.72);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.4), 0 0 22px rgba(56, 189, 248, 0.18);
}

#map-modal .map-sector-filter-toggle__icons {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: rgba(167, 243, 208, 0.88);
  font-size: 0.82rem;
}

#map-modal .map-sector-filter-toggle__chevron {
  transition: transform 180ms ease;
}

#map-modal .map-sector-filter-toggle:not(.is-collapsed) .map-sector-filter-toggle__chevron {
  transform: rotate(90deg);
}

#map-modal .map-sector-filter-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.42rem);
  width: min(22rem, calc(100vw - 2rem));
  padding: 0.76rem 0.82rem 0.22rem;
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, rgba(4, 18, 22, 0.95), rgba(4, 15, 20, 0.92));
  box-shadow:
        0 18px 40px rgba(2, 12, 18, 0.44),
        inset 0 1px 0 rgba(125, 211, 252, 0.04),
        inset 0 0 0 1px rgba(16, 185, 129, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  -moz-column-width: 10.9rem;
       column-width: 10.9rem;
  -moz-column-gap: 0.65rem;
       column-gap: 0.65rem;
  max-height: min(18rem, 60vh);
  overflow: auto;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, padding 180ms ease, border-color 180ms ease;
}

#map-modal .map-sector-filter-panel.is-collapsed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  opacity: 0;
  transform: translateY(0.45rem);
  pointer-events: none;
  overflow: hidden;
}

#map-modal .map-sector-filter {
  position: relative;
  display: flex;
  width: 100%;
  margin: 0 0 0.55rem;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  align-items: center;
  justify-content: center;
  min-height: 2.08rem;
  padding: 0.46rem 0.86rem 0.42rem;
  border: 1px solid rgba(71, 85, 105, 0.72);
  border-radius: 0;
  clip-path: polygon(0.55rem 0, 100% 0, 100% calc(100% - 0.55rem), calc(100% - 0.55rem) 100%, 0 100%, 0 0.55rem);
  background:
        linear-gradient(180deg, rgba(5, 16, 21, 0.96), rgba(3, 10, 14, 0.96)),
        linear-gradient(90deg, rgba(8, 145, 178, 0.08), rgba(16, 185, 129, 0.04));
  box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(125, 211, 252, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.24);
  color: rgba(203, 213, 225, 0.86);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(15, 23, 42, 0.5);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

#map-modal .map-sector-filter::before,
#map-modal .map-sector-filter::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

#map-modal .map-sector-filter::before {
  left: 0.42rem;
  right: 0.42rem;
  top: 0.24rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0), rgba(125, 211, 252, 0.48), rgba(52, 211, 153, 0.18));
  opacity: 0.72;
}

#map-modal .map-sector-filter::after {
  width: 0.56rem;
  height: 0.56rem;
  right: 0.16rem;
  bottom: 0.16rem;
  border-right: 1px solid rgba(52, 211, 153, 0.34);
  border-bottom: 1px solid rgba(52, 211, 153, 0.34);
  opacity: 0.56;
}

#map-modal .map-sector-filter:hover {
  border-color: rgba(56, 189, 248, 0.44);
  background:
        linear-gradient(180deg, rgba(7, 22, 30, 0.98), rgba(5, 13, 18, 0.98)),
        linear-gradient(90deg, rgba(8, 145, 178, 0.14), rgba(16, 185, 129, 0.08));
  box-shadow:
        inset 0 0 0 1px rgba(125, 211, 252, 0.05),
        inset 0 1px 0 rgba(125, 211, 252, 0.14),
        0 0 20px rgba(8, 145, 178, 0.14);
  color: rgba(240, 249, 255, 0.98);
  transform: translateY(-1px);
}

#map-modal .map-sector-filter:hover::before {
  opacity: 1;
}

#map-modal .map-sector-filter:hover::after {
  border-color: rgba(125, 211, 252, 0.52);
  opacity: 0.9;
}

#map-modal .map-sector-filter.is-active {
  border-color: rgba(52, 211, 153, 0.5);
  background:
        linear-gradient(180deg, rgba(5, 42, 39, 0.98), rgba(3, 18, 21, 0.98)),
        linear-gradient(90deg, rgba(8, 145, 178, 0.18), rgba(16, 185, 129, 0.12));
  box-shadow:
        inset 0 0 0 1px rgba(167, 243, 208, 0.06),
        inset 0 1px 0 rgba(167, 243, 208, 0.14),
        0 0 24px rgba(16, 185, 129, 0.16);
  color: rgba(236, 253, 245, 0.98);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.16);
}

#map-modal .map-sector-filter.is-active::before {
  background: linear-gradient(90deg, rgba(167, 243, 208, 0), rgba(167, 243, 208, 0.72), rgba(125, 211, 252, 0.3));
  opacity: 1;
}

#map-modal .map-sector-filter.is-active::after {
  border-right-color: rgba(167, 243, 208, 0.68);
  border-bottom-color: rgba(167, 243, 208, 0.68);
  opacity: 1;
}

#map-modal .map-sector-filter:focus-visible {
  outline: none;
  border-color: rgba(125, 211, 252, 0.72);
  box-shadow:
        inset 0 0 0 1px rgba(125, 211, 252, 0.08),
        0 0 0 1px rgba(125, 211, 252, 0.4),
        0 0 22px rgba(56, 189, 248, 0.18);
  color: rgba(240, 249, 255, 1);
}

#map-modal .map-world-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#map-modal .map-world-distance,
#map-modal .map-world-toolbar {
  width: 100%;
}

#map-modal .map-world-toolbar {
  justify-content: flex-start;
}

#map-modal .map-world-tool-button {
  width: auto;
  min-width: 2.08rem;
  min-height: 2.08rem;
  margin: 0;
  aspect-ratio: 1 / 1;
}

@media (min-width: 768px) {
  #map-modal .map-world-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  #map-modal .map-world-distance {
    flex: 1 1 0;
    width: auto;
  }

  #map-modal .map-world-toolbar {
    width: auto;
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  #map-modal .map-sector-filter-shell {
    position: static;
    justify-items: end;
  }

  #map-modal .map-world-toolbar {
    flex-wrap: nowrap;
    gap: 0.42rem;
  }

  #map-modal .map-world-tool-button {
    min-width: 2rem;
    min-height: 2rem;
    padding: 0.42rem 0.6rem;
    font-size: 0.66rem;
  }

  #map-modal .map-sector-filter-toggle {
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    padding: 0.6rem 0.72rem 0.54rem;
    font-size: 0.66rem;
    letter-spacing: 0.15em;
  }

  #map-modal .map-sector-filter-panel {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    width: auto;
    max-width: calc(100vw - 1.5rem);
    box-sizing: border-box;
    padding: 0.7rem 0.72rem 0.2rem;
    -moz-column-count: 2;
         column-count: 2;
    -moz-column-width: auto;
         column-width: auto;
    -moz-column-gap: 0.55rem;
         column-gap: 0.55rem;
    max-height: min(18rem, 52dvh);
  }

  #map-modal .map-sector-filter {
    font-size: 0.66rem;
    margin-bottom: 0.48rem;
    padding: 0.42rem 0.72rem 0.4rem;
  }
}

@media (max-width: 560px) {
  #map-modal .map-sector-filter-panel {
    -moz-column-count: 1;
         column-count: 1;
    -moz-column-width: auto;
         column-width: auto;
  }
}

#map-modal .map-sector-interference {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

#map-modal .map-sector-interference::before,
#map-modal .map-sector-interference::after {
  content: "";
  position: absolute;
  inset: 0;
}

#map-modal .map-sector-interference::before {
  background:
        repeating-linear-gradient(180deg, rgba(186, 230, 253, 0.08) 0 1px, transparent 1px 4px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(16, 185, 129, 0.05));
  mix-blend-mode: screen;
  opacity: 0.34;
  animation: map-sector-flicker 5.4s steps(2, end) infinite;
}

#map-modal .map-sector-interference::after {
  background:
        radial-gradient(circle at 18% 14%, rgba(56, 189, 248, 0.12), transparent 24%),
        radial-gradient(circle at 82% 72%, rgba(16, 185, 129, 0.08), transparent 26%),
        linear-gradient(125deg, transparent 20%, rgba(186, 230, 253, 0.06) 50%, transparent 78%);
  mix-blend-mode: screen;
  opacity: 0.4;
  transform: translate3d(0, 0, 0);
  animation: map-sector-drift 8.5s linear infinite;
}

#map-modal .map-sector-interference__band {
  position: absolute;
  left: 0;
  right: 0;
  top: -18%;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.08), rgba(16, 185, 129, 0.12), transparent);
  filter: blur(14px);
  opacity: 0.46;
  animation: map-sector-sweep 6.8s linear infinite;
}

@keyframes map-sector-flicker {
  0%, 18%, 22%, 64%, 100% {
    opacity: 0.34;
  }

  20% {
    opacity: 0.46;
  }

  66% {
    opacity: 0.28;
  }
}

@keyframes map-sector-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0.8%, 1.2%, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes map-sector-sweep {
  0% {
    transform: translateY(0);
  }

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

@media (max-width: 767px) {
  #map-modal .map-sector-filter-bar {
    gap: 0.42rem;
  }

  #map-modal .map-sector-filter-title {
    font-size: 0.64rem;
  }

  #map-modal .map-sector-filter {
    font-size: 0.68rem;
    padding: 0.42rem 0.7rem;
  }
}

#craft-modal {
  --craft-bg: rgba(8, 18, 29, 0.96);
  --craft-panel: rgba(9, 22, 34, 0.82);
  --craft-panel-strong: rgba(4, 10, 18, 0.92);
  --craft-line: rgba(99, 230, 255, 0.22);
  --craft-line-strong: rgba(99, 230, 255, 0.42);
  --craft-accent: #63e6ff;
  --craft-accent-soft: #8ff7d8;
  --craft-text: #dcfbff;
  --craft-muted: #89b8c7;
  --craft-warning: #ffb454;
  --craft-danger: #ff7d7d;
  --craft-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

#craft-modal[data-craft-mode="station"] {
  --craft-bg: rgba(25, 19, 15, 0.97);
  --craft-panel: rgba(39, 31, 24, 0.84);
  --craft-panel-strong: rgba(20, 15, 12, 0.94);
  --craft-line: rgba(255, 155, 84, 0.22);
  --craft-line-strong: rgba(255, 155, 84, 0.42);
  --craft-accent: #ff9b54;
  --craft-accent-soft: #ffd36e;
  --craft-text: #fff2df;
  --craft-muted: #cfb59a;
  --craft-warning: #ffd15a;
  --craft-danger: #ff8668;
}

#craft-modal .craft-shell {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 0;
  background:
        linear-gradient(180deg, color-mix(in srgb, var(--craft-bg) 95%, black), color-mix(in srgb, var(--craft-panel-strong) 94%, black)),
        radial-gradient(circle at top right, color-mix(in srgb, var(--craft-accent) 12%, transparent), transparent 38%);
  border: 1px solid var(--craft-line);
  box-shadow: var(--craft-shadow);
}

#craft-modal .craft-header,
#craft-modal .craft-modal-pane,
#craft-modal .craft-context-banner,
#craft-modal .craft-footer {
  position: relative;
  overflow: hidden;
}

#craft-modal .craft-header::before,
#craft-modal .craft-modal-pane::before,
#craft-modal .craft-context-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
        linear-gradient(90deg, color-mix(in srgb, var(--craft-accent) 10%, transparent), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.03), transparent 24%);
}

#craft-modal .craft-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--craft-panel) 90%, black), color-mix(in srgb, var(--craft-panel-strong) 96%, black));
}

#craft-modal .craft-header__title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

#craft-modal .craft-header__title-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 54px;
  min-width: 0;
}

#craft-modal .craft-header__icon-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--craft-line-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 0 24px color-mix(in srgb, var(--craft-accent) 16%, transparent);
  color: var(--craft-accent);
  font-size: 1.6rem;
}

#craft-modal .craft-header__title {
  margin: 0;
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--craft-text);
}

#craft-modal .craft-header__status {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#craft-modal .craft-stat {
  min-width: 120px;
  padding: 10px 12px;
  border: 1px solid var(--craft-line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

#craft-modal .craft-stat__label,
#craft-modal .craft-info-card__label,
#craft-modal .craft-metric-card__label,
#craft-modal .craft-quantity-field__label,
#craft-modal .craft-section-heading__title,
#craft-modal .craft-browser__group-meta,
#craft-modal .craft-stage__mode-label {
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--craft-muted);
}

#craft-modal .craft-stat__value,
#craft-modal .craft-info-card__value,
#craft-modal .craft-metric-card__value {
  display: block;
  margin-top: 6px;
  color: var(--craft-text);
  font-size: 0.95rem;
  font-weight: 700;
}

.sf-modal-close-icon-btn {
  --sf-close-accent: #10b981;
  --sf-close-soft: #6ee7b7;
  --sf-close-text: #b7f7dd;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--sf-close-accent) 45%, rgba(103, 232, 249, 0.28));
  border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  background:
        linear-gradient(180deg, color-mix(in srgb, var(--sf-close-accent) 16%, transparent), rgba(2, 10, 10, 0.96) 45%, rgba(0, 0, 0, 0.98)),
        linear-gradient(120deg, color-mix(in srgb, var(--sf-close-soft) 18%, transparent), transparent 38%),
        linear-gradient(300deg, color-mix(in srgb, var(--sf-close-accent) 18%, transparent), transparent 40%);
  color: var(--sf-close-text);
  line-height: 1;
  text-shadow: 0 0 12px color-mix(in srgb, var(--sf-close-accent) 26%, transparent);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 0 1px color-mix(in srgb, var(--sf-close-accent) 28%, transparent),
        0 0 0 1px rgba(0, 0, 0, 0.32),
        0 0 26px color-mix(in srgb, var(--sf-close-accent) 14%, transparent);
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.sf-modal-close-icon-btn > * {
  position: relative;
  z-index: 1;
}

.sf-modal-close-icon-btn::before,
.sf-modal-close-icon-btn::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.sf-modal-close-icon-btn::before {
  inset: 1px;
  clip-path: inherit;
  border: 1px solid color-mix(in srgb, var(--sf-close-soft) 20%, transparent);
  opacity: 0.9;
}

.sf-modal-close-icon-btn::after {
  left: 11px;
  right: 11px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sf-close-soft) 95%, transparent), color-mix(in srgb, var(--sf-close-accent) 72%, transparent), transparent);
  opacity: 0.9;
}

.sf-modal-close-icon-btn:hover {
  border-color: color-mix(in srgb, var(--sf-close-soft) 56%, rgba(186, 230, 253, 0.5));
  color: #f3fffb;
  background:
        linear-gradient(180deg, color-mix(in srgb, var(--sf-close-accent) 24%, transparent), rgba(2, 10, 10, 0.96) 44%, rgba(0, 0, 0, 0.98)),
        linear-gradient(120deg, color-mix(in srgb, var(--sf-close-soft) 22%, transparent), transparent 38%),
        linear-gradient(300deg, color-mix(in srgb, var(--sf-close-accent) 22%, transparent), transparent 40%);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px color-mix(in srgb, var(--sf-close-accent) 34%, transparent),
        0 0 0 1px rgba(0, 0, 0, 0.26),
        0 0 32px color-mix(in srgb, var(--sf-close-accent) 22%, transparent);
  transform: translateY(-1px);
}

.sf-modal-close-icon-btn:active {
  transform: translateY(0);
}

.sf-modal-close-icon-btn:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--sf-close-soft) 58%, white 12%);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px color-mix(in srgb, var(--sf-close-accent) 30%, transparent),
        0 0 0 2px color-mix(in srgb, var(--sf-close-soft) 20%, transparent),
        0 0 28px color-mix(in srgb, var(--sf-close-accent) 18%, transparent);
}

#craft-modal .sf-modal-close-icon-btn {
  --sf-close-accent: var(--craft-accent);
  --sf-close-soft: var(--craft-accent-soft);
  --sf-close-text: color-mix(in srgb, var(--craft-text) 88%, white 12%);
}

.sf-modal-close-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: -moz-max-content;
  width: max-content;
  min-width: 148px;
  min-height: 46px;
  padding: 0 22px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--craft-accent) 45%, rgba(103, 232, 249, 0.28));
  border-radius: 0;
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  background:
        linear-gradient(180deg, rgba(16, 185, 129, 0.16), rgba(2, 10, 10, 0.96) 45%, rgba(0, 0, 0, 0.98)),
        linear-gradient(120deg, rgba(34, 211, 238, 0.12), transparent 38%),
        linear-gradient(300deg, rgba(16, 185, 129, 0.16), transparent 40%);
  color: #b7f7dd;
  white-space: nowrap;
  line-height: 1;
  font-family: "Orbitron", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.22);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 0 1px rgba(6, 95, 70, 0.34),
        0 0 0 1px rgba(0, 0, 0, 0.32),
        0 0 26px rgba(16, 185, 129, 0.12);
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.sf-modal-close-btn::before,
.sf-modal-close-btn::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.sf-modal-close-btn::before {
  inset: 1px;
  clip-path: inherit;
  border: 1px solid rgba(110, 231, 183, 0.14);
  opacity: 0.9;
}

.sf-modal-close-btn::after {
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 231, 183, 0.95), rgba(34, 211, 238, 0.7), transparent);
  opacity: 0.9;
}

.sf-modal-close-btn:hover {
  border-color: color-mix(in srgb, var(--craft-accent-soft) 56%, rgba(186, 230, 253, 0.5));
  color: #f3fffb;
  background:
        linear-gradient(180deg, rgba(16, 185, 129, 0.24), rgba(2, 10, 10, 0.96) 44%, rgba(0, 0, 0, 0.98)),
        linear-gradient(120deg, rgba(34, 211, 238, 0.18), transparent 38%),
        linear-gradient(300deg, rgba(16, 185, 129, 0.22), transparent 40%);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(16, 185, 129, 0.34),
        0 0 0 1px rgba(0, 0, 0, 0.26),
        0 0 32px rgba(16, 185, 129, 0.22);
  transform: translateY(-1px);
}

.sf-modal-close-btn:active {
  transform: translateY(0);
}

.sf-modal-close-btn:focus-visible {
  outline: none;
  border-color: rgba(125, 211, 252, 0.68);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(16, 185, 129, 0.3),
        0 0 0 2px rgba(34, 211, 238, 0.22),
        0 0 28px rgba(16, 185, 129, 0.18);
}

#group-modal #group-invite-send-btn,
#group-modal #group-leave-btn,
#group-modal #group-disband-btn,
#group-modal .group-inline-btn,
#options-modal .options-action-btn,
.bank-inline-btn,
.wreck-loot-btn,
.ui-choice-modal-btn,
.corporation-inline-root .corp-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  font-family: "Orbitron", sans-serif;
  line-height: 1.14;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 0 10px color-mix(in srgb, currentColor 18%, transparent);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 0 1px color-mix(in srgb, currentColor 14%, transparent),
        0 0 0 1px rgba(0, 0, 0, 0.28),
        0 0 18px color-mix(in srgb, currentColor 10%, transparent);
  transition:
        transform 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

#group-modal #group-invite-send-btn,
#group-modal #group-leave-btn,
#group-modal #group-disband-btn,
#options-modal .options-action-btn,
.bank-inline-btn {
  min-height: 42px;
  padding-top: 0.58rem;
  padding-bottom: 0.58rem;
}

#group-modal .group-inline-btn,
.wreck-loot-btn,
.ui-choice-modal-btn,
.corporation-inline-root .corp-action-btn {
  min-height: 36px;
  padding-top: 0.42rem;
  padding-bottom: 0.42rem;
}

#group-modal #group-invite-send-btn::before,
#group-modal #group-leave-btn::before,
#group-modal #group-disband-btn::before,
#group-modal .group-inline-btn::before,
#options-modal .options-action-btn::before,
.bank-inline-btn::before,
.wreck-loot-btn::before,
.ui-choice-modal-btn::before,
.corporation-inline-root .corp-action-btn::before,
#group-modal #group-invite-send-btn::after,
#group-modal #group-leave-btn::after,
#group-modal #group-disband-btn::after,
#group-modal .group-inline-btn::after,
#options-modal .options-action-btn::after,
.bank-inline-btn::after,
.wreck-loot-btn::after,
.ui-choice-modal-btn::after,
.corporation-inline-root .corp-action-btn::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

#group-modal #group-invite-send-btn::before,
#group-modal #group-leave-btn::before,
#group-modal #group-disband-btn::before,
#group-modal .group-inline-btn::before,
#options-modal .options-action-btn::before,
.bank-inline-btn::before,
.wreck-loot-btn::before,
.ui-choice-modal-btn::before,
.corporation-inline-root .corp-action-btn::before {
  inset: 1px;
  clip-path: inherit;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  background:
        linear-gradient(180deg, color-mix(in srgb, currentColor 14%, transparent), transparent 38%),
        linear-gradient(120deg, color-mix(in srgb, currentColor 8%, rgba(255, 255, 255, 0.02)), transparent 42%);
  opacity: 0.95;
}

#group-modal #group-invite-send-btn::after,
#group-modal #group-leave-btn::after,
#group-modal #group-disband-btn::after,
#group-modal .group-inline-btn::after,
#options-modal .options-action-btn::after,
.bank-inline-btn::after,
.wreck-loot-btn::after,
.ui-choice-modal-btn::after,
.corporation-inline-root .corp-action-btn::after {
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, currentColor 92%, white 8%), transparent);
  opacity: 0.8;
}

#group-modal .group-inline-btn,
.bank-inline-btn,
.wreck-loot-btn,
.ui-choice-modal-btn,
.corporation-inline-root .corp-action-btn {
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  letter-spacing: 0.08em;
}

#group-modal .group-inline-btn::after,
.bank-inline-btn::after,
.wreck-loot-btn::after,
.ui-choice-modal-btn::after,
.corporation-inline-root .corp-action-btn::after {
  left: 8px;
  right: 8px;
  bottom: 4px;
}

#group-modal #group-invite-send-btn:hover,
#group-modal #group-leave-btn:hover,
#group-modal #group-disband-btn:hover,
#group-modal .group-inline-btn:hover,
#options-modal .options-action-btn:hover,
.bank-inline-btn:hover,
.wreck-loot-btn:hover:not(:disabled),
.ui-choice-modal-btn:hover,
.corporation-inline-root .corp-action-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent),
        0 0 0 1px rgba(0, 0, 0, 0.24),
        0 0 24px color-mix(in srgb, currentColor 16%, transparent);
}

#group-modal #group-invite-send-btn:active,
#group-modal #group-leave-btn:active,
#group-modal #group-disband-btn:active,
#group-modal .group-inline-btn:active,
#options-modal .options-action-btn:active,
.bank-inline-btn:active,
.wreck-loot-btn:active,
.ui-choice-modal-btn:active,
.corporation-inline-root .corp-action-btn:active {
  transform: translateY(0);
}

#group-modal #group-invite-send-btn:focus-visible,
#group-modal #group-leave-btn:focus-visible,
#group-modal #group-disband-btn:focus-visible,
#group-modal .group-inline-btn:focus-visible,
#options-modal .options-action-btn:focus-visible,
.bank-inline-btn:focus-visible,
.wreck-loot-btn:focus-visible,
.ui-choice-modal-btn:focus-visible,
.corporation-inline-root .corp-action-btn:focus-visible {
  outline: none;
  box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent),
        0 0 0 2px color-mix(in srgb, currentColor 20%, transparent),
        0 0 24px color-mix(in srgb, currentColor 16%, transparent);
}

#craft-modal .craft-header__close {
  flex: 0 0 auto;
}

#craft-modal .craft-feedback {
  margin: 10px 20px 0;
  padding: 10px 14px;
  border: 1px solid var(--craft-line);
  border-radius: 14px;
  font-size: 0.82rem;
}

#craft-modal .craft-feedback--info {
  border-color: color-mix(in srgb, var(--craft-accent) 38%, transparent);
  background: color-mix(in srgb, var(--craft-accent) 10%, transparent);
  color: var(--craft-text);
}

#craft-modal .craft-feedback--error {
  border-color: color-mix(in srgb, var(--craft-danger) 44%, transparent);
  background: color-mix(in srgb, var(--craft-danger) 12%, transparent);
  color: #fff0f0;
}

#craft-modal .craft-feedback--success {
  border-color: color-mix(in srgb, var(--craft-accent-soft) 40%, transparent);
  background: color-mix(in srgb, var(--craft-accent-soft) 10%, transparent);
  color: var(--craft-text);
}

#craft-modal .craft-context-banner {
  margin: 10px 20px 0;
  padding: 10px 14px;
  border: 1px solid var(--craft-line);
  border-radius: 14px;
  font-size: 0.8rem;
  color: var(--craft-text);
}

#craft-modal .craft-context-banner--warning {
  border-color: color-mix(in srgb, var(--craft-warning) 40%, transparent);
  background: color-mix(in srgb, var(--craft-warning) 12%, transparent);
}

#craft-modal .craft-context-banner--info {
  border-color: color-mix(in srgb, var(--craft-accent) 30%, transparent);
  background: color-mix(in srgb, var(--craft-accent) 10%, transparent);
}

#craft-modal .craft-browser-toolbar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 20px 8px;
}

#craft-modal .craft-category-tabs {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

#craft-modal .craft-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--craft-line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  color: color-mix(in srgb, var(--craft-text) 74%, transparent);
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#craft-modal .craft-tab--category {
  justify-content: flex-start;
  flex: 0 0 auto;
}

#craft-modal .craft-tab.is-active {
  color: var(--craft-text);
  border-color: var(--craft-line-strong);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 0 20px color-mix(in srgb, var(--craft-accent) 14%, transparent);
}

#craft-modal .craft-body {
  min-height: 0;
  padding: 0 20px 20px;
}

#craft-modal .craft-body--recipes {
  --craft-recipe-columns: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  grid-template-areas:
        "stage stage"
        "browser inspector";
  gap: 16px;
  align-items: stretch;
  overflow: hidden;
}

#craft-modal .craft-body--queue {
  display: block;
}

#corporation-modal,
.corporation-inline-root {
  --corp-accent: #6ee7b7;
  --corp-accent-strong: #34d399;
  --corp-accent-soft: rgba(16, 185, 129, 0.16);
  --corp-gold: #e0bd6a;
  --corp-line: rgba(52, 211, 153, 0.16);
  --corp-line-strong: rgba(110, 231, 183, 0.28);
  --corp-panel: rgba(9, 12, 15, 0.95);
  --corp-panel-strong: rgba(3, 7, 7, 0.92);
  --corp-text: #d1fae5;
  --corp-muted: rgba(110, 231, 183, 0.76);
  --corp-shadow: 0 16px 34px rgba(0, 0, 0, 0.24), 0 0 18px rgba(16, 185, 129, 0.1);
}

#corporation-modal .corporation-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.14), transparent 40%),
        linear-gradient(180deg, rgba(9, 12, 15, 0.95), rgba(3, 7, 7, 0.92));
  box-shadow: none !important;
}

#corporation-modal .corporation-shell::before {
  content: none;
}

#corporation-modal .corporation-shell__header,
.corporation-inline-root .corp-panel,
.corporation-inline-root .corp-summary-banner,
.corporation-inline-root .corp-menu-card {
  position: relative;
  overflow: hidden;
}

#corporation-modal .corporation-shell__header::after,
.corporation-inline-root .corp-panel::before,
.corporation-inline-root .corp-summary-banner::before,
.corporation-inline-root .corp-menu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
        linear-gradient(90deg, rgba(16, 185, 129, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(16, 185, 129, 0.05), transparent 24%);
}

#corporation-modal .corporation-shell__header {
  min-height: 4rem;
}

#corporation-modal .corporation-shell__body {
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden;
  background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(9, 12, 15, 0.95), rgba(3, 7, 7, 0.92));
}

#corporation-modal .corporation-shell__body > .corporation-inline-root,
.corporation-inline-root {
  font-family: "Rajdhani", "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.01em;
}

.corporation-inline-root .corp-panel,
.corporation-inline-root .corp-summary-banner {
  border-color: var(--corp-line) !important;
  background:
        linear-gradient(180deg, rgba(10, 18, 20, 0.92), rgba(5, 10, 12, 0.98)),
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.06), transparent 38%);
  box-shadow: var(--corp-shadow);
}

.corporation-inline-root .corp-summary-banner {
  border-radius: 24px !important;
}

#corporation-modal .corp-overview-header {
  min-height: 150px;
  border-bottom: 0;
  background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(9, 12, 15, 0.96), rgba(3, 7, 7, 0.92));
}

#corporation-modal .corp-overview-content {
  max-width: 56rem;
}

.corporation-inline-root .corp-member-row {
  display: grid;
}

.corporation-inline-root .corp-member-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.corporation-inline-root .corp-role-editor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.corporation-inline-root .corp-member-meta {
  min-width: 0;
}

#corporation-modal .corp-member-title-bar,
.corporation-inline-root .corp-member-title-bar {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

#corporation-modal .corp-member-identity,
.corporation-inline-root .corp-member-identity {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.35rem;
}

#corporation-modal .corp-member-name-row,
.corporation-inline-root .corp-member-name-row {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  min-height: 1rem;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

#corporation-modal .corp-member-button-row,
.corporation-inline-root .corp-member-button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.corporation-inline-root .corp-member-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem !important;
  min-width: 3rem !important;
  height: 3rem !important;
  min-height: 3rem !important;
  padding: 0;
  border: 0 !important;
  border-radius: 9999px;
  background: transparent !important;
  color: rgba(110, 231, 183, 0.92);
  box-shadow: none !important;
  transition: color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.corporation-inline-root .corp-member-action-btn::before,
.corporation-inline-root .corp-member-action-btn::after {
  content: none !important;
}

.corporation-inline-root .corp-member-action-btn[data-tone="ghost"] {
  color: rgba(110, 231, 183, 0.92);
}

.corporation-inline-root .corp-member-action-btn[data-tone="gold"] {
  color: rgba(252, 211, 77, 0.94);
}

.corporation-inline-root .corp-member-action-btn[data-tone="danger"] {
  color: rgba(248, 113, 113, 0.94);
}

.corporation-inline-root .corp-member-action-btn:hover:not(:disabled) {
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(-1px) scale(1.03);
}

.corporation-inline-root .corp-member-action-btn[data-tone="ghost"]:hover:not(:disabled) {
  color: rgba(209, 250, 229, 0.98);
}

.corporation-inline-root .corp-member-action-btn[data-tone="gold"]:hover:not(:disabled) {
  color: rgba(253, 230, 138, 0.98);
}

.corporation-inline-root .corp-member-action-btn[data-tone="danger"]:hover:not(:disabled) {
  color: rgba(252, 165, 165, 0.98);
}

.corporation-inline-root .corp-member-action-btn:active {
  transform: translateY(0);
}

.corporation-inline-root .corp-member-action-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(110, 231, 183, 0.18) !important;
}

.corporation-inline-root .corp-member-action-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.corporation-inline-root .corp-member-action-btn .iconify.corp-member-action-icon {
  width: 1.9rem !important;
  min-width: 1.9rem !important;
  height: 1.9rem !important;
}

.docking-inline-root .docking-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.docking-inline-root .docking-inline-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 11rem;
  padding: 1.25rem 1rem;
  border: 1px solid rgba(16, 185, 129, 0.16);
  border-radius: 1rem;
  background:
        radial-gradient(circle at top, rgba(16, 185, 129, 0.12), transparent 58%),
        rgba(0, 0, 0, 0.18);
  text-align: center;
}

.docking-inline-root .docking-inline-loading-title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(209, 250, 229, 0.95);
}

.docking-inline-root .docking-inline-loading-icon {
  width: 3rem;
  height: 3rem;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.25));
  animation: docking-inline-loader-spin 1.35s linear infinite;
}

@keyframes docking-inline-loader-spin {
  from {
    transform: rotate(0deg) scale(0.96);
    opacity: 0.78;
  }

  50% {
    transform: rotate(180deg) scale(1.04);
    opacity: 1;
  }

  to {
    transform: rotate(360deg) scale(0.96);
    opacity: 0.78;
  }
}

.docking-inline-root .docking-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
  min-height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: rgba(110, 231, 183, 0.92);
  box-shadow: none;
  transition: color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.docking-inline-root .docking-action-btn::before,
.docking-inline-root .docking-action-btn::after {
  content: none;
}

.docking-inline-root .docking-action-btn[data-tone="ghost"] {
  color: rgba(110, 231, 183, 0.92);
}

.docking-inline-root .docking-action-btn[data-tone="gold"] {
  color: rgba(252, 211, 77, 0.94);
}

.docking-inline-root .docking-action-btn:hover:not(:disabled) {
  background: transparent;
  box-shadow: none;
  transform: translateY(-1px) scale(1.03);
}

.docking-inline-root .docking-action-btn[data-tone="ghost"]:hover:not(:disabled) {
  color: rgba(209, 250, 229, 0.98);
}

.docking-inline-root .docking-action-btn[data-tone="gold"]:hover:not(:disabled) {
  color: rgba(253, 230, 138, 0.98);
}

.docking-inline-root .docking-action-btn:active {
  transform: translateY(0);
}

.docking-inline-root .docking-action-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(110, 231, 183, 0.18);
}

.docking-inline-root .docking-action-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.docking-inline-root .docking-action-btn .iconify.docking-action-icon {
  width: 1.9rem;
  min-width: 1.9rem;
  height: 1.9rem;
}

.docking-inline-root .docking-action-btn .docking-action-glyph {
  font-size: 1.35rem;
  line-height: 1;
}

.docking-inline-root .docking-ship-trigger {
  display: inline-block;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.docking-inline-root .docking-ship-trigger:hover,
.docking-inline-root .docking-ship-trigger:focus-visible {
  color: rgba(209, 250, 229, 0.98);
  outline: none;
}

.docking-inline-root .docking-ship-detail-content,
#inventory-modal .docking-ship-detail-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.docking-inline-root .docking-ship-detail-image,
#inventory-modal .docking-ship-detail-image {
  width: 100%;
  max-height: 11rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(16, 185, 129, 0.15);
  background: rgba(9, 12, 11, 0.82);
  -o-object-fit: cover;
     object-fit: cover;
}

.docking-inline-root .docking-ship-detail-list,
#inventory-modal .docking-ship-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(216, 252, 230, 0.94);
}

.docking-inline-root .docking-ship-detail-line strong,
#inventory-modal .docking-ship-detail-line strong {
  color: #A8FFDB;
  font-weight: 700;
}

.docking-inline-root .docking-ship-expanded,
#inventory-modal .docking-ship-expanded {
  margin-top: 0.9rem;
}

#corporation-modal .group-member-location,
.corporation-inline-root .group-member-location {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

#corporation-modal .group-member-name,
.corporation-inline-root .group-member-name,
#corporation-modal .corp-member-name-text,
.corporation-inline-root .corp-member-name-text {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  max-width: min(100%, 24rem);
  color: rgba(236, 253, 245, 0.96);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#corporation-modal .corp-member-rank,
.corporation-inline-root .corp-member-rank {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 1;
  white-space: nowrap;
  color: rgba(110, 231, 183, 0.8);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.corporation-inline-root .corp-role-select {
  min-width: 180px;
  border-color: rgba(110, 231, 183, 0.34) !important;
  background:
        linear-gradient(180deg, rgba(16, 185, 129, 0.12), rgba(6, 14, 14, 0.88)),
        rgba(6, 14, 14, 0.92) !important;
  color: rgba(236, 253, 245, 0.98) !important;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.1);
}

.corporation-inline-root .corp-role-select:focus {
  border-color: rgba(167, 243, 208, 0.7) !important;
  box-shadow:
        inset 0 0 0 1px rgba(16, 185, 129, 0.12),
        0 0 0 1px rgba(167, 243, 208, 0.28);
}

.corporation-inline-root .corp-role-select option {
  background: rgb(8, 16, 18);
  color: rgb(209, 250, 229);
}

#corporation-modal .group-member-sector,
#corporation-modal .group-member-coordinates,
.corporation-inline-root .group-member-sector,
.corporation-inline-root .group-member-coordinates {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 0.38rem;
  background: rgba(2, 44, 34, 0.38);
  padding: 0.11rem 0.38rem;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.08);
}

#corporation-modal .group-member-sector,
.corporation-inline-root .group-member-sector {
  flex: 0 1 auto;
}

#corporation-modal .group-member-coordinates,
.corporation-inline-root .group-member-coordinates {
  flex: 0 1 auto;
  background: rgba(1, 36, 56, 0.35);
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.08);
}

#corporation-modal .group-member-location-key,
.corporation-inline-root .group-member-location-key {
  flex: 0 0 auto;
  color: rgba(110, 231, 183, 0.85);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#corporation-modal .group-member-location-value,
.corporation-inline-root .group-member-location-value {
  flex: 0 1 auto;
  min-width: 0;
  color: rgba(236, 253, 245, 0.96);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#corporation-modal .group-member-location-value--mono,
.corporation-inline-root .group-member-location-value--mono {
  font-family: Consolas, "Courier New", monospace;
  color: rgba(186, 230, 253, 0.98);
}

.corporation-inline-root.corporation-inline-root--embedded .group-member-sector,
.corporation-inline-root.corporation-inline-root--embedded .group-member-coordinates {
  align-items: center;
}

.corporation-inline-root.corporation-inline-root--embedded .group-member-location-key,
.corporation-inline-root.corporation-inline-root--embedded .group-member-location-value {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.corporation-inline-root .corp-stock-grid {
  grid-template-columns: minmax(0, 1fr);
}

.corporation-inline-root .corp-action-btn {
  position: relative;
  overflow: hidden;
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.16em;
  box-shadow: none;
}

.corporation-inline-root .corp-action-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12), transparent 55%);
  opacity: 1;
  pointer-events: none;
}

.corporation-inline-root .corp-action-btn[data-tone="primary"] {
  border-color: rgba(95, 224, 183, 0.5) !important;
  background:
        linear-gradient(180deg, rgba(60, 181, 138, 0.3), rgba(18, 92, 67, 0.36)),
        rgba(6, 14, 14, 0.8) !important;
}

.corporation-inline-root .corp-action-btn[data-tone="gold"] {
  border-color: rgba(224, 189, 106, 0.46) !important;
  background:
        linear-gradient(180deg, rgba(214, 174, 80, 0.2), rgba(104, 73, 17, 0.22)),
        rgba(12, 11, 8, 0.88) !important;
}

.corporation-inline-root .corp-action-btn:hover:not(:disabled),
.corporation-inline-root .corp-menu-card:hover:not(:disabled) {
  box-shadow: 0 0 18px rgba(95, 224, 183, 0.16);
  transform: translateY(-1px);
}

.corporation-inline-root .corp-menu-card {
  position: relative;
  min-height: 124px !important;
  border-color: var(--corp-line) !important;
  background:
        linear-gradient(180deg, rgba(13, 24, 28, 0.94), rgba(5, 11, 14, 0.98)),
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.08), transparent 38%);
  box-shadow: 0 16px 34px rgba(0,0,0,0.24);
}

.corporation-inline-root .corp-menu-card[data-tone="gold"] {
  border-color: rgba(224, 189, 106, 0.22) !important;
  background:
        linear-gradient(180deg, rgba(28, 24, 13, 0.92), rgba(13, 11, 6, 0.98)),
        radial-gradient(circle at top right, rgba(224, 189, 106, 0.12), transparent 38%);
}

.corporation-inline-root .corp-menu-card__cta {
  color: var(--corp-muted) !important;
}

.corporation-inline-root .corp-menu-card__cta::after {
  content: ">";
  margin-left: 8px;
  font-size: 0.95rem;
}

.corporation-inline-root .corp-tab-rail {
  border-color: var(--corp-line) !important;
  background:
        linear-gradient(180deg, rgba(9, 17, 20, 0.92), rgba(4, 9, 12, 0.98)),
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.08), transparent 36%);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

#corporation-modal .corp-tab-rail,
.corporation-inline-root .corp-tab-rail {
  justify-content: center;
}

.corporation-inline-root .corp-tab {
  min-height: 42px;
  border-radius: 14px !important;
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.16em;
}

.corporation-inline-root .corp-tab.is-active {
  border-color: var(--corp-line-strong) !important;
  box-shadow: 0 0 18px rgba(95, 224, 183, 0.12);
}

.corporation-inline-root .corp-member-row {
  border-color: rgba(95, 224, 183, 0.12) !important;
  background:
        linear-gradient(180deg, rgba(12, 21, 24, 0.84), rgba(5, 10, 12, 0.92)),
        radial-gradient(circle at right center, rgba(95, 224, 183, 0.06), transparent 32%);
}

.corporation-inline-root .corp-member-row:hover {
  border-color: rgba(95, 224, 183, 0.22) !important;
}

.corporation-inline-root.corporation-inline-root--global .corp-member-title-bar {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.corporation-inline-root.corporation-inline-root--global .corp-member-name-row {
  flex: 0 1 auto;
  flex-wrap: wrap;
}

.corporation-inline-root.corporation-inline-root--global .corp-member-button-row {
  flex: 0 0 auto;
  justify-content: flex-start;
}

.corporation-inline-root.corporation-inline-root--global .corp-members-section,
.corporation-inline-root.corporation-inline-root--global .corp-global-narrow-section {
  width: min(100%, 42rem);
  margin-inline: auto;
}

.corporation-inline-root.corporation-inline-root--global .corp-role-select {
  width: 7.5rem;
  min-width: 7.5rem;
  max-width: 7.5rem;
}

.corporation-inline-root.corporation-inline-root--global .corp-member-row .corp-action-btn {
  width: auto;
}

.corporation-inline-root .corp-member-row select,
.corporation-inline-root .corp-member-row .corp-action-btn {
  width: 100%;
}

@media (min-width: 640px) {
  #corporation-modal .corp-overview-header {
    min-height: 180px;
  }

  #corporation-modal .corp-overview-title-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .corporation-inline-root .corp-role-editor {
    align-items: center;
  }

  .corporation-inline-root .corp-member-row .corp-action-btn {
    width: auto;
  }
}

@media (min-width: 1280px) {
  .corporation-inline-root.corporation-inline-root--global .corp-members-section,
    .corporation-inline-root.corporation-inline-root--global .corp-global-narrow-section {
    width: 50%;
    max-width: none;
  }

  .corporation-inline-root.corporation-inline-root--global .corp-member-row {
    grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
    align-items: center;
  }

  .corporation-inline-root.corporation-inline-root--global .corp-member-actions {
    align-items: flex-end;
  }

  .corporation-inline-root.corporation-inline-root--global .corp-member-button-row {
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  #character-modal #character-modal-information-grid {
    width: 50%;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  #corporation-modal .corporation-shell__header {
    min-height: auto;
  }

  #corporation-modal .group-member-location,
    .corporation-inline-root .group-member-location {
    font-size: 0.64rem;
    gap: 0.5rem;
  }

  #corporation-modal .group-member-sector,
    #corporation-modal .group-member-coordinates,
    .corporation-inline-root .group-member-sector,
    .corporation-inline-root .group-member-coordinates {
    padding: 0.09rem 0.28rem;
    border-radius: 0.3rem;
  }

  #corporation-modal .group-member-location-key,
    .corporation-inline-root .group-member-location-key {
    font-size: 0.58rem;
  }

  .corporation-inline-root .corp-tab {
    width: 100%;
  }
}

#craft-modal .craft-modal-pane {
  min-height: 0;
  border: 1px solid var(--craft-line);
  border-radius: 22px;
  background:
        linear-gradient(180deg, color-mix(in srgb, var(--craft-panel) 92%, black), color-mix(in srgb, var(--craft-panel-strong) 96%, black)),
        radial-gradient(circle at top right, color-mix(in srgb, var(--craft-accent) 8%, transparent), transparent 40%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

#craft-modal .craft-browser,
#craft-modal .craft-inspector,
#craft-modal .craft-stage,
#craft-modal .craft-queue {
  border-radius: 0;
}

#craft-modal .craft-browser,
#craft-modal .craft-inspector,
#craft-modal .craft-queue {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  padding: 16px;
  overflow-y: auto;
}

#craft-modal .craft-pane-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

#craft-modal .craft-pane-heading__title,
#craft-modal .craft-inspector__title,
#craft-modal .craft-stage__title,
#craft-modal .craft-queue-card__title {
  margin: 0;
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--craft-text);
}

#craft-modal .craft-pane-heading__text,
#craft-modal .craft-inspector__description,
#craft-modal .craft-stage__meta,
#craft-modal .craft-queue-card__subtitle {
  margin: 6px 0 0;
  color: var(--craft-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

#craft-modal .craft-inspector__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#craft-modal .craft-inspector__header > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#craft-modal .craft-info-card,
#craft-modal .craft-browser-card,
#craft-modal .craft-browser__group-toggle,
#craft-modal .craft-metric-card,
#craft-modal .craft-ingredient,
#craft-modal .craft-queue-card,
#craft-modal .craft-queue-job {
  border: 1px solid var(--craft-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

#craft-modal .craft-info-card {
  padding: 12px 14px;
  border-radius: 16px;
}

#craft-modal .craft-browser__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#craft-modal .craft-browser__categories,
#craft-modal .craft-browser__group-panel {
  display: grid;
  grid-template-columns: repeat(var(--craft-recipe-columns, 4), minmax(0, 1fr));
  gap: 10px;
}

#craft-modal .craft-browser__categories .craft-empty-panel {
  grid-column: 1 / -1;
}

#craft-modal .craft-browser__group-panel--ships {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#craft-modal .craft-browser__group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 16px;
  text-align: left;
  color: var(--craft-text);
}

#craft-modal .craft-browser__group-heading {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

#craft-modal .craft-browser__group-title {
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

#craft-modal .craft-browser__group-meta {
  color: var(--craft-muted);
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-transform: uppercase;
}

#craft-modal .craft-browser__group-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 0.82rem;
  color: color-mix(in srgb, var(--craft-accent) 72%, var(--craft-text) 28%);
  font-size: 0.8rem;
  text-shadow: 0 0 12px color-mix(in srgb, var(--craft-accent) 20%, transparent);
  transition: transform 180ms ease, color 180ms ease, text-shadow 180ms ease;
}

#craft-modal .craft-browser__group-toggle[aria-expanded="true"] .craft-browser__group-symbol {
  transform: rotate(90deg);
  color: var(--craft-text);
  text-shadow: 0 0 14px color-mix(in srgb, var(--craft-accent) 28%, transparent);
}

#craft-modal .craft-browser-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  text-align: left;
  color: var(--craft-text);
  transition: 160ms ease;
}

#craft-modal .craft-browser-card:hover,
#craft-modal .craft-browser__group-toggle:hover,
#craft-modal .craft-queue-job:hover {
  border-color: var(--craft-line-strong);
  box-shadow: 0 0 18px color-mix(in srgb, var(--craft-accent) 12%, transparent);
}

#craft-modal .craft-browser-card.is-selected {
  border-color: color-mix(in srgb, var(--craft-accent-soft) 70%, white 10%);
  background:
        linear-gradient(180deg, color-mix(in srgb, var(--craft-accent) 18%, rgba(255,255,255,0.06)), rgba(255,255,255,0.03)),
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  box-shadow:
        0 0 0 1px color-mix(in srgb, var(--craft-accent-soft) 30%, transparent),
        0 0 0 3px color-mix(in srgb, var(--craft-accent) 18%, transparent),
        0 0 30px color-mix(in srgb, var(--craft-accent) 24%, transparent);
  transform: translateY(-1px);
}

#craft-modal .craft-browser-card.is-selected::before {
  width: 4px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--craft-accent-soft) 24%, transparent), var(--craft-accent-soft), color-mix(in srgb, var(--craft-accent) 18%, transparent));
  box-shadow: 0 0 16px color-mix(in srgb, var(--craft-accent-soft) 42%, transparent);
}

#craft-modal .craft-browser-card__topline,
#craft-modal .craft-browser-card__footer,
#craft-modal .craft-section-heading,
#craft-modal .craft-queue-card__header,
#craft-modal .craft-queue-job,
#craft-modal .craft-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#craft-modal .craft-browser-card__topline {
  align-items: start;
}

#craft-modal .craft-browser-card__name,
#craft-modal .craft-ingredient__name,
#craft-modal .craft-queue-job__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--craft-text);
}

#craft-modal .craft-browser-card__meta,
#craft-modal .craft-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#craft-modal .craft-browser__ship-subgroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--craft-line-strong) 55%, transparent);
  border-radius: 18px;
  background:
        linear-gradient(180deg, rgba(80, 166, 191, 0.08), rgba(80, 166, 191, 0.02)),
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.025),
        0 0 24px rgba(10, 22, 32, 0.22);
}

#craft-modal .craft-browser__ship-subgroup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#craft-modal .craft-browser__ship-subgroup-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

#craft-modal .craft-browser__ship-subgroup-title {
  margin: 0;
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--craft-text);
}

#craft-modal .craft-browser__ship-subgroup-meta {
  margin: 0;
  color: var(--craft-muted);
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-transform: uppercase;
}

#craft-modal .craft-browser__ship-subgroup-grid {
  display: grid;
  grid-template-columns: repeat(var(--craft-recipe-columns, 4), minmax(0, 1fr));
  gap: 10px;
}

#craft-modal .craft-badges {
  row-gap: 4px;
}

#craft-modal .craft-browser-card__metric,
#craft-modal .craft-ingredient__meta,
#craft-modal .craft-queue-job__meta,
#craft-modal .craft-actions__message {
  color: var(--craft-muted);
  font-size: 0.78rem;
}

#craft-modal .craft-browser-card__state {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#craft-modal .craft-browser-card__state--ready,
#craft-modal .craft-actions__message.is-ready {
  color: var(--craft-accent-soft);
}

#craft-modal .craft-browser-card__state--blocked,
#craft-modal .craft-actions__message.is-blocked {
  color: var(--craft-danger);
}

#craft-modal .craft-browser-card__illustration-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 10px 12px 8px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  background:
        radial-gradient(circle at 50% 12%, rgba(99, 230, 255, 0.18), transparent 58%),
        linear-gradient(180deg, rgba(8, 24, 40, 0.88), rgba(4, 10, 18, 0.98));
  overflow: hidden;
}

#craft-modal .craft-browser-card__illustration {
  width: 100%;
  max-width: 168px;
  max-height: 128px;
  -o-object-fit: contain;
     object-fit: contain;
  image-rendering: pixelated;
  filter:
        drop-shadow(0 10px 18px rgba(0, 0, 0, 0.34))
        drop-shadow(0 0 22px rgba(99, 230, 255, 0.12));
}

#craft-modal .craft-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid var(--craft-line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--craft-text);
}

#craft-modal .craft-chip--ghost {
  color: var(--craft-muted);
}

#craft-modal .craft-chip--tier,
#craft-modal .craft-chip--state-active {
  border-color: var(--craft-line-strong);
  color: var(--craft-accent-soft);
}

#craft-modal .craft-stage {
  grid-area: stage;
  position: relative;
  min-height: 136px;
  isolation: isolate;
}

#craft-modal .craft-browser {
  grid-area: browser;
}

#craft-modal .craft-inspector {
  grid-area: inspector;
}

#craft-modal .craft-stage__ambient,
#craft-modal .craft-stage__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#craft-modal .craft-stage__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  height: 100%;
  padding: 12px 14px;
  pointer-events: none;
}

#craft-modal .craft-stage__status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#craft-modal .craft-stage__status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid var(--craft-line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--craft-text);
}

#craft-modal .craft-stage__status-pill.is-active {
  color: var(--craft-accent-soft);
}

#craft-modal .craft-stage__status-pill.is-blocked {
  color: var(--craft-danger);
}

#craft-modal .craft-stage__progress-value {
  color: var(--craft-text);
  font-weight: 700;
  font-size: 0.78rem;
}

#craft-modal .craft-stage__progress-rail {
  height: 8px;
  border: 1px solid var(--craft-line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

#craft-modal .craft-stage__progress-bar {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--craft-accent), var(--craft-accent-soft));
  box-shadow: 0 0 16px color-mix(in srgb, var(--craft-accent) 32%, transparent);
  transition: width 180ms linear;
}

#craft-modal .craft-inspector__content,
#craft-modal .craft-metrics,
#craft-modal .craft-ingredients-grid,
#craft-modal .craft-queue__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#craft-modal .craft-inspector__content {
  gap: 10px;
}

#craft-modal .craft-inspector__content > section,
#craft-modal .craft-inspector__content > footer {
  margin-top: 4px;
}

#craft-modal .craft-inspector__content > section:not(.craft-metrics) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#craft-modal .craft-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#craft-modal .craft-metric-card,
#craft-modal .craft-ingredient,
#craft-modal .craft-queue-card,
#craft-modal .craft-queue-job,
#craft-modal .craft-empty-panel {
  padding: 12px 14px;
  border-radius: 16px;
}

#craft-modal .craft-metric-card {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  -moz-column-gap: 10px;
       column-gap: 10px;
  padding: 8px 12px;
  min-height: 0;
}

#craft-modal .craft-metric-card__label {
  color: var(--craft-muted);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

#craft-modal .craft-metric-card__value {
  color: var(--craft-text);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}

#craft-modal .craft-quantity-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

#craft-modal .craft-quantity-field input,
#craft-modal #craft-modal-quantity {
  width: 84px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--craft-line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.36);
  color: var(--craft-text);
}

#craft-modal .craft-ingredient {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#craft-modal .craft-ingredient.is-ready {
  border-color: color-mix(in srgb, var(--craft-accent-soft) 34%, transparent);
}

#craft-modal .craft-ingredient.is-missing {
  border-color: color-mix(in srgb, var(--craft-danger) 34%, transparent);
}

#craft-modal .craft-ingredient__count,
#craft-modal .craft-queue-job__timer {
  color: var(--craft-text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

#craft-modal .craft-actions {
  margin-top: 6px;
  align-items: end;
  gap: 8px;
}

#craft-modal .craft-actions__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--craft-line-strong);
  border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--craft-accent) 28%, black), rgba(0, 0, 0, 0.2));
  color: white;
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: 160ms ease;
}

#craft-modal .craft-actions__primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 20px color-mix(in srgb, var(--craft-accent) 24%, transparent);
}

#craft-modal .craft-actions__primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#craft-modal .craft-queue {
  min-height: min(60dvh, 620px);
}

#craft-modal .craft-footer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 20px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.18));
}

#craft-modal .craft-footer__close {
  flex: 0 0 auto;
  align-self: flex-end;
  height: 42px;
  box-sizing: border-box;
}

#craft-modal .craft-empty-panel {
  border: 1px dashed var(--craft-line);
  color: var(--craft-muted);
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.24);
}

@media (min-width: 981px) {
  #craft-modal .craft-body--recipes {
    grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
    gap: 12px;
  }

  #craft-modal .craft-browser,
    #craft-modal .craft-inspector {
    padding: 12px;
    gap: 12px;
    max-height: clamp(340px, 40dvh, 400px);
  }

  #craft-modal .craft-browser-toolbar {
    padding: 12px 20px 8px;
  }

  #craft-modal .craft-category-tabs {
    gap: 8px;
  }

  #craft-modal .craft-browser__group {
    gap: 8px;
  }

  #craft-modal .craft-browser__categories {
    gap: 8px;
  }

  #craft-modal .craft-browser__group-panel {
    gap: 8px;
  }

  #craft-modal .craft-browser__group-panel--ships,
    #craft-modal .craft-browser__ship-subgroup {
    gap: 8px;
  }

  #craft-modal .craft-browser__group-toggle {
    padding: 9px 11px;
  }

  #craft-modal .craft-browser-card {
    gap: 8px;
    padding: 10px 12px;
  }

  #craft-modal .craft-browser-card__topline,
    #craft-modal .craft-browser-card__footer,
    #craft-modal .craft-section-heading,
    #craft-modal .craft-queue-card__header,
    #craft-modal .craft-queue-job,
    #craft-modal .craft-actions {
    gap: 8px;
  }

  #craft-modal .craft-browser-card__metric,
    #craft-modal .craft-ingredient__meta,
    #craft-modal .craft-queue-job__meta,
    #craft-modal .craft-actions__message {
    font-size: 0.75rem;
  }

  #craft-modal .craft-browser__ship-subgroup {
    padding: 10px;
  }

  #craft-modal .craft-browser__ship-subgroup-grid {
    gap: 8px;
  }

  #craft-modal .craft-browser-card__illustration-frame {
    min-height: 96px;
    padding: 8px 10px 6px;
  }

  #craft-modal .craft-browser-card__illustration {
    max-height: 112px;
  }

  #craft-modal .craft-stage {
    min-height: 136px;
  }

  #craft-modal .craft-stage__overlay {
    gap: 6px;
    padding: 12px 14px;
  }

  #craft-modal .craft-inspector__content,
    #craft-modal .craft-metrics,
    #craft-modal .craft-ingredients-grid,
    #craft-modal .craft-queue__list {
    gap: 12px;
  }

  #craft-modal .craft-inspector__content {
    gap: 8px;
  }

  #craft-modal .craft-inspector__content > section,
    #craft-modal .craft-inspector__content > footer {
    margin-top: 2px;
  }

  #craft-modal .craft-inspector__content > section:not(.craft-metrics) {
    gap: 4px;
  }

  #craft-modal .craft-metrics {
    gap: 6px;
  }

  #craft-modal .craft-metric-card,
    #craft-modal .craft-ingredient,
    #craft-modal .craft-queue-card,
    #craft-modal .craft-queue-job,
    #craft-modal .craft-empty-panel {
    padding: 10px 12px;
    border-radius: 14px;
  }
}

#craft-modal[data-craft-mode="ship"] .sf-scroll {
  --sf-scroll-track-color: rgba(2, 14, 24, 0.34);
  --sf-scroll-thumb-color: rgba(99, 230, 255, 0.72);
  --sf-scroll-thumb-top: rgba(99, 230, 255, 0.52);
  --sf-scroll-thumb-bottom: rgba(64, 191, 255, 0.92);
  --sf-scroll-track-border: rgba(99, 230, 255, 0.12);
  --sf-scroll-border: rgba(99, 230, 255, 0.24);
  --sf-scroll-glow: rgba(99, 230, 255, 0.26);
}

#craft-modal[data-craft-mode="station"] .sf-scroll {
  --sf-scroll-track-color: rgba(24, 11, 6, 0.34);
  --sf-scroll-thumb-color: rgba(255, 155, 84, 0.74);
  --sf-scroll-thumb-top: rgba(255, 155, 84, 0.56);
  --sf-scroll-thumb-bottom: rgba(255, 122, 69, 0.92);
  --sf-scroll-track-border: rgba(255, 155, 84, 0.12);
  --sf-scroll-border: rgba(255, 155, 84, 0.24);
  --sf-scroll-glow: rgba(255, 155, 84, 0.28);
}

#craft-modal button:focus-visible,
#craft-modal input:focus-visible {
  outline: none;
  border-color: var(--craft-line-strong) !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--craft-accent) 22%, transparent), 0 0 18px color-mix(in srgb, var(--craft-accent) 18%, transparent);
}

@media (max-width: 1240px) {
  #craft-modal .craft-body--recipes {
    --craft-recipe-columns: 3;
  }
}

@media (max-width: 980px) {
  #craft-modal {
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    padding-block: 12px;
  }

  #craft-modal .craft-shell {
    height: auto;
    min-height: calc(100dvh - 24px);
    max-height: none;
  }

  #craft-modal .craft-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  #craft-modal .craft-header__status {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  #craft-modal .craft-header__title-stack {
    min-height: 0;
  }

  #craft-modal .craft-header__title {
    font-size: clamp(0.9rem, 3.1vw, 1.18rem);
  }

  #craft-modal .craft-header__close {
    align-self: start;
  }

  #craft-modal .craft-body--recipes {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
            "browser"
            "inspector"
            "stage";
    align-content: start;
    overflow: visible;
    overscroll-behavior: auto;
    scrollbar-gutter: auto;
    --craft-recipe-columns: 2;
  }

  #craft-modal .craft-browser-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  #craft-modal .craft-category-tabs {
    flex-direction: column;
  }

  #craft-modal .craft-tab,
    #craft-modal .craft-tab--category {
    width: 100%;
    justify-content: center;
  }

  #craft-modal .craft-stage {
    min-height: 148px;
    flex-shrink: 0;
  }

  #craft-modal .craft-browser {
    max-height: none;
    overflow: visible;
  }

  #craft-modal .craft-inspector {
    max-height: none;
    overflow: visible;
  }

  #craft-modal .craft-body--queue,
    #craft-modal .craft-queue {
    overflow: visible;
  }

  #craft-modal .craft-queue {
    min-height: 0;
  }

  #craft-modal .craft-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  #craft-modal .craft-actions,
    #craft-modal .craft-section-heading,
    #craft-modal .craft-browser-card__footer,
    #craft-modal .craft-queue-job {
    flex-direction: column;
    align-items: stretch;
  }

  #craft-modal .craft-footer {
    flex-shrink: 0;
  }
}

@media (max-width: 640px) {
  #craft-modal .craft-body--recipes {
    --craft-recipe-columns: 1;
  }

  #craft-modal .craft-header,
    #craft-modal .craft-body,
    #craft-modal .craft-footer {
    padding-inline: 14px;
  }

  #craft-modal .craft-feedback,
    #craft-modal .craft-context-banner,
    #craft-modal .craft-tabs {
    margin-inline: 14px;
    padding-inline: 14px;
  }

  #craft-modal .craft-tabs {
    padding-inline: 0;
    margin-inline: 14px;
  }

  #craft-modal .craft-tab {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 12px;
  }
}

#craft-modal.hidden,
#craft-modal .hidden,
#craft-modal .craft-body--queue.hidden,
#craft-modal .craft-inspector__content.hidden,
#craft-modal .craft-feedback.hidden,
#craft-modal .craft-context-banner.hidden {
  display: none !important;
}

#craft-modal {
  overflow: hidden;
}

#craft-modal .craft-shell {
  height: min(100dvh, 940px);
  max-height: min(92dvh, 940px);
  margin: 0;
}

#craft-modal .craft-body,
#craft-modal .craft-stage,
#craft-modal .craft-browser,
#craft-modal .craft-inspector,
#craft-modal .craft-queue {
  min-height: 0;
}

#craft-modal .craft-body--queue {
  overflow: hidden;
}

@media (max-width: 980px) {
  #craft-modal {
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto !important;
    overflow-x: hidden;
    padding-block: 12px;
  }

  #craft-modal .craft-shell {
    height: auto !important;
    min-height: calc(100dvh - 24px);
    max-height: none !important;
    overflow: visible;
  }

  #craft-modal .craft-body--recipes,
    #craft-modal .craft-body--queue,
    #craft-modal .craft-browser,
    #craft-modal .craft-inspector,
    #craft-modal .craft-queue {
    overflow: visible !important;
  }

  #craft-modal .craft-footer {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
  }
}

@media (min-width: 1280px) {
  html:has(#main-screen),
    body:has(#main-screen) {
    height: 100dvh;
  }

  body:has(#main-screen) {
    overflow-y: hidden;
  }

  .main-game-container {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  body.game-page .main-game-container {
    padding-top: 0;
    padding-bottom: 0;
  }

  #button-menu,
    #map-background,
    #player-infos {
    margin-top: 0;
    margin-bottom: 0;
  }

  #map-background {
    min-height: 0;
  }

  #player-infos {
    align-self: stretch;
    max-height: 100%;
    overflow: hidden;
  }

  #player-info-item-container {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
  }
}

/* Short wide desktops: keep the player sidebar compact and scrollable. */

@media (min-width: 1280px) and (max-height: 900px) {
  #player-infos {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
  }

  #player-info-item-container {
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
  }

  #player-infos fieldset {
    padding: 0.45rem;
  }

  #player-infos legend {
    font-size: var(--fs-3xs);
    padding: 0.1rem 0.3rem;
  }

  #player-infos .hud-stats-panel {
    gap: 0.28rem;
  }

  #player-infos .hud-stats-panel label {
    gap: 0.24rem;
    line-height: 1;
  }

  #player-infos .hud-stats-panel .iconify {
    width: calc(14px * var(--game-ui-scale, 1));
    height: calc(14px * var(--game-ui-scale, 1));
    min-width: calc(14px * var(--game-ui-scale, 1));
    min-height: calc(14px * var(--game-ui-scale, 1));
  }

  #player-infos .hud-stats-panel label span:last-child {
    font-size: var(--fs-3xs);
    white-space: nowrap;
    letter-spacing: 0.01em;
  }

  #player-infos .hud-progress-track {
    height: calc(5px * var(--game-ui-scale, 1));
    margin-top: 0.45rem;
  }

  #statistics-fieldset {
    min-height: 0;
    gap: 0.55rem;
  }

  #status-fieldset {
    max-height: 92px;
  }

  #events-log {
    min-height: 120px;
    max-height: 140px;
  }
}

@media (min-width: 640px){
  .sm\:container{
    width: 100%;
  }

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

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

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

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

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

.first-letter\:uppercase::first-letter{
  text-transform: uppercase;
}

.hover\:scale-\[1\.05\]:hover{
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  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\:scale-\[1\.12\]:hover{
  --tw-scale-x: 1.12;
  --tw-scale-y: 1.12;
  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));
}

@keyframes pulse{
  50%{
    opacity: .5;
  }
}

.hover\:animate-pulse:hover{
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hover\:divide-gray-800:hover > :not([hidden]) ~ :not([hidden]){
  --tw-divide-opacity: 1;
  border-color: rgb(31 41 55 / var(--tw-divide-opacity));
}

.hover\:border:hover{
  border-width: 1px;
}

.hover\:border-\[\#B1F1CB\]:hover{
  --tw-border-opacity: 1;
  border-color: rgb(177 241 203 / var(--tw-border-opacity));
}

.hover\:border-amber-300:hover{
  --tw-border-opacity: 1;
  border-color: rgb(252 211 77 / var(--tw-border-opacity));
}

.hover\:border-amber-300\/60:hover{
  border-color: rgb(252 211 77 / 0.6);
}

.hover\:border-amber-400:hover{
  --tw-border-opacity: 1;
  border-color: rgb(251 191 36 / var(--tw-border-opacity));
}

.hover\:border-cyan-300:hover{
  --tw-border-opacity: 1;
  border-color: rgb(103 232 249 / var(--tw-border-opacity));
}

.hover\:border-emerald-200:hover{
  --tw-border-opacity: 1;
  border-color: rgb(167 243 208 / var(--tw-border-opacity));
}

.hover\:border-emerald-300:hover{
  --tw-border-opacity: 1;
  border-color: rgb(110 231 183 / var(--tw-border-opacity));
}

.hover\:border-emerald-300\/40:hover{
  border-color: rgb(110 231 183 / 0.4);
}

.hover\:border-emerald-300\/50:hover{
  border-color: rgb(110 231 183 / 0.5);
}

.hover\:border-emerald-300\/60:hover{
  border-color: rgb(110 231 183 / 0.6);
}

.hover\:border-emerald-400:hover{
  --tw-border-opacity: 1;
  border-color: rgb(52 211 153 / var(--tw-border-opacity));
}

.hover\:border-emerald-400\/25:hover{
  border-color: rgb(52 211 153 / 0.25);
}

.hover\:border-emerald-400\/40:hover{
  border-color: rgb(52 211 153 / 0.4);
}

.hover\:border-emerald-400\/50:hover{
  border-color: rgb(52 211 153 / 0.5);
}

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

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

.hover\:border-red-300:hover{
  --tw-border-opacity: 1;
  border-color: rgb(252 165 165 / var(--tw-border-opacity));
}

.hover\:border-red-300\/60:hover{
  border-color: rgb(252 165 165 / 0.6);
}

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

.hover\:border-slate-400:hover{
  --tw-border-opacity: 1;
  border-color: rgb(148 163 184 / var(--tw-border-opacity));
}

.hover\:bg-amber-500\/10:hover{
  background-color: rgb(245 158 11 / 0.1);
}

.hover\:bg-amber-500\/20:hover{
  background-color: rgb(245 158 11 / 0.2);
}

.hover\:bg-amber-500\/25:hover{
  background-color: rgb(245 158 11 / 0.25);
}

.hover\:bg-black\/60:hover{
  background-color: rgb(0 0 0 / 0.6);
}

.hover\:bg-blue-800:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(30 64 175 / var(--tw-bg-opacity));
}

.hover\:bg-cyan-500\/10:hover{
  background-color: rgb(6 182 212 / 0.1);
}

.hover\:bg-emerald-400:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(52 211 153 / var(--tw-bg-opacity));
}

.hover\:bg-emerald-400\/10:hover{
  background-color: rgb(52 211 153 / 0.1);
}

.hover\:bg-emerald-400\/30:hover{
  background-color: rgb(52 211 153 / 0.3);
}

.hover\:bg-emerald-500:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(16 185 129 / var(--tw-bg-opacity));
}

.hover\:bg-emerald-500\/10:hover{
  background-color: rgb(16 185 129 / 0.1);
}

.hover\:bg-emerald-500\/20:hover{
  background-color: rgb(16 185 129 / 0.2);
}

.hover\:bg-emerald-500\/25:hover{
  background-color: rgb(16 185 129 / 0.25);
}

.hover\:bg-emerald-900\/20:hover{
  background-color: rgb(6 78 59 / 0.2);
}

.hover\:bg-emerald-900\/40:hover{
  background-color: rgb(6 78 59 / 0.4);
}

.hover\:bg-emerald-950\/25:hover{
  background-color: rgb(2 44 34 / 0.25);
}

.hover\:bg-gray-100:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

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

.hover\:bg-gray-900\/60:hover{
  background-color: rgb(17 24 39 / 0.6);
}

.hover\:bg-gray-900\/75:hover{
  background-color: rgb(17 24 39 / 0.75);
}

.hover\:bg-red-400:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(248 113 113 / var(--tw-bg-opacity));
}

.hover\:bg-red-500\/10:hover{
  background-color: rgb(239 68 68 / 0.1);
}

.hover\:bg-red-500\/20:hover{
  background-color: rgb(239 68 68 / 0.2);
}

.hover\:bg-red-600:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity));
}

.hover\:bg-sky-500\/25:hover{
  background-color: rgb(14 165 233 / 0.25);
}

.hover\:bg-sky-900\/70:hover{
  background-color: rgb(12 74 110 / 0.7);
}

.hover\:bg-slate-300:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(203 213 225 / var(--tw-bg-opacity));
}

.hover\:bg-slate-300\/10:hover{
  background-color: rgb(203 213 225 / 0.1);
}

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

.hover\:bg-zinc-800:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(39 39 42 / var(--tw-bg-opacity));
}

.hover\:bg-zinc-900:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(24 24 27 / var(--tw-bg-opacity));
}

.hover\:bg-zinc-950\/75:hover{
  background-color: rgb(9 9 11 / 0.75);
}

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

.hover\:text-\[\#B1F1CB\]:hover{
  --tw-text-opacity: 1;
  color: rgb(177 241 203 / var(--tw-text-opacity));
}

.hover\:text-amber-200:hover{
  --tw-text-opacity: 1;
  color: rgb(253 230 138 / var(--tw-text-opacity));
}

.hover\:text-blue-600:hover{
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity));
}

.hover\:text-blue-700:hover{
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity));
}

.hover\:text-emerald-100:hover{
  --tw-text-opacity: 1;
  color: rgb(209 250 229 / var(--tw-text-opacity));
}

.hover\:text-emerald-200:hover{
  --tw-text-opacity: 1;
  color: rgb(167 243 208 / var(--tw-text-opacity));
}

.hover\:text-emerald-300:hover{
  --tw-text-opacity: 1;
  color: rgb(110 231 183 / var(--tw-text-opacity));
}

.hover\:text-emerald-400:hover{
  --tw-text-opacity: 1;
  color: rgb(52 211 153 / var(--tw-text-opacity));
}

.hover\:text-gray-600:hover{
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity));
}

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

.hover\:text-gray-900:hover{
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity));
}

.hover\:text-red-300:hover{
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity));
}

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

.hover\:text-violet-100:hover{
  --tw-text-opacity: 1;
  color: rgb(237 233 254 / var(--tw-text-opacity));
}

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

.hover\:text-zinc-900:hover{
  --tw-text-opacity: 1;
  color: rgb(24 24 27 / var(--tw-text-opacity));
}

.hover\:opacity-100:hover{
  opacity: 1;
}

.hover\:shadow-\[0_0_14px_rgba\(52\2c 211\2c 153\2c 0\.35\)\]:hover{
  --tw-shadow: 0 0 14px rgba(52,211,153,0.35);
  --tw-shadow-colored: 0 0 14px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.before\:hover\:text-center:hover::before{
  content: var(--tw-content);
  text-align: center;
}

.hover\:before\:text-center:hover::before{
  content: var(--tw-content);
  text-align: center;
}

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

.focus\:border-blue-500:focus{
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity));
}

.focus\:border-emerald-300:focus{
  --tw-border-opacity: 1;
  border-color: rgb(110 231 183 / var(--tw-border-opacity));
}

.focus\:border-emerald-300\/60:focus{
  border-color: rgb(110 231 183 / 0.6);
}

.focus\:border-emerald-400:focus{
  --tw-border-opacity: 1;
  border-color: rgb(52 211 153 / var(--tw-border-opacity));
}

.focus\:border-emerald-400\/50:focus{
  border-color: rgb(52 211 153 / 0.5);
}

.focus\:border-emerald-500:focus{
  --tw-border-opacity: 1;
  border-color: rgb(16 185 129 / var(--tw-border-opacity));
}

.focus\:text-violet-100:focus{
  --tw-text-opacity: 1;
  color: rgb(237 233 254 / var(--tw-text-opacity));
}

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

.focus\:ring-1: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(1px + 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-4: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(4px + 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-blue-300:focus{
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity));
}

.focus\:ring-blue-500:focus{
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
}

.focus\:ring-emerald-300\/25:focus{
  --tw-ring-color: rgb(110 231 183 / 0.25);
}

.focus\:ring-emerald-300\/30:focus{
  --tw-ring-color: rgb(110 231 183 / 0.3);
}

.focus\:ring-emerald-500:focus{
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(16 185 129 / var(--tw-ring-opacity));
}

.focus\:ring-emerald-500\/20:focus{
  --tw-ring-color: rgb(16 185 129 / 0.2);
}

.focus\:ring-emerald-500\/30:focus{
  --tw-ring-color: rgb(16 185 129 / 0.3);
}

.focus\:ring-gray-100:focus{
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(243 244 246 / var(--tw-ring-opacity));
}

.focus\:hover\:text-center:hover:focus{
  text-align: center;
}

.hover\:focus\:text-center:focus:hover{
  text-align: center;
}

.active\:scale-90:active{
  --tw-scale-x: .9;
  --tw-scale-y: .9;
  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));
}

.active\:scale-95:active{
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  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));
}

.active\:bg-\[\#25482D\]:active{
  --tw-bg-opacity: 1;
  background-color: rgb(37 72 45 / var(--tw-bg-opacity));
}

.active\:bg-emerald-500\/30:active{
  background-color: rgb(16 185 129 / 0.3);
}

.active\:bg-emerald-600\/40:active{
  background-color: rgb(5 150 105 / 0.4);
}

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

.disabled\:cursor-not-allowed:disabled{
  cursor: not-allowed;
}

.disabled\:opacity-30:disabled{
  opacity: 0.3;
}

.disabled\:opacity-40:disabled{
  opacity: 0.4;
}

.disabled\:opacity-50:disabled{
  opacity: 0.5;
}

.disabled\:opacity-60:disabled{
  opacity: 0.6;
}

.group:hover .group-hover\:scale-\[1\.12\]{
  --tw-scale-x: 1.12;
  --tw-scale-y: 1.12;
  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));
}

.group:hover .group-hover\:border-emerald-300\/50{
  border-color: rgb(110 231 183 / 0.5);
}

.group:hover .group-hover\:border-emerald-400{
  --tw-border-opacity: 1;
  border-color: rgb(52 211 153 / var(--tw-border-opacity));
}

.group:hover .group-hover\:text-emerald-100{
  --tw-text-opacity: 1;
  color: rgb(209 250 229 / var(--tw-text-opacity));
}

.group:hover .group-hover\:opacity-100{
  opacity: 1;
}

@media (prefers-color-scheme: dark){
  .dark\:border-blue-500{
    --tw-border-opacity: 1;
    border-color: rgb(59 130 246 / var(--tw-border-opacity));
  }

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

  .dark\:border-gray-600{
    --tw-border-opacity: 1;
    border-color: rgb(75 85 99 / var(--tw-border-opacity));
  }

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

  .dark\:border-transparent{
    border-color: transparent;
  }

  .dark\:bg-blue-600{
    --tw-bg-opacity: 1;
    background-color: rgb(37 99 235 / var(--tw-bg-opacity));
  }

  .dark\:bg-gray-600{
    --tw-bg-opacity: 1;
    background-color: rgb(75 85 99 / var(--tw-bg-opacity));
  }

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

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

  .dark\:bg-gray-800\/50{
    background-color: rgb(31 41 55 / 0.5);
  }

  .dark\:bg-gray-900\/80{
    background-color: rgb(17 24 39 / 0.8);
  }

  .dark\:text-blue-500{
    --tw-text-opacity: 1;
    color: rgb(59 130 246 / var(--tw-text-opacity));
  }

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

  .dark\:text-gray-400{
    --tw-text-opacity: 1;
    color: rgb(156 163 175 / var(--tw-text-opacity));
  }

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

  .dark\:placeholder-gray-400::-moz-placeholder{
    --tw-placeholder-opacity: 1;
    color: rgb(156 163 175 / var(--tw-placeholder-opacity));
  }

  .dark\:placeholder-gray-400::placeholder{
    --tw-placeholder-opacity: 1;
    color: rgb(156 163 175 / var(--tw-placeholder-opacity));
  }

  .dark\:ring-offset-gray-700{
    --tw-ring-offset-color: #374151;
  }

  .dark\:ring-offset-gray-800{
    --tw-ring-offset-color: #1f2937;
  }

  .dark\:hover\:bg-blue-700:hover{
    --tw-bg-opacity: 1;
    background-color: rgb(29 78 216 / var(--tw-bg-opacity));
  }

  .dark\:hover\:bg-gray-600:hover{
    --tw-bg-opacity: 1;
    background-color: rgb(75 85 99 / var(--tw-bg-opacity));
  }

  .dark\:hover\:bg-gray-700:hover{
    --tw-bg-opacity: 1;
    background-color: rgb(55 65 81 / var(--tw-bg-opacity));
  }

  .dark\:hover\:bg-gray-800:hover{
    --tw-bg-opacity: 1;
    background-color: rgb(31 41 55 / var(--tw-bg-opacity));
  }

  .dark\:hover\:text-blue-500:hover{
    --tw-text-opacity: 1;
    color: rgb(59 130 246 / var(--tw-text-opacity));
  }

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

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

  .dark\:focus\:border-blue-500:focus{
    --tw-border-opacity: 1;
    border-color: rgb(59 130 246 / var(--tw-border-opacity));
  }

  .dark\:focus\:ring-blue-500:focus{
    --tw-ring-opacity: 1;
    --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
  }

  .dark\:focus\:ring-blue-600:focus{
    --tw-ring-opacity: 1;
    --tw-ring-color: rgb(37 99 235 / var(--tw-ring-opacity));
  }

  .dark\:focus\:ring-blue-800:focus{
    --tw-ring-opacity: 1;
    --tw-ring-color: rgb(30 64 175 / var(--tw-ring-opacity));
  }

  .dark\:focus\:ring-gray-600:focus{
    --tw-ring-opacity: 1;
    --tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity));
  }

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

  .dark\:focus\:ring-offset-gray-700:focus{
    --tw-ring-offset-color: #374151;
  }
}

@media (min-width: 640px){
  .sm\:col-span-2{
    grid-column: span 2 / span 2;
  }

  .sm\:block{
    display: block;
  }

  .sm\:flex{
    display: flex;
  }

  .sm\:hidden{
    display: none;
  }

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

  .sm\:max-w-\[70\%\]{
    max-width: 70%;
  }

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

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

  .sm\:flex-row{
    flex-direction: row;
  }

  .sm\:items-start{
    align-items: flex-start;
  }

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

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

  .sm\:gap-2{
    gap: 0.5rem;
  }

  .sm\:gap-6{
    gap: 1.5rem;
  }

  .sm\:p-10{
    padding: 2.5rem;
  }

  .sm\:p-4{
    padding: 1rem;
  }

  .sm\:p-6{
    padding: 1.5rem;
  }

  .sm\:p-8{
    padding: 2rem;
  }

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

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

  .sm\:px-8{
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .sm\:py-12{
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

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

  .sm\:py-2\.5{
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
  }

  .sm\:pb-14{
    padding-bottom: 3.5rem;
  }

  .sm\:pl-0{
    padding-left: 0px;
  }

  .sm\:pt-10{
    padding-top: 2.5rem;
  }

  .sm\:text-right{
    text-align: right;
  }

  .sm\:text-3xl{
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

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

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

  .sm\:text-6xl{
    font-size: 3.75rem;
    line-height: 1;
  }

  .sm\:text-\[0\.96rem\]{
    font-size: 0.96rem;
  }

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

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

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

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

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

  .sm\:leading-8{
    line-height: 2rem;
  }

  .sm\:leading-9{
    line-height: 2.25rem;
  }

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

@media (min-width: 768px){
  .md\:inset-0{
    inset: 0px;
  }

  .md\:mx-0{
    margin-left: 0px;
    margin-right: 0px;
  }

  .md\:block{
    display: block;
  }

  .md\:flex{
    display: flex;
  }

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

  .md\:hidden{
    display: none;
  }

  .md\:h-\[70vh\]{
    height: 70vh;
  }

  .md\:h-\[80vh\]{
    height: 80vh;
  }

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

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

  .md\:h-auto{
    height: auto;
  }

  .md\:h-full{
    height: 100%;
  }

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

  .md\:max-h-\[70vh\]{
    max-height: 70vh;
  }

  .md\:max-h-\[80vh\]{
    max-height: 80vh;
  }

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

  .md\:max-h-\[90vh\]{
    max-height: 90vh;
  }

  .md\:max-h-\[92vh\]{
    max-height: 92vh;
  }

  .md\:min-h-0{
    min-height: 0px;
  }

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

  .md\:w-\[60vw\]{
    width: 60vw;
  }

  .md\:w-\[80vw\]{
    width: 80vw;
  }

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

  .md\:w-\[94vw\]{
    width: 94vw;
  }

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

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

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

  .md\:max-w-5xl{
    max-width: 64rem;
  }

  .md\:max-w-6xl{
    max-width: 72rem;
  }

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

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

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

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

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

  .md\:grid-cols-\[minmax\(0\2c 1fr\)_auto\]{
    grid-template-columns: minmax(0,1fr) auto;
  }

  .md\:flex-row{
    flex-direction: row;
  }

  .md\:items-start{
    align-items: flex-start;
  }

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

  .md\:justify-start{
    justify-content: flex-start;
  }

  .md\:justify-end{
    justify-content: flex-end;
  }

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

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

  .md\:gap-3{
    gap: 0.75rem;
  }

  .md\:self-center{
    align-self: center;
  }

  .md\:overflow-hidden{
    overflow: hidden;
  }

  .md\:overflow-y-auto{
    overflow-y: auto;
  }

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

  .md\:border{
    border-width: 1px;
  }

  .md\:p-0{
    padding: 0px;
  }

  .md\:p-1{
    padding: 0.25rem;
  }

  .md\:p-2{
    padding: 0.5rem;
  }

  .md\:p-3{
    padding: 0.75rem;
  }

  .md\:p-5{
    padding: 1.25rem;
  }

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

  .md\:px-8{
    padding-left: 2rem;
    padding-right: 2rem;
  }

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

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

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

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

  .md\:text-3xl{
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

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

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

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

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

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

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

@media (min-width: 1024px){
  .lg\:sticky{
    position: sticky;
  }

  .lg\:top-24{
    top: 6rem;
  }

  .lg\:order-1{
    order: 1;
  }

  .lg\:order-2{
    order: 2;
  }

  .lg\:col-span-1{
    grid-column: span 1 / span 1;
  }

  .lg\:mb-0{
    margin-bottom: 0px;
  }

  .lg\:block{
    display: block;
  }

  .lg\:flex{
    display: flex;
  }

  .lg\:hidden{
    display: none;
  }

  .lg\:w-1\/4{
    width: 25%;
  }

  .lg\:w-9\/12{
    width: 75%;
  }

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

  .lg\:w-\[70vw\]{
    width: 70vw;
  }

  .lg\:min-w-0{
    min-width: 0px;
  }

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

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

  .lg\:basis-0{
    flex-basis: 0px;
  }

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

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

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

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

  .lg\:grid-cols-\[1\.1fr_0\.9fr\]{
    grid-template-columns: 1.1fr 0.9fr;
  }

  .lg\:grid-cols-\[minmax\(0\2c 1fr\)_18rem\]{
    grid-template-columns: minmax(0,1fr) 18rem;
  }

  .lg\:flex-row{
    flex-direction: row;
  }

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

  .lg\:items-start{
    align-items: flex-start;
  }

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

  .lg\:items-stretch{
    align-items: stretch;
  }

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

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

  .lg\:gap-4{
    gap: 1rem;
  }

  .lg\:gap-8{
    gap: 2rem;
  }

  .lg\:overflow-hidden{
    overflow: hidden;
  }

  .lg\:overflow-y-auto{
    overflow-y: auto;
  }

  .lg\:overflow-y-hidden{
    overflow-y: hidden;
  }

  .lg\:p-2{
    padding: 0.5rem;
  }

  .lg\:px-12{
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .lg\:px-8{
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:py-12{
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .lg\:pb-16{
    padding-bottom: 4rem;
  }

  .lg\:pt-12{
    padding-top: 3rem;
  }

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

  .lg\:text-7xl{
    font-size: 4.5rem;
    line-height: 1;
  }

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

  .lg\:blur-none{
    --tw-blur: blur(0);
    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);
  }
}

@media (prefers-color-scheme: dark){
  @media (min-width: 1024px){
    .dark\:lg\:hover\:\[paint-order\:markers\]:hover{
      paint-order: markers;
    }
  }
}

@media (min-width: 1280px){
  .xl\:hidden{
    display: none;
  }

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

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

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

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

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

  .xl\:grid-cols-\[1\.05fr_0\.95fr\]{
    grid-template-columns: 1.05fr 0.95fr;
  }

  .xl\:grid-cols-\[max-content_minmax\(0\2c 1fr\)\]{
    grid-template-columns: max-content minmax(0,1fr);
  }
}

@media (min-width: 1536px){
  .\32xl\:grid-cols-3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
