/* 原站 joinus.css 的 inline <style>，原樣搬移，勿改（佔位符法：版面照原站） */
:root {
      --bg: #f6f0e6;
      --bg-alt: #ffffff;
      --primary: #b58a4b;      /* 棕金主色 */
      --primary-light: #d8b473; /* 高光金色 */
      --primary-deep: #8a6234;  /* 深棕金 */
      --text-main: #2a2018;
      --text-sub: #6d5a49;
      --border-soft: #e3d3c0;
      --radius-xl: 22px;
      --radius-lg: 18px;
      --radius-md: 12px;
      --shadow-3d: 0 18px 40px rgba(63, 40, 15, 0.35);
      --shadow-soft: 0 14px 32px rgba(0, 0, 0, 0.10);
    }

    * {
      box-sizing: border-box;
    }
    .is-invalid{
        border-color: rgba(239,68,68,.6) !important;
        box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important;
    }
    .field-error{
        margin-top:4px;
        font-size:12px;
        color:#991b1b;
    }

    body {
      margin: 0;
      padding: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background:
        radial-gradient(circle at top left, #fffaf1 0, #f3e7d7 45%, #ecdfcf 70%, #e7d6c2 100%);
      color: var(--text-main);
    }

    a {
      color: var(--primary-deep);
      text-decoration: none;
    }

    .page {
      max-width: 1160px;
      margin: 0 auto;
      padding: 32px 16px 72px;
      position: relative;
    }

    /* 背景樂譜線（裝飾） */
    .score-lines {
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: 0.22;
      z-index: -1;
      background-image:
        linear-gradient(to bottom, rgba(160, 130, 90, 0.18) 1px, transparent 1px),
        radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.8), transparent 55%),
        radial-gradient(circle at 80% 85%, rgba(255, 255, 255, 0.6), transparent 55%);
      background-size: 100% 22px, 420px 420px, 520px 520px;
      mix-blend-mode: soft-light;
    }

    .breadcrumb {
      font-size: 12px;
      color: #9a8472;
      margin-bottom: 12px;
    }

    .breadcrumb a {
      color: #9a7b5c;
    }

    /* 3D 漸層邊框容器基礎樣式 */
    .panel-3d {
      border-radius: var(--radius-xl);
      padding: 2px;
      background: linear-gradient(135deg, rgba(77, 52, 30, 0.9), rgba(214, 178, 112, 0.9));
      box-shadow:
        0 26px 45px rgba(40, 23, 7, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.35) inset;
      position: relative;
      overflow: hidden;
    }

    .panel-inner {
      border-radius: calc(var(--radius-xl) - 2px);
      background: radial-gradient(circle at top left, #fffaf4, #f5ebdd 50%, #efe0cf 100%);
      padding: 26px 26px 22px;
      position: relative;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) inset;
    }

    /* Hero 區：帶古典樂元素 */

    .hero {
      margin-bottom: 26px;
    }

    .hero-header-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
    }

    .hero-left {
      flex: 1.4;
      min-width: 0;
    }

    .hero-right {
      flex: 1;
      min-width: 0;
      position: relative;
    }

    .hero-tagline {
      font-size: 13px;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: var(--text-sub);
      margin-bottom: 8px;
    }

    .hero-title {
      font-size: 27px;
      font-weight: 680;
      margin: 0 0 10px;
      letter-spacing: 0.12em;
    }

    .hero-title span.mark {
      background: linear-gradient(120deg, rgba(212, 176, 115, 0.6), rgba(255, 255, 255, 0));
      padding: 0 6px;
      border-radius: 999px;
      box-decoration-break: clone;
    }

    .hero-subtitle {
      font-size: 15px;
      color: var(--text-sub);
      margin-bottom: 16px;
      max-width: 640px;
      line-height: 1.8;
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      font-size: 13px;
      color: var(--text-sub);
    }

    .hero-badge {
      padding: 4px 11px;
      border-radius: 999px;
      background: radial-gradient(circle at top, #fdf3e4, #e6cfaa);
      color: var(--primary-deep);
      border: 1px solid rgba(180, 139, 84, 0.65);
      font-size: 12px;
      box-shadow: 0 6px 14px rgba(126, 88, 40, 0.45);
    }

    .hero-meta span:not(.hero-badge) {
      padding: 2px 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.82);
      border: 1px solid rgba(124, 96, 65, 0.18);
      backdrop-filter: blur(4px);
    }

    .hero-nav {
      margin-top: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 13px;
    }

    .hero-nav a {
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid rgba(0, 0, 0, 0.08);
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(6px);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    }

    .hero-nav a.primary-link {
      background: linear-gradient(135deg, #c89b55, #e2bf78);
      border-color: rgba(255, 255, 255, 0.7);
      color: #fff;
      font-weight: 600;
      box-shadow: 0 10px 24px rgba(98, 60, 19, 0.65);
    }

    /* Hero 右側：古典音樂 3D 卡片 */

    .hero-score-card {
      position: relative;
      border-radius: 20px;
      padding: 18px 18px 16px;
      background:
        linear-gradient(145deg, #3a2617 0, #9b7241 42%, #f0d19c 70%, #fff7e3 100%);
      box-shadow:
        0 20px 40px rgba(33, 17, 4, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
      color: #fdf4e6;
      overflow: hidden;
    }

    .hero-score-card::before {
      content: "";
      position: absolute;
      inset: 16px 28px auto 16px;
      border-top: 1px solid rgba(255, 234, 200, 0.8);
      box-shadow: 0 26px 0 rgba(255, 234, 200, 0.85),
                  0 52px 0 rgba(255, 234, 200, 0.75),
                  0 78px 0 rgba(255, 234, 200, 0.6);
      opacity: 0.18;
    }

    .hero-score-header {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 8px;
      position: relative;
      z-index: 1;
    }

    .hero-score-title {
      font-family: "Times New Roman", "Songti SC", serif;
      font-size: 16px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .hero-score-meter {
      font-size: 11px;
      padding: 3px 8px;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.35);
      backdrop-filter: blur(4px);
    }

    .hero-score-body {
      margin-top: 14px;
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 10px;
    }

    .hero-score-notes {
      font-size: 20px;
      line-height: 1.8;
      opacity: 0.9;
      letter-spacing: 0.3em;
      font-family: "Times New Roman", serif;
    }

    .hero-score-meta {
      font-size: 12px;
      text-align: right;
      opacity: 0.9;
    }

    .hero-score-meta b {
      display: block;
      font-size: 13px;
      margin-bottom: 2px;
    }

    .hero-score-stamp {
      position: absolute;
      right: -20px;
      bottom: -20px;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      border: 2px solid rgba(255, 252, 238, 0.8);
      box-shadow: 0 0 0 6px rgba(146, 103, 50, 0.45);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      text-align: center;
      text-transform: uppercase;
      letter-spacing: 0.2em;
      opacity: 0.9;
      background: radial-gradient(circle, rgba(255, 252, 238, 0.95), rgba(184, 130, 61, 0.9));
      transform: rotate(-18deg);
    }

    @media (max-width: 880px) {
      .hero-header-row {
        flex-direction: column;
      }
      .hero-score-body {
        grid-template-columns: 1fr;
      }
    }

    /* Meta cards */

    .meta-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 14px;
      margin-top: 20px;
    }

    .meta-card {
      border-radius: 16px;
      padding: 10px 12px;
      background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 230, 213, 0.98));
      border: 1px solid rgba(185, 149, 93, 0.45);
      box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .meta-label {
      font-size: 12px;
      color: var(--text-sub);
    }

    .meta-value {
      font-size: 17px;
      font-weight: 600;
      color: var(--primary-deep);
    }

    .meta-note {
      font-size: 11px;
      color: #9a8472;
    }

    /* 通用 section：3D 線條框 */

    .section {
      margin-top: 26px;
      position: relative;
    }

    .section-shell {
      border-radius: var(--radius-lg);
      padding: 2px;
      background:
        linear-gradient(135deg, rgba(77, 52, 30, 0.9), rgba(214, 178, 112, 0.95));
      box-shadow:
        0 18px 40px rgba(40, 23, 7, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.35) inset;
    }

    .section-inner {
      border-radius: calc(var(--radius-lg) - 1px);
      background: radial-gradient(circle at top left, #fffdf9, #f6ebdf 55%, #efe0cf 100%);
      padding: 20px 20px 18px;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06) inset;
      position: relative;
      overflow: hidden;
    }

    .section-inner::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
      background-size: 46px 100%;
      opacity: 0.04;
      pointer-events: none;
    }

    .section-header {
      display: flex;
      align-items: baseline;
      gap: 10px;
      margin-bottom: 10px;
      position: relative;
      z-index: 1;
    }

    .section-title {
      font-size: 18px;
      font-weight: 620;
    }

    .section-title::before {
      content: "♪";
      font-family: "Times New Roman", serif;
      margin-right: 6px;
      color: var(--primary-deep);
    }

    .section-tag {
      font-size: 11px;
      padding: 3px 9px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.9);
      color: var(--text-sub);
      border: 1px solid rgba(157, 120, 71, 0.4);
    }

    .section-desc {
      font-size: 14px;
      color: var(--text-sub);
      line-height: 1.8;
      margin-bottom: 8px;
      position: relative;
      z-index: 1;
    }

    .two-col {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
      gap: 18px;
      position: relative;
      z-index: 1;
    }

    @media (max-width: 880px) {
      .two-col {
        grid-template-columns: 1fr;
      }
    }

    .list-title {
      font-size: 13px;
      font-weight: 600;
      margin-top: 6px;
      margin-bottom: 2px;
    }

    .ul {
      padding-left: 18px;
      margin: 4px 0 4px;
    }

    .ul li {
      font-size: 13px;
      color: var(--text-sub);
      line-height: 1.8;
      margin-bottom: 2px;
    }

    .pill-list {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 4px;
    }

    .pill {
      font-size: 12px;
      padding: 4px 10px;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(234, 214, 187, 0.98));
      color: var(--text-sub);
      border: 1px solid rgba(138, 98, 54, 0.35);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    }

    /* 岗位卡片：3D */

    .job-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 16px;
      margin-top: 10px;
    }

    .job-card {
      border-radius: 18px;
      padding: 2px;
      background: linear-gradient(145deg, #3f2a18, #b4874b, #f1d19a);
      box-shadow:
        0 18px 34px rgba(44, 23, 7, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    }

    .job-card-inner {
      border-radius: 16px;
      padding: 14px 14px 12px;
      background: radial-gradient(circle at top left, #fffdf8, #f6ebdf 55%, #efe0cf 100%);
      box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06) inset;
    }

    .job-title-line {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      align-items: baseline;
    }

    .job-title {
      font-size: 15px;
      font-weight: 600;
    }

    .job-tag {
      font-size: 11px;
      padding: 3px 8px;
      border-radius: 999px;
      background: radial-gradient(circle at top, #fdf3e4, #e6cfaa);
      color: var(--primary-deep);
      white-space: nowrap;
      border: 1px solid rgba(180, 139, 84, 0.65);
      box-shadow: 0 6px 14px rgba(126, 88, 40, 0.4);
    }

    .job-meta {
      font-size: 12px;
      color: #8a7a6a;
      margin-top: 4px;
    }

    .job-subtitle {
      font-size: 13px;
      color: var(--text-sub);
      margin-top: 4px;
    }

    /* 時間線 */

    .timeline {
      border-left: 2px solid rgba(180, 139, 84, 0.65);
      padding-left: 14px;
      margin-top: 8px;
    }

    .timeline-item {
      margin-bottom: 10px;
      position: relative;
    }

    .timeline-item::before {
      content: "♩";
      position: absolute;
      left: -20px;
      top: 0;
      font-size: 14px;
      color: var(--primary-deep);
      background: #fdf5ea;
      border-radius: 999px;
      padding: 0 4px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .timeline-title {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 2px;
    }

    .timeline-text {
      font-size: 13px;
      color: var(--text-sub);
      line-height: 1.8;
    }

    /* 表單 */

    .form-section {
      margin-top: 14px;
      border-radius: 20px;
      padding: 2px;
      background: linear-gradient(135deg, #4d3115, #c69854, #f1d39b);
      box-shadow:
        0 18px 36px rgba(47, 28, 10, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    }

    .form-inner {
      border-radius: 18px;
      background: radial-gradient(circle at top left, #fffdf8, #f6ebdf 55%, #eee0d0 100%);
      padding: 18px 18px 16px;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06) inset;
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 14px 18px;
    }

    .form-field {
      display: flex;
      flex-direction: column;
      gap: 4px;
      font-size: 13px;
    }

    .form-label {
      font-weight: 500;
      color: var(--text-main);
    }

    .form-label small {
      color: #b06d4f;
      font-weight: 400;
      margin-left: 3px;
    }

    .form-tip {
      font-size: 11px;
      color: var(--text-sub);
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
      border-radius: 10px;
      border: 1px solid #d2c0aa;
      padding: 7px 9px;
      font-size: 13px;
      font-family: inherit;
      background:
        radial-gradient(circle at top left, #ffffff, #f5ebe0);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06) inset;
    }

    textarea {
      min-height: 90px;
      resize: vertical;
    }

    .form-inline-options {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      font-size: 13px;
    }

    .form-inline-options label {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      cursor: pointer;
    }

    .form-footer {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      justify-content: space-between;
      margin-top: 14px;
      font-size: 12px;
      color: var(--text-sub);
    }

    .btn-submit {
      padding: 9px 26px;
      border-radius: 999px;
      border: none;
      cursor: pointer;
      background: linear-gradient(135deg, #c69449, #e5c37c);
      color: #fff;
      font-size: 14px;
      font-weight: 650;
      box-shadow:
        0 16px 30px rgba(80, 46, 10, 0.78),
        0 0 0 1px rgba(255, 255, 255, 0.7) inset;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .btn-submit:hover {
      filter: brightness(1.04);
    }

    .note {
      font-size: 11px;
      color: var(--text-sub);
      line-height: 1.7;
    }
