/* Bearings: Russia diesel block. The client's CSS is scoped to #psg-bearings; these few lines fit it to the theme. */
.bearings-story{position:relative;isolation:isolate}
/* The theme's global section{padding:60px 0;overflow:hidden} would add padding the story never asked for. */
#psg-bearings section{padding:0;overflow:visible}
/* Site chrome matches the story background while the block is on the page. */
body.has-bearings-story .site-header,body.has-bearings-story .top-nav-wrapper,body.has-bearings-story .site-footer,body.has-bearings-story .site-footer .dark{background:#0A1C1E}
#psg-bearings{
    --hull:#0A1C1E; --deck:#0A292B; --rule:#004F4E; --rule-soft:#0F3331;
    --ice:#FFFFFF; --fog:#E4EFF7; --fog-dim:#367A80;
    --signal:#2A9D88; --signal-deep:#1F7A6B;
    --beacon:#F88E63; --beacon-lift:#FFAB85; --alert:#F2795A; --calm:#3DBA9E;
  }
  #psg-bearings, #psg-bearings *{box-sizing:border-box}
  #psg-bearings{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
  #psg-bearings{
    margin:0; background:var(--hull); color:var(--ice);
    font-family:"Inter",system-ui,sans-serif; font-size:16px; line-height:1.6;
    -webkit-font-smoothing:antialiased; overflow-x:hidden;
  }

  /* ============ FIXED BACKDROP ============ */#psg-bearings #stage{
    position:fixed; inset:0; z-index:0; pointer-events:none;
    background:
      radial-gradient(1200px 800px at 72% 12%, #0E3A38 0%, rgba(14,58,56,0) 62%),
      radial-gradient(900px 700px at 8% 92%, #082E2C 0%, rgba(8,46,44,0) 60%),
      var(--hull);
  }
  #psg-bearings #stage::after{
    content:""; position:absolute; inset:0;
    background-image:
      linear-gradient(to right, rgba(0,79,78,.22) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(0,79,78,.14) 1px, transparent 1px);
    background-size:92px 92px;
    mask-image:radial-gradient(ellipse 85% 70% at 55% 40%, #000 25%, transparent 100%);
  }

  #psg-bearings .content{position:relative; z-index:2}
  #psg-bearings .wrap{max-width:1280px; margin:0 auto; padding:0 clamp(18px,3.4vw,48px)}

  /* ============ HERO ============ */#psg-bearings .hero{min-height:100svh; display:flex; flex-direction:column; justify-content:center; padding:8vh 0 12vh}
  #psg-bearings .brandline{
    display:flex; align-items:center; gap:14px; flex-wrap:wrap;
    font-family:"Inter",sans-serif; font-size:11px; letter-spacing:.22em;
    text-transform:uppercase; color:var(--fog-dim);
  }
  #psg-bearings .brandline .star{
    width:9px; height:9px; flex:none; background:var(--beacon);
    clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);
  }
  #psg-bearings .brandline .sep{width:1px; height:12px; background:var(--rule)}
  #psg-bearings .brandline .muted{color:#FFFFFF; letter-spacing:.16em}

  #psg-bearings .hero h1{
    font-family:"Inter Tight",sans-serif; font-weight:700; text-transform:capitalize;
    font-size:clamp(28px,4.4vw,58px); line-height:1.1; letter-spacing:-.02em;
    margin:22px 0 0; max-width:20ch; color:#FFFFFF;
  }
  #psg-bearings .hero h1 .thin{color:var(--beacon)}
  #psg-bearings .hero .stand{
    margin:26px 0 0; max-width:56ch; font-size:clamp(15px,1.6vw,19px);
    color:#FFFFFF; line-height:1.62;
  }
  #psg-bearings .hero .stand em{font-family:"Inter",sans-serif; font-style:italic; color:var(--ice); font-size:1.08em}
  #psg-bearings .hero .byline{
    margin-top:30px; padding-top:16px;
    font-family:"Inter",sans-serif; font-size:10.5px; letter-spacing:.14em;
    text-transform:uppercase; color:var(--fog-dim); display:flex; gap:12px; flex-wrap:wrap;
  }
  #psg-bearings .scrollcue{
    margin-top:clamp(30px,5vh,60px);
    font-family:"Inter",sans-serif; font-size:10px; letter-spacing:.2em;
    text-transform:uppercase; color:var(--signal); display:flex; align-items:center; gap:10px;
  }
  #psg-bearings .scrollcue .bar{width:44px; height:1px; background:var(--signal); position:relative; overflow:hidden}
  #psg-bearings .scrollcue .bar::after{
    content:""; position:absolute; inset:0; background:var(--ice);
    animation:slide 2.4s ease-in-out infinite;
  }
  @keyframes slide{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}

  /* ============ TALLY STRIP ============ */#psg-bearings .tally{
    display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px;
    margin:0 0 14vh;
  }
  #psg-bearings .tally > div{background:rgba(10,41,43,.82); padding:22px 18px; border-radius:18px}
  #psg-bearings .tally .n{
    font-family:"Unbounded",sans-serif; font-weight:700; text-transform:uppercase;
    font-size:clamp(22px,2.8vw,32px); line-height:1; letter-spacing:-.025em;
    font-variant-numeric:tabular-nums;
  }
  #psg-bearings .tally .l{
    font-family:"Inter",system-ui,sans-serif; font-size:13.5px; letter-spacing:.02em;
    color:var(--ice); margin-top:11px; line-height:1.5;
  }

  /* ============ CHAPTER SECTIONS ============ */#psg-bearings .chapter{ padding:10vh 0 }
  #psg-bearings .chapter .kicker{
    display:flex; align-items:center; gap:10px; flex-wrap:wrap;
    font-family:"Inter",sans-serif; font-size:9.5px; letter-spacing:.2em;
    text-transform:uppercase; color:#FFFFFF; margin-bottom:14px;
  }
  #psg-bearings .chapter h2{
    font-family:"Unbounded",sans-serif; font-weight:700; text-transform:uppercase;
    font-size:clamp(26px,3.6vw,42px); line-height:1.02; letter-spacing:-.025em; margin:0;
    max-width:24ch; color:var(--beacon);
  }
  #psg-bearings .chapter .dek{
    font-family:"Inter",sans-serif; font-style:normal; font-weight:600; font-size:clamp(14px,1.5vw,17px);
    color:#FFFFFF; margin:10px 0 32px; max-width:60ch;
  }
  #psg-bearings .chapter .grid2{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(24px,4vw,56px); align-items:start }
  @media (max-width:980px){ #psg-bearings .chapter .grid2{grid-template-columns:1fr} }
  #psg-bearings .chapter p{margin:0 0 12px; color:#C9C7C7; font-size:14.5px; line-height:1.68; max-width:62ch}
  #psg-bearings .chapter strong{color:var(--ice); font-weight:600}

  #psg-bearings .card{
    background:linear-gradient(180deg, rgba(6,26,28,.90), rgba(4,22,21,.84));
    border-radius:30px;
    backdrop-filter:blur(9px); -webkit-backdrop-filter:blur(9px);
    padding:clamp(22px,2.6vw,34px);
    opacity:0; transform:translateY(30px);
    transition:opacity 1.1s cubic-bezier(.22,1,.36,1) .35s, transform 1.1s cubic-bezier(.22,1,.36,1) .35s;
  }
  #psg-bearings .chapter.lit .card{opacity:1; transform:none}
  #psg-bearings .card .chart-title{
    font-family:"Inter",sans-serif; font-size:9.5px; font-weight:600; letter-spacing:.19em;
    text-transform:uppercase; color:var(--beacon); margin:0 0 6px;
  }
  #psg-bearings .card .chart-sub{ font-size:13px; color:var(--fog); opacity:.75; margin:0 0 18px; line-height:1.5 }
  #psg-bearings .card .chart-box{ position:relative; height:260px }
  #psg-bearings .card .chart-box.short{ height:210px }
  #psg-bearings .card .chart-note{ font-size:12px; color:var(--fog-dim); margin-top:12px; line-height:1.6 }

  /* readout, dotted dividers */#psg-bearings .readout{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin:24px 0 6px }
  #psg-bearings .readout > div{ padding:6px 18px; border-left:2px dotted var(--beacon) }
  #psg-bearings .readout > div:first-child{ border-left:none; padding-left:0 }
  #psg-bearings .readout .rn{
    font-family:"Unbounded",sans-serif; font-weight:700; text-transform:uppercase;
    font-size:clamp(18px,2.2vw,25px); line-height:1; letter-spacing:-.02em; font-variant-numeric:tabular-nums;
  }
  #psg-bearings .readout .rl{
    font-family:"Inter",sans-serif; font-size:9.5px; letter-spacing:.13em;
    text-transform:uppercase; color:var(--fog-dim); margin-top:9px; line-height:1.55;
  }
  #psg-bearings .up{color:var(--calm)} #psg-bearings .down{color:var(--alert)} #psg-bearings .flat{color:var(--fog)}

  /* tables */#psg-bearings .mini-table{ width:100%; border-collapse:collapse; font-size:13.5px; margin-top:16px }
  #psg-bearings .mini-table th,#psg-bearings .mini-table td{ padding:11px 10px; text-align:left; border-bottom:1px solid var(--rule-soft) }
  #psg-bearings .mini-table th{
    font-family:"Inter",sans-serif; font-size:8.5px; letter-spacing:.13em; text-transform:uppercase;
    color:var(--fog-dim); font-weight:500; vertical-align:bottom;
  }
  #psg-bearings .mini-table td{ color:var(--fog) }
  #psg-bearings .mini-table td.mono{ font-variant-numeric:tabular-nums; color:var(--fog-dim) }
  #psg-bearings .mini-table tbody tr:hover{background:rgba(42,157,136,.045)}

  /* pills, styled as tags */#psg-bearings .pill{
    display:inline-block; font-family:"Inter",sans-serif; font-size:8.5px; letter-spacing:.13em;
    text-transform:uppercase; padding:5px 10px; border-radius:999px; white-space:nowrap;
    background:rgba(228,239,247,.08); color:var(--fog);
  }
  #psg-bearings .pill.watch{ background:rgba(248,142,99,.16); color:var(--beacon-lift) }
  #psg-bearings .pill.ok{ background:rgba(61,186,158,.16); color:var(--calm) }
  #psg-bearings .pill.flag{ background:rgba(242,121,90,.14); color:var(--alert) }
  #psg-bearings .pill.unk{ background:rgba(228,239,247,.1); color:var(--fog) }

  /* Pole Star analysis callout */#psg-bearings .analysis{
    background:rgba(10,41,43,.82); border-radius:30px;
    padding:clamp(22px,2.6vw,34px); margin:0 0 20px;
  }
  #psg-bearings .analysis p{ color:#C9C7C7 }
  #psg-bearings .analysis strong{ color:#FFFFFF; font-weight:600 }
  #psg-bearings .analysis p:last-child{ margin-bottom:0 }

  /* route strip */#psg-bearings .route{ display:flex; flex-wrap:wrap; gap:0; align-items:stretch; margin-top:22px }
  #psg-bearings .route .stop{ flex:1 1 140px; min-width:130px; border-left:2px dotted var(--beacon); padding:4px 16px; position:relative }
  #psg-bearings .route .stop:first-child{ border-left:0; padding-left:0 }
  #psg-bearings .route .stop .d{ font-family:"Inter",sans-serif; font-size:9.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--fog-dim) }
  #psg-bearings .route .stop .p{ font-weight:600; color:var(--ice); font-size:13.5px; margin:5px 0 }
  #psg-bearings .route .stop .draught{ font-family:"Unbounded",sans-serif; font-weight:700; font-size:16px; color:var(--beacon) }

  /* ============ CLOSING / LEDGER ============ */#psg-bearings .trailer{ background:var(--deck); border-radius:30px; padding-top:14vh }
  #psg-bearings .close{ padding:0 }
  #psg-bearings .close h2{
    font-family:"Unbounded",sans-serif; font-weight:700; text-transform:uppercase;
    font-size:clamp(28px,4.6vw,56px); line-height:1.02; letter-spacing:-.028em;
    margin:0 0 22px; max-width:22ch; color:var(--beacon);
  }
  #psg-bearings .close .lede{font-size:clamp(15px,1.7vw,19px); color:#C9C7C7; max-width:60ch; margin:0 0 40px}

  #psg-bearings .table-scroll{
    overflow-x:auto; overflow-y:hidden; -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain; margin:0 -4px; padding:0 4px; max-width:100%;
  }
  #psg-bearings table.ledger{width:100%; min-width:760px; border-collapse:collapse; font-size:13.5px}
  #psg-bearings caption{
    text-align:left; font-family:"Inter",sans-serif; font-size:9.5px;
    letter-spacing:.18em; text-transform:uppercase; color:var(--fog-dim); padding-bottom:12px;
  }
  #psg-bearings table.ledger th,#psg-bearings table.ledger td{ padding:11px 10px; text-align:left; border-bottom:1px solid var(--rule-soft) }
  #psg-bearings table.ledger th{
    font-family:"Inter",sans-serif; font-size:8.5px; letter-spacing:.13em;
    text-transform:uppercase; color:var(--fog-dim); font-weight:500; vertical-align:bottom;
  }
  #psg-bearings table.ledger td{ color:var(--fog) }
  #psg-bearings table.ledger tbody tr:hover{background:rgba(42,157,136,.045)}
  #psg-bearings td.vessel{font-weight:600; color:var(--beacon) !important}
  #psg-bearings td.mono{font-family:"Inter",sans-serif; font-variant-numeric:tabular-nums; color:var(--fog-dim)}

  #psg-bearings .foot{padding:8vh 0 12vh; margin-top:8vh; background:var(--deck)}
  #psg-bearings .foot p{
    font-family:"Inter",sans-serif; font-size:10.5px; line-height:1.9;
    letter-spacing:.06em; color:var(--fog-dim); max-width:88ch; margin:0 0 14px;
  }
  #psg-bearings .foot strong{color:var(--fog); font-weight:500}

  /* ============ COMPLIANCE WORKFLOW (Chapter 6) ============ */#psg-bearings .workflow{ display:flex; flex-direction:column; gap:0; margin-top:6px }
  #psg-bearings .workflow .step{ display:flex; gap:14px; position:relative; padding-bottom:20px }
  #psg-bearings .workflow .step:last-child{ padding-bottom:0 }
  #psg-bearings .workflow .step::before{
    content:""; position:absolute; left:13px; top:30px; bottom:2px; width:0;
    border-left:2px dotted var(--rule);
  }
  #psg-bearings .workflow .step:last-child::before{ display:none }
  #psg-bearings .workflow .num{
    flex:none; width:28px; height:28px; border-radius:50%; z-index:1;
    background:rgba(42,157,136,.16); color:var(--signal);
    display:grid; place-items:center; font:700 11px "Unbounded",sans-serif;
  }
  #psg-bearings .workflow .num.final{ background:var(--beacon); color:#FFFFFF }
  #psg-bearings .workflow .body{ padding-top:3px }
  #psg-bearings .workflow .t{ font:600 14px "Inter",sans-serif; color:var(--ice) }
  #psg-bearings .workflow .d{ margin-top:3px; font-size:13px; color:#C9C7C7; line-height:1.55 }

  @media (max-width:820px){
    #psg-bearings .readout{grid-template-columns:1fr; gap:14px}
    #psg-bearings .readout > div{border-left:none; padding-left:0; padding-top:14px; border-top:2px dotted var(--beacon)}
    #psg-bearings .readout > div:first-child{border-top:none; padding-top:0}
    #psg-bearings .hero{justify-content:flex-start; padding-top:6vh; min-height:auto}
    #psg-bearings .trailer{border-radius:22px}
  }

  /* ============ EMBEDDED WIDGETS ============ */#psg-bearings .embed-agioi{position:relative;border:1px solid var(--rule-soft);background:#071A19;overflow:hidden;isolation:isolate;margin-top:16px}
#psg-bearings .embed-agioi::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(ellipse 88% 84% at 50% 48%,transparent 49%,rgba(6,26,28,.28) 100%)}
#psg-bearings .embed-agioi #map-agioi{display:block;width:100%;height:clamp(230px,40vw,320px);min-height:220px}
#psg-bearings .embed-agioi .map-topline{position:absolute;z-index:4;left:12px;top:11px;display:flex;gap:8px;align-items:center;padding:6px 9px;border:1px solid rgba(0,79,78,.75);background:rgba(6,26,28,.82);font:8px/1.4 "Inter",sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--fog)}
#psg-bearings .embed-agioi .map-topline .bullet{width:6px;height:6px;border-radius:50%;background:var(--signal);box-shadow:0 0 8px rgba(61,186,158,.7)}
#psg-bearings .embed-agioi .map-topline strong{color:var(--ice);font-weight:500}
#psg-bearings .embed-agioi .map-legend{position:absolute;z-index:4;left:12px;bottom:11px;display:flex;gap:11px;flex-wrap:wrap;padding:6px 8px;background:rgba(6,26,28,.8);border:1px solid rgba(0,79,78,.72);font:7.5px/1.35 "Inter",sans-serif;letter-spacing:.09em;text-transform:uppercase;color:var(--fog)}
#psg-bearings .embed-agioi .map-legend span{display:flex;align-items:center;gap:5px}
#psg-bearings .embed-agioi .key{display:inline-block;width:14px;height:2px;background:var(--signal)}
#psg-bearings .embed-agioi .key.ship{width:7px;height:7px;border-radius:50%;background:var(--beacon);box-shadow:0 0 8px rgba(248,142,99,.65)}
#psg-bearings .embed-agioi .position-card{position:absolute;z-index:4;right:12px;top:11px;max-width:min(230px,44%);padding:8px 10px;background:rgba(6,26,28,.86);border:1px solid var(--rule-soft);text-align:right}
#psg-bearings .embed-agioi .position-card .label{display:block;color:var(--fog-dim);font:7.5px/1.4 "Inter",sans-serif;letter-spacing:.13em;text-transform:uppercase}
#psg-bearings .embed-agioi .position-card .coord{display:block;margin-top:3px;color:var(--ice);font:500 10px/1.5 "Inter",sans-serif;font-variant-numeric:tabular-nums}
#psg-bearings .embed-agioi .position-card .range{display:block;margin-top:2px;color:var(--signal);font:7.5px/1.4 "Inter",sans-serif;letter-spacing:.07em;text-transform:uppercase}
#psg-bearings .embed-agioi #vesselMarker{position:absolute;z-index:3;width:1px;height:1px;transform:translate(-50%,-50%);pointer-events:none}
#psg-bearings .embed-agioi .pulse-ring{position:absolute;width:34px;height:34px;left:50%;top:50%;border:1px solid rgba(61,186,158,.86);border-radius:50%;transform:translate(-50%,-50%);animation:ping-agioi 1.8s ease-out infinite}
#psg-bearings .embed-agioi .pulse-core{position:absolute;width:22px;height:22px;left:50%;top:50%;border-radius:50%;transform:translate(-50%,-50%);background:rgba(248,142,99,.14);box-shadow:0 0 16px rgba(248,142,99,.35);display:grid;place-items:center}
#psg-bearings .embed-agioi .ship-arrow{width:21px;height:16px;overflow:visible;filter:drop-shadow(0 0 4px rgba(248,142,99,.6))}
#psg-bearings .embed-agioi .ship-arrow path{fill:var(--beacon);stroke:#FFE1CD;stroke-width:1.1;stroke-linejoin:round}
#psg-bearings .embed-agioi .vessel-label{position:absolute;left:15px;top:-14px;white-space:nowrap;padding:4px 6px;border-left:1px solid var(--beacon);background:rgba(6,26,28,.88);color:var(--ice);font:600 7.5px/1.4 "Inter",sans-serif;letter-spacing:.08em;text-transform:uppercase}
@keyframes ping-agioi{0%{opacity:.85;transform:translate(-50%,-50%) scale(.55)}75%,100%{opacity:0;transform:translate(-50%,-50%) scale(1.55)}}
@media(max-width:700px){#psg-bearings .embed-agioi #map-agioi{height:clamp(210px,55vw,280px)}#psg-bearings .embed-agioi .position-card{right:8px;top:8px;max-width:52%;padding:7px}#psg-bearings .embed-agioi .map-topline{left:8px;top:8px}#psg-bearings .embed-agioi .map-legend{left:8px;bottom:8px}}


#psg-bearings .embed-taurus{margin-top:28px}
#psg-bearings .embed-taurus .stops{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--rule-soft);border:1px solid var(--rule-soft);margin:0 0 1px}
#psg-bearings .embed-taurus .stop{position:relative;display:flex;gap:10px;align-items:center;min-height:58px;padding:10px 13px;background:rgba(10,41,43,.87);transition:background .35s ease}
#psg-bearings .embed-taurus .stop.active{background:rgba(61,186,158,.09)}
#psg-bearings .embed-taurus .stop.passed .stop-num{color:var(--calm);border-color:var(--calm)}
#psg-bearings .embed-taurus .stop-num{display:grid;place-items:center;width:23px;height:23px;flex:none;border:1px solid var(--rule);color:var(--fog);font:9px/1 "Inter",sans-serif}
#psg-bearings .embed-taurus .stop-copy{min-width:0}
#psg-bearings .embed-taurus .stop-kicker{display:block;color:var(--fog-dim);font:7.5px/1.4 "Inter",sans-serif;letter-spacing:.13em;text-transform:uppercase}
#psg-bearings .embed-taurus .stop-name{display:block;margin-top:2px;color:var(--ice);font:600 12px/1.35 "Inter",sans-serif;letter-spacing:.01em}
#psg-bearings .embed-taurus .stop-detail{display:block;margin-top:3px;color:var(--fog-dim);font:6.5px/1.45 "Inter",sans-serif;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#psg-bearings .embed-taurus .stop.active .stop-kicker,#psg-bearings .embed-taurus .stop.active .stop-name{color:var(--signal)}
#psg-bearings .embed-taurus .stop.passed .stop-kicker{color:var(--calm)}
#psg-bearings .embed-taurus .map-shell{position:relative;border:1px solid var(--rule-soft);border-top:0;background:#071A19;overflow:hidden;isolation:isolate}
#psg-bearings .embed-taurus .map-shell::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse 88% 84% at 50% 47%,transparent 48%,rgba(6,26,28,.32) 100%)}
#psg-bearings .embed-taurus #map-taurus{display:block;width:100%;height:clamp(260px,42vw,380px);min-height:240px}
#psg-bearings .embed-taurus .map-topline{position:absolute;z-index:2;left:12px;top:11px;display:flex;gap:8px;align-items:center;max-width:calc(100% - 24px);padding:6px 9px;border:1px solid rgba(0,79,78,.75);background:rgba(6,26,28,.8);font:8px/1.4 "Inter",sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--fog)}
#psg-bearings .embed-taurus .map-topline .bullet{width:6px;height:6px;border-radius:50%;background:var(--signal);box-shadow:0 0 8px rgba(61,186,158,.7)}
#psg-bearings .embed-taurus .map-topline #sceneLabel{color:var(--ice)}
#psg-bearings .embed-taurus .map-legend{position:absolute;z-index:2;left:12px;bottom:11px;display:flex;flex-wrap:wrap;gap:10px;padding:6px 8px;background:rgba(6,26,28,.78);border:1px solid rgba(0,79,78,.72);font:7.5px/1.3 "Inter",sans-serif;letter-spacing:.09em;text-transform:uppercase;color:var(--fog)}
#psg-bearings .embed-taurus .map-legend span{display:flex;align-items:center;gap:5px}
#psg-bearings .embed-taurus .key{display:inline-block;width:13px;height:2px;background:var(--signal)}
#psg-bearings .embed-taurus .key.planned{height:0;background:none;border-top:1px dashed var(--fog)}
#psg-bearings .embed-taurus .key.port{width:6px;height:6px;border-radius:50%;background:var(--beacon);box-shadow:0 0 7px rgba(248,142,99,.65)}
#psg-bearings .embed-taurus .controlbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:11px 13px;border:1px solid var(--rule-soft);border-top:0;background:rgba(10,41,43,.82)}
#psg-bearings .embed-taurus .controls{display:flex;align-items:center;gap:7px}
#psg-bearings .embed-taurus button{font:500 9px/1.2 "Inter",sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--ice);cursor:pointer}
#psg-bearings .embed-taurus button:focus-visible{outline:2px solid var(--signal);outline-offset:3px}
#psg-bearings .embed-taurus .btn{min-height:32px;padding:7px 10px;border:1px solid var(--rule);background:rgba(6,26,28,.72);transition:color .2s,border-color .2s,background .2s}
#psg-bearings .embed-taurus .btn:hover{border-color:var(--signal);color:var(--signal)}
#psg-bearings .embed-taurus .btn.primary{min-width:90px;background:var(--signal);border-color:var(--signal);color:var(--hull);font-weight:600}
#psg-bearings .embed-taurus .btn.primary:hover{background:#FFAB85}
#psg-bearings .embed-taurus .progress-wrap{min-width:0}
#psg-bearings .embed-taurus .progress-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px;color:var(--fog-dim);font:7.5px/1.4 "Inter",sans-serif;letter-spacing:.09em;text-transform:uppercase}
#psg-bearings .embed-taurus .progress-head #phaseText{color:var(--ice);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#psg-bearings .embed-taurus .progress-track{height:3px;background:var(--rule);position:relative;overflow:hidden}
#psg-bearings .embed-taurus .progress-fill{height:100%;width:0;background:var(--signal);box-shadow:0 0 10px rgba(61,186,158,.65);transition:width .08s linear}
#psg-bearings .embed-taurus .clock{min-width:68px;text-align:right;color:var(--fog);font:9.5px/1.4 "Inter",sans-serif;font-variant-numeric:tabular-nums}
@media(max-width:760px){#psg-bearings .embed-taurus .stops{grid-template-columns:repeat(2,minmax(0,1fr))}#psg-bearings .embed-taurus .stop{padding:9px;gap:7px;min-height:56px}#psg-bearings .embed-taurus .stop-name{font-size:10.5px}#psg-bearings #map-taurus{height:clamp(230px,55vw,300px)}#psg-bearings .embed-taurus .controlbar{grid-template-columns:auto minmax(0,1fr);gap:10px}#psg-bearings .embed-taurus .clock{grid-column:2;grid-row:1;text-align:right}#psg-bearings .embed-taurus .progress-wrap{grid-column:1 / -1;grid-row:2}#psg-bearings .embed-taurus .controls{grid-column:1;grid-row:1}}
@media(prefers-reduced-motion:reduce){#psg-bearings, #psg-bearings *,#psg-bearings *::before,#psg-bearings *::after{scroll-behavior:auto!important}}


  /* ============ EMBED OVERRIDES, matched to the reference style ============ */#psg-bearings .embed-agioi{border:0;border-radius:22px;margin-top:18px}
  #psg-bearings .embed-agioi .map-topline,#psg-bearings .embed-taurus .map-topline,#psg-bearings .embed-agioi .map-legend,#psg-bearings .embed-taurus .map-legend,#psg-bearings .embed-agioi .position-card{border:0;border-radius:12px;background:rgba(10,41,43,.88);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
  #psg-bearings .embed-agioi .position-card .coord{font:700 11px/1.5 "Unbounded",sans-serif;color:var(--ice)}
  #psg-bearings .embed-agioi .vessel-label{border-left:2px solid var(--beacon);border-radius:0 6px 6px 0}

  #psg-bearings .embed-taurus .stops{gap:10px;background:none;border:0;margin:0 0 10px}
  #psg-bearings .embed-taurus .stop{background:rgba(10,41,43,.82);border-radius:18px}
  #psg-bearings .embed-taurus .stop.active{background:rgba(248,142,99,.12)}
  #psg-bearings .embed-taurus .stop-num{border:0;border-radius:50%;background:rgba(42,157,136,.16);color:var(--signal);font:700 9px/1 "Unbounded",sans-serif}
  #psg-bearings .embed-taurus .stop.passed .stop-num{background:rgba(61,186,158,.22);color:var(--calm)}
  #psg-bearings .embed-taurus .stop.active .stop-num{background:var(--beacon);color:#FFFFFF}
  #psg-bearings .embed-taurus .stop.active .stop-kicker,#psg-bearings .embed-taurus .stop.active .stop-name{color:var(--beacon)}
  #psg-bearings .embed-taurus .map-shell{border:0;border-radius:22px}
  #psg-bearings .embed-taurus .controlbar{border:0;border-radius:18px;margin-top:10px;background:rgba(10,41,43,.82)}
  #psg-bearings .embed-taurus button{font:600 11px/1.2 "Unbounded",sans-serif;letter-spacing:.06em;text-transform:uppercase}
  #psg-bearings .embed-taurus .btn{min-height:36px;padding:9px 18px;border-radius:999px;border:1px solid var(--rule);background:transparent;color:var(--ice);transition:transform .3s ease,border-color .3s ease}
  #psg-bearings .embed-taurus .btn:hover{border-color:var(--beacon);color:var(--ice);transform:translateY(-2px)}
  #psg-bearings .embed-taurus .btn.primary{min-width:100px;background:var(--beacon);border-color:var(--beacon);color:#FFFFFF}
  #psg-bearings .embed-taurus .btn.primary:hover{background:var(--beacon)}
  #psg-bearings .embed-taurus button:focus-visible{outline:2px solid var(--beacon)}
  #psg-bearings .embed-taurus .progress-track{border-radius:999px;background:var(--rule-soft)}
  #psg-bearings .embed-taurus .progress-fill{background:var(--beacon);box-shadow:0 0 10px rgba(248,142,99,.6);border-radius:999px}
  #psg-bearings .embed-taurus .clock{font-family:"Unbounded",sans-serif;font-weight:600;font-size:11px}

  @media (prefers-reduced-motion:reduce){
    #psg-bearings{scroll-behavior:auto}
    /* keep the fade, drop the slide */#psg-bearings .card{transform:none !important}
  }


  /* ===== WordPress embed shell ===== */
  #psg-bearings{position:relative; isolation:isolate; overflow:hidden; text-align:left;
    width:100vw; max-width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw);}
  #psg-bearings #stage{position:absolute}
  #psg-bearings h1,#psg-bearings h2,#psg-bearings h3,#psg-bearings p{text-transform:none}
  #psg-bearings .hero h1{text-transform:capitalize}
  #psg-bearings .chapter h2,#psg-bearings .close h2{text-transform:uppercase}
  #psg-bearings table,#psg-bearings th,#psg-bearings td{background:transparent; border-left:0; border-right:0; border-top:0}
  #psg-bearings canvas{max-width:none}
  #psg-bearings button{box-shadow:none; text-shadow:none}
  /* cards are only hidden for the reveal once the script has confirmed it is running */
  #psg-bearings .card{opacity:1; transform:none}
  #psg-bearings.js .card{opacity:0; transform:translateY(30px)}
  #psg-bearings.js .chapter.lit .card{opacity:1; transform:none}
