/* skin/css/common.css */
:root {
    --primary-color: #ccff00; /* 酸性绿 */
    --bg-body: #f2f2f2;
    --text-main: #000;
    --text-sub: #555;
    /* 机能风网格背景 */
    --grid-bg: radial-gradient(#bbb 1px, transparent 1px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; min-width: 0; }
body, h1, h2, h3,h4,h5, p, ul, li, input, button { margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
ul { list-style: none; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-body);
    background-image: var(--grid-bg);
    background-size: 20px 20px;
    color: var(--text-main);
    line-height: 1.4;
    padding-bottom: 80px; /* 底部留白 */
}

/* 机能风外壳容器 */
.tech-shell {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(245, 245, 245, 0.95);
    min-height: 100vh;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    position: relative;
}

/* --- 顶部搜索栏 (新设计) --- */
.status-header {
    height: 54px;
    background: #000;
    display: flex;
    align-items: center;
    padding: 0 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--primary-color);
}
.app-logo {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    margin-right: 15px;
    font-style: italic;
    white-space: nowrap;
}
.app-logo img{
    height: 40px;
}
.header-search-box {
    flex: 1;
    display: flex;
    background: #1a1a1a;
    border: 1px solid #333;
    height: 32px;
    align-items: center;
    padding: 0 12px;
    /* 切角样式 */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.header-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--primary-color);
    width: 100%;
    font-size: 13px;
    font-family: monospace; /* 代码感 */
}
.header-search-box input::placeholder { color: #555; }
.search-btn {
    color: var(--primary-color);
    background: transparent;
    border: none;
    font-weight: bold;
    font-size: 14px;
    margin-left: 5px;
}

/* 模块标题 */
.mod-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 20px 15px 15px;
    border-bottom: 2px solid #000;
    padding-bottom: 4px;
}
.mh-title {
    font-size: 16px;
    font-weight: 900;
    background: #000;
    color: #fff;
    padding: 3px 12px;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 90% 100%, 0 100%);
}
.mh-more { font-size: 12px; font-weight: bold; color: #000; }

/* 通用机能卡片 */
.tech-card {
    background: #fff;
    border: 1px solid #000;
    margin: 0 15px 15px;
    position: relative;
    padding: 15px;
    /* 右下切角 */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}
/* 装饰线 */
.tech-card::after {
    content: ''; position: absolute; bottom: 4px; right: 4px;
    width: 12px; height: 1px; background: #000;
    transform: rotate(-45deg);
}

/* 底部控制台导航 */
.console-nav {
    position: fixed;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%; max-width: 600px;
    height: 65px;
    background: #000;
    display: flex;
    align-items: center;
    z-index: 99;
    border-top: 3px solid var(--primary-color);
}
.console-item {
    flex: 1;
    text-align: center;
    color: #666;
    height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 4px;
    border-right: 1px solid #222;
}
.console-item.active { color: var(--primary-color); background: #111; }
.c-icon { font-size: 18px; line-height: 1; }
.c-txt { font-size: 12px; font-weight: bold; }

/* 按钮风格 */
.btn-tech {
    background: #000;
    color: var(--primary-color);
    border: none;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
}
.btn-tech:hover { background: var(--primary-color); color: #000; }