:root {
  --yellow: #f8d95a;
  --yellow-soft: #fff8d8;
  --orange: #d99a19;
  --ink: #253225;
  --muted: #6b7669;
  --line: #e7e1ca;
  --page: #f7f5ea;
  --white: #fff;
  --blue: #78b86a;
  --green: #66a95f;
  --leaf: #5c9f55;
  --leaf-dark: #356b35;
  --leaf-soft: #eef8e9;
  --pollen: #f4c83c;
  --cream: #fffdf4;
  --shadow: 0 12px 34px rgba(81, 82, 45, 0.1);
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

body.hyacinth-brand {
  --ink: #252342;
  --muted: #6c6987;
  --line: #dfdcf3;
  --page: #f5f3ff;
  --blue: #8178e7;
  --green: #655cc8;
  --leaf: #665dc9;
  --leaf-dark: #3e378e;
  --leaf-soft: #eeebff;
  --pollen: #8276e8;
  --cream: #fbfaff;
  --shadow: 0 14px 36px rgba(69, 58, 145, 0.12);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 60px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 14px rgba(78, 77, 36, 0.1);
  backdrop-filter: blur(16px);
}

.app-container {
  min-height: 100vh;
  background: var(--page);
}

.header-content {
  display: grid;
  grid-template-columns: 240px 1fr auto auto;
  align-items: center;
  gap: 26px;
  width: min(1240px, calc(100% - 56px));
  height: 100%;
  margin: 0 auto;
}

body.standalone-redirect .header-content {
  grid-template-columns: 1fr auto;
}

body.standalone-redirect .logo-group {
  width: max-content;
}

body.auth-open {
  overflow: hidden;
}

.auth-entry {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.auth-login-button {
  color: #fff;
  background: linear-gradient(135deg, #8579e8, #5e55bd);
  border-color: transparent;
}

.auth-user {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 5px 7px 5px 5px;
  background: #f2efff;
  border: 1px solid #d8d2fa;
  border-radius: 999px;
}

.auth-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: #6a60c9;
  border-radius: 50%;
  font-weight: 800;
}

.auth-email {
  max-width: 210px;
  overflow: hidden;
  color: #3c3865;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-user button {
  padding: 5px 8px;
  color: #77718e;
  background: transparent;
  font-size: 12px;
}

.auth-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(440px, calc(100% - 28px));
  max-height: calc(100vh - 36px);
  padding: 28px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ded9f6;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(40, 34, 92, 0.28);
  transform: translate(-50%, -50%);
}

.auth-dialog-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.auth-dialog-brand > div {
  display: grid;
  gap: 2px;
}

.auth-dialog-brand small {
  color: #9189c6;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.auth-dialog-brand strong {
  color: #302c5c;
  font-size: 19px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-bottom: 22px;
  padding: 4px;
  background: #f1eff9;
  border-radius: 10px;
}

.auth-tabs button {
  height: 38px;
  color: #77738c;
  background: transparent;
  border-radius: 7px;
  font-weight: 700;
}

.auth-tabs button.active {
  color: #443b99;
  background: #fff;
  box-shadow: 0 2px 8px rgba(54, 45, 119, 0.1);
}

.auth-form {
  display: grid;
  gap: 15px;
}

.auth-entry [hidden],
.auth-form[hidden] {
  display: none !important;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: #45415e;
  font-size: 14px;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  color: #2d2948;
  background: #fbfaff;
  border: 1px solid #dcd8ed;
  border-radius: 9px;
  outline: 0;
}

.auth-form input:focus {
  border-color: #8175de;
  box-shadow: 0 0 0 3px rgba(129, 117, 222, 0.14);
}

.auth-submit {
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, #8579e8, #5e55bd);
  border-radius: 9px;
  font-weight: 800;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-message {
  min-height: 18px;
  margin: -3px 0;
  color: #5e5890;
  font-size: 13px;
  line-height: 1.4;
}

.auth-message.error {
  color: #c43c3c;
}

.auth-message.pending {
  padding: 10px 12px;
  color: #51489c;
  background: #f0edff;
  border: 1px solid #d9d3fa;
  border-radius: 8px;
}

.order-hint {
  margin: -6px 0 0;
  color: #858095;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 620px) {
  body.standalone-redirect .header-content {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.standalone-redirect .auth-login-button {
    display: inline-flex;
    min-width: auto;
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  .auth-email {
    max-width: 96px;
  }

  .auth-dialog {
    padding: 24px 20px;
  }
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--pollen);
  border: 3px solid var(--ink);
  border-radius: 12px 12px 12px 3px;
  transform: rotate(-4deg);
}

.logo-mark svg {
  width: 23px;
  height: 23px;
  transform: rotate(4deg);
}

.logo-mark.small {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
}

.logo-mark.hyacinth-logo {
  width: 42px;
  height: 42px;
  padding: 3px;
  background: linear-gradient(145deg, #f7f5ff, #e5e0ff);
  border: 2px solid #a69bea;
  border-radius: 14px;
  overflow: hidden;
  transform: none;
}

.logo-mark.hyacinth-logo.small {
  width: 38px;
  height: 38px;
}

.hyacinth-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand-name {
  display: block;
  margin: -43px 0 20px 48px;
  font-size: 16px;
}

.logo-text {
  font-size: 18px;
  white-space: nowrap;
}

.nav-items {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 28px;
  height: 100%;
  font-weight: 700;
  font-size: 15px;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  border-bottom: 4px solid transparent;
}

.nav-item.active,
.nav-item:hover {
  border-color: var(--pollen);
}

.login-button {
  min-width: 104px;
  height: 42px;
  padding: 0 20px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
}

.login-button:hover,
.hero-cta:hover {
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: transparent;
}

.hero-wrapper {
  background: linear-gradient(180deg, var(--yellow-soft), var(--yellow));
  padding: 0 0 96px;
}

.hero {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 96px 0 36px;
  text-align: center;
}

.hero-title-1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-title {
  margin: 0;
  font-size: clamp(50px, 8vw, 92px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 28px 0 42px;
  color: #5f684f;
  font-size: 19px;
  font-weight: 800;
}

.hero-cta {
  min-width: 150px;
  height: 48px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-cta:hover {
  box-shadow: 0 12px 24px rgba(30, 32, 36, 0.2);
}

.hero-banner {
  width: min(1280px, calc(100% - 72px));
  margin: 24px auto 0;
}

.banner-container {
  padding: 52px 70px 26px;
  background: var(--cream);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.banner-container h2,
.banner-container h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.35;
}

.device-row {
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  align-items: end;
  justify-items: center;
  gap: 74px;
  margin-top: 32px;
}

.center-device {
  display: grid;
  justify-items: center;
  gap: 28px;
}

.phone {
  position: relative;
  width: 250px;
  height: 505px;
  padding: 18px 16px 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdf3, #ffffff);
  border: 7px solid var(--pollen);
  border-radius: 5px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.center-device .phone {
  width: 190px;
  height: 392px;
}

.phone-top,
.phone-title,
.phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-top {
  color: #222;
  font-size: 12px;
  font-weight: 800;
}

.phone-top i {
  width: 40px;
  height: 10px;
  background: linear-gradient(90deg, #111 30%, transparent 31% 48%, #111 49% 70%, #f45 71%);
  border-radius: 999px;
}

.phone-title {
  justify-content: center;
  margin: 18px 0 14px;
  font-size: 13px;
  font-weight: 800;
}

.phone-search {
  height: 34px;
  padding: 0 12px;
  color: #9aa1aa;
  background: #f6f7fa;
  border-radius: 4px;
  font-size: 12px;
  line-height: 34px;
  text-align: left;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 15px 0 14px;
  color: #3b3d42;
  font-size: 11px;
  font-weight: 800;
}

.tabs span {
  padding: 6px 0;
  background: #f5f6f8;
  border-radius: 5px;
}

.mini-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.mini-banner span {
  height: 46px;
  padding: 10px;
  background: linear-gradient(135deg, #fff1a8, #edf8e8);
  border-radius: 8px;
  color: #374151;
  font-size: 11px;
  font-weight: 800;
}

.job-row {
  position: relative;
  margin-bottom: 10px;
  padding: 10px;
  text-align: left;
  background: #fff;
  border: 1px solid #f0f1f4;
  border-radius: 8px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.04);
}

.job-row b {
  display: block;
  max-width: 148px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-row p {
  margin: 6px 0 0;
  color: #8a9099;
  font-size: 10px;
}

.job-row span {
  position: absolute;
  top: 12px;
  right: 10px;
  padding: 5px 6px;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
  font-size: 10px;
}

.phone-nav {
  position: absolute;
  right: 14px;
  bottom: 10px;
  left: 14px;
  color: #555a62;
  border-top: 1px solid #eceff3;
  padding-top: 9px;
  font-size: 10px;
}

.qr {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  width: 78px;
  height: 78px;
  padding: 8px;
  background: #fff;
  border: 4px solid var(--leaf);
  border-radius: 20px;
}

.qr.large {
  width: 130px;
  height: 130px;
  padding: 13px;
  border-radius: 28px;
}

.qr.blue {
  border-color: #e8bd2f;
}

.qr span {
  display: block;
  background: transparent;
  border-radius: 2px;
}

.qr span.on {
  background: #111;
}

.qr b {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #111;
  background: var(--pollen);
  border: 2px solid #fff;
  border-radius: 11px;
  transform: translate(-50%, -50%);
}

.qr.large b {
  width: 48px;
  height: 48px;
}

.qr b svg {
  width: 20px;
  height: 20px;
}

.job-hero {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding: 14px 10px;
  color: #fff;
  text-align: left;
  background: #263923;
  border-radius: 8px;
  font-size: 11px;
}

.job-hero span {
  color: #f7d568;
}

.detail-card {
  padding: 12px;
  text-align: left;
  background: #fffaf0;
  border-radius: 8px;
  font-size: 11px;
}

.detail-card h4 {
  margin: 0 0 10px;
}

.detail-card p {
  margin: 8px 0;
  color: #555c65;
}

.detail-card .link {
  color: #d5603a;
}

.phone-detail button {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  height: 34px;
  color: #111;
  background: var(--pollen);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
}

.dark-job {
  height: 72px;
  padding: 12px;
  color: #d2d8e8;
  background: #243820;
  border-radius: 8px;
  text-align: left;
  font-size: 12px;
}

.dark-job span {
  float: right;
  width: 28px;
  height: 28px;
  background: #9b7c31;
  border-radius: 50%;
}

.status-sheet {
  margin-top: 24px;
  padding: 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.status-sheet strong {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
}

.status-sheet p {
  margin: 0 0 7px;
  padding: 7px 10px;
  color: #868d97;
  background: #f7f8fa;
  border-radius: 6px;
  font-size: 11px;
}

.status-sheet p.active {
  color: #111;
  background: #fff0a6;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.carousel-dots span {
  width: 10px;
  height: 10px;
  background: rgba(30, 32, 36, 0.3);
  border-radius: 50%;
}

.carousel-dots .active {
  background: var(--orange);
}

.features,
.process,
.testimonials {
  padding: 72px 0 24px;
  background: var(--page);
}

.section-title {
  margin: 0 0 42px;
  text-align: center;
  font-size: 34px;
  letter-spacing: 0;
}

.features-grid,
.process-steps,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.feature-card,
.process-card,
.testimonial-card {
  min-height: 190px;
  padding: 38px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.feature-icon {
  display: grid;
  place-items: center;
  height: 42px;
  margin-bottom: 24px;
  color: var(--leaf);
}

.feature-icon svg {
  width: 42px;
  height: 42px;
}

.feature-card h3,
.process-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
}

.feature-card p,
.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.process {
  padding-top: 82px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 22px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-weight: 900;
}

.testimonials {
  padding-bottom: 72px;
}

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  min-height: 145px;
  padding: 24px;
  text-align: left;
}

.testimonial-card p {
  margin: 0 0 22px;
  color: #4a5058;
  line-height: 1.65;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #111;
  background: var(--leaf-soft);
  border: 1px solid #b9d9b1;
  border-radius: 50%;
}

.author svg {
  width: 22px;
  height: 22px;
}

.author strong,
.author small {
  display: block;
}

.author small {
  margin-top: 3px;
  color: var(--muted);
}

.cta {
  padding: 72px 24px;
  background: linear-gradient(180deg, var(--yellow), #ffeaa9);
  text-align: center;
}

.cta h2 {
  margin: 0 0 18px;
  font-size: 32px;
}

.cta p {
  margin: 0 0 28px;
  color: #6e6660;
  font-weight: 700;
}

.site-footer {
  margin-top: 0;
  padding: 64px 0 28px;
  background: #fff;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 48px;
  align-items: center;
  width: min(1280px, calc(100% - 72px));
  margin: 0 auto;
}

.slogan {
  margin: 0 0 14px;
  color: #4b535d;
  font-size: 18px;
  font-weight: 800;
}

.contact {
  margin: 6px 0;
  color: #7a828d;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  gap: 48px;
  color: #454b55;
  font-weight: 700;
}

.qrcode-group {
  display: flex;
  gap: 26px;
}

.qrcode-item {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #7a828d;
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: min(1280px, calc(100% - 72px));
  margin: 48px auto 0;
  padding-top: 22px;
  color: #9aa1aa;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-bottom small {
  flex-basis: 100%;
  text-align: center;
}

.legal-only-footer {
  padding: 0;
  background: rgba(255, 255, 255, 0.72);
}

.legal-only-footer .footer-bottom {
  margin-top: 0;
  padding: 22px 0 24px;
  border-top-color: rgba(119, 108, 196, 0.18);
}

.dialog {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.dialog.open {
  display: block;
}

.dialog-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.login-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: min(800px, calc(100% - 36px));
  padding: 32px;
  background: #fff;
  border-radius: 8px;
  transform: translate(-50%, -50%);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  color: #60656d;
  background: transparent;
}

.dialog-visual {
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 28px;
  background: var(--yellow-soft);
  border-radius: 8px;
  text-align: center;
}

.dialog-visual h2 {
  margin: 0 0 10px;
}

.dialog-visual p {
  margin: 0 0 22px;
  color: var(--muted);
}

.dialog-form {
  display: grid;
  align-content: center;
  gap: 16px;
}

.dialog-form label {
  display: grid;
  gap: 8px;
  color: #3f454d;
  font-weight: 700;
}

.dialog-form input {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.dialog-form button {
  height: 44px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-weight: 800;
}

.route-view {
  min-height: calc(100vh - 60px);
}

.workspace-view {
  background: var(--page);
}

.history-view {
  min-height: 800px;
}

.urlredirect-view {
  min-height: 685px;
  background: var(--cream);
}

.urlredirect-page {
  display: grid;
  justify-items: center;
  min-height: 685px;
  padding: 58px 24px 38px;
  background: var(--cream);
  overflow-x: hidden;
  text-align: center;
}

.hyacinthredirect-view,
.hyacinth-redirect-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(176, 164, 255, 0.25), transparent 28%),
    radial-gradient(circle at 88% 24%, rgba(126, 205, 203, 0.18), transparent 26%),
    linear-gradient(180deg, #f8f6ff 0%, #f2f5ff 55%, #fbfaff 100%);
}

.hyacinth-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: -14px auto 26px;
  padding: 8px 18px 8px 9px;
  color: #4d459f;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(125, 114, 218, 0.25);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(75, 63, 154, 0.12);
  text-align: left;
  backdrop-filter: blur(14px);
}

.hyacinth-hero-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 2px;
  background: linear-gradient(145deg, #eeeaff, #ffffff);
  border-radius: 50%;
}

.hyacinth-hero-icon img {
  width: 39px;
  height: 42px;
  object-fit: contain;
}

.hyacinth-brand-lockup > span:last-child {
  display: grid;
  gap: 2px;
}

.hyacinth-brand-lockup small {
  color: #8981c4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hyacinth-brand-lockup strong {
  font-size: 15px;
}

.hyacinth-brand .app-header {
  box-shadow: 0 2px 18px rgba(71, 59, 144, 0.1);
}

.hyacinth-brand .url-info-container h1 {
  color: #2e2a59;
}

.hyacinth-brand .redirect-btn {
  color: #fff;
  background: linear-gradient(135deg, #8b7ff0, #665bc8);
}

.hyacinth-brand .copy-btn {
  background: #3f8f89;
}

.hyacinth-brand .official-channels strong,
.hyacinth-brand .trial-sheet a {
  color: #5f54bd;
}

.url-info-container {
  width: min(760px, calc(100vw - 48px));
  min-width: 0;
}

.url-info-container h1 {
  margin: 0 0 22px;
  color: #2b3a2a;
  font-size: 31px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0 0;
}

.redirect-access-gate {
  width: min(464px, 100%);
  margin: 28px auto 0;
  padding: 22px;
  color: #3d386d;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #d8d1fa;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(68, 56, 143, 0.1);
}

.redirect-access-gate strong {
  display: block;
  font-size: 18px;
}

.redirect-access-gate p {
  margin: 8px 0 0;
  color: #77718f;
  font-size: 14px;
  line-height: 1.6;
}

.redirect-access-gate > div {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.redirect-access-gate button {
  min-width: 96px;
  height: 40px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, #8579e8, #5e55bd);
  border-radius: 9px;
  font-weight: 800;
}

.redirect-access-gate button + button {
  color: #574fa8;
  background: #eeebff;
}

.redirect-btn,
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 104px;
  height: 42px;
  padding: 0 18px;
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
}

.redirect-btn {
  background: var(--pollen);
  color: var(--ink);
}

.copy-btn {
  background: var(--leaf);
}

.redirect-btn svg,
.copy-btn svg {
  width: 17px;
  height: 17px;
}

.redirect-btn:hover,
.copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(39, 54, 78, 0.14);
}

.safety-notice {
  width: min(464px, calc(100vw - 48px));
  margin: 30px auto 0;
  padding: 20px;
  color: #333;
  background: linear-gradient(180deg, #fff0f0, #ffecec);
  border: 2px solid #e74c3c;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.2);
  text-align: left;
}

.notice-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c0392b;
  font-size: 18px;
}

.notice-title span {
  display: inline-flex;
  color: #e74c3c;
}

.notice-title svg {
  width: 22px;
  height: 22px;
}

.notice-copy {
  margin: 14px 0 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.official-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.official-channels div {
  padding: 10px;
  background: #fef6f6;
  border: 1px solid #ffbbbb;
  border-radius: 8px;
  text-align: center;
}

.official-channels small,
.official-channels strong {
  display: block;
}

.official-channels small {
  margin-bottom: 5px;
  color: #999;
  font-size: 13px;
}

.official-channels strong {
  color: var(--leaf);
}

.risk-title {
  margin: 16px 0 12px;
  color: #c0392b;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.risk-list {
  padding: 12px;
  background: #fdf2f2;
  border-left: 3px solid #e74c3c;
  border-radius: 8px;
}

.risk-list p {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0 0 10px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.risk-list p:last-child {
  margin-bottom: 0;
}

.risk-list b {
  flex: 0 0 auto;
  color: #e74c3c;
}

.risk-list span {
  min-width: 0;
}

.trial-sheet {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  color: #888;
  border-top: 1px dashed #e0c0c0;
  font-size: 13px;
}

.trial-sheet svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.trial-sheet a {
  color: var(--leaf);
  font-weight: 700;
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 60;
  padding: 10px 18px;
  color: #fff;
  background: rgba(27, 33, 43, 0.92);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.copy-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.jobs-page {
  width: min(1256px, calc(100% - 56px));
  margin: 0 auto;
  padding: 20px 0 64px;
}

.update-panel,
.filter-panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.update-panel {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 36px;
  align-items: center;
  min-height: 194px;
  padding: 34px 20px;
}

.update-copy h1 {
  margin: 0 0 18px;
  font-size: 26px;
  line-height: 1.25;
}

.update-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
}

.member-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 358px;
  height: 36px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff0b8;
  border-radius: 6px;
  font-weight: 700;
}

.member-banner span,
.member-banner b {
  display: inline-flex;
  align-items: center;
}

.member-banner svg {
  width: 22px;
  height: 22px;
}

.member-banner b {
  gap: 2px;
  margin-left: auto;
  color: var(--leaf-dark);
  font-size: 13px;
}

.member-banner b svg {
  width: 14px;
  height: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: var(--leaf);
  font-size: 24px;
  line-height: 1.2;
}

.stats-grid small {
  margin-left: 2px;
  font-size: 13px;
}

.stats-grid span {
  display: block;
  margin-top: 6px;
  color: #8a927f;
  font-size: 14px;
}

.filter-panel {
  margin-top: 20px;
  padding: 20px 20px 38px;
}

.filter-line {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: start;
  gap: 12px;
  margin-bottom: 18px;
}

.filter-line strong {
  padding-top: 5px;
  font-size: 16px;
}

.filter-line div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip,
.filter-more,
.select-pill,
.reset-button,
.sort-button {
  height: 34px;
  padding: 0 10px;
  color: #374233;
  background: #f3f3e8;
  border: 1px solid transparent;
  border-radius: 4px;
}

.filter-chip:hover,
.filter-more:hover,
.select-pill:hover,
.sort-button:hover {
  color: var(--leaf-dark);
  border-color: #c6ddb8;
  background: var(--leaf-soft);
}

.filter-more {
  color: var(--leaf);
  background: transparent;
}

.select-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 28px;
  padding: 0 12px;
}

.select-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a8ad9c;
  background: #fffefa;
  border-color: #dcd6bd;
  text-align: left;
}

.reset-button {
  color: var(--leaf-dark);
  background: var(--leaf-soft);
  border-color: #b8dca9;
}

.tip-bar {
  margin-top: 10px;
  padding: 11px 16px;
  color: #b07517;
  background: #fff7d8;
  border-radius: 4px;
  font-size: 13px;
}

.search-line {
  display: grid;
  grid-template-columns: 1fr 76px;
  margin-top: 14px;
}

.search-line label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  background: #fffefa;
  border: 1px solid #dcd6bd;
  border-right: 0;
  border-radius: 4px 0 0 4px;
}

.search-line svg {
  width: 18px;
  height: 18px;
  color: #95a08b;
}

.search-line input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
}

.search-line button {
  color: #68735e;
  background: #f7f5ea;
  border: 1px solid #dcd6bd;
  border-radius: 0 4px 4px 0;
}

.list-toolbar {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 10px;
  align-items: center;
  margin: 16px 0 14px;
}

.sheet-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  color: #fff;
  background: var(--leaf);
  border-radius: 4px;
}

.sheet-button svg {
  width: 16px;
  height: 16px;
}

.toolbar-switches {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  color: #68735e;
  font-size: 13px;
}

.toolbar-switches label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.job-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  min-height: 174px;
  padding: 22px 20px 16px;
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.job-logo {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--leaf-dark);
  background: var(--leaf-soft);
  border: 1px solid #d9e9ce;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
}

.job-main {
  min-width: 0;
}

.job-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.company-type {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: #fff;
  background: var(--pollen);
  color: var(--ink);
  border-radius: 3px;
  font-size: 12px;
  line-height: 1;
}

.company-type.blue {
  background: var(--leaf);
  color: #fff;
}

.company-type.pink {
  background: #d69a33;
  color: #fff;
}

.company-type.yellow {
  background: var(--pollen);
  color: var(--ink);
}

.job-title-row h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #2c3528;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-title,
.job-meta,
.job-submeta {
  margin: 8px 0 0;
  overflow: hidden;
  color: #606a78;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-submeta {
  color: #8b94a1;
  font-size: 13px;
}

.job-card-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  color: #8b94a1;
  border-top: 1px solid #eee8d2;
  font-size: 13px;
}

.job-card-bottom button {
  color: var(--leaf);
  background: transparent;
}

.ranking-page {
  width: min(1376px, calc(100% - 64px));
  margin: 0 auto;
  padding: 82px 0 70px;
}

.ranking-head {
  display: grid;
  justify-items: center;
  margin-bottom: 26px;
  text-align: center;
}

.ranking-head h1 {
  margin: 0 0 12px;
  font-size: 30px;
}

.ranking-head p {
  margin: 0 0 24px;
  color: #8a927f;
}

.rank-tabs {
  display: grid;
  grid-template-columns: repeat(3, 90px);
  padding: 4px;
  background: #f0eee0;
  border-radius: 8px;
}

.rank-tabs button {
  height: 38px;
  color: #68735e;
  background: transparent;
  border-radius: 6px;
}

.rank-tabs .active {
  color: var(--leaf-dark);
  background: var(--cream);
  box-shadow: 0 2px 8px rgba(19, 34, 58, 0.08);
  font-weight: 800;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ranking-card {
  grid-template-columns: 58px minmax(0, 1fr) 64px;
  min-height: 182px;
  padding-top: 22px;
}

.rank-heat {
  text-align: center;
}

.rank-heat strong,
.rank-heat span {
  display: block;
}

.rank-heat strong {
  color: #d99a19;
  font-size: 25px;
  line-height: 1.1;
}

.rank-heat span {
  margin-top: 4px;
  color: #7a8474;
  font-size: 12px;
}

.rank-number {
  position: absolute;
  top: 16px;
  right: 20px;
  color: rgba(36, 43, 54, 0.08);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.history-page {
  display: grid;
  justify-items: center;
  align-items: start;
  min-height: 800px;
  padding: 165px 24px 80px;
}

.login-gate {
  display: grid;
  justify-items: center;
  width: min(578px, 100%);
  padding: 60px 48px 56px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.gate-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  color: var(--leaf);
}

.gate-icon svg {
  width: 50px;
  height: 50px;
  stroke-width: 1.8;
}

.login-gate h1 {
  margin: 0 0 18px;
  font-size: 22px;
}

.login-gate p {
  max-width: 470px;
  margin: 0;
  color: #7c8777;
  line-height: 1.75;
}

.gate-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 34px 0 38px;
}

.gate-tools div {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #5f6b5a;
}

.gate-tools span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--leaf);
  background: var(--leaf-soft);
  border-radius: 50%;
}

.gate-tools svg {
  width: 26px;
  height: 26px;
}

.gate-tools strong {
  font-size: 14px;
}

.login-gate > button {
  width: 98px;
  height: 36px;
  color: #fff;
  background: var(--leaf);
  border-radius: 4px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .header-content {
    grid-template-columns: 1fr auto auto;
  }

  .nav-items {
    display: none;
  }

  body.nav-open .nav-items {
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 10px 24px 18px;
    background: #fff;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.08);
  }

  body.nav-open .nav-item {
    height: 44px;
    border-bottom-width: 2px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .device-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .center-device {
    order: -1;
  }

  .features-grid,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .update-panel,
  .ranking-grid,
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .select-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .list-toolbar {
    grid-template-columns: 1fr;
  }

  .toolbar-switches {
    justify-content: flex-start;
  }

  .ranking-card {
    grid-template-columns: 58px minmax(0, 1fr) 64px;
  }

  .urlredirect-view,
  .urlredirect-page {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .header-content {
    width: calc(100% - 28px);
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .logo-text {
    font-size: 16px;
  }

  .login-button {
    display: none;
  }

  .hero {
    width: calc(100% - 28px);
    padding-top: 66px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-banner {
    width: calc(100% - 24px);
  }

  .banner-container {
    padding: 30px 18px 24px;
  }

  .banner-container h2,
  .banner-container h3 {
    font-size: 22px;
  }

  .phone {
    width: min(250px, 100%);
  }

  .features-grid,
  .process-steps,
  .testimonials-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .section-title {
    font-size: 28px;
  }

  .login-dialog {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .footer-container,
  .footer-bottom {
    width: calc(100% - 32px);
  }

  .site-footer {
    margin-top: 120px;
  }

  .urlredirect-view + .site-footer,
  .history-view + .site-footer {
    margin-top: 0;
  }

  .qrcode-group,
  .footer-nav {
    flex-wrap: wrap;
  }

  .jobs-page,
  .ranking-page {
    width: calc(100% - 24px);
  }

  .update-panel {
    padding: 24px 16px;
  }

  .member-banner {
    min-width: 0;
    width: 100%;
    font-size: 13px;
  }

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

  .filter-panel {
    padding: 18px 14px 26px;
  }

  .filter-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .select-grid,
  .search-line {
    grid-template-columns: 1fr;
  }

  .search-line label,
  .search-line button {
    border: 1px solid #dcd6bd;
    border-radius: 4px;
  }

  .search-line button {
    height: 40px;
    margin-top: 8px;
  }

  .job-card,
  .ranking-card {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 18px 14px 14px;
  }

  .rank-heat {
    grid-column: 1 / -1;
    text-align: left;
  }

  .rank-heat strong,
  .rank-heat span {
    display: inline;
  }

  .rank-number {
    display: none;
  }

  .ranking-page {
    padding-top: 54px;
  }

  .rank-tabs {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .history-page {
    min-height: 660px;
    padding: 72px 12px 96px;
  }

  .history-view {
    min-height: auto;
  }

  .urlredirect-page {
    padding: 44px 14px 34px;
  }

  .url-info-container {
    width: calc(100vw - 28px);
  }

  .url-info-container h1 {
    font-size: 24px;
  }

  .action-buttons,
  .official-channels {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    display: grid;
    gap: 12px;
    width: min(260px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .redirect-btn,
  .copy-btn {
    width: 100%;
  }

  .redirect-access-gate > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .safety-notice {
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }

  .trial-sheet {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .login-gate {
    padding: 42px 20px;
  }

  .gate-tools {
    width: 100%;
    gap: 12px;
  }

  .gate-tools span {
    width: 48px;
    height: 48px;
  }
}
