:root {
  --leaf: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22220%22 height=%22220%22 viewBox=%220 0 220 220%22%3E%3Cdefs%3E%3Cpath id=%22l%22 fill-rule=%22evenodd%22 d=%22M-37.5 -50L31.4 -50L31.4 -49.6L38.6 -49.6L38.6 -49.3L39.6 -49.3L39.6 -48.9L41.1 -48.6L42.9 -46.8L42.9 -46.1L43.6 -45.7L43.9 -43.6L44.3 -43.6L44.3 -42.1L44.6 -42.1L44.6 31.1L44.3 31.1L44.3 40L44.6 40.4L44.3 40.4L43.9 45L43.6 45L43.2 46.4L42.5 46.8L42.5 47.5L41.8 48.2L41.1 48.2L40.7 48.9L40 48.9L39.3 49.6L38.2 49.6L38.2 50L-37.1 50L-37.1 49.6L-38.6 49.6L-38.6 49.3L-39.6 49.3L-39.6 48.9L-41.1 48.6L-43.2 46.4L-43.6 44.6L-44.3 43.9L-44.3 42.5L-44.6 42.5L-44.6 -42.1L-44.3 -42.1L-44.3 -43.6L-43.9 -43.6L-43.9 -44.6L-43.6 -44.6L-43.6 -45.7L-42.9 -46.1L-42.9 -46.8L-41.1 -48.6L-40.4 -48.6L-38.9 -49.6L-37.5 -49.6ZM-32.5 -47.1L-35.7 -46.1L-37.9 -43.9L-37.9 -43.2L-38.6 -42.5L-38.6 -41.4L-38.9 -41.4L-38.9 -39.6L-39.3 -39.6L-39.3 39.3L-38.9 39.3L-38.9 40.7L-38.6 40.7L-38.6 41.8L-37.9 42.1L-37.9 42.9L-36.1 44.6L-35.4 44.6L-33.9 45.7L-32.5 45.7L-32.5 46.1L37.5 46.1L37.5 45.7L38.6 45.7L39.6 44.6L40.4 44.6L41.8 43.2L41.8 42.5L42.9 41.1L42.9 40L43.2 40L43.2 -40.7L42.9 -40.7L42.5 -42.9L41.4 -43.9L41.4 -44.6L40.4 -45L39.6 -46.1L38.9 -46.1L38.2 -46.8ZM5.7 -45L6.1 -45L6.1 -43.6L5.7 -43.6L5.7 -42.1L5.4 -42.1L5.4 -40.4L5 -40.4L5 -38.9L4.6 -38.9L4.6 -37.5L4.3 -37.5L4.3 -36.1L3.9 -36.1L3.9 -34.6L3.6 -34.6L2.9 -29.6L2.5 -29.6L2.5 -28.6L2.1 -28.6L2.1 -26.8L1.8 -26.8L1.8 -25.4L1.4 -25.4L1.4 -23.9L1.1 -23.9L1.1 -22.1L0.7 -22.1L0.7 -20.7L0.4 -20.7L0.4 -19.3L0 -19.3L0 -17.9L-0.4 -17.9L-0.4 -16.4L-0.7 -16.4L-0.7 -15L-1.1 -15L-1.1 -13.2L-1.4 -13.2L-1.4 -11.8L-1.8 -11.8L-1.8 -10.4L-2.1 -10.4L-2.1 -8.9L-2.5 -8.9L-2.5 -7.1L-2.9 -7.1L-2.9 -5.7L-3.2 -5.7L-3.2 -2.1L-2.9 -2.1L-2.9 -0.7L-2.5 -0.7L-2.1 3.2L-1.8 3.2L-1.8 4.6L-1.4 4.6L0 13.6L0.4 13.6L0.7 16.8L1.1 16.8L1.1 18.9L1.4 18.9L1.8 22.1L2.1 22.1L2.1 24.3L1.4 24.3L0.7 20.4L0.4 20.4L0.4 19.3L0 19.3L0 18.2L-0.4 18.2L-0.4 17.1L-0.7 17.1L-0.7 16.1L-1.1 16.1L-1.1 14.6L-1.4 14.6L-2.1 11.1L-2.5 11.1L-2.5 10L-2.9 10L-2.9 8.9L-3.2 8.9L-3.2 7.5L-3.6 7.5L-3.6 6.4L-3.9 6.4L-3.9 5.4L-4.3 5.4L-4.3 3.9L-4.6 3.9L-4.6 2.9L-5 2.9L-5 1.8L-5.4 1.8L-5.4 0.7L-5.7 0.7L-5.7 -0.7L-6.1 -0.7L-6.1 -1.8L-6.4 -1.8L-6.4 -2.9L-6.8 -2.9L-6.8 -3.9L-7.1 -3.9L-7.1 -5.4L-6.8 -5.4L-6.1 -8.9L-5.7 -8.9L-5.7 -10L-5.4 -10L-5.4 -11.1L-5 -11.1L-5 -12.1L-4.6 -12.1L-4.6 -13.2L-4.3 -13.2L-4.3 -14.3L-3.9 -14.3L-3.9 -15.4L-3.6 -15.4L-3.6 -16.4L-3.2 -16.4L-3.2 -17.9L-2.9 -17.9L-2.9 -18.9L-2.5 -18.9L-2.5 -20L-2.1 -20L-2.1 -21.1L-1.8 -21.1L-1.8 -22.1L-1.4 -22.1L-1.4 -23.2L-1.1 -23.2L-1.1 -24.6L-0.7 -24.6L-0.7 -25.7L-0.4 -25.7L-0.4 -26.8L0 -26.8L0 -27.9L0.4 -27.9L0.4 -28.9L0.7 -28.9L0.7 -30L1.1 -30L1.1 -31.4L1.4 -31.4L1.4 -32.5L1.8 -32.5L1.8 -33.6L2.1 -33.6L2.1 -34.6L2.5 -34.6L2.5 -35.7L2.9 -35.7L2.9 -36.8L3.2 -36.8L3.6 -39.6L4.3 -40.4L5 -43.9L5.4 -43.9ZM-26.8 -10.4L-26.1 -10.4L-25 -8.9L-24.3 -8.9L-23.6 -7.9L-22.9 -7.9L-21.8 -6.4L-21.1 -6.4L-20 -5L-19.3 -5L-18.6 -3.9L-17.9 -3.9L-16.8 -2.5L-16.1 -2.5L-15 -1.1L-14.3 -1.1L-13.6 0L-12.9 0L-11.8 1.1L-11.8 1.8L-10.7 2.9L-10.7 3.6L-10.4 3.6L-9.6 5.7L-8.9 6.1L-8.2 8.2L-7.5 8.6L-7.1 10L-6.4 10.4L-5 13.9L-4.3 14.3L-3.2 17.1L-2.5 17.5L-2.5 18.2L-1.4 19.3L-0.4 22.1L0.4 22.5L1.1 24.6L0.4 24.6L-2.1 22.1L-2.9 22.1L-3.6 21.1L-4.3 21.1L-5 20L-5.7 20L-6.4 18.9L-7.1 18.9L-7.9 17.9L-9.6 17.1L-10.7 15.7L-11.4 15.7L-12.1 14.6L-12.9 14.6L-13.6 13.6L-14.3 13.6L-15 12.5L-15.7 12.5L-16.4 11.4L-17.1 11.4L-19.3 9.3L-20.4 8.9L-20.4 7.9L-21.1 7.1L-21.1 5.7L-21.4 5.7L-21.4 4.6L-22.1 3.9L-23.2 -0.4L-23.9 -1.1L-25 -5.4L-25.7 -6.1L-25.7 -7.5L-26.4 -8.2ZM-25 -8.6L-25.4 -8.6L-25.4 -7.9L-24.6 -7.5L-23.9 -5.4L-23.2 -5L-22.5 -2.9L-21.8 -2.5L-21.1 -0.4L-20.4 0L-20.4 0.7L-20 0.7L-19.6 2.1L-18.9 2.5L-18.9 3.6L-18.2 3.9L-17.5 5.7L-1.1 21.8L-1.8 20L-2.5 19.6L-3.6 16.8L-4.3 16.4L-4.6 15L-5.4 14.6L-5.4 13.6L-6.1 13.2L-6.4 11.8L-7.1 11.4L-8.2 8.6L-8.9 8.2L-10 5.4L-10.7 5L-11.4 2.9L-12.1 2.5L-12.1 1.8L-13.9 0L-14.6 0L-15.4 -1.1L-16.1 -1.1L-17.1 -2.5L-17.9 -2.5L-19.3 -4.3L-21.1 -5L-22.5 -6.8L-23.2 -6.8ZM-31.1 17.1L-14.6 17.5L-14.6 17.9L-13.9 17.9L-13.9 18.2L-13.2 18.2L-13.2 18.6L-12.5 18.6L-12.5 18.9L-11.8 18.9L-10.4 20L-9.3 20L-9.3 20.4L-8.6 20.4L-8.6 20.7L-7.9 20.7L-7.9 21.1L-7.1 21.1L-5.7 22.1L-4.6 22.1L-4.6 22.5L-3.9 22.5L-3.9 22.9L-3.2 22.9L-3.2 23.2L-2.5 23.2L-2.5 23.6L-1.8 23.6L-0.4 24.6L-3.6 25L-3.6 25.4L-6.4 25.4L-6.4 25.7L-9.6 25.7L-9.6 26.1L-17.9 26.8L-19.3 25.4L-20 25.4L-20.4 24.6L-21.1 24.6L-21.4 23.9L-22.1 23.9L-22.5 23.2L-23.2 23.2L-23.6 22.5L-25.4 21.8L-26.1 20.7L-26.8 20.7L-27.1 20L-27.9 20L-28.2 19.3L-28.9 19.3L-29.3 18.6L-31.1 17.9ZM-28.2 17.5L-28.6 17.5L-28.2 18.2L-27.1 18.2L-27.1 18.6L-26.4 18.6L-26.4 18.9L-25.7 18.9L-25.7 19.3L-25 19.3L-25 19.6L-24.3 19.6L-24.3 20L-23.6 20L-23.6 20.4L-22.9 20.4L-22.9 20.7L-22.1 20.7L-22.1 21.1L-21.4 21.1L-20 22.1L-18.9 22.1L-17.5 23.2L-8.2 23.6L-8.2 23.9L-3.6 23.9L-3.6 24.3L-2.5 24.3L-2.5 23.9L-3.2 23.9L-3.2 23.6L-3.9 23.6L-5.4 22.5L-6.4 22.5L-6.4 22.1L-7.1 22.1L-7.1 21.8L-7.9 21.8L-7.9 21.4L-8.6 21.4L-8.6 21.1L-9.3 21.1L-10.7 20L-11.8 20L-11.8 19.6L-12.5 19.6L-12.5 19.3L-13.2 19.3L-14.6 18.2L-28.2 17.9ZM0 26.1L1.4 26.1L1.1 27.1L-2.5 30.4L-2.5 31.1L-5.4 33.6L-5.4 34.3L-6.4 35.4L-12.1 35.7L-12.1 36.1L-16.1 36.1L-16.1 36.4L-16.4 36.1L-16.8 36.4L-18.6 36.1L-13.9 31.4L-13.2 31.4L-11.1 28.9L-9.3 28.9L-9.3 28.6L-8.2 28.6L-8.2 28.2L-5.4 27.9L-5.4 27.5L0 26.4ZM-1.4 27.1L-4.3 27.9L-4.3 28.2L-5.7 28.2L-5.7 28.6L-7.1 28.6L-7.1 28.9L-10.7 29.6L-11.8 31.1L-12.5 31.1L-16.4 35L-15.4 35L-15.4 34.6L-14.3 34.6L-14.3 34.3L-13.2 34.3L-13.2 33.9L-7.9 32.5L-7.1 31.4L-6.4 31.4L-6.1 30.7L-4.3 30L-3.6 28.9L-1.8 28.2L-1.1 27.5ZM1.4 27.5L2.1 27.9L2.1 39.3L2.5 39.3L2.1 40L0.7 40Z%22/%3E%3C/defs%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(-165 -165) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(-165 -165) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-165 -165) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(-165 55) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(-165 55) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-165 55) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(-165 275) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(-165 275) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-165 275) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(55 -165) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(55 -165) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(55 -165) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(55 55) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(55 55) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(55 55) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(55 275) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(55 275) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(55 275) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(275 -165) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(275 -165) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(275 -165) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(275 55) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(275 55) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(275 55) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(275 275) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(275 275) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(275 275) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(-55 -55) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(-55 -55) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-55 -55) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(-55 165) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(-55 165) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-55 165) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(-55 385) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(-55 385) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-55 385) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(165 -55) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(165 -55) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(165 -55) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(165 165) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(165 165) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(165 165) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(165 385) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(165 385) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(165 385) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(385 -55) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(385 -55) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(385 -55) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(385 165) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(385 165) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(385 165) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(1.1 1.1) translate(385 385) scale(0.78)%22 fill=%22%23000%22 fill-opacity=%22.55%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(-.7 -.7) translate(385 385) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.14%22/%3E%3Cuse href=%22%23l%22 transform=%22translate(385 385) scale(0.78)%22 fill=%22%23fff%22 fill-opacity=%22.04%22/%3E%3C/svg%3E");
  --bg: #0b0b0c;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #ece8e1;
  --muted: #8d8a84;
  --dim: #5f5c57;
  --gold: #d9b56a;
  --gold-hi: #f3dca0;
  --gold-lo: #9c7a3c;
  --gold-grad: linear-gradient(180deg, #f6e2a8 0%, #d9b56a 45%, #a9843f 100%);
  --emerald: #2fd6a0;
  --danger: #e0806a;
  --radius: 28px;
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
/* Textura de metal cepillado, como el fondo de las capturas */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(217, 181, 106, .07), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #121213, #08080900 40%),
    var(--bg);
}

.eyebrow {
  font-size: 12px; font-weight: 500;
  letter-spacing: .38em; text-transform: uppercase;
  color: var(--muted);
}
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Cabecera ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(180deg, rgba(14, 18, 34, .92), rgba(10, 12, 20, .85));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 40px; border-radius: 4px;
  border: 1px solid var(--gold-lo);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px; color: var(--gold);
  background: linear-gradient(160deg, #1a1712, #0d0c0a);
}
.brand-name { font-size: 13px; font-weight: 500; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--emerald);
  border: 1px solid rgba(47, 214, 160, .45);
  background: rgba(47, 214, 160, .08);
}
.pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald); box-shadow: 0 0 10px var(--emerald);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Layout ---------- */
.wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 20px 16px 140px;
  display: grid; gap: 20px;
}
@media (min-width: 900px) { .wrap { padding: 36px 32px 80px; gap: 28px; } }
.split { display: grid; gap: 20px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 20px 50px rgba(0,0,0,.35);
}

/* ---------- Hero / cartel ---------- */
.poster {
  position: relative; overflow: hidden;
  min-height: min(78vh, 640px); width: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 48px 24px;
}
.poster > * { position: relative; z-index: 1; }
.poster .lead { color: #bdb8b0; font-size: 16px; line-height: 1.6; max-width: 420px; margin: 22px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.coords { font-size: 11px; letter-spacing: .3em; color: var(--dim); margin-top: 26px; }
.poster::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 40%, rgba(217,181,106,.12), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 4px);
}
.poster h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(56px, 13vw, 104px); line-height: .95; letter-spacing: -.01em;
  margin: 18px 0 14px;
}
.poster .tagline {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(20px, 4.6vw, 30px); margin: 0;
}
.poster .route {
  margin-top: 40px; width: min(520px, 88%); opacity: .9;
}
.poster .route path { stroke-dasharray: 6 8; animation: run 30s linear infinite; }
@keyframes run { to { stroke-dashoffset: -600; } }

/* ---------- Bloques de información ---------- */
.section { padding: 28px 24px; }
.section h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 6vw, 42px); line-height: 1.05; margin: 10px 0 16px;
}
.section p { color: #bdb8b0; line-height: 1.7; margin: 0 0 14px; font-size: 16px; }
.section p:last-child { margin-bottom: 0; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.fact {
  border: 1px solid var(--line); border-radius: 18px;
  padding: 14px 10px; text-align: center; background: rgba(0,0,0,.2);
}
.fact b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.fact span { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }

.list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 14px; }
.list li { display: flex; gap: 14px; align-items: flex-start; color: #cfcac2; line-height: 1.5; }
.list svg { flex: none; margin-top: 2px; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-size: 16px; font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--serif); font-size: 26px; color: var(--gold);
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; color: var(--muted); }

/* ---------- Tarjeta lateral del evento ---------- */
.event { padding: 26px 24px; display: grid; gap: 18px; }
.date-row { display: flex; gap: 16px; align-items: center; }
.date-box {
  width: 84px; flex: none; text-align: center;
  border: 1px solid var(--line-strong); border-radius: 18px; padding: 12px 0 10px;
  background: rgba(0,0,0,.25);
}
.date-box b { display: block; font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1; }
.date-box span { font-size: 12px; letter-spacing: .3em; color: var(--muted); }
.date-row h3 { margin: 6px 0 4px; font-size: 20px; font-weight: 400; }
.date-row p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.counter { border-top: 1px solid var(--line); padding-top: 18px; }
.counter-top { display: flex; align-items: baseline; gap: 10px; }
.counter-top b { font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1; }
.counter-top span { color: var(--muted); font-size: 14px; }
.bar { height: 3px; border-radius: 3px; background: var(--line); margin-top: 14px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.counter small { display: block; margin-top: 10px; color: var(--dim); font-size: 12px; letter-spacing: .08em; }

.ticket {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 18px 18px 20px; border-radius: 20px;
  border: 1px solid var(--line-strong); background: var(--surface-2);
}
.ticket .eyebrow { font-size: 11px; }
.ticket h4 { margin: 6px 0 2px; font-size: 17px; font-weight: 500; }
.ticket p { margin: 0; color: var(--muted); font-size: 14px; }

.btn-gold {
  appearance: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  letter-spacing: .28em; text-transform: uppercase;
  color: #1b150b; background: var(--gold-grad);
  border-radius: 999px; padding: 18px 26px;
  box-shadow: 0 0 0 1px rgba(255,230,170,.25) inset, 0 10px 30px rgba(217,181,106,.25);
  transition: transform .15s, box-shadow .2s, opacity .2s;
}
.btn-gold:hover { box-shadow: 0 0 0 1px rgba(255,230,170,.4) inset, 0 12px 40px rgba(217,181,106,.4); }
.btn-gold:active { transform: scale(.98); }
.btn-gold:disabled { opacity: .3; cursor: not-allowed; box-shadow: none; }
.btn-round {
  width: 56px; height: 56px; flex: none; padding: 0; border-radius: 50%;
  display: grid; place-items: center;
}
.btn-block { width: 100%; }

.note { color: var(--dim); font-size: 13px; text-align: center; margin: 0; line-height: 1.5; }

.socials { display: flex; justify-content: center; gap: 30px; padding-top: 6px; }
.socials a { color: var(--gold); opacity: .9; transition: opacity .2s; }
.socials a:hover { opacity: 1; }

/* ---------- Barra fija móvil ---------- */
.dock {
  position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 10px 10px 24px; border-radius: 999px;
  background: rgba(18, 18, 19, .82); border: 1px solid var(--line-strong);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
}
.dock span { font-size: 14px; color: var(--muted); }
.dock b { color: var(--text); font-weight: 500; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- Modal / formulario ---------- */
.modal {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: end center;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.modal.open { opacity: 1; visibility: visible; }
@media (min-width: 600px) { .modal { place-items: center; } }

.sheet {
  width: min(480px, 100%); max-height: 92vh; overflow-y: auto;
  padding: 28px 22px calc(26px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #161616, #0e0e0f);
  border: 1px solid var(--line-strong); border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  transform: translateY(30px); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
@media (min-width: 600px) { .sheet { border-radius: var(--radius); border-bottom: 1px solid var(--line-strong); padding: 32px 30px; } }
.modal.open .sheet { transform: none; }

.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.sheet-head .eyebrow { color: var(--gold); font-size: 11px; }
.sheet-head h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 8px 0 0; line-height: 1.05; }
.close {
  appearance: none; border: 1px solid var(--line); background: transparent; color: var(--muted);
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1;
}
.close:hover { color: var(--text); border-color: var(--line-strong); }

.total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-radius: 18px; margin-bottom: 18px;
  border: 1px solid var(--line); background: rgba(0,0,0,.25);
}
.total span { color: var(--muted); font-size: 14px; }
.total b { font-family: var(--serif); font-size: 24px; font-weight: 600; }

form { display: grid; gap: 12px; }
.field { position: relative; }
.field input {
  width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--text);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-strong); border-radius: 16px;
  padding: 24px 18px 10px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field label {
  position: absolute; left: 19px; top: 17px;
  color: var(--muted); font-size: 16px; pointer-events: none;
  transition: transform .18s, font-size .18s, color .18s; transform-origin: left top;
}
.field input:focus, .field input:not(:placeholder-shown) + label { }
.field input:focus + label,
.field input:not(:placeholder-shown) + label { transform: translateY(-10px); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217,181,106,.12); background: rgba(217,181,106,.04); }
.field input:focus + label { color: var(--gold); }
.field.invalid input { border-color: var(--danger); }
.field.valid input { border-color: rgba(47,214,160,.45); }
.hint { font-size: 12px; color: var(--dim); margin: -4px 4px 2px; line-height: 1.4; }
.field.invalid + .hint { color: var(--danger); }

.group-label { margin: 8px 4px 2px; font-size: 11px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: block; text-align: center; cursor: pointer;
  padding: 12px 6px; border-radius: 16px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.02);
  transition: border-color .2s, background .2s, color .2s;
}
.chip b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.chip small { color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.chip input:checked + span { border-color: var(--gold); background: rgba(217,181,106,.08); }
.chip input:checked + span b { color: var(--gold-hi); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(217,181,106,.15); }

.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 2px; cursor: pointer; font-size: 13px; color: var(--muted); line-height: 1.5; }
.check input {
  appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0;
  border: 1px solid var(--line-strong); border-radius: 6px; background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: ""; width: 5px; height: 10px; border: solid #1b150b; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check a { color: var(--gold); }

form .btn-gold { margin-top: 6px; }
.form-error {
  margin: 4px 0 0; padding: 12px 16px; border-radius: 14px;
  font-size: 14px; line-height: 1.4; color: var(--danger);
  border: 1px solid rgba(224, 128, 106, .35); background: rgba(224, 128, 106, .07);
}

/* ---------- Confirmación ---------- */
.done { display: none; text-align: center; }
.sheet.success form, .sheet.success .stepper, .sheet.success .sheet-head { display: none; }
.sheet.success .done { display: block; }
.pass {
  position: relative; margin: 6px auto 22px; width: 100%; aspect-ratio: 1.6;
  border-radius: 22px; overflow: hidden; text-align: left;
  padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
}

/* ---------- Piel de la tarjeta de socio: color por nivel + logo del club en relieve ---------- */
.pass, .member-card {
  --skin: linear-gradient(135deg, #1a2350 0%, #0f1530 55%, #2b2210 100%);
  --skin-border: rgba(217,181,106,.35);
  --skin-glow: rgba(20, 30, 90, .45);
  --skin-level: var(--emerald);
  background:
    var(--leaf) 0 0 / 220px 220px,
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px),
    var(--skin);
  border: 1px solid var(--skin-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 25px 60px var(--skin-glow);
  transition: border-color .4s, box-shadow .4s;
}
.pass[data-level="habitual"], .member-card[data-level="habitual"] {
  --skin: linear-gradient(135deg, #5a5850 0%, #2b2a26 50%, #6b675c 100%);
  --skin-border: rgba(231,226,214,.45);
  --skin-glow: rgba(160, 155, 140, .22);
  --skin-level: #ece6d6;
}
.pass[data-level="fondista"], .member-card[data-level="fondista"] {
  --skin: linear-gradient(135deg, #7a5d22 0%, #3a2b0e 50%, #9c7a32 100%);
  --skin-border: rgba(243,220,160,.6);
  --skin-glow: rgba(217, 181, 106, .3);
  --skin-level: #fff1cc;
}
.pass[data-level="leyenda"], .member-card[data-level="leyenda"] {
  --skin: linear-gradient(135deg, #06392c 0%, #040807 55%, #0e4d3c 100%);
  --skin-border: rgba(47,214,160,.5);
  --skin-glow: rgba(47, 214, 160, .2);
}
.pass .pass-level, .member-card .pass-level { color: var(--skin-level); }
:is(.pass, .member-card)[data-level="fondista"] .gold-text { background: none; color: #fff4d8; }
/* Sobre el dorado, los textos dorados se pierden: pasan a crema y las líneas a oscuro */
:is(.pass, .member-card)[data-level="fondista"] :is(code, .eyebrow) { color: #fff4d8; }
:is(.pass, .member-card)[data-level="fondista"] :is(.pass-foot small, .progress header) { color: rgba(255,244,216,.75); }
:is(.pass, .member-card)[data-level="fondista"] .bar { background: rgba(0,0,0,.3); }
:is(.pass, .member-card)[data-level="fondista"] .bar i { background: #fff4d8; }
.pass.flip, .member-card.flip { animation: flip .45s cubic-bezier(.2,.8,.2,1); }
@keyframes flip { 0% { transform: perspective(900px) rotateY(0); } 50% { transform: perspective(900px) rotateY(8deg) scale(.98); } 100% { transform: none; } }
.pass .eyebrow { color: var(--gold); font-size: 10px; }
.pass h4 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 6px 0 0; }
.pass-foot { display: flex; justify-content: space-between; align-items: flex-end; }
.pass-foot div small { display: block; font-size: 10px; letter-spacing: .25em; color: var(--muted); text-transform: uppercase; }
.pass-foot div b { font-weight: 500; font-size: 15px; }
.pass code { font-family: var(--serif); font-size: 22px; letter-spacing: .12em; color: var(--gold-hi); }
.done h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 0 0 10px; }
.done p { color: var(--muted); line-height: 1.6; margin: 0 0 22px; }

/* ---------- Cinta de texto ---------- */
.ticker {
  overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid var(--line); background: #070707;
  font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.ticker div { display: inline-block; padding: 9px 0; animation: ticker 40s linear infinite; }
.ticker span { padding: 0 22px; }
.ticker span::after { content: "✦"; margin-left: 44px; color: var(--gold-lo); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker div, .poster .route path { animation: none; } }

/* ---------- Navegación ---------- */
.nav { display: none; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; transition: color .2s; }
.nav a:hover { color: var(--gold-hi); }
@media (min-width: 900px) { .nav { display: flex; } }

.btn-line {
  appearance: none; cursor: pointer; text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-hi); background: transparent;
  border: 1px solid rgba(217,181,106,.45); border-radius: 999px; padding: 17px 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .2s, border-color .2s;
}
.btn-line:hover { background: rgba(217,181,106,.08); border-color: var(--gold); }
.btn-line.small { padding: 12px 18px; font-size: 11px; }
a.btn-gold { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }

/* ---------- Ficha de la carrera ---------- */
.route-card { padding: 0; overflow: hidden; }
.route-card .section { padding-bottom: 18px; }
.tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.25); }
.tabs button {
  appearance: none; border: 0; cursor: pointer; border-radius: 999px; padding: 9px 16px;
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); background: transparent;
}
.tabs button[aria-selected="true"] { color: #1b150b; background: var(--gold-grad); }
.tabs button { white-space: nowrap; }
@media (max-width: 520px) { .tabs button { letter-spacing: .06em; padding: 9px 12px; } }
.route-map { height: 380px; background: #151515; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .route-map { height: 460px; } }
.route-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
@media (min-width: 700px) { .route-stats { grid-template-columns: repeat(4, 1fr); } }
.route-stats div { background: #0f0f10; padding: 18px 20px; }
.route-stats b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.1; }
.route-stats span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.route-foot { padding: 20px 24px 24px; display: grid; gap: 16px; }
.route-foot p { margin: 0; color: #bdb8b0; line-height: 1.6; }
.route-foot .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.route-empty { padding: 34px 24px 30px; display: grid; gap: 14px; justify-items: start; }
.route-empty p { margin: 0; color: #bdb8b0; line-height: 1.7; max-width: 560px; }
.route-empty svg { width: min(320px, 80%); opacity: .8; }

/* Marcadores del mapa */
.pin { display: grid; place-items: center; }
.pin-origin { width: 34px; height: 34px; border-radius: 50%; background: var(--gold-grad); color: #1b150b; font-size: 16px; box-shadow: 0 0 0 3px #0b0b0c, 0 6px 18px rgba(0,0,0,.6); }
.pin-km { min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: #0b0b0c; border: 1px solid var(--gold); color: var(--gold-hi); font: 600 11px var(--sans); }
.maplibregl-ctrl-attrib { font-size: 10px; }

/* ---------- Post-run ---------- */
.tiles { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { border: 1px solid var(--line); border-radius: 22px; padding: 22px 20px; background: rgba(0,0,0,.2); }
.tile svg { color: var(--gold); }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 14px 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- Tarjeta de socio ---------- */
.member { display: grid; gap: 26px; align-items: center; }
@media (min-width: 800px) { .member { grid-template-columns: 1fr 1fr; } }
.member .pass { margin: 0; max-width: 420px; }
.levels { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.levels button {
  appearance: none; width: 100%; cursor: pointer; font: inherit; color: inherit; text-align: left;
  display: flex; justify-content: space-between; align-items: center; padding: 12px 16px;
  border-radius: 14px; border: 1px solid var(--line); background: rgba(0,0,0,.2);
  transition: border-color .2s, background .2s;
}
.levels button:hover { border-color: var(--line-strong); }
.levels button[aria-pressed="true"] { border-color: var(--gold-lo); background: rgba(217,181,106,.07); }
.levels b { font-family: var(--serif); font-weight: 400; font-size: 19px; }
.levels span { color: var(--muted); font-size: 13px; }
.levels li:nth-child(1) b { color: #aab8ec; }
.levels li:nth-child(2) b { color: #ece6d6; }
.levels li:nth-child(3) b { color: var(--gold); }
.levels li:nth-child(4) b { color: var(--emerald); }

/* ---------- Cómo funciona ---------- */
.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; border-top: 1px solid var(--line-strong); padding-top: 16px; color: var(--muted); line-height: 1.6; font-size: 14px; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-size: 34px; color: var(--gold); margin-bottom: 6px; }
.steps b { display: block; color: var(--text); font-weight: 500; font-size: 16px; margin-bottom: 4px; }

.footer { text-align: center; padding: 10px 16px 30px; color: var(--dim); font-size: 12px; letter-spacing: .1em; }
.footer .socials { margin-bottom: 18px; }

/* ---------- Formulario en dos pasos ---------- */
.stepper { display: flex; gap: 6px; margin: -6px 0 18px; }
.stepper i { flex: 1; height: 3px; border-radius: 3px; background: var(--line); }
.stepper i.on { background: var(--gold-grad); }
.step { display: grid; gap: 12px; }
.step[hidden] { display: none; }
.chips.two { grid-template-columns: repeat(2, 1fr); }
.chips.four { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 440px) { .chips.four { grid-template-columns: repeat(4, 1fr); } }
.chips.four .chip span { padding: 11px 4px; font-size: 13px; }
.chip { display: grid; }
.chip span { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.chip span.flat b { font-family: var(--sans); font-size: 13px; font-weight: 500; }
.optional { color: var(--dim); letter-spacing: .1em; text-transform: none; }
.link-back { appearance: none; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 6px; justify-self: center; }
.link-back:hover { color: var(--text); }
.done .actions { display: grid; gap: 10px; }
.pass-level { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--emerald); }

.my-card {
  color: var(--gold-hi); text-decoration: none; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(217,181,106,.4);
}
.my-card[hidden] { display: none; }
@media (max-width: 520px) { .topbar-right:has(.my-card:not([hidden])) .pill { display: none; } }

/* ---------- Cuenta atrás de la votación ---------- */
.countdown { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 4px; }
.countdown b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown b span { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 0 10px 0 3px; letter-spacing: .06em; }
.countdown small { color: var(--muted); font-size: 13px; }
.countdown.closed b { font-size: 24px; color: var(--gold-hi); }
.vote-closed { margin: 6px 2px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(217,181,106,.3); background: rgba(217,181,106,.05); color: #cfcac2; font-size: 14px; line-height: 1.55; }
