/* Coming soon: tech plates as store cards: what it does first, details on tap. */
.tcx-head { max-width: 760px; margin-bottom: 28px; }
.tcx-note { margin-top: 10px; }
.tcx-filter { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin: 0 calc(var(--gutter) * -1) 22px; padding-inline: var(--gutter); }
.tcx-filter::-webkit-scrollbar { display: none; }
.tcx-chip { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 216, 163, .22); background: transparent; color: var(--bone); font: 500 14px/1 var(--f-body); white-space: nowrap; }
.tcx-chip[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.tcx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tcx-card { --c: rgba(255, 216, 163, .8); }

.tcx-card__btn {
  position: relative; display: flex; flex-direction: column; gap: 8px; width: 100%; height: 100%; padding: 10px 10px 14px; text-align: left;
  border-radius: 16px; border: 1px solid color-mix(in oklab, var(--c) 55%, transparent); background: linear-gradient(180deg, #121317, #0b0c0e); color: var(--bone);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), 0 18px 40px -24px color-mix(in oklab, var(--c) 60%, transparent);
  transition: transform .3s var(--ease-out), border-color .3s;
}
.tcx-card__btn:hover { transform: translate3d(0, -4px, 0); border-color: var(--c); }
.tcx-card__top { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-dark); }

.tcx-card__img { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #08090b; }
.tcx-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.tcx-card__name { font: 600 22px/1.02 var(--f-display); text-transform: none; margin-top: 2px; letter-spacing: -.035em; }
.tcx-card__tag { font-size: 14px; line-height: 1.4; color: var(--mute-dark); }
.tcx-card__foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 6px; font-size: 11px; color: rgba(255, 216, 163, .7); }
.tcx-card__foot b { font: 600 24px/1 var(--f-display); color: var(--c); letter-spacing: -.035em; }

.tcx-dlg { padding: 0; border: 0; background: transparent; color: var(--bone); width: 100%; max-width: none; height: 100%; max-height: none; }
.tcx-dlg::backdrop { background: rgba(4, 5, 6, .82); }
.tcx-dlg__panel { width: min(1080px, calc(100% - 20px)); max-height: calc(100% - 20px); overflow: auto; margin: 10px auto; padding: 18px; border-radius: 18px; background: #0d0e11; border: 1px solid rgba(255, 216, 163, .14); }
.tcx-dlg__bar { display: flex; justify-content: space-between; align-items: center; }
.tcx-dlg__grp { margin: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 216, 163, .75); }
.tcx-dlg__x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 216, 163, .25); background: transparent; color: var(--bone); }
.tcx-dlg__t { font: 600 clamp(28px, 4vw, 44px)/1 var(--f-display); text-transform: none; margin: 6px 0 8px; letter-spacing: -.035em; }
.tcx-dlg__tag { color: var(--mute-dark); max-width: 60em; margin: 0 0 16px; }
.tcx-dlg__pops { display: grid; gap: 12px; }
.tcx-pop { margin: 0; }
.tcx-pop img { width: 100%; height: auto; border-radius: 12px; background: #08090b; }
.tcx-pop figcaption { margin-top: 6px; font-size: 11px; color: var(--mute-dark); }
.tcx-dlg .tcx-pop { opacity: 0; transform: translate3d(0, 24px, 0) scale(.98); transition: opacity .5s var(--ease-out), transform .7s var(--ease-spring); transition-delay: calc(var(--k) * 140ms + 60ms); }
.tcx-dlg.is-in .tcx-pop { opacity: 1; transform: none; }
.tcx-specs { display: grid; gap: 8px 22px; margin: 18px 0 0; }
.tcx-specs div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding-top: 8px; border-top: 1px solid rgba(255, 216, 163, .1); }
.tcx-specs dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 216, 163, .7); }
.tcx-specs dd { margin: 0; font-size: 14px; color: var(--bone); }
@media (min-width: 900px) { .tcx-dlg__pops { grid-template-columns: 1fr 1fr; } .tcx-specs { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .tcx-dlg .tcx-pop { opacity: 1; transform: none; } .tcx-card__btn:hover { transform: none; } }

.tcx-card__aha { font-size: 16px; line-height: 1.35; color: var(--bone); font-weight: 500; }
.tcx-card__btn { border-color: rgba(255, 216, 163, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03); }
.tcx-card__btn:hover { border-color: rgba(255, 216, 163, .45); }
.tcx-card__img { aspect-ratio: 4 / 3; }
.tcx-card__img img { object-position: 94% 50%; }

.tcx-card__img { aspect-ratio: 1 / 1; }
.tcx-card__img img { object-position: 100% 50%; }

.tcx-card__img img { transform: scale(1.32); transform-origin: 80% 50%; }


/* 3D plate heroes (square, with the part shown in a corner) */
#s-tech .tcx-card__img { aspect-ratio: 1 / 1; }
#s-tech .tcx-card__img img { object-position: 50% 50%; transform: none; }

/* QA: page stays put behind the pop-up; close button stays in reach on phones; two columns on phones; chips wrap on desktop */
html:has(#s-tech-dlg[open]), html:has(#s-plates-lb[open]) { overflow: hidden; }
.tcx-dlg, .tcx-dlg__panel { overscroll-behavior: contain; }
.tcx-dlg__bar { position: sticky; top: -18px; z-index: 2; background: #0d0e11; padding-top: 18px; }
@media (max-width: 600px) {
  #s-tech .tcx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #s-tech .tcx-card__tag, #s-tech .tcx-card__when { display: none; }
  #s-tech .tcx-card { padding: 8px; }
  #s-tech .tcx-card h3, #s-tech .tcx-card__t { font-size: 16px; }
  #s-tech .tcx-filter { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
}
@media (min-width: 900px) { #s-tech .tcx-filter { flex-wrap: wrap; overflow: visible; } }
@media (max-width: 600px) { #s-tech .tcx-card__name { font-size: 16px; } #s-tech .tcx-card__aha { font-size: 13px; } #s-tech .tcx-card__when, #s-tech .tcx-card__top { display: none; } }

/* connection badge on plates that talk to the phone */
#s-tech .tcx-card__top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
#s-tech .tcx-conn { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 999px; font-size: 10px; letter-spacing: .06em; color: #9cc8ff; border: 1px solid rgba(120,170,255,.35); background: rgba(80,140,255,.08); white-space: nowrap; }
@media (max-width: 600px) { #s-tech .tcx-card__top { display: flex; } #s-tech .tcx-card__top > .t-mono:first-child { display: none; } }
@media (max-width: 600px) { #s-tech .tcx-card__foot b { font-size: 18px; white-space: nowrap; } #s-tech .tcx-card__foot .t-mono { white-space: nowrap; font-size: 11px; } }

#s-tech .tcx-thick { display: grid; gap: 14px; margin: 22px 0 8px; }
@media (min-width: 760px) { #s-tech .tcx-thick { grid-template-columns: 1fr 1fr; } }
#s-tech .tcx-thick figure { margin: 0; }
#s-tech .tcx-thick img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(255,255,255,.07); }
#s-tech .tcx-thick figcaption { margin-top: 8px; font-size: 11px; letter-spacing: .1em; color: var(--mute); text-transform: uppercase; }
