/* badmintonapi.com: the coverage page. Layer freshness, the series grid, the feed and prices by year, and the known gaps. */
.cv { background: #F4F1E8; }
.cv-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cv a { transition: color .15s ease; }
.cv-over { display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-lt); font-weight: 700; }
.cv-over::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.cv-over2 { display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.cv-over2::before { content: ""; width: 34px; height: 1px; background: var(--gold); }

/* ------------------------------------------------------------------ the top band */
.cv-top { color: #fff; border-bottom: 1px solid var(--gold); background: radial-gradient(50% 90% at 88% 0%, rgba(34,150,112,.42) 0%, rgba(34,150,112,0) 70%), radial-gradient(40% 70% at 0% 100%, rgba(226,199,127,.12) 0%, rgba(226,199,127,0) 70%), linear-gradient(170deg, #0B4A3E 0%, #072E27 100%); }
.cv-top-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding-top: 40px; padding-bottom: 104px; }
.cv-top h1 { margin: 14px 0 0; font: 700 44px/1.1 "Shippori Mincho", serif; letter-spacing: -.01em; }
.cv-top p { margin: 12px 0 0; max-width: 540px; font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.74); }
.cv-facts { display: grid; grid-template-columns: repeat(4, auto); margin: 0 0 4px; flex: none; }
.cv-facts div { padding: 0 20px; border-left: 1px solid rgba(226,199,127,.25); }
.cv-facts div:first-child { padding-left: 0; border-left: 0; }
.cv-facts dt { font: 700 26px/1.1 "Shippori Mincho", serif; color: #fff; font-variant-numeric: tabular-nums; }
.cv-facts dd { margin: 4px 0 0; max-width: 110px; font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.58); }

/* ------------------------------------------------------------------ the layers, lifted over the band */
.cv-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -68px; }
.lc2 { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 1px 0 rgba(10,63,53,.04), 0 26px 44px -34px rgba(10,63,53,.4); }
.lc2 header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lc2 h2 { margin: 0; font: 700 18px/1.2 "Shippori Mincho", serif; color: var(--deep); }
.lc2 p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: #4A544F; }
.lc2 em { margin-top: auto; padding-top: 12px; font-style: normal; font-size: 12.5px; color: var(--muted); }
.st { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 11.5px; font-weight: 700; }
.st i { width: 7px; height: 7px; border-radius: 50%; }
.st-ok { color: #1E6B4E; }
.st-ok i { background: #3FAE7A; box-shadow: 0 0 0 3px rgba(63,174,122,.18); }
.st-late { color: #A6562F; }
.st-late i { background: #E08A55; box-shadow: 0 0 0 3px rgba(224,138,85,.2); }
.cv-warn { margin: 14px 0 0; padding: 12px 16px; border-radius: 10px; background: #FFF4EC; border: 1px solid #F3D2BD; font-size: 13.5px; color: #8E3A17; }

/* ------------------------------------------------------------------ section heads */
.cv-sec { padding-top: 68px; }
.cv-sec:last-of-type { padding-bottom: 96px; }
.cv-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 22px; }
.cv-hd h2 { margin: 14px 0 0; font: 700 30px/1.15 "Shippori Mincho", serif; color: var(--deep); }
.cv-hd > p { margin: 0 0 4px; max-width: 420px; font-size: 14px; line-height: 1.6; color: var(--muted); text-align: right; }
.lg2 { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0 0 6px; padding: 0; font-size: 13px; color: #4A544F; }
.lg2 li { display: flex; align-items: center; gap: 8px; }
.lg2 i { width: 12px; height: 12px; border-radius: 3px; }
.k-d { background: var(--jade); }
.k-h { background: #fff; box-shadow: inset 0 0 0 1.5px #C9B98C; }
.k-n { background: #F1ECDF; }
.k-f { background: #E9E2CF; }
.cv-note { margin: 12px 4px 0; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------------ the series grid */
.gw { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 1px 0 rgba(10,63,53,.04), 0 24px 48px -32px rgba(10,63,53,.25); }
.gr { display: table; min-width: 100%; padding: 8px 20px 14px; border-spacing: 0; }
.gr-r { display: flex; align-items: center; gap: 3px; height: 24px; }
.gr-head { height: 34px; align-items: flex-end; padding-bottom: 6px; }
.gr-name { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex: none; width: 196px; padding-right: 10px; background: #fff; font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.gr-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
a.gr-name:hover { color: var(--jade); }
.gr-name small { flex: none; font: 500 10.5px "IBM Plex Mono", monospace; color: var(--muted); }
.gr-head .gr-name, .gr-head .gr-early { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #8C938F; }
.gr-early { flex: none; width: 66px; font: 500 11px "IBM Plex Mono", monospace; color: var(--muted); text-align: right; padding-right: 10px; }
.gr-head .gr-early { font-family: "Zen Kaku Gothic New", sans-serif; letter-spacing: .06em; text-align: right; }
.gr-y { flex: none; width: 18px; font: 500 10px "IBM Plex Mono", monospace; color: #8C938F; text-align: left; overflow: visible; white-space: nowrap; }
.gr-g { display: flex; height: 34px; align-items: flex-end; padding-bottom: 6px; border-top: 1px solid var(--hair); margin-top: 6px; }
.gr-g span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.gc { flex: none; width: 18px; height: 18px; border-radius: 4px; background: #F4F0E6; }
.gc-d { background: var(--jade); }
.gc-h { background: #fff; box-shadow: inset 0 0 0 1.5px #C9B98C; }
a.gc:hover, a.gc:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ------------------------------------------------------------------ the feed and prices by year */
.fc { padding: 26px 26px 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 1px 0 rgba(10,63,53,.04), 0 24px 48px -32px rgba(10,63,53,.25); }
.fc-plot { display: flex; align-items: stretch; gap: 10px; height: 210px; padding-top: 22px; border-bottom: 1px solid #E6DFCC; }
.fc-c { position: relative; flex: 1; display: flex; justify-content: center; min-width: 0; outline: none; cursor: default; }
.fc-c:hover, .fc-c:focus-visible { background: #FAF7EF; }
.fc-c:focus-visible { box-shadow: inset 0 0 0 2px var(--deep); }
.fc-bar { position: relative; align-self: flex-end; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; max-width: 24px; border-radius: 4px 4px 0 0; background: #E9E2CF; }
.fc-bar i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--jade); box-shadow: 0 -2px 0 #fff; }
.fc-v { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font: 600 11px "IBM Plex Mono", monospace; color: var(--ink); }
.fc-y { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); font: 500 11px "IBM Plex Mono", monospace; color: #8C938F; }
.fc-tab { margin-top: 34px; font-size: 13.5px; }
.fc-tab summary { cursor: pointer; font-weight: 700; color: var(--deep); }
.fc-tab table { width: 100%; max-width: 420px; margin-top: 10px; border-collapse: collapse; }
.fc-tab th, .fc-tab td { padding: 6px 10px; border-bottom: 1px solid var(--hair); text-align: right; font-variant-numeric: tabular-nums; }
.fc-tab th:first-child { text-align: left; }
.fc-tab thead th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8C938F; }

/* ------------------------------------------------------------------ known gaps */
.gp { list-style: none; margin: 0; padding: 6px 26px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.gp li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: 16px 0; }
.gp li + li { border-top: 1px solid var(--hair); }
.gp b { font: 700 16px/1.4 "Shippori Mincho", serif; color: var(--deep); }
.gp span { font-size: 14px; line-height: 1.6; color: #4A544F; }

/* the hover label */
.tip { position: fixed; z-index: 30; max-width: 280px; padding: 8px 11px; border-radius: 10px; background: var(--deeper); color: #fff; font-size: 12.5px; line-height: 1.45; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); pointer-events: none; }

/* ------------------------------------------------------------------ the way in */
.cv-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 56px; padding: 30px 34px; border-radius: 10px; color: #fff; background: radial-gradient(60% 120% at 100% 0%, #115446 0%, #0A3F35 50%, #072E27 100%); border: 1px solid rgba(226,199,127,.3); }
.cv-cta h2 { margin: 0; font: 700 24px/1.3 "Shippori Mincho", serif; color: #fff; }
.cv-cta p { margin: 8px 0 0; max-width: 620px; font-size: 14.5px; color: rgba(255,255,255,.72); }
.cv-cta-go { display: flex; align-items: center; gap: 12px; flex: none; }
.cv-key { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 42px; padding: 0 18px 0 6px; border-radius: 10px; background: var(--gold); color: var(--deeper); font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: .01em; transition: background-color .15s ease; }
.cv-key:hover { background: #D4B25F; }
.cv-key:focus-visible, .cv-doc:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 2px; }
.cv-g { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: #fff; }
.cv-g svg { width: 17px; height: 17px; }
.cv-doc { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 14px; font-weight: 700; transition: border-color .15s ease; }
.cv-doc:hover { border-color: var(--gold-lt); }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1100px) {
.cv-top-in { flex-direction: column; align-items: flex-start; gap: 28px; }
.cv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* narrower screens show the most recent years, never a sideways scroll */
.gr-r > .gc:nth-last-child(n+25), .gr-r > .gr-y:nth-last-child(n+25) { display: none; }
}
@media (max-width: 960px) {
.cv-hd { flex-direction: column; align-items: flex-start; gap: 10px; }
.cv-hd > p { text-align: left; }
.gp li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.cv-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
.cv-in { padding: 0 16px; }
.cv-top-in { padding-top: 28px; padding-bottom: 88px; }
.cv-top h1 { font-size: 32px; }
.cv-facts { grid-template-columns: repeat(2, auto); row-gap: 16px; }
.cv-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
.cv-facts dt { font-size: 22px; }
.cv-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: -64px; }
.cv-hd h2 { font-size: 25px; }
.gr { padding: 6px 12px 10px; }
.gr-name { width: 120px; font-size: 12.5px; }
.gr-r > .gc:nth-last-child(n+13), .gr-r > .gr-y:nth-last-child(n+13) { display: none; }
.gc, .gr-y { width: 14px; }
.gc { height: 14px; }
.gr-r { height: 20px; }
.gr-early, .gr-name small { display: none; }
.fc { padding: 20px 14px 14px; }
.fc-plot { gap: 4px; }
.fc-v { font-size: 9.5px; }
.fc-y { font-size: 9.5px; }
.gp { padding: 4px 16px; }
.cv-cta { padding: 24px 20px; }
.cv-cta h2 { font-size: 21px; }
.cv-cta-go { flex-wrap: wrap; }
}
