/* Public build (build.py --public): page styles for taos.my/showcase inside the Home Cloud shell.
   The shell (/assets/beta/home-cloud.css) owns fonts, colours, nav, footer, .btn and .wrap; this file only lays out
   showcase content under .sc and uses shell tokens (--bg --surf --surf2 --text --muted --line --accent --accent-text
   --nav-bg --r). No colour literals. */
.sc { padding-top: 120px; padding-bottom: 72px; overflow-x: clip; }
.sc section { padding: 0; margin: 3rem 0; }
.sc h1 { font-size: clamp(36px, 5.5vw, 64px); margin: .2rem 0 1rem; }
.sc h2 { font-size: clamp(24px, 3vw, 36px); margin: 0 0 .6rem; }
.sc h3 { font-size: 1.05rem; font-weight: 600; }
.sc a { color: var(--accent-text); }
.sc .btn { color: var(--btn-text); }
.sc .btn.ghost { color: var(--text); }
.sc .muted, .sc .crumbs { color: var(--muted); }
.sc .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 46rem; margin-top: 1rem; }
.sc .kicker { font-family: "Geist Mono", monospace; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-text); }
.sc .subnav { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 1.5rem; }
.sc .subnav a { color: var(--muted); text-decoration: none; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); }
.sc .subnav a[aria-current], .sc .subnav a:hover { color: var(--text); background: var(--surf2); }
.sc .stats { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.4rem; }
.sc .stats div { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: .8rem 1.2rem; min-width: 7.5rem; }
.sc .stats b { display: block; font-size: 1.8rem; font-weight: 600; }
.sc .stats span { color: var(--muted); font-size: .85rem; }
.sc .ctas, .sc .actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.sc .actions { margin-top: auto; padding-top: .4rem; }
.sc .notice { background: var(--surf2); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: .8rem 1rem; margin: 1rem 0; }
.sc .tag.warn { margin: 0; font-family: inherit; text-transform: none; letter-spacing: normal; display: inline-block; font-size: .75rem; font-weight: 600; border-radius: 999px; padding: .1rem .55rem; color: var(--text); border: 1px solid var(--line); background: var(--surf2); }
.sc .strip { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; }
.sc .shot { flex: 0 0 min(85vw, 420px); scroll-snap-align: start; text-decoration: none; color: var(--muted); }
.sc .shot img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--line); display: block; }
.sc .shot span { font-size: .85rem; }
.sc .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.sc .card { position: relative; background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.sc .card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sc .thumb { position: relative; display: block; aspect-ratio: 16/9; background: var(--surf2); }
.sc .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc .thumb:not(.fade) > img { height: auto; aspect-ratio: 16/9; }
.sc .thumb.fade img { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.sc .thumb.fade img:first-child { position: relative; height: auto; aspect-ratio: 16/9; }
.sc .thumb.fade img.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sc .thumb.fade img { transition: none; } }
.sc .noimg { display: grid; place-items: center; height: 100%; color: var(--muted); }
.sc .score, .sc .time { position: absolute; top: .6rem; background: var(--nav-bg); color: var(--text); backdrop-filter: blur(8px);
  font-weight: 600; padding: .2rem .6rem; border-radius: 999px; font-size: .85rem; }
.sc .score { right: .6rem; } .sc .time { left: .6rem; }
.sc .cbody { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.sc .cbody h3 a { color: var(--text); text-decoration: none; }
.sc .chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.sc .chips span { font-size: .78rem; background: var(--surf2); border: 1px solid var(--line); border-radius: 999px; padding: .05rem .55rem; color: var(--muted); }
.sc .chips.lg span { font-size: .9rem; }
.sc .filters { display: flex; gap: 1rem; flex-wrap: wrap; margin: .6rem 0; }
.sc select { background: var(--surf); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: .25rem .5rem; font: inherit; }
.sc .tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.sc table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.sc th, .sc td { padding: .55rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sc th { background: var(--surf2); cursor: pointer; white-space: nowrap; user-select: none; font-weight: 600; }
.sc th[aria-sort="ascending"]::after { content: " \25B2"; } .sc th[aria-sort="descending"]::after { content: " \25BC"; }
.sc .n { text-align: right; font-variant-numeric: tabular-nums; }
.sc tr.s0 td:nth-child(3) { color: var(--muted); text-decoration: line-through; } .sc tr.s1 td:nth-child(3) { color: var(--accent-text); }
.sc code { font-family: "Geist Mono", monospace; font-size: .8rem; word-break: break-word; color: var(--muted); }
.sc .embed { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surf2); }
.sc .embed iframe, .sc .embed img { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.sc .embed .load { position: absolute; inset: auto 0 1rem 0; margin: auto; width: max-content; }
.sc .grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 2rem; }
.sc .metrics { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.sc .metrics dt { color: var(--muted); } .sc .metrics dd { word-break: break-word; }
.sc .shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .8rem; }
.sc .shots img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); }
.sc .shots figcaption { font-size: .8rem; color: var(--muted); }
.sc .steers pre { white-space: pre-wrap; background: var(--surf2); padding: .7rem; border-radius: 10px; border: 1px solid var(--line); font-family: "Geist Mono", monospace; font-size: .85rem; }
.sc .prose { max-width: 50rem; } .sc .prose li { margin: .3rem 0; } .sc .prose p { margin: .8rem 0; } .sc .prose ul, .sc .prose ol { padding-left: 1.3rem; }
@media (max-width: 600px) {
  .sc .stats { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .sc .stats div { min-width: 0; padding: .7rem .9rem; }
  .sc .stats b { font-size: 1.4rem; }
}
