/* ============================
   guide.css - 新手引导路径
   ============================ */

/* 顶部进度 */
.gd-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef1f4 100%);
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    padding: 20px 18px;
    margin-bottom: 16px;
}

.gd-hero-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.gd-hero-ring {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 3px solid #dfe3e8;
    flex: 0 0 auto;
    line-height: 1.05;
}

.gd-hero-ring b {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
}

.gd-hero-ring span {
    font-size: 0.6rem;
    color: #8a9199;
    letter-spacing: 0.5px;
}

.gd-hero-main {
    flex: 1 1 auto;
    min-width: 0;
}

.gd-hero-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2b2f33;
    margin-bottom: 5px;
}

.gd-hero-sub {
    font-size: 0.78rem;
    line-height: 1.65;
    color: #7b828a;
}

.gd-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gd-bar {
    flex: 1 1 auto;
    height: 9px;
    border-radius: 5px;
    background: #e2e6ea;
    overflow: hidden;
}

.gd-bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 5px;
    background: linear-gradient(90deg, #7f8c9b, #4a5560);
    transition: width 0.4s ease;
}

.gd-bar-num {
    flex: 0 0 auto;
    font-size: 0.75rem;
    color: #6b7280;
    font-variant-numeric: tabular-nums;
}

.gd-hero-next {
    margin-top: 12px;
    font-size: 0.78rem;
    line-height: 1.7;
    color: #6b7280;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 8px;
    padding: 9px 11px;
}

.gd-hero-next b { color: #2b2f33; }

/* 阶段列表 */
.gd-stage {
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
}

.gd-stage.done { border-color: #cfe6d1; background: #fbfdfb; }
.gd-stage.locked { opacity: 0.72; }
.gd-stage.current { border-color: #b9c4d0; box-shadow: 0 1px 10px rgba(74, 85, 96, 0.07); }

.gd-stage-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 6px;
}

.gd-stage-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f3f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex: 0 0 auto;
}

.gd-stage-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.gd-stage-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2b2f33;
}

.gd-stage-sub {
    font-size: 0.72rem;
    color: #98a0a8;
    margin-top: 3px;
    letter-spacing: 0.4px;
}

.gd-stage-count {
    flex: 0 0 auto;
    font-size: 0.72rem;
    color: #6b7280;
    background: #f3f5f7;
    border-radius: 20px;
    padding: 3px 9px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.gd-stage.done .gd-stage-count { background: #e3f2e4; color: #3d7a44; }

.gd-stage-intro {
    font-size: 0.8rem;
    line-height: 1.7;
    color: #7b828a;
    margin: 8px 0 12px;
}

.gd-lock-tip {
    font-size: 0.78rem;
    line-height: 1.7;
    color: #8a9199;
    background: #f7f8f9;
    border-left: 3px solid #dfe3e8;
    border-radius: 0 6px 6px 0;
    padding: 8px 11px;
}

/* 任务行 */
.gd-task {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #f0f2f4;
}

.gd-task:first-child { border-top: none; }

.gd-task-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #d5dae0;
    flex: 0 0 auto;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: transparent;
    background: #fff;
}

.gd-task.on .gd-task-check {
    background: #4a5560;
    border-color: #4a5560;
    color: #fff;
}

.gd-task-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.gd-task-name {
    font-size: 0.86rem;
    color: #2b2f33;
    line-height: 1.5;
}

.gd-task.on .gd-task-name {
    color: #98a0a8;
    text-decoration: line-through;
}

.gd-task-desc {
    font-size: 0.74rem;
    line-height: 1.6;
    color: #98a0a8;
    margin-top: 3px;
}

.gd-task-act {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.gd-task-link,
.gd-task-mark {
    font-size: 0.72rem;
    border-radius: 6px;
    padding: 4px 10px;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #d5dae0;
    background: #fff;
    color: #5a636d;
    cursor: pointer;
    font-family: inherit;
}

.gd-task-mark { background: #f3f5f7; }

.gd-task.on .gd-task-act { visibility: hidden; }

.gd-task-auto {
    font-size: 0.68rem;
    color: #3d7a44;
    white-space: nowrap;
}

/* 底部操作 */
.gd-foot {
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
}

.gd-foot-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2b2f33;
    margin-bottom: 8px;
}

.gd-foot-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.gd-note {
    font-size: 0.76rem;
    line-height: 1.75;
    color: #8a9199;
}

.gd-note p { margin: 0 0 6px; }
.gd-note p:last-child { margin-bottom: 0; }

@media (max-width: 380px) {
    .gd-hero-ring { width: 54px; height: 54px; }
    .gd-hero-ring b { font-size: 1.05rem; }
    .gd-stage { padding: 13px; }
    .gd-stage-icon { width: 34px; height: 34px; font-size: 1rem; }
    .gd-task-act { gap: 4px; }
    .gd-task-link, .gd-task-mark { padding: 4px 8px; font-size: 0.7rem; }
}
