/* ============================================================
   SubNess — painel do criador
   ============================================================ */
.app-body { background: radial-gradient(900px 600px at 12% -5%, rgba(47, 128, 255, .1), transparent 60%), radial-gradient(700px 500px at 100% 0%, rgba(124, 77, 255, .08), transparent 60%), #050911; }
.app-shell { min-height: 100vh; }

/* ---------------- sidebar ---------------- */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 90;
  width: 252px;
  display: flex;
  flex-direction: column;
  padding: 18px 13px 14px;
  background: linear-gradient(180deg, #080e1b, #060a13 70%);
  border-right: 1px solid rgba(126, 162, 255, .1);
  transition: transform .3s var(--ease);
}
.sb-brand { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 7px 18px; }
.sb-brand .brand { font-size: 18px; }
.sb-brand .brand-mark { width: 32px; height: 32px; }
.sb-brand .brand-mark svg { width: 15px; height: 15px; }
.sb-beta { height: 19px; font-size: 8px; padding: 0 6px; letter-spacing: .1em; }
.sb-nav { display: flex; flex-direction: column; gap: 3px; overflow-y: auto; flex: 1; padding: 2px; }
.sb-nav::-webkit-scrollbar { width: 4px; }
.sb-label { font-size: 8.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #455572; padding: 12px 10px 6px; }
.sb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #8d9cba;
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  transition: all .16s;
}
.sb-item svg { width: 17px; height: 17px; opacity: .85; }
.sb-item:hover { color: #e1e8f8; background: rgba(255, 255, 255, .04); }
.sb-item.active { color: #fff; background: linear-gradient(90deg, rgba(47, 128, 255, .16), rgba(47, 128, 255, .04)); border-color: rgba(47, 128, 255, .22); box-shadow: inset 3px 0 0 #4c8dff; }
.sb-item.active svg { color: #79adff; opacity: 1; }
.sb-count { margin-left: auto; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 99px; display: inline-grid; place-items: center; font-size: 9px; font-weight: 700; color: #97b7e8; background: rgba(126, 162, 255, .1); }
.sb-item.active .sb-count { background: rgba(47, 128, 255, .22); color: #cfe2ff; }
.tag.hot { margin-left: auto; height: 18px; padding: 0 6px; border-radius: 5px; font-size: 7.5px; letter-spacing: .08em; color: #ffb0c2; background: rgba(255, 61, 113, .12); border: 1px solid rgba(255, 61, 113, .25); }
.sb-bottom { padding-top: 10px; display: grid; gap: 9px; }
.sb-create { display: flex; align-items: center; justify-content: center; gap: 7px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #2f80ff, #6a5bff); color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: 0 10px 24px rgba(47, 108, 255, .25); transition: all .18s; }
.sb-create:hover { filter: brightness(1.1); transform: translateY(-1px); }
.sb-create svg { width: 15px; height: 15px; }
.sb-plan { padding: 11px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); display: grid; gap: 8px; }
.sb-plan .sp-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.sb-plan .sp-name { font-size: 10.5px; font-weight: 700; letter-spacing: .02em; }
.sb-plan .sp-pill { height: 18px; padding: 0 6px; border-radius: 5px; font-size: 7.5px; font-weight: 800; display: inline-flex; align-items: center; gap: 3px; }
.sb-plan .sp-pill svg { width: 9px; height: 9px; }
.sb-plan .sp-next { font-size: 9px; color: #61708f; }
.sb-plan .progress { height: 5px; }
.sb-user { display: flex; align-items: center; gap: 9px; padding: 7px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.sb-user .su-name { font-size: 11.5px; font-weight: 600; line-height: 1.2; color: #dbe4f7; }
.sb-user .su-handle { font-size: 9.5px; color: #61708f; margin-top: 1px; }
.sb-user .su-btn { width: 27px; height: 27px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: #647491; display: grid; place-items: center; flex: none; }
.sb-user .su-btn:hover { color: #ff8b95; background: rgba(255, 71, 87, .08); }
.sb-user .su-btn svg { width: 14px; height: 14px; }
.sb-overlay { display: none; }

/* ---------------- topo / conteúdo ---------------- */
.app-main { margin-left: 252px; min-width: 0; }
.app-topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  height: 65px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 26px;
  background: rgba(5, 9, 18, .74);
  border-bottom: 1px solid rgba(126, 162, 255, .1);
  backdrop-filter: blur(18px);
}
.sb-toggle { display: none; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: #b9c6e2; place-items: center; }
.sb-toggle svg { width: 18px; height: 18px; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #6c7c9b; }
.crumb strong { color: #dbe4f7; font-weight: 600; }
.crumb .crumb-sep { color: #3d4c67; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.top-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: #8494b3; font-size: 11.5px; font-weight: 500; transition: all .16s; }
.top-btn svg { width: 15px; height: 15px; }
.top-btn:hover { color: #fff; background: rgba(255, 255, 255, .045); }
.top-btn.danger:hover { color: #ff8b95; background: rgba(255, 71, 87, .08); }
.top-btn .notif-dot { position: absolute; top: 5px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: #ff3d71; box-shadow: 0 0 8px #ff3d71; }
.top-avatar { background: none; border: 0; padding: 0; margin-left: 4px; border-radius: 50%; display: grid; place-items: center; }
.top-avatar .avatar { box-shadow: 0 0 0 2px rgba(47, 128, 255, .2); }
.top-avatar:hover .avatar { box-shadow: 0 0 0 2px rgba(47, 128, 255, .55); }
.app-content { width: 100%; max-width: 1360px; margin: 0 auto; padding: 26px 28px 60px; }
.view-fade { animation: rise .35s var(--ease); }

/* ---------------- cabeçalho de view ---------------- */
.view-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.view-head h1 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.035em; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.view-head .view-sub { font-size: 12.5px; color: #7c8ba9; margin-top: 6px; max-width: 600px; line-height: 1.55; }
.view-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.view-head .eyebrow { height: 24px; font-size: 9.5px; }
.wave { display: inline-block; animation: wave 2.6s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 30% { transform: rotate(14deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }

/* ---------------- cards de estatística ---------------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.stat-card { position: relative; padding: 16px; border-radius: 15px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(15, 24, 44, .72), rgba(8, 13, 25, .82)); overflow: hidden; }
.stat-card::after { content: ""; position: absolute; right: -28px; top: -40px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, var(--sc, rgba(47, 128, 255, .18)), transparent 68%); }
.stat-card.c-blue { --sc: rgba(47, 128, 255, .2); }
.stat-card.c-pink { --sc: rgba(255, 61, 113, .18); }
.stat-card.c-green { --sc: rgba(46, 230, 168, .15); }
.stat-card.c-gold { --sc: rgba(255, 196, 61, .16); }
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.sc-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(47, 128, 255, .1); border: 1px solid rgba(47, 128, 255, .22); color: #7fb0ff; }
.c-pink .sc-ic { background: rgba(255, 61, 113, .09); border-color: rgba(255, 61, 113, .22); color: #ff8ba0; }
.c-green .sc-ic { background: rgba(46, 230, 168, .08); border-color: rgba(46, 230, 168, .2); color: #63e8bb; }
.c-gold .sc-ic { background: rgba(255, 196, 61, .08); border-color: rgba(255, 196, 61, .22); color: #ffd77a; }
.sc-ic svg { width: 17px; height: 17px; }
.sc-chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 99px; font-size: 9px; font-weight: 600; color: #7fd8b9; background: rgba(46, 230, 168, .08); border: 1px solid rgba(46, 230, 168, .15); }
.sc-chip svg { width: 10px; height: 10px; }
.sc-chip.neutral { color: #8494b3; background: rgba(255, 255, 255, .03); border-color: var(--line); }
.stat-card strong { display: block; font-family: var(--font-display); font-size: 27px; line-height: 1; letter-spacing: -.03em; }
.sc-label { display: block; font-size: 10.5px; color: #71809e; margin-top: 5px; }
.sc-foot { margin-top: 11px; font-size: 9.5px; color: #596a88; }
.sc-foot b { color: #8fa3c7; font-weight: 600; }

/* ---------------- grids / painéis ---------------- */
.grid-2 { display: grid; grid-template-columns: 1.35fr 1fr; gap: 13px; }
.grid-2.equal { grid-template-columns: 1fr 1fr; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.panel-box { border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(14, 23, 42, .62), rgba(8, 13, 24, .78)); padding: 17px; min-width: 0; }
.pb-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pb-head h3 { font-size: 14px; letter-spacing: -.015em; display: flex; align-items: center; gap: 7px; }
.pb-head h3 svg { width: 15px; height: 15px; color: #6e9ee8; }
.pb-head p { font-size: 10.5px; color: #647391; margin-top: 2px; }
.pb-head .pill { height: 22px; font-size: 9px; }
.pb-link { font-size: 10px; color: #6c9de0; display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; white-space: nowrap; }
.pb-link:hover { color: #9bc6ff; }
.pb-link svg { width: 12px; height: 12px; }

/* gráfico */
.chart-panel { min-height: 280px; }
.chart-legend { display: flex; align-items: center; gap: 13px; font-size: 9.5px; color: #71809e; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend i { width: 7px; height: 7px; border-radius: 2px; background: #2f80ff; }
.chart-legend span:nth-child(2) i { background: #ff3d71; }
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 172px; padding: 8px 2px 0; border-bottom: 1px solid rgba(126, 162, 255, .1); }
.bc-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; min-width: 0; }
.bc-bars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.bc-bar { width: min(13px, 42%); border-radius: 4px 4px 2px 2px; min-height: 3px; transition: height .5s var(--ease); position: relative; }
.bc-bar.views { background: linear-gradient(180deg, #4d94ff, #2f6bdd); box-shadow: 0 0 14px rgba(47, 128, 255, .2); }
.bc-bar.unlocks { background: linear-gradient(180deg, #ff5b7d, #d62f52); box-shadow: 0 0 14px rgba(255, 61, 113, .18); }
.bc-bar:hover::after { content: attr(data-v); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); background: #0c1628; border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 5px; font-size: 8px; color: #dfe8fb; white-space: nowrap; z-index: 3; }
.bc-label { font-size: 8.5px; color: #546480; white-space: nowrap; }
.bc-col.today .bc-label { color: #9bb8e6; }
.chart-empty { height: 172px; display: grid; place-items: center; text-align: center; font-size: 11px; color: #61708f; border: 1px dashed var(--line); border-radius: 11px; }

/* top links */
.tl-list { display: grid; gap: 3px; }
.tl-row { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; transition: background .15s; }
.tl-row:hover { background: rgba(126, 162, 255, .04); }
.tl-thumb { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, #2f80ff, #7c4dff); background-size: cover; background-position: center; display: grid; place-items: center; color: #fff; flex: none; border: 1px solid rgba(255, 255, 255, .12); overflow: hidden; }
.tl-thumb svg { width: 16px; height: 16px; }
.tl-info { min-width: 0; flex: 1; }
.tl-title { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #dce5f7; }
.tl-sub { font-size: 9px; color: #5f7090; margin-top: 1px; display: flex; align-items: center; gap: 5px; }
.tl-sub svg { width: 10px; height: 10px; }
.tl-stats { display: flex; gap: 12px; text-align: right; flex: none; }
.tl-stats b { display: block; font-size: 11px; font-weight: 700; color: #cfdcf3; }
.tl-stats span { font-size: 8px; color: #5c6c89; }
.tl-rank { width: 18px; text-align: center; font-size: 9px; font-weight: 700; color: #5d6e8d; flex: none; }

/* plano / nível */
.level-card { position: relative; overflow: hidden; }
.level-top { display: flex; align-items: center; gap: 12px; }
.level-badge { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(145deg, #b8783f, #6e3c1a); color: #ffe4c9; flex: none; box-shadow: 0 8px 24px rgba(192, 122, 62, .22); }
.level-badge svg { width: 24px; height: 24px; }
.level-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.level-sub { font-size: 10px; color: #71809e; margin-top: 1px; }
.level-progress { margin-top: 15px; }
.level-labels { display: flex; align-items: center; justify-content: space-between; font-size: 9px; color: #647491; margin-bottom: 6px; }
.level-labels b { color: #a9bbd9; font-weight: 600; }
.level-note { margin-top: 9px; font-size: 9.5px; color: #61708f; display: flex; align-items: center; gap: 5px; }
.level-note svg { width: 12px; height: 12px; color: #7fb0ff; }

/* ações rápidas */
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick-item { display: flex; align-items: center; gap: 9px; padding: 11px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: #c5d3ea; font-size: 11px; font-weight: 500; text-align: left; transition: all .17s; }
.quick-item:hover { border-color: var(--line-2); background: rgba(126, 162, 255, .05); transform: translateY(-1px); }
.quick-item .qi { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(47, 128, 255, .09); border: 1px solid rgba(47, 128, 255, .18); color: #7fb0ff; flex: none; }
.quick-item:nth-child(2) .qi { background: rgba(255, 61, 113, .08); border-color: rgba(255, 61, 113, .18); color: #ff8ba0; }
.quick-item:nth-child(3) .qi { background: rgba(46, 230, 168, .07); border-color: rgba(46, 230, 168, .18); color: #63e8bb; }
.quick-item:nth-child(4) .qi { background: rgba(255, 196, 61, .08); border-color: rgba(255, 196, 61, .2); color: #ffd77a; }
.quick-item .qi svg { width: 15px; height: 15px; }
.quick-item small { display: block; font-size: 8.5px; color: #61708f; font-weight: 400; margin-top: 1px; }

/* ---------------- links ---------------- */
.links-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; flex-wrap: wrap; }
.searchbox { position: relative; flex: 1; min-width: 180px; max-width: 330px; }
.searchbox svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #5b6b8a; }
.searchbox input { width: 100%; height: 38px; padding: 0 12px 0 36px; border-radius: 10px; border: 1px solid var(--line); background: rgba(5, 10, 20, .7); color: #e6edfb; font-size: 11.5px; outline: none; }
.searchbox input:focus { border-color: rgba(80, 145, 255, .55); box-shadow: 0 0 0 3px rgba(47, 128, 255, .1); }
.filter-tabs { display: flex; padding: 3px; border-radius: 9px; border: 1px solid var(--line); background: rgba(5, 10, 20, .5); gap: 2px; }
.filter-tabs button { height: 30px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: #71809e; font-size: 10px; font-weight: 600; }
.filter-tabs button.active { color: #fff; background: rgba(47, 128, 255, .18); }
.links-meta { margin-left: auto; font-size: 10px; color: #5f7090; }
.link-list { display: grid; gap: 7px; }
.link-row { display: grid; grid-template-columns: minmax(210px, 1.75fr) repeat(3, minmax(58px, .55fr)) auto auto; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 13px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(14, 23, 42, .55), rgba(8, 13, 24, .7)); transition: border-color .16s, background .16s; }
.link-row:hover { border-color: rgba(126, 162, 255, .26); background: rgba(126, 162, 255, .03); }
.link-row.paused { opacity: .62; }
.link-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.link-thumb { width: 44px; height: 44px; border-radius: 10px; background-size: cover; background-position: center; display: grid; place-items: center; flex: none; border: 1px solid rgba(255, 255, 255, .13); color: #fff; position: relative; overflow: hidden; }
.link-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .35)); }
.link-thumb svg { width: 16px; height: 16px; position: relative; z-index: 2; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
.link-title { font-size: 12px; font-weight: 600; color: #e0e8f8; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-sub { display: flex; align-items: center; gap: 6px; font-size: 9px; color: #5f7090; margin-top: 3px; min-width: 0; }
.link-sub svg { width: 10px; height: 10px; }
.link-sub .ls-host { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-sub .ls-actions { display: inline-flex; align-items: center; gap: 3px; color: #7b8cab; }
.ls-dot { width: 3px; height: 3px; border-radius: 50%; background: #3f4f6b; }
.link-stat { text-align: right; }
.link-stat b { display: block; font-size: 12px; font-weight: 700; color: #cfdcf3; font-variant-numeric: tabular-nums; }
.link-stat span { display: block; font-size: 8px; color: #596a88; margin-top: 1px; }
.link-stat.green b { color: #6ee9c0; }
.link-toggle { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.link-toggle .switch { transform: scale(.82); transform-origin: right center; }
.link-actions { display: flex; align-items: center; gap: 3px; justify-content: flex-end; }
.link-actions .btn-icon { width: 30px; height: 30px; border-radius: 8px; }
.link-actions .btn-icon svg { width: 14px; height: 14px; }
.link-row .tag { height: 18px; font-size: 7.5px; padding: 0 6px; }
.link-badge-row { display: flex; gap: 4px; align-items: center; margin-top: 4px; flex-wrap: wrap; }

/* ---------------- ranking no painel ---------------- */
.rank-summary { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; margin-bottom: 18px; background: rgba(8, 13, 24, .6); }
.rank-summary .rs-item { padding: 15px 18px; display: flex; align-items: center; gap: 11px; }
.rank-summary .rs-item + .rs-item { border-left: 1px solid var(--line); }
.rank-summary .rs-ic { width: 33px; height: 33px; border-radius: 10px; display: grid; place-items: center; background: rgba(47, 128, 255, .09); border: 1px solid rgba(47, 128, 255, .2); color: #7fb0ff; flex: none; }
.rank-summary .rs-ic svg { width: 16px; height: 16px; }
.rank-summary .rs-item:nth-child(2) .rs-ic { background: rgba(255, 61, 113, .08); border-color: rgba(255, 61, 113, .2); color: #ff8ba0; }
.rank-summary .rs-item:nth-child(3) .rs-ic { background: rgba(255, 196, 61, .08); border-color: rgba(255, 196, 61, .22); color: #ffd77a; }
.rank-summary .rs-val { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.rank-summary .rs-lbl { font-size: 9.5px; color: #6b7a99; margin-top: 1px; }
.rank-filter { display: flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 9px; background: rgba(5, 10, 20, .5); }
.rank-filter button { height: 30px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: #71809e; font-size: 10px; font-weight: 600; }
.rank-filter button.active { color: #fff; background: linear-gradient(135deg, rgba(47, 128, 255, .25), rgba(124, 77, 255, .2)); }
.my-rank { margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 13px; border: 1px solid var(--line); background: rgba(47, 128, 255, .045); }
.my-rank .mr-pos { width: 40px; height: 40px; border-radius: 11px; background: rgba(47, 128, 255, .1); border: 1px solid rgba(47, 128, 255, .22); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #9bc6ff; flex: none; }
.my-rank .mr-info { flex: 1; min-width: 0; }
.my-rank .mr-info b { display: block; font-size: 12px; }
.my-rank .mr-info span { font-size: 9.5px; color: #6b7a99; }
.my-rank .mr-gap { text-align: right; font-size: 9.5px; color: #71809e; }
.my-rank .mr-gap b { color: #ffd77a; font-size: 12px; display: block; }
.arena-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 196, 61, .16); background: rgba(255, 196, 61, .035); font-size: 10.5px; color: #93876e; line-height: 1.55; }
.arena-note svg { width: 15px; height: 15px; color: #ffd77a; margin-top: 1px; flex: none; }
.arena-note b { color: #d9c18b; }
.ranking-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 10px; flex-wrap: wrap; }
.ranking-top h2 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.ranking-top h2 svg { width: 18px; height: 18px; color: #ffd77a; }
.ranking-top .muted { font-size: 10px; }
.arena-section-title { margin: 24px 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.arena-section-title h2 { font-size: 18px; display: flex; align-items: center; gap: 8px; }
.arena-section-title h2 svg { width: 18px; height: 18px; color: #ff8ba0; }
.arena-section-title p { font-size: 10px; color: #61708f; }

/* ---------------- relatórios ---------------- */
.report-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 15px; }
.report-box { padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(14, 23, 42, .5); }
.report-box span { font-size: 9px; color: #687897; text-transform: uppercase; letter-spacing: .07em; }
.report-box b { display: block; font-family: var(--font-display); font-size: 21px; margin-top: 4px; letter-spacing: -.02em; }
.report-box small { font-size: 9px; color: #5b6b88; }
.report-table .table { min-width: 640px; }
.report-toolbar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.report-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 9.5px; color: #566784; flex-wrap: wrap; }

/* ---------------- perfil ---------------- */
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 14px; align-items: start; }
.profile-card { position: relative; overflow: hidden; text-align: center; padding: 26px 18px 18px; }
.profile-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 100px; background: radial-gradient(90% 130% at 50% 0%, rgba(47, 128, 255, .22), rgba(255, 61, 113, .08), transparent 72%); }
.profile-card .pc-avatar { position: relative; width: 116px; height: 116px; margin: 6px auto 12px; z-index: 2; }
.profile-card .pc-avatar .avatar { width: 100%; height: 100%; font-size: 38px; border: 3px solid #0a1222; box-shadow: 0 0 0 2px rgba(47, 128, 255, .35), 0 12px 30px rgba(0, 0, 0, .45); }
.profile-card .pc-cam { position: absolute; right: -2px; bottom: 2px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #0a1222; background: linear-gradient(135deg, #2f80ff, #7c4dff); color: #fff; display: grid; place-items: center; z-index: 3; }
.profile-card .pc-cam svg { width: 14px; height: 14px; }
.profile-card h2 { font-size: 19px; letter-spacing: -.02em; position: relative; z-index: 2; }
.profile-card .pc-handle { font-size: 11px; color: #7c8cab; margin-top: 2px; position: relative; z-index: 2; }
.profile-card .pc-plan { display: inline-flex; margin-top: 9px; }
.profile-card .pc-progress { margin: 16px 0 7px; text-align: left; }
.profile-card .pc-progress .pp-lbl { display: flex; justify-content: space-between; font-size: 8.5px; color: #61708f; margin-bottom: 5px; }
.profile-card .pc-note { font-size: 9px; color: #5b6b88; text-align: left; line-height: 1.5; }
.profile-card .pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.profile-card .pc-stats b { display: block; font-family: var(--font-display); font-size: 15px; }
.profile-card .pc-stats span { font-size: 8px; color: #5f7090; text-transform: uppercase; letter-spacing: .05em; }
.profile-forms { display: grid; gap: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.form-actions .muted { margin-right: auto; font-size: 9px; }
.danger-zone { border-color: rgba(255, 71, 87, .18); background: rgba(255, 71, 87, .025); }
.danger-zone .pb-head h3 svg { color: #ff8b95; }

/* ---------------- novidades ---------------- */
.news-item { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-ic { width: 37px; height: 37px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.news-ic.gold { color: #ffd77a; background: rgba(255, 196, 61, .09); border: 1px solid rgba(255, 196, 61, .22); }
.news-ic.blue { color: #7fb0ff; background: rgba(47, 128, 255, .09); border: 1px solid rgba(47, 128, 255, .22); }
.news-ic.pink { color: #ff8ba0; background: rgba(255, 61, 113, .08); border: 1px solid rgba(255, 61, 113, .2); }
.news-ic svg { width: 17px; height: 17px; }
.news-item strong { font-size: 12px; display: block; }
.news-item p { font-size: 10.5px; color: #7c8ba9; line-height: 1.55; margin-top: 2px; }
.news-date { font-size: 8px; color: #4f5f7c; text-transform: uppercase; letter-spacing: .06em; display: block; margin-top: 5px; }

/* ---------------- responsivo ---------------- */
@media (max-width: 1180px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .link-row { grid-template-columns: minmax(180px, 1.6fr) repeat(3, minmax(52px, .5fr)) auto; }
  .link-toggle { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .report-summary { grid-template-columns: repeat(2, 1fr); }
  .profile-grid { grid-template-columns: 260px 1fr; }
}
@media (max-width: 980px) {
  .sidebar { transform: translateX(-100%); box-shadow: 20px 0 60px rgba(0, 0, 0, .5); }
  .sidebar.open { transform: none; }
  .sb-overlay { display: block; position: fixed; inset: 0; background: rgba(2, 5, 12, .6); backdrop-filter: blur(3px); z-index: 85; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .sb-overlay.open { opacity: 1; pointer-events: auto; }
  .app-main { margin-left: 0; }
  .sb-toggle { display: grid; }
  .app-topbar { padding: 0 16px; }
  .app-content { padding: 20px 16px 50px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card { max-width: 420px; margin: 0 auto; width: 100%; }
  .rank-summary { grid-template-columns: 1fr; }
  .rank-summary .rs-item + .rs-item { border-left: 0; border-top: 1px solid var(--line); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .crumb { display: none; }
  .top-btn .hide-sm { display: none; }
  .top-btn { padding: 0 8px; }
  .stat-grid { gap: 9px; }
  .stat-card { padding: 13px; }
  .stat-card strong { font-size: 23px; }
  .link-row { grid-template-columns: 1fr auto; gap: 8px; padding: 10px; }
  .link-stat { display: none; }
  .link-row .link-stat:first-of-type { display: block; }
  .link-actions { grid-column: 1 / -1; justify-content: flex-start; border-top: 1px solid rgba(126, 162, 255, .07); padding-top: 8px; }
  .link-actions .btn-icon { width: 32px; height: 32px; }
  .view-head { align-items: flex-start; flex-direction: column; }
  .view-actions { width: 100%; }
  .view-actions .btn { flex: 1; }
  .links-toolbar { gap: 7px; }
  .searchbox { max-width: none; flex-basis: 100%; }
  .links-meta { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2.equal { grid-template-columns: 1fr; }
  .report-summary { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .rank-summary { margin-bottom: 14px; }
  .ranking-top h2 { font-size: 15px; }
  .my-rank { flex-wrap: wrap; }
  .my-rank .mr-gap { text-align: left; }
  .news-dev { display: none; }
}
@media (max-width: 480px) {
  .app-content { padding: 16px 12px 44px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .view-head h1 { font-size: 23px; }
  .filter-tabs { flex: 1; }
  .filter-tabs button { flex: 1; padding: 0 6px; }
  .report-summary { grid-template-columns: 1fr; }
  .top-actions { gap: 1px; }
  .top-btn { padding: 0 7px; }
}
