/* Gerade im Trend (W3-D, 13.11.2026; drawn by public/trend-list.js, data from src/trend-list.js). Linked by public/landing.html only
   with TRENDING=on, so without the switch the start page keeps every rule it had. Jupiter's ten trending Solana coins in the place
   of the example card: a box like the Lage (graphite head with the title in lime, „Stand vor …“ at its end, 1.5 px rule around),
   ten rows of fixed height, the list holding its height before the first answer, so nothing below moves when the coins arrive. Each
   row is one button: rank, name and $ticker, the pill „Sofort prüfen“; then the change in the last hour (the only colour, --up and
   --down), age and market cap; then the marks, paid boosts first. Foot: the source and the sentence that a trend is no
   recommendation. Phones (≤ 900 px): five rows and „Alle 10 zeigen“. Logical properties only (RTL), colours only from
   public/style.css, no fade with reduced motion. */

/* With the block in the hero, the example card and the line „Kein Coin zur Hand? …“ give way (real coins instead of the made-up
   one); without it (no list, or one older than 15 minutes: public/trend-list.js sets [hidden]) all is as before. */
.s-stage:has(> .s-trend:not([hidden])) .s-demo,
.s-hero:has(.s-trend:not([hidden])) :is(#try-mark,#try-sample){display:none!important}
/* The list needs more room than the card: from 1200 px the hero's columns 0.9 : 1.1 (narrower, the hero's field would cut its own
   "Contract-Adresse einfügen", seen at 1024 px). */
@media (min-width:1200px){.s-hero:has(.s-trend:not([hidden])){grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}}

/* --trend-row: the height of every row; --trend-rows: the rows the list keeps room for (five on a phone until „Alle 10 zeigen“). */
.s-trend{--trend-rows:10;container-type:inline-size;position:relative;border:1.5px solid var(--rule);border-radius:16px;background:var(--surface);box-shadow:0 46px 90px -52px oklch(0.3 0.06 135 / .55),0 1px 0 var(--line-soft);overflow:hidden}
.s-trend-head{display:flex;flex-wrap:wrap;align-items:center;gap:2px 12px;min-block-size:40px;padding-block:8px;padding-inline:16px 14px;background:var(--graphite)}
.s-trend .s-trend-head h2{margin:0;font:700 12px/1.3 var(--sans);letter-spacing:.1em;text-transform:uppercase;text-wrap:nowrap;color:var(--lime)}
.s-trend-chain{color:var(--on-dark-muted)}
.s-trend-at{margin:0;margin-inline-start:auto;font:500 12.5px/1.3 var(--sans);font-variant-numeric:tabular-nums;color:var(--on-dark-muted);white-space:nowrap}

/* 74 px: the pill's 32 px on line 1, two lines of 16 px under it (13.11.2026, W3-E: the rows were 62 px with a pill of 22 px). */
.s-trend-list{--trend-row:74px;margin:0;padding:0;list-style:none;min-block-size:calc(var(--trend-rows) * var(--trend-row))}
/* Before the first answer: the rows' lines on a slow shimmer, as the tiles of the example card wait. */
.s-trend-list[aria-busy="true"]{background:repeating-linear-gradient(to bottom,transparent 0 calc(var(--trend-row) - 1px),var(--line-soft) calc(var(--trend-row) - 1px) var(--trend-row)),linear-gradient(90deg,var(--surface-2) 25%,var(--surface) 50%,var(--surface-2) 75%);background-size:100% 100%,200% 100%;animation:shimmer 1.4s linear infinite}
.s-trend-item{block-size:var(--trend-row);border-block-start:1px solid var(--line-soft)}
.s-trend-item:first-child{border-block-start:0}
.s-trend-row{display:grid;grid-template-columns:1.6em minmax(0,1fr) auto;grid-template-areas:"rank coin go" ". facts facts" ". marks marks";align-content:center;column-gap:8px;inline-size:100%;block-size:100%;margin:0;padding-block:4px;padding-inline:12px;border:0;border-radius:0;background:none;color:var(--fg);font:inherit;text-align:start;cursor:pointer;transition:background-color .15s var(--ease)}
.s-trend-row:hover{background:var(--lime-wash)}
.s-trend-row:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.s-trend-row[aria-busy="true"]{cursor:progress}
.s-trend-rank{grid-area:rank;align-self:center;font:600 12px var(--mono);font-variant-numeric:tabular-nums;color:var(--faint)}
/* Name and ticker in one line; a long name ends in "…" (the server cuts at 40 characters, the row at its width). */
.s-trend-coin{grid-area:coin;align-self:center;min-inline-size:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14.5px;line-height:1.35}
.s-trend-name{font-weight:650}
.s-trend-ticker{margin-inline-start:7px;font:500 12.5px var(--mono);color:var(--muted)}
/* The pill reads as the row's button (the whole row is one): at least 32 px high with a mouse, 44 px to tap (below; review of W3-D,
   13.11.2026: 22 px). */
.s-trend-go{grid-area:go;align-self:center;display:inline-flex;align-items:center;justify-content:center;min-block-size:32px;padding-block:0;padding-inline:13px;border-radius:999px;background:var(--graphite);color:var(--lime);font:650 12.5px/1.2 var(--sans);white-space:nowrap}
.s-trend-row:hover .s-trend-go{background:var(--fg)}
.s-trend-facts,.s-trend-marks{min-inline-size:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.35;color:var(--muted)}
.s-trend-facts{grid-area:facts}
.s-trend-marks{grid-area:marks}
/* The dot between two facts is the next fact's ::before (each fact stays one text for the translation). */
.s-trend-facts>span+span::before,.s-trend-marks>span+span::before{content:"·";padding-inline:.45em;color:var(--faint)}
.s-trend-up,.s-trend-down{font-weight:600}
.s-trend-up{color:var(--up)}
.s-trend-down{color:var(--down)}
.s-trend-paid{font-weight:600;color:var(--fg)}
/* The guest report used (W4B, 13.11.2026): ten pills „Konto anlegen, 3 Coins gratis“ one under the other pressed (five on a phone, each
   row 108 px there). Now one quiet line on top in the lime wash of the guest bar, /vorschau's sentence and one graphite button to the
   sign-up; the rows keep their height and a small outlined „Sofort prüfen“ (the same way, the sign-up with the coin kept). The line is
   made once when the state arrives and never touched by the refresh, so the rows do not move after that. */
.s-trend-used{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding-block:10px;padding-inline:16px 14px;border-block-end:1px solid var(--line-soft);background:var(--lime-wash)}
.s-trend-used-text{flex:1 1 18em;min-inline-size:0;margin:0;font-size:13px;line-height:1.45;color:var(--fg)}
.s-trend-account{display:inline-flex;align-items:center;justify-content:center;min-block-size:36px;padding-block:0;padding-inline:16px;border-radius:999px;background:var(--graphite);color:var(--lime);font:650 13px/1.2 var(--sans);text-decoration:none;white-space:nowrap}
.s-trend-account:hover{background:var(--fg)}
.s-trend-account:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.s-trend.is-used .s-trend-go{background:var(--surface);color:var(--fg);box-shadow:inset 0 0 0 1.5px var(--rule)}
.s-trend.is-used .s-trend-row:hover .s-trend-go{background:var(--graphite);color:var(--lime)}
/* A row with another coin than before fades in once; the others keep still. */
.s-trend-item.is-new .s-trend-row{animation:s-trend-in .6s var(--ease)}
@keyframes s-trend-in{from{opacity:.2}}

.s-trend-more{display:flex;align-items:center;justify-content:center;inline-size:100%;min-block-size:44px;margin:0;padding:8px 14px;border:0;border-block-start:1px solid var(--line-soft);background:var(--surface-2);color:var(--green-ink);font:650 14px var(--sans);cursor:pointer}
.s-trend-more:hover{background:var(--lime-wash)}
.s-trend-more:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.s-trend-foot{padding-block:9px 11px;padding-inline:16px;border-block-start:1px solid var(--line);background:var(--surface-2);font-size:12px;line-height:1.45;color:var(--muted)}
.s-trend-foot p{margin:0}
.s-trend-note{margin-top:2px;color:var(--faint)}

/* To tap (touch screens of any width): the pill 44 px, the row 86 px (44 + two lines of 16 + padding). */
@media (pointer:coarse){
  .s-trend-list{--trend-row:86px}
  .s-trend-go,.s-trend-account{min-block-size:44px}
}
/* A narrow box (a phone: 342 px at 390): lines 2 and 3 start under the rank and are a little smaller, so a whole line of facts
   ("+19 % in 1 Std. · 19 Tage alt · 17 Mio. $ Market Cap") fits instead of ending in "Market C…" (first look, 13.11.2026). The pill is
   44 px on a phone with or without touch, the row 84 px (44 + two lines of 15.5 + padding). */
@container (max-width:419px){
  .s-trend-list{--trend-row:84px}
  .s-trend-row{grid-template-columns:1.4em minmax(0,1fr) auto;grid-template-areas:"rank coin go" "facts facts facts" "marks marks marks"}
  .s-trend-go{min-block-size:44px}
  .s-trend-facts,.s-trend-marks{font-size:11.5px}
  .s-trend-account{min-block-size:44px}
}
/* Narrower still (a phone of 360 px and less): the facts may take two lines, every row is that much taller (measured: at 360 px three
   of five rows ended in "…", at 320 px all five). */
@container (max-width:339px){
  .s-trend-list{--trend-row:100px}
  .s-trend-facts{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;white-space:normal}
}
/* Wide screens: Lupo's lens lies over the box's lower start corner (as over the example card). He stands 24 px lower than at the
   card, so the lens lies on the foot and not on the last coin (first look 13.11.2026: its ring touched "1,5 % organisch"), and the
   foot's text starts after it. */
@media (min-width:901px){
  .s-trend-more{display:none}
  .s-trend-foot{padding-inline-start:58px}
  .s-stage:has(> .s-trend:not([hidden])) .s-hero-lupo{bottom:-54px}
}
@media (max-width:900px){
  .s-trend:not(.is-all){--trend-rows:5}
  .s-trend:not(.is-all) .s-trend-item:nth-child(n+6){display:none}
}
@media (prefers-reduced-motion:reduce){
  .s-trend-list[aria-busy="true"],.s-trend-item.is-new .s-trend-row{animation:none}
  .s-trend-row{transition:none}
}
/* Without JavaScript no list ever comes (review of W3-D, 13.11.2026: the empty shimmer stood for good): the block goes and the
   example card, the hero's columns and Lupo stand as without the switch. The rules above see the block in the page, so they are
   answered here with their own selectors. A browser that does not know the feature keeps the block as before. */
@media (scripting:none){
  .s-trend{display:none!important}
  .s-stage:has(> .s-trend:not([hidden])) .s-demo{display:block!important}
}
@media (scripting:none) and (min-width:1200px){.s-hero:has(.s-trend:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media (scripting:none) and (min-width:901px){.s-stage:has(> .s-trend:not([hidden])) .s-hero-lupo{bottom:-30px}}
