/* assets/home-results.css — THE GOLD RESULT CARDS on the Classic homepage (rebuilt 11 Nov 2026). Markup: includes/home_results.php.
   Owner: "I didn't like the whole big section for results. Premium gold cards needed." No big panel any more: a short
   heading and one row of gold cards the size of a bank card. The row moves by itself (the script), each card has a soft
   light that runs across it. No blur, only transform / opacity move, nothing moves on weak phones or with "reduce motion". */

.gr { position: relative; margin-top: 4px; }
.gr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 22px; flex-wrap: wrap; padding: 0 2px; }
.gr-kick { display: inline-flex; align-items: center; gap: 8px; font: 800 11.5px/1 Inter, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #8a5f00; }
.gr-kick i { width: 18px; height: 10px; border-radius: 2px; background: linear-gradient(135deg, #f9e39a, #d19e25 55%, #f3d778); box-shadow: 0 0 0 1px #b98a1e inset; }
.gr-tt h2 { margin: 7px 0 0; font: 800 clamp(20px, 2.6vw, 27px)/1.15 "Bricolage Grotesque", Inter, system-ui, sans-serif; letter-spacing: -.02em; color: var(--ink, #14122b); text-transform: none; }
.gr-side { display: flex; align-items: center; gap: 10px; }
.gr-stat { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px 6px; border-radius: 999px; background: var(--card, #fff); border: 1px solid var(--line, #e7e4f5); color: var(--ink, #14122b); }
.gr-stat b { font: 400 19px/1 Anton, Impact, "Arial Narrow Bold", sans-serif; letter-spacing: .01em; }
.gr-stat small { font: 700 11px/1 Inter, system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--mute, #6b6890); }
.gr-stat.top { background: linear-gradient(135deg, #fbe9a6, #e9c04b 55%, #f6dc82); border-color: #c9982c; color: #3d2b02; }
.gr-stat.top small { color: #6b4c05; }
.gr-arrows { display: inline-flex; gap: 6px; margin-inline-start: 2px; }
.gr-arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--card, #fff); color: var(--ink, #14122b); border: 1px solid var(--line, #e7e4f5); transition: transform .2s, background .2s, color .2s, border-color .2s; }
.gr-arrow:hover { background: #3d2b02; color: #ffd76a; border-color: #3d2b02; transform: scale(1.06); }
.gr-arrow:active { transform: scale(.94); }
.gr-arrow:focus-visible { outline: 3px solid #f0b429; outline-offset: 2px; }
[dir="rtl"] .gr-arrow svg { transform: scaleX(-1); }

.gr-scroller { position: relative; overflow-x: auto; overflow-y: hidden; margin: 6px -14px 0; padding: 14px 14px 26px; cursor: grab; outline: none; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); }
.gr-scroller::-webkit-scrollbar { display: none; }
.gr-scroller.drag { cursor: grabbing; user-select: none; }
.gr-scroller:focus-visible { box-shadow: inset 0 0 0 2px rgba(240,180,41,.7); border-radius: 22px; }
.gr-track { display: flex; gap: 14px; width: max-content; }

/* ── one gold card ── */
.gc { position: relative; flex: 0 0 auto; width: 316px; height: 196px; border-radius: 18px; overflow: hidden; isolation: isolate; color: #3d2b02;
  display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 0 14px; padding: 15px 16px 0;
  background:
    repeating-linear-gradient(98deg, rgba(255,255,255,.085) 0 1px, rgba(255,255,255,0) 1px 3px),
    radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.55), rgba(255,255,255,0) 46%),
    linear-gradient(132deg, #fbe7a0 0%, #e8bf48 26%, #f8df8a 48%, #d6a532 72%, #c08d22 88%, #e9c85e 100%);
  border: 1px solid #b98a1e;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(120,80,0,.35), 0 18px 26px -18px rgba(130,90,0,.75), 0 2px 5px -2px rgba(60,40,0,.3);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.gc::after { content: ""; position: absolute; inset: 5px; border-radius: 13px; border: 1px solid rgba(255,255,255,.5); box-shadow: 0 0 0 1px rgba(150,105,10,.28); pointer-events: none; z-index: 3; }
.gc:hover { transform: translateY(-5px); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(120,80,0,.35), 0 26px 32px -18px rgba(130,90,0,.85), 0 4px 8px -3px rgba(60,40,0,.35); }
.gr-scroller.drag .gc { transform: none; }
/* the light that runs across the card */
.gc-shine { position: absolute; z-index: 2; top: -20%; bottom: -20%; left: 0; width: 46%; pointer-events: none; opacity: 0; transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.7) 50%, rgba(255,255,255,0)); }
.gr.in .gc-shine { animation: gc-shine 6.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .55s + .4s); }
.gc:hover .gc-shine { animation: gc-shine-1 .9s ease-out 1; }
@keyframes gc-shine { 0% { opacity: 0; transform: translateX(-120%) skewX(-18deg); } 4% { opacity: 1; } 16% { opacity: 1; transform: translateX(330%) skewX(-18deg); } 17%, 100% { opacity: 0; transform: translateX(330%) skewX(-18deg); } }
@keyframes gc-shine-1 { 0% { opacity: 1; transform: translateX(-120%) skewX(-18deg); } 100% { opacity: 1; transform: translateX(330%) skewX(-18deg); } }

/* the report form (tap to see it big) */
.gc-form { position: relative; z-index: 4; align-self: start; display: block; width: 92px; height: 130px; border-radius: 7px; overflow: hidden; background: #fffdf5; cursor: zoom-in; transform: rotate(-2.5deg);
  box-shadow: 0 0 0 2px #fff8dc, 0 0 0 3px rgba(150,105,10,.55), 0 12px 16px -10px rgba(60,40,0,.75); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.gc-form img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; -webkit-user-drag: none; user-select: none; }
.gc-form i { position: absolute; right: 5px; bottom: 5px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #3d2b02; color: #ffd76a; box-shadow: 0 2px 5px rgba(0,0,0,.35); transition: transform .25s; }
.gc:hover .gc-form { transform: rotate(0deg) scale(1.04); }
.gc-form:hover i { transform: scale(1.15); }
.gc-form:focus-visible { outline: 3px solid #3d2b02; outline-offset: 3px; }
.gc-form.none { display: grid; place-items: center; cursor: default; background: linear-gradient(160deg, #fff8dc, #f4e2a4); }
.gc-form.none b { font: 400 30px/1 Anton, Impact, sans-serif; color: #b98a1e; }

.gc-main { position: relative; z-index: 4; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.gc-lab { font: 800 10px/1 Inter, system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #6b4c05; }
.gc-band { margin: 3px 0 0; font: 400 66px/.95 Anton, Impact, "Arial Narrow Bold", sans-serif; letter-spacing: .005em;
  background: linear-gradient(180deg, #6a4a06 0%, #2c1d00 58%, #54390a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.6)); }
.gc-band.no { color: #8a6a1a; background: none; }
.gc-sk { list-style: none; margin: auto 0 0; padding: 0 0 2px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; width: 100%; }
.gc-sk li { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 0 4px; border-radius: 8px; background: linear-gradient(180deg, #4a3405, #2b1d02); box-shadow: inset 0 1px 0 rgba(255,235,170,.3), 0 1px 0 rgba(255,255,255,.45); }
.gc-sk span { font: 800 9px/1 Inter, system-ui, sans-serif; letter-spacing: .08em; color: #d9b65a; }
.gc-sk b { font: 800 13.5px/1 Inter, system-ui, sans-serif; color: #ffe9a8; font-variant-numeric: tabular-nums; }
.gc-foot { position: relative; z-index: 4; grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; margin: 0 -16px; padding: 9px 16px 11px; }
.gc-foot b { min-width: 0; font: 800 12.5px/1.1 Inter, system-ui, sans-serif; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #33230a; text-shadow: 0 1px 0 rgba(255,255,255,.55); }
.gc-foot em { flex: none; font: 700 10.5px/1 Inter, system-ui, sans-serif; font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #6b4c05; }

/* the cards rise one after another the first time the row comes on the screen */
.gr .gc { opacity: 0; transform: translateY(18px); }
.gr.in .gc { opacity: 1; transform: none; transition: opacity .5s ease calc(var(--i, 0) * .07s), transform .6s cubic-bezier(.2,.8,.2,1) calc(var(--i, 0) * .07s), box-shadow .3s; }
.gr.in .gc:hover { transform: translateY(-5px); transition-delay: 0s; }
html:not(.lk-js) .gr .gc { opacity: 1; transform: none; }

/* the big picture */
.gr-lb { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 18px; background: rgba(20,14,2,.86); cursor: zoom-out; animation: gr-lb .2s ease; }
.gr-lb[hidden] { display: none; }
.gr-lb img { max-width: min(94vw, 760px); max-height: 92vh; border-radius: 10px; background: #fff; box-shadow: 0 0 0 3px #e9c04b, 0 30px 60px rgba(0,0,0,.6); animation: gr-lb-in .28s cubic-bezier(.2,.8,.2,1); }
.gr-lb button { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; font: 400 28px/1 Inter, system-ui, sans-serif; background: #e9c04b; color: #2b1d02; }
@keyframes gr-lb { from { opacity: 0; } to { opacity: 1; } }
@keyframes gr-lb-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

html.dark .gr-kick { color: #f3cf62; }
html.dark .gr-arrow:hover { background: #e9c04b; color: #2b1d02; border-color: #e9c04b; }

@media (max-width: 720px) {
  .gr-head { align-items: flex-start; }
  .gr-side { width: 100%; }
  .gr-arrows { margin-inline-start: auto; }
  .gc { width: 288px; height: 184px; grid-template-columns: 84px minmax(0, 1fr); gap: 0 12px; padding: 13px 14px 0; border-radius: 16px; }
  .gc-form { width: 84px; height: 119px; }
  .gc-band { font-size: 58px; }
  .gc-foot { margin: 0 -14px; padding: 8px 14px 10px; }
  .gc-foot b { font-size: 11.5px; letter-spacing: .07em; }
}
html.lk-lite .gc-shine, html.lk-hidden .gc-shine { animation: none !important; }
html.lk-lite .gr .gc { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .gc-shine { animation: none !important; } .gr .gc, .gr.in .gc { opacity: 1; transform: none; transition: none; } .gr-lb, .gr-lb img { animation: none; } }
