@property --s1 { syntax: '<color>'; inherits: false; initial-value: #2a7de1; }
@property --s2 { syntax: '<color>'; inherits: false; initial-value: #4fa3f2; }
@property --s3 { syntax: '<color>'; inherits: false; initial-value: #a5d6fb; }

:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI Variable', system-ui, sans-serif;
  --gd: .10;            /* extra darkness behind glass (raised for bright skies) */
  --tx: #fff;
  --tx2: rgba(255,255,255,.72);
  --tx3: rgba(255,255,255,.5);
  --r: 28px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
[hidden] { display: none !important; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; overscroll-behavior-y: none; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  font-family: var(--font); color: var(--tx);
  background: #0b1020;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body[data-mood="snow"], body[data-mood="fog"] { --gd: .22; }
body[data-mood="cloudy"][data-phase="day"] { --gd: .18; }
body[data-mood="clear"][data-phase="day"], body[data-mood="partly"][data-phase="day"] { --gd: .12; }

.sky {
  position: fixed; inset: 0; z-index: -3;
  background: linear-gradient(180deg, var(--s1) 0%, var(--s2) 52%, var(--s3) 100%);
  transition: --s1 1.8s ease, --s2 1.8s ease, --s3 1.8s ease;
}
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.flash { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #dfe8ff; opacity: 0; mix-blend-mode: screen; }

/* ───────── Liquid glass ───────── */
.glass {
  --mx: 50%; --my: 0%;
  position: relative;
  border-radius: var(--r);
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.20), transparent 55%),
    linear-gradient(rgba(12,22,44,var(--gd)), rgba(12,22,44,var(--gd))),
    linear-gradient(145deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.08) 45%, rgba(255,255,255,.14) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  transform: translateZ(0); backface-visibility: hidden; contain: layout style;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.55),
    inset 0 -1.5px 1px rgba(255,255,255,.12),
    inset 1px 0 0 rgba(255,255,255,.16),
    inset -1px 0 0 rgba(255,255,255,.10),
    inset 0 0 28px rgba(255,255,255,.07),
    0 14px 40px -8px rgba(0,0,0,.28),
    0 2px 6px rgba(0,0,0,.08);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
/* gradient rim light */
.glass::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.75), rgba(255,255,255,.04) 35%, rgba(255,255,255,.04) 65%, rgba(255,255,255,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@media (hover: hover) { body:not(.scrolling) .tile:hover, body:not(.scrolling) .card:hover { transform: translate3d(0,-2px,0) scale(1.008); } }
body.scrolling .tile:not(.rv), body.scrolling .card:not(.rv) { transition: none; }
/* scroll reveal */
.rv { opacity: 0; transform: translate3d(0, 24px, 0) scale(.97); }
.rv.in { opacity: 1; transform: translateZ(0); transition: opacity .8s cubic-bezier(.2,.8,.2,1) var(--d,0ms), transform .9s cubic-bezier(.16,1,.3,1) var(--d,0ms), box-shadow .35s; }
@media (prefers-reduced-transparency: reduce) { .glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(30,45,70,.7); } }

button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; padding: 0; }
.round.sm { width: 34px; height: 34px; }
.round:active { transform: scale(.92); }

/* ───────── Layout ───────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(12px + var(--safe-t)) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  pointer-events: none; transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .35s ease;
}
.topbar > * { pointer-events: auto; }
.topbar.away { transform: translate3d(0,-130%,0); opacity: 0; }
.topbar.away > * { pointer-events: none; }
.updated { font-size: 12px; color: var(--tx2); letter-spacing: .02em; transition: opacity .35s ease, transform .35s ease; }
.updated.hide { opacity: 0; transform: translateY(-6px); }
.wrap { max-width: 1120px; margin: 0 auto; padding: calc(64px + var(--safe-t)) 16px calc(40px + var(--safe-b)); }

.hero { text-align: center; padding: 18px 0 28px; min-height: 340px; --p: 0; text-shadow: 0 1px 14px rgba(0,0,0,.14);
  transform: translate3d(0, calc(var(--p) * 36px), 0) scale(calc(1 - var(--p) * .07)); opacity: calc(1 - var(--p) * 1.15); transform-origin: 50% 0; will-change: transform, opacity; }
.hero .summary { text-shadow: none; }
.hero .loc { font-size: clamp(26px, 4vw, 34px); font-weight: 500; letter-spacing: -.01em; }
.hero .region { font-size: 13px; color: var(--tx2); margin-top: 2px; }
.hero .temp { font-size: clamp(104px, 24vw, 168px); font-weight: 200; line-height: 1; letter-spacing: -.04em; margin: 6px 0 0 .16em; }
.hero .cond { font-size: clamp(20px, 3vw, 24px); font-weight: 500; margin-top: -4px; }
.hero .hl { font-size: 17px; font-weight: 500; color: var(--tx); margin-top: 6px; }
.summary { display: inline-block; margin: 20px auto 0; padding: 12px 20px; font-size: 14.5px; font-weight: 500; border-radius: 22px; max-width: 520px; }

.debugbanner { text-align: center; margin: -6px 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ffd37a; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; grid-auto-flow: dense; }
.card { padding: 16px 18px 18px; }
.card h4, .tile h4 { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tx2); display: flex; align-items: center; gap: 7px; }
.card h4 .ic, .tile h4 .ic { width: 15px; height: 15px; }
.hourly { grid-column: 1 / -1; }
.daily { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.tile { aspect-ratio: 1 / 1; padding: 16px 18px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.tile .big { font-size: 38px; font-weight: 400; letter-spacing: -.02em; line-height: 1.05; }
.tile .big small { font-size: 16px; font-weight: 500; margin-left: 3px; color: var(--tx2); }
.tile .lbl { font-size: 17px; font-weight: 500; margin-top: 2px; }
.tile .sub { margin-top: auto; font-size: 13px; line-height: 1.35; color: var(--tx2); }
.tile .viz { flex: 1; display: grid; place-items: center; min-height: 0; }

/* hourly */
.hscroll { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; -webkit-mask: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); mask: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); }
.hscroll::-webkit-scrollbar { display: none; }
.h { flex: 0 0 auto; width: 64px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; padding: 8px 0; border-radius: 18px; }
.h:first-child { background: rgba(255,255,255,.12); }
.h .t { color: var(--tx2); font-size: 14px; }
.h .p { font-size: 12px; font-weight: 600; color: #8fd3ff; height: 14px; }
.h b { font-weight: 500; font-size: 18px; }
.h svg.wi, .d svg.wi { width: 34px; height: 34px; filter: drop-shadow(0 3px 5px rgba(0,0,0,.18)); }
.h.ev { color: var(--tx); }
.h.ev .t { color: #ffd37a; }

/* daily */
.dlist { display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.d { display: grid; grid-template-columns: 52px 38px 34px 34px 1fr 34px; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 16px; font-weight: 500; }
.d:first-child { border-top: 0; }
.d .n { font-weight: 600; }
.d .pp { font-size: 12px; font-weight: 600; color: #8fd3ff; text-align: center; }
.d .lo { color: var(--tx2); text-align: right; }
.d .hi { text-align: right; }
.bar { position: relative; height: 5px; border-radius: 3px; background: rgba(0,0,0,.2); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.1); }
.bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.bar u { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.25); }

/* tile bits */
.meter { position: relative; height: 5px; border-radius: 3px; margin: 10px 0 8px; }
.meter u { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.28); }
.uvbar { background: linear-gradient(90deg, #5bd16f, #e8d84a 35%, #ff9a3c 60%, #ef4a4a 80%, #a14bd6); }
.aqbar { background: linear-gradient(90deg, #5bd16f, #b8e04a 25%, #f1c84a 45%, #ff8a3c 65%, #ef4a4a 85%, #8b3fb8); }
.hum { height: 8px; border-radius: 4px; background: rgba(0,0,0,.2); overflow: hidden; margin: 10px 0 6px; }
.hum i { display: block; height: 100%; background: linear-gradient(90deg, #86d4ff, #3a8ff3); border-radius: 4px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 54px; margin: 6px 0; }
.bars i { flex: 1; border-radius: 3px; background: linear-gradient(#a8e0ff, #3a8ff3); min-height: 3px; opacity: .9; }
.pol { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--tx2); margin-top: 4px; }
.pol span { display: flex; justify-content: space-between; }
.pol b { color: var(--tx); font-weight: 600; }

/* compact scroll header */
.compact {
  position: fixed; left: 50%; top: calc(10px + var(--safe-t)); transform: translate3d(-50%, -140%, 0) scale(.92); z-index: 15;
  display: flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; font-weight: 500; font-size: 15px;
  opacity: 0; transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .35s ease; white-space: nowrap; pointer-events: none; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.compact.on { transform: translate3d(-50%, 0, 0) scale(1); opacity: 1; }
.compact svg { width: 24px; height: 24px; }
.compact span { color: var(--tx2); }
.foot { text-align: center; font-size: 12px; color: var(--tx3); margin-top: 28px; }
.foot a { color: var(--tx2); }

/* loading + toast */
.loading { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: linear-gradient(#1b4a8f, #6fb1ea); color: #fff; font-weight: 500; transition: opacity .6s; }
.loading.done { opacity: 0; pointer-events: none; }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; animation: sp 1s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); transform: translateX(-50%); z-index: 60; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; }

/* sheets */
.scrim { position: fixed; inset: 0; z-index: 30; background: rgba(5,10,25,.4); opacity: 0; visibility: hidden; pointer-events: none; -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px); transition: opacity .4s ease, backdrop-filter .5s ease, -webkit-backdrop-filter .5s ease, visibility 0s .5s; }
.scrim.open { opacity: 1; visibility: visible; pointer-events: auto; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition-delay: 0s; }
.sheet { position: fixed; z-index: 31; left: 50%; top: 50%; transform: translate3d(-50%, calc(-50% + 18px), 0) scale(.92); width: min(420px, calc(100vw - 32px)); padding: 20px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .3s ease, visibility 0s .55s; }
.sheet.open { transform: translate3d(-50%, -50%, 0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
@media (max-width: 640px) { .sheet { top: auto; bottom: calc(12px + var(--safe-b)); transform: translate3d(-50%, 110%, 0); } .sheet.open { transform: translate3d(-50%, 0, 0); } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sheet-head h3 { margin: 0; font-size: 18px; font-weight: 600; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); font-weight: 500; }
.row.tight { padding-bottom: 2px; }
.row small { display: block; font-size: 12px; font-weight: 400; color: var(--tx2); margin-top: 2px; }
.fine { font-size: 12px; color: var(--tx2); margin: 6px 0 0; }
kbd { font: inherit; font-size: 11px; padding: 1px 6px; border-radius: 5px; background: rgba(255,255,255,.2); }
.seg { display: inline-flex; padding: 3px; border-radius: 11px; background: rgba(0,0,0,.25); }
.seg.full { display: flex; }
.seg button { flex: 1; padding: 6px 14px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--tx2); transition: background .25s, color .25s; }
.seg button.on { background: rgba(255,255,255,.9); color: #1a2433; text-shadow: none; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.switch { width: 51px; height: 31px; border-radius: 999px; background: rgba(255,255,255,.22); position: relative; flex: none; transition: background .25s; }
.switch i { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); transition: transform .3s cubic-bezier(.3,1.4,.5,1); }
.switch[aria-checked="true"] { background: #34c759; }
.switch[aria-checked="true"] i { transform: translateX(20px); }

/* debug */
.dbgchip { opacity: 0; visibility: hidden; transform: translate3d(0,16px,0) scale(.85); transform-origin: bottom left; transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .3s, visibility 0s .5s; position: fixed; z-index: 25; left: 16px; bottom: calc(16px + var(--safe-b)); display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.dbgchip.open { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
.dbgchip i { width: 8px; height: 8px; border-radius: 50%; background: #ffb340; box-shadow: 0 0 8px #ffb340; }
.dbgchip.live i { background: #34c759; box-shadow: 0 0 8px #34c759; }
.dbg { opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(0,28px,0) scale(.94); transform-origin: bottom left; transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .3s, visibility 0s .55s; position: fixed; z-index: 26; left: 16px; bottom: calc(16px + var(--safe-b)); width: min(400px, calc(100vw - 32px)); max-height: min(78vh, 720px); overflow-y: auto; padding: 18px; scrollbar-width: thin; }
.dbg.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.defbtn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 16px; font-weight: 600; font-size: 14px; background: rgba(52,199,89,.85); text-shadow: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 16px rgba(52,199,89,.3); margin: 4px 0 6px; }
.defbtn:active { transform: scale(.98); }
.dbg-label { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tx2); margin: 14px 0 8px; }
.scn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.scn button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 7px; border-radius: 14px; background: rgba(255,255,255,.1); font-size: 11.5px; font-weight: 500; transition: background .2s, transform .15s; }
.scn button svg { width: 32px; height: 32px; }
.scn button:hover { background: rgba(255,255,255,.2); }
.scn button.on { background: rgba(255,255,255,.88); color: #18222f; text-shadow: none; }
.slider { display: block; margin-bottom: 10px; font-size: 13.5px; font-weight: 500; }
.slider span { display: flex; justify-content: space-between; }
.slider b { color: #ffd37a; font-weight: 600; }
input[type=range] { width: 100%; margin: 8px 0 0; accent-color: #fff; }

/* ───────── Responsive ───────── */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .daily { grid-column: 1 / -1; grid-row: auto; }
  .tile .big { font-size: 34px; }
}
@media (max-width: 420px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .d { grid-template-columns: 44px 32px 30px 30px 1fr 30px; gap: 5px; font-size: 15px; }
  .tile { padding: 14px; }
  .dbg { left: 8px; right: 8px; width: auto; bottom: calc(8px + var(--safe-b)); }
  .dbgchip { left: 12px; }
}
@media (max-width: 640px) { :root { --r: 24px; } .dbg { max-height: 56vh; padding: 14px; } .scn button svg { width: 26px; height: 26px; } .scn button { font-size: 10.5px; padding: 6px 2px; } .dbgchip { bottom: calc(12px + var(--safe-b)); } }
@media (prefers-reduced-motion: reduce) { .hero { transform: none !important; opacity: 1 !important; } .rv { opacity: 1; transform: none; } * { transition-duration: .01ms !important; animation-duration: .01ms !important; } html { scroll-behavior: auto; } }

/* location settings */
.sheet { max-height: calc(100dvh - 32px); overflow-y: auto; scrollbar-width: none; }
.manual { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s cubic-bezier(.16,1,.3,1), opacity .35s ease; }
.manual.open { grid-template-rows: 1fr; opacity: 1; }
.manual-in { overflow: hidden; min-height: 0; }
.field { display: block; margin: 0 0 12px; }
.field > span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--tx2); margin-bottom: 6px; }
.manual-in select, .manual-in input {
  width: 100%; font: inherit; font-size: 16px; color: #fff; padding: 11px 14px; border-radius: 14px; border: 0; outline: 0;
  background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transition: box-shadow .25s, background .25s; text-shadow: none;
}
.manual-in select { appearance: none; -webkit-appearance: none; padding-right: 38px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.manual-in select option { color: #111; }
.manual-in input::placeholder { color: rgba(255,255,255,.45); }
.manual-in select:focus, .manual-in input:focus { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); background: rgba(0,0,0,.32); }
.res { display: flex; flex-direction: column; gap: 2px; margin: -4px 0 6px; }
.res button { text-align: left; padding: 10px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; animation: rin .35s cubic-bezier(.16,1,.3,1) both; }
.res button:hover { background: rgba(255,255,255,.14); }
.res small { display: block; font-size: 12px; font-weight: 400; color: var(--tx2); }
.res .none { padding: 8px 12px; font-size: 13px; color: var(--tx2); }
@keyframes rin { from { opacity: 0; transform: translateY(6px); } }
.wrap { transition: opacity .45s ease; }
body.switching .wrap { opacity: .35; }
.hero .region:empty { display: none; }

/* what to wear */
.wear svg { width: 84px; height: 84px; max-height: 100%; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); animation: wearIn .7s cubic-bezier(.16,1,.3,1) both; }
@keyframes wearIn { from { opacity: 0; transform: translateY(8px) scale(.85) rotate(-4deg); } }
.tips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.tips i { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.2); color: #fff; }
.wear-tile .lbl { font-size: 18px; }

/* what to wear: icon never collides with the text */
.wear { position: relative; min-height: 0; }
.wear svg { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; max-width: 84px; max-height: 84px; }
@media (max-width: 900px) {
  .wear-tile { grid-column: 1 / -1; aspect-ratio: auto; display: grid; grid-template-columns: 92px 1fr; grid-template-rows: auto auto 1fr; grid-template-areas: "h h" "v l" "v s"; column-gap: 14px; align-content: start; }
  .wear-tile h4 { grid-area: h; }
  .wear-tile .viz { grid-area: v; min-height: 88px; align-self: center; }
  .wear-tile .lbl { grid-area: l; align-self: end; margin-top: 0; }
  .wear-tile .sub { grid-area: s; margin-top: 4px; align-self: start; }
}

.link { display: block; margin-top: 4px; padding: 0; font-size: 12.5px; font-weight: 600; color: #9fd0ff; text-shadow: none; }
.link:hover { text-decoration: underline; }
