:root{--sja-gold:#eed29a;--sja-gold2:#d5a357;--sja-text:#f3e5cd}
.ar-sja{margin:30px 0;color:var(--sja-text);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}.ar-sja *{box-sizing:border-box}
.ar-sja-shell{overflow:hidden;border-radius:28px;background:linear-gradient(180deg,#050607,#08090a);border:1px solid rgba(215,169,85,.15);box-shadow:0 26px 70px rgba(0,0,0,.34)}
.ar-sja-head{padding:28px 20px 14px;text-align:center}.ar-sja-eyebrow{display:block;margin-bottom:8px;color:#c8954a;font-size:10px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}.ar-sja-head h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,4vw,62px);line-height:1.03;letter-spacing:.08em;color:#efd4a0;text-transform:uppercase;font-weight:500}.ar-sja-head p{max-width:940px;margin:12px auto 0;color:#cbb590;font-size:12.5px;line-height:1.7}.ar-sja-ornament{display:block;width:190px;height:16px;margin:10px auto 0;position:relative}.ar-sja-ornament:before,.ar-sja-ornament:after{content:"";position:absolute;top:8px;width:75px;height:1px;background:linear-gradient(90deg,transparent,#ab7737,#ab7737,transparent)}.ar-sja-ornament:before{left:0}.ar-sja-ornament:after{right:0}.ar-sja-ornament{background:radial-gradient(circle at 50% 50%,#d5a45c 0,#d5a45c 2px,transparent 3px)}

.ar-sja-layout{display:grid;grid-template-columns:320px minmax(0,1fr) 320px;gap:16px;padding:0 14px 16px;align-items:start}.ar-sja-side{display:grid;gap:14px}.ar-sja-stage{position:relative;padding:8px 0 10px;min-height:820px}.ar-sja-map-plot{position:relative;min-height:760px;border-radius:26px;background:radial-gradient(circle at 50% 47%,rgba(197,146,79,.24),rgba(38,28,18,.06) 35%,transparent 50%),linear-gradient(180deg,#070809,#0a0b0c);border:1px solid rgba(215,169,85,.12);overflow:hidden}

.ar-sja-panel{position:relative;background:linear-gradient(180deg,#111213,#0d0e0f);border:1px solid rgba(215,169,85,.16);border-radius:22px;padding:14px;box-shadow:0 18px 46px rgba(0,0,0,.28)}.ar-sja-panel.theme-red{background:radial-gradient(circle at 20% 0,rgba(132,24,18,.4),transparent 44%),linear-gradient(180deg,#181010,#0d0e0f)}.ar-sja-panel.theme-gold{background:radial-gradient(circle at 20% 0,rgba(155,105,38,.22),transparent 44%),linear-gradient(180deg,#15120f,#0d0e0f)}.ar-sja-panel.theme-copper{background:radial-gradient(circle at 20% 0,rgba(148,92,40,.18),transparent 44%),linear-gradient(180deg,#121212,#0d0e0f)}.ar-sja-panel-title,.ar-sja-guide-title{display:flex;align-items:flex-start;gap:11px;margin-bottom:12px;color:#efd2a0;font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.08;text-transform:uppercase}.ar-sja-panel-title span:first-child{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;flex:0 0 36px;background:radial-gradient(circle at 35% 35%,#ca5138,#6f1711 68%);border:2px solid rgba(231,205,151,.42);color:#fff2d6;font-size:17px}
.ar-sja-mini-place{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid rgba(215,169,85,.18);border-radius:16px;background:rgba(9,10,11,.58);color:inherit;text-align:left;cursor:pointer;transition:.15s ease}.ar-sja-mini-place:hover,.ar-sja-major-item:hover,.ar-sja-bullet:hover{border-color:rgba(234,196,121,.48)}.ar-sja-mini-thumb{display:inline-flex;align-items:center;justify-content:center;width:72px;height:72px;flex:0 0 72px;border-radius:50%;overflow:hidden;border:3px solid rgba(228,193,125,.72);box-shadow:0 0 0 3px rgba(121,32,19,.18),0 10px 24px rgba(0,0,0,.38)}.ar-sja-mini-thumb img{display:block;width:100%;height:100%;object-fit:cover}.ar-sja-mini-place span strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.05;color:#f4dfb5}.ar-sja-mini-place span small{display:block;margin-top:5px;font-size:10px;color:#c8b08a;letter-spacing:.06em;text-transform:uppercase}.ar-sja-three-places{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ar-sja-three-places .ar-sja-mini-place{display:grid;justify-items:center;text-align:center;gap:10px;padding:10px}.ar-sja-three-places .ar-sja-mini-thumb{width:58px;height:58px;flex-basis:58px}.ar-sja-three-places .ar-sja-mini-place span strong{font-size:12px}.ar-sja-bullet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.ar-sja-bullet{display:flex;align-items:flex-start;gap:8px;padding:0;background:none;border:0;color:#ead9b8;text-align:left;cursor:pointer}.ar-sja-bullet i{font-style:normal;color:var(--sja-gold2)}.ar-sja-bullet span{font-size:12px;line-height:1.4}.ar-sja-cluster-row{display:grid;gap:10px}.ar-sja-mini-place.pill{border-radius:999px;padding:8px 10px}.ar-sja-mini-place.pill .ar-sja-mini-thumb{width:48px;height:48px;flex-basis:48px}.ar-sja-mini-place.pill span strong{font-size:12px}.ar-sja-mini-place.pill span small{font-size:9px}.ar-sja-guide-list{display:grid;gap:9px}.ar-sja-guide-list span{display:flex;align-items:center;gap:9px;color:#e8d7b7;font-size:12px}.ar-sja-guide-list i{display:inline-block;width:12px;height:12px;border-radius:50%;border:1px solid rgba(255,255,255,.28)}
.ar-sja-major-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ar-sja-major-item{display:flex;align-items:flex-start;gap:8px;width:100%;padding:7px 0;background:none;border:0;border-bottom:1px solid rgba(223,184,112,.12);color:#e9d9bb;text-align:left;cursor:pointer}.ar-sja-major-item:last-child{border-bottom:0}.ar-sja-major-item b{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:#f1e1bf;color:#23180b;font-size:11px;font-weight:900}.ar-sja-major-item span{font-size:12px;line-height:1.42}

.ar-sja-base-svg{position:absolute;left:50%;top:50%;width:min(76%,680px);height:92%;transform:translate(-50%,-50%);object-fit:contain;pointer-events:none}.ar-sja-route-layer{position:absolute;left:16.5%;right:15.5%;top:8.5%;bottom:8.5%;width:68%;height:83%;overflow:visible}.ar-sja-route-segment{fill:none;stroke-linecap:round;stroke-linejoin:round;opacity:.88}.ar-sja-route-segment.type-main{stroke:#b33a2e;stroke-width:.46;stroke-dasharray:.75 1.12}.ar-sja-route-segment.type-secondary{stroke:#d6a34b;stroke-width:.4;stroke-dasharray:.66 1.38}.ar-sja-route-segment.type-support{stroke:#ceb27c;stroke-width:.32;stroke-dasharray:.46 1.56;opacity:.52}.ar-sja-route-segment.is-related{opacity:1}.ar-sja-route-segment.type-main.is-related{stroke:#d75343;stroke-width:.56}.ar-sja-route-segment.type-secondary.is-related{stroke:#e4b35d;stroke-width:.48}.ar-sja-route-segment.type-support.is-related{stroke:#ead4a5;stroke-width:.4;opacity:.82}
.ar-sja-markers{position:absolute;inset:0}.ar-sja-marker{position:absolute;transform:translate(-50%,-50%);width:20px;height:20px;border:0;background:none;cursor:pointer;z-index:4;padding:0}.ar-sja-marker.is-featured{width:72px;height:72px;z-index:6}.ar-sja-pin-ring,.ar-sja-pin-core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%}.ar-sja-pin-ring{width:16px;height:16px;background:radial-gradient(circle at 35% 35%,rgba(255,246,232,.38),rgba(108,28,19,.96) 64%,#170706 100%);border:1.5px solid rgba(239,217,169,.42);box-shadow:0 0 0 2px rgba(120,28,20,.14),0 6px 12px rgba(0,0,0,.34)}.ar-sja-pin-core{width:4px;height:4px;background:#f8ebc9;box-shadow:0 0 6px rgba(255,230,173,.4)}.ar-sja-pin-num{position:absolute;left:11px;top:-2px;display:inline-flex;align-items:center;justify-content:center;min-width:12px;height:12px;padding:0 2px;border-radius:999px;background:#f4e5c4;color:#25180b;border:1px solid rgba(113,80,32,.42);font-size:6.6px;font-weight:900}.ar-sja-medallion{position:absolute;left:50%;top:calc(var(--med-y));transform:translate(-50%,0) translateX(var(--med-x));width:44px;height:44px;border-radius:50%;overflow:hidden;border:2px solid rgba(228,193,124,.86);box-shadow:0 0 0 2px rgba(112,34,24,.22),0 10px 20px rgba(0,0,0,.34);background:#111}.ar-sja-medallion img{display:block;width:44px;height:44px;object-fit:cover}.ar-sja-pin-plaque{position:absolute;left:50%;top:calc(var(--plaque-y));transform:translate(-50%,0) translateX(var(--plaque-x));display:inline-flex;align-items:center;justify-content:center;min-width:58px;max-width:82px;padding:3px 5px;border-radius:999px;background:linear-gradient(180deg,#35130e,#1a0d0a);box-shadow:0 8px 18px rgba(0,0,0,.3);border:1px solid rgba(227,191,117,.5);color:#f2d8a6;font-size:6.7px;font-weight:900;line-height:1.1;text-align:center;text-transform:uppercase}.ar-sja-marker:hover .ar-sja-pin-ring,.ar-sja-marker.is-active .ar-sja-pin-ring{box-shadow:0 0 0 4px rgba(220,174,91,.12),0 0 10px rgba(220,174,91,.18),0 6px 12px rgba(0,0,0,.34)}
.ar-sja-hover-card{position:absolute;z-index:30;width:220px;max-width:calc(100vw - 30px);overflow:hidden;border-radius:14px;background:#110f0e;border:1px solid rgba(219,176,102,.22);box-shadow:0 14px 34px rgba(0,0,0,.32);pointer-events:none}.ar-sja-card-media{height:82px;background:#0e0e0e}.ar-sja-card-media img{display:block;width:100%;height:100%;object-fit:cover}.ar-sja-card-body{padding:9px 10px 10px}.ar-sja-card-kicker{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;color:#d3a14f;font-size:7.5px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.ar-sja-card-kicker span:last-child{color:#c2a67c}.ar-sja-hover-card h3,.ar-sja-sheet h3{margin:5px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.04;color:#f3d8a5}.ar-sja-card-place{margin-top:4px;color:#cbb086;font-size:8.4px;letter-spacing:.05em;text-transform:uppercase}.ar-sja-card-story{margin-top:6px;color:#eadcc3;font-size:9.8px;line-height:1.46}.ar-sja-card-meta{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}.ar-sja-card-meta span{display:inline-flex;padding:4px 5px;border-radius:999px;background:#171616;border:1px solid rgba(219,176,102,.11);font-size:7.6px;color:#d2b178}
.ar-sja-legend{position:absolute;right:18px;top:18px;display:grid;gap:5px;padding:8px 10px;border-radius:14px;background:rgba(10,10,10,.88);border:1px solid rgba(219,176,102,.16);font-size:8.8px;color:#d9c5a2;pointer-events:none}.ar-sja-legend span{display:flex;align-items:center;gap:6px}.ar-sja-legend i{display:inline-block;width:8px;height:8px;border-radius:50%}.c-crimson{background:#81251c}.c-saffron{background:#d18d36}.c-copper{background:#a86e39}.c-ivory{background:#eadbb7}
.ar-sja-route-caption{display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap;margin:2px 18px 22px;padding:12px 15px;border-top:1px solid rgba(219,176,102,.11);border-bottom:1px solid rgba(219,176,102,.11);color:#d9c4a0;font-size:11px;text-align:center}.ar-sja-route-caption strong{font-family:Georgia,"Times New Roman",serif;font-size:14px;color:#efd3a0}.ar-sja-route-caption i{font-style:normal;color:#b77c36}.ar-sja-route-caption span{width:100%;color:#a99576;font-size:10px}
.ar-sja-editorial{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px;margin:0 20px 22px;padding:22px;border-radius:22px;background:linear-gradient(180deg,#0f1011,#0a0b0c);border:1px solid rgba(219,176,102,.13)}.ar-sja-editorial-copy>span{display:block;color:#c8954a;font-size:9px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.ar-sja-editorial h3{margin:8px 0 10px;font-family:Georgia,"Times New Roman",serif;font-size:30px;color:#efd4a3}.ar-sja-editorial p{margin:0;color:#d9c8aa;font-size:12px;line-height:1.7}.ar-sja-editorial-note{margin-top:10px!important;color:#ad9b7e!important}.ar-sja-karmas{display:grid;gap:8px}.ar-sja-karmas article{display:grid;grid-template-columns:34px 1fr;gap:10px;padding:10px;border-radius:14px;background:#121212;border:1px solid rgba(219,176,102,.09)}.ar-sja-karmas article>b{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#2b1812;color:#e7c37c;font-size:10px}.ar-sja-karmas strong{display:block;color:#efd8ad;font-size:12.5px}.ar-sja-karmas em{display:block;color:#b99e74;font-size:10px;font-style:normal}.ar-sja-karmas p{margin-top:5px;font-size:10.8px}.ar-sja-credit{padding:0 18px 18px;text-align:center;color:#8f8068;font-size:9.5px}
.ar-sja-sheet-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:1100}.ar-sja-sheet{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(610px,calc(100vw - 24px));max-height:86vh;overflow:auto;border-radius:24px;background:#101112;border:1px solid rgba(219,176,102,.18);box-shadow:0 28px 70px rgba(0,0,0,.5);padding:16px;z-index:1101}.ar-sja-sheet-close{display:flex;align-items:center;justify-content:center;margin-left:auto;width:34px;height:34px;border-radius:50%;border:1px solid rgba(219,176,102,.18);background:#161616;color:#efd4a2;font-size:22px}.ar-sja-sheet-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ar-sja-sheet-gallery img{width:100%;height:110px;object-fit:cover;border-radius:12px}.ar-sja [hidden]{display:none!important}
@media(max-width:1280px){.ar-sja-layout{grid-template-columns:280px minmax(0,1fr) 280px}.ar-sja-stage{min-height:760px}.ar-sja-map-plot{min-height:710px}.ar-sja-base-svg{width:min(80%,650px)}}
@media(max-width:1080px){.ar-sja-layout{grid-template-columns:1fr}.ar-sja-stage{order:1}.ar-sja-side-left{order:2}.ar-sja-side-right{order:3}.ar-sja-stage{min-height:auto}.ar-sja-map-plot{min-height:720px}.ar-sja-three-places{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.ar-sja-legend{position:static;width:max-content;max-width:100%;margin:10px auto 0;grid-template-columns:repeat(2,minmax(0,1fr))}.ar-sja-editorial{grid-template-columns:1fr}}
@media(max-width:767px){.ar-sja{margin:22px 0}.ar-sja-shell{border-radius:20px}.ar-sja-head{padding:22px 12px 10px}.ar-sja-head h2{font-size:29px}.ar-sja-head p{font-size:11.5px}.ar-sja-layout{padding:0 8px 12px;gap:12px}.ar-sja-panel{padding:12px;border-radius:18px}.ar-sja-panel-title,.ar-sja-guide-title{font-size:16px}.ar-sja-panel-title span:first-child{width:32px;height:32px;flex-basis:32px;font-size:15px}.ar-sja-map-plot{min-height:620px}.ar-sja-base-svg{width:94%;height:90%}.ar-sja-route-layer{left:12%;right:11%;top:9%;bottom:9%;width:76%;height:82%}.ar-sja-marker{width:18px;height:18px}.ar-sja-pin-ring{width:14px;height:14px}.ar-sja-pin-num{left:10px;min-width:14px;height:14px;font-size:7.2px}.ar-sja-marker.is-featured{width:58px;height:58px}.ar-sja-medallion,.ar-sja-medallion img{width:36px;height:36px}.ar-sja-pin-plaque{min-width:48px;max-width:68px;font-size:5.8px}.ar-sja-hover-card{display:none!important}.ar-sja-three-places,.ar-sja-bullet-grid,.ar-sja-major-grid{grid-template-columns:1fr}.ar-sja-route-caption{margin:0 10px 16px}.ar-sja-editorial{margin:0 10px 14px;padding:16px}.ar-sja-sheet{left:0;right:0;top:auto;bottom:0;transform:none;width:100%;max-height:80vh;border-radius:22px 22px 0 0}.ar-sja-sheet-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Database-driven optional country layers. India/current primary layer remains unchanged. */
.ar-sja-country-map{position:absolute;object-fit:contain;pointer-events:none;transform-origin:center center;filter:none}.ar-sja-country-map.role-context{filter:grayscale(.65) sepia(.18) brightness(.62)}.ar-sja-country-map.role-secondary{filter:grayscale(.35) sepia(.2) brightness(.78)}.ar-sja-country-map.role-hidden{display:none}.ar-sja-card-templates{display:none!important}

/* World-aligned context countries: positioned from one Natural Earth coordinate frame. */
.ar-sja-country-map.is-world-aligned{object-fit:fill!important;filter:none!important;transform:none!important;transition:none!important;will-change:auto;contain:layout paint;visibility:hidden}

/* Geographic projection hardening: avoid showing stale percentage pins before WGS84 layout. */
.ar-sja-marker[data-sja-has-geo="1"]{visibility:hidden}
.ar-sja-db .ar-sja-route-layer{visibility:hidden}


/* =========================================================
   MOBILE UX LAYER — desktop rules above are intentionally untouched.
   Applies only to phones / small portrait screens.
   ========================================================= */
.ar-sja-mobile-nav{display:none}
@media(max-width:767px){
  .ar-sja{
    --sja-mobile-pad:10px;
    margin:16px 0;
  }
  .ar-sja-shell{
    border-radius:18px;
    box-shadow:0 18px 54px rgba(0,0,0,.32);
  }
  .ar-sja-head{
    padding:18px 14px 10px;
  }
  .ar-sja-eyebrow{
    margin-bottom:6px;
    font-size:8.5px;
    letter-spacing:.15em;
  }
  .ar-sja-head h2{
    max-width:360px;
    margin-inline:auto;
    font-size:clamp(24px,7.2vw,31px);
    line-height:1.08;
    letter-spacing:.045em;
  }
  .ar-sja-ornament{
    width:142px;
    margin-top:7px;
  }
  .ar-sja-head p{
    max-width:355px;
    margin-top:7px;
    font-size:11px;
    line-height:1.52;
  }

  .ar-sja-layout{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:0 var(--sja-mobile-pad) 12px;
  }
  .ar-sja-stage{
    order:1;
    width:100%;
    min-height:0;
    padding:0;
  }
  .ar-sja-side-left{order:2}
  .ar-sja-side-right{order:3}

  /* Map-first portrait canvas: full map remains visible without horizontal scrolling. */
  .ar-sja-map-plot{
    width:100%;
    min-height:0;
    aspect-ratio:0.92 / 1;
    border-radius:18px;
    background:
      radial-gradient(circle at 50% 46%,rgba(197,146,79,.20),rgba(38,28,18,.045) 36%,transparent 55%),
      linear-gradient(180deg,#070809,#090a0b);
    contain:layout paint;
  }
  .ar-sja-base-svg{
    width:96%;
    height:95%;
  }
  .ar-sja-route-layer{
    left:8.5%;
    right:8.5%;
    top:5.5%;
    bottom:5.5%;
    width:83%;
    height:89%;
  }
  .ar-sja-country-map.is-world-aligned{
    contain:layout paint;
  }

  /* Compact tap targets: visual pin stays small, invisible hit area stays finger-friendly. */
  .ar-sja-marker{
    width:34px;
    height:34px;
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
  }
  .ar-sja-marker:before{
    content:"";
    position:absolute;
    inset:-5px;
    border-radius:50%;
  }
  .ar-sja-pin-ring{width:14px;height:14px}
  .ar-sja-pin-core{width:4px;height:4px}
  .ar-sja-pin-num{
    left:20px;
    top:5px;
    min-width:14px;
    height:14px;
    font-size:7px;
  }
  .ar-sja-marker.is-featured{
    width:58px;
    height:58px;
  }
  .ar-sja-medallion,
  .ar-sja-medallion img{
    width:34px;
    height:34px;
  }
  .ar-sja-medallion{
    border-width:1.5px;
    box-shadow:0 0 0 2px rgba(112,34,24,.18),0 7px 14px rgba(0,0,0,.28);
  }
  .ar-sja-pin-plaque{
    min-width:46px;
    max-width:66px;
    padding:3px 4px;
    font-size:5.5px;
    line-height:1.08;
  }

  /* Mobile journey quick-nav, injected by JS. */
  .ar-sja-mobile-nav{
    display:flex;
    position:relative;
    z-index:40;
    gap:6px;
    margin:0 0 8px;
    padding:5px;
    overflow-x:auto;
    scrollbar-width:none;
    border:1px solid rgba(219,176,102,.15);
    border-radius:999px;
    background:rgba(10,10,10,.94);
    box-shadow:0 10px 24px rgba(0,0,0,.24);
    overscroll-behavior-inline:contain;
    scroll-snap-type:x proximity;
  }
  .ar-sja-mobile-nav::-webkit-scrollbar{display:none}
  .ar-sja-mobile-nav button{
    flex:1 0 auto;
    min-height:36px;
    padding:0 12px;
    border:1px solid rgba(215,169,85,.12);
    border-radius:999px;
    background:#111213;
    color:#d9c5a2;
    font:800 9px/1 Inter,system-ui,sans-serif;
    letter-spacing:.045em;
    text-transform:uppercase;
    scroll-snap-align:start;
    -webkit-tap-highlight-color:transparent;
  }
  .ar-sja-mobile-nav button.is-active{
    color:#1b1208;
    background:linear-gradient(180deg,#efd7a5,#c9954f);
    border-color:#efd7a5;
  }

  /* Legend becomes a compact map footer instead of occupying viewport height. */
  .ar-sja-legend{
    position:absolute;
    left:8px;
    right:8px;
    bottom:8px;
    top:auto;
    z-index:18;
    display:flex;
    width:auto;
    max-width:none;
    margin:0;
    padding:6px 8px;
    gap:7px 10px;
    overflow-x:auto;
    border-radius:12px;
    background:rgba(8,8,8,.88);
    font-size:7.8px;
    white-space:nowrap;
    scrollbar-width:none;
  }
  .ar-sja-legend::-webkit-scrollbar{display:none}
  .ar-sja-legend span{flex:0 0 auto;gap:4px}
  .ar-sja-legend i{width:7px;height:7px}

  /* Information cards below the map become touch-friendly accordions. */
  .ar-sja-side{
    gap:8px;
  }
  .ar-sja-panel{
    padding:0;
    overflow:hidden;
    border-radius:16px;
    box-shadow:none;
  }
  .ar-sja-panel-title,
  .ar-sja-guide-title{
    position:relative;
    min-height:52px;
    margin:0;
    padding:10px 42px 10px 12px;
    align-items:center;
    cursor:pointer;
    user-select:none;
    font-size:14px;
    line-height:1.14;
    -webkit-tap-highlight-color:transparent;
  }
  .ar-sja-panel-title:after,
  .ar-sja-guide-title:after{
    content:"+";
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    width:24px;
    height:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(215,169,85,.09);
    border:1px solid rgba(215,169,85,.14);
    color:#e7c784;
    font:500 18px/1 system-ui,sans-serif;
  }
  .ar-sja-panel.is-mobile-open>.ar-sja-panel-title:after,
  .ar-sja-panel.is-mobile-open>.ar-sja-guide-title:after{
    content:"−";
  }
  .ar-sja-panel-title span:first-child{
    width:30px;
    height:30px;
    flex-basis:30px;
    font-size:14px;
  }
  .ar-sja-panel>*:not(.ar-sja-panel-title):not(.ar-sja-guide-title){
    display:none;
  }
  .ar-sja-panel.is-mobile-open>*:not(.ar-sja-panel-title):not(.ar-sja-guide-title){
    display:grid;
    margin:0 10px 10px;
  }
  .ar-sja-panel.is-mobile-open>.ar-sja-mini-place{
    display:flex;
  }
  .ar-sja-three-places{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
  }
  .ar-sja-three-places .ar-sja-mini-place{
    padding:8px 4px;
    border-radius:12px;
  }
  .ar-sja-three-places .ar-sja-mini-thumb{
    width:48px;
    height:48px;
    flex-basis:48px;
  }
  .ar-sja-three-places .ar-sja-mini-place span strong{
    font-size:10.5px;
  }
  .ar-sja-mini-place{
    min-height:48px;
  }
  .ar-sja-mini-thumb{
    width:54px;
    height:54px;
    flex-basis:54px;
  }
  .ar-sja-mini-place span strong{font-size:14px}
  .ar-sja-mini-place span small{font-size:8.5px}
  .ar-sja-bullet-grid,
  .ar-sja-major-grid{
    grid-template-columns:1fr 1fr;
    gap:4px 10px;
  }
  .ar-sja-bullet{
    min-height:35px;
    align-items:center;
  }
  .ar-sja-bullet span,
  .ar-sja-major-item span{
    font-size:10.5px;
  }
  .ar-sja-major-item{
    min-height:38px;
    align-items:center;
  }
  .ar-sja-major-item b{
    width:22px;
    height:22px;
    flex-basis:22px;
    font-size:9.5px;
  }
  .ar-sja-guide-list{
    grid-template-columns:1fr 1fr;
    gap:7px 10px;
  }
  .ar-sja-guide-list span{font-size:10px}
  .ar-sja-cluster-row{gap:7px}

  .ar-sja-route-caption{
    margin:0 10px 14px;
    padding:10px 8px;
    gap:6px;
    border-radius:14px;
    background:rgba(14,14,14,.5);
  }
  .ar-sja-route-caption strong{font-size:12px}
  .ar-sja-route-caption span{
    font-size:9px;
    line-height:1.45;
  }

  .ar-sja-editorial{
    margin:0 10px 14px;
    padding:15px;
    border-radius:18px;
  }
  .ar-sja-editorial h3{
    font-size:25px;
    line-height:1.08;
  }
  .ar-sja-editorial p{
    font-size:11px;
    line-height:1.6;
  }
  .ar-sja-karmas article{
    grid-template-columns:30px 1fr;
    gap:9px;
    padding:9px;
  }
  .ar-sja-karmas article>b{
    width:30px;
    height:30px;
  }

  /* Premium native-feeling bottom sheet for pin details. */
  .ar-sja-sheet-backdrop{
    background:rgba(0,0,0,.64);
    opacity:0;
    transition:opacity .2s ease;
  }
  .ar-sja-sheet-backdrop.is-open{opacity:1}
  .ar-sja-sheet{
    left:0;
    right:0;
    top:auto;
    bottom:0;
    width:100%;
    max-height:min(84dvh,760px);
    padding:24px 14px max(16px,env(safe-area-inset-bottom));
    transform:translateY(102%);
    border-radius:24px 24px 0 0;
    border-left:0;
    border-right:0;
    border-bottom:0;
    box-shadow:0 -24px 70px rgba(0,0,0,.55);
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    transition:transform .24s cubic-bezier(.22,.8,.28,1);
  }
  .ar-sja-sheet:before{
    content:"";
    position:absolute;
    top:8px;
    left:50%;
    width:42px;
    height:4px;
    transform:translateX(-50%);
    border-radius:999px;
    background:rgba(239,212,162,.34);
  }
  .ar-sja-sheet.is-open{transform:translateY(0)}
  .ar-sja-sheet-close{
    position:sticky;
    top:0;
    z-index:5;
    margin:-8px 0 4px auto;
    width:36px;
    height:36px;
    background:rgba(22,22,22,.96);
  }
  .ar-sja-sheet .ar-sja-card-media{
    height:clamp(150px,42vw,190px);
    margin:0 -2px;
    border-radius:16px;
    overflow:hidden;
  }
  .ar-sja-sheet .ar-sja-card-body{
    padding:12px 2px 0;
  }
  .ar-sja-sheet h3{
    font-size:clamp(24px,7vw,30px);
    line-height:1.05;
  }
  .ar-sja-sheet .ar-sja-card-place{
    font-size:9.5px;
    line-height:1.45;
  }
  .ar-sja-sheet .ar-sja-card-story{
    font-size:12.5px;
    line-height:1.65;
  }
  .ar-sja-sheet .ar-sja-card-meta span{
    min-height:26px;
    align-items:center;
    padding:5px 8px;
    font-size:9px;
  }
  .ar-sja-sheet-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin-top:10px;
  }
  .ar-sja-sheet-gallery img{
    height:110px;
    border-radius:11px;
  }
  .ar-sja-credit{
    padding:0 12px 14px;
    font-size:8px;
    line-height:1.45;
  }
}

@media(max-width:380px){
  .ar-sja-head h2{font-size:23px}
  .ar-sja-map-plot{aspect-ratio:.9/1}
  .ar-sja-mobile-nav button{padding-inline:10px;font-size:8.5px}
  .ar-sja-three-places{grid-template-columns:1fr 1fr 1fr}
  .ar-sja-bullet-grid,.ar-sja-major-grid{grid-template-columns:1fr}
}

@media(max-width:767px) and (orientation:landscape){
  .ar-sja-map-plot{aspect-ratio:1.35/1;max-height:78dvh}
  .ar-sja-base-svg{height:94%;width:88%}
}

@media(max-width:767px) and (prefers-reduced-motion:reduce){
  .ar-sja-sheet,.ar-sja-sheet-backdrop{transition:none!important}
}


/* =========================================================
   MOBILE PREMIUM READABILITY REFINEMENT
   Presentation only. Map geometry, pins, routes, projection and desktop are untouched.
   ========================================================= */
@media(max-width:767px){
  .ar-sja{
    --sja-mobile-premium-gold:#efd39a;
    --sja-mobile-premium-muted:#c9b38e;
    --sja-mobile-card:rgba(17,16,15,.96);
  }

  /* Stronger mobile editorial hierarchy */
  .ar-sja-head{padding:20px 15px 12px}
  .ar-sja-eyebrow{
    font-size:9.5px;
    line-height:1.35;
    letter-spacing:.16em;
    color:#d5a65b;
  }
  .ar-sja-head h2{
    max-width:350px;
    font-size:clamp(29px,8vw,34px);
    line-height:1.04;
    letter-spacing:.035em;
    text-wrap:balance;
  }
  .ar-sja-head p{
    max-width:360px;
    margin-top:9px;
    font-size:13px;
    line-height:1.62;
    color:#d4c09f;
  }

  /* Premium segmented journey navigation, without changing map dimensions */
  .ar-sja-mobile-nav{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:6px;
    overflow:visible;
    padding:6px;
    margin-bottom:10px;
    border-radius:16px;
    background:linear-gradient(180deg,rgba(19,18,17,.98),rgba(10,10,10,.98));
    border:1px solid rgba(224,184,108,.2);
    box-shadow:0 12px 28px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.025);
  }
  .ar-sja-mobile-nav button{
    min-width:0;
    min-height:42px;
    padding:0 7px;
    border-radius:11px;
    font-size:10.8px;
    line-height:1.15;
    letter-spacing:.025em;
    white-space:normal;
    color:#d8c4a0;
    background:linear-gradient(180deg,#171615,#101010);
  }
  .ar-sja-mobile-nav button.is-active{
    color:#211508;
    background:linear-gradient(180deg,#f0d8a7,#c99a52);
    border-color:#e7c27e;
    box-shadow:0 5px 14px rgba(193,139,66,.2),inset 0 1px 0 rgba(255,255,255,.28);
  }

  /* Compact, readable map legend */
  .ar-sja-legend{
    padding:8px 10px;
    gap:7px 12px;
    border-radius:13px;
    font-size:9.6px;
    line-height:1.25;
    color:#e1cfad;
    border-color:rgba(219,176,102,.2);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
  }
  .ar-sja-legend span{gap:6px}
  .ar-sja-legend i{width:9px;height:9px}

  /* Premium accordion/card structure */
  .ar-sja-side{gap:10px}
  .ar-sja-panel{
    border-radius:18px;
    border-color:rgba(220,177,101,.18);
    background:linear-gradient(180deg,rgba(20,19,18,.98),rgba(12,12,12,.98));
    box-shadow:0 12px 30px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.02);
  }
  .ar-sja-panel-title,
  .ar-sja-guide-title{
    min-height:58px;
    padding:12px 46px 12px 13px;
    font-size:16.5px;
    line-height:1.2;
    letter-spacing:.015em;
    color:#f0d5a3;
  }
  .ar-sja-panel-title span:first-child{
    width:32px;
    height:32px;
    flex-basis:32px;
    font-size:14px;
  }
  .ar-sja-panel-title:after,
  .ar-sja-guide-title:after{
    right:13px;
    width:28px;
    height:28px;
    font-size:19px;
    color:#efd294;
    border-color:rgba(221,180,104,.2);
    background:rgba(211,160,78,.08);
  }
  .ar-sja-panel.is-mobile-open>*:not(.ar-sja-panel-title):not(.ar-sja-guide-title){
    margin:0 10px 11px;
  }

  /* Location rows: larger typography and cleaner hierarchy */
  .ar-sja-mini-place{
    min-height:54px;
    padding:10px;
    border-radius:14px;
    border-color:rgba(215,169,85,.16);
    background:rgba(8,8,8,.5);
  }
  .ar-sja-mini-place span strong{
    font-size:14.5px;
    line-height:1.18;
    color:#f1ddb6;
  }
  .ar-sja-mini-place span small{
    margin-top:4px;
    font-size:10px;
    line-height:1.35;
    color:#bda783;
  }
  .ar-sja-three-places{gap:8px}
  .ar-sja-three-places .ar-sja-mini-place span strong{
    font-size:11.5px;
    line-height:1.2;
  }
  .ar-sja-bullet,
  .ar-sja-major-item{
    min-height:44px;
    align-items:center;
  }
  .ar-sja-bullet span,
  .ar-sja-major-item span{
    font-size:12.5px;
    line-height:1.42;
  }
  .ar-sja-guide-list span{
    min-height:34px;
    font-size:11.5px;
    line-height:1.35;
  }

  /* Journey summary below map */
  .ar-sja-route-caption{
    margin:0 10px 16px;
    padding:12px 10px;
    gap:7px;
    border-radius:15px;
    background:linear-gradient(180deg,rgba(18,17,16,.78),rgba(10,10,10,.72));
    border:1px solid rgba(219,176,102,.12);
  }
  .ar-sja-route-caption strong{
    font-size:13.5px;
    line-height:1.2;
  }
  .ar-sja-route-caption i{font-size:12px}
  .ar-sja-route-caption span{
    margin-top:2px;
    font-size:10.5px;
    line-height:1.5;
  }

  /* Editorial section readability */
  .ar-sja-editorial{
    padding:17px;
    border-radius:19px;
    gap:16px;
  }
  .ar-sja-editorial-copy>span{
    font-size:9.5px;
    line-height:1.4;
  }
  .ar-sja-editorial h3{
    font-size:27px;
    line-height:1.08;
  }
  .ar-sja-editorial p{
    font-size:13px;
    line-height:1.68;
  }
  .ar-sja-karmas{gap:9px}
  .ar-sja-karmas article{
    padding:11px;
    border-radius:15px;
  }
  .ar-sja-karmas strong{font-size:13px}
  .ar-sja-karmas em{font-size:10.5px}
  .ar-sja-karmas p{
    font-size:12px;
    line-height:1.55;
  }

  /* Bottom sheet becomes the primary reading surface */
  .ar-sja-sheet{
    padding:25px 15px max(18px,env(safe-area-inset-bottom));
    border-radius:26px 26px 0 0;
    background:linear-gradient(180deg,#151413,#0c0c0c 58%,#090909);
    border-top-color:rgba(224,184,108,.22);
  }
  .ar-sja-sheet:before{
    width:46px;
    height:4px;
    background:rgba(239,212,162,.42);
  }
  .ar-sja-sheet-close{
    width:38px;
    height:38px;
    font-size:23px;
  }
  .ar-sja-sheet .ar-sja-card-media{
    height:clamp(150px,42vw,180px);
    border-radius:17px;
  }
  .ar-sja-sheet .ar-sja-card-body{padding-top:14px}
  .ar-sja-sheet .ar-sja-card-kicker{
    gap:7px;
    font-size:9.5px;
    line-height:1.35;
  }
  .ar-sja-sheet h3{
    margin-top:7px;
    font-size:clamp(25px,7vw,29px);
    line-height:1.05;
  }
  .ar-sja-sheet .ar-sja-card-place{
    margin-top:6px;
    font-size:11px;
    line-height:1.45;
  }
  .ar-sja-sheet .ar-sja-card-story{
    margin-top:9px;
    font-size:14px;
    line-height:1.65;
  }
  .ar-sja-sheet .ar-sja-card-meta{
    gap:6px;
    margin-top:10px;
  }
  .ar-sja-sheet .ar-sja-card-meta span{
    min-height:28px;
    align-items:center;
    padding:6px 9px;
    font-size:10px;
  }

  .ar-sja-credit{
    font-size:9px;
    line-height:1.5;
  }
}

@media(max-width:390px){
  .ar-sja-mobile-nav{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:15px}
  .ar-sja-mobile-nav button{font-size:10.5px}
  .ar-sja-head h2{font-size:29px}
  .ar-sja-panel-title,.ar-sja-guide-title{font-size:16px}
}


/* =========================================================
   MOBILE CONTENT VISIBILITY / PREMIUM READING LAYER
   Map, projection, pins, routes and country geometry are intentionally untouched.
   ========================================================= */
@media(max-width:767px){
  /* Give the content section a stronger editorial rhythm. */
  .ar-sja-side{
    gap:12px;
  }
  .ar-sja-panel{
    overflow:hidden;
    border:1px solid rgba(223,180,101,.22);
    border-radius:18px;
    background:
      linear-gradient(180deg,rgba(22,20,18,.99),rgba(10,10,10,.99));
    box-shadow:
      0 12px 28px rgba(0,0,0,.28),
      inset 0 1px 0 rgba(255,255,255,.025);
  }
  .ar-sja-panel.theme-red{
    background:
      radial-gradient(circle at 0 0,rgba(139,41,28,.22),transparent 44%),
      linear-gradient(180deg,#171211,#0b0b0b);
  }
  .ar-sja-panel.theme-gold{
    background:
      radial-gradient(circle at 0 0,rgba(183,126,48,.15),transparent 46%),
      linear-gradient(180deg,#17140f,#0b0b0b);
  }
  .ar-sja-panel.theme-copper{
    background:
      radial-gradient(circle at 0 0,rgba(164,99,43,.13),transparent 46%),
      linear-gradient(180deg,#151311,#0b0b0b);
  }

  .ar-sja-panel-title,
  .ar-sja-guide-title{
    min-height:60px;
    padding:13px 47px 13px 13px;
    font-size:17.5px;
    line-height:1.18;
    letter-spacing:.02em;
    color:#f3d9a8;
    text-shadow:0 1px 0 rgba(0,0,0,.45);
  }
  .ar-sja-panel-title span:first-child{
    width:34px;
    height:34px;
    flex-basis:34px;
    font-size:14.5px;
    box-shadow:0 0 0 2px rgba(177,64,41,.12);
  }
  .ar-sja-panel-title:after,
  .ar-sja-guide-title:after{
    width:30px;
    height:30px;
    right:12px;
    font-size:20px;
  }

  .ar-sja-panel.is-mobile-open>*:not(.ar-sja-panel-title):not(.ar-sja-guide-title){
    margin:0 12px 12px;
  }

  /* Foundation / featured place becomes a clear premium content row. */
  .ar-sja-mini-place{
    min-height:66px;
    gap:12px;
    padding:10px 11px;
    border:1px solid rgba(221,178,99,.17);
    border-radius:14px;
    background:linear-gradient(180deg,rgba(13,13,13,.88),rgba(7,7,7,.8));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
  }
  .ar-sja-mini-thumb{
    width:50px;
    height:50px;
    flex-basis:50px;
    border-width:2px;
  }
  .ar-sja-mini-place span strong{
    font-size:15px;
    line-height:1.18;
    letter-spacing:.005em;
    color:#f4dfb8;
  }
  .ar-sja-mini-place span small{
    margin-top:5px;
    font-size:11px;
    line-height:1.35;
    letter-spacing:.035em;
    color:#c5ad87;
  }

  /* Three Sadhana locations: no more compressed 3-column cards on phones. */
  .ar-sja-three-places{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .ar-sja-three-places .ar-sja-mini-place{
    display:flex!important;
    width:100%;
    min-height:64px;
    justify-items:initial;
    justify-content:flex-start;
    text-align:left;
    padding:9px 10px;
  }
  .ar-sja-three-places .ar-sja-mini-thumb{
    width:46px;
    height:46px;
    flex-basis:46px;
  }
  .ar-sja-three-places .ar-sja-mini-place span strong{
    font-size:14px!important;
    line-height:1.18;
  }
  .ar-sja-three-places .ar-sja-mini-place span small{
    font-size:10.5px;
    line-height:1.32;
  }

  /* Upasana: one readable row per place. */
  .ar-sja-bullet-grid{
    grid-template-columns:1fr!important;
    gap:0!important;
  }
  .ar-sja-bullet{
    min-height:46px;
    padding:8px 4px;
    gap:10px;
    border-bottom:1px solid rgba(221,178,99,.1);
  }
  .ar-sja-bullet:last-child{border-bottom:0}
  .ar-sja-bullet i{
    width:22px;
    flex:0 0 22px;
    text-align:center;
    font-size:15px;
  }
  .ar-sja-bullet span{
    font-size:13.5px!important;
    line-height:1.4!important;
    color:#ebd8b6;
  }

  /* Colour guide: readable labels instead of tiny dense copy. */
  .ar-sja-guide-list{
    grid-template-columns:1fr 1fr!important;
    gap:7px 9px!important;
  }
  .ar-sja-guide-list span{
    min-height:42px;
    padding:7px 8px;
    gap:8px;
    border-radius:11px;
    border:1px solid rgba(222,179,100,.1);
    background:rgba(7,7,7,.45);
    font-size:12px!important;
    line-height:1.32!important;
  }
  .ar-sja-guide-list i{
    width:10px;
    height:10px;
    flex:0 0 10px;
  }

  /* Cluster pills become useful information rows. */
  .ar-sja-cluster-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
  .ar-sja-mini-place.pill{
    min-height:58px;
    padding:8px 10px;
    border-radius:14px;
  }
  .ar-sja-mini-place.pill .ar-sja-mini-thumb{
    width:42px;
    height:42px;
    flex-basis:42px;
  }
  .ar-sja-mini-place.pill span strong{
    font-size:13.5px;
  }
  .ar-sja-mini-place.pill span small{
    font-size:10.5px;
  }

  /* Major Anushthan: remove 2-column compression completely on mobile. */
  .ar-sja-major-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
  }
  .ar-sja-major-grid>div{
    display:grid;
    grid-template-columns:1fr;
    gap:0;
  }
  .ar-sja-major-item{
    min-height:48px;
    padding:8px 4px;
    gap:10px;
    border-bottom:1px solid rgba(222,179,100,.11);
  }
  .ar-sja-major-grid>div:last-child .ar-sja-major-item:last-child{border-bottom:0}
  .ar-sja-major-item b{
    width:27px;
    height:27px;
    flex-basis:27px;
    font-size:10.5px;
    background:#f0dfba;
    color:#241707;
    box-shadow:0 2px 7px rgba(0,0,0,.18);
  }
  .ar-sja-major-item span{
    font-size:13.5px!important;
    line-height:1.38!important;
    color:#ead7b4;
  }

  /* Journey sequence is treated like an editorial divider. */
  .ar-sja-route-caption{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    margin:4px 10px 18px;
    padding:13px 12px;
    gap:6px 8px;
    border-radius:16px;
    border:1px solid rgba(223,180,101,.14);
    background:linear-gradient(180deg,rgba(18,16,13,.86),rgba(8,8,8,.86));
  }
  .ar-sja-route-caption strong{
    font-size:14px!important;
    line-height:1.2;
    color:#efd6a6;
  }
  .ar-sja-route-caption i{
    font-size:13px;
    color:#c9954f;
  }
  .ar-sja-route-caption span{
    margin-top:4px;
    font-size:11.5px!important;
    line-height:1.5!important;
    color:#bda581;
  }

  /* Editorial section is always a single premium reading column on phones. */
  .ar-sja-editorial{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:16px!important;
    margin:0 10px 16px;
    padding:18px 16px;
    border-radius:19px;
    background:
      radial-gradient(circle at 0 0,rgba(142,37,23,.15),transparent 38%),
      linear-gradient(180deg,#141211,#0b0b0b);
  }
  .ar-sja-editorial-copy>span{
    font-size:10px!important;
    line-height:1.4;
    letter-spacing:.13em;
  }
  .ar-sja-editorial h3{
    margin-top:8px;
    font-size:29px!important;
    line-height:1.06!important;
    color:#f1d5a1;
  }
  .ar-sja-editorial p{
    font-size:13.5px!important;
    line-height:1.72!important;
    color:#dcc9aa;
  }
  .ar-sja-karmas{
    display:grid;
    gap:9px;
  }
  .ar-sja-karmas article{
    grid-template-columns:38px 1fr;
    gap:11px;
    padding:11px;
    border-radius:14px;
    background:linear-gradient(180deg,#151413,#0e0e0e);
    border-color:rgba(223,180,101,.12);
  }
  .ar-sja-karmas article>b{
    width:38px;
    height:38px;
    font-size:10.5px;
  }
  .ar-sja-karmas strong{
    font-size:14px!important;
    line-height:1.25;
  }
  .ar-sja-karmas em{
    margin-top:2px;
    font-size:11px!important;
  }
  .ar-sja-karmas p{
    margin-top:6px;
    font-size:12.5px!important;
    line-height:1.58!important;
  }

  .ar-sja-credit{
    padding:0 14px 16px;
    font-size:10px!important;
    line-height:1.5;
  }
}

@media(max-width:420px){
  .ar-sja-guide-list{
    grid-template-columns:1fr!important;
  }
  .ar-sja-panel-title,
  .ar-sja-guide-title{
    font-size:17px;
  }
  .ar-sja-editorial h3{
    font-size:27px!important;
  }
}

/* =========================================================
   MOBILE 14PX READABILITY LOCK
   Content only. Map / pins / routes / projection are untouched.
   Edit this final block for future mobile typography changes.
   ========================================================= */
@media(max-width:767px){
  .ar-sja .ar-sja-side,
  .ar-sja .ar-sja-route-caption,
  .ar-sja .ar-sja-editorial,
  .ar-sja .ar-sja-sheet{
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
    text-rendering:optimizeLegibility;
  }

  .ar-sja .ar-sja-side .ar-sja-panel-title,
  .ar-sja .ar-sja-side .ar-sja-guide-title{
    font-size:18px!important;
    line-height:1.28!important;
  }

  .ar-sja .ar-sja-side .ar-sja-mini-place span strong,
  .ar-sja .ar-sja-side .ar-sja-three-places .ar-sja-mini-place span strong,
  .ar-sja .ar-sja-side .ar-sja-mini-place.pill span strong{
    font-size:15px!important;
    line-height:1.35!important;
    font-weight:700!important;
  }

  .ar-sja .ar-sja-side .ar-sja-mini-place span small,
  .ar-sja .ar-sja-side .ar-sja-three-places .ar-sja-mini-place span small,
  .ar-sja .ar-sja-side .ar-sja-mini-place.pill span small{
    font-size:14px!important;
    line-height:1.45!important;
    letter-spacing:.015em!important;
  }

  .ar-sja .ar-sja-side .ar-sja-bullet span,
  .ar-sja .ar-sja-side .ar-sja-major-item span,
  .ar-sja .ar-sja-side .ar-sja-guide-list span{
    font-size:14px!important;
    line-height:1.5!important;
    font-weight:600!important;
  }

  .ar-sja .ar-sja-side .ar-sja-bullet,
  .ar-sja .ar-sja-side .ar-sja-major-item{
    min-height:50px!important;
    padding-top:10px!important;
    padding-bottom:10px!important;
  }

  .ar-sja .ar-sja-side .ar-sja-mini-place,
  .ar-sja .ar-sja-side .ar-sja-three-places .ar-sja-mini-place,
  .ar-sja .ar-sja-side .ar-sja-mini-place.pill{
    min-height:70px!important;
    padding-top:11px!important;
    padding-bottom:11px!important;
  }

  .ar-sja .ar-sja-route-caption,
  .ar-sja .ar-sja-route-caption strong,
  .ar-sja .ar-sja-route-caption span{
    font-size:14px!important;
    line-height:1.5!important;
  }

  .ar-sja .ar-sja-editorial p,
  .ar-sja .ar-sja-editorial .ar-sja-karmas p,
  .ar-sja .ar-sja-editorial .ar-sja-karmas em{
    font-size:14px!important;
    line-height:1.65!important;
  }

  .ar-sja .ar-sja-editorial .ar-sja-karmas strong{
    font-size:15px!important;
    line-height:1.4!important;
  }

  .ar-sja .ar-sja-sheet .ar-sja-card-place,
  .ar-sja .ar-sja-sheet .ar-sja-card-story,
  .ar-sja .ar-sja-sheet .ar-sja-card-meta span{
    font-size:14px!important;
    line-height:1.55!important;
  }
}



/* =========================================================
   MOBILE LOCATION INTERACTION REPAIR
   Functional presentation only. No map geometry/projection sizing changed.
   ========================================================= */
@media(max-width:767px){
  .ar-sja .ar-sja-map-plot{
    touch-action:pan-y;
  }

  .ar-sja .ar-sja-marker{
    pointer-events:auto!important;
    -webkit-tap-highlight-color:transparent;
  }

  .ar-sja .ar-sja-marker.is-active{
    z-index:32!important;
  }

  .ar-sja .ar-sja-marker.is-active .ar-sja-pin-ring{
    box-shadow:
      0 0 0 5px rgba(229,181,94,.18),
      0 0 16px rgba(229,181,94,.36),
      0 7px 14px rgba(0,0,0,.38)!important;
  }

  .ar-sja .ar-sja-mobile-pinbox{
    position:absolute;
    left:10px;
    right:10px;
    bottom:48px;
    z-index:60;
    max-height:min(46%,360px);
    overflow:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    border:1px solid rgba(223,180,101,.42);
    border-radius:18px;
    background:
      radial-gradient(circle at 8% 0,rgba(142,37,23,.20),transparent 34%),
      linear-gradient(180deg,rgba(20,18,16,.985),rgba(8,9,10,.985));
    box-shadow:0 18px 44px rgba(0,0,0,.58),0 0 0 1px rgba(255,226,168,.03) inset;
    color:#ead9bc;
    transform:translateY(8px);
    opacity:0;
    transition:opacity .18s ease,transform .18s ease;
  }

  .ar-sja .ar-sja-mobile-pinbox.is-open{
    opacity:1;
    transform:translateY(0);
  }

  .ar-sja .ar-sja-mobile-pinbox[hidden]{
    display:none!important;
  }

  .ar-sja .ar-sja-mobile-pinbox-close{
    position:sticky;
    top:8px;
    float:right;
    z-index:3;
    width:36px;
    height:36px;
    margin:8px 8px -44px 0;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(230,190,116,.30);
    border-radius:50%;
    background:rgba(14,14,14,.94);
    color:#f0d5a4;
    font-size:22px;
    line-height:1;
    cursor:pointer;
  }

  .ar-sja .ar-sja-mobile-pinbox-content{
    clear:both;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-wrap{
    display:block;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-media{
    height:118px;
    background:#0d0d0d;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-media img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-body{
    padding:14px 15px 16px;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-kicker{
    padding-right:42px;
    font-size:10px!important;
    line-height:1.45!important;
    gap:6px;
  }

  .ar-sja .ar-sja-mobile-pinbox h3{
    margin:6px 0 0;
    color:#f2d7a4;
    font-family:Georgia,"Times New Roman",serif;
    font-size:23px!important;
    line-height:1.08!important;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-place{
    margin-top:5px;
    color:#d3b787;
    font-size:12px!important;
    line-height:1.45!important;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-story{
    margin-top:9px;
    color:#eadcc4;
    font-size:14px!important;
    line-height:1.62!important;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-meta{
    gap:6px;
    margin-top:10px;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-meta span{
    min-height:28px;
    padding:5px 8px;
    display:inline-flex;
    align-items:center;
    color:#d8bb86;
    font-size:11px!important;
    line-height:1.3!important;
  }

  .ar-sja .ar-sja-side [data-sja-focus]{
    cursor:pointer;
    touch-action:manipulation;
  }

  .ar-sja .ar-sja-side [data-sja-focus].is-active{
    border-color:rgba(232,188,103,.58)!important;
    box-shadow:0 0 0 1px rgba(232,188,103,.08) inset;
  }
}

@media(max-width:767px) and (prefers-reduced-motion:reduce){
  .ar-sja .ar-sja-mobile-pinbox{transition:none!important}
}


/* =========================================================
   MOBILE COMPACT PIN INFO CARD
   Keeps the map visible while showing the selected location.
   Map geometry / lat-lon / routes / desktop are untouched.
   ========================================================= */
@media(max-width:767px){
  .ar-sja .ar-sja-mobile-pinbox{
    left:0!important;
    right:auto!important;
    bottom:auto!important;
    width:min(76vw,268px)!important;
    max-width:calc(100% - 16px)!important;
    max-height:188px!important;
    overflow:hidden!important;
    border-radius:14px!important;
    background:linear-gradient(180deg,rgba(20,18,15,.985),rgba(8,9,10,.985))!important;
    box-shadow:0 12px 30px rgba(0,0,0,.54),0 0 0 1px rgba(239,202,132,.04) inset!important;
    transform:none!important;
    opacity:0;
    visibility:hidden;
    transition:opacity .14s ease!important;
    will-change:opacity;
  }

  .ar-sja .ar-sja-mobile-pinbox.is-open{
    opacity:1;
    visibility:visible;
    transform:none!important;
  }

  .ar-sja .ar-sja-mobile-pinbox:after{
    content:"";
    position:absolute;
    left:var(--sja-pin-arrow-x,50%);
    width:10px;
    height:10px;
    background:#12100e;
    border-right:1px solid rgba(223,180,101,.42);
    border-bottom:1px solid rgba(223,180,101,.42);
    transform:translateX(-50%) rotate(45deg);
    pointer-events:none;
  }
  .ar-sja .ar-sja-mobile-pinbox[data-placement="above"]:after{bottom:-6px}
  .ar-sja .ar-sja-mobile-pinbox[data-placement="below"]:after{top:-6px;transform:translateX(-50%) rotate(225deg)}

  .ar-sja .ar-sja-mobile-pinbox-close{
    position:absolute!important;
    top:6px!important;
    right:6px!important;
    float:none!important;
    width:28px!important;
    height:28px!important;
    margin:0!important;
    border-radius:50%!important;
    font-size:18px!important;
    z-index:5!important;
  }

  .ar-sja .ar-sja-mobile-pinbox-content{
    height:100%;
    overflow:hidden;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-wrap{
    display:grid!important;
    grid-template-columns:74px minmax(0,1fr)!important;
    min-height:116px;
    max-height:188px;
    overflow:hidden;
  }

  .ar-sja .ar-sja-mobile-pinbox.is-no-media .ar-sja-card-wrap{
    grid-template-columns:1fr!important;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-media{
    width:74px!important;
    height:100%!important;
    min-height:116px!important;
    max-height:188px!important;
    background:#0d0d0d!important;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-media img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-body{
    min-width:0;
    padding:10px 34px 10px 10px!important;
    overflow:hidden;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-kicker{
    display:block!important;
    padding:0!important;
    margin:0 0 3px!important;
    color:#c9974a!important;
    font-size:7.5px!important;
    line-height:1.2!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-kicker span:last-child{display:none!important}

  .ar-sja .ar-sja-mobile-pinbox h3{
    margin:2px 0 0!important;
    font-size:17px!important;
    line-height:1.05!important;
    color:#f1d59e!important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-place{
    margin-top:4px!important;
    font-size:8.8px!important;
    line-height:1.25!important;
    color:#d2b583!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-story{
    margin-top:6px!important;
    font-size:10.5px!important;
    line-height:1.38!important;
    color:#e4d5bc!important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-story + .ar-sja-card-story{display:none!important}

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-meta{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:4px!important;
    margin-top:6px!important;
    overflow:hidden;
  }

  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-meta span{
    flex:0 1 auto;
    min-width:0;
    min-height:0!important;
    padding:3px 5px!important;
    font-size:7.5px!important;
    line-height:1.15!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-meta span:nth-child(n+3){display:none!important}
  .ar-sja .ar-sja-mobile-pinbox .ar-sja-sheet-gallery{display:none!important}
}

@media(max-width:380px){
  .ar-sja .ar-sja-mobile-pinbox{
    width:min(78vw,248px)!important;
    max-height:170px!important;
  }
  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-wrap{grid-template-columns:64px minmax(0,1fr)!important;max-height:170px}
  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-media{width:64px!important;max-height:170px!important}
  .ar-sja .ar-sja-mobile-pinbox h3{font-size:16px!important}
  .ar-sja .ar-sja-mobile-pinbox .ar-sja-card-story{font-size:10px!important;-webkit-line-clamp:2}
}
