

/* Start:/local/components/china/stocks/templates/.default/style.css?17729987098165*/
.stk-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

/* Хлебные крошки */
.stk-breadcrumbs {
    padding: 20px 0;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}
.stk-breadcrumbs a {
    color: #c62828;
    text-decoration: none;
}
.stk-breadcrumbs span {
    margin: 0 5px;
    color: #999;
}

/* Баннер */
.stk-banner {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    border-radius: 16px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}
.stk-banner__title {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 10px;
}
.stk-banner__subtitle {
    font-size: 18px;
    opacity: 0.8;
    margin: 0;
}

/* Бегущая строка */
.stk-ticker-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
}
.stk-ticker {
    display: inline-block;
    animation: ticker 30s linear infinite;
}
.stk-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 40px;
    font-size: 14px;
    font-weight: 600;
}
.stk-ticker__val { color: #fff; }
.stk-up { color: #25c244; }
.stk-down { color: #cf0a2c; }

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Поиск */
.stk-search-bar {
    margin-bottom: 30px;
}
.stk-search-bar form {
    display: flex;
    gap: 10px;
}
.stk-search-input {
    flex-grow: 1;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}
.stk-search-input:focus {
    border-color: #c62828;
}
.stk-search-btn {
    padding: 0 30px;
    background: #c62828;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}
.stk-search-btn:hover {
    background: #b71c1c;
}

/* Секции */
.stk-section { margin-bottom: 40px; }
.stk-section__title { font-size: 24px; margin-bottom: 20px; }

/* Сетка отраслей (4 в ряд) */
.stk-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stk-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}
.stk-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 15px;
}
.stk-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-color: #c62828;
}
.stk-card__icon {
    color: #c62828;
    display: flex;
}
.stk-card__name { font-weight: 600; }

/* Таблица */
.stk-table-wrap {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
}
.stk-table {
    width: 100%;
    border-collapse: collapse;
}
.stk-table th {
    text-align: left;
    padding: 15px 20px;
    background: #f9f9f9;
    color: #666;
    font-weight: 600;
    font-size: 13px;
}
.stk-table td {
    padding: 15px 20px;
    border-top: 1px solid #eee;
}
.stk-table tr:hover {
    background: #fcfcfc;
    cursor: pointer;
}
.stk-ticker-badge {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
}
.stk-company-name { display: flex; flex-direction: column; }
.stk-company-ind { font-size: 12px; color: #999; }

/* Блюр и замок */
.stk-locked-cell {
    position: relative;
    display: inline-block;
    cursor: help;
}
.stk-blur {
    filter: blur(4px);
    opacity: 0.5;
    user-select: none;
}
.stk-lock-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

/* Детальная страница */
.stk-stock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.stk-stock-header__title { font-size: 32px; margin: 0; display: flex; align-items: center; gap: 15px; }
.stk-stock-header__ticker { 
    font-size: 16px; 
    background: #eee; 
    padding: 4px 10px; 
    border-radius: 6px; 
    color: #666; 
    font-weight: normal;
}
.stk-stock-header__price-block { display: flex; align-items: baseline; gap: 15px; margin-top: 5px; }
.stk-stock-header__price { font-size: 28px; font-weight: 700; }
.stk-stock-header__change { font-size: 18px; font-weight: 600; }

.stk-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.stk-btn--primary { background: #c62828; color: #fff; }
.stk-btn--primary:hover { background: #b71c1c; }
.stk-btn--outline { background: transparent; border: 1px solid #ddd; color: #333; }
.stk-btn--outline:hover { border-color: #333; }

/* График */
.stk-chart-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}
.stk-chart-header { margin-bottom: 20px; }
.stk-chart-tabs { display: flex; gap: 5px; }
.stk-chart-tab {
    padding: 6px 12px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
}
.stk-chart-tab.active { background: #333; color: #fff; border-color: #333; }

/* Карточки статистики */
.stk-stat-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.stk-stat-card__label { display: block; font-size: 13px; color: #888; margin-bottom: 5px; }
.stk-stat-card__val { font-size: 18px; font-weight: 700; }

/* Голосование */
.stk-vote-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin: 30px 0;
}
.stk-vote-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 15px; }
.stk-vote-btn {
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s;
}
.stk-vote-btn:active { transform: scale(0.98); }
.stk-vote-btn--bull { background: #e6f9e9; color: #25c244; border: 1px solid #25c244; }
.stk-vote-btn--bear { background: #fbeaea; color: #cf0a2c; border: 1px solid #cf0a2c; }

/* Табы */
.stk-tabs__nav {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.stk-tab-link {
    padding: 15px 25px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: #666;
}
.stk-tab-link.active { color: #c62828; border-bottom-color: #c62828; }
.stk-tab-content { display: none; }
.stk-tab-content.active { display: block; }

/* Заблокированный контент */
.stk-locked-block {
    position: relative;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}
.stk-locked-block__blur {
    padding: 30px;
    filter: blur(6px);
    user-select: none;
    opacity: 0.6;
}
.stk-locked-block__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.4);
    z-index: 2;
}
.stk-lock-msg {
    text-align: center;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 300px;
}
.stk-lock-icon-lg { font-size: 32px; display: block; margin-bottom: 10px; }
.stk-lock-msg h3 { margin: 0 0 10px; }
.stk-lock-msg p { font-size: 14px; color: #666; margin-bottom: 20px; }
.stk-fake-chart {
    height: 200px;
    background: #eee;
    margin: 20px 0;
    border-radius: 8px;
}

/* End */
/* /local/components/china/stocks/templates/.default/style.css?17729987098165 */
