.rift-timer { position:absolute;top:84px;right:26px;z-index:800;display:flex;align-items:center;gap:8px;min-height:54px;width:228px;padding:7px 10px;border:1px solid #9b8cb8;border-radius:4px;background:#0d1c32f5;color:#f3edff;text-align:left;box-shadow:inset 0 0 16px #9b75e010,0 2px 7px #0005; }
.rift-timer:hover { background:#192b45;border-color:#c8b4ec; }
.rift-timer:focus-visible,.rift-schedule button:focus-visible { outline:2px solid #d3bdff;outline-offset:3px; }
.rift-timer img { flex:none;width:34px;height:34px;object-fit:contain; }
.rift-timer-copy { flex:1;min-width:0; }
.rift-timer-title { display:flex;align-items:baseline;justify-content:space-between;gap:7px;font-size:11px;white-space:nowrap; }
.rift-countdown { font-size:18px;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:.02em; }
.rift-next { display:block;margin-top:3px;color:#c7c8dc;font-size:10px; }
.rift-timer-arrow { color:#c9b1ed;font-size:22px;line-height:1; }
.rift-schedule { width:360px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:22px;border:1px solid #c5b18a;border-radius:6px;background:linear-gradient(145deg,#102a40,#071827 75%);color:#eef2f5;box-shadow:0 12px 60px #000b;font-family:inherit; }
.rift-schedule::backdrop { background:#020d19b3; }
.rift-dialog-heading { display:flex;align-items:center;justify-content:space-between;gap:10px; }
.rift-dialog-heading h2 { display:flex;align-items:center;gap:10px;margin:0;font-size:20px;font-weight:600; }
.rift-dialog-heading img { object-fit:contain; }
.rift-schedule .rift-close { display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid #8d98aa;border-radius:4px;background:#102b40;color:#e6eef7;font-size:24px; }
.rift-schedule-date { margin:16px 0 10px;color:#d6d0e8;font-size:12px; }
.rift-schedule-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:0; }
.rift-schedule-list li { display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px;border:1px solid #567083;border-radius:3px;background:#0e2739;font-variant-numeric:tabular-nums;font-size:17px; }
.rift-schedule-list small { color:#c5d0dc;font-size:10px;white-space:nowrap; }
.rift-schedule-list .rift-slot-past { color:#9daeba;background:#0b1f2e;border-color:#354e60; }
.rift-schedule-list .rift-slot-past small { color:#9daeba; }
.rift-schedule-list .rift-slot-next { color:#fff5ff;border-color:#ba9ded;background:#392f58;box-shadow:inset 0 0 12px #aa7ae319; }
.rift-schedule-list .rift-slot-next small { color:#ead7ff;font-weight:600; }
.rift-schedule-list .rift-slot-tomorrow { grid-column:1/-1; }
.rift-schedule-note { margin:16px 0 0;color:#b7c5d5;font-size:11px;line-height:1.8; }
/* Reserve room for the timer while landmark labels wrap on narrower maps. */
.map-section:has(.rift-timer) .map-landmark-controls { right:266px; }
.map-section:has(.rift-timer) .map-help { max-width:calc(100% - 298px); }
@media(max-width:1000px) { .rift-timer { top:124px;right:22px; } }
@media(min-width:761px) and (max-width:1000px) {
  .map-section:has(.rift-timer) .map-landmark-controls { top:188px;right:22px; }
  .map-section:has(.rift-timer) .map-help { top:232px;max-width:calc(100% - 54px); }
  .map-section:has(.rift-timer) .leaflet-control-zoom { margin-top:278px!important; }
}
@media(max-width:760px) {
  .mobile-map-layout .rift-timer { position:static;inset:auto;width:100%;min-height:50px;margin:0 0 10px;padding:7px 10px;box-shadow:none; }
  .mobile-map-layout .rift-timer-title { justify-content:flex-start;gap:12px; }
  .mobile-map-layout .rift-timer img { width:30px;height:30px; }
  .mobile-map-layout .rift-countdown { font-size:18px; }
  .mobile-map-layout .mobile-map-settings .map-landmark-controls { right:auto; }
  .map-section .mobile-map-settings .map-help { max-width:none; }
  .rift-schedule { padding:18px; }
}
