/* You: everything the browser and the request give away, as summary tiles and spec sheets. */

#you [hidden] { display: none; }

/* Logos and glyphs are one-color SVGs used as masks, so they take the text color */
.icon {
  flex: none;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.flag { flex: none; width: 27px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }

/* The six headline facts */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.tile { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 16px 18px 18px; }
.tile-label { color: var(--meta); font: 12px/1.4 var(--mono); }
.tile-main { display: flex; align-items: center; gap: 10px; min-width: 0; margin-top: 4px; }
.tile-value { min-width: 0; overflow: hidden; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; text-overflow: ellipsis; white-space: nowrap; }
.tile-sub { overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.tile-sub:empty::before { content: "\00a0"; }

section .section-head { margin-top: 48px; }

/* Spec sheets: small name over the value, in as many columns as fit */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 18px 24px;
  padding: 20px 24px 22px;
}
.spec { display: grid; align-content: start; gap: 2px; min-width: 0; }
.spec.wide { grid-column: 1 / -1; }
.spec-name { color: var(--muted); font-size: 13px; }
.spec-value { font-size: 15px; overflow-wrap: anywhere; }
.spec-value.mono { font: 14px/1.5 var(--mono); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 20px; }
.tags .tag { white-space: normal; }

.headers { display: grid; gap: 10px; padding: 18px 24px; font: 13px/1.55 var(--mono); }
.header { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 2px 20px; }
.header-name { color: var(--muted); }
.header-value { color: var(--soft); overflow-wrap: anywhere; }

.credit { margin-top: 32px; }
.credit a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 860px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
  .tile { padding: 14px 14px 16px; }
  .tile-value { font-size: 16px; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 16px; }
  .tags { padding: 14px 16px; }
  .headers { padding: 16px; }
  .header { grid-template-columns: minmax(0, 1fr); }
}
