*{box-sizing:border-box}
:root{
  --green:#9FCC89;--black:#111;--bg:#2f312f;--panel:#f7f6f1;
  --s0:#f3c9c9;--s1:#f3d0ad;--s2:#f3e7a6;--s3:#dcefc9;--s4:#bddfa9;--s5:#9fcc89;
  font-family:Helvetica,Arial,sans-serif;color:var(--black)
}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--bg)}
.site-header{display:flex;justify-content:space-between;align-items:center;padding:22px clamp(20px,5vw,72px);border-bottom:1px solid #494b49;color:#fff}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:.03em;color:#fff;text-decoration:none;font-size:.9rem}
.brand-dot{width:18px;height:18px;border-radius:50%;background:var(--green);border:3px solid #fff;display:inline-block}
nav{display:flex;gap:24px}nav a,footer a{color:#fff;text-decoration:none}
main{width:min(1040px,calc(100% - 36px));margin:auto}.live-page{padding:18px 0 72px}
.hero{text-align:center;padding:clamp(58px,10vh,105px) 0 38px;color:#fff}.eyebrow{font-size:.74rem;font-weight:700;letter-spacing:.17em;color:#c8cbc8;margin-bottom:14px}
h1{font-size:clamp(2.7rem,7vw,5.4rem);line-height:.98;margin:0 auto 18px;max-width:850px;letter-spacing:-.055em;font-weight:700}
.lede{font-size:1.12rem;color:#d6d8d6;margin:0 auto 34px}
.search-card{max-width:720px;margin:auto;background:var(--panel);padding:12px;border-radius:16px;text-align:left}.search-card label{display:none}.search-row{display:flex;gap:8px}
input{flex:1;min-width:0;border:0;border-radius:10px;padding:16px 15px;font:inherit;font-size:1.02rem;outline:none;background:#fff}
button{border:0;border-radius:10px;padding:15px 21px;background:var(--green);color:var(--black);font-weight:700;cursor:pointer}.status{font-size:.84rem;color:#666;margin:10px 5px 2px;min-height:1.1em}
.output{margin-top:4px}.score-card,.period{color:#101010}.score-card{border-radius:24px;padding:30px}
.score-0{background:var(--s0)}.score-1{background:var(--s1)}.score-2{background:var(--s2)}.score-3{background:var(--s3)}.score-4{background:var(--s4)}.score-5{background:var(--s5)}
.score-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.place{font-size:.8rem;font-weight:700;letter-spacing:.14em}.date{color:#404440;margin-top:5px}
.weather-icon{font-size:2.25rem;line-height:1}.main-weather{font-size:3rem}
.score-mainline{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-top:28px}.swli{font-size:clamp(2.2rem,5vw,4rem);font-weight:700;letter-spacing:-.04em}
.verdict{font-size:1.05rem;font-weight:700;margin-top:5px}.shirt-block{text-align:right}.shirts{display:flex;justify-content:flex-end;gap:6px;min-height:56px}.shirt-icon{width:48px;height:48px;display:block}
.zero-icon{font-size:3.4rem;line-height:1}.shirt-label{font-size:1.15rem;font-weight:700;margin-top:6px}.verdict-copy{font-size:1rem;color:#2f332f;margin-top:22px;line-height:1.5}
.period-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.period{border-radius:18px;padding:22px}.period-top{display:flex;justify-content:space-between;align-items:flex-start}
.period h3{margin:0;font-size:.82rem;letter-spacing:.12em}.time-range{font-size:.75rem;color:#555b55;margin-top:4px}.period-score{font-size:1.8rem;font-weight:700;margin-top:20px}
.sub{margin:10px 0 16px;display:flex;gap:4px}.sub .shirt-icon{width:27px;height:27px}.sub .zero-icon{font-size:1.8rem}
.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.metric{background:rgba(255,255,255,.48);border-radius:10px;padding:11px;font-size:.9rem}
.metric b{display:block;font-size:.67rem;letter-spacing:.08em;color:#555a55;text-transform:uppercase;margin-bottom:4px}
.best-period{margin-top:16px;border-radius:18px;background:#171817;color:#fff;padding:22px;text-align:center}.details{margin-top:16px;background:var(--panel);border-radius:16px;padding:16px 20px}
.location-picker,.error{max-width:720px;margin:0 auto;background:var(--panel);border-radius:20px;padding:24px}.location-options{display:grid;gap:8px}
.location-option{display:flex;justify-content:space-between;gap:18px;width:100%;background:#eceee9;color:#111;text-align:left;padding:14px 16px}
footer{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;text-align:center;padding:28px;border-top:1px solid #494b49;color:#c4c7c4;font-size:.83rem}
.about{padding:72px 0;max-width:820px;color:#fff}.about p{color:#d0d3d0;line-height:1.7}.scale{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:42px}
.scale>div{min-height:145px;background:#f7f6f1;color:#111;border-radius:14px;padding:14px 10px;text-align:center}
@media(max-width:760px){.site-header{flex-direction:column;align-items:flex-start;gap:14px}.search-row,.period-grid{display:grid;grid-template-columns:1fr}.score-mainline{align-items:flex-start;flex-direction:column}.shirt-block{text-align:left}.shirts{justify-content:flex-start}}

.scale{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
  margin-top:42px;
}
.scale-card{
  min-height:150px;
  border-radius:16px;
  padding:18px 10px 16px;
  text-align:center;
  color:#111;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.scale-card b{
  display:block;
  font-size:1.2rem;
  margin-top:10px;
}
.scale-card small{
  display:block;
  margin-top:4px;
  color:#3f433f;
  font-size:.82rem;
}
.scale-icon{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2rem;
  line-height:1;
}
.scale-shirts{
  font-size:1.35rem;
  letter-spacing:-.08em;
}
@media(max-width:760px){
  .scale{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:420px){
  .scale{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* About-page score scale: explicit final colour overrides */
.scale-card.score-0{background:var(--s0)!important}
.scale-card.score-1{background:var(--s1)!important}
.scale-card.score-2{background:var(--s2)!important}
.scale-card.score-3{background:var(--s3)!important}
.scale-card.score-4{background:var(--s4)!important}
.scale-card.score-5{background:var(--s5)!important}

/* v0.6 visual hierarchy */
.score-card,.period,.best-period,.details{border:2px solid #111!important}
.hero-verdict{display:flex;align-items:center;gap:20px;margin-top:26px}
.hero-icon{display:flex;align-items:center}
.hero-icon .shirt-icon{width:50px;height:50px}
.hero-icon .zero-icon{font-size:3.8rem}
.hero-headline{font-size:clamp(1.8rem,5vw,3.4rem);font-weight:700;letter-spacing:-.04em;line-height:1}
.hero-sub{font-size:.98rem;font-weight:700;margin-top:7px}
.wli-row{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-top:28px}
.wli-number{font-size:clamp(1.5rem,3.2vw,2.4rem);font-weight:700;letter-spacing:-.03em}
.technical-rating{font-size:.82rem;font-weight:700;letter-spacing:.08em}
.wli-bar{margin-top:14px}
.wli-bar-track{height:14px;background:rgba(255,255,255,.5);border:2px solid #111;border-radius:999px;overflow:hidden}
.wli-bar-fill{height:100%;background:#111;border-radius:999px}
.wli-bar-labels{display:flex;justify-content:space-between;font-size:.65rem;font-weight:700;letter-spacing:.08em;margin-top:5px;color:#404440}
.period-rating{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:18px}
.period-shirts{display:flex;gap:4px;align-items:center;min-height:34px}
.period-shirts .shirt-icon{width:30px;height:30px}.period-shirts .zero-icon{font-size:2rem}
.period-shirt-label{font-size:.92rem;font-weight:700}
.period-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.period-facts span{background:rgba(255,255,255,.45);border:1px solid rgba(17,17,17,.12);border-radius:10px;padding:10px;font-size:.85rem}
.best-period{padding:15px 18px!important;display:flex;justify-content:space-between;align-items:center}
.best-period span{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase}.best-period strong{font-size:1.05rem}
@media(max-width:760px){
  .hero-verdict{align-items:flex-start}
  .wli-row{align-items:flex-start;flex-direction:column}
}
@media(max-width:480px){
  .hero-verdict{gap:14px}.hero-headline{font-size:2rem}.hero-icon .shirt-icon{width:40px;height:40px}
}

/* v0.7 personality copy */
.best-period{gap:18px;text-align:left}
.best-period span{text-transform:none!important;letter-spacing:0!important;font-size:.92rem!important;line-height:1.35;max-width:72%}
.best-period strong{text-align:right;white-space:nowrap}
@media(max-width:620px){
  .best-period{align-items:flex-start;flex-direction:column;gap:8px}
  .best-period span{max-width:100%}
  .best-period strong{text-align:left;white-space:normal}
}

/* v0.8 three-day forecast */
.forecast-page{padding:18px 0 72px}
.forecast-hero{text-align:center;padding:clamp(58px,9vh,96px) 0 38px;color:#fff}
.forecast-output{margin-top:8px}
.forecast-location{
  color:#fff;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.14em;
  margin:0 0 12px 4px;
}
.future-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.future-card{
  border:2px solid #111;
  border-radius:20px;
  padding:22px;
  color:#111;
}
.future-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
}
.future-day{
  font-size:1rem;
  font-weight:700;
  line-height:1.25;
}
.future-weather{font-size:2.35rem}
.future-rating{margin-top:22px}
.future-shirts{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  align-items:center;
  min-height:38px;
}
.future-shirts .shirt-icon{width:31px;height:31px}
.future-shirts .zero-icon{font-size:2.2rem}
.future-shirt-label{
  margin-top:7px;
  font-size:.82rem;
  font-weight:700;
}
.future-headline{
  font-size:clamp(1.35rem,2.4vw,1.9rem);
  line-height:1.05;
  letter-spacing:-.03em;
  font-weight:700;
  margin-top:20px;
  min-height:2.1em;
}
.future-wli{
  font-size:1.35rem;
  font-weight:700;
  margin-top:20px;
}
.future-facts{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:20px;
}
.future-facts span{
  background:rgba(255,255,255,.45);
  border:1px solid rgba(17,17,17,.14);
  border-radius:10px;
  padding:11px;
}
.future-facts b{
  display:block;
  font-size:1rem;
}
.future-facts small{
  display:block;
  margin-top:3px;
  font-size:.68rem;
  color:#555a55;
  text-transform:uppercase;
  letter-spacing:.06em;
}
@media(max-width:850px){
  .future-grid{grid-template-columns:1fr}
  .future-headline{min-height:0}
}
