@import url('../css/page-profile-icon.css'); /* icon 圖式 */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.profile-language-created-notice {
	margin: -8px 0 20px;
}

.profile-language-switch {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    flex: 0 0 auto;
}

.profile-language-switch .view-mode-switch {
    display: flex;
    align-items: center;
    width: max-content;
    padding: 3px;
    gap: 3px;
    border: 1px solid #6D01BE;
    border-radius: 50px;
    background: transparent;
}

.profile-language-switch .view-mode-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 5px 10px;
    border-radius: 50px;
    color: #6D01BE;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
    transition: 0.3s all ease-in-out;
    user-select: none;
    text-decoration: none;
}

.profile-language-switch a.view-mode-label:hover {
    color: #6D01BE;
}

.profile-language-switch .view-mode-label.active {
    color: #fff;
    background: #6D01BE;
    cursor: default;
    pointer-events: none;
}

.profile-display-headline {
    align-items: center !important;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.profile-headline-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.profile-headline-actions .help-icon {
    top: 0;
}

.profile-language-create {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #6D01BE;
    border-radius: 999px;
    background: #fff;
    color: #6D01BE;
    font-size: 13px;
    font-weight: 800;
}

.profile-language-create:hover {
    background: #6D01BE;
    color: #fff;
}

.profile-language-create:disabled,
.profile-language-create:disabled:hover,
.profile-wallet-entry .button:disabled,
.profile-wallet-entry .button:disabled:hover {
    border-color: #999;
    background: #ccc;
    box-shadow: none;
    color: #666;
    cursor: not-allowed;
}

.profile-wallet-entry {
    margin-top: 45px;
}

.profile-wallet-description {
    margin: 8px 0 0;
    color: #696a6f;
    font-size: 14px;
    line-height: 1.55;
}

.profile-wallet-entry-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-wallet-desktop-options {
    display: none;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-wallet-desktop-options.is-visible {
    display: flex;
}

.profile-wallet-qr {
    display: none;
    align-items: center;
    gap: 12px;
}

.profile-wallet-entry .profile-wallet-qr-start {
    display: none !important;
    min-width: 148px;
}

.profile-wallet-entry .profile-wallet-qr-start.is-visible {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.profile-wallet-qr-code {
    display: flex;
    width: 290px;
    height: 290px;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
    flex: 0 0 auto;
}

.profile-wallet-qr-code canvas {
    display: block;
    width: 256px;
    height: 256px;
}

.profile-wallet-qr-copy {
    max-width: 190px;
    color: #696a6f;
    font-size: 13px;
    line-height: 1.5;
}

.profile-wallet-qr-timer {
    display: block;
    margin-top: 2px;
    color: #6d01be;
    font-weight: 700;
}

.profile-wallet-entry .profile-wallet-button {
    display: none !important;
    min-width: 178px;
}

.profile-wallet-entry .profile-wallet-button.is-visible {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.profile-wallet-qr.is-visible {
    display: flex;
}

@media (max-width: 768px) {
    .profile-wallet-entry-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .profile-wallet-qr {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .profile-headline-actions {
        gap: 10px;
    }
}

/*名片新版*/
	
.user-cardbox {
    width:526px;
    height: 331px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    margin-top: 30px;
}
.user-cardbox #captureCard {
    width: 1052px;
    height: 662px;
    transform-origin: top left;
    transform: scale(0.5);
}
.user-cardbox.straight {
    width:331px;
    height: 526px ;   
}
.user-cardbox.straight #captureCard {
    width:662px;
    height: 1052px ;   
}
.card-style {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 45px;
    position: relative;
}
.card-style .codebox {
    width: 100%;
    display: flex;  
    flex-direction: row; 
    align-items: center;
    justify-content: start;
    padding: 0;
}
.card-style .user-logo {
    width: 120px;
    min-width: 120px;
    height: 120px;
    margin-right: 40px;
}
.social-text {
    width: 100%;
    display: flex;
    align-items: end;
    justify-content: space-between;
}
.social-text  ul {
    margin-bottom: 0;
    padding: 0;
}
.card-style .title-box {
    display: flex;
    flex-direction: column;
    align-items: start;
}
.card-style .title-box h3 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 600;
}
.card-style .title-box h4 {
    font-size:24px;
    line-height: 1.2;
    color: #696A6F;
    margin-top: 13px;
    font-weight: normal;
}
.card-style .social-text ul li {
    font-size: 24px;
    line-height: 140%;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: start;
    background-size: contain;
    margin-bottom: 10px;
    word-break: break-all;
}

.card-style .qrcodeimg {
    width: 200px;
    min-width: 200px;
    height: 200px;
	display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}
.card-style .qrcodeimg  .qrcode {
    width: 156px;
    height: 156px;
}
.card-style.card-style1 .social-text {
    --profile-card-qr-size: 200px;
    --profile-card-side-gap: 45px;
    gap: var(--profile-card-side-gap);
}
.card-style.card-style1 .social-text > ul,
.card-style.card-style1 .social-text > div:not(.qrcodeimg) {
    flex: 0 1 calc(100% - var(--profile-card-qr-size) - var(--profile-card-side-gap));
    max-width: calc(100% - var(--profile-card-qr-size) - var(--profile-card-side-gap));
}
.card-style.card-style1 .social-text ul {
    padding-right: 0;
}
.card-style.card-style1 .qrcodeimg {
    flex: 0 0 var(--profile-card-qr-size);
    margin-left: 0;
}
.card-style .notice-pic {
    position: absolute;
    right: 72px;
    bottom: 20px;
}
.card-style  .user-image {
    width: 240px;
    height: 240px;
}
.card-style.card-style2  .user-image {
    position: absolute;
    top: 45px;
    right: 45px;
}
.card-style.card-style2 .user-logo {
    margin-left: 15px;
}
/* .card-style.card-style2 .title-box {   
    align-items: start;
} */
.card-style.card-style3 .qrcodeimg {
    transform: scale(0.85);
}
.card-style.card-style3 .qrcode-box p {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0px;
    letter-spacing: 3px;
    /* padding-right: 18px; */
    color: #fff;
    position: absolute;
    bottom: 205px;
    max-width: 175px;
    right: 40px;
    line-height: 20px;
    text-align: center;
}
.card-style.card-style3 .qrcode-box {
    display: flex;
    flex-direction: column;
    align-items: end;
    position: relative;
    padding-right: 20px;
    padding-top: 30px;
    position: relative;    
}
.card-style.card-style3 .qrcode-box::before {
    content: "";
    width: 228px;
    height: 322px;
    background: #000;
    position: absolute;
    top: -45px;
    right: 12px;
    z-index: -1;
    border-radius: 0  0 16px 16px;
}
.card-style.card-style3 .qrcode-box .qrcodeimg {
    border: none;
    background: #fff;
    margin-top: 20px;
}
.card-style.card-style3 .codebox  {
    align-items: start;
    flex-direction: column;
}
.card-style.card-style3 .title-box {
    margin-top: 80px;
}
.card-style.card-style3 .qrcode-box .notice-pic {
    position: absolute;
    bottom: -70px;
    right: 0;
    font-size: 15px;
    color: red;
}
.card-style.card-style3 .businesscard-social-copyright {
    display: none;
}
.card-style.card-style3 .social-text {
    margin-top: 80px;
}
.qrcode canvas, .qrcode-tool canvas {
    width: 100%;
    height: 100%;
}

.card-link-change .showitem {
    display: flex;
    align-items: center;
}

.card-link-change ul li .showitem i {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.social-text ul li i, .showitem i {
    width: 32px;
    min-width: 32px;
    height: 32px;  
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJuSURBVHgB7ZZPctowFMY/25DOtFnQRdOyc05QeoNwA3qCcAPIsgkZnEnzZ0lO0PQETU8QjsAN4q5I6XRKF00zZWz1vdgyQsiOHcgqfBsJ/ft9vCdZAlZ66rKwJHm4qjh4vmXDqoQQYyr9PWwM7pu3sAEGP8N6KwTagKho3YMJgvceqj4ew8AJhm4I55KqbtY4gjR3sfE5pW9ZcOFTFBgyiBduWLC25fgQQX0f1b6+TglLgXOob+oeNsfKsItDfPdpL3T5hwOHy76+VuEImOF/dHiiY4wuBbDFdYGy28HLb2q/jYIKYDXywiMoktyHmNT1/sIGOnjTo2N2oMNP8bPlUXT08ZR7P2u9XAY47KcYteTvfbz2VPgJfnQDBL0ypUY3YaFUm9bnzdxrQOY8AHoMku0qnCLixc3uWpSiZK4FkRgPcDsoZEDfcARqzPbPwLn/YJdSFBm8oi+i82U6Nzwz7RU7LxxxzrPgnBoJL+MFz43DL/wAfz0Tx2ggdp961IrCJwhTT4rRwBrWuw+Bs8zw9LtgzoCHXxUB0Z4uwJdJBP+I63YWPG77mhduNODgNjk2ZORMXcCBuKDC1+EcdjmG2wSsnTxwowEbjqsYmDk2H2hBmy4VgXBHz7l6RDt41csDZ2VeRkIxo5qgoqfCqVqjiNSOcf1bHsO8MkQg6CvuttMmmnb7vyhFhTRngP+hFV+bfIupoc2C5825LuN1fIghve3uvgNS53J3l2C/pXoTykPkofBUA6wjDJu07z8hU4vBWamf4j1Uz2k/bIr4iaVpzMeQXkHvFoGzcr2IjjDiXe7KJ3eAm37WI2SllYroP72CWULdSDthAAAAAElFTkSuQmCC) center center no-repeat;  
    background-size: contain !important;
    margin-right: 15px;
}

.user-card-style, .user-sign-style {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.user-card-style > div, .user-sign-style > div {
    flex-grow: 1;
    display: flex;
}
/* .user-card-style span, .user-sign-style span {
    padding: 10px 20px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    cursor: pointer;
    border-radius: 5px;
    margin-right:15px;
}
.user-card-style span.active, .user-sign-style span.active  {
    background: #6D01BE;
    color: white;
    border-color: #6D01BE;
} */
.user-card-style .radio, .user-sign-style .radio {
    margin-right: 15px;
    min-height: 45px;
    display: flex;
    align-items: center;
 }
.user-sign-tit p img {
    width: 24px;
    margin-right: 3px;
}
.user-card-style .button, .user-sign-style .button {
    padding: 5px 15px;
    margin: 0 8px;
    min-width: 120px;
    text-align: center;
    flex-grow: 1;
}

.user-card-style .button.light, .user-sign-style .button.light, .layout-photohow .button.light {    
    color: #6D01BE;
    background: transparent;
    border: 1px solid #6D01BE;
}
.user-card-style .cardlink-set,
.user-sign-style .signlink-set,
.user-sign-style .copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    line-height: 1.25;
    text-align: center;
}
.layout-photohow .photo-btn {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    /* margin: -7px; */
}
.layout-photohow .photo-btn > div {
    width: 100%;
}
.layout-photohow .photo-btn .button {   
    text-align: center;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.profile-card-control-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
}
.profile-card-control-head h5 {
    margin-bottom: 8px;
}
.profile-card-control-head .profile-card-toggle {
    margin-left: auto;
}
.card-shape-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    margin: 0 0 8px auto;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
}
.card-shape-toggle label {
    margin: 0;
    cursor: pointer;
}
.card-shape-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.card-shape-toggle span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}
.card-shape-toggle input:checked + span {
    background: rgba(109, 1, 190, .1);
    color: #6D01BE;
}
.card-logo-upload-panel .card-logo-slot {
    display: flex;
    align-items: center;
    width: 100%;
}
.card-logo-upload-panel .usercard-logo-field {
    width: 100%;
    margin: 0;
}
.cv-form .public-info .card-logo-upload-panel .avatar-wrapper.usercard-logo {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    height: auto;
}
.card-logo-upload-panel .avatar-wrapper.usercard-logo img {
    display: none;
}
.card-logo-upload-panel .avatar-wrapper.usercard-logo .upload-button,
.card-logo-upload-panel .usercard-logo .button.logo-del {
    position: static;
    width: auto;
    flex: 0 0 calc(50% - 14px);
    min-width: 0;
    height: 44px;
    margin: 7px;
    padding: 5px 15px;
    opacity: 1;
    border-radius: 4px;
}
.card-logo-upload-panel .avatar-wrapper.usercard-logo .upload-button {
    margin-top: 7px;
}
.card-logo-upload-panel .usercard-logo .button.logo-del {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #6D01BE;
    background: #fff;
    color: #6D01BE;
    white-space: nowrap;
}
.card-logo-upload-panel .avatar-wrapper.usercard-logo .upload-button {
    white-space: nowrap;
}
.card-logo-upload-panel .usercard-logo .button.logo-del > i {
    top: 0;
    margin-left: 0;
}
.card-logo-upload-panel .avatar-wrapper.usercard-logo .upload-button {
    flex: 0 0 calc(50% - 14px);
}
.card-logo-upload-panel .pointword {
    margin-top: 10px;
}
.layout-photohow [data-layoutstyle="socialstyle"],
.card-logo-upload-panel > .profile-card-control-head {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}
.profile-card-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 8px;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.profile-card-toggle input {
    width: 16px;
    height: 16px;
    margin: 0;
}
.btn-item {
    display: inline-flex;
    flex-wrap: wrap;
    width: 100%;
}
.btn-item > a, .btn-item > div, .btn-item > button {
    margin: 7px;
    flex: 0 0 calc(50% - 14px);
    min-width: 0;
}
.btn-item > div .button, .btn-item > button {
    width: 100%;
}
.btn-item > a.button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.btn-item .card-avatar-control {
    flex: 0 0 calc(50% - 14px);
    min-width: 0;
}
.btn-item .ai-photo-open {
    flex: 0 0 calc(100% - 14px);
}
.profile-photo-actions .card-avatar-control {
    flex: 0 0 calc(50% - 14px);
}
.profile-photo-actions .ai-photo-open {
    flex: 0 0 calc(100% - 14px);
}
.profile-photo-actions .profile-photo-secondary {
    color: #625c67;
    background: #f8f8f9;
}
.profile-photo-help {
    margin: 2px 7px 0;
    color: #766f7a;
    font-size: 12px;
    line-height: 1.45;
}
.profile-photo-unsaved-note {
    margin: 2px 7px 0;
    color: #6d01be;
    font-size: 12px;
    line-height: 1.45;
}
.ai-photo-dialog {
    width: calc(100vw - 32px) !important;
    max-width: 620px !important;
    padding: 0;
}
.ai-photo-controls.is-disabled {
    opacity: .62;
}
.ai-photo-dialog .sign-in-form,
.ai-photo-dialog .popup-tab-content {
    width: auto;
}
.ai-photo-dialog .popup-tab-content {
    padding: 22px;
}
.ai-profile-photo-panel {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}
.ai-photo-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
.ai-photo-intro-copy {
    min-width: 0;
}
.ai-photo-intro strong {
    display: block;
    color: #26202b;
    font-size: 15px;
}
.ai-photo-intro p {
    margin: 4px 0 0;
    color: #6b6570;
    font-size: 13px;
    line-height: 1.5;
}
.ai-photo-transform-example {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
}
.ai-photo-transform-example > div {
    display: flex;
    width: 64px;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.ai-photo-transform-example > i {
    color: #8f62ad;
    font-size: 16px;
}
.ai-photo-transform-image {
    display: block;
    width: 58px;
    height: 58px;
    border: 1px solid #e2dce6;
    border-radius: 8px;
    background-image: url("/static/site/images/ai-photo/transformation-example.webp?v=20260727b");
    background-repeat: no-repeat;
    background-size: 200% 100%;
    box-shadow: 0 2px 6px rgba(57, 38, 68, .08);
}
.ai-photo-transform-image.is-input {
    background-position: left center;
}
.ai-photo-transform-image.is-output {
    background-position: right center;
}
.ai-photo-transform-image.is-male {
    background-image: url("/static/site/images/ai-photo/transformation-example-male.webp?v=20260727b");
}
.ai-photo-transform-example small {
    width: 100%;
    color: #766f7a;
    font-size: 9px;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
}
.ai-photo-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}
.ai-photo-source-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    grid-column: 1 / -1;
}
.ai-photo-source {
    display: none !important;
}
.ai-photo-upload {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 8px 14px;
    border: 1.5px solid #9850c7;
    border-radius: 999px;
    background: #f8efff;
    box-shadow: 0 2px 7px rgba(109, 1, 190, .08);
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ai-photo-upload:hover {
    border-color: #6d01be;
    background: #f1e1ff;
    box-shadow: 0 4px 12px rgba(109, 1, 190, .14);
    transform: translateY(-1px);
}
.ai-photo-upload i {
    flex: 0 0 auto;
    color: #6d01be;
    font-size: 17px;
}
.ai-photo-upload strong {
    flex: 0 0 auto;
    margin: 0;
    color: #5d168e;
    font-size: 13px;
    font-weight: 800;
}
.ai-photo-upload span {
    display: inline-flex;
    min-width: 0;
    max-width: 130px;
    color: #66566f;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ai-photo-file-action {
    flex: 1 1 260px;
    justify-content: center;
}
.ai-photo-camera-action {
    display: none;
}
.ai-photo-source-name {
    cursor: pointer;
}
.ai-photo-source-preview {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    grid-column: 1 / -1;
    padding: 10px;
    border: 1px solid #e2e4e9;
    border-radius: 10px;
    background: #fafafa;
}
.ai-photo-source-preview img {
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 8px;
    object-fit: cover;
}
.ai-photo-source-preview-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}
.ai-photo-source-preview strong {
    color: #312b35;
    font-size: 13px;
}
.ai-photo-source-dimensions {
    color: #766f7a;
    font-size: 12px;
}
.ai-photo-style-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.ai-photo-field-legend {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}
.ai-photo-style-toolbar {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 8px;
}
.ai-photo-style-toolbar > strong {
    flex: 0 1 auto;
    color: #5f5664;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
}
.ai-photo-example-person-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin: 0;
}
.ai-photo-example-person-row > span {
    color: #766f7a;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}
.ai-photo-example-person {
    display: inline-flex;
    padding: 2px;
    border: 1px solid #ded5e5;
    border-radius: 999px;
    background: #f2edf5;
}
.ai-photo-example-person button {
    min-width: 42px;
    min-height: 28px;
    padding: 4px 7px;
    border: 0;
    border-radius: 999px;
    color: #675d6d;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.ai-photo-example-person button.is-active {
    color: #fff;
    background: #6d01be;
    box-shadow: 0 2px 5px rgba(109, 1, 190, .2);
}
.ai-photo-example-person button:focus-visible {
    outline: 3px solid rgba(109, 1, 190, .2);
    outline-offset: 2px;
}
.ai-photo-style-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.ai-photo-style-options label {
    position: relative;
    min-width: 0;
    margin: 0;
    cursor: pointer;
}
.ai-photo-style {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
}
.ai-photo-style-card {
    display: flex;
    min-width: 0;
    height: 100%;
    padding: 4px 4px 7px;
    flex-direction: column;
    gap: 2px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 0 1px #dde1e7;
    box-sizing: border-box;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ai-photo-style-options label:hover .ai-photo-style-card {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(77, 35, 104, .11);
}
.ai-photo-style:focus-visible + .ai-photo-style-card {
    outline: 3px solid rgba(109, 1, 190, .2);
    outline-offset: 2px;
}
.ai-photo-style:checked + .ai-photo-style-card {
    border-color: #6d01be;
    box-shadow: 0 0 0 1px #6d01be;
}
.ai-photo-style-example {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 3px;
    border-radius: 6px;
    background-image: url("/static/site/images/ai-photo/style-examples.webp");
    background-repeat: no-repeat;
    background-size: 300% 100%;
}
.ai-photo-style-example.is-male {
    background-image: url("/static/site/images/ai-photo/style-examples-male-v2.webp?v=20260803b");
}
.ai-photo-style-example.is-formal {
    background-position: left center;
}
.ai-photo-style-example.is-smart-casual {
    background-position: center center;
}
.ai-photo-style-example.is-casual-professional {
    background-position: right center;
}
.ai-photo-style-card strong,
.ai-photo-style-card small {
    display: block;
    min-width: 0;
    padding: 0 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ai-photo-style-card strong {
    color: #312b35;
    font-size: 12px;
    line-height: 1.3;
}
.ai-photo-style-card small {
    color: #766f7a;
    font-size: 10px;
    line-height: 1.3;
}
.ai-photo-style-field:disabled {
    opacity: .58;
}
.ai-photo-style-field:disabled label {
    cursor: not-allowed;
}
.ai-photo-style-note {
    margin: 8px 2px 0;
    color: #766f7a;
    font-size: 11px;
    line-height: 1.4;
}
.ai-photo-advanced {
    min-width: 0;
    grid-column: 1 / -1;
    padding: 10px;
    border: 1px solid #e2e4e9;
    border-radius: 8px;
    background: #fafafa;
    color: #625c67;
    font-size: 12px;
}
.ai-photo-dialog .ai-photo-generate {
    display: inline-flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 220px !important;
    max-width: 100%;
    min-width: 0;
    height: 44px !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 9px 18px;
    box-sizing: border-box;
    box-shadow: none !important;
}
.ai-photo-privacy-note {
    margin-top: 10px;
    color: #625c67;
    font-size: 12px;
    line-height: 1.5;
}
.ai-photo-privacy-note summary {
    display: inline-flex;
    align-items: center;
    color: #766f7a;
    cursor: pointer;
    text-decoration: underline;
}
.ai-photo-privacy-note p {
    margin: 6px 0 0;
    padding: 9px 10px;
    border-radius: 6px;
    background: #f7f7f8;
}
.ai-photo-privacy-note a {
    margin-left: 3px;
    color: #6d01be;
    text-decoration: underline;
}
.ai-photo-meta-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-height: 28px;
    margin-top: 6px;
}
.ai-photo-status {
    min-height: 20px;
    margin-top: 10px;
    color: #625c67;
    font-size: 13px;
}
.ai-photo-status.is-error {
    color: #c62828;
    font-weight: 700;
}
.ai-photo-progress {
    margin-top: 8px;
    padding: 11px 12px;
    border: 1px solid #e3d5ee;
    border-radius: 9px;
    background: #fbf8fd;
}
.ai-photo-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #43394a;
    font-size: 12px;
}
.ai-photo-progress-head strong {
    font-size: 13px;
}
.ai-photo-progress-time {
    color: #766f7a;
    font-variant-numeric: tabular-nums;
}
.ai-photo-progress-track {
    position: relative;
    height: 6px;
    margin: 8px 0 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9e1ee;
}
.ai-photo-progress-track span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 42%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8a2bd0, #d08cff);
    animation: ai-photo-progress-slide 1.35s ease-in-out infinite;
}
.ai-photo-progress-stage {
    color: #6b6570;
    font-size: 12px;
}
.ai-photo-generate.is-loading {
    cursor: wait;
}
@keyframes ai-photo-progress-slide {
    from { transform: translateX(-110%); }
    to { transform: translateX(350%); }
}
@media (prefers-reduced-motion: reduce) {
    .ai-photo-progress-track span {
        width: 70%;
        animation: none;
        transform: none;
    }
}
.ai-photo-clear-history {
    flex: 0 0 auto;
    padding: 4px 0;
    border: 0;
    color: #766f7a;
    background: transparent;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}
.ai-photo-clear-history:hover {
    color: #b42318;
}
.ai-photo-result {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #dfd3e8;
    border-radius: 8px;
    background: #fbf8fd;
}
.ai-photo-result img {
    display: block;
    width: min(220px, 100%);
    aspect-ratio: 1;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: cover;
}
.ai-photo-dialog .ai-photo-result .button {
    width: 184px !important;
    max-width: 100%;
    min-width: 0;
    height: 44px !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 9px 18px;
    box-sizing: border-box;
    box-shadow: none !important;
}
.ai-photo-result-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.ai-photo-result .ai-photo-feedback-trigger {
    align-self: center;
    margin: 0;
}
.ai-photo-history {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}
.ai-photo-history-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #312b35;
    cursor: pointer;
}
.ai-photo-history-head > span {
    color: #766f7a;
    font-size: 12px;
}
.ai-photo-history-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.ai-photo-history-toggle .when-open {
    display: none;
}
.ai-photo-history-toggle i {
    transition: transform .18s ease;
}
.ai-photo-history[open] .ai-photo-history-toggle .when-closed {
    display: none;
}
.ai-photo-history[open] .ai-photo-history-toggle .when-open {
    display: inline;
}
.ai-photo-history[open] .ai-photo-history-toggle i {
    transform: rotate(180deg);
}
.ai-photo-history:not([open]) .ai-photo-history-head {
    margin-bottom: 0;
}
.ai-photo-history-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.ai-photo-history-item {
    min-width: 0;
    margin: 0;
    padding: 0 0 8px;
    overflow: hidden;
    border: 1px solid #e2e4e9;
    border-radius: 8px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}
.ai-photo-history-item:hover,
.ai-photo-history-item.is-active {
    border-color: #8a2bd0;
    box-shadow: 0 0 0 2px rgba(109, 1, 190, .08);
}
.ai-photo-history-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 7px;
    object-fit: cover;
}
.ai-photo-history-item span,
.ai-photo-history-item small {
    display: block;
    padding: 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ai-photo-history-item span {
    color: #312b35;
    font-size: 12px;
    font-weight: 700;
}
.ai-photo-history-item small {
    margin-top: 2px;
    color: #847e88;
    font-size: 11px;
}
#cropper-modal.dialog.cropper {
    width: calc(100vw - 32px) !important;
    max-width: 440px !important;
}
#cropper-modal .popup-tab-content {
    width: 100%;
    max-width: none;
    padding: 24px;
    align-items: center;
}
#cropper-modal .modal-body {
    width: min(360px, 100%) !important;
    max-width: 360px !important;
    margin: 0 auto;
}
#cropper-modal .img-container {
    display: flex;
    width: 100%;
    justify-content: center;
}
#cropper-modal .modal-button {
    width: min(360px, 100%);
    justify-content: center;
    gap: 10px;
    margin: 18px auto 0;
}
#cropper-modal .modal-button .button {
    min-width: 56px;
    margin: 0 !important;
}
@media (max-width: 560px) {
    .ai-photo-dialog .popup-tab-content {
        padding: 16px;
    }
    .ai-photo-intro {
        gap: 10px;
    }
    .ai-photo-intro-copy strong {
        font-size: 14px;
    }
    .ai-photo-intro-copy p {
        font-size: 11px;
        line-height: 1.4;
    }
    .ai-photo-transform-example {
        gap: 4px;
    }
    .ai-photo-transform-example > div {
        width: 50px;
    }
    .ai-photo-transform-image {
        width: 46px;
        height: 46px;
    }
    .ai-photo-transform-example small {
        font-size: 8px;
    }
    .ai-photo-controls {
        grid-template-columns: minmax(0, 1fr);
    }
    .ai-photo-source-actions {
        grid-column: auto;
    }
    .ai-photo-source-preview {
        grid-column: auto;
    }
    .ai-photo-camera-action {
        display: inline-flex;
    }
    .ai-photo-camera-action,
    .ai-photo-file-action {
        flex: 1 1 100%;
        justify-content: center;
    }
    .ai-photo-history-head {
        align-items: center;
        flex-direction: row;
        gap: 8px;
    }
    .ai-photo-history-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #cropper-modal .popup-tab-content {
        padding: 16px;
    }
}
/* .cv-form .avatar-wrapper.usercard-logo {
    width: 80px;
    height: 80px;
} */

.pick-box[data-name="pick-cover"] .pick-picture {
    width: 48%;
}

/*版型樣式*/
.layout-stylepick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.layout-card-picker {
    display: block;
    width: 100%;
    --profile-picker-accent: #7c3aed;
}
.user-tagline {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.layout-picker-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 34px;
    margin-bottom: 4px;
}
.layout-picker-head h5 {
    margin: 0;
    min-width: 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}
.layout-picker-section {
    margin-top: 12px;
}
.layout-picker-section > strong {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}
.layout-section-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}
.layout-section-title > strong {
    flex: 0 0 auto;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}
.traditional-accent-section {
    display: flex;
    align-items: center;
    gap: 12px;
}
.traditional-accent-section > strong {
    flex: 0 0 auto;
    margin-bottom: 0;
}
.traditional-accent-section .profile-accent-grid {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 6px;
}
.traditional-accent-section .profile-accent-grid label {
    width: 28px;
    height: 28px;
}
.traditional-accent-section .profile-accent-grid span {
    width: 22px;
    height: 22px;
}
.layout-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.layout-option {
    display: block;
    margin: 0;
}
.layout-option-with-demo {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.layout-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.layout-option-card {
    position: relative;
    display: flex;
    min-height: 84px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 10px 9px 10px 76px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.layout-option-demo-link {
    display: inline-flex;
    align-self: flex-end;
    align-items: center;
    gap: 2px;
    margin-top: 6px;
    padding: 2px 6px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #4b5563;
    background: rgba(255, 255, 255, .92);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}
.layout-option-demo-link:hover {
    border-color: #6D01BE;
    color: #6D01BE;
    background: #fff;
}
.layout-option-demo-link i {
    font-size: 13px;
    line-height: 1;
}
.layout-option-card::before,
.layout-option-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
    display: none;
}
.layout-option input:checked + .layout-option-card {
    border-color: #6D01BE;
    box-shadow: 0 10px 24px rgba(109, 1, 190, .14);
    transform: translateY(-1px);
}
.layout-option-card b,
.layout-option-card small {
    position: relative;
    z-index: 1;
    display: block;
}
.layout-option-card b {
    font-size: 13px;
    line-height: 1.35;
}
.layout-option-card small {
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
}
.traditional-preview.recruit {
    --traditional-color: var(--profile-picker-accent, #7c3aed);
}
.traditional-preview.business {
    --traditional-color: var(--profile-picker-accent, #0369a1);
}
.traditional-preview.business b {
    color: #111827;
}
.traditional-preview.service {
    --traditional-color: var(--profile-picker-accent, #22c55e);
}
.traditional-preview.service::before {
    border-radius: 50%;
}
.traditional-preview.minimal {
    --traditional-color: var(--profile-picker-accent, #f59e0b);
}
.layout-card-thumb {
    position: absolute;
    left: 10px;
    top: 10px;
    display: block;
    overflow: hidden;
    width: 52px;
    height: 64px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 18px rgba(15, 23, 42, .08);
}
.layout-card-thumb i,
.layout-card-thumb em {
    position: absolute;
    display: block;
    font-style: normal;
}
.digital-business-thumb {
    background: linear-gradient(90deg, #f3f4f6 0 36%, #fff 36%);
}
.digital-business-thumb i:first-child {
    left: 6px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #d8b4fe;
}
.digital-business-thumb i:nth-child(2) {
    left: 25px;
    top: 11px;
    width: 20px;
    height: 4px;
    border-radius: 999px;
    background: #c4b5fd;
}
.digital-business-thumb i:nth-child(3) {
    left: 25px;
    top: 21px;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: #e5e7eb;
    box-shadow: 0 9px 0 #e5e7eb, 0 18px 0 #e5e7eb;
}
.digital-social-thumb::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 24px;
    background: #e5e7eb;
}
.digital-social-thumb i:first-child {
    left: 7px;
    top: 17px;
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #d8b4fe;
}
.digital-social-thumb i:nth-child(2) {
    left: 8px;
    bottom: 13px;
    width: 32px;
    height: 4px;
    border-radius: 999px;
    background: #c4b5fd;
}
.digital-social-thumb i:nth-child(3) {
    left: 8px;
    bottom: 6px;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: #e5e7eb;
}
.card-thumb {
    height: 64px;
    aspect-ratio: 9 / 16;
    border-radius: 11px;
    --accent: var(--traditional-color, #7c3aed);
}
.card-thumb::before,
.card-thumb::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.card-thumb.recruit {
    background: linear-gradient(180deg, #fff 0%, #fff 68%, #f8fafc 68%, #f8fafc 100%);
}
.card-thumb.recruit::before {
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
}
.card-thumb.business {
    background: linear-gradient(180deg, #fff 0%, #fff 68%, #f8fafc 68%, #f8fafc 100%);
}
.card-thumb.business::before {
    top: 0;
    left: 0;
    right: 0;
    height: 22px;
    background: var(--accent);
}
.card-thumb.service {
    background: linear-gradient(180deg, #fff 0%, #fff 68%, #f8fafc 68%, #f8fafc 100%);
}
.card-thumb.service::before {
    top: 22px;
    left: 7px;
    right: 7px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), rgba(148, 163, 184, .22));
}
.card-thumb.minimal {
    background: #fffdf8;
}
.card-thumb.minimal::before {
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent);
}
.card-thumb i:first-child {
    left: 8px;
    top: 25px;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #e2e8f0;
    box-shadow: 0 5px 12px rgba(15, 23, 42, .14);
}
.card-thumb.business i:first-child {
    top: 28px;
}
.card-thumb.service i:first-child {
    border-radius: 8px;
}
.card-thumb i:nth-child(2) {
    left: 29px;
    top: 28px;
    width: 16px;
    height: 4px;
    border-radius: 999px;
    background: #111827;
}
.card-thumb i:nth-child(3) {
    left: 29px;
    top: 36px;
    width: 14px;
    height: 3px;
    border-radius: 999px;
    background: #94a3b8;
}
.card-thumb em {
    right: 6px;
    bottom: 6px;
    width: 13px;
    height: 13px;
    border-radius: 3px;
    background:
        linear-gradient(90deg, #111827 2px, transparent 2px 5px, #111827 5px 8px, transparent 8px),
        linear-gradient(#111827 2px, transparent 2px 5px, #111827 5px 8px, transparent 8px);
    opacity: .24;
}
.profile-field-group-title {
    margin: 2px 0 16px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
}
.profile-field-group-title strong {
    display: block;
    color: #111827;
    font-size: 14px;
}
.profile-field-group-title span,
.card-field-hidden-note {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}
.card-field-hidden-note {
    margin: 0 0 18px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
}
.layout-stylepick > h5, .layout-stylepick > div > .radio {
    padding-right: 16px;
}
.layout-stylepick > div > .radio label {
    margin: 8px 0;
}
.layout-styleshow {
    height:max-content;
    width: 100%; 
    margin: 16px 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.layout-styleshow .show-style {
    max-width: 350px;
    height: 160px;
    border: 1px solid #EAEAEB;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.layout-styleshow .traditionalstyle {
    width: 160px;
    height: 268px;
    max-width: 160px;
    border: 0;
    border-radius: 20px;
    background: transparent;
}
.traditional-preview-phone {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 160px;
    height: 268px;
    overflow: hidden;
    padding: 14px 13px 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .13);
    --preview-accent: var(--profile-picker-accent, #7c3aed);
}
.traditional-preview-phone::before,
.traditional-preview-phone::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.traditional-preview-phone.traditional_recruit::before {
    top: -1px;
    left: -1px;
    right: -1px;
    width: auto;
    height: 9px;
    border-radius: 20px 20px 0 0;
    background: var(--preview-accent);
}
.traditional-preview-phone.traditional_business::before {
    top: 0;
    left: 0;
    right: 0;
    height: 54px;
    background: var(--preview-accent);
}
.traditional-preview-phone.traditional_service::before {
    top: 58px;
    left: 13px;
    right: 13px;
    height: 1px;
    background: linear-gradient(90deg, var(--preview-accent), rgba(148, 163, 184, .25));
}
.traditional-preview-phone.traditional_minimal {
    background: #fffdf8;
}
.traditional-preview-phone.traditional_minimal::before {
    top: 0;
    left: 0;
    bottom: 0;
    width: 7px;
    background: var(--preview-accent);
}
.tp-head,
.tp-photo,
.traditional-preview-phone h4,
.traditional-preview-phone p,
.tp-lines,
.tp-qr {
    position: relative;
    z-index: 1;
}
.tp-head {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    min-height: 30px;
    overflow: hidden;
}
.tp-head span {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--preview-accent);
}
.traditional-preview-phone.no-logo .tp-head {
    justify-content: center;
    gap: 0;
    padding: 0 5px;
}
.traditional-preview-phone.no-logo .tp-head span {
    display: none;
}
.traditional-preview-phone.no-logo .tp-head strong {
    flex-basis: 100%;
    text-align: center;
}
.traditional-preview-phone.logo-square .tp-head span {
    border-radius: 8px;
}
.traditional-preview-phone.logo-circle .tp-head span {
    border-radius: 50%;
}
.tp-head span img,
.tp-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.traditional_business .tp-head strong {
    color: #fff;
}
.tp-head strong {
    display: -webkit-box;
    flex: 1 1 auto;
    min-width: 0;
    max-height: 25px;
    overflow: hidden;
    color: #111827;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.tp-photo {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    margin: 17px auto 0;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #e9d5ff;
    box-shadow: 0 10px 18px rgba(15, 23, 42, .14);
}
.traditional-preview-phone.avatar-square .tp-photo {
    border-radius: 14px;
}
.traditional-preview-phone.avatar-circle .tp-photo {
    border-radius: 50%;
}
.traditional-preview-phone h4 {
    margin: 10px 0 0;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
}
.traditional-preview-phone.no-avatar h4 {
    margin-top: 38px;
}
.traditional-preview-phone.traditional_business.no-avatar h4 {
    margin-top: 54px;
}
.traditional-preview-phone.traditional_service.no-avatar h4 {
    margin-top: 45px;
}
.traditional-preview-phone p {
    display: block;
    max-width: 100%;
    margin: 4px 0 0;
    overflow: hidden;
    padding: 0 14px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tp-lines {
    display: grid;
    gap: 2px;
    margin-top: auto;
    max-height: 82px;
    overflow: hidden;
    padding-top: 7px;
    padding-right: 40px;
    border-top: 1px solid rgba(148, 163, 184, .3);
}
.traditional-preview-phone.no-qr .tp-lines {
    padding-right: 0;
}
.tp-lines span {
    height: 5px;
    border-radius: 999px;
    background: #e2e8f0;
}
.tp-lines span:not(.is-filled) {
    display: none;
}
.tp-lines span.is-filled {
    display: -webkit-box;
    height: 13px;
    overflow: hidden;
    background: transparent;
    color: #475569;
    font-size: 6px;
    font-weight: 800;
    line-height: 6.5px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.tp-lines span:nth-child(2) {
    width: 72%;
}
.tp-lines span.is-filled:nth-child(2) {
    width: 100%;
}
.tp-lines span:nth-child(3) {
    width: 86%;
}
.traditional-preview-phone.has-dense-lines .tp-lines {
    gap: 2px;
    padding-top: 6px;
}
.traditional-preview-phone.has-dense-lines .tp-lines span.is-filled {
    display: block;
    height: 8px;
    font-size: 5.8px;
    line-height: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-line-clamp: 1;
}
.tp-qr {
    position: absolute;
    right: 13px;
    bottom: 13px;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background:
        linear-gradient(90deg, #111827 4px, transparent 4px 8px, #111827 8px 12px, transparent 12px),
        linear-gradient(#111827 4px, transparent 4px 8px, #111827 8px 12px, transparent 12px);
    opacity: .18;
}
.traditional-preview-phone.no-qr .tp-qr {
    display: none;
}
.profile-accent-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.profile-accent-grid label {
    position: relative;
    display: inline-flex;
    width: 34px;
    height: 34px;
    margin: 0;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.profile-accent-grid input {
    position: absolute;
    opacity: 0;
}
.profile-accent-grid span {
    display: block;
    width: 28px;
    height: 28px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--color);
    box-shadow: 0 0 0 1px #d1d5db;
}
.profile-accent-grid input:checked + span {
    box-shadow: 0 0 0 3px rgba(109, 1, 190, .22);
}
.layout-styleshow.mobile-type .show-style {
    height: 320px;
}
.show-pic {
    background: #F3F3F3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.userbanner {
    width: 100%;
    height: 85px;    
}
.userbanner img {
    height: 100%;
    width: auto;
    max-width: fit-content;
}
.socialstyle .userpic {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: solid #fff 4px;
    position: absolute;
    left: 15px;
    bottom: 0px;
    overflow: hidden;
}
.defaultstyle .userpic {
    width: 160px;
    min-width: 160px;
    height: 160px;
}
.defaultstyle {
    display: flex;
}
.layout-styleshow.mobile-type .defaultstyle {
    flex-direction: column;
}
.layout-styleshow.mobile-type .defaultstyle {
    flex-direction: column;
}
.layout-styleshow  ul {
    list-style: none;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    margin: 0;
    padding: 0px 15px;
}
.layout-styleshow  ul li {
   width: 100%;
   height: 8px;
   background: #F3F3F3;
   margin: 5px 0;
}
.layout-styleshow  ul li:first-child {
    height: 12px;
    width: 60%;
}
.layout-styleshow  ul li:nth-child(2) {
    height: 10px;
    width: 80%;
    margin-top: 3px;
}
.layout-styleshow  ul li:nth-child(3) {
    margin-top: 10px;
}

.layout-type {
    position: absolute;
    top: -2px;
    right: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid #E8E8E8;
    border-radius: 999px;
    margin: 0;
    background: #fff;
}
.layout-type small {
    display: inline-block;
    padding: 0 6px 0 7px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.layout-type span {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #1A1A1A;
    cursor: pointer;
    border-radius: 50%;
    transition: background .16s ease, color .16s ease;
}
.layout-type span:hover {
    background: #f8fafc;
}
.layout-type span.active {
    background: rgba(109, 1, 190, .1);
    color: #6D01BE;
}
.layout-type span:last-child:after {
    content: none;
}
@media (max-width: 480px) {
    .layout-picker-head {
        align-items: flex-start;
    }
    .layout-picker-head h5 {
        padding-right: 70px;
    }
    .layout-type small {
        display: none;
    }
}

/*上傳圖片*/
.upbtn {
    position: relative;
}
.upbtn .public-info-pic .avatar-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;		
    height: 43px;
    margin: 0;
}
.upbtn .public-info-pic .avatar-wrapper img {
    height: 100%;
}

/*選取圖片風格*/
.style-tabs button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.style-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
.style-tab {
    padding: 10px 20px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    cursor: pointer;
    border-radius: 5px;
    flex-grow: 1;
}
.style-tab.selected {
    background: #6D01BE;
    color: white;
    border-color: #6D01BE;
}

.show-check {
    display: flex;
    flex-wrap: wrap;
    margin-bottom:30px;
}

.show-check > div {
    margin-right: 30px;
    display: flex;
    align-items: center;
}

.show-check button {
    background: #f2f2f2;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    border: 1px solid #e0e0e0;
    font-size: 20px;
    color: #aaa;
    margin: 5px 10px;
}

.show-check button.active {
    border: 1px solid #6D01BE;
    background: #6D01BE;
    color: #fff;
}

.social-container .social-additem {
    position: relative;
}

.social-container .social-input-button {
    position: absolute;
    top: 0;
    right: 0;
    height: 36px;
    width: 36px;
    padding: 0;
    color: #fff;
    background-color: #6D01BE;
    border-radius: 4px;
    margin: 6px;
    font-size: 19px;
    text-align: center;
    line-height: 36px;
}

.social-container .social-input-container:first-child .show-check{
    display: none;
}

.social-container .social-input-container:first-child .show-check button {
    pointer-events: none;
}

#toolImg  {
    display: flex;
    align-items: center;
    justify-content: center;
}

#toolImg .code-photo {
    padding: 30px;
    width: 300px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;   
}

#toolImg .code-photo .qrcodeimg-tool {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.qrcode-tool {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#toolImg .qrcodeimg-tool canvas {
    width: 100%;
    height: 100%;
}

#toolImg .code-photo .user-title {
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    margin-bottom: 0;
}

#toolImg .code-photo .title-box {
    margin-bottom: 15px;
}

#toolImg .code-photo .title-box h4 {
    font-size: 12px;
    color: #6D01BE;
    text-align: center;
}

#toolImg .qrcode-tool::before {
    content: "";
    width: 50px;
    height: 50px;
    display: block;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9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OCIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM2MEQ2NkEiLz4KPC9saW5lYXJHcmFkaWVudD4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDFfbGluZWFyXzEzMTI4XzQwNzgiIHgxPSIyMC4wMDM1IiB5MT0iMzcuOTk2NiIgeDI9IjIwLjAwMzUiIHkyPSIyIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IiNGOUY5RjkiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSJ3aGl0ZSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPgo=) center center no-repeat;
}

#toolImg  .notice-pic, #toolImg .notice-pic i {
    color: #dc3139;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    margin-top: 15px;
}

.cv-form .public-info .avatar-wrapper.usercard-logo {
    width: 150px;
    height: auto;
    overflow: unset;
}
.cv-form .avatar-wrapper.usercard-logo:hover {
    transform:none;
    cursor: auto;
}
.cv-form .avatar-wrapper.usercard-logo img {
    width: 150px;
    height: 150px;
    cursor: auto;
}
.avatar-wrapper.usercard-logo .upload-button {       
    position: initial;
    height: 36px; 
    border-radius: 4px;
    margin-top: 15px;
    color: #fff;
    background: #6D01BE;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.avatar-wrapper.usercard-logo .upload-button.light {
    color: #6D01BE;
    background: #fff;
    border: 1px solid #6D01BE;
}
.avatar-wrapper.usercard-logo .button.logo-del > i {
    top: 3px;
    margin-left: 5px;
}
.usercard-logo .button.logo-del {
    width: 28px;
    height: 28px;
    padding: 0;
    background: #C33C3C;
    color: #fff;
    border-radius: 3px;
    position: absolute;
    bottom: 60px;
    top: auto;
    right: 8px; 
    opacity: 0;
}
.usercard-logo .button.logo-del span {
    display: none;
}
.usercard-logo .button.logo-del > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cv-form .avatar-wrapper.usercard-logo:hover .button.logo-del {
    opacity: 1;
}
.cv-form .public-info .card-logo-upload-panel .card-logo-slot,
.cv-form .public-info .card-logo-upload-panel .usercard-logo-field {
    width: 100%;
    max-width: none;
}
.cv-form .public-info .card-logo-upload-panel .avatar-wrapper.usercard-logo {
    display: inline-flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: none;
    height: auto;
    gap: 0;
    overflow: visible;
}
.cv-form .public-info .card-logo-upload-panel .avatar-wrapper.usercard-logo .upload-button,
.cv-form .public-info .card-logo-upload-panel .usercard-logo .button.logo-del {
    display: inline-flex;
    flex: 0 0 calc(50% - 14px);
    width: auto;
    max-width: none;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 7px;
    padding: 5px 15px;
    white-space: nowrap;
}
.cv-form .public-info .card-logo-upload-panel .usercard-logo .button.logo-del {
    border: 1px solid #6D01BE;
    background: #fff;
    color: #6D01BE;
    border-radius: 4px;
    position: static;
    opacity: 1;
}
.cv-form .public-info .card-logo-upload-panel .usercard-logo .button.logo-del span {
    display: inline;
}
.cv-form .public-info .card-logo-upload-panel .usercard-logo .button.logo-del > i {
    display: none;
}

.dialog-content.logo-deltit h3 {		
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 30px;
}
.dialog-content .btn-group {
    display: flex;
    margin: 20px -10px 0;
}
.dialog-content .btn-group button {
    justify-content: center;
    padding-right: 5px;
    margin: 5px;
}
.dialog-content .btn-group button i {
    margin-right: 0;
    font-style: normal;
}
.dialog-content .btn-group .logo-remove:hover {
    background: #6D01BE;
    color: #fff;
}

.user-sign-style .radio {
    margin-right: 15px;
}
.user-sign-box {
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-top: 30px;
}
.user-sign-box > table {
    width: 100%;
    table-layout: fixed;
}
.user-sign-box table.row {
    display: table;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
}
.user-sign-box tbody,
.user-sign-box .row__body {
    display: table-row-group;
}
.user-sign-box tr,
.user-sign-box .row__row {
    display: table-row;
}
.user-sign-box td,
.user-sign-box .step {
    display: table-cell;
    vertical-align: top;
}

.user-sign {
    /* display: flex; */
    /* margin-bottom: 45px; */
}
/* 
.user-sign-img {
    padding-right: 30px;
    width: 280px;
}

.user-sign-tit {
    padding-left: 30px;
    border-left: 1px solid #000;   
}
.user-sign-tit > div:last-child {
    margin-top: 15px;
}

.user-sign-3 .user-sign-tit {
    padding-left: 0;
    border: none;
}

.user-sign-tit h3 {
    font-size: 32px;
    font-weight: 600;
}

.user-sign-tit h5 {
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    padding-top: 10px;
    color: #696A6F;
}

.user-sign-tit p {
    margin-bottom: 0;
}
.user-sign-tit .user-mobile,
.user-sign-tit .user-email {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.user-sign-link {
    display: flex;
    margin-top: 15px;
    margin-bottom: 25px;
}
.user-sign-link a {
    width: 36px;
    height: 36px;
    margin-right: 12px;
    border: 1px solid #F3F3F3;
    border-radius: 4px;
    padding: 3px;
	} */
.user-sign-tit .user-tagline {
    display: block;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 8px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.user-sign-tit p {
    display: flex;
    max-width: 100%;
    box-sizing: border-box;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 0;
    padding-right: 8px;
    white-space: normal;
}
.user-sign-tit p > span:first-child {
    flex: 0 0 16px;
    margin-top: 4px;
}
.user-sign-tit .user-mobile,
.user-sign-tit .user-email {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.date-fill {
    margin-bottom: 0;
}
.sign-link-change {
    margin-top: 30px;
}
.sign-link-change ul {
    display: flex;
    flex-wrap: wrap;
}
.sign-link-change ul li {
   min-width: 33.3%;
   /* flex-grow: 1; */
}
.user-card-link {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 18px;
    font-weight: 400;
    color: #fff;
    background: #000;
    border-radius: 20px;
    text-align: center;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}
.user-card-link:hover,.user-card-link:active,.user-card-link:focus {
    color: #fff;
}
.ogimage-content {
    width:600px;
    height: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.user-ogimage {
    display: flex;
    width:1200px;
    height: 600px;
    background: #fff;
    transform: scale(0.5);
    transform-origin: left top;
}

.user-ogimage .user-ogimage-tit {
    width: 600px;
    padding-top: 184px;
    padding-left: 80px;
    padding-right: 140px;
}

.user-ogimage .user-ogimage-tit h3 {
    font-family: "Inter", sans-serif;
    font-size: 64px;
    font-weight: 900;
    line-height: 74px;
    margin-top: 24px;
    width: 460px;
    height: 222px;  /* 74px * 3 */
    display: -webkit-box;
    -webkit-line-clamp: 3;       /* 最多顯示3行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    word-break: normal;            /* 不強制斷字 */
    overflow-wrap: normal;
    text-overflow: ellipsis;       /* 多行 ... */
}

.user-ogimage .user-ogimage-img img {
    width: 600px;
}
.public-info .social-additem > input {
    width: 40%;
    flex-grow: 1;
}
.public-info .social-additem .dash-mark {
    max-width: 35px;
}

.public-info .social-additem {
    flex-wrap: wrap;
}
.public-info .profile-fields-column .field-input-container.social-additem {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: start;
    gap: 8px;
    margin-bottom: 16px;
}
.public-info .profile-fields-column .field-input-container.social-additem .field-input {
    width: 100%;
    min-width: 0;
    margin-bottom: 0;
    margin-right: 0;
}
.public-info .profile-fields-column .field-input-container.social-additem input.link {
    grid-column: 1 / -1;
}
.public-info .profile-fields-column .field-input-container.social-additem input.web-tit {
    grid-column: 1;
}
.public-info .profile-fields-column .submit-field .field-input-container.social-additem input.web-tit {
    margin-right: 0;
}
.public-info .profile-fields-column .field-input-container.social-additem .dash-mark {
    display: none;
    max-width: none;
    padding: 0;
}
.public-info .profile-fields-column .field-input-container.social-additem .field-input-button {
    position: static;
    grid-column: 2;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    line-height: 48px;
}
.public-info .profile-fields-column .field-input-container.social-additem .error-message {
    grid-column: 1 / -1;
    width: 100%;
}

@media (min-width: 1360px) {
    .public-info .profile-fields-column .field-input-container.social-additem {
        grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 0.85fr) 44px;
    }
    .public-info .profile-fields-column .field-input-container.social-additem input.link {
        grid-column: 1;
    }
    .public-info .profile-fields-column .field-input-container.social-additem .dash-mark {
        grid-column: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        color: #e0e0e0;
    }
    .public-info .profile-fields-column .field-input-container.social-additem input.web-tit {
        grid-column: 3;
    }
    .public-info .profile-fields-column .field-input-container.social-additem .field-input-button {
        grid-column: 4;
    }
}
.public-info .idea-word a {
    width: 25px;
    height: 25px;
    padding: 0;
    font-size: 15px;
}

.dialog-with-tabs.dialog.profile-intro-generator {
    width: min(1120px, calc(100vw - 48px));
    max-width: 1120px;
}

.profile-intro-generator .popup-tab-content {
    max-height: min(82vh, 820px);
    overflow-y: auto;
}

.profile-intro-generator .welcome-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.profile-intro-generator .welcome-text h3 {
    width: 100%;
    margin: 0;
}

.profile-intro-generator .welcome-text p {
    width: 100%;
    margin: 8px auto 0;
    color: #666;
}

.profile-intro-question {
    padding: 20px 0;
    border-top: 1px solid #eeeaf5;
}

.profile-intro-question:first-child {
    padding-top: 0;
    border-top: 0;
}

.profile-intro-question-title,
.profile-intro-optional label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: #333;
}

.profile-intro-question-title span,
.profile-intro-optional label span {
    flex: 0 0 auto;
    color: #888;
    font-size: 12px;
    font-weight: 400;
}

.profile-intro-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-intro-choices button {
    min-height: 38px;
    padding: 7px 13px;
    border: 1px solid #d8d1e5;
    border-radius: 999px;
    background: #fff;
    color: #4b4455;
    font-size: 14px;
    line-height: 1.35;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.profile-intro-choices button:hover {
    border-color: #8b38c7;
    color: #6d01be;
}

.profile-intro-choices button.selected {
    border-color: #6d01be;
    background: #f5f2ff;
    color: #6d01be;
    box-shadow: 0 0 0 1px #6d01be;
}

.profile-intro-role-choices {
    margin-bottom: 12px;
}

.profile-intro-generator input.with-border,
.profile-intro-generator textarea.with-border {
    margin-bottom: 0;
}

.profile-intro-selection-tip {
    min-height: 20px;
    margin: 8px 0 0;
    color: #6d01be;
    font-size: 12px;
}

.profile-intro-selection-tip.is-warning {
    color: #b54708;
}

.profile-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 8px;
}

.profile-intro-actions .button {
    margin: 0;
}

.profile-intro-actions .generate {
    background: #6d01be;
}

.profile-intro-generator.has-results .profile-intro-actions .generate,
.profile-intro-result-card:not(.recommended) .profile-intro-apply {
    border: 1px solid #6d01be;
    background: #fff;
    color: #6d01be;
    box-shadow: none;
}

.profile-intro-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eeeaf5;
}

.profile-intro-result-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px;
    border: 1px solid #ded8e8;
    border-radius: 8px;
    background: #fff;
}

.profile-intro-result-card.recommended {
    border-color: #7a18bd;
    box-shadow: 0 0 0 1px #7a18bd;
}

.profile-intro-result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.profile-intro-result-head h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.profile-intro-result-head div > span {
    display: block;
    margin-top: 2px;
    color: #888;
    font-size: 12px;
}

.profile-intro-recommended-badge {
    padding: 2px 7px;
    border-radius: 999px;
    background: #f5f2ff;
    color: #6d01be;
    font-size: 11px;
    white-space: nowrap;
}

.profile-intro-result-card > p {
    flex: 1;
    margin: 0 0 16px;
    color: #4b4455;
    font-size: 14px;
    line-height: 1.7;
}

.profile-intro-result-card .profile-intro-apply {
    width: 100%;
    margin: 0;
    padding: 8px 12px;
    text-align: center;
}

@media (max-width: 767px) {
    .public-info .idea-word a {
        padding: 0;
    }

    .dialog-with-tabs.dialog.profile-intro-generator {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
    }

    .profile-intro-generator .popup-tab-content {
        max-height: 78vh;
        padding-left: 16px;
        padding-right: 16px;
    }

    .profile-intro-question-title,
    .profile-intro-optional label {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .profile-intro-choices {
        gap: 7px;
    }

    .profile-intro-choices button {
        min-height: 40px;
        padding: 8px 11px;
        font-size: 13px;
    }

    .profile-intro-actions {
        flex-direction: column;
    }

    .profile-intro-actions .button {
        width: 100%;
        text-align: center;
    }

    .profile-intro-results {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .profile-layout-column,
    .profile-fields-column {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .profile-fields-column {
        margin-top: 18px;
    }

    .profile-layout-column .layout-option-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .profile-layout-column .layout-option-card {
        min-height: 92px;
        padding-right: 14px;
    }

    .profile-layout-column .traditional-preview-phone {
        margin-left: auto;
        margin-right: auto;
    }

    .profile-fields-column .social-additem > input {
        min-width: 0;
    }

    .profile-fields-column .social-additem .dash-mark {
        display: none;
    }

}

@media (min-width: 768px) and (max-width: 920px) {
    .profile-layout-column .layout-option-grid {
        grid-template-columns: 1fr;
    }

    .profile-layout-column .layout-option-card {
        min-height: 88px;
    }

    .profile-fields-column .social-additem > input,
    .profile-fields-column .submit-field .field-input-container.social-additem input.web-tit {
        width: 100%;
        margin-right: 0;
    }
}

.card-qrcode .qrcodeimg, .card-qrcode .qrcodeimg-tool {
    width: 180px;
    height: 180px;   
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); */
    border: 1px solid rgba(0, 0, 0, 0.15);
}
.card-qrcode .no-photo {
    padding: 30px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.card-qrcode {
    display: flex;  
    flex-wrap: wrap;  
    flex-direction: row;
    width: auto;
}
.card-qrcode .title-box {
    margin-bottom: 15px;
}
.card-qrcode .user-title {
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    margin-bottom:0;
}
.card-qrcode .title-box h4 {
    font-size: 12px;
    color: #6D01BE;
    text-align: center;
}
.qrcode, .qrcode-tool {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qrcode canvas, .qrcode-tool canvas {
    width: 100%;
    height: 100%;
}

.notice-pic, .notice-pic i {
    color: #dc3139;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    margin-top: 15px;
}

.pointword, .pointword i, .headline h3 .pointword i {
    font-size: 12px;
    line-height: 18px;
    color: #6D01BE;
}
.pointword, .headline h3 .pointword {
    font-size: 12px;
    font-weight: normal;
    color: #888;    
    padding: 0 5px;
}

.headline.tipicon {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.headline.tipicon > h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}
.headline.tipicon > i {
    font-size: 19px;
}
.headline.tipicon h3 .pointword {
    color: #6D01BE;
}
.headline.tipicon h3 .pointword i {
    top: 0;
}

@media (max-width: 767px){

    /*名片新版*/
    .user-cardbox {
        width:320px;
        height: 200px;
    }
    .user-cardbox #captureCard {
        transform: scale(0.3);
    }
    .user-cardbox.straight {
        width:200px;
        height: 320px ;   
    }
    
    .public-info .social-additem > input {
        width: 100%;
    }
    .profile-layout-column .layout-option-grid {
        grid-template-columns: 1fr;
    }
    .traditional-accent-section {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px;
    }
    .traditional-accent-section .profile-accent-grid {
        flex: 1 1 180px;
        flex-wrap: wrap;
    }
    .field-input-container.webname {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px;
    }
    .field-input-container.webname .set-webname {
        min-width: 0;
        flex: 1 1 220px;
    }
    .field-input-container.webname .cardweb-set {
        flex: 0 0 auto;
        margin-top: 8px;
    }
    .btn-item > a.button {
        min-height: 44px;
        height: auto;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .user-sign-box {
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        overflow-x: visible;
        overflow-y: hidden;
        padding: 20px 16px;
    }
    .user-sign-box > table {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }
    .user-sign-box .user-sign {
        max-width: 100%;
        overflow: visible;
    }
    .user-sign-tit p {
        display: flex;
        max-width: 100%;
        align-items: flex-start;
        gap: 3px;
        white-space: normal;
    }

    /*OGimg*/
    .ogimage-content {
        width: 480px;
        height: 240px;
    }
    .user-ogimage {
        transform: scale(0.4);
    }

    .style-tab {
        padding: 6px 12px;        
    }
    .pick-box .pick-picture {
        width: 30%;
    }
    .usercard-logo .button.logo-del {
        opacity: 1;
    }
}

@media (max-width: 600px){
    
    /*簽名檔*/
    table td {
        border-bottom: none;       
        text-align: left;
    }
    .user-sign-box table {
        display: table;
        max-width: 100%;
        border: 0;
    }
    .user-sign-box table.row {
        display: table;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    .user-sign-box tbody,
    .user-sign-box .row__body {
        display: table-row-group;
    }
    .user-sign-box tr,
    .user-sign-box .row__row {
        display: table-row;
        margin-bottom: 0;
    }
    .user-sign-box td,
    .user-sign-box .step {
        display: table-cell;
        border-bottom: 0;
        font-size: inherit;
        text-align: inherit;
        vertical-align: top;
    }
    .user-sign-box td::before {
        display: none;
        content: none;
    }
    .user-sign-box .user-sign-img {
        padding-right: 0;
        border: none;       
    }
    .user-sign-box .user-sign-1 .user-sign-tit,
    .user-sign-box .user-sign-2 .user-sign-tit {
        width: 60%;
        min-width: 0;
        padding-left: 20px;
        border-left: 1px solid #000;
        padding-top: 0;
        text-align: left;
    }
    .user-sign-box .user-sign-3 .user-sign-tit {
        width: 100%;
        min-width: 0;
        padding-left: 0;
        border-left: 0;
        padding-top: 0;
        text-align: left;
    }

    /*OGimg*/
    .ogimage-content {
        width: 300px;
        height: 150px;
    }
    .user-ogimage {
        transform: scale(0.25);
    }
}

@media (max-width: 480px){
    
    /*名片新版*/
    .user-cardbox {
        width:265px;
        height: 166px;
    }
    .user-cardbox #captureCard {
        transform: scale(0.25);
    }
    .user-cardbox.straight {
        width:166px;
        height: 265px ;   
    }  
    
    .user-sign-box .user-sign-img {
        max-width: 100%;
    }
}
