/* Ronin Studio AI palette for the business, player and systems demo. */
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) {
  --bg: #0b0b0e;
  --bg2: #111115;
  --panel: #17171c;
  --panel2: #202027;
  --line: #383840;
  --text: #f7f7f8;
  --muted: #aaaab4;
  --mint: #e6007e;
  --pink: #f24ca6;
  --purple: #a2a2ad;
  --blue: #b8b8c7;
  --focus: #ff4db1;
  --neon: #b9ff31;
  background: var(--bg);
}

:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) ::selection {
  background: #e6007e88;
  color: #fff;
}
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) :where(button, input, select, textarea, a):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .brand-mark {
  border-color: #e6007e80;
  color: #fff;
  background: linear-gradient(140deg, #e6007e, #740048);
  filter: none;
  box-shadow: 0 7px 22px #e6007e32;
}
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .brand em { color: #f24ca6; }
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .accent,
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .link-btn { color: #ff65b9; }
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .btn {
  border-color: #50505a;
  background: #28282f;
  color: #f8f8fa;
  box-shadow: inset 0 1px #ffffff10;
}
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .btn:hover { background: #35353e; }
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .btn.mint,
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .btn.pink {
  border: 1px solid #ff4db0;
  background: #e6007e;
  color: #fff;
  box-shadow: 0 7px 20px #e6007e36;
}
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .btn.mint:hover,
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .btn.pink:hover { background: #fa2699; }
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .card {
  border-color: #383840;
  background: linear-gradient(153deg, #1d1d23, #15151a 76%);
  box-shadow: inset 0 1px #ffffff0d, 0 9px 24px #0003;
}
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .status {
  border-color: #b9ff3188;
  background: #b9ff3115;
  color: #cfff7e;
}
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .status.review { border-color: #eeb86c80; background: #eeb86c16; color: #f4d29c; }
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .status.block { border-color: #f7678c80; background: #f7678c19; color: #ff9ab3; }
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .badge { background: #e6007e; color: #fff; }
:is(body[data-system="home"], body[data-system="cliente"], body[data-system="user"]) .toast { border-color: #e6007e; background: #41142e; color: #fff; }

body[data-system="home"] .system-home {
  background: linear-gradient(105deg, #0b0b0ef0, #160e17dc 62%, #0b0b0eed), url('./assets/tacos.png') center/cover;
}
body[data-system="home"] .home-tile { background: linear-gradient(150deg, #202027ef, #15151aef); }
body[data-system="home"] .home-tile:hover { border-color: #e6007e; background: #28212a; }
body[data-system="home"] .home-tile b { border-color: #e6007e83; background: #4b1736; color: #ff65b9; }

body[data-system="cliente"] .wrap {
  background: radial-gradient(ellipse 52% 34% at 90% -16%, #7600434d, transparent 78%), #0b0b0e;
}
body[data-system="cliente"] .sidebar {
  border-color: #303037;
  background: linear-gradient(180deg, #101014, #0b0b0e 74%);
}
body[data-system="cliente"] .side-foot a { display: inline-block; margin-top: 7px; color: #ff65b9; text-decoration: underline; text-underline-offset: 3px; }
body[data-system="cliente"] .nav-btn { color: #c5c5cd; }
body[data-system="cliente"] .nav-btn .ni { color: #a8a8b4; }
body[data-system="cliente"] .nav-btn:hover { background: #ffffff0e; color: #fff; }
body[data-system="cliente"] .nav-btn.active {
  border-color: #e6007e60;
  color: #fff;
  background: linear-gradient(100deg, #51002f, #271321);
  box-shadow: inset 3px 0 #e6007e, 0 7px 20px #0003;
}
body[data-system="cliente"] .nav-btn.active .ni { color: #ff65ba; }
body[data-system="cliente"] .side-promo {
  border-color: #e6007e70;
  background: linear-gradient(135deg, #1c0b18ee, #09090ccc), url('./assets/tacos.png') center/cover;
}
body[data-system="cliente"] .search,
body[data-system="cliente"] .profile-chip { border-color: #41414a; background: #1a1a20; color: #c7c7d0; }
body[data-system="cliente"] .search:focus-within { border-color: #e6007e; box-shadow: 0 0 0 3px #e6007e2b; }
body[data-system="cliente"] .avatar { background: #740048; color: #fff; }
body[data-system="cliente"] .hero-business {
  border-color: #3d303a;
  background: linear-gradient(90deg, #0b0b0ef2 0%, #0b0b0edc 45%, #0b0b0e49), url('./assets/tacos.png') center 52%/cover;
}
body[data-system="cliente"] .stat { background: linear-gradient(158deg, #202027, #15151b 80%); }
body[data-system="cliente"] .stat .stat-icon { color: #f24ca6; }
body[data-system="cliente"] .stat:nth-child(2) .stat-icon,
body[data-system="cliente"] .stat:nth-child(6) .stat-icon { color: #fff; }
body[data-system="cliente"] .stat .up { color: var(--neon); }
body[data-system="cliente"] .stat .down { color: #ff78a9; }
body[data-system="cliente"] .stat span { color: #d2d2d9; }
body[data-system="cliente"] .data-table th { border-color: #50505a; color: #b1b1bd; }
body[data-system="cliente"] .data-table td { border-color: #383840; }
body[data-system="cliente"] .data-table tr:hover td { background: #e6007e10; }
body[data-system="cliente"] .line-chart .gridline { stroke: #464650; }
body[data-system="cliente"] .line-chart .l1 { stroke: #e6007e; filter: none; }
body[data-system="cliente"] .line-chart .l2 { stroke: #fff; filter: none; }
body[data-system="cliente"] .line-chart .l3 { stroke: #a2a2ad; }
body[data-system="cliente"] .bar { background: linear-gradient(0deg, #970053, #f343a4); box-shadow: none; }
body[data-system="cliente"] .bar.pinkbar { background: linear-gradient(0deg, #656570, #c9c9d1); box-shadow: none; }
body[data-system="cliente"] .track { background: #35353e; }
body[data-system="cliente"] .fill { background: #e6007e; }
body[data-system="cliente"] .fill.blue { background: #bdbdc8; }
body[data-system="cliente"] .mini-card,
body[data-system="cliente"] .choice,
body[data-system="cliente"] .tab { border-color: #44444f; background: #202027; }
body[data-system="cliente"] .choice:hover,
body[data-system="cliente"] .tab:hover { border-color: #e6007e9c; }
body[data-system="cliente"] .choice.selected,
body[data-system="cliente"] .tab.active { border-color: #e6007e; background: #4b1736; color: #fff; box-shadow: none; }
body[data-system="cliente"] .step.active b,
body[data-system="cliente"] .step.done b { background: #e6007e; border-color: #e6007e; color: #fff; box-shadow: 0 0 0 4px #e6007e20; }
body[data-system="cliente"] .field input,
body[data-system="cliente"] .field select,
body[data-system="cliente"] .field textarea { border-color: #50505a; background: #101014; color: #fff; }
body[data-system="cliente"] .field input:focus,
body[data-system="cliente"] .field select:focus,
body[data-system="cliente"] .field textarea:focus { border-color: #e6007e; box-shadow: 0 0 0 3px #e6007e29; }
body[data-system="cliente"] .switch.on { background: #e6007e; }

body[data-system="user"] .user-world {
  background: radial-gradient(ellipse 60% 38% at 50% -8%, #6c003f75, transparent 78%), linear-gradient(150deg, #0b0b0e, #171016 70%, #0b0b0e);
}
body[data-system="user"] .user-top,
body[data-system="user"] .user-explainer { color: #b6b6c0; }
body[data-system="user"] .mobile {
  border-color: #07070a;
  outline-color: #50505a;
  background: #141419;
  box-shadow: 0 26px 55px #0009, 0 0 0 5px #e6007e12;
}
body[data-system="user"] .mobile .notch { background: #07070a; }
body[data-system="user"] .mobile-head { background: linear-gradient(#252029, #18171e); }
body[data-system="user"] .mobile-bottom { border-color: #41414a; background: #19191f; }
body[data-system="user"] .mobile-bottom button.active { color: #ff65b9; }
body[data-system="user"] .reward-card { border-color: #464650; background: #202027; }
body[data-system="user"] .reward-card:hover { border-color: #e6007e; background: #32212d; }
body[data-system="user"] .mini-card,
body[data-system="user"] .choice { border-color: #464650; background: #202027; }
body[data-system="user"] .choice:hover,
body[data-system="user"] .choice.selected { border-color: #e6007e; background: #3a2030; box-shadow: none; }
body[data-system="user"] .qr { background: #fff; color: #09090c; }
body[data-system="user"] .detail-hero,
body[data-system="user"] .game-surface { border-color: #55545e; }
body[data-system="user"] .game-surface { background: linear-gradient(#0b0b0e99, #0b0b0eaa), url('./assets/tacos.png') center/cover; }
body[data-system="user"] .catcher { border-color: #e6007e; background: #441a32; color: #fff; }
body[data-system="user"] .winner { color: var(--neon); text-shadow: 0 5px 25px #b9ff3150; }
body[data-system="user"] .mobile .btn.mint { background: #e6007e; color: #fff; }

body[data-system="cliente"] .delivery-options,
body[data-system="admin"] .delivery-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 12px 0 16px;
}
body[data-system="cliente"] .delivery-option,
body[data-system="admin"] .delivery-option {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  text-align: left;
  white-space: normal;
}
body[data-system="cliente"] .delivery-option b,
body[data-system="admin"] .delivery-option b { line-height: 1.25; }
body[data-system="cliente"] .delivery-option .small,
body[data-system="admin"] .delivery-option .small { line-height: 1.4; }
body[data-system="cliente"] .delivery-note,
body[data-system="admin"] .delivery-note {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #e6007e66;
  border-radius: 10px;
  background: #e6007e12;
}
body[data-system="cliente"] .delivery-note p,
body[data-system="admin"] .delivery-note p { margin: 6px 0 0; }

@media (min-width: 1280px) {
  body[data-system="user"] .user-layout { width: min(100%, 1320px); max-width: 1320px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body[data-system="user"] .mobile { min-width: 0; }
}

@media (max-width: 850px) {
  body[data-system="cliente"] .shell { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 650px) {
  body[data-system="cliente"] .topbar { display: grid; grid-template-columns: minmax(0, 1fr); }
  body[data-system="cliente"] .top-actions { min-width: 0; }
  body[data-system="cliente"] .top-actions:last-child { width: 100%; margin-left: 0; }
  body[data-system="cliente"] .search { width: 100%; max-width: none; }
  body[data-system="cliente"] :is(.grid-2, .grid-3, .wizard-layout, .admin-grid) { grid-template-columns: minmax(0, 1fr); }
  body[data-system="cliente"] :is(.stack, .card, .data-table) { min-width: 0; max-width: 100%; }
}
