/* Publica Games — visual do mockup do dono: azul-marinho escuro, vidro, pílulas, amarelo + ciano */
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url(/fonts/baloo-2-800.woff2) format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 700; font-display: swap; src: url(/fonts/baloo-2-700.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 400 600; font-display: swap; src: url(/fonts/nunito-400.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700 900; font-display: swap; src: url(/fonts/nunito-800.woff2) format('woff2'); }

:root {
  --bg: #060b1a; --bg2: #0a1430; --panel: rgba(15, 28, 60, .72); --panel2: #0f1d40; --line: rgba(125, 170, 255, .16); --line2: rgba(125, 170, 255, .3);
  --text: #eef4ff; --muted: #9fb2d6; --blue: #2f8bff; --blue2: #1561e8; --cyan: #22d3ee; --yellow: #ffc81f; --orange: #ff9a0a; --green: #34d399; --red: #ff6b7a; --purple: #a78bfa;
  --r: 14px; --nav-h: 68px; --display: 'Baloo 2', 'Nunito', system-ui, sans-serif; --ui: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg) radial-gradient(1200px 600px at 80% -10%, rgba(47, 139, 255, .12), transparent 60%) no-repeat; color: var(--text); font: 16px/1.55 var(--ui); min-height: 100vh; overflow-x: hidden; }
a { color: #8cc4ff; text-decoration: none; } a:hover { color: #fff; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .4em; letter-spacing: .2px; }
h1 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; } h2 { font-size: 26px; font-weight: 800; } h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 .9em; }
.i { width: 20px; height: 20px; flex: none; } .i.big { width: 44px; height: 44px; }
.wrap { width: min(1440px, 100% - 64px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); } .small { font-size: 14px; } .center { text-align: center; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 99; background: #fff; color: #000; padding: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: linear-gradient(180deg, rgba(5, 10, 26, .9), rgba(7, 14, 34, .74)); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.top-in { height: 100%; width: min(1600px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; flex: none; }
.logo img { width: 42px; height: auto; filter: drop-shadow(0 0 10px rgba(34, 160, 255, .55)); }
.wm { font: 800 26px/1 var(--display); font-style: italic; letter-spacing: -.3px; color: #fff; display: inline-block; transform: skewX(-4deg); white-space: nowrap; }
.wm b { font-weight: 800; background: linear-gradient(180deg, #5fe3ff, #1f8fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm small { font-size: .72em; color: #fff; }
.links { display: flex; gap: 4px; margin-left: 18px; }
.links a { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 44px; border-radius: 12px; color: #dce7ff; font-weight: 700; border: 1px solid transparent; white-space: nowrap; }
.links a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.links a[aria-current] { background: linear-gradient(180deg, rgba(47, 139, 255, .35), rgba(21, 97, 232, .25)); border-color: rgba(80, 160, 255, .55); color: #7cc4ff; box-shadow: 0 0 18px rgba(47, 139, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .12); }
.search { position: relative; display: flex; align-items: center; flex: 1; max-width: 300px; margin-left: auto; }
.search .i { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(10, 20, 48, .75); color: #fff; padding: 0 16px 0 44px !important; font: 600 15px var(--ui); }
.search input::placeholder { color: #8ea2c8; }
.search.big { max-width: none; margin: 4px 0 18px; } .search.big input { height: 56px; font-size: 18px; }
.iconbtn { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line2); color: #dfe9ff; cursor: pointer; list-style: none; }
.iconbtn::-webkit-details-marker { display: none; }
.langs { position: relative; } .langs summary { display: flex; gap: 6px; padding: 0 12px; }
.langs .lc { font-weight: 800; font-size: 13px; }
.langs .menu { position: absolute; right: 0; top: 52px; background: #0d1a3a; border: 1px solid var(--line2); border-radius: 14px; padding: 6px; min-width: 170px; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.langs .menu a { display: block; padding: 10px 14px; border-radius: 10px; color: #dfe9ff; font-weight: 700; }
.langs .menu a:hover, .langs .menu a[aria-current] { background: rgba(47, 139, 255, .2); }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--blue2)); font: 800 16px var(--display); color: #fff; }
.avatar.xl { width: 84px; height: 84px; font-size: 40px; flex: none; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 800 16px var(--ui); cursor: pointer; color: #fff; text-decoration: none; transition: transform .15s, box-shadow .15s, filter .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); color: #fff; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.wide { width: 100%; white-space: normal; text-align: center; padding-block: 8px; } .btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn.big { min-height: 60px; padding: 0 30px; font-size: 18px; }
.btn-primary { background: linear-gradient(180deg, #3d97ff, var(--blue2)); box-shadow: 0 6px 20px rgba(21, 97, 232, .35); }
.btn.ghost { background: rgba(255, 255, 255, .06); border-color: var(--line2); color: #e6eeff; }
.btn-play { background: linear-gradient(180deg, #ffe066 0%, var(--yellow) 45%, var(--orange) 100%); color: #10183a; font: 800 22px/1 var(--display); font-style: italic; letter-spacing: .5px; box-shadow: 0 0 0 3px rgba(255, 210, 60, .25), 0 10px 30px rgba(255, 170, 20, .45), inset 0 2px 0 rgba(255, 255, 255, .6); }
.btn-play:hover { color: #10183a; }
.btn-pub { background: linear-gradient(180deg, #4ff0ff 0%, #18b6f5 45%, #1677ff 100%); color: #fff; font: 800 18px/1 var(--display); letter-spacing: .4px; text-shadow: 0 1px 2px rgba(0, 40, 90, .5); box-shadow: 0 0 0 3px rgba(60, 220, 255, .22), 0 10px 30px rgba(20, 150, 255, .45), inset 0 2px 0 rgba(255, 255, 255, .5); }
.btn-pub .i { width: 22px; height: 22px; }
.btn-pub-nav { min-height: 44px; padding: 0 18px; font-size: 15px; background: linear-gradient(180deg, #39e2ff, #1677ff); box-shadow: 0 0 16px rgba(34, 200, 255, .4); flex: none; }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 18px 0 22px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(13, 26, 58, .8); color: #e6eeff; font-weight: 700; white-space: nowrap; }
.pill-btn .i { width: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(13, 26, 58, .8); color: #e6eeff; font: 700 15px var(--ui); cursor: pointer; }
.chip.on { background: rgba(47, 139, 255, .3); border-color: var(--blue); color: #fff; }
.chip.ghost { color: var(--muted); }

/* ---------- hero ---------- */
.has-hero .hero { margin-top: calc(-1 * var(--nav-h)); }
.hero { position: relative; }
.hero-art { position: relative; aspect-ratio: 1920 / 566; max-height: 760px; width: 100%; overflow: hidden; background: #0a1430; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-art::after { content: ''; position: absolute; inset: auto 0 0 0; height: 18%; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
.hero-cta { position: absolute; left: 50%; top: 90%; transform: translate(-50%, -50%); display: flex; gap: 18px; z-index: 2; }
.hero-cta .btn { min-height: 62px; padding: 0 32px; }
.hero-cta .btn-play .i { width: 26px; height: 26px; }
.hero-sub { text-align: center; color: var(--muted); font-weight: 600; margin-top: 14px; margin-bottom: 6px; }

/* ---------- categorias ---------- */
.cats { position: relative; margin: 14px 0 6px; }
.cats::after { content: ''; position: absolute; right: 0; top: 0; bottom: 8px; width: 48px; background: linear-gradient(90deg, transparent, var(--bg)); pointer-events: none; }
.cats-in { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px 10px; scroll-snap-type: x proximity; }
.cats-in::-webkit-scrollbar { display: none; }
.cat { display: flex; align-items: center; gap: 12px; flex: none; height: 60px; padding: 0 24px 0 18px; border-radius: 18px; background: linear-gradient(180deg, rgba(20, 36, 76, .85), rgba(11, 22, 50, .85)); border: 1px solid var(--line2); color: #eef4ff; font-weight: 700; font-size: 16px; scroll-snap-align: start; transition: border-color .15s, box-shadow .15s; }
.cat:hover { border-color: rgba(100, 170, 255, .6); color: #fff; }
.cat.on { background: linear-gradient(180deg, #2f8bff, #1456d6); border-color: #6cb6ff; box-shadow: 0 0 22px rgba(47, 139, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .25); }
.ci { display: grid; place-items: center; width: 30px; height: 30px; } .ci svg { width: 28px; height: 28px; }

/* ---------- seções e cards ---------- */
.sec { margin-top: 34px; }
.page-top { padding-top: 28px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-title { display: flex; align-items: center; gap: 12px; }
.sec-title h1, .sec-title h2 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); }
.sec-title p { margin: 0; color: var(--muted); font-weight: 600; }
.sec-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(47, 139, 255, .16); color: #6cb6ff; }
.sec-ic .i { width: 28px; height: 28px; }
.sec-ic.fire { background: none; color: #ff8a1f; filter: drop-shadow(0 0 10px rgba(255, 120, 20, .6)); } .sec-ic.fire .i { width: 38px; height: 38px; }
.sec-ic.new { color: var(--green); background: rgba(52, 211, 153, .12); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; border-radius: var(--r); background: linear-gradient(180deg, #0f1d42, #0b1532); border: 1px solid var(--line); overflow: hidden; color: #fff; transition: transform .18s, border-color .18s, box-shadow .18s; }
.card:hover { transform: translateY(-4px); border-color: rgba(90, 170, 255, .55); box-shadow: 0 14px 30px rgba(0, 0, 0, .4), 0 0 24px rgba(47, 139, 255, .25); color: #fff; }
.art { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1d3e94, #101d44 55%, #3b1767); overflow: hidden; }
.art img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .art img { transform: scale(1.05); }
.art::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(5, 10, 26, .92)); }
.art.noimg::before { content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center; font: 800 64px var(--display); font-style: italic; color: rgba(255, 255, 255, .14); }
.art h3 { position: absolute; left: 14px; right: 14px; bottom: 8px; z-index: 1; margin: 0; font-size: 20px; text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
.badges { position: absolute; top: 10px; left: 10px; z-index: 1; display: flex; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font: 800 12px var(--ui); letter-spacing: .3px; backdrop-filter: blur(6px); }
.badge .i { width: 15px; height: 15px; }
.badge.vr { background: rgba(34, 211, 238, .9); color: #032a36; } .badge.mr { background: rgba(167, 139, 250, .92); color: #1a0d3d; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px 14px; }
.tags span, .tagrow span { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: #d5e1fa; font-size: 13px; font-weight: 700; }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; }
.empty { text-align: center; padding: 50px 16px; border: 1px dashed var(--line2); border-radius: var(--r); color: var(--muted); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; background: linear-gradient(180deg, rgba(20, 36, 76, .85), rgba(11, 22, 50, .85)); border: 1px solid var(--line2); color: #fff; }
.cat-tile .ci, .cat-tile .ci svg { width: 44px; height: 44px; } .cat-tile b { font: 800 20px var(--display); } .cat-tile small { color: var(--muted); }

/* ---------- caixas da home ---------- */
.dev-cta { margin-top: 46px; }
.dev-box { display: grid; grid-template-columns: 1fr 1.25fr; gap: 34px; align-items: center; padding: 34px; border-radius: 22px; background: radial-gradient(600px 300px at 0% 0%, rgba(34, 211, 238, .18), transparent 70%), linear-gradient(135deg, #0f2253, #0b1636 60%, #1b1250); border: 1px solid rgba(80, 200, 255, .35); box-shadow: 0 0 40px rgba(34, 160, 255, .12); }
.dev-text h2 { font-size: clamp(26px, 2.6vw, 34px); }
.dev-text p { color: #c3d3f1; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps3 li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: rgba(6, 14, 36, .55); border: 1px solid var(--line); }
.steps3 b { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(180deg, #4ff0ff, #1677ff); font: 800 22px var(--display); }
.steps3 h3 { margin: 0 0 2px; } .steps3 p { margin: 0; color: var(--muted); }
.rev-teaser { margin-top: 40px; margin-bottom: 30px; }
.rev-box { display: flex; gap: 24px; padding: 30px; border-radius: 22px; background: linear-gradient(135deg, rgba(255, 200, 31, .1), rgba(15, 28, 60, .8) 40%); border: 1px solid rgba(255, 200, 31, .3); }
.rev-ic { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(180deg, #ffe066, var(--orange)); color: #3b2500; }
.rev-ic .i { width: 36px; height: 36px; }
.checks { margin: 0 0 12px; padding-left: 20px; } .checks li { margin-bottom: 6px; color: #d7e3fb; }
.note { color: #ffd76a; font-weight: 700; }
.ad { width: min(1440px, 100% - 32px); margin: 24px auto; min-height: 90px; }

/* ---------- página do jogo ---------- */
.game-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; padding-top: 20px; }
.crumbs { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line2); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player-cover { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) saturate(1.1); }
.player:not(.playing) { background: linear-gradient(135deg, #1d3e94, #101d44 55%, #3b1767); }
.play-big { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: flex; flex-direction: column; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; color: #fff; font: 800 24px var(--display); text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.play-big .i { width: 92px; height: 92px; padding: 22px 18px 22px 26px; border-radius: 50%; background: linear-gradient(180deg, #ffe066, var(--yellow) 45%, var(--orange)); color: #10183a; box-shadow: 0 0 0 8px rgba(255, 200, 40, .2), 0 12px 40px rgba(255, 160, 20, .5); transition: transform .15s; }
.play-big:hover .i { transform: scale(1.06); }
.player:fullscreen { border-radius: 0; border: 0; } .player:-webkit-full-screen { border-radius: 0; }
.player-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 16px 0; }
.pb-title h1 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); } .dev { color: var(--muted); } .dev b { color: #8cc4ff; }
.pb-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.vr-hint { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .4); margin-bottom: 18px; }
.vr-hint .i { width: 34px; height: 34px; color: var(--cyan); } .vr-hint span { display: block; color: var(--muted); font-size: 14px; }
.game-info { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.game-info section { padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.lead { font-size: 18px; color: #e3ecff; font-weight: 600; }
.game-info p { color: #c7d4ee; }
.meta { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; }
.meta dt { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; } .meta dd { margin: 0; font-weight: 700; }
.ctl { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.ctl caption { text-align: left; font: 700 16px var(--display); color: var(--cyan); padding-bottom: 6px; }
.ctl th, .ctl td { text-align: left; padding: 8px 6px; border-top: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.ctl th { width: 44%; font-weight: 400; }
kbd { display: inline-block; padding: 2px 8px; border-radius: 8px; background: #16264f; border: 1px solid var(--line2); border-bottom-width: 3px; font: 700 13px var(--ui); color: #fff; }
.game-side h2 { font-size: 22px; } .side-list { display: grid; gap: 16px; }
.dlg { background: #0d1a3a; color: var(--text); border: 1px solid var(--line2); border-radius: 20px; padding: 24px; width: min(480px, 100% - 32px); }
.dlg::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); }
.radio, .check { display: flex; gap: 10px; align-items: center; min-height: 44px; cursor: pointer; }
.radio input, .check input { width: 22px; height: 22px; accent-color: var(--blue); flex: none; }
.row-end { display: flex; gap: 10px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- formulários ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-weight: 700; color: #cfdcf6; font-size: 14px; }
.field.inline { flex-direction: row; align-items: center; gap: 12px; } .field.inline span { min-width: 150px; }
input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(6, 13, 34, .8); color: #fff; font: 600 16px var(--ui); }
textarea { resize: vertical; }
input[type=range] { width: 100%; accent-color: var(--cyan); }
.prefix { display: flex; align-items: center; border: 1px solid var(--line2); border-radius: 12px; background: rgba(6, 13, 34, .8); overflow: hidden; }
.prefix em { padding-left: 14px; color: var(--muted); font-style: normal; white-space: nowrap; font-size: 14px; } .prefix input { border: 0 !important; background: transparent !important; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.panel { padding: 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 20px; }
.msg { font-weight: 700; } .msg.ok { color: var(--green); } .msg.err, .err { color: var(--red); }

/* ---------- login ---------- */
.auth-box { padding: 30px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line2); margin-bottom: 24px; }
.auth-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 18px; }
.auth-col { padding: 20px; border-radius: 16px; background: rgba(6, 13, 34, .55); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.auth-col .field { margin-bottom: 4px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; } .or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line2); }
.soon { font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 200, 31, .2); color: var(--yellow); }
.email-form { display: flex; flex-direction: column; gap: 8px; }

/* ---------- publicar ---------- */
.pub-head { text-align: center; margin-bottom: 20px; }
.stepper { list-style: none; display: flex; justify-content: center; gap: 0; padding: 0; margin: 0 auto 26px; max-width: 720px; counter-reset: s; }
.stepper li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 800; color: var(--muted); position: relative; text-align: center; font-size: 15px; }
.stepper li::before { content: ''; position: absolute; top: 22px; left: -50%; width: 100%; height: 3px; background: var(--line2); z-index: -1; }
.stepper li:first-child::before { display: none; }
.stepper b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #0f1d40; border: 2px solid var(--line2); font: 800 20px var(--display); color: var(--muted); }
.stepper[data-step="1"] li[data-n="1"] b, .stepper[data-step="2"] li[data-n="2"] b, .stepper[data-step="3"] li[data-n="3"] b { background: linear-gradient(180deg, #4ff0ff, #1677ff); border-color: #8ef0ff; color: #fff; box-shadow: 0 0 18px rgba(34, 200, 255, .6); }
.stepper[data-step="1"] li[data-n="1"], .stepper[data-step="2"] li[data-n="2"], .stepper[data-step="3"] li[data-n="3"] { color: #fff; }
.stepper[data-step="2"] li[data-n="1"] b, .stepper[data-step="3"] li[data-n="1"] b, .stepper[data-step="3"] li[data-n="2"] b { background: var(--green); border-color: var(--green); color: #04261a; }
.logged { text-align: center; color: var(--green); font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 6px; }
.pub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pub-grid .panel { margin: 0; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 30px 18px; border-radius: 18px; border: 2px dashed rgba(34, 211, 238, .55); background: rgba(34, 211, 238, .06); cursor: pointer; color: #dff8ff; margin-bottom: 14px; }
.drop.over { background: rgba(34, 211, 238, .18); } .drop .i.big { color: var(--cyan); }
.drop.small { flex-direction: row; padding: 16px; justify-content: flex-start; text-align: left; }
.checklist { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.checklist li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: 14px; }
.checklist li::before { content: ''; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line2); flex: none; }
.checklist li.ok { color: var(--green); } .checklist li.ok::before { content: '✓'; background: var(--green); border-color: var(--green); color: #04261a; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.checklist li.bad { color: var(--red); } .checklist li.bad::before { content: '×'; background: var(--red); border-color: var(--red); color: #fff; display: grid; place-items: center; font-weight: 900; }
.cover-edit { display: grid; grid-template-columns: 1fr 110px; gap: 12px; align-items: start; }
.cover-edit canvas { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line2); }
.cover-edit label { grid-column: 1 / -1; margin: 0; }
.controls { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin: 4px 0 14px; } .controls legend { font-weight: 800; padding: 0 6px; }
.ctl-row { display: grid; grid-template-columns: 1fr 1.4fr 44px; gap: 8px; margin-bottom: 8px; }
.ctl-row .x { border-radius: 12px; border: 1px solid var(--line2); background: transparent; color: var(--muted); font-size: 22px; cursor: pointer; }
.pub-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.progress { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 12px; }
.bar, .meter { flex: 1; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i, .meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--blue)); border-radius: 999px; transition: width .2s; }
.preview .player { margin-bottom: 8px; }
.done { text-align: center; } .done h2 { color: var(--green); display: flex; gap: 10px; justify-content: center; align-items: center; }

/* ---------- painel ---------- */
.dash-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.dash-grid .earnings { grid-column: 1 / -1; overflow-x: auto; }
.my-games ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.my-games button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 52px; padding: 8px 12px; border-radius: 12px; background: rgba(6, 13, 34, .6); border: 1px solid var(--line); color: #fff; font: 700 15px var(--ui); cursor: pointer; text-align: left; }
.my-games button.on { border-color: var(--blue); background: rgba(47, 139, 255, .18); }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.s-draft { background: rgba(255, 255, 255, .1); color: #cfdcf6; } .s-review { background: rgba(255, 200, 31, .18); color: var(--yellow); }
.s-published { background: rgba(52, 211, 153, .16); color: var(--green); } .s-rejected { background: rgba(255, 107, 122, .16); color: var(--red); }
.gd-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.gd-head img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; }
.gd-head > div:nth-child(2) { flex: 1; min-width: 200px; } .gd-head h2 { margin-bottom: 6px; }
.reject { color: var(--red); margin: 8px 0 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { padding: 14px 16px; border-radius: 14px; background: rgba(6, 13, 34, .6); border: 1px solid var(--line); }
.kpi small { display: block; color: var(--muted); font-weight: 700; } .kpi b { font: 800 clamp(20px, 2vw, 26px) var(--display); color: #fff; white-space: nowrap; }
.chart { margin: 0 0 20px; } .chart figcaption { font-weight: 800; margin-bottom: 8px; }
.chart-box { position: relative; overflow-x: auto; } .chart-box svg { min-width: 620px; } .chart svg { width: 100%; height: auto; display: block; }
.chart .bar { fill: var(--blue); } .chart .grid { stroke: rgba(255, 255, 255, .08); } .chart .ax { fill: var(--muted); font: 600 15px var(--ui); }
.chart .hit { fill: transparent; } .chart g.b:hover .bar { fill: #6cb6ff; }
.tip { position: absolute; top: 0; transform: translateX(-50%); background: #fff; color: #0b1532; padding: 4px 10px; border-radius: 8px; font-weight: 800; font-size: 13px; pointer-events: none; white-space: nowrap; }
.table-view summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.crits { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.crit { padding: 12px 14px; border-radius: 14px; background: rgba(6, 13, 34, .6); border: 1px solid var(--line); }
.crit-top { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.crit small { color: var(--muted); font-weight: 700; } .crit.ok small { color: var(--green); } .crit.ok .meter i { background: var(--green); }
details.edit summary { cursor: pointer; font-weight: 800; margin: 10px 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
.tbl input { min-height: 40px !important; }

/* ---------- admin ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 20px; }
.tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(13, 26, 58, .8); color: #e6eeff; font: 700 15px var(--ui); cursor: pointer; }
.tabs button.on { background: var(--blue2); border-color: var(--blue); }
.adm-body { overflow-x: auto; }
.q-item.done { opacity: .5; } .q-head { display: flex; gap: 16px; margin-bottom: 14px; } .q-head img { width: 200px; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; flex: none; }
.q-item .player { margin-bottom: 14px; display: grid; place-items: center; } .q-item .reason { flex: 1; min-width: 200px; }
.narrow-form { max-width: 820px; }
.switch input { width: 22px; height: 22px; accent-color: var(--green); }

/* ---------- textos ---------- */
.prose h2 { margin-top: 1.4em; font-size: 24px; } .prose li { margin-bottom: 8px; color: #d0dcf3; } .prose p { color: #d0dcf3; }
.draft { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 200, 31, .14); color: var(--yellow); font-weight: 800; font-size: 14px; }
.code { background: #050a18; border: 1px solid var(--line2); border-radius: 14px; padding: 16px; overflow-x: auto; color: #bfe9ff; font-size: 14px; }
.dev-head { display: flex; gap: 20px; align-items: center; margin-bottom: 26px; }

/* ---------- rodapé e barra de baixo ---------- */
.foot { margin-top: 60px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 20, 48, .6), #04081a); padding: 40px 0 24px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { margin: 0 0 12px; font: 800 17px var(--display); }
.foot-in > div > a { display: block; color: var(--muted); padding: 5px 0; } .foot-in > div > a:hover { color: #fff; }
.foot-brand p { color: var(--muted); margin-top: 12px; max-width: 340px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }
.foot-langs a { color: var(--muted); }
.bottombar { display: none; }

/* ---------- telas menores ---------- */
@media (max-width: 1360px) { .links a span { display: none; } .links a { padding: 0 12px; } }
@media (max-width: 1100px) {
  .links, .top .search { display: none; }
  .top-in > .btn-pub-nav { margin-left: auto; }
  .game-wrap { grid-template-columns: 1fr; } .game-info { grid-template-columns: 1fr; }
  .side-list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .dev-box { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  .wrap { width: calc(100% - 32px); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .top-in { width: calc(100% - 24px); gap: 8px; }
  .wm { font-size: 22px; } .logo img { width: 34px; }
  .btn-pub-nav span { display: none; } .btn-pub-nav { padding: 0 12px; }
  .langs summary .lc { display: none; } .langs summary { padding: 0; }
  .bottombar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(6, 12, 30, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line2); }
  .bottombar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; color: #b9c8e6; font-size: 11.5px; font-weight: 800; text-align: center; line-height: 1.1; }
  .bottombar a .i { width: 24px; height: 24px; }
  .bottombar a[aria-current] { color: #6cb6ff; }
  .bottombar a.pub { color: #fff; } .bottombar a.pub .i { width: 50px; height: 50px; padding: 12px; margin-top: -24px; border-radius: 50%; background: linear-gradient(180deg, #4ff0ff, #1677ff); box-shadow: 0 0 0 4px var(--bg), 0 0 20px rgba(34, 200, 255, .6); }
  .pub-grid, .auth-cols, .two, .three { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
  .rev-box { flex-direction: column; padding: 22px; } .dev-box { padding: 22px; }
  .q-head { flex-direction: column; } .q-head img { width: 100%; }
}
@media (max-width: 720px) {
  .hero-art { aspect-ratio: 941 / 935; max-height: none; }
  .hero-art img { object-position: center top; }
  .hero-cta { position: relative; left: auto; top: auto; transform: none; flex-direction: column; gap: 12px; padding: 0 16px; margin-top: -6px; }
  .hero-cta .btn { width: 100%; min-height: 60px; }
  .btn-play { font-size: 22px; } .btn-pub { font-size: 18px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .art h3 { font-size: 16px; left: 10px; bottom: 6px; }
  .tags { padding: 8px 10px 10px; gap: 6px; } .tags span { font-size: 12px; padding: 3px 9px; }
  .tags span:nth-child(2) { display: none; }
  .cat { height: 52px; padding: 0 18px 0 14px; font-size: 15px; border-radius: 16px; }
  .sec-head .pill-btn { height: 40px; padding: 0 12px 0 16px; font-size: 14px; }
  .player-bar { flex-direction: column; align-items: stretch; } .pb-actions .chip { flex: 1; justify-content: center; padding: 0 10px; }
  .pb-actions .chip span { font-size: 13px; }
  .play-big .i { width: 72px; height: 72px; padding: 16px 13px 16px 19px; }
  .checklist { grid-template-columns: 1fr; }
  .field.inline { flex-direction: column; align-items: stretch; gap: 4px; }
  .panel, .auth-box { padding: 18px; }
  .dev-head { flex-direction: column; text-align: center; }
  .tbl { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (max-width: 720px) { .badge.mr { font-size: 0; } .badge.mr::after { content: 'MR'; font-size: 12px; } }
