/* === MGT2 PNJ & Rencontres =================================================== */ .mgt2-npc-dialog .window-header { background: linear-gradient(180deg, rgba(44, 44, 62, 0.96) 0%, rgba(30, 30, 43, 0.96) 100%); border-bottom: 1px solid #c9a227; } .mgt2-npc-dialog .window-title { color: #d9b24c; text-shadow: none; } .mgt2-npc-dialog .window-content, #mgt2-npc .window-content { padding: 0; overflow-y: auto; background: #f5f0e8; } .mgt2-npc-form { display: flex; flex-direction: column; background: #f5f0e8; color: #222; } .mgt2-npc-dialog .mgt2-npc-form .tabs, .mgt2-npc-form .tabs { display: flex; background: #2c2c3e; border-bottom: 3px solid #c9a227; } .mgt2-npc-dialog .mgt2-npc-form .tabs .item, .mgt2-npc-form .tabs .item { flex: 1; padding: 10px 8px; text-align: center; color: #d8c79a !important; font-size: 0.84em; font-weight: bold; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -3px; text-shadow: none !important; } .mgt2-npc-dialog .mgt2-npc-form .tabs .item:hover, .mgt2-npc-form .tabs .item:hover { color: #f3e3b1 !important; background: rgba(201, 162, 39, 0.16) !important; } .mgt2-npc-dialog .mgt2-npc-form .tabs .item.active, .mgt2-npc-form .tabs .item.active { color: #d9b24c !important; border-bottom-color: #c9a227 !important; background: rgba(201, 162, 39, 0.18) !important; } .mgt2-npc-form .tab-content { padding: 14px 16px 12px; } .mgt2-npc-form .tab { display: none; } .mgt2-npc-form .tab.active { display: block; } .mgt2-npc-dialog .mgt2-npc-form h3, .mgt2-npc-form h3 { margin: 0 0 12px; color: #5f4300 !important; font-size: 1em; font-weight: bold; border-bottom: 1px solid #b78f26 !important; padding-bottom: 5px; text-shadow: none !important; } .npc-intro { margin: 0 0 10px; color: #555; font-size: 0.87em; } .mgt2-npc-form fieldset { border: 1px solid #c9a227; border-radius: 5px; padding: 10px 12px 8px; margin: 10px 0; background: rgba(201, 162, 39, 0.04); } .mgt2-npc-dialog .mgt2-npc-form legend, .mgt2-npc-form legend { color: #7a5c00 !important; font-size: 0.78em; font-weight: bold; padding: 0 5px; text-transform: uppercase; letter-spacing: 0.04em; } .mgt2-npc-form .form-group { display: flex; flex-direction: column; gap: 3px; margin: 0; } .mgt2-npc-form .form-group-row { display: flex; gap: 12px; margin-bottom: 8px; } .mgt2-npc-form .form-group-row .form-group { flex: 1; } .mgt2-npc-form label { font-size: 0.8em; font-weight: bold; color: #444; } .mgt2-npc-form input[type="text"], .mgt2-npc-form select { width: 100%; box-sizing: border-box; padding: 5px 7px; font-size: 0.85em; background: #fff; color: #222; border: 1px solid #bbb; border-radius: 3px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08); height: 28px; } .mgt2-npc-form input[type="text"]:focus, .mgt2-npc-form select:focus { border-color: #c9a227; outline: none; box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.22); } .mgt2-npc-form .hint { font-weight: normal; font-size: 0.85em; color: #777; } .mgt2-npc-form input[type="checkbox"] { accent-color: #c9a227; width: 14px; height: 14px; margin: 0; } .checkbox-group label { display: flex; align-items: center; gap: 7px; font-size: 0.85em; color: #333; cursor: pointer; } .npc-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; font-size: 0.84em; color: #333; } .npc-checklist i { color: #2a6a2a; margin-right: 4px; } .form-footer { display: flex; justify-content: flex-end; margin-top: 14px; } button.btn-calculate, .btn-calculate { background: #2c2c3e; color: #e1bc57; border: 1px solid #c9a227; border-radius: 4px; padding: 7px 18px; font-size: 0.85em; font-weight: bold; cursor: pointer; text-shadow: none; } button.btn-calculate:hover, .btn-calculate:hover { background: #243852; color: #f2d27a; } .mgt2-npc-result { font-size: 0.85em; color: #222; } .mgt2-npc-result .npc-header h3 { color: #5f4300 !important; border-bottom: 2px solid #c9a227; padding-bottom: 4px; margin-bottom: 8px; font-size: 1em; text-shadow: none !important; } .npc-pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; } .npc-pill { display: inline-flex; align-items: center; gap: 4px; background: #2c2c3e; color: #c9a227; border-radius: 999px; padding: 3px 9px; font-size: 0.8em; font-weight: bold; } .npc-pill-muted { background: #e7dfce; color: #6a5422; } .npc-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; } .npc-card-block, .npc-section, .npc-note, .npc-highlight { background: #fbf8f1; border: 1px solid #d7ccb0; border-radius: 5px; padding: 8px 10px; } .npc-card-title, .npc-section-title { color: #5f4300 !important; font-size: 0.78em; font-weight: bold; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 5px; } .npc-card-value { font-size: 1em; font-weight: bold; color: #222; } .npc-roll-line, .npc-inline-roll, .npc-subline { color: #666; font-size: 0.8em; } .npc-highlight { font-weight: bold; color: #222; margin-bottom: 8px; } .npc-section p, .npc-note p { margin: 4px 0; } .npc-table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 0.83em; } .npc-table th, .npc-table td { border: 1px solid #d2c8b2; padding: 5px 7px; vertical-align: top; } .npc-table th { width: 92px; text-align: left; background: #2c2c3e; color: #c9a227; } .npc-table td { background: #fff; color: #222; } .npc-note { color: #2a6a2a; border-color: #a9d0a9; background: #eef8ee; } /* === MGT2 Sector Map ====================================================== */ #mgt2-sector-map .window-content { padding: 0; overflow: hidden; background: #1a1a2e; } .mgt2-sector-map-outer { display: flex; flex-direction: column; width: 100%; height: 100%; } .mgt2-sector-map-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px; background: #2c2c3e; border-bottom: 1px solid #c9a227; flex-shrink: 0; } .mgt2-sector-map-label { color: #d9b24c; font-weight: bold; font-size: 0.85em; } .mgt2-sector-map-hint { color: #a99c7a; font-size: 0.78em; } .mgt2-sector-map-share { background: #c9a227; color: #1a1a2e; border: none; border-radius: 3px; padding: 4px 12px; font-size: 0.8em; font-weight: bold; cursor: pointer; flex-shrink: 0; } .mgt2-sector-map-share:hover { background: #d9b24c; } .mgt2-sector-map-frame { width: 100%; flex: 1; border: none; } /* === MGT2 World Card (chat) ============================================== */ .mgt2-world-card { background: #f5f0e8; border: 1px solid #c9a227; border-radius: 5px; overflow: hidden; font-family: 'Signika', sans-serif; color: #222; } .mgt2-world-card-header { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #2c2c3e; border-bottom: 2px solid #c9a227; } .mgt2-world-name { font-size: 1.1em; font-weight: bold; color: #d9b24c; } .mgt2-world-hex { font-size: 0.78em; color: #a99c7a; font-weight: normal; } .mgt2-world-zone { margin-left: auto; font-size: 0.75em; font-weight: bold; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; } .mgt2-world-zone.zone-g { background: #2a6a2a; color: #fff; } .mgt2-world-zone.zone-a { background: #b8860b; color: #fff; } .mgt2-world-zone.zone-r { background: #8b0000; color: #fff; } .mgt2-world-card-body { width: 100%; border-collapse: collapse; } .mgt2-world-card-body td { padding: 0; border-bottom: 1px solid #e0d8c8; } .mgt2-world-card-body .mono { font-family: 'Courier New', monospace; letter-spacing: 0.1em; } /* === Fold rows (details/summary) ========================================= */ .mgt2-world-card-body details { display: block; } .mgt2-world-card-body summary { display: flex; align-items: center; gap: 8px; padding: 4px 12px; cursor: pointer; list-style: none; user-select: none; } .mgt2-world-card-body summary::-webkit-details-marker { display: none; } .mgt2-world-card-body summary::before { content: '▸'; color: #c9a227; font-size: 0.75em; flex-shrink: 0; transition: transform 0.15s; } .mgt2-world-card-body details[open] summary::before { transform: rotate(90deg); } .mgt2-world-card-body summary:hover { background: rgba(201, 162, 39, 0.08); } .fold-label { width: 100px; flex-shrink: 0; font-weight: bold; color: #5f4300; font-size: 0.83em; } .fold-value { font-size: 0.83em; color: #222; } .fold-content { padding: 4px 12px 8px 28px; font-size: 0.78em; color: #555; background: rgba(201, 162, 39, 0.04); border-top: 1px solid #ece6da; } .fold-desc { line-height: 1.5; } .fold-subtable { width: 100%; border-collapse: collapse; } .fold-subtable td { padding: 2px 8px; font-size: 0.95em; border: none; } .fold-subtable td:first-child { width: 120px; font-weight: 600; color: #5f4300; } .fold-subtable td:nth-child(2) { font-family: 'Courier New', monospace; color: #7a5c00; letter-spacing: 0.1em; } /* === UWP breakdown inside fold =========================================== */ .uwp-breakdown { width: 100%; border-collapse: collapse; } .uwp-breakdown td { padding: 2px 8px; font-size: 0.95em; border-bottom: 1px solid #ece6da; border-top: none; color: #555; } .uwp-breakdown td:first-child { width: 24px; font-family: 'Courier New', monospace; font-weight: bold; color: #7a5c00; letter-spacing: 0.05em; } .uwp-breakdown td:nth-child(2) { width: 110px; font-weight: 600; color: #5f4300; } .uwp-breakdown td:nth-child(3) { color: #666; } .uwp-breakdown tr:last-child td { border-bottom: none; } /* === MGT2 Shared Map (chat) ============================================== */ .mgt2-shared-map { background: #f5f0e8; border: 1px solid #c9a227; border-radius: 5px; overflow: hidden; font-family: 'Signika', sans-serif; color: #222; } .mgt2-shared-map .mgt2-sector-map-share { display: none; } .mgt2-shared-map-image { line-height: 0; } .mgt2-shared-map-image img { display: block; max-width: 100%; height: auto; }