
/* THE WORLD MAP page's styles (cleanytycoon.com/world.html; 10 Nov 2026, claude/worldmap-plan.md "APPLY"; designed on the working prototype
   _shopkit/design/worldmap/). Loaded by world.html only: its names (.hint, .note, .tick, .toast ...) are its own, not the shared styles.css. */
.wm-hero{position:relative;overflow:hidden;margin-top:-90px;padding:140px 0 30px;background:radial-gradient(ellipse at 50% 20%,#1B2A5C 0%,#0B1440 55%,#081834 100%)}
.live{display:inline-flex;align-items:center;gap:8px;font-family:'Fredoka',sans-serif;font-weight:700;font-size:16px;color:#8EF07A}
.live i{width:10px;height:10px;border-radius:50%;background:#4CC23A;box-shadow:0 0 0 0 rgba(76,194,58,.7);animation:livep 1.6s infinite}
@keyframes livep{70%{box-shadow:0 0 0 10px rgba(76,194,58,0)}100%{box-shadow:0 0 0 0 rgba(76,194,58,0)}}
.stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;padding:16px 18px}
.stats .s{display:flex;align-items:center;gap:10px;min-width:0;color:#1B2A4A}
.stats img{width:54px;height:54px;object-fit:contain;flex:none;filter:drop-shadow(0 4px 4px rgba(0,0,0,.2))}
.stats b{display:block;font-family:'Fredoka',sans-serif;font-size:30px;line-height:1;color:#1B2A4A}
.stats small{display:block;font-size:14px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#4A5878}
.stats .s b.up::after{content:attr(data-d);margin-left:6px;font-size:15px;color:#2E8A1E;vertical-align:middle}
/* the map */
.mapbox{position:relative;border-radius:30px;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#16306A 0%,#0B1A44 55%,#060E28 100%);box-shadow:inset 0 0 0 3px rgba(120,170,255,.25),0 8px 0 #050814,0 20px 40px rgba(0,0,0,.45)}
.mapbox canvas{display:block;width:100%;height:clamp(440px,68vh,720px);touch-action:none;cursor:grab}
.mapbox canvas.drag{cursor:grabbing}
.mtools{position:absolute;right:14px;top:14px;display:flex;flex-direction:column;gap:10px;z-index:3}
.rbtn{width:52px;height:52px;border:0;border-radius:50%;cursor:pointer;display:grid;place-items:center;font:700 30px/1 Fredoka,sans-serif;color:#fff;padding:0 0 4px;
  background:radial-gradient(circle at 40% 30%,#8ADBFF,#1E85D3 70%);box-shadow:inset 0 2px 0 rgba(255,255,255,.5),0 4px 0 #135B9B,0 8px 12px rgba(0,0,0,.35);text-shadow:0 2px 0 #0B3A6E}
.rbtn:active{transform:translateY(3px)}
.rbtn img{width:30px;height:30px;object-fit:contain}
.rbtn svg{width:22px;height:22px}
.msearch{position:absolute;left:14px;top:14px;z-index:4;width:min(400px,calc(100% - 96px))}
.msearch .f{display:flex;align-items:center;gap:8px;height:52px;padding:0 8px 0 12px;border-radius:999px;background:#FFF9EC;box-shadow:inset 0 0 0 3px #F2DFB0,0 4px 0 #B48B45,0 8px 14px rgba(0,0,0,.3)}
.msearch img{width:30px;height:30px}
.msearch input{flex:1;min-width:0;border:0;background:transparent;font:800 17px Nunito,sans-serif;color:#1B2A4A;outline:none}
.msearch input::placeholder{color:#6A7690}
.msearch .clr{border:0;background:none;font:700 24px Fredoka;color:#4A5878;cursor:pointer;width:36px;height:36px;border-radius:50%}
.msearch:focus-within .f{box-shadow:inset 0 0 0 3px #3BA9F0,0 4px 0 #B48B45,0 8px 14px rgba(0,0,0,.3)}
.res{margin-top:8px;max-height:min(340px,50vh);overflow:auto;border-radius:20px;background:#FFF9EC;box-shadow:0 8px 20px rgba(0,0,0,.4);padding:6px}
.res button{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;padding:8px 10px;border-radius:14px;text-align:left;cursor:pointer;font:800 16px Nunito,sans-serif;color:#1B2A4A}
.res button:hover,.res button:focus-visible{background:#F6E6BC;outline:none}
.res small{display:block;font-size:14px;color:#4A5878}
.res .none{padding:12px;color:#4A5878;font-weight:800}
.lg{position:relative;display:block;flex:none}
.legend{position:absolute;left:14px;right:14px;bottom:14px;z-index:3;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px}
.legend::-webkit-scrollbar{display:none}
.chipf{flex:none;display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 14px 0 6px;border:0;border-radius:999px;cursor:pointer;font:700 16px Fredoka,sans-serif;color:#fff;background:rgba(6,18,43,.78);box-shadow:inset 0 0 0 2px rgba(255,255,255,.18)}
.chipf i{width:14px;height:14px;border-radius:50%;flex:none;box-shadow:0 0 0 2px rgba(255,255,255,.7)}
.chipf .lg{width:30px;height:35px}
.chipf[aria-pressed="true"]{background:#FFF9EC;color:#1B2A4A;box-shadow:inset 0 0 0 2px #F2B53A}
.chipf.all{padding:0 16px}
/* the side card (desktop: right of the globe; phone: a sheet at the bottom of the map) */
.mcard{position:absolute;right:80px;top:14px;z-index:5;width:340px;max-height:calc(100% - 92px);overflow:auto;padding:18px 18px 16px;color:#1B2A4A;border-radius:26px;
  background:linear-gradient(#FFF9EC,#FBEDCC);box-shadow:inset 0 0 0 6px #F2DFB0,inset 0 0 0 8px #FFFCF2,0 6px 0 #B48B45,0 18px 30px rgba(0,0,0,.45)}
.mcard[hidden]{display:none}
.mcard .x{position:absolute;right:10px;top:10px;width:44px;height:44px;border:0;border-radius:50%;cursor:pointer;background:url(i-btn-x.webp) center/contain no-repeat}
.mcard h3{margin:0 46px 2px 0;font:700 26px/1.1 Fredoka,sans-serif;color:#1B2A4A}
.mcard .sub{font-size:15px;font-weight:800;color:#4A5878}
.mcard .rows{display:flex;flex-direction:column;gap:8px;margin:12px 0 0}
.mrow{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:8px 10px;border-radius:14px;background:#FFFCF2;box-shadow:inset 0 0 0 1.5px #EBD8A6}
.mrow .lg{width:30px;height:35px}
.mrow b{display:block;font-size:15px;line-height:1.2}
.mrow small{display:block;font-size:13px;color:#4A5878;font-weight:800}
.mrow .bar{display:block;height:8px;margin-top:4px;border-radius:4px;background:#EADBB2;overflow:hidden}
.mrow .bar i{display:block;height:100%;border-radius:4px}
.mrow .n{font:700 20px Fredoka,sans-serif;color:#1B2A4A;text-align:right}
.mrow .n small{font:800 12px Nunito;color:#4A5878}
.lead1{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:4px 10px 4px 6px;border-radius:999px;background:#1B2A4A;color:#FFE48A;font:700 14px Fredoka,sans-serif}
.lead1 img{width:22px;height:22px}
.mcard .acts{display:flex;gap:10px;margin-top:14px}
.mcard .acts .btn{min-height:48px;font-size:17px;padding:0 18px;flex:1}
.hint{position:absolute;left:50%;bottom:70px;z-index:2;transform:translateX(-50%);padding:6px 14px;border-radius:999px;background:rgba(6,18,43,.7);font-size:14px;color:#D3DEF5;pointer-events:none;white-space:nowrap;transition:opacity .4s}
/* the ticker */
.tick{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.tick li{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;padding:10px 14px;border-radius:18px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.08);font-size:16px;color:#E7ECF8}
.tick li .lg{width:38px;height:44px}
.tick li b{color:#fff}
.tick li .t{font-size:14px;color:#A9B9DD;white-space:nowrap}
.tick li.new{animation:inrow .5s cubic-bezier(.34,1.56,.64,1) both;box-shadow:inset 0 0 0 2px rgba(142,240,122,.55)}
.tick li .ico{width:22px;height:22px;vertical-align:-4px;margin-right:2px}
@keyframes inrow{from{opacity:0;transform:translateY(-14px) scale(.97)}}
/* the list ends level with COUNTRIES LED beside it (its column is as tall as the row; the list takes what the heading leaves), and its
   scrollbar is the site's: a gold capsule on a dark glass track, no arrows (Chrome / Safari / Edge: ::-webkit-scrollbar; Firefox: thin + colours) */
.cols>.feedcol{display:flex;flex-direction:column;min-height:0}
.tick-wrap{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:12px;overscroll-behavior:contain}
.tick-wrap::-webkit-scrollbar{width:12px}
.tick-wrap::-webkit-scrollbar-button{display:none;width:0;height:0}
.tick-wrap::-webkit-scrollbar-track{border-radius:999px;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.08)}
.tick-wrap::-webkit-scrollbar-thumb{border-radius:999px;border:2px solid transparent;background:linear-gradient(90deg,#FFE27A,#F1AF36) padding-box;box-shadow:inset 0 -2px 0 rgba(168,106,16,.55)}
.tick-wrap::-webkit-scrollbar-thumb:hover{background:linear-gradient(90deg,#FFF0A8,#F6BE4A) padding-box}
@supports (-moz-appearance:none){ .tick-wrap{scrollbar-width:thin;scrollbar-color:#F1AF36 rgba(255,255,255,.07)} }
.cols{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;align-items:stretch}
/* the franchise cards */
.frs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.frc{position:relative;display:flex;flex-direction:column;gap:10px;padding:20px 20px 18px;border-radius:28px;color:#1B2A4A;
  background:linear-gradient(#FFF9EC,#FBEDCC);box-shadow:inset 0 0 0 6px #F2DFB0,inset 0 0 0 8px #FFFCF2,0 7px 0 #B48B45,0 18px 34px rgba(0,0,0,.4)}
.frc .top{display:flex;align-items:center;gap:14px}
.frc .top .lg{width:72px;height:84px;filter:drop-shadow(0 5px 5px rgba(0,0,0,.25))}
.frc .rk{position:absolute;left:-8px;top:-10px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font:700 22px Fredoka;color:#4A2600;background:radial-gradient(circle at 35% 28%,#FFF4C2 0,#F2C43A 50%,#B07812 100%);box-shadow:0 3px 0 #7A5410}
.frc h3{margin:0;font:700 23px/1.1 Fredoka,sans-serif}
.frc .tag{font:900 14px Nunito;letter-spacing:.1em;color:#8A4E00}
.frc .nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.frc .nums div{padding:8px 6px;border-radius:14px;background:#FFFCF2;box-shadow:inset 0 0 0 1.5px #EBD8A6;text-align:center}
.frc .nums b{display:block;font:700 22px Fredoka;color:#1B2A4A}
.frc .nums small{display:block;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#4A5878}
.frc .leads{font-size:15px;font-weight:800;color:#3C4A6B;min-height:22px}
.frc .acts{display:flex;gap:10px;margin-top:auto}
.frc .acts .btn{min-height:48px;font-size:17px;padding:0 16px;flex:1}
/* a franchise's page (dialog; #fr=TAG is its link) */
dialog.frd{border:0;padding:0;background:transparent;width:min(1040px,calc(100vw - 32px));max-height:calc(100dvh - 24px);overflow:auto;scrollbar-width:none;color:#fff;font-family:'Nunito',system-ui,sans-serif;font-weight:700}
dialog.frd::backdrop{background:rgba(6,18,43,.78)}
dialog.frd *{box-sizing:border-box}
.frp{position:relative;border-radius:30px;overflow:hidden;background:#0F2A5C;box-shadow:inset 0 0 0 3px rgba(120,170,255,.3)}
.frp .stage{position:relative;overflow:hidden;display:grid;grid-template-columns:260px 1fr;gap:26px;align-items:center;padding:34px 34px 30px;background:radial-gradient(ellipse at 18% 50%,#BFE0FF 0%,#4C93E0 18%,#1F5FA8 42%,#123A78 75%)}
.frp .stage .rays{left:18%;width:1400px;height:1400px;margin:-700px 0 0 -700px}
.frp .stage .lg{width:230px;height:268px;justify-self:center;filter:drop-shadow(0 12px 14px rgba(0,0,0,.45))}
.frp h2{margin:0;font-size:clamp(34px,4.2vw,54px);line-height:1.05}
.frp .bits{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.glass{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px 0 8px;border-radius:999px;background:rgba(3,23,56,.6);font:700 17px Fredoka;color:#fff}
.glass img{width:30px;height:30px;object-fit:contain}
.frp .body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;padding:24px 30px 30px}
.frp h4{margin:0 0 10px;font:900 14px Nunito;letter-spacing:.16em;text-transform:uppercase;color:#FFD54A}
.ccl{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.ccl li{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:9px 12px;border-radius:14px;background:rgba(255,255,255,.07)}
.ccl .bar{grid-column:1/-1;height:8px;border-radius:4px;background:rgba(0,0,0,.35);overflow:hidden}
.ccl .bar i{display:block;height:100%;border-radius:4px}
.ccl .ld{font:700 13px Fredoka;color:#FFE48A;margin-left:6px}
.share{display:flex;flex-direction:column;gap:12px}
.share canvas{width:100%;height:auto;border-radius:18px;box-shadow:0 8px 20px rgba(0,0,0,.45)}
.share .acts{display:flex;flex-wrap:wrap;gap:12px}
.share .acts .btn{min-height:50px;font-size:17px;padding:0 20px;flex:1 1 180px}
.share .url{display:block;line-height:44px;min-width:0;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;background:rgba(0,0,0,.3);font:700 15px ui-monospace,Consolas,monospace;color:#BFD3F0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.join{margin:0 30px 30px;padding:18px 22px;border-radius:22px;background:rgba(255,255,255,.08);display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}
.join p{margin:0;font-size:16px;color:#D3DEF5;flex:1 1 320px}
.join .btn{min-height:50px;font-size:18px}
.toast{position:fixed;left:50%;bottom:26px;z-index:60;transform:translateX(-50%);padding:12px 20px;border-radius:999px;background:#1B2A4A;color:#fff;font:700 17px Fredoka;box-shadow:0 8px 20px rgba(0,0,0,.4)}
.note{font-size:15px;color:#A9B9DD;line-height:1.55}
.mpause{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:8px 16px;cursor:pointer;font:700 15px Fredoka;color:#D3DEF5;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.2)}
@media (prefers-reduced-motion: reduce){.live i{animation:none}.tick li.new{animation:none}}
html.motion-paused *,html.motion-paused *::before{animation-play-state:paused!important}
@media (max-width: 1000px){ .frs{grid-template-columns:repeat(2,minmax(0,1fr))} .cols{grid-template-columns:1fr} .tick-wrap{flex:none;max-height:480px} .stats{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width: 760px){
  .wrap{padding:0 16px} .nav .links{display:none!important}
  .mcard{left:10px;right:10px;top:auto;bottom:66px;width:auto;max-height:50%;padding:14px 14px 12px} .mcard h3{font-size:22px}
  .frp .stage{grid-template-columns:1fr;text-align:center;padding:26px 20px} .frp .stage .lg{width:150px;height:175px} .frp .bits{justify-content:center}
  .frp .stage .rays{left:50%;top:22%}
  .frp .body{grid-template-columns:minmax(0,1fr);padding:20px} .join{margin:0 20px 20px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px} .stats .s:last-child{grid-column:1/-1;justify-content:center}
  .stats img{width:44px;height:44px} .stats b{font-size:26px}
}
@media (max-width: 640px){ .frs{grid-template-columns:1fr} }
@media (max-width: 460px){ .msearch{width:calc(100% - 84px)} .tick li{grid-template-columns:38px 1fr;font-size:15px} .tick li .t{grid-column:2} }
/* no snapshot yet (Central's feed off or empty): the globe turns, the words say the map opens soon */
html.wm-soon .stats,html.wm-soon .legend{display:none}
.tick li.none{display:block;color:#A9B9DD;font-size:15px}
