:root { color-scheme: dark; --bg: #080d15; --surface: #101925; --surface-2: #151f2d; --line: #27364a; --text: #f4f7fb; --muted: #91a1b8; --accent: #f12a24; --gold: #f5c84c; --green: #43d58b; --shadow: 0 18px 55px rgba(0, 0, 0, 0.32); } * { box-sizing: border-box; } body { min-width: 280px; margin: 0; background: radial-gradient(circle at 12% -4%, rgba(241, 42, 36, 0.24), transparent 30rem), radial-gradient(circle at 100% 28%, rgba(44, 114, 170, 0.14), transparent 28rem), var(--bg); color: var(--text); font-family: Barlow, sans-serif; } button { font: inherit; } .public-training-root { width: min(980px, 100%); min-height: 100vh; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); } .public-training-loading, .public-training-error { display: grid; min-height: 70vh; place-content: center; justify-items: center; color: var(--muted); text-align: center; } .public-training-pulse { width: 42px; height: 42px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: profile-spin 0.8s linear infinite; } @keyframes profile-spin { to { transform: rotate(360deg); } } .profile-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 2px 28px; } .profile-brand { display: flex; align-items: center; gap: 13px; } .profile-brand img, .profile-brand-mark { width: 52px; height: 52px; border-radius: 14px; object-fit: contain; } .profile-brand-mark { display: grid; place-items: center; background: linear-gradient(145deg, #ff443c, #b40b08); box-shadow: 0 8px 28px rgba(241, 42, 36, 0.32); font-family: Orbitron, sans-serif; font-weight: 800; } .profile-brand strong, .profile-brand span { display: block; } .profile-brand strong { font-family: Orbitron, sans-serif; font-size: 0.95rem; } .profile-brand span, .profile-updated { margin-top: 3px; color: var(--muted); font-size: 0.78rem; } .profile-hero { position: relative; overflow: hidden; padding: clamp(22px, 5vw, 42px); border: 1px solid color-mix(in srgb, var(--line) 60%, var(--accent) 40%); border-radius: 24px; background: linear-gradient(120deg, rgba(241, 42, 36, 0.2), transparent 52%), linear-gradient(145deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow); } .profile-hero::after { content: "RC"; position: absolute; right: -18px; bottom: -54px; color: rgba(255, 255, 255, 0.035); font-family: Orbitron, sans-serif; font-size: clamp(8rem, 30vw, 16rem); font-weight: 800; pointer-events: none; } .profile-eyebrow { color: #ff8f89; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; } .profile-hero h1 { position: relative; z-index: 1; margin: 8px 0 6px; font-family: Orbitron, sans-serif; font-size: clamp(2rem, 8vw, 4.6rem); line-height: 1.02; } .profile-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); } .profile-pill { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(7, 12, 20, 0.38); font-size: 0.8rem; } .profile-class-select { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(7, 12, 20, 0.5); font-size: 0.78rem; } .profile-class-select select { width: auto; min-width: 110px; padding: 4px 28px 4px 8px; border-radius: 999px; } .profile-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; } .profile-card { border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: var(--shadow); } .profile-stat { padding: 17px; } .profile-stat span, .profile-mini-label { color: var(--muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; } .profile-stat strong { display: block; margin-top: 7px; font-family: Orbitron, sans-serif; font-size: clamp(1.15rem, 4vw, 1.65rem); } .profile-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr); gap: 14px; margin-top: 14px; } .profile-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; border-bottom: 1px solid var(--line); } .profile-card-head h2 { margin: 0; font-family: Orbitron, sans-serif; font-size: 1rem; } .profile-card-body { padding: 18px; } .profile-progress { height: 8px; overflow: hidden; border-radius: 99px; background: #222d3c; } .profile-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--gold)); } .profile-level-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; } .profile-level-row h3 { margin: 5px 0 0; font-family: Orbitron, sans-serif; font-size: 1.35rem; } .profile-level-row strong { white-space: nowrap; } .profile-plan-copy { color: var(--muted); line-height: 1.55; } .profile-timer-setup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 18px 0 4px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; } .profile-timer-setup legend { padding: 0 6px; color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; } .profile-timer-setup label { display: grid; gap: 5px; color: var(--muted); font-size: 0.75rem; font-weight: 700; } .profile-timer-setup input { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.035); color: var(--text); font: inherit; } .profile-timer-setup small { grid-column: 1 / -1; color: var(--muted); line-height: 1.35; } .profile-timer-setup:disabled { opacity: 0.62; } .profile-timer { margin: 14px 0; font-family: Orbitron, sans-serif; font-size: clamp(2.5rem, 12vw, 5.2rem); line-height: 1; text-align: center; } .profile-timer-phase { margin-bottom: 14px; color: var(--gold); font-weight: 700; text-align: center; } .profile-session-heading { margin: 16px 0 8px; color: var(--muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-align: center; text-transform: uppercase; } .profile-session-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: 14px; } .profile-session-stats > div { min-width: 0; padding: 10px 7px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.025); text-align: center; } .profile-session-stats span, .profile-session-stats strong { display: block; } .profile-session-stats span { color: var(--muted); font-size: 0.66rem; font-weight: 700; text-transform: uppercase; } .profile-session-stats strong { overflow: hidden; margin-top: 4px; font-family: Orbitron, sans-serif; font-size: clamp(0.8rem, 3vw, 1rem); text-overflow: ellipsis; } .profile-performance-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); } .profile-performance-stats > div { display: grid; gap: 6px; padding: 16px; border-right: 1px solid var(--line); } .profile-performance-stats > div:last-child { border-right: 0; } .profile-performance-stats span { color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; } .profile-performance-stats strong { font-family: Orbitron, sans-serif; overflow-wrap: anywhere; } .profile-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; } .profile-button { min-height: 42px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); color: var(--text); cursor: pointer; font-weight: 700; } .profile-button-primary { border-color: #ff4a43; background: linear-gradient(135deg, #ef2b25, #b80d09); } .profile-button:disabled { opacity: 0.55; cursor: default; } .profile-goals { display: grid; gap: 10px; } .profile-goal { padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, 0.025); } .profile-goal.reached { border-color: color-mix(in srgb, var(--green) 55%, var(--line) 45%); } .profile-goal h3, .profile-goal p { margin: 0 0 9px; } .profile-goal p { color: var(--muted); } .profile-goal-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; } .profile-history { width: 100%; border-collapse: collapse; } .profile-history th, .profile-history td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; } .profile-history th { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; } .profile-history-wrap { overflow-x: auto; } .profile-disclosure > summary { cursor: pointer; list-style: none; } .profile-disclosure > summary::-webkit-details-marker { display: none; } .profile-disclosure > summary > span { color: var(--muted); font-family: Orbitron, sans-serif; font-size: 1.1rem; transition: transform 160ms ease, color 160ms ease; } .profile-disclosure[open] > summary > span { color: var(--accent); transform: rotate(45deg); } .profile-empty { margin: 0; color: var(--muted); } @media (max-width: 760px) { .profile-header { align-items: flex-start; flex-direction: column; } .profile-updated { margin-left: 65px; margin-top: -18px; } .profile-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .profile-grid { grid-template-columns: 1fr; } .profile-performance-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .profile-performance-stats > div { border-bottom: 1px solid var(--line); } .profile-performance-stats > div:nth-child(2n) { border-right: 0; } .profile-performance-stats > div:nth-last-child(-n + 2) { border-bottom: 0; } } @media (max-width: 420px) { .public-training-root { padding-left: 10px; padding-right: 10px; } .profile-stat { padding: 14px 12px; } .profile-level-row { align-items: flex-start; flex-direction: column; } }