/**
 * style.css - 网址导航共享样式
 * 被 index.html 和 admin.html 共同引用
 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
}

/* ========== 导航页面样式 ========== */

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

.nav-title {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* 设置入口按钮 */
.admin-entry {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100;
    text-decoration: none;
}

.admin-entry:hover {
    background: rgba(255,255,255,0.35);
    transform: rotate(90deg);
}

.admin-entry svg {
    width: 22px;
    height: 22px;
    fill: white;
}

/* 分类卡片 */
.category {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.category h2 {
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 1.5em;
}

/* 链接网格 */
.links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.link-item:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.link-item:hover .icon-fallback {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* 图标样式 */
.link-item .icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    overflow: hidden;
    flex-shrink: 0;
}

.link-item .icon-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.link-item .icon-emoji {
    font-size: 20px;
    line-height: 1;
}

.link-item .icon-fallback {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #e0e0e0;
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.link-item .name {
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========== 搜索框 ========== */
.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 0;
}

.search-engine {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-right: none;
    border-radius: 8px 0 0 8px;
    background: #f8f9fa;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    outline: none;
    min-width: 120px;
}

.search-engine:focus {
    border-color: #667eea;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-right: none;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #667eea;
}

.search-btn {
    padding: 12px 24px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #5a6fd6;
}

/* 页脚 */
.nav-footer {
    text-align: center;
    color: white;
    margin-top: 40px;
    opacity: 0.8;
}

/* 手机端响应式 */
@media (max-width: 768px) {
    .nav-title {
        font-size: 2em;
    }
    .links {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .search-box {
        flex-direction: column;
        gap: 10px;
    }
    .search-engine,
    .search-input,
    .search-btn {
        border-radius: 8px;
        border-right: 2px solid #e0e0e0;
    }
}

/* ========== 后台管理页面样式 ========== */

.admin-body {
    background: #f0f2f5;
}

.admin-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header h1 {
    font-size: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-header .header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-back {
    padding: 8px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-back:hover {
    background: #5a6fd6;
}

/* Tab 导航 */
.admin-tabs {
    background: white;
    border-bottom: 1px solid #e8e8e8;
    padding: 0 30px;
    display: flex;
    gap: 0;
}

.admin-tab {
    padding: 14px 24px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    color: #666;
    font-size: 15px;
    transition: all 0.3s;
    user-select: none;
}

.admin-tab:hover {
    color: #667eea;
}

.admin-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
    font-weight: 600;
}

/* 管理页面主内容区 */
.admin-content {
    max-width: 1100px;
    margin: 25px auto;
    padding: 0 30px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* 卡片面板 */
.panel-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.panel-card h3 {
    font-size: 17px;
    color: #333;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

/* 表单元素 */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102,126,234,0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row > .form-group {
    flex: 1;
}

/* 按钮 */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd6;
}

.btn-success {
    background: #52c41a;
    color: white;
}

.btn-success:hover {
    background: #49b018;
}

.btn-danger {
    background: #ff4d4f;
    color: white;
}

.btn-danger:hover {
    background: #d9363e;
}

.btn-default {
    background: #f0f0f0;
    color: #333;
}

.btn-default:hover {
    background: #e0e0e0;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 12px 28px;
    font-size: 16px;
}

/* 分类管理布局 */
.category-layout {
    display: flex;
    gap: 20px;
    min-height: 500px;
}

.category-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.category-list {
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

.category-list-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.category-list-item:hover {
    background: #f0f0ff;
}

.category-list-item.active {
    background: #667eea;
    color: white;
}

.category-list-item .cat-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.category-list-item .cat-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s;
}

.category-list-item:hover .cat-actions,
.category-list-item.active .cat-actions {
    opacity: 1;
}

.cat-action-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: inherit;
    opacity: 0.6;
}

.cat-action-btn:hover {
    background: rgba(255,255,255,0.3);
    opacity: 1;
}

.category-list-item:not(.active) .cat-action-btn:hover {
    background: rgba(102,126,234,0.1);
}

/* 链接列表 */
.link-main {
    flex: 1;
    min-width: 0;
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.2s;
}

.link-row:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102,126,234,0.1);
}

.link-row .link-icon-preview {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    background: #e0e0e0;
}

.link-row .link-icon-preview img {
    width: 36px;
    height: 36px;
    object-fit: cover;
}

.link-row .link-info {
    flex: 1;
    min-width: 0;
}

.link-row .link-info .link-name {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    margin-bottom: 2px;
}

.link-row .link-info .link-url {
    color: #999;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-row .link-row-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

/* 模态框 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 22px;
    color: #999;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 图标选择器 */
.icon-picker {
    margin-top: 8px;
}

.icon-type-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 14px;
    border-bottom: 1px solid #e8e8e8;
}

.icon-type-tab {
    padding: 8px 16px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: #666;
    font-size: 13px;
    transition: all 0.2s;
}

.icon-type-tab:hover {
    color: #667eea;
}

.icon-type-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
    font-weight: 500;
}

.icon-type-panel {
    display: none;
}

.icon-type-panel.active {
    display: block;
}

/* 默认图标网格 */
.default-icon-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 4px;
}

.default-icon-item {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.default-icon-item:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

.default-icon-item.selected {
    border-color: #667eea;
    background: #f0f0ff;
}

.default-icon-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Favicon 预览 */
.favicon-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-top: 8px;
}

.favicon-preview .preview-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.favicon-preview .preview-img img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.favicon-preview .preview-status {
    font-size: 13px;
    color: #666;
}

.favicon-preview .preview-status.success {
    color: #52c41a;
}

.favicon-preview .preview-status.fail {
    color: #ff4d4f;
}

/* 渐变预设网格 */
.gradient-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.gradient-item {
    height: 70px;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s;
    display: flex;
    align-items: flex-end;
    padding: 8px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.gradient-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gradient-item.selected {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102,126,234,0.3);
}

/* 搜索引擎列表 */
.engine-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.engine-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}

.engine-row .engine-name {
    font-weight: 500;
    min-width: 80px;
    color: #333;
}

.engine-row .engine-url {
    flex: 1;
    color: #999;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Toast 提示 */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: #52c41a;
}

.toast.error {
    background: #ff4d4f;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state p {
    font-size: 15px;
    margin-bottom: 16px;
}

/* 排序手柄 */
.drag-handle {
    cursor: move;
    color: #ccc;
    font-size: 18px;
    user-select: none;
    padding: 0 4px;
}

.drag-handle:hover {
    color: #667eea;
}

/* 图片上传区域 */
.upload-area {
    border: 2px dashed #d9d9d9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #667eea;
    background: #f0f0ff;
}

.upload-area p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* 滑块 */
.form-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.form-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* 背景预览 */
.bg-preview {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid #e8e8e8;
}

/* 存储信息 */
.storage-info {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.storage-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.storage-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
}

.storage-bar-fill {
    height: 100%;
    background: #667eea;
    border-radius: 4px;
    transition: width 0.3s;
}

/* 小组件配置列表 */
.widget-config-row:hover {
    box-shadow: 0 2px 8px rgba(102,126,234,0.1);
}

/* ========== 登录遮罩层 ========== */

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-overlay.hidden {
    display: none;
}

.login-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
}

.login-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.login-card h2 {
    color: #333;
    margin-bottom: 8px;
    font-size: 22px;
}

.login-desc {
    color: #999;
    font-size: 14px;
    margin-bottom: 24px;
}

.login-form {
    text-align: left;
}

.login-input {
    font-size: 16px;
    padding: 12px 16px;
    text-align: center;
    letter-spacing: 4px;
}

.login-error {
    color: #ff4d4f;
    font-size: 13px;
    min-height: 20px;
    margin: 8px 0;
    text-align: center;
}

.login-hint {
    color: #bbb;
    font-size: 12px;
    margin-top: 20px;
    line-height: 1.6;
}

.login-hint code {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #667eea;
    font-family: monospace;
}

/* ========== 小组件区域（页面内固定） ========== */

.widgets-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.widget-inline {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.5);
    min-width: 180px;
    flex: 1;
    max-width: 260px;
}

/* -- 时钟 -- */
.widget-inline-clock {
    text-align: center;
    padding: 18px 16px;
    min-width: 190px;
    max-width: 220px;
}

.widget-inline-time {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
    font-family: 'Courier New', monospace;
}

.widget-inline-date {
    font-size: 15px;
    color: #555;
    margin-top: 4px;
}

.widget-inline-weekday {
    font-size: 13px;
    color: #667eea;
    font-weight: 500;
    margin-top: 2px;
}

/* -- 日历 -- */
.widget-inline-calendar {
    padding: 14px;
    min-width: 210px;
    max-width: 240px;
}

/* -- 天气 -- */
.widget-inline-weather {
    padding: 16px;
    min-width: 180px;
    max-width: 220px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.calendar-month {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.calendar-nav {
    width: 26px;
    height: 26px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.calendar-nav:hover {
    background: #667eea;
    color: white;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    color: #999;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #555;
    border-radius: 4px;
    cursor: default;
}

.calendar-day.other-month {
    color: transparent;
}

.calendar-day.today {
    background: #667eea;
    color: white;
    font-weight: 600;
    border-radius: 50%;
}

/* -- 天气 -- */
.widget-weather {
    padding: 16px;
}

.weather-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.weather-city {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.weather-refresh {
    width: 26px;
    height: 26px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.weather-refresh:hover {
    background: #e0e0e0;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.weather-icon {
    font-size: 36px;
}

.weather-temp {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.weather-detail {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #888;
}

/* 小组件响应式：小屏幕纵向排列 */
@media (max-width: 768px) {
    .widgets-row {
        flex-direction: column;
        align-items: stretch;
    }
    .widget-inline {
        max-width: 100%;
    }
}
