
/* BEGIN VIEWER EVENTS: standalone CSS/SCSS identical */
#viewer-notification-center { margin: 8px 0; padding: 8px; font: 13px/1.4 sans-serif; border-top: 1px solid #cbd5e1; overflow-wrap: anywhere; }
#viewer-notification-center summary { cursor: pointer; font-weight: 600; }
#viewer-notification-center ol { padding-left: 18px; max-height: 220px; overflow-y: auto; }
#viewer-notification-center p { margin: 6px 0; }
#viewer-notification-toasts { position: fixed; bottom: 70px; left: 8px; width: min(320px, calc(100vw - 16px)); z-index: 20010; pointer-events: none; font: 13px/1.4 sans-serif; }
.viewer-notification-toast { display: flex; align-items: flex-start; gap: 8px; margin-top: 6px; padding: 10px; color: #fff; background: #253145; border-radius: 4px; box-shadow: 0 2px 8px #0004; }
.viewer-notification-toast span { flex: 1; overflow-wrap: anywhere; }
.viewer-notification-toast button { pointer-events: auto; color: inherit; background: transparent; border: 0; padding: 0 6px; min-width: 28px; min-height: 28px; font: inherit; cursor: pointer; }
/* END VIEWER EVENTS */

/* BEGIN FOLLOWME MARKER DESIGNS 2026-09-27 */
.map-racer-symbol.is-favorite{filter:drop-shadow(0 0 1px #ffcf00) drop-shadow(0 0 3px #ffcf00)}
.map-racer-symbol .marker-photo,.map-racer-symbol .marker-name{display:none}
html[data-marker-style]:not([data-marker-style="classic"]) .map-racer-symbol{box-sizing:border-box;display:flex;position:relative;align-items:center;justify-content:center;margin:0;background:#050505!important;border:2px solid #fff;border-radius:7px;box-shadow:0 2px 7px rgba(0,0,0,.38);isolation:isolate}
html[data-marker-style]:not([data-marker-style="classic"]) .map-racer-symbol::before{content:"";position:absolute;left:50%;bottom:-13px;width:17px;height:17px;background:#050505;border-right:2px solid #fff;border-bottom:2px solid #fff;border-radius:0 0 4px 0;transform:translateX(-50%) rotate(45deg);z-index:-1}
html[data-marker-style]:not([data-marker-style="classic"]) .map-racer-symbol .marker-number{box-sizing:border-box;display:flex;position:relative;align-items:center;justify-content:center;width:auto;height:auto;margin:0;color:#fff!important;font-family:Arial,sans-serif;font-weight:800;line-height:1;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.85);z-index:2}
html[data-marker-style]:not([data-marker-style="classic"]) .map-racer-symbol .marker-photo{box-sizing:border-box;background:#777 center/cover no-repeat}
html[data-marker-style]:not([data-marker-style="classic"]) .map-racer-symbol.has-no-photo .marker-photo{background:linear-gradient(145deg,#777,#aaa)}
html[data-marker-style]:not([data-marker-style="classic"]) .map-racer-symbol.is-favorite{border-color:#ffcf00;filter:none;box-shadow:0 0 0 1px rgba(255,207,0,.4),0 2px 7px rgba(0,0,0,.38)}
html[data-marker-style]:not([data-marker-style="classic"]) .map-racer-symbol.is-favorite::before{border-color:#ffcf00}
html[data-marker-style="number"] .map-racer-symbol{width:62px;height:43px;margin-top:-22px;margin-left:-10px}
html[data-marker-style="number"] .map-racer-symbol .marker-number{font-size:25px}
html[data-marker-style="photoWide"] .map-racer-symbol{width:72px;height:43px;margin-top:-22px;margin-left:-15px;overflow:visible}
html[data-marker-style="photoWide"] .map-racer-symbol .marker-photo{display:block;position:absolute;inset:2px;border-radius:4px}
html[data-marker-style="photoWide"] .map-racer-symbol .marker-number{align-self:flex-end;margin-left:auto;padding:0 3px 2px 0;font-size:18px;text-shadow:-1px -1px 1px #000,1px -1px 1px #000,-1px 1px 1px #000,1px 1px 1px #000}
html[data-marker-style="photoVertical"] .map-racer-symbol{width:72px;height:43px;justify-content:flex-end;margin-top:-22px;margin-left:-15px;padding-right:2px;overflow:visible}
html[data-marker-style="photoVertical"] .map-racer-symbol .marker-photo{display:block;position:absolute;inset:2px;border-radius:4px}
html[data-marker-style="photoVertical"] .map-racer-symbol .marker-number{font-size:19px;letter-spacing:-2px;transform:rotate(-90deg);transform-origin:center;text-shadow:-1px -1px 1px #000,1px -1px 1px #000,-1px 1px 1px #000,1px 1px 1px #000}
html[data-marker-style="photoSplit"] .map-racer-symbol{width:72px;height:43px;justify-content:flex-start;margin-top:-22px;margin-left:-15px;padding:3px}
html[data-marker-style="photoSplit"] .map-racer-symbol .marker-photo{display:block;flex:0 0 36px;width:36px;height:35px;border-radius:4px}
html[data-marker-style="photoSplit"] .map-racer-symbol .marker-number{flex:1 1 auto;min-width:0;padding-left:3px;font-size:17px;letter-spacing:-1px}
html[data-marker-style="photoSquare"] .map-racer-symbol{width:43px;height:52px;align-items:flex-end;margin-top:-31px;margin-left:-1px;padding:3px}
html[data-marker-style="photoSquare"] .map-racer-symbol .marker-photo{display:block;position:absolute;top:3px;left:3px;width:35px;height:35px;border-radius:4px}
html[data-marker-style="photoSquare"] .map-racer-symbol .marker-number{width:100%;padding-bottom:0;font-size:17px;letter-spacing:-1px;text-shadow:-1px -1px 1px #000,1px -1px 1px #000,-1px 1px 1px #000,1px 1px 1px #000}
/* END FOLLOWME MARKER DESIGNS 2026-09-27 */

/* followme marker photo design v2 begin */
/* followme marker photo design v2 */
html[data-marker-style]:not([data-marker-style="classic"]) .map-racer-symbol .marker-photo{overflow:hidden;background:#111}
html[data-marker-style]:not([data-marker-style="classic"]) .map-racer-symbol .marker-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 32%}
html[data-marker-style]:not([data-marker-style="classic"]) .map-racer-symbol.has-no-photo .marker-photo{display:none!important}
html[data-marker-style]:not([data-marker-style="classic"]) .map-racer-symbol.has-no-photo{width:56px;height:39px;margin-top:-18px;margin-left:-7px;padding:0;justify-content:center;background:#050505!important}
html[data-marker-style]:not([data-marker-style="classic"]) .map-racer-symbol.has-no-photo .marker-number{flex:0 0 auto;width:100%;padding:0;font-size:23px;letter-spacing:0;transform:none}
html[data-marker-style="photoWide"] .map-racer-symbol .marker-photo::after,html[data-marker-style="photoVertical"] .map-racer-symbol .marker-photo::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.72));pointer-events:none}
/* followme marker photo design v2 end */

/* BEGIN FOLLOWME RACERS PANEL RESIZE 2026-10-10 */
@media only screen and (max-width:767px),
       only screen and (orientation:landscape) and (hover:none) and (pointer:coarse) and (max-height:600px) {
  .trc-list-ctrl.is-mobile-open.is-racers-resized {
    top:auto !important;
    width:var(--fm-racers-panel-width) !important;
    height:var(--fm-racers-panel-height) !important;
    max-width:calc(100vw - 12px) !important;
    max-height:calc(100vh - var(--mobile-header-height,52px) - var(--fm-mobile-playback-height,42px) - 18px - env(safe-area-inset-bottom,0px)) !important;
  }

  .fm-racers-resize-handle {
    display:none;
    position:absolute;
    left:0;
    bottom:0;
    width:34px;
    height:34px;
    padding:0;
    border:0;
    border-radius:0 12px 0 0;
    background:rgba(255,255,255,.16);
    color:#fff;
    cursor:nesw-resize;
    touch-action:none;
    user-select:none;
    z-index:20;
  }

  .trc-list-ctrl.is-mobile-open:not(.is-settings-open):not(.is-information-open):not(.is-detail-open) > .fm-racers-resize-handle {
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .fm-racers-resize-handle::before {
    content:"";
    width:14px;
    height:14px;
    border-left:2px solid currentColor;
    border-bottom:2px solid currentColor;
    box-shadow:-4px 4px 0 -2px currentColor;
    opacity:.9;
  }

  .fm-racers-resize-handle:focus-visible {
    outline:2px solid #fff;
    outline-offset:-4px;
  }

  .trc-list-ctrl.is-racers-resizing {
    transition:none !important;
  }

  .trc-list-ctrl.is-racers-resizing,
  .trc-list-ctrl.is-racers-resizing * {
    user-select:none !important;
  }

  .trc-list-ctrl.is-racers-resized > .trc-list-body {
    min-height:0;
  }
}
/* END FOLLOWME RACERS PANEL RESIZE 2026-10-10 */
