/* Work from anywhere (relocate) page styles. Colours come only from the shared tokens in ../shared/site.css. */
.rl-head{padding-bottom:.6rem}
.rl-head .lead{margin-bottom:0}
.rl-answer{padding:0 0 .9rem}
.rl-summary p{max-width:none}
.rl-answer-line{font-size:1.12rem;line-height:1.45;color:var(--ink);margin:0}
.rl-answer-line a{color:var(--accent-ink);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.rl-answer-sub{font-size:.88rem;color:var(--ink-2);margin:.4rem 0 0}
.rl-warn{margin-top:.8rem}
.rl-link{font:inherit;color:var(--accent-ink);background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:2px;cursor:pointer;font-weight:700;min-height:0}

/* Controls: one folded card on a phone, open on a wide screen. */
.rl-inputs{padding:0 0 1rem}
.rl-controls{padding:0}
.rl-controls>summary{list-style:none;cursor:pointer;display:grid;gap:.1rem;padding:.8rem 2.6rem .8rem 1.1rem;min-height:44px;position:relative;border-radius:var(--radius)}
.rl-controls>summary::-webkit-details-marker{display:none}
.rl-controls>summary::after{content:"";position:absolute;right:1.1rem;top:50%;width:.55rem;height:.55rem;border-right:2px solid var(--ink-2);border-bottom:2px solid var(--ink-2);transform:translateY(-70%) rotate(45deg);transition:transform .15s}
.rl-controls[open]>summary::after{transform:translateY(-30%) rotate(-135deg)}
.rl-sum-title{font-weight:700;color:var(--ink)}
.rl-sum-now{font-size:.84rem;color:var(--ink-2);min-height:1.35em} /* its line is reserved before the settings are written, so the card does not grow */
.rl-controls[open]>summary{border-bottom:1px solid var(--line)}
.rl-form{display:grid;gap:1.25rem;padding:1.1rem}
@media (min-width:820px) and (max-width:1099px){.rl-form{grid-template-columns:1fr 1fr;gap:1.5rem 2.5rem;padding:1.5rem}}
.rl-col{display:grid;gap:.2rem;align-content:start}
.label-like{font-weight:700;font-size:.9rem;display:block;margin-bottom:.4rem}
.rl-form .chip{min-height:44px}
.rl-two{display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-items:start}
.rl-two .field,.rl-times .field{align-content:start}
.rl-times{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.rl-times[data-mode="flex"]{grid-template-columns:1fr 1fr 1fr}
.rl-times .rl-flex-only{display:none}
.rl-times[data-mode="flex"] .rl-flex-only{display:grid}
@media (max-width:420px){.rl-times[data-mode="flex"]{grid-template-columns:1fr 1fr}.rl-times[data-mode="flex"] .rl-flex-only{grid-column:1 / -1}}
.rl-mode-hint{margin-top:-.4rem}
input[type=time]{font:inherit;color:var(--ink);background:var(--card);border:1px solid var(--field-line);border-radius:var(--radius-s);padding:.6rem .75rem;min-height:44px;width:100%}
.hint{font-size:.82rem;color:var(--ink-2)}
.rl-map{margin-top:.6rem}
#picked-hint:empty{display:none}
#picked-hint{margin-top:.4rem}
/* Shared .btn and .chip do not set a font, so buttons fell back to the browser face. */
#main button{font-family:inherit}

/* Ranked cities */
.rl-results{padding-top:0}
.rl-results .btn-sm{min-height:44px;padding:.5rem 1rem}
.rl-cities{display:grid;gap:1rem}
.rl-city{padding:0;scroll-margin-top:1rem}
.rl-city-main{padding:1rem 1.1rem 1.1rem}
.rl-open{padding:0 1.1rem 1.1rem}
.rl-city>.rl-next{margin:0 1.1rem 1.1rem}
.skeleton-card{min-height:120px;padding:1rem 1.1rem}
.rl-city-head{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap}
.rl-city-head .rank{font-family:var(--display);font-variant-numeric:lining-nums;font-size:1.1rem;color:var(--ink-2);min-width:1.6rem}
.rl-city-head h2{font-size:1.35rem;margin:0}
.rl-city-head h2:focus{outline:none}
.rl-city-head h2:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}
.rl-city-head .country{color:var(--ink-2);font-size:.92rem}
.rl-metro{font-size:.84rem;color:var(--ink-2);margin:.2rem 0 0}
.rl-hours{margin-top:.8rem}
.rl-hours-line{display:flex;flex-wrap:wrap;gap:.3rem .6rem;align-items:baseline;font-size:.95rem}
.rl-hours-line b{font-variant-numeric:tabular-nums}
.rl-tag{display:inline-block;padding:.1rem .55rem;border-radius:999px;font-size:.76rem;font-weight:800;letter-spacing:.02em}
/* Hours states use the category colours, never the orange accent (that is for actions): green, gold, rose, ink. */
.rl-tag.ok{background:var(--green-soft);color:var(--ok)}
.rl-tag.edge{background:var(--gold-soft);color:var(--amber-ink)}
.rl-tag.hard{background:var(--rose-soft);color:var(--rose)}
.rl-tag.night{background:var(--ink);color:var(--paper)}
/* 24 h bar on the local clock: daytime band 09-18 lighter, night 23-06 darker */
.rl-bar{position:relative;height:14px;border-radius:7px;margin:.55rem 0 .25rem;overflow:hidden;
  background:linear-gradient(90deg,
    var(--line) 0 25%,          /* 00-06 */
    var(--line-2) 25% 37.5%,    /* 06-09 */
    var(--card) 37.5% 75%,      /* 09-18 */
    var(--line-2) 75% 95.83%,   /* 18-23 */
    var(--line) 95.83% 100%);   /* 23-24 */
  border:1px solid var(--line)}
.rl-bar i{position:absolute;top:0;bottom:0;display:block}
.rl-bar i.ok{background:var(--green)}.rl-bar i.edge{background:var(--gold)}.rl-bar i.hard{background:var(--rose)}.rl-bar i.night{background:var(--ink)}
.rl-ticks{display:flex;justify-content:space-between;font-size:.72rem;color:var(--ink-2);font-variant-numeric:tabular-nums}
.rl-season{font-size:.84rem;color:var(--ink-2);margin-top:.35rem}
.rl-why{font-size:.9rem;color:var(--ink-2);margin:.7rem 0 0}
.rl-why b{color:var(--ink)}
.rl-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem;margin-top:.8rem;padding-top:.8rem;border-top:1px solid var(--line-2)}
.rl-stats .stat b{font-size:1.35rem;font-variant-numeric:lining-nums tabular-nums}
.rl-stats .stat b small{font-size:.9rem;color:var(--ink-2)}
.rl-stats .stat span{font-size:.8rem;color:var(--ink-2)}
.rl-actions{margin-top:.9rem;display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}
.rl-actions .muted{font-size:.84rem;color:var(--ink-2)}
.rl-listings{margin-top:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.rl-listings .listing .why{border-left-color:var(--line-strong)}
.rl-more{margin-top:.8rem}
.rl-ltags{display:flex;flex-wrap:wrap;gap:.3rem;margin:.2rem 0 .4rem}
.rl-ltags span{font-size:.72rem;font-weight:700;color:var(--ink-2);border:1px solid var(--line);border-radius:999px;padding:.05rem .5rem}
.rl-next{display:flex;flex-wrap:wrap;gap:.2rem 1rem;align-items:baseline;margin:.9rem 0 0;padding-top:.7rem;border-top:1px solid var(--line-2);font-size:.88rem}
.rl-next span{font-weight:700;color:var(--ink-2);text-transform:uppercase;letter-spacing:.06em;font-size:.72rem;width:100%}
.rl-next a{color:var(--accent-ink);font-weight:600;text-decoration:underline;text-underline-offset:2px;display:inline-flex;align-items:center;min-height:44px}
.rl-rest{margin-top:1.5rem}
.rl-rest h2{font-size:1.15rem;margin-bottom:.4rem}
.rl-rest ul{list-style:none;display:grid;font-size:.9rem;color:var(--ink-2)}
.rl-rest li{display:grid;gap:.45rem;padding:.7rem 0;border-bottom:1px solid var(--line-2)}
.rl-rest li .btn{justify-self:start}
.rl-rest li b{color:var(--ink)}
.rl-opened{margin-bottom:1rem}
@media (min-width:820px){.rl-rest li{grid-template-columns:1fr auto;align-items:center}}
.rl-empty{margin:1rem 0}

/* Real listing photos: the places that ranked the city, as one mosaic at the top of its card. */
.rl-photos{display:grid;gap:3px;height:172px;background:var(--line-2)}
.rl-photos img{width:100%;height:100%;object-fit:cover;display:block;min-width:0;min-height:0}
.rl-photos.n2{grid-template-columns:1fr 1fr}
.rl-photos.n3{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}
.rl-photos.n3 img:first-child{grid-row:1 / 3}
@media (min-width:820px){
  .rl-city{display:grid;grid-template-columns:minmax(260px,34%) 1fr}
  .rl-photos{height:auto;min-height:240px}
  .rl-city>.rl-open,.rl-city>.rl-next{grid-column:1 / -1}
  .rl-city>.rl-open{padding-top:1rem;border-top:1px solid var(--line-2)}
}
.rl-loading-line{padding:.4rem 0}
/* Loading: the summary keeps the room its answer will take on a phone (three lines plus three small ones, 150 px at
   390 px wide), so the cities below do not jump when it is written (CLS 0.70 on 10 Nov 2026). */
.rl-summary{min-height:150px}
@media (min-width:600px){.rl-summary{min-height:0}}
.rl-summary .rl-sk{margin:0 0 .5rem}.rl-summary .rl-sk .skeleton{height:.95rem;margin-top:.5rem}.rl-summary .rl-sk .skeleton:first-child{margin-top:0}
.rl-summary .empty,.rl-cities>.empty,.rl-open .empty{display:grid;gap:.8rem;justify-items:center;padding:1.4rem 1rem}
.rl-summary .empty p,.rl-open .empty p{margin:0;max-width:44ch}
/* "How we work this out": closed by default, plain language. */
.rl-method p{margin:.2rem 0 0;max-width:72ch;line-height:1.55;color:var(--ink-2)}
.rl-fixes{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center}
/* Wide screens: the controls sit in a sticky column on the left, the ranked cities on the right. */
@media (min-width:1100px){
  .rl-layout{display:grid;grid-template-columns:350px 1fr;gap:1.5rem;align-items:start}
  .rl-inputs{position:sticky;top:1rem;max-height:calc(100vh - 2rem);overflow:auto;padding:0;border-radius:var(--radius)}
}
.rl-next{max-width:none}
.rl-body{padding-top:.4rem}
.rl-answer{padding-bottom:.6rem}
/* The shared map puts search and regions side by side from 720 px; inside the 350 px sidebar they must stack. */
@media (min-width:720px){.rl-inputs .cm-panel:not(.cm-full) .cm-top{grid-template-columns:1fr}}
.rl-inputs .cm-panel:not(.cm-full) .cm-regions .chip{white-space:nowrap}

/* wave 6: the clocks right now, the daylight band and the "now" mark on the day bar */
.rl-clocks{display:flex;gap:.45rem;overflow-x:auto;padding:.3rem 2px .5rem;margin-top:.4rem;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.rl-clocks[hidden]{display:none}
.rl-clock{flex:none;display:grid;gap:.05rem;padding:.45rem .75rem;border-radius:12px;border:1px solid var(--line);background:var(--card);min-width:6.4rem;font-size:.8rem;color:var(--ink-2);text-decoration:none;min-height:44px}
.rl-clock b{font-family:var(--display);font-size:1.3rem;line-height:1.1;color:var(--ink);font-variant-numeric:tabular-nums;font-weight:500}
.rl-clock>span{font-weight:700;color:var(--ink);white-space:nowrap}
.rl-clock small{display:flex;align-items:center;gap:.3rem;font-size:.72rem;color:var(--ink-3);white-space:nowrap}
.rl-clock small em{font-style:normal}
.rl-clock.team{border-color:var(--accent)}
a.rl-clock:hover,a.rl-clock:focus-visible{border-color:var(--accent)}
.rl-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--line)}
.rl-dot.ok{background:var(--green)}.rl-dot.edge{background:var(--gold)}.rl-dot.hard{background:var(--rose)}.rl-dot.night{background:var(--ink)}
.rl-bar .rl-sun{position:absolute;top:0;bottom:0;display:block;background:var(--gold-soft)}
.rl-bar .rl-now{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;display:block;background:var(--accent);z-index:1}
.rl-sun-line{font-size:.8rem;color:var(--ink-3);margin:.15rem 0 0}
