/* Assistant « Build your game pack » et page /developers : s'appuie sur les variables de shop.css */
.asm, .dev-page { width: 100%; max-width: 1280px; margin: 0 auto; padding: 40px var(--pad) 72px; }
.asm-head h1, .dv-head h1 { margin: 0 0 12px; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; }
.asm-head .lead, .dv-head .lead { margin: 0 0 24px; color: var(--muted); font-size: 18px; max-width: 70ch; }
.asm-nl { display: flex; gap: 10px; max-width: 820px; }
.asm-nl input { flex: 1; min-width: 0; height: 56px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line2); background: var(--alt); font: inherit; font-size: 17px; color: var(--text); }
.asm-nl input:focus { outline: 0; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(36, 87, 255, 0.15); }
.asm-ex { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; }
.asm-ex button, .asm-chip { border: 1px solid var(--line2); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 14px; cursor: pointer; color: var(--muted); }
.asm-ex button:hover, .asm-chip:hover { border-color: var(--text); color: var(--text); }
.asm-understood { margin: 14px 0 0; padding: 10px 14px; background: var(--alt); border-radius: 10px; font-size: 15px; max-width: 820px; }
.asm-set { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.asm-set h2 { margin: 0 0 16px; font-size: 20px; }
.asm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px 18px; align-items: start; }
.asm-f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.asm-f > span { color: var(--muted); }
.asm-f em { font-style: normal; font-weight: 400; }
.asm-f select, .asm-f input { height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line2); background: #fff; font: inherit; font-size: 15px; color: var(--text); }
.asm-themes { grid-column: 1 / -1; }
.asm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.asm-chip.auto { border-style: dashed; border-color: var(--accent); color: var(--text); }
.asm-chip.on { background: var(--text); color: #fff; border-color: var(--text); }
.asm-res { margin-top: 36px; }
.asm-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--alt); position: sticky; top: calc(var(--bar) + 8px); z-index: 5; }
.asm-stat { display: flex; flex-direction: column; min-width: 90px; position: relative; }
.asm-stat b { font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.asm-stat span { font-size: 13px; color: var(--muted); }
.asm-bar { display: block; height: 5px; border-radius: 3px; background: var(--line); margin-top: 6px; position: relative; overflow: hidden; }
.asm-bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--accent); }
.asm-bar.hot::after { background: var(--warm); }
.asm-act { margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.asm-msg { min-height: 1.4em; margin: 8px 2px; font-size: 14px; color: var(--muted); }
.asm-msg.bad { color: #b3261e; }
.asm-warn { margin: 6px 0 12px; padding: 12px 16px; border-radius: 12px; background: #fff7ed; border: 1px solid #fed7aa; font-size: 14px; }
.asm-warn ul { margin: 6px 0 0; padding-left: 20px; }
.asm-slot { margin-top: 30px; }
.asm-slot header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.asm-slot h3 { margin: 0; font-size: 19px; }
.asm-slot h3 em { font-style: normal; color: var(--accent); font-size: 15px; }
.asm-slot header p { margin: 0; font-size: 14px; flex: 1; min-width: 200px; }
.asm-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.asm-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.asm-th { display: block; aspect-ratio: 1; background: var(--stage); }
.asm-th img { width: 100%; height: 100%; object-fit: cover; }
.asm-ct { padding: 8px 12px 0; display: flex; flex-direction: column; gap: 1px; font-size: 14px; }
.asm-ct strong { font-weight: 600; line-height: 1.25; }
.asm-ct span { color: var(--muted); font-size: 12.5px; }
.asm-ca { display: flex; gap: 6px; padding: 8px 12px 12px; margin-top: auto; }
.asm-mini { border: 1px solid var(--line2); background: #fff; border-radius: 8px; padding: 4px 10px; font-size: 13px; cursor: pointer; }
.asm-mini:hover { border-color: var(--text); background: var(--alt); }
.asm-tray { margin-top: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--accent); background: #f4f7ff; }
.asm-trayh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.asm-alts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.asm-alt { width: 100%; display: flex; flex-direction: column; gap: 2px; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0 0 8px; cursor: pointer; font-size: 12.5px; overflow: hidden; }
.asm-alt:hover { border-color: var(--accent); }
.asm-alt > span:nth-child(2) { padding: 0 8px; font-weight: 600; line-height: 1.2; }
.asm-alt em { padding: 0 8px; font-style: normal; color: var(--muted); }
.asm-empty, .asm-foot { color: var(--muted); }
.asm-foot { margin-top: 28px; font-size: 14px; }
@media (max-width: 700px) { .asm-nl { flex-direction: column; } .asm-nl input { height: 52px; } .asm-sum { position: static; } .asm-act { margin-left: 0; } }

/* /developers */
.dv-head { margin-bottom: 8px; }
.dev-page section { margin-top: 36px; }
.dev-page h2 { font-size: 24px; margin: 0 0 14px; }
.dv-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dv-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dv-table td:first-child { white-space: nowrap; }
.dev-page code { font-family: ui-monospace, Consolas, monospace; font-size: 0.92em; }
.dv-codes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 18px; }
.dv-code h3 { margin: 0 0 8px; font-size: 15px; color: var(--muted); }
.dv-code pre { margin: 0; padding: 16px 18px; background: #12151c; color: #e6e9f0; border-radius: 12px; overflow-x: auto; font-size: 13.5px; line-height: 1.5; }
@media (max-width: 700px) { .dv-table td { display: block; border: 0; padding: 2px 0; } .dv-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); } }
