.page-ios-tee,
.page-ios-tee .ios-tee-wrap {
  background: #0c0c0e;
}

.ios-tee-wrap {
  padding-top: 0.35rem;
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  min-height: calc(100vh - var(--knotnow-ios-tab-clearance, 0px));
  min-width: 0;
  box-sizing: border-box;
  overflow-x: visible;
}

.ios-tee-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.ios-tee-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.ios-tee-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ios-tee-card--link .ios-invite-feed-promo-cta {
  margin-top: 0.85rem;
}

.ios-tee-card {
  margin: 0 0 0.85rem;
  padding: 1.05rem 1rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141820;
}

.ios-tee-card-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ios-tee-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.ios-tee-card-copy {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.ios-tee-buy-copy p {
  margin: 0.55rem 0 0;
}

.ios-tee-buy-copy p:first-child {
  margin-top: 0;
}

.ios-tee-buy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.05rem;
  margin: 0.7rem 0 0;
}

.ios-tee-buy-copy a,
.ios-tee-card-copy a,
.ios-tee-text-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.ios-tee-buy-copy a:hover,
.ios-tee-buy-copy a:focus-visible,
.ios-tee-card-copy a:hover,
.ios-tee-card-copy a:focus-visible,
.ios-tee-text-link:hover,
.ios-tee-text-link:focus-visible {
  color: #fff;
}

.page-ios-tee .footer-engage-note a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-ios-tee .footer-engage-note a:hover,
.page-ios-tee .footer-engage-note a:focus-visible {
  color: rgba(255, 255, 255, 0.7);
}

#ios-tee-how,
#ios-tee-progress-title,
#ios-tee-size-guide {
  scroll-margin-top: 5.5rem;
}

.ios-tee-size-link {
  margin-left: 0.55rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.ios-tee-size-link:hover,
.ios-tee-size-link:focus-visible {
  color: #fff;
}

.ios-tee-spec {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

.ios-tee-size-scroll {
  margin-top: 0.9rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ios-tee-size-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.ios-tee-size-table th,
.ios-tee-size-table td {
  padding: 0.55rem 0.6rem;
  text-align: center;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ios-tee-size-table thead th {
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
}

.ios-tee-size-table th[scope="row"] {
  text-align: left;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

.ios-tee-size-table td {
  color: rgba(255, 255, 255, 0.88);
}

.ios-tee-card--progress {
  border-color: rgba(230, 73, 128, 0.42);
  background:
    radial-gradient(ellipse 90% 80% at 100% -10%, rgba(230, 73, 128, 0.28), transparent 52%),
    #1b1218;
  box-shadow: 0 12px 36px rgba(220, 74, 109, 0.14);
}

.ios-tee-progress-score {
  margin: 0.15rem 0 0.35rem;
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
}

.ios-tee-progress-score b {
  color: #fff;
}

.ios-tee-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0.85rem 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.ios-tee-card--progress .ios-tee-progress-meta {
  color: rgba(255, 255, 255, 0.86);
}

.ios-tee-progress-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.ios-tee-card--progress .ios-tee-progress-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.ios-tee-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(135deg, #e64980, #dc4a6d);
  transition: width 0.35s ease;
}

.ios-tee-mate-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.ios-tee-mate-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.86);
}

.ios-tee-mate-list li:first-child {
  border-top: 0;
}

.ios-tee-mate-status {
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
}

.ios-tee-mate-status.is-in {
  color: #7ee0b0;
}

.ios-tee-steps {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.ios-tee-steps li {
  display: flex;
  gap: 0.7rem;
  margin: 0 0 0.75rem;
}

.ios-tee-steps li:last-child {
  margin-bottom: 0;
}

.ios-tee-step-num {
  flex: 0 0 1.55rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(230, 73, 128, 0.18);
  color: #ff8fab;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ios-tee-step-body strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #fff;
  font-size: 0.9rem;
}

.ios-tee-step-body span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

.ios-tee-link-row {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
}

.ios-tee-link-row input {
  flex: 1 1 auto;
  min-width: 0;
  appearance: none;
  margin: 0;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #fff;
  color: #4a4a4a;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
}

.ios-tee-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.ios-tee-actions .ios-invite-friends-cta {
  flex: 1 1 10rem;
}

.ios-tee-form-grid {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.ios-tee-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ios-tee-form-grid select.ios-invite-friends-input {
  appearance: none;
  -webkit-appearance: none;
  color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.ios-tee-form-grid select.ios-invite-friends-input option {
  color: #111;
}

.ios-tee-status {
  margin: 0.45rem 0 0;
  min-height: 1.15em;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
}

.ios-tee-status.err {
  color: #ff8fab;
}

.ios-tee-status.ok {
  color: #7ee0b0;
}

.ios-tee-banner {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(126, 224, 176, 0.12);
  border: 1px solid rgba(126, 224, 176, 0.28);
  color: #c8f5dc;
  font-size: 0.86rem;
  font-weight: 700;
}

.ios-tee-banner--warn {
  background: rgba(230, 73, 128, 0.12);
  border-color: rgba(230, 73, 128, 0.28);
  color: #ffd0dc;
}

.ios-tee-shop {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
  margin: 0 0 0.85rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 820px) {
  .ios-tee-shop {
    grid-template-columns: minmax(0, 24rem) minmax(0, 1fr);
    align-items: start;
  }
}

.ios-tee-gallery,
.ios-tee-buy,
.ios-tee-bag {
  min-width: 0;
  max-width: 100%;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141820;
  scroll-margin-top: 1.2rem;
  box-sizing: border-box;
}

.ios-tee-gallery {
  overflow: visible;
}

.ios-tee-buy .ios-tee-complete {
  margin-top: 0.85rem;
}

.ios-tee-complete .ios-tee-add {
  margin-top: 0.75rem;
}

.ios-tee-hero {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #1a1d24;
  aspect-ratio: 4 / 5;
}

.ios-tee-hero img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.ios-tee-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin: 0.55rem 0 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) rgba(0, 0, 0, 0.45);
}

.ios-tee-thumbs::-webkit-scrollbar {
  height: 6px;
}

.ios-tee-thumbs::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 999px;
}

.ios-tee-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.ios-tee-thumbs::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.32);
}

.ios-tee-thumbs button {
  flex: 0 0 3.4rem;
  width: 3.4rem;
  height: 3.4rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1d24;
  cursor: pointer;
  touch-action: pan-x;
}

.ios-tee-thumbs button.is-on {
  border-color: #e64980;
}

@media (max-width: 819px) {
  .ios-tee-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(3.2rem, 1fr));
    overflow: visible;
    touch-action: auto;
  }

  .ios-tee-thumbs button {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    flex: none;
    touch-action: manipulation;
  }
}

.ios-tee-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ios-tee-buy-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ios-tee-buy-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.ios-tee-buy-price {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.ios-tee-field-label {
  display: block;
  margin: 0.95rem 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.ios-tee-swatches {
  display: flex;
  gap: 0.45rem;
}

.ios-tee-swatch {
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: #f4f1ea;
  cursor: pointer;
}

.ios-tee-swatch.is-on {
  outline: 2px solid #e64980;
  outline-offset: 2px;
}

.ios-tee-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ios-tee-sizes button {
  min-width: 2.7rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.ios-tee-sizes button.is-on {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.ios-tee-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
  min-height: 2.7rem;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}

.ios-tee-bag-title {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.ios-tee-bag-item {
  display: grid;
  grid-template-columns: 4.2rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.ios-tee-bag-item img {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: cover;
  border-radius: 8px;
}

.ios-tee-bag-item strong {
  display: block;
  color: #fff;
}

.ios-tee-bag-item span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
}

.ios-tee-bag-item b {
  color: #fff;
  font-size: 0.92rem;
}

.ios-tee-coupon-label {
  margin: 1rem 0 0.45rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
}

.ios-tee-coupon-row {
  display: flex;
  gap: 0.4rem;
}

.ios-tee-coupon-row input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #fff;
  color: #222;
  font: inherit;
}

.ios-tee-coupon-row button {
  flex: 0 0 auto;
  padding: 0.65rem 0.9rem;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.ios-tee-totals {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.ios-tee-totals li {
  display: flex;
  justify-content: space-between;
  padding: 0.28rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.ios-tee-totals li.is-total {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 800;
  color: #fff;
}

.ios-tee-complete {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0.85rem 0 0;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: rgba(126, 224, 176, 0.1);
  border: 1px solid rgba(126, 224, 176, 0.28);
}

.ios-tee-complete[hidden] {
  display: none;
}

.ios-tee-tick {
  flex: 0 0 1.7rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #2fbf7a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
}

.ios-tee-complete-copy strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.ios-tee-thanks .ios-tee-card-title {
  font-size: 1.55rem;
}

.ios-tee-thanks-actions {
  margin: 1.1rem 0 0;
}

.ios-tee-thanks-actions .ios-tee-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 12rem;
  padding: 0.7rem 1.15rem;
  text-decoration: none;
  box-sizing: border-box;
}

.ios-tee-thanks-photo {
  margin: 0 0 0.85rem;
  overflow: hidden;
  border-radius: 16px;
  background: #141820;
}

.ios-tee-thanks-photo img {
  display: block;
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
  object-position: center 20%;
}

.ios-tee-complete-copy span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

.ios-tee-code-row {
  display: flex;
  gap: 0.4rem;
  margin: 0.7rem 0 0;
}

.ios-tee-code-row input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(126, 224, 176, 0.35);
  background: #0f1612;
  color: #c8f5dc;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
}
