*, ::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.17 | 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: 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;
}

/* Global button styles - remove outline */

button {
  outline: none !important;
  box-shadow: none !important;
}

button:focus,
  button:focus-visible,
  button:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Navigation styles */

.navigation {
  border-radius: 9999px;
  background-color: rgb(31 42 55 / var(--tw-bg-opacity, 1));
  --tw-bg-opacity: 0.7;
  padding-left: 2.25rem;
  padding-right: 2.25rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  backdrop-filter: blur(10px);
  transition: opacity 0.3s ease;
}

/* Game info subtext */

.game-info__subtext {
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(255 255 255 / 0.7);
}

@media (min-width: 640px) {
  .game-info__subtext {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 768px) {
  .game-info__subtext {
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .game-info__subtext {
    margin-bottom: 2.5rem;
  }
}

/* Nav fade on scroll: applied by JS when user scrolls down */

.navigation.navigation--hidden {
  opacity: 0;
  pointer-events: none;
}

.navigation__logo {
  height: 2.5rem;
  width: auto;
}

.navigation__menu {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.navigation__menu-item {
  cursor: pointer;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(17 25 40 / var(--tw-bg-opacity, 1));
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.navigation__menu-item:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
}

.navigation__menu-item {
  outline: none !important;
  box-shadow: none !important;
}

.navigation__menu-item:focus,
  .navigation__menu-item:focus-visible,
  .navigation__menu-item:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.navigation__menu-item--active {
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
}

.navigation__mobile-toggle {
  cursor: pointer;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
  padding: 0.75rem;
  outline: none !important;
  box-shadow: none !important;
}

.navigation__mobile-toggle:focus,
  .navigation__mobile-toggle:focus-visible,
  .navigation__mobile-toggle:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.navigation__menu-mobile {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  max-width: 1280px;
  width: calc(100% - 2rem);
  background-color: rgba(31, 42, 55, 0.95);
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  backdrop-filter: blur(10px);
  transition: opacity 0.3s ease;
}

/* Mobile menu fade on scroll: same as main nav */

.navigation__menu-mobile.navigation--hidden {
  opacity: 0;
  pointer-events: none;
}

/* Hero Carousel styles */

.hero-carousel__slide {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
}

@media (min-width: 768px) {
  .hero-carousel__slide {
    flex-direction: row;
  }
}

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

.hero-carousel__slide::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0px;
  border-radius: 1rem;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
  --tw-bg-opacity: 0.9;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;
  opacity: 1;
  z-index: 10;
}

.hero-carousel__slide.hero-carousel__slide--active {
  pointer-events: auto;
}

.hero-carousel__slide.hero-carousel__slide--active::after {
  opacity: 0 !important;
}

/* Hero Banner Carousel (Full-width single slide) */

.hero-banner-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.hero-banner-carousel__track {
  position: relative;
  width: 100%;
}

.hero-banner-carousel__slide {
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  display: none !important;
}

.hero-banner-carousel__slide--active {
  display: block !important;
  animation: fadeIn 0.5s ease-in-out;
}

.hero-banner-carousel__slide--active.hero-carousel__slide-grid {
  display: grid !important;
}

.hero-banner-carousel__slide--active.hero-banner-carousel__slide--video {
  display: flex !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-banner-carousel__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-banner-carousel__dot {
  height: 0.75rem;
  width: 0.75rem;
  cursor: pointer;
  border-radius: 9999px;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  background-color: #4B5563;
  border: none;
  outline: none !important;
}

.hero-banner-carousel__dot:hover {
  background-color: #9CA3AF;
}

.hero-banner-carousel__dot--active {
  height: 1rem;
  width: 1rem;
  background-color: #E10E0E;
}

.hero-banner-carousel__dot:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Video slide container - matches height of grid slide */

.hero-banner-carousel__slide--video {
  align-items: center;
  justify-content: center;
}

.hero-banner-carousel__video-container {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
}

.hero-banner-carousel__video-container--in-grid {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 16 / 9;
  height: auto;
}

.hero-carousel__slide-grid-left .hero-banner-carousel__video-container--in-grid {
  border-radius: 1rem;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

@media (min-width: 1024px) {
  .hero-carousel__slide-grid-left .hero-banner-carousel__video-container--in-grid {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 1rem;
  }
}

.hero-carousel__slide-video {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

/* Hero Carousel Slide Grid (2-column layout on desktop, 1-column on mobile/tablet) */

.hero-carousel__slide-grid {
  display: grid;
  overflow: hidden;
  border-radius: 1rem;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
}

@media (min-width: 1024px) {
  .hero-carousel__slide-grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr;
  }
}

.hero-carousel__slide-grid-left {
  position: relative;
  display: block;
  overflow: hidden;
}

.hero-carousel__slide-grid-image {
  display: block;
  height: auto;
  width: 100%;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

@media (min-width: 1024px) {
  .hero-carousel__slide-grid-image {
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
}

.hero-carousel__slide-grid-left:hover .hero-carousel__slide-grid-image {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hero-carousel__slide-grid-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 1rem;
  background-image: url('../images/world-view-bg2.webp');
}

.hero-carousel__slide-grid-right.hero-ranking__right {
  background-image: url('../images/hero-rank-bg-mobile-type5.webp');
  background-position: top;
}

@media (min-width: 1024px) {
  .hero-carousel__slide-grid-right.hero-ranking__right {
    background-image: url('../images/hero-rank-bg-type5.webp');
    background-position: center;
  }
}

.hero-carousel__slide-grid-right.hero-mostview__right {
  background-image: url('../images/mv-most-view-bg-mobile.webp');
  background-position: top;
}

@media (min-width: 1024px) {
  .hero-carousel__slide-grid-right.hero-mostview__right {
    background-image: url('../images/mv-most-view-bg-desktop.webp');
    background-position: center;
  }
}

.hero-carousel__slide-grid-right.hero-grandprize__right {
  background-image: url('../images/mv-grandprize-bg-mobile.webp');
  background-position: top;
}

@media (min-width: 1024px) {
  .hero-carousel__slide-grid-right.hero-grandprize__right {
    background-image: url('../images/mv-grandprize-bg-desktop.webp');
    background-position: center;
  }

  .hero-carousel__slide-grid-right {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

.hero-carousel__slide-grid-text {
  margin: 0px;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  line-height: 1.625;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 1024px) {
  .hero-carousel__slide-grid-text {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.hero-carousel__slide-grid-button {
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.hero-carousel__slide-grid-button:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

@media (min-width: 1024px) {
  .hero-carousel__slide-grid-button {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

.hero-carousel__slide-grid-button.button__mutetone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  font-size: 0.75rem !important;
  line-height: 1rem !important;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.hero-carousel__slide-grid-button.button__mutetone:hover {
  --tw-text-opacity: 1;
  color: rgb(225 14 14 / var(--tw-text-opacity, 1));
}

.hero-carousel__countdown {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .hero-carousel__countdown {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-carousel__countdown {
    flex: 0 1 auto;
    flex-direction: column;
  }
}

.hero-carousel__countdown-days {
  display: inline-block;
  font-size: 2.25rem;
  line-height: 2.5rem;
}

@media (min-width: 768px) {
  .hero-carousel__countdown-days {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .hero-carousel__countdown-days {
    font-size: 3.75rem;
    line-height: 1;
  }
}

.hero-carousel__divider {
  flex-shrink: 0;
  background-color: rgb(255 255 255 / 0.3);
  width: 1px;
  height: 60px;
  margin: 0 0.5rem;
}

@media (min-width: 1024px) {
  .hero-carousel__divider {
    width: 100%;
    height: 1px;
    margin: 0.5rem 0;
  }
}

.hero-carousel__cta-group {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .hero-carousel__cta-group {
    flex: 0 1 auto;
    gap: 0.75rem;
  }
}

/* Winner card (slide 1 MV hero — matches design reference) */

.hero-carousel__cta-group.hero-winner-card {
  width: 100%;
  gap: 0.5rem;
}

/* Head: trophy asset + Thai title (matches design — visible copy beside badge) */

.hero-winner-card__header {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .hero-winner-card__header {
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-winner-card__header {
    gap: 1rem;
  }
}

.hero-winner-card__title {
  margin: 0px;
  min-width: 0px;
  flex: 1 1 0%;
  text-align: center;
  max-width: min(100%, 18rem);
}

@media (min-width: 1024px) {
  .hero-winner-card__title {
    max-width: min(100%, 22rem);
  }
}

.hero-winner-card__title-img {
  display: block;
  height: auto;
  max-height: 4rem;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

@media (min-width: 640px) {
  .hero-winner-card__title-img {
    max-height: 4.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-winner-card__title-img {
    max-height: 5.25rem;
  }
}

/* Mobile/tablet: avatar left + song + YT in one row; desktop: stacked column */

.hero-winner-card__media-row {
  display: flex;
  width: 100%;
  min-width: 0px;
  max-width: 100%;
  flex-shrink: 1;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .hero-winner-card__media-row {
    flex-shrink: 0;
    flex-direction: column;
    gap: 1rem;
  }
}

.hero-winner-card__spotlight {
  position: relative;
  display: flex;
  height: auto;
  max-width: 5.5rem;
  flex-shrink: 0;
  transform-origin: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.hero-winner-card__spotlight:hover {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-brightness: brightness(1.1);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

@media (min-width: 640px) {
  .hero-winner-card__spotlight {
    max-width: 6rem;
  }
}

@media (min-width: 1024px) {
  .hero-winner-card__spotlight {
    max-width: 6rem;
  }
}

.hero-winner-card__song-block {
  display: flex;
  min-width: 0px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}

@media (min-width: 1024px) {
  .hero-winner-card__song-block {
    max-width: 100%;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }
}

.hero-winner-card__yt-subscribe {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 10rem;
  line-height: 1;
  text-decoration-line: none;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.hero-winner-card__yt-subscribe:hover {
  opacity: 0.95;
}

.hero-winner-card__yt-subscribe:focus-visible {
  opacity: 0.95;
}

@media (min-width: 1024px) {
  .hero-winner-card__yt-subscribe {
    margin-left: auto;
    margin-right: auto;
    max-width: min(70%,15rem);
  }
}

.hero-winner-card__yt-subscribe {
  outline: none !important;
  box-shadow: none !important;
}

.hero-winner-card__yt-subscribe:focus-visible {
  border-radius: 0.375rem;
  --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);
  --tw-ring-color: rgb(251 191 36 / 0.8);
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: transparent;
}

.hero-winner-card__yt-img {
  display: block;
  height: auto;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.hero-winner-card__crown {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.hero-winner-card__song-copy {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

@media (min-width: 1024px) {
  .hero-winner-card__song-copy {
    width: 100%;
    align-items: flex-start;
    text-align: center;
  }
}

.hero-winner-card__song-copy.mv-mostview-copy {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

@media (min-width: 1024px) {
  .hero-winner-card__song-copy.mv-mostview-copy {
    width: 100%;
    align-items: center;
    text-align: center;
  }
}

.hero-winner-card__song-copy p {
  line-height: 1em;
}

.hero-winner-card__song-label {
  margin: 0px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.9);
}

@media (min-width: 1024px) {
  .hero-winner-card__song-label {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

.hero-winner-card__song-title {
  margin: 0px;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  --tw-text-opacity: 1;
  color: rgb(251 191 36 / var(--tw-text-opacity, 1));
}

@media (min-width: 1024px) {
  .hero-winner-card__song-title {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

.hero-winner-card__song-title {
  text-shadow: -1px 2px 10px rgba(31, 27, 7, 1), 1px -2px 16px rgba(31, 27, 7, 1);
}

/* CTA Section styles */

.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-radius: 30px;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background-image: url('../images/world-view-bg1.webp');
}

.cta-section__heading {
  text-align: center;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.cta-section__button {
  display: inline-block;
  cursor: pointer;
  border-radius: 9999px;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  text-align: center;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.cta-section__button--active {
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
}

.cta-section__button--active:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

.cta-section__button--disabled {
  cursor: not-allowed;
  --tw-bg-opacity: 1;
  background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(31 42 55 / var(--tw-text-opacity, 1));
}

.cta-section__button--normal {
  --tw-bg-opacity: 1;
  background-color: rgb(17 25 40 / var(--tw-bg-opacity, 1));
}

.cta-section__button--normal:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
}

.cta-section__divider {
  height: 0.125rem;
  --tw-bg-opacity: 1;
  background-color: rgb(217 119 6 / var(--tw-bg-opacity, 1));
}

/* Song Card styles */

.song-card {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-self: stretch;
  overflow: hidden;
  border-radius: 1rem;
}

@media (min-width: 1024px) {
  .song-card {
    flex-direction: row;
  }
}

.song-card__thumbnail {
  position: relative;
  height: 165px;
  width: 100%;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

@media (min-width: 768px) {
  .song-card__thumbnail {
    height: 329px;
  }
}

@media (min-width: 1024px) {
  .song-card__thumbnail {
    width: 600px;
    flex-shrink: 0;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    border-top-right-radius: 0px;
  }
}

.song-card__info {
  display: flex;
  height: auto;
  width: 100%;
  flex-direction: column;
  gap: 0.25rem;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
  --tw-bg-opacity: 1;
  background-color: rgb(17 25 40 / var(--tw-bg-opacity, 1));
  padding: 1rem;
}

@media (min-width: 1024px) {
  .song-card__info {
    height: 329px;
    width: 220px;
    min-width: 220px;
    flex-shrink: 0;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 0px;
  }
}

/* Song card type2 (all-song-frame): narrower thumbnail, wider info */

.song-card-type3,
  .song-card-type2 {
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(121 16 16 / var(--tw-border-opacity, 1));
}

@media (min-width: 768px) {
  .all-song-frame .song-card-type2 .song-card__thumbnail {
    height: 270px;
  }
}

@media (min-width: 1024px) {
  .all-song-frame .song-card-type2 .song-card__thumbnail {
    width: 480px;
  }
}

.all-song-frame .song-card-type2 .song-card__info {
  width: 100%;
}

@media (min-width: 1024px) {
  .all-song-frame .song-card-type2 .song-card__info {
    height: 270px;
  }
}

.all-song-frame .song-card-type2 .song-card__info {
  min-width: 0;
  flex-shrink: 1;
}

/* Song card type3: thumb+title top, artist/stats 2-column below */

.song-card-type3 .song-card__info {
  background-color: #440909;
  min-width: 0;
}

/*add border to card champion*/

.song-card.song-card-type3.song-card-ranking.champ-card {
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
}

/*add border to card mv-winner-card*/

.song-card.song-card-type3.song-card-ranking.mv-winner-card {
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
}

/*add border to card ranking 1*/

.song-card.song-card-type3.song-card-ranking.card-rank1 {
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
}

/*add border to card mv mostview*/

.border__mv-mostview,
  .song-card.song-card-type3.song-card-ranking.mv-mostview-card {
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(216 180 254 / var(--tw-border-opacity, 1));
}

/*add border to card mv bestconcept*/

.border__mv-bestconcept,
  .song-card.song-card-type3.song-card-ranking.mv-bestconcept-card {
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}

/*add border to card mv staff-pick*/

.border__mv-staff-pick,
  .song-card.song-card-type3.song-card-ranking.mv-staff-pick-card {
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(219 39 119 / var(--tw-border-opacity, 1));
}

/*add border to card mv selected*/

.border__mv-selected,
  .song-card.song-card-type3.song-card-ranking.mv-selected-card {
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(239 68 68 / var(--tw-border-opacity, 1));
}

/* mv-selected-card announcement placeholder */

.mv-selected-card.mv-selected-card--announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background-image:
      radial-gradient(circle at 50% 100%, rgba(15, 5, 18, 1) 0%, transparent 80%),
      url('../images/mv-4prize-bg-desktop.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mv-selected-card__announcement {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .mv-selected-card__announcement {
    gap: 1.5rem;
  }
}

.mv-selected-card__announcement-icon {
  height: 6rem;
  width: 6rem;
}

@media (min-width: 768px) {
  .mv-selected-card__announcement-icon {
    height: 8rem;
    width: 8rem;
  }
}

.mv-selected-card__announcement-title {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  line-height: 1.375;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .mv-selected-card__announcement-title {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

.mv-selected-card__announcement-date {
  font-size: 1rem;
  line-height: 1.5rem;
  line-height: 1.375;
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .mv-selected-card__announcement-date {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .mv-selected-card.mv-selected-card--announcement {
    min-height: 240px;
  }
}

/*champ card gradient background*/

.song-card.song-card-type3.song-card-ranking.champ-card .song-card__info {
  background-image: radial-gradient(circle at 50% 100%, rgba(255, 99, 71, 0.6) 0%, transparent 60%),radial-gradient(circle at 50% 100%, rgba(255, 215, 0, 0.4) 0%, transparent 70%),
    radial-gradient(circle at 50% 100%, rgba(60, 179, 113, 0.3) 0%, transparent 80%);
}

/*mv winner card gradient background*/

.song-card.song-card-type3.song-card-ranking.mv-winner-card .song-card__info {
  background-image: radial-gradient(circle at 50% 100%, rgba(15, 5, 18, 1) 0%, transparent 80%),url('../images/mv-grandprize-bg-desktop.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*mv selected card gradient background*/

.song-card__info.song-card__info--mv-selected,
  .song-card.song-card-type3.song-card-ranking.mv-selected-card .song-card__info {
  background-image: radial-gradient(circle at 50% 100%, rgba(15, 5, 18, 1) 0%, transparent 80%),url('../images/mv-4prize-bg-desktop.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*mv mostview card gradient background*/

.song-card__info.song-card__info--mv-mostview,
  .song-card.song-card-type3.song-card-ranking.mv-mostview-card .song-card__info {
  background-image: 
    radial-gradient(circle at 50% 100%, rgba(15, 5, 18, 1) 0%, transparent 80%),url('../images/mv-most-view-bg-desktop.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*mv staff-pick card gradient background*/

.song-card__info.song-card__info--mv-staff-pick,
  .song-card.song-card-type3.song-card-ranking.mv-staff-pick-card .song-card__info {
  background-image: radial-gradient(circle at 50% 100%, rgba(15, 5, 18, 1) 0%, transparent 80%),url('../images/mv-staff-bg-desktop.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*mv bestconcept card gradient background*/

.song-card__info.song-card__info--mv-bestconcept,
  .song-card.song-card-type3.song-card-ranking.mv-bestconcept-card .song-card__info {
  background-image: radial-gradient(circle at 50% 100%, rgba(15, 5, 18, 1) 0%, transparent 80%),url('../images/mv-concept-bg-desktop.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Rank 1 gold gradient background */

.song-card__info.song-card__info-rank1 {
  background-image: radial-gradient(circle at 50% 100%, rgba(255, 99, 71, 0.6) 0%, transparent 60%),radial-gradient(circle at 50% 100%, rgba(255, 215, 0, 0.4) 0%, transparent 70%),
    radial-gradient(circle at 50% 100%, rgba(60, 179, 113, 0.3) 0%, transparent 80%);
}

/* Ranking variant: info first with reduced card height */

.song-card.song-card-type3.song-card-ranking .song-card__info {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.song-card.song-card-type3.song-card-ranking .song-card__thumbnail {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
  min-height: 220px;
}

@media (min-width: 768px) {
  .song-card.song-card-type3.song-card-ranking {
    flex-direction: row;
  }

  .song-card.song-card-type3.song-card-ranking .song-card__info {
    order: 1;
    border-top-left-radius: 1rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 1rem;
    width: 400px;
    min-width: 400px;
  }

  .song-card.song-card-type3.song-card-ranking .song-card__thumbnail {
    order: 2;
    border-top-left-radius: 0;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 0;
    width: auto;
    flex: 1 1 0%;
    min-width: 0;
  }

  .song-card.song-card-type3.song-card-ranking .song-card__info,
    .song-card.song-card-type3.song-card-ranking .song-card__thumbnail {
    height: 190px;
    min-height: 190px;
  }

  .song-card.song-card-type3.song-card-ranking.mv-staff-pick-card .song-card__info.song-card__info--mv-staff-pick,
    .song-card.song-card-type3.song-card-ranking.mv-staff-pick-card .song-card__thumbnail.song-card__thumbnail--mv-staff-pick,
    .song-card.song-card-type3.song-card-ranking.mv-bestconcept-card .song-card__info.song-card__info--mv-bestconcept,
    .song-card.song-card-type3.song-card-ranking.mv-bestconcept-card .song-card__thumbnail.song-card__thumbnail--mv-bestconcept,
    .song-card.song-card-type3.song-card-ranking.mv-winner-card .song-card__info.song-card__info--mv-winner,
    .song-card.song-card-type3.song-card-ranking.mv-winner-card .song-card__thumbnail.song-card__thumbnail--mv-winner,
    .song-card.song-card-type3.song-card-ranking.mv-selected-card .song-card__info.song-card__info--mv-selected,
    .song-card.song-card-type3.song-card-ranking.mv-mostview-card .song-card__info.song-card__info--mv-mostview,
    .song-card.song-card-type3.song-card-ranking.mv-selected-card .song-card__thumbnail.song-card__thumbnail--mv-selected,
    .song-card.song-card-type3.song-card-ranking.mv-mostview-card .song-card__thumbnail.song-card__thumbnail--mv-mostview,
    .song-card.song-card-type3.song-card-ranking.champ-card .song-card__info.song-card__info--champ,
    .song-card.song-card-type3.song-card-ranking.champ-card .song-card__thumbnail.song-card__thumbnail--champ {
    min-height: 0;
    height: auto;
  }

  .song-card.song-card-type3.song-card-ranking.mv-staff-pick-card .song-card__thumbnail.song-card__thumbnail--mv-staff-pick,
    .song-card.song-card-type3.song-card-ranking.mv-bestconcept-card .song-card__thumbnail.song-card__thumbnail--mv-bestconcept,
    .song-card.song-card-type3.song-card-ranking.mv-winner-card .song-card__thumbnail.song-card__thumbnail--mv-winner,
    .song-card.song-card-type3.song-card-ranking.mv-selected-card .song-card__thumbnail.song-card__thumbnail--mv-selected,
    .song-card.song-card-type3.song-card-ranking.mv-mostview-card .song-card__thumbnail.song-card__thumbnail--mv-mostview,
    .song-card.song-card-type3.song-card-ranking.champ-card .song-card__thumbnail.song-card__thumbnail--champ {
    min-width: 0;
    flex: 1 1 0%;
  }
}

@media (min-width: 1024px) {
  .song-card.song-card-type3.song-card-ranking.mv-staff-pick-card .song-card__info.song-card__info--mv-staff-pick,
    .song-card.song-card-type3.song-card-ranking.mv-staff-pick-card .song-card__info.song-card__info--mv-staff-pick,
    .song-card.song-card-type3.song-card-ranking.mv-bestconcept-card .song-card__info.song-card__info--mv-bestconcept,
    .song-card.song-card-type3.song-card-ranking.mv-winner-card .song-card__info.song-card__info--mv-winner,
    .song-card.song-card-type3.song-card-ranking.mv-selected-card .song-card__info.song-card__info--mv-selected,
    .song-card.song-card-type3.song-card-ranking.mv-mostview-card .song-card__info.song-card__info--mv-mostview,
    .song-card.song-card-type3.song-card-ranking.champ-card .song-card__info.song-card__info--champ {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 40%;
    width: 40%;
    min-width: 0;
    max-width: 40%;
    min-height: 240px;
    height: 240px;
  }

  .song-card.song-card-type3.song-card-ranking.mv-staff-pick-card .song-card__thumbnail.song-card__thumbnail--mv-staff-pick,
    .song-card.song-card-type3.song-card-ranking.mv-bestconcept-card .song-card__thumbnail.song-card__thumbnail--mv-bestconcept,
    .song-card.song-card-type3.song-card-ranking.mv-winner-card .song-card__thumbnail.song-card__thumbnail--mv-winner,
    .song-card.song-card-type3.song-card-ranking.mv-selected-card .song-card__thumbnail.song-card__thumbnail--mv-selected,
    .song-card.song-card-type3.song-card-ranking.mv-mostview-card .song-card__thumbnail.song-card__thumbnail--mv-mostview,
    .song-card.song-card-type3.song-card-ranking.champ-card .song-card__thumbnail.song-card__thumbnail--champ {
    flex: 0 0 60%;
    width: 60%;
    max-width: 60%;
    min-width: 0;
    min-height: 240px;
    height: 240px;
  }
}

.song-card-type3 .song-card__info-top {
  min-width: 0;
}

.song-card-type3 .song-card__meta--type3 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  overflow: hidden;
}

.song-card-type3 .song-card__heading-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  width: 100%;
}

.song-card-type3 .song-card__heading-row--with-rank {
  gap: 0.5rem;
  align-items: center;
}

.song-card-type3 .song-card__heading-row--with-rank > .song-card__rank-badge {
  display: block;
  width: 64px;
  min-width: 64px;
  aspect-ratio: 1 / 1;
  line-height: 0;
  align-self: center;
  justify-self: start;
  flex-shrink: 0;
}

.song-card-type3 .song-card__heading-row--with-rank > .song-card__rank-badge img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.song-card-type3 .song-card__heading-row > .song-card__thumb {
  align-self: start;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.song-card-type3 .song-card__heading-row > .song-card__title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  flex-grow: 1;
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

.song-card-type3 .song-card__heading-row--with-rank > .song-card__title {
  flex: 1 1 auto;
}

.song-card__info.song-card__info-rank1 .song-card__title {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

.song-card__info.song-card__info-rank1 .song-card__view,
  .song-card__info.song-card__info-rank1 .song-card__likes,
  .song-card__info.song-card__info-rank1 .song-card__artist {
  --tw-text-opacity: 1;
  color: rgb(147 197 253 / var(--tw-text-opacity, 1));
}

/*champ card title color*/

.song-card__info.song-card__info--champ .song-card__title {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

.song-card-type3 .song-card__details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
  align-items: start;
  min-width: 0;
  width: 100%;
}

.song-card-type3 .song-card__details--with-rank {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
      "top top"
      "stats stats";
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
  row-gap: 0.5rem;
  align-items: start;
  padding-top: 1rem;
}

.song-card-type3 .song-card__details--with-rank > .song-card__details-row {
  grid-area: top;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-width: 0;
}

.song-card-type3 .song-card__details--with-rank > .song-card__details-row > .song-card__thumb {
  align-self: start;
  justify-self: start;
  flex-shrink: 0;
  width: 60px;
  min-width: 60px;
  max-width: 60px;
}

.song-card-type3 .song-card__details--with-rank > .song-card__details-row > .song-card__artist-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .song-card-type3 .song-card__details--with-rank > .song-card__details-row > .song-card__artist-group {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
}

.song-card-type3 .song-card__details--with-rank > .song-card__details-row > .song-card__artist-group {
  justify-self: start;
  text-align: left;
  min-width: 0;
  flex-grow: 1;
}

.song-card-type3 .song-card__details--with-rank > .song-card__stats-row {
  grid-area: stats;
}

.song-card-type3 .song-card__details--with-rank .song-card__stats-row {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
}

@media (min-width: 1024px) {
  .song-card-type3 .song-card__details--with-rank .song-card__stats-row {
    width: auto;
    flex: none;
    flex-shrink: 0;
  }
}

.song-card-type3 .song-card__details--with-rank .song-card__stats-row > .song-card__view,
  .song-card-type3 .song-card__details--with-rank .song-card__stats-row > .song-card__likes {
  width: 100%;
  text-align: left;
}

@media (min-width: 1024px) {
  .song-card-type3 .song-card__details--with-rank .song-card__stats-row > .song-card__view,
  .song-card-type3 .song-card__details--with-rank .song-card__stats-row > .song-card__likes {
    text-align: right;
  }
}

.song-card-type3 .song-card__artist-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.song-card-type3 .song-card__details--with-rank .song-card__artist {
  flex-grow: 0;
}

@media (min-width: 1024px) {
  .song-card-type3 .song-card__details--with-rank .song-card__artist {
    min-width: 0px;
    flex-grow: 1;
  }
}

.song-card-type3 .song-card__stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  justify-self: end;
  text-align: right;
  grid-column: auto;
  grid-row: auto;
}

.song-card-type3 .song-card__thumb {
  overflow: hidden;
  border-radius: 9999px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
  width: 46px;
  max-width: 50px;
  min-width: 46px;
  aspect-ratio: 1 / 1;
  margin: 0;
}

.song-card-type3 .song-card__view {
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

.song-card-type3 .song-card__likes {
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

.song-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.song-card__stats {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.song-card__thumb {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 50px;
  overflow: hidden;
  border-radius: 0.75rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
}

.song-card__thumb img {
  display: block;
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

.all-artist__wrap {
  display: grid;
  width: 100%;
  max-width: 100%;
  align-items: center;
  justify-items: center;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.375rem;
}

@media (min-width: 768px) {
  .all-artist__wrap {
    grid-template-columns: repeat(9, minmax(0, 1fr));
    row-gap: 1rem;
  }
}

.artist__thumb {
  display: inline-flex;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 9999px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
  width: 46px;
  height: 46px;
}

.artist__thumb img {
  display: block;
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

.song-card__title {
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  /* Clamp to 2 lines so card heights stay consistent */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.5rem * 2);
  overflow-wrap: anywhere;
}

.song-card__artist {
  display: flex;
  width: 100%;
  flex-direction: row;
  gap: 0.5rem;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

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

a.song-card__artist:hover,
  a.song-card__artist:active,
  a.song-card__artist:focus-visible {
  --tw-text-opacity: 1;
  color: rgb(251 191 36 / var(--tw-text-opacity, 1));
}

.song-card__info.song-card__info-rank1 a.song-card__artist:hover,
  .song-card__info.song-card__info-rank1 a.song-card__artist:active,
  .song-card__info.song-card__info-rank1 a.song-card__artist:focus-visible {
  --tw-text-opacity: 1;
  color: rgb(191 219 254 / var(--tw-text-opacity, 1));
}

.song-card-type3 .song-card__artist {
  min-width: 0;
}

.song-card-type3 .song-card__artist:first-child span {
  display: block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-card__likes {
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .song-card__likes {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.song-card__view {
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .song-card__view {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

/* Song cards grid layout (mockup: 3 col x 3 row) */

.song-cards-grid {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1150px;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .song-cards-grid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.song-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
  justify-items: stretch;
  align-items: start;
}

@media (min-width: 768px) {
  .song-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .song-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Force vertical card layout inside grid */

.song-cards-grid .song-card {
  flex-direction: column !important;
}

.song-cards-grid .song-card__thumbnail {
  width: 100% !important;
  height: 165px !important;
  border-radius: 1rem 1rem 0 0 !important;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .song-cards-grid .song-card__thumbnail {
    height: 180px !important;
  }
}

@media (min-width: 1024px) {
  .song-cards-grid .song-card__thumbnail {
    height: 190px !important;
  }
}

.song-cards-grid .song-card__info {
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  border-radius: 0 0 1rem 1rem !important;
}

/* Song card meta layout – mobile & tablet: 2 columns, 1 row
     Left column: stats (views + likes)
     Right column: thumb */

@media (max-width: 1023px) {
  .song-card__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    -moz-column-gap: 0.75rem;
         column-gap: 0.75rem;
    row-gap: 0.25rem;
    align-items: center;
  }

  .song-card__stats {
    grid-column: 1;
    grid-row: 1;
  }

  .song-card__meta .song-card__thumb {
    grid-column: 2;
    grid-row: 1;
    margin-left: auto;
    margin-right: 0;
  }
}

/* Song card meta layout – desktop (>=1024px): use same as tablet */

@media (min-width: 1024px) {
  .song-card__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    -moz-column-gap: 0.75rem;
         column-gap: 0.75rem;
    row-gap: 0.25rem;
    align-items: center;
  }

  .song-card__stats {
    grid-column: 1;
    grid-row: 1;
  }

  .song-card__meta .song-card__thumb {
    grid-column: 2;
    grid-row: 1;
    margin-left: auto;
    margin-right: 0;
  }
}

.song-card__random-button-wrap {
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .song-card__random-button-wrap {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }
}

.song-card__random-button {
  display: flex;
  display: inline-flex;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 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: 150ms;
}

.song-card__random-button:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

@media (min-width: 768px) {
  .song-card__random-button {
    width: auto;
  }
}

/* Gallery Section styles */

.gallery-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(40,4,4,0.5);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.gallery-section__title {
  margin-bottom: 1.25rem;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.gallery-tab {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.gallery-tab__button {
  cursor: pointer;
  border-radius: 9999px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 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: 150ms;
  background-color: #1f2a37;
  border: none;
  outline: none !important;
  box-shadow: none !important;
}

.gallery-tab__button:hover {
  background-color: #374151;
}

.gallery-tab__button--active {
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
}

.gallery-tab__button--active:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

.gallery-section__filters {
  margin-bottom: 1.25rem;
  display: flex;
  gap: 1rem;
}

.gallery-section__filter-button--disabled {
  background: #6B7280;
  color: #1F2A37;
  cursor: not-allowed;
}

/* MV Grid styles */

.mv-grid__header {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* Footer styles */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  --tw-bg-opacity: 1;
  background-color: rgb(17 25 40 / var(--tw-bg-opacity, 1));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

/* Mobile & Tablet Footer (< 1024px) */

@media (max-width: 1023px) {
  .footer {
    height: auto;
    flex-direction: column;
    padding: 0.625rem;
  }

  .footer > div {
    gap: 1.5rem;
  }

  .footer__contact {
    order: 1;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
  }

  .footer__contact-title {
    font-family: Noto Sans Thai, sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }

  .footer__email {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    line-height: 1rem;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }

  .footer__email:hover,
    .footer__email:active {
    color: #F59E0B;
  }

  .footer__partner-section {
    order: 2;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }

  .footer__partner-logos {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }

  .footer__divider {
    display: none;
  }

  .footer__sub-partners-wrap {
    margin-top: 1.5rem;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .footer__sub-partners-text {
    text-align: center;
    font-family: Noto Sans Thai, sans-serif;
    font-size: 0.75rem;
    line-height: 1rem;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }

  .footer__sub-partners {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .footer__sub-partners-primary {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .footer__sub-partners-secondary {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }

  .footer__copyright {
    width: 100%;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }
}

/* Desktop Footer (>= 1024px) */

@media (min-width: 1024px) {
  .footer {
    flex-direction: row;
  }

  .footer__contact {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.625rem;
  }

  .footer__contact-title {
    font-family: Noto Sans Thai, sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }

  .footer__email {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    line-height: 1rem;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }

  .footer__email:hover,
    .footer__email:active {
    color: #F59E0B;
  }

  .footer__partner-section {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
  }

  .footer__partner-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .footer__divider {
    display: block;
    height: 6rem;
    width: 1px;
    --tw-bg-opacity: 1;
    background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
  }

  .footer__sub-partners-wrap {
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__sub-partners-text {
    font-family: Noto Sans Thai, sans-serif;
    font-size: 0.75rem;
    line-height: 1rem;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }

  .footer__sub-partners {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .footer__sub-partners-primary {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .footer__sub-partners-secondary {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }

  .footer__copyright {
    font-size: 0.875rem;
    line-height: 1.25rem;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }
}

.footer__sub-partners-secondary.footer__sub-partners-secondary--two-rows {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .footer__sub-partners-secondary.footer__sub-partners-secondary--two-rows {
    align-items: flex-start;
  }
}

.footer__sub-partners-secondary--two-rows .footer__sub-partners-secondary__row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

/* Tab Navigation styles */

.tab-navigation {
  width: 100%;
}

.tab-navigation__container {
  display: flex;
  width: 100%;
  align-items: flex-start;
  border-bottom-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(225 14 14 / var(--tw-border-opacity, 1));
}

.tab-navigation__button {
  cursor: pointer;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  --tw-bg-opacity: 1;
  background-color: rgb(17 25 40 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 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: 150ms;
}

.tab-navigation__button:hover {
  --tw-bg-opacity: 0.8;
}

.tab-navigation__button--active {
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
}

.topchoice-tab-navigation {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.topchoice-tab-navigation__container {
  overflow-x: auto;
}

.topchoice-tab-navigation__container .tab-navigation__button {
  white-space: nowrap;
}

.topchoice-tab-panel {
  width: 100%;
}

/* Activity Detail Layout styles */

.activity-detail {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.activity-detail__container {
  display: flex;
  width: 100%;
  max-width: 1280px;
  flex-direction: column;
  gap: 1rem;
}

.activity-detail__header {
  text-align: center;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  line-height: 58px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .activity-detail__header {
    font-size: 48px;
  }
}

@media (min-width: 1280px) {
  .activity-detail__header {
    font-size: 40px;
    line-height: 48px;
  }
}

.activity-detail__content-wrapper {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  border-top-right-radius: 30px;
}

@media (min-width: 768px) {
  .activity-detail__content-wrapper {
    flex-direction: row;
  }
}

.activity-detail__sidebar {
  width: 100%;
  flex-shrink: 0;
  padding-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .activity-detail__sidebar {
    width: 300px;
  }
}

/* Desktop sticky sidebar */

@media (min-width: 768px) {
  .activity-detail__sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
  }
}

.activity-detail__main-content {
  display: flex;
  width: 100%;
  max-width: 100%;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 1rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .activity-detail__main-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Sidebar Menu styles */

.sidebar-menu {
  width: 100%;
}

.sidebar-menu__container {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.625rem;
  border-radius: 20px;
  --tw-bg-opacity: 1;
  background-color: rgb(17 25 40 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.sidebar-menu__item {
  width: 100%;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(31 42 55 / var(--tw-border-opacity, 1));
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.sidebar-menu__item:last-of-type {
  border-bottom-width: 0px;
}

.sidebar-menu__link {
  display: block;
  cursor: pointer;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 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: 150ms;
}

.sidebar-menu__link:hover {
  --tw-text-opacity: 1;
  color: rgb(225 14 14 / var(--tw-text-opacity, 1));
}

.sidebar-menu__link {
  outline: none !important;
}

.sidebar-menu__link:focus {
  outline: none !important;
}

.sidebar-menu__link--active {
  --tw-text-opacity: 1;
  color: rgb(225 14 14 / var(--tw-text-opacity, 1));
}

.sidebar-menu__button {
  width: 100%;
  cursor: pointer;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  text-align: center;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 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: 150ms;
}

.sidebar-menu__button:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

.sidebar-menu__button {
  outline: none !important;
}

.sidebar-menu__button:focus {
  outline: none !important;
}

.sidebar-menu__button--disabled {
  cursor: not-allowed;
  --tw-bg-opacity: 1;
  background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(31 42 55 / var(--tw-text-opacity, 1));
}

.sidebar-menu__button--disabled:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
}

/* Content Section styles */

.content-section {
  margin-bottom: 2rem;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 1rem;
  scroll-margin-top: 160px;
}

/* For sections in activity detail that have IDs */

.content-section[id] {
  scroll-margin-top: 160px;
}

/* Apply scroll margin to all sections on page */

section {
  scroll-margin-top: 160px;
}

.content-section__header {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.content-section__logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.content-section__logo {
  height: 100px;
  width: 300px;
  -o-object-fit: contain;
     object-fit: contain;
}

.content-section__subtitle {
  text-align: center;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.content-section__activity-name {
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.content-section__title {
  font-family: Noto Sans Thai, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 40px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 1280px) {
  .content-section__title {
    font-size: 24px;
    line-height: 32px;
  }
}

.content-section__text {
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 400;
  line-height: 26px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 1280px) {
  .content-section__text {
    font-size: 1rem;
    line-height: 1.5rem;
    line-height: 22px;
  }
}

.content-section__list {
  margin-left: 1.75rem;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 400;
  line-height: 26px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 1280px) {
  .content-section__list {
    font-size: 1rem;
    line-height: 1.5rem;
    line-height: 22px;
  }
}

ul.content-section__list {
  list-style-type: disc;
}

ol.content-section__list {
  list-style-type: decimal;
  counter-reset: content-section-item;
}

ol.content-section__list > li {
  counter-increment: content-section-item;
}

ol.content-section__list > li > ol.content-section__sublist {
  list-style: none;
  margin-left: 1.5rem;
  margin-top: 0.5rem;
  counter-reset: content-section-subitem;
  padding-left: 0;
}

ol.content-section__list > li > ol.content-section__sublist > li {
  counter-increment: content-section-subitem;
  position: relative;
  padding-left: 2.25em;
}

ol.content-section__list > li > ol.content-section__sublist > li::before {
  content: counter(content-section-item) "." counter(content-section-subitem) "\00a0";
  position: absolute;
  left: 0;
}

.content-section__list li {
  margin-bottom: 0.5rem;
}

.content-section__list li:last-child {
  margin-bottom: 0px;
}

/* Divider between Thai and English T&C sections */

.content-section__divider {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
}

/* Floating Navigation Button (Mobile Only) */

.floating-nav-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  background-color: #E10E0E;
  color: white;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  width: 56px;
  height: 56px;
  display: none;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

@media (max-width: 767px) {
  .floating-nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.floating-nav-button.floating-nav-button--visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.floating-nav-button:hover {
  transform: translateY(0) scale(1.1);
}

.floating-nav-button img {
  width: 24px;
  height: 24px;
}

/* Mobile Navigation Modal */

.mobile-nav-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.mobile-nav-modal.mobile-nav-modal--open {
  display: flex !important;
}

.mobile-nav-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.mobile-nav-modal__content {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  max-height: 80vh;
  overflow-y: auto;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(17 25 40 / var(--tw-bg-opacity, 1));
  animation: slideUp 0.3s ease-out;
}

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

  to {
    transform: translateY(0);
  }
}

.mobile-nav-modal__header {
  position: sticky;
  top: 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(31 42 55 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(17 25 40 / var(--tw-bg-opacity, 1));
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.mobile-nav-modal__title {
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.mobile-nav-modal__close {
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 2rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 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: 150ms;
}

.mobile-nav-modal__close:hover {
  --tw-text-opacity: 1;
  color: rgb(225 14 14 / var(--tw-text-opacity, 1));
}

.mobile-nav-modal__list {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.mobile-nav-modal__item {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(31 42 55 / var(--tw-border-opacity, 1));
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.mobile-nav-modal__item:last-child {
  border-bottom-width: 0px;
}

.mobile-nav-modal__link {
  display: block;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.mobile-nav-modal__link--active {
  --tw-text-opacity: 1;
  color: rgb(225 14 14 / var(--tw-text-opacity, 1));
}

/* Responsive styles for Activity Detail */

@media (max-width: 767px) {
  .activity-detail__header {
    font-size: 1.875rem;
    line-height: 2.25rem;
    line-height: 1.25;
  }

  .activity-detail__content-wrapper {
    flex-direction: column;
  }

  .activity-detail__sidebar {
    width: 100%;
    padding-top: 1.25rem;
  }

  .activity-detail__main-content {
    padding-top: 1.25rem;
  }

  .tab-navigation__button {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .sidebar-menu__item {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

/* Game Info Page Styles */

.game-info-detail-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(63 5 5 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(32 0 0 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .game-info-detail-frame {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/*champ song group*/

.champ-song-group {
  grid-column: span 1 / span 1;
  display: flex;
  width: 100%;
  flex-direction: column;
}

@media (min-width: 768px) {
  .champ-song-group {
    grid-column: span 2 / span 2;
  }
}

.champ-song-wrap {
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .champ-song-wrap {
    max-width: 800px;
  }
}

/*All song frame*/

.all-song-frame {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .all-song-frame {
    width: 700px;
  }
}

@media (min-width: 1024px) {
  .all-song-frame {
    width: 900px;
  }

  .all-song-frame.song-frame-ranking {
    width: 740px;
  }
}

.all-song-group {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.75rem;
}

.all-song-group.song-group__expand {
  grid-column: span 1 / span 1;
  margin-bottom: 0.75rem;
  display: flex;
  width: 100%;
  flex-direction: column;
}

@media (min-width: 768px) {
  .all-song-group.song-group__expand {
    grid-column: span 2 / span 2;
  }
}

.all-song-group + .all-song-group {
  margin-top: 0.75rem;
}

.all-song-frame--final-song {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1000px;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 1024px) {
  .all-song-frame--final-song {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    -moz-column-gap: 1.25rem;
         column-gap: 1.25rem;
    row-gap: 0;
    align-items: start;
  }

  .all-song-frame.song-frame-ranking.all-song-frame--final-song {
    max-width: 1200px;
    width: 100%;
  }

  .all-song-frame.song-frame-ranking.all-song-frame--final-song.frame-special{
    max-width: 720px;
    width: 100%;
  }

  .all-song-frame.song-frame-ranking.all-song-frame--final-song .song-card.song-card-type3.song-card-ranking .song-card__info {
    width: 320px;
    min-width: 320px;
  }

  .all-song-frame--final-song .all-song-group + .all-song-group {
    margin-top: 0;
  }
}

.all-song-group__header {
  width: 100%;
  border-radius: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .all-song-group__header {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.all-song-group__header {
  background: linear-gradient(90deg, rgba(225, 14, 14, 0.95) 0%, rgba(225, 14, 14, 0.6) 45%, rgba(225, 14, 14, 0) 100%);
}

/*champ header*/

.all-song-group__header.champ__header {
  width: 100%;
}

@media (min-width: 1024px) {
  .all-song-group__header.champ__header {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
  }
}

.all-song-group__header.champ__header {
  background: linear-gradient(90deg, rgba(172, 130, 31, 0.95) 0%, rgba(243, 210, 91, 0.6) 45%, rgba(169, 188, 243, 0) 100%);
  color: #ffffff;
}

/*committee header*/

.all-song-group__header.committee__header {
  width: 100%;
}

@media (min-width: 1024px) {
  .all-song-group__header.committee__header {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
  }
}

/*mv mostview header*/

.all-song-group__header.mv-mostview__header {
  width: 100%;
}

@media (min-width: 1024px) {
  .all-song-group__header.mv-mostview__header {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
  }
}

.all-song-group__header.mv-mostview__header {
  background: linear-gradient(90deg, rgba(129, 104, 202, 0.95) 0%, rgba(215, 213, 236, 0.6) 45%, rgba(169, 188, 243, 0) 100%);
  color: #ffffff;
}

/*mv bestconcept header*/

.all-song-group__header.mv-bestconcept__header {
  width: 100%;
}

@media (min-width: 1024px) {
  .all-song-group__header.mv-bestconcept__header {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
  }
}

.all-song-group__header.mv-bestconcept__header {
  background: linear-gradient(90deg, rgba(96, 160, 151, 0.95) 0%, rgba(215, 213, 236, 0.6) 45%, rgba(169, 188, 243, 0) 100%);
  color: #ffffff;
}

/*mv staff-pick header*/

.all-song-group__header.mv-staff-pick__header {
  width: 100%;
}

@media (min-width: 1024px) {
  .all-song-group__header.mv-staff-pick__header {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
  }
}

.all-song-group__header.mv-staff-pick__header {
  background: linear-gradient(90deg, rgba(236, 101, 101, 0.95) 0%, rgba(215, 213, 236, 0.6) 45%, rgba(169, 188, 243, 0) 100%);
  color: #ffffff;
}

@media (min-width: 1024px) {
  .champ__header.small__header,
  .mv-staff-pick__header.small__header ,
  .mv-bestconcept__header.small__header,
  .mv-mostview__header.small__header {
    width: 100%;
  }
}

/* All-song: pagination (top & bottom) */

.all-song-pagination {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.all-song-pagination__item {
  border-radius: 0.125rem;
  --tw-bg-opacity: 1;
  background-color: rgb(17 25 40 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.all-song-pagination__item:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(31 42 55 / var(--tw-bg-opacity, 1));
}

.all-song-pagination__item {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.all-song-pagination__item--active {
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
}

.all-song-pagination__item--active:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

.all-song-pagination__item--disabled {
  pointer-events: none;
  --tw-bg-opacity: 1;
  background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(31 42 55 / var(--tw-text-opacity, 1));
}

/* All-song: single-column list wrapping song-list__card */

.all-song-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  justify-items: stretch;
  align-items: start;
}

@media (min-width: 1024px) {
  .all-song-grid.song-grid__2cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Modifier: responsive 1/2/3-column layout for type3 cards */

.all-song-grid--cols {
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .all-song-grid--cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .all-song-grid--cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.all-song-grid--cols .song-card {
  flex-direction: column !important;
}

.all-song-grid--cols .song-card__thumbnail {
  width: 100% !important;
  height: 165px !important;
  border-radius: 1rem 1rem 0 0 !important;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .all-song-grid--cols .song-card__thumbnail {
    height: 180px !important;
  }
}

@media (min-width: 1024px) {
  .all-song-grid--cols .song-card__thumbnail {
    height: 190px !important;
  }
}

.all-song-grid--cols .song-card__info {
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  border-radius: 0 0 1rem 1rem !important;
}

.song-list__card {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1rem;
  background-color: rgb(17 25 40 / var(--tw-bg-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(68 9 9 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

@media (min-width: 768px) {
  .song-list__card {
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

.song-list__card-thumb {
  height: 3.5rem;
  width: 3.5rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
}

.song-list__card-thumb img {
  display: block;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.song-list__card-info {
  display: flex;
  min-width: 0px;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 0.25rem;
}

.song-list__card-title {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .song-list__card-title {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

.song-list__card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-list__card-artist,
  .song-list__card-date {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgb(99 115 129 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .song-list__card-artist,
  .song-list__card-date {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

.song-list__card-artist,
  .song-list__card-date {
  min-width: 0;
}

.song-list__card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0px;
}

.song-list__card-col {
  display: flex;
  min-width: 0px;
  flex-direction: column;
  gap: 0.25rem;
}

.song-list__card-col--left {
  padding-right: 0.75rem;
}

.song-list__card-col--right {
  border-left-width: 1px;
  border-color: rgb(255 255 255 / 0.2);
  padding-left: 0.75rem;
}

.song-list__card-views,
  .song-list__card-likes {
  text-align: left;
  font-size: 0.75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgb(99 115 129 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .song-list__card-views,
  .song-list__card-likes {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

.song-list__card-play {
  margin-top: 0.5rem;
  display: flex;
  width: 100%;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.song-list__card-play:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

@media (min-width: 768px) {
  .song-list__card-play {
    margin-top: 0px;
    width: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

/* Text indent for paragraphs */

.game-info-detail-frame p {
  text-indent: 2em;
}

/* Desktop only: max-height and scroll for better footer visibility */

@media (min-width: 1280px) {
  .game-info-detail-frame {
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
  }
}

@media (min-width: 1536px) {
  .game-info-detail-frame {
    max-height: 480px;
  }
}

/* Custom scrollbar styling for game-info-detail-frame */

.game-info-detail-frame::-webkit-scrollbar {
  width: 8px;
}

.game-info-detail-frame::-webkit-scrollbar-track {
  background: #3f0505;
  border-radius: 10px;
}

.game-info-detail-frame::-webkit-scrollbar-thumb {
  background: #E10E0E;
  border-radius: 10px;
}

.game-info-detail-frame::-webkit-scrollbar-thumb:hover {
  background: #c00c0c;
}

/* Activity Register Page Styles */

.activity-register-frame {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(63 5 5 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(32 0 0 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .activity-register-frame {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.activity-register-frame {
  position: relative;
  overflow: hidden;
}

/* Scrollable content area (form stays fixed at bottom) */

.activity-register-frame__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 7rem;
  /* space so content doesn't sit under fixed form */
}

/* Text spacing for registration content */

.activity-register-frame__content .content-section__text {
  line-height: 32px;
}

@media (min-width: 768px) {
  .activity-register-frame__content .content-section__text {
    line-height: 34px;
  }
}

@media (min-width: 1280px) {
  .activity-register-frame__content .content-section__text {
    line-height: 30px;
  }
}

.activity-register-frame__content .content-section__list {
  line-height: 32px;
}

@media (min-width: 768px) {
  .activity-register-frame__content .content-section__list {
    line-height: 34px;
  }
}

@media (min-width: 1280px) {
  .activity-register-frame__content .content-section__list {
    line-height: 30px;
  }
}

.activity-register-frame__content .content-section__list li {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .activity-register-frame__content .content-section__list li {
    margin-bottom: 1.25rem;
  }
}

.activity-register-frame__content .content-section__list li:last-child {
  margin-bottom: 0px;
}

/* Form fixed at bottom of frame, higher z-index above content */

.activity-register-frame__form {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: #4B0000;
  padding: 1rem 1rem;
  border-top: 2px solid #3f0505;
}

@media (min-width: 768px) {
  .activity-register-frame__form {
    padding: 1.25rem 18px;
  }
}

/* Desktop only: max-height so content scrolls, form stays at bottom */

@media (min-width: 1280px) {
  .activity-register-frame {
    max-height: 420px;
    display: flex;
    flex-direction: column;
  }

  .activity-register-frame__content {
    padding-bottom: 7.5rem;
  }
}

@media (min-width: 1536px) {
  .activity-register-frame {
    max-height: 650px;
  }
}

/* Step 2: Remove max-height restriction */

.activity-register-frame--step2 {
  max-height: none !important;
}

@media (min-width: 1280px) {
  .activity-register-frame--step2 {
    max-height: none !important;
  }
}

@media (min-width: 1536px) {
  .activity-register-frame--step2 {
    max-height: none !important;
  }
}

/* Step 2: Form buttons area - not fixed, part of content flow */

.activity-register-frame--step2 .activity-register-frame__content--step2 {
  padding-bottom: 0;
}

.activity-register-frame__form--step2 {
  position: relative;
  background: transparent;
  border-top: none;
  padding: 0 0 0 0;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .activity-register-frame__form--step2 {
    padding: 0 0 0 0;
  }
}

/* Step 2: Equal width buttons */

.activity-register-button--step2-clear {
  --tw-bg-opacity: 1;
  background-color: rgb(31 42 55 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.activity-register-button--step2-clear:hover {
  --tw-bg-opacity: 0.8;
}

.activity-register-button--step2-clear {
  flex: 1;
}

.activity-register-button--step2-submit {
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.activity-register-button--step2-submit:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

.activity-register-button--step2-submit {
  flex: 1;
}

/* Download asset button: content width only, no flex grow */

.activity-register-button--download-asset {
  flex: none !important;
  max-width: 100%;
  width: 100%;
}

@media (min-width: 640px) {
  .activity-register-button--download-asset {
    width: -moz-fit-content;
    width: fit-content;
  }
}

/* Custom scrollbar styling for scrollable content */

.activity-register-frame__content::-webkit-scrollbar {
  width: 8px;
}

.activity-register-frame__content::-webkit-scrollbar-track {
  background: #3f0505;
  border-radius: 10px;
}

.activity-register-frame__content::-webkit-scrollbar-thumb {
  background: #E10E0E;
  border-radius: 10px;
}

.activity-register-frame__content::-webkit-scrollbar-thumb:hover {
  background: #c00c0c;
}

/* Registration Form Input Styles */

.activity-register-input {
  border-radius: 9999px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  background-color: #D1D5DB !important;
  border-color: #F59E0B !important;
  border-width: 2px;
  border-style: solid;
  color: #111928;
  outline: none !important;
  box-shadow: none !important;
}

.activity-register-input::-moz-placeholder {
  color: #6B7280;
}

.activity-register-input::placeholder {
  color: #6B7280;
}

.activity-register-input:focus {
  border-color: #3758F9 !important;
  outline: none !important;
  box-shadow: none !important;
  ring: none !important;
}

.activity-register-input:focus-visible {
  border-color: #3758F9 !important;
  outline: none !important;
  box-shadow: none !important;
  ring: none !important;
}

/* Disabled state: force color and opacity so all input types (text, email, tel, url, select) match. Browsers can override color on disabled controls (e.g. -webkit-text-fill-color on email). */

.activity-register-input:disabled {
  border-color: #4B5563 !important;
  background-color: #D1D5DB !important;
  color: #8899A8 !important;
  -webkit-text-fill-color: #8899A8 !important;
  opacity: 1 !important;
  cursor: not-allowed;
}

.activity-register-input:invalid:not(:-moz-placeholder) {
  border-color: #DC2626 !important;
  outline: none !important;
  box-shadow: none !important;
}

.activity-register-input:invalid:not(:placeholder-shown) {
  border-color: #DC2626 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Invalid input state class (for examples or manual application) */

.activity-register-input--invalid {
  border-color: #DC2626 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Input hint text (helper text) */

/* Input error message */

.activity-register-input__error {
  font-family: Noto Sans Thai, sans-serif;
  font-size: 0.75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgb(225 14 14 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .activity-register-input__error {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

/* Divider (primary-red line) - use above consent or between sections */

.activity-register-divider {
  height: 2px;
  background-color: #E10E0E;
  border: none;
  margin: 1rem 0;
  width: 100%;
}

/* Select dropdown styling (for year picker) - remove native appearance so our styles apply when disabled */

.activity-register-input--select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23111928' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Select disabled state: match other inputs. Browsers (e.g. Chrome) ignore background on disabled select unless native appearance is removed and opacity is reset. Use background shorthand so color is not stripped. */

.activity-register-input--select:disabled {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  opacity: 1 !important;
  border-color: #4B5563 !important;
  background: #D1D5DB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238899A8' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat right 1rem center !important;
  color: #8899A8 !important;
  cursor: not-allowed !important;
}

.activity-register-input--select option {
  background-color: #D1D5DB;
  color: #111928;
  padding: 0.5rem;
}

/* File Upload Button */

/* Registration Form Buttons */

.activity-register-button {
  cursor: pointer;
  border-radius: 9999px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  outline: none !important;
}

.activity-register-button:focus {
  outline: none !important;
}

.activity-register-button--primary {
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.activity-register-button--primary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

.activity-register-button--disabled,
  .activity-register-button:disabled {
  pointer-events: none;
  cursor: not-allowed;
  --tw-bg-opacity: 1;
  background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(31 42 55 / var(--tw-text-opacity, 1));
}

.activity-register-button--disabled:hover,
  .activity-register-button:disabled:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(31 42 55 / var(--tw-text-opacity, 1));
}

/* Checkbox Styles */

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  border: 2px solid #E10E0E;
  background-color: #1F2A37;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  outline: none !important;
  box-shadow: none !important;
}

input[type="checkbox"]:checked {
  background-color: #1F2A37;
  border-color: #E10E0E;
}

/* Checkmark using border method */

input[type="checkbox"]:checked::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #E10E0E;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input[type="checkbox"]:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: #E10E0E;
}

input[type="checkbox"]:hover {
  border-color: #E10E0E;
}

/* Step Indicator Styles */

/* Activity Register Step 1 - Step indicator (Figma: red circle Step 1, white circles Step 2/3) */

.activity-register-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
}

@media (min-width: 768px) {
  .activity-register-steps {
    gap: 0;
  }
}

/* Sticky step indicator styling */

.activity-register-steps--sticky {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #200000;
  padding: 1.25rem 1rem;
  margin: 0 -1rem 1.5rem -1rem;
}

@media (min-width: 768px) {
  .activity-register-steps--sticky {
    padding: 1.5rem 18px;
    margin: 0 -18px 1.5rem -18px;
  }
}

.activity-register-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.activity-register-step__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  font-size: 1.125rem;
  line-height: 1;
  font-family: 'Noto Sans Thai', sans-serif;
}

@media (min-width: 768px) {
  .activity-register-step__circle {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.25rem;
  }
}

.activity-register-step--active .activity-register-step__circle {
  background-color: #E10E0E;
  color: #FFFFFF;
  border: none;
}

.activity-register-step:not(.activity-register-step--active) .activity-register-step__circle {
  background-color: #1F2A37;
  color: #E10E0E;
  border: 2px solid #E10E0E;
}

.activity-register-step__label {
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.2;
  font-family: 'Noto Sans Thai', sans-serif;
  white-space: nowrap;
  text-align: center;
}

@media (min-width: 768px) {
  .activity-register-step__label {
    font-size: 0.875rem;
  }
}

/* Step 1 (active): red label */

.activity-register-step--active .activity-register-step__label {
  color: #E10E0E;
}

/* Step 2 & 3 (inactive): light gray labels */

.activity-register-step:not(.activity-register-step--active) .activity-register-step__label {
  color: #E5E7EB;
}

.activity-register-step__connector {
  flex-shrink: 0;
  width: 1.5rem;
  height: 2px;
  background-color: #FFFFFF;
  opacity: 0.5;
  align-self: flex-start;
  /* Position at center of circle: circle height (3rem) / 2 = 1.5rem */
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .activity-register-step__connector {
    width: 2rem;
    /* Position at center of circle: circle height (3.5rem) / 2 = 1.75rem */
    margin-top: 1.75rem;
  }
}

/* Connector after Step 1 (active) should be red and fully opaque */

.activity-register-step--active + .activity-register-step__connector {
  background-color: #E10E0E;
  opacity: 1;
}

/* Rules list: bullet points (small white circles) */

/* Song Submit Form - Header row (title + download button) */

.song-submit-header {
  width: 100%;
}

/* Song Submit Form - Status bar (dark orange/yellow background, white text) */

.song-submit-status {
  background-color: #1F2A37;
  flex-shrink: 0;
  border-radius: 9999px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

@media (max-width: 767px) {
  .song-submit-status {
    text-align: center !important;
    justify-content: center !important;
  }
}

.song-submit-status__icon {
  flex-shrink: 0;
}

/* Song Submit Form - Status bar approved state (light green background, teal text #13C296 to match check icon) */

.song-submit-status--approve {
  background-color: #1F2A37;
  color: #13C296;
}

.song-submit-status--approve .song-submit-status__message {
  color: #13C296;
}

/* Song Submit Form - Status bar not-approved state (same background, red text #E10E0E to match icon-notpass-circle) */

.song-submit-status--not-approve .song-submit-status__message {
  color: #E10E0E;
}

/* Song Submit Form - Reason for not approve (below status bar) */

.song-submit-not-approve-reason {
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  border-width: 1px;
  border-color: rgb(225 14 14 / 0.3);
  background-color: rgb(13 14 25 / 0.6);
  padding: 1rem;
}

.song-submit-not-approve-reason p {
  margin: 0px;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .song-submit-not-approve-reason p {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

/* Song Submit Form - Edit button: circular orange icon + "แก้ไข" label */

.song-submit-edit-btn {
  display: flex;
  flex-shrink: 0;
  cursor: pointer;
  align-items: center;
  gap: 0.375rem;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.song-submit-edit-btn:hover {
  opacity: 0.9;
}

@media (min-width: 768px) {
  .song-submit-edit-btn {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

.song-submit-edit-btn {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}

.song-submit-edit-btn:focus {
  outline: none !important;
}

.song-submit-edit-btn__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  background-color: #F59E0B;
  /* orange circle per Figma */
}

.song-submit-edit-btn__icon img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.song-submit-edit-btn__label {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

/* Song Submit – Confirm submission modal (Figma) */

.song-submit-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.song-submit-confirm-modal.song-submit-confirm-modal--open {
  display: flex !important;
}

.song-submit-confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.song-submit-confirm-modal__content {
  position: relative;
  background-color: #200000;
  border: 2px solid #3f0505;
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.song-submit-confirm-modal__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.song-submit-confirm-modal__title {
  margin: 0px;
  text-align: center;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .song-submit-confirm-modal__title {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

.song-submit-confirm-modal__divider {
  height: 2px;
  background-color: #E10E0E;
  width: 64px;
  margin: 0.5rem auto 0;
  flex-shrink: 0;
}

.song-submit-confirm-modal__message {
  margin: 0px;
  text-align: center;
  font-family: Noto Sans Thai, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  line-height: 1.625;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  margin-top: 1.25rem;
}

.song-submit-confirm-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 1.75rem;
}

.song-submit-confirm-modal__btn {
  flex: 1 1 0%;
  cursor: pointer;
  border-width: 0px;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Textarea uses same input styling but rounded-2xl and multi-line friendly */

.activity-register-input--textarea {
  border-radius: 1rem;
  min-height: 120px;
}

/* Activity Register Step 3 - Success screen */

.activity-register-step3__email {
  color: #F59E0B;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .activity-register-step3__email {
    font-size: 2rem;
  }
}

/* Song Submit Share page - 2-column grid layout (Figma) */

.song-submit-share__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Mobile: show column-right (thank you + back) before column-left (activity card) */

.song-submit-share__column-right {
  order: -1;
}

.song-submit-share__column-left {
  order: 0;
}

@media (min-width: 768px) {
  .song-submit-share__content-grid {
    grid-template-columns: minmax(0, 360px) 1fr;
    gap: 2rem;
  }

  /* Desktop: reset order so left column is first again */

  .song-submit-share__column-left {
    order: 0;
  }

  .song-submit-share__column-right {
    order: 0;
  }
}

.song-submit-share__column-left {
  display: flex;
  height: 688px;
  width: 100%;
  max-width: 360px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
  background-image: url('../images/share-pic-mobile-ratio-v2.webp');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  position: relative;
}

.song-submit-share__column-right {
  display: flex;
  flex-direction: column;
}

.song-submit-share__banner {
  width: 100%;
  max-width: 200px;
  padding: 0.75rem;
}

.song-submit-share__activity-details {
  text-align: center;
}

.song-submit-share__thank-you {
  text-align: center;
  font-weight: 600;
}

.song-submit-share__thank-you-heading {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

.song-submit-share__divider {
  border: none;
  height: 2px;
  background-color: #E10E0E;
}

/* Share buttons: full width, dark background (Figma) */

.song-submit-share__card {
  width: 100%;
  max-width: 290px;
  border-radius: 1rem;
  background-color: rgba(32,0,0,0.4);
  padding: 1rem;
}

@media (min-width: 768px) {
  .song-submit-share__card {
    padding: 1.25rem;
  }
}

.song-submit-share__card-art-img {
  display: block;
}

/* Back to Home: solid dark red/orange (Figma) */

.song-submit-share__back-btn {
  background-color: #E10E0E !important;
  border: none !important;
  color: #ffffff !important;
}

.song-submit-share__back-btn:hover {
  background-color: #c00c0c !important;
}

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

.visible {
  visibility: visible;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

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

.left-0 {
  left: 0px;
}

.right-0 {
  right: 0px;
}

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

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

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

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

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.m-0 {
  margin: 0px;
}

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

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

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

.my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.mb-0\.5 {
  margin-bottom: 0.125rem;
}

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

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

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

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

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

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

.ml-6 {
  margin-left: 1.5rem;
}

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

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

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

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

.mt-2\.5 {
  margin-top: 0.625rem;
}

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

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

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

.block {
  display: block;
}

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

.flex {
  display: flex;
}

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

.hidden {
  display: none;
}

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

.h-1 {
  height: 0.25rem;
}

.h-4 {
  height: 1rem;
}

.h-40 {
  height: 10rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

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

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

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

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

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

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

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

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

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

.w-4 {
  width: 1rem;
}

.w-40 {
  width: 10rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

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

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

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

.w-auto {
  width: auto;
}

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

.w-full {
  width: 100%;
}

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

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

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

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

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

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

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

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

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

.cursor-pointer {
  cursor: pointer;
}

.resize-y {
  resize: vertical;
}

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

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

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

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

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

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

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

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

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

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

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

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

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

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

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

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

.overflow-hidden {
  overflow: hidden;
}

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

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

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

.rounded {
  border-radius: 0.25rem;
}

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

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

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

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

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

.border {
  border-width: 1px;
}

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

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

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

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

.border-red-900\/50 {
  border-color: rgb(127 29 29 / 0.5);
}

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

.bg-dark-bg {
  --tw-bg-opacity: 1;
  background-color: rgb(13 14 25 / var(--tw-bg-opacity, 1));
}

.bg-dark-gray {
  --tw-bg-opacity: 1;
  background-color: rgb(17 25 40 / var(--tw-bg-opacity, 1));
}

.bg-primary-red {
  --tw-bg-opacity: 1;
  background-color: rgb(225 14 14 / var(--tw-bg-opacity, 1));
}

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

.bg-opacity-90 {
  --tw-bg-opacity: 0.9;
}

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

.bg-center {
  background-position: center;
}

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

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

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

.p-4 {
  padding: 1rem;
}

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

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

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

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

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

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

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

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

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

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

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

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

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

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

.font-inter {
  font-family: Inter, sans-serif;
}

.font-noto-sans-thai {
  font-family: Noto Sans Thai, sans-serif;
}

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

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

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

.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-light {
  font-weight: 300;
}

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

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

.leading-\[1\.8\] {
  line-height: 1.8;
}

.leading-\[40px\] {
  line-height: 40px;
}

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

.text-\[\#637381\] {
  --tw-text-opacity: 1;
  color: rgb(99 115 129 / var(--tw-text-opacity, 1));
}

.text-\[\#F59E0B\] {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

.text-\[\#f59e0b\] {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

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

.text-amber-500 {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

.text-primary-red {
  --tw-text-opacity: 1;
  color: rgb(225 14 14 / var(--tw-text-opacity, 1));
}

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

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

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

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

.opacity-20 {
  opacity: 0.2;
}

.opacity-60 {
  opacity: 0.6;
}

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

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

/* Smooth scrolling */

html {
  scroll-behavior: smooth;
}

/* Custom styles for BEM components */

/* Additional custom styles */

.hover\:text-primary-red:hover {
  --tw-text-opacity: 1;
  color: rgb(225 14 14 / var(--tw-text-opacity, 1));
}

.hover\:no-underline:hover {
  text-decoration-line: none;
}

.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-primary-red:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(225 14 14 / var(--tw-ring-opacity, 1));
}

@media (min-width: 640px) {
  .sm\:inline {
    display: inline;
  }

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

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

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

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

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

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

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

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

  .sm\:leading-\[1\.85\] {
    line-height: 1.85;
  }
}

@media (min-width: 768px) {
  .md\:order-1 {
    order: 1;
  }

  .md\:order-2 {
    order: 2;
  }

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

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

  .md\:my-10 {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }

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

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

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

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

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

  .md\:ml-6 {
    margin-left: 1.5rem;
  }

  .md\:mt-12 {
    margin-top: 3rem;
  }

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

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

  .md\:inline {
    display: inline;
  }

  .md\:flex {
    display: flex;
  }

  .md\:grid {
    display: grid;
  }

  .md\:hidden {
    display: none;
  }

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

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

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

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

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

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

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

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

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

  .md\:flex-\[2\] {
    flex: 2;
  }

  .md\:flex-\[3\] {
    flex: 3;
  }

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

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

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

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

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

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

  .md\:rounded-l-2xl {
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
  }

  .md\:rounded-tr-none {
    border-top-right-radius: 0px;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

  .md\:leading-\[32px\] {
    line-height: 32px;
  }

  .md\:leading-\[36px\] {
    line-height: 36px;
  }

  .md\:leading-\[50px\] {
    line-height: 50px;
  }
}

@media (min-width: 1024px) {
  .lg\:mb-10 {
    margin-bottom: 2.5rem;
  }

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

  .lg\:block {
    display: block;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

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

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

  .lg\:w-auto {
    width: auto;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

  .lg\:leading-\[40px\] {
    line-height: 40px;
  }

  .lg\:leading-\[48px\] {
    line-height: 48px;
  }
}

@media (min-width: 1280px) {
  .xl\:block {
    display: block;
  }

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

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

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

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

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

  .xl\:leading-\[28px\] {
    line-height: 28px;
  }
}

@media (min-width: 1536px) {
  .\32xl\:h-\[1106px\] {
    height: 1106px;
  }

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