:root { color-scheme: dark; --bg: #071416; --surface: #102628; --surface-2: #173135; --line: #365154; --text: #eef3f1; --muted: #829899; --accent: #00f29a; --accent-dark: #062119; --danger: #ffbf9b; font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 84% 0, rgba(0, 242, 154, .08), transparent 28rem), linear-gradient(180deg, #081719, var(--bg)); color: var(--text); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.topbar { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 max(18px, calc((100% - 1080px) / 2)); border-bottom: 1px solid rgba(89, 113, 115, .4); background: rgba(7, 20, 22, .94); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(14px); }
.brand { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 800; letter-spacing: .14em; }.brand span { color: var(--accent); font-size: 23px; vertical-align: -2px; }.command-link { color: var(--muted); text-decoration: none; letter-spacing: .1em; font-size: 11px; }
.app { width: min(1080px, 100%); min-height: calc(100vh - 116px); margin: 0 auto; padding: 18px 18px 98px; }.title-block { margin: 12px 0 22px; }.eyebrow { margin: 0 0 7px; color: var(--accent); font-size: 11px; letter-spacing: .14em; font-weight: 800; }.title-block h1, .hero h1, .private-header h1 { margin: 0; font-size: clamp(28px, 5vw, 50px); line-height: 1.06; }.subtle { color: var(--muted); line-height: 1.65; }
.hero { min-height: 370px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, #1d3924, #101913 70%); }.hero-copy { align-self: center; padding: clamp(28px, 6vw, 70px); z-index: 1; }.hero-copy .subtle { max-width: 480px; }.hero-weapon { width: 100%; height: 100%; min-height: 300px; object-fit: contain; filter: drop-shadow(-40px 30px 34px #000); background: linear-gradient(90deg, transparent, rgba(3, 8, 5, .35)); }
.home-hero { position: relative; min-height: 330px; overflow: hidden; border: 1px solid rgba(78, 104, 106, .65); background: linear-gradient(100deg, rgba(8, 23, 25, .99) 0%, rgba(9, 28, 30, .9) 52%, rgba(9, 28, 30, .56) 100%); box-shadow: 0 16px 42px rgba(0, 0, 0, .34); }.home-hero::after { content: "Δ"; position: absolute; top: -40px; right: -8px; color: rgba(220, 240, 233, .055); font-size: 290px; font-weight: 1000; line-height: 1; }.home-hero-image { position: absolute; inset: 0 0 0 40%; width: 60%; height: 100%; object-fit: contain; opacity: .78; filter: drop-shadow(-22px 24px 30px rgba(0, 0, 0, .72)); z-index: 1; }.home-hero-copy { position: relative; z-index: 2; width: min(620px, 75%); padding: clamp(28px, 5vw, 58px); }.home-hero-copy h1 { margin: 0; font-size: clamp(30px, 5vw, 55px); line-height: 1.02; letter-spacing: -.04em; }.home-hero-copy .subtle { max-width: 470px; margin: 10px 0 0; font-size: 14px; }.home-stats { display: flex; gap: 7px; margin-top: 22px; }.home-stat { min-width: 82px; padding: 8px 10px; border-left: 2px solid var(--accent); background: rgba(18, 48, 50, .82); }.home-stat strong, .home-stat span { display: block; }.home-stat strong { font-size: 17px; color: var(--text); }.home-stat span { margin-top: 2px; color: #7e9596; font-size: 10px; }
.home-section { margin-top: 22px; }.home-section-head { display: flex; align-items: end; justify-content: space-between; margin: 0 0 9px; }.home-section-head h2 { margin: 0; font-size: 16px; }.home-section-head span { color: #718788; font-size: 10px; letter-spacing: .13em; }.video-card { overflow: hidden; border: 1px solid var(--line); background: #0e2022; }.video-ratio { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(circle at 68% 35%, #285154, #071416 62%); }.video-poster { width: min(76%, 650px); height: 100%; object-fit: contain; opacity: .55; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .72)); }.video-ratio::after { content: "Δ"; position: absolute; top: -34px; right: 6%; color: rgba(255, 255, 255, .06); font-size: 190px; font-weight: 1000; }.video-play { position: absolute; z-index: 1; min-height: 42px; color: #062119; border: 1px solid var(--accent); background: var(--accent); font-size: 13px; font-weight: 900; }.video-meta { padding: 13px 15px 15px; }.content-type { display: inline-block; padding: 4px 7px; color: #062119; background: var(--accent); font-size: 10px; font-weight: 900; }.video-meta h2 { margin: 9px 0 5px; font-size: 18px; }.video-meta p { max-width: 680px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.story-card { position: relative; overflow: hidden; padding: 0; color: var(--text); border: 1px solid var(--line); background: #0f2224; text-align: left; }.story-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; }.story-media { position: relative; height: 155px; overflow: hidden; background: linear-gradient(135deg, #173033, #0d1d1f); }.story-card.wide .story-media { height: 175px; }.story-media::after, .article-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(3, 11, 12, .84)); }.story-image { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .72)); }.story-media .content-type { position: absolute; left: 10px; bottom: 9px; z-index: 1; }.story-body { position: relative; padding: 12px 14px 15px; }.story-body h3 { margin: 0 0 6px; font-size: 17px; }.story-body p { max-width: 560px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.52; }.story-arrow { position: absolute; right: 13px; bottom: 10px; color: var(--accent); font-size: 22px; }
.intel-banner { position: relative; overflow: hidden; margin-bottom: 16px; padding: clamp(25px, 5vw, 45px); border: 1px solid var(--line); background: linear-gradient(125deg, #112b2d, #0d1d1f 75%); }.intel-banner::after { content: "Δ"; position: absolute; top: -46px; right: 0; color: rgba(255, 255, 255, .045); font-size: 220px; font-weight: 1000; }.intel-banner h1 { position: relative; z-index: 1; margin: 0; font-size: clamp(31px, 5vw, 52px); }.intel-banner p { position: relative; z-index: 1; max-width: 650px; }.intel-article-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }.article-card { overflow: hidden; border: 1px solid var(--line); background: #0f2325; }.article-media { position: relative; height: 150px; overflow: hidden; background: #183033; }.article-image { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .72)); }.article-media .content-type { position: absolute; left: 10px; bottom: 9px; z-index: 1; }.article-body { padding: 13px; }.article-body h2 { margin: 0 0 7px; font-size: 17px; line-height: 1.25; }.article-body p { min-height: 75px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }.article-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 11px; padding-top: 8px; border-top: 1px solid #284043; color: #718788; font-size: 10px; }.archive-entry { display: flex; justify-content: flex-end; padding-top: 18px; }.archive-stamp { min-height: 28px; padding: 4px 7px; color: #61797a; border: 1px solid rgba(0, 242, 154, .18); background: transparent; font-size: 10px; letter-spacing: .08em; }
.button { min-height: 40px; border: 1px solid var(--line); padding: 8px 14px; border-radius: 3px; color: var(--text); background: var(--surface-2); font-weight: 700; }.button:hover { border-color: var(--accent); }.button.primary { color: #15200e; background: var(--accent); border-color: var(--accent); margin-top: 8px; }.button.ghost { background: transparent; color: var(--muted); }.button.small { min-height: 34px; font-size: 13px; padding: 5px 10px; margin: 0; }
.panel, .terminal-card, .intel-card, .problem-card { border: 1px solid var(--line); background: rgba(18, 27, 22, .94); }.panel { margin-top: 22px; padding: 18px; }.section-head, .room-list-head, .private-header, .conversation-head, .card-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; }.section-head h2, .room-list h2 { margin: 0; font-size: 19px; }.weapon-strip { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 12px; overflow-x: auto; padding-top: 14px; }.weapon-mini { display: grid; gap: 6px; min-width: 180px; padding: 12px; border: 1px solid var(--line); background: #0e1511; }.weapon-mini img { width: 100%; height: 112px; object-fit: contain; }.weapon-mini span, .weapon-meta, .description, .weapon-mini span { color: var(--muted); font-size: 13px; }.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }.info-tile { text-align: left; min-height: 168px; padding: 20px; border: 1px solid var(--line); color: var(--text); background: linear-gradient(135deg, var(--surface), #101712); }.info-tile:hover { border-color: var(--accent); }.info-tile strong, .info-tile small { display: block; }.info-tile strong { margin-top: 12px; font-size: 18px; }.info-tile small { margin-top: 8px; color: var(--muted); line-height: 1.45; }.tile-icon { color: var(--accent); font-size: 28px; }.public-footer { display: flex; justify-content: space-between; padding: 24px 0 0; color: #68776b; font-size: 11px; letter-spacing: .12em; }
.search-input, .auth-input, .room-title-input, .settings-bar input, .room-controls input[type="number"] { width: 100%; min-height: 47px; padding: 10px 13px; color: var(--text); border: 1px solid var(--line); border-radius: 3px; background: var(--surface); }.category-bar { display: flex; gap: 8px; overflow-x: auto; margin: 16px 0; padding-bottom: 4px; }.chip { flex: 0 0 auto; min-height: 35px; padding: 5px 12px; color: var(--muted); background: transparent; }.chip.selected { color: #15200e; background: var(--accent); border-color: var(--accent); }.result-count { margin: 0 0 12px; color: var(--muted); font-size: 13px; }.weapon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }.weapon-card { display: grid; grid-template-columns: minmax(160px, .8fr) 1.2fr; min-height: 252px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }.weapon-image { width: 100%; height: 100%; min-height: 210px; object-fit: contain; background: radial-gradient(circle, #273a2b, #111912 70%); }.image-unavailable { opacity: .18; }.weapon-info { padding: 18px; }.card-heading h2 { margin: 0; font-size: 21px; }.tag { display: inline-block; padding: 3px 7px; color: var(--accent); background: #1c3020; font-size: 11px; font-weight: 700; }.description { min-height: 42px; line-height: 1.5; }.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }.stat { display: grid; gap: 4px; padding-top: 8px; border-top: 1px solid var(--line); }.stat span { color: var(--muted); font-size: 11px; }.stat strong { color: var(--accent); }
.terminal-card { padding: clamp(24px, 5vw, 52px); background: linear-gradient(135deg, #213d26, #111c15 70%); }.terminal-card h2 { margin: 0; font-size: clamp(26px, 4vw, 38px); }.terminal-card .subtle { max-width: 600px; }.intel-list { display: grid; gap: 12px; margin-top: 14px; }.intel-card { padding: 18px; }.intel-card h2 { margin: 0 0 8px; font-size: 18px; }.intel-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.dialog { width: min(440px, calc(100% - 32px)); padding: 0; color: var(--text); border: 1px solid var(--line); background: #101914; }.dialog::backdrop { background: rgba(0, 0, 0, .72); }.auth-form { display: grid; gap: 14px; padding: 24px; }.auth-form h2 { margin: 0; }.auth-form .subtle { margin: -5px 0 0; }.form-actions { display: flex; justify-content: flex-end; gap: 8px; }.form-error { min-height: 20px; margin: 0; color: var(--danger); font-size: 13px; }
.loading, .empty-panel, .problem-card { display: grid; place-items: center; min-height: 210px; padding: 24px; color: var(--muted); text-align: center; }.problem-card { gap: 8px; color: var(--muted); }.problem-card h1 { margin: 0; color: var(--text); }.problem-card p { margin: 0; }
.private-header { margin: 4px 0 18px; }.private-header h1 { font-size: clamp(25px, 4vw, 38px); }.child-header { margin-bottom: 12px; }.chat-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 620px; border: 1px solid var(--line); background: var(--surface); }.room-list { padding: 15px; border-right: 1px solid var(--line); background: #0e1511; }.room-button { width: 100%; margin-top: 7px; padding: 10px; color: var(--muted); border: 1px solid transparent; border-radius: 3px; text-align: left; background: transparent; }.room-button:hover, .room-button.selected { color: var(--text); border-color: var(--line); background: var(--surface-2); }.conversation { display: flex; flex-direction: column; min-height: 580px; }.conversation-head { padding: 17px 20px; border-bottom: 1px solid var(--line); }.conversation-head h2 { margin: 0; font-size: 21px; }.message-stream { flex: 1; display: flex; flex-direction: column; gap: 11px; min-height: 290px; max-height: 550px; overflow-y: auto; padding: 20px; }.message { width: min(82%, 600px); padding: 11px 13px; border: 1px solid var(--line); }.message.own { align-self: flex-end; background: #263b20; border-color: #597436; }.message.other { align-self: flex-start; background: #17221b; }.message-from, .message time { color: var(--muted); font-size: 11px; }.message p { margin: 5px 0 7px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }.message time { display: block; text-align: right; }.emoji-mask { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-height: 29px; }.emoji { font-size: 19px; }.emoji-key { min-width: 30px; min-height: 30px; padding: 0; color: inherit; border: 0; border-radius: 5px; background: transparent; font-size: 19px; }.emoji-key:hover, .emoji-key:focus-visible { background: rgba(201, 237, 98, .16); }.revealed-message { animation: reveal-message .18s ease-out; }.voice-message { display: block; width: min(100%, 280px); margin: 7px 0; }.send-form { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); scroll-margin-bottom: max(14px, env(safe-area-inset-bottom)); }.voice-button { min-width: 54px; }.voice-button.recording { color: #fff; border-color: #dc6868; background: #9f3232; }.message-input { width: 100%; resize: vertical; min-height: 48px; padding: 10px; color: var(--text); border: 1px solid var(--line); background: #0c120f; }.empty-message { align-self: center; color: var(--muted); }@keyframes reveal-message { from { opacity: .15; } to { opacity: 1; } }
.settings-bar, .room-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; padding: 12px; border: 1px solid var(--line); background: #111a14; }.settings-bar label, .room-controls label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; }.settings-bar input { width: 105px; min-height: 35px; }.room-controls { margin: 0; border-width: 0 0 1px; }.room-controls .wide-label { flex: 1 1 200px; }.room-title-input { min-height: 35px; }.room-controls input[type="number"] { width: 95px; min-height: 35px; }.check-label { display: flex !important; align-items: center; gap: 7px; padding-bottom: 8px; }.admin-conversation .message-stream { max-height: 450px; }.admin-list .room-button { font-size: 13px; }.admin-layout { min-height: 680px; }
@media (max-width: 720px) { .topbar { padding: 0 16px; }.command-link { font-size: 10px; }.app { padding: 16px 12px 86px; }.hero { grid-template-columns: 1fr; min-height: 0; }.hero-copy { padding: 30px 24px 18px; }.hero-weapon { min-height: 190px; max-height: 240px; }.weapon-strip { grid-template-columns: repeat(3, 190px); }.tile-grid { grid-template-columns: 1fr; }.weapon-grid { grid-template-columns: 1fr; }.weapon-card { grid-template-columns: 130px minmax(0, 1fr); min-height: 205px; }.weapon-image { min-height: 180px; }.weapon-info { padding: 13px; }.card-heading { align-items: flex-start; flex-direction: column-reverse; gap: 7px; }.card-heading h2 { font-size: 17px; }.description { margin: 8px 0; font-size: 12px; }.stats { gap: 4px; }.stat strong { font-size: 13px; }.chat-layout { grid-template-columns: 1fr; min-height: 0; }.room-list { border-right: 0; border-bottom: 1px solid var(--line); }.room-list:not(.admin-list) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }.room-list-head, .limit-note { grid-column: 1 / -1; }.room-button { margin-top: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.conversation { min-height: 510px; }.message-stream { max-height: 420px; }.send-form { grid-template-columns: 1fr; }.settings-bar { align-items: center; }.settings-bar strong { width: 100%; }.bottom-nav { padding-bottom: max(8px, env(safe-area-inset-bottom)); } }
@media (max-width: 720px) { .home-hero { min-height: 270px; }.home-hero-image { left: 38%; width: 68%; opacity: .56; }.home-hero-copy { width: 84%; padding: 25px 20px; }.home-hero-copy h1 { font-size: 31px; }.home-hero-copy .subtle { max-width: 260px; font-size: 12px; }.home-stats { gap: 5px; margin-top: 17px; }.home-stat { min-width: 0; flex: 1; padding: 7px; }.home-stat strong { font-size: 14px; }.home-stat span { font-size: 9px; }.home-section { margin-top: 16px; }.home-section-head h2 { font-size: 14px; }.video-meta { padding: 10px 11px 12px; }.video-meta h2 { font-size: 15px; }.video-meta p { font-size: 11px; }.story-grid { gap: 8px; }.story-media { height: 116px; }.story-card.wide { display: block; }.story-card.wide .story-media { height: 136px; }.story-body { padding: 10px 11px 13px; }.story-body h3 { font-size: 14px; }.story-body p { font-size: 11px; }.intel-banner { margin-bottom: 12px; padding: 23px 18px; }.intel-banner h1 { font-size: 30px; }.intel-banner .subtle { font-size: 12px; }.intel-article-list { grid-template-columns: 1fr; gap: 9px; }.article-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); }.article-media { height: 100%; min-height: 148px; }.article-body { padding: 12px; }.article-body h2 { font-size: 15px; }.article-body p { min-height: 0; font-size: 11px; }.article-meta { font-size: 9px; }.archive-entry { padding-top: 13px; } }
.bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 4; justify-content: space-around; padding: 8px 12px; border-top: 1px solid var(--line); background: rgba(11, 16, 14, .96); backdrop-filter: blur(12px); }.bottom-nav[hidden] { display: none !important; }.nav-item { display: grid; gap: 3px; min-width: 70px; padding: 4px; color: var(--muted); border: 0; background: transparent; font-size: 11px; }.nav-item span { font-size: 19px; }.nav-item.active { color: var(--accent); } @media (max-width: 720px) { .bottom-nav { display: flex; } }
