:root {
  --bg: #070b10;
  --bg-2: #0d141c;
  --panel: rgba(14, 22, 31, 0.86);
  --line: rgba(200, 170, 110, 0.22);
  --line-strong: rgba(200, 170, 110, 0.55);
  --gold: #c8aa6e;
  --gold-light: #f0e6d2;
  --gold-dark: #785a28;
  --teal: #0ac8b9;
  --text: #e8e2d4;
  --muted: #8f9aa6;
  --win: #4fd18b;
  --loss: #e8545a;
  --radius: 10px;
  --serif: 'Cinzel', Georgia, serif;
  --display: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--bg);
  background-image: radial-gradient(ellipse at top, #13202c 0%, var(--bg) 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(7, 11, 16, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; letter-spacing: 0.06em; color: var(--gold-light); }
.site-header nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-header nav a {
  padding: 8px 14px; border-radius: 6px; color: var(--muted);
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em; transition: color .15s, background .15s;
}
.site-header nav a:hover { color: var(--gold-light); }
.site-header nav a.active { color: var(--gold-light); background: rgba(200, 170, 110, 0.1); }
.container { width: min(1200px, 100%); margin: 0 auto; padding: 32px clamp(16px, 4vw, 48px) 80px; }

.page-title { font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); color: var(--gold-light); margin: 0 0 6px; letter-spacing: 0.04em; }
.page-sub { color: var(--muted); margin: 0 0 28px; }

/* ---------------------------------------------------------- Buttons & inputs */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--gold); background: transparent; color: var(--gold-light);
  font-weight: 600; letter-spacing: 0.03em; transition: background .15s, transform .1s, opacity .15s;
}
.btn:hover { background: rgba(200, 170, 110, 0.12); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: linear-gradient(180deg, #c8aa6e, #9a7a3e); color: #10141a; border-color: #e3c88f; }
.btn-primary:hover { background: linear-gradient(180deg, #d9bd84, #a8884a); }
.btn-ghost { border-color: var(--line); color: var(--muted); }
.btn-whats { background: #1f9d55; border-color: #2ec46b; color: #fff; }
.btn-whats:hover { background: #22ad5e; }
.btn-sm { padding: 6px 12px; font-size: 13px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }
.input {
  width: 100%; padding: 11px 14px; border-radius: 6px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 170, 110, 0.15); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
select.input option { background: var(--bg-2); }
textarea.input { resize: vertical; min-height: 90px; }
.hint { font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------- Chips (lanes / filtros) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); color: var(--muted);
  font-size: 14px; font-weight: 500; transition: all .15s; user-select: none;
}
.chip img { width: 20px; height: 20px; opacity: .7; }
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip.on { border-color: var(--gold); color: var(--gold-light); background: rgba(200, 170, 110, 0.14); }
.chip.on img { opacity: 1; }
.chip .tag { font-size: 10px; padding: 1px 6px; border-radius: 4px; background: var(--gold); color: #111; font-weight: 700; }

/* ---------------------------------------------------------- Home: filtros + cards */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
.toolbar .input { width: auto; min-width: 180px; }
.toolbar .grow { flex: 1; min-width: 200px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }

.card {
  position: relative; height: 360px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  isolation: isolate;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.card.selected { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.card-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: 60% 20%; transition: transform .5s; }
.card:hover .card-bg { transform: scale(1.05); }
.card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 11, 16, .1) 0%, rgba(7, 11, 16, .55) 45%, rgba(7, 11, 16, .97) 100%); }
.card-link { position: absolute; inset: 0; z-index: 1; }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.card-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 2; }
.region-tag { font-family: var(--sans); font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 4px; background: rgba(0, 0, 0, .6); border: 1px solid var(--line); color: var(--gold-light); }
.pick {
  width: 30px; height: 30px; border-radius: 6px; cursor: pointer;
  background: rgba(0, 0, 0, .6); border: 1px solid var(--line-strong); color: var(--teal);
  display: grid; place-items: center; font-weight: 800;
}
.card.selected .pick { background: var(--teal); color: #031; border-color: var(--teal); }
.card-name { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 26px; line-height: 1.1; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.card-name small { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 4px; }
.card-rank { display: flex; align-items: center; gap: 10px; }
.card-rank img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .7)); }
.card-rank .tier { font-weight: 700; color: var(--gold-light); }
.card-rank .wr { font-size: 12px; color: var(--muted); }
.card-row { display: flex; justify-content: space-between; align-items: center; }
.lanes { display: flex; gap: 6px; }
.lanes img { width: 22px; height: 22px; }
.mini-champs { display: flex; gap: 5px; }
.mini-champs img { width: 32px; height: 32px; border-radius: 4px; border: 1px solid var(--line-strong); }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty h3 { font-family: var(--serif); color: var(--gold-light); margin: 0 0 8px; }

/* barra de seleção 5v5 */
.select-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); z-index: 50;
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 20px;
  background: rgba(13, 20, 28, .96); border: 1px solid var(--teal); border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6); transition: transform .25s; max-width: calc(100% - 32px);
}
.select-bar.show { transform: translate(-50%, 0); }
.select-bar strong { color: var(--teal); }

/* ---------------------------------------------------------- Modal (times) */
.modal { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: 16px; background: rgba(0, 0, 0, .75); backdrop-filter: blur(4px); }
.modal.open { display: grid; }
.modal-box { width: min(900px, 100%); max-height: 92vh; overflow: auto; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 14px; padding: 24px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.modal-head h2 { font-family: var(--serif); color: var(--gold-light); margin: 0; }
.teams { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .teams { grid-template-columns: 1fr; } }
.team { border-radius: 10px; padding: 14px; border: 1px solid; }
.team.blue { border-color: rgba(64, 140, 255, .5); background: linear-gradient(180deg, rgba(40, 90, 200, .18), transparent); }
.team.red { border-color: rgba(232, 84, 90, .5); background: linear-gradient(180deg, rgba(200, 50, 60, .18), transparent); }
.team h3 { margin: 0 0 10px; font-family: var(--serif); display: flex; justify-content: space-between; font-size: 16px; }
.team.blue h3 { color: #8fb8ff; }
.team.red h3 { color: #ff9a9e; }
.team-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.team-row img.lane { width: 22px; height: 22px; }
.team-row img.emb { width: 30px; height: 30px; object-fit: contain; margin-left: auto; }
.team-row .who { line-height: 1.2; }
.team-row .who small { display: block; color: var(--muted); font-size: 12px; }
.offlane { color: #f3b562; font-size: 11px; }

/* ---------------------------------------------------------- Formulário */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } .preview-col { order: -1; } }
.section { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.section h2 { font-family: var(--serif); font-size: 17px; color: var(--gold-light); margin: 0 0 4px; letter-spacing: 0.04em; display: flex; align-items: center; gap: 10px; }
.section h2 .num { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--gold); border-radius: 50%; font-size: 12px; color: var(--gold); font-family: var(--sans); }
.section > p { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.riot-row { display: grid; grid-template-columns: 1fr 120px auto; gap: 10px; align-items: end; }
@media (max-width: 560px) { .riot-row { grid-template-columns: 1fr 1fr; } .riot-row .btn { grid-column: span 2; } }

.lookup-box { margin-top: 16px; }
.lookup-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px; border-radius: 8px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.lookup-card .avatar { position: relative; width: 72px; }
.lookup-card .avatar img { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--gold); }
.lookup-card .avatar span { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); font-size: 11px; padding: 1px 7px; background: var(--bg); border: 1px solid var(--gold); border-radius: 999px; }
.lookup-card h3 { margin: 0; font-family: var(--display); font-style: italic; font-size: 22px; }
.lookup-card h3 small { font-family: var(--sans); font-style: normal; color: var(--muted); font-size: 14px; }
.queues { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.queue { display: flex; align-items: center; gap: 8px; }
.queue img { width: 48px; height: 48px; object-fit: contain; }
.queue .q { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.queue .t { font-weight: 700; color: var(--gold-light); }
.queue .r { font-size: 12px; }
.champ-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.champ-stat { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 6px; background: rgba(255, 255, 255, .03); }
.champ-stat img { width: 40px; height: 40px; border-radius: 6px; }
.champ-stat b { display: block; font-size: 13px; }
.champ-stat span { font-size: 12px; color: var(--muted); }
@media (max-width: 560px) { .champ-stats { grid-template-columns: 1fr; } }
.good { color: var(--win) !important; }
.bad { color: var(--loss) !important; }
.loading { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 14px 0; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.alert { padding: 10px 14px; border-radius: 6px; font-size: 14px; border: 1px solid; }
.alert-err { border-color: rgba(232, 84, 90, .5); background: rgba(232, 84, 90, .1); color: #ffb3b6; }
.alert-warn { border-color: rgba(243, 181, 98, .5); background: rgba(243, 181, 98, .08); color: #f3d3a2; }

.champ-picker-search { margin-bottom: 12px; }
.champ-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; padding: 4px; }
.champ-opt { position: relative; cursor: pointer; border-radius: 6px; border: 2px solid transparent; overflow: hidden; background: none; padding: 0; transition: border-color .15s, transform .15s; }
.champ-opt img { width: 100%; aspect-ratio: 1; filter: grayscale(.35) brightness(.85); transition: filter .15s; }
.champ-opt:hover img { filter: none; }
.champ-opt:hover { transform: scale(1.05); }
.champ-opt.on { border-color: var(--gold); }
.champ-opt.on img { filter: none; }
.champ-opt span { position: absolute; left: 0; right: 0; bottom: 0; font-size: 10px; text-align: center; background: rgba(0, 0, 0, .75); padding: 1px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.selected-champs { display: flex; gap: 8px; flex-wrap: wrap; min-height: 52px; margin-bottom: 12px; padding: 8px; border-radius: 8px; background: rgba(0, 0, 0, .3); border: 1px dashed var(--line); align-items: center; }
.selected-champs .sc { position: relative; }
.selected-champs .sc img { width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--gold); }
.selected-champs .sc button { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; border: none; background: var(--loss); color: #fff; font-size: 11px; line-height: 1; cursor: pointer; }

.skin-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; max-height: 340px; overflow-y: auto; padding: 4px; }
.skin-opt { position: relative; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: none; aspect-ratio: 16/10; }
.skin-opt img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.skin-opt:hover img { transform: scale(1.06); }
.skin-opt.on { border-color: var(--gold); }
.skin-opt span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; font-size: 12px; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .9)); }

.preview-col { position: sticky; top: 90px; }
.preview-frame { aspect-ratio: 9/14; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong); position: relative; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------------------------------------------------------- Perfil (estilo do print) */
.profile-page { position: relative; min-height: calc(100vh - 71px); overflow: hidden; isolation: isolate; }
.profile-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 20%; animation: slowzoom 30s ease-in-out infinite alternate; }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.profile-page::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .7) 100%), linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .85)); }

.profile-stage { position: relative; min-height: calc(100vh - 71px); display: grid; grid-template-columns: 90px 1fr 90px; padding: 24px clamp(12px, 3vw, 36px); }
.profile-center { grid-column: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding-top: 10px; }
.p-region { font-family: var(--sans); font-weight: 900; font-size: clamp(34px, 5vw, 52px); color: #fff; text-shadow: 0 3px 12px rgba(0, 0, 0, .8); letter-spacing: 0.02em; }
.p-lane { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: clamp(30px, 10vh, 110px); }
.p-lane img { width: 48px; height: 48px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .8)); }
.p-lane .lane-name { font-weight: 800; font-size: 26px; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); letter-spacing: .04em; text-transform: uppercase; }
.p-lane .lane-alt { font-size: 13px; color: var(--gold-light); opacity: .85; }
.p-name { font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(42px, 7vw, 72px); line-height: 1; color: #fff; -webkit-text-stroke: 1px rgba(200, 170, 110, .55); text-shadow: 0 4px 20px rgba(0, 0, 0, .9); word-break: break-word; }
.p-tag { font-size: 14px; color: var(--muted); margin-top: -2px; }
.p-tier { font-weight: 800; font-size: clamp(28px, 4vw, 38px); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .9); margin-top: 6px; }
.p-lp { font-size: 14px; color: var(--gold-light); }
.p-emblem { width: clamp(150px, 20vw, 220px); margin-top: -10px; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .8)); }

.p-langs { position: absolute; top: 28px; right: clamp(16px, 3vw, 40px); font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(16px, 2vw, 24px); color: #e9b949; text-shadow: 0 2px 8px rgba(0, 0, 0, .9); max-width: 40%; text-align: right; }

.p-exp { grid-column: 1; grid-row: 1; position: relative; display: flex; align-items: center; }
.p-exp .vlabel { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--serif); font-weight: 700; font-size: 20px; color: #fff; letter-spacing: .08em; text-shadow: 0 2px 8px rgba(0, 0, 0, .9); }
.p-exp ul { position: absolute; left: 44px; list-style: none; margin: 0; padding: 0; width: max-content; max-width: 34vw; font-weight: 700; font-size: 15px; text-transform: uppercase; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .95); line-height: 1.8; }

.p-champs { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 12px; }
.p-champ { position: relative; display: flex; align-items: center; gap: 10px; flex-direction: row-reverse; }
.p-champ img { width: 66px; height: 66px; border: 2px solid #3b4352; box-shadow: 0 4px 14px rgba(0, 0, 0, .7); transition: border-color .2s, transform .2s; }
.p-champ:hover img { border-color: var(--gold); transform: scale(1.06); }
.p-champ .info { position: absolute; right: 78px; text-align: right; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: all .2s; background: rgba(0, 0, 0, .8); padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line); pointer-events: none; }
.p-champ:hover .info { opacity: 1; transform: none; }
.p-champ .info b { display: block; font-size: 14px; }
.p-champ .info span { font-size: 12px; color: var(--muted); }
.p-champ .wr-badge { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 800; padding: 0 6px; border-radius: 4px; background: rgba(0, 0, 0, .85); border: 1px solid var(--line-strong); }

.p-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px clamp(16px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.p-stats { display: flex; gap: 22px; flex-wrap: wrap; }
.p-stat .k { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.p-stat .v { font-weight: 800; font-size: 18px; color: #fff; }
.p-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.p-pool { display: flex; gap: 6px; align-items: center; }
.p-pool img { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); }

@media (max-width: 720px) {
  .profile-stage { grid-template-columns: 1fr; padding-bottom: 210px; }
  .profile-center { grid-column: 1; }
  .p-langs { position: static; max-width: none; text-align: center; margin-bottom: 4px; }
  .p-exp { grid-column: 1; grid-row: auto; justify-content: center; margin-top: 16px; }
  .p-exp .vlabel { writing-mode: horizontal-tb; transform: none; font-size: 14px; }
  .p-exp ul { position: static; max-width: none; text-align: center; font-size: 13px; }
  .p-exp { flex-direction: column; }
  .p-champs { grid-column: 1; grid-row: auto; flex-direction: row; justify-content: center; margin-top: 18px; }
  .p-champ .info { display: none; }
  .p-champ img { width: 56px; height: 56px; }
  .p-lane { margin-top: 20px; }
}

/* ---------------------------------------------------------- Toast */
.toast { position: fixed; top: 84px; left: 50%; transform: translate(-50%, -20px); opacity: 0; z-index: 80; padding: 12px 18px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--gold); color: var(--gold-light); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: all .3s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-error { border-color: var(--loss); color: #ffc2c4; }
.toast-success { border-color: var(--win); color: #c4f5d8; }

.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.08), rgba(255,255,255,.03)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* skin só aparece depois que a miniatura carrega (as sem imagem são apagadas) */
.skin-opt.pending { display: none; }
