/* (15/11/2026) PAGE DISCORD : liaison de compte, ce qu'on y trouve, tickets, commandes du bot, règlement. Clair + sombre. */
.dc-sec { padding: 56px 0 0; }
.dc-sec:last-of-type { padding-bottom: 48px; }
.dc-head { text-align: center; margin-bottom: 26px; }
.dc-head h2, .dc-box h2, .dc-linkhead h2 { font-size: clamp(28px, 3.4vw, 38px); }
.dc-sec code { font-family: var(--font-mono); font-size: .92em; font-weight: 600; color: var(--sky-5); background: var(--sky-1); padding: 2px 7px; border-radius: 7px; white-space: nowrap; }

/* 1. lier son compte : carte dorée, gains + 3 étapes */
.dc-linkcard { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 34px; align-items: center; padding: 32px 34px;
	border: 3px solid var(--outline); border-radius: 26px; box-shadow: 0 7px 0 var(--outline); background: linear-gradient(135deg, #ffe07a, var(--gold) 55%, #f5ab25); }
.dc-linkcard h2, .dc-linkcard p, .dc-linkcard strong, .dc-linkcard div { color: #1b1740; }
.dc-linkhead { display: grid; gap: 10px; }
.dc-tag { justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: #5865f2;
	border: 2px solid #1b1740; border-radius: 999px; padding: 4px 11px; box-shadow: 0 2px 0 #1b1740; }
.dc-gain { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 18px; font-weight: 700; }
.dc-gain span { display: inline-flex; align-items: center; gap: 8px; }
.dc-gain img { image-rendering: pixelated; filter: drop-shadow(0 2px 0 rgba(27, 23, 64, .3)); }
.dc-gain strong { font-family: var(--font-display); font-weight: 400; font-size: 28px; }
.dc-small { font-size: 14px; font-weight: 700; opacity: .8; }
.dc-steps { list-style: none; display: grid; gap: 12px; }
.dc-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 12px 16px; background: rgba(255, 255, 255, .62);
	border: 2px solid #1b1740; border-radius: 16px; font-size: 15.5px; font-weight: 600; }
.dc-n { width: 40px; height: 40px; display: grid; place-items: center; font-family: var(--font-display); font-size: 22px; color: #fff; background: #5865f2;
	border: 2px solid #1b1740; border-radius: 12px; box-shadow: 0 3px 0 #1b1740; }
.dc-steps code { background: #1b1740; color: #fff; }

/* 2. ce que tu y trouveras : 4 cartes */
.dc-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dc-feats article { --ac: var(--sky-4); display: grid; gap: 8px; align-content: start; padding: 22px; background: var(--surface);
	border: 3px solid var(--outline); border-radius: 22px; box-shadow: 0 5px 0 var(--outline); transition: transform .2s ease, box-shadow .2s ease; }
.dc-feats article:hover { transform: translateY(-4px); box-shadow: 0 9px 0 var(--outline); }
.dc-ico { --ac: var(--sky-4); width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; transform: rotate(-5deg);
	background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--ac) 40%, #fff), var(--ac)); border: 3px solid #1b1740; box-shadow: 0 4px 0 #1b1740; }
.dc-feats article .dc-ico { --ac: inherit; }
.dc-ico svg { width: 26px; height: 26px; fill: none; stroke: #1b1740; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dc-feats h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--ink); margin-top: 6px; }
.dc-feats p { font-size: 15px; font-weight: 600; color: var(--ink-2); }

/* 3-4. tickets et commandes, côte à côte */
.dc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dc-box { display: grid; gap: 16px; align-content: start; padding: 26px 28px; background: var(--surface); border: 3px solid var(--outline); border-radius: 22px; box-shadow: 0 5px 0 var(--outline); }
.dc-list { list-style: none; display: grid; gap: 12px; counter-reset: dc; }
.dc-list li { counter-increment: dc; position: relative; padding-left: 40px; font-size: 15.5px; font-weight: 600; color: var(--ink-2); }
.dc-list li::before { content: counter(dc); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; display: grid; place-items: center;
	font-family: var(--font-display); font-size: 16px; color: #1b1740; background: var(--gold); border: 2px solid var(--outline); border-radius: 9px; }
.dc-list strong { color: var(--ink); }
.dc-more { justify-self: start; font-weight: 800; color: var(--sky-5); text-decoration: none; }
.dc-more:hover { text-decoration: underline; }
html[data-theme="dark"] .dc-more { color: #93c3ff; }
.dc-cmds { list-style: none; display: grid; gap: 4px; }
.dc-cmds li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 2px dashed color-mix(in srgb, var(--outline) 15%, transparent); }
html[data-theme="dark"] .dc-cmds li { border-bottom-color: rgba(201, 211, 245, .14); }
.dc-cmds li:last-child { border-bottom: 0; }
.dc-cmds code { justify-self: start; font-size: 15px; }
.dc-cmds span { font-size: 15px; font-weight: 600; color: var(--ink-2); }

/* 5. règlement : bandeau cliquable */
.dc-rules { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 20px 26px; text-decoration: none; color: var(--ink);
	background: var(--surface); border: 3px solid var(--outline); border-left: 10px solid var(--ruby); border-radius: 20px; box-shadow: 0 5px 0 var(--outline);
	transition: transform .2s ease, box-shadow .2s ease; }
.dc-rules:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--outline); color: var(--ink); }
.dc-rules-txt { display: grid; gap: 2px; }
.dc-rules-txt strong { font-size: 17px; }
.dc-rules-txt span { font-size: 14.5px; color: var(--ink-3); font-weight: 600; }
.dc-rules-go { font-size: 26px; font-weight: 800; color: var(--ruby); }

@media (max-width: 980px) {
	.dc-linkcard { grid-template-columns: 1fr; gap: 22px; }
	.dc-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dc-two { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.dc-linkcard { padding: 24px 18px; }
	.dc-feats { grid-template-columns: 1fr; }
	.dc-box { padding: 22px 18px; }
	.dc-cmds li { grid-template-columns: 1fr; gap: 2px; }
	.dc-rules { grid-template-columns: auto 1fr; padding: 18px; }
	.dc-rules-go { display: none; }
}

/* (15/11, demande admin : « couleur trop forte ») carte de liaison adoucie : fond de carte normal, bandeau doré en haut,
   léger reflet doré, textes du thème (clair et sombre) */
.dc-linkcard { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 14%, var(--surface)), var(--surface) 60%);
	border-top: 10px solid var(--gold); box-shadow: 0 6px 0 var(--outline); }
.dc-linkcard h2, .dc-linkcard strong, .dc-linkcard div { color: var(--ink); }
.dc-linkcard p { color: var(--ink-2); }
.dc-small { color: var(--ink-3) !important; opacity: 1; }
.dc-steps li { background: color-mix(in srgb, var(--outline) 4%, var(--surface)); border-color: color-mix(in srgb, var(--outline) 70%, transparent); }
html[data-theme="dark"] .dc-steps li { background: rgba(255, 255, 255, .05); border-color: rgba(201, 211, 245, .25); }
.dc-steps li > div { color: var(--ink-2); }
.dc-steps strong { color: var(--ink); }
.dc-steps code { background: var(--sky-1); color: var(--sky-5); }
html[data-theme="dark"] .dc-steps code { background: #2d3b80; color: #c9dcff; }
.dc-gain img { filter: drop-shadow(0 2px 0 rgba(27, 23, 64, .25)); }
/* (15/11) gains rangés : une ligne par gain, séparées par des pointillés (comme vote.php) */
.dc-gain { list-style: none; display: grid; gap: 0; max-width: 340px; padding: 6px 0; border-top: 2px dashed color-mix(in srgb, var(--outline) 18%, transparent);
	border-bottom: 2px dashed color-mix(in srgb, var(--outline) 18%, transparent); }
html[data-theme="dark"] .dc-gain { border-color: rgba(201, 211, 245, .16); }
.dc-gain li { display: grid; grid-template-columns: 32px 92px 1fr; align-items: center; gap: 10px; padding: 6px 0; font-size: 17px; font-weight: 600; color: var(--ink-2); }
.dc-gain li strong { font-size: 26px; text-align: right; }
.dc-gain li { display: flex; gap: 12px; }
.dc-gain li img { width: 30px; height: 30px; flex: none; }
.dc-gain li strong { text-align: left; }
