Spaces:
Running
Running
| :root { | |
| --bg-color: #0d0e15; | |
| --panel-bg: #161824; | |
| --panel-border: #2a2d42; | |
| --text-main: #e2e4f0; | |
| --text-muted: #8c90ad; | |
| --accent-red: #e63946; | |
| --accent-red-hover: #ff4d6d; | |
| --accent-blue: #3a86ff; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; | |
| user-select: none; | |
| } | |
| body { | |
| background-color: var(--bg-color); | |
| color: var(--text-main); | |
| height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| } | |
| #app-container { | |
| flex: 1; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .tab-content { | |
| display: none; | |
| height: calc(100vh - 60px); | |
| flex-direction: column; | |
| padding: 15px; | |
| overflow-y: auto; | |
| } | |
| .tab-content.active { | |
| display: flex; | |
| } | |
| .top-bar { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding-bottom: 12px; | |
| border-bottom: 1px solid var(--panel-border); | |
| margin-bottom: 12px; | |
| } | |
| .status-badge { | |
| font-size: 0.8rem; | |
| background: var(--panel-border); | |
| padding: 4px 10px; | |
| border-radius: 12px; | |
| color: var(--accent-blue); | |
| } | |
| .chat-area { | |
| flex: 1; | |
| overflow-y: auto; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| margin-bottom: 10px; | |
| padding-right: 5px; | |
| } | |
| .msg { | |
| padding: 12px; | |
| border-radius: 8px; | |
| line-height: 1.4; | |
| font-size: 0.95rem; | |
| word-wrap: break-word; | |
| } | |
| .msg.gm { | |
| background: var(--panel-bg); | |
| border-left: 4px solid var(--accent-blue); | |
| } | |
| .msg.user { | |
| background: #1e2238; | |
| border-right: 4px solid var(--accent-red); | |
| align-self: flex-end; | |
| width: 90%; | |
| } | |
| .dice-bar { | |
| display: flex; | |
| gap: 10px; | |
| align-items: center; | |
| margin-bottom: 10px; | |
| } | |
| .dice-val { | |
| background: var(--panel-bg); | |
| border: 1px solid var(--panel-border); | |
| padding: 8px 16px; | |
| border-radius: 6px; | |
| font-weight: bold; | |
| color: var(--accent-red); | |
| min-width: 50px; | |
| text-align: center; | |
| } | |
| .input-bar { | |
| display: flex; | |
| gap: 8px; | |
| } | |
| textarea { | |
| flex: 1; | |
| background: var(--panel-bg); | |
| border: 1px solid var(--panel-border); | |
| color: var(--text-main); | |
| padding: 10px; | |
| border-radius: 6px; | |
| resize: none; | |
| height: 50px; | |
| } | |
| .card-panel { | |
| background: var(--panel-bg); | |
| border: 1px solid var(--panel-border); | |
| padding: 15px; | |
| border-radius: 8px; | |
| } | |
| .form-group { | |
| margin-bottom: 12px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 4px; | |
| } | |
| label { | |
| font-size: 0.85rem; | |
| color: var(--text-muted); | |
| } | |
| .rpg-input { | |
| background: var(--bg-color); | |
| border: 1px solid var(--panel-border); | |
| color: var(--text-main); | |
| padding: 8px 12px; | |
| border-radius: 6px; | |
| font-size: 0.95rem; | |
| } | |
| .point-buy-header { | |
| display: flex; | |
| justify-content: space-between; | |
| margin: 12px 0 8px; | |
| font-size: 0.9rem; | |
| } | |
| .highlight { | |
| color: var(--accent-red); | |
| font-weight: bold; | |
| } | |
| .stats-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 10px; | |
| } | |
| .stat-box { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| background: var(--bg-color); | |
| padding: 6px 10px; | |
| border-radius: 6px; | |
| border: 1px solid var(--panel-border); | |
| } | |
| .stat-btn { | |
| background: var(--panel-border); | |
| color: var(--text-main); | |
| border: none; | |
| width: 26px; | |
| height: 26px; | |
| border-radius: 4px; | |
| font-weight: bold; | |
| cursor: pointer; | |
| } | |
| button { | |
| cursor: pointer; | |
| } | |
| .primary-btn { | |
| background: var(--accent-red); | |
| color: #fff; | |
| border: none; | |
| padding: 10px 16px; | |
| border-radius: 6px; | |
| font-weight: bold; | |
| } | |
| .primary-btn:hover { | |
| background: var(--accent-red-hover); | |
| } | |
| .secondary-btn { | |
| background: var(--panel-border); | |
| color: var(--text-main); | |
| border: none; | |
| padding: 6px 12px; | |
| border-radius: 6px; | |
| } | |
| .accent-btn { | |
| flex: 1; | |
| background: #2b1d38; | |
| border: 1px solid #5a3286; | |
| color: #c77dff; | |
| padding: 10px; | |
| border-radius: 6px; | |
| font-weight: bold; | |
| } | |
| .bottom-nav { | |
| height: 60px; | |
| background: var(--panel-bg); | |
| border-top: 1px solid var(--panel-border); | |
| display: flex; | |
| } | |
| .nav-btn { | |
| flex: 1; | |
| background: none; | |
| border: none; | |
| color: var(--text-muted); | |
| font-size: 0.85rem; | |
| } | |
| .nav-btn.active { | |
| color: var(--accent-red); | |
| font-weight: bold; | |
| } | |
| .mt-10 { margin-top: 10px; } | |
| .help-text { font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; } | |
| .lore-card { background: var(--bg-color); border: 1px solid var(--panel-border); padding: 10px; border-radius: 6px; margin-top: 8px; } | |
| .lore-tag { color: var(--accent-blue); font-weight: bold; font-size: 0.85rem; } |