/* ==================== 基础样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: #001324;
    color: #e8eaed;
    overflow-x: hidden;
}

/* 动态背景 */
.tech-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #001324;
    z-index: -2;
}

.tech-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 255, 0.02) 2px, rgba(0, 255, 255, 0.02) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 255, 255, 0.02) 2px, rgba(0, 255, 255, 0.02) 4px);
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

/* ==================== 顶部导航栏 ==================== */
.tech-navbar {
    background: rgba(0, 30, 60, 0.5);
    border-bottom: 2px solid rgba(0, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.tech-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
}

.tech-navbar-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.tech-navbar-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    position: relative;
    min-height: 50px;
}

.tech-competition-title-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.tech-competition-title {
    color: #0ff;
    font-size: 30px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    letter-spacing: 0.5px;
    padding: 8px 50px;
    position: relative;
    display: inline-block;
    pointer-events: auto;
}

/* 科技感装饰线 - 六边形切角效果 */
.tech-title-decoration {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
}

.tech-title-decoration.left {
    left: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.8));
}

.tech-title-decoration.right {
    right: 0;
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.8), transparent);
}

.tech-title-decoration.left::before,
.tech-title-decoration.right::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border: 1.5px solid rgba(0, 255, 255, 0.6);
}

.tech-title-decoration.left::before {
    left: -5px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
    border-right: none;
}

.tech-title-decoration.right::after {
    right: -5px;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
    border-left: none;
}

.tech-competition-title::before,
.tech-competition-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.4), transparent);
}

.tech-competition-title::before {
    top: 0;
}

.tech-competition-title::after {
    bottom: 0;
}

/* 用户导航 */
.tech-user-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-nav-link {
    color: #0ff;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-size: 13px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tech-nav-link:hover,
.tech-nav-link:active,
.tech-nav-link:focus {
    background: rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
    text-decoration: none;
    color: #0ff;
    transform: translateY(-1px);
}

.tech-user-dropdown {
    position: relative;
}

.tech-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    object-fit: cover;
}

.tech-user-avatar:hover {
    border-color: #0ff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.tech-user-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.5);
    background: rgba(0, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tech-user-avatar-placeholder:hover {
    border-color: #0ff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.tech-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fbbc04;
    color: #000;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(251, 188, 4, 0.5);
}

.tech-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(0, 30, 60, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    min-width: 200px;
    padding: 8px 0;
    display: none;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tech-dropdown-menu.show {
    display: block;
    animation: techFadeIn 0.2s ease-out;
}

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

.tech-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: #7f9db9;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
}

.tech-dropdown-item:hover {
    background: rgba(0, 255, 255, 0.1);
    color: #0ff;
    text-decoration: none;
}

.tech-dropdown-item i {
    width: 18px;
    color: #0ff;
}

.tech-dropdown-badge {
    background: #fbbc04;
    color: #000;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    margin-left: auto;
}

/* ==================== 侧边栏 ==================== */
.tech-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.tech-sidebar-card {
    background: rgba(0, 30, 60, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.tech-sidebar-header {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 242, 254, 0.05) 100%);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tech-glow-text {
    color: #0ff;
    font-weight: 600;
    font-size: 14px;
}

.tech-glow-text i {
    margin-right: 6px;
    color: #0ff;
}

.tech-link {
    color: #0ff;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.tech-link:hover,
.tech-link:active,
.tech-link:focus {
    color: #0ff;
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.4);
    text-decoration: none;
}

.tech-sidebar-body {
    padding: 15px;
}

.tech-quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.tech-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    color: #7f9db9;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 11px;
}

.tech-quick-link i {
    font-size: 20px;
    margin-bottom: 5px;
    color: #0ff;
}

.tech-quick-link:hover,
.tech-quick-link:active,
.tech-quick-link:focus {
    background: rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.4);
    color: #0ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.2);
    text-decoration: none;
}

.tech-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.tech-stat-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.tech-stat-value {
    color: #0ff;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    margin-bottom: 5px;
}

.tech-stat-label {
    color: #7f9db9;
    font-size: 11px;
    font-weight: 500;
}

.tech-solve-records {
    max-height: 200px;
    overflow-y: auto;
}

.tech-solve-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    font-size: 12px;
}

.tech-username {
    color: #7f9db9;
    font-weight: 500;
}

.tech-time {
    color: #7f9db9;
    font-size: 11px;
}

.tech-ranking-list {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.tech-rank-item {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* 高亮当前用户/队伍 */


/* 我的标签 */
.tech-label-me {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 10px;
    background: #0ff;
    color: #001324;
    border-radius: 2px;
    font-weight: 600;
}

/* 队友标签 */
.tech-label-teammate {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 10px;
    background: #0f7;
    color: #001324;
    border-radius: 2px;
    font-weight: 600;
}

/* 我的队伍标签 */
.tech-label-my-team {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 10px;
    background: rgb(53, 112, 240);
    color: #001324;
    border-radius: 2px;
    font-weight: 600;
}

.tech-avatar,
.tech-avatar-placeholder,
.tech-team-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tech-avatar {
    border: 2px solid rgba(0, 255, 255, 0.4);
    object-fit: cover;
}

.tech-avatar-placeholder,
.tech-team-icon {
    background: rgba(0, 255, 255, 0.15);
    border: 2px solid rgba(0, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ff;
    font-size: 12px;
}

.tech-username {
    color: #0ff;
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 60px;
}

.tech-team {
    color: #7f9db9;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 0 0 50px;
    text-align: center;
}

.tech-rank-score {
    color: #0ff;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
    margin-left: auto;
}

.tech-empty {
    text-align: center;
    padding: 30px;
    color: #7f9db9;
}

.tech-empty i {
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
    color: rgba(0, 255, 255, 0.3);
}

/* 滚动条样式 */
.tech-solve-records::-webkit-scrollbar,
.tech-ranking-list::-webkit-scrollbar {
    width: 6px;
}

.tech-solve-records::-webkit-scrollbar-track,
.tech-ranking-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.tech-solve-records::-webkit-scrollbar-thumb,
.tech-ranking-list::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 255, 0.3);
    border-radius: 3px;
}

.tech-solve-records::-webkit-scrollbar-thumb:hover,
.tech-ranking-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 255, 0.5);
}

/* ==================== 倒计时样式 ==================== */
.tech-countdown-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.tech-countdown-status {
    display: flex;
    justify-content: center;
    width: 100%;
}

.tech-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.tech-status-upcoming {
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.4);
    color: #0ff;
}

.tech-status-ongoing {
    background: rgba(52, 168, 83, 0.15);
    border: 1px solid rgba(52, 168, 83, 0.4);
    color: #81c995;
}

.tech-status-ended {
    background: rgba(127, 157, 185, 0.15);
    border: 1px solid rgba(127, 157, 185, 0.4);
    color: #7f9db9;
}

.tech-countdown-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.tech-time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-time-value {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 255, 0.4);
    color: #0ff;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    font-family: monospace;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.tech-time-label {
    margin-top: 5px;
    color: #7f9db9;
    font-size: 11px;
}

.tech-time-colon {
    color: #0ff;
    font-size: 18px;
    font-weight: 700;
    align-self: flex-start;
    margin-top: 5px;
    margin-bottom: 14px;
}

.tech-time-range {
    text-align: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    color: #7f9db9;
    font-size: 12px;
    line-height: 1.6;
}

/* ==================== 主容器 ==================== */
.tech-main-container {
    max-width: 1600px;
    margin: 30px auto;
    padding: 0 20px;
}

.tech-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

/* ==================== 搜索面板 ==================== */
.tech-search-panel {
    background: rgba(0, 30, 60, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.tech-search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 255, 255, 0.3);
    color: #0ff;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.tech-search-input:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.6);
    background: rgba(0, 255, 255, 0.05);
}

.tech-search-input::placeholder {
    color: rgba(0, 255, 255, 0.4);
}

/* ==================== 过滤器面板 ==================== */
.tech-filter-panel {
    background: rgba(0, 30, 60, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.tech-filter-group {
    margin-bottom: 15px;
}

.tech-filter-group:last-child {
    margin-bottom: 0;
}

.tech-filter-title {
    color: #0ff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-filter-option {
    color: #7f9db9;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 12px;
    display: inline-block;
}

.tech-filter-option:hover,
.tech-filter-option:active,
.tech-filter-option:focus {
    background: rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.4);
    color: #0ff;
    text-decoration: none;
}

.tech-filter-option.active {
    background: rgba(0, 255, 255, 0.25);
    border-color: rgba(0, 255, 255, 0.6);
    color: #0ff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

/* ==================== 题目网格和卡片 ==================== */
.tech-challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tech-challenge-card {
    background: rgba(0, 30, 60, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.tech-challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0ff, transparent);
}

.tech-challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.25);
    border-color: rgba(0, 255, 255, 0.5);
}

.tech-solved-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.9), rgba(67, 160, 71, 0.9));
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(52, 168, 83, 0.3);
}

.tech-challenge-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tech-challenge-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tech-challenge-link:hover,
.tech-challenge-link:active,
.tech-challenge-link:focus {
    text-decoration: none;
}

.tech-challenge-title {
    color: #0ff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.tech-challenge-desc {
    color: #7f9db9;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.tech-challenge-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(0, 255, 255, 0.12);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #7f9db9;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

.tech-challenge-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.tech-points {
    color: #fbbc04;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(251, 188, 4, 0.3);
}

.tech-solves {
    color: #7f9db9;
}

/* ==================== 题目详情页样式 ==================== */
.tech-title-section {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.08) 0%, rgba(0, 242, 254, 0.03) 100%);
    padding: 25px 30px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
}

.tech-tags-section {
    padding: 15px 30px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.15);
}

.tech-tag {
    display: inline-block;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: #7f9db9;
    padding: 6px 16px;
    margin: 4px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
}

.tech-content-section {
    padding: 30px;
}

.tech-section-title {
    color: #0ff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-section-title i {
    color: #0ff;
    font-size: 14px;
}

.tech-description-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-left: 3px solid rgba(0, 255, 255, 0.4);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    line-height: 1.8;
    color: #9fb7ca;
    font-size: 14px;
}

.tech-hint-box {
    background: rgba(251, 188, 4, 0.05);
    border: 1px solid rgba(251, 188, 4, 0.2);
    border-left: 3px solid rgba(251, 188, 4, 0.5);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    color: #e8c468;
    font-size: 14px;
    line-height: 1.8;
}

.tech-info-action-section {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.tech-stats-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.tech-stats-row {
    display: grid;
    gap: 12px;
}

.tech-stats-row.basic-stats {
    grid-template-columns: repeat(2, 1fr);
}

.tech-stats-row.blood-stats {
    grid-template-columns: repeat(3, 1fr);
}

.tech-stat-box {
    background: rgba(0, 50, 80, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.tech-stat-box:hover {
    border-color: rgba(0, 255, 255, 0.4);
    background: rgba(0, 255, 255, 0.05);
    transform: translateX(3px);
}

.tech-stat-label {
    color: #7f9db9;
    font-size: 13px;
    font-weight: 500;
}

.tech-stat-value {
    color: #7fd9f0;
    font-size: 18px;
    font-weight: 600;
}

.blood-stats .tech-stat-value {
    font-size: 14px;
}

.tech-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    margin: 20px 0;
}

.tech-button-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tech-btn {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(0, 242, 254, 0.15) 100%);
    border: 1px solid rgba(0, 255, 255, 0.4);
    color: #0ff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.tech-btn:hover,
.tech-btn:active,
.tech-btn:focus {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3) 0%, rgba(0, 242, 254, 0.25) 100%);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    color: #0ff;
    transform: translateY(-2px);
    border-color: rgba(0, 255, 255, 0.6);
    text-decoration: none;
}

.tech-btn-danger {
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.2) 0%, rgba(244, 67, 54, 0.15) 100%);
    border-color: rgba(234, 67, 53, 0.4);
    color: #f28b82;
}

.tech-btn-danger:hover,
.tech-btn-danger:active,
.tech-btn-danger:focus {
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.3) 0%, rgba(244, 67, 54, 0.25) 100%);
    box-shadow: 0 4px 20px rgba(234, 67, 53, 0.3);
    color: #faa;
    border-color: rgba(234, 67, 53, 0.6);
    text-decoration: none;
}

.tech-flag-section {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.tech-flag-input-wrapper {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.tech-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 255, 0.3);
    color: #0ff;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
}

.tech-input:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.6);
    background: rgba(0, 255, 255, 0.05);
}

.tech-input::placeholder {
    color: rgba(0, 255, 255, 0.4);
}

.tech-result {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}

.tech-result-success {
    background: rgba(52, 168, 83, 0.15);
    border: 1px solid rgba(52, 168, 83, 0.4);
    color: #81c995;
}

.tech-result-error {
    background: rgba(234, 67, 53, 0.15);
    border: 1px solid rgba(234, 67, 53, 0.4);
    color: #f28b82;
}

/* ==================== 解题记录区 ==================== */
.tech-solve-records-section {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 12px;
    padding: 25px;
    margin-top: 25px;
    margin-bottom: 25px;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.tech-solve-records-section,
.tech-solve-records-section *,
.tech-solve-records-section *::before,
.tech-solve-records-section *::after {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.tech-solve-records-section ::selection,
.tech-solve-records-section *::selection {
    background: transparent !important;
    color: inherit !important;
}

.tech-solve-records-section ::-moz-selection,
.tech-solve-records-section *::-moz-selection {
    background: transparent !important;
    color: inherit !important;
}

.tech-solve-records-section *:active,
.tech-solve-records-section *:focus,
.tech-solve-records-section *:focus-visible,
.tech-solve-records-section *:focus-within {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.tech-solve-records-list {
    max-height: 200px;
}

.tech-solve-records-list::-webkit-scrollbar {
    width: 6px;
}

.tech-solve-records-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.tech-solve-records-list::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 255, 0.3);
    border-radius: 3px;
}

.tech-solve-records-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 255, 0.5);
}

.tech-solve-record-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: rgba(0, 50, 80, 0.25);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 8px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    cursor: default;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    outline: 0 !important;
    box-sizing: border-box;
}

.tech-solve-record-item *,
.tech-solve-record-item *::before,
.tech-solve-record-item *::after {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    outline: 0 !important;
    box-sizing: border-box;
}

.tech-solve-record-item:hover {
    background: rgba(0, 255, 255, 0.08);
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateX(5px);
}

.tech-solve-record-item:active,
.tech-solve-record-item:focus,
.tech-solve-record-item:focus-visible,
.tech-solve-record-item:focus-within {
    outline: 0 !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
    border: 1px solid rgba(0, 255, 255, 0.15) !important;
}

.tech-solve-icon {
    color: rgba(0, 255, 255, 0.6);
    font-size: 16px;
    flex-shrink: 0;
}

.tech-solve-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 15px;
}

.tech-solve-username {
    color: #7fd9f0;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.tech-solve-time {
    color: #7f9db9;
    font-size: 12px;
    flex-shrink: 0;
}

.tech-empty-records {
    text-align: center;
    padding: 40px 20px;
    color: #7f9db9;
    font-size: 14px;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.tech-empty-records i {
    font-size: 36px;
    margin-right: 8px;
    opacity: 0.5;
}

/* ==================== 排行榜样式 ==================== */
.tech-ranking-card {
    background: rgba(0, 30, 60, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.tech-ranking-header {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 242, 254, 0.05) 100%);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    padding: 25px 35px;
}

.tech-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.tech-ranking-title {
    color: #0ff;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    margin: 0;
}

.tech-tab-group {
    display: flex;
    gap: 10px;
}

.tech-tab-btn {
    color: #7f9db9;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.tech-tab-btn:hover,
.tech-tab-btn:active,
.tech-tab-btn:focus {
    background: rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.4);
    color: #0ff;
    text-decoration: none;
}

.tech-tab-btn.tech-tab-active {
    background: rgba(0, 255, 255, 0.25);
    border-color: rgba(0, 255, 255, 0.6);
    color: #0ff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.tech-ranking-body {
    padding: 0;
}

.tech-ranking-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.tech-ranking-table thead {
    background: rgba(0, 0, 0, 0.3);
}

.tech-ranking-table th {
    color: #0ff;
    font-weight: 600;
    padding: 20px 15px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
    font-size: 14px;
}

.tech-ranking-table tbody tr {
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-ranking-table tbody tr:hover {
    background: rgba(0, 255, 255, 0.08);
}

.tech-ranking-table td {
    padding: 18px 15px;
    color: #7f9db9;
    font-size: 14px;
}

.tech-rank-col {
    width: 8%;
    text-align: left !important;
    padding-left: 30px !important;
}

.tech-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tech-rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.tech-rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #000;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
}

.tech-rank-3 {
    background: linear-gradient(135deg, #cd7f32, #e8a87c);
    color: #fff;
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.5);
}

.tech-rank-number {
    color: #0ff;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    min-width: 30px;
}

.tech-user-col {
    width: 25%;
    text-align: left !important;
}

.tech-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-user-name {
    color: #0ff;
    font-weight: 600;
    font-size: 15px;
}

.tech-team-col {
    width: 27%;
    text-align: left !important;
}

.tech-team-name {
    color: #7f9db9;
    font-size: 14px;
}

.tech-score-col {
    width: 20%;
    text-align: right !important;
    padding-right: 30px !important;
}

.tech-score-col:last-child {
    padding-right: 40px !important;
}

.tech-solved-count {
    color: #0ff;
    font-weight: 600;
    font-size: 16px;
}

/* ==================== 解题动态表格 ==================== */
.tech-dynamic-card {
    background: rgba(0, 30, 60, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.tech-dynamic-header {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.08) 0%, rgba(0, 242, 254, 0.03) 100%);
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
    padding: 20px 30px;
}

.tech-dynamic-title {
    color: #7fd9f0;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-dynamic-title i {
    font-size: 18px;
}

.tech-dynamic-body {
    padding: 0;
    overflow-x: auto;
}

.tech-dynamic-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 800px;
}

.tech-dynamic-table thead {
    background: rgba(0, 0, 0, 0.35);
}

.tech-dynamic-table th {
    color: #7fd9f0;
    font-weight: 600;
    padding: 16px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    font-size: 13px;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.35);
    outline: none;
    user-select: none;
}

.tech-dynamic-table th:first-child {
    text-align: left;
    position: sticky;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
    min-width: 150px;
    padding-left: 25px;
}

.tech-dynamic-table th:active,
.tech-dynamic-table th:focus {
    outline: none;
}

.tech-dynamic-table tbody tr {
    border-bottom: 1px solid rgba(0, 255, 255, 0.08);
    transition: all 0.3s ease;
    outline: none;
}

.tech-dynamic-table tbody tr:hover {
    background: rgba(0, 255, 255, 0.05);
}

.tech-dynamic-table tbody tr:active,
.tech-dynamic-table tbody tr:focus {
    outline: none;
}

.tech-dynamic-table td {
    padding: 14px 12px;
    text-align: center;
    color: #7f9db9;
    font-size: 13px;
    outline: none;
}

.tech-dynamic-table td:first-child {
    text-align: left;
    position: sticky;
    left: 0;
    background: rgba(0, 30, 60, 0.85);
    z-index: 9;
    font-weight: 500;
    color: #7fd9f0;
    padding-left: 25px;
    outline: none;
    user-select: none;
}

.tech-dynamic-table tbody tr:hover td:first-child {
    background: rgba(0, 255, 255, 0.12);
}

.tech-dynamic-table td:active,
.tech-dynamic-table td:focus {
    outline: none;
    box-shadow: none;
}

.tech-blood-first {
    color: #00d4ff;
    font-size: 16px;
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.4));
}

.tech-blood-second {
    color: #4facfe;
    font-size: 15px;
    filter: drop-shadow(0 0 4px rgba(79, 172, 254, 0.4));
}

.tech-blood-third {
    color: #7fd9f0;
    font-size: 14px;
    filter: drop-shadow(0 0 3px rgba(127, 217, 240, 0.3));
}

.tech-solved {
    color: #7fd9f0;
    font-size: 14px;
}

.tech-unsolved {
    color: #7f9db9;
    opacity: 0.3;
}

.tech-dynamic-body::-webkit-scrollbar {
    height: 8px;
}

.tech-dynamic-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.tech-dynamic-body::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 255, 0.3);
    border-radius: 4px;
}

.tech-dynamic-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 255, 0.5);
}

/* ==================== 空状态 ==================== */
.tech-empty-state {
    background: rgba(0, 30, 60, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    color: #7f9db9;
    backdrop-filter: blur(10px);
}

.tech-empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: rgba(0, 255, 255, 0.3);
}

.tech-empty-message {
    text-align: center;
    padding: 60px 20px;
    color: #7f9db9;
    font-size: 14px;
}

.tech-empty-message i {
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.4;
    color: rgba(0, 255, 255, 0.3);
}

/* ==================== 分页 ==================== */
.tech-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.tech-page-link {
    background: rgba(0, 255, 255, 0.12);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #7f9db9;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tech-page-link:hover,
.tech-page-link:active,
.tech-page-link:focus,
.tech-page-link.active {
    background: rgba(0, 255, 255, 0.25);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.25);
    color: #0ff;
    border-color: rgba(0, 255, 255, 0.5);
    text-decoration: none;
}

/* ==================== Toast提示 ==================== */
.tech-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 320px;
    max-width: 400px;
    background: rgba(0, 30, 60, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tech-toast-show {
    opacity: 1;
    transform: translateX(0);
}

.tech-toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.tech-toast-content {
    flex: 1;
}

.tech-toast-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #7fd9f0;
}

.tech-toast-message {
    font-size: 13px;
    color: #b0c4de;
    line-height: 1.4;
}

.tech-toast-success {
    border-color: rgba(0, 255, 200, 0.4);
}

.tech-toast-success .tech-toast-icon {
    color: #00ffc8;
    text-shadow: 0 0 10px rgba(0, 255, 200, 0.5);
}

.tech-toast-error {
    border-color: rgba(255, 100, 100, 0.4);
}

.tech-toast-error .tech-toast-icon {
    color: #ff6464;
    text-shadow: 0 0 10px rgba(255, 100, 100, 0.5);
}

.tech-toast-info {
    border-color: rgba(79, 172, 254, 0.4);
}

.tech-toast-info .tech-toast-icon {
    color: #4facfe;
    text-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
}

/* ==================== 容器信息 ==================== */
.tech-container-info {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.08) 0%, rgba(0, 30, 60, 0.5) 100%);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tech-container-urls {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.tech-label {
    color: #7fd9f0;
    font-size: 14px;
    font-weight: 500;
    margin-right: 10px;
}

.tech-label i {
    margin-right: 5px;
}

.tech-url-link {
    color: #00d4ff;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.2);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-block;
}

.tech-url-link:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    text-decoration: none;
    color: #00d4ff;
}

.tech-url-separator {
    color: #7fd9f0;
    margin: 0 8px;
}

.tech-countdown-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-countdown-display > i {
    font-size: 20px;
    color: #7fd9f0;
}

.countdown-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.countdown-block {
    text-align: center;
}

.countdown-digits {
    display: flex;
    gap: 2px;
}

.countdown-digits span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 38px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 6px;
    color: #00d4ff;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Consolas', 'Monaco', monospace;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.countdown-label {
    font-size: 11px;
    color: #7fd9f0;
    margin-top: 4px;
}

.countdown-sep {
    color: #7fd9f0;
    font-size: 20px;
    font-weight: bold;
    margin: 0 2px;
}

/* ==================== Alert ==================== */
.tech-alert {
    padding: 12px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin: 15px 0;
    animation: slideIn 0.3s ease-out;
}

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

.tech-alert i {
    font-size: 18px;
}

.tech-alert-success {
    background: rgba(0, 255, 200, 0.1);
    border: 1px solid rgba(0, 255, 200, 0.3);
    color: #00ffc8;
}

.tech-alert-success i {
    color: #00ffc8;
    text-shadow: 0 0 8px rgba(0, 255, 200, 0.4);
}

.tech-alert-error {
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    color: #ff6464;
}

.tech-alert-error i {
    color: #ff6464;
    text-shadow: 0 0 8px rgba(255, 100, 100, 0.4);
}

/* ==================== 按钮加载状态 ==================== */
.tech-btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
    .tech-content-grid {
        grid-template-columns: 1fr;
    }

    .tech-stats-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-navbar-content {
        flex-direction: column;
        gap: 12px;
        min-height: auto;
        justify-content: center;
    }

    .tech-competition-title-wrapper {
        position: static;
        transform: none;
        order: 1;
        width: 100%;
    }

    .tech-competition-title {
        font-size: 18px;
        padding: 6px 40px;
    }

    .tech-user-nav {
        order: 2;
        flex-wrap: wrap;
        justify-content: center;
    }

    .tech-title-decoration {
        width: 30px;
    }

    .tech-nav-link {
        font-size: 12px;
        padding: 5px 12px;
    }

    .tech-challenges-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .tech-challenge-title {
        font-size: 24px;
    }

    .tech-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-flag-input-wrapper {
        flex-direction: column;
    }

    .tech-nav-brand {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .tech-nav-divider {
        display: none;
    }

    .tech-toast {
        min-width: 280px;
        max-width: calc(100% - 40px);
        right: 20px;
    }

    .tech-container-info {
        padding: 15px 18px;
    }

    .tech-container-urls {
        flex-direction: column;
        align-items: flex-start;
    }

    .countdown-digits span {
        width: 28px;
        height: 34px;
        font-size: 16px;
    }

    .countdown-sep {
        font-size: 18px;
    }

    .tech-main-container {
        padding: 0 10px;
    }

    .tech-dynamic-header {
        padding: 15px 20px;
    }

    .tech-dynamic-title {
        font-size: 18px;
    }

    .tech-dynamic-title i {
        font-size: 16px;
    }

    .tech-dynamic-table th,
    .tech-dynamic-table td {
        padding: 10px 8px;
        font-size: 11px;
    }

    .tech-dynamic-table th:first-child,
    .tech-dynamic-table td:first-child {
        padding-left: 15px;
    }

    .tech-blood-first {
        font-size: 14px;
    }

    .tech-blood-second {
        font-size: 13px;
    }

    .tech-blood-third {
        font-size: 12px;
    }

    .tech-solved {
        font-size: 12px;
    }

    .tech-nav-brand,
    .tech-nav-actions {
        position: static;
    }

    .tech-header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .tech-ranking-table th,
    .tech-ranking-table td {
        padding: 12px 8px;
        font-size: 12px;
    }

    .tech-user-col {
        width: auto;
    }

    .tech-team-col {
        display: none;
    }
}


