/* MobVision's dark/crimson shell, with the event's own masquerade artwork. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/outfit-400.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/outfit-500.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/outfit-600.woff2') format('woff2'); }
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/bebasneue.woff2') format('woff2'); }
:root {
  --bg: #050508;
  --panel: #111118;
  --ink: #f0f0f4;
  --muted: #b9b9c4;
  --red: #c41230;
  --line: #ffffff17;
  --sans: 'Outfit', Arial, sans-serif;
}
body {
  padding-top: 64px;
  background: radial-gradient(ellipse 75% 22% at 95% 35%, #c412300c, transparent), #050508;
  -webkit-font-smoothing: antialiased;
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: 64px;
  z-index: 100;
  padding-inline: clamp(18px, 4vw, 60px);
  background: #050508d9;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #c412302f;
}
.site-header .brand { gap: 10px; }
.header-panel { display: contents; }
.header-menu { display: none; }
.site-header .brand img { width: 30px; height: 30px; }
.brand-wordmark {
  font: 25px/1 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  letter-spacing: 2px;
}
.brand-wordmark > span { color: #e42446; }
.site-header .brand-divider { margin-inline: 7px; height: 22px; background: #ffffff25; }
.site-header .nohome { font-size: 19px; }
.site-header nav a { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: #b5b5c0; }
.site-header nav a:hover { color: #fff; }
.site-header .button {
  color: #fff;
  background: #c41230;
  border: 0;
  padding-inline: 22px;
  text-transform: uppercase;
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
.site-header .button:hover { background: #e8153a; }
#account-nav .text-link { text-transform: uppercase; font-size: 11px; letter-spacing: .8px; }
.button.primary { background: #c41230; border-color: #e23750; }
.button.primary:hover { background: #e8153a; }
.hero:after {
  background: linear-gradient(90deg, #050508e8, #05050872 46%, #05050808 80%), linear-gradient(0deg, #050508, transparent 32%);
}
.hero { height: min(810px, calc(100svh - 64px)); }
.night-section { background: #0b0b11; }
.night-art { background-image: linear-gradient(90deg, transparent 70%, #0b0b11), url('/images/ballroom.webp'); }
.site-footer { position: relative; z-index: 1; }
.submission-backdrop {
  position: fixed;
  inset: 64px 0 0;
  z-index: -1;
  pointer-events: none;
  background: #050508;
  overflow: hidden;
}
.submission-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: .38;
}
.submission-backdrop:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #05050824, #050508a6 58%, #050508 100%), linear-gradient(90deg, #05050890, #05050838 50%, #05050890);
}
body.is-entering { background: #050508; isolation: isolate; }
body[data-entrance='party_crasher'] { --gold: #e3a8b0; }
.is-entering .site-footer { padding-top: 25px; border-top: 1px solid #ffffff12; }
.submission-page { position: relative; padding-top: 32px; max-width: 1260px; }
.submission-page > .back-link { margin-bottom: 25px; font-size: 12px; }
.submission-page > .eyebrow { margin-bottom: 6px; }
.submission-page > h1 { font-size: clamp(40px, 4.5vw, 65px); margin-bottom: 12px; }
.submission-page > .section-intro { font-size: 15px; margin-bottom: 0; }
.form-layout { display: block; margin-top: 26px; }
.entry-intro { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.entry-intro p { margin: 0; font-size: 13px; color: #d4d1d6; }
#item-count { color: var(--gold); white-space: nowrap; font-size: 11px; letter-spacing: .6px; }
.submission-items { display: grid; grid-template-columns: 1.08fr 1fr 1fr; gap: 20px; align-items: stretch; }
.submission-item {
  min-width: 0;
  background: #0e0e16eb;
  backdrop-filter: blur(14px);
  border: 1px solid #ffffff26;
  box-shadow: 0 18px 60px #0004;
  transition: border-color .35s, box-shadow .35s;
}
.submission-item.is-ready { border-color: #d4b57a77; box-shadow: 0 10px 35px #0004, 0 0 25px #d4b57a09; }
.item-heading { display: flex; align-items: center; padding: 19px 20px; gap: 12px; border-bottom: 1px solid #ffffff12; }
.item-heading > span:first-child { font: italic 14px var(--display); color: var(--gold); }
.item-heading > h2 { font: 25px/1.1 var(--display); letter-spacing: -.5px; margin: 0; }
.item-check { margin-left: auto; color: #8b8792; font-size: 18px; }
.is-ready .item-check { color: var(--gold); }
.song-art {
  height: 210px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 75%, #c4123028, transparent 70%), linear-gradient(135deg, #17121c, #090a11);
}
.song-art:before, .song-art:after { content: ''; position: absolute; width: 170px; height: 170px; border: 1px solid #c4123025; border-radius: 50%; }
.song-art:after { width: 125px; height: 125px; }
.music-note { font-family: Georgia, serif; color: #d4b57a; font-size: 65px; line-height: 1; position: relative; z-index: 1; }
.sound-wave { display: flex; align-items: center; gap: 5px; height: 40px; margin-top: 10px; z-index: 1; }
.sound-wave i { display: block; width: 3px; height: 8px; background: #ac2540; }
.sound-wave i:nth-child(3n) { height: 24px; }
.sound-wave i:nth-child(4n) { height: 16px; }
.sound-wave i:nth-child(5n) { height: 34px; }
.is-ready .sound-wave i { background: #dbb47b; animation: music-arrives 1s ease-in-out 2; }
.is-ready .sound-wave i:nth-child(3n) { animation-delay: .15s; }
.is-ready .sound-wave i:nth-child(4n) { animation-delay: .3s; }
#song-art-label { color: #e4d6be; z-index: 1; font: italic 14px var(--display); max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 8px; }
.item-fields { padding: 15px 19px 18px; }
.item-fields input:not([type=checkbox]), .item-fields select { background: #05050880; border-color: #ffffff25; margin: 0 0 10px; padding: 12px; font-size: 14px; }
.item-fields p { font-size: 11px; line-height: 1.6; margin: 0; min-height: 18px; }
.artwork-pick { width: 100%; border: 0; padding: 0; background: none; color: var(--ink); text-align: left; display: block; }
.artwork-surface { display: flex; position: relative; width: 100%; aspect-ratio: 1.28; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(ellipse, #2c1c2c80, #0a0a12); }
.persona-item .artwork-surface { background: radial-gradient(ellipse, #38242b80, #0a0a12); }
.artwork-surface > span { font: 44px/1 var(--display); color: #c5aa78; transition: transform .3s; }
.artwork-surface > img { width: 100%; height: 100%; object-fit: cover; animation: artwork-appears .4s ease-out; transition: transform .5s; }
.artwork-surface:after { content: '↗'; position: absolute; right: 14px; bottom: 14px; background: #050508ba; border: 1px solid #ffffff30; color: #fff; display: grid; place-items: center; width: 34px; height: 34px; font-size: 18px; }
.artwork-pick:hover .artwork-surface > img { transform: scale(1.035); }
.artwork-pick:hover .artwork-surface > span { transform: scale(1.15); }
.artwork-pick:focus-visible { outline-offset: -4px; }
.artwork-caption { display: block; padding: 16px 19px 5px; }
.artwork-caption strong { font-size: 13px; display: block; font-weight: 500; }
.artwork-caption small { font-size: 11px; color: var(--muted); display: block; margin-top: 5px; }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 19px 18px; }
.item-foot > span { font-size: 11px; color: #a3a0aa; }
.item-foot button { font-size: 11px; min-height: 40px; color: var(--gold); }
.persona-item .item-fields { padding-top: 12px; }
.persona-item .item-fields select { padding-right: 6px; text-overflow: ellipsis; }
.persona-editor { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 22px; background: #14111be8; border-left-color: var(--gold); }
.persona-editor label { margin-bottom: 10px; }
.persona-editor details { font-size: 12px; }
.persona-editor summary { cursor: pointer; color: var(--muted); }
.persona-save { align-self: center; }
.persona-save p { font-size: 12px; }
.persona-editor > div > .eyebrow { margin-bottom: 9px; }
.entrant-details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; }
.entrant-details label { margin: 0; font-size: 11px; color: #c5c1ca; }
.entrant-details input { background: #090910db!important; border-color: #ffffff26!important; }
.entrant-identity { border-bottom: 1px solid #ffffff1c; margin-top: 22px; padding-bottom: 15px; }
.entrant-identity summary { display: flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; font-size: 12px; color: #c7c1cb; list-style: none; }
.entrant-identity summary::-webkit-details-marker { display: none; }
.entrant-identity summary strong { color: var(--ink); font-weight: 500; }
.entrant-identity summary > span { margin-left: auto; font-size: 11px; color: var(--gold); }
.entrant-identity .entrant-details { margin-top: 12px; }
.entrant-identity > p { font-size: 11px; margin: 10px 0 0; }
.entry-extras { margin-top: 18px; border-bottom: 1px solid #ffffff1c; padding-bottom: 20px; }
.entry-extras summary { cursor: pointer; font-size: 12px; color: #c6c0cb; min-height: 35px; }
.entry-extras label { margin-top: 16px; }
.entry-extras textarea { background: #0b0b13e6; }
.permissions { margin-top: 24px; margin-bottom: 24px; }
.permissions legend { font: 24px var(--display); border: 0; padding-bottom: 0; margin-bottom: 17px; }
.approval-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.approval-grid .check { border: 1px solid #ffffff20; background: #0e0e16dd; padding: 14px; margin: 0; font-size: 12px; min-height: 90px; cursor: pointer; }
.check:has(input:checked) { border-color: #d4b57a60; background: #30271e70; }
.creative-reuse { margin: 16px 0 0; padding: 13px 15px; border: 1px solid transparent; background: #0e0e16a6; width: fit-content; }
.creative-reuse small { font-size: 10px; margin-top: 2px; }
.submit-row { justify-content: space-between; padding: 18px 0 0; border-top: 1px solid #ffffff26; }
.submit-row > p { color: #ddd0bc; font: italic 15px var(--display); }
.submit-row .button { min-width: 240px; padding: 17px 25px; font-size: 13px; }
.gallery-grid { gap: 14px; }
.gallery-image { transition: transform .2s, border-color .2s; }
.gallery-image:hover { transform: translateY(-3px); }
#gallery-dialog[open] { animation: entrance-arrives .25s ease; }
.entrance-flight { position: fixed; z-index: 90; object-fit: cover; pointer-events: none; }
::view-transition-group(entrance-art) { animation-duration: 850ms; animation-timing-function: cubic-bezier(.22,.7,.15,1); }
::view-transition-old(entrance-art), ::view-transition-new(entrance-art) { height: 100%; object-fit: cover; mix-blend-mode: normal; }
::view-transition-old(root) { animation: curtain-out .35s ease both; }
::view-transition-new(root) { animation: curtain-in .7s .15s ease both; }
.is-entering .submission-page > :not(.form-layout), .is-entering .submission-item, .is-entering .entrant-details, .is-entering .permissions { animation: entrance-arrives .65s ease both; }
.is-entering .song-item { animation-delay: .08s; }
.is-entering .cover-item { animation-delay: .16s; }
.is-entering .persona-item { animation-delay: .24s; }
/* The browser animates the new-page snapshot during a shared-image zoom. Keep that snapshot legible. */
.entrance-zoom .submission-page > *, .entrance-zoom .submission-item,
.entrance-zoom .entrant-details, .entrance-zoom .permissions { animation: none!important; }
@keyframes curtain-out { to { opacity: 0; } }
@keyframes curtain-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes entrance-arrives { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes artwork-appears { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes music-arrives { 50% { transform: scaleY(.45); } }
@media (min-width: 1400px) {
  .song-art { height: 230px; }
}
@media (max-width: 1100px) {
  .header-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; margin-left: auto; width: 44px; height: 44px; padding: 10px; background: transparent; color: var(--ink); border: 1px solid #ffffff25; }
  .header-menu span { width: 20px; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-open .header-menu span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .header-menu span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .header-panel { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 16px 24px 24px; border-bottom: 1px solid #c4123060; background: #07070df7; backdrop-filter: blur(20px); box-shadow: 0 25px 50px #0008; max-height: calc(100svh - 64px); overflow-y: auto; }
  .menu-open .header-panel { display: flex; flex-direction: column; gap: 16px; animation: entrance-arrives .2s ease; }
  .header-panel nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .header-panel nav a { display: flex; align-items: center; min-height: 46px; }
  .header-panel #account-nav { justify-content: flex-start; flex-wrap: wrap; border-top: 1px solid #ffffff20; padding-top: 12px; gap: 24px; }
  .header-panel #account-nav .user-name { display: block; width: 100%; max-width: none; margin-top: 7px; }
}
@media (max-width: 1000px) {
  .submission-items { gap: 14px; }
  .item-heading { padding: 16px 14px; gap: 8px; }
  .item-heading > h2 { font-size: 23px; }
  .item-fields, .artwork-caption, .item-foot { padding-inline: 14px; }
  .artwork-surface { aspect-ratio: 1; }
  .song-art { height: 190px; }
  .approval-grid { gap: 10px; }
}
@media (max-width: 800px) {
  .site-header { height: 64px; }
  .site-header .brand { gap: 8px; }
  .brand-wordmark { font-size: 23px; }
  .site-header .nohome { font-size: 17px; }
  .site-header .brand-divider { margin-inline: 4px; }

  .hero { min-height: 650px; }
  .hero:after { background: linear-gradient(90deg, #050508dc, #05050855), linear-gradient(0deg, #050508, transparent 45%); }
  .night-art { background-image: linear-gradient(0deg, #0b0b11, transparent 30%), url('/images/ballroom.webp'); }
  .form-layout { display: block; }
  .submission-items { grid-template-columns: 1fr 1fr; gap: 16px; }
  .song-item { grid-column: 1 / -1; display: grid; grid-template-columns: 155px minmax(0,1fr); }
  .song-item .item-heading { grid-column: 1 / -1; }
  .song-art { height: 175px; }
  .song-item .item-fields { align-self: center; }
  .music-note { font-size: 48px; }
  .song-art:before { width: 130px; height: 130px; }
  .song-art:after { width: 95px; height: 95px; }
  .sound-wave { gap: 4px; margin-top: 7px; }
  .artwork-surface { aspect-ratio: 1.16; }
  .approval-grid { grid-template-columns: 1fr; gap: 8px; }
  .approval-grid .check { min-height: 0; padding: 13px 14px; }
  .persona-editor { gap: 20px; }
  .submission-backdrop img { object-position: center 30%; opacity: .44; }
  .submission-backdrop:after { background: linear-gradient(180deg, #05050820, #050508b0 62%, #050508 100%), linear-gradient(90deg, #0505084d, #0505084d); }
  #gallery-dialog { padding: 23px; width: calc(100% - 24px); max-height: 92svh; }
  .gallery-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .site-header { padding-inline: 14px; gap: 10px; }
  .site-header .brand img { display: none; }
  .brand-wordmark { font-size: 22px; letter-spacing: 1.5px; }
  .site-header .nohome { font-size: 15px; }
  .site-header .brand-divider { margin-inline: 2px; height: 18px; }
  #account-nav { gap: 11px; }
  #account-nav .text-link { font-size: 10px; letter-spacing: 0; }
  .site-header .button.small { padding: 10px 15px; }
  .submission-page { padding-top: 24px; padding-bottom: 55px; }
  .submission-page > .back-link { font-size: 11px; margin-bottom: 25px; }
  .submission-page > h1 { font-size: 41px; }
  .submission-page > .section-intro { font-size: 13px; max-width: 300px; }
  .form-layout { margin-top: 24px; }
  .entry-intro { margin-bottom: 14px; gap: 10px; }
  .entry-intro p { font-size: 11px; max-width: 185px; }
  #item-count { font-size: 10px; }
  .submission-items { gap: 12px; }
  .item-heading { padding: 13px 12px; gap: 8px; }
  .item-heading > h2 { font-size: 22px; }
  .item-heading > span:first-child { font-size: 12px; }
  .item-check { font-size: 15px; }
  .song-item { grid-template-columns: 85px minmax(0,1fr); }
  .song-art { height: 165px; }
  .song-art:before { width: 92px; height: 92px; }
  .song-art:after { width: 62px; height: 62px; }
  .song-art .music-note { font-size: 37px; }
  .sound-wave { gap: 3px; height: 28px; }
  .sound-wave i { width: 2px; max-height: 26px; }
  .sound-wave i:nth-child(n+12) { display: none; }
  #song-art-label { display: none; }
  .item-fields { padding: 12px; }
  .item-fields input:not([type=checkbox]), .item-fields select { font-size: 16px; padding: 10px; }
  .item-fields p { font-size: 10px; }
  .artwork-surface { aspect-ratio: 1; }
  .artwork-surface > span { font-size: 33px; }
  .artwork-surface:after { width: 29px; height: 29px; right: 9px; bottom: 9px; font-size: 16px; }
  .artwork-caption { padding: 12px 12px 4px; }
  .artwork-caption strong { font-size: 12px; line-height: 1.5; }
  .artwork-caption small { font-size: 10px; line-height: 1.5; }
  .item-foot { padding: 9px 12px 12px; align-items: start; flex-direction: column; gap: 0; }
  .item-foot > span { display: none; }
  .item-foot button { min-height: 36px; }
  .persona-item .item-fields { padding: 10px 10px 12px; }
  .persona-item .item-fields select { padding-inline: 5px; }
  .persona-item #persona-image-state { font-size: 10px; }
  .entrant-details { gap: 13px; margin-top: 22px; }
  .entrant-details input { padding: 11px 9px!important; }
  .entrant-details input::placeholder { font-size: 11px; }
  .entry-extras { margin-top: 16px; padding-bottom: 14px; }
  .entry-extras summary { font-size: 11px; }
  .entry-extras .optional { font-size: 9px; margin-left: 3px; }
  .persona-editor { grid-template-columns: 1fr; padding: 17px; gap: 13px; }
  .persona-save p { margin-bottom: 12px; }
  .permissions { margin-top: 22px; }
  .permissions legend { font-size: 23px; margin-bottom: 15px; }
  .approval-grid .check { font-size: 11px; gap: 11px; padding: 13px 12px; }
  .check input { width: 19px; height: 19px; margin-top: 1px; }
  .creative-reuse { padding: 10px 0; font-size: 11px; }
  .creative-reuse small { font-size: 10px; line-height: 1.6; }
  .submit-row { gap: 13px; align-items: stretch; padding-top: 18px; }
  .submit-row > p { font-size: 13px; text-align: center; }
  .submit-row .button { min-width: 0; min-height: 54px; width: 100%; font-size: 13px; }
  .gallery-toolbar { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
  #gallery-dialog .dialog-header h2 { font-size: 28px; }
  #gallery-dialog .dialog-header .eyebrow { font-size: 9px; }
  #gallery-dialog > p, #gallery-status { font-size: 11px; }
  .gallery-grid { gap: 9px; }
  .gallery-image span { padding: 7px; }
}
@media (max-width: 360px) {
  .brand-wordmark { font-size: 20px; letter-spacing: 1px; }
  .site-header .brand { gap: 6px; }
  .site-header .nohome { font-size: 14px; }
  #account-nav { gap: 8px; }
  #account-nav .text-link { font-size: 9px; }
  .item-heading { padding-inline: 10px; gap: 5px; }
  .item-heading > h2 { font-size: 20px; }
  .item-heading > span:first-child { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none!important; }
  .is-entering .submission-page > *, .is-entering .submission-item, .is-entering .entrant-details, .is-entering .permissions { animation: none; }
}

#song-player, .receipt-audio { width: 100%; min-width: 0; margin-block: 8px; color-scheme: dark; }
.gallery-audio { display: flex; flex-direction: column; justify-content: center; min-height: 130px; padding: 16px; overflow-wrap: anywhere; }
.gallery-audio .audio-glyph { font-size: 42px; color: var(--accent, #dc776c); }

#choose-song { width: 100%; min-width: 0; white-space: normal; margin-bottom: 12px; padding-inline: 8px; }
#song-player[hidden], #song-url[hidden], #remove-song[hidden] { display: none; }
