:root {
  --primary: 0 0% 5%;
  --primary-foreground: 0 0% 100%;
  --secondary: 0 0% 30%;
  --secondary-foreground: 0 0% 100%;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 40%;
  --accent: 0 0% 94%;
  --accent-foreground: 0 0% 5%;
  --ring: 0 0% 5%;
  --sidebar-primary: 0 0% 5%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-ring: 0 0% 5%;
  --primary-dark: 0 0% 5%;
  --accent-blue: 0 0% 14%;
  --text-muted: 0 0% 42%;
}

body[data-rnr-route="/"] {
  background: #fff;
}

body[data-rnr-route="/"] header {
  border-color: #e8e8e8 !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
}

body[data-rnr-route="/"] header > div {
  min-height: 5rem;
}

.rnr-brand-logo {
  display: block;
  width: min(360px, 48vw);
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

footer .rnr-brand-logo {
  width: min(290px, 72vw);
  max-height: 42px;
}

body[data-rnr-route="/"] header nav {
  flex-shrink: 0;
}

body[data-rnr-route="/"] header nav a:first-child button {
  border-color: #d7d7d7;
  background: rgba(255, 255, 255, .82);
  color: #111;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .08);
}

body[data-rnr-route="/"] header nav a:last-child button,
body[data-rnr-route="/"] main a[href="/login"] button {
  background: #050505 !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22) !important;
}

body[data-rnr-route="/"] header nav a:last-child button:hover,
body[data-rnr-route="/"] main a[href="/login"] button:hover {
  background: #242424;
}

.rnr-ticket-lock {
  overflow: hidden;
}

.rnr-ticket-button {
  appearance: none;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.rnr-ticket-button:hover {
  background: #111;
  color: #fff;
  transform: translateY(-1px);
}

.rnr-ticket-button--header {
  min-height: 3rem;
  padding: 0 1.45rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .08);
}

.rnr-ticket-button--hero {
  min-height: 3.5rem;
  padding: 0 1.75rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .12);
}

.rnr-ticket-short {
  display: none;
}

.rnr-ticket-dialog[hidden] {
  display: none !important;
}

.rnr-ticket-dialog {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.rnr-ticket-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .56);
  backdrop-filter: blur(6px);
}

.rnr-ticket-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(92dvh, 880px);
  overflow: auto;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
  color: #111;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}

.rnr-ticket-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem 1rem;
  border-bottom: 1px solid #ececec;
}

.rnr-ticket-kicker {
  margin: 0 0 .25rem;
  color: #575757;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rnr-ticket-panel h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.2;
}

.rnr-ticket-close {
  appearance: none;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.rnr-ticket-close:hover {
  background: #f4f4f4;
}

.rnr-ticket-form {
  padding: 1.25rem 1.5rem 1.5rem;
}

.rnr-ticket-muted {
  margin: .85rem 0 0;
  color: #616161;
  font-size: .88rem;
}

.rnr-ticket-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 1.5rem 0;
  padding: .9rem 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #f8f8f8;
}

.rnr-ticket-account span {
  display: block;
  margin-bottom: .15rem;
  color: #616161;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rnr-ticket-account strong {
  display: block;
  color: #111;
  font-size: .95rem;
  line-height: 1.25;
}

.rnr-ticket-account button {
  appearance: none;
  min-height: 2.25rem;
  border: 1px solid #d5d5d5;
  border-radius: 999px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
  padding: 0 .9rem;
}

.rnr-ticket-account button:hover {
  background: #f1f1f1;
}

.rnr-ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rnr-ticket-form label {
  display: grid;
  gap: .4rem;
  min-width: 0;
}

.rnr-ticket-form label > span {
  color: #333;
  font-size: .88rem;
  font-weight: 700;
}

.rnr-ticket-form input,
.rnr-ticket-form select,
.rnr-ticket-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: .95rem;
  outline: none;
  padding: .72rem .78rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.rnr-ticket-form textarea {
  resize: vertical;
}

.rnr-ticket-form input[type="file"] {
  min-height: auto;
  padding: .65rem .78rem;
}

.rnr-ticket-form input:focus,
.rnr-ticket-form select:focus,
.rnr-ticket-form textarea:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .1);
}

.rnr-ticket-field--wide {
  grid-column: 1 / -1;
}

.rnr-ticket-status {
  min-height: 1.35rem;
  margin-top: 1rem;
  color: #555;
  font-size: .92rem;
  font-weight: 700;
}

.rnr-ticket-status[data-tone="success"] {
  color: #047857;
}

.rnr-ticket-status[data-tone="error"] {
  color: #b42318;
}

.rnr-ticket-actions {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  margin-top: 1.2rem;
}

.rnr-ticket-secondary,
.rnr-ticket-submit {
  appearance: none;
  min-height: 2.8rem;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0 1.25rem;
  transition: background .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}

.rnr-ticket-secondary {
  border: 1px solid #d5d5d5;
  background: #fff;
  color: #111;
}

.rnr-ticket-secondary:hover {
  background: #f4f4f4;
}

.rnr-ticket-submit {
  border: 1px solid #050505;
  background: #050505;
  color: #fff;
}

.rnr-ticket-submit:hover {
  background: #242424;
}

.rnr-ticket-submit:disabled {
  cursor: wait;
  opacity: .72;
}

body[data-rnr-route="/"] main > section:first-child {
  background: #fff;
}

body[data-rnr-route="/"] main > section:first-child .absolute.inset-0.z-0 img {
  filter: grayscale(1) contrast(.96) brightness(1.08);
}

body[data-rnr-route="/"] main > section:first-child .absolute.inset-0.z-0 > div:nth-of-type(1) {
  background: linear-gradient(90deg, rgba(255, 255, 255, .99) 0%, rgba(255, 255, 255, .96) 46%, rgba(255, 255, 255, .62) 100%) !important;
}

body[data-rnr-route="/"] main > section:first-child .absolute.inset-0.z-0 > div:nth-of-type(2) {
  background: rgba(0, 0, 0, .025) !important;
  mix-blend-mode: multiply;
}

body[data-rnr-route="/"] main > section:first-child .max-w-3xl > .inline-flex {
  background: #f2f2f2 !important;
  border-color: #bdbdbd !important;
  color: #151515 !important;
}

body[data-rnr-route="/"] main > section:first-child h1,
body[data-rnr-route="/"] main > section:first-child h1 span {
  color: #050505 !important;
}

body[data-rnr-route="/"] footer {
  background: #fff !important;
  border-color: #e8e8e8 !important;
}

@media (max-width: 760px) {
  .rnr-brand-logo {
    width: min(220px, 52vw);
    max-height: 42px;
  }

  body[data-rnr-route="/"] header nav {
    gap: .5rem;
  }

  .rnr-ticket-long {
    display: none;
  }

  .rnr-ticket-short {
    display: inline;
  }

  .rnr-ticket-button--header {
    min-height: 2.75rem;
    padding-inline: .9rem;
    font-size: .88rem;
  }

  body[data-rnr-route="/"] header nav a:first-child {
    display: none;
  }

  body[data-rnr-route="/"] header nav a:last-child button {
    padding-inline: 1rem;
    height: 2.75rem;
    font-size: .9rem;
  }

  .rnr-ticket-grid {
    grid-template-columns: 1fr;
  }

  .rnr-ticket-dialog {
    align-items: end;
    padding: .65rem;
  }

  .rnr-ticket-panel {
    max-height: 90dvh;
  }

  .rnr-ticket-account {
    align-items: flex-start;
    flex-direction: column;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .rnr-ticket-actions {
    flex-direction: column-reverse;
  }

  .rnr-ticket-secondary,
  .rnr-ticket-submit {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .rnr-brand-logo {
    width: min(176px, 50vw);
  }

  body[data-rnr-route="/"] header > div {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .rnr-ticket-button--header {
    padding-inline: .72rem;
  }

  .rnr-ticket-panel__header,
  .rnr-ticket-form {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
