:root {
  --urlz-red: #e50914;
  --urlz-black: #050505;
  --urlz-muted: rgba(5, 5, 5, 0.58);
  --urlz-gray: #f5f5f5;
  --urlz-ring: 0 0 0 4px rgba(229, 9, 20, 0.14);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  letter-spacing: -0.01em;
  background: #fff;
  overflow-x: clip;
  max-width: 100%;
}

img,
video,
canvas {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--urlz-red);
  color: #fff;
}

.focus-ring:focus,
.focus-ring:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--urlz-ring);
}

.button-press {
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button-press:active {
  transform: translateY(1px) scale(0.99);
}

/* Reliable CTA colors (do not depend on Tailwind CDN JIT) */
.bg-brand-red {
  background-color: var(--urlz-red) !important;
}

.text-brand-red {
  color: var(--urlz-red) !important;
}

.bg-brand-gray {
  background-color: var(--urlz-gray) !important;
}

.btn-primary,
.btn-dark,
.btn-outline,
.btn-danger,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background: var(--urlz-red) !important;
  color: #ffffff !important;
  border-color: var(--urlz-red);
}

.btn-primary:hover {
  background: #c70812 !important;
  color: #ffffff !important;
}

.btn-dark {
  background: var(--urlz-black) !important;
  color: #ffffff !important;
  border-color: var(--urlz-black);
}

.btn-dark:hover {
  background: #111111 !important;
  color: #ffffff !important;
}

.btn-outline {
  background: #ffffff !important;
  color: var(--urlz-black) !important;
  border-color: rgba(5, 5, 5, 0.16);
}

.btn-outline:hover {
  border-color: rgba(5, 5, 5, 0.35);
  color: var(--urlz-black) !important;
}

.btn-danger {
  background: #ffffff !important;
  color: var(--urlz-red) !important;
  border-color: rgba(229, 9, 20, 0.28);
}

.btn-danger:hover {
  background: rgba(229, 9, 20, 0.06) !important;
}

.btn-dark[hidden],
[data-qr-download][hidden] {
  display: none !important;
}

.btn-light {
  background: #ffffff !important;
  color: var(--urlz-black) !important;
  border-color: #ffffff;
}

.btn-on-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

/* Any white-text control must keep a dark fill if bg utility failed */
button.text-white:not(.btn-outline):not(.btn-danger):not(.btn-light),
a.text-white:not(.btn-outline):not(.btn-danger):not(.btn-light) {
  color: #ffffff !important;
}

button.bg-brand-red,
a.bg-brand-red,
button.bg-black,
a.bg-black {
  color: #ffffff !important;
}

button.bg-black,
a.bg-black {
  background-color: var(--urlz-black) !important;
}

.result-reveal {
  animation: result-reveal 360ms ease both;
}

@keyframes result-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  transform: translate(-50%, 16px);
  border-radius: 999px;
  background: var(--urlz-black);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  padding: 0.7rem 1rem;
  transition: opacity 180ms ease, transform 180ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mono-card {
  overflow-x: auto;
  border-radius: 1.25rem;
  background: #0d1117;
  color: #e6edf3;
  padding: 1.1rem 1.25rem;
  font-size: 0.69rem;
  line-height: 1.65;
}

.band-gray {
  background: var(--urlz-gray);
}

.band-black {
  background: var(--urlz-black);
  color: #fff;
}

.tagline-xs {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(5, 5, 5, 0.45);
}

.header-tagline {
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: rgba(5, 5, 5, 0.42);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.account-close-dialog {
  border: 0;
  border-radius: 1.5rem;
  padding: 1.5rem;
  max-width: 28rem;
  width: calc(100% - 2rem);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}
.account-close-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.site-nav__link,
.site-nav__cta,
.mobile-nav__link {
  white-space: nowrap;
}

.site-nav__desktop {
  flex-wrap: nowrap;
}

.nav-burger {
  position: relative;
  z-index: 70;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.55rem;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 0.75rem;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.nav-burger__line {
  display: block;
  height: 2px;
  width: 100%;
  background: #050505;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-burger[aria-expanded="true"] .nav-burger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] .nav-burger__line:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] .nav-burger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(5, 5, 5, 0.06);
  background: #fff;
  position: relative;
  z-index: 65;
}

.mobile-nav[hidden],
.mobile-nav:not(.is-open) {
  display: none !important;
}

.mobile-nav.is-open {
  display: block !important;
}

.site-nav__mobile {
  position: relative;
  z-index: 70;
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.25rem 1rem;
}

.mobile-nav__link {
  display: block;
  padding: 0.85rem 0.15rem;
  border-bottom: 1px solid rgba(5, 5, 5, 0.06);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(5, 5, 5, 0.72);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-nav__list li:last-child .mobile-nav__link {
  border-bottom: 0;
}

.mobile-nav__link.is-active,
.mobile-nav__link:hover {
  color: #050505;
}

.nav-signout {
  display: inline-flex;
  position: relative;
}

.nav-signout__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(5, 5, 5, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #050505;
}

.nav-signout__btn:hover,
.nav-signout__btn:focus-visible {
  background: #050505;
  border-color: #050505;
  color: #ffffff;
}

.nav-signout__btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

.nav-signout__tip {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 0.35rem 0.6rem;
  border-radius: 0.45rem;
  background: #050505;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
  z-index: 70;
}

.nav-signout__btn:hover .nav-signout__tip,
.nav-signout__btn:focus-visible .nav-signout__tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mobile-nav__signout {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.85rem 0.15rem;
  border: 0;
  border-bottom: 0;
  background: transparent;
  color: #050505;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.mobile-nav__signout svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* Zebra illustration system */
.zebra-art {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.zebra-hero {
  width: min(560px, 48vw);
  max-width: 100%;
}

.zebra-full {
  width: min(440px, 100%);
}

.zebra-medium {
  width: min(360px, 100%);
}

.zebra-small {
  width: min(180px, 55%);
}

.docs-hero-grid {
  gap: 1.25rem;
}

.docs-hero-art {
  padding: 0;
  margin-block: -0.5rem;
}

@media (min-width: 1024px) {
  .docs-hero-grid {
    gap: 1.25rem;
  }

  .docs-hero-art {
    padding: 0;
    margin-block: -0.75rem;
    justify-content: flex-end;
  }

  .docs-hero-art .docs-zebra {
    width: min(450px, 100%);
    max-width: none;
    margin-inline: -1.25rem;
  }
}

.zebra-fade {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  max-width: none;
}

.zebra-fade-cta {
  right: -12%;
  bottom: -18%;
  width: min(820px, 100%);
  opacity: 0.09;
}

.zebra-bleed-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: grayscale(1) contrast(1.05);
}

.zebra-crop-right {
  object-fit: cover;
  object-position: left center;
  width: 100%;
  max-height: 320px;
}

/* Home hero: phone = tagline → result → form → image → support; desktop = tagline → support → result → form */
.home-stack {
  display: flex;
  flex-direction: column;
}

.home-stack__tagline {
  display: block;
  margin: 0;
  white-space: nowrap;
  font-size: clamp(1.2rem, 6.2cqi, 1.9125rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
  color: #050505;
  order: 1;
  max-width: 100%;
  text-align: center;
}

.qr-page-main {
  padding-top: 0.95rem;
}

.qr-page-layout {
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

.qr-page-intro,
.qr-page-copy {
  display: flex;
  flex-direction: column;
}

.qr-page-intro {
  order: 1;
}

.qr-page-result {
  order: 2;
  margin-top: 1.1rem;
}

.qr-page-copy {
  order: 3;
}

.qr-page-main__eyebrow {
  display: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--urlz-red);
}

.qr-title--desktop { display: none; }
.qr-title--phone { display: inline; }

.qr-page-main__title {
  display: block;
  margin: 0;
  /* Slightly larger than shorten tagline; eyebrow stays small */
  font-size: clamp(1.35rem, 6.8cqi, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
  color: #050505;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.qr-marker {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: var(--urlz-red);
}

.qr-page-result.is-ready .qr-marker,
.qr-marker[hidden] {
  display: none;
}

.qr-marker__words {
  margin: 0;
  padding: 0;
  max-width: 16rem;
  font-family: "Segoe Print", "Comic Sans MS", "Bradley Hand", cursive;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.qr-page-main__form { margin-top: 0.85rem; }

.qr-page-result__stage {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow: visible;
}

.qr-page-hint {
  display: none;
}

.qr-page-result__caption,
[data-qr-caption] {
  display: none !important;
}

.qr-page-result__caption a {
  color: #050505;
  font-weight: 800;
  text-decoration: underline;
  word-break: break-all;
}

.qr-page-preview {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-width: 16rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 1rem;
  transition: opacity 180ms ease;
}

.qr-page-preview[hidden] {
  display: none !important;
}

.qr-dynamic {
  width: 100%;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(5, 5, 5, 0.1);
  text-align: left;
}

.qr-dynamic h2 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: #050505;
}

.qr-dynamic p {
  margin: 0.85rem 0 0;
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(5, 5, 5, 0.6);
}

.qr-dynamic a {
  font-weight: 700;
  color: #050505;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--urlz-red);
}

.qr-dynamic__close {
  margin-top: 1.15rem !important;
  font-weight: 700;
  color: #050505 !important;
}

.qr-story {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  text-align: left;
}

.qr-story__item {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(5, 5, 5, 0.08);
}

.qr-story__kicker {
  margin: 0;
  color: var(--urlz-red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.qr-story__item h2 {
  margin: 0.35rem 0 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: #050505;
}

.qr-story__item p {
  margin: 0.8rem 0 0;
  color: rgba(5, 5, 5, 0.62);
  font-size: 1.05rem;
  line-height: 1.7;
}

.qr-story__item p.qr-story__kicker {
  margin-top: 0;
  color: var(--urlz-red);
}

.qr-story__art {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  margin-inline: auto;
  border-radius: 0;
  background: #fff;
}

.qr-story__cta {
  display: inline-flex;
  margin-top: 1rem;
}

.updates-thumb {
  width: 5.5rem;
  max-width: 5.5rem;
  height: 4.25rem;
  object-fit: contain;
  border-radius: 0.6rem;
  background: var(--urlz-gray);
}

.updates-hero {
  display: block;
  width: auto;
  max-width: 12rem;
  max-height: 8.5rem;
  margin-top: 1.5rem;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .qr-story__item {
    grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
    gap: 2.5rem;
    padding: 2rem 0;
  }

  .qr-story__item:nth-child(even) .qr-story__art {
    order: -1;
  }

  .qr-story__item--text {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1023px) {
  .qr-page-copy .qr-page-main__form {
    order: 1;
  }

  .qr-page-copy .qr-page-main__body {
    order: 2;
  }

  .qr-page-result.is-error .qr-page-result__stage,
  .qr-page-result.is-error [data-qr-download],
  .qr-page-result.is-error [data-qr-download-svg],
  .qr-page-result.is-error [data-qr-formats],
  .qr-page-result.is-error [data-qr-caption] {
    display: none;
  }

  .qr-page-main.is-studio {
    padding-top: 1.25rem;
  }

  .qr-page-main.is-studio .qr-page-result {
    order: 1;
    display: block;
    margin-top: 0.25rem;
  }

  .qr-page-main.is-studio .uz-mark {
    order: 2;
    margin-top: 1.25rem;
  }

  .qr-page-main.is-studio .qr-page-copy {
    order: 3;
    margin-top: 2.25rem;
  }

  .qr-page-main.is-studio .qr-page-main__form {
    display: none;
  }

  .qr-page-main.is-studio .qr-page-preview,
  .qr-page-main.is-studio .uz-mark-stage {
    max-width: min(100%, 22rem);
  }
}

.home-stack__form {
  order: 3;
  margin-top: 1.5rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.home-stack__art {
  display: block;
  order: 4;
  margin-top: 1.5rem;
  width: 100%;
  max-width: min(420px, 100%);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}

.home-stack .home-stack__support {
  order: 5;
  margin-top: 1.25rem;
}

.home-stack__result {
  order: 2;
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .home-stack__art {
    display: none;
  }

  .home-stack__tagline {
    display: block;
    order: 1;
    font-size: 3rem;
    letter-spacing: -0.05em;
    white-space: normal;
    text-align: left;
  }

  .qr-page-main__title {
    font-size: 2.35rem;
    letter-spacing: -0.05em;
    text-align: left;
    margin-top: 0.7rem;
  }

  .qr-title--phone { display: none; }
  .qr-title--desktop { display: inline; }

  .qr-page-main {
    max-width: 80rem;
    text-align: left;
    padding-top: 1.5rem;
    padding-bottom: 5rem;
  }

  .qr-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    padding-top: 0;
  }

  .qr-page-intro {
    grid-column: 1;
    grid-row: 1;
  }

  .qr-page-copy {
    order: unset;
    max-width: none;
    grid-column: 1;
    grid-row: 2;
  }

  .qr-page-main.is-studio .uz-mark {
    grid-column: 1;
    grid-row: 3;
    margin-top: 0;
  }

  .qr-page-result {
    order: unset;
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .qr-page-main__eyebrow {
    display: block;
  }

  .qr-page-main__eyebrow,
  .qr-page-main__body {
    text-align: left;
  }

  .qr-page-main__body {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0.85rem;
    max-width: none;
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .qr-page-main__form {
    margin-left: 0;
    margin-right: 0;
    margin-top: 1.35rem;
    max-width: none;
  }

  .qr-page-result {
    display: block !important;
    margin-top: 0;
    position: sticky;
    top: 6.5rem;
    text-align: center;
    min-height: 26rem;
    padding: 1.15rem 0.75rem 1.35rem;
  }

  /* Desktop: once the QR is ready, center the stage + downloads within column 2. */
  .qr-page-main.is-studio .qr-page-result.is-ready {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-inline: auto;
  }

  .qr-page-main.is-studio .qr-page-result.is-ready .qr-page-result__stage,
  .qr-page-main.is-studio .qr-page-result.is-ready .qr-page-downloads {
    margin-inline: auto;
  }

  .qr-page-preview {
    max-width: min(100%, 26rem);
  }

  .qr-page-main.is-studio .qr-page-preview,
  .qr-page-main.is-studio .uz-mark-stage {
    max-width: min(100%, 32rem);
  }

  .qr-page-main.is-studio .uz-mark-stage__canvas {
    width: min(22rem, 100%);
  }

  .qr-page-preview.is-fading {
    opacity: 0.2;
  }

  .qr-page-hint {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    z-index: 2;
    margin: 0;
    padding: 1.1rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    pointer-events: none;
  }

  .qr-marker {
    display: flex;
    justify-content: center;
    position: static;
    transform: none;
    width: auto;
    margin: 0 auto;
  }

  .qr-marker__words {
    font-size: 1.2rem;
    max-width: 18rem;
    line-height: 1;
  }

  .qr-dynamic {
    margin-top: 3.25rem;
    padding-top: 2.75rem;
  }

  .qr-dynamic h2,
  .qr-story__item h2 {
    font-size: 2rem;
  }

  .home-stack .home-stack__support {
    order: 2;
    margin-top: 1.25rem;
  }

  .home-stack__result {
    order: 3;
    margin-top: 1.5rem;
  }

  .home-stack__form {
    order: 4;
    margin-top: 2rem;
  }
}

@media (max-width: 900px) {
  .hero-zebra-wrap {
    overflow: visible;
    max-height: none;
    width: 100%;
  }

  .hero-zebra-wrap .zebra-hero,
  .zebra-hero,
  .zebra-medium {
    width: 100%;
    max-width: min(420px, 100%);
    height: auto;
    margin-inline: auto;
    object-fit: contain;
    object-position: center;
  }
}

.shorten-form {
  width: 100%;
}

.shorten-primary {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .shorten-primary {
    flex-direction: row;
    align-items: stretch;
  }
}

.url-field {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.url-field input {
  width: 100%;
  min-width: 0;
  padding-right: 5.25rem;
}

.url-field .go-btn {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: 0;
  min-height: 2.6rem;
  padding: 0 1.05rem;
  border-radius: 999px;
  background: var(--urlz-black);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.shorten-cta {
  width: 100%;
}

@media (min-width: 640px) {
  .shorten-cta {
    width: auto;
  }
}

.shorten-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.85rem;
  align-items: flex-end;
}

.shorten-alias {
  flex: 0 1 42%;
  min-width: 11rem;
  max-width: 18rem;
}

.shorten-expires {
  flex: 0 1 28%;
  min-width: 8.5rem;
  max-width: 11.5rem;
}

.shorten-expires-custom {
  flex: 1 1 100%;
  max-width: 22rem;
}

.shorten-expires-custom[hidden],
.my-link-edit-custom[hidden] {
  display: none !important;
}

.shorten-visits {
  flex: 0 1 28%;
  min-width: 7.5rem;
  max-width: 10.5rem;
}

@media (max-width: 639px) {
  .shorten-alias,
  .shorten-expires,
  .shorten-visits,
  .shorten-expires-custom {
    flex: 1 1 100%;
    max-width: none;
  }
}

.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.site-footer__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/assets/img/zebra-03-gallop-trail.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /* +25% vs previous 0.14 */
  opacity: 0.175;
  pointer-events: none;
  filter: grayscale(1) contrast(1.05);
}

.site-footer__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.62) 45%, rgba(255, 255, 255, 0.72) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.58) 55%, rgba(255, 255, 255, 0.52) 100%);
}

.hall-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  max-width: none;
  width: 100%;
}

.hall-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 0.625rem;
  background: #fff;
}

.hall-card__media {
  position: relative;
  aspect-ratio: 1;
  background-color: var(--urlz-gray);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  user-select: none;
  -webkit-user-drag: none;
}

.hall-card__shield {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}

.hall-card__name {
  padding: 0.8rem 0.55rem 0.92rem;
  font-size: 1.1875rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

@media (min-width: 480px) {
  .hall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .hall-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 1280px) {
  .hall-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

.warning-countdown {
  margin-top: 2rem;
  font-size: clamp(4.5rem, 14vw, 7.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--urlz-black);
}

.site-footer__content {
  position: relative;
  z-index: 2;
}

.site-footer__content a {
  color: inherit;
}

.site-footer__content a:hover {
  color: var(--urlz-black);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(5, 5, 5, 0.7);
}

.lang-switch svg {
  width: 1rem;
  height: 1rem;
}

/* Prism-ish token colors inside docs */
.mono-card .token.comment { color: #8b949e; }
.mono-card .token.string { color: #a5d6ff; }
.mono-card .token.keyword { color: #ff7b72; }
.mono-card .token.function { color: #d2a8ff; }
.mono-card .token.class-name { color: #ffa657; }
.mono-card .token.property { color: #79c0ff; }
.mono-card .token.number { color: #79c0ff; }
.mono-card .token.operator { color: #ff7b72; }
.mono-card .token.punctuation { color: #c9d1d9; }

.docs-example {
  margin-top: 1rem;
}

.docs-example__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.docs-example__lang {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-toc {
  position: static;
}

.section-relative {
  position: relative;
  overflow: hidden;
}

.section-relative > .content-layer {
  position: relative;
  z-index: 1;
}

/* Left-middle stacked-letter My Links control (kept clear of header) */
.my-links-rail {
  position: fixed;
  left: 0;
  top: max(50%, 7.5rem);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  max-height: calc(100vh - 8.5rem);
  padding: 0.85rem 0.35rem;
  background: #050505;
  color: #ffffff;
  text-decoration: none;
  border: 0;
  border-radius: 0 0.55rem 0.55rem 0;
  box-shadow: 2px 0 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
  overflow: hidden;
  transition: background-color 160ms ease, transform 160ms ease;
}

.my-links-rail:hover,
.my-links-rail:focus-visible {
  background: #111111;
  color: #ffffff;
}

.my-links-rail:active {
  transform: translateY(-50%) scale(0.98);
}

.my-links-rail__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-bottom: 0.45rem;
  color: #ffffff;
}

.my-links-rail__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.my-links-rail__char {
  display: block;
  line-height: 1.15;
  font-size: 0.78rem;
  font-weight: 800;
  /* Keep label casing (Links / Liens) — only word starts are capitals */
  text-transform: none;
  color: #ffffff;
}

.my-links-rail__gap {
  display: block;
  height: 0.45rem;
}

.my-link-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(229, 9, 20, 0.25);
  border-radius: 999px;
  color: var(--urlz-red);
  background: #fff;
}

.my-link-delete:hover {
  background: rgba(229, 9, 20, 0.06);
}

.my-link-delete svg {
  width: 1.1rem;
  height: 1.1rem;
}

.my-link-action__short {
  display: none;
}

@media (max-width: 640px) {
  .my-links-rail__icon {
    width: 1rem;
    height: 1rem;
    margin-bottom: 0.35rem;
  }

  .my-links-rail__char {
    font-size: 0.68rem;
  }

  .home-stack__form,
  .qr-page-main__form {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
    padding-left: 0.3rem !important;
  }

  .home-stack__support {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Ko-fi support buttons (header / footer / hall of fame) */
.kofi-slot {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
}

.kofi-slot .btn-container {
  display: inline-flex !important;
  margin: 0 !important;
}

.kofi-slot--header {
  margin-left: 0.35rem;
}

.kofi-slot--header-mobile {
  transform: scale(0.88);
  transform-origin: center right;
}

.mobile-nav__kofi {
  display: flex;
  justify-content: center;
  overflow: hidden;
  max-width: 100%;
  padding: 1rem 0 0.4rem;
}

.kofi-slot--nav-mobile {
  display: flex;
  justify-content: center;
  max-width: 100%;
  transform: none;
}

.kofi-slot,
.kofi-slot .btn-container,
.kofi-slot table {
  max-width: 100% !important;
}

.kofi-slot--footer .btn-container,
.kofi-slot--hall .btn-container,
.kofi-slot--home .btn-container {
  margin-top: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-support-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
}

.home-hall-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .site-nav__desktop .kofi-slot--header {
    display: none;
  }
}

.perf-breakdown-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .perf-breakdown-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .perf-breakdown-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.perf-breakdown {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 1.25rem;
  padding: 1rem 1.1rem;
  background: #fff;
}
.perf-breakdown__title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
}
.perf-breakdown__empty {
  margin-top: 0.75rem;
  color: rgba(0,0,0,0.4);
  font-size: 0.9rem;
}
.perf-breakdown__list {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.45rem;
}
.perf-breakdown__list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
}
.perf-breakdown__list li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.perf-pick {
  font-weight: 800;
  font-size: 1.365rem;
  color: #050505;
}

.perf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .perf-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .perf-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.perf-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 5rem;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(5, 5, 5, 0.1);
  border-radius: 1.15rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.perf-card:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 9, 20, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
.perf-card:hover .perf-card__go {
  background: #E50914;
  border-right-color: #E50914;
}
.perf-card:hover .perf-card__go .material-symbols-outlined {
  color: #ffffff;
}
.perf-card__go {
  flex: 0 0 21%;
  width: 21%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #050505;
  border-right: 1px solid rgba(5, 5, 5, 0.12);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.perf-card__go .material-symbols-outlined {
  font-size: 1.85rem;
  color: #050505;
}
.perf-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0.75rem;
}
.perf-card__stat {
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  color: rgba(5, 5, 5, 0.45);
}
.perf-card__count {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.perf-card__label {
  margin-top: 0.12rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(5, 5, 5, 0.45);
}
.perf-card__url {
  margin-top: 0.2rem;
  font-size: 0.943rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.perf-card__dest {
  margin-top: 0.12rem;
  font-size: 10px;
  line-height: 1.3;
  color: rgba(5, 5, 5, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.perf-hero-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #E50914;
}
.perf-hero-number {
  margin-top: 0.35rem;
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.perf-table-wrap {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  max-width: 100%;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 1.5rem;
  background: #fff;
}
.perf-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 52rem;
  font-size: 0.92rem;
}
.perf-table th {
  text-align: left;
  padding: 0.9rem 1rem;
  background: #050505;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.perf-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(5, 5, 5, 0.06);
  vertical-align: middle;
}
.perf-table tbody tr:nth-child(even) {
  background: #f7f7f7;
}
.perf-table tbody tr:hover {
  background: rgba(229, 9, 20, 0.06);
}
.perf-table__empty {
  text-align: center;
  color: rgba(5, 5, 5, 0.5);
  padding: 2rem 1rem !important;
}
.perf-mono {
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
}
.perf-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.perf-pill--eu { background: #111827; color: #fff; }
.perf-pill--na { background: #E50914; color: #fff; }
.perf-pill--sa { background: #b45309; color: #fff; }
.perf-pill--as { background: #1d4ed8; color: #fff; }
.perf-pill--af { background: #047857; color: #fff; }
.perf-pill--oc { background: #6d28d9; color: #fff; }
.perf-pill--an { background: #334155; color: #fff; }
.perf-pill--xx { background: #e5e5e5; color: #111; }
.perf-code {
  display: inline-flex;
  min-width: 2.4rem;
  justify-content: center;
  border-radius: 0.55rem;
  padding: 0.18rem 0.45rem;
  background: #050505;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.perf-grid,
.perf-card {
  min-width: 0;
  max-width: 100%;
}

.turnstile-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 12px 0;
  padding-left: 0.5rem;
}

.turnstile-wrapper .cf-turnstile {
  width: 300px;
  max-width: 100%;
}

.mono-card {
  max-width: 100%;
  overscroll-behavior-x: contain;
}

/* Phone: keep every page inside the viewport — no sideways page swipe */
@media (max-width: 767px) {
  .my-links-rail {
    top: auto;
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    left: 0;
    width: 2rem;
    padding: 0.65rem 0.22rem;
    max-height: 38vh;
    transform: none;
  }

  .my-links-rail:active {
    transform: scale(0.98);
  }

  body:has(.my-links-rail) main {
    margin-left: 0 !important;
  }

  .site-header,
  .site-nav,
  main,
  section,
  article,
  .home-stack,
  .shorten-form,
  .perf-card,
  .perf-grid {
    min-width: 0;
    max-width: 100%;
  }

  .site-nav {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.5rem;
  }

  /* Body/content only (not header/footer): left was padded for the side rail. Cut that left inset ~60%. */
  main.px-6,
  main .px-6,
  .home-hero-section,
  .qr-page-main,
  .flash-banner {
    padding-left: 0.6rem !important;
    padding-right: 1rem !important;
  }

  h1, h2, h3, p, li, td, th,
  main a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .home-stack__tagline,
  .qr-page-main__title {
    white-space: normal;
    font-size: clamp(1.35rem, 7vw, 1.85rem);
  }

  .header-tagline {
    white-space: normal;
  }

  .btn-primary,
  .btn-dark,
  .btn-outline,
  .btn-light,
  .btn-danger {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .perf-pick {
    font-size: 0.98rem;
    overflow-wrap: anywhere;
  }

  .perf-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    border-radius: 0;
  }

  .perf-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 0.75rem;
    font-size: 0.78rem;
  }

  .perf-table thead {
    display: none;
  }

  .perf-table,
  .perf-table tbody,
  .perf-table tr,
  .perf-table td {
    display: block;
    width: 100%;
  }

  .perf-table tr {
    margin: 0;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(5, 5, 5, 0.1);
    border-radius: 1rem;
    background: #fff;
  }

  .perf-table tbody tr:nth-child(even),
  .perf-table tbody tr:hover {
    background: #fff;
  }

  .perf-table td {
    display: grid;
    grid-template-columns: minmax(5.5rem, 32%) minmax(0, 1fr);
    gap: 0.45rem 0.65rem;
    align-items: start;
    border: 0;
    padding: 0.32rem 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .perf-table td::before {
    content: attr(data-label);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(5, 5, 5, 0.45);
  }

  .perf-table__empty,
  .perf-table__empty::before {
    display: block;
    grid-template-columns: 1fr;
  }

  .perf-table__empty::before {
    content: none;
  }

  .docs-limits-table {
    min-width: 0 !important;
    font-size: 0.72rem;
  }

  .docs-limits-table th,
  .docs-limits-table td {
    overflow-wrap: anywhere;
    word-break: break-word;
    padding: 0.5rem 0.65rem;
  }

  main .overflow-x-auto {
    overflow-x: hidden;
  }

  .mono-card,
  pre.mono-card,
  pre code {
    overflow-x: auto !important;
    white-space: pre-wrap !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 0.75rem !important;
    line-height: 1.5;
  }

  .mono-card {
    padding: 0.7rem 0.75rem;
  }

  .docs-page h1 {
    font-size: 1.95rem !important;
  }

  .docs-page h2 {
    font-size: 1.3rem !important;
  }

  .docs-page h3 {
    font-size: 0.95rem !important;
  }

  .docs-page p,
  .docs-page li,
  .docs-page td,
  .docs-page th {
    font-size: 0.73rem !important;
    line-height: 1.55 !important;
  }

  .docs-page .mono-card,
  .docs-page pre,
  .docs-page code {
    font-size: 0.75rem !important;
  }

  .docs-page .btn-primary,
  .docs-page .btn-outline,
  .docs-page .btn-dark {
    font-size: 0.72rem !important;
    padding: 0.45rem 0.8rem !important;
  }

  .home-support-actions {
    gap: 0.4rem;
  }

  .kofi-slot--home {
    transform: scale(0.78);
    transform-origin: left center;
    flex: 0 0 auto;
  }

  .home-hall-btn {
    padding: 0.32rem 0.55rem !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.02em !important;
  }

  .docs-toc {
    gap: 0.32rem;
  }

  .docs-page .docs-toc .btn-outline {
    font-size: 0.62rem !important;
    padding: 0.28rem 0.48rem !important;
    white-space: nowrap !important;
  }

  .my-link-meta {
    flex-wrap: nowrap;
    gap: 0.28rem;
    width: 100%;
  }

  .my-link-meta span {
    padding: 0.12rem 0.4rem;
    font-size: clamp(0.5rem, 2.5vw, 0.68rem);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 1 auto;
    min-width: 0;
  }

  .my-link-actions {
    flex-wrap: nowrap;
    gap: 0.28rem;
    width: 100%;
  }

  .my-link-actions .btn-outline {
    padding: 0.28rem 0.5rem !important;
    font-size: 0.68rem !important;
    white-space: nowrap !important;
    flex: 0 1 auto;
  }

  .my-link-actions .my-link-delete {
    width: 1.9rem;
    height: 1.9rem;
    flex-shrink: 0;
  }

  .my-link-actions .my-link-delete svg {
    width: 0.9rem;
    height: 0.9rem;
  }

  [data-account-tabs] {
    gap: 0.32rem;
    max-width: 100%;
  }

  [data-account-tabs] .account-tab {
    font-size: clamp(0.52rem, 2.55vw, 0.72rem) !important;
    padding: 0.32rem 0.5rem !important;
    white-space: nowrap !important;
    overflow-wrap: normal;
    word-break: normal;
    line-height: 1.15;
  }

  .my-links-toolbar {
    flex-wrap: nowrap;
    gap: 0.32rem;
    width: 100%;
  }

  .my-links-toolbar .btn-primary,
  .my-links-toolbar .btn-outline {
    flex: 1 1 0;
    min-width: 0;
    font-size: clamp(0.5rem, 2.5vw, 0.72rem) !important;
    padding: 0.38rem 0.42rem !important;
    white-space: nowrap !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  .my-links-create__label {
    display: none;
  }
}

@media (max-width: 420px) {
  .my-link-actions .my-link-action__full {
    display: none;
  }

  .my-link-actions .my-link-action__short {
    display: inline;
  }

  .my-link-actions .btn-outline {
    padding: 0.24rem 0.4rem !important;
    font-size: 0.62rem !important;
  }
}

@media (max-width: 380px) {
  .home-stack__tagline,
  .qr-page-main__title {
    font-size: 1.35rem;
  }

  .docs-page .docs-toc .btn-outline {
    font-size: 0.56rem !important;
    padding: 0.22rem 0.36rem !important;
  }
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  user-select: none;
}

.nav-account-btn,
.nav-signout__btn--mobile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(5, 5, 5, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #050505;
  text-decoration: none;
}

.nav-account-btn .material-symbols-outlined,
.nav-signout__btn--mobile .material-symbols-outlined {
  font-size: 1.35rem;
}

.nav-signout__btn--mobile {
  color: #E50914;
  border-color: rgba(229, 9, 20, 0.35);
}

.nav-signout__btn--mobile:hover,
.nav-signout__btn--mobile:focus-visible {
  background: #E50914;
  border-color: #E50914;
  color: #ffffff;
}

.nav-account-btn:hover,
.nav-account-btn:focus-visible {
  background: #050505;
  border-color: #050505;
  color: #ffffff;
}

.auth-stack {
  display: flex;
  flex-direction: column;
}

.auth-stack__intro { order: 1; }
.auth-stack__form { order: 2; }
.auth-stack__mascot { order: 3; }
.auth-stack__body { order: 4; }

.auth-stack__mascot {
  margin: 0;
}

.auth-stack__mascot img {
  display: block;
  width: min(100%, 28rem);
  height: auto;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .auth-stack {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: start;
    column-gap: 3rem;
    row-gap: 1.5rem;
  }

  .auth-stack__intro {
    order: unset;
    grid-column: 1;
    grid-row: 1;
  }

  .auth-stack__mascot {
    order: unset;
    grid-column: 1;
    grid-row: 2;
  }

  .auth-stack__mascot img {
    margin-inline: 0;
  }

  .auth-stack__body {
    order: unset;
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0;
    max-width: none;
  }

  .auth-stack__form {
    order: unset;
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .site-footer__content {
    padding-top: 3.85rem;
    padding-bottom: 3.85rem;
  }
}

.zebra-404 {
  width: min(548px, 100%);
  height: auto;
}

.error-404-copy {
  max-width: 58.8rem;
}

.my-links-create {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.my-link-card__info {
  container-type: inline-size;
}

@container (max-width: 34rem) {
  .my-link-added-prefix {
    display: none;
  }
}

.my-link-short,
.my-link-dest {
  display: block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.my-link-dest {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(5, 5, 5, 0.5);
}

.perf-table .perf-col-time,
.perf-table .perf-col-referrer {
  font-size: 12px;
}

.docs-example__lang--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.docs-example__bar .btn-outline {
  margin-left: auto;
}

.mobile-nav__signout .material-symbols-outlined {
  font-size: 1.15rem;
}

@media (max-width: 900px) {
  .zebra-404 {
    width: 100%;
    max-width: min(548px, 100%);
  }
}

@media (max-width: 767px) {
  .my-link-actions .btn-primary {
    padding: 0.28rem 0.5rem !important;
    font-size: 0.68rem !important;
    white-space: nowrap !important;
  }
}

.support-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.support-card {
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 1.75rem;
  padding: 1.5rem;
  background: #fff;
}

.support-card--security {
  border-color: rgba(229, 9, 20, 0.28);
  background: #fff8f8;
}

.support-card__icon {
  display: inline-flex;
  color: #E50914;
}

.contact-form {
  display: none;
}

.contact-form:target,
.contact-form.is-open {
  display: block;
}

.qr-format-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.qr-format-btns[hidden] {
  display: none;
}

.qr-format-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  min-height: 1.85rem;
  padding: 0.22rem 0.62rem 0.22rem 0.42rem;
  border-radius: 999px;
  background: var(--urlz-red);
  color: #fff !important;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
}

.qr-format-btn__icon {
  font-size: 0.95rem !important;
  line-height: 1;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.qr-format-btn:hover {
  filter: brightness(0.92);
}

.datetime-picker {
  position: relative;
  margin-top: 0.5rem;
  width: 100%;
  max-width: 22rem;
  overflow: visible;
}

.datetime-picker__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  background: #fff;
  text-align: left;
}

.datetime-picker__label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(5, 5, 5, 0.45);
}

.datetime-picker__trigger.has-value .datetime-picker__label {
  color: #050505;
}

.datetime-picker__icon {
  flex: 0 0 auto;
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(5, 5, 5, 0.5);
}

.datetime-picker__pop {
  position: absolute;
  z-index: 40;
  top: auto;
  bottom: calc(100% + 0.4rem);
  left: 0;
  width: min(18.5rem, 100vw - 2rem);
  padding: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.datetime-picker__pop[hidden] {
  display: none;
}

.datetime-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-weight: 800;
}

.datetime-picker__head button {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  font-size: 1.15rem;
}

.datetime-picker__weekdays,
.datetime-picker__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.2rem;
  text-align: center;
}

.datetime-picker__weekdays {
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(5, 5, 5, 0.4);
}

.datetime-picker__grid button {
  min-height: 2rem;
  border-radius: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.datetime-picker__grid button:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.datetime-picker__head button:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.datetime-picker__grid button.is-selected,
.datetime-picker__save,
.datetime-picker__menu button.is-selected {
  background: var(--urlz-red);
  color: #fff;
}

.datetime-picker__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-top: 0.75rem;
  flex-wrap: nowrap;
}

.datetime-picker__clock {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex: 0 0 auto;
}

.datetime-picker__combo {
  position: relative;
}

.datetime-picker__num {
  min-width: 2.45rem;
  width: 2.45rem;
  min-height: 1.85rem;
  padding: 0.2rem 0.15rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.55rem;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.datetime-picker__menu {
  position: absolute;
  z-index: 50;
  left: 50%;
  bottom: calc(100% + 0.2rem);
  transform: translateX(-50%);
  width: 3.1rem;
  max-height: 17rem;
  overflow-y: auto;
  padding: 0.2rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.7rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.datetime-picker__menu[hidden] {
  display: none;
}

.datetime-picker__menu button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 1.7rem;
  border-radius: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.datetime-picker__colon {
  font-weight: 800;
  padding: 0 0.05rem;
}

.datetime-picker__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.28rem;
  flex: 1 1 auto;
  min-width: 0;
}

.datetime-picker__clear,
.datetime-picker__save {
  min-height: 1.85rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.datetime-picker__clear {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}

.my-link-edit-alias input {
  display: block;
  width: 100%;
  max-width: 18rem;
}

.my-link-edit-expires select {
  display: block;
  width: 100%;
  max-width: 14rem;
}

.my-link-edit-custom {
  max-width: 22rem;
}

.my-link-edit-visits input {
  display: block;
  width: 100%;
  max-width: 10rem;
}

.uz-mark {
  margin-top: 1.5rem;
  text-align: left;
  padding: 0.85rem 0.95rem 1rem;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(5, 5, 5, 0.04);
  font-size: 1em;
}

.uz-mark[hidden] {
  display: none !important;
}

.uz-mark__head {
  display: grid;
  grid-template-columns: 2.5rem 1fr 2.5rem;
  align-items: center;
  gap: 0.35rem;
}

a.uz-mark__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(229, 9, 20, 0.35);
}

a.uz-mark__back .material-symbols-outlined {
  font-size: 1.15em;
}

.uz-mark__title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  grid-column: 2;
}

.uz-mark__head h2 {
  margin: 0;
  font-size: 1.09em;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #050505;
}

.uz-mark__head-spacer {
  grid-column: 3;
  width: 2.5rem;
}

.uz-mark__status {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 0.68em;
  font-weight: 700;
  line-height: 1.25;
  color: #b91c1c;
  text-align: left;
}

.uz-mark__status:not([hidden]) {
  display: inline;
}

button.uz-mark__help-btn,
button.uz-mark__q {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(5, 5, 5, 0.18);
  background: #fff !important;
  color: #050505 !important;
  font-size: 0.72em;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

button.uz-mark__q {
  width: 1.05rem;
  height: 1.05rem;
  margin-left: 0.25rem;
  font-size: 0.58em;
  vertical-align: middle;
}

.uz-mark__locked {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: rgba(5, 5, 5, 0.55);
}

.uz-mark__locked a {
  display: block;
  font-weight: 700;
  color: #050505;
  word-break: break-all;
}

.uz-mark__groups {
  display: grid;
  gap: 0;
  margin-top: 0.55rem;
}

fieldset.uz-mark__group {
  margin: 0;
  min-width: 0;
  padding: 0.7rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

fieldset.uz-mark__group:last-of-type {
  padding-bottom: 0.15rem;
}

.uz-mark__group legend {
  float: none;
  width: auto;
  padding: 0;
  font-size: 0.71em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #050505;
}

.uz-mark__toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: #e9e9e9;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 0.45rem;
}

.uz-mark__toggle button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 7.5px 16px;
  border-radius: 9px;
  font-size: 0.875em;
  font-weight: 600;
  cursor: pointer;
  color: #666;
  transition: 0.2s ease;
}

.uz-mark__toggle button.is-active {
  background: #050505 !important;
  color: #fff !important;
}

.uz-mark__toggle button:hover:not(.is-active) {
  color: #050505;
}

.uz-mark__color-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-bottom: 0.35rem;
}

.uz-mark__logo-row {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.uz-mark__logo-row.is-hidden {
  display: none !important;
}

.uz-mark__logo-preview {
  flex: 0 0 auto;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(5, 5, 5, 0.12);
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uz-mark__logo-preview[hidden] {
  display: none !important;
}

.uz-mark__logo-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.uz-mark__logo-row .uz-mark__drop {
  flex: 1 1 auto;
  margin-top: 0;
  min-width: 0;
}

.uz-mark__stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.uz-mark__stepper--inline {
  margin-top: 0;
  flex: 0 0 auto;
  max-width: 100%;
}

.uz-mark__stepper-label {
  font-size: 0.78em;
  font-weight: 700;
  color: rgba(5, 5, 5, 0.55);
}

.uz-mark__stepper-value {
  min-width: 1.75rem;
  text-align: center;
  font-size: 0.92em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

button.uz-mark__step {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: 1px solid rgba(5, 5, 5, 0.16) !important;
  border-radius: 999px;
  background: #f5f5f5 !important;
  color: #050505 !important;
  font-size: 0.95em;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.uz-mark__caption-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.175rem;
  margin-top: 0.25rem;
}

.uz-mark__caption-row > input {
  flex: 0 0 auto;
  min-width: 0;
  width: 24ch;
  max-width: 24ch;
  margin-top: 0;
}

.uz-mark__caption-label {
  display: block;
  font-size: 0.78em;
  font-weight: 700;
  color: rgba(5, 5, 5, 0.55);
}

button.uz-mark__pill--desktop-only {
  display: none !important;
}

.uz-mark__label,
.uz-mark__hex,
.uz-mark__letters,
.uz-mark__captions label {
  display: block;
  font-size: 0.78em;
  font-weight: 700;
  color: rgba(5, 5, 5, 0.55);
}

.uz-mark__swatches {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.2rem;
  margin: 0.35rem 0 0.4rem;
  overflow: hidden;
}

button.uz-mark__swatch {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 1.12rem;
  height: 1.12rem;
  padding: 0;
  border-radius: 999px;
  border: 2px solid rgba(5, 5, 5, 0.18);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

button.uz-mark__swatch.is-on {
  outline: 2px solid #050505;
  outline-offset: 1px;
}

.uz-mark__hexrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

button.uz-mark__picker {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

button.uz-mark__picker img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button.uz-mark__picker .material-symbols-outlined {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.65);
}

.uz-mark__hex {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.uz-mark__hex input,
.uz-mark__letters input,
.uz-mark__captions input {
  display: block;
  width: 9ch;
  margin-top: 0;
  border: 1px solid rgba(5, 5, 5, 0.16);
  border-radius: 0.6rem;
  padding: 0.32rem 0.45rem;
  font-size: 0.92em;
  background: #fff;
  font-variant-numeric: tabular-nums;
}

.uz-mark__letters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.uz-mark__letters input {
  width: 9ch;
  max-width: 9ch;
  margin-top: 0;
  flex: 0 0 auto;
}

.uz-mark__captions input {
  width: 24ch;
  max-width: 24ch;
  margin-top: 0;
}

.uz-mark__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}

button.uz-mark__pill {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 1.65rem;
  padding: 0.28rem 0.65rem !important;
  border: 1.5px solid #050505 !important;
  border-radius: 999px;
  background: #fff !important;
  color: #050505 !important;
  font-size: 0.68em;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

button.uz-mark__pill.is-on {
  background: #050505 !important;
  color: #fff !important;
  border-color: #050505 !important;
}

.uz-mark__drop {
  margin-top: 0.5rem;
  padding: 0.7rem;
  border: 1.5px dashed rgba(5, 5, 5, 0.22);
  border-radius: 0.85rem;
  background: #fafafa;
  text-align: center;
  cursor: pointer;
}

.uz-mark__drop.is-over {
  border-color: #e50914;
  background: #fff8f8;
}

.uz-mark__drop p {
  margin: 0;
  font-size: 0.75em;
  font-weight: 700;
}

.uz-mark__hint,
.uz-mark__err {
  margin-top: 0.28rem !important;
  font-size: 0.78em !important;
  font-weight: 600 !important;
  color: rgba(5, 5, 5, 0.5);
}

.uz-mark__hint--always {
  margin-top: 0.55rem !important;
}

.uz-mark__err {
  color: #e50914 !important;
}

.uz-mark__bar {
  margin-top: 0.4rem;
  height: 0.3rem;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.08);
  overflow: hidden;
}

.uz-mark__bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: #e50914;
}

.uz-mark__bar.is-on span {
  animation: uz-mark-load 0.9s ease infinite;
}

@keyframes uz-mark-load {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(280%); }
}

.uz-mark__reset-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.9rem;
}

button.uz-mark__reset {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  min-height: 2.15rem;
  padding: 0.5rem 1.15rem !important;
  border: 1px solid #e50914 !important;
  border-radius: 999px;
  background: #e50914 !important;
  color: #fff !important;
  font-size: 0.82em;
  line-height: 1;
}

.uz-mark__letters.is-hidden,
.uz-mark__drop.is-hidden,
.uz-mark__captions.is-hidden,
.is-hidden {
  display: none !important;
}

.uz-mark-stage {
  width: min(32rem, 100%);
  margin: 0 auto;
  min-height: 14rem;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.uz-mark-stage[hidden] {
  display: none !important;
}

.uz-mark-stage__canvas {
  width: min(22rem, 100%);
  max-width: 100%;
  overflow: visible;
}

.uz-mark-stage__canvas.is-round-frame {
  overflow: hidden;
  border-radius: 50%;
}

.uz-mark-stage__canvas.is-round-frame svg {
  border: 0;
  border-radius: 0;
  transform: scale(0.94);
  transform-origin: center center;
}

.uz-mark-stage__canvas svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
}

.uz-mark-stage__below {
  margin: 0;
  max-width: min(22rem, 100%);
  padding: 0.15rem 0.4rem 0.35rem;
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  color: #050505;
  word-break: break-word;
}

.uz-mark-stage__below[hidden] {
  display: none !important;
}

.uz-mark-picker {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 5, 0.45);
  padding: 1rem;
}

.uz-mark-picker[hidden] {
  display: none;
}

.uz-mark-picker__panel {
  width: min(22rem, 100%);
  background: #fff;
  border-radius: 1.25rem;
  padding: 1rem 1.1rem 1.15rem;
  text-align: left;
}

.uz-mark-picker__title {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.uz-mark-picker__canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.85rem;
  cursor: crosshair;
  touch-action: none;
}

.uz-mark-picker__live {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.uz-mark-picker__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

button.uz-mark-picker__save {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: 0.4rem 0.9rem !important;
  border: 0 !important;
  border-radius: 999px;
  background: #050505 !important;
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.qr-page-main__body--wide {
  max-width: none;
  text-align: left;
}

.uz-mark-help {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  padding: 1rem;
}

.uz-mark-help[hidden] {
  display: none;
}

.uz-mark-help__panel {
  width: min(36rem, 100%);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 1.1rem 1.2rem 1.4rem;
}

.uz-mark-help__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.uz-mark-help__bar h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

button.uz-mark-help__close {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: 0.4rem 0.85rem !important;
  border: 1px solid rgba(5, 5, 5, 0.16) !important;
  border-radius: 999px;
  background: #f5f5f5 !important;
  color: #050505 !important;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.uz-mark-help__body section {
  margin-top: 0.9rem;
}

.uz-mark-help__body h4 {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 800;
}

.uz-mark-help__body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(5, 5, 5, 0.62);
}

@media (min-width: 1024px) {
  .uz-mark {
    font-size: 1.15em;
  }

  button.uz-mark__pill--desktop-only {
    display: inline-flex !important;
  }

  .uz-mark__caption-row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
  }

  .uz-mark__caption-row > input {
    flex: 0 0 24ch;
    min-width: 0;
    width: 24ch;
    max-width: 24ch;
  }

  .uz-mark__captions input {
    width: 24ch;
    max-width: 24ch;
  }

  .uz-mark__caption-row .uz-mark__stepper--inline {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    width: auto;
    max-width: none;
    justify-content: flex-start;
  }

  .uz-mark__swatches {
    flex-wrap: wrap;
    gap: 0.28rem;
    overflow: visible;
  }

  button.uz-mark__swatch {
    width: 1.28rem;
    height: 1.28rem;
  }

  button.uz-mark__picker {
    width: 3.5rem;
    height: 3.5rem;
  }

  .uz-mark-help {
    align-items: stretch;
    justify-content: flex-end;
    background: rgba(5, 5, 5, 0.28);
  }

  .uz-mark-help__panel {
    height: 100%;
    max-height: none;
    border-radius: 1.5rem 0 0 1.5rem;
    padding: 1.5rem;
  }

  .qr-page-main.is-studio .qr-page-main__body--wide {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}

body.qr-ready-lock {
  overflow: hidden;
}

/* Support note shown a moment after a QR download. Desktop: under header, right. */
.uz-tool-note {
  position: fixed;
  top: 5.25rem;
  right: 2.75rem;
  left: auto;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(36rem, calc(100vw - 4.5rem));
  max-width: min(36rem, calc(100vw - 4.5rem));
  padding: 0.95rem 1.1rem 0.95rem 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1.05rem;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.uz-tool-note.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.uz-tool-note[hidden] {
  display: none !important;
}

.uz-tool-note__page {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
}

.uz-tool-note__text {
  position: relative;
  z-index: 1;
  margin: 0;
  flex: 1 1 auto;
  pointer-events: none;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 600;
  color: #050505;
}

.uz-tool-note__short {
  display: none;
}

.uz-tool-note__sep {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 1px;
  align-self: stretch;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.12);
}

.uz-tool-note__cta {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  border-radius: 0.7rem;
  background: #050505;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease;
}

.uz-tool-note__cta:hover {
  background: #1a1a1a;
}

.uz-tool-note__close {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin-left: 0.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(0, 0, 0, 0.4);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.uz-tool-note__close:hover {
  color: rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.06);
}

/* Phone: compact bar just under the sticky header, centered. */
@media (max-width: 640px) {
  .uz-tool-note {
    top: 5.25rem;
    right: auto;
    left: 50%;
    bottom: auto;
    width: min(22.5rem, calc(100vw - 1.5rem));
    max-width: min(22.5rem, calc(100vw - 1.5rem));
    gap: 0.5rem;
    padding: 0.55rem 0.6rem 0.55rem 0.75rem;
    transform: translateX(-50%) translateY(-8px);
  }

  .uz-tool-note.is-visible {
    transform: translateX(-50%) translateY(0);
  }

  .uz-tool-note__text {
    font-size: 0.82rem;
  }

  .uz-tool-note__full {
    display: none;
  }

  .uz-tool-note__short {
    display: inline;
  }

  .uz-tool-note__cta {
    padding: 0.45rem 0.8rem;
    font-size: 0.88rem;
  }

  .uz-tool-note__close {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.2rem;
  }
}

.qr-ready-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 5, 5, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.qr-ready-overlay.is-visible {
  display: flex;
}

.qr-ready-overlay[hidden] {
  display: none !important;
}

.qr-ready-card {
  width: min(22rem, 100%);
  background: #fff;
  border-radius: 2rem;
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.qr-ready-card__icon {
  font-size: 50px;
  color: #16a34a;
  line-height: 1;
}

.qr-ready-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #050505;
}

.qr-ready-card__btn {
  width: 100%;
  min-height: 2.75rem;
  font-size: 0.95rem;
}

.qr-ready-card__btn--outline {
  border-color: #050505 !important;
  color: #050505 !important;
  background: #fff !important;
}

.qr-ready-card__btn--outline:hover {
  background: #f5f5f5 !important;
}



