* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background: transparent; color: #ffffff; height: 100vh; overflow: hidden; margin: 0; display: none; justify-content: center; align-items: center; } body.visible { display: flex; } .skill-map-container { width: 80vw; max-width: 1200px; height: 80vh; max-height: 800px; position: relative; overflow: hidden; display: none; background: #141517; border: 1px solid #2c2e33; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); } .skill-map-container.visible { display: flex; flex-direction: column; } /* Header Styles */ .app-header { height: 70px; border-bottom: 1px solid #2c2e33; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; } .skill-points-container { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: rgba(0, 122, 255, 0.15); color: #007aff; font-weight: 600; font-size: 1.2em; } .skill-points-container i { font-size: 1.1em; } .header-right { display: flex; align-items: center; } .skill-points { font-size: 1.4em; color: #007aff; font-weight: bold; letter-spacing: 1px; } .skill-points-label { color: #007aff; font-size: 0.9em; font-weight: 500; display: flex; align-items: center; gap: 6px; } .skill-points-label i { color: #228be6; font-size: 1.1em; } .close-button { background: none; border: none; color: #909296; font-size: 1.2em; cursor: pointer; width: 40px; height: 40px; border-radius: 4px; transition: all 0.2s; display: flex; align-items: center; justify-content: center; } .close-button:hover { color: #ffffff; background: #2c2e33; } /* Main Content Layout */ .main-content { flex: 1; display: flex; overflow: hidden; } /* Tab Navigation */ .skill-tabs { width: 200px; border-right: 1px solid #2c2e33; display: flex; flex-direction: column; padding: 16px 0; } .tab-button { background: none; border: none; color: #909296; padding: 16px 24px; cursor: pointer; text-align: left; font-size: 1em; font-weight: 500; transition: all 0.2s; border-left: 3px solid transparent; } .tab-button:hover { color: #ffffff; background: #2c2e33; } .tab-button.active { color: #ffffff; background: #2c2e33; border-left-color: #007aff; } /* Skill Content Area */ .skill-content { flex: 1; padding: 24px; overflow-y: auto; } .skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; padding: 8px; } .skill-card { background: #1a1b1e; border: 1px solid #2c2e33; border-radius: 0; transition: all 0.2s; display: flex; flex-direction: column; height: 100%; position: relative; } .skill-card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); } .skill-card.owned::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: #007aff; } .skill-card-header { padding: 20px; border-bottom: 1px solid #2c2e33; position: relative; } .skill-card h2 { color: #ffffff; font-size: 1.2em; font-weight: 600; margin-bottom: 8px; padding-right: 100px; } .badge-container { position: absolute; top: 20px; right: 20px; display: flex; gap: 8px; } .badge { padding: 4px 8px; border-radius: 0; font-size: 0.8em; font-weight: 600; backdrop-filter: blur(10px); display: flex; align-items: center; gap: 4px; } .level-badge { background: rgba(255, 59, 48, 0.15); color: #ff3b30; } .points-badge { background: rgba(0, 122, 255, 0.15); color: #007aff; } .restriction-badge { background: rgba(255, 149, 0, 0.15); color: #ff9500; } .restriction-badge.faction { background: rgba(88, 86, 214, 0.15); color: #5856d6; } .restriction-badge.civilian { background: rgba(52, 199, 89, 0.15); color: #34c759; } .restriction-badge.pd { background: rgba(255, 45, 85, 0.15); color: #ff2d55; } .badge i { font-size: 0.9em; } .skill-card-content { padding: 20px; flex: 1; display: flex; flex-direction: column; } .skill-desc { color: #ffffff; font-size: 0.99em; line-height: 1.6; margin-bottom: 20px; flex: 1; } .skill-cost { color: #909296; font-size: 0.9em; margin-bottom: 16px; display: flex; align-items: center; gap: 6px; } .buy-button { width: 100%; padding: 14px; background: #1a1b1e; color: #ffffff; border: 1px solid #2c2e33; border-radius: 0; font-size: 1em; font-weight: 500; cursor: pointer; transition: all 0.2s; text-align: center; margin-bottom: 12px; } .buy-button:hover:not(:disabled) { background: #2c2e33; border-color: #909296; } .buy-button:disabled { opacity: 0.5; cursor: not-allowed; } .skill-card.owned .buy-button { background: rgba(0, 122, 255, 0.15); color: #007aff; border-color: #007aff; cursor: default; } .skill-card.locked { opacity: 0.7; } /* Restriction badge styles */ .skill-card-content .restriction-badge { width: 100%; justify-content: center; margin-top: 4px; font-size: 0.85em; padding: 6px 12px; } /* Scrollbar Styles */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #1a1b1e; } ::-webkit-scrollbar-thumb { background: #2c2e33; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #909296; } /* Skill Nodes */ .skill-node { position: absolute; width: 48px; height: 48px; border-radius: 8px; background: #25262b; border: 1px solid #2c2e33; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; } .skill-node:hover { border-color: #228be6; transform: translateY(-2px); } .skill-node.selected { border-color: #228be6; box-shadow: 0 0 20px rgba(34, 139, 230, 0.3); } .skill-node.owned { background: #228be6; border-color: #228be6; } .skill-node.locked { opacity: 0.5; cursor: not-allowed; } .skill-node i { font-size: 1.4em; color: #ffffff; } .node-badge { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); background: #1a1b1e; color: #909296; font-size: 0.75em; padding: 2px 8px; border-radius: 4px; border: 1px solid #2c2e33; white-space: nowrap; } /* Skill Connections */ .skill-connection { position: absolute; height: 2px; background: #2c2e33; transform-origin: left center; pointer-events: none; transition: background 0.3s ease; } .skill-node.owned ~ .skill-connection { background: #228be6; } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 139, 230, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(34, 139, 230, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 139, 230, 0); } } .header-title { color: #fff; font-size: 1.5rem; font-weight: bold; text-shadow: 0 0 10px rgba(0, 153, 255, 0.5); }