:root {
  --nav: #1b2026;
  --nav-deep: #15191e;
  --nav-active: #2b333d;
  --ink: #273746;
  --muted: #718091;
  --line: #d9dee3;
  --page: #eef0f3;
  --panel: #ffffff;
  --blue: #1599d6;
  --link: #168bd0;
  --danger: #ef2626;
  --gold: #ffb000;
  --green: #1db954;
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
}

* { box-sizing: border-box; }
html, body, #app { min-width: 1180px; min-height: 100%; margin: 0; }
body { background: var(--page); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.app-shell { min-height: 100vh; background: var(--page); }
.hero { height: 146px; position: relative; background: #172432 url("../assets/city-banner.png") center 48% / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,24,38,.74), rgba(28,20,40,.1) 57%, rgba(12,13,18,.52)); pointer-events: none; }
.brand { position: absolute; z-index: 1; left: 17px; top: 12px; width: 166px; max-height: 112px; object-fit: contain; object-position: left center; }
.hero-actions { position: absolute; z-index: 1; right: 24px; top: 31px; display: flex; align-items: center; gap: 12px; color: #fff; }
.icon-button { width: 32px; height: 32px; border: 0; border-radius: 50%; color: #27313b; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.16); }
.user-summary { display: flex; align-items: center; gap: 10px; padding-left: 15px; margin-left: 2px; }
.user-avatar { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #202830; }
.user-avatar-image { object-fit: cover; }
.user-summary strong { display: block; font-size: 13px; line-height: 1.05; }
.user-summary span { display: block; margin-top: 4px; color: rgba(255,255,255,.82); font-size: 11px; }
.account-login { min-height: 34px; padding: 0 15px; border-radius: 18px; display: inline-flex; align-items: center; gap: 8px; color: #fff; background: rgba(10, 19, 29, .7); border: 1px solid rgba(255,255,255,.34); text-decoration: none; font-size: 12px; font-weight: 700; }
.account-login:hover { background: rgba(15, 152, 214, .88); }
.account-logout { padding: 3px 8px; border: 1px solid rgba(255,255,255,.32); border-radius: 10px; color: rgba(255,255,255,.86); background: transparent; font-size: 10px; cursor: pointer; }

.titlebar { height: 49px; display: flex; align-items: center; padding-left: 323px; color: #f7f7f7; background: #151515; border-bottom: 4px solid #d7d9dc; position: relative; }
.titlebar::after { content: ""; position: absolute; left: 303px; bottom: -4px; width: 204px; height: 4px; background: var(--blue); }
.titlebar h1 { margin: 0; font-size: 20px; font-weight: 600; }

.layout { display: flex; min-height: calc(100vh - 195px); }
.sidebar { width: 303px; flex: 0 0 303px; color: #d6dde5; background: var(--nav); overflow: hidden; }
.search { height: 52px; padding: 0 17px; color: #d6dbe0; background: #2b333d; border: 0; outline: 0; width: 230px; }
.menu-toggle { width: 73px; height: 52px; float: right; display: grid; place-items: center; color: #dce4ec; background: #242b33; border: 0; font-size: 17px; }
.nav-scroll { clear: both; padding-bottom: 24px; }
.nav-item, .nav-group-title { min-height: 48px; display: flex; align-items: center; gap: 14px; padding: 0 24px; color: #cbd5df; font-size: 14px; border-left: 4px solid transparent; background: transparent; cursor: pointer; user-select: none; }
.nav-item:hover, .nav-group-title:hover { background: #252c34; }
.nav-item.active { color: #fff; background: #232a32; border-left-color: var(--blue); }
.nav-item i, .nav-group-title i:first-child { width: 20px; color: #d7e2eb; text-align: center; font-size: 17px; }
.nav-item small { margin-left: auto; color: #aab7c5; }
.nav-group-title { justify-content: flex-start; }
.nav-group-title .chevron { margin-left: auto; font-size: 12px; color: #b6c3d1; }
.nav-group-title.open { background: #2a323b; }
.nav-group-title.open > i:first-child { color: #fff; }
.nav-sub { display: none; padding: 2px 0 6px; background: var(--nav-deep); }
.nav-sub.open { display: block; }
.nav-sub .nav-item { min-height: 40px; padding-left: 60px; font-size: 13px; border-left: 0; }
.nav-sub .nav-item.active { color: #fff; background: #20262d; }
.nav-section-label { padding: 19px 24px 8px; color: #7f8d9b; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.sidebar-footer { padding: 20px 22px; color: #a7b3c0; border-top: 1px solid rgba(255,255,255,.08); }
.online-label { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 12px; }
.online-label strong { color: #fff; font-weight: 500; }
.meter { height: 6px; overflow: hidden; background: #333d48; border-radius: 20px; }
.meter span { display: block; width: 18%; height: 100%; background: #685c92; border-radius: inherit; }
.current-time { margin-top: 19px; font-size: 12px; line-height: 1.7; }

.content { flex: 1; min-width: 0; padding: 36px 41px 60px; overflow: auto; }
.content-inner { max-width: 1600px; margin: 0 auto; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 18px; }
.stat-card { min-height: 136px; display: flex; align-items: center; gap: 18px; padding: 23px 23px; background: var(--panel); border-left: 4px solid var(--blue); box-shadow: 0 2px 4px rgba(34,43,53,.09); }
.stat-card:nth-child(2) { border-left-color: #ed6363; }
.stat-card:nth-child(3) { border-left-color: #38adb2; }
.stat-card:nth-child(4) { border-left-color: #39424d; }
.stat-icon { width: 68px; height: 68px; display: grid; place-items: center; color: #fff; border-radius: 50%; font-size: 28px; background: #1294cf; }
.stat-card:nth-child(2) .stat-icon { background: #ea5e5e; }
.stat-card:nth-child(3) .stat-icon { background: #2eabb1; }
.stat-card:nth-child(4) .stat-icon { background: #36404c; }
.stat-copy small { display: block; font-size: 15px; color: #2c3947; }
.stat-copy strong { display: block; margin-top: 6px; font-size: 22px; font-weight: 700; }
.stat-copy hr { width: 145px; margin: 12px 0 0; border: 0; border-top: 1px dotted #c9ced4; }
.home-grid { display: grid; grid-template-columns: 1.08fr .82fr; gap: 30px; }
.panel { background: var(--panel); box-shadow: 0 2px 5px rgba(34,43,53,.08); }
.news-panel { min-height: 450px; position: relative; overflow: hidden; color: #fff; background: #1f242b; }
.news-image { height: 365px; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.8)), url("../assets/city-banner.png") center / cover; filter: saturate(.72) contrast(1.1); }
.news-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 28px 22px; text-align: center; background: rgba(28,32,39,.88); }
.news-copy strong { display: block; font-size: 16px; }
.news-copy p { margin: 10px 0 8px; font-size: 13px; color: #e6ebef; }
.dots { display: flex; justify-content: center; gap: 6px; }
.dots span { width: 28px; height: 3px; background: #8a8d90; }
.dots span.active { background: #fff; }
.video-panel { min-height: 450px; background: #090909; }
.video-placeholder { height: 100%; min-height: 450px; display: grid; place-items: center; position: relative; overflow: hidden; background: #090909; }
.video-placeholder::before { content: "LSiRP COMMUNITY MEDIA"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.18); font-size: 30px; letter-spacing: .1em; transform: rotate(-12deg); }
.play { position: relative; z-index: 1; width: 70px; height: 50px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: #f3143e; font-size: 21px; }
.below-grid { display: grid; grid-template-columns: 1.08fr .82fr; gap: 30px; margin-top: 30px; }
.availability { padding: 22px 20px 14px; }
.panel-title { margin: 0 0 18px; font-size: 20px; font-weight: 500; }
.status-row { min-height: 47px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border: 1px solid #d8dce1; border-bottom: 0; color: var(--link); font-size: 14px; }
.status-row:last-child { border-bottom: 1px solid #d8dce1; }
.status { padding: 3px 5px; color: #14aa55; border: 1px solid #22c86b; font-size: 10px; }
.kook-panel { overflow: hidden; background: #171b20; color: #fff; }
.kook-head { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; background: #4b42ce; }
.kook-head strong { font-size: 20px; }
.kook-body { min-height: 260px; padding: 23px; color: #e4e8ee; }
.kook-body p { margin: 0 0 15px; color: #aeb6bf; font-size: 12px; }
.kook-channel { padding: 7px 0; font-size: 14px; }

.page-heading { margin: 0 0 26px; font-size: 25px; font-weight: 500; }
.page-panel { padding: 28px; background: #fff; box-shadow: 0 2px 5px rgba(34,43,53,.08); }
.tab-bar { display: flex; gap: 30px; border-bottom: 1px solid var(--line); }
.tab { padding: 0 4px 17px; color: #2f3c49; border: 0; border-bottom: 3px solid transparent; background: transparent; font-weight: 600; }
.tab.active { color: var(--link); border-bottom-color: var(--blue); }
.character-top { display: grid; grid-template-columns: 370px 1fr 290px; gap: 30px; align-items: start; }
.identity-card { min-height: 380px; padding: 26px 20px; background: #fff; box-shadow: 0 2px 5px rgba(34,43,53,.08); }
.identity-name { display: inline-block; margin: -46px 0 22px; padding: 11px 13px; color: #fff; background: #332c2c; font-size: 17px; font-weight: 700; }
.tag { display: inline-block; margin-left: -3px; padding: 4px 10px; color: #fff; background: #118ed1; font-size: 12px; }
.identity-card h3 { margin: 16px 0 8px; padding-bottom: 9px; border-bottom: 1px dotted #c9ced4; font-size: 15px; font-weight: 500; }
.identity-card p { margin: 7px 0; color: #6c7a88; font-size: 13px; }
.identity-card a, .link { color: var(--link); text-decoration: none; }
.attribute-list { margin: 0; padding: 0; list-style: none; }
.attribute-list li { margin: 8px 0; color: var(--link); font-size: 13px; }
.attribute-list i { margin-right: 5px; font-size: 10px; }
.profile-main { min-height: 380px; background: #fff; box-shadow: 0 2px 5px rgba(34,43,53,.08); }
.profile-main .tab-bar { padding: 0 22px; flex-wrap: nowrap; gap: 17px; overflow-x: auto; }
.profile-main .tab { flex: 0 0 auto; white-space: nowrap; font-size: 12px; }
.comment-box { padding: 28px 32px 6px; }
.comment-box h2 { margin: 0 0 17px; font-size: 20px; font-weight: 500; }
.comment-input { width: 100%; min-height: 70px; padding: 13px; border: 1px solid #ccd3da; resize: vertical; }
.comment-actions { display: flex; justify-content: flex-end; padding: 0 3px 10px; }
.primary-button { padding: 9px 17px; color: #fff; border: 0; background: #0c8fce; }
.timeline { padding: 24px 32px 34px; }
.timeline h2 { margin: 0 0 20px; font-size: 20px; font-weight: 500; }
.empty-state { padding: 25px 0; color: #7f8994; font-style: italic; }
.side-stat { padding: 23px 22px; margin-bottom: 30px; background: #fff; box-shadow: 0 2px 5px rgba(34,43,53,.08); }
.side-stat h3 { margin: 0 0 19px; font-size: 18px; font-weight: 500; }
.side-stat strong { font-size: 18px; }
.side-stat p { margin: 7px 0 0; color: #7b8792; font-size: 13px; }
.activity-bars { height: 50px; display: flex; align-items: end; justify-content: flex-end; gap: 6px; margin-top: -45px; }
.activity-bars i { width: 8px; background: #2d3641; border-radius: 4px 4px 0 0; }
.activity-bars i:nth-child(1) { height: 15px; }.activity-bars i:nth-child(2) { height: 26px; }.activity-bars i:nth-child(3) { height: 36px; }.activity-bars i:nth-child(4) { height: 47px; }
.activity-chart svg { display: block; width: 100%; height: 240px; }
.chart-labels { display: grid; grid-template-columns: repeat(12, 1fr); margin-top: -18px; color: #687582; font-size: 11px; text-align: center; }

.request-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; }
.request-tabs { display: flex; gap: 27px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.request-tab { padding: 0 0 15px; color: #263746; border: 0; border-bottom: 3px solid transparent; background: transparent; font-weight: 600; }
.request-tab.active { color: var(--link); border-bottom-color: var(--blue); }
.table-tools { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.select, .input { min-height: 38px; padding: 0 12px; border: 1px solid #ccd3da; background: #fff; color: #475668; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { padding: 14px 12px; border: 1px solid #d8dde2; text-align: left; }
.table th { color: #4c5965; background: #f6f7f8; font-weight: 600; }
.table td { color: #687684; }
.badge { display: inline-block; padding: 4px 7px; font-size: 11px; border: 1px solid; }
.badge.pending { color: #aa7400; border-color: #dfb649; background: #fffaf0; }
.badge.review { color: #146d9d; border-color: #8bc8e7; background: #f0f9fd; }
.badge.done { color: #188649; border-color: #79d4a0; background: #f1fbf5; }
.detail-panel { padding: 22px; background: #fff; box-shadow: 0 2px 5px rgba(34,43,53,.08); }
.detail-panel h2 { margin: 0 0 22px; font-size: 19px; font-weight: 500; }
.detail-section { padding: 16px 0; border-top: 1px solid var(--line); }
.detail-section strong { display: block; margin-bottom: 8px; font-size: 13px; }
.detail-section p { margin: 0; color: #6e7a86; font-size: 13px; line-height: 1.7; }
.evidence { padding: 9px 10px; margin-top: 7px; border: 1px solid #d7dde2; color: var(--link); font-size: 12px; }

.simple-list { display: grid; gap: 1px; border: 1px solid var(--line); }
.simple-row { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px; background: #fff; border-bottom: 1px solid var(--line); }
.simple-row:last-child { border-bottom: 0; }
.simple-row span { color: var(--link); }
.page-copy { max-width: 820px; margin-bottom: 24px; color: #697785; line-height: 1.8; }

@media (max-width: 1400px) {
  .stats-grid { gap: 16px; }
  .home-grid, .below-grid { gap: 18px; }
  .content { padding-left: 24px; padding-right: 24px; }
}
