.pisell-adjust-time-modal-container {
  --bg: #050916;
  --surface-2: #101b33;
  --line: rgba(135, 157, 210, 0.24);
  --line-strong: rgba(137, 116, 255, 0.72);
  --ink: #eef3ff;
  --muted: #aeb8d5;
  --violet: #8b5cf6;
  --violet-2: #b7a0ff;
  --cyan: #1fb6a8;
  --orange: #d47a22;
  --green: #24ad7b;
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);

  color: var(--ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;

  /** content-wrapper 只有 maxHeight，需 flex 约束内层，避免 footer 被裁切 */
  > .pisell-lowcode-floating-layer-content {
    flex: 1 1 auto;
    min-height: 0;
    /* 固定弹窗内容高度，避免左侧切换 action 时因右侧内容增减导致 modal 上下跳动。 */
    height: min(82dvh, 860px);
    max-height: 100%;
    padding: 0;
    background: rgba(7, 14, 29, 0.96);
    border: 1px solid rgba(69, 122, 208, 0.76);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow), 0 0 0 1px rgba(34, 155, 255, 0.2) inset;
    overflow: hidden;
  }

  .pisell-lowcode-floating-layer-header {
    flex: 0 0 auto;
    min-height: auto;
    padding: 0;
    border-bottom: none;
    background: transparent;
  }

  .pisell-lowcode-floating-layer-title {
    width: 100%;
  }

  .pisell-lowcode-floating-layer-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .pisell-lowcode-floating-layer-footer {
    flex: 0 0 auto;
    padding: 0;
    border-top: none;
  }

  button {
    cursor: pointer;
  }

  h1,
  h2,
  h3,
  p {
    margin: 0;
  }
}

.pisell-adjust-time-payment-keyboard-wrap {
  .pisell-pro-price-keyboard-input-tip {
    display: none;
  }
}

.pisell-adjust-time__change-time-range-popup {
  .MuiPaper-root {
    background: #0b1224;
    color: #eef3ff;
    border: 1px solid rgba(135, 157, 210, 0.24);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  }

  .MuiTypography-root,
  .MuiPickersCalendarHeader-label,
  .MuiDayCalendar-weekDayLabel {
    color: #eef3ff;
  }

  .MuiPickersDay-root,
  .MuiDateRangePickerDay-day {
    color: #eef3ff;
  }

  .MuiPickersDay-root.Mui-disabled,
  .MuiDateRangePickerDay-day.Mui-disabled {
    color: rgba(174, 184, 213, 0.38);
  }

  .date-picker-toolbar {
    padding: 16px 16px 4px;
    background: #0b1224;
    // border-bottom: 1px solid rgba(135, 157, 210, 0.18);
  }

  .date-picker-content-bottom {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .date-picker-toolbar-start-wrap,
  .date-picker-toolbar-end-wrap {
    display: grid;
    gap: 8px;

    > span:first-child {
      color: rgba(174, 184, 213, 0.86);
      font-size: 13px;
      font-weight: 800;
    }

    .pisell-lowcode-input,
    .ant-input {
      height: 40px;
      border-radius: 9px;
      background: rgba(9, 17, 34, 0.88);
      border-color: rgba(135, 157, 210, 0.34);
      color: #eef3ff;
      font-weight: 900;

      &:hover,
      &:focus {
        border-color: rgba(183, 160, 255, 0.62);
        box-shadow: none;
      }
    }
  }

  .MuiTextField-root,
  .MuiFormControl-root {
    .MuiInputBase-root,
    .MuiOutlinedInput-root {
      background: rgba(9, 17, 34, 0.88);
      border-radius: 10px;
      color: #eef3ff;
    }

    .MuiInputBase-input,
    input {
      color: #eef3ff;
      font-weight: 900;
      -webkit-text-fill-color: #eef3ff;
    }

    .MuiInputLabel-root,
    label {
      color: rgba(174, 184, 213, 0.78);
    }

    fieldset {
      border-color: rgba(135, 157, 210, 0.34) !important;
    }
  }

  .date-picker-action-time {
    border-top: 0;
    gap: 16px;
    padding: 4px 16px 16px;

    .date-picker-action-time-item {
      flex: 1 1 0;
      min-width: 0;
      gap: 8px;
    }

    .date-picker-action-time-item-label {
      color: rgba(174, 184, 213, 0.86);
      font-size: 13px;
      font-weight: 800;
      line-height: 20px;
    }

    .pisell-lowcode-picker,
    .ant-picker {
      width: 100%;
      height: 40px;
      background: rgba(9, 17, 34, 0.88);
      border: 1px solid rgba(135, 157, 210, 0.34) !important;
      color: #eef3ff;
      border-radius: 9px;
      padding: 0 11px;
      box-shadow: none;

      &:hover,
      &.pisell-lowcode-picker-focused,
      &.ant-picker-focused {
        border-color: rgba(183, 160, 255, 0.62) !important;
        box-shadow: none;
      }

      input {
        color: #eef3ff;
        font-weight: 900;
        font-size: 16px;
      }

      .pisell-lowcode-picker-suffix,
      .ant-picker-suffix {
        color: rgba(174, 184, 213, 0.86);
      }
    }
  }

  .pisell-adjust-time__change-time-select-time {
    width: 100%;
    height: 40px;
    background: rgba(9, 17, 34, 0.88);
    border: 1px solid rgba(135, 157, 210, 0.34) !important;
    border-radius: 9px;
    color: #eef3ff;
    padding: 0 11px;
    display: flex;
    align-items: center;
    box-shadow: none;

    &:hover {
      border-color: rgba(183, 160, 255, 0.62) !important;
    }

    .pisell-lowcode-picker-input > input,
    .ant-picker-input > input {
      color: #eef3ff;
      font-weight: 900;
      font-size: 16px;
    }

    .pisell-lowcode-picker-suffix,
    .ant-picker-suffix {
      color: rgba(174, 184, 213, 0.86);
      margin-left: auto;
    }
  }

  .date-picker-action-bar-right {
    border-top-color: rgba(135, 157, 210, 0.18);

    .pisell-lowcode-btn-default,
    .ant-btn-default {
      background: rgba(9, 17, 34, 0.88);
      border-color: rgba(135, 157, 210, 0.45);
      color: #eef3ff;

      &:hover {
        border-color: rgba(183, 160, 255, 0.72);
        color: #fff;
      }
    }

    .pisell-lowcode-btn-primary,
    .ant-btn-primary {
      background: #7b51e7;
      border-color: #8b5cf6;
      color: #fff;
    }
  }
}

.pisell-adjust-time__change-time-select-time-popover.select-time-popover--dark {
  z-index: 1800 !important;

  .virtual-keyboard-component {
    border-radius: 12px;
  }
}

.date-picker-action-bar-time-picker-popup {
  .pisell-lowcode-picker-panel-container,
  .ant-picker-panel-container {
    background: #0b1224;
    border: 1px solid rgba(135, 157, 210, 0.24);
    color: #eef3ff;
  }

  .pisell-lowcode-picker-time-panel-cell-inner,
  .ant-picker-time-panel-cell-inner {
    color: #eef3ff !important;
  }

  .pisell-lowcode-picker-time-panel-cell-selected .pisell-lowcode-picker-time-panel-cell-inner,
  .ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {
    background: rgba(123, 81, 231, 0.35) !important;
  }
}

.pisell-adjust-time-select-bookings-modal {
  --select-bookings-bg: #071122;
  --select-bookings-panel: rgba(8, 15, 31, 0.98);
  --select-bookings-card: rgba(12, 19, 38, 0.96);
  --select-bookings-ink: rgba(248, 250, 252, 0.96);
  --select-bookings-muted: rgba(203, 213, 225, 0.76);
  --select-bookings-faint: rgba(148, 163, 184, 0.72);
  --select-bookings-line: rgba(124, 92, 255, 0.72);
  --select-bookings-line-soft: rgba(255, 255, 255, 0.14);
  --select-bookings-violet: #8b5cf6;
  --select-bookings-violet-2: #a78bfa;

  .pisell-lowcode-floating-layer-content {
    background: linear-gradient(180deg, rgba(7, 13, 29, 0.98), var(--select-bookings-bg));
    border: 1px solid rgba(96, 118, 178, 0.7);
    border-radius: 22px;
    color: var(--select-bookings-ink);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  }

  .pisell-lowcode-floating-layer-header {
    min-height: 66px;
    padding: 20px 56px 18px;
    border-bottom: 1px solid var(--select-bookings-line-soft);
    color: var(--select-bookings-ink);
    text-align: center;
    font-size: 16px;
    font-weight: 950;
  }

  .pisell-lowcode-floating-layer-title {
    color: var(--select-bookings-ink);
    font-size: 16px;
    font-weight: 950;
    line-height: 1.5;
  }

  .pisell-lowcode-floating-layer-close {
    color: rgba(203, 213, 225, 0.56);

    &:hover {
      background: rgba(255, 255, 255, 0.08);
      color: var(--select-bookings-ink);
    }
  }

  .pisell-lowcode-floating-layer-body {
    padding: 0;
    background: var(--select-bookings-panel);
  }

  .pisell-lowcode-floating-layer-footer {
    padding: 0;
    border-top: 1px solid var(--select-bookings-line-soft);
    background: rgba(5, 10, 22, 0.92);
  }
}

.pisell-adjust-time-select-bookings {
  padding: 28px 26px 18px;

  h3 {
    margin: 0 0 6px;
    color: var(--select-bookings-ink);
    font-size: 21px;
    font-weight: 950;
    line-height: 1.25;
  }

  p {
    margin: 0 0 16px;
    color: var(--select-bookings-muted);
    font-size: 13px;
    font-weight: 850;
  }

  &__toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
  }

  &__chip {
    height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(167, 139, 250, 0.42);
    border-radius: 10px;
    background: rgba(18, 27, 52, 0.86);
    color: var(--select-bookings-ink);
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
  }

  &__chip--active {
    border-color: var(--select-bookings-violet-2);
    color: var(--select-bookings-violet-2);
    box-shadow: 0 0 0 1px rgba(167, 121, 255, 0.36);
  }

  &__list {
    display: grid;
    gap: 12px;
    max-height: min(46dvh, 380px);
    overflow-y: auto;
    padding-right: 2px;
  }

  &__item {
    width: 100%;
    min-height: 92px;
    padding: 16px 18px 16px 22px;
    border: 1px solid var(--select-bookings-line);
    border-radius: 14px;
    background: var(--select-bookings-card);
    color: var(--select-bookings-ink);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    text-align: left;
    box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.16);
    cursor: pointer;
  }

  &__item--selected {
    border-color: var(--select-bookings-violet-2);
    box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.5) inset,
    0 0 18px rgba(124, 92, 255, 0.12);
  }

  &__item-main {
    min-width: 0;
    display: grid;
    gap: 12px;

    strong {
      color: var(--select-bookings-ink);
      font-size: 18px;
      font-weight: 950;
      line-height: 1.2;
      letter-spacing: 0.01em;
    }

    span {
      display: flex;
      gap: 10px;
      align-items: baseline;
      min-width: 0;
    }

    span.pisell-adjust-time-select-bookings__item-product {
      display: block;
      color: var(--select-bookings-muted);
      font-size: 14px;
      font-weight: 800;
      line-height: 1.2;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    b {
      color: var(--select-bookings-ink);
      font-size: 16px;
      font-weight: 950;
    }

    em {
      color: var(--select-bookings-muted);
      font-size: 13px;
      font-style: normal;
      font-weight: 800;
    }
  }

  &__status {
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: var(--select-bookings-muted);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
  }

  &__checkbox {
    width: 22px;
    height: 22px;
    border: 1px solid rgba(148, 163, 184, 0.46);
    border-radius: 4px;
    background: transparent;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 950;
  }

  &__item--selected &__checkbox {
    border-color: transparent;
    background: var(--select-bookings-violet);
  }

  &__footer {
    padding: 12px 22px 22px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 10px;
  }

  &__footer-btn {
    min-width: 88px;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid rgba(71, 85, 105, 0.48);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.88);
    color: var(--select-bookings-ink);
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease, opacity 0.12s ease;

    &:hover:not(:disabled) {
      border-color: rgba(167, 139, 250, 0.52);
      background: rgba(30, 41, 59, 0.9);
    }
  }

  &__footer-btn--primary {
    min-width: 150px;
    border-color: rgba(216, 180, 254, 0.55);
    background: linear-gradient(135deg, #8b5cf6, #9333ea);
    color: #fff;
    box-shadow: 0 12px 26px rgba(91, 33, 182, 0.34);

    &:hover:not(:disabled) {
      border-color: rgba(233, 213, 255, 0.72);
      background: linear-gradient(135deg, #9461f5, #a855f7);
    }

    &:disabled {
      cursor: not-allowed;
      opacity: 0.48;
      box-shadow: none;
    }
  }
}

.pisell-adjust-time {
  &__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 12px 0;
    min-height: 58px;
    background: linear-gradient(180deg, rgba(16, 21, 44, 0.94), rgba(7, 14, 29, 0));
    flex-shrink: 0;
  }

  &__head-spacer {
    flex: 1;
  }

  &__head-action {
    position: relative;
    top: -4px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: rgba(203, 213, 225, 0.56);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    transition: background 0.12s ease, color 0.12s ease;

    svg {
      display: block;
    }

    &:hover {
      background: rgba(255, 255, 255, 0.08);
      color: var(--ink);
    }
  }

  &__head-action--back {
    font-size: 24px;
  }

  &__head-action--close {
    font-size: 30px;
  }

  &__tab {
    align-self: flex-end;
    height: 46px;
    min-width: 142px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    background: rgba(16, 20, 39, 0.92);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 800;
  }

  &__tab--active {
    color: #fff;
    background: linear-gradient(180deg, rgba(35, 27, 72, 1), rgba(20, 18, 48, 0.95));
    border-color: rgba(139, 92, 246, 0.95);
    box-shadow: 0 -1px 0 rgba(139, 92, 246, 0.7) inset;
  }

  &__body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-top: 1px solid rgba(14, 119, 217, 0.85);
    border-left: 1px solid rgba(14, 119, 217, 0.85);
    border-right: 1px solid rgba(14, 119, 217, 0.85);
    padding: 12px;
    background: #071122;
  }

  &__mode2 {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: stretch;
    gap: 8px;
    overflow: hidden;
  }

  &__rail {
    width: 270px;
    min-width: 220px;
    min-height: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--surface-2) 88%, #060811);
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
  }

  &__booking-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  &__product-head {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 12px;
    align-items: start;
  }

  &__venue-cover {
    width: 62px;
    height: 62px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    background: #111827;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      grid-column: 1 / -1;
      grid-row: 1 / -1;
    }

    span:nth-child(1) {
      background: linear-gradient(135deg, #6c9fd1, #16324e);
    }

    span:nth-child(2) {
      background: linear-gradient(135deg, #e8d0b0, #4b6d4b);
    }

    span:nth-child(3) {
      background: linear-gradient(135deg, #86c3cb, #102c37);
    }

    span:nth-child(4) {
      background: linear-gradient(135deg, #bdc9d4, #2b3e5e);
    }
  }

  &__title {
    font-size: 20px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.02em;
  }

  &__meta {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    row-gap: 4px;
    min-width: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    .pisell-adjust-time__meta-label {
      flex: 0 0 auto;
      white-space: nowrap;
    }

    strong {
      flex: 1 1 auto;
      min-width: min(100%, max-content);
      color: var(--ink);
      letter-spacing: 0;
      font-size: 15px;
      white-space: nowrap;
    }
  }

  &__was-block {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-weight: 800;
  }

  &__was-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  &__was-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
  }

  &__was-date {
    color: var(--muted);
    font-size: 14px;
    font-weight: 900;
  }

  &__pill-ended {
    margin-left: auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
  }

  &__actions {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
  }

  &__action {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(12, 22, 42, 0.78);
    color: var(--muted);
    display: grid;
    grid-template-columns: 42px 1fr 22px;
    align-items: start;
    gap: 10px;
    text-align: left;
    transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;

    &:hover {
      transform: translateY(-1px);
      border-color: rgba(183, 160, 255, 0.56);
    }
  }

  &__action--active {
    background: linear-gradient(135deg, #7b51e7, #8b5cf6);
    color: #fff;
    border-color: rgba(184, 160, 255, 0.85);
    box-shadow: 0 14px 34px rgba(124, 81, 231, 0.24);
  }

  &__icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    line-height: 1;
    background: rgba(138, 110, 255, 0.55);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
  }

  /** 单字符符号图标（◷ ⌁ ⟳）比时长文案需要更大字号 */
  &__icon--glyph {
    font-size: 24px;
  }

  &__icon--0 {
    background: linear-gradient(135deg, #20b7a4, #13796f);
  }

  &__icon--1 {
    background: linear-gradient(135deg, #8b5cf6, #5e3bd0);
  }

  &__icon--2 {
    background: linear-gradient(135deg, #e9912e, #a54d14);
  }

  &__icon--3 {
    background: linear-gradient(135deg, #2bbf83, #15855f);
  }

  &__icon--dim {
    background: linear-gradient(135deg, #66709b, #30395f);
  }

  &__action-main {
    min-width: 0;
    display: grid;
    gap: 3px;
    align-self: center;
  }

  &__action-label {
    color: currentColor;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.1;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  &__action-price {
    color: color-mix(in srgb, currentColor 75%, transparent);
    font-size: 13px;
    font-weight: 800;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  &__help {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: color-mix(in srgb, currentColor 72%, transparent);
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
    font-weight: 900;
  }

  &__main {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
  }

  &__section-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
  }

  &__head-icon {
    min-width: 48px;
    min-height: 48px;
    width: max-content;
    padding: 0 14px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    background: rgba(132, 93, 241, 0.2);
    border: 1px solid rgba(183, 160, 255, 0.35);
    color: var(--violet-2);
    font-size: 20px;
    font-weight: 950;
    line-height: 1;
  }

  &__kicker {
    color: var(--violet-2);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 950;
  }

  &__subtitle {
    margin-top: 7px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 750;
  }

  &__compare-top {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;

    strong {
      color: var(--ink);
    }
  }

  &__compare-card {
    position: relative;
    margin-top: 8px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-strong);
    background: linear-gradient(135deg, rgba(39, 39, 86, 0.94), rgba(31, 34, 73, 0.94));
    padding: 16px;
    display: grid;
    gap: 6px;
    box-shadow: inset 0 0 0 1px rgba(183, 160, 255, 0.08);
  }

  &__compare-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;

  }

  &__compare-ticket-count {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 15px;
    border: 1px solid rgba(203, 213, 225, 0.42);
    border-radius: 999px;
    background: rgba(21, 34, 58, 0.86);
    color: var(--ink);
    font-size: 14px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;

    &:hover:not(:disabled) {
      border-color: rgba(183, 160, 255, 0.8);
      background: rgba(44, 38, 84, 0.92);
    }

    &:disabled {
      cursor: default;
      opacity: 0.72;
    }
  }

  &__compare-ticket-icon {
    font-size: 16px;
    line-height: 1;
  }

  &__new-range {
    font-size: 28px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
  }

  &__duration-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--violet-2);
    font-size: 21px;
    font-weight: 950;

    small {
      color: var(--ink);
      font-size: 14px;
    }
  }

  &__duration-detail {
    color: var(--muted);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
  }

  &__duration-footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  &__effective-until {
    color: #f6c14f;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
  }

  &__status {
    margin-left: auto;
    color: #f3a85b;
    font-size: 14px;
  }

  &__manual-panel {
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(17, 28, 53, 0.82);
    padding: 12px;
  }

  &__manual-panel--visible {
    display: block;
  }

  &__end-time-box {
    display: grid;
    gap: 8px;
  }

  &__end-time-label {
    color: var(--violet-2);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  &__end-time-field {
    border-radius: var(--radius-md);
    background: rgba(9, 17, 34, 0.72);
    border: 1px solid var(--line);
    padding: 10px 12px;
    min-height: 56px;
    display: flex;
    align-items: center;
  }

  &__end-time-picker {
    width: 100%;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    .pisell-lowcode-picker-input {
      height: auto;

      > input {
        color: var(--ink) !important;
        font-size: 28px !important;
        font-weight: 950 !important;
        line-height: 1.1 !important;
        padding: 0 !important;
        cursor: pointer;
        font-variant-numeric: tabular-nums;
      }
    }

    .pisell-lowcode-picker-suffix {
      margin-left: auto;
    }
  }

  &__end-time-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;
  }

  &__end-time-edit-icon {
    font-size: 14px;
    text-decoration: none;
  }

  &__change-time-panel {
    display: none;
  }

  &__change-time-panel--visible {
    display: block;
  }

  &__change-time-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(17, 28, 53, 0.82);
    padding: 12px;
    display: grid;
    gap: 10px;
  }

  &__change-time-calendar {
    min-width: 0;
  }

  &__change-time-range {
    color: var(--ink);

    .MuiInputBase-root,
    .MuiOutlinedInput-root {
      min-height: 54px;
      border-radius: var(--radius-md);
      background: rgba(9, 17, 34, 0.72);
      color: var(--ink);
    }

    .MuiInputBase-input,
    input {
      color: var(--ink);
      font-size: 16px;
      font-weight: 900;
    }

    .MuiSvgIcon-root {
      color: var(--muted);
    }

    .MuiInputAdornment-root {
      margin-left: 8px;
    }

    fieldset {
      border-color: var(--line) !important;
    }

    &:hover fieldset {
      border-color: rgba(183, 160, 255, 0.62) !important;
    }
  }

  &__change-time-range-icon {
    color: var(--muted);
    font-size: 16px;
    line-height: 1;
  }

  &__change-time-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  &__change-time-time-field {
    display: grid;
    gap: 8px;
  }

  &__control-box {
    border-radius: var(--radius-md);
    background: rgba(9, 17, 34, 0.72);
    border: 1px solid var(--line);
    padding: 10px;
    display: grid;
    gap: 8px;

    label {
      color: var(--muted);
      font-size: 12px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }
  }

  &__price-section-title {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--violet-2);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  &__ticket-count {
    color: var(--ink);
    font-style: normal;
    font-weight: 950;
    text-transform: none;
    letter-spacing: 0;
  }

  &__price-grid {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(39, 39, 86, 0.94), rgba(30, 35, 72, 0.96));
    padding: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(220px, 2fr);
    gap: 8px;
    align-items: stretch;
  }

  &__price-stat {
    display: grid;
    place-content: center;
    gap: 7px;
    text-align: center;
    color: var(--muted);
    font-weight: 900;

    strong {
      color: var(--ink);
      font-size: 19px;
      font-variant-numeric: tabular-nums;
    }
  }

  &__amount-editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    grid-template-rows: auto 44px auto;
    gap: 6px 8px;
    padding: 8px;
    border: 1px solid rgba(126, 122, 214, 0.5);
    border-radius: var(--radius-md);
    background: rgba(21, 31, 60, 0.92);

    .pisell-adjust-time__amount-label {
      grid-column: 1 / -1;
      color: var(--muted);
      font-weight: 900;
      white-space: nowrap;
    }

    .pisell-adjust-time__amount-input {
      width: 100% !important;
      min-height: 0;
      height: 44px;
      padding: 0 12px;
      border: 1px solid rgba(152, 111, 255, 0.95);
      border-radius: 8px;
      background: rgba(50, 35, 95, 0.96);
      color: var(--ink);
      box-shadow: inset 0 0 0 1px rgba(202, 177, 255, 0.08);
      font-size: 18px;
      font-weight: 950;
      line-height: 1;
      text-align: left;

      &:hover {
        border-color: rgba(196, 175, 255, 1);
        background: rgba(58, 41, 110, 0.98);
      }

      &:focus-visible {
        border-color: rgba(183, 160, 255, 0.95);
        box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.26);
        outline: none;
      }
    }

    .pisell-adjust-time__amount-input-text {
      position: relative;
      display: inline-block;
      padding-bottom: 3px;
      line-height: 1;

      &::after {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        content: '';
      }
    }
  }

  &__amount-multiplier {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.3;
  }

  &__auto-btn {
    min-height: 0;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #12213d;
    color: var(--ink);
    font-weight: 950;
  }

  &__price-list {
    background: #111b33;
    padding: 14px 18px;
    display: grid;
    gap: 10px;

    h3 {
      color: var(--muted);
      font-size: 16px;
      font-weight: 900;
    }
  }

  &__rate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--ink);
    font-size: 14px;
    padding: 1px 0;
    font-variant-numeric: tabular-nums;

    span {
      min-width: 0;
      overflow-wrap: anywhere;
    }

    strong {
      flex: 0 0 auto;
    }
  }

  &__foot {
    width: 100%;
    flex-shrink: 0;
    min-height: 70px;
    padding: 12px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 96px 96px 1fr 138px 138px;
    gap: 10px;
    align-items: center;
    background: rgba(5, 9, 22, 0.9);
  }

  &__foot-btn {
    min-height: 48px;
    border-radius: 13px;
    border: 1px solid var(--line);
    background: rgba(16, 23, 42, 0.95);
    color: var(--ink);
    font-weight: 950;
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;

    &:hover:not(:disabled) {
      border-color: rgba(183, 160, 255, 0.56);
      background: rgba(22, 32, 58, 0.98);
    }

    /** Save 禁用时与 checkout 保持一致的不可提交反馈 */
    &:disabled {
      opacity: 0.45;
      cursor: not-allowed;
    }
  }

  &__foot-btn--checkout {
    background: linear-gradient(135deg, var(--violet), #9333ea);
    color: #fff;
    border-color: rgba(211, 190, 255, 0.45);
    box-shadow: 0 10px 24px rgba(124, 81, 231, 0.28);

    &:hover:not(:disabled) {
      background: linear-gradient(135deg, #9461f5, #a855f7);
      border-color: rgba(211, 190, 255, 0.65);
    }

    &:disabled {
      opacity: 0.45;
      cursor: not-allowed;
      box-shadow: none;
    }
  }

  @media (max-width: 640px) {
    &__head {
      flex-wrap: wrap;
    }

    &__head-spacer {
      display: none;
    }

    &__mode2 {
      flex-direction: column;
    }

    &__rail {
      width: 100%;
      flex: 0 0 auto;
      max-height: min(42dvh, 360px);
    }

    &__price-grid {
      grid-template-columns: 1fr;
    }

    &__foot {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
}
