body.army-detail-body::before { content: ''; position: fixed; inset: 0; z-index: 0; background: radial-gradient( ellipse 60% 40% at 0% 0%, color-mix(in srgb, var(--army-primary-color, var(--accent)) 10%, transparent) 0%, transparent 50% ); pointer-events: none; } .army-back-row { padding: 20px 0 0; } .back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); text-decoration: none; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; transition: color .15s; padding: 4px 0; } .back-link:hover { color: var(--accent); } .hero { position: relative; overflow: hidden; border-radius: var(--r3); background: var(--surface); border: 1px solid var(--border); padding: 36px 36px 32px; margin: 20px 0 0; } .hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 0% 0%, color-mix(in srgb, var(--army-primary-color, var(--accent)) 28%, transparent) 0%, transparent 60%), radial-gradient(ellipse 50% 40% at 100% 100%, color-mix(in srgb, var(--army-primary-color, var(--accent)) 8%, transparent) 0%, transparent 50%); pointer-events: none; } .hero-grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; } .hero-stats { position: absolute; right: 36px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 16px; z-index: 1; text-align: right; } .hero-stat-value { font-size: 32px; font-weight: 900; line-height: 1; color: var(--army-primary-color, var(--accent)); filter: brightness(1.5); display: block; } .hero-stat-label { font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); display: block; margin-top: 2px; } .hero-body { position: relative; z-index: 1; } .hero-breadcrumb { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; } .hero-breadcrumb a { color: var(--muted); text-decoration: none; } .hero-breadcrumb a:hover { color: var(--accent); } .hero-eyebrow { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .2em; color: color-mix(in srgb, var(--army-primary-color, var(--accent)) 100%, transparent); filter: brightness(1.6); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; } .hero-eyebrow::before { content: ''; display: inline-block; width: 18px; height: 1px; background: currentColor; opacity: .6; } .hero-name { font-family: var(--display); font-size: clamp(36px, 5vw, 64px); line-height: .95; letter-spacing: .02em; color: #fff; margin-bottom: 12px; } .hero-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; } .meta-chip { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: var(--r); border: 1px solid var(--border2); color: var(--muted); } .difficulty-badge { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 3px; } .diff-debutant { background: rgba(74,170,104,.12); color: #4aaa68; } .diff-intermediaire { background: rgba(232,176,32,.12); color: #e8b020; } .diff-avance { background: rgba(212,74,74,.12); color: #d44a4a; } .hero-desc-text { font-size: 13px; color: #777; line-height: 1.65; font-style: italic; max-width: 520px; margin-bottom: 4px; } .hero-summary { font-size: 13px; color: var(--text); line-height: 1.6; max-width: 520px; margin-bottom: 10px; } .hero-primer-line { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 16px; padding: 10px 14px; background: rgba(232,176,32,.06); border: 1px solid rgba(232,176,32,.15); border-radius: var(--r2); font-size: 12px; color: #c8a030; max-width: 480px; line-height: 1.55; } .hero-primer-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 3px; } .brand-switcher { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; background: var(--card); border: 1px solid var(--border); border-radius: var(--r2); padding: 4px; margin-bottom: 16px; } .brand-switcher::-webkit-scrollbar { display: none; } .brand-switcher.is-loading { opacity: .6; pointer-events: none; } .brand-tab { flex-shrink: 0; padding: 7px 14px; border-radius: var(--r); border: none; background: transparent; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; white-space: nowrap; } .brand-tab:hover:not(.active) { color: var(--text); background: rgba(255,255,255,.04); } .brand-tab.active { background: rgba(232,176,32,.12); color: var(--accent); font-weight: 700; } .brand-tab-separator { width: 1px; background: var(--border); flex-shrink: 0; margin: 4px 2px; } .list-toolbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; } .filter-chip { padding: 5px 14px; border-radius: 20px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; border: 1px solid var(--border2); background: transparent; color: var(--muted); cursor: pointer; transition: all .15s; } .filter-chip.active { background: rgba(232,176,32,.1); border-color: rgba(232,176,32,.3); color: var(--accent); } .export-btn { margin-left: auto; padding: 5px 14px; border-radius: var(--r); border: 1px solid var(--border2); background: transparent; color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; transition: all .15s; } .export-btn:hover { border-color: var(--accent); color: var(--accent); } .priority-group { display: grid; grid-template-columns: 48px 1fr; gap: 0; margin-bottom: 28px; } .priority-group:last-child .timeline-line { display: none; } .timeline-step { display: flex; flex-direction: column; align-items: center; padding-top: 2px; } .timeline-num { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; font-weight: 900; flex-shrink: 0; position: relative; z-index: 1; } .timeline-line { flex: 1; width: 1.5px; background: linear-gradient(var(--border2), transparent); margin-top: 6px; min-height: 20px; } .priority-level-1 .timeline-num { background: rgba(212,74,74,.1); border: 1.5px solid #d44a4a; color: #d44a4a; } .priority-level-2 .timeline-num { background: rgba(212,112,26,.1); border: 1.5px solid #d4701a; color: #d4701a; } .priority-level-3 .timeline-num { background: rgba(200,160,32,.1); border: 1.5px solid #c8a020; color: #c8a020; } .priority-level-4 .timeline-num { background: rgba(74,170,104,.1); border: 1.5px solid #4aaa68; color: #4aaa68; } .timeline-content { min-width: 0; } .timeline-label-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); } .timeline-label { font-family: var(--display); font-size: 20px; letter-spacing: .04em; } .priority-level-1 .timeline-label { color: #d44a4a; } .priority-level-2 .timeline-label { color: #d4701a; } .priority-level-3 .timeline-label { color: #c8a020; } .priority-level-4 .timeline-label { color: #4aaa68; } .timeline-desc { font-size: 12px; color: var(--muted); flex: 1; } .timeline-count { font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; flex-shrink: 0; } .paint-list { border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; } .paint-card { background: var(--surface); border-bottom: 1px solid var(--border); transition: background .1s; } .paint-card:last-child { border-bottom: none; } .paint-card:hover { background: var(--card); } .paint-card-main { display: grid; grid-template-columns: 52px 1fr 1fr 40px; align-items: center; } .paint-swatch { width: 52px; height: 64px; flex-shrink: 0; } .paint-info { padding: 12px 14px; min-width: 0; } .paint-name { font-weight: 700; font-size: 13px; color: var(--text); margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .paint-name-link { color: var(--text); text-decoration: none; font-weight: 700; font-size: 13px; transition: color .12s; } .paint-name-link:hover { color: var(--accent); } .paint-name-text { font-weight: 700; font-size: 13px; } .paint-name-text.is-missing { color: var(--muted); font-style: italic; } .not-in-db { display: inline-block; font-family: var(--mono); font-size: 9px; padding: 1px 5px; border-radius: 2px; margin-left: 4px; background: rgba(212,74,74,.1); color: #d44a4a; } .paint-brand { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); } .brand-badge { font-family: var(--mono); font-size: 10px; color: var(--muted); } .scheme-source-ref { font-family: var(--mono); font-size: 9px; color: var(--muted); margin-top: 3px; opacity: .7; } .paint-usage { padding: 12px 14px; min-width: 0; } .usage-surface { font-weight: 500; font-size: 12px; margin-bottom: 2px; } .usage-technique { font-size: 11px; color: var(--muted); font-family: var(--mono); } .paint-owned-btn { width: 40px; height: 64px; display: flex; align-items: center; justify-content: center; border: none; border-left: 1px solid var(--border); outline: none; background: none; cursor: pointer; transition: background .2s; -webkit-appearance: none; appearance: none; } .paint-owned-btn:hover { background: rgba(74,170,104,.04); } .owned-icon { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .2s, box-shadow .2s; font-size: 0; } .paint-owned-btn:hover .owned-icon { background: rgba(74,170,104,.3); } .paint-owned-btn.owned .owned-icon { background: #4aaa68; box-shadow: 0 0 0 3px rgba(74,170,104,.18), 0 0 14px rgba(74,170,104,.4); } .paint-card.hidden-owned { display: none; } .paint-card.hidden-unowned { display: none; } .alts-toggle { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; padding: 7px 14px 7px 66px; border-top: 1px solid var(--border); background: rgba(255,255,255,.01); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); cursor: pointer; transition: color .12s, background .12s; border-bottom: none; border-left: none; border-right: none; width: 100%; text-align: left; } .alts-toggle:hover { color: var(--accent); background: rgba(232,176,32,.03); } .paint-card.alts-open .alts-toggle { color: var(--accent); border-bottom: 1px solid var(--border); } .alts-toggle-icon { font-size: 9px; transition: transform .15s; display: inline-block; } .paint-card.alts-open .alts-toggle-icon { transform: rotate(90deg); } .alt-cards { display: none; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px; padding: 10px 14px 10px 66px; background: rgba(0,0,0,.15); } .paint-card.alts-open .alt-cards { display: grid; } .alt-card { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r2); text-decoration: none; color: var(--text); transition: border-color .12s; min-width: 0; } .alt-card:hover { border-color: rgba(232,176,32,.35); } .alt-swatch { width: 24px; height: 24px; border-radius: 4px; border: 1px solid rgba(255,255,255,.07); flex-shrink: 0; } .alt-info { min-width: 0; flex: 1; } .alt-name { font-size: 11px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .alt-brand { font-family: var(--mono); font-size: 9px; color: var(--muted); } .alt-score { font-family: var(--mono); font-size: 10px; font-weight: 700; flex-shrink: 0; } .alt-score.high { color: #4aaa68; } .alt-score.ok { color: #c8a020; } .alt-score.low { color: #d44a4a; } .paint-card.quality-direct { background: rgba(74,170,104,.04); } .paint-card.quality-acceptable { background: rgba(232,176,32,.03); } .paint-card.quality-noticeable { background: rgba(212,112,26,.03); } .paint-card.quality-not_recommended { background: rgba(212,74,74,.04); } .paint-card.is-missing .paint-name-text { color: var(--muted); } .tutorial-list, .tips-list { display: flex; flex-direction: column; gap: 8px; } .tutorial-step, .tip-item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r2); padding: 12px 16px; } .step-num { font-family: var(--display); font-size: 22px; color: var(--accent); line-height: 1; flex-shrink: 0; min-width: 26px; } .tip-num { font-family: var(--display); font-size: 22px; color: var(--accent2); line-height: 1; flex-shrink: 0; min-width: 26px; } .step-text, .tip-text { font-size: 13px; line-height: 1.55; padding-top: 4px; } .army-related-section { margin-top: 48px; margin-bottom: 40px; } .army-related-title { font-family: var(--display); font-size: 22px; letter-spacing: .04em; margin-bottom: 14px; } .army-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; } .army-related-card { padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r2); text-decoration: none; color: var(--text); transition: border-color .15s; display: block; } .army-related-card:hover { border-color: rgba(232,176,32,.3); } .army-related-card h3 { font-size: 13px; font-weight: 700; margin-bottom: 4px; } .army-related-card p { font-size: 11px; color: var(--muted); line-height: 1.5; } #toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--card); border: 1px solid var(--border2); color: var(--text); padding: 12px 22px; border-radius: var(--r2); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; transition: transform .3s; z-index: 200; pointer-events: none; white-space: nowrap; } #toast.show { transform: translateX(-50%) translateY(0); } .is-hidden { display: none !important; } @media (max-width: 640px) { .hero { padding: 22px 18px 20px; } .hero-stats { display: none; } .hero-name { font-size: 34px; } .hero-primer-line { max-width: 100%; } .brand-switcher { border-radius: var(--r); } .brand-tab { padding: 6px 10px; font-size: 8px; } .filter-chip { font-size: 9px; padding: 5px 10px; } .export-btn { width: 100%; margin-left: 0; margin-top: 6px; text-align: center; justify-content: center; display: flex; } .priority-group { grid-template-columns: 36px 1fr; } .timeline-num { width: 28px; height: 28px; font-size: 10px; } .paint-card-main { grid-template-columns: 48px 1fr 36px; } .paint-usage { display: none; } .paint-swatch { width: 48px; height: 56px; } .paint-owned-btn { width: 36px; height: 56px; } .alts-toggle { padding-left: 14px; } .alt-cards { grid-template-columns: 1fr 1fr; padding: 8px 10px; } .hero-actions { flex-direction: column; } .hero-btn { width: 100%; justify-content: center; } } @media (max-width: 400px) { .hero-name { font-size: 28px; } .priority-group { grid-template-columns: 30px 1fr; } .timeline-num { width: 24px; height: 24px; font-size: 9px; } .alt-cards { grid-template-columns: 1fr; } }