/* 身高查询主页面样式 */

.height-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

/* 代币显示区域 - 更紧凑 */
.token-section {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.token-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.token-label {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.token-value {
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.exchange-btn {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(244, 196, 103, 0.3);
}

.exchange-btn:hover {
    background: var(--secondary-dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(244, 196, 103, 0.4);
}

/* 功能模块区域 - 更紧凑 */
.function-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.function-block {
    background: var(--card-background);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: all 0.3s ease;
}

.function-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

/* 账号管理模块 - 精简布局 */
.account-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.block-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.block-title {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.block-description {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.block-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.block-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(91, 163, 197, 0.3);
}

/* 查询模块 - 优化布局 */
.query-block {
    padding: 16px;
}

.query-block .block-icon {
    text-align: center;
}

.query-block .block-title {
    text-align: center;
}

.query-block .block-description {
    text-align: center;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--card-background);
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 18px;
}

.close {
    color: var(--text-secondary);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-color);
}

.modal-body {
    padding: 20px;
}

/* 兑换选项样式 */
.exchange-options {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.exchange-option {
    position: relative;
}

.exchange-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.exchange-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--background-secondary);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exchange-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, rgba(244, 196, 103, 0.1), rgba(244, 196, 103, 0.05));
    border-color: var(--secondary-color);
}

.exchange-option label:hover {
    border-color: var(--primary-color);
}

.option-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.option-tokens {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.option-hearts {
    font-size: 12px;
    color: var(--text-secondary);
}

.option-tag {
    padding: 3px 8px;
    background: var(--secondary-color);
    color: white;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.exchange-submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(244, 196, 103, 0.3);
}

.exchange-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 196, 103, 0.4);
}

.exchange-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.current-hearts {
    text-align: center;
    padding: 10px;
    background: var(--background-secondary);
    border-radius: 6px;
    margin-bottom: 15px;
}

.current-hearts span {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

/* 查询表单样式 - 更丰富 */
.query-form-container {
    padding: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label,
.form-title {
    display: block;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    padding-left: 2px;
}

/* 账号选择器样式优化 */
.account-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.account-option {
    position: relative;
}

.account-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.account-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    font-size: 13px;
    background: linear-gradient(135deg, var(--background-secondary), var(--card-background));
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.account-option label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.account-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, rgba(91, 163, 197, 0.1), rgba(91, 163, 197, 0.05));
    border-color: var(--primary-color);
    color: var(--primary-dark);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(91, 163, 197, 0.2);
}

.account-option input[type="radio"]:checked + label::before {
    transform: scaleX(1);
}

.account-option label:hover {
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(91, 163, 197, 0.15);
}

/* 好友码输入框美化 */
.friend-code-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    background: var(--card-background);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.friend-code-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(91, 163, 197, 0.1), 0 2px 6px rgba(91, 163, 197, 0.15);
    background: var(--card-background);
}

.friend-code-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.friend-code-hint {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding-left: 2px;
    color: var(--text-secondary);
    font-size: 12px;
}

.friend-code-hint::before {
    content: 'ℹ';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-light);
    color: white;
    font-size: 10px;
    font-weight: bold;
}

/* 通道选择器样式优化 - 垂直布局 */
.channel-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.channel-option {
    position: relative;
}

.channel-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.channel-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--background-secondary), var(--card-background));
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.channel-option label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--secondary-color), var(--secondary-light));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.channel-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, rgba(244, 196, 103, 0.08), rgba(244, 196, 103, 0.04));
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(244, 196, 103, 0.2);
}

.channel-option input[type="radio"]:checked + label::before {
    transform: scaleY(1);
}

.channel-option label:hover {
    border-color: var(--secondary-light);
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(244, 196, 103, 0.15);
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.channel-icon {
    font-size: 24px;
}

.channel-details {
    flex: 1;
}

.channel-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--text-color);
}

.channel-cost {
    color: var(--text-secondary);
    font-size: 13px;
}

.queue-info {
    padding: 4px 8px;
    background: var(--primary-light);
    color: white;
    font-size: 11px;
    font-weight: 500;
    border-radius: 12px;
    white-space: nowrap;
}

/* 提交按钮样式增强 */
.submit-query-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(91, 163, 197, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-query-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-query-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 163, 197, 0.4);
}

.submit-query-btn:hover:not(:disabled)::before {
    width: 300px;
    height: 300px;
}

.submit-query-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.submit-query-btn.heart-channel {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    box-shadow: 0 2px 8px rgba(244, 196, 103, 0.3);
}

.submit-query-btn.heart-channel:hover:not(:disabled) {
    box-shadow: 0 4px 12px rgba(244, 196, 103, 0.4);
}

/* 待处理请求样式 - 更紧凑 */
.pending-request {
    background: linear-gradient(135deg, rgba(244, 196, 103, 0.08), rgba(244, 196, 103, 0.04));
    border-left: 3px solid var(--secondary-color);
    border-radius: 6px;
    padding: 15px;
}

.pending-title {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.pending-info {
    display: grid;
    gap: 6px;
}

.pending-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(91, 163, 197, 0.08);
    font-size: 13px;
}

.pending-item:last-child {
    border-bottom: none;
}

.pending-label {
    color: var(--text-secondary);
    font-size: 12px;
}

.pending-value {
    color: var(--text-color);
    font-weight: 500;
    font-size: 13px;
}

.queue-position {
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: bold;
}

/* 查询历史记录 - 更紧凑 */
.recent-queries-section {
    margin-top: 20px;
    background: var(--card-background);
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.recent-title {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-left: 10px;
    position: relative;
}

.recent-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.query-history {
    display: grid;
    gap: 8px;
}

.query-record {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px;
    background: var(--background-secondary);
    border-radius: 6px;
    font-size: 13px;
}

.query-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 6px;
}

.query-status.success {
    background: #52c41a;
}

.query-status.failed {
    background: #ff4d4f;
}

.query-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.query-account {
    font-weight: 500;
    color: var(--text-color);
    font-size: 14px;
}

.query-meta {
    font-size: 11px;
    color: var(--text-secondary);
}

/* 查询结果详情样式 - 优化布局 */
.query-result-detail {
    margin-top: 8px;
    padding: 10px;
    background: var(--card-background);
    border-radius: 4px;
    border-left: 2px solid var(--primary-color);
}

.result-timestamp {
    color: var(--text-secondary);
    font-size: 11px;
    margin-bottom: 8px;
}

/* 身高数据展示 - 重新设计 */
.height-data-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(91, 163, 197, 0.05);
    border-radius: 6px;
}

/* 三个身高值一行展示 */
.height-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.height-item {
    flex: 1;
    text-align: center;
    padding: 8px;
    background: var(--card-background);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.height-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(91, 163, 197, 0.15);
}

/* 当前身高突出显示 */
.height-item.current-height {
    flex: 1.2;
    background: linear-gradient(135deg, rgba(244, 196, 103, 0.08), rgba(244, 196, 103, 0.04));
    border: 1px solid rgba(244, 196, 103, 0.3);
}

.height-label {
    font-size: 10px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}

.height-value {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.height-item.current-height .height-value {
    color: var(--secondary-color);
    font-size: 20px;
}

/* 体型值单独一行 */
.body-type-row {
    display: flex;
    justify-content: center;
    padding: 8px;
    background: var(--card-background);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.body-type-item {
    text-align: center;
}

.body-type-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-right: 8px;
    display: inline-block;
}

.body-type-value {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-dark);
    display: inline-block;
}

/* 服饰装备响应式网格 */
.outfit-data {
    margin-top: 10px;
}

.outfit-title {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
    padding-left: 2px;
}

.outfit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.outfit-item {
    padding: 6px;
    background: var(--background-secondary);
    border-radius: 4px;
    text-align: center;
    font-size: 11px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.outfit-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-1px);
}

.outfit-type {
    color: var(--text-secondary);
    font-size: 10px;
    display: block;
    margin-bottom: 2px;
    font-weight: 500;
}

.outfit-name {
    color: var(--text-color);
    font-weight: 600;
    font-size: 11px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 响应式服饰装备布局 */
@media (min-width: 1024px) {
    /* 大屏幕：8x1 布局 */
    .outfit-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    /* 中等屏幕：4x2 布局 */
    .outfit-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) and (min-width: 480px) {
    /* 小屏幕：4x2 布局 */
    .outfit-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .outfit-item {
        padding: 5px;
    }
    
    .outfit-name {
        font-size: 10px;
    }
}

@media (max-width: 479px) {
    /* 超小屏幕：2x4 布局 */
    .outfit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    /* 保持身高值横向排列，但调整间距 */
    .height-row {
        gap: 6px;
    }
    
    .height-item {
        flex: 1;
        padding: 6px;
    }
    
    .height-item.current-height {
        flex: 1; /* 在小屏幕上不放大 */
    }
    
    .height-label {
        font-size: 9px;
    }
    
    .height-value {
        font-size: 14px;
    }
    
    .height-item.current-height .height-value {
        font-size: 16px;
    }
    
    .outfit-item {
        padding: 6px;
    }
}

/* 按钮样式优化 */
.btn {
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(91, 163, 197, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(244, 196, 103, 0.3);
}

.cancel-btn {
    background: #ff4444;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #ff6666;
    transform: translateY(-1px);
}

/* 无爱心提示样式 */
.no-hearts {
    text-align: center;
    padding: 20px;
    background: var(--background-secondary);
    border-radius: 8px;
}

.no-hearts p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.login-prompt {
    text-align: center;
    padding: 15px;
}

.login-prompt p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 14px;
}

.query-result {
    color: #ff4444;
    font-style: italic;
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .modal-content {
        background: var(--card-background);
    }
    
    .exchange-option label {
        background: var(--background-secondary);
    }
    
    .exchange-option input[type="radio"]:checked + label {
        background: linear-gradient(135deg, rgba(244, 196, 103, 0.15), rgba(244, 196, 103, 0.08));
    }
    
    .query-record {
        background: var(--background-secondary);
    }
    
    .query-result-detail {
        background: rgba(0, 0, 0, 0.2);
    }
    
    .account-option label {
        background: linear-gradient(135deg, var(--background-secondary), rgba(0, 0, 0, 0.1));
    }
    
    .channel-option label {
        background: linear-gradient(135deg, var(--background-secondary), rgba(0, 0, 0, 0.1));
    }
    
    .friend-code-input {
        background: var(--background-secondary);
        border-color: var(--border-color);
    }
    
    .friend-code-input:focus {
        background: var(--card-background);
    }
    
    .queue-info {
        background: rgba(91, 163, 197, 0.2);
    }
    
    /* 身高数据深色模式 */
    .height-data-grid {
        background: rgba(91, 163, 197, 0.08);
    }
    
    .height-item {
        background: var(--background-secondary);
        border: 1px solid var(--border-color);
    }
    
    .height-item.current-height {
        background: linear-gradient(135deg, rgba(244, 196, 103, 0.12), rgba(244, 196, 103, 0.06));
        border-color: rgba(244, 196, 103, 0.4);
    }
    
    .body-type-row {
        background: var(--background-secondary);
        border-color: var(--border-color);
    }
    
    .outfit-item {
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid var(--border-color);
    }
    
    .outfit-item:hover {
        background: rgba(91, 163, 197, 0.1);
        border-color: var(--primary-light);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .height-container {
        padding: 10px;
    }
    
    .token-section {
        padding: 10px 12px;
    }
    
    .token-value {
        font-size: 20px;
    }
    
    .function-blocks {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .function-block {
        padding: 16px;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .account-selector {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
    
    .channel-option label {
        padding: 12px 14px;
    }
    
    .channel-icon {
        font-size: 20px;
    }
    
    .channel-name {
        font-size: 14px;
    }
    
    .channel-cost {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    /* 修复代币显示错位问题 */
    .token-display {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
    }
    
    .token-label {
        order: 1;
        flex: 0 0 auto;
    }
    
    .token-value {
        order: 2;
        flex: 0 0 auto;
        font-size: 18px;
        margin-right: 0;
    }
    
    .exchange-btn {
        order: 3;
        flex: 0 0 100%;
        font-size: 12px;
        padding: 5px 12px;
        text-align: center;
    }
    
    .block-icon {
        font-size: 28px;
    }
    
    .block-title {
        font-size: 14px;
    }
    
    .account-selector {
        grid-template-columns: 1fr;
    }
    
    .account-option label {
        padding: 10px;
    }
    
    .friend-code-input {
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .channel-option label {
        padding: 10px 12px;
    }
    
    .channel-info {
        gap: 10px;
    }
    
    .channel-icon {
        font-size: 18px;
    }
    
    .queue-info {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .submit-query-btn {
        font-size: 14px;
        padding: 10px 16px;
    }
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}