/* The home page: the carousel, the category chips, the shelves and their arrows, the charts and the founding publishers. */
.hero { position: relative; border-radius: 14px; overflow: hidden; background: #0c1420; min-height: 372px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); margin: 0 0 20px; }
.hero > .pic { background: radial-gradient(70% 100% at 82% 0%, var(--tint), transparent 66%), repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px), linear-gradient(160deg, color-mix(in srgb, var(--tint) 62%, #0c1420), color-mix(in srgb, var(--tint) 24%, #0c1420)); }
.hfade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 12, 19, 0.97) 0, rgba(7, 12, 19, 0.88) 42%, rgba(7, 12, 19, 0.12) 100%), linear-gradient(to top, rgba(7, 12, 19, 0.92), rgba(7, 12, 19, 0) 50%); }
.htile { position: absolute; top: 34px; right: 44px; width: 140px; height: 140px; border-radius: 30px; overflow: hidden; display: grid; place-items: center; background: var(--tint); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.24); }
.htile.pictured { background: rgba(255, 255, 255, 0.14); }
.htile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.htile .ltr { font-size: 84px; }
.hbody { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; min-height: 372px; padding: 34px clamp(20px, 4vw, 44px) 62px; max-width: 760px; }
.kick { font-size: 13px; color: var(--accT); }
.htitle { margin: 0; font-size: clamp(40px, 6.5vw, 68px); line-height: 1; letter-spacing: 0.03em; color: #f4f8fc; overflow-wrap: anywhere; }
.hmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; }
.hline { margin: 0; max-width: 56ch; font-size: 16px; color: #d4dde8; }
.hsig { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--dim); font-size: 13.5px; }
.hact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.hnav { position: absolute; right: 16px; bottom: 10px; display: flex; align-items: center; gap: 4px; }
.hn { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(7, 12, 19, 0.55); color: #e8eef5; }
.hn:hover { border-color: #7cc4ff; color: #7cc4ff; }
.dotb { width: 34px; height: 32px; display: grid; place-items: center; border: 0; background: none; padding: 0; }
.dotb i { display: block; width: 22px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.34); transition: background 0.15s, width 0.15s; }
.dotb[aria-current='true'] i { width: 30px; background: #7cc4ff; box-shadow: 0 0 10px rgba(62, 166, 255, 0.7); }

.chiprow { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px 4px 12px; scrollbar-width: none; }
.chiprow::-webkit-scrollbar { display: none; }
.chip { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 13.5px; min-height: 36px; }
.chip .ic { color: var(--accT); }
.chip:hover { border-color: var(--acc); background: var(--hover); box-shadow: 0 0 14px var(--glow); }
.chip b { min-width: 22px; padding: 0 7px; border-radius: 999px; background: var(--bg0); border: 1px solid var(--line); color: var(--dim); font: 600 11.5px/18px var(--font); text-align: center; letter-spacing: 0; }

.shelfwrap { position: relative; }
.shelf { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 6px; padding: 12px 6px 16px; scrollbar-width: none; -ms-overflow-style: none; }
.shelf::-webkit-scrollbar { display: none; }
.shelf .cap { flex: 0 0 288px; scroll-snap-align: start; }
.arr { position: absolute; top: 50%; z-index: 5; width: 40px; height: 40px; margin-top: -30px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--raised); color: var(--text); display: grid; place-items: center; box-shadow: var(--shadow); }
.arr:hover { border-color: var(--acc); color: var(--accT); }
.arr.l { left: -16px; }
.arr.r { right: -16px; }
.prog { height: 3px; margin: 2px 6px 0; border-radius: 3px; background: var(--line); position: relative; }
.thumb { position: absolute; top: 0; bottom: 0; width: 100%; border-radius: 3px; background: var(--acc); box-shadow: 0 0 10px var(--glow); }

.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 20px; margin-top: 12px; }
.chart { padding: 14px 16px 8px; }
.chart h3 { margin: 0; font-size: 17px; }
.chart .how { margin: 2px 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.chart .noj { padding: 10px 0 14px; border-top: 1px solid var(--line); }
.rk { display: grid; grid-template-columns: 26px 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.rn { font-size: 22px; line-height: 1; color: var(--dim); text-align: center; }
.rk.top1 .rn { color: var(--accT); text-shadow: 0 0 12px var(--glow); }
.rt { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--tint); border: 1px solid var(--line); color: #fff; }
.rt.pictured { background: #fff; }
.rt img { width: 100%; height: 100%; object-fit: contain; padding: 5px; display: block; }
.rt .ltr { font-size: 20px; }
.rm2 { display: flex; flex-direction: column; min-width: 0; }
.rm2 a.t1 { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rm2 a.t1:hover { text-decoration: underline; }
.rm2 a.pn { font-size: 12px; font-weight: 500; color: var(--dim); }
.rv { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.rv.dia .ic { color: var(--accT); }
.rv.hrt .ic { color: var(--heart); }

.fnds { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 12px 6px 14px; scrollbar-width: none; }
.fnds::-webkit-scrollbar { display: none; }
.fp { flex: 0 0 232px; scroll-snap-align: start; display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.fa { width: 44px; height: 44px; border-radius: 11px; overflow: hidden; display: grid; place-items: center; background: var(--tint); color: #fff; flex: none; }
.fa .ltr { font-size: 22px; }
.fa img { width: 100%; height: 100%; object-fit: contain; padding: 6px; display: block; background: rgba(255, 255, 255, 0.9); }
.ft { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.ft b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.ft a:hover b { text-decoration: underline; }
.ft .fnd { align-self: flex-start; font-size: 11px; line-height: 16px; padding: 0 8px; }

@media (max-width: 760px) { .htile { display: none; } .hbody { padding-bottom: 70px; } }
@media (max-width: 640px) { .arr { display: none; } }
