
* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    color: #222831;
    font-family:
        Arial,
        "Microsoft JhengHei",
        "Noto Sans TC",
        "Noto Sans Khmer",
        "Noto Sans",
        sans-serif;
    background: #293442 url("tajen-campus-bg.jpg") center center / cover fixed no-repeat;
}


/* ---------- 共用背景遮罩：保留較清楚版本 ---------- */

body:before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            to bottom,
            rgba(22, 31, 44, 0.28),
            rgba(22, 31, 44, 0.42)
        );
}

.page {
    width: 94%;
    max-width: 860px;
    margin: 0 auto;
    padding: 22px 0 34px;
}

.panel {
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28);
}

/* ---------- 系統標題 ---------- */

.header {
    padding: 26px 30px 22px;
    border-bottom: 1px solid #e3e7eb;
    background: #fff;
}

.header h1 {
    margin: 0;
    color: #20242b;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
}

.title-translations {
    margin-top: 8px;
}

.title-en,
.title-third {
    color: #687281;
    font-size: 13.5px;
    line-height: 1.55;
}

.title-third {
    margin-top: 2px;
}

/* ---------- 表單 ---------- */

.form-area {
    padding: 26px 30px 30px;
}

.section {
    margin-bottom: 23px;
}

.section:last-child {
    margin-bottom: 0;
}

/*
 * 人因設計：
 * 不把三種語言硬塞在同一標題列。
 * 中文為主要視覺層級；翻譯緊接在下方，閱讀路徑固定由上到下。
 */
.heading-group {
    margin-bottom: 13px;
}

.heading-main {
    margin: 0;
    color: #242a32;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.heading-en,
.heading-third {
    color: #697382;
    font-size: 12.8px;
    line-height: 1.5;
}

.heading-en {
    margin-top: 2px;
}

.heading-third {
    margin-top: 1px;
}

.i18n-zh {
    color: #30363f;
    font-size: 14px;
    line-height: 1.65;
}

.i18n-en,
.i18n-third {
    margin-top: 3px;
    color: #697382;
    font-size: 12.8px;
    line-height: 1.62;
}

/* ---------- 身分證欄位 ---------- */

.field-label {
    display: block;
    margin-bottom: 9px;
}

.field-label-main {
    color: #252b33;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.field-label-en,
.field-label-third {
    color: #697382;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.45;
}

.field-label-en {
    margin-top: 2px;
}

.field-label-third {
    margin-top: 1px;
}

.required {
    margin-left: 3px;
    color: #c83232;
}

.id-input {
    width: 100%;
    min-height: 54px;
    padding: 12px 14px;
    border: 2px solid #ccd3dc;
    border-radius: 9px;
    background: #fff;
    color: #222;
    font-size: 16px;
    outline: none;
}

.id-input:hover {
    border-color: #adb6c1;
}

.id-input:focus {
    border-color: #2c6bcf;
    box-shadow: 0 0 0 3px rgba(44, 107, 207, 0.14);
}

/* ---------- 個資說明：收合式 ---------- */

.privacy {
    margin: 2px 0 23px;
    border: 1px solid #e3d8df;
    border-radius: 10px;
    background: #fbf8fa;
    overflow: hidden;
}

.privacy summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 14px 48px 14px 16px;
    user-select: none;
}

.privacy summary::-webkit-details-marker {
    display: none;
}

.privacy summary:after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 17px;
    transform: translateY(-50%);
    color: #742653;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.privacy[open] summary:after {
    content: "−";
}

.privacy summary:hover {
    background: #f8f2f6;
}

.privacy summary:focus {
    outline: 3px solid rgba(44, 107, 207, 0.22);
    outline-offset: -3px;
}

.privacy-title {
    color: #57213f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.privacy-title-en,
.privacy-title-third {
    color: #746873;
    font-size: 12.3px;
    font-weight: 400;
    line-height: 1.45;
}

.privacy-title-en {
    margin-top: 2px;
}

.privacy-title-third {
    margin-top: 1px;
}

.privacy-content {
    padding: 0 16px 15px;
    border-top: 1px solid #eadfe6;
}

.privacy-content .i18n-zh {
    margin-top: 13px;
}

/* ---------- 同意事項 ---------- */

.check-list {
    display: grid;
    gap: 12px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 15px;
    border: 1px solid #dde2e8;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.check-item:hover {
    background: #fafbfc;
}

.check-item:focus-within {
    border-color: #2c6bcf;
    box-shadow: 0 0 0 3px rgba(44, 107, 207, 0.10);
}

.check-item input {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin: 2px 0 0;
    accent-color: #742653;
}

.check-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.check-copy .i18n-zh {
    font-weight: 600;
}

/* ---------- 錯誤 / 下一步 ---------- */

.error {
    display: none;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #e3aaa3;
    border-radius: 9px;
    background: #fff1ef;
    color: #92241c;
    font-size: 13px;
    line-height: 1.6;
}

.action {
    margin-top: 22px;
}

.next-button {
    display: block;
    width: 100%;
    min-height: 56px;
    padding: 13px 16px;
    border: 0;
    border-radius: 9px;
    background: #742653;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    cursor: pointer;
}

.next-button:hover {
    background: #5e1e43;
}

.next-button:focus {
    outline: 3px solid rgba(44, 107, 207, 0.35);
}

/* ---------- Footer ---------- */

.footer {
    padding: 15px 30px 18px;
    border-top: 1px solid #e1e4e8;
    background: #fafafa;
}

.footer-school {
    color: #343a43;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.5;
}

.footer-address {
    margin-top: 4px;
}

.footer-address .i18n-zh,
.footer-address .i18n-en,
.footer-address .i18n-third {
    font-size: 11.5px;
    line-height: 1.5;
}

/* ---------- 手機 ---------- */

@media screen and (max-width: 640px) {
    body {
        background-attachment: scroll;
        background-position: 68% center;
    }

    .page {
        width: 96%;
        padding: 8px 0 18px;
    }

    .panel {
        border-radius: 11px;
    }

    .header,
    .form-area,
    .footer {
        padding-left: 17px;
        padding-right: 17px;
    }

    .header {
        padding-top: 20px;
        padding-bottom: 18px;
    }

    .header h1 {
        font-size: 20px;
        line-height: 1.5;
    }

    .title-en,
    .title-third {
        font-size: 12.2px;
        line-height: 1.55;
    }

    .form-area {
        padding-top: 21px;
    }

    .heading-main {
        font-size: 17px;
    }

    .heading-en,
    .heading-third,
    .i18n-en,
    .i18n-third {
        font-size: 12.1px;
    }

    .i18n-zh {
        font-size: 13.5px;
    }

    .field-label-main {
        font-size: 14.5px;
    }

    .field-label-en,
    .field-label-third {
        font-size: 12px;
    }

    .id-input {
        min-height: 56px;
        font-size: 16px;
    }

    .privacy summary,
    .check-item {
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .next-button {
        min-height: 58px;
        font-size: 15px;
    }
}


/* ---------- 精簡 Footer ---------- */

.footer {
    padding: 14px 30px 16px;
    border-top: 1px solid #e3e7eb;
    background: #fafafa;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.footer-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #ddd3da;
    border-radius: 9px;
    background: #fff;
    color: #742653;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}

.footer-nav a:hover {
    background: #f8f2f6;
    border-color: #cdb9c7;
}

.footer-nav a:focus {
    outline: 3px solid rgba(44, 107, 207, 0.24);
    outline-offset: 2px;
}

.footer-meta {
    margin-top: 10px;
    color: #8a919b;
    font-size: 10.5px;
    line-height: 1.45;
    text-align: center;
}

@media screen and (max-width: 640px) {
    .footer {
        padding-left: 17px;
        padding-right: 17px;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .footer-nav a {
        min-height: 46px;
        font-size: 12.5px;
    }

    .footer-meta {
        margin-top: 9px;
        font-size: 10px;
    }
}


/* =========================================================
   Application Form
   與入口頁共用同一份 admission.css
   ========================================================= */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    color: #252a31;
    font-family:
        Arial,
        "Microsoft JhengHei",
        "Noto Sans TC",
        "Noto Sans Khmer",
        "Noto Sans",
        sans-serif;
    background: #293442 url("tajen-campus-bg.jpg") center center / cover fixed no-repeat;
}

button, input, select, textarea {
    font: inherit;
}

.page {
    width: 94%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 22px 0 34px;
}

.panel {
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255,255,255,.985);
    box-shadow: 0 14px 44px rgba(0,0,0,.28);
}

/* Header */
.header {
    padding: 25px 30px 21px;
    border-bottom: 1px solid #e3e7eb;
    background: #fff;
}

.header h1 {
    margin: 0;
    color: #20242b;
    font-size: 23px;
    line-height: 1.45;
}

.title-en,
.title-third {
    margin-top: 5px;
    color: #697382;
    font-size: 12.8px;
    line-height: 1.55;
}

.title-third {
    margin-top: 2px;
}

/* Progress */
.progress-wrap {
    padding: 18px 30px 19px;
    border-bottom: 1px solid #e6e9ed;
    background: #fafafa;
}

.progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.progress-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.progress-sub,
.progress-third {
    display: block;
    margin-top: 2px;
    color: #7a8390;
    font-size: 10.8px;
    line-height: 1.45;
}

.progress-count {
    color: #742653;
    font-size: 13px;
    font-weight: 700;
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.step {
    position: relative;
    height: 8px;
    border-radius: 99px;
    background: #e5e8ec;
}

.step.active {
    background: #742653;
}

.step.done {
    background: #9e6b88;
}

/* Form */
form {
    margin: 0;
}

.form-step {
    display: none;
    padding: 27px 30px 8px;
}

.form-step.active {
    display: block;
}

.section-heading {
    margin-bottom: 22px;
    padding-bottom: 13px;
    border-bottom: 1px solid #e8ebee;
}

.section-heading h2 {
    margin: 0;
    color: #252a31;
    font-size: 20px;
    line-height: 1.45;
}

.section-heading .sub-en,
.section-heading .sub-third {
    margin-top: 3px;
    color: #707986;
    font-size: 12.5px;
    line-height: 1.5;
}

.form-grid {
    display: grid;
    gap: 18px 20px;
}

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

.field.full {
    grid-column: 1 / -1;
}

.field label,
.clean-fieldset legend {
    display: block;
    margin-bottom: 8px;
}

.field label strong,
.clean-fieldset legend strong {
    display: block;
    color: #292e35;
    font-size: 14px;
    line-height: 1.45;
}

.field label > span,
.clean-fieldset legend > span {
    display: block;
    margin-top: 1px;
    color: #737d8a;
    font-size: 11.5px;
    line-height: 1.45;
}

.required {
    display: inline !important;
    margin-left: 2px !important;
    color: #c83232 !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="month"],
input[type="number"],
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1.5px solid #cfd5dc;
    border-radius: 8px;
    background: #fff;
    color: #252a31;
    outline: none;
}

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

input:focus,
select:focus,
textarea:focus {
    border-color: #2d6dcc;
    box-shadow: 0 0 0 3px rgba(45,109,204,.12);
}

.hint,
.mask-preview {
    margin-top: 5px;
    color: #8a929d;
    font-size: 10.5px;
    line-height: 1.45;
}

.mask-preview {
    color: #6e5670;
}

.clean-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.choice-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.choice {
    display: flex !important;
    align-items: center;
    gap: 7px;
    min-height: 48px;
    margin: 0 !important;
    padding: 8px 10px;
    border: 1px solid #dce1e6;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.choice input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
}

.choice span {
    color: #343a43 !important;
    font-size: 12px !important;
    line-height: 1.4;
}

.choice small {
    display: block;
    margin-top: 2px;
    color: #7d8692;
    font-size: 9.6px;
    line-height: 1.35;
}

.conditional-field {
    padding: 13px;
    border: 1px solid #e3d5de;
    border-radius: 9px;
    background: #fbf7f9;
}

/* Scores */
.subsection {
    margin-bottom: 23px;
}

.subsection-title {
    margin: 0 0 10px;
}

.subsection-title strong,
.subsection-title span {
    display: block;
}

.subsection-title strong {
    font-size: 15px;
}

.subsection-title span {
    margin-top: 2px;
    color: #77808c;
    font-size: 11.5px;
}

.score-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    max-width: 540px;
}

.score-divider {
    color: #8a929d;
    font-size: 18px;
}

/* Language */
.language-block {
    margin: 0 0 25px;
    padding: 17px;
    border: 1px solid #e0e4e8;
    border-radius: 10px;
    background: #fafbfc;
}

.language-group + .language-group {
    margin-top: 16px;
}

.language-group-title {
    margin-bottom: 7px;
    color: #5f6875;
    font-size: 11.5px;
    font-weight: 700;
}

.radio-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
}

.radio-card {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    min-height: 44px;
    padding: 9px 10px;
    border: 1px solid #dce1e6;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.radio-card input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
}

.radio-card span {
    font-size: 11.5px;
    line-height: 1.45;
}

.radio-card small {
    display: block;
    margin-top: 3px;
    color: #76808d;
    font-size: 10.5px;
    line-height: 1.45;
}

.long-option {
    min-height: 0;
}

/* Upload */
.upload-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.upload-card {
    display: block;
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid #dfe3e8;
    border-radius: 9px;
    background: #fff;
}

.upload-copy {
    min-height: 59px;
}

.upload-copy strong,
.upload-copy small {
    display: block;
}

.upload-copy strong {
    color: #2d3239;
    font-size: 13.5px;
}

.upload-copy small {
    margin-top: 2px;
    color: #747e8b;
    font-size: 10.5px;
    line-height: 1.35;
}

.upload-card input[type="file"] {
    width: 100%;
    margin-top: 10px;
    font-size: 11px;
}

/* Education / family */
.education-card,
.contact-person {
    margin-bottom: 17px;
    padding: 17px;
    border: 1px solid #e0e4e8;
    border-radius: 10px;
    background: #fafbfc;
}

.card-heading {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e8ec;
}

.card-heading strong,
.card-heading span {
    display: block;
}

.card-heading strong {
    font-size: 15px;
}

.card-heading span {
    margin-top: 2px;
    color: #737d89;
    font-size: 11px;
    line-height: 1.4;
}

.period-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 7px;
}

.contact-person summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding-right: 28px;
}

.contact-person summary::-webkit-details-marker {
    display: none;
}

.contact-person summary:after {
    content: "+";
    position: absolute;
    right: 0;
    top: 1px;
    color: #742653;
    font-size: 20px;
}

.contact-person[open] summary:after {
    content: "−";
}

.contact-body {
    padding-top: 15px;
}

/* Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 20px 30px 27px;
}

.btn {
    min-width: 150px;
    min-height: 50px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.btn small {
    display: block;
    margin-top: 2px;
    font-size: 9.5px;
    font-weight: 400;
}

.btn.primary {
    margin-left: auto;
    border: 1px solid #742653;
    background: #742653;
    color: #fff;
}

.btn.secondary {
    border: 1px solid #cfd5dc;
    background: #fff;
    color: #4d5663;
}

.btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* Footer */
.footer {
    padding: 14px 30px 16px;
    border-top: 1px solid #e3e7eb;
    background: #fafafa;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.footer-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 13px;
    border: 1px solid #ddd3da;
    border-radius: 8px;
    background: #fff;
    color: #742653;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.footer-nav a span {
    font-size: 9.5px;
    font-weight: 400;
}

.footer-meta {
    margin-top: 9px;
    color: #9299a2;
    font-size: 10px;
    text-align: center;
}

[hidden] {
    display: none !important;
}

@media (max-width: 800px) {
    .page {
        width: 96%;
        padding-top: 10px;
    }

    .header,
    .progress-wrap,
    .form-step,
    .form-actions,
    .footer {
        padding-left: 18px;
        padding-right: 18px;
    }
.header h1 {
        font-size: 20px;
    }

    .title-en,
    .title-third {
        font-size: 11.5px;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

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

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

@media (max-width: 520px) {
    body {
        background-attachment: scroll;
        background-position: 68% center;
    }

    .page {
        width: calc(100% - 10px);
    }

    .header h1 {
        font-size: 18px;
    }

    .section-heading h2 {
        font-size: 18px;
    }

    .progress-top {
        align-items: flex-start;
    }

    .choice-row {
        grid-template-columns: 1fr;
    }

    .score-row {
        gap: 5px;
    }

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

    .education-card,
    .contact-person,
    .language-block {
        padding: 13px;
    }

    .form-actions {
        position: sticky;
        bottom: 0;
        z-index: 10;
        padding-top: 12px;
        padding-bottom: 12px;
        background: rgba(255,255,255,.96);
        border-top: 1px solid #e5e8ec;
    }

    .btn {
        flex: 1 1 0;
        min-width: 0;
        min-height: 52px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .footer-nav {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Shared flow adjustments
   ========================================================= */

/* 入口頁與報名表共用相同背景圖 */
body.entry-page,
body.application-page {
    background-image: url("tajen-campus-bg.jpg");
}

/* 報名表頁面稍寬，入口頁維持較窄 */
body.entry-page .page {
    max-width: 860px;
}

body.application-page .page {
    max-width: 1040px;
}

/* 避免合併樣式後入口頁欄位被通用 input 規則壓縮 */
body.entry-page .id-input {
    min-height: 54px;
}

/* 報名表來源身分證自入口頁帶入時，提示文字 */
.carried-value-note {
    margin-top: 6px;
    color: #7d6b77;
    font-size: 10.5px;
    line-height: 1.45;
}

/* =========================================================
   尚未開放報名頁
   ========================================================= */

.closed-area {
    padding: 54px 30px 58px;
    text-align: center;
}

.closed-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #f6edf2;
    color: #742653;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
}

.closed-title {
    margin: 0;
    color: #242a32;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.45;
}

.closed-en,
.closed-third,
.closed-fourth {
    margin-top: 8px;
    color: #687281;
    font-size: 16px;
    line-height: 1.6;
}

.closed-third,
.closed-fourth {
    margin-top: 4px;
}

.closed-note {
    max-width: 620px;
    margin: 26px auto 0;
    padding-top: 22px;
    border-top: 1px solid #e5e8ec;
}

.closed-note .i18n-zh {
    color: #4c5562;
    font-size: 14px;
    line-height: 1.7;
}

.closed-note .i18n-en,
.closed-note .i18n-third,
.closed-note .i18n-fourth {
    margin-top: 4px;
    color: #7a8390;
    font-size: 12.8px;
    line-height: 1.65;
}


/* =========================================================
   關閉頁多語網站連結
   ========================================================= */

.closed-footer {
    padding: 16px 30px 17px;
    border-top: 1px solid #e3e7eb;
    background: #fafafa;
}

.closed-footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.closed-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 11px 14px;
    border: 1px solid #ddd3da;
    border-radius: 9px;
    background: #fff;
    color: #742653;
    text-align: center;
    text-decoration: none;
}

.closed-footer-link:hover {
    background: #f8f3f6;
    border-color: #cdbbc7;
}

.closed-footer-link:focus {
    outline: 3px solid rgba(44, 107, 207, .22);
    outline-offset: 2px;
}

.closed-footer-copy {
    display: block;
    width: 100%;
}

.closed-footer-zh {
    display: block;
    color: #742653;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.45;
}

.closed-footer-en,
.closed-footer-third,
.closed-footer-fourth {
    display: block;
    margin-top: 2px;
    color: #707986;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.4;
}

.closed-footer-meta {
    margin-top: 10px;
    color: #9299a2;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
}

@media screen and (max-width: 640px) {
    .closed-area {
        padding: 40px 18px 44px;
    }

    .closed-title {
        font-size: 25px;
    }

    .closed-en,
    .closed-third,
    .closed-fourth {
        font-size: 14px;
    }

    .closed-note {
        margin-top: 22px;
        padding-top: 18px;
    }

    .closed-footer {
        padding: 13px 17px 15px;
    }

    .closed-footer-nav {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .closed-footer-link {
        min-height: 62px;
        padding: 11px 12px;
    }

    .closed-footer-zh {
        font-size: 14px;
    }

    .closed-footer-en,
    .closed-footer-third,
    .closed-footer-fourth {
        font-size: 12px;
    }
}

/* ---------- 各類頁面寬度 ---------- */

body.entry-page .page,
body.closed-page .page {
    max-width: 860px;
}

body.application-page .page {
    max-width: 1040px;
}

