/* Quote card, one design everywhere (owner requests 2026-10-23): the Active
   tabs, the football player pages and the sign-in page. One small title row
   (quote mark, label, theme chip), the line in bold, at most three lines
   (2026-10-24: French lines need three; a longer line opens in full on a tap,
   quote.mjs), in a card of fixed height so nothing moves when it is filled, and near the end edge
   three plain rings (the page's text colour, faint) with the
   PlayerTrack360 / Football Tracker mark in its middle, drawn in the accent
   colour so it follows every theme. Compact on phones (on the Active Record
   tab Start must stay on screen); larger on wide screens. Fallbacks keep
   Pitch green on pages without theme variables. */
.daily-quote-card{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;margin:0 0 14px;min-height:calc(4.75rem + 22px);
  padding:8px 78px 9px 12px;border:1px solid rgb(var(--accent-rgb,88 244 150) / .45);border-radius:16px;
  background:radial-gradient(130% 160% at 0% 0%,rgb(var(--accent-rgb,88 244 150) / .3),transparent 58%),
    radial-gradient(70% 120% at 100% 50%,rgb(var(--accent2-rgb,155 255 197) / .16),transparent 70%),
    linear-gradient(135deg,var(--panel2,#153725),var(--panel));
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .1),0 10px 28px rgb(var(--accent-rgb,88 244 150) / .18),0 6px 16px rgb(0 0 0 / .22)}
[dir=rtl] .daily-quote-card{padding:8px 12px 9px 78px}
html[data-tone="light"] .daily-quote-card{box-shadow:inset 0 1px 0 rgb(255 255 255 / .6),0 10px 26px rgb(var(--accent-rgb) / .18),0 6px 14px rgb(0 0 0 / .07)}
.daily-quote-body{min-width:0;flex:1}
.daily-quote-label{display:flex;align-items:center;gap:6px;margin:0 0 3px;min-width:0;min-height:2em;color:var(--green);font-size:.6rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
.daily-quote-mark{height:.42em;color:var(--green);font:900 1.7rem/.55 Georgia,"Times New Roman",serif;text-shadow:0 0 16px rgb(var(--accent-rgb,88 244 150) / .6)}
.daily-quote-theme{display:inline-flex;align-items:center;gap:4px;min-width:0;overflow:hidden;text-overflow:ellipsis;padding:1px 8px 1px 5px;border:1px solid rgb(var(--accent-rgb,88 244 150) / .35);border-radius:999px;
  background:rgb(var(--accent-rgb,88 244 150) / .14);color:var(--text);font-size:.6rem;font-weight:800;letter-spacing:.02em;text-transform:none}
/* Its space is kept until the theme is known, so the card does not grow. */
.daily-quote-theme[hidden]{display:inline-flex;visibility:hidden}
.daily-quote-theme svg{flex:0 0 auto;width:12px;height:12px;fill:none;stroke:var(--green);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.daily-quote{margin:0;color:var(--text);font-size:.92rem;font-weight:800;line-height:1.28;letter-spacing:-.01em;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;
  opacity:0;transform:translateY(4px);transition:opacity .5s ease,transform .5s ease}
.daily-quote.ready{opacity:1;transform:none}
.daily-quote-card.can-expand{cursor:pointer}
.daily-quote-card.expanded .daily-quote{-webkit-line-clamp:unset;display:block}
.daily-quote-card:focus-visible{outline:3px solid var(--green);outline-offset:2px}
/* Three plain rings, whole, near the end edge (owner 2026-10-24: the logo in
   the middle of the three rings). */
.quote-rings{position:absolute;z-index:-1;inset-inline-end:12px;top:50%;width:56px;height:56px;transform:translateY(-50%);border-radius:50%;
  border:3px solid rgb(var(--line-rgb,239 252 242) / .26);pointer-events:none}
.quote-rings::before,.quote-rings::after{content:"";position:absolute;border-radius:50%}
.quote-rings::before{inset:3px;border:3px solid rgb(var(--line-rgb,239 252 242) / .18)}
.quote-rings::after{inset:9px;border:3px solid rgb(var(--line-rgb,239 252 242) / .12)}
/* The mark exactly in the middle of the rings. */
.quote-logo{position:absolute;z-index:1;left:50%;top:50%;width:22px;height:9px;transform:translate(-50%,-50%);
  background:var(--green);-webkit-mask:url(/football-tracker-icon.svg) center/contain no-repeat;mask:url(/football-tracker-icon.svg) center/contain no-repeat;
  filter:drop-shadow(0 0 4px rgb(var(--accent-rgb,88 244 150) / .55))}
@media(prefers-reduced-motion:reduce){.daily-quote{transition:none;transform:none}}

.auth-quote-card{width:100%;max-width:440px;margin:10px auto 0;text-align:start}
@media(min-width:720px){
  .daily-quote-card{min-height:96px;padding:14px 104px 16px 20px;border-radius:20px}
  [dir=rtl] .daily-quote-card{padding:14px 20px 16px 104px}
  .daily-quote-label{font-size:.68rem;margin-bottom:6px}
  .daily-quote-mark{font-size:2.2rem}
  .daily-quote-theme{font-size:.68rem;padding:2px 10px 2px 6px}
  .daily-quote-theme svg{width:14px;height:14px}
  .daily-quote{font-size:clamp(1.1rem,1.6vw,1.4rem)}
  .quote-rings{inset-inline-end:16px;width:76px;height:76px;border-width:4px}
  .quote-rings::before{inset:4px;border-width:4px}
  .quote-rings::after{inset:12px;border-width:4px}
  .quote-logo{width:30px;height:12px}
}
