		* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -webkit-touch-callout: none;
            -webkit-user-drag: none;
            -khtml-user-drag: none;
            -moz-user-drag: none;
            -o-user-drag: none;
            user-drag: none;
        }

        body {
            font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
            background: #0f0f0f;
            color: #ffffff;
            overflow: auto; /* 네이버처럼 스크롤 허용 */
            min-height: 100vh;
            min-width: 1740px; /* 최소 너비 고정 */
            height: auto; /* 고정 높이 제거 */
        }

        /* 접속 화면 */
        .connecting-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #0f0f0f;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 10000;
        }

        .connecting-spinner {
            width: 50px;
            height: 50px;
            border: 3px solid #333;
            border-top: 3px solid #ff4757;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
        }

        .connecting-text {
            color: #fff;
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 10px;
        }

        .connecting-status {
            color: #888;
            font-size: 14px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes liveGlow {
            0% { 
                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 
                           0 0 15px rgba(255, 71, 87, 0.3),
                border-color: rgba(255, 71, 87, 0.4);
            }
            100% { 
                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 
                           0 0 25px rgba(255, 71, 87, 0.5),
                border-color: rgba(255, 71, 87, 0.7);
            }
        }


        /* 로딩 스피너 */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: #0f0f0f;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            opacity: 1;
            transition: opacity 0.5s ease-out;
            overflow: hidden;
        }

        .loading-overlay.hide {
            opacity: 0;
            pointer-events: none;
        }

        .loading-spinner {
            width: 60px;
            height: 60px;
            border: 4px solid #333;
            border-top: 4px solid #ff4757;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
        }
        
        .loading-overlay .connecting-text {
            color: #fff;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .loading-overlay .connecting-status {
            color: #888;
            font-size: 14px;
        }

        /* 로딩 중일 때 숨길 요소들 */
        .loading-hide {
            opacity: 0 !important;
            visibility: hidden !important;
        }

        /* 모바일 오류 화면 */
        .mobile-error-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: #0f0f0f;
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            opacity: 1;
            overflow: hidden;
        }

        .mobile-error-icon {
            font-size: 80px;
            color: #ff4757;
            margin-bottom: 30px;
            animation: errorPulse 2s ease-in-out infinite;
        }

        @keyframes errorPulse {
            0%, 100% {
                transform: scale(1);
                opacity: 0.8;
            }
            50% {
                transform: scale(1.1);
                opacity: 1;
            }
        }

        .mobile-error-overlay .error-title {
            color: #fff;
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 15px;
            text-align: center;
        }

        .mobile-error-overlay .error-message {
            color: #ccc;
            font-size: 16px;
            margin-bottom: 10px;
            text-align: center;
            line-height: 1.5;
        }

        .mobile-error-overlay .error-suggestion {
            color: #888;
            font-size: 14px;
            text-align: center;
            margin-top: 20px;
            line-height: 1.4;
        }

        .loading-text {
            color: rgba(255, 255, 255, 0.5);
            font-size: 12px;
            text-align: center;
        }

        /* 빈 상태 로딩 스타일 (연한 표시) */
        .empty-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            opacity: 0.4;
        }

        /* 뉴스/공시 카드의 로딩은 더 아래로 */
        .news-card .empty-loading,
        .disclosure-card .empty-loading {
            padding: 100px 20px 40px 20px;
        }

        .loading-spinner-small {
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-top: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 10px;
        }

        body:fullscreen {
            overflow: hidden;
        }

        body:-webkit-full-screen {
            overflow: hidden;
        }

        body:-moz-full-screen {
            overflow: hidden;
        }

        .container {
            display: grid;
            grid-template-rows: auto 1fr auto;
            min-height: var(--vh, 100vh);
            max-width: 100vw;
            height: auto; /* 고정 높이 제거 */
        }

        .container:fullscreen,
        .container:-webkit-full-screen,
        .container:-moz-full-screen {
            height: 100vh;
            min-height: 100vh;
            max-height: 100vh;
        }

        /* 헤더 */
        .header {
            background: #1a1a1a;
            padding: 20px 20px;
            border-bottom: 2px solid #ff4757;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(255, 71, 87, 0.2);
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: 100%;
            gap: 20px;
            padding-left: 20px;
            position: relative;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 24px;
            font-weight: bold;
            color: #ff4757;
        }

        .logo i {
            color: #ff4757;
            text-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
        }

        /* 헤더 중앙 버튼들 */
        .header-center {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            gap: 12px;
        }


        .status-info {
            position: fixed;
            top: 12px;
            right: 20px;
            z-index: 1001;
            display: flex;
            align-items: center;
            gap: 8px;
        }


        .live-badge {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #ff4757;
            padding: 8px 16px;
            border-radius: 20px;
            box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
            font-weight: bold;
            font-size: 14px;
            margin-left: 15px;
            color: white;
        }

        .live-dot {
            width: 8px;
            height: 8px;
            background: #fff;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        .live-dot.off {
            background: #666;
            animation: none;
        }


        .viewer-count {
            background: rgba(45, 45, 45, 0.95);
            padding: 8px 16px;
            border-radius: 18px;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
            border: 1.5px solid rgba(255, 71, 87, 0.3);
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .viewer-count:hover {
            border-color: rgba(255, 71, 87, 0.5);
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
        }

        .viewer-icon {
            font-size: 16px;
            color: #ff4757;
        }

        .viewer-number {
            font-size: 17px;
            color: #fff;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
            min-width: 25px;
            font-weight: bold;
        }

        .viewer-label {
            font-size: 13px;
            color: #fff;
            font-weight: 600;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
            letter-spacing: 0.2px;
        }

        /* 메인 컨텐츠 - 고정 너비 (네이버 방식) */
        .main-content {
            display: grid;
            grid-template-columns: 800px 450px 450px; /* 고정 크기로 변경 */
            gap: 20px;
            padding: 20px;
            min-width: 1740px; /* 최소 너비 증가 */
            width: 100%;
            height: 100%;
            overflow: hidden;
            justify-content: center;
            align-items: center;
        }

        /* 전체화면시에도 일반 화면과 동일하게 표시 */

        /* AI 화면 영역 */
        .ai-screen {
            background: #1a1a1a;
            border-radius: 0;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 
                        0 0 15px rgba(255, 71, 87, 0.3);
            border: 2px solid rgba(255, 71, 87, 0.2);
            position: relative;
            height: 740px !important;
            min-height: 740px !important;
            max-height: 740px !important;
            width: 100% !important;
            display: flex;
            flex-direction: column;
            flex-shrink: 0; /* 축소 방지 */
            animation: liveGlow 3s ease-in-out infinite alternate;
        }

        .ai-display {
            height: 100%;
            background: #f8f9fa;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
            border-bottom: 3px solid #fb5360;
            border-radius: 0;
        }

        .ai-brain {
            font-size: 60px;
            color: #fb5360;
            margin-bottom: 15px;
            animation: aiPulse 3s ease-in-out infinite;
        }

        .ai-status {
            font-size: 20px;
            font-weight: 700;
            color: #FFFFFF;
            text-align: center;
            margin-bottom: 8px;
            font-family: 'Noto Sans KR', sans-serif;
        }

        .ai-subtitle {
            font-size: 14px;
            color: #495057;
            text-align: center;
            font-family: 'Noto Sans KR', sans-serif;
        }


        .live-viewer-overlay {
            position: absolute;
            bottom: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.9);
            padding: 6px 10px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            gap: 5px;
            z-index: 20;
        }

        .live-viewer-overlay .viewer-icon {
            font-size: 12px;
            color: #000000;
        }

        .live-viewer-overlay .viewer-text {
            font-size: 11px;
            color: #000000;
            font-weight: 500;
            white-space: nowrap;
        }

        .live-viewer-overlay .viewer-text span {
            font-size: 11px;
            color: #000000;
            font-weight: 600;
        }

        /* 종목 정보 오버레이 */
        .stock-info-overlay {
            position: absolute;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 30px;
            background: #ffffff;
            padding: 18px 60px;
            border-radius: 35px;
            border: 2px solid #fb5360;
            min-width: 600px;
            z-index: 10;
        }

        .stock-name-display {
            font-size: 24px;
            font-weight: 700;
            color: #fb5360;
            cursor: pointer;
            user-select: text;
            transition: all 0.2s ease;
            font-family: 'Noto Sans KR', sans-serif;
        }

        .stock-name-display:hover {
            background: #f8f9fa;
            border-radius: 6px;
            padding: 2px 4px;
            margin: -2px -4px;
        }

        .stock-code-display {
            font-size: 18px;
            color: #FFFFFF;
            background: #f8f9fa;
            padding: 4px 10px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            user-select: text;
            transition: all 0.2s ease;
            font-family: 'Noto Sans KR', sans-serif;
        }

        .stock-code-display:hover {
            background: #e9ecef;
        }

        .stock-price-display {
            font-size: 20px;
            font-weight: 700;
            color: #FFFFFF;
            font-family: 'Noto Sans KR', sans-serif;
        }

        .stock-change-display {
            font-size: 18px;
            font-weight: 700;
            font-family: 'Noto Sans KR', sans-serif;
        }

        .stock-change-display.price-up {
            color: #fb5360;
        }

        .stock-change-display.price-down {
            color: #fb5360;
        }

        /* 라이브 하단 정보 카드 */
        .live-bottom-card {
            position: absolute;
            bottom: -15px;
            left: 10px;
            width: calc(100% - 20px);
            padding: 15px 12px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            display: flex;
            flex-direction: column;
            gap: 12px;
            transition: all 0.3s ease;
            position: relative;
            z-index: 10;
        }

        .live-bottom-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 15px;
            right: 15px;
            height: 3px;
            background: linear-gradient(90deg, #e53e3e, #f56565, #e53e3e);
            border-radius: 50px;
        }

        .viewer-info {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            color: #FFFFFF;
            font-size: 14px;
            font-weight: 600;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .viewer-info i {
            color: #ff4757;
            font-size: 16px;
        }

        .live-recommendation {
            display: flex;
            gap: 12px;
            justify-content: center;
        }

        .live-recommendation .vote-btn {
            flex: 1;
            min-width: 85px;
            padding: 14px 15px;
            font-size: 15px;
            text-align: center;
            justify-content: space-between;
            position: relative;
        }

        .viewer-item {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #000000;
            font-size: 13px;
            font-weight: 600;
            font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
        }

        .viewer-item i {
            color: #000000;
            font-size: 13px;
        }

        /* 방송 스타일 종목 정보 */
        .broadcast-info {
            position: absolute;
            bottom: 12px;
            left: 12px;
            padding: 6px 12px;
            background: rgba(0, 0, 0, 0.8);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
        }

        .stock-item {
            display: flex;
            align-items: center;
            gap: 10px;
            color: white;
            font-weight: 600;
            font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
        }

        .stock-item .stock-name {
            font-size: 13px;
            font-weight: 700;
        }

        .stock-item .stock-code {
            font-size: 12px;
            opacity: 0.9;
        }

        .stock-item .current-price {
            font-size: 13px;
            font-weight: 700;
        }

        .stock-item .price-change {
            font-size: 12px;
            font-weight: 700;
        }

        /* 현재 추천 종목 - 새로운 레이아웃 */
        .current-stock {
            padding: 15px;
            background: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            height: 40%;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            justify-content: flex-start;
        }

        .stock-main-info {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            flex-shrink: 0;
        }

        .stock-left {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .stock-name-code {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 5px;
            margin-left: 5px;
        }
        
        .stock-logo {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #ffffff;
            padding: 3px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .stock-logo img {
            width: 18px;
            height: 18px;
            object-fit: cover;
            border-radius: 50%;
        }

        .stock-name {
            font-size: 24px;
            font-weight: bold;
            color: #fff;
            cursor: pointer;
            user-select: text;
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
        }

        .stock-name:hover {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            padding: 2px 4px;
            margin: -2px -4px;
        }

        .stock-code {
            font-size: 22px;
            color: #ff4757;
            background: rgba(255, 71, 87, 0.1);
            padding: 4px 10px;
            border-radius: 12px;
            border: 1px solid rgba(255, 71, 87, 0.3);
            cursor: pointer;
            user-select: text;
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            transition: all 0.2s ease;
            font-weight: 600;
        }

        .stock-code:hover {
            background: rgba(255, 71, 87, 0.2);
            border-color: rgba(255, 71, 87, 0.5);
        }

        .stock-price-info {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .buy-price-range {
            font-size: 14px;
            color: #fff;
            font-weight: 600;
        }

        .buy-price-range .price-range {
            color: #00d4ff;
            font-weight: bold;
        }

        .target-return {
            font-size: 16px;
            color: #ff4757;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .stock-right {
            text-align: right;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 2px;
        }

        .current-price {
            font-size: 22px;
            font-weight: bold;
            color: #fff;
        }

        .price-change {
            font-size: 12px;
            font-weight: 500;
        }

        .price-up { color: #ff4757; }
        .price-down { color: #3742fa; }
        .price-flat { color: #FFFFFF; }

        .detection-criteria {
            background: #2c2c2c;
            border: 1px solid #444;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 15px;
            display: flex;
            flex-direction: column;
            flex: 1;
            justify-content: center;
        }

        .stock-info-card {
            background: rgba(0, 212, 255, 0.1);
            border: 2px solid rgba(0, 212, 255, 0.5);
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 10px;
            box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
            backdrop-filter: blur(15px);
        }

        .info-title {
            font-size: 15px;
            color: #00d4ff;
            margin-bottom: 15px;
            font-weight: bold;
            text-align: center;
            text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
        }

        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            width: 100%;
        }

        .info-item {
            background: rgba(255, 255, 255, 0.12);
            border-radius: 8px;
            padding: 10px 8px;
            border: 1px solid rgba(0, 212, 255, 0.4);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            height: 50px;
            box-shadow: 0 2px 8px rgba(0, 212, 255, 0.2);
        }

        .info-item:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-1px);
        }

        .info-label {
            color: rgba(255, 255, 255, 0.6);
            font-size: 10px;
            font-weight: 500;
            margin-bottom: 2px;
            line-height: 1;
        }

        .info-value {
            color: #fff;
            font-weight: bold;
            font-size: 12px;
            line-height: 1.1;
        }

        /* 종목분석 카드 스타일 */
        .analysis-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 12px;
            border-left: 4px solid #00d4ff;
        }

        .analysis-title {
            font-size: 14px;
            color: #00d4ff;
            margin-bottom: 12px;
            font-weight: bold;
            text-align: center;
        }

        .analysis-item, .strategy-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            padding: 8px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 6px;
        }

        .analysis-label, .strategy-label {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 500;
        }

        .analysis-value, .strategy-value {
            font-size: 11px;
            font-weight: bold;
            text-align: right;
        }

        .analysis-value.buy, .strategy-value.buy {
            color: #ff4757;
        }

        .analysis-value.sell, .strategy-value.sell {
            color: #3742fa;
        }

        .analysis-value.neutral {
            color: #ffa500;
        }

        .analysis-value span, .strategy-value span {
            font-size: 10px;
            color: rgba(255, 255, 255, 0.6);
            font-weight: normal;
        }

        .ai-recommendation {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .recommendation-score {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px;
            background: rgba(255, 71, 87, 0.1);
            border-radius: 8px;
            border: 1px solid rgba(255, 71, 87, 0.3);
        }

        .score-text {
            font-size: 16px;
            font-weight: bold;
            color: #ff4757;
        }

        .score-value {
            font-size: 18px;
            font-weight: bold;
            color: #ff4757;
        }

        .recommendation-reasons {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .reason-item {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.8);
            padding: 4px 8px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 4px;
        }

        .criteria-title {
            color: #FFFFFF;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 20px;
            padding: 10px 0;
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .criteria-grid-horizontal {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            height: 100%;
        }

        .criteria-card {
            background: #ffd700;
            border: 2px solid #ffeb3b;
            border-radius: 10px;
            padding: 20px 15px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            transition: all 0.3s ease;
        }

        .criteria-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
            border-color: #ffc107;
        }

        .criteria-label {
            color: #333333;
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .criteria-value-large {
            color: #d32f2f;
            font-weight: 800;
            font-size: 18px;
            line-height: 1.2;
        }

        .criteria-value-large.loss {
            color: #1976d2;
        }

        .criteria-percent {
            font-size: 13px;
            font-weight: 600;
            margin-left: 6px;
        }

        .stock-quick-metrics {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
            flex: 1;
            overflow: hidden;
            margin-top: 15px;
        }

        .quick-metric {
            background: rgba(255, 255, 255, 0.08);
            padding: 12px;
            border-radius: 8px;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-height: 60px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .quick-metric-label {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 4px;
        }

        .quick-metric-value {
            font-size: 14px;
            font-weight: bold;
            color: #fff;
        }

        /* 사이드바들 - 공통 스타일 */
        .sidebar {
            background: #1a1a1a;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            border: 2px solid rgba(255, 71, 87, 0.2);
            display: flex;
            flex-direction: column;
            height: 740px;
        }

        .sidebar-header {
            padding: 20px;
            background: #ff4757;
            color: #fff;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .sidebar-header i {
            margin-right: 4px;
        }

        /* 초기화 알림 애니메이션 */
        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOutRight {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }

        /* 탭 헤더 */
        .tab-header {
            display: flex;
            background: #2d2d2d;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .tab-button {
            flex: 1;
            padding: 12px 8px;
            background: transparent;
            border: none;
            color: rgba(255, 255, 255, 0.6);
            cursor: pointer;
            font-size: 12px;
            font-weight: 600;
            transition: all 0.3s ease;
            border-bottom: 2px solid transparent;
        }

        .tab-button.active {
            color: #ff4757;
            border-bottom-color: #ff4757;
            background: rgba(255, 71, 87, 0.1);
        }

        .tab-button:hover {
            color: #ff4757;
            background: rgba(255, 71, 87, 0.05);
        }

        /* 탭 컨텐츠 */
        .tab-content {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            padding: 20px;
            display: none;
            flex-direction: column;
            min-height: 0;
        }

        .tab-content.active {
            display: flex;
        }

        .notification-item {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 14px;
            border-left: 4px solid #00d4ff;
        }

        .notification-item.buy {
            border-left-color: #ff4757;
        }

        .notification-item.sell {
            border-left-color: #3742fa;
        }

        .notification-item.info {
            border-left-color: #ff4757;
        }

        .notification-time {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 5px;
        }

        .notification-content {
            color: #fff;
            font-size: 14px;
            line-height: 1.4;
        }

        .notification-stock {
            color: #ff4757;
            font-weight: bold;
        }

        /* 뉴스/재료 아이템 - 심플하고 깔끔한 스타일 */
        .news-item {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 18px;
            margin-bottom: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .news-item {
            position: relative;
        }

        .news-item {
            border-left: 4px solid #ffffff;
            transition: border-left-color 0.3s ease;
        }

        .news-item:hover {
            border-left-color: #e53e3e;
        }

        @keyframes newsShimmer {
            0%, 100% { background-position: 200% 0; }
            50% { background-position: -200% 0; }
        }

        .news-item:hover {
            background: rgba(229, 62, 62, 0.12);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }

        .news-time {
            font-size: 10px;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 6px;
        }

        .news-title {
            font-size: 14px;
            font-weight: 600;
            color: #FFFFFF;
            text-decoration: none;
            line-height: 1.4;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            transition: color 0.3s ease;
            display: block;
            max-width: 380px;
            width: 100%;
            cursor: pointer;
        }

        .news-title:hover {
            color: #f56565;
            text-decoration: none;
        }

        /* 종목 토론실 버튼 */
        .discussion-room-btn {
            background: rgba(255, 71, 87, 0.5);
            border: 1px solid #ff4757;
            color: #ffffff;
            padding: 8px 16px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 4px;
            backdrop-filter: blur(10px);
        }

        .discussion-room-btn:hover {
            background: #ff4757;
            color: white;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
        }

        .discussion-room-btn:active {
            transform: translateY(0);
        }

        .discussion-room-btn i {
            font-size: 12px;
        }

        /* 종목 토론실 버튼 비활성화 상태 */
        .discussion-room-btn.disabled {
            opacity: 0.4;
            cursor: not-allowed;
            pointer-events: none;
        }

        .discussion-room-btn.disabled:hover {
            opacity: 0.4;
            transform: none;
            box-shadow: none;
        }

        /* 뉴스 섹션과 공시 섹션 분할 */
        .news-section {
            flex: 1;
            margin-bottom: 20px;
            max-height: 300px;
            overflow: hidden; /* 스크롤 완전 차단 */
            /* 스크롤바 숨김 */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE/Edge */
        }

        .news-section::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

        /* 뉴스 탭 전체 스크롤 차단 */
        #news-tab {
            overflow: hidden; /* 스크롤 완전 차단 */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE/Edge */
        }

        #news-tab::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

        /* 뉴스/공시 컨테이너 - 세로 배치 */
        .news-disclosure-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
            height: 740px;
            align-items: stretch;
        }

        .news-card {
            height: 362px;
            flex-shrink: 0;
            background: #1a1a1a;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            border: 2px solid rgba(255, 71, 87, 0.2);
            display: flex;
            flex-direction: column;
        }

        .news-card .sidebar-header {
            background: #ff4757;
            color: #FFFFFF;
            height: 60px;
            min-height: 60px;
            max-height: 60px;
        }

        .news-card .tab-content {
            max-height: 302px;
            overflow-y: auto;
        }

        .disclosure-card {
            height: 362px;
            flex-shrink: 0;
            background: #1a1a1a;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            border: 2px solid rgba(255, 71, 87, 0.2);
            display: flex;
            flex-direction: column;
        }

        .disclosure-card .sidebar-header {
            background: #ff4757;
            color: #FFFFFF;
            height: 60px;
            min-height: 60px;
            max-height: 60px;
        }

        .disclosure-card .tab-content {
            max-height: 303px;
            overflow-y: auto;
        }

        .disclosure-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 15px;
            font-size: 14px;
            font-weight: 600;
            color: #FFFFFF;
        }

        .disclosure-header i {
            font-size: 16px;
        }

        /* 공시 카드 스타일 - 뉴스와 동일한 디자인 */

        .disclosure-item {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 18px;
            margin-bottom: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .disclosure-item {
            border-left: 4px solid #ffffff;
            transition: border-left-color 0.3s ease;
        }

        .disclosure-item:hover {
            border-left-color: #e53e3e;
        }

        .disclosure-item {
            position: relative;
        }

        .disclosure-item:hover {
            background: rgba(229, 62, 62, 0.12);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }

        .disclosure-time {
            font-size: 10px;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 6px;
        }

        .disclosure-title {
            font-size: 14px;
            font-weight: 600;
            color: #FFFFFF;
            text-decoration: none;
            line-height: 1.4;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            transition: color 0.3s ease;
            display: block;
            max-width: 380px;
            width: 100%;
            cursor: pointer;
        }

        .disclosure-title:hover {
            color: #f56565;
            text-decoration: none;
        }

        /* 팝업 헤더 버튼들 */
        .popup-header-buttons {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .popup-copy-btn {
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 6px;
            color: white;
            cursor: pointer;
            padding: 6px 12px;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .popup-copy-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-1px);
        }

        .popup-copy-btn:active {
            transform: translateY(0);
        }

        .popup-copy-btn.copied {
            background: #ffffff;
            border-color: #FFFFFF;
            color: #2d2d2d;
        }

        .popup-copy-btn.copied:hover {
            background: #f8f9fa;
            border-color: #f8f9fa;
        }

        /* 팝업창 스타일 */
        .popup-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
            z-index: 9999;
            display: none;
            justify-content: center;
            align-items: center;
        }

        .popup-window {
            width: 95%;
            max-width: 1400px;
            height: 85%;
            max-height: 900px;
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            position: relative;
            animation: popupSlideIn 0.3s ease-out;
            margin: 20px;
        }

        .popup-header {
            background: #ff4757;
            color: white;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 2px solid #e84545;
        }

        .popup-title {
            font-size: 16px;
            font-weight: 600;
            margin: 0;
        }

        .popup-close {
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s ease;
        }

        .popup-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .popup-iframe {
            width: 100%;
            height: calc(100% - 60px);
            border: none;
        }

        @keyframes popupSlideIn {
            from {
                opacity: 0;
                transform: scale(0.8) translateY(-50px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        /* 팝업창 반응형 - 비활성화 */
        @media (max-width: 0px) {
            .popup-window {
                width: 98%;
                height: 90%;
                margin: 10px;
                border-radius: 8px;
            }

            .popup-header {
                padding: 12px 15px;
            }

            .popup-title {
                font-size: 14px;
            }

            .popup-close {
                width: 28px;
                height: 28px;
                font-size: 20px;
            }
        }

        @media (max-width: 0px) {
            .popup-window {
                width: 100%;
                height: 100%;
                margin: 0;
                border-radius: 0;
            }

            /* 초소형 화면 최적화 */
            .header {
                height: 50px !important;
                padding: 6px 10px !important;
            }

            .main-content {
                padding: 10px !important;
                gap: 10px !important;
            }

            .ai-screen {
                height: 280px !important;
                min-height: 280px !important;
            }

            .ai-display {
                height: 220px !important;
            }

            .recommendation {
                height: 60px !important;
                min-height: 60px !important;
            }

            .vote-btn {
                padding: 5px 10px !important;
                font-size: 11px !important;
                min-height: 50px !important;
            }

            .sidebar {
                height: 250px !important;
                min-height: 250px !important;
            }

            .sidebar .tab-content {
                max-height: 200px !important;
            }

            .news-card, .disclosure-card {
                height: 250px !important;
                min-height: 250px !important;
            }

            .news-card .tab-content,
            .disclosure-card .tab-content {
                max-height: 200px !important;
            }

            .news-item, .disclosure-item {
                padding: 8px !important;
                margin-bottom: 6px !important;
                font-size: 11px !important;
            }

            .news-time, .disclosure-time {
                font-size: 9px !important;
            }

            .news-title, .disclosure-title {
                font-size: 11px !important;
            }

            .bottom-bar {
                height: 60px !important;
                padding: 6px 10px !important;
            }

            .bottom-controls button {
                padding: 6px 10px !important;
                font-size: 11px !important;
                min-width: 60px;
            }

            .sidebar-header {
                height: 50px !important;
                min-height: 50px !important;
                padding: 10px 15px !important;
                font-size: 16px !important;
            }

            .tab-button {
                padding: 8px 10px !important;
                font-size: 10px !important;
            }

            /* AI 분석 상태 더 작게 */
            div[style*="top: 120px"] {
                top: 40px !important;
                left: 8px !important;
                right: 8px !important;
            }

            div[style*="top: 120px"] > div {
                padding: 4px 8px !important;
                font-size: 9px !important;
            }

            div[style*="top: 120px"] div[style*="font-size: 16px"],
            div[style*="top: 120px"] div[style*="font-size: 13px"] {
                font-size: 8px !important;
            }

            /* 관련주/관련테마 더 작게 */
            div[style*="bottom: 20px"] {
                bottom: 3px !important;
                left: 8px !important;
                right: 8px !important;
                max-height: 50px !important;
            }

            div[style*="width: 90px"] {
                width: 50px !important;
            }

            div[style*="max-width: 55px"] {
                max-width: 30px !important;
                font-size: 8px !important;
            }

            div[style*="min-width: 30px"] {
                min-width: 15px !important;
                font-size: 7px !important;
            }

            span[style*="padding: 4px 10px"] {
                padding: 1px 3px !important;
                font-size: 7px !important;
            }

            .logo {
                font-size: 16px;
            }

            /* 초소형 화면 종목 정보 */
            .stock-info-overlay > div {
                padding: 8px 12px !important;
                gap: 6px !important;
            }

            .stock-name-display {
                font-size: 18px !important;
            }

            .stock-code-display {
                font-size: 14px !important;
            }

            .stock-price-display {
                font-size: 16px !important;
            }

            .stock-change-display {
                font-size: 14px !important;
            }

            /* AI 분석 영역 더 작게 */
            div[style*="top: 120px"] {
                top: 80px !important;
                left: 10px !important;
                right: 10px !important;
            }

            div[style*="top: 120px"] > div {
                padding: 10px 15px !important;
            }

            div[style*="top: 120px"] div[style*="font-size: 16px"] {
                font-size: 13px !important;
            }

            div[style*="top: 120px"] div[style*="font-size: 13px"] {
                font-size: 11px !important;
            }


            /* 관련주/관련테마 더 작게 */
            div[style*="bottom: 20px"] {
                bottom: 5px !important;
                left: 10px !important;
                right: 10px !important;
                gap: 4px !important;
                max-height: 120px !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
                display: flex !important;
                flex-wrap: wrap !important;
            }

            div[style*="bottom: 20px"] > div {
                padding: 10px !important;
            }

            /* 관련주 종목 더 작게 */
            div[style*="width: 90px"] {
                width: 70px !important;
            }

            div[style*="max-width: 55px"] {
                max-width: 40px !important;
                font-size: 10px !important;
            }

            div[style*="min-width: 30px"] {
                min-width: 20px !important;
                font-size: 9px !important;
            }

            /* 관련테마 태그 더 작게 */
            span[style*="padding: 4px 10px"] {
                padding: 2px 4px !important;
                font-size: 9px !important;
                border-radius: 8px !important;
                margin: 1px !important;
            }

            .bottom-controls {
                padding: 8px 10px;
                gap: 6px;
            }

            .control-btn {
                padding: 8px 12px;
                font-size: 12px;
                min-width: 60px;
            }
        }

        .news-summary {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.4;
            margin-bottom: 6px;
        }

        .news-link a {
            display: inline-block;
            color: #FFFFFF;
            text-decoration: none;
            font-size: 11px;
            font-weight: 600;
            padding: 6px 14px;
            border: none;
            border-radius: 4px;
            transition: all 0.3s ease;
            background: #ff4757;
            box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
        }

        .news-link a:hover {
            background: #ff6b7a;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
        }

        .news-meta {
            display: none;
        }

        .news-source {
            font-weight: 500;
        }

        .news-time {
            color: rgba(255, 255, 255, 0.5);
        }

        /* 추천/비추천 */
        .recommendation {
            padding: 20px;
            display: flex;
            gap: 12px;
            flex-shrink: 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .vote-btn {
            flex: 1;
            padding: 12px 8px;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            font-weight: bold;
            font-size: 16px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            white-space: nowrap;
            min-height: 45px;
        }

        .like-btn {
            background: #ff4757;
            color: white;
        }

        .dislike-btn {
            background: #3742fa;
            color: white;
        }

        .profit-btn {
            background: #ff4757;
            color: white;
        }

        .loss-btn {
            background: #3742fa;
            color: white;
        }

        .neutral-btn {
            background: #57606f;
            color: white;
        }

        .vote-content {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 8px;
            flex: 1;
        }

        .live-recommendation .vote-btn i {
            font-size: 16px;
            margin-right: 8px;
        }

        .live-recommendation .vote-btn {
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            padding-left: 15px;
            padding-right: 15px;
        }

        .vote-content {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 15px;
            font-weight: 600;
        }

        .live-recommendation .vote-btn small {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 600;
        }


        .record-date {
            font-size: 14px;
            font-weight: bold;
            color: #00d4ff;
            margin-bottom: 10px;
            text-align: center;
            padding-bottom: 6px;
            border-bottom: 1px solid rgba(0, 212, 255, 0.3);
        }

        .record-info {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .record-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
        }

        .record-label {
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
        }

        .record-value {
            color: #fff;
            font-weight: 600;
            text-align: right;
        }

        .buy-price {
            color: #ff4757;
        }

        .sell-price {
            color: #3742fa;
        }

        .profit-rate {
            color: #ff4757;
            font-weight: bold;
        }

        .loss-rate {
            color: #3742fa;
            font-weight: bold;
        }

        .profit-amount {
            color: #ff4757;
            font-weight: bold;
        }

        .loss-amount {
            color: #3742fa;
            font-weight: bold;
        }

        .vote-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        .vote-btn:active {
            transform: translateY(0);
        }

        /* 하단 컨트롤 */
        .bottom-controls {
            background: #2d2d2d;
            padding: 7px 20px;
            border-top: 2px solid rgba(255, 71, 87, 0.2);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .disclaimer {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.6);
            text-align: center;
            flex: 1;
            margin: 0 20px;
        }

        .control-group {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .control-btn {
            padding: 12px 20px;
            background: #ff4757;
            color: white;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-weight: bold;
            font-size: 14px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
        }

        .control-btn:hover {
            transform: translateY(-2px);
            background: #e84545;
            box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
        }

        .sound-controls {
            display: flex;
            gap: 10px;
        }

        .sound-btn {
            width: 35px;
            height: 35px;
            background: #2d2d2d;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            color: rgba(255, 255, 255, 0.8);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
        }

        .sound-btn.active {
            border-color: #ff4757;
            color: #ff4757;
            background: #2d2d2d;
        }

        .sound-btn:hover {
            border-color: rgba(255, 255, 255, 0.5);
            background: #2d2d2d;
        }

        /* 툴팁 스타일 */
        .sound-btn {
            position: relative;
        }

        .sound-btn::after {
            content: attr(tip);
            position: absolute;
            top: -35px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.9);
            color: white;
            padding: 6px 10px;
            border-radius: 6px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            z-index: 1000;
        }

        .sound-btn:hover::after {
            opacity: 1;
        }

        /* 종목 포착 대기중 라이브 전체 오버레이 */
        .waiting-live-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(15, 15, 15, 0.9);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 500;
            overflow: hidden;
        }
        
        .waiting-content {
            text-align: center;
        }
        
        .waiting-icon {
            width: 60px;
            height: 60px;
            border: 4px solid #333;
            border-top: 4px solid #ff4757;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px auto;
        }
        
        .waiting-title {
            color: #fff;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .waiting-subtitle {
            color: #888;
            font-size: 14px;
        }
        
        .waiting-dots {
            display: none;
        }
        
        .waiting-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: linear-gradient(45deg, #dc3545, #ff4757);
            animation: dotBounce 1.8s ease-in-out infinite both;
            box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
        }
        
        .waiting-dot:nth-child(2) {
            animation-delay: 0.3s;
        }
        
        .waiting-dot:nth-child(3) {
            animation-delay: 0.6s;
        }
        
        @keyframes contentPulse {
            0%, 100% { 
                transform: scale(1); 
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            }
            50% { 
                transform: scale(1.02); 
                box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
            }
        }
        
        @keyframes iconSearch {
            0%, 100% { 
                transform: rotate(0deg) scale(1);
                color: #dc3545;
            }
            25% { 
                transform: rotate(-10deg) scale(1.1);
                color: #ff4757;
            }
            50% { 
                transform: rotate(0deg) scale(1.05);
                color: #dc3545;
            }
            75% { 
                transform: rotate(10deg) scale(1.1);
                color: #ff4757;
            }
        }
        
        @keyframes dotBounce {
            0%, 70%, 100% { 
                transform: scale(0.6) translateY(0);
                opacity: 0.7;
            }
            35% { 
                transform: scale(1.2) translateY(-10px);
                opacity: 1;
            }
        }
        
        /* 툴팁 화살표 */
        .sound-btn::before {
            content: '';
            position: absolute;
            top: -23px;
            left: 50%;
            transform: translateX(-50%);
            border: 6px solid transparent;
            border-top-color: rgba(0, 0, 0, 0.9);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            z-index: 1000;
        }

        .sound-btn:hover::before {
            opacity: 1;
        }

        /* 주식 가격 색상 클래스 */
        .current-price.flat, .change-rate.flat, .program-count.flat {
            color: #000000 !important; /* 보합: 검은색 */
        }

        .current-price.up, .change-rate.up, .program-count.up {
            color: #dc3545 !important; /* 상승: 빨간색 */
        }

        .current-price.down, .change-rate.down, .program-count.down {
            color: #0066ff !important; /* 하락: 파란색 */
        }


        /* 종목분석 스타일과 동일한 알림 카드 + 공간 효율성 */
        .alert-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 8px;
            border-left: 4px solid #00d4ff;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .alert-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        }

        .alert-card.buy {
            border-left-color: #ff4757;
        }

        .alert-card.sell {
            border-left-color: #3742fa;
        }

        .alert-card.vi {
            border-left-color: #ffd700;
        }

        .alert-card.market {
            border-left-color: #00ff88;
        }


        /* 시간 표시 - 간단하고 깔끔하게 */
        .alert-time-relative {
            font-size: 9px;
            color: rgba(255, 255, 255, 0.6);
            font-weight: normal;
        }

        .alert-title {
            font-size: 13px;
            color: #00d4ff;
            margin-bottom: 8px;
            font-weight: bold;
            text-align: center;
        }

        .alert-card.buy .alert-title {
            color: #ff4757;
        }

        .alert-card.sell .alert-title {
            color: #3742fa;
        }

        .alert-card.vi .alert-title {
            color: #ffd700;
        }

        .alert-card.market .alert-title {
            color: #00ff88;
        }

        .alert-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 6px;
            padding: 6px 8px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 4px;
        }

        .alert-label {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 500;
        }

        .alert-value {
            font-size: 11px;
            font-weight: bold;
            text-align: right;
        }

        .alert-value.buy {
            color: #ff4757;
        }

        .alert-value.sell {
            color: #3742fa;
        }

        .alert-value.neutral {
            color: #ffa500;
        }

        .alert-value span {
            font-size: 10px;
            color: rgba(255, 255, 255, 0.6);
            font-weight: normal;
        }

        /* 타임라인 알림 스타일 - 큰 폰트, 사용자 친화적 */
        .timeline-alert {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 15px;
            padding: 18px 20px;
            margin-bottom: 12px;
            border-left: 5px solid #00d4ff;
            display: flex;
            align-items: center;
            gap: 20px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }


        .timeline-time {
            font-size: 18px;
            font-weight: 700;
            color: #00d4ff;
            min-width: 60px;
            text-align: center;
            background: rgba(0, 212, 255, 0.15);
            border-radius: 8px;
            padding: 8px 12px;
            border: 1px solid rgba(0, 212, 255, 0.3);
        }

        .timeline-content {
            flex: 1;
        }

        .timeline-title {
            font-size: 17px;
            font-weight: 600;
            color: #FFFFFF;
            margin-bottom: 4px;
            line-height: 1.2;
        }

        .timeline-desc {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.75);
            font-weight: 400;
            line-height: 1.4;
            white-space: pre-wrap;
            word-wrap: break-word;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            max-height: calc(1.4em * 3);
        }

        /* 타임라인 알림 타입별 색상 */
        .timeline-alert.buy {
            border-left-color: #ff4757;
        }

        .timeline-alert.buy .timeline-time {
            color: #ff4757;
            background: rgba(255, 71, 87, 0.15);
            border-color: rgba(255, 71, 87, 0.3);
        }

        .timeline-alert.sell {
            border-left-color: #3742fa;
        }

        .timeline-alert.sell .timeline-time {
            color: #3742fa;
            background: rgba(55, 66, 250, 0.15);
            border-color: rgba(55, 66, 250, 0.3);
        }

        .timeline-alert.vi {
            border-left-color: #ffd700;
        }

        .timeline-alert.vi .timeline-time {
            color: #ffd700;
            background: rgba(255, 215, 0, 0.15);
            border-color: rgba(255, 215, 0, 0.3);
        }

        .timeline-alert.highlight {
            border-left-color: #00ff88;
            background: rgba(0, 255, 136, 0.08);
        }

        .timeline-alert.highlight .timeline-time {
            color: #00ff88;
            background: rgba(0, 255, 136, 0.15);
            border-color: rgba(0, 255, 136, 0.3);
            font-size: 19px;
        }

        .timeline-alert.highlight .timeline-title {
            color: #00ff88;
            font-size: 18px;
        }

        .timeline-alert.white {
            border-left-color: #FFFFFF;
            background: rgba(255, 255, 255, 0.08);
        }

        .timeline-alert.white .timeline-time {
            color: #FFFFFF;
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .timeline-alert.white .timeline-title {
            color: #FFFFFF;
        }

        /* 맨 위 최신 알림에만 빨간 네온사인 효과 */
        .timeline-alert:first-child,
        .alert-card:first-child {
            animation: redNeonPulse 1.5s ease-in-out infinite;
            border-left-width: 4px;
            border-left-color: #ff0040 !important;
        }

        /* 최신 알림 시간/제목은 네온 효과 제거 */
        .timeline-alert:first-child .timeline-time {
            color: #ffffff !important;
            background: #ff4757 !important;
            border: 1px solid #ff4757 !important;
            font-weight: 900 !important;
            text-shadow: none !important;
        }

        .timeline-alert:first-child .timeline-title {
            color: #ff4757 !important;
            font-weight: 700 !important;
        }

        .timeline-alert:first-child .timeline-desc {
            color: #ffffff !important;
        }

        @keyframes redNeonPulse {
            0%, 100% { 
                border-left-width: 4px;
                box-shadow: 
                    0 0 3px #ff0040,
                    0 0 6px rgba(255, 0, 64, 0.5);
                transform: scale(1);
            }
            50% { 
                border-left-width: 4px;
                box-shadow: 
                    0 0 5px #ff0040,
                    0 0 10px rgba(255, 0, 64, 0.7);
                transform: scale(1);
            }
        }

        /* 애니메이션 */
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        @keyframes glow {
            0% { box-shadow: 0 10px 40px rgba(255, 71, 87, 0.3), 0 0 20px rgba(255, 71, 87, 0.1); }
            100% { box-shadow: 0 15px 50px rgba(255, 71, 87, 0.5), 0 0 30px rgba(255, 71, 87, 0.2); }
        }

        @keyframes aiPulse {
            0%, 100% { transform: scale(1); opacity: 0.8; }
            50% { transform: scale(1.1); opacity: 1; }
        }

        @keyframes livePulse {
            0%, 100% { 
                box-shadow: 0 0 15px rgba(255,0,0,0.5);
                transform: scale(1);
            }
            50% { 
                box-shadow: 0 0 25px rgba(255,0,0,0.8), 0 0 35px rgba(255,0,0,0.4);
                transform: scale(1.02);
            }
        }

        @keyframes blinkFast {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.3; transform: scale(0.8); }
        }



        /* 토스트 알림 */
        .toast {
            position: fixed;
            top: 16px;
            right: 20px;
            background: #2d2d2d;
            color: white;
            padding: 15px 20px;
            border-radius: 10px;
            z-index: 10000;
            font-size: 14px;
            line-height: 7px;
            backdrop-filter: blur(10px);
            border: 2px solid #ff4757;
            box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
            opacity: 0;
            transform: translateY(-20px);
            transition: all 0.3s ease;
        }



        /* 스크롤바 */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb {
            background: #666;
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #ff4757;
        }

        /* 모바일 최적화 - 비활성화 */
        @media (max-width: 0px) {
            .main-content {
                grid-template-columns: 1fr;
                gap: 15px;
                padding: 15px;
            }

            .ai-screen {
                order: -1;
            }
        }

        @media (max-width: 0px) {
            .main-content {
                grid-template-columns: 1.2fr 450px 450px !important;
            }
        }

        /* 아이폰 SE 등 초소형 화면용 (375px 이하) */
        @media (max-width: 0px) {
            /* 1. 라이브 카드 (아이폰 SE용) */
            .ai-screen {
                height: 600px !important;
                min-height: 600px !important;
                max-height: 600px !important;
            }

            .ai-display {
                height: 70% !important;
                flex: 0 0 70% !important;
            }

            /* 모바일에서 차트 영역 더 작게 */
            .ai-display > div:first-child + div + div + div > div:nth-child(2) {
                height: 100px !important;
            }

            /* 관련주/테마 카드 더 위로 */
            .ai-display > div:last-child {
                bottom: 30px !important;
                gap: 6px !important;
            }

            /* 관련주/테마 카드 더 컴팩트하게 */
            .ai-display > div:last-child > div {
                padding: 8px !important;
                min-height: 35px !important;
            }

            /* 관련주/테마 텍스트 더 작게 */
            .ai-display > div:last-child > div > div:first-child {
                font-size: 10px !important;
            }

            .ai-display > div:last-child > div:first-child span {
                font-size: 8px !important;
            }

            .ai-display > div:last-child > div:last-child span {
                font-size: 7px !important;
                padding: 2px 4px !important;
            }

            /* 버튼 영역 조정 */
            .live-bottom-card {
                height: 30% !important;
                min-height: 160px !important;
                padding: 10px !important;
            }

            .viewer-info {
                font-size: 14px !important;
                padding: 8px 0 !important;
                min-height: 35px !important;
            }

            .live-recommendation .vote-btn {
                padding: 12px 8px !important;
                font-size: 14px !important;
                min-height: 50px !important;
            }
        }

        @media (max-width: 480px) {
            /* 모바일 기본 설정 - 세로 스크롤 허용 */
            body {
                overflow-x: hidden !important;
                overflow-y: auto !important;
                margin: 0;
                padding: 0;
                min-height: 100vh;
                min-width: auto !important; /* PC 고정 너비 무시 */
                zoom: 0.3; /* 모바일 적절한 크기 */
            }

            .container {
                min-height: 100vh !important;
                overflow: visible !important;
                padding: 0;
                margin: 0;
                display: flex;
                flex-direction: column;
            }

            /* 헤더 모바일 최적화 */
            .header {
                height: auto !important;
                min-height: 80px !important;
                padding: 15px 20px !important;
                flex-shrink: 0;
                box-sizing: border-box;
            }

            .header-content {
                flex-wrap: wrap;
                gap: 8px;
            }

            .logo {
                font-size: 16px;
            }

            .viewer-count {
                padding: 4px 8px;
                font-size: 11px;
            }

            /* 메인 콘텐츠 - 세로 배치 */
            .main-content {
                display: flex !important;
                flex-direction: column !important;
                gap: 15px !important;
                padding: 15px !important;
                box-sizing: border-box;
                overflow: visible !important;
                min-height: auto !important;
                height: auto !important;
                min-width: auto !important; /* PC 고정 너비 무시 */
                width: 100% !important;
            }

            /* 모바일에서 강제 순서 지정 */
            .mobile-order-1 {
                order: 1 !important;
            }

            .mobile-order-2 {
                order: 2 !important;
            }

            .mobile-order-3 {
                order: 3 !important;
            }

            .mobile-order-4 {
                order: 999 !important;
            }

            /* 모바일 순서 설정 */
            /* 1. AI 화면 (맨 위) */
            .ai-screen {
                order: 1 !important;
            }
            
            /* 2. 실시간 알림 */
            .sidebar:not(.analysis-sidebar) {
                order: 2 !important;
            }
            
            /* 3. 뉴스/공시 컨테이너 */
            .news-disclosure-container {
                order: 3 !important;
            }
            
            /* 4. 종목분석을 확실히 맨 마지막으로 */
            .analysis-sidebar,
            .sidebar.analysis-sidebar,
            div.sidebar.analysis-sidebar,
            .main-content .analysis-sidebar {
                order: 999 !important;
                -webkit-order: 999 !important;
                -moz-order: 999 !important;
                margin-top: 15px !important;
                display: block !important;
                visibility: visible !important;
                position: relative !important;
            }

            /* 모바일에서 종목분석 내부 최적화 */
            .analysis-sidebar #analysis-tab {
                padding: 15px !important;
            }

            /* 모바일에서 건강도 점수 그리드 최적화 */
            .analysis-sidebar [style*="grid-template-columns: 1fr 1fr 1fr"] {
                grid-template-columns: 1fr 1fr !important;
                gap: 10px !important;
            }

            /* 종목분석 사이드바 강제 표시 */
            .analysis-sidebar,
            .sidebar.analysis-sidebar {
                opacity: 1 !important;
                transform: none !important;
                width: 100% !important;
                height: auto !important;
                overflow: visible !important;
                z-index: 1 !important;
            }

            /* 종목 건강도 점수 강제 표시 */
            .analysis-sidebar .tab-content,
            .analysis-sidebar #analysis-tab {
                display: block !important;
                visibility: visible !important;
                opacity: 1 !important;
            }

            /* 모바일 라이브 화면 - 관련주까지 다 보이게 */
            .ai-screen {
                width: 100% !important;
                height: 2000px !important;
                min-height: 2000px !important;
                margin-bottom: 20px;
                display: flex !important;
                flex-direction: column !important;
            }

            .ai-display {
                height: 100% !important; /* 전체 높이 사용 */
                flex: 1 !important;
                position: relative !important;
                overflow: hidden;
                background: transparent !important; /* 모바일에서 흰색 배경 제거 */
            }

            /* 모바일에서 배경패턴 숨기기 */
            .ai-display > div[style*="repeating-linear-gradient"] {
                display: none !important;
            }

            /* 모바일에서 종목 정보 폰트 크기 적당히 조정 */
            .ai-display div[style*="font-size: 18px"] {
                font-size: 16px !important;
            }
            .ai-display div[style*="font-size: 10px"] {
                font-size: 9px !important;
            }

            /* 모바일에서 수익/손실/관망 버튼 영역 */
            .live-bottom-card {
                height: auto !important;
                flex: 0 0 auto !important;
                min-height: 120px !important;
                max-height: 150px !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: flex-end !important;
                padding: 10px !important;
                margin-top: 10px !important;
            }

            /* 모바일에서 수익/손실/관망 버튼 크기 조정 */
            .live-recommendation {
                height: auto !important;
                gap: 10px !important;
                margin-top: 10px !important;
            }

            .live-recommendation .vote-btn {
                padding: 18px 12px !important;
                font-size: 16px !important;
                min-height: 60px !important;
                border-radius: 10px !important;
            }

            .viewer-info {
                font-size: 16px !important;
                margin-bottom: 15px !important;
                margin-top: auto !important;
                padding: 12px 0 !important;
                text-align: center !important;
                background: rgba(255, 255, 255, 0.1) !important;
                border-radius: 8px !important;
                min-height: 45px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }

            /* 모바일 AI 화면 내부 요소들 최적화 */
            .ai-display {
                position: relative !important;
            }

            /* 모바일에서 종목 정보 오버레이 최적화 */
            .ai-display > div:first-child + div + div {
                top: 10px !important;
                left: 10px !important;
                right: 10px !important;
                padding: 8px 15px !important;
            }

            /* 모바일에서 종목 정보 내부 요소들 */
            .ai-display > div:first-child + div + div > div {
                border-radius: 20px !important;
                padding: 8px 15px !important;
                gap: 10px !important;
            }

            /* 모바일에서 종목 정보 텍스트 크기 */
            .ai-display .stock-name-display,
            .ai-display .stock-code-display {
                font-size: 14px !important;
                font-weight: 700 !important;
            }

            .ai-display .stock-price-display {
                font-size: 16px !important;
                font-weight: 800 !important;
            }

            .ai-display .stock-change-display {
                font-size: 14px !important;
                font-weight: 700 !important;
            }

            /* 모바일에서 AI 분석 및 차트 영역 최적화 */
            .ai-display > div:first-child + div + div + div {
                top: 80px !important;
                left: 10px !important;
                right: 10px !important;
                gap: 10px !important;
            }

            /* 모바일에서 AI 분석 상태 카드 */
            .ai-display > div:first-child + div + div + div > div:first-child {
                padding: 12px !important;
                margin-bottom: 0 !important;
            }

            /* 모바일에서 AI 분석 상태 텍스트 */
            .ai-display > div:first-child + div + div + div > div:first-child > div:first-child {
                font-size: 14px !important;
                margin-bottom: 3px !important;
            }

            .ai-display > div:first-child + div + div + div > div:first-child > div:last-child {
                font-size: 11px !important;
            }

            /* 모바일에서 차트 영역 */
            .ai-display > div:first-child + div + div + div > div:nth-child(2) {
                height: 120px !important;
                margin: 0 !important;
            }

            /* 모바일에서 테마 및 관련주 오버레이 최적화 */
            .ai-display > div:last-child {
                bottom: 40px !important;
                left: 10px !important;
                right: 10px !important;
                gap: 10px !important;
            }

            /* 모바일에서 관련주/테마 카드 */
            .ai-display > div:last-child > div {
                padding: 12px !important;
                border-radius: 12px !important;
                min-height: 45px !important;
            }

            /* 모바일에서 관련주/테마 카드 텍스트 크기 */
            .ai-display > div:last-child > div > div:first-child {
                font-size: 12px !important;
            }

            /* 모바일에서 관련주 데이터 */
            .ai-display > div:last-child > div:first-child span {
                font-size: 10px !important;
            }

            /* 모바일에서 테마 태그들 */
            .ai-display > div:last-child > div:last-child span {
                font-size: 9px !important;
                padding: 3px 6px !important;
                margin: 1px !important;
            }

            /* 종목 정보 오버레이 모바일 최적화 */
            .stock-info-overlay {
                position: absolute !important;
                top: 10px !important;
                left: 10px !important;
                right: 10px !important;
                z-index: 10 !important;
            }

            .stock-info-overlay > div {
                flex-direction: row !important;
                flex-wrap: wrap !important;
                gap: 6px !important;
                padding: 8px 12px !important;
                border-radius: 8px !important;
            }

            .stock-name-display,
            .stock-code-display,
            .stock-price-display,
            .stock-change-display {
                font-size: 13px !important;
                padding: 2px 4px !important;
            }

            /* AI 분석 상태 컴팩트 */
            div[style*="top: 120px"] {
                position: absolute !important;
                top: 50px !important;
                left: 10px !important;
                right: 10px !important;
                z-index: 9 !important;
            }

            div[style*="top: 120px"] > div {
                padding: 6px 10px !important;
                border-radius: 6px !important;
                font-size: 11px !important;
            }

            div[style*="top: 120px"] div[style*="font-size: 16px"],
            div[style*="top: 120px"] div[style*="font-size: 13px"] {
                font-size: 10px !important;
            }


            /* 관련주/관련테마 영역 - 하단 고정 */
            div[style*="bottom: 20px"] {
                position: absolute !important;
                bottom: 5px !important;
                left: 10px !important;
                right: 10px !important;
                gap: 3px !important;
                max-height: 100px !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
                z-index: 8 !important;
                display: flex !important;
                flex-wrap: wrap !important;
                justify-content: flex-start !important;
            }

            div[style*="bottom: 20px"] > div {
                padding: 4px 6px !important;
                border-radius: 6px !important;
                font-size: 9px !important;
                white-space: nowrap !important;
                flex-shrink: 0 !important;
                max-width: 120px !important;
                text-overflow: ellipsis !important;
                overflow: hidden !important;
            }

            /* 관련주 종목 작게 */
            div[style*="width: 90px"] {
                width: 60px !important;
            }

            div[style*="max-width: 55px"] {
                max-width: 35px !important;
                font-size: 9px !important;
            }

            div[style*="min-width: 30px"] {
                min-width: 20px !important;
                font-size: 8px !important;
            }

            span[style*="padding: 4px 10px"] {
                padding: 2px 4px !important;
                font-size: 8px !important;
                border-radius: 6px !important;
            }

            /* 수익/손실/관망 버튼 */
            .recommendation {
                height: 15% !important;
                min-height: 15% !important;
                max-height: 15% !important;
                margin: 0 !important;
                flex-shrink: 0;
                box-sizing: border-box;
            }

            .vote-buttons {
                gap: 4px !important;
                height: 100%;
            }

            .vote-btn {
                padding: 4px 8px !important;
                font-size: 11px !important;
                min-height: 35px !important;
                flex: 1;
            }

            /* 사이드바 컨테이너 숨기기 */
            .sidebar-container {
                display: none !important;
            }

            /* 모바일 실시간 수급현황 - 5개까지 보이게 */
            .sidebar {
                display: block !important;
                width: 100% !important;
                height: 1200px !important;
                min-height: 1200px !important;
                margin-bottom: 20px;
            }

            .sidebar .tab-content {
                max-height: 1100px !important;
                overflow-y: auto !important;
            }

            /* 모바일에서 뉴스/공시 컨테이너 */
            .news-disclosure-container {
                display: flex !important;
                width: 100% !important;
                height: auto !important;
                flex-direction: column !important;
                gap: 15px !important;
                margin-bottom: 15px;
            }

            /* 모바일에서 불필요한 버튼들 숨기기 */
            .discussion-room-btn {
                display: none !important;
            }
            
            #fullscreenBtn {
                display: none !important;
            }

            /* 모바일에서 하단 텍스트 폰트 크기 적절히 조정 */
            .disclaimer {
                font-size: 9px !important;
                line-height: 1.1 !important;
            }

            /* 모바일 뉴스/공시 - 3개씩 여유있게 보이게 */
            .news-card, .disclosure-card {
                height: 500px !important;
                min-height: 500px !important;
                width: 100% !important;
                margin-bottom: 25px;
            }

            .news-card .tab-content,
            .disclosure-card .tab-content {
                max-height: 450px !important;
                overflow-y: auto !important;
                padding: 15px !important;
            }

            .news-item,
            .disclosure-item {
                padding: 12px !important;
                margin-bottom: 10px !important;
                font-size: 13px !important;
            }

            .news-time,
            .disclosure-time {
                font-size: 11px !important;
            }

            .news-title,
            .disclosure-title {
                font-size: 13px !important;
                line-height: 1.4 !important;
            }

            /* 하단바 */
            .bottom-bar {
                height: 70px !important;
                min-height: 70px !important;
                padding: 10px 15px !important;
                flex-shrink: 0;
                box-sizing: border-box;
            }

            .bottom-controls {
                padding: 0 !important;
                gap: 10px !important;
                flex-wrap: wrap;
            }

            .bottom-controls button {
                padding: 8px 15px !important;
                font-size: 13px !important;
                min-width: 80px;
                border-radius: 15px;
            }

            .live-viewer-overlay {
                bottom: 25px !important;
                right: 25px !important;
                padding: 8px 12px !important;
                font-size: 13px !important;
            }

            /* 사이드바 헤더 */
            .sidebar-header {
                height: 60px !important;
                min-height: 60px !important;
                padding: 15px 20px !important;
                font-size: 18px !important;
                font-weight: 600;
            }

            /* 탭 버튼들 */
            .tab-button {
                padding: 10px 15px !important;
                font-size: 12px !important;
                margin: 0 5px !important;
            }
        }

        .hidden {
            display: none !important;
        }

        /* 종목명/종목코드 호버 효과 */
        /* #stockNameDisplay:hover {
            background: rgba(220, 53, 69, 0.1) !important;
            border-radius: 4px !important;
            transform: scale(1.05);
        }

        #stockCodeDisplay:hover {
            background: rgba(220, 53, 69, 0.1) !important;
            border-radius: 4px !important;
            transform: scale(1.05);
        } */

        /* 모바일 매매일지 버튼 최적화 */
        @media (max-width: 768px) {
            .header-center {
                gap: 8px !important;
            }

        }

        @media (max-width: 480px) {
            .header-center {
                gap: 6px !important;
            }

        }



