.av-invitations {
  --inv-bg: #0b1821;
  --inv-line: #263743;
  --inv-green: #9ad72e;
  box-sizing: border-box;
  max-width: 1368px;
  margin: 48px auto 72px;
  padding: 36px;
  color: #f6f8fa;
  background: var(--inv-bg);
  border: 1px solid var(--inv-line);
  border-radius: 18px;
  font-family: inherit;
}
.av-invitations *,
.av-invitations *::before {
  box-sizing: border-box;
}
.av-invitations [hidden] {
  display: none !important;
}
.av-inv-intro {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
}
.av-inv-kicker {
  margin: 0 0 12px;
  color: var(--inv-green);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}
.av-invitations h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.1;
  color: #fff;
}
.av-inv-intro p:last-child {
  margin: 0;
  color: #acbdc9;
  line-height: 1.65;
}
.av-invitations .av-inv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 7px;
  color: #071018;
  background: var(--inv-green);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.av-inv-button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.av-invitations button:focus-visible {
  outline: 3px solid #9ad72e;
  outline-offset: 4px;
}
.av-inv-builder {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--inv-line);
  display: grid;
  grid-template-columns: minmax(265px, 0.6fr) minmax(0, 1fr);
  gap: 36px;
}
.av-inv-controls fieldset {
  padding: 0;
  margin: 0 0 26px;
  border: 0;
  min-width: 0;
}
.av-inv-controls legend {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}
.av-inv-models,
.av-inv-colors,
.av-inv-modes,
.av-inv-positions,
.av-inv-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.av-inv-glyph {
  font-family: "Avisports Icons";
  font-size: 24px;
  vertical-align: middle;
  margin-right: 6px;
}
.av-inv-controls fieldset button {
  font: inherit;
  font-size: 12px;
  color: #cad5dc;
  background: #102330;
  border: 1px solid #334854;
  border-radius: 7px;
  cursor: pointer;
  padding: 10px 12px;
  text-align: left;
}
.av-inv-controls fieldset button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--inv-green);
  box-shadow: inset 0 0 0 1px var(--inv-green);
}
.av-inv-colors button {
  display: flex;
  align-items: center;
  gap: 7px;
}
.av-inv-swatch {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 50%;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.av-inv-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.av-inv-controls .av-inv-images button {
  display: block;
  padding: 5px;
  font-size: 10px;
  overflow: hidden;
}
.av-inv-images img {
  display: block;
  width: 100%;
  height: 68px;
  object-fit: contain;
  border-radius: 4px;
  margin-bottom: 6px;
  background: #071018;
}
.av-inv-note,
.av-inv-status {
  font-size: 12px;
  line-height: 1.65;
  color: #acbdc9;
}
.av-inv-status {
  min-height: 40px;
  color: #d5e6ed;
}
.av-inv-preview {
  align-self: start;
  position: sticky;
  top: 24px;
  min-width: 0;
}
.av-inv-preview > p {
  margin: 0 0 12px;
  font-size: 12px;
  color: #acbdc9;
}
.av-inv-preview canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  background: #faf9f5;
  box-shadow: 0 12px 40px #0004;
}
@media (max-width: 900px) {
  .av-invitations {
    margin: 36px 24px 48px;
    padding: 25px;
  }
  .av-inv-intro {
    align-items: start;
    flex-direction: column;
  }
  .av-inv-builder {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .av-inv-preview {
    position: static;
    grid-row: 1;
  }
  .av-inv-images {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .av-invitations {
    margin-inline: 16px;
    padding: 20px;
  }
  .av-inv-images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .av-inv-button {
    width: 100%;
  }
}

/* Standalone module: fixed chrome, edge-to-edge preview and complete horizontal choices. */
.av-inv-module-body {
  margin: 0;
  background: #071018;
  font-family: Arial, sans-serif;
  color: #f6f8fa;
}
.av-inv-wizard {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.av-inv-wizard h1 {
  margin: 0;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.15;
}
.av-inv-module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--inv-line);
  flex-shrink: 0;
}
.av-inv-module-header .av-inv-kicker {
  margin-bottom: 4px;
  font-size: 10px;
}
.av-inv-exit {
  padding: 9px 12px;
  white-space: nowrap;
  color: #f6f8fa;
  text-decoration: none;
  border: 1px solid #334854;
  border-radius: 7px;
  font-size: 13px;
}
.av-inv-wizard a:focus-visible,
.av-inv-wizard input:focus-visible,
.av-inv-wizard textarea:focus-visible,
.av-inv-wheel:focus-visible {
  outline: 3px solid var(--inv-green);
  outline-offset: 3px;
}
.av-inv-wizard .av-inv-module-preview {
  position: static;
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  height: 0;
  margin: 0;
  padding: 0;
  background: #071018;
  overflow: hidden;
}
.av-inv-module-preview canvas {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}
.av-inv-module-content {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 22px;
  flex: 1;
  display: flex;
  min-height: 0;
  overflow: hidden;
}
.av-inv-with-preview .av-inv-module-content {
  flex: 0 0 auto;
  margin-bottom: auto;
  padding: 16px 22px 18px;
  overflow: visible;
}
.av-inv-step {
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.av-inv-wizard h2 {
  flex-shrink: 0;
  font-size: clamp(20px, 2vw, 27px);
  margin: 0 0 15px;
}
.av-inv-step > p {
  margin: 0 0 14px;
  color: #d5e6ed;
  line-height: 1.45;
}
.av-inv-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  min-height: 0;
  flex: 1;
  padding: 4px 4px 24px;
  scrollbar-gutter: stable;
}
.av-inv-scroll > p {
  color: #acbdc9;
  line-height: 1.55;
}
.av-inv-large-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.av-inv-step .av-inv-large-choices button {
  min-height: 145px;
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  font-size: 22px;
}
.av-inv-large-choices small {
  color: #acbdc9;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
}
.av-inv-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin-top: 26px;
}
.av-inv-info-grid label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  color: #d5e6ed;
}
.av-inv-wizard input,
.av-inv-wizard textarea {
  min-width: 0;
  width: 100%;
  background: #102330;
  color: #fff;
  color-scheme: dark;
  border: 1px solid #334854;
  border-radius: 7px;
  padding: 12px;
  font: inherit;
  font-size: 16px;
}
.av-inv-wizard textarea {
  display: block;
  resize: vertical;
  min-height: 220px;
  margin-top: 18px;
  line-height: 1.5;
}
.av-inv-guest-label {
  font-size: 22px;
  color: #fff;
  display: block;
  margin-top: 24px;
}
.av-inv-navigation {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 22px max(12px, env(safe-area-inset-bottom));
  background: #071018;
  border-top: 1px solid var(--inv-line);
}
.av-inv-navigation .av-inv-status {
  flex: 1;
  min-height: 0;
  margin: 0;
  font-size: 12px;
}
.av-inv-navigation .av-inv-button {
  flex-shrink: 0;
  width: auto;
  min-height: 46px;
  padding: 12px 18px;
}
.av-inv-navigation .av-inv-back,
.av-inv-dialog-actions .av-inv-back {
  color: #f6f8fa;
  background: #102330;
  border: 1px solid #334854;
}
.av-inv-recipient-actions {
  display: flex;
  gap: 10px;
}
.av-inv-wizard .av-inv-button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.av-inv-intro a.av-inv-button {
  text-decoration: none;
}
.av-inv-step button {
  font: inherit;
  font-size: 14px;
  padding: 12px 16px;
  color: #cad5dc;
  border: 1px solid #334854;
  background: #102330;
  border-radius: 7px;
  cursor: pointer;
}
.av-inv-step button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--inv-green);
  box-shadow: inset 0 0 0 1px var(--inv-green);
}
.av-inv-wizard .av-inv-models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.av-inv-models button canvas {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 14px;
  border-radius: 4px;
}
.av-inv-models button > span {
  font-size: 19px;
  font-weight: 700;
}
.av-inv-choice-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.av-inv-choice-heading h2 {
  margin: 0;
}
.av-inv-rail-arrows {
  display: flex;
  gap: 8px;
}
.av-inv-step .av-inv-rail-arrows button {
  width: 36px;
  height: 34px;
  padding: 0;
  font-size: 20px;
}
.av-inv-wizard .av-inv-rail {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  gap: 12px;
  padding: 4px 3px 12px;
  scrollbar-width: thin;
  min-width: 0;
  align-items: stretch;
}
.av-inv-rail > button {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.av-inv-wizard .av-inv-colors button {
  width: 170px;
  min-height: 58px;
  text-align: left;
}
.av-inv-wizard .av-inv-icons button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 122px;
  width: 120px;
}
.av-inv-icons .av-inv-glyph {
  font-size: 45px;
  margin: 0;
}
.av-inv-wizard .av-inv-images button {
  padding: 6px;
  text-align: left;
  font-size: 11px;
  height: 132px;
  width: 130px;
}
.av-inv-thumbnail {
  display: flex;
  justify-content: center;
  overflow: hidden;
  height: 86px;
  margin-bottom: 6px;
  border-radius: 4px;
  background: #071018;
}
.av-inv-wizard .av-inv-thumbnail img {
  height: 100%;
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 0;
}
.av-inv-images button > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.2;
  max-height: 2.4em;
}
.av-inv-position-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin: 14px 0 0;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.av-inv-modes,
.av-inv-positions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.av-inv-time-control {
  padding: 0;
  margin: 0;
  border: 0;
  min-width: 0;
}
.av-inv-time-control legend {
  margin-bottom: 9px;
  font-size: 14px;
  color: #d5e6ed;
}
.av-inv-time-control > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.av-inv-time-control button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 94px;
}
.av-inv-time-control button span {
  font-size: 11px;
  color: #acbdc9;
}
.av-inv-time-control button strong {
  font-size: 23px;
  color: #fff;
}
.av-inv-time-dialog {
  padding: 24px;
  border: 1px solid #334854;
  border-radius: 16px;
  color: #fff;
  background: #0b1821;
  width: min(440px, calc(100vw - 24px));
  max-height: calc(100dvh - 20px);
  overflow: auto;
  box-sizing: border-box;
}
.av-inv-time-dialog::backdrop {
  background: #000b;
}
.av-inv-time-dialog > p {
  font-size: 13px;
  line-height: 1.5;
  color: #acbdc9;
}
.av-inv-time-wheels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 20px 0;
}
.av-inv-time-wheels h3 {
  font-size: 14px;
  text-align: center;
  margin: 0 0 10px;
}
.av-inv-time-wheels button {
  width: 100%;
  height: 32px;
  font-size: 21px;
  background: #102330;
  color: #d5e6ed;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}
.av-inv-wheel {
  height: 132px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  padding-block: 44px;
  scrollbar-width: none;
  background: linear-gradient(
    #102330 0 33.333%,
    #274630 33.333% 66.666%,
    #102330 66.666%
  );
  margin: 8px 0;
  border-radius: 6px;
}
.av-inv-wheel::-webkit-scrollbar {
  display: none;
}
.av-inv-wheel > [role="option"] {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  font-size: 23px;
  cursor: pointer;
  color: #9cadb8;
}
.av-inv-wheel > [aria-selected="true"] {
  color: #fff;
  font-weight: 800;
}
.av-inv-dialog-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.av-inv-dialog-actions .av-inv-button {
  min-height: 44px;
  padding: 12px;
  font-size: 13px;
  flex: 1;
  width: auto;
}
@media (max-width: 650px) {
  .av-inv-module-header {
    padding: 10px 14px;
    gap: 10px;
  }
  .av-inv-module-header .av-inv-kicker {
    font-size: 9px;
  }
  .av-inv-module-header h1 {
    font-size: 17px;
  }
  .av-inv-exit {
    font-size: 12px;
    padding: 8px 10px;
  }
  .av-inv-module-content {
    padding: 18px 14px;
  }
  .av-inv-with-preview .av-inv-module-content {
    padding: 14px 14px 16px;
  }
  .av-inv-large-choices {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 22px 0;
  }
  .av-inv-step .av-inv-large-choices button {
    font-size: 19px;
    min-height: 120px;
    padding: 20px;
  }
  .av-inv-wizard .av-inv-models {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .av-inv-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .av-inv-navigation {
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    gap: 8px;
    flex-wrap: wrap;
  }
  .av-inv-navigation .av-inv-status {
    order: -1;
    flex-basis: 100%;
    font-size: 11px;
  }
  .av-inv-navigation .av-inv-status:empty {
    display: none;
  }
  .av-inv-navigation [data-inv-next],
  .av-inv-recipient-actions {
    margin-left: auto;
  }
  .av-inv-navigation .av-inv-button {
    padding: 11px 12px;
    font-size: 13px;
    min-height: 44px;
  }
  .av-inv-recipient-actions {
    gap: 8px;
  }
  .av-inv-guest-label {
    font-size: 19px;
  }
  .av-inv-step button {
    padding: 10px 12px;
    font-size: 13px;
  }
  .av-inv-position-row {
    margin-top: 12px;
  }
}
@media (max-height: 500px) {
  .av-inv-module-header {
    padding-block: 8px;
  }
  .av-inv-module-header .av-inv-kicker {
    display: none;
  }
  .av-inv-with-preview .av-inv-module-content {
    padding-block: 8px;
  }
  .av-inv-wizard h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .av-inv-choice-heading {
    margin-bottom: 8px;
  }
  .av-inv-position-row {
    margin-top: 8px;
  }
  .av-inv-navigation {
    padding-block: 8px;
  }
}
