.app-shell { min-height: 100svh; display: flex; flex-direction: column; } .app-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 32px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 10; } .brand { min-width: 0; display: inline-flex; align-items: center; gap: 12px; color: var(--text-strong); text-decoration: none; } .brand-mark { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--accent); border-radius: 8px; color: var(--accent); font-size: 13px; font-weight: 800; } .brand-copy { min-width: 0; display: grid; gap: 2px; } .brand-copy strong, .brand-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .brand-copy strong { font-size: 15px; } .brand-copy span { color: var(--text-muted); font-size: 12px; } .header-status, .status-pill { display: inline-flex; align-items: center; min-height: 28px; max-width: 100%; padding: 0 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-size: 12px; font-weight: 700; line-height: 1; text-transform: uppercase; white-space: nowrap; } .app-main { width: min(1180px, calc(100% - 32px)); flex: 1; margin: 0 auto; padding: 48px 0; } .riot-disclaimer { padding: 18px 32px 24px; border-top: 1px solid var(--border); color: var(--text-subtle); font-size: 12px; line-height: 1.55; } .home-view { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr); gap: 32px; align-items: start; } .home-copy, .analysis-form, .progress-panel, .chart-section, .champion-section, .insight-section, .dashboard-summary { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); } .home-copy { min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; padding: 36px; } .eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; } .lead-copy { max-width: 740px; margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.7; } .home-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 36px 0 0; } .home-facts div, .summary-stat { min-width: 0; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); } .home-facts dt, .summary-stat span, .progress-meta span, .champion-copy span { display: block; color: var(--text-subtle); font-size: 12px; font-weight: 700; line-height: 1.4; text-transform: uppercase; } .home-facts dd, .summary-stat strong, .progress-meta strong { display: block; margin: 6px 0 0; color: var(--text-strong); font-size: 15px; line-height: 1.35; } .analysis-form { display: grid; gap: 18px; padding: 24px; } .form-header, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; } .field { display: grid; gap: 8px; } .field span { color: var(--text-muted); font-size: 13px; font-weight: 700; } .field input { width: 100%; min-height: 48px; box-sizing: border-box; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface-soft); color: var(--text-strong); font: inherit; outline: none; padding: 0 14px; } .field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 24%, transparent); } .primary-action, .secondary-action { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; cursor: pointer; } .primary-action { background: var(--accent); color: #07110e; padding: 0 18px; } .primary-action:disabled { cursor: not-allowed; opacity: 0.55; } .secondary-action { border-color: var(--border-strong); background: var(--surface-soft); color: var(--text-strong); padding: 0 16px; } .message { margin: 0; border-radius: 8px; padding: 12px 14px; font-size: 14px; line-height: 1.55; } .message-error { border: 1px solid color-mix(in srgb, var(--danger) 52%, var(--border)); background: color-mix(in srgb, var(--danger) 13%, var(--surface)); color: var(--danger-strong); } .message-warning { border: 1px solid color-mix(in srgb, var(--warning) 52%, var(--border)); background: color-mix(in srgb, var(--warning) 13%, var(--surface)); color: var(--warning-strong); } .progress-view { display: grid; place-items: center; min-height: calc(100svh - 240px); } .progress-panel { width: min(760px, 100%); padding: 32px; } .progress-meter { height: 12px; margin: 28px 0 18px; overflow: hidden; border-radius: 999px; background: var(--surface-soft); } .progress-meter span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width 200ms ease; } .progress-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; } .progress-meta div { min-width: 0; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); } .action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; } .dashboard-view { display: grid; gap: 20px; } .dashboard-summary { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr); gap: 28px; align-items: end; padding: 28px; } .summary-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .chart-section, .champion-section, .insight-section { padding: 24px; } .radar-frame { min-height: 380px; margin-top: 18px; } .insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .metric-card-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; } .metric-card { min-width: 0; min-height: 94px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); padding: 14px; } .metric-card span { color: var(--text-muted); font-size: 13px; line-height: 1.35; } .metric-card strong { color: var(--text-strong); font-size: 24px; line-height: 1; } .champion-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; } .champion-row { min-width: 0; display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); padding: 12px; } .champion-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 8px; background: var(--border); object-fit: cover; } .champion-placeholder { display: inline-block; border: 1px solid var(--border-strong); } .champion-copy { min-width: 0; display: grid; gap: 4px; } .champion-copy strong { overflow: hidden; color: var(--text-strong); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; } .empty-view { min-height: calc(100svh - 240px); display: grid; place-content: center; justify-items: start; gap: 18px; } .empty-copy { margin: 16px 0 0; color: var(--text-muted); } .skeleton { position: relative; overflow: hidden; border-radius: 8px; background: var(--surface); } .skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient( 90deg, transparent, color-mix(in srgb, var(--text-muted) 10%, transparent), transparent ); animation: skeleton-sheen 1.4s linear infinite; } .skeleton-title { width: min(420px, 100%); height: 92px; } .skeleton-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .skeleton-panel { min-height: 280px; } @keyframes skeleton-sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } } @media (max-width: 900px) { .app-main { width: min(100% - 24px, 720px); padding: 32px 0; } .home-view, .dashboard-summary, .insight-grid, .champion-list, .skeleton-grid { grid-template-columns: 1fr; } .home-copy { min-height: auto; } .summary-stat-grid, .metric-card-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (max-width: 640px) { .app-header { min-height: auto; align-items: flex-start; flex-direction: column; padding: 16px; } .header-status { display: none; } .home-copy, .analysis-form, .progress-panel, .chart-section, .champion-section, .insight-section, .dashboard-summary { padding: 18px; } .home-facts, .progress-meta, .summary-stat-grid, .metric-card-list { grid-template-columns: 1fr; } .form-header, .section-heading { align-items: flex-start; flex-direction: column; } .radar-frame { margin-inline: -8px; } }