/* Southbound · Material-inspired interface. Company trademarks retain original colors. */
:root {
  color-scheme: light;
  --bg: #f8fafd;
  --surface: #fff;
  --ink: #202124;
  --muted: #5f6368;
  --line: #dde3ea;
  --primary: #0b57d0;
  --primary-soft: #e8f0fe;
  --font: 'Google Sans', 'Roboto', 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { border: 0; background: none; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, select { transition: background .18s, box-shadow .18s, border-color .18s; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
button:disabled, select:disabled { cursor: default; opacity: .55; }
[hidden], .hide { display: none !important; }
.topbar { background: var(--surface); border-bottom: 1px solid #edf0f4; }
.top-inner { max-width: 1360px; min-height: 80px; padding: 12px 40px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 23px; font-weight: 600; letter-spacing: .3px; }
.brand-icon { display: grid; place-items: center; width: 40px; height: 40px; background: var(--primary); color: white; border-radius: 14px; }
.brand-icon svg { width: 34px; height: 34px; }
.ui-icon { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.apply-link, .source-button, .directory-actions a, .directory-actions button { display: inline-flex; align-items: center; gap: 6px; }
.apply-link .ui-icon, .directory-actions .ui-icon { width: 15px; height: 15px; }
.primary-link .ui-icon { width: 16px; height: 16px; }
.dialog-close .ui-icon { width: 20px; height: 20px; }
.brand-en { display: block; font-size: 9px; letter-spacing: 1.8px; margin-top: 3px; font-weight: 500; color: var(--muted); }
.top-inner nav { display: flex; gap: 8px; padding: 5px; background: #f1f4f9; border-radius: 32px; }
.nav { min-height: 42px; padding: 0 22px; border-radius: 24px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.nav:hover { background: #e8edf5; }
.nav.active { background: #d3e3fd; color: #0842a0; }
#saved-count { display: inline-grid; place-items: center; min-width: 21px; height: 21px; margin-left: 5px; padding: 0 5px; border-radius: 12px; background: #e2e7ef; color: #444746; font-size: 11px; }
.nav.active #saved-count { background: white; color: var(--primary); }
.refresh, .primary-link, .empty button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: white; border-radius: 24px; min-height: 44px; padding: 10px 22px; font-size: 14px; font-weight: 500; }
.refresh:hover, .primary-link:hover, .empty button:hover { background: #0842a0; box-shadow: 0 2px 5px #174ea630; }
.refresh-icon { width: 19px; height: 19px; }
.refresh.busy .refresh-icon { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
main { max-width: 1360px; padding: 0 40px; margin: auto; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 56px; padding: 32px 12px 28px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 1px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4285f4; margin-right: 2px; }
h1 { font-size: clamp(34px, 3.1vw, 44px); font-weight: 500; letter-spacing: -1.8px; line-height: 1.35; margin: 16px 0; }
.hero-accent { color: var(--primary); }
.hero-copy > p { color: var(--muted); font-size: 15px; line-height: 1.9; margin: 0; }
.hero-note { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 16px; }
.small-check { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #ceead6; color: #137333; font-size: 11px; }
.note-divider { width: 3px; height: 3px; border-radius: 50%; background: #9aa0a6; margin: 0 2px; }
.daily-card { width: 390px; flex-shrink: 0; padding: 25px 28px 0; border-radius: 28px; background: #e8f0fe; color: #174ea6; }
.daily-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; }
.daily-top > span:first-child { font-weight: 600; }
.daily-top > span:last-child { color: #52657f; font-size: 11px; }
.daily-number { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 20px; }
.daily-number strong { font-size: 54px; letter-spacing: -2px; line-height: 1; font-weight: 400; font-variant-numeric: tabular-nums; }
.daily-number > span { color: #52657f; font-size: 13px; }
.daily-stats { display: grid; grid-template-columns: 1.1fr .8fr 1.2fr; gap: 18px; margin-bottom: 20px; }
.daily-stats > div { display: flex; flex-direction: column; gap: 7px; }
.daily-stats strong { font-size: 24px; font-weight: 500; }
.daily-stats span { color: #52657f; font-size: 11px; white-space: nowrap; }
.daily-bottom { display: flex; align-items: center; gap: 8px; border-top: 1px solid #cad9f1; min-height: 52px; color: #52657f; font-size: 11px; }
.daily-bottom button { display: grid; place-items: center; margin-left: auto; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; color: var(--primary); }
.daily-bottom button:hover { background: #d3e3fd; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #188038; }
.city-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.city-card { --city-color: #1967d2; --city-bg: #eaf1fe; background: var(--city-bg); border: 2px solid transparent; border-radius: 20px; text-align: left; padding: 12px 20px; }
.city-card:nth-child(2) { --city-color: #b3261e; --city-bg: #fceeed; }
.city-card:nth-child(3) { --city-color: #137333; --city-bg: #e7f3ec; }
.city-card:nth-child(4) { --city-color: #8a5700; --city-bg: #fef4d9; }
.city-card:hover { box-shadow: 0 3px 10px #3c404318; border-color: color-mix(in srgb, var(--city-color) 35%, transparent); }
.city-card.active { border-color: var(--city-color); }
.city-top { display: flex; justify-content: space-between; align-items: center; }
.city-code { font-size: 10px; letter-spacing: 1.5px; color: var(--city-color); }
.city-select { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid color-mix(in srgb, var(--city-color) 35%, transparent); border-radius: 50%; color: var(--city-color); background: transparent; }
.city-select svg { width: 15px; height: 15px; opacity: 0; }
.city-card.active .city-select { color: white; background: var(--city-color); border-color: var(--city-color); }
.city-card.active .city-select svg { opacity: 1; }
.city-main { display: flex; justify-content: space-between; align-items: center; padding: 5px 0 10px; gap: 8px; }
.city-main h2 { font-size: 23px; font-weight: 500; margin: 0 0 7px; white-space: nowrap; }
.city-main > div > span { font-size: 9px; letter-spacing: 1px; color: var(--muted); }
.city-main svg { width: 108px; height: 62px; fill: none; stroke: var(--city-color); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.city-bottom { display: flex; align-items: center; justify-content: space-between; gap: 5px; color: var(--muted); font-size: 10px; }
.city-count { color: var(--city-color); background: #ffffffa8; padding: 5px 8px; border-radius: 12px; font-size: 10px; white-space: nowrap; }
.board { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 30px; scroll-margin-top: 24px; }
.filters { border-radius: 24px; background: #eef2f8; padding: 22px 18px; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 20px; }
.filter-heading h2 { font-size: 16px; font-weight: 500; margin: 0; }
.text-button { color: var(--primary); padding: 8px; border-radius: 16px; font-size: 12px; }
.text-button:hover { background: var(--primary-soft); }
.filter-label { display: block; font-size: 12px; font-weight: 600; margin: 24px 0 10px; color: #444746; }
.filter-label:first-of-type { margin-top: 0; }
select { height: 44px; max-width: 100%; padding: 0 12px; border: 1px solid #c4c7c5; border-radius: 12px; background: var(--surface); color: #444746; font-size: 12px; cursor: pointer; }
select:hover { border-color: #747775; }
.filters select { width: 100%; }
.company-label { display: flex; align-items: center; justify-content: space-between; }
.company-label span { font-size: 8px; letter-spacing: 1px; color: var(--muted); font-weight: 400; }
.company-filter { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; border-radius: 8px; font-size: 12px; padding: 6px; margin: 0 -6px; }
.company-filter:hover { background: #e1e8f3; }
input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--primary); margin: 0; flex-shrink: 0; cursor: pointer; }
.company-filter .number { margin-left: auto; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.filter-foot { border-top: 1px solid #d9e0eb; padding-top: 22px; margin-top: 26px; }
.filter-foot > span { display: inline-grid; place-items: center; width: 32px; height: 32px; color: var(--primary); background: #d3e3fd; border-radius: 10px; font-size: 24px; margin-bottom: 12px; }
.filter-foot strong { display: block; font-size: 12px; font-weight: 500; }
.filter-foot p { font-size: 11px; line-height: 1.9; color: var(--muted); }
.results { min-width: 0; }
.results-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.mini { font-size: 12px; letter-spacing: .2px; color: var(--muted); }
.results-heading h2 { margin: 8px 0 0; font-weight: 500; font-size: 26px; letter-spacing: -.5px; }
.results-heading h2 span { display: inline-block; font-size: 12px; color: #174ea6; background: #d3e3fd; border-radius: 16px; padding: 4px 10px; vertical-align: middle; margin-left: 10px; letter-spacing: 0; }
.source-button { white-space: nowrap; }
.search-row { display: flex; gap: 12px; }
.search-box { display: flex; align-items: center; flex: 1; min-width: 0; height: 56px; border: 1px solid #d3dbe6; border-radius: 30px; background: white; transition: box-shadow .18s; }
.search-box:hover, .search-box:focus-within { box-shadow: 0 2px 7px #3c404320; }
.search-box:focus-within { border-color: var(--primary); }
.search-box svg { width: 21px; height: 21px; flex-shrink: 0; stroke: #5f6368; fill: none; stroke-width: 1.8; margin: 0 14px 0 20px; }
.search-box input { min-width: 0; width: 100%; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-box input::placeholder { color: #747775; }
.search-box kbd { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; margin-right: 18px; border-radius: 6px; background: #f1f3f4; color: var(--muted); font-size: 12px; }
.search-row select { height: 56px; width: 136px; border-radius: 16px; }
.quick-row.hide + .data-note { margin-top: 14px; }
.quick-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0; }
.quick-row > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 354px; max-width: 100%; padding: 4px; gap: 4px; background: #edf1f7; border: 1px solid #e3e8f0; border-radius: 14px; }
.chip { min-width: 0; min-height: 40px; border: 1px solid transparent; border-radius: 10px; padding: 8px 10px; color: #5f6368; font-size: 12px; font-weight: 500; white-space: nowrap; }
.chip:hover { background: #e2e8f2; color: #202124; }
.chip.active { background: white; color: #0b57d0; border-color: #d8e2f2; box-shadow: 0 1px 3px #3c404314; }
.group-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; cursor: pointer; }
.data-note { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0 0 16px; }
.data-note.warn { color: #8a5700; }
.job-card { display: flex; align-items: flex-start; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: white; margin-bottom: 12px; transition: box-shadow .18s, border-color .18s; }
.job-card:hover { border-color: #b5c8e5; box-shadow: 0 2px 8px #3c404312; }
.company-mark { display: grid; place-items: center; flex-shrink: 0; }
.company-mark.official-logo, .detail-header .company-mark.official-logo { width: 60px; height: 52px; padding: 8px; border: 1px solid #edf0f3; border-radius: 14px; background: white; }
.company-mark.official-logo img { display: block; width: 100%; height: 100%; object-fit: contain; max-width: 48px; max-height: 32px; }
.company-mark.official-logo.amazon img, .company-mark.official-logo.google img, .company-mark.official-logo.alibaba img, .company-mark.official-logo.shopee img { max-width: 32px; max-height: 32px; }
.job-body { flex: 1; min-width: 0; }
.job-company { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.verified, .fresh { font-size: 10px; padding: 3px 7px; border-radius: 6px; color: #137333; background: #e6f4ea; }
.fresh { background: #fef7e0; color: #8a5700; }
.job-title { display: block; text-align: left; padding: 0; margin: 0 0 14px; font-size: 18px; font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; }
.job-title:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.job-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.meta-location { display: flex; align-items: center; gap: 5px; }
.meta-location svg { width: 12px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.meta-separator { color: #bdc1c6; }
.tag { display: inline-block; border: 1px solid #e2e5e9; padding: 4px 8px; border-radius: 7px; font-size: 10px; color: var(--muted); }
.tag.tech { background: #f0f5ff; border-color: #e5edfb; color: #185abc; }
.job-right { display: flex; flex-direction: column; align-items: flex-end; gap: 15px; color: var(--muted); font-size: 10px; }
.job-actions { display: flex; align-items: center; gap: 8px; }
.save-button { display: grid; place-items: center; height: 36px; width: 36px; border-radius: 50%; color: #747775; }
.save-button:hover { background: var(--primary-soft); color: var(--primary); }
.save-button svg { height: 20px; width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.save-button.saved { color: var(--primary); background: var(--primary-soft); }
.save-button.saved svg { fill: #d3e3fd; }
.apply-link { font-size: 12px; color: var(--primary); padding: 8px 4px; white-space: nowrap; }
.apply-link:hover { text-decoration: underline; }
.job-right time { white-space: nowrap; }
.empty { text-align: center; padding: 56px 24px; background: #eef3fc; border-radius: 24px; color: var(--muted); line-height: 1.8; }
.empty strong { display: block; font-size: 22px; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.empty p { font-size: 13px; }
.empty button { margin: 16px auto 0; }
.load-more { width: 100%; min-height: 48px; margin-top: 12px; padding: 12px; border: 1px solid #c4c7c5; border-radius: 24px; font-size: 13px; color: var(--primary); background: white; }
.load-more:hover { background: var(--primary-soft); }
.group-title { font-size: 17px; font-weight: 500; margin: 26px 0 14px; }
.group-title span { font-size: 11px; color: var(--muted); margin-left: 8px; }
.company-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.directory-card { border: 1px solid var(--line); border-radius: 24px; background: white; padding: 24px; }
.directory-card:hover { box-shadow: 0 2px 8px #3c404312; }
.directory-header { display: flex; align-items: center; gap: 14px; }
.directory-card h3 { font-weight: 500; font-size: 18px; margin: 0 0 6px; }
.directory-card .en { font-size: 12px; color: var(--muted); }
.directory-badge { display: inline-block; background: #e6f4ea; color: #137333; padding: 5px 10px; border-radius: 8px; font-size: 11px; margin-top: 20px; }
.directory-badge.manual { color: #8a5700; background: #fef7e0; }
.directory-card p { font-size: 12px; color: var(--muted); line-height: 1.9; min-height: 46px; }
.directory-actions { border-top: 1px solid #edf0f4; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; }
.directory-actions button, .directory-actions a { color: var(--primary); padding: 5px 0; }
.directory-actions button:hover, .directory-actions a:hover { text-decoration: underline; }
footer { display: flex; align-items: center; gap: 26px; margin-top: 56px; padding: 28px 0 36px; border-top: 1px solid var(--line); }
.footer-brand { font-weight: 500; font-size: 20px; white-space: nowrap; }
.footer-brand span { display: block; font-size: 8px; letter-spacing: 1.5px; margin-top: 4px; color: var(--muted); }
footer p { font-size: 12px; line-height: 1.9; color: var(--muted); margin: 0; }
footer p span { display: block; font-size: 11px; }
footer > button { margin-left: auto; white-space: nowrap; }
/* Native dialogs retain focus trapping and Escape support. */
dialog { width: calc(100% - 40px); max-width: 720px; max-height: 88dvh; padding: 36px; border: 0; border-radius: 28px; color: var(--ink); background: #fff; box-shadow: 0 16px 64px #20212438; }
dialog::backdrop { background: #20212470; }
.dialog-close { position: absolute; right: 16px; top: 14px; display: grid; place-items: center; padding: 0; width: 40px; height: 40px; border-radius: 50%; background: #f1f3f4; color: #444746; font-size: 26px; line-height: 1; }
.dialog-close:hover { background: #e2e7ed; }
dialog h2 { margin: 22px 0 14px; font-size: 27px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
dialog h3 { font-size: 17px; font-weight: 500; }
dialog p { color: var(--muted); line-height: 1.9; font-size: 13px; }
#updates-dialog > .eyebrow { padding-right: 24px; font-size: 10px; }
#updates-dialog > h2 { padding-right: 12px; }
#detail-dialog { max-width: 840px; padding: 0; overflow: hidden; }
#detail-dialog[open] { display: flex; flex-direction: column; }
.detail-toolbar { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; min-height: 64px; padding: 12px 24px 8px 36px; background: white; border-bottom: 1px solid #f1f3f4; }
.detail-toolbar > span { color: var(--muted); font-size: 12px; }
.detail-toolbar .detail-close { position: static; float: none; margin: 0; }
#detail-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 20px 36px 36px; }
.detail-header { display: flex; align-items: center; gap: 14px; padding-right: 36px; }
.detail-header strong { font-size: 16px; font-weight: 500; }
.detail-header p { margin: 3px 0 0; font-size: 12px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.detail-table { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 14px 20px; padding: 24px; margin: 24px 0 30px; background: #f3f6fb; border-radius: 20px; font-size: 13px; line-height: 1.8; }
.detail-table dt { color: var(--muted); }
.detail-table dd { margin: 0; overflow-wrap: anywhere; }
.detail-summary { white-space: pre-line; overflow-wrap: anywhere; }
.secondary-button { display: inline-flex; justify-content: center; align-items: center; border: 1px solid #c4c7c5; color: var(--primary); border-radius: 24px; min-height: 44px; padding: 10px 20px; font-size: 13px; }
.secondary-button:hover { background: var(--primary-soft); }
.secondary-button[aria-pressed=true] { background: #d3e3fd; border-color: #d3e3fd; }
.jd-section { padding-bottom: 12px; }
.jd-section > h3 { font-size: 21px; margin: 0 0 8px; }
.jd-section > h3 span { font-size: 10px; letter-spacing: 1px; color: var(--muted); margin-left: 12px; font-weight: 400; }
.jd-origin { font-size: 12px; margin: 0 0 24px; }
.jd-block { margin: 0 0 28px; }
.jd-block h4 { font-size: 16px; font-weight: 600; margin: 0 0 12px; line-height: 1.6; }
.jd-text { font-size: 14px; line-height: 1.95; color: #3c4043; white-space: pre-wrap; overflow-wrap: anywhere; }
.jd-fetched { font-size: 11px; color: var(--muted); }
.jd-loading, .jd-error, .translation-loading, .translation-unavailable { padding: 20px; border-radius: 16px; background: #f0f4fc; color: #44546c; }
.jd-warning { padding: 14px; border-radius: 12px; background: #fef7e0; color: #8a5700; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; position: sticky; bottom: -36px; margin: 12px -36px -36px; padding: 18px 36px; background: #fff; border-top: 1px solid var(--line); z-index: 1; }
body:has(dialog[open]) { overflow: hidden; }
.translation-jump { display: inline-flex; align-items: center; padding: 10px 16px; margin: 0 0 24px; min-height: 40px; background: #e8f0fe; color: var(--primary); border-radius: 20px; font-size: 12px; }
.translation-jump:hover { background: #d3e3fd; }
.jd-translation { border-top: 1px solid #d3e3fd; margin-top: 36px; padding-top: 28px; scroll-margin-top: 40px; }
.translation-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.translation-heading-row h3 { font-size: 21px; margin: 0; color: var(--primary); }
.translation-heading-row h3 span { display: inline-block; font-size: 10px; padding: 4px 8px; border-radius: 6px; background: #e8f0fe; margin-left: 8px; vertical-align: middle; font-weight: 400; }
.translation-note { font-size: 12px; margin: 10px 0 26px; }
.zh-block .jd-text { line-height: 2.05; }
.translation-unavailable p { margin: 0 0 14px; }
.translation-dot { display: inline-block; width: 8px; height: 8px; background: #4285f4; border-radius: 50%; margin-right: 8px; animation: translate-pulse 1.2s ease-in-out infinite; }
@keyframes translate-pulse { 50% { opacity: .35; } }
#jd-heading { scroll-margin-top: 40px; }
.source-row { display: flex; justify-content: space-between; gap: 18px; padding: 16px; margin-top: 10px; background: #f3f6fb; border-radius: 16px; font-size: 13px; }
.source-row small { display: block; color: var(--muted); font-size: 11px; line-height: 1.8; margin-top: 6px; overflow-wrap: anywhere; }
.status-ok, .status-error { white-space: nowrap; font-size: 11px; color: #137333; }
.status-error { color: #8a5700; }
.history-title { margin-top: 30px; }
.history-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }
.fine-print { font-size: 11px; margin-top: 22px; }
#toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 20; background: #303134; color: white; border-radius: 12px; padding: 14px 24px; box-shadow: 0 3px 12px #20212430; max-width: calc(100% - 32px); font-size: 13px; line-height: 1.8; text-align: center; }
.mobile-only, #mobile-company { display: none; }
@media (min-width: 1600px) { main, .top-inner { max-width: 1440px; } .hero { padding-top: 40px; padding-bottom: 36px; } }
@media (max-width: 1100px) {
  main, .top-inner { padding-left: 28px; padding-right: 28px; }
  .hero { gap: 28px; padding-left: 0; padding-right: 0; }
  .daily-card { width: 340px; padding-left: 24px; padding-right: 24px; }
  .nav { padding: 0 16px; }
  .city-card { padding: 14px; }
  .city-main svg { width: 78px; }
  .city-bottom { flex-wrap: wrap; gap: 8px; }
  .board { grid-template-columns: 195px minmax(0, 1fr); gap: 22px; }
  .filters { padding: 20px 14px; }
  .job-card { padding: 20px; gap: 14px; }
  .job-right { gap: 10px; }
  .job-actions { gap: 3px; }
  .quick-row { flex-wrap: wrap; }
  .directory-card { padding: 20px; }
}
@media (max-width: 800px) {
  .top-inner { flex-wrap: wrap; gap: 16px; padding-top: 16px; padding-bottom: 12px; }
  .top-inner nav { order: 3; width: 100%; }
  .nav { flex: 1; padding: 0 12px; }
  .hero { gap: 24px; padding-top: 34px; padding-bottom: 32px; }
  h1 { font-size: 36px; }
  .hero-copy > p { font-size: 13px; }
  .hero-note { font-size: 10px; gap: 6px; }
  .daily-card { width: 280px; padding: 22px 20px 0; }
  .daily-number strong { font-size: 50px; }
  .daily-number > span { font-size: 11px; }
  .daily-stats { gap: 10px; }
  .daily-stats strong { font-size: 21px; }
  .daily-stats span { font-size: 9px; }
  .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .city-card { padding: 16px 20px; }
  .city-main svg { width: 108px; }
  .city-bottom { flex-wrap: nowrap; }
  .board { display: block; margin-top: 28px; }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px; margin-bottom: 28px; border-radius: 20px; }
  .filter-heading { grid-column: 1 / -1; margin: 0 0 4px; }
  .filter-label, .filter-foot, #company-filters { display: none; }
  #mobile-company { display: block; }
  .filters select { width: 100%; }
  .results-heading h2 { font-size: 24px; }
  .quick-row { flex-wrap: nowrap; }
  .job-card { padding: 22px; }
  .company-directory { gap: 14px; }
}
@media (max-width: 600px) {
  main, .top-inner { padding-left: 18px; padding-right: 18px; }
  .brand { font-size: 21px; }
  .brand-icon { width: 40px; height: 40px; border-radius: 14px; }
  .refresh { padding: 10px 17px; font-size: 12px; }
  .nav { font-size: 12px; min-height: 40px; }
  #saved-count { font-size: 10px; min-width: 18px; height: 18px; margin-left: 2px; }
  .hero { display: block; padding-top: 24px; }
  .eyebrow { font-size: 11px; }
  h1 { font-size: 34px; margin-top: 16px; letter-spacing: -1.5px; }
  .hero-copy > p { font-size: 13px; }
  .hero-note { font-size: 11px; gap: 8px; margin-top: 18px; }
  .daily-card { width: 100%; margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; padding: 20px 22px 0; border-radius: 24px; }
  .daily-top, .daily-bottom { grid-column: 1 / -1; }
  .daily-number { flex-direction: column; gap: 9px; margin: 18px 0; }
  .daily-number strong { font-size: 47px; }
  .daily-stats { grid-template-columns: 1fr 1fr; align-content: center; gap: 14px; margin: 14px 0; }
  .daily-stats > div:nth-child(2) { display: none; }
  .daily-stats span { font-size: 9px; }
  .daily-stats strong { font-size: 23px; }
  .daily-bottom { font-size: 10px; }
  .city-card { padding: 12px; border-radius: 20px; }
  .city-code { font-size: 9px; }
  .city-main { gap: 5px; }
  .city-main h2 { font-size: 22px; }
  .city-main > div > span { font-size: 7px; letter-spacing: .6px; }
  .city-main svg { width: 62px; height: 56px; flex-shrink: 1; }
  .city-main > div { flex-shrink: 0; }
  .city-bottom { flex-wrap: wrap; font-size: 9px; gap: 7px; }
  .city-count { font-size: 9px; padding: 4px 7px; }
  .filters { padding: 14px; }
  .filter-heading h2 { font-size: 14px; }
  .results-heading { gap: 6px; margin-bottom: 18px; }
  .results-heading h2 { font-size: 21px; }
  .results-heading h2 span { font-size: 10px; padding: 4px 8px; margin-left: 6px; }
  .mini { font-size: 11px; letter-spacing: .1px; }
  .source-button { font-size: 10px; padding: 7px 2px; }
  .search-row { gap: 8px; }
  .search-box { height: 50px; }
  .search-box svg { width: 18px; margin-left: 14px; margin-right: 8px; }
  .search-box input { font-size: 12px; }
  .search-box kbd { display: none; }
  .search-row select { width: 105px; height: 50px; font-size: 11px; padding-left: 8px; }
  .quick-row { flex-wrap: wrap; gap: 14px; margin: 16px 0; }
  .quick-row > div { width: 100%; gap: 4px; }
  .chip { font-size: 12px; padding: 8px 6px; }
  .group-label { font-size: 11px; }
  .data-note { font-size: 11px; }
  .job-card { position: relative; gap: 12px; padding: 18px 14px; border-radius: 18px; }
  .company-mark.official-logo { width: 46px; height: 44px; padding: 6px; border-radius: 11px; }
  .job-company { font-size: 11px; gap: 5px; padding-right: 32px; min-height: 24px; }
  .verified, .fresh { font-size: 9px; padding: 3px 5px; }
  .job-title { font-size: 15px; line-height: 1.6; margin-bottom: 12px; }
  .job-right { position: absolute; top: 14px; right: 10px; }
  .job-right time, .job-right .apply-link { display: none; }
  .job-meta { gap: 6px; font-size: 10px; }
  .tag { font-size: 9px; padding: 4px 6px; }
  .meta-separator { display: none; }
  .company-directory { grid-template-columns: 1fr; }
  .directory-card { padding: 22px; }
  .directory-card p { min-height: 0; }
  footer { flex-wrap: wrap; gap: 18px; margin-top: 36px; padding-bottom: 24px; }
  footer p { font-size: 11px; }
  footer p span { font-size: 10px; }
  footer > button { margin-left: 0; padding-left: 0; }
  dialog { width: calc(100% - 20px); max-height: 92dvh; padding: 24px 20px; border-radius: 24px; }
  dialog h2 { font-size: 22px; margin-top: 20px; }
  .detail-toolbar { padding: 8px 16px 8px 20px; min-height: 56px; }
  #detail-content { padding: 20px 20px 24px; }
  .detail-table { grid-template-columns: 78px minmax(0, 1fr); padding: 18px 14px; gap: 12px; font-size: 12px; border-radius: 16px; }
  .detail-actions { bottom: -24px; margin: 12px -20px -24px; padding: 14px 20px; gap: 10px; }
  .primary-link, .secondary-button { font-size: 12px; padding: 10px 16px; }
  .jd-section > h3, .translation-heading-row h3 { font-size: 19px; }
  .jd-section > h3 span { display: block; margin: 8px 0 0; }
  .jd-text { font-size: 13px; }
  .translation-heading-row { align-items: flex-start; }
  .translation-heading-row h3 span { display: block; width: fit-content; margin: 8px 0 0; }
  .translation-heading-row .text-button { font-size: 10px; white-space: nowrap; }
  .translation-note { font-size: 11px; }
  .source-row { padding: 14px; gap: 10px; font-size: 12px; }
  .history-row { flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
