body {
    background: linear-gradient(180deg, #f5f3ef 0%, #f8f8f6 48%, #eef1f4 100%);
    color: #1d1b24;
}

.enroll-page {
    max-width: 1140px;
    margin: 0 auto;
    padding: 5px 20px 96px;
    box-sizing: border-box;
    display: flex;
}

.competition-info-container {
    width: 100%;
    min-height: 0;
    display: flex;
}

.info-card {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(45, 38, 48, .12);
    border-radius: 8px;
    overflow: visible;
    background: #ffffff;
    box-shadow: 0 22px 54px rgba(20, 28, 44, .09);
}

.info-card .el-card__header {
    flex: 0 0 auto;
    padding: 0;
    border-bottom: 0;
}

.info-card .el-card__body {
    flex: 1;
    min-height: 0;
    padding: 18px 22px 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.card-header {
    position: relative;
    min-height: 124px;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #151b2a;
    background:
        linear-gradient(90deg, rgba(200, 23, 60, .12) 1px, transparent 1px) 0 82% / 20px 1px repeat-x,
        linear-gradient(90deg, rgba(60, 49, 39, .08) 1px, transparent 1px) 0 58% / 20px 1px repeat-x,
        radial-gradient(circle at 88% 16%, rgba(0, 154, 225, .12), transparent 30%),
        linear-gradient(135deg, #fffefa 0%, #f7f2ea 56%, #eef4f7 100%);
    isolation: isolate;
}

.card-header::before {
    content: '';
    position: absolute;
    inset: 12px 16px;
    border: 1px solid rgba(60, 49, 39, .08);
    border-radius: 8px;
    pointer-events: none;
    z-index: 0;
}

.card-header::after {
    content: '';
    position: absolute;
    right: 34px;
    bottom: 22px;
    width: 158px;
    height: 48px;
    opacity: .16;
    background:
        linear-gradient(rgba(200, 23, 60, .78), rgba(200, 23, 60, .78)) 0 4px / 100% 1px no-repeat,
        linear-gradient(rgba(200, 23, 60, .72), rgba(200, 23, 60, .72)) 0 14px / 100% 1px no-repeat,
        linear-gradient(rgba(200, 23, 60, .66), rgba(200, 23, 60, .66)) 0 24px / 100% 1px no-repeat,
        linear-gradient(rgba(200, 23, 60, .60), rgba(200, 23, 60, .60)) 0 34px / 100% 1px no-repeat,
        linear-gradient(rgba(200, 23, 60, .54), rgba(200, 23, 60, .54)) 0 44px / 100% 1px no-repeat;
    pointer-events: none;
    z-index: 0;
}

.card-header>* {
    position: relative;
    z-index: 1;
}

.brand-lockup {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-logo-frame {
    position: relative;
    flex: 0 0 224px;
    width: 224px;
    height: 68px;
    padding: 0 22px 0 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(200, 23, 60, .18);
    border-radius: 8px;
    /* background:
        linear-gradient(90deg, rgba(200, 23, 60, .08) 1px, transparent 1px) 0 100% / 18px 1px repeat-x,
        linear-gradient(135deg, #ffffff 0%, #fff9f5 58%, #f8eef0 100%); */
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .68),
        0 14px 30px rgba(20, 28, 44, .10);
}

.brand-logo-frame::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #ef3655 0%, #c8173c 100%);
}

.brand-logo-frame::after {
    content: '';
    position: absolute;
    right: -28px;
    top: -34px;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    border: 1px solid rgba(200, 23, 60, .16);
    background: rgba(200, 23, 60, .04);
}

.brand-logo-frame img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-height: 42px;
    height: auto;
    object-fit: contain;
}

.brand-copy {
    min-width: 0;
}

.brand-title {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: #c8173c;
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.eyebrow {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    color: #6f6874;
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.card-header h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0;
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.tips-text {
    display: block;
    margin-top: 6px;
    max-width: 620px;
    font-size: 14px;
    line-height: 1.6;
    color: #5e5864;
}

.header-meta {
    width: 184px;
    flex: 0 0 184px;
    padding: 14px 16px;
    border: 1px solid rgba(60, 49, 39, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 10px 24px rgba(29, 36, 51, .06);
}

.header-meta span,
.header-meta em {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: #6f6874;
    font-style: normal;
}

.header-meta strong {
    display: block;
    margin: 6px 0;
    font-size: 16px;
    line-height: 1.4;
    color: #c8173c;
}

.eyebrow.dark {
    color: #c8173c;
}

.form-overview {
    padding: 24px 28px;
    margin-bottom: 22px;
    border: 1px solid rgba(60, 49, 39, .12);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(60, 49, 39, .10) 1px, transparent 1px) 0 100% / 18px 1px repeat-x,
        linear-gradient(180deg, #fffefa 0%, #f6f2ea 100%);
    box-shadow: 0 10px 28px rgba(29, 36, 51, .05);
}

.overview-intro h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
    color: #151b2a;
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.overview-intro p:last-child {
    margin: 8px 0 0;
    max-width: 760px;
    color: #706a74;
    line-height: 1.7;
}

.overview-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.overview-item {
    position: relative;
    min-height: 98px;
    padding: 16px 16px 16px 68px;
    border: 1px solid rgba(60, 49, 39, .12);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f9f7f2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 22px rgba(29, 36, 51, .04);
}

.overview-item span {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #ff3150 0%, #c8173c 100%);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.overview-item strong {
    font-size: 16px;
    line-height: 1.35;
    color: #151b2a;
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.overview-item em {
    font-style: normal;
    font-size: 13px;
    line-height: 1.7;
    color: #706a74;
}

.submission-grid {
    flex: 1;
    min-height: auto;
    overflow: visible;
    padding-right: 0;
    padding-bottom: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
}

.submission-grid::-webkit-scrollbar {
    width: 8px;
}

.submission-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(60, 49, 39, .22);
}

.submission-grid::-webkit-scrollbar-track {
    background: transparent;
}

.submission-form {
    display: contents;
}

.submission-form>.record-section:first-child {
    grid-column: 1;
    grid-row: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.submission-form>.record-section:first-child .section-heading {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.submission-form>.record-section:first-child .field-cluster {
    margin-bottom: 0;
}

.submission-form>.record-section:nth-child(2) {
    grid-column: 1;
    grid-row: auto;
}

.video-form {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
}

.video-form .upload-card {
    grid-template-columns: 1fr;
    gap: 16px;
}

.video-form .record-section,
.submission-form>.record-section:nth-child(2) {
    margin-bottom: 0;
}

.competition-form .el-select,
.competition-form .el-cascader,
.competition-form .el-date-editor.el-input,
.competition-form .el-input,
.upload-form .el-upload,
.upload-form .el-upload-list {
    width: 100%;
}

.enroll-entry-page {
    min-height: calc(100vh - 76px);
    align-items: center;
}

.enroll-entry {
    width: 100%;
    border-radius: 8px;
    background:
        radial-gradient(circle at 92% 12%, rgba(0, 154, 225, .10), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, .92) 0%, rgba(247, 242, 234, .90) 100%);
    box-shadow: 0 22px 54px rgba(20, 28, 44, .09);
    overflow: hidden;
}

.entry-hero {
    padding: 30px 34px 22px;
}

.entry-action-grid {
    padding: 0 34px 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.entry-action-card {
    position: relative;
    min-height: 220px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
    color: #151b2a;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 32px rgba(29, 36, 51, .08);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.entry-action-card:hover,
.entry-action-card:focus {
    color: #151b2a;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(29, 36, 51, .11);
}

.entry-action-card span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #ff3150 0%, #c8173c 100%);
    font-size: 13px;
    font-weight: 700;
}

.entry-action-card strong {
    margin-top: 22px;
    display: block;
    font-size: 26px;
    line-height: 1.3;
    color: #151b2a;
}

.entry-action-card em {
    margin-top: 12px;
    display: block;
    flex: 1;
    font-style: normal;
    color: #706a74;
    font-size: 15px;
    line-height: 1.75;
}

.entry-action-card b {
    margin-top: 24px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #c8173c;
    background: rgba(200, 23, 60, .08);
    font-size: 15px;
}

.entry-action-card.primary b {
    color: #ffffff;
    background: linear-gradient(135deg, #ff3150 0%, #c8173c 100%);
}

.video-only-grid {
    grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr);
}

.video-only-grid .competition-form {
    min-width: 0;
}

.video-only-grid .competition-form:first-child {
    grid-column: 1;
}

.video-only-grid .video-form {
    grid-column: 2;
    grid-row: auto;
}

.competition-form .el-form-item {
    max-width: 820px;
}

.record-section {
    padding: 18px 18px 8px;
    margin-bottom: 16px;
    border: 1px solid rgba(60, 49, 39, .08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(29, 36, 51, .035);
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(60, 49, 39, .08);
}

.section-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    color: #151b2a;
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.section-heading p {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #706a74;
}

.section-index {
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    color: rgba(255, 49, 80, .22);
    font-variant-numeric: tabular-nums;
}

.field-cluster {
    position: relative;
    padding: 12px 12px 2px;
    margin-bottom: 12px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    border-bottom: 1px solid rgba(60, 49, 39, .07);
    box-shadow: 0 6px 16px rgba(29, 36, 51, .045);
}

.field-cluster.compact {
    margin-bottom: 0;
    border-bottom: 0;
}

.field-cluster:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.cluster-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid #ff3150;
}

.cluster-heading span {
    font-size: 15px;
    font-weight: 700;
    color: #c8173c;
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.cluster-heading small {
    font-size: 12px;
    line-height: 1.45;
    color: #706a74;
}

.receiver-cluster .el-row:first-of-type {
    display: flex;
    flex-wrap: wrap;
}

.receiver-cluster .el-row:first-of-type .el-col {
    width: 50%;
}

.submission-form.form-flow>.record-section:first-child {
    display: block;
    max-width: 860px;
    margin: 0 auto 16px;
}

.submission-form.form-flow>.record-section:first-child .section-heading {
    margin-bottom: 18px;
}

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

.question-group {
    padding: 12px 14px 2px;
    border-radius: 8px;
    background: #fbfaf7;
}

.question-group-head {
    margin: 0 0 10px;
    padding: 0 0 9px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(60, 49, 39, .07);
}

.question-group-head span {
    display: block;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: #c8173c;
}

.question-group-head em {
    font-style: normal;
    font-size: 12px;
    line-height: 1.5;
    color: #706a74;
}

.question-list .question-item,
.question-list>.el-form-item {
    min-width: 0;
    padding: 0 0 10px;
    margin-bottom: 5px;
    /* border-bottom: 1px solid rgba(60, 49, 39, .06); */
}

.question-list .question-item:last-child,
.question-list>.el-form-item:last-child,
.question-group>.question-item:last-child {
    border-bottom: 0;
}

.question-list .el-form-item__label,
.question-label {
    display: block;
    float: none;
    width: auto !important;
    padding: 0 0 5px;
    line-height: 1.45;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: #1d2433;
    white-space: normal;
    overflow-wrap: anywhere;
}

.question-subsection {
    margin: 2px 0 12px;
    padding: 9px 12px;
    border-radius: 8px;
    background: #f8f6f2;
    border-left: 3px solid rgba(200, 23, 60, .82);
}

.question-subsection span {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    color: #c8173c;
}

.question-list .el-form-item__content {
    margin-left: 0 !important;
}

.question-help {
    margin: -1px 0 8px;
    font-size: 12px;
    line-height: 1.65;
    color: #706a74;
    overflow-wrap: anywhere;
}

.split-name-item .el-form-item {
    max-width: none;
    margin-bottom: 0;
}

.question-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    min-height: 38px;
}

.question-radio-group .el-radio {
    margin-right: 0;
    line-height: 34px;
}

.grade-radio-group .el-radio {
    min-width: 54px;
}

.option-radio-group {
    align-items: flex-start;
}

.option-radio-group .el-radio {
    min-width: 210px;
}

.tips-image-panel {
    margin: -2px 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fbfaf7;
    border: 1px solid rgba(60, 49, 39, .08);
}

.tips-image-panel p {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.6;
    color: #706a74;
}

.tips-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.tips-image-grid img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid rgba(60, 49, 39, .08);
}

.field-rich-text {
    font-size: 12px;
    line-height: 1.7;
    color: #706a74;
    overflow-wrap: anywhere;
}

.field-rich-text p {
    margin: 0 0 10px;
}

.field-rich-text img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 8px 0 12px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid rgba(60, 49, 39, .08);
    cursor: zoom-in;
}

.field-rich-text ul,
.field-rich-text ol {
    padding-left: 18px;
    margin: 6px 0 10px;
}

.field-image-preview-mask {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(14, 17, 24, .78);
}

.field-image-preview-mask img {
    display: block;
    max-width: min(96vw, 1180px);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.field-image-preview-close {
    position: fixed;
    top: 18px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #20232d;
    font-size: 28px;
    line-height: 40px;
    cursor: pointer;
}

.exam-notice-panel {
    margin: -2px 0 18px;
    padding: 14px 16px;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff8f2 0%, #fffdf9 100%);
    border-left: 3px solid #c98a22;
    color: #4f4650;
}

.exam-notice-panel strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #1d2433;
}

.exam-notice-panel ol {
    margin: 0;
    padding-left: 18px;
}

.exam-notice-panel li {
    margin: 0 0 7px;
    font-size: 13px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.exam-notice-panel li:last-child {
    margin-bottom: 0;
}

.receiver-row {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(60, 49, 39, .08);
}

.receiver-row .el-form-item {
    max-width: none;
    margin-bottom: 0;
}

.upload-section {
    display: grid;
    gap: 16px;
}

.upload-card {
    position: relative;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 16px;
    padding: 16px 16px 16px 58px;
    border: 1px dashed rgba(60, 49, 39, .14);
    border-radius: 8px;
    background: #fffdf9;
    box-shadow: none;
}

.upload-card-step {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #ff3150 0%, #c8173c 100%);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.upload-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.4;
    color: #151b2a;
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.upload-card p {
    margin: 0 0 10px;
    color: #706a74;
    line-height: 1.5;
}

.upload-card .el-form-item {
    margin-bottom: 0;
}

.avatar-uploader .el-upload {
    min-height: 160px;
    border: 1px dashed rgba(95, 82, 69, .32);
    border-radius: 8px;
    background: linear-gradient(180deg, #fbfaf7 0%, #f5f7fa 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: border-color .2s ease, background .2s ease;
}

.avatar-uploader .el-upload:hover {
    border-color: #ff3150;
    background: #f7f3ea;
}

.avatar {
    width: 105px;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    margin: 8px 0;
}

.avatar-uploader-icon {
    font-size: 28px;
    color: #ff3150;
}

.video-upload-panel {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px dashed rgba(60, 49, 39, .12);
}

.video-upload-copy {
    margin-bottom: 10px;
}

.video-upload-copy h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #151b2a;
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.video-upload-copy p {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #706a74;
}

.video-upload-panel .el-form-item {
    max-width: none;
    margin-bottom: 0;
}

.video-upload-panel .el-form-item__content {
    margin-left: 0 !important;
}

.video-upload-panel .video-upload,
.video-upload-panel .el-upload-list {
    width: 100%;
}

.video-upload .el-upload {
    width: 100%;
    min-height: 84px;
    border: 1px dashed rgba(95, 82, 69, .32);
    border-radius: 8px;
    background: linear-gradient(180deg, #fbfaf7 0%, #f5f7fa 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: border-color .2s ease, background .2s ease;
}

.video-upload .el-upload:hover {
    border-color: #ff3150;
    background: #f7f3ea;
}

.upload-tips,
.el-upload__tip {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #706a74;
}

.submit-btn-wrapper {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 0;
    z-index: 1000;
    width: min(1100px, calc(100vw - 40px));
    transform: translateX(-50%);
    margin: 0;
    padding: 12px 22px calc(12px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    box-sizing: border-box;
    border: 1px solid rgba(60, 49, 39, .10);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -12px 34px rgba(29, 36, 51, .12);
}

.submit-copy {
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #706a74;
    line-height: 1.5;
}

.submit-copy strong {
    color: #151b2a;
    font-size: 14px;
}

.submit-copy span {
    font-size: 13px;
}

.submit-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.submit-btn-wrapper .el-button {
    min-width: 96px;
    min-height: 44px;
}

.page-loading-mask {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background: rgba(248, 247, 244, .76);
    backdrop-filter: blur(7px);
}

.page-loading-mask[v-cloak] {
    display: none;
}

.page-loading-card {
    width: min(320px, 100%);
    padding: 28px 24px;
    border: 1px solid rgba(60, 49, 39, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 54px rgba(20, 28, 44, .16);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.page-loading-spinner {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(201, 138, 34, .18);
    border-top-color: #c98a22;
    animation: enroll-loading-spin .8s linear infinite;
}

.page-loading-card strong {
    font-size: 16px;
    line-height: 1.4;
    color: #151b2a;
}

.page-loading-card em {
    font-size: 13px;
    line-height: 1.6;
    color: #706a74;
    font-style: normal;
}

@keyframes enroll-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

.upload-card .el-button {
    min-height: 44px;
}

.enroll-page .el-button--primary {
    border-color: var(--abrsm-primary, #e23555);
    background: var(--abrsm-primary, #e23555);
    color: #ffffff;
}

.enroll-page .el-button--primary:hover,
.enroll-page .el-button--primary:focus {
    border-color: var(--abrsm-primary-hover, #f05b70);
    background: var(--abrsm-primary-hover, #f05b70);
    color: #ffffff;
}

.enroll-page .el-button--primary.is-plain {
    color: var(--abrsm-primary, #e23555);
    border-color: rgba(var(--abrsm-primary-rgb, 226, 53, 85), .34);
    background: #ffffff;
}

.enroll-page .el-button--primary.is-plain:hover,
.enroll-page .el-button--primary.is-plain:focus {
    color: #ffffff;
    border-color: var(--abrsm-primary-hover, #f05b70);
    background: var(--abrsm-primary-hover, #f05b70);
}

.enroll-page .el-input__inner,
.enroll-page .el-textarea__inner {
    border-color: #ddd6cc;
    background: #ffffff;
    color: #1d2433;
}

.enroll-page .el-input__inner {
    height: 38px;
    line-height: 38px;
}

.enroll-page .el-form-item {
    margin-bottom: 0px;
}

.enroll-page .el-radio {
    line-height: 38px;
}

.enroll-page .el-input__inner:focus,
.enroll-page .el-textarea__inner:focus {
    border-color: #ff3150;
    box-shadow: 0 0 0 3px rgba(255, 49, 80, .12);
}

.enroll-page .el-form-item.is-error .el-input__inner,
.enroll-page .el-form-item.is-error .el-textarea__inner,
.enroll-page .el-form-item.is-error .el-input__inner:focus,
.enroll-page .el-form-item.is-error .el-textarea__inner:focus {
    border-color: #c98a22;
    box-shadow: 0 0 0 3px rgba(201, 138, 34, .14);
}

.enroll-page .el-form-item__error {
    color: #a86112;
}

.enroll-page .el-form-item__label {
    color: #343d50;
    font-weight: 600;
    line-height: 38px;
}

.enroll-page .el-upload-list {
    margin-top: 8px;
}

@media (max-width: 992px) {
    .entry-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .submission-form>.record-section:first-child {
        display: block;
    }

    .submission-form>.record-section:first-child .section-heading {
        margin-bottom: 14px;
    }

    .submission-form>.record-section:first-child .field-cluster {
        margin-bottom: 12px;
    }

    .submission-form>.record-section:first-child .field-cluster:last-child {
        margin-bottom: 0;
    }

}

@media (max-width: 768px) {
    .enroll-page {
        max-width: none;
        padding: 8px 8px 24px;
        height: auto;
    }

    .info-card {
        border-radius: 8px;
        box-shadow: 0 12px 28px rgba(20, 28, 44, .08);
    }

    .card-header {
        min-height: auto;
        padding: 12px;
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
        background: linear-gradient(135deg, #fffefa 0%, #f8f4ed 100%);
    }

    .card-header::before,
    .card-header::after {
        display: none;
    }

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

    .brand-lockup {
        flex: 1;
        align-items: center;
        flex-direction: row;
        gap: 10px;
    }

    .brand-logo-frame {
        flex: 0 0 112px;
        width: 112px;
        height: 40px;
        padding: 0 10px 0 12px;
        border-color: rgba(200, 23, 60, .12);
        box-shadow: none;
    }

    .brand-logo-frame::before {
        width: 4px;
    }

    .brand-logo-frame::after {
        display: none;
    }

    .brand-logo-frame img {
        max-height: 24px;
    }

    .tips-text {
        margin-top: 4px;
        font-size: 12px;
        line-height: 1.45;
    }

    .header-meta {
        display: none;
    }

    .info-card .el-card__body {
        padding: 10px 8px 0;
    }

    .form-overview {
        padding: 18px 14px;
    }

    .overview-intro h2 {
        font-size: 20px;
    }

    .overview-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .overview-item {
        min-height: 92px;
        padding: 16px 16px 16px 68px;
    }

    .enroll-entry-page {
        min-height: calc(100vh - 60px);
        padding-bottom: 32px;
        align-items: flex-start;
    }

    .entry-hero {
        padding: 18px 14px 14px;
    }

    .entry-action-grid {
        grid-template-columns: 1fr;
        padding: 0 14px 18px;
        gap: 12px;
    }

    .entry-action-card {
        min-height: 178px;
        padding: 20px;
    }

    .entry-action-card strong {
        margin-top: 16px;
        font-size: 22px;
    }

    .entry-action-card em {
        font-size: 14px;
        line-height: 1.65;
    }

    .submission-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding-right: 0;
        padding-bottom: 10px;
        overflow: visible;
    }

    .submission-form {
        display: contents;
    }

    .submission-form>.record-section:first-child,
    .submission-form>.record-section:nth-child(2),
    .video-form {
        grid-column: 1;
        grid-row: auto;
    }

    .competition-form .el-form-item {
        margin-bottom: 10px;
    }

    .competition-form .el-form-item__label {
        float: none;
        display: block;
        width: auto !important;
        padding: 0 0 6px;
        line-height: 1.4;
        text-align: left;
    }

    .competition-form .el-form-item__content {
        margin-left: 0 !important;
    }

    .competition-form .el-col {
        width: 100%;
    }

    .tips-image-grid {
        grid-template-columns: 1fr;
    }

    .tips-image-grid img {
        max-height: none;
    }

    .question-group {
        padding: 10px 10px 0;
    }

    .question-group-head {
        display: block;
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .question-group-head em {
        display: block;
        margin-top: 2px;
    }

    .record-section {
        padding: 14px 12px 6px;
        margin-bottom: 10px;
        border-color: rgba(60, 49, 39, .07);
        box-shadow: none;
    }

    .field-cluster {
        padding: 10px 10px 0;
        margin-bottom: 10px;
    }

    .section-heading {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .section-title {
        font-size: 17px;
    }

    .section-heading p {
        font-size: 12px;
        line-height: 1.45;
    }

    .section-index {
        display: none;
    }

    .cluster-heading {
        display: block;
        margin-bottom: 10px;
        padding-left: 10px;
    }

    .cluster-heading span {
        font-size: 14px;
    }

    .cluster-heading small {
        display: block;
        margin-top: 4px;
        font-size: 12px;
    }

    .upload-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-left: 50px;
    }

    .upload-card-step {
        top: 14px;
        left: 12px;
    }

    .submit-btn-wrapper {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        transform: none;
        margin: 12px 0 0;
        padding: 10px 12px;
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        border: 1px solid rgba(60, 49, 39, .10);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: none;
    }

    .submit-copy {
        margin-right: 0;
        gap: 2px;
    }

    .submit-copy strong {
        font-size: 13px;
    }

    .submit-copy span {
        display: none;
    }

    .submit-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .submit-actions .el-button {
        width: 100%;
        margin-left: 0;
    }

    .el-message {
        top: calc(82px + env(safe-area-inset-top, 0px)) !important;
    }
}
