:root {
    --om-accent: #FF3E00; /* 动感橙 */
    --om-bg: #f4f4f7;
    --om-text: #1a1a1a;
    --om-card-bg: #ffffff;
}

/* 基础样式保持不变 */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body { background-color: var(--om-bg); color: var(--om-text); font-family: 'Helvetica Neue', Arial, sans-serif; line-height: 1.5; transition: background-color 0.3s; }

/* --- 导航栏 --- */
.om-navbar {
    height: 70px; background: #fff; display: flex; align-items: center;
    justify-content: space-between; padding: 0 20px;
    position: sticky; top: 0; z-index: 500; border-bottom: 1px solid #eee;
}
.om-nav-icon { cursor: pointer; padding: 10px; transition: 0.2s; }
.om-nav-icon:active { transform: scale(0.8); color: var(--om-accent); }

.om-search-box {
    position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
    background: #fff; display: flex; align-items: center; padding: 0 20px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.om-search-box.active { top: 0; }
.om-search-input { flex: 1; border: none; font-size: 18px; font-weight: 500; color: var(--om-text); outline: none; }

/* --- 侧滑菜单 (新增) --- */
.om-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 800; display: none; backdrop-filter: blur(4px); }
.om-overlay.show { display: block; }

.om-side-menu {
    position: fixed; top: 0; right: -100%; width: 80%; height: 100%;
    background: #000; color: #fff; z-index: 900; padding: 60px 40px;
    transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.om-side-menu.open { right: 0; }
.om-menu-link { display: block; color: #fff; font-size: 18px; font-weight: 800; text-decoration: none; margin-bottom: 25px; transition: 0.3s; }
.om-menu-link:active { color: var(--om-accent); padding-left: 10px; }

/* --- 网格布局 --- */
.om-wrapper { padding: 15px; max-width: 1400px; margin: 0 auto; }
.om-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* --- 卡片样式 --- */
.om-card {
    display: block; text-decoration: none; color: inherit;
    background: var(--om-card-bg); border-radius: 0;
    transition: transform 0.3s ease, opacity 0.3s; overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.om-card:active { transform: scale(0.96); }

.om-media { width: 100%; aspect-ratio: 1/1; position: relative; overflow: hidden; }
.om-media img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.om-online-count {
    position: absolute; bottom: 8px; left: 8px;
    background: rgba(0,0,0,0.8); color: #fff;
    padding: 2px 6px; font-size: 9px; font-weight: bold;
    display: flex; align-items: center; gap: 3px;
}

.om-content { padding: 8px 6px; }
.om-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.om-desc { font-size: 9px; color: #777; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; height: 24px; }

.om-footer-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f0f0f0; padding-top: 6px; }
.om-likes { font-size: 9px; color: var(--om-accent); font-weight: bold; }
.om-action-btn { font-size: 10px; color: #aaa; }

/* --- 浮动手势菜单 (FAB) --- */
.om-menu-fab {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
    background: var(--om-text); color: #fff; padding: 12px 24px;
    border-radius: 40px; display: flex; align-items: center; gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); z-index: 1000;
}
.om-menu-fab i { font-size: 18px; cursor: pointer; transition: 0.2s; padding: 5px; }
.om-menu-fab i:active { transform: scale(0.7); color: var(--om-accent); }
.om-menu-fab i.active { color: var(--om-accent); }

/* --- SEO与页脚 --- */
.om-about-section { margin-top: 50px; border-left: 4px solid var(--om-accent); padding: 20px; background: #fff; }
.om-about-section h2 { font-size: 18px; margin-bottom: 10px; }
.om-about-section p { font-size: 13px; color: #666; }

@media (min-width: 769px) {
    .om-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 30px; }
    .om-title { font-size: 15px; }
    .om-desc { font-size: 13px; height: 34px; }
}