@charset "UTF-8";

/*
 * Renewed review form, event entry and completion surfaces.
 * Loaded after the legacy embedded styles so the four review-flow states
 * share the same editorial rail and the Bojagi design-system tokens.
 */

.fw-wrap,
.event_block,
.review-done,
.ui-done-outer,
.rv-event-modal-card {
  --review-form-paper: var(--bj-paper, #fbfaf7);
  --review-form-clean: var(--bj-clean, #fff);
  --review-form-stone: var(--bj-stone, #f1efe9);
  --review-form-stage: var(--bj-product-stage, #f7f5f1);
  --review-form-charcoal: var(--bj-charcoal, #1a1a18);
  --review-form-ink: var(--bj-ink, #181817);
  --review-form-muted: var(--bj-muted, #66635e);
  --review-form-tertiary: var(--bj-tertiary, #918e87);
  --review-form-line: var(--bj-line, #ece9e6);
  --review-form-violet: var(--bj-accent-violet, #7166a9);
  --review-form-success: var(--bj-success, #356a55);
  --review-form-danger: var(--bj-danger, #a14b46);
  --review-form-space-1: var(--bj-space-1, 8px);
  --review-form-space-2: var(--bj-space-2, 16px);
  --review-form-space-3: var(--bj-space-3, 32px);
  --review-form-space-4: var(--bj-space-4, 64px);
  --review-form-gutter: var(--bj-page-gutter, 24px);
  --review-form-gutter-mobile: var(--bj-page-gutter-mobile, 16px);
  --review-form-grid-gap: 20px;
  --review-form-type-page: var(--bj-type-page, 28px);
  --review-form-type-section: var(--bj-type-subsection, 20px);
  --review-form-type-body: var(--bj-type-body, 16px);
  --review-form-type-control: var(--bj-type-control, 15px);
  --review-form-type-caption: var(--bj-type-caption, 14px);
  --review-form-control-height: 48px;
  --review-form-field-gap: 24px;
  --review-form-group-gap: 32px;
  --review-form-section-gap: 48px;
  font-family:
    "Pretendard Variable",
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    "Malgun Gothic",
    sans-serif;
  color: var(--review-form-ink);
  font-feature-settings: "kern" on, "liga" on, "calt" on;
  -webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------------------------------- */
/* Shared form shell                                                           */
/* -------------------------------------------------------------------------- */

html body .fw-wrap {
  box-sizing: border-box;
  width: min(100%, 1000px);
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0 96px;
  color: var(--review-form-ink);
  font-size: var(--review-form-type-body);
  line-height: 1.6;
}

html body .fw-wrap * {
  box-sizing: border-box;
}

/*
 * sample_order.css applies `div { margin: 0 auto; }` to the whole desktop
 * document. Auto inline margins make grid/flex children shrink to their
 * contents, so the editor and event controls float as narrow centred islands.
 * Keep every vertical margin owned by its component, but restore the normal
 * inline alignment throughout the renewed review surfaces.
 */
html body .fw-wrap div,
html body .event_block div {
  margin-right: 0;
  margin-left: 0;
}

html body .fw-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--review-form-space-1);
  margin: 0;
  padding: 48px 0 0;
  text-align: left;
}

/*
 * fw_form_common.css marks the old 22px title as !important.
 * This is the one intentional override needed to restore the Page token.
 */
html body .fw-wrap .fw-title {
  margin: 0;
  color: var(--review-form-ink);
  font-size: var(--review-form-type-page) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.035em !important;
}

html body .fw-kicker,
html body .ev-kicker {
  margin: 0;
  color: var(--review-form-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.045em;
}

html body .fw-lead {
  max-width: 40em;
  margin: 0;
  color: var(--review-form-muted);
  font-size: var(--review-form-type-body);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.018em;
  word-break: keep-all;
}

html body .fw-card {
  width: 100%;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: var(--review-form-clean);
}

html body .fw-form-section {
  width: 100%;
  margin: 0;
  padding: var(--review-form-group-gap) 0;
}

html body .fw-form-section + .fw-form-section {
  border-top: 1px solid var(--review-form-line);
}

html body .fw-form-section:first-child {
  padding-top: var(--review-form-group-gap);
}

html body .fw-section-heading {
  display: block;
  margin: 0 0 24px;
}

html body .fw-section-index {
  display: block;
  margin: 0 0 4px;
  color: var(--review-form-tertiary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

html body .fw-section-title {
  margin: 0;
  color: var(--review-form-ink);
  font-size: var(--review-form-type-section);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

html body .fw-section-title .req {
  margin-left: 2px;
  color: var(--review-form-danger);
  font-size: 14px;
  font-weight: 600;
}

html body .fw-section-content {
  width: 100%;
  min-width: 0;
}

html body .fw-card .fw-sec {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  column-gap: var(--review-form-grid-gap);
  row-gap: var(--review-form-space-1);
  margin: 0;
  padding: var(--review-form-space-3) 0;
  border-top: 1px solid var(--review-form-line);
}

html body .fw-card .fw-sec:last-child {
  border-bottom: 0;
}

html body .fw-card > .fw-sec:first-child {
  border-top: 0;
}

html body .fw-review-meta {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
}

html body .fw-review-meta__field {
  min-width: 0;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

html body .fw-review-meta__field + .fw-review-meta__field {
  margin-top: var(--review-form-field-gap);
}

html body .fw-review-meta__field .fw-label {
  min-height: 0;
  margin-bottom: var(--review-form-space-1) !important;
}

html body .fw-review-meta__field .fw-field-error {
  margin-top: var(--review-form-space-1);
}

html body .fw-review-body {
  width: 100%;
  margin: var(--review-form-field-gap) 0 0;
}

html body .fw-review-body > .fw-label {
  min-height: 0;
  margin-bottom: var(--review-form-space-1) !important;
}

html body .fw-survey-card .fw-sec {
  border-top: 0;
}

html body .fw-survey-content {
  grid-column: 3 / -1;
  min-width: 0;
}

html body .fw-card .fw-sec > .fw-label {
  grid-column: 1 / span 2;
}

html body .fw-card .fw-sec > :not(.fw-label) {
  grid-column: 3 / -1;
  min-width: 0;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

html body .fw-wrap .fw-label,
html body .event_block .ev-flabel,
html body .rv-event-modal-card .ev2m-label {
  margin: 0;
  color: var(--review-form-ink);
  font-size: var(--review-form-type-control);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.018em;
}

html body .fw-wrap .fw-label {
  display: block;
  height: auto;
  min-height: 0;
  margin: 0 0 var(--review-form-space-1) !important;
  padding: 0;
  transform: none;
}

html body .fw-wrap .fw-label .req {
  color: var(--review-form-danger);
  font-size: 14px;
  font-weight: 600;
}

html body .fw-wrap .fw-label .hint {
  color: var(--review-form-muted);
  font-size: 14px;
  font-weight: 400;
}

html body .fw-sec-inline {
  display: grid;
  align-items: start;
}

html body .fw-sec-inline > * {
  margin-right: 0;
  margin-left: 0;
}

html body .fw-sec-inline .fw-stars {
  margin-top: 0;
}

html body .fw-wrap .fw-input,
html body .fw-wrap .fw-select,
html body .event_block .ev-url,
html body .rv-event-modal-card .ev2m-input,
html body .poll-misc,
html body .poll-memo-modern {
  width: 100%;
  border: 1px solid var(--review-form-line);
  border-radius: var(--bj-control-radius, 8px);
  background: var(--review-form-clean);
  color: var(--review-form-ink);
  font-family: inherit;
  font-size: var(--review-form-type-control);
  line-height: 1.6;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

html body .fw-wrap .fw-input,
html body .fw-wrap .fw-select,
html body .event_block .ev-url,
html body .rv-event-modal-card .ev2m-input,
html body .poll-misc {
  height: var(--review-form-control-height);
  padding: 0 var(--review-form-space-2);
}

html body .poll-memo-modern {
  min-height: 112px;
  padding: 12px var(--review-form-space-2);
}

html body .fw-wrap .fw-input::placeholder,
html body .event_block .ev-url::placeholder,
html body .rv-event-modal-card .ev2m-input::placeholder,
html body .poll-misc::placeholder,
html body .poll-memo-modern::placeholder {
  color: var(--review-form-tertiary);
  opacity: 1;
}

html body .fw-wrap .fw-input:focus,
html body .fw-wrap .fw-select:focus,
html body .event_block .ev-url:focus,
html body .rv-event-modal-card .ev2m-input:focus,
html body .poll-misc:focus,
html body .poll-memo-modern:focus {
  outline: 0;
  border-color: var(--review-form-ink);
  box-shadow: 0 0 0 1px var(--review-form-ink);
}

html body .fw-wrap [aria-invalid="true"],
html body .event_block [aria-invalid="true"],
html body .rv-event-modal-card [aria-invalid="true"] {
  border-color: var(--review-form-danger);
  box-shadow: 0 0 0 1px var(--review-form-danger);
}

html body .fw-error-summary {
  margin: 0 0 var(--review-form-space-3);
  padding: var(--review-form-space-2) 20px;
  border-top: 1px solid var(--review-form-danger);
  border-bottom: 1px solid var(--review-form-danger);
  background: var(--review-form-clean);
  color: var(--review-form-danger);
  font-size: 15px;
  line-height: 1.6;
}

html body .fw-error-summary__title { margin: 0; font-weight: 600; }
html body .fw-error-summary__list { margin: 8px 0 0; padding-left: 20px; }
html body .fw-error-summary__list a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

html body .fw-error-summary[hidden],
html body .fw-field-error[hidden] {
  display: none;
}

html body .fw-field-error {
  grid-column: 3 / -1;
  margin: 0;
  color: var(--review-form-danger);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

/* -------------------------------------------------------------------------- */
/* Product and rating controls                                                 */
/* -------------------------------------------------------------------------- */

html body .fw-wrap .cardpick-shell {
  position: relative;
  width: 100%;
}

html body .fw-wrap .cardpick {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
  padding: 0 1px;
  overflow-x: auto;
  scroll-padding-inline: 1px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

html body .fw-wrap .cardpick::-webkit-scrollbar {
  display: none;
}

html body .fw-wrap .cardpick-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--review-form-line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--review-form-ink);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 4px 14px rgba(24, 24, 23, 0.08);
  transition: border-color 150ms ease, opacity 150ms ease, box-shadow 150ms ease;
}

html body .fw-wrap .cardpick-nav:hover {
  border-color: var(--review-form-ink);
  box-shadow: 0 6px 18px rgba(24, 24, 23, 0.12);
}

html body .fw-wrap .cardpick-nav:focus-visible {
  outline: 2px solid var(--review-form-ink);
  outline-offset: 3px;
}

html body .fw-wrap .cardpick-nav:disabled {
  opacity: 0;
  pointer-events: none;
}

html body .fw-wrap .cardpick-nav--prev {
  left: -20px;
}

html body .fw-wrap .cardpick-nav--next {
  right: -20px;
}

html body .fw-wrap .cardpick-nav svg {
  width: 18px;
  height: 18px;
}

html body .fw-wrap .cardpick-tile {
  position: relative;
  flex: 0 0 144px;
  width: 144px;
  overflow: hidden;
  border: 1px solid var(--review-form-line);
  border-radius: 0;
  background: var(--review-form-clean);
  scroll-snap-align: start;
  transition: border-color 150ms ease, background-color 150ms ease;
}

html body .fw-wrap .cardpick-tile:hover {
  border-color: var(--review-form-ink);
}

html body .fw-wrap .cardpick-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--review-form-stage);
}

html body .fw-wrap .cardpick-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

html body .fw-wrap .cardpick-name {
  min-height: 45px;
  padding: 11px 10px;
  color: var(--review-form-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

html body .fw-wrap .cardpick-check {
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--review-form-ink);
  border-radius: 50%;
  background: var(--review-form-charcoal);
}

html body .fw-wrap .cardpick-tile.is-selected,
html body .fw-wrap .cardpick-tile:has(input:checked) {
  border-color: var(--review-form-ink);
  background: var(--review-form-stone);
  box-shadow: inset 0 0 0 1px var(--review-form-ink);
}

html body .fw-wrap .cardpick-tile.is-selected .cardpick-name,
html body .fw-wrap .cardpick-tile:has(input:checked) .cardpick-name {
  color: var(--review-form-ink);
  font-weight: 600;
}

html body .fw-wrap .cardpick-tile:has(input:focus-visible) {
  outline: 2px solid var(--review-form-ink);
  outline-offset: 3px;
}

html body .fw-wrap .fw-stars {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 4px;
}

html body .fw-wrap .fw-star-btn {
  width: 40px;
  height: 40px;
  padding: 7px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--review-form-line);
  transform: none;
  transition: color 150ms ease, background-color 150ms ease;
}

html body .fw-wrap .fw-star-btn:hover,
html body .fw-wrap .fw-star-btn.is-active {
  color: var(--review-form-ink);
  transform: none;
}

html body .fw-wrap .fw-star-btn:hover {
  background: var(--review-form-paper);
}

html body .fw-wrap .fw-star-btn:focus-visible {
  outline: 2px solid var(--review-form-ink);
  outline-offset: 2px;
}

html body .fw-wrap .fw-star-btn svg {
  width: 24px;
  height: 24px;
}

html body .fw-wrap .fw-rating-row {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 16px;
}

html body .fw-wrap .fw-rating-copy {
  color: var(--review-form-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

/* -------------------------------------------------------------------------- */
/* Editor and survey                                                           */
/* -------------------------------------------------------------------------- */

html body .fw-wrap .bje {
  overflow: hidden;
  border: 1px solid var(--review-form-line);
  border-radius: var(--bj-control-radius, 8px);
  background: var(--review-form-clean);
}

html body .fw-wrap .bje:focus-within {
  border-color: var(--review-form-ink);
  box-shadow: 0 0 0 1px var(--review-form-ink);
}

html body .fw-wrap .bje-toolbar {
  min-height: 48px;
  padding: 6px 10px;
  border-bottom-color: var(--review-form-line);
  background: var(--review-form-clean);
}

html body .fw-wrap .bje-tb-btn {
  border-radius: 4px;
  color: var(--review-form-muted);
}

html body .fw-wrap .bje-tb-btn:hover,
html body .fw-wrap .bje-tb-btn.is-active {
  background: var(--review-form-paper);
  color: var(--review-form-ink);
}

html body .fw-wrap .bje-area {
  /* The editor helper writes its legacy 420px minimum as an inline style. */
  min-height: 240px !important;
  color: var(--review-form-ink);
  font-size: 16px;
  line-height: 1.7;
}

html body .fw-asnote {
  margin: 12px 0 0;
  color: var(--review-form-muted);
  font-size: 14px;
  line-height: 1.6;
}

html body .fw-asnote a {
  border-bottom: 1px solid var(--review-form-line);
  color: var(--review-form-ink);
  font-weight: 600;
}

html body .poll-q {
  min-width: 0;
}

html body .poll-q + .poll-q {
  margin-top: var(--review-form-space-3);
  padding-top: var(--review-form-space-3);
  border-top: 1px solid var(--review-form-line);
}

html body .poll-q-title {
  margin: 0 0 12px;
  color: var(--review-form-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

html body .poll-q-title em,
html body .poll-foot {
  color: var(--review-form-muted);
  font-size: 14px;
  font-weight: 400;
}

html body .poll-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--review-form-space-1);
}

html body .poll-chip {
  cursor: pointer;
}

html body .poll-chip span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px var(--review-form-space-2);
  border: 1px solid var(--review-form-line);
  border-radius: 4px;
  background: var(--review-form-clean);
  color: var(--review-form-muted);
  font-size: 14px;
  line-height: 1.5;
}

html body .poll-chip span:hover {
  border-color: var(--review-form-ink);
  color: var(--review-form-ink);
}

html body .poll-chip input:checked + span {
  border-color: var(--review-form-ink);
  background: var(--review-form-charcoal);
  color: var(--review-form-clean);
}

html body .poll-chip input:focus-visible + span {
  outline: 2px solid var(--review-form-ink);
  outline-offset: 2px;
}

/* -------------------------------------------------------------------------- */
/* Shared event entry                                                          */
/* -------------------------------------------------------------------------- */

html body .event_block {
  width: min(100%, 1000px);
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--review-form-group-gap) 0;
  border: 0;
  border-top: 1px solid var(--review-form-line);
  border-bottom: 1px solid var(--review-form-line);
  border-radius: 0;
  background: var(--review-form-clean);
  color: var(--review-form-ink);
}

html body .event_block .ev-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--review-form-grid-gap);
  padding: 0;
  text-align: left;
}

html body .event_block .ev-top > * {
  grid-column: 3 / -1;
  margin-right: 0;
  margin-left: 0;
}

html body .event_block .ev-top > .fw-section-index {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

html body .event_block .ev-top h3 .hint {
  margin-left: 8px;
  color: var(--review-form-muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.018em;
}

html body .event_block .ev-badge {
  width: max-content;
  margin: 0 0 var(--review-form-space-1);
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--review-form-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.045em;
}

html body .event_block .ev-top h3 {
  margin: 0 0 var(--review-form-space-1);
  color: var(--review-form-ink);
  font-size: var(--review-form-type-section);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

html body .event_block .ev-top p {
  max-width: 40em;
  margin: 0;
  color: var(--review-form-muted);
  font-size: var(--review-form-type-body);
  font-weight: 400;
  line-height: 1.65;
}

html body .event_block .ev-gift {
  color: var(--review-form-ink);
  font-size: inherit;
  font-weight: 600;
}

html body .event_block .ev-panel {
  margin: var(--review-form-field-gap) 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

html body .event_block .ev-field {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-top: 0;
}

html body .event_block .ev-field + .ev-field {
  margin-top: 0;
}

html body .event_block .ev-field > .ev-flabel {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0 0 var(--review-form-space-1);
  padding: 0;
}

html body .event_block .ev-field > :not(.ev-flabel) {
  min-width: 0;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

html body .event_block .ev-group-heading {
  margin: var(--review-form-group-gap) 0 var(--review-form-space-2);
  padding: var(--review-form-group-gap) 0 0;
  border-top: 1px solid var(--review-form-line);
  color: var(--review-form-ink);
  font-size: var(--review-form-type-body);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.025em;
}

html body .event_block .ev-share-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--review-form-space-1);
}

html body .event_block #event_gift_group > .ev-flabel {
  margin-bottom: var(--review-form-space-2);
}

/*
 * Desktop review writing is an editorial task, not an administration form.
 * The 1000px rail owns the content width; labels sit above their controls.
 * Only the channel and URL tasks share one row because they are completed
 * together. Mobile keeps the existing single-column order below.
 */
@media (min-width: 768px) {
  html body .fw-card .fw-sec {
    row-gap: 12px;
    padding: 24px 0 26px;
  }

  html body .fw-card .fw-sec > .fw-label,
  html body .fw-card .fw-sec > :not(.fw-label) {
    grid-column: 1 / -1;
  }

  html body .fw-card .fw-sec > .fw-label {
    min-height: 0;
    align-items: flex-start;
  }

  html body .event_block .ev-top > * {
    grid-column: 1 / -1;
  }

  html body .event_block .ev-panel {
    margin-top: var(--review-form-field-gap);
  }

  html body .event_block .ev-field {
    padding: 0;
    border-top: 0;
  }

  html body .event_block .ev-field > .ev-flabel,
  html body .event_block .ev-field > :not(.ev-flabel) {
    width: 100%;
  }

  html body .event_block .ev-field > .ev-flabel {
    min-height: 0;
  }

  html body .event_block #event_opt_in_group {
    margin: 0;
  }

  html body .event_block #event_gift_group {
    margin-top: var(--review-form-group-gap);
    padding: 0;
  }

  html body .event_block .ev-field--address {
    padding: 0;
  }

  html body .event_block .ev-event-details {
    display: block;
  }

  html body .event_block .ev-share-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--review-form-space-1) var(--review-form-grid-gap);
  }

  html body .event_block #event_channel_group {
    grid-column: 1;
  }

  html body .event_block .ev-field--url {
    grid-column: 2;
  }

  html body .event_block .ev-share-help {
    grid-column: 1 / -1;
  }

  html body .event_block .ev-field--url .ev-url {
    max-width: 100%;
  }

  html body .fw-wrap .cardpick-tile {
    flex-basis: clamp(132px, calc((100% - 60px) / 6), 157px);
    width: clamp(132px, calc((100% - 60px) / 6), 157px);
  }

  html body .event_block #event_channel_group .ev-channels {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--review-form-space-1);
  }

  html body .event_block #event_channel_group .ev-chip {
    min-width: 0;
  }

  html body .event_block #event_channel_group .ev-chip span {
    width: 100%;
    min-height: var(--review-form-control-height);
    justify-content: center;
    padding-right: 6px;
    padding-left: 6px;
    white-space: nowrap;
  }
}

html body .event_block .ev-channels,
html body .rv-event-modal-card .ev2m-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--review-form-space-1);
}

html body .event_block .ev-chip,
html body .rv-event-modal-card .ev2m-chip {
  position: relative;
  cursor: pointer;
}

html body .event_block .ev-chip > input,
html body .rv-event-modal-card .ev2m-chip > input,
html body .poll-chip > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

html body .event_block .ev-chip span,
html body .rv-event-modal-card .ev2m-chip span {
  display: inline-flex;
  min-height: var(--review-form-control-height);
  align-items: center;
  padding: 8px var(--review-form-space-2);
  border: 1px solid var(--review-form-line);
  border-radius: var(--bj-control-radius, 8px);
  background: var(--review-form-clean);
  color: var(--review-form-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

html body .event_block .ev-chip span:hover,
html body .rv-event-modal-card .ev2m-chip span:hover {
  border-color: var(--review-form-ink);
  color: var(--review-form-ink);
}

html body .event_block .ev-chip input:checked + span,
html body .rv-event-modal-card .ev2m-chip input:checked + span {
  border-color: var(--review-form-ink);
  background: var(--review-form-charcoal);
  color: var(--review-form-clean);
}

html body .event_block .ev-optin-choices .ev-chip input:checked + span {
  border-color: var(--review-form-ink);
  background: var(--review-form-charcoal);
  color: var(--review-form-clean);
  box-shadow: none;
}

html body .event_block .ev-optin-choices .ev-chip input:checked + span::after {
  content: "✓";
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--review-form-clean);
  color: var(--review-form-charcoal);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

html body .event_block .ev-chip input:focus-visible + span,
html body .rv-event-modal-card .ev2m-chip input:focus-visible + span {
  outline: 2px solid var(--review-form-ink);
  outline-offset: 2px;
}

html body .event_block .ev-url-hint {
  margin: 0;
  color: var(--review-form-muted);
  font-size: var(--review-form-type-caption);
  line-height: 1.5;
}

html body .event_block .ev-url-hint b {
  color: var(--review-form-ink);
  font-weight: 600;
}

html body .ev-gift-grid,
html body .rv-event-modal-card .ev2m-gifts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--review-form-grid-gap);
  width: 100%;
}

html body .ev-gift-option {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--review-form-line);
  border-radius: var(--bj-control-radius, 8px);
  background: var(--review-form-clean);
  color: var(--review-form-ink);
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

html body .ev-gift-option:hover {
  border-color: var(--review-form-ink);
}

html body .ev-gift-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

html body .ev-gift-media {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--review-form-line);
  background: var(--review-form-stage);
}

html body .ev-gift-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

html body .ev-gift-copy {
  min-width: 0;
  padding: 18px 20px 20px;
}

html body .ev-gift-copy small,
html body .ev-gift-copy .ev-gift-meta {
  display: block;
  margin: 0 0 4px;
  color: var(--review-form-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

html body .ev-gift-copy strong,
html body .ev-gift-copy .ev-gift-name {
  display: block;
  margin: 0;
  color: var(--review-form-ink);
  font-size: var(--review-form-type-control);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

html body .ev-gift-copy p,
html body .ev-gift-copy .ev-gift-description {
  margin: 4px 0 0;
  color: var(--review-form-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  word-break: keep-all;
}

html body .ev-choice-check {
  position: absolute;
  right: var(--review-form-space-2);
  top: var(--review-form-space-2);
  bottom: auto;
  width: 28px;
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 1px solid var(--review-form-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--review-form-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

html body .ev-choice-icon {
  display: inline;
  opacity: 0;
  font-size: 13px;
}

html body .ev-choice-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

html body .ev-gift-option.is-selected,
html body .ev-gift-option:has(input:checked) {
  border-color: var(--review-form-ink);
  background: var(--review-form-stone);
  box-shadow: inset 0 0 0 1px var(--review-form-ink);
}

html body .ev-gift-option.is-selected .ev-choice-check,
html body .ev-gift-option:has(input:checked) .ev-choice-check {
  border-color: var(--review-form-ink);
  background: var(--review-form-charcoal);
  color: var(--review-form-clean);
}

html body .ev-gift-option.is-selected .ev-choice-icon,
html body .ev-gift-option:has(input:checked) .ev-choice-icon {
  opacity: 1;
}

html body .ev-gift-option:has(input:focus-visible) {
  outline: 2px solid var(--review-form-ink);
  outline-offset: 3px;
}

html body .ev-status {
  display: flex;
  align-items: flex-start;
  gap: var(--review-form-space-1);
  margin: 12px 0 0;
  padding: 0;
  border-top: 0;
  color: var(--review-form-muted);
  font-size: var(--review-form-type-caption);
  line-height: 1.5;
}

html body .ev-status::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  margin-top: 0.58em;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.62;
}

html body .ev-status.is-success,
html body .ev-status[data-state="success"] {
  color: var(--review-form-success);
}

html body .ev-status.is-error,
html body .ev-status[data-state="error"] {
  color: var(--review-form-danger);
}

html body .ev-status[data-state="idle"] {
  color: var(--review-form-muted);
}

html body .event_block .ev-addr {
  margin: 0;
  padding: 0;
  border-top: 0;
}

html body .event_block .ev-addr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--review-form-space-2);
}

html body .event_block .ev-addr-display,
html body .rv-event-modal-card .ev2m-addr-display {
  min-width: 0;
  color: var(--review-form-muted);
  font-size: 15px;
  line-height: 1.65;
}

html body .event_block .ev-addr-display b,
html body .rv-event-modal-card .ev2m-addr-display b {
  color: var(--review-form-ink);
  font-weight: 600;
}

html body .event_block .ev-addr-ic {
  display: none;
}

html body .event_block .ev-ghost-btn,
html body .rv-event-modal-card .ev2m-zip-btn {
  min-height: var(--review-form-control-height);
  padding: 0 var(--review-form-space-2);
  border: 1px solid var(--review-form-line);
  border-radius: var(--bj-control-radius, 8px);
  background: var(--review-form-clean);
  color: var(--review-form-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

html body .event_block .ev-ghost-btn:hover,
html body .rv-event-modal-card .ev2m-zip-btn:hover {
  border-color: var(--review-form-ink);
  background: var(--review-form-paper);
  color: var(--review-form-ink);
}

html body .event_block .ev-zipbox {
  margin-top: var(--review-form-space-2);
  padding: var(--review-form-space-2);
  border: 1px solid var(--review-form-line);
  border-radius: var(--bj-control-radius, 8px);
  background: var(--review-form-paper);
}

html body .event_block .ev-address-edit-grid {
  display: grid;
  gap: var(--review-form-space-1);
}

html body .event_block .ev-address-edit-postcode {
  display: flex;
  align-items: center;
  gap: var(--review-form-space-1);
}

html body .event_block .ev-address-input {
  width: 100%;
  height: var(--review-form-control-height);
  padding: 0 14px;
  border: 1px solid var(--review-form-line);
  border-radius: var(--bj-control-radius, 8px);
  background: var(--review-form-clean);
  color: var(--review-form-ink);
  font: inherit;
}

html body .event_block .ev-address-input--zip {
  width: 132px;
  flex: 0 0 132px;
}

html body .event_block .ev-address-input:focus {
  outline: 0;
  border-color: var(--review-form-ink);
  box-shadow: 0 0 0 1px var(--review-form-ink);
}

html body .event_block .ev-address-edit-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--review-form-space-1);
  margin-top: var(--review-form-space-1);
}

html body .event_block .ev-text-btn {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid var(--review-form-line);
  background: transparent;
  color: var(--review-form-muted);
  font: inherit;
  cursor: pointer;
}

html body .event_block .ev-notes,
html body .rv-event-modal-card .ev2m-notes {
  margin: var(--review-form-field-gap) 0 0;
  padding: 0;
  border-top: 0;
}

html body .event_block .ev-address-guidance {
  margin-top: var(--review-form-space-2);
}

html body .event_block .ev-address-guidance .ev-notes {
  display: grid;
  gap: 4px;
  margin-top: var(--review-form-space-2);
}

html body .event_block .ev-note,
html body .rv-event-modal-card .ev2m-note {
  position: relative;
  padding-left: 12px;
  color: var(--review-form-muted);
  font-size: var(--review-form-type-caption);
  line-height: 1.6;
}

html body .event_block .ev-note::before,
html body .rv-event-modal-card .ev2m-note::before {
  content: "·";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--review-form-tertiary);
}

html body .event_block .ev-note b,
html body .rv-event-modal-card .ev2m-note b {
  color: var(--review-form-ink);
  font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* Full-page and modal actions                                                 */
/* -------------------------------------------------------------------------- */

html body .fw-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: var(--review-form-space-3) 0 0;
}

html body .fw-btn {
  min-width: 160px;
  height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

html body .fw-btn:active {
  transform: none;
}

html body .fw-btn-primary {
  border-color: var(--review-form-charcoal);
  background: var(--review-form-charcoal);
  color: var(--review-form-clean);
}

html body .fw-btn-primary:hover {
  border-color: var(--review-form-ink);
  background: var(--review-form-ink);
}

html body .fw-btn-ghost {
  border-color: var(--review-form-line);
  background: var(--review-form-clean);
  color: var(--review-form-ink);
}

html body .fw-btn-ghost:hover {
  border-color: var(--review-form-ink);
  background: var(--review-form-paper);
}

html body .fw-btn:focus-visible,
html body .event_block button:focus-visible,
html body .rv-event-modal-card button:focus-visible {
  outline: 2px solid var(--review-form-ink);
  outline-offset: 3px;
}

html body .loading_wrapper {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.82);
}

/* Modal-specific rhythm; the outer dialog remains the only rounded surface. */
html body .rv-event-modal-card .ev2m-field + .ev2m-field {
  margin-top: var(--review-form-space-3);
}

html body .rv-event-modal-card .ev2m-label {
  margin: 0 0 10px;
}

html body .rv-event-modal-card .ev2m-addr {
  margin-top: var(--review-form-space-3);
  padding-top: var(--review-form-space-3);
  border-top: 1px solid var(--review-form-line);
}

html body .rv-event-modal-card .ev2m-addr-help {
  display: block;
  margin-top: var(--review-form-space-1);
  color: var(--review-form-muted);
  font-size: 14px;
}

html body .rv-event-modal-card .ev2m-addr-empty {
  margin: 0 0 var(--review-form-space-2);
  color: var(--review-form-muted);
  font-size: 15px;
  line-height: 1.6;
}

html body .rv-event-modal-card .ev2m-addr-grid {
  display: flex;
  flex-direction: column;
  gap: var(--review-form-space-1);
}

html body .rv-event-modal-card .ev2m-addr-row {
  display: flex;
  gap: var(--review-form-space-1);
}

html body .rv-event-modal-card .ev2m-input-half {
  flex: 1 1 0;
  min-width: 0;
}

/* -------------------------------------------------------------------------- */
/* Completion states                                                           */
/* -------------------------------------------------------------------------- */

html body .ui-done-outer,
html body .review-done {
  width: min(100%, 1000px);
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px 0 104px;
  text-align: left;
}

html body .ui-done-outer > .review-done {
  width: 100%;
  max-width: none;
  padding: 0;
}

html body .ui-order-ok-layout-warpper {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--review-form-clean);
  display: block;
}

html body .ui-order-ok-layout-warpper *,
html body .review-done * {
  box-sizing: border-box;
  text-align: left;
}

html body .order_ok_all_wrapper {
  width: min(100%, 760px);
  padding: 0;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--review-form-space-3);
}

html body .order_ok_top_img_wraper {
  display: none;
}

html body .ui-order-ok-layout-warpper .page_msg {
  align-items: flex-start;
  gap: var(--review-form-space-1);
}

html body .ui-order-ok-layout-warpper .page_title,
html body .review-done__title {
  margin: 0;
  color: var(--review-form-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

html body .ui-order-ok-layout-warpper .page_title_sub,
html body .review-done__lead {
  max-width: 40em;
  color: var(--review-form-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

html body .review-done__status {
  display: inline-flex;
  align-items: center;
  gap: var(--review-form-space-1);
  margin: 0 0 var(--review-form-space-1);
  color: var(--review-form-success);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.035em;
}

html body .review-done__summary {
  width: min(100%, 760px);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--review-form-line);
  border-bottom: 1px solid var(--review-form-line);
}

html body .review-done__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: var(--review-form-grid-gap);
  align-items: start;
  padding: var(--review-form-space-2) 0;
  color: var(--review-form-ink);
  font-size: 15px;
  line-height: 1.6;
}

html body .review-done__row + .review-done__row {
  border-top: 1px solid var(--review-form-line);
}

html body .review-done__row > :first-child,
html body .review-done__label {
  color: var(--review-form-muted);
  font-weight: 400;
}

html body .review-done__row > :last-child,
html body .review-done__value {
  min-width: 0;
  color: var(--review-form-ink);
  font-weight: 500;
}

html body .review-done__media {
  width: 144px;
  height: 108px;
  overflow: hidden;
  background: var(--review-form-stage);
}

html body .review-done__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

html body .review-done__actions,
html body .ui-done-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

html body .ui-order-ok-layout-warpper .ui-done-btn,
html body .review-done__actions a,
html body .review-done__actions button {
  width: auto;
  min-width: 176px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid var(--review-form-charcoal);
  border-radius: 4px;
  background: var(--review-form-charcoal);
  color: var(--review-form-clean);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

html body .review-done__actions .is-secondary,
html body .review-done__actions .secondary {
  border-color: var(--review-form-line);
  background: var(--review-form-clean);
  color: var(--review-form-ink);
}

html body .ui-order-ok-layout-warpper .ui-done-btn:hover,
html body .review-done__actions a:hover,
html body .review-done__actions button:hover {
  border-color: var(--review-form-ink);
  background: var(--review-form-ink);
  color: var(--review-form-clean);
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                  */
/* -------------------------------------------------------------------------- */

/*
 * The legacy desktop shell renders its content table at a hard 1000px.
 * Keep that width on wide screens, but let the table become the viewport
 * containing block at tablet widths so the renewed form can size fluidly.
 */
@media (max-width: 1024px) {
  html body #content_wrapper,
  html body #content_wrapper > tbody > tr > td.fsz {
    width: 100% !important;
    max-width: 100% !important;
  }

  html body #content_wrapper {
    table-layout: fixed;
  }

  html body .fw-wrap {
    width: calc(100% - 48px);
  }
}

@media (max-width: 767px) {
  .fw-wrap,
  .event_block,
  .review-done,
  .ui-done-outer {
    --review-form-space-3: 24px;
    --review-form-space-4: 48px;
  }

  html body .fw-wrap,
  html body .fw-wrap.fw-mobile {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 var(--review-form-gutter-mobile) 48px;
  }

  html body .fw-header,
  html body .fw-mobile .fw-header {
    gap: var(--review-form-space-1);
    margin-bottom: 0;
    padding: 24px 0 0;
  }

  html body .fw-wrap .fw-title,
  html body .fw-wrap.fw-mobile .fw-title {
    font-size: 24px !important;
  }

  html body .fw-form-section {
    padding: 24px 0;
  }

  html body .fw-form-section:first-child {
    padding-top: 24px;
  }

  html body .fw-section-heading {
    display: block;
    margin-bottom: 20px;
  }

  html body .fw-section-title {
    font-size: 20px;
  }

  html body .fw-card .fw-sec {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 12px;
    padding: var(--review-form-space-3) 0;
  }

  html body .fw-review-meta {
    display: block;
  }

  html body .fw-review-meta__field + .fw-review-meta__field {
    margin-top: 24px;
  }

  html body .fw-review-body {
    margin-top: 24px;
  }

  html body .fw-card .fw-sec > .fw-label,
  html body .fw-card .fw-sec > :not(.fw-label),
  html body .fw-field-error {
    grid-column: 1;
  }

  html body .fw-wrap .fw-label {
    min-height: 0;
    font-size: 16px;
  }

  html body .fw-wrap .fw-input,
  html body .fw-wrap .fw-select,
  html body .event_block .ev-url,
  html body .rv-event-modal-card .ev2m-input,
  html body .poll-misc,
  html body .poll-memo-modern {
    font-size: 16px;
  }

  html body .fw-wrap .bje-area {
    min-height: 232px !important;
  }

  html body .fw-wrap .bje-toolbar {
    min-height: 52px;
    padding: 4px 8px;
    gap: 2px;
    flex-wrap: wrap;
    overflow-x: visible;
    scrollbar-width: none;
  }

  html body .fw-wrap .bje-toolbar::-webkit-scrollbar {
    display: none;
  }

  html body .fw-wrap .bje-tb-btn,
  html body .fw-wrap .bje-tb-size {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  html body .fw-wrap .cardpick {
    width: calc(100% + var(--review-form-gutter-mobile));
    margin-right: calc(var(--review-form-gutter-mobile) * -1);
    padding-right: var(--review-form-gutter-mobile);
    scrollbar-width: none;
  }

  html body .fw-wrap .cardpick::-webkit-scrollbar {
    display: none;
  }

  html body .fw-wrap .cardpick-nav {
    display: none;
  }

  html body .fw-wrap .cardpick-tile {
    flex-basis: 112px;
    width: 112px;
  }

  html body .fw-wrap .cardpick-name {
    min-height: 38px;
    padding: 10px 10px 4px;
  }

  html body .fw-wrap .cardpick-order-meta {
    padding: 0 10px 10px;
  }

  html body .fw-wrap .fw-star-btn {
    width: 44px;
    height: 44px;
    padding: 6px;
  }

  html body .fw-wrap .fw-star-btn svg {
    width: 27px;
    height: 27px;
  }

  html body .fw-wrap .fw-rating-row {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  html body .fw-wrap .fw-rating-copy {
    font-size: 13px;
  }

  html body .poll-chips {
    flex-wrap: nowrap;
    width: calc(100% + var(--review-form-gutter-mobile));
    margin-right: calc(var(--review-form-gutter-mobile) * -1);
    padding-right: var(--review-form-gutter-mobile);
    overflow-x: auto;
    scrollbar-width: none;
  }

  html body .poll-chips::-webkit-scrollbar {
    display: none;
  }

  html body .poll-chip {
    flex: 0 0 auto;
  }

  html body .event_block,
  html body .fw-mobile .event_block {
    width: auto;
    max-width: none;
    margin: 0;
    padding: var(--review-form-space-3) 0;
    border-radius: 0;
    background: var(--review-form-clean);
  }

  html body .event_block .ev-top,
  html body .event_block .ev-field {
    grid-template-columns: minmax(0, 1fr);
  }

  html body .event_block .ev-top > *,
  html body .event_block .ev-field > .ev-flabel,
  html body .event_block .ev-field > :not(.ev-flabel) {
    grid-column: 1;
  }

  html body .event_block .ev-top h3 {
    font-size: 20px;
    line-height: 1.5;
  }

  html body .event_block .ev-field > .ev-flabel {
    min-height: 0;
    font-size: 16px;
  }

  html body .event_block .ev-group-heading {
    margin: 24px 0 16px;
    padding-top: 24px;
    font-size: 16px;
  }

  html body .event_block #event_gift_group {
    margin-top: 24px;
  }

  html body .event_block .ev-field--url {
    margin-top: var(--review-form-space-2);
  }

  html body .event_block .ev-channels,
  html body .rv-event-modal-card .ev2m-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  html body .event_block .ev-optin-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--review-form-space-1);
    overflow: visible;
  }

  html body .event_block .ev-optin-choices .ev-chip {
    min-width: 0;
  }

  html body .event_block .ev-optin-choices .ev-chip span {
    width: 100%;
    min-height: var(--review-form-control-height);
    justify-content: center;
    padding: 8px;
    font-size: var(--bj-type-caption, 14px);
    line-height: 1.35;
    text-align: center;
    word-break: keep-all;
  }

  html body .event_block #event_channel_group .ev-channels {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  html body .event_block #event_channel_group .ev-chip {
    grid-column: span 2;
    min-width: 0;
  }

  html body .event_block #event_channel_group .ev-chip:nth-last-child(2):nth-child(4),
  html body .event_block #event_channel_group .ev-chip:last-child:nth-child(5) {
    grid-column: span 3;
  }

  html body .event_block #event_channel_group .ev-chip span {
    width: 100%;
    justify-content: center;
    padding: 8px 6px;
    text-align: center;
  }

  html body .event_block .ev-channels::-webkit-scrollbar,
  html body .rv-event-modal-card .ev2m-chips::-webkit-scrollbar {
    display: none;
  }

  html body .event_block .ev-chip,
  html body .rv-event-modal-card .ev2m-chip {
    flex: 0 0 auto;
  }

  html body .ev-gift-grid,
  html body .rv-event-modal-card .ev2m-gifts {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  html body .ev-gift-option {
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: stretch;
  }

  html body .ev-gift-media {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 112px;
    height: 100%;
    min-height: 112px;
    border-right: 1px solid var(--review-form-line);
    border-bottom: 0;
  }

  html body .ev-gift-copy {
    align-self: center;
    grid-column: 2;
    grid-row: 1;
    padding: var(--review-form-space-2) var(--review-form-space-2) 8px;
  }

  html body .ev-choice-check {
    position: static;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: end;
    width: 28px;
    min-width: 28px;
    height: 28px;
    margin: 0 12px 12px 0;
    padding: 0;
    transform: none;
    font-size: 12px;
  }

  html body .event_block .ev-addr-row {
    align-items: flex-start;
    flex-direction: column;
  }

  html body .event_block .ev-ghost-btn {
    width: 100%;
  }

  html body .event_block .ev-address-edit-postcode {
    align-items: stretch;
  }

  html body .event_block .ev-address-input--zip {
    width: min(38%, 132px);
    flex-basis: min(38%, 132px);
  }

  html body .fw-actions,
  html body .fw-wrap.fw-mobile .fw-actions {
    position: static;
    display: grid;
    grid-template-columns: minmax(104px, 0.72fr) minmax(0, 1.28fr);
    gap: var(--review-form-space-1);
    width: 100%;
    margin: var(--review-form-space-3) 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  html body .fw-actions .fw-btn,
  html body .fw-wrap.fw-mobile .fw-actions .fw-btn {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 12px;
  }

  html body .rv-event-modal-card .ev2m-addr-row {
    flex-direction: column;
  }

  html body .rv-event-modal-card .ev2m-input-half,
  html body .rv-event-modal-card .ev2m-zip-btn {
    width: 100%;
  }

  html body .ui-done-outer,
  html body .review-done {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 48px var(--review-form-gutter-mobile) 80px;
  }

  html body .order_ok_all_wrapper {
    width: 100%;
    gap: var(--review-form-space-3);
  }

  html body .ui-order-ok-layout-warpper .page_title,
  html body .review-done__title {
    font-size: 24px;
  }

  html body .review-done__summary {
    width: 100%;
  }

  html body .review-done__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: var(--review-form-space-2) 0;
  }

  html body .review-done__media {
    width: 112px;
    height: 112px;
  }

  html body .review-done__actions,
  html body .ui-done-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  html body .ui-order-ok-layout-warpper .ui-done-btn,
  html body .review-done__actions a,
  html body .review-done__actions button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 359px) {
  html body .ev-gift-option {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  html body .ev-gift-media {
    width: 88px;
    min-height: 112px;
  }

  html body .ev-gift-copy {
    padding: 12px;
  }

  html body .ev-choice-check {
    margin-right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .fw-wrap *,
  html body .event_block *,
  html body .review-done *,
  html body .rv-event-modal-card * {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
