/* Only the new page is affected. The shared desktop/mobile styles remain intact. */
.cosplay-page {
  color: #fff;
  background: #000 url('assets/images/cosplay/background.webp') center top / 1920px 4628px no-repeat;
  font-weight: 500;
  overflow-x: clip;
}
.cosplay-page::before { display: none; }
.cosplay-page .site-header { display: flow-root; height: 75px; }
.cosplay-page .header-inner .main-nav { margin-top: 21px; }
.cosplay-page .nav-list { margin: 0; padding: 0; }
.cosplay-page .header-ticket-button { box-shadow: none; background: #c8452a; border: 0; font-weight: 400; text-shadow: none; }
.cosplay-page .header-ticket-button::before { display: none; }
.cosplay-page .nav-link { letter-spacing: -1.25px; font-weight: 400; }
.cosplay-page .cosplay-back { display: none; }
.cosplay-page .cosplay-skip-link { position: fixed; z-index: 10001; top: 8px; left: 8px; padding: 12px 20px; background: #c8452a; color: white; transform: translateY(-160%); }
.cosplay-page .cosplay-skip-link:focus { transform: none; }
.cosplay-page .cosplay-heading { margin-top: 42px; text-align: center; }
.cosplay-page .section-eyebrow { margin: 0; color: #c99a52; font-size: 24px; line-height: 1; letter-spacing: -1.2px; }
.cosplay-page .section-title { margin: 7px 0 0; font-size: 48px; font-weight: 700; line-height: 1.2; letter-spacing: -2.4px; color: #f6efe9; }
.cosplay-page .cosplay-copy { width: 1120px; max-width: calc(100% - 40px); margin-inline: auto; font-size: 24px; line-height: 1.2; letter-spacing: -1.2px; }
.cosplay-page .cosplay-introduction { margin-top: 42px; margin-bottom: 0; }
.cosplay-page .cosplay-section-links { display: flex; justify-content: center; gap: 27px; margin: 62px auto 36px; }
.cosplay-page .cosplay-section-links a { display: flex; align-items: center; justify-content: center; min-height: 58px; width: 280px; padding: 12px 22px; border-radius: 35px; background: #df285a; color: #f6efe9; text-decoration: none; font-size: 28px; font-weight: 400; line-height: 1.2; letter-spacing: -1.4px; transition: background-color 160ms ease; }
.cosplay-page .cosplay-section-links a:nth-child(2) { width: 324px; }
.cosplay-page .cosplay-section-links a:hover { background: #ed3969; }
.cosplay-page a:focus-visible, .cosplay-page button:focus-visible, .cosplay-page .cosplay-gallery:focus-visible { outline: 2px solid #e8ad62; outline-offset: 5px; }
.cosplay-page .cosplay-gallery { position: relative; width: 1248px; max-width: calc(100% - 40px); margin-inline: auto; transform: translateX(3px); border-radius: 6px; touch-action: pan-y pinch-zoom; }
.cosplay-page .cosplay-gallery-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cosplay-page .cosplay-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 5px; background: #140d0c; }
.cosplay-page .cosplay-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cosplay-page .cosplay-photo .cosplay-incoming { position: absolute; inset: 0; opacity: 0; transition: opacity 400ms ease; }
.cosplay-page .cosplay-photo .cosplay-incoming.is-visible { opacity: 1; }
.cosplay-page .cosplay-gallery-controls { position: absolute; bottom: 12px; right: 12px; display: flex; gap: 5px; opacity: .6; transition: opacity 150ms ease; }
.cosplay-page .cosplay-gallery-controls[hidden] { display: none; }
.cosplay-page .cosplay-gallery:hover .cosplay-gallery-controls, .cosplay-page .cosplay-gallery:focus-within .cosplay-gallery-controls { opacity: 1; }
.cosplay-page .cosplay-gallery-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff70; border-radius: 50%; background: #100909b8; color: #fff; font: 28px/1 Arial, sans-serif; }
.cosplay-page .cosplay-gallery-controls [data-pause] { font-size: 18px; }
.cosplay-page .cosplay-contest { scroll-margin-top: 30px; }
.cosplay-page #pro { margin-top: 68px; }
.cosplay-page .cosplay-contest h2 { margin: 0; color: #f6efe9; font-size: 50px; font-weight: 500; line-height: 1.06; letter-spacing: -2.5px; }
.cosplay-page .cosplay-subtitle { margin: 0; color: #c99a52; }
.cosplay-page .cosplay-details { margin-top: 65px; }
.cosplay-page .cosplay-detail + .cosplay-detail { margin-top: 30px; }
.cosplay-page .cosplay-detail h3 { margin: 0 0 26px; color: #bc904d; font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -1.2px; }
.cosplay-page #pro .cosplay-detail:nth-child(3) { margin-top: 26px; }
.cosplay-page #pro .cosplay-detail:nth-child(4) { margin-top: 27px; }
.cosplay-page #pro .cosplay-detail:nth-child(5) { margin-top: 24px; }
.cosplay-page .cosplay-contest ul, .cosplay-page .cosplay-contest ol { margin: 0; padding-left: 29px; }
.cosplay-page .cosplay-contest ul { list-style: disc; }
.cosplay-page .cosplay-contest ol { list-style: decimal; }
.cosplay-page .cosplay-contest li { padding-left: 0; }
.cosplay-page .cosplay-contest p { margin-bottom: 0; }
.cosplay-page .cosplay-rehearsal { text-indent: 38px; }
.cosplay-page .cosplay-list-note { margin-top: 29px; }
.cosplay-page .cosplay-registration { position: relative; width: 280px; max-width: 100%; margin: 54px auto 0; padding-top: 69px; }
.cosplay-page .cosplay-registration-artwork { position: absolute; z-index: 1; top: 0; left: 50%; width: 206px; transform: translateX(-50%); pointer-events: none; }
.cosplay-page .cosplay-register-button { min-height: 95px; border-radius: 35px; padding: 20px 12px 16px; font-size: 49px; letter-spacing: -2.45px; background: #c8452a; text-shadow: none; }
.cosplay-page .cosplay-register-button[aria-disabled='true'] { cursor: default; pointer-events: none; }
.cosplay-page #amateur { margin-top: 61px; }
.cosplay-page #amateur .cosplay-details { margin-top: 48px; }
.cosplay-page .cosplay-amateur-steps { margin-top: 30px; }
.cosplay-page .cosplay-amateur-steps li + li { margin-top: 12px; }
.cosplay-page .cosplay-amateur-steps strong { font-weight: 700; }
.cosplay-page .cosplay-amateur-judging, .cosplay-page .cosplay-amateur-ticket { margin-top: 30px; }
.cosplay-page .cosplay-amateur-judging + .cosplay-detail { margin-top: 30px; }
.cosplay-page #amateur .cosplay-detail + .cosplay-detail { margin-top: 42px; }
.cosplay-page .cosplay-stage { width: 996px; max-width: calc(100% - 40px); aspect-ratio: 996 / 483; margin: 99px auto 0; overflow: hidden; border-radius: 18px; }
.cosplay-page .cosplay-stage img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.cosplay-page #rules { margin-top: 61px; }
.cosplay-page #rules h2 { margin-bottom: 26px; }
.cosplay-page .site-footer { margin-top: 159px; background: transparent; }
.cosplay-page .footer-inner { width: 1120px; max-width: calc(100% - 40px); min-height: 391px; margin-inline: auto; padding: 0; border: 0; }
.cosplay-page .footer-social-list { padding-top: 37px; gap: 50px; }
.cosplay-page .footer-social-link img { width: auto; height: 84px; object-fit: contain; }
.cosplay-page .footer-social-item:first-child img { height: 98px; }
.cosplay-page .footer-social-item:last-child img { height: 80px; }
.cosplay-page .footer-mascot { position: absolute; top: 0; right: 30px; width: 265px; margin: 0; }
.cosplay-page .cosplay-footer-info { width: 750px; max-width: calc(100% - 280px); margin: 44px 0 0; text-align: center; }
.cosplay-page .festival-legal-links { padding: 16px 0; border-color: #63374360; font-size: 13px; gap: 8px 22px; }
.cosplay-page .footer-credit { margin: 22px 0 0; font-size: 16px; line-height: 1.3; }
html[lang='ka'] .cosplay-page { --font-sans: 'Roboto', 'Segoe UI', system-ui, Arial, sans-serif; }
html[lang='ka'] .cosplay-page .cosplay-copy { letter-spacing: -.35px; line-height: 1.5; }
html[lang='ka'] .cosplay-page .cosplay-contest h2 { font-size: 44px; line-height: 1.25; letter-spacing: -1.4px; }
html[lang='ka'] .cosplay-page .cosplay-section-links a { font-size: 22px; letter-spacing: -.4px; }
html[lang='ka'] .cosplay-page .cosplay-register-button { font-family: var(--font-sans); font-size: 26px; letter-spacing: -.5px; }
html[lang='ka'] .cosplay-page .cosplay-detail h3 { letter-spacing: -.3px; }
@media (max-width: 1199.98px) {
  .cosplay-page .site-header { height: auto; }
  .cosplay-page .cosplay-copy { max-width: calc(100% - 64px); font-size: 22px; letter-spacing: -.6px; }
  .cosplay-page .cosplay-heading { margin-top: 50px; }
  .cosplay-page .cosplay-gallery { max-width: calc(100% - 48px); }
  .cosplay-page .cosplay-section-links { max-width: calc(100% - 64px); gap: 20px; }
  .cosplay-page .cosplay-section-links a { width: auto; flex: 1; font-size: 25px; }
  .cosplay-page .cosplay-section-links a:nth-child(2) { width: auto; flex: 1.2; }
  .cosplay-page .cosplay-stage { max-width: calc(100% - 96px); }
  .cosplay-page .footer-mascot { right: 0; }
}
@media (max-width: 991.98px) {
  .cosplay-page .cosplay-heading { margin-top: 44px; }
  .cosplay-page .cosplay-contest h2 { font-size: 42px; }
  .cosplay-page .cosplay-section-links a { font-size: 21px; }
  .cosplay-page .cosplay-gallery-track { gap: 14px; }
  .cosplay-page .footer-mascot { width: 210px; }
  .cosplay-page .cosplay-footer-info { max-width: calc(100% - 220px); }
  html[lang='ka'] .cosplay-page .cosplay-section-links a { font-size: 18px; }
}
/* Whole-pixel boundary also avoids Firefox rounding 767.98px up to 768px. */
@media (min-width: 768px) {
  .cosplay-page .site-header { position: static; padding-top: 0; }
  .cosplay-page .site-header .main-nav { display: flex; }
  .cosplay-page .mobile-event-meta { display: none; }
}
@media (max-width: 767px) {
  .cosplay-page { background-size: auto 100%; }
  .cosplay-page .site-header { position: relative; padding-top: max(48px, env(safe-area-inset-top, 0px)); }
  .cosplay-page .cosplay-back { display: inline-block; margin-top: 22px; color: #c99a52; font-size: 14px; text-decoration: none; min-height: 44px; padding-block: 12px; }
  .cosplay-page .cosplay-heading { margin: 26px 18px 0; }
  .cosplay-page .section-eyebrow { font-size: 18px; letter-spacing: -.6px; }
  .cosplay-page .section-title { font-size: clamp(29px, 8.4vw, 40px); letter-spacing: -1.4px; margin-top: 10px; }
  .cosplay-page .cosplay-copy { width: auto; max-width: none; margin-inline: clamp(16px, 4.5vw, 28px); font-size: 18px; line-height: 1.45; letter-spacing: 0; }
  .cosplay-page .cosplay-introduction { margin-top: 28px; }
  .cosplay-page .cosplay-section-links { flex-direction: column; align-items: stretch; gap: 12px; max-width: none; margin: 30px clamp(16px, 4.5vw, 28px) 28px; }
  .cosplay-page .cosplay-section-links a, .cosplay-page .cosplay-section-links a:nth-child(2) { width: 100%; min-height: 48px; font-size: 20px; padding: 12px 20px; letter-spacing: -.4px; }
  .cosplay-page .cosplay-gallery { width: auto; max-width: none; transform: none; margin-inline: clamp(16px, 4.5vw, 28px); }
  .cosplay-page .cosplay-gallery-track { display: block; }
  .cosplay-page .cosplay-photo:not(:first-child) { display: none; }
  .cosplay-page .cosplay-gallery-controls { opacity: .9; bottom: 10px; right: 10px; }
  .cosplay-page #pro, .cosplay-page #amateur { margin-top: 44px; }
  .cosplay-page .cosplay-contest h2 { font-size: 32px; letter-spacing: -1px; line-height: 1.15; }
  .cosplay-page .cosplay-subtitle { margin-top: 8px; }
  .cosplay-page .cosplay-details, .cosplay-page #amateur .cosplay-details { margin-top: 30px; }
  .cosplay-page .cosplay-detail h3 { font-size: 20px; line-height: 1.35; letter-spacing: -.3px; margin-bottom: 16px; }
  .cosplay-page .cosplay-detail + .cosplay-detail, .cosplay-page #amateur .cosplay-detail + .cosplay-detail { margin-top: 30px; }
  .cosplay-page .cosplay-contest ul, .cosplay-page .cosplay-contest ol { padding-left: 23px; }
  .cosplay-page .cosplay-contest li + li { margin-top: 7px; }
  .cosplay-page .cosplay-rehearsal { text-indent: 0; }
  .cosplay-page .cosplay-list-note { margin-top: 18px; }
  .cosplay-page .cosplay-registration { margin-top: 32px; }
  .cosplay-page .cosplay-register-button { min-height: 85px; font-size: 44px; }
  .cosplay-page .cosplay-stage { width: auto; max-width: none; margin: 44px clamp(16px, 4.5vw, 28px) 0; aspect-ratio: 4 / 3; border-radius: 12px; }
  .cosplay-page #rules { margin-top: 38px; }
  .cosplay-page #rules h2 { margin-bottom: 22px; }
  .cosplay-page .site-footer { margin-top: 64px; }
  .cosplay-page .footer-inner { width: auto; max-width: none; margin-inline: clamp(16px, 4.5vw, 28px); min-height: 310px; }
  .cosplay-page .footer-social-list { padding: 0 0 24px; gap: 24px; }
  .cosplay-page .footer-social-link img { max-height: 54px; max-width: 54px; }
  .cosplay-page .footer-mascot { width: clamp(115px, 30vw, 180px); top: auto; bottom: 0; }
  .cosplay-page .cosplay-footer-info { width: auto; max-width: calc(100% - 120px); margin: 0 0 30px; }
  .cosplay-page .festival-legal-links { justify-content: flex-start; text-align: left; gap: 8px; font-size: 12px; }
  .cosplay-page .footer-credit { font-size: 13px; text-align: left; }
  html[lang='ka'] .cosplay-page .cosplay-contest h2 { font-size: 29px; line-height: 1.35; letter-spacing: -.6px; }
  html[lang='ka'] .cosplay-page .cosplay-copy { font-size: 18px; line-height: 1.55; letter-spacing: 0; }
  html[lang='ka'] .cosplay-page .cosplay-section-links a { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .cosplay-page *, .cosplay-page *::before, .cosplay-page *::after { animation: none !important; transition: none !important; }
}
