/* ============================================================
   MURRAY HOLDING — Trading Hours page
   Globe · live timeline · market hubs · directory · tips
   Built on the shared base.css / sections.css vocabulary.
   ============================================================ */

/* hero note under the CTAs */
.th-note { margin-top: 22px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 0.74rem; color: var(--muted); letter-spacing: 0.02em; }
.th-note svg { width: 15px; height: 15px; color: var(--cyan); flex: none; }

/* globe section promoted to page hero */
.th-hero { padding-top: clamp(118px, 15vh, 180px); }
.th-hero-title { font-size: clamp(2rem, 4.6vw, 3.4rem); text-transform: uppercase; letter-spacing: 0.012em; line-height: 1.04; margin-block: 12px 16px; }

/* clean flag tile (SVG), consistent + premium across platforms */
.flag { display: inline-block; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; flex: none;
  box-shadow: 0 0 0 1px rgba(160,220,255,0.18), 0 2px 6px rgba(2,8,23,0.5); line-height: 0; background: #0a1830; }
.flag svg { display: block; width: 100%; height: 100%; }
.flag.lg { width: 34px; height: 23px; border-radius: 4px; }

/* ---------------- EXPLORE / GLOBE ---------------- */
.th-explore { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.globe-stage { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1; }
.globe-stage canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.globe-stage canvas.has-hover { cursor: pointer; }
.globe-stage canvas.dragging { cursor: grabbing; }
.globe-aura { position: absolute; inset: 6% 6% 6% 6%; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle at 50% 46%, rgba(60,140,220,0.22), rgba(22,61,143,0.08) 52%, transparent 72%); filter: blur(30px); }
.globe-hint { position: absolute; bottom: 2%; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); white-space: nowrap; pointer-events: none; }

/* hub selector chips */
.hub-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.hub-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border-radius: 999px;
  border: 1px solid var(--line); background: oklch(0.12 0.02 245 / 0.55); color: var(--silver);
  font-size: 0.8rem; font-weight: 500; transition: all 0.25s var(--ease); }
.hub-chip:hover { border-color: rgba(98,216,255,0.45); color: var(--white); transform: translateY(-1px); }
.hub-chip.active { border-color: rgba(98,216,255,0.6); background: rgba(98,216,255,0.12); color: var(--white); box-shadow: 0 0 18px rgba(98,216,255,0.18); }
.hub-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); flex: none; }
.hub-chip.s-open .dot { background: var(--up); box-shadow: 0 0 8px var(--up); }
.hub-chip.s-soon .dot { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

/* info panel */
.th-panel { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 3vw, 32px);
  background: oklch(0.08 0.02 245 / 0.66); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); overflow: hidden; }
.th-panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(111,214,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(111,214,255,0.04) 1px, transparent 1px);
  background-size: 38px 38px; -webkit-mask: radial-gradient(120% 80% at 90% 0%, #000, transparent 72%); mask: radial-gradient(120% 80% at 90% 0%, #000, transparent 72%); }
.th-panel > * { position: relative; z-index: 1; }
.thp-head { display: flex; align-items: center; gap: 14px; }
.thp-loc { display: flex; flex-direction: column; gap: 2px; }
.thp-city { font-family: var(--display); font-size: 1.5rem; color: var(--white); line-height: 1.05; }
.thp-country { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.thp-status { margin-left: auto; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; border: 1px solid transparent; }
.status-pill .sd { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.status-pill.open { color: #9af0c4; background: oklch(0.8 0.13 155 / 0.12); border-color: oklch(0.8 0.13 155 / 0.4); }
.status-pill.open .sd { background: var(--up); box-shadow: 0 0 8px var(--up); animation: blink 1.8s ease-in-out infinite; }
.status-pill.soon { color: var(--gold); background: oklch(0.82 0.12 80 / 0.12); border-color: oklch(0.82 0.12 80 / 0.38); }
.status-pill.soon .sd { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.status-pill.closed { color: var(--muted); background: oklch(0.5 0.02 250 / 0.16); border-color: var(--line); }
.status-pill.closed .sd { background: var(--faint); }

.thp-session { margin-top: 20px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.thp-rows { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.thp-cell { background: oklch(0.1 0.02 245 / 0.7); padding: 14px 16px; }
.thp-cell.full { grid-column: 1 / -1; }
.thp-cell .k { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.thp-cell .v { margin-top: 5px; color: var(--white); font-size: 0.92rem; }
.thp-cell .v.mono { font-family: var(--mono); font-size: 0.85rem; }
.thp-countdown { color: var(--cyan); }
.thp-note { margin-top: 18px; font-size: 0.9rem; color: var(--silver); line-height: 1.6; }
.thp-note b { color: var(--ice); font-weight: 600; }

@media (max-width: 900px) {
  .th-explore { grid-template-columns: 1fr; }
  .globe-stage { max-width: 420px; }
}

/* ---------------- LIVE TIMELINE (extends shared .tl-*) ---------------- */
.th-tl .tl-row { grid-template-columns: 132px 1fr; }
.tl-label { display: flex; align-items: center; gap: 10px; }
.tl-label .sess { font-family: var(--mono); font-size: 0.78rem; color: var(--silver); }
.tl-status { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; }
.tl-status.open { color: #9af0c4; } .tl-status.soon { color: var(--gold); } .tl-status.closed { color: var(--faint); }
.tl-overlap { position: absolute; top: 0; bottom: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(45deg, rgba(98,216,255,0.16) 0 6px, transparent 6px 12px);
  border-left: 1px dashed rgba(98,216,255,0.4); border-right: 1px dashed rgba(98,216,255,0.4); }
.tl-now-label { position: absolute; top: -34px; transform: translateX(-50%); white-space: nowrap; z-index: 6;
  font-family: var(--mono); font-size: 0.64rem; color: var(--white); background: oklch(0.12 0.03 250 / 0.95);
  border: 1px solid rgba(98,216,255,0.4); border-radius: 7px; padding: 4px 9px; box-shadow: 0 6px 18px rgba(2,8,23,0.5); }
.tl-now-label .u { color: var(--cyan); }
.tl-now-label .l { color: var(--muted); }
.tl-now-line { position: absolute; top: 26px; bottom: 16px; width: 2px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); z-index: 5; pointer-events: none; }
.th-tl .tl-track { padding-top: 36px; }
.tl-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; font-family: var(--mono); font-size: 0.66rem; color: var(--muted); }
.tl-legend span { display: inline-flex; align-items: center; gap: 7px; }
.tl-legend .sw { width: 14px; height: 10px; border-radius: 3px; }
.tl-legend .sw.ov { background: repeating-linear-gradient(45deg, rgba(98,216,255,0.4) 0 4px, transparent 4px 8px); border: 1px solid rgba(98,216,255,0.4); }
@media (max-width: 600px) {
  .th-tl .tl-row { grid-template-columns: 104px 1fr; }
  .timeline-wrap { overflow-x: auto; }
  .th-tl .tl-track { min-width: 540px; }
}

/* ---------------- OVERLAP CARDS ---------------- */
.ovl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.ovl-card { position: relative; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; overflow: hidden;
  background: linear-gradient(170deg, oklch(0.12 0.03 248 / 0.55), oklch(0.08 0.02 245 / 0.66)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), border-color 0.4s; }
.ovl-card:hover { transform: translateY(-5px); border-color: rgba(98,216,255,0.4); }
.ovl-card.peak { border-color: rgba(98,216,255,0.35); }
.ovl-card.peak::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, transparent 20%, rgba(98,216,255,0.5) 50%, transparent 80%); background-size: 220% 220%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: shimmer 6s linear infinite; }
.ovl-flags { display: flex; align-items: center; gap: 8px; }
.ovl-flags .plus { color: var(--faint); font-family: var(--mono); }
.ovl-card h3 { font-size: 1.18rem; margin: 14px 0 6px; }
.ovl-window { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--cyan); text-transform: uppercase; }
.ovl-card p { font-size: 0.9rem; color: var(--muted); margin-top: 12px; }
.ovl-inst { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.ovl-inst span { font-family: var(--mono); font-size: 0.66rem; color: var(--ice); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; background: rgba(98,216,255,0.05); }
.ovl-tag { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(98,216,255,0.4); border-radius: 999px; padding: 4px 9px; background: rgba(98,216,255,0.08); }

/* ---------------- MARKET TYPE CARDS ---------------- */
.mt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.mt-card { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; background: oklch(0.1 0.022 245 / 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color 0.35s, transform 0.35s var(--ease); }
.mt-card:hover { border-color: rgba(98,216,255,0.35); transform: translateY(-4px); }
.mt-card .mt-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--cyan); background: rgba(98,216,255,0.08); border: 1px solid rgba(98,216,255,0.22); }
.mt-card .mt-ico svg { width: 19px; height: 19px; }
.mt-card h3 { font-size: 1.1rem; margin: 16px 0 4px; }
.mt-hours { font-family: var(--mono); font-size: 0.7rem; color: var(--cyan); letter-spacing: 0.04em; }
.mt-card p { font-size: 0.86rem; color: var(--muted); margin-top: 10px; }

/* ---------------- DIRECTORY ---------------- */
.dir-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.dir-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.dir-filter { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: oklch(0.12 0.02 245 / 0.5); color: var(--silver); font-size: 0.8rem; font-weight: 500; transition: all 0.25s; }
.dir-filter:hover { color: var(--white); border-color: rgba(98,216,255,0.4); }
.dir-filter.active { background: rgba(98,216,255,0.12); border-color: rgba(98,216,255,0.55); color: var(--white); }
.dir-search { position: relative; min-width: 240px; flex: 1; max-width: 320px; }
.dir-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.dir-search input { width: 100%; padding: 11px 14px 11px 40px; border-radius: 10px; border: 1px solid var(--line); background: oklch(0.1 0.02 245 / 0.6); color: var(--white); font-family: var(--body); font-size: 0.88rem; transition: border-color 0.25s; }
.dir-search input::placeholder { color: var(--faint); }
.dir-search input:focus { outline: none; border-color: rgba(98,216,255,0.5); }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.dir-card { border: 1px solid var(--line-soft); border-radius: 14px; padding: 22px; background: oklch(0.09 0.02 245 / 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color 0.3s, transform 0.3s var(--ease); }
.dir-card:hover { border-color: rgba(98,216,255,0.4); transform: translateY(-3px); }
.dir-card .dc-head { display: flex; align-items: center; gap: 12px; }
.dir-card .dc-city { font-family: var(--display); font-size: 1.12rem; color: var(--white); }
.dir-card .dc-country { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.dir-card .dc-status { margin-left: auto; }
.dir-card .dc-role { margin-top: 14px; font-size: 0.84rem; color: var(--silver); }
.dir-card .dc-meta { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.dir-card .dc-meta div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.78rem; border-top: 1px solid var(--line-soft); padding-top: 8px; }
.dir-card .dc-meta .k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dir-card .dc-meta .v { color: var(--white); font-family: var(--mono); font-size: 0.78rem; text-align: right; }
.dir-card .dc-inst { margin-top: 14px; font-size: 0.76rem; color: var(--ice); }
.dir-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; font-size: 0.9rem; }

/* ---------------- TIPS ---------------- */
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tip { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line-soft); border-radius: 14px; background: oklch(0.09 0.02 245 / 0.5); transition: border-color 0.3s; }
.tip:hover { border-color: rgba(98,216,255,0.32); }
.tip .tn { font-family: var(--mono); font-size: 0.78rem; color: var(--cyan); flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; border: 1px solid rgba(98,216,255,0.3); background: rgba(98,216,255,0.07); }
.tip p { font-size: 0.9rem; color: var(--silver); line-height: 1.55; }

/* compliance note */
.th-disclaimer { margin-top: 14px; max-width: 76ch; margin-inline: auto; text-align: center; font-size: 0.78rem; color: var(--muted); line-height: 1.7; }
