LuminaWebsite/assets/map/styles.css

1208 lines
24 KiB
CSS

/* Aion 2 Map Viewer - Styles */
:root {
--bg-primary: #1a1a2e;
--bg-secondary: rgba(20, 20, 40, 0.9);
--border-color: rgba(100, 100, 150, 0.3);
--text-primary: #e0e0e0;
--text-secondary: #aaa;
--accent-gold: #ffd700;
--accent-blue: #3388FF;
--panel-radius: 8px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
overflow: hidden;
}
/* Map container */
#map-container {
position: relative;
width: 100vw;
height: 100vh;
}
canvas {
display: block;
cursor: grab;
/* Wischen und Pinch-Zoom steuert die Karte selbst (MapController.setupTouch). */
touch-action: none;
}
canvas:active {
cursor: grabbing;
}
/* Loading overlay */
#loading-overlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
z-index: 100;
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid var(--border-color);
border-top-color: var(--accent-gold);
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto 16px;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* UI overlay */
#ui-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
.panel {
pointer-events: auto;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--panel-radius);
backdrop-filter: blur(10px);
}
/* Kartenwahl oben mittig: Knopf mit dem Namen der aktuellen Karte */
#title-bar {
position: absolute;
top: 16px;
left: 50%;
transform: translateX(-50%);
padding: 4px;
}
#map-picker-btn {
display: flex;
align-items: baseline;
gap: 10px;
padding: 9px 16px;
background: transparent;
border: 1px solid transparent;
border-radius: 6px;
}
#map-picker-btn:hover {
background: rgba(255, 215, 0, 0.08);
border-color: rgba(255, 215, 0, 0.4);
}
.map-picker-label {
font-size: 11px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-secondary);
}
#map-current-name {
font-size: 17px;
color: var(--accent-gold);
white-space: nowrap;
}
.map-picker-chevron {
color: var(--text-secondary);
font-size: 13px;
}
/* Popup mit Vorschaubildern der Karten */
#map-picker {
position: absolute;
inset: 0;
z-index: 2500;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(4px);
animation: map-picker-fade 0.2s ease;
}
.map-picker-panel {
width: min(960px, 100%);
max-height: 100%;
display: flex;
flex-direction: column;
padding: 18px 20px 20px;
border-color: rgba(255, 215, 0, 0.35);
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.map-picker-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.map-picker-head h2 {
font-size: 18px;
color: var(--accent-gold);
}
#map-picker-close {
padding: 4px 10px;
font-size: 14px;
}
#map-picker-list {
overflow-y: auto;
min-height: 0;
padding-right: 4px;
}
.map-picker-zone + .map-picker-zone { margin-top: 16px; }
.map-picker-zone h3 {
margin-bottom: 8px;
font-size: 12px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-secondary);
}
.map-picker-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
gap: 12px;
}
.map-card {
display: flex;
flex-direction: column;
padding: 0;
overflow: hidden;
background: rgba(30, 30, 50, 0.9);
border: 2px solid var(--border-color);
border-radius: 10px;
text-align: left;
transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.map-card:hover,
.map-card:focus-visible {
transform: translateY(-3px);
border-color: var(--accent-gold);
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
outline: none;
}
.map-card.active {
border-color: var(--accent-gold);
box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.25);
}
.map-card img {
display: block;
width: 100%;
aspect-ratio: 1;
object-fit: cover;
background: #e1d2bf;
}
.map-card-name {
padding: 8px 10px;
font-size: 13px;
font-weight: 600;
}
.map-card.active .map-card-name { color: var(--accent-gold); }
/* Karten, die es auf unserem Patch noch nicht gibt */
.map-card { position: relative; }
.map-card.unavailable img { filter: grayscale(0.6) brightness(0.8); }
.map-card-note {
position: absolute;
top: 8px;
left: 8px;
right: 8px;
padding: 4px 8px;
border-radius: 6px;
background: rgba(20, 20, 30, 0.85);
border: 1px solid rgba(240, 178, 50, 0.6);
color: #f0c060;
font-size: 11px;
font-weight: 600;
line-height: 1.3;
text-align: center;
}
#map-unavailable {
margin: 2px 4px 4px;
padding: 6px 10px;
border-radius: 6px;
background: rgba(240, 178, 50, 0.12);
border: 1px solid rgba(240, 178, 50, 0.5);
color: #f0c060;
font-size: 12px;
text-align: center;
}
@keyframes map-picker-fade { from { opacity: 0; } to { opacity: 1; } }
/* Zoom controls */
#zoom-controls {
position: absolute;
top: 16px;
right: 16px;
display: flex;
flex-direction: column;
gap: 4px;
padding: 8px;
}
/* Feste Breite: sonst waere die Leiste so breit wie das breiteste Symbol (z.B. 👁) und
wuerde in das Taktiken-Fenster daneben ragen. 16 + 8 + 46 + 8 + 2 = 80px vom Rand. */
#zoom-controls button {
width: 46px;
padding-left: 0;
padding-right: 0;
text-align: center;
}
button {
background: rgba(50, 50, 80, 0.8);
border: 1px solid var(--border-color);
color: var(--text-primary);
padding: 8px 12px;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background 0.2s, border-color 0.2s;
}
button:hover {
background: rgba(70, 70, 100, 0.8);
border-color: var(--accent-gold);
}
/* Category panel */
#category-panel {
position: absolute;
bottom: 16px;
left: 16px;
padding: 12px;
max-height: 70vh;
overflow-y: auto;
width: 300px;
}
#category-panel .tp-head {
margin-bottom: 8px;
border-bottom: 1px solid rgba(255, 215, 0, 0.3);
padding-bottom: 4px;
}
#category-panel h3 {
flex: 1;
font-size: 14px;
color: var(--accent-gold);
}
#category-panel.collapsed {
width: auto;
}
#category-panel.collapsed .tp-head {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}
#category-panel.collapsed .cp-body {
display: none;
}
/* Fenster ausgeblendet: nur die Zoom-Leiste (mit dem Augen-Knopf) bleibt stehen. */
#ui-overlay.ui-hidden > :not(#zoom-controls) {
display: none !important;
}
#btn-toggle-ui[aria-pressed="true"] {
border-color: var(--accent-gold);
background: rgba(255, 215, 0, 0.2);
}
.category-group {
margin-bottom: 12px;
}
.category-item {
display: flex;
align-items: center;
padding: 4px 0;
cursor: pointer;
border-radius: 4px;
}
.category-item:hover {
background: rgba(255, 255, 255, 0.05);
}
.category-item.group-toggle {
margin-bottom: 6px;
padding-bottom: 6px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.category-item input[type="checkbox"] {
margin-right: 8px;
accent-color: var(--accent-gold);
}
.category-icon {
width: 16px;
height: 16px;
margin-right: 8px;
object-fit: contain;
}
.category-item label {
font-size: 12px;
color: var(--text-secondary);
flex: 1;
cursor: pointer;
}
.category-count {
font-size: 10px;
color: #888;
margin-left: 4px;
}
/* Zoom indicator */
#zoom-indicator {
position: absolute;
bottom: 16px;
right: 16px;
padding: 8px 12px;
font-size: 12px;
color: var(--text-secondary);
}
/* Tooltip */
#tooltip {
position: absolute;
background: rgba(10, 10, 30, 0.95);
border: 1px solid rgba(255, 215, 0, 0.5);
border-radius: 6px;
padding: 8px 12px;
font-size: 12px;
color: #fff;
pointer-events: none;
max-width: 300px;
z-index: 1000;
}
#tooltip .name {
font-weight: bold;
color: var(--accent-gold);
margin-bottom: 4px;
}
#tooltip .category {
font-size: 10px;
color: var(--text-secondary);
}
/* Utility classes */
.hidden {
display: none !important;
}
/* Scrollbar styling */
#category-panel::-webkit-scrollbar {
width: 6px;
}
#category-panel::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.2);
border-radius: 3px;
}
#category-panel::-webkit-scrollbar-thumb {
background: rgba(100, 100, 150, 0.5);
border-radius: 3px;
}
/* ------------------------------------------------------------------ */
/* Alle anzeigen / Alle verstecken */
/* ------------------------------------------------------------------ */
.category-bulk {
display: flex;
gap: 6px;
margin-bottom: 10px;
}
.category-bulk button {
flex: 1;
font-size: 11px;
padding: 5px 6px;
}
/* ------------------------------------------------------------------ */
/* Taktiken */
/* ------------------------------------------------------------------ */
/* Zeichenebene ueber der Karte - faengt die Maus nur ab, wenn ein Werkzeug aktiv ist. */
#tactic-canvas {
position: absolute;
top: 0;
left: 0;
pointer-events: none;
}
#tactic-canvas.drawing {
pointer-events: auto;
cursor: crosshair;
}
#tactic-canvas.erasing {
cursor: pointer;
}
#tactic-panel {
position: absolute;
top: 16px;
right: 90px; /* neben der Steuerleiste (80px) mit 10px Abstand */
width: 290px;
max-height: calc(100% - 90px);
display: flex;
flex-direction: column;
padding: 10px 12px;
}
#tactic-panel.collapsed .tp-body {
display: none;
}
.tp-head {
display: flex;
align-items: center;
gap: 6px;
}
.tp-head h3 {
flex: 1;
font-size: 14px;
color: var(--accent-gold);
}
.tp-body {
margin-top: 8px;
overflow-y: auto;
min-height: 0;
}
button.tp-collapse {
background: none;
border: none;
padding: 0 4px;
font-size: 14px;
color: var(--text-secondary);
}
button.tp-collapse:hover {
background: none;
color: var(--accent-gold);
}
button.tp-btn {
font-size: 12px;
padding: 4px 8px;
}
button.tp-icon {
background: none;
border: 1px solid transparent;
padding: 1px 5px;
font-size: 12px;
color: var(--text-secondary);
}
button.tp-icon:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.08);
color: var(--accent-gold);
}
button.tp-icon:disabled {
opacity: 0.3;
cursor: default;
}
button.tp-danger:hover:not(:disabled) {
color: #ff6b6b;
border-color: rgba(255, 107, 107, 0.5);
}
.tp-edit-only {
display: none !important;
}
#tactic-panel.can-edit .tp-edit-only {
display: flex !important;
}
.tp-empty,
.tp-message {
font-size: 12px;
color: var(--text-secondary);
line-height: 1.4;
}
.tp-message {
color: #ff9b9b;
margin-top: 6px;
}
button.tp-item {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 8px;
width: 100%;
margin-bottom: 4px;
padding: 6px 8px;
font-size: 13px;
text-align: left;
background: rgba(40, 40, 70, 0.6);
}
button.tp-item.active {
border-color: var(--accent-gold);
background: rgba(255, 215, 0, 0.12);
}
.tp-item-name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tp-item-meta {
flex-shrink: 0;
font-size: 10px;
color: var(--text-secondary);
}
/* Eintrag: oben Name + Kennzeichen, darunter Ersteller und Schritte */
button.tp-item {
flex-direction: column;
align-items: stretch;
gap: 2px;
}
.tp-item-main {
display: flex;
align-items: center;
gap: 6px;
min-width: 0;
}
.tp-item-badges {
display: inline-flex;
flex-shrink: 0;
gap: 4px;
}
button.tp-item.tp-item-official {
border-left: 3px solid var(--accent-gold);
}
button.tp-item.tp-item-recommended {
border-left: 3px solid #6fcf97;
}
.tp-group-title {
margin: 8px 0 4px;
font-size: 10px;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-secondary);
}
.tp-group-title:first-child {
margin-top: 0;
}
.tp-badge {
display: inline-block;
padding: 1px 5px;
border: 1px solid var(--border-color);
border-radius: 3px;
font-size: 10px;
line-height: 1.4;
white-space: nowrap;
color: var(--text-secondary);
}
.tp-badge-official {
border-color: rgba(255, 215, 0, 0.6);
background: rgba(255, 215, 0, 0.12);
color: var(--accent-gold);
}
.tp-badge-recommended {
border-color: rgba(111, 207, 151, 0.6);
background: rgba(111, 207, 151, 0.12);
color: #6fcf97;
}
.tp-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px 6px;
margin-top: 6px;
font-size: 11px;
color: var(--text-secondary);
}
.tp-highlight {
display: flex;
align-items: center;
gap: 8px;
margin-top: 8px;
font-size: 12px;
color: var(--text-secondary);
}
.tp-highlight.hidden {
display: none;
}
.tp-highlight select {
flex: 1;
padding: 4px 6px;
border: 1px solid var(--border-color);
border-radius: 4px;
background: rgba(30, 30, 60, 0.9);
color: var(--text-primary);
font: inherit;
}
.tp-detail {
margin-top: 10px;
padding-top: 10px;
border-top: 1px solid rgba(255, 215, 0, 0.3);
}
.tp-detail-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
}
.tp-detail-head strong {
font-size: 14px;
color: var(--accent-gold);
overflow-wrap: anywhere;
}
.tp-desc {
margin-top: 6px;
font-size: 12px;
color: var(--text-secondary);
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.tp-detail h4 {
margin: 10px 0 4px;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-secondary);
}
.tp-steps {
list-style: none;
}
.tp-step {
display: flex;
align-items: center;
gap: 6px;
padding: 4px 6px;
border-radius: 4px;
border: 1px solid transparent;
font-size: 12px;
cursor: pointer;
}
.tp-step:hover {
background: rgba(255, 255, 255, 0.05);
}
.tp-step.active {
border-color: var(--accent-gold);
background: rgba(255, 215, 0, 0.1);
}
.tp-step-no {
flex-shrink: 0;
width: 18px;
height: 18px;
line-height: 18px;
border-radius: 50%;
text-align: center;
font-size: 10px;
font-weight: bold;
background: rgba(255, 215, 0, 0.2);
color: var(--accent-gold);
}
.tp-step-name {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tp-step-count {
font-size: 10px;
color: #888;
}
.tp-step-tools {
display: none;
}
.tp-step:hover .tp-step-tools,
.tp-step.active .tp-step-tools {
display: flex;
}
.tp-step-actions {
gap: 6px;
flex-wrap: wrap;
margin-top: 8px;
}
.tp-check {
display: flex;
align-items: center;
gap: 6px;
margin-top: 10px;
font-size: 12px;
color: var(--text-secondary);
cursor: pointer;
}
.tp-check input {
accent-color: var(--accent-gold);
}
/* Werkzeugleiste im Taktik-Panel - bleibt auch beim Einklappen sichtbar */
#tactic-toolbar {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px;
margin-top: 8px;
padding-top: 8px;
border-top: 1px solid rgba(255, 215, 0, 0.3);
}
#tactic-toolbar.hidden {
display: none;
}
#tactic-toolbar .tool {
min-width: 30px;
height: 30px;
padding: 0 5px;
font-size: 14px;
}
#tactic-toolbar .tool.active {
border-color: var(--accent-gold);
background: rgba(255, 215, 0, 0.2);
}
.tool-sep {
width: 1px;
height: 22px;
margin: 0 2px;
background: var(--border-color);
}
#tool-color {
width: 30px;
height: 30px;
padding: 2px;
border: 1px solid var(--border-color);
border-radius: 4px;
background: rgba(50, 50, 80, 0.8);
cursor: pointer;
}
#tool-width {
height: 30px;
padding: 0 6px;
border: 1px solid var(--border-color);
border-radius: 4px;
background: rgba(50, 50, 80, 0.8);
color: var(--text-primary);
font-size: 12px;
}
/* Schritt-Leiste unten mittig zwischen Kategorien-Panel (links, 300px) und
Zoom-Anzeige (rechts) - left/right plus margin auto zentriert sie in diesem Streifen. */
#step-bar {
position: absolute;
bottom: 16px;
left: 332px;
right: 100px;
margin: 0 auto;
display: flex;
align-items: center;
gap: 10px;
padding: 8px 10px;
width: fit-content;
min-width: 240px;
max-width: 560px;
}
#step-bar button:disabled {
opacity: 0.3;
cursor: default;
}
.sb-text {
flex: 1;
min-width: 0;
text-align: center;
}
.sb-title {
font-size: 13px;
font-weight: bold;
color: var(--accent-gold);
}
.sb-desc {
margin-top: 3px;
max-height: 60px;
overflow-y: auto;
font-size: 12px;
color: var(--text-secondary);
white-space: pre-wrap;
}
/* Eingabedialog */
#tactic-dialog {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.45);
z-index: 2000;
}
#tactic-dialog form {
width: min(420px, calc(100% - 32px));
padding: 18px 20px;
}
#tactic-dialog h3 {
margin-bottom: 12px;
font-size: 16px;
color: var(--accent-gold);
}
.td-field {
display: block;
margin-bottom: 10px;
font-size: 12px;
color: var(--text-secondary);
}
.td-field input,
.td-field select,
.td-field textarea {
display: block;
width: 100%;
margin-top: 4px;
padding: 7px 9px;
border: 1px solid var(--border-color);
border-radius: 4px;
background: rgba(30, 30, 60, 0.9);
color: var(--text-primary);
font: inherit;
font-size: 13px;
resize: vertical;
}
.td-field input:focus,
.td-field select:focus,
.td-field textarea:focus {
outline: none;
border-color: var(--accent-gold);
}
.td-actions {
display: flex;
gap: 8px;
margin-top: 4px;
}
#td-submit {
border-color: var(--accent-gold);
background: rgba(255, 215, 0, 0.2);
}
/* Kurze Rueckmeldungen */
#toast {
position: absolute;
bottom: 96px;
left: 332px;
right: 100px;
margin: 0 auto;
width: fit-content;
max-width: 480px;
padding: 8px 14px;
border: 1px solid rgba(255, 215, 0, 0.5);
border-radius: 6px;
background: rgba(10, 10, 30, 0.95);
color: var(--text-primary);
font-size: 13px;
text-align: center;
z-index: 1500;
pointer-events: none;
}
#toast.error {
border-color: #ff6b6b;
color: #ffb3b3;
}
/* Bei schmaler Karte stoesst der mittige Titel sonst an das Taktik-Panel. */
@media (max-width: 1100px) {
#title-bar {
left: 16px;
transform: none;
}
}
/* Handy: Fenster schmal und kompakt, damit von der Karte etwas uebrig bleibt. */
@media (max-width: 700px) {
#title-bar {
top: 8px;
left: 8px;
right: 64px;
padding: 2px;
}
#map-picker-btn {
width: 100%;
padding: 7px 10px;
}
#map-current-name {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
font-size: 15px;
}
#map-picker { padding: 10px; }
.map-picker-panel { padding: 14px; }
.map-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#zoom-controls {
top: 8px;
right: 8px;
padding: 4px;
}
#zoom-controls button {
width: 40px;
padding: 6px 0;
}
#tactic-panel {
top: 60px;
left: 8px;
right: 68px; /* Steuerleiste: 8 + 4 + 40 + 4 + 2 = 58px, dazu 10px Abstand */
width: auto;
max-height: 45%;
padding: 6px 8px;
}
#category-panel {
left: 8px;
bottom: 8px;
width: calc(100% - 16px);
max-height: 45%;
padding: 8px 10px;
}
#category-panel.collapsed {
width: auto;
}
#zoom-indicator {
display: none;
}
#step-bar {
left: 8px;
right: 8px;
bottom: 56px;
width: auto;
min-width: 0;
max-width: none;
}
#toast {
left: 8px;
right: 8px;
bottom: 120px;
}
}
/* ---- Orte teilen / auswaehlen (LocationController) ---- */
#btn-share-location.active { background: var(--accent-gold); color: #1a1a2e; }
#map-canvas.picking { cursor: crosshair; }
#loc-banner {
position: absolute;
top: 72px;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
gap: 12px;
padding: 8px 14px;
border-color: rgba(255, 215, 0, 0.55);
font-size: 14px;
white-space: nowrap;
z-index: 5;
}
#loc-banner button { padding: 4px 10px; font-size: 12px; }
#map-pin {
position: absolute;
z-index: 4;
pointer-events: none;
transform: translate(-50%, -100%);
display: flex;
flex-direction: column;
align-items: center;
}
#map-pin .pin-dot {
position: relative;
width: 22px;
height: 22px;
border-radius: 50% 50% 50% 0;
transform: rotate(-45deg);
background: #e53935;
border: 3px solid #fff;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
margin-bottom: 6px;
}
#map-pin .pin-dot::after {
content: '';
position: absolute;
left: 50%;
top: 50%;
width: 44px;
height: 44px;
margin: -22px 0 0 -22px;
border-radius: 50%;
border: 3px solid rgba(229, 57, 53, 0.7);
animation: pin-pulse 1.6s ease-out infinite;
}
@keyframes pin-pulse {
from { transform: scale(0.4); opacity: 1; }
to { transform: scale(1.6); opacity: 0; }
}
#map-pin .pin-label {
margin-bottom: 6px;
padding: 3px 9px;
border-radius: 6px;
background: rgba(10, 10, 30, 0.92);
border: 1px solid rgba(255, 215, 0, 0.6);
color: var(--accent-gold);
font-size: 13px;
font-weight: 600;
white-space: nowrap;
}
#loc-panel {
position: absolute;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
width: min(440px, calc(100vw - 32px));
padding: 14px 16px;
display: flex;
flex-direction: column;
gap: 10px;
z-index: 6;
border-color: rgba(255, 215, 0, 0.45);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
#loc-panel h3 { font-size: 15px; color: var(--accent-gold); }
#loc-panel label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-secondary); }
#loc-panel .loc-optional { opacity: 0.7; }
#loc-panel input {
width: 100%;
padding: 8px 10px;
border-radius: 6px;
border: 1px solid var(--border-color);
background: rgba(0, 0, 0, 0.35);
color: var(--text-primary);
font-size: 14px;
}
#loc-panel input:focus { outline: none; border-color: var(--accent-gold); }
.loc-where { font-size: 13px; color: var(--text-primary); }
.loc-link-row { display: flex; gap: 8px; }
.loc-link-row input { flex: 1; min-width: 0; font-size: 12px !important; }
.loc-primary {
padding: 8px 14px;
border-radius: 6px;
border: none;
background: var(--accent-gold);
color: #1a1a2e;
font-weight: 700;
cursor: pointer;
white-space: nowrap;
}
.loc-primary:hover { filter: brightness(1.1); }
.loc-hint { font-size: 11px; color: var(--text-secondary); }
.loc-close { position: absolute; top: 8px; right: 10px; background: none; border: none; color: var(--text-secondary); font-size: 16px; cursor: pointer; }
/* Auswahl-Fenster (Kalender): keine Taktiken, mehr Platz */
.pick-mode #tactic-panel { display: none !important; }