/* 提交想法功能页（jk-idea.html） */

.jk-idea-page {
    min-height: 100vh;
    padding: 4.25rem 1.25rem 3rem;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.jk-idea-back {
    position: fixed;
    top: 1.1rem;
    left: 1.1rem;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.jk-idea-back:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(232, 121, 249, 0.45);
    transform: translateY(-1px);
}

.jk-idea-wrap {
    max-width: 52rem;
    margin: 0 auto;
}

.jk-idea-hero {
    margin-bottom: 2rem;
}

.jk-idea-hero__kicker {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: rgba(232, 121, 249, 0.88);
}

.jk-idea-hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.65rem, 4vw, 2.1rem);
    font-weight: 700;
    color: #fdf4ff;
}

.jk-idea-hero__greet {
    margin: 0;
    font-size: clamp(1.02rem, 2.4vw, 1.15rem);
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.92);
}

.jk-idea-hero__greet em {
    font-style: normal;
    color: rgba(253, 224, 71, 0.95);
}

.jk-idea-panel {
    padding: 1.35rem 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(22, 18, 32, 0.92), rgba(12, 14, 22, 0.96));
    border: 1px solid rgba(232, 121, 249, 0.22);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.jk-idea-panel__title {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #f4f4f5;
}

.jk-idea-panel__hint {
    margin: 0 0 1rem;
    font-size: 0.86rem;
    line-height: 1.65;
    color: rgba(203, 213, 225, 0.82);
}

.jk-idea-showcase {
    min-height: 4rem;
}

.jk-idea-idea-card {
    padding: 1rem 1.05rem;
    margin-bottom: 0.75rem;
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.jk-idea-idea-card:last-child {
    margin-bottom: 0;
}

.jk-idea-idea-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    color: #f8fafc;
}

.jk-idea-idea-card__by {
    margin: 0 0 0.45rem;
    font-size: 0.84rem;
    line-height: 1.45;
    color: rgba(196, 181, 253, 0.95);
}

.jk-idea-idea-card__meta {
    font-size: 0.72rem;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 0.5rem;
}

.jk-idea-idea-card__body {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(241, 245, 249, 0.95);
}

.jk-idea-idea-card__body p {
    margin: 0 0 0.5rem;
}

.jk-idea-idea-card__body p:last-child {
    margin-bottom: 0;
}

.jk-idea-empty {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.85);
    font-style: italic;
}

.jk-idea-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.92);
}

.jk-idea-editor-wrap {
    margin-bottom: 1rem;
    border-radius: 0.65rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0f0f12;
}

.jk-idea-editor-wrap .ql-toolbar {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.jk-idea-editor-wrap .ql-container {
    border: none;
    font-size: 0.95rem;
    min-height: 12rem;
    color: #e2e8f0;
}

.jk-idea-editor-wrap .ql-editor {
    min-height: 12rem;
}

.jk-idea-contact {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.75rem;
    margin-bottom: 1rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    color: #f1f5f9;
    font-size: 0.92rem;
    font-family: inherit;
}

.jk-idea-contact::placeholder {
    color: rgba(148, 163, 184, 0.75);
}

.jk-idea-row-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 1.1rem;
    font-size: 0.86rem;
    line-height: 1.55;
    color: rgba(203, 213, 225, 0.88);
}

.jk-idea-row-check input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.jk-idea-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    border: none;
    border-radius: 0.65rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    color: #1a0a14;
    background: linear-gradient(135deg, #fbbf24 0%, #f472b6 48%, #c084fc 100%);
    box-shadow: 0 4px 18px rgba(244, 114, 182, 0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.jk-idea-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(217, 70, 239, 0.35);
}

.jk-idea-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.jk-idea-toast {
    margin-top: 0.85rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.86rem;
    display: none;
}

.jk-idea-toast.is-ok {
    display: block;
    background: rgba(22, 101, 52, 0.45);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #bbf7d0;
}

.jk-idea-toast.is-err {
    display: block;
    background: rgba(127, 29, 29, 0.45);
    border: 1px solid rgba(252, 165, 165, 0.4);
    color: #fecaca;
}

@media (prefers-reduced-motion: reduce) {
    .jk-idea-back:hover,
    .jk-idea-submit:hover:not(:disabled) {
        transform: none;
    }
}
