#check-screen[hidden],
#post-screen[hidden] {
  display: none !important;
}

#check-screen, #check-screen * {
  box-sizing: border-box;
}

#check-screen {
  margin: 0;
  min-height: 100vh;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f5f5f7;
  color: #1d1d1f;
  line-height: 1.5;
}

#check-screen .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#check-screen .hero {
  padding: 8px 0 4px;
  text-align: center;
}

#check-screen .hero-badge {
  display: inline-block;
  margin-bottom: 3px;
  padding: 3px 10px;
  border: 1px solid #c8e6c9;
  border-radius: 20px;
  background: linear-gradient(135deg, #e8f5e9, #fff);
  color: #2e7d32;
  font-size: 11px;
  font-weight: 500;
}

#check-screen .hero h1 {
  margin: 0 0 2px;
  color: #1d1d1f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

#check-screen .hero-subtitle {
  margin: 0 0 12px;
  color: #86868b;
  font-size: 12px;
}

#check-screen .phone-form {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

#check-screen .track-info-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #f5f5f7;
}

#check-screen .carrier-logo-small {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 7px;
  background: #6366f1;
  color: #fff;
  font-size: 13px;
}

#check-screen .carrier-logo-small img {
  width: 100%;
  height: 100%;
  padding: 3px;
  object-fit: contain;
}

#check-screen .track-details-compact {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

#check-screen .track-number {
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  word-break: break-all;
}

#check-screen .carrier-name {
  color: #86868b;
  font-size: 10px;
}

#check-screen .change-link,
#check-screen .change-service-link a {
  color: #007aff;
  text-decoration: none;
  white-space: nowrap;
}

#check-screen .change-link {
  font-size: 10px;
}

#check-screen .change-link:hover,
#check-screen .change-service-link a:hover {
  text-decoration: underline;
}

#check-screen .progress-with-labels {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 2px;
  padding: 2px 0;
}

#check-screen .progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

#check-screen .progress-item span {
  color: #86868b;
  font-size: 7px;
  white-space: nowrap;
}

#check-screen .progress-item.done span {
  color: #34c759;
}

#check-screen .progress-item.active span {
  color: #007aff;
  font-weight: 600;
}

#check-screen .progress-step-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #999;
  font-size: 8px;
}

#check-screen .progress-step-sm.done {
  background: linear-gradient(135deg, #34c759, #30d158);
  color: #fff;
}

#check-screen .progress-step-sm.active {
  background: linear-gradient(135deg, #007aff, #5856d6);
  box-shadow: 0 0 0 1px rgba(0, 122, 255, 0.2);
  color: #fff;
}

#check-screen .dot-pulse {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.4);
  }
}

#check-screen .progress-line-sm {
  width: 12px;
  height: 1.5px;
  margin-top: 7px;
  border-radius: 2px;
  background: #e0e0e0;
}

#check-screen .progress-line-sm.done {
  background: #34c759;
}

#check-screen .progress-line-sm.active {
  background: linear-gradient(90deg, #34c759, #007aff);
}

#check-screen .phone-form-content {
  text-align: center;
}

#check-screen .urgency-hint {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 4px;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(52, 199, 89, 0.1);
  color: #34c759;
  font-size: 9px;
}

#check-screen .urgency-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #34c759;
  animation: pulse-urgency 2s infinite;
}

@keyframes pulse-urgency {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

#check-screen .email-form {
  display: grid;
  gap: 8px;
}

#check-screen .email-form .input-group {
  margin: 0;
}

#check-screen .email-form .input-group input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e5e7;
  border-radius: 12px;
  outline: none;
  background: #fff;
  box-shadow: none;
  font-size: 16px;
}

#check-screen .email-form .input-group input:focus {
  border-color: #007aff;
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

#check-screen .btn-primary {
  width: 100%;
  min-height: 48px;
  padding: 13px 24px;
  border: 0;
  border-radius: 12px;
  background: var(--cta-gradient);
  box-shadow: var(--cta-shadow);
  color: #fff;
  cursor: pointer;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

#check-screen .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--cta-shadow-hover);
  filter: saturate(1.03);
}

#check-screen .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(27, 110, 242, 0.24);
}

#check-screen .btn-email {
  display: grid;
  justify-items: center;
}

#check-screen .email-prompt {
  margin: 0;
  color: #86868b;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}

#check-screen .email-prompt.is-invalid {
  color: #ff3b30;
  text-shadow: 0 0 10px rgba(255, 59, 48, 0.18);
}

#check-screen .email-prompt.is-flashing {
  animation: email-prompt-flash 0.9s ease;
}

@keyframes email-prompt-flash {
  0%,
  100% {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }
}

#check-screen .btn-email .btn-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

#check-screen .email-helper {
  margin: 0;
  color: #888;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

#check-screen .trust-compact {
  margin-top: 2px;
  color: #86868b;
  font-size: 9px;
}

#check-screen .trust-compact span {
  display: inline-block;
}

#check-screen .storage-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 0;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 149, 0, 0.1);
  color: #e65100;
  font-size: 9px;
}

#check-screen .change-service-link {
  margin-top: 4px;
  text-align: center;
}

#check-screen .change-service-link a {
  color: #86868b;
  font-size: 11px;
}

#check-screen .form-error {
  min-height: 18px;
  margin: 0;
  color: #ff3b30;
  font-size: 12px;
  text-align: left;
}

#check-screen .carriers-section {
  margin-bottom: 32px;
}

#check-screen .section-title {
  margin: 0 0 4px;
  color: #1d1d1f;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

#check-screen .section-subtitle {
  margin: 0 0 20px;
  color: #86868b;
  font-size: 14px;
  text-align: center;
}

#check-screen .carriers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

#check-screen .carrier-item {
  display: flex;
  min-height: 100px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

#check-screen .carrier-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

#check-screen .carrier-item-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 12px;
}

#check-screen .carrier-item-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#check-screen .carrier-item-name {
  max-width: 100%;
  overflow: hidden;
  color: #1d1d1f;
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#check-screen .carriers-more {
  margin-top: 16px;
  color: #86868b;
  font-size: 13px;
  text-align: center;
}

#check-screen .features-section {
  margin-bottom: 32px;
}

#check-screen .features-inline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 0;
}

#check-screen .feature-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1d1d1f;
  font-size: 14px;
}

#check-screen .feature-icon-sm {
  font-size: 18px;
}

#check-screen .reviews-section {
  margin-bottom: 20px;
}

#check-screen .helped-find-block {
  margin-bottom: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#check-screen .helped-find-block h3 {
  margin: 0 0 16px;
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

#check-screen .helped-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

#check-screen .helped-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f5f5f7;
}

#check-screen .helped-icon {
  font-size: 24px;
}

#check-screen .helped-info strong {
  display: block;
  color: #1d1d1f;
  font-size: 18px;
  font-weight: 700;
}

#check-screen .helped-info span {
  color: #86868b;
  font-size: 11px;
}

#check-screen .success-stories {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#check-screen .reviews-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

#check-screen .reviews-rating {
  font-size: 15px;
  font-weight: 600;
}

#check-screen .reviews-count {
  color: #86868b;
  font-size: 13px;
}

#check-screen .reviews-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

#check-screen .review-mini {
  padding: 14px;
  border-radius: 12px;
  background: #f5f5f7;
}

#check-screen .review-mini.success-story {
  border-left: 3px solid #34c759;
}

#check-screen .review-stars {
  margin-bottom: 6px;
  font-size: 10px;
}

#check-screen .review-mini strong {
  display: block;
  margin-bottom: 6px;
  color: #1d1d1f;
  font-size: 13px;
}

#check-screen .review-mini p {
  margin: 0;
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}

#check-screen .phone-page-footer {
  margin-top: 20px;
  padding: 24px 0 40px;
  background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
}

#check-screen .mini-testimonial {
  margin-bottom: 24px;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
}

#check-screen .testimonial-stars {
  margin-bottom: 8px;
  font-size: 14px;
}

#check-screen .testimonial-text {
  margin-bottom: 8px;
  color: #1d1d1f;
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
}

#check-screen .testimonial-author {
  color: #86868b;
  font-size: 12px;
  font-weight: 500;
}

#check-screen .trust-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

#check-screen .trust-stat {
  text-align: center;
}

#check-screen .trust-stat strong {
  display: block;
  color: #1d1d1f;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

#check-screen .trust-stat span {
  color: #86868b;
  font-size: 11px;
}

#check-screen .trust-divider {
  width: 1px;
  height: 32px;
  background: #e5e5e7;
}

#check-screen .commercial-notice {
  padding: 15px 20px 28px;
  color: #888;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 768px) {
#check-screen .helped-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

#check-screen .helped-stat {
    padding: 10px 12px;
  }

#check-screen .reviews-scroll {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

#check-screen .reviews-scroll::-webkit-scrollbar {
    display: none;
  }

#check-screen .review-mini {
    width: 240px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

@media (max-width: 520px) {
#check-screen .carriers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

#check-screen .carrier-item {
    min-height: 85px;
    padding: 14px 6px;
  }

#check-screen .carrier-item-logo {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
  }

#check-screen .carrier-item-name {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
#check-screen .container {
    padding: 0 14px;
  }

#check-screen .hero {
    padding: 6px 0 3px;
  }

#check-screen .hero-badge {
    margin-bottom: 2px;
    padding: 2px 8px;
    font-size: 10px;
  }

#check-screen .hero h1 {
    margin-bottom: 1px;
    font-size: 19px;
    line-height: 1.15;
  }

#check-screen .hero-subtitle {
    font-size: 11px;
  }

#check-screen .btn-primary {
    min-height: 46px;
    padding: 12px 20px;
  }

#check-screen .email-prompt {
    font-size: 11px;
  }

#check-screen .btn-email .btn-label {
    font-size: 15px;
  }

#check-screen .trust-compact {
    font-size: 8px;
  }

#check-screen .storage-warning {
    margin-top: 0;
    padding: 2px 6px;
    font-size: 8px;
  }

#check-screen .change-service-link {
    margin-top: 3px;
  }

#check-screen .change-service-link a {
    font-size: 10px;
  }

#check-screen .features-inline {
    gap: 16px;
  }

#check-screen .feature-inline {
    font-size: 13px;
  }

#check-screen .trust-stats {
    gap: 16px;
  }

#check-screen .trust-stat strong {
    font-size: 18px;
  }

#check-screen .trust-divider {
    display: none;
  }
}
