.home-page {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 16px 96px;
    background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
    overflow-x: hidden;
}

.home-container {
    width: 100%;
    max-width: 480px;
}

.home-header {
    text-align: center;
    margin-bottom: 12px;
}

.home-header h1 {
    margin: 0;
    color: #dc2626;
    --title-ic: #dc2626;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1;
    white-space: nowrap;
}

.home-header .page-title-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
}

.home-header .page-title-icon .rh-ico {
    width: 26px;
    height: 26px;
}

.home-section {
    --ic: #c3e6d3;
    margin-bottom: 18px;
    overflow: hidden;
    border: 3px solid #4685c8;
    border-radius: 18px;
    background: #4685c8;
    background-clip: border-box;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--ic) 14%, transparent);
}

.home-section:last-child {
    margin-bottom: 0;
}

.home-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 11px 16px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: #4685c8;
}

.home-section-title .field-icon {
    width: 22px;
    height: 22px;
    border-radius: 0;
    color: #ffffff;
    background: none;
}

.home-section-title .field-icon .rh-ico {
    width: 22px;
    height: 22px;
}

.home-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: color-mix(in srgb, var(--ic) 7%, #ffffff);
    box-shadow: none;
}

.home-item {
    --accent: var(--ic);
    --accent-soft: color-mix(in srgb, var(--ic) 12%, #ffffff);
    --accent-line: color-mix(in srgb, var(--ic) 32%, #ffffff);
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding: 6px 16px;
    border: 1px solid color-mix(in srgb, var(--accent) 22%, #ffffff);
    border-radius: 12px;
    background: linear-gradient(105deg, color-mix(in srgb, var(--accent) 10%, #ffffff) 0%, color-mix(in srgb, var(--accent) 16%, #ffffff) 100%);
    color: #243447;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.12s ease, color 0.12s ease;
}

.home-item { --accent: #16a34a; }
.home-item.is-b { --accent: #b45309; }

.home-item:last-child {
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 22%, #ffffff);
}

@media (hover: hover) and (pointer: fine) {
    .home-item:hover {
        color: var(--accent);
    }

    .home-item:hover .home-item-icon {
        color: #ffffff;
        background: var(--icon);
        border-color: transparent;
    }

    .home-item:hover::after {
        color: var(--accent);
        transform: translateX(3px);
    }
}

.home-item:active {
    color: var(--accent);
}

.home-item:active .home-item-icon {
    color: #ffffff;
    background: var(--icon);
    border-color: transparent;
    transform: scale(0.94);
}

.home-item-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--icon, var(--accent));
    background: color-mix(in srgb, var(--icon, var(--accent)) 18%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--icon, var(--accent)) 32%, #ffffff);
    box-shadow: 0 3px 8px color-mix(in srgb, var(--icon, var(--accent)) 20%, transparent);
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}

.home-item-icon .rh-ico {
    width: 24px;
    height: 24px;
}

.home-item-text {
    flex: 1;
}

.home-item::after {
    content: "›";
    flex-shrink: 0;
    color: #b0bac7;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    transition: color 0.15s ease, transform 0.15s ease;
}

@media (max-width: 480px) {
    .home-page {
        padding: 12px 12px 96px;
    }

    .home-item {
        min-height: 0;
        padding: 6px 14px;
    }
}
