:root {
  --yjt-bg: #f4f7f5;
  --yjt-surface: #ffffff;
  --yjt-ink: #1a2e26;
  --yjt-muted: #5a6f66;
  --yjt-brand: #0d6e4f;
  --yjt-brand-2: #0a573f;
  --yjt-accent: #f5c518;
  --yjt-line: #d7e3dc;
  --yjt-danger: #c0392b;
  --yjt-radius: 10px;
  --yjt-shadow: 0 8px 28px rgba(13, 110, 79, 0.08);
  --yjt-max: 1080px;
  --yjt-font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--yjt-font);
  color: var(--yjt-ink);
  background:
    radial-gradient(1200px 480px at 10% -10%, rgba(245, 197, 24, 0.18), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(13, 110, 79, 0.12), transparent 50%),
    var(--yjt-bg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--yjt-brand); text-decoration: none; }
a:hover { color: var(--yjt-brand-2); text-decoration: underline; }
img { max-width: 100%; height: auto; }
.yjt-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--yjt-brand); color: #fff; padding: .5rem 1rem; z-index: 100;
}
.yjt-skip:focus { left: 0; }
.yjt-container {
  width: 100%;
  max-width: var(--yjt-max);
  margin: 0 auto;
  padding: 0 16px;
  min-width: 0;
}
.yjt-header {
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--yjt-line);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
}
.yjt-header__bar {
  display: flex; align-items: center; gap: 12px;
  min-height: 58px;
}
.yjt-brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--yjt-ink); font-weight: 700; font-size: 1.15rem;
  text-decoration: none; flex-shrink: 0;
}
.yjt-brand:hover { text-decoration: none; color: var(--yjt-brand); }
.yjt-brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(145deg, #0d6e4f, #14966c);
  color: #f5c518; font-size: 1.05rem; font-weight: 800;
  line-height: 1; letter-spacing: 0;
}
.yjt-brand__name { white-space: nowrap; }
.yjt-brand__logo { display: block; border-radius: 8px; }
.yjt-nav {
  display: flex; flex-wrap: wrap; gap: 4px 10px;
  margin-left: auto; align-items: center;
}
.yjt-nav__link {
  color: var(--yjt-ink); font-size: .92rem; padding: 6px 4px;
  white-space: nowrap;
}
.yjt-nav-toggle {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--yjt-line); border-radius: 8px;
  background: #fff; padding: 8px; cursor: pointer;
}
.yjt-nav-toggle span {
  display: block; height: 2px; background: var(--yjt-ink); margin: 5px 0;
}
.yjt-main { padding: 20px 0 40px; min-width: 0; }
.yjt-hero {
  background: linear-gradient(135deg, #0d6e4f 0%, #14966c 55%, #1aad7c 100%);
  color: #fff; border-radius: var(--yjt-radius);
  padding: 24px 20px; margin-bottom: 16px;
  box-shadow: var(--yjt-shadow);
}
.yjt-hero h1 { margin: 0 0 8px; font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 750; }
.yjt-hero p { margin: 0; opacity: .95; line-height: 1.65; max-width: 52rem; }
.yjt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 16px;
  align-items: start;
}
.yjt-layout__main,
.yjt-layout__side { min-width: 0; }
.yjt-home-title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 750;
  text-align: center;
}
.yjt-home-desc { margin: 0 0 8px; color: var(--yjt-ink); line-height: 1.7; }
.yjt-home-next { margin: 0 0 14px; color: var(--yjt-brand-2); font-size: .92rem; }
.yjt-home-query__label {
  display: block; font-weight: 650; margin-bottom: 8px; color: var(--yjt-brand-2);
}
.yjt-home-query__row {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.yjt-home-query__row select {
  flex: 1 1 200px; min-width: 0;
  padding: 9px 10px; border: 1px solid var(--yjt-line);
  border-radius: 8px; font: inherit; background: #fff;
}
.yjt-btn {
  display: inline-block; margin-top: 12px;
  background: var(--yjt-brand); color: #fff !important;
  border: 0; border-radius: 8px; padding: 9px 16px;
  font: inherit; cursor: pointer; text-decoration: none !important;
}
.yjt-btn--inline { margin-top: 0; flex: 0 0 auto; white-space: nowrap; }
.yjt-btn:hover { background: var(--yjt-brand-2); }
.yjt-panel {
  background: var(--yjt-surface);
  border: 1px solid var(--yjt-line);
  border-radius: var(--yjt-radius);
  padding: 18px 16px;
  margin-bottom: 16px;
  box-shadow: var(--yjt-shadow);
  min-width: 0;
}
.yjt-panel h2 {
  margin: 0 0 12px; font-size: 1.05rem;
  border-left: 4px solid var(--yjt-accent);
  padding-left: 10px;
}
.yjt-calc-inline__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 4px;
}
.yjt-calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.yjt-calc-field label {
  display: block; font-size: .88rem; color: var(--yjt-muted); margin: 0; line-height: 1.35;
}
.yjt-calc-field input {
  width: 100%; max-width: 100%;
  padding: 8px 10px; border: 1px solid var(--yjt-line);
  border-radius: 8px; font: inherit; min-width: 0; background: #fff;
}
.yjt-tool__result {
  margin-top: 10px; font-size: .92rem; color: var(--yjt-brand-2);
  word-break: break-word;
}
.yjt-table--rank { font-size: .86rem; }
.yjt-table--rank th, .yjt-table--rank td { padding: 6px 6px; }
.yjt-rank-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #c5d6ce; color: #1a2e26; font-size: .78rem; font-weight: 700;
}
.yjt-rank-badge.is-top { background: var(--yjt-brand); color: #fff; }
.yjt-hot-cities,
.yjt-side-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.yjt-hot-cities a,
.yjt-side-links a {
  display: block; padding: 8px 6px; text-align: center;
  background: #f7fbf9; border: 1px solid var(--yjt-line);
  border-radius: 8px; overflow-wrap: anywhere; font-size: .88rem;
}
.yjt-side-links { grid-template-columns: 1fr; }
.yjt-filter-row {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 12px;
}
.yjt-filter-row input {
  flex: 1 1 180px; min-width: 0;
  padding: 8px 10px; border: 1px solid var(--yjt-line); border-radius: 8px; font: inherit;
}
.yjt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.yjt-table {
  width: 100%; border-collapse: collapse; font-size: .92rem;
  min-width: 0;
}
.yjt-table th, .yjt-table td {
  border: 1px solid var(--yjt-line);
  padding: 8px 10px; text-align: center;
}
.yjt-table th { background: #e8f4ee; color: var(--yjt-brand-2); font-weight: 650; }
.yjt-table td:first-child, .yjt-table th:first-child { text-align: left; }
.yjt-table a { font-weight: 600; }
.yjt-price-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px; margin: 12px 0;
}
.yjt-price-card {
  background: #f0faf5; border: 1px solid var(--yjt-line);
  border-radius: 8px; padding: 12px; text-align: center; min-width: 0;
}
.yjt-price-card strong {
  display: block; font-size: 1.35rem; color: var(--yjt-danger);
  margin-top: 4px;
}
.yjt-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}
.yjt-city-grid a {
  display: block; padding: 8px 6px; text-align: center;
  background: #f7fbf9; border: 1px solid var(--yjt-line);
  border-radius: 8px; overflow-wrap: anywhere;
}
.yjt-note { color: var(--yjt-muted); font-size: .9rem; }
.yjt-chg.is-up { color: #c0392b; font-weight: 650; }
.yjt-chg.is-down { color: #1a7a4c; font-weight: 650; }
.yjt-chg.is-flat { color: var(--yjt-muted); }
.yjt-breadcrumb { font-size: .9rem; margin-bottom: 12px; color: var(--yjt-muted); overflow-wrap: anywhere; }
.yjt-article__title { margin: 0 0 8px; font-size: 1.45rem; }
.yjt-article__meta { color: var(--yjt-muted); font-size: .88rem; margin-bottom: 12px; }
.yjt-article__content { overflow-wrap: anywhere; }
.yjt-list { list-style: none; padding: 0; margin: 0; }
.yjt-list li { border-bottom: 1px solid var(--yjt-line); padding: 10px 0; }
.yjt-list a { font-weight: 600; }
.yjt-footer {
  background: #12352a; color: #cfe6db; padding: 28px 0 36px; margin-top: 20px;
}
.yjt-footer a { color: #e8f7ef; }
.yjt-footer__disclaimer { font-size: .88rem; margin-bottom: 14px; opacity: .92; }
.yjt-footer__nav {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 14px; font-size: .9rem;
}
.yjt-footer__friends {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 8px 14px; font-size: .88rem; margin-bottom: 12px;
}
.yjt-footer__friends-label { flex-shrink: 0; }
.yjt-footer__friends-list {
  display: inline-flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
}
.yjt-footer__friends-list a { margin: 0; }
.yjt-footer__copy { margin: 0; font-size: .85rem; opacity: .85; }
.yjt-sched-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.yjt-sched-item {
  background: #f7fbf9; border: 1px solid var(--yjt-line);
  border-radius: 8px; padding: 10px; text-align: center; font-size: .9rem; min-width: 0;
}
@media (max-width: 960px) {
  .yjt-layout { grid-template-columns: 1fr; }
  .yjt-calc-inline__fields { grid-template-columns: 1fr; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .yjt-calc-inline__fields { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .yjt-nav-toggle { display: inline-block; order: -1; }
  .yjt-nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    margin: 0 0 10px; padding: 8px 0;
  }
  .yjt-nav.is-open { display: flex; }
  .yjt-header__bar { flex-wrap: wrap; }
  .yjt-price-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yjt-sched-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .yjt-sched-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yjt-price-cards { grid-template-columns: 1fr 1fr; }
  .yjt-hot-cities { grid-template-columns: 1fr; }
}
