html, body{
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    margin: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
    background: #f3f3fe;
}
.fs-mode-preview{
    opacity: 0.4;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    font-size: 10px;
    width: 100%;
    padding-top: 4px;
    box-sizing: border-box;
    z-index: 100;
    border-radius: 0px;
}
.fs-container{
    width:100%;
    height:100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fs-main{
    padding: 0px;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
/* Progress bar – top-fixed, theme-colored 4px stripe */
.fs-process{
    width: 100%;
    position: fixed;
    top: 0;
    bottom: auto;
    left: 0;
    z-index: 100;
    height: 4px;
}
.fs-process .el-progress{
    height: 4px;
    line-height: 4px;
}
.fs-process .el-progress-bar__outer{
    height: 4px !important;
    border-radius: 0 !important;
    background: rgba(var(--share-panel-rgb, 108,115,168), 0.15);
}
.fs-process .el-progress-bar__inner{
    border-radius: 0 !important;
    background-color: var(--share-panel, #6c73a8) !important;
    background-image: none !important;
    animation: none !important;
    transition: width 0.55s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 1px 8px 0 rgba(var(--share-panel-rgb, 108,115,168), 0.50);
}
/*Form*/
.fs-form-container {
    width: 100% !important;
    height: 100% !important;
    min-width: auto !important;
    min-height: auto !important;
    position: relative;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    scrollbar-width: none;
}
.fs-form{
    width: 100%;
    min-width: 320px;
    max-width: 720px;
    position: relative;
    backdrop-filter: blur(0px);
    border-radius: 15px;
    padding: 0px;
    box-sizing: border-box;
    white-space: break-spaces;
    overflow-wrap: break-word;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    margin: auto;
    overflow-x: hidden;
    overflow-y: clip;
    z-index: 5;
    will-change: opacity, transform;
    backface-visibility: hidden;
}
.fs-form .fs-title{
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}
.fs-form .fs-subtitle{
    font-size: 1.2rem;
    font-weight: 400;
}
.fs-form .fs-form-description{
    font-weight: 400;
    font-size: 1rem;
    font-style: italic;
    max-width: 100%;
    margin: 0 auto;
}
.fs-form img{
    max-height: 320px;
    max-width: 100%;
    object-fit: contain;
    height: auto;
}
.fs-form .fs-form-index{
    position: absolute;
    left: -30px;
    top: 10px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    color: rgb(0, 0, 0);
    font-size: 1.1rem;
    line-height: 20px;
}
.fs-form .fs-form-head{
    min-height: 58px;
    font-weight: 600;
    font-size: 1.5rem;
    overflow: hidden;
    display: grid;
    position: relative;
    color: var(--share-font);
    flex-shrink: 0;
    box-sizing: border-box;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.fs-form .fs-form-head .fs-head-image{
    width: 100%;
    max-height: 1024px;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
}
.fs-form .fs-form-head .fs-form-head-logo{
    margin-bottom: 8px;
}
.fs-form .fs-form-head .fs-form-head-logo img{
    width: 68px;
    max-height: 68px;
}
.fs-form .fs-form-head .fs-form-head-title{
    color: currentColor;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
    transition: all 0.5s ease;
    display: flex;
    justify-content: center;
    max-width: 100%;
    margin: 4px auto;
    font-size: 1.8rem;
    font-weight: 500;
}
.fs-form .fs-form-field-description{
    width: 100%;
    display: flex;
    flex-direction: column;
    line-height: 1.4;
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 300;
    padding-bottom: 4px;
    color: var(--share-font);
}
.fs-form .fs-form-field-description:empty, .fs-form .fs-form-field-description:blank {
    padding-bottom: 0;
}
.fs-form .fs-form-field-description .el-input__wrapper{
    border: 0px;
    font-size: 1rem;
    padding: 2px 0;
    box-shadow: none;
    overflow: visible;
    tab-size: 4;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}
.fs-form .fs-form-field-description input{
    font-style: italic;
    transition: opacity 90ms ease-in-out 0s;
}
.fs-form .fs-form-field-description[field] .el-input__inner{
    text-align: center;
}
.fs-form .fs-form-field-body{
    width: 100%;
    margin: 0 auto;
    margin-bottom: 20px;
    color: var(--share-font);
}
.fs-form[field] .fs-form-field-body{
    margin-bottom: 0px !important;
    flex-direction: column;
}
.fs-form[field] .el-form-item{
    margin-bottom: 0px;
}
.fs-form .fs-form-config{
    padding: 0 20px;
}
.fs-form .fs-form-config .el-link{
    color: #626aef;
    font-size: 0.8rem;
}
.fs-form .fs-form-body{
    position: relative;
    width: 100%;
    min-width: 280px;
    margin: 0 auto;
    padding: 20px 10%;
    display: flex;
    flex: 1;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    font-size: 1.1rem;
    text-align: center;
    word-break: break-all;
    box-sizing: border-box;
    overflow-wrap: break-word;
    white-space: break-spaces;
    overflow-y: auto;
    overflow: clip;
    scrollbar-width: none;
}
.fs-form .fs-form-body .fs-form-body-description{
    font-weight: 400;
    font-size: 1rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    text-align: left;
}
.fs-form .fs-form-body .fs-form-field-title{
    color: currentColor;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
    transition: all 0.5s ease;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 8px 0;
}
.fs-form .fs-form-body .el-form-item__label{
    color: currentColor;
}
.fs-form .fs-form-body p{
    font-size: 1.1rem;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
    text-align: justify;
    overflow-wrap: break-word;
}
.fs-form .fs-form-body.fade-out {
    opacity: 0;
}
.fs-form .fs-form-body input, .fs-form .fs-form-body textarea,
.fs-form .fs-form-body .el-date-editor.el-input, .fs-form .fs-form-body .el-date-editor.el-input__wrapper{
    caret-color: var(--share-font);
    opacity: 0.8;
    height: auto;
}
.fs-form .fs-form-body .el-textarea .el-input__count{
    bottom: 10px;
    background: transparent;
}
.fs-form .el-input__wrapper, .fs-form .el-textarea__inner{
    background: transparent;
    border-radius: 0;
    font-size: 1rem;
    text-fill-color: var(--share-font);
    -webkit-font-smoothing: antialiased;
    -webkit-text-fill-color: var(--share-font);
    animation: 1ms ease 0s 1 normal none running native-autofill-in;
    transition: background-color 1e+08s ease 0s, box-shadow 0.1s ease-out 0s;
    box-shadow: none;
    border-bottom: 1px solid var(--share-panel);
}
.fs-form .el-textarea .el-textarea__inner{
    border: 1px solid var(--share-panel);
    border-radius: 4px;
    padding: 8px;
}
/* Input: focus ring (theme-colored) + larger touch target */
.fs-form .el-textarea .el-textarea__inner:focus {
    box-shadow: 0 0 0 1.5px var(--share-panel) inset, 0 0 0 4px var(--share-panel);
    outline: none !important;
}
.fs-form .fs-form-field-body .el-input__wrapper:focus-within {
    border-bottom: 1px solid var(--share-font) !important;
    box-shadow: 0 1px 0 0 var(--share-font) !important;
}
.fs-form .fs-form-field-body .el-textarea__inner:focus {
    border-color: var(--share-font) !important;
    box-shadow: none !important;
}
/* Input: larger font & touch target */
.fs-form .el-input__wrapper {
    padding: 0 1px;
}
.fs-form .el-input .el-input__inner {
    font-size: 1rem;
}

.fs-form .el-textarea .el-input__count{
    margin-bottom: 5px;
}
.fs-form .el-form-item__content{
    flex-direction: column;
    align-items: baseline;
}
.fs-form .el-table{
    border-radius: 4px;
    border: 1px solid var(--share-panel);
}
.fs-form .el-table__header{
    border-bottom: 1px solid var(--share-panel);
}
.fs-form .el-checkbox-group,.fs-form .el-radio-group{
    display: inline-flex;
    flex-flow: column wrap;
    -webkit-box-align: stretch;
    align-items: stretch;
    user-select: none;
    margin-block-end: -8px;
    margin-inline-end: 8px;
    margin: auto 0px;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 62%;
}
.fs-form .el-radio__input.is-checked+.el-radio__label{
    color: currentColor;
}
.fs-form .el-radio__input.is-checked .el-radio__inner{
    border-color: var(--share-font);
    background: var(--share-panel);
}
.fs-form .el-checkbox,.fs-form .el-radio,.fs-form .el-select__wrapper{
    color: currentColor;
    touch-action: manipulation;
    padding-right: 8px;
    transition: all 0.18s ease-out;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1.1rem;
    line-height: 24px;
    background-color: var(--share-fg);
    border: 1px solid var(--share-panel);
    max-width: 480px;
    min-width: unset;
    margin: 0 auto;
    margin-bottom: 8px;
    outline: 0px;
    padding-block: 8px;
    padding-left: 8px;
    width: 100%;
    height: auto;
    overflow-x: auto;
    cursor: pointer;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: break-spaces;
    text-align: left;
}
/* Scale buttons: pill shape, spring transition */
.fs-form .fs-scale-button{
    min-width: 48px;
    min-height: 48px;
    padding: 4px;
    color: var(--share-font) !important;
    background: var(--share-fg);
    border: 1px solid var(--share-panel);
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fs-form .fs-scale-button.active {
    background: var(--share-font);
    color: var(--share-fg) !important;
    border-color: var(--share-panel);
    font-weight: 500;
    transform: scale(1.04);
    box-shadow: 0 4px 14px var(--share-panel);
}
.fs-form .fs-scale-button:hover:not(.active) {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
/* Scale: two-end label row (min / max) */
.field-scale-label-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 2px 6px;
    font-size: 0.72rem;
    opacity: 0.55;
    letter-spacing: 0.3px;
    color: inherit;
}
/* Scale buttons stagger on entry */
.fs-form-field-body.fs-typing-step-visible .field-scale-block .fs-scale-button {
    animation: fs-option-in 0.22s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.fs-form-field-body.fs-typing-step-visible .field-scale-block .fs-scale-button:nth-child(1)  { animation-delay: 0.00s; }
.fs-form-field-body.fs-typing-step-visible .field-scale-block .fs-scale-button:nth-child(2)  { animation-delay: 0.03s; }
.fs-form-field-body.fs-typing-step-visible .field-scale-block .fs-scale-button:nth-child(3)  { animation-delay: 0.06s; }
.fs-form-field-body.fs-typing-step-visible .field-scale-block .fs-scale-button:nth-child(4)  { animation-delay: 0.09s; }
.fs-form-field-body.fs-typing-step-visible .field-scale-block .fs-scale-button:nth-child(5)  { animation-delay: 0.12s; }
.fs-form-field-body.fs-typing-step-visible .field-scale-block .fs-scale-button:nth-child(6)  { animation-delay: 0.15s; }
.fs-form-field-body.fs-typing-step-visible .field-scale-block .fs-scale-button:nth-child(7)  { animation-delay: 0.18s; }
.fs-form-field-body.fs-typing-step-visible .field-scale-block .fs-scale-button:nth-child(8)  { animation-delay: 0.21s; }
.fs-form-field-body.fs-typing-step-visible .field-scale-block .fs-scale-button:nth-child(9)  { animation-delay: 0.24s; }
.fs-form-field-body.fs-typing-step-visible .field-scale-block .fs-scale-button:nth-child(10) { animation-delay: 0.27s; }
.fs-form .el-checkbox{
    border-radius: 6px;
}
.fs-form .el-checkbox:hover,
.fs-form .el-radio:hover {
    border-color: var(--share-font);
    transform: translateX(4px);
    background-color: var(--share-fg);
    box-shadow: inset -2px 0 0 var(--share-panel);
}
.fs-form .el-radio.is-checked {
    background-color: var(--share-panel) !important;
    border-color: var(--share-panel);
    border-left: 3px solid var(--share-font);
    padding-left: 6px;
    color: var(--share-fg);
}
.fs-form .el-radio.is-checked .el-radio__label {
}
.fs-form .el-checkbox.is-checked {
    border-color: var(--share-panel);
    background-color: var(--share-panel);
    border-left: 3px solid var(--share-panel);
    padding-left: 6px;
    color: var(--share-fg);
}
.fs-form .el-checkbox__input,.fs-form .el-radio__input{
    margin-left: 8px;
}
.fs-form .el-checkbox__inner,.fs-form .el-radio__inner{
    width: 18px;
    height: 18px;
    display: flex;
    font-size: 1.1rem;
    line-height: 16px;
    font-family: sans-serif;
    border-color: var(--share-font);
    background-color: var(--share-fg);
}
.fs-form .el-checkbox .is-checked .el-checkbox__inner{
    border-color: var(--share-font);
    background-color: var(--share-fg);
}
.fs-form .el-checkbox__inner:after{
    width: 5px;
    height: 10px;
    left: 5px;
    border-color: var(--share-font) !important;
}
.fs-form .el-radio__inner:after{
    width: 5px;
    height: 5px;
    left: 50%;
    top: 50%;
    border-color: var(--share-font) !important;
}
.fs-form .el-checkbox__label,.fs-form .el-radio__label{
    font-size: 1.1rem;
    line-height: 24px;
    color: currentColor !important;
}
.fs-form .el-rate .el-rate__icon{
    font-size: 1.8rem;
}
/* Option stagger: cascade in when .fs-form-field-body becomes visible (single-question mode) */
.fs-form-field-body.fs-typing-step-visible .el-radio-group .el-radio,
.fs-form-field-body.fs-typing-step-visible .el-checkbox-group .el-checkbox {
    animation: fs-option-in 0.26s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.fs-form-field-body.fs-typing-step-visible .el-radio-group .el-radio:nth-child(1),
.fs-form-field-body.fs-typing-step-visible .el-checkbox-group .el-checkbox:nth-child(1) { animation-delay: 0.00s; }
.fs-form-field-body.fs-typing-step-visible .el-radio-group .el-radio:nth-child(2),
.fs-form-field-body.fs-typing-step-visible .el-checkbox-group .el-checkbox:nth-child(2) { animation-delay: 0.05s; }
.fs-form-field-body.fs-typing-step-visible .el-radio-group .el-radio:nth-child(3),
.fs-form-field-body.fs-typing-step-visible .el-checkbox-group .el-checkbox:nth-child(3) { animation-delay: 0.10s; }
.fs-form-field-body.fs-typing-step-visible .el-radio-group .el-radio:nth-child(4),
.fs-form-field-body.fs-typing-step-visible .el-checkbox-group .el-checkbox:nth-child(4) { animation-delay: 0.15s; }
.fs-form-field-body.fs-typing-step-visible .el-radio-group .el-radio:nth-child(5),
.fs-form-field-body.fs-typing-step-visible .el-checkbox-group .el-checkbox:nth-child(5) { animation-delay: 0.20s; }
.fs-form-field-body.fs-typing-step-visible .el-radio-group .el-radio:nth-child(6),
.fs-form-field-body.fs-typing-step-visible .el-checkbox-group .el-checkbox:nth-child(6) { animation-delay: 0.25s; }
.fs-form-field-body.fs-typing-step-visible .el-radio-group .el-radio:nth-child(7),
.fs-form-field-body.fs-typing-step-visible .el-checkbox-group .el-checkbox:nth-child(7) { animation-delay: 0.30s; }
.fs-form-field-body.fs-typing-step-visible .el-radio-group .el-radio:nth-child(8),
.fs-form-field-body.fs-typing-step-visible .el-checkbox-group .el-checkbox:nth-child(8) { animation-delay: 0.35s; }
@keyframes fs-option-in {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}
/* Option letter badges: scoped to [field] to avoid affecting user-info.html */
.fs-form[field] .el-radio-group { counter-reset: fs-letter; }
.fs-form[field] .el-checkbox-group { counter-reset: fs-letter; }
.fs-form[field] .el-radio-group .el-radio { counter-increment: fs-letter; }
.fs-form[field] .el-checkbox-group .el-checkbox { counter-increment: fs-letter; }
.fs-form[field] .el-radio-group .el-radio .el-radio__label,
.fs-form[field] .el-checkbox-group .el-checkbox .el-checkbox__label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.fs-form[field] .el-radio-group .el-radio .el-radio__label::before,
.fs-form[field] .el-checkbox-group .el-checkbox .el-checkbox__label::before {
    content: counter(fs-letter, upper-alpha);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--share-panel);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--share-panel);
    transition: background 0.15s ease, color 0.15s ease;
    opacity: 0.80;
}
.fs-form[field] .el-radio-group .el-radio.is-checked .el-radio__label::before,
.fs-form[field] .el-checkbox-group .el-checkbox.is-checked .el-checkbox__label::before {
    background: var(--share-panel) !important;
    color: #fff !important;
    border-color: var(--share-panel) !important;
    opacity: 1;
}
.fs-form .fs-form-foot{
    font-size: 1.1rem;
    z-index: 10;
    flex-shrink: 0;
    min-width: 220px;
    z-index: 1;
    box-sizing: border-box;
}
.fs-form .fs-form-action{
    height: 44px;
    min-width: 44px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    transition: all 0.18s ease;
}
.fs-form .fs-form-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}
.fs-form .fs-form-action:active {
    transform: scale(0.96);
    transition-duration: 0.06s;
}
.fs-form .fs-form-action-prev {
}
.fs-form .fs-form-action-prev:hover {
}
.fs-form .fs-form-action-prev{
}
.fs-form .fs-form-action-start{
    max-width: 240px;
    width: 100%;
    transition: transform 0.5s ease-in-out;
    animation: fs-form-action-breathing 3s infinite ease-in-out;
}
.fs-form .fs-form-action-next{
    min-width: 168px;
}
.fs-form .fs-form-action-save{}
.fs-form .fs-form-action-close{}
@keyframes fs-form-action-breathing {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/*typing writer*/
.fs-typing-title-container {
    position: relative;
    display: inline-block;
    white-space: normal;
    vertical-align: middle;
    max-width: 100%;
    word-wrap: break-word;
    word-break: break-all;
}
.fs-typing-text {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    word-wrap: break-word;
    word-break: break-all;
}
.fs-typing-cursor {
    display: inline-block;
    width: 2px;
    height: 24px;
    background-color: var(--share-font, #333);
    margin-left: 2px;
    vertical-align: middle;
    display: none;
    animation: fs-cursor-blink 1s step-end infinite;
}
@keyframes fs-cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.fs-typing-cursor.hidden {
    display: none;
}
.fs-typing-step-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    overflow: hidden;
    transition: all 0.8s ease;
}
.fs-typing-step-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.8s ease;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.el-message--info{
    --el-message-bg-color: var(--share-fg);
    --el-message-border-color: var(--share-bg);
    --el-message-text-color: var(--share-font);
}
/* Inline validation: card shake + error message */
@keyframes fs-shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-7px); }
    40%       { transform: translateX(7px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}
.fs-form.is-shaking {
    animation: fs-shake 0.48s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}
.fs-validation-error {
    font-size: 0.8rem;
    color: #f56c6c;
    text-align: center;
    padding-top: 6px;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    user-select: none;
    margin: 5px 0;
}
.fs-validation-error.visible {
    opacity: 1;
}
/* Confirm bounce: single elastic pop (overrides fx.css double-blink) */
@keyframes fs-items-flash {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.05); }
    65%  { transform: scale(0.97); }
    100% { transform: scale(1); }
}
.items-flash {
    animation: fs-items-flash 0.40s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* 即时答题反馈层 */
.field-answer-feedback {
    display: flex;
    text-align: left;
    align-items: flex-start;
    flex-direction: column;
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 10px;
    font-size: 0.92rem;
    line-height: 1.5;
    animation: fs-form-next-in 0.28s ease both;
}
.field-answer-correct {
    background: rgba(103, 194, 58, 0.12);
    border: 1px solid rgba(103, 194, 58, 0.4);
    color: #529b2e;
}
.field-answer-wrong {
    background: rgba(245, 108, 108, 0.10);
    border: 1px solid rgba(245, 108, 108, 0.35);
    color: #c45656;
}
.field-answer-icon {
    font-weight: 700;
}
.field-answer-label {
    font-weight: 600;
    flex-shrink: 0;
}
.field-answer-explanation {
    color: inherit;
    opacity: 0.85;
    text-align: left;
}

/* Page transition: card-only, background always stays (no white flash) */
@keyframes fs-form-next-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fs-form-prev-in {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fs-form.fs-form-enter-next {
    animation: fs-form-next-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.fs-form.fs-form-enter-prev {
    animation: fs-form-prev-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Final page: checkmark SVG stroke-draw animation */
.fs-final-check {
    display: flex;
    justify-content: center;
    padding: 12px 0 4px;
}
.fs-checkmark-svg {
    width: 56px;
    height: 56px;
}
.fs-checkmark-circle {
    fill: none;
    stroke: var(--share-panel);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-linecap: round;
    animation: fs-checkmark-stroke 0.65s cubic-bezier(0.65, 0, 0.45, 1) 0.15s forwards;
}
.fs-checkmark-check {
    fill: none;
    stroke: var(--share-panel);
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: fs-checkmark-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.65s forwards;
}
@keyframes fs-checkmark-stroke {
    100% { stroke-dashoffset: 0; }
}

/*Theme*/
.fs-layout{
    box-sizing: border-box;
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    padding: 20px;
}
.fs-layout .el-button{
    color: currentColor;
    font-weight: unset;
    font-size: unset;
}
/* Error Style*/
/* Status page card refinement */
.fs-layout-error{
    position: absolute;
}
.fs-layout-error .fs-form{
}
.fs-layout-error .el-result {
    padding: 20px;
}
.fs-layout-error .el-result .el-result__title p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--share-font);
}
/* Scene HTML Layer (融合背景场景) */
.fs-scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.fs-scene * {
    pointer-events: none;
    box-sizing: border-box;
}
/* Ensure form container supports scene layer */
.fs-form-container {
    position: relative;
}
.fs-form-container > .el-row {
    position: relative;
    z-index: 1;
}

/* Subject Style*/
.fs-layout-subject{
    padding: 20px;
}
/* Flat Style: true glassmorphism */
.fs-layout-flat .fs-form{
    text-align: left;
    backdrop-filter: blur(20px) saturate(175%);
    -webkit-backdrop-filter: blur(20px) saturate(175%);
    position: relative;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 0px;
}
.fs-layout-flat .fs-form .fs-form-head{
    border-bottom: 0px solid #f3f5f7;
    text-align: center;
    color: #4d1c00;
    align-content: center;
    box-sizing: border-box;
    padding: 20px;
}
.fs-layout-flat .fs-form .fs-form-body{
    transition: opacity 300ms ease-out;
    opacity: 1;
}
.fs-layout-flat .fs-form .fs-form-foot{
    padding: 20px;
    text-align: center;
}
/* Stack Style*/
.fs-layout-stack{
}
.fs-layout-stack .fs-form{
    text-align: center;
    border-radius: 20px !important;
}
.fs-layout-stack .fs-form .fs-form-head{
    border-bottom: 1px solid #f3f5f7;
    text-align: center;
    color: #4d1c00;
    min-height: 108px;
    align-content: center;
    background-color: var(--share-panel);
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: none;
    padding: 20px 10%;
    margin: 0px;
}
.fs-layout-stack .fs-form .fs-form-head .fs-form-head-title{
    padding-bottom: 20px !important;
}
.fs-layout-stack .fs-form .fs-form-body{
    min-height: 240px;
    position: relative;
    background-color: var(--share-fg) !important;
    color: var(--share-font);
    transition: opacity 300ms ease-out;
    opacity: 1;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    border-radius: 20px !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}
.fs-layout-stack .fs-form .fs-form-head + .fs-form-body{
    margin-top: -20px;
}
.fs-layout-stack .fs-form .fs-form-foot{
    padding: 20px !important;
    border-radius: 20px !important;
    background: white;
    margin-top: -20px;
    z-index: 10;
}
/* Stack: gradient overlay on header for layered depth */
.fs-layout-stack .fs-form .fs-form-head {
    position: relative;
    overflow: hidden;
}
.fs-layout-stack .fs-form .fs-form-head::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(255,255,255,0.13) 0%, rgba(0,0,0,0.07) 100%);
    pointer-events: none;
    z-index: 1;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.fs-layout-stack .fs-form .fs-form-head > * {
    position: relative;
    z-index: 2;
}

/* Cube Style*/
.fs-layout-cube{
}
.fs-layout-cube .fs-form{
    text-align: left;
    border-radius: 4px;
}
.fs-layout-cube .fs-form .fs-form-head{
    text-align: center;
    color: #4d1c00;
    align-content: center;
    box-sizing: border-box;
    padding: 28px;
    min-height: 80px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.fs-layout-cube .fs-form .fs-form-body{
    padding-bottom: 40px;
    opacity: 1;
    min-height: 140px;
    transition: opacity 300ms ease-out;
}
.fs-layout-cube .fs-form .fs-form-foot{
    display: flex;
    flex-direction: row;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px;
    padding: 4px 28px;
    text-align: center;
    overflow: hidden;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.fs-layout-cube .fs-form .fs-form-action-prev{
    width: 160px !important;
}
.fs-layout-cube .fs-form .fs-form-action-next{
    flex: none;
}
.fs-layout-cube .fs-form .fs-form-action:hover {
    transform: none;
    box-shadow: none;
}
.fs-layout-cube .fs-form .fs-form-action:active {
    transform: none;
    box-shadow: none;
}
/* Alignment for All Style*/
.fs-layout-align-left .fs-form-head,
.fs-layout-align-left .fs-form-body,
.fs-layout-align-left .fs-form-field-body,
.fs-layout-align-left .fs-form-field-description,
.fs-layout-align-left .el-input__inner,
.fs-layout-align-left .el-radio-group,
.fs-layout-align-left .fs-form-foot,
.fs-layout-align-left .fs-typing-step-visible,
.fs-layout-align-left .fs-form-head-title{
    text-align: left !important;
    align-items: start !important;
    justify-content: left !important;
}
.fs-layout-align-left * {
    text-align: left;
}

.fs-layout-align-center .fs-form-head,
.fs-layout-align-center .fs-form-body,
.fs-layout-align-center .fs-form-field-body,
.fs-layout-align-center .fs-form-field-description,
.fs-layout-align-center .el-input__inner,
.fs-layout-align-center .el-radio-group,
.fs-layout-align-center .fs-form-foot,
.fs-layout-align-center .fs-typing-step-visible,
.fs-layout-align-center .fs-form-head-title{
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
}
.fs-layout-align-center * {
    text-align: center;
}

.fs-layout-align-right .fs-form-head,
.fs-layout-align-right .fs-form-body,
.fs-layout-align-right .fs-form-field-body,
.fs-layout-align-right .fs-form-field-description,
.fs-layout-align-right .el-input__inner,
.fs-layout-align-right .el-radio-group,
.fs-layout-align-right .fs-form-foot,
.fs-layout-align-right .fs-typing-step-visible,
.fs-layout-align-right .fs-form-head-title{
    text-align: right !important;
    align-items: end !important;
    justify-content: right !important;
}
.fs-layout-align-right * {
    text-align: right;
}

/* Split Screen */
.fs-screen-background{
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute; top: 0; left: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}
.fs-screen-background:before {
    pointer-events: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    z-index: 1;
    opacity: 0;
    background: #fff;
}
.fs-screen-background img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fs-screen{
    white-space: break-spaces;
    overflow-wrap: break-word;
    word-break: break-word;
}
.fs-screen .fs-screen-top{
    height: 50%;
    min-height: 240px;
    overflow: auto;
    scrollbar-width: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--share-font);
    z-index: 1;
}
.fs-screen .fs-screen-top .fs-screen-content{
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    padding: 20px;
    box-sizing: border-box;
}
.fs-screen .fs-screen-bottom{
    height: 50%;
    min-height: 240px;
    background: var(--share-bg);
    display: grid;
    overflow-y: auto;
    scrollbar-width: none;
    box-sizing: border-box;
}
.fs-screen .fs-screen-left{
    height: 100%;
    overflow: auto;
    scrollbar-width: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--share-font);
    z-index: 1;
}
.fs-screen .fs-screen-left .fs-screen-content{
    width: 100%;
    padding: 40px;
    max-height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: none;
}
:root[style*="--share-bgImage:"] .fs-screen .fs-screen-content{
    border: none;
}
.fs-screen .fs-screen-right{
    height: 100%;
    box-sizing: border-box;
    background: var(--share-bg);
    display: grid;
    overflow-y: auto;
    scrollbar-width: none;
}
.fs-screen .fs-layout-flat{
}
.fs-screen .fs-form{
    padding: 0px !important;
    margin: auto !important;
    backdrop-filter: none;
    background-size: auto;
    background: none;
}
.fs-screen .fs-form .el-scrollbar__wrap{
    align-items: center;
    justify-content: center;
    display: flex;
}

.fs-mydata{
    position: absolute;
    right: 0px;
    top: 20px;
    z-index: 10;
}
.fs-mydata .el-button{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
@media screen and (min-width: 768px){
    .fs-form-container{
        padding: 0px !important;
    }
}

@media screen and (max-width: 768px){
    .fs-form-container{
        padding: 0px !important;
    }
    .fs-form{
        min-height: 100%;
    }
    .fs-form .fs-form-head{
    }
    .fs-form .fs-form-body{
        height: 100%;
        justify-content: start;
        padding-bottom: 80px !important;
    }
    .fs-form .el-form-item{
        width: 100%;
    }
    .fs-form .el-radio-group, .fs-form .el-radio, .fs-form .el-checkbox-group, .fs-form .el-checkbox{
        width: 100%;
    }
    .brand-block{
        right: 0px;
        bottom: 0px;
    }
}
@media screen and (max-width: 485px){
    .fs-form-container{
        padding: 0px !important;
    }
    .fs-layout{
        padding: 0px;
    }
    .fs-layout-stack .fs-form, .fs-layout-cube .fs-form, .fs-layout-flat .fs-form{
        border-radius: 0px !important;
    }
    .fs-form{
        padding: 0px;
        min-height: 100%;
        overflow: hidden;
    }
    .fs-form .fs-form-head{
        border-radius: 0px !important;
    }
    .fs-form .fs-form-head::before{
        background: none !important;
    }
    .fs-form .fs-form-body{
        justify-content: start;
        padding-bottom: 60px !important;
    }
    .fs-form .fs-form-foot{
        border-radius: 0px !important;
        display: flex;
        flex-direction: row;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0px !important;
    }
    .fs-form .fs-form-action{
        max-width: 100% !important;
        border-radius: 0;
    }
    .fs-form .fs-form-action-next{
        border-left: 0 !important;
        width: 100% !important;
        margin: 0;
    }
    .fs-form .el-radio-group, .fs-form .el-radio, .fs-form .el-checkbox-group, .fs-form .el-checkbox{
        width: 100%;
    }
    .brand-block{
        right: 0px;
        bottom: 45px;
    }
}

