:root {
  color-scheme: light;
  --ink: #101826;
  --muted: #68717e;
  --teal: #23a999;
  --teal-dark: #188d82;
  --teal-pale: #e9f8f5;
  --red: #e3292f;
  --lime: #87ed12;
  --yellow: #ffe92a;
  --surface: #ffffff;
  --page: #f5f8f7;
  --border: #e3e8e8;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #e8eeee;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 10%, rgb(35 169 153 / 8%), transparent 28rem),
    #e8eeee;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.page-shell {
  width: min(100%, 920px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--page);
  box-shadow: 0 0 50px rgb(20 45 42 / 13%);
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  min-height: 92px;
  padding: max(10px, env(safe-area-inset-top)) 20px 10px;
  border-bottom: 1px solid rgb(8 32 29 / 7%);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.brand strong {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: .08em;
}

.brand span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .12em;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.icon-button:hover {
  background: #eef4f3;
}

.icon-button:active {
  transform: scale(.92);
}

.icon-button svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.icon-button.more {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.icon-button.more span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background-color: var(--lime);
  line-height: 0;
}

.hero::after {
  display: none;
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 890 / 371;
  object-fit: contain;
}

.decor {
  position: absolute;
  z-index: 2;
  color: var(--yellow);
  font-weight: 900;
  text-shadow: 1px 1px 0 #21301f, -1px -1px 0 #21301f;
}

.star-one { left: 5%; top: 21px; transform: rotate(-13deg); }
.star-two { right: 8%; bottom: 17px; transform: rotate(18deg); }
.plus-one { left: 21%; top: 7px; color: #fff; font-size: 32px; transform: rotate(25deg); }
.plus-two { right: 7%; top: 14px; color: #fff; font-size: 37px; transform: rotate(14deg); }

.notice-card {
  position: relative;
  z-index: 1;
  padding: 40px 22px 15px;
  border: 5px solid #1c2421;
  background: #fff;
  box-shadow: 9px 9px 0 #fff, 9px 9px 0 4px #1c2421;
}

.notice-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 35px;
  background: #222725;
  content: "";
}

.book {
  position: absolute;
  z-index: 3;
  top: -41px;
  left: 50%;
  font-size: 58px;
  line-height: 1;
  filter: drop-shadow(0 2px 0 #202522);
  transform: translateX(-50%);
}

.notice-topline {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--yellow);
  font-size: 17px;
  line-height: 1;
}

.notice-topline i {
  flex: 1;
}

.notice-topline span:nth-last-child(-n+3) {
  font-size: 11px;
}

.notice-card h1 {
  margin: 0;
  padding: 4px 0 22px;
  color: #ffe526;
  font-size: clamp(29px, 5.1vw, 44px);
  font-weight: 950;
  line-height: 1.42;
  letter-spacing: .03em;
  text-align: center;
  -webkit-text-stroke: 2px #1c2421;
  paint-order: stroke fill;
  text-shadow: 2px 2px 0 #1c2421;
}

.notice-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  margin: 0 -9px -1px;
  padding: 8px 12px;
  border: 4px solid #1c2421;
  color: #111;
  background: var(--yellow);
  font-size: clamp(18px, 3.8vw, 27px);
  text-align: center;
}

.notice-strip span {
  font-size: 13px;
}

.jobs {
  padding: 35px 3.7% 42px;
  background:
    linear-gradient(180deg, #f8fbfa 0, #f4f7f7 45%, #f7f9f8 100%);
}

.section-heading {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 16px;
  margin-bottom: 21px;
}

.heading-icon {
  display: grid;
  flex: 0 0 60px;
  height: 60px;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, #6ac8bb, #26998d);
  box-shadow: 0 9px 22px rgb(35 169 153 / 22%);
}

.heading-icon svg {
  width: 38px;
  height: 38px;
  fill: white;
}

.section-heading h2 {
  flex: 0 0 auto;
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .08em;
}

.heading-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #b6ddd7, transparent);
}

.hiring {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 1px solid #d8e9e6;
  border-radius: 999px;
  color: var(--red);
  background: rgb(255 255 255 / 75%);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgb(25 60 55 / 5%);
}

.job-list {
  display: grid;
  gap: 20px;
}

.empty-jobs {
  padding: 58px 20px;
  border: 1px dashed #cbdad7;
  border-radius: 24px;
  color: #7a8582;
  background: #fff;
  text-align: center;
}

.job-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 176px;
  padding: 31px 34px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 9px 13px rgb(21 42 39 / 8%);
  transition: transform .2s ease, box-shadow .2s ease;
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 26px rgb(21 42 39 / 11%);
}

.job-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.job-copy h3 {
  margin: 4px 20px 0 0;
  overflow-wrap: anywhere;
  font-size: clamp(23px, 4vw, 31px);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: .01em;
}

.job-copy h3 span {
  color: #34404a;
  font-size: .82em;
  font-weight: 700;
}

.job-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
}

.job-copy p {
  margin: 18px 0 0 5px;
  color: var(--red);
  font-size: 17px;
  font-weight: 700;
}

.job-meta p {
  margin: 0;
}

.job-copy p span {
  margin-right: 5px;
}

.job-copy .applicant-count {
  color: #7a8582;
  font-size: 14px;
  font-weight: 600;
}

.applicant-count b {
  color: var(--teal-dark);
  font-size: 16px;
}

.job-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
}

.job-action strong {
  min-width: 105px;
  padding: 7px 15px;
  border: 1px solid #d8eae7;
  border-radius: 999px;
  color: var(--red);
  background: #f2fbf9;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.job-action small {
  font-size: 15px;
  font-weight: 800;
}

.apply-button,
.submit-button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #4bc2b4, #16988c);
  box-shadow: 0 10px 22px rgb(35 169 153 / 23%);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.apply-button {
  min-width: 140px;
  padding: 13px 23px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.apply-button:hover,
.submit-button:hover {
  filter: saturate(1.12) brightness(1.03);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgb(35 169 153 / 28%);
}

.apply-button:active,
.submit-button:active {
  transform: scale(.97);
}

.safety-note {
  margin: 30px 0 0;
  color: #89918f;
  font-size: 13px;
  text-align: center;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(7 20 18 / 53%);
  backdrop-filter: blur(4px);
  animation: fade-in .2s ease both;
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 35px 31px 27px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgb(0 24 21 / 26%);
  text-align: center;
  animation: pop-in .25s cubic-bezier(.2, .9, .3, 1.16) both;
}

.image-modal-panel {
  width: min(100%, 480px);
  max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  padding: 31px 25px 23px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.feedback-modal-panel {
  width: min(100%, 430px);
  text-align: left;
}

.feedback-modal-panel h2 {
  margin-bottom: 22px;
  text-align: left;
}

.feedback-form {
  margin-top: 20px;
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #69736f;
  background: #f0f4f3;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.modal-check {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(145deg, #64cbbd, #1c998d);
  font-size: 31px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgb(35 169 153 / 24%);
}

.modal-kicker {
  margin: 0 0 6px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2em;
}

.signup-image-wrap {
  display: grid;
  width: 100%;
  min-height: 230px;
  max-height: min(62vh, 570px);
  margin-top: 20px;
  overflow: hidden;
  place-items: center;
  border: 1px solid #dfe9e7;
  border-radius: 18px;
  background:
    linear-gradient(45deg, #f2f7f6 25%, transparent 25%),
    linear-gradient(-45deg, #f2f7f6 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f2f7f6 75%),
    linear-gradient(-45deg, transparent 75%, #f2f7f6 75%),
    #fff;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.signup-image {
  display: block;
  width: 100%;
  max-height: min(62vh, 570px);
  object-fit: contain;
}

.image-tip {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(21px, 6vw, 24px);
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

.modal-panel h2 {
  margin: 0;
  font-size: 28px;
}

.modal-desc {
  margin: 13px auto 23px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.modal-panel label {
  display: block;
  text-align: left;
}

.modal-panel label span {
  display: block;
  margin: 0 0 8px 4px;
  color: #4e5a57;
  font-size: 14px;
  font-weight: 700;
}

.modal-panel input,
.modal-panel textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dce6e3;
  border-radius: 14px;
  outline: none;
  color: var(--ink);
  background: #f8fbfa;
  font-size: 16px;
  transition: border .18s ease, box-shadow .18s ease;
}

.modal-panel input {
  height: 52px;
}

.modal-panel textarea {
  min-height: 132px;
  line-height: 1.55;
  resize: vertical;
}

.modal-panel input:focus,
.modal-panel textarea:focus {
  border-color: #40b6a8;
  box-shadow: 0 0 0 4px rgb(35 169 153 / 12%);
}

.form-error {
  min-height: 20px;
  margin: 7px 3px 4px;
  color: var(--red);
  font-size: 12px;
  text-align: left;
}

.submit-button {
  width: 100%;
  height: 52px;
  border-radius: 15px;
  font-size: 17px;
  font-weight: 800;
}

.privacy {
  margin: 13px 0 0;
  color: #98a09e;
  font-size: 11px;
}

.toast {
  position: fixed;
  z-index: 200;
  bottom: calc(26px + env(safe-area-inset-bottom));
  left: 50%;
  max-width: calc(100% - 40px);
  padding: 12px 22px;
  border-radius: 999px;
  color: #fff;
  background: rgb(16 24 38 / 92%);
  box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity .2s ease, transform .2s ease;
}

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

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes pop-in {
  from { opacity: 0; transform: translateY(20px) scale(.95); }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 76px;
    grid-template-columns: 44px 1fr 44px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand strong { font-size: 23px; }
  .brand span { margin-top: 6px; font-size: 10px; }

  .hero { padding: 0; }

  .notice-card {
    padding: 35px 13px 12px;
    border-width: 4px;
    box-shadow: 6px 6px 0 #fff, 6px 6px 0 3px #1c2421;
  }

  .notice-card::before { height: 30px; }
  .notice-topline { top: 5px; gap: 8px; font-size: 14px; }
  .book { top: -34px; font-size: 47px; }

  .notice-card h1 {
    padding-bottom: 16px;
    font-size: clamp(24px, 7vw, 33px);
    line-height: 1.38;
    -webkit-text-stroke-width: 1.5px;
  }

  .notice-strip {
    min-height: 42px;
    gap: 9px;
    padding: 6px 5px;
    border-width: 3px;
    font-size: clamp(14px, 4.2vw, 20px);
  }

  .jobs { padding: 20px 4% 30px; }

  .section-heading { min-height: 44px; gap: 9px; margin-bottom: 12px; }
  .heading-icon { flex-basis: 42px; height: 42px; border-radius: 14px; }
  .heading-icon svg { width: 27px; height: 27px; }
  .section-heading h2 { font-size: 20px; letter-spacing: .04em; }
  .hiring { padding: 6px 10px; font-size: 12px; }

  .job-list { gap: 10px; }

  .job-card {
    min-height: 104px;
    padding: 14px 15px;
    border-radius: 18px;
    box-shadow: 0 5px 10px rgb(21 42 39 / 7%);
  }

  .job-copy h3 {
    margin: 1px 8px 0 0;
    font-size: clamp(16px, 4.5vw, 19px);
    line-height: 1.2;
  }

  .job-copy h3 span {
    display: inline;
    margin-top: 0;
    font-size: .76em;
  }

  .job-copy p { margin-left: 0; font-size: 12px; }
  .job-meta { align-items: center; flex-direction: row; gap: 4px 10px; margin-top: 8px; }
  .job-copy .applicant-count { font-size: 11px; }
  .applicant-count b { font-size: 12px; }
  .job-action { gap: 10px; }

  .job-action strong {
    min-width: 76px;
    padding: 5px 8px;
    font-size: 18px;
  }

  .job-action small { font-size: 10px; }

  .apply-button {
    min-width: 94px;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .modal {
    align-items: center;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }

  .image-modal-panel {
    padding: 27px 16px 18px;
    border-radius: 22px;
  }

  .feedback-modal-panel {
    padding: 28px 20px 22px;
    border-radius: 22px;
  }

  .feedback-modal-panel h2 {
    margin-bottom: 16px;
    font-size: 23px;
  }

  .feedback-form { margin-top: 14px; }
  .modal-panel textarea { min-height: 120px; }

  .signup-image-wrap {
    min-height: 190px;
    max-height: 55dvh;
    margin-top: 15px;
  }

  .signup-image {
    max-height: 55dvh;
  }
}

@media (max-width: 375px) {
  .job-card { min-height: 100px; padding: 13px; }
  .apply-button { min-width: 88px; padding: 8px 10px; font-size: 13px; }
  .job-action strong { min-width: 72px; font-size: 17px; }
  .heading-line { display: none; }
  .hiring { margin-left: auto; }

  .notice-topline { gap: 6px; }
  .section-heading { gap: 8px; }
  .heading-icon { flex-basis: 40px; height: 40px; border-radius: 13px; }
  .section-heading h2 { font-size: 19px; }
  .hiring { padding: 5px 8px; font-size: 11px; }
}

@media (max-width: 339px) {
  .job-card {
    grid-template-columns: minmax(0, 1fr) 84px;
    gap: 6px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .job-copy h3 { font-size: 15px; }
  .job-action strong { min-width: 68px; padding-right: 6px; padding-left: 6px; }
  .apply-button { width: 84px; min-width: 84px; }
}

@media (max-height: 600px) and (orientation: landscape) {
  .modal { align-items: flex-start; }
  .image-modal-panel { max-height: calc(100dvh - 16px); padding-top: 20px; }
  .signup-image-wrap, .signup-image { max-height: 48dvh; }
  .signup-image-wrap { min-height: 150px; margin-top: 10px; }
  .image-tip { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
