/* 13b retos (lona): the marketing side of the fan game. AAA's team sets a challenge and its reward in the panel; the
   same challenge appears in the fan's app with the event shirt one tap away. The panel ends at the reward: no results block (no invented numbers, no skeletons).
   Gold marks the one challenge in both places; AAA red only inside the fan's app. */
#retos { overflow: hidden; background: var(--sf-light); color: var(--tx-on-light);
  --ui-brand: #1a1613; --ui-brand-fg: #f6efe2; --ui-brand-soft: rgb(26 22 19 / 0.06); --rt-gold: #c99a3c; }
#retos .rt__wash { position: absolute; z-index: -1; right: -4%; top: 4%; width: 62vw; height: 92vh; pointer-events: none;
  background: radial-gradient(closest-side, rgb(214 176 92 / 0.28), rgb(214 176 92 / 0.08) 55%, transparent 78%); filter: blur(10px); }
#retos .rt__grid { display: grid; grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr); gap: 40px; align-items: center; }
#retos .say { max-width: 17em; }
#retos .rt__chips { display: grid; justify-items: start; gap: 14px; margin-top: 26px; }
#retos .rt__chips .chip { padding: 6px 13px 6px 9px; }
#retos .rt__more { margin: -4px 0 6px; max-width: 22em; font-size: clamp(18px, calc(0.5vw + 12px), 22px); line-height: 1.4; color: var(--tx-on-light-2); }
#retos .rt__base { display: grid; justify-items: start; gap: 8px; max-width: 24em; font-size: clamp(18px, calc(0.5vw + 12px), 22px); line-height: 1.4; color: var(--tx-on-light-2); text-wrap: pretty; }

/* stage: panel left, the fan's phone in front of its lower right corner */
#retos .rt__stage { display: flex; justify-content: flex-end; }
#retos .rt__stage .zoom { zoom: min(var(--z, 1), 1.1); }
#retos .rt__set { position: relative; width: 700px; height: 548px; }

#retos .rt__win { position: absolute; left: 0; top: 0; width: 532px; border-radius: 14px;
  box-shadow: 0 1px 2px rgb(var(--shade) / 0.08), 0 46px 90px -34px rgb(var(--shade) / 0.5), inset 0 0 0 1px rgb(var(--shade) / 0.06); }
#retos .rt__panel { grid-template-columns: 128px minmax(0, 1fr); min-height: 0; }
#retos .rt__panel .m-panel__side { gap: 1px; }
#retos .rt__panel .m-org { font-size: 12.5px; }
#retos .m-nav.is-on svg { stroke: var(--ui-light-tx); }
#retos .rt__main { padding: 14px 16px 16px; }
#retos .m-panel__head { margin-bottom: 12px; }
#retos .m-panel__head h4 { font-size: 16px; }
#retos .rt__acts { display: flex; gap: 6px; }
#retos .m-btn { height: 30px; font-size: 12px; }

#retos .rt__main > :not(.m-panel__head) { max-width: 318px; }
#retos .rt__f { display: grid; gap: 5px; margin-bottom: 11px; }
#retos .rt__f > span:first-child { font-size: 12px; font-weight: 600; color: var(--ui-light-tx); }
#retos .m-field { height: 34px; font-size: 12.5px; color: var(--ui-light-tx); }
#retos .rt__name { justify-content: flex-start; box-shadow: inset 0 0 0 1.5px var(--rt-gold), 0 0 0 4px rgb(201 154 60 / 0.16); font-weight: 500; }
#retos .rt__caret { width: 1.5px; height: 15px; margin-left: 2px; background: var(--ui-light-tx); }
#retos .rt__chev { width: 7px; height: 7px; border-right: 1.5px solid var(--ui-light-tx2); border-bottom: 1.5px solid var(--ui-light-tx2); transform: rotate(45deg) translate(-2px, -2px); }
#retos .rt__pick { display: flex; flex-wrap: wrap; gap: 6px; }
#retos .m-chipsel { font-size: 12px; padding: 5px 10px; white-space: nowrap; }
#retos .rt__item { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 7px 10px 7px 7px; }
#retos .rt__item .m-thumb { width: 40px; height: 40px; }
#retos .rt__item .m-thumb img { object-fit: contain; }
#retos .rt__item b { display: block; font-size: 12.5px; font-weight: 600; }
#retos .rt__item small { display: block; font-size: 11.5px; color: var(--ui-light-tx2); }
#retos .rt__price { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* the link between the two: one gold thread from the challenge field to the fan's card */
#retos .rt__link { position: absolute; left: 447px; top: 66px; width: 90px; height: 56px; z-index: 3; overflow: visible; pointer-events: none; }
#retos .rt__link path { fill: none; stroke: var(--rt-gold); stroke-width: 1.6; stroke-dasharray: 4 4; }
#retos .rt__link circle { fill: var(--rt-gold); }
#retos .rt__tagfan { position: absolute; left: 585px; top: 60px; transform: translateX(-50%); z-index: 3; padding: 4px 11px; border-radius: 99px; background: #1a1613; color: #f3dba0; font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 20px -10px rgb(var(--shade) / 0.6); }

/* the fan's phone (static, app look) */
#retos .rt__phone { position: absolute; left: 470px; top: 96px; z-index: 2; width: 230px; height: 452px; padding: 6px; border-radius: 38px; background: #0b0b0c;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.16), 0 40px 70px -26px rgb(var(--shade) / 0.75), 0 0 0 1px rgb(201 154 60 / 0.25); }
#retos .rt__scr { position: relative; height: 100%; overflow: hidden; border-radius: 32px; padding: 0 12px; background: linear-gradient(180deg, #1a1414 0%, #0f0d0d 46%); color: #f6f1ea; font-size: 11px; line-height: 1.3; }
#retos .rt__isl { position: absolute; top: 8px; left: 50%; width: 66px; height: 19px; margin-left: -33px; border-radius: 12px; background: #000; }
#retos .rt__sbar { display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 4px 10px 0; font-size: 11px; font-weight: 600; }
#retos .rt__bat { width: 20px; height: 9px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.5); background: linear-gradient(90deg, #fff 0 72%, transparent 72%) 2px 2px / 15px 5px no-repeat; }
#retos .rt__top { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 2px 8px; }
#retos .rt__top h5 { font-size: 22px; line-height: 1; font-weight: 300; letter-spacing: -0.02em; }
#retos .rt__top span { font-size: 12px; color: #ecc977; font-weight: 600; }
#retos .rt__new { margin: 0 2px 6px; font-size: 12px; font-weight: 600; color: #ecc977; }
#retos .rt__card { padding: 10px; border-radius: 14px; background: #221b1a; box-shadow: inset 0 0 0 1.5px var(--rt-gold), 0 0 24px -6px rgb(214 176 92 / 0.45); }
#retos .rt__cardh { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 9px; align-items: center; }
#retos .rt__img { width: 46px; height: 46px; border-radius: 10px; background: #fff; overflow: hidden; }
#retos .rt__img img { width: 100%; height: 100%; object-fit: contain; }
#retos .rt__cardh b { display: block; font-size: 12.5px; line-height: 1.25; font-weight: 600; }
#retos .rt__cardh small { display: block; margin-top: 2px; font-size: 12px; color: #b6aca3; }
#retos .rt__prog { --v: 0%; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 7px; margin-top: 9px; font-size: 12px; color: #c9bfb6; font-variant-numeric: tabular-nums; }
#retos .rt__prog i { height: 4px; border-radius: 9px; background: linear-gradient(90deg, #e5383f var(--v), rgb(255 255 255 / 0.12) var(--v)); }
#retos .rt__prog em { font-style: normal; font-weight: 700; color: #ff7a7f; }
#retos .rt__prize { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: #f3dba0; }
#retos .rt__prize svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#retos .rt__buy { display: grid; place-items: center; height: 32px; margin-top: 10px; border-radius: 99px; background: #c81e28; color: #fff; font-size: 12.5px; font-weight: 600; }
#retos .rt__sh { margin: 14px 2px 7px; font-size: 13px; font-weight: 600; }
#retos .rt__row { padding: 8px 10px; border-radius: 12px; background: rgb(255 255 255 / 0.05); margin-bottom: 6px; }
#retos .rt__row b { display: block; font-size: 12.5px; font-weight: 600; }
#retos .rt__prog--sm { margin-top: 6px; }
#retos .rt__home { position: absolute; left: 50%; bottom: 8px; width: 82px; height: 4px; margin-left: -41px; border-radius: 9px; background: rgb(255 255 255 / 0.85); }

@media (min-width: 1600px) { #retos .say { font-size: 25px; } }
@media (max-width: 1100px) {
  #retos .rt__grid { grid-template-columns: minmax(0, 1fr); }
  #retos .rt__stage { justify-content: flex-start; }
  #retos .rt__stage .zoom { zoom: 1; }
}
@media (max-width: 760px) {
  #retos .rt__set { width: 100%; height: auto; display: flex; flex-direction: column; gap: 16px; }
  #retos .rt__win, #retos .rt__phone, #retos .rt__tagfan { position: relative; left: auto; top: auto; }
  #retos .rt__win { width: 100%; }
  #retos .rt__link { display: none; }
  #retos .rt__panel { grid-template-columns: minmax(0, 1fr); } #retos .rt__panel .m-panel__side { display: none; }
}

/* audience dashboard (replaces the challenge form): what the data says, and the challenge it suggests */
#retos .rt__main > :not(.m-panel__head) { max-width: 322px; }
#retos .rt__evsel { height: 30px; padding: 0 10px; gap: 8px; font-size: 12px; white-space: nowrap; }
#retos .rt__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
#retos .rt__kpi { padding: 9px 10px 8px; border-radius: 10px; background: var(--ui-light-card, #fff); box-shadow: inset 0 0 0 1px var(--ui-light-line, #e2e2e4); }
#retos .rt__kpi small { display: block; min-height: 2.5em; font-size: 10.5px; line-height: 1.25; color: var(--ui-light-tx2); }
#retos .rt__kpi b { display: block; margin-top: 2px; font-size: 22px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
#retos .rt__charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
#retos .rt__chart { padding: 9px 10px 10px; border-radius: 10px; background: var(--ui-light-card, #fff); box-shadow: inset 0 0 0 1px var(--ui-light-line, #e2e2e4); }
#retos .rt__chart h6 { margin: 0 0 7px; font-size: 12px; font-weight: 600; }
#retos .rt__bar { display: grid; grid-template-columns: 50px minmax(0, 1fr) 28px; align-items: center; gap: 6px; margin-top: 5px; font-size: 10.5px; color: var(--ui-light-tx2); font-variant-numeric: tabular-nums; }
#retos .rt__bar i { height: 7px; border-radius: 9px; background: linear-gradient(90deg, #1a1613 var(--v), rgb(26 22 19 / 0.09) var(--v)); }
#retos .rt__bar em { font-style: normal; text-align: right; color: var(--ui-light-tx); font-weight: 600; }
#retos .rt__sug { padding: 10px 11px 11px; border-radius: 12px; background: #fffdf7; box-shadow: inset 0 0 0 1.5px var(--rt-gold), 0 0 0 4px rgb(201 154 60 / 0.14); }
#retos .rt__sug > small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: #8a6a1f; }
#retos .rt__sug p { margin: 3px 0 8px; font-size: 13px; line-height: 1.3; }
#retos .rt__sug .rt__item { grid-template-columns: 40px minmax(0, 1fr); }
#retos .rt__pub { display: inline-grid; place-items: center; margin-top: 9px; padding: 0 14px; }
#retos .say { max-width: 18em; }
