/* =========================================================
   VisualPOI Zone — Main Stylesheet
   =========================================================
   Split into partials under ./partials/
   Vendor overrides (Tom Select) go last, unlayered.
   ========================================================= */

*, ::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:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::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:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.19 | 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.
7. Disable tap highlights on iOS
*/

html,
:host {
  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: Poppins, ui-sans-serif, system-ui, 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 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
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 */
  letter-spacing: 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,
input:where([type='button']),
input:where([type='reset']),
input:where([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]:where(:not([hidden="until-found"])) {
  display: none;
}

input:where([type='text']),input:where(:not([type])),input:where([type='email']),input:where([type='url']),input:where([type='password']),input:where([type='number']),input:where([type='date']),input:where([type='datetime-local']),input:where([type='month']),input:where([type='search']),input:where([type='tel']),input:where([type='time']),input:where([type='week']),select:where([multiple]),textarea,select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}

input:where([type='text']):focus, input:where(:not([type])):focus, input:where([type='email']):focus, input:where([type='url']):focus, input:where([type='password']):focus, input:where([type='number']):focus, input:where([type='date']):focus, input:where([type='datetime-local']):focus, input:where([type='month']):focus, input:where([type='search']):focus, input:where([type='tel']):focus, input:where([type='time']):focus, input:where([type='week']):focus, select:where([multiple]):focus, textarea:focus, select:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --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);
  border-color: #2563eb;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  color: #6b7280;
  opacity: 1;
}

input::placeholder,textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: inherit;
}

::-webkit-datetime-edit {
  display: inline-flex;
}

::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field {
  padding-top: 0;
  padding-bottom: 0;
}

select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
}

select:where([multiple]),select:where([size]:not([size="1"])) {
  background-image: initial;
  background-position: initial;
  background-repeat: unset;
  background-size: initial;
  padding-right: 0.75rem;
  -webkit-print-color-adjust: unset;
          print-color-adjust: unset;
}

input:where([type='checkbox']),input:where([type='radio']) {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
  display: inline-block;
  vertical-align: middle;
  background-origin: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;
  color: #2563eb;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  --tw-shadow: 0 0 #0000;
}

input:where([type='checkbox']) {
  border-radius: 0px;
}

input:where([type='radio']) {
  border-radius: 100%;
}

input:where([type='checkbox']):focus,input:where([type='radio']):focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --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);
}

input:where([type='checkbox']):checked,input:where([type='radio']):checked {
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

input:where([type='checkbox']):checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

@media (forced-colors: active)  {

  input:where([type='checkbox']):checked {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}

input:where([type='radio']):checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

@media (forced-colors: active)  {

  input:where([type='radio']):checked {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}

input:where([type='checkbox']):checked:hover,input:where([type='checkbox']):checked:focus,input:where([type='radio']):checked:hover,input:where([type='radio']):checked:focus {
  border-color: transparent;
  background-color: currentColor;
}

input:where([type='checkbox']):indeterminate {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

@media (forced-colors: active)  {

  input:where([type='checkbox']):indeterminate {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}

input:where([type='checkbox']):indeterminate:hover,input:where([type='checkbox']):indeterminate:focus {
  border-color: transparent;
  background-color: currentColor;
}

input:where([type='file']) {
  background: unset;
  border-color: inherit;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-size: unset;
  line-height: inherit;
}

input:where([type='file']):focus {
  outline: 1px solid ButtonText;
  outline: 1px auto -webkit-focus-ring-color;
}

body {
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --tw-text-opacity: 1;
  color: rgb(161 161 161 / var(--tw-text-opacity, 1));
    background: #0a0a0a;
}

a {
  --tw-text-opacity: 1;
  color: rgb(0 198 255 / var(--tw-text-opacity, 1));
  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: 200ms;
}

h1,
  h2,
  h3,
  h4,
  h5 {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    a:hover {
    text-decoration-line: none;
  }
}

hr {
  --tw-border-opacity: 1;
  border-color: rgb(52 53 54 / var(--tw-border-opacity, 1));
}

/* Form controls */

input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="url"],
  input[type="search"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select {
  border-radius: 20px;
  border-style: none;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
    background-color: #333;
    font-size: 14px;
    font-family: inherit;
    height: 40px;
    line-height: 40px;
    padding: 0 16px;
    transition: box-shadow 0.3s, border-color 0.3s;
    box-shadow: none;
}

input::-moz-placeholder, textarea::-moz-placeholder, select::-moz-placeholder {
    color: #ccc;
  }

input::placeholder,
  textarea::placeholder,
  select::placeholder {
    color: #ccc;
  }

input:focus,
  textarea:focus,
  select:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgba(0, 211, 255, 0.3);
    --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(0px + 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);
  }

textarea {
    line-height: normal;
    height: 78px;
    padding: 16px;
    resize: vertical;
  }

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

/* --- Design System: Typography --- */

.gradient-text {
    display: inline-block;
    background: linear-gradient(90deg, #00d3ff, #f00ac0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

/* --- Design System: Gradient Button (CTA) --- */

.btn--gradient {
  position: relative;
  z-index: 1;
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  border-style: none;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none; text-align: center;
    font-family: inherit;
    padding: 8px 24px 7px;
    background-image: linear-gradient(90deg, #00d3ff, #f00ac0);
    transition: transform 0.3s;
}

.btn--gradient:hover {
  text-decoration-line: none;
    transform: translateY(-2px);
}

.btn--gradient::after {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: -1;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    filter: blur(8px);
    opacity: 0.5;
    background-image: linear-gradient(90deg, #00d3ff, #f00ac0);
    transition: opacity 0.3s, transform 0.3s;
  }

.btn--gradient:hover::after {
    opacity: 0.8;
    transform: translateY(2px);
  }

/* --- Design System: Outline Button (gradient border) --- */

.btn--outline {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  border-style: none;
  background-color: transparent;
  padding: 0px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none; text-align: center;
    font-family: inherit;
    transition: transform 0.3s, background-image 0.3s;
}

.btn--outline:hover {
  text-decoration-line: none;
    transform: translateY(-2px);
    background-image: linear-gradient(90deg, rgba(0, 211, 255, 0.3), rgba(240, 10, 192, 0.3));
}

.btn--outline i {
    position: relative;
    left: -6px;
  }

.btn--outline span {
    padding: 10px 4px 9px;
    line-height: 1;
    display: flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-style: normal;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    -o-border-image: linear-gradient(90deg, #00d3ff, #f00ac0);
       border-image: linear-gradient(90deg, #00d3ff, #f00ac0);
    border-image-slice: 1 0 1 0;
  }

.btn--outline::before,
  .btn--outline::after {
    content: "";
    width: 20px;
    min-height: 40px;
  }

.btn--outline::before {
    border-radius: 40px 0 0 40px;
    border-left: 2px solid #00d3ff;
    border-top: 2px solid #00d3ff;
    border-bottom: 2px solid #00d3ff;
  }

.btn--outline::after {
    border-radius: 0 40px 40px 0;
    border-right: 2px solid #f00ac0;
    border-top: 2px solid #f00ac0;
    border-bottom: 2px solid #f00ac0;
  }

.btn--outline.is-loading {
  pointer-events: none;
  opacity: 0.6;
}

.btn--outline.is-loading span::after {
    content: "";
    margin-left: 0.5rem;
    display: inline-block;
    height: 1rem;
    width: 1rem;
  }

@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}

.btn--outline.is-loading span::after {
  animation: spin 1s linear infinite;
  border-radius: 9999px;
  border-width: 2px;
  border-color: rgb(255 255 255 / 0.3);
  --tw-border-opacity: 1;
  border-top-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}

/* --- Design System: Single-color Buttons --- */

.btn-base {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none; text-align: center;
    border: 2px solid transparent;
    font-family: inherit;
    padding: 8px 24px 7px;
    transition: transform 0.3s, background 0.3s;
}

.btn-base i {
    position: relative;
    left: -6px;
  }

.btn-base:hover {
    transform: translateY(-2px);
    text-decoration-line: none;
  }

.btn-base.btn-base--sm {
    font-size: 12px;
    padding: 6px 18px;
    border-width: 1px;
  }

.btn-base.btn-base--sm i {
    left: -4px;
  }

/* Filled variants */

.btn-filled--cyan {
    background: #03d3ff;
    --tw-text-opacity: 1;
    color: rgb(2 26 34 / var(--tw-text-opacity, 1));
  }

.btn-filled--cyan:hover {
    background: #02b8de;
  }

.btn-filled--blue {
    background: #0ca3e1;
    --tw-text-opacity: 1;
    color: rgb(2 26 34 / var(--tw-text-opacity, 1));
  }

.btn-filled--blue:hover {
    background: #0b92ca;
  }

.btn-filled--gray {
    background: #333;
    border: 2px solid #333;
  }

.btn-filled--gray:hover {
    background: #444;
  }

/* Stroked variants */

.btn-stroke--cyan {
  background-color: transparent;
    border: 2px solid #0ca3e1;
}

.btn-stroke--cyan:hover {
    background: rgba(12, 163, 225, 0.12);
  }

.btn-stroke--magenta {
  background-color: transparent;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    border: 2px solid #f00ac0;
}

.btn-stroke--magenta:hover {
    background: rgba(240, 10, 192, 0.12);
  }

.btn-stroke--orange {
  background-color: transparent;
    color: #ff8c00;
    border: 2px solid #ff8c00;
}

.btn-stroke--orange:hover {
    background: rgba(255, 140, 0, 0.12);
  }

.btn-stroke--dark-blue {
    background: transparent;
    border: 2px solid #337089;
    color: #7eaab8;
  }

.btn-stroke--dark-blue:hover {
    background: rgba(51, 112, 137, 0.15);
  }

.btn-stroke--yellow {
  background-color: transparent;
    color: #ffc107;
    border: 2px solid #ffc107;
}

.btn-stroke--yellow:hover {
    background: rgba(255, 193, 7, 0.12);
  }

.btn-stroke--yellow.is-featured {
    background: #ffc107;
    color: #000;
    border-color: #ffc107;
  }

/* --- Design System: Dropdown --- */

.\!dropdown {
  position: relative;
  display: inline-block;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown__trigger {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  border-radius: 20px;
  border-style: none;
  --tw-bg-opacity: 1;
  background-color: rgb(34 34 34 / var(--tw-bg-opacity, 1));
  font-size: 0.875rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    font-family: inherit;
    line-height: 1rem;
    padding: 11px 36px 11px 16px;
    min-width: 160px;
    text-align: left;
    transition: background 0.3s;
    gap: 8px;
}

.dropdown__trigger:hover {
    background: #2a2a2a;
  }

.dropdown__trigger::before,
  .dropdown__trigger::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 2px;
    background-color: #fff;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 1px;
    transition: transform 0.2s;
  }

.dropdown__trigger::before {
    transform: rotate(-45deg);
    right: 16px;
  }

.dropdown__trigger::after {
    transform: rotate(45deg);
    right: 19px;
  }

.\!dropdown.open .dropdown__trigger::before {
    transform: rotate(45deg) !important;
  }

.dropdown.open .dropdown__trigger::before {
    transform: rotate(45deg);
  }

.\!dropdown.open .dropdown__trigger::after {
    transform: rotate(-45deg) !important;
  }

.dropdown.open .dropdown__trigger::after {
    transform: rotate(-45deg);
  }

.\!dropdown.open .dropdown__trigger {
    background: #2a2a2a !important;
  }

.dropdown.open .dropdown__trigger {
    background: #2a2a2a;
  }

.dropdown__menu {
  position: absolute;
  z-index: 1060;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    background: #222;
    border-radius: 12px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.\!dropdown.open .dropdown__menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition: opacity 0.2s, transform 0.2s, visibility 0s !important;
  }

.dropdown.open .dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.2s, transform 0.2s, visibility 0s;
  }

.dropdown__item {
  display: block;
  width: 100%;
  cursor: pointer;
  border-style: none;
  background-color: transparent;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(170 170 170 / var(--tw-text-opacity, 1));
    font-family: inherit;
    padding: 8px 16px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.dropdown__item:hover {
    background: rgba(255, 255, 255, 0.06);
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }

.dropdown__item.active {
  --tw-text-opacity: 1;
  color: rgb(0 211 255 / var(--tw-text-opacity, 1));
}

/* Dropdown variants */

.dropdown--bordered .dropdown__trigger {
    background: transparent;
    border: 2px solid #444;
  }

.dropdown--bordered .dropdown__trigger:hover {
    border-color: #444;
  }

.dropdown--bordered.open .dropdown__trigger {
    border-color: #444;
  }

.dropdown--bordered .dropdown__menu {
    border: 2px solid #333;
  }

.dropdown--blue .dropdown__trigger {
    background: transparent;
    border: 2px solid #0ca3e1cf;
  }

.dropdown--blue .dropdown__trigger:hover {
    background: rgba(12, 163, 225, 0.08);
  }

.dropdown--blue.open .dropdown__trigger {
    border-color: #0ca3e1;
    background: rgb(12 163 225 / 34%);
  }

.dropdown--blue .dropdown__menu {
    border: 2px solid #0ca3e1cf;
  }

.dropdown--magenta .dropdown__trigger {
    background: transparent;
    border: 2px solid rgba(240, 10, 192, 0.8);
  }

.dropdown--magenta .dropdown__trigger:hover {
    background: rgba(240, 10, 192, 0.08);
  }

.dropdown--magenta.open .dropdown__trigger {
    border-color: #f00ac0;
    background: rgba(240, 10, 192, 0.34);
  }

.dropdown--magenta .dropdown__menu {
    border: 2px solid rgba(240, 10, 192, 0.8);
  }

/* --- Design System: Segmented Switch --- */

.seg-switch {
  position: relative;
  display: inline-flex;
  border-radius: 24px;
    background: transparent;
    border: 2px solid #333;
    padding: 5px;
}

.seg-switch__pill {
  pointer-events: none;
  position: absolute;
  border-radius: 20px;
    top: 5px;
    left: 0;
    height: calc(100% - 10px);
    background: linear-gradient(90deg, #00d3ff, #f00ac0);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    box-shadow: 0 0 16px rgba(0, 211, 255, 0.25);
}

.seg-switch__option {
  position: relative;
  z-index: 1;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 20px;
  border-style: none;
  background-color: transparent;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
    font-family: inherit;
    padding: 8px 24px 7px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.25s;
}

.seg-switch__option.active {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.seg-switch__option:hover {
    color: rgba(255, 255, 255, 1.0);
  }

.seg-switch--sm {
    font-size: 12px;
  }

.seg-switch--sm .seg-switch__option {
    padding: 5px 14px;
  }

/* Extra-small variant */

.seg-switch--xs {
    padding: 3px;
  }

.seg-switch--xs .seg-switch__pill {
    top: 3px;
    height: calc(100% - 6px);
  }

.seg-switch--xs .seg-switch__option {
    padding: 4px 12px 3px;
    font-size: 10px;
    letter-spacing: 0.8px;
  }

/* Cyan */

.seg-switch--cyan {
    border-color: rgba(12, 163, 225, 0.3);
  }

.seg-switch--cyan .seg-switch__pill {
    background: #0ca3e1;
    box-shadow: 0 0 16px rgba(12, 163, 225, 0.3);
  }

.seg-switch--cyan .seg-switch__option.active {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.seg-switch--cyan .seg-switch__option:not(.active) {
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
  }

.seg-switch--cyan .seg-switch__option:not(.active):hover {
    color: #fff;
  }

/* Magenta */

.seg-switch--magenta {
    border-color: rgba(240, 10, 192, 0.4);
  }

.seg-switch--magenta .seg-switch__pill {
    background: #f00ac0;
    box-shadow: 0 0 16px rgba(240, 10, 192, 0.3);
  }

.seg-switch--magenta .seg-switch__option.active {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.seg-switch--magenta .seg-switch__option:not(.active) {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
  }

.seg-switch--magenta .seg-switch__option:not(.active):hover {
    color: #fff;
  }

/* --- Verify Banner --- */

.verify-banner {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  padding-top: 76px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
    background: linear-gradient(90deg, #1a3a4a, #2a2a4a);
    border-bottom: 1px solid rgba(0, 200, 255, 0.2);
    color: #e0f0ff;
}

.verify-banner + .pt-navbar {
    padding-top: 0;
  }

.verify-banner svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.verify-banner__resend {
  cursor: pointer;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(0 198 255 / var(--tw-text-opacity, 1));
  text-decoration-line: underline;
}

.verify-banner__resend:hover {
  text-decoration-line: none;
}

/* --- Alerts / Flash --- */

.flashes {
  pointer-events: none;
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: 5000;
  width: 100%; text-align: center;
    padding: 0 16px 24px;
}

.flash {
  pointer-events: auto;
  display: inline-flex;
  --tw-translate-y: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  align-items: center;
  gap: 0.75rem;
  opacity: 1;
  --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);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 600ms;
    min-width: 320px;
    max-width: 520px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.flash.preparing {
  --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));
  opacity: 0;
}

.alert {
  position: relative;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.alert-success {
    background: rgba(15, 127, 17, 0.85);
    border-color: rgba(15, 180, 20, 0.25);
    box-shadow: 0 8px 32px rgba(15, 127, 17, 0.3);
  }

.alert-danger {
    background: rgba(169, 68, 66, 0.85);
    border-color: rgba(200, 80, 80, 0.25);
    box-shadow: 0 8px 32px rgba(169, 68, 66, 0.3);
  }

.alert-info {
    background: rgba(0, 35, 48, 0.9);
    border-color: rgba(0, 211, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }

/* --- Pagination (load more) --- */

.pagination {
  width: 100%; text-align: center;
}

.pagination .next {
  display: inline-block;
  border-radius: 0.25rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
}

.pagination .\!next {
  display: inline-block;
  border-radius: 0.25rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
}

.pagination .next {
    background: linear-gradient(#0092bc, #00556d);
  }

.pagination .\!next {
    background: linear-gradient(#0092bc, #00556d) !important;
  }

.pagination .next:hover {
    background: #0092bc;
  }

.pagination .\!next:hover {
    background: #0092bc !important;
  }

/* --- Results area transition --- */

.results-area {
  position: relative;
  z-index: 6;
    transition: opacity 1s;
    transform: translate(0, 0);
}

/* --- Progress bar --- */

.progress {
  height: 1rem;
  width: 100%;
  overflow: hidden;
  border-radius: 0.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1));
}

.progress-bar {
  height: 100%;
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 183 / var(--tw-bg-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* --- Navbar --- */

.navbar-main {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 1030;
  display: flex;
  align-items: center;
    background: #0a0f1ee6;
    height: 64px;
    padding: 0 24px;
    font-family: 'Poppins', sans-serif;
}

/* Logo */

.navbar-main .logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  text-decoration-line: none;
}

.navbar-main .logo img {
    max-height: 40px;
  }

/* Nav area */

.nav-area {
  display: flex;
  flex: 1 1 0%;
  align-items: center;
    gap: 2px;
    min-width: 0;
}

.nav-menu {
  margin: 0px;
  display: none;
  flex: 1 1 0%;
  list-style-type: none;
  align-items: center;
  justify-content: flex-end;
  padding: 0px;
}

@media (min-width: 768px) {

  .nav-menu {
    display: flex;
  }
}

.nav-menu {
    gap: 2px;
  }

/* Nav items with pill hover */

.nav-item>a {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 14px;
  text-decoration-line: none;
    padding: 6px 12px;
    color: #fff;
    font-weight: 500;
    border-radius: 20px;
    transition: color 0.3s;
}

.nav-item>a::before {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: -1;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.10);
    transform: scale(1.12);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.2s ease;
  }

.nav-item>a:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
}

.nav-item>a:hover::before {
    transform: scale(1);
    opacity: 1;
  }

.nav-item.active>a {
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.nav-item.active>a::before {
    transform: scale(1);
    opacity: 1;
  }

/* Custom dropdown menus */

.nav-item--dropdown {
    position: relative;
  }

.nav-item--dropdown > .nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding-right: 30px;
  }

/* Chevron arrow — two rotated bars matching design system */

.nav-dropdown-trigger::after,
  .nav-dropdown-trigger .nav-dropdown-chevron-r {
    content: "";
    width: 6px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 1px;
    transition: transform 0.2s;
  }

.nav-dropdown-trigger::after {
    transform: rotate(45deg);
    right: 11px;
  }

.nav-dropdown-trigger .nav-dropdown-chevron-r {
    transform: rotate(-45deg);
    right: 8px;
  }

.nav-item--dropdown:hover .nav-dropdown-trigger::after {
    transform: rotate(-45deg);
  }

.nav-item--dropdown:hover .nav-dropdown-trigger .nav-dropdown-chevron-r {
    transform: rotate(45deg);
  }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 180px;
    background: #0a213e;
    border-radius: 12px;
    padding: 6px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
    z-index: 1060;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  }

/* Invisible hover bridge — prevents mouseout gap between trigger and dropdown */

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
  }

.nav-item--dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.2s, transform 0.2s, visibility 0s;
  }

.nav-dropdown li a {
    display: block;
    width: 100%;
    padding: 8px 16px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    background: transparent;
    text-decoration: none;
    text-align: left;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
  }

.nav-dropdown li a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }

.nav-dropdown li a i {
    font-size: 14px;
    opacity: 0.6;
    margin-right: 6px;
  }

/* Override pill pseudo-element z-index for dropdown items */

.nav-item--dropdown > a::before {
    z-index: -1;
  }

/* Search wrapper */

.search-wrap {
  position: relative;
    margin: 0 8px;
}

/* Shared search input — selector raised to [0,1,1] to beat base input[type] rule */

input.search-input {
  border-style: none;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
    font-family: 'Poppins', sans-serif;
    height: 36px;
    line-height: 36px;
    padding: 0 36px 0 16px;
    font-size: 13px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    transition: background-color 0.25s, box-shadow 0.25s;
}

input.search-input::-moz-placeholder {
    color: rgba(255, 255, 255, 0.35);
  }

input.search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
  }

input.search-input:focus {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(0, 211, 255, 0.3);
  }

/* Inline search (wide screens — hidden on tablet) */

.search-inline {
  position: relative;
  display: none;
  align-items: center;
}

@media (min-width: 1024px) {

  .search-inline {
    display: flex;
  }
}

.search-inline .search-input {
    width: 200px;
  }

.search-inline .search-icon {
  pointer-events: none;
  position: absolute;
  display: flex;
  cursor: pointer;
  border-style: none;
  background-image: none;
  padding: 0px;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.2s;
}

/* Search suggestions dropdown */

.search-suggestions {
  position: absolute;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 280px;
    background: #0f1a28;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s ease;
    gap: 6px;
}

.search-suggestions.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

.search-suggestions .tag {
  display: inline-block;
  white-space: nowrap;
  text-decoration-line: none;
}

.search-suggestions .\!tag {
  display: inline-block;
  white-space: nowrap;
  text-decoration-line: none;
}

.search-suggestions .tag {
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    transition: background-color 0.15s, color 0.15s;
  }

.search-suggestions .\!tag {
    padding: 5px 14px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px !important;
    transition: background-color 0.15s, color 0.15s !important;
  }

.search-suggestions .tag:hover,
  .search-suggestions .tag.active {
    background: rgba(255, 255, 255, 0.12);
  }

.search-suggestions .\!tag:hover,
  .search-suggestions .\!tag.active {
    background: rgba(255, 255, 255, 0.12) !important;
  }

.search-suggestions .tag:hover,
  .search-suggestions .tag.active {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.search-suggestions .\!tag:hover,
  .search-suggestions .\!tag.active {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* Search trigger icon (narrow screens) */

.search-trigger {
  position: relative;
  z-index: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border-style: none;
  background-image: none;
    width: 38px;
    height: 38px;
    display: none;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.search-trigger::before {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: -1;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.10);
    transform: scale(1.15);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.2s ease;
  }

.search-trigger:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.search-trigger:hover::before {
    transform: scale(1);
    opacity: 1;
  }

.search-trigger svg {
  pointer-events: none;
}

/* Search overlay panel — expands over navbar content from icon */

.search-overlay {
  position: absolute;
  display: none;
    top: 50%;
    right: 0;
    transform: translateY(0%) scaleX(0);
    transform-origin: right center;
    width: min(420px, calc(100vw - 120px));
    background: rgba(20, 30, 35, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 6px 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 200;
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0%) scaleX(1);
  }

.search-overlay .search-input {
    width: 100%;
    padding-right: 16px;
  }

.search-overlay .search-suggestions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
    gap: 6px;
    padding: 8px 4px 4px;
    top: auto;
    left: auto;
    right: auto;
    min-width: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
}

.search-overlay .search-suggestions.visible {
    opacity: 1;
    visibility: visible;
  }

.search-overlay .tag {
  display: inline-block;
  white-space: nowrap;
  text-decoration-line: none;
}

.search-overlay .\!tag {
  display: inline-block;
  white-space: nowrap;
  text-decoration-line: none;
}

.search-overlay .tag {
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    transition: background-color 0.15s, color 0.15s;
  }

.search-overlay .\!tag {
    padding: 5px 14px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 13px !important;
    transition: background-color 0.15s, color 0.15s !important;
  }

.search-overlay .tag:hover {
    background: rgba(255, 255, 255, 0.12);
  }

.search-overlay .\!tag:hover {
    background: rgba(255, 255, 255, 0.12) !important;
  }

.search-overlay .tag:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.search-overlay .\!tag:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* Responsive: collapse search below lg (covers iPad) */

@media (max-width: 1023px) {
    .search-inline {
      display: none;
    }
  
    .search-trigger {
      display: inline-flex;
    }
  
    .search-overlay {
      display: block;
    }
  }

/* Upload button */

.btn-upload {
  position: relative;
  z-index: 1;
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  border-radius: 20px;
  border-style: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    padding: 7px 20px;
    gap: 8px;
    max-width: 150px;
    background-image: linear-gradient(90deg, #00d3ff, #f00ac0);
    margin-left: 8px;
    transition: transform 0.2s;
}

.btn-upload:hover {
    transform: translateY(-2px);
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    text-decoration-line: none;
  }

.btn-upload::after {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: -1;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    filter: blur(8px);
    opacity: 0.45;
    background-image: linear-gradient(90deg, #00d3ff, #f00ac0);
    transition: opacity 0.25s;
  }

.btn-upload:hover::after {
    opacity: 0.75;
  }

.btn-upload svg {
    width: 16px;
    height: 16px;
  }

/* Notification bell + dropdown */

.notif-wrap {
  position: relative;
    margin-left: 6px;
}

.notif-trigger {
  position: relative;
  z-index: 1;
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border-style: none;
  background-image: none;
    width: 38px;
    height: 38px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.notif-trigger::before {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: -1;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.10);
    transform: scale(1.15);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.2s ease;
  }

.notif-trigger:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.notif-trigger:hover::before {
    transform: scale(1);
    opacity: 1;
  }

.notif-trigger svg {
  pointer-events: none;
}

.notif-badge {
  position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #f00ac0;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    pointer-events: none;
}

.notif-dropdown {
  position: absolute;
  z-index: 200;
  display: flex;
  flex-direction: column;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    max-height: 420px;
    background: #0a213e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notif-title {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
  }

.notif-title:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
  }

.notif-mark-all {
  cursor: pointer;
  border-style: none;
  background-image: none;
    color: #00d3ff;
    font-size: 12px;
    font-weight: 600;
    padding: 0;
}

.notif-mark-all:hover {
    color: #fff;
  }

.notif-list {
    overflow-y: auto;
    max-height: 360px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  }

.notif-list::-webkit-scrollbar {
    width: 6px;
  }

.notif-list::-webkit-scrollbar-track {
    background: transparent;
  }

.notif-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
  }

.notif-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
  }

.notif-item {
  display: flex;
  gap: 0.75rem;
  text-decoration-line: none;
    padding: 12px 16px;
    background: rgba(99, 130, 255, 0.12);
    transition: background 0.15s;
}

.notif-item:hover {
    background: rgba(255, 255, 255, 0.15);
    text-decoration-line: none;
  }

.notif-item--read {
    background: transparent;
    opacity: 0.55;
  }

.notif-item--read:hover {
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
  }

.notif-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    -o-object-fit: cover;
       object-fit: cover;
    flex-shrink: 0;
  }

.notif-avatar--default {
  display: inline-flex;
  align-items: center;
  justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}

.notif-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    -o-object-fit: cover;
       object-fit: cover;
    flex-shrink: 0;
  }

/* Liker avatar → liked pattern thumbnail */

.notif-pair {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.375rem;
  align-self: flex-start;
}

.notif-pair__arrow {
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
  }

.notif-body {
    flex: 1;
    min-width: 0;
  }

.notif-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
  }

.notif-label strong {
    color: #fff;
    font-weight: 600;
  }

.notif-preview {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

.notif-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 4px;
  }

.notif-empty {
    padding: 24px 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
  }

.notif-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
    padding: 32px 16px;
}

.notif-spinner span {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: notif-spin 0.6s linear infinite;
  }

@keyframes notif-spin {
    to { transform: rotate(360deg); }
  }

.notif-see-more {
  display: block;
  text-decoration-line: none; text-align: center;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #00d3ff;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s;
}

.notif-see-more:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-decoration-line: none;
  }

/* Full-page notification list */

.notif-page-list {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 40px;
  }

.notif-page-list .notif-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

.notif-page-list .notif-item:last-child {
    border-bottom: none;
  }

@media (max-width: 1023px) {
    .notif-dropdown {
      position: fixed;
      top: 60px;
      right: 8px;
      left: 8px;
      width: auto;
    }
  }

/* User icon + dropdown */

.user-wrap {
  position: relative;
    margin-left: 6px;
}

.user-trigger {
  position: relative;
  z-index: 1;
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border-style: none;
  background-image: none;
  text-decoration-line: none;
    width: 38px;
    height: 38px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.user-trigger::before {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: -1;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.10);
    transform: scale(1.15);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.2s ease;
  }

.user-trigger:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.user-trigger:hover::before {
    transform: scale(1);
    opacity: 1;
  }

.user-trigger svg {
    width: 17px;
    height: 17px;
    pointer-events: none;
  }

.user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #00d3ff, #f00ac0);
  }

.user-avatar img {
    display: block;
    border-radius: 50%;
    border: 2px solid #001930;
    width: 28px;
    height: 28px;
    -o-object-fit: cover;
       object-fit: cover;
  }

.user-dropdown {
  position: absolute;
  z-index: 200;
  display: flex;
  flex-direction: column;
    top: calc(100% + 8px);
    right: 0;
    width: 200px;
    background: #0f1a28;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    gap: 6px;
}

.user-wrap::after {
    content: "";
    position: absolute;
    display: none;
    top: 100%;
    right: 0;
    width: 200px;
    height: 12px;
  }

.user-wrap:hover::after {
  display: block;
}

.user-wrap:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

.user-wrap:hover .user-trigger {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.user-wrap:hover .user-trigger::before {
    transform: scale(1);
    opacity: 1;
  }

.btn-dd {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border-style: none;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  text-decoration-line: none; text-align: center;
    font-family: 'Poppins', sans-serif;
    padding: 9px 16px;
    transition: background-color 0.2s;
}

.btn-dd--login {
    background: rgba(255, 255, 255, 0.08);
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }

.btn-dd--login:hover {
    background: rgba(255, 255, 255, 0.14);
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    text-decoration-line: none;
  }

.btn-dd--register {
    background: linear-gradient(90deg, #00d3ff, #f00ac0);
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }

.btn-dd--register:hover {
    filter: brightness(1.1);
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    text-decoration-line: none;
  }

.btn-dd--profile {
    background: rgba(0, 211, 255, 0.12);
    --tw-text-opacity: 1;
    color: rgb(0 211 255 / var(--tw-text-opacity, 1));
  }

.btn-dd--profile:hover {
    background: rgba(0, 211, 255, 0.15);
    --tw-text-opacity: 1;
    color: rgb(0 211 255 / var(--tw-text-opacity, 1));
    text-decoration-line: none;
  }

.btn-dd--secondary {
    background: rgba(255, 255, 255, 0.1);
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }

.btn-dd--secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    text-decoration-line: none;
  }

.btn-dd--admin {
    background: rgba(255, 255, 255, 0.16);
    font-weight: 800;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }

.btn-dd--admin:hover {
    background: rgba(255, 255, 255, 0.22);
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    text-decoration-line: none;
  }

.btn-dd--logout {
    background: rgba(255, 255, 255, 0.05);
    --tw-text-opacity: 1;
    color: rgb(170 170 170 / var(--tw-text-opacity, 1));
  }

.btn-dd--logout:hover {
    background: rgba(255, 255, 255, 0.10);
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    text-decoration-line: none;
  }

/* Mobile menu */

.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0px;
  right: 0px;
  z-index: 99;
    background: #0c1528;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 24px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s 0.25s;
}

.mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s;
  }

.mobile-menu__search {
    margin-bottom: 12px;
  }

.mobile-menu__search .search-input {
    width: 100%;
  }

.mobile-menu .nav-item {
    text-align: center;
    padding: 4px 0;
  }

.mobile-menu .nav-item>a {
    padding: 6px 16px;
  }

.nav-mobile-parent {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  border-style: none;
  background-color: transparent;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    font-size: 14px;
    padding-bottom: 6px;
    gap: 6px;
}

.nav-mobile-chevron {
    transition: transform 0.2s;
    opacity: 0.5;
  }

.nav-mobile-parent.open .nav-mobile-chevron {
    transform: rotate(180deg);
  }

.nav-item--has-children {
    text-align: center;
    padding: 4px 0;
  }

.nav-mobile-submenu {
  margin: 0px;
  list-style-type: none;
  padding: 0px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.nav-mobile-submenu li a {
  display: block;
  --tw-text-opacity: 1;
  color: rgb(170 170 187 / var(--tw-text-opacity, 1));
  text-decoration-line: none; text-align: center;
    padding: 8px 16px;
    font-size: 14px;
    transition: color 0.15s;
}

.nav-mobile-submenu li a:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* Mobile menu footer section */

.mobile-menu__footer {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
}

.mobile-menu__upload {
    margin-bottom: 14px;
  }

/* Login + Register on same row */

.mobile-menu__auth-row {
  display: flex;
  gap: 0.5rem;
}

.mobile-menu__auth-row .btn-dd {
  flex: 1 1 0%; text-align: center;
}

.mobile-menu__auth-row .btn-dd--register {
    background: rgba(255, 255, 255, 0.08);
  }

.mobile-menu__auth-row .btn-dd--register:hover {
    background: rgba(255, 255, 255, 0.14);
  }

/* --- Footer --- */

.vpz-footer {
    background: #0a0a0a;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
  }

.vpz-footer__inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 48px 16px 24px;
  }

.vpz-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    padding-bottom: 24px;
    border-bottom: 1px solid #222;
  }

.vpz-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
  }

.vpz-footer-logo__img {
    height: 40px;
    width: auto;
    vertical-align: middle;
  }

.vpz-footer-counts {
    display: flex;
    align-items: baseline;
    gap: 40px;
    flex-wrap: wrap;
  }

.vpz-footer-count__num {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(90deg, #00d3ff, #f00ac0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-right: 10px;
  }

.vpz-footer-count__label {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
  }

.vpz-footer-mid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 48px;
    padding: 32px 0;
    align-items: start;
  }

.vpz-footer-social__title {
    font-size: 14px;
    color: #aaa;
    margin: 0 0 14px;
  }

.vpz-footer-social {
    display: flex;
    gap: 12px;
  }

.vpz-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
  }

.vpz-footer-social a:hover {
    color: #f00ac0;
  }

.vpz-footer-social svg {
    width: 22px;
    height: 22px;
  }

.vpz-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
  }

.vpz-footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
  }

.vpz-footer-links a:hover {
    color: #f00ac0;
  }

.vpz-footer-desc {
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
  }

.vpz-footer-desc p {
    margin: 0 0 10px;
  }

.vpz-footer-desc a {
    color: #00d3ff;
    text-decoration: none;
  }

.vpz-footer-desc a:hover {
    text-decoration: underline;
  }

.vpz-footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #222;
    font-size: 14px;
    color: #fff;
  }

.vpz-footer-bottom p {
    margin: 0 0 8px;
  }

.vpz-footer-bottom span {
    color: #aaa;
  }

.vpz-footer-bottom a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
  }

.vpz-footer-bottom a:hover {
    color: #f00ac0;
  }

@media (max-width: 768px) {
    .vpz-footer__inner {
      padding: 32px 16px 20px;
    }
  
    .vpz-footer-top {
      gap: 24px;
    }
  
    .vpz-footer-mid {
      grid-template-columns: 1fr;
      gap: 28px;
    }
  
    .vpz-footer-counts {
      gap: 24px;
    }
  
    .vpz-footer-count__num {
      font-size: 40px;
    }
  }

/* --- Design System: Search Hero --- */

.search-hero {
  position: relative;
  border-radius: 0.75rem; text-align: center;
    padding: clamp(46px, 8vw, 38px) clamp(20px, 4vw, 48px) 0px;
    background: radial-gradient(ellipse at 50% 0%, rgb(3 211 255 / 23%) 0%, transparent 55%), radial-gradient(ellipse at 80% 100%, rgba(0, 211, 255, 0.06) 0%, transparent 50%), #000;
}

.search-hero--full {
    border-radius: 0;
    margin-top: -64px;
    padding-top: calc(64px + clamp(46px, 8vw, 38px));
  }

.search-hero--patterns {
    background: radial-gradient(ellipse at 50% 0%, rgb(255 3 229 / 20%) 0%, transparent 55%), radial-gradient(ellipse at 80% 100%, rgba(0, 211, 255, 0.06) 0%, transparent 50%), #000;
  }

.search-hero--authors {
    background: radial-gradient(ellipse at 50% 0%, rgb(100 175 255 / 31%) 0%, transparent 55%), radial-gradient(ellipse at 80% 100%, rgba(0, 211, 255, 0.06) 0%, transparent 50%), #000;
  }

.search-hero::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0px;
    background:
      repeating-linear-gradient(60deg,
        transparent 0 18px, rgba(0, 211, 255, 0.08) 18px 20px,
        transparent 20px 38px, rgba(240, 10, 192, 0.06) 38px 40px),
      repeating-linear-gradient(-60deg,
        transparent 0 18px, rgba(0, 211, 255, 0.05) 18px 20px,
        transparent 20px 38px, rgba(126, 170, 184, 0.05) 38px 40px);
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 65%);
    opacity: 0.7;
  }

.search-hero__inner {
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
}

.search-hero__title {
  font-weight: 700;
  text-transform: uppercase;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    font-size: clamp(32px, 4.5vw, 56px);
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin: 0 0 24px;
}

.search-hero__form {
  position: relative;
  margin-left: auto;
  margin-right: auto;
    max-width: 720px;
    margin-bottom: 20px;
}

.search-hero__input[type=search],
  .search-hero__input[type=text] {
  width: 100%;
  border-style: none;
  --tw-text-opacity: 1;
  color: rgb(10 10 10 / var(--tw-text-opacity, 1));
    height: 64px;
    line-height: 64px;
    padding: 0 84px 0 28px;
    border-radius: 32px;
    background: #fff;
    font-size: 17px;
    font-family: inherit;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    transition: box-shadow 0.3s;
}

.search-hero__input::-moz-placeholder {
    color: #666;
    font-weight: 400;
  }

.search-hero__input::placeholder {
    color: #666;
    font-weight: 400;
  }

.search-hero__input:focus {
    outline: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(12, 163, 225, 0.5);
  }

.search-hero__submit {
  position: absolute;
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-style: none;
  padding: 0px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f00ac0;
    transition: background 0.25s, transform 0.25s;
}

.search-hero__submit:hover {
    background: #d609a9;
    transform: translateY(-50%) scale(1.04);
  }

.page-authors-index .search-hero__submit {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0ca3e1;
  }

.page-authors-index .search-hero__submit:hover {
    background: #0b92ca;
  }

.search-hero__submit svg {
    width: 20px;
    height: 20px;
  }

.search-hero__dropdown {
  position: absolute;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #0f1a28;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s ease;
    gap: 8px;
}

.search-hero__dropdown.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

.search-hero__dropdown-tag {
  display: inline-block;
  white-space: nowrap;
  text-decoration-line: none;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: background-color 0.15s, color 0.15s;
}

.search-hero__dropdown-tag:hover,
  .search-hero__dropdown-tag.active {
    background: rgba(255, 255, 255, 0.12);
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    text-decoration-line: none;
  }

.search-hero__suggestions {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
    gap: 6px;
    margin-bottom: 40px;
    max-width: 1200px;
}

.search-hero__chip {
  display: inline-block;
  cursor: pointer;
  border-radius: 20px;
  border-style: none;
  text-decoration-line: none;
    font-family: inherit;
    font-size: 12px;
    padding: 4px 10px;
    background: #586e8899;
    color: #ffffff;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.search-hero__chip:hover {
    background: #0ba1de;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    text-decoration-line: none;
  }

.search-hero__suggest-all {
    background: #346793;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }

.search-hero__suggest-all:hover {
    background: #0b7eca;
  }

.search-hero__filters {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
    gap: 16px;
    max-width: 1170px;
    padding: 0 16px;
    padding-bottom: 16px;
}

.search-hero__filters-left {
  display: inline-flex;
  flex-wrap: wrap;
    gap: 8px;
}

.search-hero__filters-right {
  display: inline-flex;
  flex-wrap: wrap;
    gap: 8px;
}

.search-hero__filters--centered {
    justify-content: center;
    position: relative;
    z-index: 10;
  }

.search-hero .dropdown__trigger {
    min-width: 0;
    font-size: 0.75rem;
    line-height: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
  }

@media (max-width: 640px) {
  
    .search-hero__input[type=search],
    .search-hero__input[type=text] {
      height: 56px;
      line-height: 56px;
      font-size: 15px;
      padding: 0 72px 0 20px;
    }
  
    .search-hero__submit {
      width: 40px;
      height: 40px;
      border-radius: 50%;
    }
  
    .page-authors-index .search-hero__submit {
      width: 40px;
      height: 40px;
      border-radius: 50%;
    }
  
    .search-hero__filters {
    flex-direction: column;
    align-items: stretch;
  }
  
    .search-hero__filters-left,
    .search-hero__filters-right {
    justify-content: center;
  }
  }

/* --- Pattern card + hover preview --- */

.pattern {
  position: relative;
  margin-bottom: 1.25rem;
}

.pattern::before {
  display: block;
  height: 100px;
  width: 100%;
    content: '';
    background: #141414;
    border-radius: 5px;
    position: absolute;
    top: 0;
}

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

.pattern .image {
  position: relative;
  height: 100px;
  width: 100%;
  overflow: hidden;
    border-radius: 5px;
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position-x: 0;
    opacity: 0;
    transition: background-position-x 0s ease, opacity 0.4s ease;
}

.pattern .image.loaded {
    opacity: 1;
  }

.pattern .image.small {
  height: 80px;
}

/* ---- Pattern card hover preview (shared, fixed on body) ---- */

#patternPreview {
    position: absolute;
    z-index: 1100;
    width: 300px;
    overflow: hidden;
    border-radius: 20px;
    background: #2e2e2e;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 48px rgba(0,0,0,0.9), 0 0 60px rgba(0,211,255,0.05);
    visibility: hidden;
    opacity: 0;
    transform: translateX(-6px);
    transition: visibility 0s linear 0.15s, opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
  }

#patternPreview.left {
    transform: translateX(6px);
  }

#patternPreview.preview--visible {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition: visibility 0s, opacity 0.2s ease, transform 0.2s ease;
    pointer-events: auto;
  }

#patternPreview.preview--switching {
    opacity: 0;
    transition: opacity 0.1s ease;
  }

#patternPreview.left.preview--visible {
    transform: translateX(0);
  }

/* Preview image */

#patternPreview .preview-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #000;
    overflow: hidden;
    padding: 15px;
  }

#patternPreview .preview-image canvas.shader-thumb {
    position: absolute;
    inset: 15px;
    width: calc(100% - 30px) !important;
    height: calc(100% - 30px) !important;
  }

/* Spinner while image is loading */

#patternPreview.preview--loading .preview-image::after {
    content: '';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: #000;
  }

#patternPreview.preview--loading .preview-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: rgba(255,255,255,0.8);
    border-radius: 50%;
    z-index: 2;
    animation: preview-spin 0.7s linear infinite;
  }

@keyframes preview-spin {
    to { transform: rotate(360deg); }
  }

/* Mode switch — centered strip between image and body */

#patternPreview .preview-mode-wrap {
    display: flex;
    justify-content: center;
    padding: 8px 0 6px;
  }

/* Preview body */

#patternPreview .preview-body {
    padding: 11px 13px 13px;
  }

#patternPreview .preview-body h3 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 8px;
    color: #fff;
  }

#patternPreview .preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

#patternPreview .preview-author {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #5a8a98;
    min-width: 0;
  }

#patternPreview .preview-author__link {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    min-width: 0;
    overflow: hidden;
  }

#patternPreview .preview-author__link:hover .name {
    color: #fff;
  }

#patternPreview .preview-author .name {
    color: #00d3ff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

#patternPreview .preview-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
  }

#patternPreview .preview-stats .stat-downloads i {
    color: #00d3ff;
    margin-right: 7px;
    font-size: 13px;
  }

#patternPreview .preview-stats .stat-likes i {
    color: #e74c7a;
    margin-right: 5px;
    font-size: 13px;
  }

#patternPreview .preview-stats button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
    font: inherit;
    display: flex;
    align-items: center;
    transition: opacity 0.15s ease;
  }

#patternPreview .preview-stats button:hover {
    opacity: 0.7;
  }

#patternPreview .preview-stats .stat-likes.is-liked i {
    filter: brightness(1.3);
  }

/* Quick actions overlay — hidden on mobile (no hover) */

.pattern .quick-actions {
  visibility: hidden;
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  display: none;
  gap: 0.375rem;
  opacity: 0;
}

@media (min-width: 768px) {

  .pattern .quick-actions {
    display: flex;
  }
}

.pattern .quick-actions {
    z-index: 10;
    transform: translateY(4px);
    transition: visibility 0s linear 0.15s, opacity 0.15s ease, transform 0.15s ease;
  }

.search-suggestions.pattern:hover .quick-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

.search-overlay .search-suggestions.pattern:hover .quick-actions {
    opacity: 1;
    visibility: visible;
  }

.search-hero__dropdown.pattern:hover .quick-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

.pattern:hover .quick-actions {
  visibility: visible;
  opacity: 1;
    transform: translateY(0);
    transition: visibility 0s, opacity 0.25s ease, transform 0.25s ease;
    transition-delay: 0.3s;
}

.quick-action {
  display: flex;
  height: 2rem;
  width: 2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border-width: 0px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
    text-shadow: none;
    text-decoration: none;
}

.quick-action:hover {
    transform: scale(1.15);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    text-decoration: none;
  }

.quick-action:active {
    transform: scale(0.92);
  }

.quick-action--like .bi-heart-fill {
    position: relative;
    top: 2px;
  }

.quick-action--like.is-liked {
    background: rgba(231, 76, 122, 0.85);
    color: #fff;
  }

.quick-action--like:not(.is-liked):hover {
    color: #e74c7a;
  }

.quick-action--like.is-liked:hover {
    background: rgba(231, 76, 122, 1);
    color: #fff;
  }

.quick-action--download.is-downloaded {
    background: rgba(0, 211, 255, 0.7);
    color: #fff;
  }

.quick-action--download.is-downloaded:hover {
    background: rgba(0, 211, 255, 0.9);
    color: #fff;
  }

.quick-action--download:not(.is-downloaded):hover {
    color: #00d3ff;
  }

.quick-action--feature.is-featured {
    background: rgba(255, 193, 7, 0.85);
    color: #fff;
  }

.quick-action--feature.is-featured:hover {
    background: rgba(255, 193, 7, 1);
    color: #fff;
  }

.quick-action--feature:not(.is-featured):hover {
    color: #ffc107;
  }

/* Strip pattern banner (legacy — kept for edit page) */

.strip-pattern {
  height: 120px;
  overflow: hidden;
    background: repeat-x center / auto 100%;
}

/* =========================================================
     Pattern Detail: image strip + info bar
     ========================================================= */

/* Full-width pattern image banner */

.pattern-strip {
    height: 120px;
    overflow: hidden;
    background: #021a22 repeat-x center / auto 100%;
  }

/* Info bar below the strip */

.pattern-info-bar {
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    padding: 22px 0 20px;
  }

.pattern-info-bar__title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
  }

.pattern-info-bar__title-row .pattern-info-bar__title {
    margin: 0;
    flex-shrink: 0;
  }

.pattern-info-bar__admin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

/* Tag chips */

.pattern-info-bar__chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
  }

.pattern-chip {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #2a3a40;
    background: transparent;
    color: #5a8a98;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
  }

.pattern-chip:hover {
    border-color: #337089;
    color: #7eaab8;
    text-decoration: none;
  }

.pattern-chip--type {
    border-color: rgba(0, 211, 255, 0.4);
    color: #00d3ff;
    background: rgba(0, 211, 255, 0.06);
  }

.pattern-chip--type:hover {
    border-color: #00d3ff;
    color: #fff;
    background: rgba(0, 211, 255, 0.12);
  }

.pattern-chip--device {
    border-color: rgba(240, 10, 192, 0.35);
    color: #f00ac0;
    background: rgba(240, 10, 192, 0.06);
  }

.pattern-chip--device:hover {
    border-color: #f00ac0;
    color: #fff;
    background: rgba(240, 10, 192, 0.12);
  }

/* Title */

.pattern-info-bar__title {
    font-size: clamp(22px, 3.5vw, 38px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.15;
  }

.pattern-info-bar__title-row .pattern-info-bar__title {
    margin-bottom: 0;
  }

/* Meta row: author + stats */

.pattern-info-bar__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
  }

.pattern-info-bar__author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5a8a98;
  }

.pattern-info-bar__author img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
  }

.pattern-info-bar__author a {
    color: #fff;
    font-weight: 600;
  }

.pattern-info-bar__author a:hover {
    color: #00d3ff;
    text-decoration: none;
  }

.pattern-info-bar__sep {
    color: #3c5d66;
  }

.pattern-info-bar__report {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    color: #6a8a96;
    transition: color 0.2s;
  }

.pattern-info-bar__report i { font-size: 12px; }

.pattern-info-bar__report:hover { color: #c03060; }

.pattern-info-bar__report.is-reported {
    color: #e03050;
    cursor: default;
  }

.pattern-info-bar__report.is-reported:hover { color: #e03050; }

.pattern-info-bar__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
  }

/* Inline stat counter (icon + number) used in the consolidated actions row */

.pattern-info-bar__stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    color: #9cc0ce;
    transition: opacity 0.15s;
  }

.pattern-info-bar__stat:hover {
    opacity: 0.8;
  }

.pattern-info-bar__stat i {
    font-size: 18px;
    color: #5fd1ff;
  }

.pattern-info-bar__stat strong {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1;
  }

.pattern-info-bar__stat--likes i {
    color: #b02050;
    transition: color 0.15s, transform 0.15s;
  }

.pattern-info-bar__stat--likes.is-liked i {
    color: #ff2d78;
    transform: scale(1.15);
  }

.pattern-info-bar__stat--downloads i {
    color: #03d3ff;
    transition: color 0.15s;
  }

.download-label {
    display: inline-flex;
    align-items: center;
    gap: 3px;
  }

/* =========================================================
     Pattern Detail Page Layout
     ========================================================= */

.page-single-pattern {
    overflow-x: hidden;
    background: #1e1e1e;
  }

.pattern-detail {
    padding: 32px 0 48px;
  }

.pattern-detail__main {
    min-width: 0;
  }

.pattern-detail__description {
    margin-bottom: 22px;
    color: #8ca8b4;
    font-size: 15px;
    line-height: 1.75;
  }

.pattern-detail__description p {
    margin: 0;
  }

.pattern-detail__size {
    font-size: 13px;
    color: #c0d0d6;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
  }

.pattern-detail__size i { font-size: 12px; }

/* ---- Like CTA tweaks — base: btn-base btn-stroke--magenta ---- */

.like-cta {
    background: rgba(240, 10, 192, 0.08);
    border-color: rgb(240 10 192 / var(--tw-text-opacity, 1));
    height: 40px;
    padding-top: 0;
    padding-bottom: 0;
  }

.like-cta:hover {
    box-shadow: 0 0 18px rgba(240, 10, 192, 0.3);
  }

/* Liked — filled */

.like-cta.is-liked {
    background: #f00ac0;
    color: #fff;
    box-shadow: 0 4px 20px rgba(240, 10, 192, 0.45);
  }

.like-cta.is-liked:hover {
    box-shadow: 0 6px 28px rgba(240, 10, 192, 0.55);
  }

/* Follow CTA on pattern page */

.follow-cta {
    background: rgba(255, 140, 0, 0.08);
    gap: 6px;
  }

.follow-cta.is-following {
    background: #ff8c00;
    color: #fff;
    border-color: #ff8c00;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.35);
  }

.follow-cta.is-following:hover {
    box-shadow: 0 6px 28px rgba(255, 140, 0, 0.5);
  }

/* Comments section */

.pattern-detail__comments {
    margin-bottom: 32px;
  }

.pattern-detail__signin-prompt {
    color: #5a8a98;
    margin-bottom: 24px;
    font-size: 14px;
  }

/* Comment count badge */

.comment-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 12px;
    background: rgba(0, 211, 255, 0.12);
    color: #00d3ff;
    font-size: 13px;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
  }

/* Compose box */

.comment-compose {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
  }

input.comment-compose__field {
    flex: 1;
    padding: 8px 12px;
  }

.comment-compose__field:focus {
    border-color: rgba(0, 211, 255, 0.3);
  }

.comment-compose__field::-moz-placeholder {
    color: #666;
  }

.comment-compose__field::placeholder {
    color: #666;
  }

/* Comment thread */

.comment-thread {
    display: flex;
    flex-direction: column;
  }

.comment-thread__item {
    padding: 0;
    scroll-margin-top: 80px;
    animation: commentFadeIn 0.3s ease;
  }

.comment-thread__item--hidden {
    display: none;
  }

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

/* Comment card */

.comment-card {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

.comment-thread__item:last-child .comment-card {
    border-bottom: none;
  }

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

.comment-card__avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    -o-object-fit: cover;
       object-fit: cover;
  }

.comment-card__content {
    flex: 1;
    min-width: 0;
  }

.comment-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
  }

.comment-card__author {
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
  }

.comment-card__author:hover {
    color: #00d3ff;
  }

.comment-card__time {
    font-size: 12px;
    color: #555;
  }

.comment-card__delete {
    margin-left: auto;
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    font-size: 13px;
    padding: 2px 6px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.15s, color 0.15s, background 0.15s;
  }

.comment-card:hover .comment-card__delete {
    opacity: 1;
  }

.comment-card__delete:hover {
    color: #ff4d6a;
    background: rgba(255, 77, 106, 0.1);
  }

.comment-card__body {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #bbb;
    word-break: break-word;
  }

/* Reply button — inline, hover-only */

.comment-card__reply-btn {
    background: none;
    border: none;
    color: #555;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    opacity: 0;
    transition: opacity 0.15s, color 0.15s;
  }

.comment-card:hover .comment-card__reply-btn {
    opacity: 1;
  }

.comment-card__reply-btn:hover {
    color: #00d3ff;
  }

/* @mention in replies */

.comment-card__mention {
    font-size: inherit;
    color: #00d3ff;
    opacity: 0.7;
    text-decoration: none;
    font-weight: 600;
  }

.comment-card__mention:hover {
    opacity: 1;
  }

/* Replies — just indented, no border */

.comment-replies {
    margin-left: 44px;
  }

.comment-card--reply {
    padding: 8px 0;
  }

.comment-card--reply .comment-card__avatar img {
    width: 24px;
    height: 24px;
  }

/* Reply form — compact inline */

.comment-reply-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 44px;
    padding: 8px 0;
  }

.comment-reply-form .comment-compose__field {
    flex: 1;
    font-size: 12px;
    padding: 6px 10px;
  }

.comment-reply-form__cancel {
    background: none;
    border: none;
    color: #555;
    font-size: 16px;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
  }

.comment-reply-form__cancel:hover {
    color: #ccc;
  }

/* Show more button */

.comment-thread__show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #00d3ff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
  }

.comment-thread__show-more:hover {
    background: rgba(0, 211, 255, 0.06);
    border-color: rgba(0, 211, 255, 0.15);
  }

.comment-thread__show-more i {
    font-size: 14px;
    transition: transform 0.2s;
  }

/* Shared section header */

.pattern-detail__section-header {
    margin-bottom: 20px;
  }

.pattern-detail__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #00d3ff;
  }

.pattern-detail__section-title {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 700;
    color: #fff;
    margin: 0;
  }

.pattern-detail__section-title a {
    color: #fff;
    text-decoration: none;
  }

.pattern-detail__section-title a:hover {
    color: #00d3ff;
  }

/* Sidebar */

.pattern-detail__sidebar {
    min-width: 0;
  }

.pattern-detail__sidebar-section {
    margin-bottom: 40px;
  }

.pattern-detail__author-link {
    margin-top: 16px;
  }

.pattern-detail__empty {
    color: #5a8a98;
    font-size: 14px;
    margin: 0;
  }

/* Mobile sidebar spacing */

@media (max-width: 1023px) {
    .pattern-detail__sidebar {
      margin-top: 40px;
    }
  }

.pattern-preview {
    position: relative;
  }

.pattern-preview canvas {
    max-width: 640px;
    margin: 0 auto;
  }

/* Preview toolbar */

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
    margin-bottom: 20px;
}

.preview-toolbar .btn {
  --tw-border-opacity: 1;
  border-color: rgb(48 71 74 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(27 42 44 / var(--tw-bg-opacity, 1));
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgb(204 204 204 / var(--tw-text-opacity, 1));
}

.preview-toolbar .\!btn {
  --tw-border-opacity: 1;
  border-color: rgb(48 71 74 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(27 42 44 / var(--tw-bg-opacity, 1));
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgb(204 204 204 / var(--tw-text-opacity, 1));
}

.preview-toolbar .btn:hover {
  --tw-border-opacity: 1;
  border-color: rgb(0 198 255 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(38 60 63 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.preview-toolbar .\!btn:hover {
  --tw-border-opacity: 1;
  border-color: rgb(0 198 255 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(38 60 63 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* Device dropdown inside preview toolbar — match seg-switch height */

.preview-toolbar .dropdown__trigger {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
  }

/* --- Upload page --- */

/* ── Upload page ─────────────────────────────────────────────────── */

.upload-page {
    flex-direction: column;
    align-items: center;
    overflow: visible;
    padding-top: 40px;
  }

/* Dropzone — full width, collapses when files are pending */

#dropzone {
    align-self: stretch;
    position: relative;
    width: 100%;
    border: 3px dashed rgba(0, 212, 255, 0.8);
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.04);
    cursor: pointer;
    overflow: hidden;
    margin-bottom: 0;
    transition: border-color 0.3s, background 0.3s, min-height 0.45s ease, border-width 0.45s ease;
    min-height: 180px;
  }

#dropzone input[type=file] { display: none; }

#dropzone:hover {
    border-color: rgba(0, 212, 255, 0.6);
    background: rgba(0, 212, 255, 0.07);
  }

#dropzone.\!dragging {
    border-color: #00d3ff !important;
    background: rgba(0, 212, 255, 0.08) !important;
  }

#dropzone.dragging {
    border-color: #00d3ff;
    background: rgba(0, 212, 255, 0.08);
  }

/* Dropzone inner content */

.upload-dz__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 44px 24px;
    text-align: center;
    transition: opacity 0.25s;
  }

.upload-dz__icon {
    color: rgba(0, 212, 255, 0.6);
    margin-bottom: 4px;
    transition: color 0.3s;
  }

#dropzone:hover .upload-dz__icon,
  #dropzone.dragging .upload-dz__icon { color: rgba(0, 212, 255, 0.85); }


  #dropzone.\!dragging .upload-dz__icon { color: rgba(0, 212, 255, 0.85) !important; }

.upload-dz__title {
    font-size: 15px;
    font-weight: 600;
    color: #ccc;
    margin: 0;
  }

.upload-dz__sub {
    font-size: 12px;
    color: #555;
    margin: 0;
  }

.upload-dz__hint {
    display: inline-block;
    font-size: 12px;
    color: rgba(0, 212, 255, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.8);
    border-radius: 20px;
    padding: 3px 12px;
    margin-top: 4px;
  }

.upload-dz__dragging {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #00d3ff;
    font-size: 15px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s;
  }

.upload-dz__cancel {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 12px;
    color: #555;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    transition: color 0.2s;
    z-index: 2;
  }

.upload-dz__cancel:hover { color: #aaa; }

.\!dragging .upload-dz__content { opacity: 0 !important; }

.dragging .upload-dz__content { opacity: 0; }

.\!dragging .upload-dz__dragging { opacity: 1 !important; }

.dragging .upload-dz__dragging { opacity: 1; }

/* ── Upload terms ────────────────────────────────────────────────── */

.upload-terms {
    width: 100%;
    max-width: 560px;
    font-size: 11px;
    line-height: 1.5;
    color: #555;
    text-align: center;
    margin: 24px auto 24px;
    padding: 0 16px;
  }

/* ── "Add more" pill ─────────────────────────────────────────────── */

.upload-add-more {
    align-self: stretch;
    text-align: center;
    margin: 20px 0 28px;
  }

.upload-add-more__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(0, 212, 255, 0.65);
    background: none;
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 20px;
    padding: 5px 16px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
  }

.upload-add-more__btn:hover {
    color: #00d3ff;
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.05);
  }

/* ── Cards column ────────────────────────────────────────────────── */

.upload-cards-col {
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
    width: 100%;
    max-width: 560px;
  }

/* Upload card */

.upload-card {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s;
    max-height: 2000px;
  }

/* Shrink done card to a compact success strip */

.pattern-form-container.done .upload-card {
    max-height: 200px;
  }

@media (min-width: 480px) {
    .pattern-form-container.done .upload-card {
      max-height: 140px;
    }
  }

.pattern-form-container.done .upload-card__thumb {
    height: 56px;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
  }

/* Override global .remove-btn (absolute top-right) inside upload forms */

.upload-card .remove-btn {
    position: static;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    font-size: 13px;
    line-height: inherit;
    padding: 0;
    color: #555;
    text-indent: 0;
  }

.upload-card .remove-btn:hover {
    background: none;
    color: #aaa;
  }

/* Thumbnail strip bleeds edge-to-edge */

.upload-card__thumb {
    height: 130px;
    background-repeat: repeat-x;
    background-size: auto 130px;
    border-radius: 20px 20px 0 0;
    margin: -28px -28px 28px;
    width: calc(100% + 56px);
  }

@media (max-width: 640px) {
    .upload-card__thumb {
      margin: -20px -20px 20px;
      width: calc(100% + 40px);
    }
  }

/* Counter badge — shows "2 / 5" on each card, overlaid on the thumb */

.upload-card__counter {
    position: absolute;
    top: 17px;
    right: 17px;
    z-index: 5;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    padding: 2px 9px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
  }

/* Success row — stacks on narrow screens */

.upload-card__success-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-top: 16px;
    padding-bottom: 4px;
  }

.upload-card__success-msg {
    flex: 1 0 100%;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #00d3ff;
    margin: 0;
  }

.upload-card__success-link {
    margin: 0;
    white-space: nowrap;
  }

@media (max-width: 479px) {
    .upload-card__success-row {
      justify-content: center;
    }
    .upload-card__success-msg {
      justify-content: center;
    }
  }

@media (min-width: 480px) {
    .upload-card__success-msg {
      flex: 1 0 auto;
    }
    .upload-card__success-link {
      text-align: right;
    }
  }

/* ── Loading / error overlay ─────────────────────────────────────── */

.upload-overlay {
    position: absolute;
    inset: 0;
    display: none;
    z-index: 100;
    border-radius: inherit;
    background: rgba(8, 8, 12, 0.88);
    backdrop-filter: blur(4px);
  }

.upload-overlay__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
  }

.upload-overlay .message {
    color: #ccc;
    font-size: 13px;
    margin-bottom: 14px;
  }

.upload-overlay .progress {
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
  }

.upload-overlay .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00c6ff, #f00ac0, #00c6ff);
    background-size: 300% 100%;
    width: 0;
    transition: width 0.15s;
    animation: progress-slide 2s linear infinite;
  }

@keyframes progress-slide {
    0%   { background-position: 0% 0; }
    100% { background-position: -300% 0; }
  }

.pattern-form-container.loading .upload-overlay,
  .pattern-form-container.error  .upload-overlay { display: block; }

.pattern-form-container.error .upload-overlay .progress { display: none; }

.pattern-form-container.error .upload-overlay .message  { color: #f00ac0; }

/* Legacy overlay class — kept for JS compatibility on non-upload pages */

.\!overlay {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 1000;
  display: none;
  height: 100%;
  width: 100%;
  border-radius: 0.25rem;
}

.overlay {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 1000;
  display: none;
  height: 100%;
  width: 100%;
  border-radius: 0.25rem;
}

.\!overlay {
    background: rgba(15, 60, 64, 0.75) !important;
  }

.overlay {
    background: rgba(15, 60, 64, 0.75);
  }

/* Legacy overlay class — kept for JS compatibility on non-upload pages */

.\!overlay {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 1000;
  display: none;
  height: 100%;
  width: 100%;
  border-radius: 0.25rem;
}

.overlay {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 1000;
  display: none;
  height: 100%;
  width: 100%;
  border-radius: 0.25rem;
}

.\!overlay {
    background: rgba(15, 60, 64, 0.75) !important;
  }

.overlay {
    background: rgba(15, 60, 64, 0.75);
  }

/* --- Tag overlay --- */

.tag-overlay {
  position: fixed;
  inset: 0px;
  z-index: 1050;
  height: 100%;
  width: 100%;
  overflow-y: auto;
    background: rgba(0, 14, 30, 0.95);
    backdrop-filter: blur(8px);
    transition: visibility 0s linear 0s, opacity 0.4s;
}

.tag-overlay.transparent {
  visibility: hidden;
  opacity: 0;
    transition: visibility 0s linear 0.4s, opacity 0.4s;
}

.tag-overlay__close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  z-index: 10;
  cursor: pointer;
  border-style: none;
  background-color: transparent;
  --tw-text-opacity: 1;
  color: rgb(102 102 119 / var(--tw-text-opacity, 1));
    font-size: 36px;
    line-height: 1;
    transition: color 0.2s;
}

.tag-overlay__close:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.tag-overlay__tag {
  display: inline-block;
  border-radius: 20px;
  text-decoration-line: none; text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    background: #586e8899;
    color: #fff;
    transition: background 0.2s, color 0.2s;
}

.tag-overlay__tag:hover {
    background: #0ba1de;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    text-decoration-line: none;
  }

/* --- Lightbox --- */

#lightbox {
  position: fixed;
  inset: 0px;
  z-index: 1050;
  display: flex;
  height: 100%;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
    background: rgba(2, 26, 34, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: visibility 0s linear 0s, opacity 0.35s ease;
}

#lightbox.transparent {
  visibility: hidden;
  opacity: 0;
    transition: visibility 0s linear 0.35s, opacity 0.35s ease;
}

#lightbox .lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    line-height: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

#lightbox .lightbox__close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
  }

#lightbox .content {
  position: relative;
  max-height: 100%;
  width: 100%; text-align: center;
}

#lightbox img {
  display: inline-block;
  max-height: 90vh;
  max-width: 90vw;
  border-radius: 0.75rem;
    box-shadow: 0 0 40px rgba(0, 211, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* --- Homepage Hero Slider --- */

.home-hero {
      position: relative;
      width: 100%;
      height: 60vh;
      min-height: 400px;
      max-height: 600px;
      margin-top: 0;
      overflow: hidden;
    }

.home-hero__slide {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: flex-end;
      padding-bottom: 80px;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.8s ease, visibility 0.8s;
      z-index: 0;
    }

.home-hero__slide.active {
      opacity: 1;
      visibility: visible;
      z-index: 1;
    }

.home-hero__bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: 50% 50%;
      background-repeat: no-repeat;
      transform: scale(1.04);
      transition: transform 8s ease-out;
      z-index: 0;
    }

.home-hero__slide.active .home-hero__bg {
      transform: scale(1);
    }

.home-hero__overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
    }

.home-hero__content {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 1170px;
      margin: 0 auto;
      padding: 64px 64px 0; /* 64px sides = space for arrows + page gutter */
    }

.home-hero__content > * {
      max-width: 60%;
    }

.home-hero__title {
      font-size: 46px;
      font-weight: 700;
      line-height: 1.4;
      color: #fff;
      margin: 0 0 20px;
      text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
      letter-spacing: -0.5px;
    }

.home-hero__text {
      font-size: clamp(15px, 1.8vw, 18px);
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.82);
      margin: 0 0 32px;
      max-width: 520px;
    }

.home-hero__actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
    }

/* Arrows */

.home-hero__arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: transparent;
      border: none;
      color: rgba(255, 255, 255, 0.6);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, color 0.2s;
    }

.home-hero__arrow:hover {
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
    }

.home-hero__arrow--prev {
      left: 16px;
    }

.home-hero__arrow--next {
      right: 16px;
    }

/* Dots */

.home-hero__dots {
      position: absolute;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      display: flex;
      gap: 8px;
    }

.home-hero__dots button {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.35);
      border: none;
      cursor: pointer;
      padding: 0;
      transition: background 0.2s, transform 0.2s;
    }

.home-hero__dots button.active {
      background: #fff;
      transform: scale(1.35);
    }

/* Mobile tap zones — invisible touch targets replacing arrows */

.home-hero__tap {
      display: none;
      position: absolute;
      top: 0;
      bottom: 0;
      width: 30%;
      z-index: 5;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }

.home-hero__tap--prev { left: 0; }

.home-hero__tap--next { right: 0; }

@media (max-width: 640px) {
      .home-hero {
        height: 80vh;
        min-height: 440px;
      }
  
      .home-hero__arrow {
        display: none;
      }
  
      .home-hero__tap {
        display: block;
      }
  
      .home-hero__content {
        padding: 32px 20px 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
      }
  
      .home-hero__content > * {
        max-width: 100%;
      }
  
      .home-hero__text {
        max-width: 100%;
      }
  
      .home-hero__title {
        font-size: 28px;
      }
  
      .home-hero__actions {
        justify-content: center;
        width: 100%;
      }
    }

.home-section {
      padding: 64px 0;
      border-bottom: 1px solid #111;
    }

.home-section--dark {
      background: #1a1a1a;
      border-bottom-color: #222;
    }

.home-section--dark-blue {
      background: #0f1d2e;
      border-bottom-color: #1a2a3a;
    }

.home-section:last-child {
      border-bottom: none;
      padding-bottom: 80px;
    }

.home-section__header {
      margin-bottom: 32px;
    }

.home-section__eyebrow {
      display: block;
      font-size: 12px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: #00d3ff;
      font-weight: 500;
    }

.home-section__title {
      font-size: clamp(22px, 3vw, 36px);
      font-weight: 700;
      text-transform: uppercase;
      color: #fff;
      margin: 0;
      line-height: 1.1;
    }

.home-section__title a {
      color: #fff;
      text-decoration: none;
      transition: color 0.2s;
    }

.home-section__title a:hover {
      color: #00d3ff;
      text-decoration: none;
    }

.home-section--authors {
      padding-bottom: 100px;
      background: #000;
    }

/* --- Featured authors slider (homepage) --- */

.author-slider {
      position: relative;
    }

.author-slider__slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      display: flex;
      gap: 36px;
      align-items: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    }

.author-slider__slide.active {
      position: relative;
      opacity: 1;
      visibility: visible;
      transition: opacity 0.3s ease, visibility 0s;
    }

.author-slider__profile {
      flex-shrink: 0;
      width: 180px;
      text-align: center;
      z-index: 1;
      position: relative;
      /* height = avatar only; name floats below without stretching the flex item */
    }

.author-slider__profile a {
      text-decoration: none;
    }

.author-slider__avatar {
      display: inline-block;
      border-radius: 50%;
      padding: 3px;
      background: linear-gradient(135deg, #00d3ff, #f00ac0);
    }

.author-slider__avatar img {
      display: block;
      border-radius: 50%;
      border: 3px solid #0c1a1f;
      width: 150px;
      height: 150px;
      -o-object-fit: cover;
         object-fit: cover;
      transition: transform 0.3s;
    }

.author-slider__profile a:hover .author-slider__avatar img {
      transform: scale(1.05);
    }

.author-slider__name {
      position: absolute;
      top: 172px;
      left: 0;
      right: 0;
      font-size: 18px;
      font-weight: 700;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin: 0;
    }

/* Speech bubble wrapping only the patterns */

.author-slider__patterns {
      flex: 1;
      min-width: 0;
      background: #003666;
      border-radius: 40px;
      padding: 28px 36px;
      position: relative;
    }

/* No margin on pattern cards inside the bubble */

.author-slider__patterns .pattern {
      margin: 0;
    }

/* Bubble tail — CSS triangle */

.author-slider__patterns::before {
      content: "";
      position: absolute;
      left: -20px;
      top: 50%;
      transform: translateY(-50%);
      border: 22px solid transparent;
      border-right: 22px solid #003666;
      border-left: none;
      pointer-events: none;
    }

/* Arrows — sit outside the box, vertically centred */

.author-slider__arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: transparent;
      border: none;
      color: rgba(255, 255, 255, 0.45);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, color 0.2s;
    }

.author-slider__arrow:hover {
      background: rgba(255, 255, 255, 0.10);
      color: #fff;
    }

.author-slider__arrow--prev { left: -52px; }

.author-slider__arrow--next { right: -52px; }

/* Hide arrows on tablet — they overflow viewport causing horizontal scroll */

@media (max-width: 1023px) {
      .author-slider__arrow { display: none; }
    }

/* --- Author profile hero (show page) --- */

.author-profile {
    background: radial-gradient(ellipse at 30% 0%, rgba(0, 211, 255, 0.12) 0%, transparent 60%), #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    padding: 64px 0 56px;
  }

.author-profile__inner {
    display: flex;
    gap: 48px;
    align-items: flex-start;
  }

.author-profile__avatar-wrap {
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

.author-profile__avatar-link {
    display: block;
    position: relative;
  }

.author-profile__avatar-ring {
    position: relative;
    width: 186px;
    height: 186px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #00d3ff, #f00ac0);
    flex-shrink: 0;
  }

.author-profile__avatar {
    width: 180px;
    height: 180px;
    -o-object-fit: cover;
       object-fit: cover;
    display: block;
    background: #0a0a0a;
  }

.author-profile__avatar-overlay {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: rgba(0, 211, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
  }

.author-profile__avatar-link:hover .author-profile__avatar-overlay {
    opacity: 1;
  }

.author-profile__info {
    flex: 1;
    min-width: 0;
  }

.author-profile__name {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.1;
  }

.author-profile__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 0 24px;
  }

.author-profile__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #7eaab8;
    letter-spacing: 0.5px;
  }

.author-profile__stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 12px;
    padding: 16px 24px;
    width: -moz-fit-content;
    width: fit-content;
  }

.author-profile__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    flex-shrink: 0;
  }

.author-profile__stat:first-child {
    padding-left: 0;
  }

.author-profile__stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #00d3ff;
    line-height: 1;
    margin-bottom: 4px;
  }

.author-profile__stat-label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #555;
    font-weight: 500;
  }

.author-profile__stat-divider {
    width: 1px;
    height: 40px;
    background: #222;
    flex-shrink: 0;
  }

.author-profile__bio {
    color: #aaa;
    font-size: 14px;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 0 20px;
  }

.author-profile__socials {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

.author-profile__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #337089;
    color: #7eaab8;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }

.author-profile__social:hover {
    background: rgba(0, 211, 255, 0.12);
    border-color: #00d3ff;
    color: #00d3ff;
    text-decoration: none;
  }

.author-profile__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

@media (max-width: 640px) {
    .author-profile__inner {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .author-profile__meta {
      justify-content: center;
    }
  
    .author-profile__info {
      width: 100%;
      overflow: hidden;
    }

    .author-profile__stats {
      max-width: 100%;
      justify-content: flex-start;
      overflow-x: auto;
      flex-wrap: nowrap;
      -webkit-overflow-scrolling: touch;
    }
  
    .author-profile__stat:first-child {
      padding-left: 24px;
    }
  
    .author-profile__socials,
    .author-profile__actions {
      justify-content: center;
    }
  }

/* --- Author comment card --- */

/* Activity: comments + likes side by side */

.author-activity {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
  }

.author-activity--cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

@media (max-width: 767px) {
    .author-activity,
    .author-activity--cols-3 {
      grid-template-columns: 1fr;
      gap: 40px 0;
    }
  }

.author-activity__col {
    min-width: 0;
  }

.author-activity-list {
    display: flex;
    flex-direction: column;
  }

.author-activity-list--scroll {
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

/* Comments */

.author-comment {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

.author-comment:last-child {
    border-bottom: none;
  }

.author-comment__pattern-thumb {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    display: block;
  }

.author-comment__content {
    flex: 1;
    min-width: 0;
    text-decoration: none;
    display: block;
  }

.author-comment__content:hover {
    text-decoration: none;
  }

.author-comment__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
  }

.author-comment__avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    -o-object-fit: cover;
       object-fit: cover;
  }

.author-comment__name {
    font-weight: 600;
    font-size: 13px;
    color: #fff;
  }

.author-comment__time {
    font-size: 12px;
    color: #555;
  }

.author-comment__body {
    margin: 0;
    font-size: 13px;
    color: #bbb;
    line-height: 1.5;
  }

/* Likes */

.author-like {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
  }

.author-like:last-child {
    border-bottom: none;
  }

.author-like:hover {
    text-decoration: none;
  }

.author-like__pattern-thumb {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
  }

.author-like__avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    -o-object-fit: cover;
       object-fit: cover;
  }

.author-like__name {
    font-weight: 600;
    font-size: 13px;
    color: #fff;
  }

.author-like__time {
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    flex-shrink: 0;
  }

.author-like__heart {
    font-size: 12px;
    color: #f00ac0;
    flex-shrink: 0;
  }

/* Followers */

.author-follow {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
  }

.author-follow:last-child {
    border-bottom: none;
  }

.author-follow:hover {
    text-decoration: none;
  }

.author-follow__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    -o-object-fit: cover;
       object-fit: cover;
  }

.author-follow__name {
    font-weight: 600;
    font-size: 13px;
    color: #fff;
  }

/* --- Profile badge (authors index) --- */

.profile-badge a {
  --tw-text-opacity: 1;
  color: rgb(232 232 232 / var(--tw-text-opacity, 1));
  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: 200ms;
}

.profile-badge a:hover {
  --tw-text-opacity: 1;
  color: rgb(0 198 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
}

.profile-badge__avatar {
    display: inline-block;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #00d3ff, #f00ac0);
  }

.profile-badge__avatar img {
    display: block;
    border-radius: 50%;
    border: 3px solid #0c1a1f;
    width: 120px;
    height: 120px;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform 0.3s;
  }

.profile-badge a:hover .profile-badge__avatar img {
    transform: scale(1.05);
  }

.profile-badge--sm .profile-badge__avatar {
    padding: 2px;
  }

.profile-badge--sm .profile-badge__avatar img {
    width: 48px;
    height: 48px;
    border-width: 2px;
  }

.profile-badge--sm h3 {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.profile-badge h3 {
    text-align: center;
  }

/* --- Remove button --- */

.remove-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 10;
  display: block;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(109 140 142 / var(--tw-bg-opacity, 1));
  padding-left: 3px;
  font-size: 24px;
  line-height: 18px;
  --tw-text-opacity: 1;
  color: rgb(134 32 88 / var(--tw-text-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.remove-btn:hover {
  cursor: pointer;
  --tw-bg-opacity: 1;
  background-color: rgb(134 32 88 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(20 33 35 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
}

.auth-page {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 48px 16px 80px;
    overflow: hidden;
  }

@media (max-width: 640px) {
    .auth-page {
      align-items: flex-start;
      padding-top: 24px;
    }
  }

.auth-page__glow--cyan {
    position: fixed;
    top: -80px;
    right: -120px;
    width: 640px;
    height: 520px;
    background: radial-gradient(ellipse at 65% 30%, rgba(0, 211, 255, 0.16) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
  }

.auth-page__glow--magenta {
    position: fixed;
    bottom: -80px;
    left: -120px;
    width: 540px;
    height: 440px;
    background: radial-gradient(ellipse at 35% 70%, rgba(240, 10, 192, 0.11) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
  }

.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 40px 40px 32px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(255,255,255,0.03) inset;
  }

@media (max-width: 520px) {
    .auth-card {
      padding: 28px 20px 24px;
      border-radius: 20px;
    }
  }

.auth-card__tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
  }

.auth-card__social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    border-radius: 22px;
    border: 1.5px solid #2a2a2a;
    background: transparent;
    color: #aaa;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    line-height: 1;
  }

.auth-social-btn:hover {
    border-color: #444;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-decoration: none;
  }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #3a3a3a;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
  }

.auth-divider::before,
  .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #1e1e1e;
  }

.auth-panel {
    display: none;
  }

.auth-panel.active {
    display: block;
    animation: authPanelIn 0.22s ease;
  }

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

.auth-field {
    margin-bottom: 14px;
  }

.auth-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #bababa;
    margin-bottom: 6px;
  }

.auth-input-wrap {
    position: relative;
  }

.auth-input-wrap input,
  .auth-input-wrap textarea,
  .auth-input-wrap select {
    width: 100%;
    border-radius: 22px;
    padding: 0 16px;
    background: #212121;
    border: 1.5px solid transparent;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: block;
  }

.auth-input-wrap input,
  .auth-input-wrap select {
    height: 44px;
    line-height: 44px;
  }

.auth-input-wrap textarea {
    padding: 12px 16px;
    line-height: 1.5;
    border-radius: 16px;
    resize: vertical;
  }

.auth-input-wrap select {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    cursor: pointer;
  }

.auth-input-wrap input::-moz-placeholder, .auth-input-wrap textarea::-moz-placeholder {
    color: #555;
    opacity: 1;
  }

.auth-input-wrap input::placeholder,
  .auth-input-wrap textarea::placeholder {
    color: #555;
    opacity: 1;
  }

.auth-input-wrap input:focus,
  .auth-input-wrap textarea:focus,
  .auth-input-wrap select:focus {
    border-color: rgba(0, 211, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(0, 211, 255, 0.09);
    outline: none;
  }

.auth-input-wrap input.is-invalid,
  .auth-input-wrap textarea.is-invalid,
  .auth-input-wrap select.is-invalid {
    border-color: rgba(240, 10, 192, 0.5);
    box-shadow: 0 0 0 3px rgba(240, 10, 192, 0.07);
  }

.auth-input-wrap--eye input {
    padding-right: 48px;
  }

.auth-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #444;
    cursor: pointer;
    padding: 4px;
    line-height: 0;
    font-size: 16px;
    transition: color 0.2s;
  }

.auth-eye:hover { color: #00d3ff; }

.auth-error {
    display: block;
    font-size: 12px;
    color: #f00ac0;
    margin-top: 5px;
    padding-left: 6px;
  }

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 8px;
  }

.auth-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #777;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }

.auth-check a {
    color: #00d3ff;
  }

.auth-check input[type="checkbox"] {
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    min-width: 17px;
    border-radius: 5px;
    border: 1.5px solid #3a3a3a;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
  }

.auth-check input[type="checkbox"]:checked {
    background: #00d3ff;
    border-color: #00d3ff;
  }

.auth-check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: 2px solid #021a22;
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
  }

.auth-check input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 211, 255, 0.14);
  }

.auth-forgot {
    font-size: 13px;
    color: #00d3ff;
    white-space: nowrap;
    flex-shrink: 0;
  }

.auth-forgot:hover { text-decoration: underline; }

.auth-strength {
    margin-top: 8px;
    padding: 0 2px;
  }

.auth-strength__bars {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
  }

.auth-strength__bar {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: #222;
    transition: background 0.35s;
  }

.auth-strength__label {
    font-size: 11px;
    color: #555;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.35s;
    min-height: 14px;
  }

.auth-match-hint {
    font-size: 12px;
    margin-top: 5px;
    padding-left: 6px;
    min-height: 16px;
  }

.auth-match-hint.ok   { color: #00d3ff; }

.auth-match-hint.fail { color: #f00ac0; }

.auth-cta {
    margin-top: 22px;
  }

.auth-cta .btn--gradient {
    width: 100%;
    height: 48px;
    font-size: 14px;
    letter-spacing: 2px;
    border-radius: 24px;
  }

.auth-cta .btn--gradient::after {
    border-radius: 24px;
  }

.auth-cta .btn--gradient:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
  }

.auth-card__footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #1a1a1a;
    font-size: 13px;
    color: #555;
  }

.auth-card__footer a {
    color: #00d3ff;
  }

.auth-card__footer a:hover { text-decoration: underline; }

/* Forgot-password standalone card */

.auth-forgot-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 40px 40px 32px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  }

@media (max-width: 520px) {
    .auth-forgot-card { padding: 28px 20px 24px; }
  }

.auth-forgot-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(0, 211, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #00d3ff;
    font-size: 22px;
  }

.auth-forgot-card__title {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px;
  }

.auth-forgot-card__desc {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin: 0 0 24px;
  }

.auth-forgot-card__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #00d3ff;
    margin-top: 16px;
  }

.auth-forgot-card__back:hover { text-decoration: underline; }

.edit-pattern-page {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding: 56px 16px 80px;
    overflow: hidden;
  }

/* Ambient glows */

.edit-glow {
    position: fixed;
    pointer-events: none;
    z-index: 0;
  }

.edit-glow--cyan {
    top: -60px;
    right: -100px;
    width: 560px;
    height: 460px;
    background: radial-gradient(ellipse at 65% 30%, rgba(0, 211, 255, 0.13) 0%, transparent 65%);
  }

.edit-glow--magenta {
    bottom: -80px;
    left: -100px;
    width: 480px;
    height: 400px;
    background: radial-gradient(ellipse at 35% 70%, rgba(240, 10, 192, 0.10) 0%, transparent 65%);
  }

/* Card */

.edit-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 40px 40px 36px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(255,255,255,0.03) inset;
  }

@media (max-width: 640px) {
    .edit-card {
      padding: 28px 20px 28px;
      border-radius: 20px;
    }
  }

/* Card header */

.edit-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
  }

.edit-card__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.08);
    color: #666;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }

.edit-card__back:hover {
    background: #222;
    color: #00d3ff;
    border-color: rgba(0, 211, 255, 0.3);
    text-decoration: none;
  }

.edit-card__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
  }

/* Fields */

.edit-field {
    margin-bottom: 20px;
  }

.edit-field .auth-label {
    margin-bottom: 8px;
  }

.edit-required {
    color: #f00ac0;
  }

.edit-error,
  .edit-field__error {
    display: block;
    padding: 8px 0 0 16px;
    font-size: 13px;
    font-weight: 500;
    color: #f04acd;
  }

/* Inline field validation */

.edit-field--error .auth-input-wrap,
  .edit-field--error .ts-wrapper .ts-control {
    border-color: #f00ac0;
    box-shadow: 0 0 0 2px rgb(240 10 192);
    border-radius: 50px;
  }

@keyframes fieldErrorIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
  }

/* Actions row */

.edit-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

.edit-cancel {
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
  }

.edit-cancel:hover {
    color: #aaa;
    text-decoration: none;
  }

/* Profile photo in edit card */

.edit-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

.edit-photo__img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    -o-object-fit: cover;
       object-fit: cover;
    border: 2px solid rgba(255,255,255,0.08);
  }

.edit-photo__delete {
    font-size: 12px;
    color: #f00ac0;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
  }

.edit-photo__delete:hover {
    opacity: 1;
    text-decoration: none;
    color: #f00ac0;
  }

/* File input in edit card */

.edit-file-input {
    font-size: 13px;
    color: #888;
  }

.edit-file-input::file-selector-button {
    height: 34px;
    padding: 0 16px;
    border-radius: 17px;
    background: #212121;
    border: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
    font-size: 12px;
    cursor: pointer;
    margin-right: 12px;
    transition: background 0.2s, border-color 0.2s;
  }

.edit-file-input::file-selector-button:hover {
    background: #2a2a2a;
    border-color: rgba(0, 211, 255, 0.3);
  }

/* Section divider in edit card */

.edit-divider {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #555;
    margin: 28px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

.prefs {
  min-height: calc(100vh - 64px);
  position: relative;
  padding: 48px 16px 80px;
  overflow: hidden;
}

.prefs__layout {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

/* Sidebar */

.prefs__sidebar {
  flex-shrink: 0;
  width: 240px;
  position: sticky;
  top: 80px;
  align-self: flex-start;
}

.prefs__sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.prefs__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.prefs__avatar-link {
  text-decoration: none;
  flex-shrink: 0;
}

.prefs__user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.prefs__user-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prefs__user-email {
  font-size: 12px;
  color: #557;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav items */

.prefs__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
}

.prefs__nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #7eaab8;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.prefs__nav-item:hover {
  background: rgba(255,255,255,0.04);
  color: #fff;
  text-decoration: none;
}

.prefs__nav-item--active {
  background: rgba(0, 211, 255, 0.08);
  color: #00d3ff;
}

.prefs__nav-item--active:hover {
  background: rgba(0, 211, 255, 0.12);
  color: #00d3ff;
}

.prefs__nav-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.prefs__nav-item--active svg {
  opacity: 1;
}

.prefs__back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 8px;
  font-size: 13px;
  color: #9c9c9c;
  text-decoration: none;
  transition: color 0.2s;
}

.prefs__back-link:hover {
  color: #ccc;
  text-decoration: none;
}

/* Content area */

.prefs__content {
  flex: 1;
  min-width: 0;
}

.prefs__section {
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 40px 40px 36px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(255,255,255,0.03) inset;
}

.prefs__section-header {
  margin-bottom: 32px;
}

.prefs__section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.2;
}

.prefs__section-desc {
  font-size: 14px;
  color: #5a7a88;
  margin: 0;
}

/* Toggle switch (reusable) */

.toggle-switch {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #2a2a2a;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.toggle-switch::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #666;
  transition: transform 0.2s, background 0.2s;
}

.toggle-switch:checked {
  background: rgba(0, 211, 255, 0.2);
  border-color: rgba(0, 211, 255, 0.3);
}

.toggle-switch:checked::before {
  transform: translateX(20px);
  background: #00d3ff;
}

.toggle-switch:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Mobile responsive */

@media (max-width: 768px) {
  .prefs__layout {
    flex-direction: column;
    gap: 24px;
  }

  .prefs__sidebar {
    width: 100%;
    position: static;
  }

  .prefs__sidebar-header {
    padding-bottom: 16px;
    margin-bottom: 4px;
  }

  .prefs__nav {
    flex-direction: row;
    gap: 4px;
    overflow-x: auto;
    padding: 8px 0;
  }

  .prefs__nav-item {
    padding: 8px 14px;
    white-space: nowrap;
    font-size: 13px;
  }

  .prefs__back-link {
    display: none;
  }

  .prefs__section {
    padding: 28px 20px 28px;
    border-radius: 20px;
  }
}

/* Device card grid */

.device-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.device-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
}

.device-card__preview {
  width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
}

.device-card__canvas {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: block;
  background: #000;
  pointer-events: none;
}

.device-card__label {
  font-size: 11px;
  color: #888;
  text-align: center;
  line-height: 1.2;
}

.visible {
  visibility: visible;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.end-0 {
  inset-inline-end: 0px;
}

.start-0 {
  inset-inline-start: 0px;
}

.top-navbar {
  top: 64px;
}

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

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

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

.col-span-full {
  grid-column: 1 / -1;
}

.float-right {
  float: right;
}

.m-0 {
  margin: 0px;
}

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

.-ml-px {
  margin-left: -1px;
}

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

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

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

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

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

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

.ml-0 {
  margin-left: 0px;
}

.ml-2\.5 {
  margin-left: 0.625rem;
}

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

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

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

.mt-10 {
  margin-top: 2.5rem;
}

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

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

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

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

.block {
  display: block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

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

.table {
  display: table;
}

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

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.h-5 {
  height: 1.25rem;
}

.h-auto {
  height: auto;
}

.w-16 {
  width: 4rem;
}

.w-48 {
  width: 12rem;
}

.w-5 {
  width: 1.25rem;
}

.w-8 {
  width: 2rem;
}

.w-full {
  width: 100%;
}

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

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

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

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

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

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

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

.origin-top {
  transform-origin: top;
}

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

.cursor-default {
  cursor: default;
}

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

.cursor-pointer {
  cursor: pointer;
}

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

.resize {
  resize: both;
}

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

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

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

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

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

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

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

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

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

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

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

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

.gap-1 {
  gap: 0.25rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-x-\[15px\] {
  -moz-column-gap: 15px;
       column-gap: 15px;
}

.gap-x-\[30px\] {
  -moz-column-gap: 30px;
       column-gap: 30px;
}

.gap-y-4 {
  row-gap: 1rem;
}

.gap-y-8 {
  row-gap: 2rem;
}

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

.overflow-hidden {
  overflow: hidden;
}

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

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

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

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

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

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

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

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

.border {
  border-width: 1px;
}

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

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

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

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

.border-indigo-400 {
  --tw-border-opacity: 1;
  border-color: rgb(129 140 248 / var(--tw-border-opacity, 1));
}

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

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

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

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

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

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

.bg-indigo-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(238 242 255 / var(--tw-bg-opacity, 1));
}

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

.bg-surface {
  --tw-bg-opacity: 1;
  background-color: rgb(27 42 44 / var(--tw-bg-opacity, 1));
}

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

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

.from-brand-cyan {
  --tw-gradient-from: #00d3ff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 211 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-brand-magenta {
  --tw-gradient-to: #f00ac0 var(--tw-gradient-to-position);
}

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

.p-0 {
  padding: 0px;
}

.p-2 {
  padding: 0.5rem;
}

.p-6 {
  padding: 1.5rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

.pe-4 {
  padding-inline-end: 1rem;
}

.pl-6 {
  padding-left: 1.5rem;
}

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

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

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

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

.pt-navbar {
  padding-top: 64px;
}

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

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

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

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

.text-\[8rem\] {
  font-size: 8rem;
}

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

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

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

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

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

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

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

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

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

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

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

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

.text-\[\#5a7a88\] {
  --tw-text-opacity: 1;
  color: rgb(90 122 136 / var(--tw-text-opacity, 1));
}

.text-\[\#ddd\] {
  --tw-text-opacity: 1;
  color: rgb(221 221 221 / var(--tw-text-opacity, 1));
}

.text-\[\#f00ac0\] {
  --tw-text-opacity: 1;
  color: rgb(240 10 192 / var(--tw-text-opacity, 1));
}

.text-brand-cyan {
  --tw-text-opacity: 1;
  color: rgb(0 211 255 / var(--tw-text-opacity, 1));
}

.text-ds-dark-blue-light {
  --tw-text-opacity: 1;
  color: rgb(126 170 184 / var(--tw-text-opacity, 1));
}

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

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

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

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

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

.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.text-green-600 {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}

.text-indigo-700 {
  --tw-text-opacity: 1;
  color: rgb(67 56 202 / var(--tw-text-opacity, 1));
}

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

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

.text-transparent {
  color: transparent;
}

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

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

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

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

.opacity-75 {
  opacity: 0.75;
}

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

.outline {
  outline-style: solid;
}

.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-black {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity, 1));
}

.ring-blue-300 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity, 1));
}

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

.ring-opacity-5 {
  --tw-ring-opacity: 0.05;
}

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

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

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

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

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   BASE — global resets and typography
   ========================================================= */

html {
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
  }

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

::-webkit-scrollbar-track {
    background: transparent;
  }

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
  }

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
  }

/* =========================================================
   AUTH PAGE
   ========================================================= */

/* =========================================================
   VERIFY-EMAIL CARD
   Kept UNLAYERED on purpose: these classes appear only in
   verify-email.blade.php, and Tailwind's @layer purge was
   dropping them in some build environments. Unlayered author
   CSS is passed through untouched, so it can never be purged.
   ========================================================= */

.auth-card--verify {
  max-width: 440px;
  text-align: center;
}

.verify-icon {
  width: 72px;
  height: 72px;
  margin: 4px auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #00d3ff;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 211, 255, 0.18), transparent 70%);
  border: 2px solid rgba(0, 211, 255, 0.35);
  box-shadow: 0 0 32px rgba(0, 211, 255, 0.2);
}

.verify-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px;
}

.verify-text {
  font-size: 14px;
  color: #8a8a8a;
  line-height: 1.65;
  margin: 0 auto 28px;
  max-width: 340px;
}

.verify-sent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #00d3ff;
  background: rgba(0, 211, 255, 0.08);
  border: 1px solid rgba(0, 211, 255, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 20px;
}

.auth-card--verify .auth-cta { margin-top: 0; }

.verify-hint {
  font-size: 12.5px;
  color: #777;
  line-height: 1.6;
  margin: 22px auto 0;
  max-width: 320px;
}

/* =========================================================
   EDIT PATTERN PAGE
   ========================================================= */

/* =========================================================
   Preferences Page
   ========================================================= */

/* =========================================================
   HERO OVERLAYS — unlayered to prevent Tailwind optimization
   ========================================================= */

.home-hero__overlay {
  background: linear-gradient(to right,
      rgba(5, 10, 15, 0.80) 0%,
      rgba(5, 10, 15, 0.55) 50%,
      rgba(5, 10, 15, 0.15) 100%);
}

.home-hero__overlay--magenta {
  background: linear-gradient(to right,
      rgba(140, 10, 80, 0.75) 0%,
      rgba(80, 5, 50, 0.50) 50%,
      rgba(5, 10, 15, 0.10) 100%);
}

.home-hero__overlay--cyan {
  background: linear-gradient(to right,
      rgba(0, 80, 120, 0.70) 0%,
      rgba(0, 50, 80, 0.45) 50%,
      rgba(5, 10, 15, 0.10) 100%);
}

/* Text position — center */

.home-hero__content--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-hero__content--center > * {
  max-width: 70%;
}

/* Text position — right */

.home-hero__content--right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

/* Overlay follows text position — right */

.home-hero__slide--right .home-hero__overlay {
  background: linear-gradient(to left,
      rgba(5, 10, 15, 0.80) 0%,
      rgba(5, 10, 15, 0.55) 50%,
      rgba(5, 10, 15, 0.15) 100%);
}

.home-hero__slide--right .home-hero__overlay--magenta {
  background: linear-gradient(to left,
      rgba(140, 10, 80, 0.75) 0%,
      rgba(80, 5, 50, 0.50) 50%,
      rgba(5, 10, 15, 0.10) 100%);
}

.home-hero__slide--right .home-hero__overlay--cyan {
  background: linear-gradient(to left,
      rgba(0, 80, 120, 0.70) 0%,
      rgba(0, 50, 80, 0.45) 50%,
      rgba(5, 10, 15, 0.10) 100%);
}

/* Overlay follows text position — center */

.home-hero__slide--center .home-hero__overlay {
  background: radial-gradient(ellipse at center 80%,
      rgba(5, 10, 15, 0.15) 0%,
      rgba(5, 10, 15, 0.60) 50%,
      rgba(5, 10, 15, 0.80) 100%);
}

.home-hero__slide--center .home-hero__overlay--magenta {
  background: radial-gradient(ellipse at center 80%,
      rgba(140, 10, 80, 0.10) 0%,
      rgba(80, 5, 50, 0.45) 50%,
      rgba(140, 10, 80, 0.70) 100%);
}

.home-hero__slide--center .home-hero__overlay--cyan {
  background: radial-gradient(ellipse at center 80%,
      rgba(0, 80, 120, 0.10) 0%,
      rgba(0, 50, 80, 0.40) 50%,
      rgba(0, 80, 120, 0.65) 100%);
}

/* Mobile overlays */

@media (max-width: 640px) {
  .home-hero__overlay {
    background: linear-gradient(to top,
        rgba(5, 10, 15, 0.90) 0%,
        rgba(5, 10, 15, 0.60) 50%,
        rgba(5, 10, 15, 0.25) 100%);
  }

  .home-hero__overlay--magenta {
    background: linear-gradient(to top,
        rgba(140, 10, 80, 0.80) 0%,
        rgba(80, 5, 50, 0.50) 50%,
        rgba(5, 10, 15, 0.20) 100%);
  }

  .home-hero__overlay--cyan {
    background: linear-gradient(to top,
        rgba(0, 80, 120, 0.75) 0%,
        rgba(0, 50, 80, 0.45) 50%,
        rgba(5, 10, 15, 0.20) 100%);
  }

}

/* --- Collections page --- */

.page-collections {
  background: #1a1a1a;
  min-height: 100vh;
}

/* =========================================================
   UTILITIES — extra one-offs
   ========================================================= */

/* Mobile/Desktop visibility helpers */

.visible-mobile { display: none !important; }

@media (max-width: 640px) {
  .hidden-mobile { display: none !important; }
  .visible-mobile { display: inline-flex !important; }
  .visible-mobile.dropdown { display: inline-block !important; }

  /* Center seg-switches on mobile */
  .seg-switch {
    align-self: center;
  }

  /* Pattern show: preview toolbar wraps on small screens */
  .preview-toolbar {
    flex-wrap: wrap;
    gap: 6px;
  }

  .preview-toolbar .dropdown__trigger {
    min-width: 0;
    padding: 8px 28px 8px 12px;
    font-size: 12px;
  }

  /* Pattern show: action buttons wrap nicely */
  .pattern-info-bar__actions .btn-base {
    font-size: 13px;
    padding: 8px 12px;
  }

  .pattern-info-bar__actions .follow-cta svg {
    display: none;
  }
}

/* Responsive adjustments */

@media (max-width: 768px) {
  .social-button {
    width: 100%;
  }

  .author-slider__slide {
    display: block;
    text-align: center;
  }

  .author-slider__profile {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .author-slider__avatar img {
    width: 80px;
    height: 80px;
  }

  .author-slider__name {
    position: static;
    font-size: 15px;
    margin-top: 8px;
  }

  .author-slider__patterns {
    flex: none;
    min-width: auto;
    background: #003666;
    border-radius: 20px;
    padding: 16px;
  }

  .author-slider__patterns .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .author-slider__patterns::before {
    display: none;
  }

  .author-slider__arrow {
    display: none;
  }

  .home-section--authors {
    padding-bottom: 48px;
  }

  #patternPreview {
    display: none !important;
  }
}

/* ---- Utilities ---- */

.text-muted { color: #999; }

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

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

/* ── Public page content ─────────────────────────────────────────────────── */

.page-content-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.page-content-wrap__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 32px;
  line-height: 1.2;
}

.page-content {
  color: #bbb;
  font-size: 15px;
  line-height: 1.8;
}

.page-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 36px 0 12px;
}

.page-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #eee;
  margin: 28px 0 8px;
}

.page-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ddd;
  margin: 20px 0 6px;
}

.page-content p {
  margin-bottom: 16px;
}

.page-content ul,
.page-content ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}

.page-content li {
  margin-bottom: 4px;
}

.page-content a {
  color: #00d3ff;
  text-decoration: none;
  transition: opacity 0.15s;
}

.page-content a:hover {
  opacity: 0.75;
}

.page-content blockquote {
  border-left: 3px solid rgba(0, 211, 255, 0.4);
  padding-left: 16px;
  color: #888;
  margin: 20px 0;
  font-style: italic;
}

.page-content strong { color: #ddd; font-weight: 600; }

.page-content em { font-style: italic; }

/* =========================================================
   TOM SELECT — dark theme overrides (unlayered to beat vendor CSS)
   ========================================================= */

/* Matches vendor: .ts-dropdown, .ts-control, .ts-control input */

.ts-dropdown,
.ts-control,
.ts-control input {
  color: #d3d3d3;
  font-size: 14px;
  line-height: 1.5;
}

/* Reset height that @layer base applies to all inputs */

.ts-control input {
  height: auto;
}

.ts-control input::-moz-placeholder {
  color: #555;
}

.ts-control input::placeholder {
  color: #555;
}

/* Matches vendor: .ts-control, .ts-wrapper.single.input-active .ts-control */

.ts-control,
.ts-wrapper.single.input-active .ts-control {
  background: #222;
  cursor: text;
}

/* Control shape & focus */

.ts-control {
  border: none;
  border-radius: 20px;
  padding: 6px 12px;
  min-height: 40px;
  gap: 4px;
  box-shadow: none;
  transition: box-shadow 0.3s;
}

.ts-wrapper.multi.has-items .ts-control {
  padding: 6px 12px;
}

.focus .ts-control {
  box-shadow: 0 0 0 2px rgba(0, 211, 255, 0.3);
}

/* Tag chips — vendor targets > div */

.ts-wrapper.multi .ts-control > div {
  background: rgba(0, 211, 255, 0.12);
  color: #00d3ff;
  border: 1px solid rgba(0, 211, 255, 0.25);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px 2px 10px;
  line-height: 1.4;
  margin: 0 3px 3px 0;
}

.ts-wrapper.multi .ts-control > div.active {
  background: rgba(0, 211, 255, 0.22);
  color: #00d3ff;
  border-color: rgba(0, 211, 255, 0.5);
}

/* Remove button inside chip */

.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove {
  color: rgba(0, 211, 255, 0.6);
  border-left: 1px solid rgba(0, 211, 255, 0.25);
  margin-left: 6px;
  text-decoration: none;
  transition: color 0.2s;
}

.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove:hover {
  background: transparent;
  color: #f00ac0;
}

/* Matches vendor: .ts-dropdown */

.ts-dropdown {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  margin: 4px 0 0;
}

/* Matches vendor: .ts-dropdown-content */

.ts-dropdown-content {
  padding: 4px;
}

.ts-dropdown [data-selectable].option {
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.ts-dropdown .active {
  background: rgba(0, 211, 255, 0.1);
  color: #00d3ff;
}

.ts-dropdown .create {
  color: #555;
  font-style: italic;
  padding: 8px 12px;
  border-radius: 8px;
}

.ts-dropdown .active.create {
  background: rgba(240, 10, 192, 0.1);
  color: #f00ac0;
  font-style: normal;
}

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

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

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

.hover\:bg-gray-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}

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

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

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

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

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

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

.focus\:border-blue-300:focus {
  --tw-border-opacity: 1;
  border-color: rgb(147 197 253 / var(--tw-border-opacity, 1));
}

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

.focus\:border-indigo-500:focus {
  --tw-border-opacity: 1;
  border-color: rgb(99 102 241 / var(--tw-border-opacity, 1));
}

.focus\:border-indigo-700:focus {
  --tw-border-opacity: 1;
  border-color: rgb(67 56 202 / var(--tw-border-opacity, 1));
}

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

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

.focus\:bg-gray-700:focus {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}

.focus\:bg-indigo-100:focus {
  --tw-bg-opacity: 1;
  background-color: rgb(224 231 255 / var(--tw-bg-opacity, 1));
}

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

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

.focus\:text-indigo-800:focus {
  --tw-text-opacity: 1;
  color: rgb(55 48 163 / var(--tw-text-opacity, 1));
}

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

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

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

.focus\:ring-indigo-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity, 1));
}

.focus\:ring-red-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1));
}

.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}

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

.active\:bg-gray-900:active {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}

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

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

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

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

.disabled\:opacity-25:disabled {
  opacity: 0.25;
}

@media (min-width: 640px) {

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

  .sm\:flex {
    display: flex;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:w-1\/4 {
    width: 25%;
  }

  .sm\:w-3\/4 {
    width: 75%;
  }

  .sm\:w-full {
    width: 100%;
  }

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

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

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

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

  .sm\:max-w-xl {
    max-width: 36rem;
  }

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

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

  .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\:px-0 {
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media (min-width: 768px) {

  .md\:col-span-4 {
    grid-column: span 4 / span 4;
  }

  .md\:col-span-8 {
    grid-column: span 8 / span 8;
  }

  .md\:col-start-3 {
    grid-column-start: 3;
  }

  .md\:col-start-5 {
    grid-column-start: 5;
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

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

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

  .md\:p-12 {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {

  .lg\:flex {
    display: flex;
  }

  .lg\:w-5\/12 {
    width: 41.666667%;
  }

  .lg\:w-7\/12 {
    width: 58.333333%;
  }

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

  .lg\:gap-10 {
    gap: 2.5rem;
  }
}

.ltr\:origin-top-left:where([dir="ltr"], [dir="ltr"] *) {
  transform-origin: top left;
}

.ltr\:origin-top-right:where([dir="ltr"], [dir="ltr"] *) {
  transform-origin: top right;
}

.rtl\:origin-top-left:where([dir="rtl"], [dir="rtl"] *) {
  transform-origin: top left;
}

.rtl\:origin-top-right:where([dir="rtl"], [dir="rtl"] *) {
  transform-origin: top right;
}

.rtl\:flex-row-reverse:where([dir="rtl"], [dir="rtl"] *) {
  flex-direction: row-reverse;
}

@media (prefers-color-scheme: dark) {

  .dark\:border-gray-600 {
    --tw-border-opacity: 1;
    border-color: rgb(75 85 99 / var(--tw-border-opacity, 1));
  }

  .dark\:bg-gray-700 {
    --tw-bg-opacity: 1;
    background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
  }

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

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

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

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

  .dark\:text-gray-600 {
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
  }

  .dark\:hover\:bg-gray-900:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
  }

  .dark\:hover\:text-gray-200:hover {
    --tw-text-opacity: 1;
    color: rgb(229 231 235 / var(--tw-text-opacity, 1));
  }

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

  .dark\:focus\:border-blue-700:focus {
    --tw-border-opacity: 1;
    border-color: rgb(29 78 216 / var(--tw-border-opacity, 1));
  }

  .dark\:focus\:border-blue-800:focus {
    --tw-border-opacity: 1;
    border-color: rgb(30 64 175 / var(--tw-border-opacity, 1));
  }

  .dark\:active\:bg-gray-700:active {
    --tw-bg-opacity: 1;
    background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
  }

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