.latest-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 5rem;
}
.latest-shell {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}
.latest-heading {
    margin: 0 0 1.75rem;
    color: #1e293b;
    font-size: clamp(1.65rem, 4vw, 2.2rem);
    line-height: 1.15;
}
.latest-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}
.latest-filter {
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    background: #fff;
    color: #475569;
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0.65rem 0.9rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.latest-filter:hover,
.latest-filter.is-active {
    background: #eef2ff;
    border-color: #818cf8;
    color: #4338ca;
}
.latest-filter:focus-visible {
    outline: 3px solid rgba(99, 102, 241, 0.35);
    outline-offset: 2px;
}
.latest-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.latest-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    width: 100%;
    box-sizing: border-box;
    padding: 1.5rem 1.75rem;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    background: #f8fafc;
    color: inherit;
    position: relative;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.latest-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}
.latest-item.is-hidden {
    display: none;
}
.latest-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}
.latest-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.35rem 0.75rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.latest-item-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.latest-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}
.latest-text {
    display: block;
    width: 100%;
    margin: 0.2rem 0;
    color: #1e293b;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.55;
    text-decoration: none;
}
.latest-arrow {
    color: #94a3b8;
    font-weight: 900;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}
.latest-item:hover .latest-arrow {
    color: #1e293b;
    transform: translateX(3px);
}
.latest-tf-area {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.4rem;
}
.latest-answer-area {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.4rem;
}
.latest-tf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    color: #475569;
    cursor: pointer;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.latest-tf-btn:hover {
    border-color: #cbd5e1;
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.latest-answer-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    padding: 0.55rem 1.25rem;
    border: none;
    border-radius: 14px;
    background: #ec4899;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.15);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.latest-answer-btn:hover {
    background: #db2777;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.25);
}
.latest-answer-btn.is-shown {
    background: #64748b;
    box-shadow: none;
}
.latest-answer-btn.is-shown:hover {
    background: #475569;
}
.latest-answer-box {
    display: none;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #f1f5f9;
}
.latest-answer-label {
    display: block;
    margin-bottom: 0.25rem;
    color: #1e293b;
    font-weight: 850;
}
.latest-answer-text {
    color: #334155;
    font-size: 1.05rem;
    font-weight: 600;
}
.latest-answer-link {
    display: block;
    margin-top: 0.75rem;
    color: #4f46e5;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}
.latest-tf-btn.is-true {
    border-color: #d1fae5;
    background: #ecfdf5;
    color: #065f46;
}
.latest-tf-btn.is-false {
    border-color: #ffe4e6;
    background: #fff1f2;
    color: #9f1239;
}
.latest-tf-btn.is-true:hover {
    border-color: #10b981;
    background: #d1fae5;
    color: #065f46;
}
.latest-tf-btn.is-false:hover {
    border-color: #f43f5e;
    background: #ffe4e6;
    color: #9f1239;
}
.latest-tf-btn.correct-answered {
    border-color: #10b981 !important;
    background: #10b981 !important;
    color: #fff !important;
    pointer-events: none;
}
.latest-tf-btn.incorrect-answered {
    border-color: #f43f5e !important;
    background: #f43f5e !important;
    color: #fff !important;
    pointer-events: none;
}
.latest-tf-btn.is-disabled {
    opacity: 0.6;
    pointer-events: none;
}
.latest-tf-feedback {
    display: none;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.75rem;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #6366f1;
    border-radius: 18px;
    background: #f8fafc;
    animation: latestSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.latest-tf-result {
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.latest-tf-percent {
    margin-bottom: 0.6rem;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 700;
}
.latest-tf-percent strong,
.latest-tf-percent span {
    display: block;
}
.latest-tf-percent strong { color: #334155; }
.latest-tf-percent span + span { margin-top: 0.1rem; font-weight: 600; }
.latest-tf-explanation {
    margin-bottom: 0.75rem;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.5;
}
.latest-tf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #4f46e5;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
}
.latest-tf-link:hover {
    color: #3730a3;
}
.latest-empty {
    display: none;
    padding: 2rem 1rem;
    color: #64748b;
    text-align: center;
}
@keyframes latestSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
    .latest-page { padding: 1rem 0.75rem 3rem; }
    .latest-shell { padding: 1.75rem 1.25rem; border-radius: 30px; }
    .latest-item { padding: 1.2rem 1.25rem; border-radius: 20px; gap: 0.75rem; }
    .latest-text { font-size: 0.95rem; line-height: 1.5; }
    .latest-item-header { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
    .latest-item-right { width: 100%; justify-content: space-between; }
    .latest-time { font-weight: 500; }
}

/* Deal interactive vote buttons */
.latest-item .deal-vote-btns {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
    align-items: center;
    margin-top: 0.4rem;
    margin-bottom: 0;
    width: 100%;
}
.latest-item .deal-vote-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: white;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: auto;
    font-family: inherit;
}
.latest-item .deal-vote-take {
    background: #ecfdf5;
    border-color: #d1fae5;
    color: #065f46;
}
.latest-item .deal-vote-take:hover {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
    transform: translateY(-1px);
}
.latest-item .deal-vote-nodeal {
    background: #fff1f2;
    border-color: #ffe4e6;
    color: #9f1239;
}
.latest-item .deal-vote-nodeal:hover {
    background: #ffe4e6;
    border-color: #f43f5e;
    color: #9f1239;
    transform: translateY(-1px);
}
.deal-vote-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}
.deal-vote-btn.deal-selected-take {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}
.deal-vote-btn.deal-selected-nodeal {
    background: #f43f5e;
    color: #fff;
    border-color: #f43f5e;
}
.deal-vote-feedback {
    margin-top: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #10b981;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}
.deal-vote-result {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.4rem;
}
.deal-more-link {
    font-size: 0.85rem;
    font-weight: 800;
    color: #7c3aed;
    text-decoration: none;
}
.deal-more-link:hover {
    text-decoration: underline;
}
@media (max-width: 640px) {
    .deal-vote-btns {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    .deal-vote-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Feed WYR layout matching upper daily-wyr section */
.feed-wyr-options {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    width: 100%;
    margin-top: 0.4rem;
}
.feed-wyr-option {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-sizing: border-box;
}
.feed-wyr-option:hover {
    border-color: #ec4899;
    background: #fff5fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.08);
}
.feed-wyr-option .wyr-option-bullet {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: #ffffff;
    border: 2px solid #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #ec4899;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.feed-wyr-option:hover .wyr-option-bullet {
    background: #ec4899;
    color: #ffffff;
    border-color: #ec4899;
}
.feed-wyr-option .wyr-option-text {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.4;
}
.feed-wyr-option .wyr-option-percent {
    margin-left: auto;
    font-weight: 900;
    color: #ec4899;
    font-size: 1.05rem;
    padding-left: 0.4rem;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
}
.feed-wyr-or-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
}
.feed-wyr-or-divider span {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 0.25rem 0.55rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Outfit', sans-serif;
}
.feed-wyr-options.answered .feed-wyr-option {
    cursor: default;
    pointer-events: none;
    opacity: 0.6;
}
.feed-wyr-options.answered .feed-wyr-option.selected {
    opacity: 1;
    border-color: #ec4899;
    background: #fff5fa;
}
.feed-wyr-options.answered .feed-wyr-option.selected .wyr-option-bullet {
    background: #ec4899;
    color: #ffffff;
    border-color: #ec4899;
}
.feed-wyr-more-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s;
}
.feed-wyr-more-link:hover {
    color: #1e293b;
    text-decoration: underline;
}
@media (max-width: 640px) {
    .feed-wyr-options {
        flex-direction: column;
        gap: 0.6rem;
    }
    .feed-wyr-or-divider {
        margin: -0.2rem 0;
    }
}
