/* iOS睿睿在线安装 — 橙色胶囊按钮（与领取激活码同款形态） */

.iosxrr-ios-ota {
  box-sizing: border-box;
  margin: 0;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.iosxrr-ios-ota--in-user-center {
  max-width: 100%;
}

.iosxrr-ios-user-center .iosxrr-ios-ota.zib-widget {
  margin-bottom: 0;
}

.iosxrr-ios-ota__hint {
  margin: 0;
  line-height: 1.65;
}

.iosxrr-ios-ota__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.iosxrr-ios-ota-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.iosxrr-ios-ota-row--btn-only .iosxrr-ios-ota-btn.but {
  min-width: 200px;
  min-height: 52px;
  padding: 0.55em 1.35em 0.55em 0.85em;
  font-weight: 900;
  font-size: 1.14rem;
  letter-spacing: 0.04em;
}

.iosxrr-ios-ota .iosxrr-ios-ota-btn.but {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(145deg, #ffb54a 0%, #ff8620 42%, #e85810 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 999px !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12),
    0 9px 18px rgba(232, 88, 16, 0.38),
    0 3px 8px rgba(0, 0, 0, 0.18);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transform: translateY(0);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.iosxrr-ios-ota .iosxrr-ios-ota-btn.but::before {
  content: "";
  position: absolute;
  left: 10%;
  top: 10%;
  width: 80%;
  height: 38%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.06) 100%);
  pointer-events: none;
}

.iosxrr-ios-ota .iosxrr-ios-ota-btn.but:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12),
    0 12px 22px rgba(232, 88, 16, 0.45),
    0 4px 10px rgba(0, 0, 0, 0.2);
}

.iosxrr-ios-ota .iosxrr-ios-ota-btn.but:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14),
    0 4px 9px rgba(232, 88, 16, 0.3),
    0 2px 5px rgba(0, 0, 0, 0.16);
}

.iosxrr-ios-ota .iosxrr-ios-ota-btn.but:focus {
  outline: none;
}

.iosxrr-ios-ota .iosxrr-ios-ota-btn.but:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.iosxrr-ios-ota__row-icon-wrap {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.iosxrr-ios-ota__row-icon-img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.iosxrr-ios-ota-btn__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 2px;
  min-width: 0;
}

.iosxrr-ios-ota-btn__title {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
  color: #fff !important;
}

.iosxrr-ios-ota-btn__sub {
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600;
}

.iosxrr-ios-ota__slot-placeholder {
  margin: 0;
}

.iosxrr-ios-ota__admin-note {
  margin: 0 0 12px;
}

.iosxrr-ios-ota-svc-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.iosxrr-ios-ota-svc-icon-wrap img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .iosxrr-ios-ota {
    max-width: 100%;
  }

  .iosxrr-ios-ota-row--btn-only .iosxrr-ios-ota-btn.but {
    min-width: 240px;
    min-height: 58px;
    font-size: 1.18rem;
  }

  .iosxrr-ios-ota__row-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .iosxrr-ios-ota__row-icon-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .iosxrr-ios-ota-btn__title {
    font-size: 1.08rem;
  }

  .iosxrr-ios-ota-btn__sub {
    font-size: 0.86rem;
  }
}

@media (max-width: 380px) {
  .iosxrr-ios-ota__list {
    gap: 8px;
  }

  .iosxrr-ios-ota-row--btn-only .iosxrr-ios-ota-btn.but {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    padding: 0.5em 1em 0.5em 0.75em;
  }

  .iosxrr-ios-ota__row-icon-wrap {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .iosxrr-ios-ota__row-icon-img {
    width: 26px;
    height: 26px;
    border-radius: 6px;
  }

  .iosxrr-ios-ota-btn__title {
    font-size: 0.92rem;
  }

  .iosxrr-ios-ota-btn__sub {
    font-size: 0.72rem;
  }
}

.dark-theme .iosxrr-ios-ota .iosxrr-ios-ota-btn.but {
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18),
    0 9px 18px rgba(0, 0, 0, 0.35),
    0 3px 8px rgba(232, 88, 16, 0.25);
}

/* —— 巨魔支持查询（TrollStore 机型 + 系统版本） —— */

html.iosxrr-ts-modal-open {
  overflow: hidden;
}

html.iosxrr-ts-tutorial-modal-open {
  overflow: hidden;
}

.iosxrr-ts-wrap {
  margin: 12px 0 0;
  text-align: center;
}

.iosxrr-ios-user-center .iosxrr-ts-wrap {
  margin-top: 14px;
}

.iosxrr-ts {
  margin: 0;
  text-align: center;
}

.iosxrr-ts__actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.iosxrr-ts__open {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(7, 193, 96, 0.5);
  background: linear-gradient(180deg, #f6fff9 0%, #e8f8ee 100%);
  color: #047857 !important;
  font-size: max(15px, 1rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(7, 193, 96, 0.12);
  -webkit-font-smoothing: antialiased;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.iosxrr-ts__open:hover {
  box-shadow: 0 4px 16px rgba(7, 193, 96, 0.22);
  border-color: rgba(5, 150, 105, 0.75);
}

.iosxrr-ts__open:focus {
  outline: none;
}

.iosxrr-ts__open:focus-visible {
  outline: 3px solid rgba(7, 193, 96, 0.45);
  outline-offset: 2px;
}

.iosxrr-ts__tutorial-open {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  color: #1d4ed8 !important;
  font-size: max(15px, 1rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.12);
  -webkit-font-smoothing: antialiased;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.iosxrr-ts__tutorial-open:hover {
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
  border-color: rgba(37, 99, 235, 0.65);
}

.iosxrr-ts__tutorial-open:focus {
  outline: none;
}

.iosxrr-ts__tutorial-open:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.45);
  outline-offset: 2px;
}

.iosxrr-ts-tutorial-modal {
  position: fixed;
  inset: 0;
  z-index: 100045;
  display: block;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.iosxrr-ts-tutorial-modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.iosxrr-ts-tutorial-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
}

.iosxrr-ts-tutorial-modal__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 12vh;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.18);
}

.iosxrr-ts-tutorial-modal__head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.iosxrr-ts-tutorial-modal__title {
  margin: 0;
  font-size: max(17px, 1.06rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.iosxrr-ts-tutorial-modal__close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.iosxrr-ts-tutorial-modal__close:hover {
  background: rgba(15, 23, 42, 0.1);
}

.iosxrr-ts-tutorial-modal__body {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 14px calc(18px + env(safe-area-inset-bottom, 0px));
}

.iosxrr-ts-tutorial-modal__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(100%, 480px);
  height: min(48vh, 440px);
  margin: 0 auto 16px;
  background: #f1f5f9;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

.iosxrr-ts-tutorial-modal__figure:last-of-type {
  margin-bottom: 0;
}

.iosxrr-ts-tutorial-modal__figure img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (min-width: 520px) {
  .iosxrr-ts-tutorial-modal__panel {
    top: 8vh;
    border-radius: 16px;
    max-height: 88vh;
  }
}

.dark-theme .iosxrr-ts-tutorial-modal__panel {
  background: #1f2937;
}

.dark-theme .iosxrr-ts-tutorial-modal__title {
  color: #f1f5f9;
}

.dark-theme .iosxrr-ts-tutorial-modal__head {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dark-theme .iosxrr-ts-tutorial-modal__figure {
  background: #0f172a;
}

.dark-theme .iosxrr-ts-tutorial-modal__close {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.iosxrr-ts-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: block;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.iosxrr-ts-modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.iosxrr-ts-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
}

.iosxrr-ts-modal__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  max-height: min(88vh, 720px);
  margin: 0 auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translate3d(0, 12px, 0);
  transition: transform 0.22s ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.iosxrr-ts-modal.is-open .iosxrr-ts-modal__panel {
  transform: translate3d(0, 0, 0);
}

.iosxrr-ts-modal--expanded .iosxrr-ts-modal__panel {
  max-height: 96vh;
  border-radius: 0;
}

@media (min-width: 520px) {
  .iosxrr-ts-modal {
    padding: 16px;
  }

  .iosxrr-ts-modal__panel {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: calc(100% - 32px);
    border-radius: 16px;
    max-height: min(86vh, 680px);
    transform: translate3d(-50%, -50%, 0) translate3d(0, 10px, 0);
  }

  .iosxrr-ts-modal.is-open .iosxrr-ts-modal__panel {
    transform: translate3d(-50%, -50%, 0);
  }

  .iosxrr-ts-modal--expanded .iosxrr-ts-modal__panel {
    border-radius: 12px;
    max-height: 94vh;
  }
}

.iosxrr-ts-modal__head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6px 48px 6px;
  min-height: 44px;
  background: #fff;
  border-bottom: none;
}

.iosxrr-ts-modal__title {
  display: none;
}

.iosxrr-ts-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.iosxrr-ts-modal__head-actions {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 2px;
}

.iosxrr-ts-modal__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
}

.iosxrr-ts-modal__icon-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #111827;
}

.iosxrr-ts-modal__model-line {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  padding: 12px 16px 14px;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  cursor: default;
  font-size: max(16px, 1.05rem);
  font-weight: 800;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  position: relative;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.iosxrr-ts-modal__model-name {
  border-bottom: 2px solid #ef4444;
  padding-bottom: 2px;
  pointer-events: none;
  color: inherit;
  -webkit-text-fill-color: currentColor;
}

.iosxrr-ts-modal__scroll {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 12px 88px;
  background: #fff;
}

.iosxrr-ts-modal__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.iosxrr-ts-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.iosxrr-ts-card__thumb {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iosxrr-ts-card__thumb img {
  display: block;
  image-rendering: auto;
}

.iosxrr-ts-card__thumb-ph {
  color: #9ca3af;
}

.iosxrr-ts-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.iosxrr-ts-card__ios {
  font-size: max(16px, 1.08rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.iosxrr-ts-card__meta {
  margin-top: 5px;
  font-size: max(13px, 0.84rem);
  color: #475569;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.iosxrr-ts-card__state-wrap {
  flex: 0 0 auto;
}

.iosxrr-ts-card__state {
  display: flex;
  align-items: center;
  justify-content: center;
}

.iosxrr-ts-card__thumb--iphone {
  width: 30px;
  height: 56px;
  border-radius: 8px;
}

.iosxrr-ts-card__thumb--iphone .iosxrr-ts-card__device-img,
.iosxrr-ts-card__thumb--ipad .iosxrr-ts-card__device-img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  image-rendering: auto;
}

.iosxrr-ts-card__thumb--ipad {
  width: 78px;
  height: 56px;
  border-radius: 8px;
}

.iosxrr-ts-dock {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  margin: 0 12px 12px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: none;
}

.iosxrr-ts-dock__btn {
  flex: 1 1 0;
  max-width: 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 8px 9px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  font-size: max(12px, 0.78rem);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  -webkit-font-smoothing: antialiased;
}

.iosxrr-ts-dock__btn.is-active {
  background: rgba(7, 193, 96, 0.14);
  color: #047857;
}

.iosxrr-ts-dock__ic {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.iosxrr-ts-dock__img--iphone {
  height: 42px;
  width: auto;
  max-width: 30px;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
}

.iosxrr-ts-dock__img--ipad {
  height: 42px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
}

.iosxrr-ts-dock__lab {
  line-height: 1.2;
  white-space: nowrap;
}

.iosxrr-ts-fab {
  position: absolute;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  top: auto;
  left: auto;
  transform: none;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: auto;
  min-width: 156px;
  height: auto;
  padding: 26px 4px 4px;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, visibility 0.15s ease, filter 0.12s ease;
  filter: drop-shadow(0 12px 22px rgba(15, 23, 42, 0.2)) drop-shadow(0 4px 8px rgba(15, 23, 42, 0.1));
}

.iosxrr-ts-modal--sheet .iosxrr-ts-fab {
  visibility: hidden;
  pointer-events: none;
}

/* 浮层打开时隐藏主面板机型红线下划，避免仍显示「原机型」像被框住；仅底部 sheet 标题随滚轮更新 */
.iosxrr-ts-modal--sheet .iosxrr-ts-modal__model-line {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.iosxrr-ts-fab:active {
  transform: scale(0.96);
  filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.16)) drop-shadow(0 2px 6px rgba(15, 23, 42, 0.08));
}

.iosxrr-ts-fab__core {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  flex: 0 0 auto;
  flex-shrink: 0;
  z-index: 1;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #29b6f6;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.iosxrr-ts-fab.is-filter-on .iosxrr-ts-fab__core {
  box-shadow:
    0 0 0 3px rgba(7, 193, 96, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.iosxrr-ts-fab:focus-visible {
  outline: none;
}

.iosxrr-ts-fab:focus-visible .iosxrr-ts-fab__core {
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.45),
    inset 0 2px 0 rgba(255, 255, 255, 0.45);
}

.iosxrr-ts-fab__img {
  display: block;
  width: 88%;
  height: 88%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  transform: none;
  border: none;
  pointer-events: none;
}

/* 沿按钮上沿外侧圆弧排布，与设计图一致（蓝–红–蓝） */
.iosxrr-ts-fab__caption {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 158px;
  height: 42px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  overflow: visible;
}

.iosxrr-ts-fab__caption-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: center top;
  animation: iosxrr-ts-fab-caption-live 2.5s ease-in-out infinite;
  filter: drop-shadow(0 0 0.5px rgba(255, 255, 255, 0.95)) drop-shadow(0 1px 1px rgba(255, 255, 255, 0.88));
}

.iosxrr-ts-fab__cap-svgtext {
  font-size: 12px;
  font-weight: 800;
  font-family: system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  letter-spacing: 0.12em;
}

.iosxrr-ts-fab__cap-p1,
.iosxrr-ts-fab__cap-p3 {
  fill: #0d47a1;
}

.iosxrr-ts-fab__cap-mid {
  fill: #e53935;
}

@keyframes iosxrr-ts-fab-caption-live {
  0%,
  100% {
    opacity: 0.88;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0.5px rgba(255, 255, 255, 0.95)) drop-shadow(0 1px 1px rgba(255, 255, 255, 0.88));
  }
  50% {
    opacity: 1;
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 1)) drop-shadow(0 1px 2px rgba(13, 71, 161, 0.25))
      drop-shadow(0 0 10px rgba(229, 57, 53, 0.2));
  }
}

.iosxrr-ts-modal__disclaimer {
  margin: 14px 4px 6px;
  font-size: max(12px, 0.78rem);
  line-height: 1.6;
  color: #475569;
  font-weight: 500;
}

.iosxrr-ts-sheet {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.iosxrr-ts-sheet.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.iosxrr-ts-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
}

.iosxrr-ts-sheet__panel {
  position: relative;
  width: 100%;
  max-height: 62%;
  background: #e8e8ed;
  border-radius: 12px 12px 0 0;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  display: flex;
  flex-direction: column;
  transform: translate3d(0, 100%, 0);
  transition: transform 0.24s ease;
}

.iosxrr-ts-sheet.is-open .iosxrr-ts-sheet__panel {
  transform: translate3d(0, 0, 0);
}

.iosxrr-ts-sheet__title {
  flex: 0 0 auto;
  text-align: center;
  padding: 4px 16px 2px;
  margin: 0;
  font-size: max(17px, 1.08rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.iosxrr-ts-sheet__model-name {
  display: inline-block;
  border-bottom: 2px solid #ef4444;
  padding-bottom: 2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
  color: inherit;
  -webkit-text-fill-color: currentColor;
}

.iosxrr-ts-sheet__btn {
  flex: 1;
  min-height: 48px;
  border: none;
  border-radius: 10px;
  font-size: max(16px, 1.02rem);
  font-weight: 800;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
}

.iosxrr-ts-wheel {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 12px 4px;
}

.iosxrr-ts-sheet__wheel-hint {
  margin: 0;
  padding: 0 16px 6px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.iosxrr-ts-wheel__viewport {
  position: relative;
  height: 288px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
  isolation: isolate;
}

.iosxrr-ts-wheel__viewport::before,
.iosxrr-ts-wheel__viewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 0;
  height: 76px;
  pointer-events: none;
}

.iosxrr-ts-wheel__viewport::before {
  top: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), transparent);
}

.iosxrr-ts-wheel__viewport::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.97), transparent);
}

/* 不用视口正中固定条，选中框画在当前行上并随列表滚动切换 */
.iosxrr-ts-wheel__bar {
  display: none;
}

.iosxrr-ts-wheel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  padding-left: 10px;
  padding-right: 10px;
}

.iosxrr-ts-wheel__item {
  height: 48px;
  line-height: 48px;
  text-align: center;
  font-size: max(15px, 1.02rem);
  font-weight: 700;
  color: #0f172a;
  -webkit-text-fill-color: #0f172a;
  padding: 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-font-smoothing: antialiased;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  opacity: 0.38;
  transition: opacity 0.14s ease, color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
  position: relative;
  z-index: 1;
  border-radius: 10px;
}

.iosxrr-ts-wheel__item.is-centered {
  opacity: 1;
  color: #047857;
  -webkit-text-fill-color: #047857;
  font-weight: 800;
  z-index: 2;
  box-sizing: border-box;
  background: rgba(236, 253, 245, 0.92);
  border: 2px solid rgba(7, 193, 96, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 2px 10px rgba(7, 193, 96, 0.14);
}

.iosxrr-ts-sheet__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  padding: 10px 12px 14px;
  background: #f3f4f6;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.iosxrr-ts-sheet__btn--cancel {
  background: #fff;
  color: #07c160;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.iosxrr-ts-sheet__btn--ok {
  background: #07c160;
  color: #fff;
  box-shadow: 0 2px 10px rgba(7, 193, 96, 0.35);
}

.dark-theme .iosxrr-ts-dock {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.dark-theme .iosxrr-ts-dock__btn {
  color: #94a3b8;
}

.dark-theme .iosxrr-ts-dock__btn.is-active {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

.dark-theme .iosxrr-ts-fab__cap-p1,
.dark-theme .iosxrr-ts-fab__cap-p3 {
  fill: #90caf9;
}

.dark-theme .iosxrr-ts-fab__cap-mid {
  fill: #ff8a80;
}

.dark-theme .iosxrr-ts-fab__core {
  background: #29b6f6;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.22);
}

.dark-theme .iosxrr-ts-fab.is-filter-on .iosxrr-ts-fab__core {
  box-shadow:
    0 0 0 3px rgba(52, 211, 153, 0.45),
    inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.dark-theme .iosxrr-ts-fab:focus-visible .iosxrr-ts-fab__core {
  box-shadow:
    0 0 0 3px rgba(52, 211, 153, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.dark-theme .iosxrr-ts-fab__caption-svg {
  filter: drop-shadow(0 0 1px rgba(15, 23, 42, 0.95)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.dark-theme .iosxrr-ts-wheel__viewport {
  background: #1f2937;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dark-theme .iosxrr-ts-wheel__viewport::before {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.98), transparent);
}

.dark-theme .iosxrr-ts-wheel__viewport::after {
  background: linear-gradient(0deg, rgba(30, 41, 59, 0.98), transparent);
}

.dark-theme .iosxrr-ts-wheel__item {
  color: #f1f5f9;
  -webkit-text-fill-color: #f1f5f9;
}

.dark-theme .iosxrr-ts-wheel__item.is-centered {
  color: #6ee7b7;
  -webkit-text-fill-color: #6ee7b7;
  background: rgba(6, 78, 59, 0.65);
  border: 2px solid rgba(52, 211, 153, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 2px 12px rgba(0, 0, 0, 0.25);
}

.dark-theme .iosxrr-ts-modal__panel,
.dark-theme .iosxrr-ts-modal__head,
.dark-theme .iosxrr-ts-modal__model-line,
.dark-theme .iosxrr-ts-modal__scroll,
.dark-theme .iosxrr-ts-card {
  background: #1f2937;
  color: #f3f4f6;
}

.dark-theme .iosxrr-ts-modal__model-line,
.dark-theme .iosxrr-ts-card__ios {
  color: #f9fafb;
}

.dark-theme .iosxrr-ts-card__meta,
.dark-theme .iosxrr-ts-modal__disclaimer {
  color: #9ca3af;
}

.dark-theme .iosxrr-ts-sheet__title {
  color: #f9fafb;
}

.dark-theme .iosxrr-ts-card__thumb {
  background: #1f2937;
}

.dark-theme .iosxrr-ts-sheet__panel {
  background: #111827;
}

.dark-theme .iosxrr-ts-sheet__actions {
  background: #0f172a;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.dark-theme .iosxrr-ts-sheet__btn--cancel {
  background: #334155;
  color: #4ade80;
}

.dark-theme .iosxrr-ts-wheel__bar {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(6, 78, 59, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 2px 12px rgba(0, 0, 0, 0.35);
}

.dark-theme .iosxrr-ts__open {
  background: linear-gradient(180deg, #14532d 0%, #166534 100%);
  border-color: rgba(52, 211, 153, 0.4);
  color: #a7f3d0 !important;
}

.dark-theme .iosxrr-ts__tutorial-open {
  background: linear-gradient(180deg, #1e3a5f 0%, #1e293b 100%);
  border-color: rgba(96, 165, 250, 0.45);
  color: #bfdbfe !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.dark-theme .iosxrr-ts__tutorial-open:hover {
  border-color: rgba(147, 197, 253, 0.65);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
