/* Globe : identique dans toutes les interfaces (fond noir, couleurs propres, préfixe gl-). */
.view.gl > div { flex: 1; min-height: 0; display: flex; }
.gl-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #000; color: #e6e6e8; padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.gl-bar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #1f2128; }
.gl-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 320px; }
.gl-chip { min-height: 44px; padding: 0 12px; border: 1px solid #3a3f4b; border-radius: 4px; background: #0b0c10; color: #c4c8d2; font: 12px ui-monospace, "SF Mono", Consolas, monospace; cursor: pointer; }
.gl-chip[aria-pressed="true"] { background: #e6e6e8; border-color: #e6e6e8; color: #000; }
.gl-sel { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #aab0bd; }
.gl-sel select { min-height: 44px; font-size: 16px; max-width: 100%; background: #0b0c10; color: #e6e6e8; border: 1px solid #3a3f4b; border-radius: 4px; padding: 0 8px; }
.gl-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.gl-canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; outline-offset: -2px; }
.gl-canvas.gl-grab { cursor: grabbing; }
.gl-legend { position: absolute; left: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); width: min(300px, calc(100% - 20px)); padding: 10px 12px; background: rgba(8, 8, 10, .86); border: 1px solid #2b2b30; border-radius: 4px; font-size: 12px; line-height: 1.45; pointer-events: none; }
.gl-legend p { margin: 4px 0 8px; color: #b4b9c6; }
.gl-legend small { display: block; color: #aab0bd; margin-top: 6px; }
.gl-bar-c { height: 8px; border-radius: 2px; }
.gl-minmax { display: flex; justify-content: space-between; font: 11px ui-monospace, Consolas, monospace; margin-top: 4px; }
.gl-panel { position: absolute; right: 10px; top: 10px; bottom: 10px; width: min(340px, calc(100% - 20px)); overflow-y: auto; padding: 12px 14px; background: rgba(8, 8, 10, .94); border: 1px solid #2b2b30; border-radius: 4px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; z-index: 3; }
.gl-panel header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gl-panel h2 { margin: 0; font-size: 20px; }
.gl-panel h3 { margin: 14px 0 4px; font: 11px ui-monospace, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: #aab0bd; }
.gl-panel p { margin: 4px 0; }
.gl-x { width: 44px; height: 44px; flex: none; font-size: 18px; color: #e6e6e8; cursor: pointer; }
.gl-chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0 0; }
.gl-chiffres div { border: 1px solid #2b2b30; padding: 6px 8px; min-width: 0; }
.gl-chiffres dt { font-size: 11px; color: #aab0bd; }
.gl-chiffres dd { margin: 0; font: 13px ui-monospace, Consolas, monospace; }
.gl-chiffres small, .gl-panel .dim, .gl-note { color: #aab0bd; }
.gl-note, .gl-panel small { font-size: 12px; }
.gl-mono { font-family: ui-monospace, "SF Mono", Consolas, monospace; }
.gl-ev { display: block; width: 100%; min-height: 44px; text-align: left; padding: 6px 8px; border: 1px solid #2b2b30; margin-top: 4px; font-size: 13px; color: #e6e6e8; cursor: pointer; }
.gl-err { padding: 24px; color: #e6e6e8; }
@media (max-width: 820px) {
  .gl-bar { padding: 8px 10px; }
  .gl-panel { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 62%; border-width: 1px 0 0; border-radius: 14px 14px 0 0; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .gl-stage:has(.gl-panel:not([hidden])) .gl-legend { display: none; }
}
