:root {
  color-scheme: light;
  --ink: #16243a;
  --muted: #627189;
  --line: #d8e1ed;
  --surface: #ffffff;
  --page: #f3f6fb;
  --primary: #3379f6;
  --primary-dark: #1f56bc;
  --platform-accent: #2771ef;
  --normal: #12a33a;
  --normal-soft: #e9f8ed;
  --abnormal: #f22935;
  --abnormal-soft: #fff0f0;
  --unknown: #8191aa;
  --unknown-soft: #f0f2f5;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 0;
  background: var(--page);
  color: var(--ink);
}

button, textarea { font: inherit; }

.page-shell {
  width: min(1440px, calc(100% - 24px));
  margin: 0 auto;
  padding: 12px 0 38px;
}

.tool-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 122px;
  padding: 22px 26px;
  border-radius: 18px;
  background: linear-gradient(118deg, #214e9e 0%, #346af1 58%, #159bd0 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(32, 79, 166, 0.2);
}

.hero-copy { min-width: 0; }
.eyebrow {
  margin: 0 0 6px;
  color: #b8ffed;
  font-size: 12px;
  font-weight: 800;
}
.eyebrow span { margin-right: 5px; }
h1 { margin: 0; font-size: clamp(25px, 3vw, 34px); letter-spacing: -0.025em; }
.subtitle { margin: 7px 0 0; color: rgba(255, 255, 255, 0.92); font-size: 14px; }

.hero-controls { display: grid; justify-items: end; gap: 9px; min-width: 0; }
.hero-control-row { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.feedback-shortcuts { display: inline-flex; align-items: center; gap: 6px; }
.hero-feedback-button {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9px;
  background: rgba(8, 45, 106, 0.28);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.hero-feedback-button:hover { background: rgba(8, 45, 106, 0.48); }
.hero-nav-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 4px 10px 4px 5px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 13px rgba(7, 36, 89, 0.18);
  color: #243b5e;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  animation: hero-nav-float 1s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
.hero-nav-card:hover {
  animation-play-state: paused;
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 7px 17px rgba(7, 36, 89, 0.24);
}
.hero-nav-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30% auto -30% -45%;
  width: 32%;
  background: linear-gradient(100deg, transparent, rgba(77, 184, 255, 0.24), transparent);
  transform: skewX(-18deg);
  animation: hero-nav-shine 3.4s ease-in-out infinite;
}
.hero-nav-card:focus-visible {
  outline: 3px solid rgba(184, 255, 237, 0.72);
  outline-offset: 2px;
}
.hero-nav-icon {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f65e6, #16a6d9);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  animation: hero-nav-icon-pulse 2s ease-in-out infinite;
}
.hero-nav-copy { display: grid; gap: 1px; line-height: 1; }
.hero-nav-copy strong { font-size: 11px; font-weight: 900; }
.hero-nav-copy small { color: #e54848; font-size: 8px; font-weight: 900; }
.hero-nav-divider {
  align-self: stretch;
  width: 1px;
  margin: 1px 2px;
  background: linear-gradient(transparent, #d5e1f0 22%, #d5e1f0 78%, transparent);
}
.hero-nav-features {
  display: grid;
  gap: 2px;
  min-width: 184px;
  text-align: left;
}
.hero-nav-feature-label {
  color: #2468d8;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
}
.hero-nav-feature-copy {
  display: grid;
  color: #405878;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.35;
}
.hero-nav-arrow {
  color: #2d74e8;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  animation: hero-nav-arrow-nudge 1s ease-in-out infinite;
}
@keyframes hero-nav-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes hero-nav-icon-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 101, 230, 0.16); }
  50% { box-shadow: 0 0 0 4px rgba(31, 101, 230, 0.08); }
}
@keyframes hero-nav-shine {
  0%, 58% { left: -45%; opacity: 0; }
  68% { opacity: 1; }
  90%, 100% { left: 120%; opacity: 0; }
}
@keyframes hero-nav-arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(2px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-nav-card,
  .hero-nav-card::after,
  .hero-nav-icon,
  .hero-nav-arrow { animation: none; }
}
.language-switch {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(8, 45, 106, 0.34);
}
.language-option {
  min-height: 30px;
  padding: 5px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.language-option:hover { color: #fff; }
.language-option.is-active { background: #fff; color: #2057b7; box-shadow: 0 3px 9px rgba(7, 36, 89, 0.18); }

.privacy-note {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(8, 63, 136, 0.38);
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  line-height: 1.5;
}
.privacy-note strong { color: #b8ffed; }
.privacy-icon { color: #68f3cf; }

.platform-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 16px 0 24px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(43, 65, 100, 0.06);
  scrollbar-width: thin;
}

.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 13px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #4d5d72;
  white-space: nowrap;
  cursor: pointer;
}
.platform-tab small {
  padding: 2px 5px;
  border-radius: 99px;
  background: #eef2f7;
  color: #8a96a7;
  font-size: 10px;
}
.platform-tab:disabled { cursor: not-allowed; opacity: 0.72; }
.platform-tab:hover:not(:disabled):not(.is-active) { background: #f4f7fb; color: #253b5a; }
.platform-tab.is-active {
  background: var(--platform-accent);
  color: #fff;
  box-shadow: 0 5px 13px rgba(45, 119, 245, 0.3);
}

.platform-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 7px;
  background: #eef2f7;
  color: #26364c;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}
.is-active .platform-icon { background: rgba(255, 255, 255, 0.2); color: #fff; }
.icon-facebook { color: #1877f2; }
.icon-instagram { color: #d6249f; }
.icon-threads { color: #111; }
.icon-tiktok { color: #0f172a; }
.icon-telegram { color: #229ed9; }

.workspace-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(45, 62, 88, 0.07);
}

.section-heading,
.platform-heading,
.result-title,
.toolbar,
.split-actions {
  display: flex;
  align-items: center;
}

.section-heading { justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.platform-heading { gap: 9px; }
.platform-heading .platform-icon { background: var(--platform-accent); color: #fff; }
.section-heading h2, .result-title h2 { margin: 0; font-size: 17px; }
.section-heading p { max-width: 900px; margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.line-counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf3fc;
  color: #45607f;
}
.line-counter strong { color: #1d57bd; font-size: 18px; }
.line-counter.over-limit, .line-counter.over-limit strong { color: #c51e2b; background: #ffeded; }

textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  line-height: 1.55;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
textarea:focus { border-color: #5d8ee5; box-shadow: 0 0 0 3px rgba(65, 124, 226, 0.13); }
.account-input { min-height: 170px; padding: 13px 15px; }
.input-help { margin: 7px 0 0; color: #53657d; font-size: 13px; }
.query-mode-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #34465e;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.toolbar { gap: 10px; margin-top: 16px; }
.button {
  min-height: 40px;
  padding: 8px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform 100ms ease, opacity 100ms ease, background 100ms ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: 0.48; }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 14px rgba(51, 121, 246, 0.2); }
.button-primary:hover:not(:disabled) { background: var(--primary-dark); }
.button-secondary { border-color: #cbd5e1; color: #526174; }

.progress-wrap {
  display: grid;
  grid-template-columns: minmax(120px, 260px) auto;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}
.progress-track { height: 7px; overflow: hidden; border-radius: 99px; background: #e6ebf2; }
.progress-bar { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2e74e8, #59a2fa); transition: width 180ms ease; }
.notice { min-height: 22px; margin: 10px 0 -4px; color: #46617e; font-size: 13px; }
.notice.error { color: #c51e2b; }
.notice.success { color: #087c28; }
.copy-toast { position: fixed; z-index: 1200; top: max(18px, env(safe-area-inset-top)); left: 50%; width: min(620px, calc(100% - 28px)); margin: 0; padding: 14px 18px; transform: translateX(-50%); border: 1px solid; border-radius: 13px; box-shadow: 0 18px 50px rgba(13,31,61,.22); font-size: 14px; font-weight: 800; line-height: 1.6; text-align: center; pointer-events: none; }
.copy-toast.is-success { color: #087c28; border-color: #86efac; background: #f0fdf4; }
.copy-toast.is-error { color: #b91c1c; border-color: #fca5a5; background: #fef2f2; }

.feedback-dialog {
  width: min(560px, calc(100% - 28px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}
.feedback-dialog::backdrop { background: rgba(15, 23, 42, .58); }
.feedback-dialog-card { padding: 24px; border-radius: 18px; background: #fff; }
.feedback-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.feedback-dialog-heading h2 { margin: 0; }
.feedback-dialog-description { margin: 14px 0 18px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.feedback-dialog label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 800; }
.feedback-dialog textarea { min-height: 160px; padding: 12px 13px; }
.feedback-meta-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-top: 8px; }
.feedback-security-note { margin: 0; color: #b45309; font-size: 12px; line-height: 1.55; }
#feedback-counter { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.feedback-message { min-height: 22px; margin: 10px 0 0; font-size: 13px; }
.feedback-message.is-success { color: #087c28; }
.feedback-message.is-error { color: #b91c1c; }
.feedback-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 12px; }

.platform-detail {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid #cde8f5;
  border-radius: 10px;
  background: #f1faff;
  color: #315a70;
  font-size: 13px;
  line-height: 1.55;
}

.service-error-dialog {
  width: min(430px, calc(100% - 28px));
  padding: 26px;
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 28px 80px rgba(13, 31, 61, 0.3);
}
.service-error-dialog::backdrop { background: rgba(20, 32, 52, 0.52); backdrop-filter: blur(2px); }
.service-error-symbol {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  background: #fff0f1;
  color: #d52332;
  font-size: 30px;
  font-weight: 900;
}
.service-error-dialog h2 { margin: 0; font-size: 21px; }
.service-error-dialog p { margin: 12px 0 20px; color: #5f6f84; line-height: 1.65; }
.service-error-dialog button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #d52332;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.gmail-results-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.gmail-results-grid[hidden] { display: none; }

.result-card { padding: 18px; border: 1px solid transparent; border-radius: 16px; }
.result-normal { background: var(--normal-soft); border-color: #d4efdb; }
.result-abnormal { background: var(--abnormal-soft); border-color: #f8d9dc; }
.result-verification { background: #fffbea; border-color: #f7dda0; }
.result-disabled { background: #fff0f0; border-color: #f8d9dc; }
.result-not-registered { background: #fff2ef; border-color: #f7d7cf; }
.result-unknown { background: var(--unknown-soft); border-color: #e2e6eb; }
.result-title { gap: 7px; margin-bottom: 9px; }
.result-normal .result-title { color: var(--normal); }
.result-abnormal .result-title { color: var(--abnormal); }
.result-verification .result-title { color: #d6a400; }
.result-disabled .result-title { color: #ef2b34; }
.result-not-registered .result-title { color: #ff3b30; }
.result-unknown .result-title { color: var(--unknown); }
.count-badge {
  min-width: 23px;
  padding: 2px 7px;
  border-radius: 99px;
  background: currentColor;
  color: #fff;
  font-size: 12px;
  line-height: 19px;
  text-align: center;
}
.result-normal .count-badge { background: var(--normal); }
.result-abnormal .count-badge { background: var(--abnormal); }
.result-verification .count-badge { background: #d6a400; }
.result-disabled .count-badge { background: #ef2b34; }
.result-not-registered .count-badge { background: #ff3b30; }
.result-unknown .count-badge { background: var(--unknown); }
.result-card textarea { min-height: 190px; padding: 11px; background: #fff; }
.button-copy { width: 100%; min-height: 36px; margin-top: 9px; padding: 6px 12px; border-color: currentColor; font-weight: 600; }
.result-normal .button-copy { color: var(--normal); }
.result-abnormal .button-copy { color: var(--abnormal); }
.result-verification .button-copy { color: #b88b00; }
.result-disabled .button-copy { color: #ef2b34; }
.result-not-registered .button-copy { color: #ff3b30; }
.result-unknown .button-copy { color: var(--unknown); }
.split-actions { gap: 0; }
.split-actions .button { flex: 1; }
.button-retry { min-height: 36px; margin-top: 9px; padding: 6px 12px; border-color: #3577ff; color: #2468ef; }

.rules-card {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: 11px;
  background: #f7f9fc;
  color: #65748a;
  font-size: 13px;
  line-height: 1.5;
}
.rules-card strong { flex: 0 0 auto; color: #2f4057; }

.copy-dialog {
  width: min(460px, calc(100% - 28px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 17px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(13, 31, 61, 0.3);
}
.copy-dialog::backdrop { background: rgba(20, 32, 52, 0.48); backdrop-filter: blur(2px); }
.copy-dialog form { padding: 22px; }
.copy-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.copy-dialog h2 { margin: 2px 0 0; font-size: 20px; }
.dialog-eyebrow { margin: 0; color: #3978e8; font-size: 12px; font-weight: 800; }
.dialog-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #f0f3f7;
  color: #526174;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.copy-dialog-description { margin: 13px 0 15px; color: var(--muted); font-size: 13px; }
.copy-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.copy-choice {
  min-height: 98px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9fbfe;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.copy-choice:hover { border-color: #73a0f2; background: #f1f6ff; }
.copy-choice strong, .copy-choice span { display: block; }
.copy-choice strong { margin-bottom: 7px; font-size: 14px; }
.copy-choice span { color: var(--muted); font-size: 12px; line-height: 1.45; }

[hidden] { display: none !important; }

.visibility-results { margin-top: 18px; }
.visibility-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.visibility-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.visibility-filter {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #d6deea;
  border-radius: 999px;
  background: #fff;
  color: #526174;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.visibility-filter:hover { border-color: #91a9cb; background: #f6f9fe; }
.visibility-filter.is-active {
  border-color: var(--platform-accent);
  background: var(--platform-accent);
  color: #fff;
}
.visibility-filter span {
  display: inline-block;
  min-width: 18px;
  margin-left: 3px;
  padding: 1px 5px;
  border-radius: 99px;
  background: rgba(98, 113, 137, 0.13);
  text-align: center;
}
.visibility-filter.is-active span { background: rgba(255, 255, 255, 0.2); }
.visibility-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}
.visibility-actions .button { min-height: 36px; padding: 6px 12px; }
.visibility-actions .button-retry { margin-top: 0; }
.visibility-shown-count { color: var(--muted); font-size: 12px; white-space: nowrap; }

.visibility-table-wrap {
  max-height: 520px;
  overflow: auto;
  border: 1px solid #ccd6e4;
  border-radius: 11px;
  background: #fff;
}
.visibility-table {
  width: 100%;
  min-width: 460px;
  border-spacing: 0;
  color: #25364e;
  table-layout: fixed;
}
.visibility-table.is-comment-mode { min-width: 0; }
.visibility-table.is-comment-mode th:nth-child(2) { width: 44%; border-right: 0; }
.visibility-table th,
.visibility-table td {
  height: 43px;
  padding: 8px 13px;
  border-right: 1px solid #e2e7ef;
  border-bottom: 1px solid #e2e7ef;
  text-align: center;
}
.visibility-table th:first-child,
.visibility-table td:first-child { width: 56%; text-align: left; }
.visibility-table th:nth-child(2),
.visibility-table th:nth-child(3) { width: 22%; }
.visibility-table th:last-child,
.visibility-table td:last-child { border-right: 0; }
.visibility-table tbody tr:last-child td { border-bottom: 0; }
.visibility-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #e9eef5;
  color: #34465e;
  font-size: 13px;
}
.visibility-table thead th:first-child { left: 0; z-index: 4; }
.visibility-table tbody tr:nth-child(odd) { background: #fff; }
.visibility-table tbody tr:nth-child(even) { background: #f3f5f8; }
.visibility-table tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
}
.visibility-table tbody tr:nth-child(even) td:first-child { background: #f3f5f8; }
.visibility-username {
  overflow: hidden;
  color: #162f58;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.visibility-status {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  font-size: 18px;
}
.visibility-visible { background: #e7f8ec; }
.visibility-not-visible { background: #fff0f0; }
.visibility-unknown { background: #eef1f5; }
.visibility-empty-row td {
  position: static !important;
  height: 110px;
  background: #fff !important;
  color: var(--muted);
  text-align: center !important;
}


.gmail-mode-selector {
  display: flex;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
}
.gmail-mode-selector legend { margin-bottom: 8px; color: #31415a; font-size: 13px; font-weight: 800; }
.gmail-mode-selector label {
  display: flex;
  min-width: 210px;
  gap: 9px;
  align-items: flex-start;
  padding: 11px 13px;
  border: 1px solid #d6dfed;
  border-radius: 11px;
  background: #f8faff;
  cursor: pointer;
}
.gmail-mode-selector input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--platform-accent); }
.gmail-mode-selector span { display: grid; gap: 2px; }
.gmail-mode-selector strong { color: #172b4d; font-size: 13px; }
.gmail-mode-selector small { color: #708097; font-size: 12px; }
.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;
}

@media (max-width: 980px) {
  .tool-hero { align-items: flex-start; }
  .privacy-note { max-width: 420px; }
  .results-grid { gap: 14px; }
  .gmail-results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 16px, 1440px); padding: 8px 0 26px; }
  .tool-hero { display: block; min-height: 0; padding: 16px 17px; border-radius: 15px; }
  h1 { font-size: 25px; }
  .subtitle, .privacy-note { display: none; }
  .hero-controls { justify-items: start; margin-top: 12px; }
  .hero-control-row { justify-content: flex-start; }
  .feedback-shortcuts { display: contents; }
  .language-switch { order: 1; }
  .hero-feedback-button { order: 2; }
  .hero-nav-card { order: 3; flex-basis: 100%; }
  .feedback-dialog-card { padding: 20px 16px; }
  .feedback-meta-row { display: block; }
  #feedback-counter { display: block; margin-top: 6px; text-align: right; }
  .feedback-dialog-actions { flex-direction: column-reverse; }
  .feedback-dialog-actions .button { width: 100%; }
  .language-option { min-height: 28px; padding: 4px 10px; }
  .platform-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 10px 0 14px;
    padding: 7px;
    overflow: visible;
    border-radius: 12px;
    scrollbar-width: auto;
  }
  .platform-tab { width: 100%; min-width: 0; min-height: 48px; gap: 5px; padding: 8px; font-size: 13px; }
  .platform-tab .platform-icon { width: 20px; height: 20px; flex-basis: 20px; font-size: 12px; }
  .platform-tab span:last-child { min-width: 0; white-space: normal; line-height: 1.25; text-align: left; }
  .platform-tab small { display: none; }
  .workspace-card { padding: 16px; border-radius: 14px; }
  .section-heading { align-items: flex-start; gap: 10px; }
  .section-heading p { font-size: 13px; }
  .line-counter { padding: 6px 9px; }
  .account-input { min-height: 155px; }
  .toolbar { flex-wrap: wrap; }
  .progress-wrap { grid-template-columns: 1fr auto; width: 100%; min-width: 0; margin: 4px 0 0; }
  .button-primary, .button-secondary { flex: 1; }
  .results-grid { grid-template-columns: 1fr; gap: 13px; }
  .gmail-results-grid { grid-template-columns: 1fr; gap: 13px; }
  .result-card textarea { min-height: 140px; }
  .visibility-controls { align-items: stretch; flex-direction: column; }
  .visibility-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visibility-filter { min-width: 0; text-align: left; }
  .visibility-actions { flex-wrap: wrap; }
  .visibility-shown-count { width: 100%; }
  .visibility-actions .button { flex: 1; white-space: nowrap; }
  .visibility-table { min-width: 420px; }
  .visibility-table th, .visibility-table td { padding: 7px 10px; }
  .gmail-mode-selector { display: grid; }
  .gmail-mode-selector label { min-width: 0; }
  .rules-card { flex-direction: column; gap: 5px; }
}

@media (max-width: 420px) {
  .tool-hero { padding: 14px 15px; }
  .hero-nav-card { width: 100%; }
  .hero-nav-features { min-width: 0; flex: 1; }
  .workspace-card { padding: 13px; }
  .section-heading { display: grid; grid-template-columns: 1fr auto; }
  .section-heading p { grid-column: 1 / -1; }
  .result-card { padding: 14px; }
  .copy-dialog form { padding: 18px; }
  .copy-choice-grid { grid-template-columns: 1fr; }
  .copy-choice { min-height: 78px; }
}

@media (hover: none) and (pointer: coarse) and (min-width: 761px) and (max-width: 1180px) {
  .subtitle, .privacy-note { display: none; }
  .tool-hero { min-height: 0; padding: 17px 20px; }
  .platform-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    scrollbar-width: auto;
  }
  .platform-tab { width: 100%; min-width: 0; justify-content: flex-start; }
}

.search-mode-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; padding: 24px; border: 0; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 24px 70px rgba(15, 23, 42, .25); }
.search-mode-dialog::backdrop { background: rgba(15, 23, 42, .5); }
.search-mode-dialog h2 { margin: 0 0 18px; font-size: 21px; }
.search-mode-notes { padding: 14px 16px; border: 1px solid #fecaca; border-radius: 10px; color: #b91c1c; background: #fff7f7; font-size: 14px; line-height: 1.75; }
.search-mode-notes p { margin: 0; }
.search-mode-notes p + p { margin-top: 10px; }
.search-mode-requirement { font-weight: 800; }
.search-mode-actions { display: flex; gap: 12px; margin-top: 20px; }
.search-mode-actions .button { flex: 1; }

.search-mode-options { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.search-mode-options legend { margin-bottom: 10px; padding: 0; color: #34465e; font-size: 13px; font-weight: 700; }
.search-mode-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.search-mode-choice { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 12px 10px; border: 1px solid #ccd6e4; border-radius: 8px; cursor: pointer; font-size: 14px; line-height: 1.5; }
.search-mode-choice input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: #0f172a; }
.search-mode-choice:has(input:checked) { border-color: #0f172a; background: #f1f5f9; font-weight: 700; }
.search-mode-choice:has(input:focus-visible) { outline: 2px solid #2771ef; outline-offset: 2px; }
.search-mode-choice:has(input:disabled) { opacity: .55; cursor: not-allowed; }

/* Homepage: the approved blue-and-white tool-center design. */
.homepage { --jc-blue: #0064f5; --jc-ink: #0b1733; --jc-muted: #697a99; background: #f3f8fe; color: var(--jc-ink); }
.homepage .page-shell { width: min(1200px, calc(100% - 40px)); margin: 24px auto; padding: 0 0 20px; border: 1px solid #dce8f8; border-radius: 14px; background: linear-gradient(180deg, #fff, #f8fbff 220px); box-shadow: 0 12px 45px rgba(54, 100, 168, .07); }
.homepage .jc-topbar { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; min-height: 78px; padding: 16px 26px; border: 0; border-bottom: 1px solid #e5edf8; border-radius: 14px 14px 0 0; background: #fff; color: var(--jc-ink); box-shadow: none; }
.homepage .jc-brand-area { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }
.homepage .jc-brand { display: flex; align-items: baseline; gap: 6px; margin: 0; font-size: 20px; letter-spacing: -.5px; white-space: nowrap; }
.homepage .jc-brand em { color: var(--jc-blue); font-size: 32px; font-style: italic; font-weight: 800; letter-spacing: -1.4px; }
.homepage .jc-brand-tagline { margin: 0; color: var(--jc-muted); font-size: 12px; white-space: nowrap; }
.homepage .jc-marketing-card { flex: 0 1 360px; min-height: 48px; padding: 7px 11px 7px 8px; gap: 8px; border: 1px solid #b7d0ff; border-radius: 12px; background: linear-gradient(110deg, #fff, #edf5ff); box-shadow: 0 4px 12px rgba(0, 100, 245, .12); }
.homepage .jc-marketing-card .hero-nav-icon { width: 29px; height: 29px; flex-basis: 29px; font-size: 15px; }
.homepage .jc-marketing-card .hero-nav-copy strong { font-size: 13px; }
.homepage .jc-marketing-card .hero-nav-copy small { margin-top: 3px; color: #e44438; font-size: 10px; }
.homepage .jc-marketing-card .hero-nav-feature-copy { font-size: 9px; }
.homepage .jc-marketing-card .hero-nav-arrow { font-size: 22px; }
.homepage .jc-topbar-controls { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px 18px; min-width: 0; margin-top: 0; }
.homepage .hero-utility-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.homepage .hero-account-row { display: flex; align-items: center; gap: 10px; }
.homepage .jc-header-link { padding: 0; border: 0; background: transparent; color: #586c90; font-size: 13px; line-height: 1.5; text-decoration: none; cursor: pointer; }
.homepage .jc-header-link:hover { color: var(--jc-blue); }
.homepage .jc-header-divider { width: 1px; height: 15px; background: #d9e2f0; }
.homepage .jc-topbar .hero-feedback-button { min-height: 34px; padding: 6px 10px; border: 1px solid #d6e3f8; border-radius: 8px; background: #fff; color: #1d58b7; font-size: 12px; font-weight: 500; }
.homepage .jc-topbar .hero-feedback-button:hover { border-color: #8db8ff; background: #f5f9ff; }
.homepage .jc-topbar .language-switch { gap: 3px; padding: 3px; border: 1px solid #d7e4f9; border-radius: 9px; background: #f4f8ff; }
.homepage .jc-topbar .language-option { min-height: 27px; padding: 4px 9px; color: #62789b; font-size: 12px; }
.homepage .jc-topbar .language-option.is-active { color: #fff; background: #2677f8; box-shadow: 0 2px 5px rgba(20, 103, 238, .12); }
.homepage .jc-topbar .member-nav { gap: 10px; font-size: 13px; }
.homepage .jc-topbar .member-nav a, .homepage .jc-topbar .member-nav button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 36px; padding: 7px 15px; border: 1px solid transparent; border-radius: 7px; background: #fff; color: var(--jc-blue); font-size: 13px; font-weight: 500; white-space: nowrap; }
.homepage .jc-topbar .member-nav .member-login-link { min-width: 80px; border-color: #9fc0ff; color: var(--jc-blue); background: #fff; box-shadow: none; font-weight: 700; }
.homepage .jc-topbar .member-nav .member-register-link { min-width: 80px; border-color: var(--jc-blue); color: #fff; background: var(--jc-blue); font-weight: 700; }
.homepage .jc-topbar .member-nav .member-recharge-link { border-color: #d7e5fb; background: #f7faff; }
.homepage .jc-topbar .member-nav .member-center-link { background: #f7faff; }
.homepage .jc-topbar .member-nav .member-logout { padding: 7px 3px; background: transparent; }
.homepage .jc-topbar .member-nav .member-account-chip { display: flex; align-items: center; flex-basis: auto; gap: 12px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #526786; font-size: 13px; }
.homepage .jc-topbar .member-account-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.homepage .jc-topbar .member-account-balance { color: #073062; font-weight: 700; white-space: nowrap; }
.homepage .jc-topbar .member-account-balance small { margin-right: 4px; color: #526786; font-size: 12px; font-weight: 400; }
.homepage #homepage-menu-toggle { display: none; width: 32px; height: 32px; padding: 5px; border: 0; border-radius: 7px; background: transparent; color: #122a56; cursor: pointer; }
.homepage #homepage-menu-toggle svg { width: 100%; height: 100%; }
.homepage .module-navigation { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 10px; margin: 18px 20px; padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.homepage .module-navigation > .module-card { position: relative; width: 100%; min-width: 0; min-height: 86px; justify-content: flex-start; gap: 15px; padding: 17px 20px; border: 1px solid #e0eafa; border-radius: 9px; background: #fff; color: var(--jc-ink); white-space: normal; text-align: left; box-shadow: 0 3px 10px rgba(26, 81, 163, .03); transition: border-color 150ms, background 150ms; }
.homepage .module-navigation > .module-card:hover:not(:disabled) { border-color: #accaff; background: #f8fbff; }
.homepage .module-navigation > .module-card.is-active, .homepage .module-navigation > .module-card.is-tool-open { border-color: #7cadff; background: linear-gradient(135deg, #f7fbff, #edf5ff); color: var(--jc-blue); box-shadow: 0 3px 10px rgba(0, 100, 245, .06); }
.homepage .module-navigation > .module-card.is-active:hover:not(:disabled), .homepage .module-navigation > .module-card.text-tools-nav-tab.is-tool-open:hover:not(:disabled) { border-color: #7cadff; background: linear-gradient(135deg, #f7fbff, #edf5ff); color: var(--jc-blue); box-shadow: 0 3px 10px rgba(0, 100, 245, .06); }
.homepage .module-navigation .module-icon, .homepage .module-navigation .is-active .module-icon, .homepage .module-navigation .is-tool-open .module-icon { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 0; background: transparent; color: inherit; }
.homepage .module-navigation .module-card .module-icon, .homepage .module-navigation .module-card.is-tool-open .module-icon { background: transparent; color: inherit; }
.homepage .module-icon svg { width: 100%; height: 100%; }
.homepage .module-copy { display: grid; min-width: 0; gap: 6px; }
.homepage .module-card-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.homepage .module-navigation .module-name { font-size: 15px; font-weight: 700; line-height: 1.4; }
.homepage .module-navigation .module-description { display: block; color: #6c7fa1; font-size: 12px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.homepage .module-navigation small.module-badge { display: inline-block; flex: 0 0 auto; padding: 2px 6px; border-radius: 6px; font-size: 10px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.homepage .module-navigation small.module-badge.is-free { background: #d8f5e4; color: #0c793b; }
.homepage .module-navigation small.module-badge.is-paid { background: #ffecd5; color: #ba4d0b; }
.homepage .module-selected-mark { display: none; position: absolute; right: 9px; bottom: 9px; width: 19px; height: 19px; color: var(--jc-blue); }
.homepage .module-card.is-active .module-selected-mark { display: block; }
.homepage .module-selected-mark svg { display: block; width: 100%; height: 100%; }
.homepage .workspace-card, .homepage .public-unlock, .homepage .text-tools, .homepage .sms-home-panel { margin: 0 20px; padding: 24px 27px 20px; border: 1px solid #e0eafa; border-radius: 10px; background: #fff; box-shadow: 0 3px 10px rgba(45, 89, 153, .03); }
.homepage .text-tools { padding: 0; }
.homepage .text-tools-body { padding: 24px 27px; background: #fff; }
.homepage .checker-input-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 26px; align-items: stretch; }
.homepage #platform-workspace[data-active-platform="x_search"] .checker-input-layout { grid-template-columns: minmax(0, 1fr); }
.homepage .checker-main, .homepage .checker-input-panel { min-width: 0; }
.homepage .checker-selection { margin-bottom: 24px; }
.homepage .checker-section-heading { display: block; }
.homepage .checker-section-heading h2 { margin: 0; color: #06122e; font-size: 30px; letter-spacing: -.5px; line-height: 1.35; }
.homepage .checker-section-heading p { margin: 4px 0 0; color: #667c9f; font-size: 15px; line-height: 1.6; }
.homepage .checker-selector-label { margin: 20px 0 9px; color: #152847; font-size: 13px; font-weight: 700; }
.homepage .platform-selector { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.homepage .platform-selector > .platform-tab { width: auto; min-width: 0; min-height: 38px; gap: 7px; padding: 7px 12px; border: 1px solid #e0e8f7; border-radius: 9px; background: linear-gradient(180deg, #fff, #f8fbff); color: #142441; font-size: 12px; }
.homepage .platform-selector > .platform-tab.is-active { border-color: var(--jc-blue); background: var(--jc-blue); color: #fff; box-shadow: 0 2px 6px rgba(0, 100, 245, .1); }
.homepage .platform-selector .platform-icon { width: 20px; height: 20px; flex-basis: 20px; border-radius: 0; background: transparent; }
.homepage .platform-selector .platform-icon svg { display: block; width: 100%; height: 100%; }
.homepage .platform-selector .icon-x { color: inherit; }
.homepage .checker-platform-heading { display: none; }
.homepage #platform-workspace[data-active-platform="x_search"] .checker-platform-heading { display: block; margin-bottom: 20px; }
.homepage .checker-platform-heading .platform-heading .platform-icon { display: none; }
.homepage .checker-platform-heading h2 { color: #06122e; font-size: 26px; line-height: 1.45; }
.homepage .checker-input-label-row { display: flex; align-items: center; gap: 12px; min-height: 24px; margin-bottom: 8px; }
.homepage .checker-input-label-row > label { color: #182b49; font-size: 13px; font-weight: 700; }
.homepage .checker-input-panel .line-counter { margin-left: auto; padding: 0; border-radius: 0; background: transparent; color: #8b9bb3; font-size: 11px; white-space: nowrap; }
.homepage .checker-input-panel .line-counter strong { color: #7486a3; font-size: 12px; font-weight: 500; }
.homepage .checker-input-panel .line-counter.over-limit, .homepage .checker-input-panel .line-counter.over-limit strong { color: #c51e2b; }
.homepage .checker-format-help { position: relative; font-size: 11px; color: #8092b2; }
.homepage .checker-format-help summary { cursor: pointer; }
.homepage .checker-format-help p { position: absolute; z-index: 5; top: 20px; left: -70px; width: min(380px, calc(100vw - 100px)); margin: 0; padding: 14px; border: 1px solid #dce7f8; border-radius: 9px; background: #fff; color: #526786; box-shadow: 0 8px 24px rgba(33, 77, 147, .1); font-size: 12px; line-height: 1.7; }
.homepage textarea { border-color: #d5e0f1; border-radius: 8px; color: var(--jc-ink); font-size: 14px; }
.homepage textarea::placeholder { color: #91a2bd; }
.homepage textarea:focus { border-color: #89b4ff; box-shadow: 0 0 0 3px #edf4ff; }
.homepage .checker-input-panel .account-input { display: block; min-height: 138px; height: 138px; padding: 13px 15px; }
.homepage .checker-retention-note { margin: 7px 0 0; color: #7a8daf; font-size: 12px; line-height: 1.5; }
.homepage .checker-input-panel .toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.homepage .button { min-height: 40px; padding: 9px 18px; border-radius: 8px; border-color: #d5e0f1; color: #172747; background: #fff; font-weight: 600; text-decoration: none; box-shadow: none; }
.homepage .button:hover:not(:disabled) { transform: none; border-color: #a7c7ff; background: #f5f9ff; }
.homepage .button-primary { border-color: var(--jc-blue); background: var(--jc-blue); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.homepage .button-primary:hover:not(:disabled) { border-color: #0058d9; background: #0058d9; color: #fff; }
.homepage .checker-input-panel #start-button { min-width: 134px; min-height: 46px; font-size: 15px; }
.homepage .checker-input-panel #clear-button { min-width: 98px; min-height: 46px; font-size: 15px; }
.homepage .checker-guest-label { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 15px; border-radius: 9px; background: #edf5ff; color: var(--jc-blue); font-size: 14px; font-weight: 600; white-space: nowrap; }
.homepage .checker-guest-label svg { width: 20px; height: 20px; }
.homepage .checker-input-panel .progress-wrap { grid-template-columns: minmax(50px, 1fr) auto; gap: 12px; width: 100%; min-width: 0; margin: 15px 0 0; color: #7588a8; font-size: 12px; }
.homepage .progress-bar { background: var(--jc-blue); }
.homepage .notice { margin: 12px 0 0; min-height: 0; }
.homepage .notice:empty { display: none; }
.homepage .checker-help { min-width: 0; padding: 26px 22px; border: 1px solid #e2ecfb; border-radius: 9px; background: linear-gradient(145deg, #f8fbff, #f6faff); }
.homepage .checker-help h3 { margin: 0; color: var(--jc-ink); font-size: 19px; font-weight: 700; }
.homepage .checker-help-intro { margin: 8px 0 0; color: #6f81a0; font-size: 12px; line-height: 1.7; }
.homepage .checker-help-steps { display: grid; gap: 38px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: checker-step; }
.homepage .checker-help-steps li { position: relative; min-height: 52px; padding-left: 49px; counter-increment: checker-step; }
.homepage .checker-help-steps li::before { content: counter(checker-step); position: absolute; top: 0; left: 3px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #1f7aff, #77b9ff); color: #fff; font-size: 16px; font-weight: 500; }
.homepage .checker-help-steps li:not(:last-child)::after { content: ""; position: absolute; top: 33px; bottom: -34px; left: 18px; width: 1px; background: #bfd9fd; }
.homepage .checker-help-steps strong { color: #132747; font-size: 15px; font-weight: 600; }
.homepage .checker-help-steps p { margin: 7px 0 0; color: #6e83a7; font-size: 12px; line-height: 1.8; }
.homepage .checker-help-mobile { display: none; }
.homepage .check-summary { margin-top: 24px; padding: 17px 20px 20px; border: 1px solid #e1ecfb; border-radius: 9px; background: linear-gradient(130deg, #f9fcff, #f5f9ff); }
.homepage .check-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.homepage .check-summary-heading h3 { margin: 0; color: var(--jc-ink); font-size: 17px; font-weight: 700; }
.homepage .check-summary-heading > span { display: inline-flex; align-items: center; gap: 9px; color: #7d8eaa; font-size: 11px; }
.homepage .check-summary-heading svg { width: 17px; height: 17px; flex-shrink: 0; }
.homepage .check-summary-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 17px; }
.homepage .check-stat { min-width: 0; text-align: center; }
.homepage .check-stat + .check-stat { border-left: 1px solid #dce5f2; }
.homepage .check-stat > span { color: #798bab; font-size: 13px; }
.homepage .check-stat strong { display: block; margin-top: 6px; color: #09142e; font-size: 30px; line-height: 1.15; font-weight: 700; }
.homepage .check-stat.is-normal strong { color: #087b29; }
.homepage .check-stat.is-abnormal strong { color: #e01428; }
.homepage .check-stat.is-unknown strong { color: var(--jc-blue); }
.homepage .check-result-details { margin-top: 18px; }
.homepage .check-result-details > summary { color: #486a9d; font-size: 13px; cursor: pointer; }
.homepage .results-grid { gap: 14px; margin-top: 14px; }
.homepage .result-card { padding: 15px; border: 1px solid #e2eafa; border-radius: 9px; background: #f8fbff; }
.homepage .result-card textarea { min-height: 140px; }
.homepage .result-title h2 { font-size: 14px; }
.homepage .result-unknown .result-title { color: #467bd2; }
.homepage .result-unknown .count-badge { background: #467bd2; }
.homepage .result-unknown .button-copy { color: #467bd2; }
.homepage .module-paid-note { margin: 10px 0 16px; color: #a56834; font-size: 13px; line-height: 1.7; }
.homepage .home-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 22px 20px -20px; padding: 18px 10px; border-top: 1px solid #e5edf8; font-size: 12px; color: #8293b0; }
.homepage .home-footer-brand { display: flex; align-items: center; gap: 15px; }
.homepage .home-footer-brand strong { color: #12254c; font-weight: 600; }
.homepage .home-footer-brand em { color: #5964ed; font-size: 20px; font-weight: 800; }
.homepage .home-footer-links { display: flex; gap: 22px; }
.homepage .home-footer button { padding: 0; border: 0; background: transparent; color: #7185a8; font: inherit; cursor: pointer; }
.homepage .home-info-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 26px; border: 1px solid #dce8fa; border-radius: 14px; color: var(--jc-ink); background: #fff; box-shadow: 0 24px 70px #14274925; }
.homepage .home-info-dialog::backdrop { background: #182d4c50; backdrop-filter: blur(3px); }
.homepage .home-info-dialog h2 { margin: 0 0 16px; font-size: 22px; }
.homepage .home-info-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.homepage .home-info-close { align-self: flex-start; width: 28px; height: 28px; padding: 0; border: 0; background: #f4f8ff; color: #587296; border-radius: 6px; font-size: 20px; cursor: pointer; }
.homepage .home-info-dialog p, .homepage .home-info-dialog li { color: #6b7e9e; font-size: 14px; line-height: 1.9; }
.homepage .home-info-dialog [data-close-home-dialog] { margin-top: 14px; }
.homepage button:focus-visible, .homepage a:focus-visible, .homepage summary:focus-visible { outline: 3px solid #bbd6ff; outline-offset: 3px; }
@media (max-width: 1100px) {
  .homepage .jc-brand-tagline { display: none; }
  .homepage .module-navigation > .module-card { gap: 10px; padding: 15px 12px; }
}
@media (max-width: 1023px) {
  .homepage .jc-topbar { gap: 14px; padding: 14px 20px; }
  .homepage .jc-topbar-controls { gap: 10px; }
  .homepage .hero-utility-row { gap: 10px; }
  .homepage .module-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homepage .module-navigation > #text-tools-toggle { grid-column: 1 / -1; }
  .homepage .module-navigation > .module-card { min-height: 76px; padding: 15px 20px; }
  .homepage .checker-input-layout { display: block; }
  .homepage .checker-help-desktop { display: none; }
  .homepage .checker-help-mobile { display: block; margin-top: 16px; padding: 12px 14px; }
  .homepage .checker-help-mobile summary { color: #647fa6; cursor: pointer; font-size: 12px; }
  .homepage .checker-help-mobile .checker-help-steps { gap: 20px; margin-top: 20px; }
  .homepage .checker-help-mobile .checker-help-steps li:not(:last-child)::after { bottom: -17px; }
}
@media (max-width: 760px) {
  .homepage .page-shell { width: calc(100% - 20px); margin: 12px auto; padding-bottom: 12px; border-radius: 12px; }
  .homepage .jc-topbar { min-height: 66px; padding: 12px 14px; gap: 8px; border-radius: 12px 12px 0 0; }
  .homepage .jc-brand-area { gap: 0; }
  .homepage .jc-brand-area { order: 1; }
  .homepage .jc-marketing-card { order: 3; flex: 0 0 100%; max-width: 100%; min-height: 48px; margin-top: 6px; padding: 7px 9px; }
  .homepage .jc-marketing-card .hero-nav-copy strong { font-size: 12px; }
  .homepage .jc-marketing-card .hero-nav-copy small { font-size: 9px; }
  .homepage .jc-marketing-card .hero-nav-features { flex: 1; min-width: 0; }
  .homepage .jc-marketing-card .hero-nav-feature-copy { font-size: 9px; white-space: normal; }
  .homepage .jc-brand { gap: 3px; font-size: 16px; letter-spacing: -.4px; }
  .homepage .jc-brand em { font-size: 26px; }
  .homepage .jc-topbar-controls { order: 2; flex-wrap: nowrap; gap: 9px; }
  .homepage .jc-topbar .hero-account-row { flex-wrap: nowrap; gap: 0; }
  .homepage .jc-topbar .member-nav { gap: 6px; flex-wrap: nowrap; }
  .homepage .jc-topbar .member-nav a, .homepage .jc-topbar .member-nav button { min-height: 30px; padding: 5px 10px; border-radius: 6px; font-size: 11px; }
  .homepage .jc-topbar .member-nav .member-login-link, .homepage .jc-topbar .member-nav .member-register-link { min-width: 51px; }
  .homepage .jc-topbar .member-nav .member-recharge-link { min-width: 48px; flex-shrink: 0; white-space: nowrap; }
  .homepage #homepage-menu-toggle { display: block; }
  .homepage #homepage-utility-nav { display: none; }
  .homepage .is-menu-open #homepage-utility-nav { display: flex; position: absolute; z-index: 30; top: calc(100% - 4px); right: 10px; left: 10px; flex-wrap: wrap; justify-content: flex-start; gap: 14px; padding: 16px; border: 1px solid #dce8fa; border-radius: 10px; background: #fff; box-shadow: 0 12px 30px #28436b20; }
  .homepage .jc-topbar .member-account-name, .homepage .jc-topbar .member-nav .member-center-link, .homepage .jc-topbar .member-nav .member-logout { display: none; }
  .homepage .jc-topbar .member-nav .member-account-chip { display: none; }
  .homepage .jc-topbar .member-account-balance { font-size: 11px; }
  .homepage .jc-topbar .member-account-balance small { display: none; }
  .homepage .jc-topbar.is-menu-open { flex-wrap: wrap; }
  .homepage .is-menu-open .jc-topbar-controls { width: 100%; flex-wrap: wrap; }
  .homepage .is-menu-open #homepage-utility-nav { position: static; width: 100%; }
  .homepage .is-menu-open .member-nav { flex-wrap: wrap; }
  .homepage .jc-topbar.is-menu-open .member-account-name, .homepage .jc-topbar.is-menu-open .member-nav .member-center-link, .homepage .jc-topbar.is-menu-open .member-nav .member-logout { display: inline-flex; }
  .homepage .jc-topbar.is-menu-open .member-nav .member-account-chip { display: inline-flex; }
  .homepage .module-navigation { gap: 8px; margin: 14px 10px; }
  .homepage .module-navigation > .module-card { gap: 12px; min-height: 73px; padding: 13px 13px; border-radius: 8px; }
  .homepage .module-navigation .module-icon, .homepage .module-navigation .is-active .module-icon, .homepage .module-navigation .is-tool-open .module-icon { width: 23px; height: 23px; flex-basis: 23px; }
  .homepage .module-navigation .module-name { font-size: 13px; }
  .homepage .module-navigation .module-description { font-size: 11px; }
  .homepage .module-card-title { gap: 5px; }
  .homepage .module-navigation small.module-badge { padding: 1px 5px; font-size: 9px; }
  .homepage .module-selected-mark { width: 17px; height: 17px; right: 7px; bottom: 6px; }
  .homepage .workspace-card, .homepage .public-unlock, .homepage .text-tools, .homepage .sms-home-panel { margin: 0 10px; padding: 17px 15px; border-radius: 9px; }
  .homepage .text-tools { padding: 0; }
  .homepage .text-tools-body { padding: 17px 15px; }
  .homepage .checker-selection { margin-bottom: 20px; }
  .homepage .checker-section-heading h2 { font-size: 24px; }
  .homepage .checker-section-heading p { font-size: 12px; }
  .homepage .checker-selector-label { margin-top: 16px; font-size: 12px; }
  .homepage .platform-selector { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .homepage .platform-selector > .platform-tab { min-height: 33px; justify-content: flex-start; padding: 5px 9px; border-radius: 8px; font-size: 11px; }
  .homepage .platform-selector .platform-icon { width: 18px; height: 18px; flex-basis: 18px; }
  .homepage .checker-input-label-row { gap: 10px; }
  .homepage .checker-input-label-row > label { font-size: 12px; }
  .homepage .checker-input-panel .account-input { height: 105px; min-height: 105px; padding: 11px 12px; font-size: 12px; }
  .homepage .checker-retention-note { font-size: 10px; }
  .homepage .checker-input-panel .toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 17px; }
  .homepage .checker-input-panel #start-button { grid-column: 1 / -1; min-width: 0; min-height: 37px; font-size: 13px; }
  .homepage .checker-input-panel #clear-button { min-width: 0; min-height: 36px; font-size: 12px; }
  .homepage .checker-input-panel .toolbar:has(#pause-button:not([hidden])) #clear-button { grid-column: 2; }
  .homepage .checker-guest-label { min-height: 36px; padding: 6px 8px; border-radius: 7px; font-size: 11px; }
  .homepage .checker-guest-label svg { width: 16px; height: 16px; }
  .homepage .check-summary { margin-top: 20px; padding: 14px 10px 17px; }
  .homepage .check-summary-heading h3 { font-size: 14px; }
  .homepage .check-summary-heading > span { gap: 5px; font-size: 9px; }
  .homepage .check-summary-heading svg { width: 14px; height: 14px; }
  .homepage .check-summary-stats { margin-top: 18px; }
  .homepage .check-stat > span { font-size: 11px; }
  .homepage .check-stat strong { margin-top: 5px; font-size: 25px; }
  .homepage .checker-platform-heading h2 { font-size: 21px; }
  .homepage .home-footer { margin: 18px 10px -12px; padding: 14px 4px; }
  .homepage .home-footer-brand { gap: 10px; font-size: 10px; }
  .homepage .home-footer-brand em { font-size: 16px; }
  .homepage .home-footer-brand > span { display: none; }
  .homepage .home-footer-links { gap: 12px; font-size: 10px; }
}
