@import url('./style.css');
/* Your Cities (the dashboard) and the frame Leaderboards shares with it. Colours, type, corners and buttons follow the style standard
   (2026-11-20): navy #0b2340 page with #12335a cards, cool white text, white headings at weight 800, corners 12 / 14 / 18. */
html,body{overflow:auto;height:auto;min-height:100%;background:#0b2340;color:#f2f7fb;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}body{display:block;margin:0}
a{color:inherit}
main#dashboard{display:block;max-width:1180px;margin:auto;padding:32px 24px 60px;height:auto;overflow:visible}
#dashboard section{margin:0 0 40px}
#dashboard h1{font-size:clamp(2.4rem,6vw,3.6rem);font-weight:800;line-height:1.08;max-width:750px;margin:0 0 20px;color:#f2f7fb}
#dashboard h2{font-size:clamp(1.6rem,3.4vw,2.125rem);font-weight:800;line-height:1.15;color:#f2f7fb}
#dashboard h3{font-size:20px;font-weight:800}
#dashboard p{line-height:1.6}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0}
/* Buttons: the second button (see-through white, thin border) and the one flat gold main button. */
.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:1px solid rgba(255,255,255,.28);border-radius:12px;padding:10px 18px;background:rgba(255,255,255,.08);color:#fff;text-decoration:none;font:inherit;font-weight:600;cursor:pointer;box-sizing:border-box}
.button:hover{background:rgba(255,255,255,.18)}
.button:disabled{opacity:.55;cursor:default}
.button.primary{background:#ffd45a;border-color:#ffd45a;color:#3a2a00;font-weight:800}
.button.primary:hover{background:#ffe38f;border-color:#ffe38f}
.button.primary:active{background:#ffc21f;border-color:#ffc21f}
.muted{color:#a9bfd3;font-size:14px}
.goals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:0;list-style:none}
.goals li,.world{background:#12335a;border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:20px}
.goals li p{font-size:14px;margin-bottom:0}
.goals li.complete{border-color:#36c9a4}
.gate,.locked{color:#ffd45a}
.number{color:#ffd45a;font-size:26px;font-weight:700}
.world .button{margin-top:12px}
.create{padding:24px;background:#12335a;border-radius:14px}
a:focus-visible,button:focus-visible{outline:3px solid #ffd45a;outline-offset:2px}
@media(max-width:800px){.goals{grid-template-columns:1fr 1fr}}
@media(max-width:540px){main#dashboard{padding:24px 16px}.goals{grid-template-columns:1fr}.actions{flex-direction:column}}

/* The hero: the painted scene behind a navy fade, so the words stay readable. */
#dashboard .hero{padding:32px;border-radius:18px;min-height:260px;background:linear-gradient(90deg,rgba(11,35,64,.94) 0%,rgba(11,35,64,.78) 48%,rgba(11,35,64,.2) 100%),url(media/worlds/hero.webp) center/cover}
#dashboard .hero p{max-width:750px}
@media(max-width:540px){#dashboard .hero{padding:24px 20px}}

/* Worlds: each card leads with its painted scene; locked worlds stay visible as a preview. */
.worlds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media(max-width:980px){.worlds{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.worlds{grid-template-columns:1fr}}
.world{display:flex;flex-direction:column;padding:0;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.world:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(0,0,0,.35)}
@media(prefers-reduced-motion:reduce){.world{transition:none}.world:hover{transform:none}}
.world-pic{position:relative;aspect-ratio:16/9;background:#0b2340}
.world-pic img{display:block;width:100%;height:100%;object-fit:cover}
.world-pic .number{position:absolute;left:10px;top:10px;padding:2px 10px;border-radius:999px;background:rgba(11,35,64,.82);font-size:15px}
.is-locked .world-pic img{filter:saturate(.55) brightness(.75)}
.lockbadge{position:absolute;right:10px;bottom:10px;padding:4px 10px;border:1px solid rgba(255,212,90,.45);border-radius:999px;background:#0b2340;color:#ffd45a;font-size:13px}
.world-body{display:flex;flex:1;flex-direction:column;gap:6px;padding:14px 16px 16px}
.world-body h3{margin:0}.world-body p{margin:0;font-size:.92rem;color:#f2f7fb}.world-body .muted{color:#a9bfd3}
.world-body>div{margin-top:auto;padding-top:8px}.world-body .button{width:100%;margin-top:0}
/* One main button per screen: the gold one is the hero's. The same action repeated on every card is a second button. */
.world .button.primary{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.28);color:#fff;font-weight:600}
.world .button.primary:hover,.world .button.primary:active{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.28)}

/* Live checklist for the city being played: the game's own colors (teal for done, gold for the current goal). */
#dashboard .live .nextstep{padding:12px 16px;border-radius:12px;border:2px solid #ffd45a;background:rgba(255,212,90,.1);color:#fff;font-weight:700}
#dashboard .live .goals li.complete strong{color:#36c9a4}
#dashboard .live .goals li.current{border-left:4px solid #ffd45a;padding-left:12px}
#dashboard .live .goals li.current strong{color:#ffd45a}
#dashboard .live .goals .row{margin:2px 0;font-size:.92rem;color:#f2f7fb}#dashboard .live .goals .row.met{color:#36c9a4}
#dashboard .live .goals{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}

/* The site header on Your Cities and Leaderboards: the marketing site's bar (style standard, 2026-11-20). Sticky navy bar, 40px diamond
   (34px on phones), white name, plain text links that turn white with a 2px gold underline, and gold Play Now as the only button. */
.sitebar{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:6px 14px;padding:8px max(20px,calc((100% - 1200px)/2));background:linear-gradient(#12335a,#0b2340);border-bottom:1px solid rgba(255,255,255,.14);color:#f2f7fb;font:16px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.sitebar .brand{display:inline-flex;align-items:center;gap:10px;min-height:48px;color:#fff;font-weight:800;font-size:1.1rem;text-decoration:none}
.sitebar .brand img{width:40px;height:40px;flex:none;object-fit:contain}
.sitebar nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px 24px;margin-left:auto}
.sitebar .navlink{display:inline-flex;align-items:center;min-height:48px;padding:4px 2px;color:#d7e3ef;font-weight:600;line-height:1.1;text-decoration:none}
.sitebar .navlink:hover,.sitebar .navlink:focus-visible,.sitebar .navlink[aria-current="page"]{color:#fff;text-decoration:underline;text-decoration-color:#ffd45a;text-decoration-thickness:2px;text-underline-offset:7px}
.sitebar .navbtn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:4px 20px;border-radius:12px;background:#ffd45a;color:#3a2a00;font-weight:800;font-size:1.05rem;line-height:1.1;text-decoration:none}
.sitebar .navbtn:hover{background:#ffe38f}.sitebar .navbtn:active{background:#ffc21f}
.sitebar a:focus-visible{outline:3px solid #ffd45a;outline-offset:2px}
/* Phones: the name on its own row, then the links in one row with Play Now at the right. The link for the page you are on is left out there, so the row fits a 375px screen. */
@media(max-width:600px){.sitebar{padding:8px 16px}.sitebar .brand{min-height:40px}.sitebar .brand img{width:34px;height:34px}.sitebar nav{flex-wrap:nowrap;width:100%;margin-left:0;justify-content:space-between;gap:4px 10px}.sitebar .navlink,.sitebar .navbtn{flex:0 0 auto;white-space:nowrap}.sitebar .navlink{font-size:.92rem}.sitebar .navbtn{padding-inline:14px;font-size:.98rem}.sitebar .navlink[aria-current="page"]{display:none}}
