/* GuiguiPlay Studio : les couleurs de GuiguiPlay sur le Studio de NumPlay (app.css) */
:root {
  --gp-violet: #7c5cff;
  --gp-pink: #ff4d8d;
  --gp-yellow: #ffd23f;
  --gp-ink: #1a1240;
  --gp-night: #0d0926;
}

/* ---- la barre GuiguiPlay, en haut */
.gp-bar {
  position: relative; z-index: 30;
  display: flex; align-items: center; gap: 18px; height: 52px; padding: 0 48px;
  background: var(--gp-night); color: #f4f2ff; font-family: "Nunito", system-ui, sans-serif;
}
.gp-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 900; font-size: 18px; letter-spacing: -0.02em; color: #fff; }
.gp-brand b { color: var(--gp-yellow); }
.gp-brand em {
  font-style: normal; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--gp-violet), var(--gp-pink)); padding: 2px 8px; border-radius: 99px;
}
.gp-links { margin-left: auto; display: flex; gap: 4px; }
.gp-links a { color: #bdb4ee; text-decoration: none; font-weight: 800; font-size: 14px; padding: 6px 10px; border-radius: 8px; }
.gp-links a:hover { color: #fff; background: rgba(124, 92, 255, .25); }
@media (max-width: 600px) {
  .gp-bar { padding: 0 16px; }
  .gp-links a:not(:last-child) { display: none; }
}
/* (la page se cale sous la barre) */
main { min-height: calc(100vh - 52px); }

/* ---- le titre */
.title { font-family: "Nunito", system-ui, sans-serif; font-weight: 900; font-size: clamp(36px, 12.5cqw, 60px); }
.title b { color: var(--gp-violet); font-weight: 900; }
.lede a { color: var(--gp-violet); font-weight: 800; }

/* ---- Undercover en un clic */
.uc-add {
  display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 10px; padding: 10px 14px 10px 10px;
  border: 2px solid transparent; border-radius: 16px; cursor: pointer; text-align: left;
  background: linear-gradient(135deg, #2b1b66, #160f3d); color: #f4f2ff;
  box-shadow: 0 6px 16px rgba(43, 27, 102, .25);
  transition: transform var(--t, 180ms) ease, border-color var(--t, 180ms) ease;
}
.uc-add:hover { transform: translateY(-2px); }
.uc-add img { border-radius: 11px; flex: none; }
.uc-add span { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.uc-add b { font-size: 15px; font-weight: 900; }
.uc-add small { color: #bdb4ee; font-size: 12.5px; font-weight: 700; }
.uc-add i {
  font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--gp-yellow); color: var(--gp-ink); font-weight: 900; font-size: 17px;
}
.uc-add[aria-pressed="true"] { border-color: var(--gp-yellow); }
.uc-add[aria-pressed="true"] i { background: #2ee6c5; }
.uc-add.busy { opacity: .6; pointer-events: none; }

/* ---- le guide, sous le Studio */
.gp-guide {
  background: var(--gp-night); color: #f4f2ff; font-family: "Nunito", system-ui, sans-serif;
  padding: 70px 24px 80px; line-height: 1.6;
}
.gp-guide .in { max-width: 980px; margin: 0 auto; }
.gp-guide .kicker { color: #2ee6c5; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; margin: 0 0 8px; }
.gp-guide h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; margin: 0 0 10px; letter-spacing: -0.01em; line-height: 1.1; }
.gp-guide h3 { font-size: 20px; font-weight: 900; margin: 0 0 6px; }
.gp-guide p, .gp-guide li { color: #bdb4ee; font-size: 16.5px; }
.gp-guide b, .gp-guide strong { color: #fff; }
.gp-guide a { color: #9b82ff; }
.gp-guide code {
  font-family: ui-monospace, Consolas, monospace; font-size: .88em; color: #ffe38a;
  background: #261c66; border: 1px solid #34287a; border-radius: 6px; padding: .05em .4em; word-break: break-all;
}
.gp-guide .lead { font-size: 19px; max-width: 720px; margin-bottom: 36px; }
.gp-steps { list-style: none; padding: 0; margin: 0 0 50px; counter-reset: s; display: grid; gap: 14px; }
.gp-steps > li {
  counter-increment: s; position: relative; padding: 22px 24px 22px 80px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(38, 28, 102, .75), rgba(28, 20, 80, .75)); border: 1px solid #34287a;
}
.gp-steps > li::before {
  content: counter(s); position: absolute; left: 22px; top: 22px; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: var(--gp-yellow); color: var(--gp-ink); font-weight: 900; font-size: 19px;
}
.gp-steps p { margin: 0 0 8px; }
.gp-steps p:last-child { margin: 0; }
.gp-steps ul { margin: 6px 0 0; padding-left: 20px; }
.gp-table { width: 100%; border-collapse: collapse; margin: 10px 0 4px; font-size: 15.5px; }
.gp-table th, .gp-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid #34287a; color: #bdb4ee; vertical-align: top; }
.gp-table th { color: #fff; font-weight: 900; }
.gp-table td:first-child { white-space: nowrap; }
.gp-table b { color: var(--gp-yellow); }
.gp-link {
  display: block; background: #140e38; border: 1px dashed #5a47c0; border-radius: 14px; padding: 14px 16px; margin: 12px 0;
  font-family: ui-monospace, Consolas, monospace; font-size: 13.5px; color: #ffe38a; word-break: break-all; text-decoration: none;
}
.gp-link:hover { border-style: solid; color: #fff; }
.gp-note {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; margin-top: 10px;
  background: rgba(255, 77, 122, .1); border: 1px solid rgba(255, 77, 122, .4);
}
.gp-note p { color: #ffd3de; margin: 0; }
.gp-foot { margin-top: 40px; font-size: 14px; color: #8279bd; }
.gp-foot a { color: #bdb4ee; }
@media (max-width: 640px) {
  .gp-steps > li { padding: 70px 18px 18px; }
  .gp-table td:first-child { white-space: normal; }
}

/* ---- le lien vers le guide, sous la phrase du haut */
.gp-guide-link {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  color: var(--gp-violet); font-weight: 900; font-size: 15px; text-decoration: none;
}
.gp-guide-link::after { content: "↓"; }
.gp-guide-link:hover { color: var(--gp-pink); }
html.other .gp-guide-link { display: none; }
.gp-table td:nth-child(2) { white-space: nowrap; }

/* ---- pas d'autocollant sur la calculatrice */
#star { display: none !important; }

/* ---- Fait maison : Undercover, en haut de la colonne de droite */
.gp-made { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.gp-made h2 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.gp-made .uc-add { margin-bottom: 0; }
html.other .gp-made { display: none; }

/* ---- les sauvegardes, dans la fenêtre de l'appli */
.pop-note { margin: -4px 0 4px; font-size: 12.5px; line-height: 1.4; color: var(--mute); max-width: 300px; }
.gp-links .gp-propose { background: linear-gradient(135deg, var(--gp-violet), var(--gp-pink)); color: #fff; }
.gp-links .gp-propose:hover { filter: brightness(1.1); }
