:root {
    --theme: #ff6fa0;        /* 粉色主题 */
    --theme-light: #ffb3cd;
    --theme-bg: #fff5f8;
    --radius-1: 8px;
    --radius-2: 10px;
    --shadow-soft: 0 6px 24px rgba(255, 111, 160, 0.10);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
    --text-main: #2c2c2c;
    --text-sub: #6b6b6b;
    --border: #f0e3e8;
}

* {
    box-sizing: border-box;
}

button {
    border-radius: var(--radius-1);
    border: none;
    font-family: inherit;
    transition: all 0.25s ease;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #ffffff 0%, #fff5f8 100%);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* === 粉色飘花 === */
.petals-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.petal {
    position: absolute;
    top: -50px;
    width: 18px;
    height: 18px;
    background: radial-gradient(circle at 30% 30%, #ffd1e0 0%, #ff8db5 60%, #ff6fa0 100%);
    border-radius: 50% 0 50% 0;
    opacity: 0.85;
    animation: petalFall linear infinite;
    filter: drop-shadow(0 0 4px rgba(255, 111, 160, 0.3));
}
.petal.small { width: 10px; height: 10px; opacity: 0.6; }
.petal.big { width: 26px; height: 26px; opacity: 0.9; }
@keyframes petalFall {
    0%   { transform: translate(0, -10vh) rotate(0deg); }
    100% { transform: translate(80px, 110vh) rotate(720deg); }
}

/* === 顶部 === */
.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    padding: 24px 48px;
    position: relative;
    z-index: 5;
}
.header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header .logo-title {
    font-size: 22px;
    font-weight: 600;
    background: linear-gradient(90deg, #ff6fa0, #ff9eb5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}
.header .logo-sub {
    font-size: 12px;
    color: var(--text-sub);
    margin-left: 4px;
}

/* === 主容器 === */
.mounted {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 24px;
    position: relative;
    z-index: 5;
}

.mounted-box {
    display: flex;
    width: 940px;
    max-width: 96%;
    background: #ffffff;
    padding: 32px 40px 32px;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 111, 160, 0.08);
}

.mounted-title {
    font-size: 18px;
    color: var(--text-main);
    font-weight: 600;
}

.mounted-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* === 步骤导航 === */
.mounted-nav-container {
    display: flex;
    justify-content: center;
}
.mounted-nav {
    display: flex;
    margin-top: 8px;
    padding: 6px;
    background-color: #fff5f8;
    border-radius: 999px;
    list-style: none;
}
.mounted-nav li {
    width: 140px;
    height: 38px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: var(--text-sub);
    border-radius: 999px;
    transition: all 0.3s ease;
}
.mounted-nav .active {
    color: white;
    background: linear-gradient(90deg, #ff6fa0, #ff9eb5);
    box-shadow: 0 4px 12px rgba(255, 111, 160, 0.35);
}

/* === 内容区 === */
.mounted-content-item {
    margin-top: 24px;
    display: none;
}
.content-header {
    background: linear-gradient(90deg, #fff5f8 0%, #ffffff 100%);
    padding: 12px 20px;
    border-radius: var(--radius-1) var(--radius-1) 0 0;
    border-left: 3px solid var(--theme);
    font-weight: 600;
    color: var(--text-main);
}
.content {
    padding: 24px;
    height: 420px;
    border: 1px solid var(--border);
    border-top: none;
    overflow-y: auto;
    border-radius: 0 0 var(--radius-1) var(--radius-1);
    background: #ffffff;
    scroll-behavior: smooth;
}
.content::-webkit-scrollbar {
    width: 8px;
}
.content::-webkit-scrollbar-track {
    background: #fff5f8;
    border-radius: 4px;
}
.content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffb3cd, #ff6fa0);
    border-radius: 4px;
}
.content h2 {
    font-size: 20px;
    color: var(--theme);
    margin-bottom: 12px;
}
.content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-main);
    margin: 8px 0;
}
.content h3 {
    font-size: 16px;
    color: var(--theme);
    margin-top: 20px;
}

.mt6 { margin-top: 6px; }
.mt16 { margin-top: 16px; }

/* === 表单 === */
.content-form {
    padding: 28px 60px;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-1) var(--radius-1);
    background: #ffffff;
}
.form-box-item {
    display: flex;
    align-items: center;
    height: 42px;
}
.form-box-item:not(:nth-of-type(1)) {
    margin-top: 16px;
}
.form-desc {
    width: 80px;
    font-size: 13px;
    color: var(--text-sub);
    margin-right: 16px;
    text-align: right;
}
.form-box-item div input {
    width: 340px;
    height: 36px;
    padding-left: 16px;
    border: 1px solid #f0e3e8;
    border-radius: var(--radius-1);
    background: #fffafc;
    color: var(--text-main);
    font-size: 13px;
    transition: all 0.2s ease;
}
.form-box-item div input:focus {
    border: 1px solid var(--theme);
    box-shadow: 0 0 0 3px rgba(255, 111, 160, 0.15);
    background: #ffffff;
    outline: none;
}

/* === 按钮 === */
.cancel-btn {
    padding: 10px 36px;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text-sub);
    cursor: pointer;
    border-radius: var(--radius-1);
}
.cancel-btn:hover {
    border-color: var(--theme-light);
    color: var(--theme);
}
.accept-btn {
    padding: 10px 36px;
    color: white;
    background: linear-gradient(90deg, #ff6fa0, #ff9eb5);
    cursor: pointer;
    border-radius: var(--radius-1);
    box-shadow: 0 4px 14px rgba(255, 111, 160, 0.35);
    font-size: 14px;
    font-weight: 500;
}
.accept-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 111, 160, 0.45);
}
.accept-btn:disabled {
    background: #e2e2e2;
    color: #9b9b9b;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.disabled-btn {
    padding: 10px 36px;
    color: var(--text-sub);
    background: #f5f5f5;
    flex: none;
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-1);
}

.item-btn-group {
    display: none;
    margin-top: 28px;
    gap: 16px;
}
.show { display: flex !important; }
.hidden { display: none !important; }

.form-box-check {
    display: flex;
    align-items: center;
    margin-top: 12px;
}

footer {
    font-size: 12px;
    margin-bottom: 24px;
    color: var(--text-sub);
    font-weight: 400;
    display: flex;
    justify-content: center;
    background: transparent;
    position: relative;
    z-index: 5;
}

.layui-table {
    margin: 0;
    width: 100%;
    border-collapse: collapse;
}
.layui-table tr {
    background-color: white !important;
}
.layui-table tr td {
    font-size: 12px;
    line-height: 22px;
    background-color: white !important;
    border-bottom: 1px solid var(--border);
    padding: 8px 12px;
    color: var(--text-main);
}
.layui-table tr th {
    font-size: 13px;
    font-weight: 600;
    line-height: 22px;
    border-bottom: 1px solid var(--border);
    padding: 10px 12px;
    color: var(--text-main);
    background: #fff5f8;
}

.mounted-env-container {
    height: 460px;
    padding-bottom: 20px;
    overflow-y: auto;
}
.mounted-tips {
    padding: 14px 20px;
    color: var(--theme);
    background-color: var(--theme-bg);
    border-radius: var(--radius-1);
    border-left: 3px solid var(--theme);
    font-size: 13px;
    line-height: 1.6;
}
.mounting-container {
    padding: 20px;
    height: 480px;
    max-height: 480px;
    border: 1px solid var(--border);
    border-top: none;
    overflow-y: auto;
    border-radius: 0 0 var(--radius-1) var(--radius-1);
    background: #ffffff;
}
.item-cell {
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.green { color: #11d55c; }
.wrong { color: #FC4D4D; }
.layui-icon { font-size: 18px !important; }

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 420px;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-1) var(--radius-1);
    background: #ffffff;
}
img {
    width: 100%;
    height: 100%;
}
.success-content .tips {
    width: 460px;
    padding: 20px;
    border-radius: var(--radius-1);
    background-color: var(--theme-bg);
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.7;
    margin-top: 20px;
    border: 1px solid var(--border);
}
.success-content .btn-group {
    display: flex;
    align-items: center;
    margin-top: 32px;
    gap: 16px;
}
.success-content .result {
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    color: var(--text-main);
    background: linear-gradient(90deg, #ff6fa0, #ff9eb5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.success-content .btn-group .store-btn {
    padding: 10px 36px;
    border: 1px solid var(--theme);
    background: white;
    color: var(--theme);
    cursor: pointer;
    border-radius: var(--radius-1);
}
.success-content .btn-group .btn {
    padding: 10px 36px;
    border: 1px solid var(--theme);
    background: linear-gradient(90deg, #ff6fa0, #ff9eb5);
    color: white;
    cursor: pointer;
    border-radius: var(--radius-1);
    box-shadow: 0 4px 14px rgba(255, 111, 160, 0.35);
    text-decoration: none;
}

.mounted-footer {
    width: 940px;
    background: white;
    padding: 20px 30px;
    margin-top: 16px;
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-2);
    display: none;
}
.mounted-footer-title {
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 16px;
}
.mounted-recommend-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}
.mounted-recommend-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 224px;
    height: 140px;
    border: 1px solid var(--border);
    cursor: pointer;
    border-radius: var(--radius-1);
}
.mounted-recommend-item .icon {
    width: 128px;
    height: 36px;
}
.mounted-recommend-item:hover {
    background-color: var(--theme-bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.mounted-recommend-item:hover .icon {
    display: none;
}
.recommend-content {
    display: none;
}
.mounted-recommend-item:hover .recommend-content {
    display: block;
    padding: 8px 12px;
}
.mounted-recommend-item:hover .recommend-content .title {
    font-size: 16px;
    font-weight: 600;
}
.mounted-recommend-item:hover .recommend-content ul {
    list-style-type: disc;
    margin-left: 20px;
}
.mounted-recommend-item:hover .recommend-content li {
    list-style-type: disc;
}

/* === 阅读进度提示 === */
.read-progress {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 16px;
    background: linear-gradient(180deg, transparent 0%, #fff5f8 60%);
    text-align: center;
    font-size: 12px;
    color: var(--theme);
    font-weight: 500;
    pointer-events: none;
}
