/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ft-pink: #FFF1E5;
    --ft-pink-dark: #FFE8E8;
    --ft-black: #000000;
    --ft-gray: #666666;
    --ft-light-gray: #CCCCCC;
    --ft-border: #E5E5E5;
    --ft-white: #FFFFFF;
}

body {
    font-family: 'Noto Serif SC', 'Playfair Display', serif, Georgia, 'Times New Roman', Times, serif;
    color: var(--ft-black);
    background-color: var(--ft-white);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--ft-black);
    color: var(--ft-white);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--ft-border);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span,
.top-bar-right span {
    margin-right: 15px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.top-bar-left span:hover,
.top-bar-right span:hover {
    opacity: 0.7;
}

/* Header */
.header {
    background-color: var(--ft-pink);
    padding: 20px 0;
    border-bottom: 1px solid var(--ft-border);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px 0;
}

.logo-text {
    text-align: center;
    color: var(--ft-black);
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    padding: 0;
    line-height: 1;
    color: var(--ft-black);
}

.logo-chinese {
    font-family: 'Noto Serif SC', serif;
    font-size: 24px;
    font-weight: 600;
    margin: 12px 0;
    padding: 0;
    line-height: 1.2;
    color: var(--ft-black);
}

.logo-divider {
    width: 200px;
    height: 1px;
    background-color: var(--ft-black);
    margin: 15px auto;
}

.logo-url {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
    line-height: 1;
    color: var(--ft-black);
    text-transform: uppercase;
}


/* Navigation */
.navigation {
    background-color: var(--ft-white);
    border-bottom: 2px solid var(--ft-black);
    padding: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    padding: 0;
}

.nav-menu li {
    border-right: 1px solid var(--ft-border);
}

.nav-menu li:last-child {
    border-right: none;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--ft-black);
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--ft-pink);
    color: var(--ft-black);
}

/* Main Content */
.main-content {
    padding: 30px 0;
    background-color: var(--ft-white);
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--ft-border);
}

.featured-article {
    display: flex;
    flex-direction: column;
}

.article-image {
    width: 100%;
    height: 400px;
    background-color: var(--ft-pink);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--ft-border);
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-content {
    padding: 0;
}

.article-category {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ft-gray);
    margin-bottom: 10px;
    font-weight: 600;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--ft-black);
}

.article-excerpt {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ft-gray);
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--ft-gray);
}

.author {
    font-weight: 500;
}

/* Hero Sidebar */
.hero-sidebar {
    background-color: var(--ft-pink);
    padding: 20px;
    border: 1px solid var(--ft-border);
}

.sidebar-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ft-black);
}

.latest-news {
    list-style: none;
}

.latest-news li {
    padding: 15px 0;
    border-bottom: 1px solid var(--ft-border);
}

.latest-news li:last-child {
    border-bottom: none;
}

.news-time {
    display: block;
    font-size: 11px;
    color: var(--ft-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.news-link {
    color: var(--ft-black);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    display: block;
    transition: color 0.2s;
}

.news-link:hover {
    color: var(--ft-gray);
    text-decoration: underline;
}

/* Section Title */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--ft-black);
}

/* Market Data Section */
.market-data-section {
    margin-bottom: 50px;
    padding: 30px 0;
    background-color: var(--ft-pink);
    border: 1px solid var(--ft-border);
}

.market-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.market-item {
    text-align: center;
    padding: 15px;
    background-color: var(--ft-white);
    border: 1px solid var(--ft-border);
}

.market-label {
    font-size: 13px;
    color: var(--ft-gray);
    margin-bottom: 8px;
    font-weight: 500;
}

.market-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--ft-black);
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.market-change {
    font-size: 14px;
    font-weight: 600;
}

.market-change.positive {
    color: #d32f2f;
}

.market-change.negative {
    color: #1976d2;
}

/* Articles Grid */
.articles-section {
    margin-bottom: 40px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (min-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.article-card {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--ft-border);
    padding-bottom: 20px;
}

.article-image-small {
    width: 100%;
    height: 200px;
    background-color: var(--ft-pink);
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--ft-border);
}

.article-img-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-card-content {
    flex: 1;
}

.article-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--ft-black);
}

.article-card-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ft-gray);
    margin-bottom: 15px;
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--ft-pink);
    padding: 40px 20px;
    margin: 40px 0;
    text-align: center;
    border: 1px solid var(--ft-border);
}

.newsletter-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.newsletter-content p {
    font-size: 16px;
    color: var(--ft-gray);
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--ft-border);
    font-size: 15px;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--ft-black);
}

.newsletter-form button {
    padding: 12px 30px;
    background-color: var(--ft-black);
    color: var(--ft-white);
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

.newsletter-form button:hover {
    background-color: var(--ft-gray);
}

/* Footer */
.footer {
    background-color: var(--ft-black);
    color: var(--ft-white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--ft-light-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--ft-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: var(--ft-light-gray);
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-section {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 640px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo-main {
        font-size: 48px;
    }

    .logo-chinese {
        font-size: 20px;
    }

    .logo-divider {
        width: 150px;
    }

    .logo-url {
        font-size: 12px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-card-title {
        font-size: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
    }
}

/* AI Features Styles */
.ai-features-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
}

.ai-features-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Article AI Actions */
.article-ai-actions {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid var(--ft-border);
    border-bottom: 1px solid var(--ft-border);
}

.article-ai-actions-small {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

.ai-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background-color: var(--ft-black);
    color: var(--ft-white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.ai-btn:hover {
    background-color: var(--ft-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.ai-btn:active {
    transform: translateY(0);
}

.ai-btn-small {
    padding: 6px 12px;
    background-color: var(--ft-pink);
    color: var(--ft-black);
    border: 1px solid var(--ft-border);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.ai-btn-small:hover {
    background-color: var(--ft-black);
    color: var(--ft-white);
    border-color: var(--ft-black);
}

/* AI Chatbot */
.ai-chatbot {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 380px;
    height: 600px;
    background-color: var(--ft-white);
    border: 2px solid var(--ft-black);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.ai-chatbot.active {
    display: flex;
}

.chatbot-header {
    background-color: var(--ft-black);
    color: var(--ft-white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px 6px 0 0;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--ft-white);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.chatbot-close:hover {
    background-color: rgba(255,255,255,0.2);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: var(--ft-pink);
}

.message {
    margin-bottom: 15px;
    display: flex;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 8px;
    line-height: 1.5;
    font-size: 14px;
}

.bot-message {
    justify-content: flex-start;
}

.bot-message .message-content {
    background-color: var(--ft-white);
    border: 1px solid var(--ft-border);
    color: var(--ft-black);
}

.bot-message .message-content ul {
    margin: 8px 0;
    padding-left: 20px;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-content {
    background-color: var(--ft-black);
    color: var(--ft-white);
}

.chatbot-input-area {
    display: flex;
    padding: 15px;
    border-top: 1px solid var(--ft-border);
    gap: 10px;
}

.chatbot-input-area input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--ft-border);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.chatbot-input-area input:focus {
    outline: none;
    border-color: var(--ft-black);
}

.chatbot-input-area button {
    padding: 10px 20px;
    background-color: var(--ft-black);
    color: var(--ft-white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

.chatbot-input-area button:hover {
    background-color: var(--ft-gray);
}

/* AI Chatbot Toggle Button */
.ai-chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--ft-white);
    border: 3px solid var(--ft-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s;
    font-size: 24px;
}

.ai-chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.chatbot-badge {
    font-size: 10px;
    font-weight: 700;
    margin-top: 2px;
}

/* AI Modal */
.ai-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s;
}

.ai-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-modal-content {
    background-color: var(--ft-white);
    margin: auto;
    padding: 30px;
    border: 2px solid var(--ft-black);
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s;
}

.ai-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    color: var(--ft-gray);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.ai-modal-close:hover {
    color: var(--ft-black);
}

#ai-modal-body {
    margin-top: 20px;
}

.ai-result-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--ft-black);
}

.ai-summary-content,
.ai-keypoints-content {
    line-height: 1.8;
    color: var(--ft-gray);
    font-size: 16px;
}

.ai-keypoints-content ul {
    list-style: none;
    padding: 0;
}

.ai-keypoints-content li {
    padding: 12px 0;
    border-bottom: 1px solid var(--ft-border);
    padding-left: 30px;
    position: relative;
}

.ai-keypoints-content li:before {
    content: "💡";
    position: absolute;
    left: 0;
}

.ai-keypoints-content li:last-child {
    border-bottom: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading Animation */
.ai-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--ft-border);
    border-top-color: var(--ft-black);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .ai-chatbot {
        width: calc(100% - 40px);
        height: calc(100vh - 100px);
        right: 20px;
        left: 20px;
        bottom: 80px;
    }

    .ai-modal-content {
        width: 95%;
        padding: 20px;
    }

    .article-ai-actions {
        flex-direction: column;
    }

    .ai-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Ticker Styles */
.ticker {
    color: var(--ft-black);
    background-color: var(--ft-pink);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    border: 1px solid var(--ft-border);
}

.ticker:hover {
    background-color: var(--ft-black);
    color: var(--ft-white);
    border-color: var(--ft-black);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Trading Panel */
.trading-panel {
    position: fixed;
    bottom: 100px;
    left: 20px;
    width: 400px;
    max-height: 700px;
    background-color: var(--ft-white);
    border: 2px solid var(--ft-black);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.trading-panel.active {
    display: flex;
}

.trading-panel-header {
    background-color: var(--ft-black);
    color: var(--ft-white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px 6px 0 0;
}

.trading-panel-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.trading-panel-close {
    background: none;
    border: none;
    color: var(--ft-white);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.trading-panel-close:hover {
    background-color: rgba(255,255,255,0.2);
}

.trading-panel-content {
    padding: 20px;
    overflow-y: auto;
    background-color: var(--ft-pink);
}

.ticker-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.ticker-search input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--ft-border);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.ticker-search input:focus {
    outline: none;
    border-color: var(--ft-black);
}

.ticker-search button {
    padding: 10px 20px;
    background-color: var(--ft-black);
    color: var(--ft-white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

.ticker-search button:hover {
    background-color: var(--ft-gray);
}

.ticker-info {
    background-color: var(--ft-white);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid var(--ft-border);
}

.ticker-info h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
}

.ticker-price {
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0;
    font-family: 'Playfair Display', serif;
}

.ticker-change {
    font-size: 14px;
    font-weight: 600;
}

.ticker-change.positive {
    color: #d32f2f;
}

.ticker-change.negative {
    color: #1976d2;
}

.trading-form {
    background-color: var(--ft-white);
    padding: 20px;
    border-radius: 4px;
    border: 1px solid var(--ft-border);
    margin-bottom: 20px;
}

.trade-type {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.trade-btn {
    flex: 1;
    padding: 10px;
    background-color: var(--ft-pink);
    color: var(--ft-black);
    border: 2px solid var(--ft-border);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.trade-btn.active {
    background-color: var(--ft-black);
    color: var(--ft-white);
    border-color: var(--ft-black);
}

.trade-btn:hover:not(.active) {
    background-color: var(--ft-border);
}

.trade-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ft-gray);
}

.input-group input {
    padding: 10px;
    border: 1px solid var(--ft-border);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.input-group input:focus {
    outline: none;
    border-color: var(--ft-black);
}

.trade-total {
    padding: 10px;
    background-color: var(--ft-pink);
    border: 1px solid var(--ft-border);
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.submit-trade-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--ft-black);
    color: var(--ft-white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

.submit-trade-btn:hover {
    background-color: var(--ft-gray);
}

.portfolio-summary {
    background-color: var(--ft-white);
    padding: 15px;
    border-radius: 4px;
    border: 1px solid var(--ft-border);
}

.portfolio-summary h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 700;
}

.portfolio-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--ft-border);
}

.portfolio-item:last-child {
    border-bottom: none;
}

.portfolio-item-name {
    font-weight: 600;
}

.portfolio-item-value {
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

/* Trading Panel Toggle */
.trading-panel-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--ft-white);
    border: 3px solid var(--ft-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s;
    font-size: 24px;
}

.trading-panel-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.trading-badge {
    font-size: 10px;
    font-weight: 700;
    margin-top: 2px;
}

@media (max-width: 640px) {
    .trading-panel {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        max-height: calc(100vh - 100px);
    }

    .article-ai-actions {
        flex-wrap: wrap;
    }

    .ai-btn {
        flex: 1;
        min-width: calc(50% - 6px);
    }
}

