/* O Estagiário — styles on the Lab shell. Accent: teal #14b8a6. */

/* Override the Lab's shared --accent so the "?" help button + modal
   pick up this toy's own color (Lab pattern). */
:root { --accent: #14b8a6; }

.es-intro { text-align: center; margin: 0 auto 1.6rem; max-width: 720px; }
.es-intro__title { font-family: 'Poppins', sans-serif; font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin: 0 0 .45rem; }
.es-intro__lead { color: var(--text-muted, #94a3b8); font-size: 1.02rem; margin: 0; }
.es-nojs { color: var(--text-muted, #94a3b8); padding: 1rem; }

.es-badge { display: flex; align-items: center; gap: .6rem; justify-content: center; margin-bottom: .6rem;
  font-family: 'Poppins', sans-serif; }
.es-badge__label { font: 700 .66rem ui-monospace, monospace; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-muted, #94a3b8); }
.es-badge b { font-size: 1.35rem; font-weight: 800; color: #2dd4bf; }
.es-badge__mult { font: 700 .72rem ui-monospace, monospace; color: #a3e635; background: rgba(163,230,53,.12);
  border-radius: 999px; padding: .15rem .55rem; }

.es-stats { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1rem;
  font: 600 .8rem ui-monospace, Menlo, monospace; letter-spacing: .04em; color: var(--text-muted, #94a3b8); }
.es-stats b { color: var(--text-main, #f8fafc); }
.es-stats__career b { color: #2dd4bf; }

.es-clickwrap { position: relative; display: flex; justify-content: center; margin-bottom: 1.1rem; }
.es-click { min-height: 74px; width: min(100%, 380px); cursor: pointer; border-radius: 18px;
  border: 2px solid #14b8a6; background: rgba(20,184,166,.14); color: #2dd4bf;
  font: 800 1.15rem 'Poppins', sans-serif; letter-spacing: .06em;
  transition: transform .07s, background .15s; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.es-click:active { transform: scale(.97); background: rgba(20,184,166,.32); color: #fff; }
.es-floaty { position: absolute; top: -4px; right: 12%; font: 800 1rem ui-monospace, monospace; color: #a3e635;
  pointer-events: none; opacity: 0; }
.es-floaty.is-pop { animation: es-pop .7s ease-out; }
@keyframes es-pop { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-26px); } }

.es-promo { margin-bottom: 1.1rem; }
.es-promo__bar { height: 8px; border-radius: 999px; background: var(--surface-2, #243349); overflow: hidden;
  border: 1px solid var(--border, rgba(255,255,255,.08)); }
.es-promo__fill { height: 100%; background: linear-gradient(90deg, #14b8a6, #a3e635); transition: width .3s; }
.es-promo__row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap;
  margin-top: .45rem; font-size: .85rem; color: var(--text-muted, #94a3b8); }
.es-promo__row b { color: var(--text-main, #f8fafc); }
.es-promo__top { margin: 0; text-align: center; color: var(--text-main, #f8fafc); }

.es-shop__title { font: 700 .72rem ui-monospace, monospace; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-muted, #94a3b8); margin: 0 0 .6rem; }
.es-item { display: flex; align-items: center; gap: .9rem; padding: .65rem .8rem; border-radius: 12px;
  border: 1px solid var(--border, rgba(255,255,255,.08)); background: var(--surface-2, rgba(36,51,73,.5));
  margin-bottom: .5rem; }
.es-item__info { flex: 1; min-width: 0; }
.es-item__info b { font-size: .95rem; }
.es-item__info p { margin: .1rem 0 0; font-size: .8rem; color: var(--text-muted, #94a3b8); }
.es-item__owned { font: 700 .78rem ui-monospace, monospace; color: #2dd4bf; margin-left: .3rem; }
.es-buy { min-width: 86px; min-height: 44px; cursor: pointer; border-radius: 10px;
  border: 1px solid #14b8a6; background: rgba(20,184,166,.12); color: #2dd4bf;
  font: 700 .9rem ui-monospace, monospace; transition: background .15s; }
.es-buy:hover:not(:disabled) { background: rgba(20,184,166,.3); color: #fff; }
.es-buy:disabled { opacity: .38; cursor: not-allowed; border-color: var(--border, rgba(255,255,255,.15)); color: var(--text-muted, #94a3b8); }

.es-footbtns { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-top: 1.2rem; }
.es-btn { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; border-radius: 999px;
  font: 700 .82rem 'Inter', sans-serif; padding: .5rem 1rem; border: 1px solid var(--border, rgba(148,163,184,.35));
  background: transparent; color: var(--text-main, #e2e8f0); transition: border-color .15s; }
.es-btn:hover { border-color: #14b8a6; }
.es-btn--promo { border-color: #a3e635; color: #a3e635; font-weight: 800; }
.es-btn--promo:hover { background: rgba(163,230,53,.14); }
.es-btn--ghost { color: var(--text-muted, #94a3b8); }

.es-toast { position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 50;
  font: 700 .8rem ui-monospace, monospace; letter-spacing: .06em;
  background: var(--bg-card, #1e293b); border: 1px solid rgba(20,184,166,.5); border-radius: 999px;
  padding: .5rem 1.1rem; color: var(--text-main, #f8fafc); box-shadow: 0 10px 30px -12px rgba(2,6,23,.6);
  max-width: min(92vw, 560px); }

@media (prefers-reduced-motion: reduce) {
  .es-floaty.is-pop { animation: none !important; }
}
