/* Blessed · acabamento em vidro vermelho.
   Esta camada altera apenas a apresentação. As animações, as imagens,
   os dados, a navegação e os controles musicais continuam no index.html. */
:root{
  --cream:#e3e0f5;
  --bg:#0c0b0e;
  --surface:#17151d;
  --surface2:#241E31;
  --ink:#e7e6ef;
  --muted:#b1a5b0;
  --line:rgba(224,221,249,.15);
  --felt:#674af4;
  --felt-soft:#16103f;
  --f-display:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  --f-body:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  --glass-surface:linear-gradient(135deg,rgba(52,41,132,.18),rgba(38,29,57,.42));
  --glass-control:linear-gradient(135deg,rgba(219,214,255,.07),rgba(135,122,222,.055));
  --glass-red:linear-gradient(135deg,rgba(126,100,251,.7),rgba(53,26,210,.66));
  --glass-selected:linear-gradient(135deg,rgba(138,117,250,.3),rgba(52,35,167,.34));
  --glass-edge:rgba(220,215,255,.23);
  --glass-highlight:inset 0 1px 0 rgba(219,214,255,.065);
}

body{
  background-color:var(--bg);
  background-image:radial-gradient(ellipse 900px 480px at 100% 0,rgba(37,25,124,.24),transparent 72%);
  -webkit-font-smoothing:antialiased;
}
#app{padding-bottom:calc(124px + env(safe-area-inset-bottom,0px))}
#app.wide{padding-bottom:calc(124px + env(safe-area-inset-bottom,0px))}
h1,h2,h3{letter-spacing:-.025em}
.top{padding-block:10px 19px}
.top h1{font-weight:650}
.page-title,.bb-title,.cm-name,.cm-hero h2,.modal-box h2{
  font-family:var(--f-display);
  text-transform:none;
  font-weight:650;
  letter-spacing:-.035em;
  line-height:1.14;
  color:var(--cream);
}
.page-title,.bb-title{font-size:30px}
.cm-name{font-size:30px;overflow-wrap:anywhere}
.cm-hero h2{font-size:30px}
.modal-box h2{font-size:25px}
.bb-ask-head h2{font-size:23px}
.row h3,.lesson h3,.quiz-q,.backup h3,.panel-h h3{font-weight:600}
.row h3{letter-spacing:-.035em}
.eyebrow,.hint,.store-note{letter-spacing:.025em}

/* Botões e campos: a mesma linguagem nas telas e nos formulários. */
.btn{
  background:var(--glass-control);
  border-color:var(--line);
  border-radius:13px;
  min-height:44px;
  padding:9px 13px;
  font-weight:550;
  box-shadow:var(--glass-highlight);
}
.btn.primary,.deg[aria-pressed="true"],.paths-map button[aria-pressed="true"],
.bb-chs button.on,.inst button[aria-pressed="true"],.cm-chips.pick button[aria-pressed="true"]{
  background:var(--glass-red);
  border-color:rgba(220,214,255,.32);
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(220,214,255,.13),0 4px 16px rgba(18,4,113,.12);
  font-weight:600;
}
.btn.light{background:rgba(222,219,250,.92);border-color:rgba(255,255,255,.65);color:#1B1428;font-weight:600}
.btn.ghost{background:transparent;border-color:transparent;box-shadow:none}
.btn.danger{background:rgba(103,74,244,.07);border-color:rgba(150,132,255,.4);color:#cdc6fb}
.btn>svg,.icon-btn>svg{width:20px;height:20px;stroke-width:1.75}
.search,.nf-search .search,.cm-search,.form input,.form select,.form textarea,
.role-sel,.bb-search input,.bb-ask textarea,.cm-cmt-form textarea{
  background:rgba(223,220,250,.045);
  border-color:var(--line);
  border-radius:14px;
  box-shadow:var(--glass-highlight);
}
input::placeholder,textarea::placeholder{color:#a79aa7;opacity:1}
input,select,textarea{accent-color:var(--felt)}
.form label,.cm-field legend,.bb-ask label{font-weight:600}
.form input,.form select{min-height:46px}
.icon-btn{border-radius:12px;background:var(--glass-control);min-width:40px;min-height:40px}
.icon,.pill-btn{background:rgba(55,45,127,.32);border:1px solid rgba(218,214,255,.16);box-shadow:var(--glass-highlight)}
.icon{width:44px;height:44px}
.icon svg{width:22px;height:22px;stroke-width:1.75}
.pill-btn{font-weight:600}

/* Superfícies leves, sem desfoque nas listas nem nos mosaicos animados. */
.panel,.backup,.song-row,.paste,.cm-hero,.lock-cta,.pix,.bb-ai-launch{
  background:var(--glass-surface);
  border-color:var(--glass-edge);
  border-radius:19px;
  box-shadow:var(--glass-highlight);
}
.song-row{border-radius:15px}
.song-row .t b{font-weight:600;letter-spacing:-.02em}
.song-row .k{border-radius:11px;background:rgba(103,74,244,.13);color:#cfc7fc}
.empty{background:rgba(135,122,222,.035);border-color:var(--line);border-radius:17px}
.fam div,.pair,.path-out,.prog div,.facts div{background:var(--glass-control);border-radius:13px;box-shadow:var(--glass-highlight)}
.stepper,.inst{background:rgba(141,129,227,.055);border-color:var(--line);box-shadow:var(--glass-highlight)}
.stepper{border-radius:13px}
.inst{padding:4px;border-radius:18px;gap:3px}
.inst button{font-weight:550;min-height:40px;border-radius:13px}
.study-tabs button{padding-inline:8px}
.keys button,.deg,.paths-map button,.quiz-opts button,.bb-book,.bb-chs button,.bb-res{
  border-radius:13px;
  box-shadow:var(--glass-highlight);
}
.keypill{background:var(--glass-red);border:1px solid var(--glass-edge);border-radius:12px}
.badge,.team-alert{background:linear-gradient(135deg,#523bd7,#3623b0);color:#fff}
.tut .tut-steps .n{background:var(--glass-red)}
.bb-book b{font-family:var(--f-display);font-size:18px;font-weight:600}
.bb-book.on{background:rgba(103,74,244,.12);border-color:rgba(175,163,250,.45)}
.bb-ai-launch b{font-weight:600;letter-spacing:-.02em}
.bv.sel{background:rgba(122,102,242,.14)}

/* Navegação flutuante com quatro ou cinco botões e áreas de toque confortáveis. */
.tabbar{
  left:50%;right:auto;
  transform:translateX(-50%);
  width:calc(100% - 24px);
  max-width:736px;
  bottom:calc(10px + env(safe-area-inset-bottom,0px));
  padding:7px 6px;
  gap:2px;
  border:1px solid rgba(219,214,255,.25);
  border-radius:27px;
  background:linear-gradient(120deg,rgba(57,44,145,.82),rgba(28,24,67,.91) 60%,rgba(46,38,111,.84));
  box-shadow:inset 0 1px 0 rgba(219,214,255,.12),0 9px 28px rgba(0,0,0,.28);
}
.tabbar button{
  min-width:0;
  min-height:56px;
  padding:6px 1px;
  gap:5px;
  border-radius:20px;
  color:#E2DDEB;
  font:550 11px/1.25 var(--f-body);
  align-content:center;
  letter-spacing:-.1px;
}
.tabbar button svg{width:24px;height:24px;stroke-width:1.7}
.tabbar button[aria-current="page"]{color:#dcd6ff;background:rgba(166,153,251,.15);box-shadow:var(--glass-highlight)}
.tabbar .badge{position:absolute;top:3px;left:calc(50% + 7px);height:17px;min-width:17px;font-size:11px;margin:0;padding:0 4px}
.bb-actions,.install{bottom:calc(96px + env(safe-area-inset-bottom,0px))}
.bb-actions,.install,.bsheet,.setnav,.follow{
  background:linear-gradient(135deg,rgba(42,27,66,.96),rgba(21,20,30,.98));
  border-color:var(--glass-edge);
  box-shadow:var(--glass-highlight),0 -5px 28px rgba(0,0,0,.2);
}
.bsheet{border-radius:24px 24px 0 0}
.install,.bb-actions{border-radius:21px}
.toast{bottom:calc(104px + env(safe-area-inset-bottom,0px));background:#2F2542;color:#dbd6ff;border:1px solid var(--glass-edge);font-weight:550}
.modal{background:rgba(7,6,12,.68)}
.modal-box{background:linear-gradient(145deg,#282238,#16151f 75%);border-color:var(--glass-edge);border-radius:24px;box-shadow:var(--glass-highlight),0 20px 70px rgba(0,0,0,.3)}

/* O vidro mantém um fundo legível quando o navegador não oferece desfoque. */
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .tabbar{
    background:linear-gradient(120deg,rgba(72,57,171,.4),rgba(30,23,80,.61) 60%,rgba(64,53,133,.38));
    -webkit-backdrop-filter:blur(24px) saturate(140%);
    backdrop-filter:blur(24px) saturate(140%);
  }
  .inst{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
  .modal{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
  .bb-actions,.install,.bsheet,.setnav,.follow{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
}

/* Início e artistas: imagens e animações originais, acabamento mais discreto. */
.nf-head{background:linear-gradient(rgba(14,10,22,.93),rgba(13,11,18,.58) 60%,transparent)}
.hero::after{background:linear-gradient(180deg,rgba(11,9,17,.2),rgba(12,11,14,.1) 35%,rgba(12,11,14,.86) 78%,var(--bg))}
.mosaic-hero{background:var(--bg)}
.mosaic-hero::after{background:linear-gradient(180deg,rgba(13,10,21,.55),rgba(12,11,14,.15) 30%,rgba(12,11,14,.63) 62%,var(--bg) 92%)}
.card,.top10 .poster{border-radius:14px}
.card .ex,.top10 .poster em{border-radius:7px;background:rgba(46,26,172,.9)}
.artist .ph{border-radius:16px;box-shadow:0 8px 22px rgba(0,0,0,.26)}
.artist b{font-size:13px;font-weight:550}
.home-comm{border-color:var(--glass-edge);border-radius:25px}
.hc-over{background:linear-gradient(transparent,rgba(16,10,30,.78) 38%,var(--bg))}
.hc-over h3{font-family:var(--f-display);font-size:25px;line-height:1.12;font-weight:600;text-transform:none;letter-spacing:-.035em}
.banner{background-color:var(--surface)}
.banner::after{background:linear-gradient(180deg,rgba(15,12,23,.28),rgba(12,11,14,.56) 50%,var(--bg))}
.credit button{background:var(--glass-red);border:1px solid var(--glass-edge);font-weight:600}

/* Comunidade: as mesmas fotos pequenas e os mesmos perfis reais. */
.cm-me{min-width:44px;min-height:44px}
.cm-new{min-height:46px;font-size:14px;border-radius:16px}
.cm-seg button{padding-inline:7px;font-size:14px}
.cm-search{min-height:46px}
.cm-hero{padding:21px}
.cm-card{width:clamp(112px,28vw,160px);border-radius:15px;border-color:rgba(221,217,252,.13)}
.cm-card::after{background:linear-gradient(to top,rgba(23,11,42,.9),rgba(12,11,14,.07) 60%)}
.cm-card-tx{left:9px;right:8px;bottom:9px}
.cm-card-tx b{font-size:13px;font-weight:600;letter-spacing:-.025em}
.cm-badge{background:rgba(49,30,170,.87);border:1px solid rgba(219,214,255,.18);font-weight:600}
.cm-sec{font-weight:600;letter-spacing:-.025em}
.cm-people{grid-template-columns:minmax(0,1fr);gap:0}
.cm-person{
  background:transparent;
  border:0;
  border-bottom:1px solid rgba(224,221,249,.085);
  border-radius:0;
  padding:14px 0;
  grid-template-columns:minmax(0,1fr) auto;
  gap:3px 12px;
  align-items:center;
  justify-items:stretch;
  text-align:left;
}
.cm-person:last-child{border-bottom:0}
.cm-person-main{
  min-width:0;
  grid-column:1;grid-row:1;
  grid-template-columns:57px minmax(0,1fr);
  column-gap:12px;row-gap:3px;
  align-items:center;
  justify-items:start;
  text-align:left;
}
.cm-person-main>.cm-av{grid-column:1;grid-row:1 / span 6;width:57px!important;height:57px!important;font-size:21px!important;align-self:center}
.cm-person-main>:not(.cm-av){grid-column:2;min-width:0;max-width:100%;overflow-wrap:anywhere}
.cm-person-main b{font-size:15px;font-weight:600;letter-spacing:-.025em;margin:0}
.cm-person-main .muted,.cm-person-main .cm-church{font-size:12px}
.cm-person>.cm-kind{grid-column:1;grid-row:2;justify-self:start;margin-left:69px;background:none;border:0;padding:0;font-size:11px;font-weight:550;text-transform:none;letter-spacing:0;color:#cecaed}
.cm-person .cm-follow{grid-column:2;grid-row:1 / span 2;min-height:40px;padding:8px 11px;font-size:12px;border-radius:12px}
.cm-follow.primary{background:var(--glass-selected);color:#dedafc}
.cm-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;border-radius:0;overflow:visible}
.cm-grid button{aspect-ratio:3/4;border-radius:14px;overflow:hidden;background:var(--surface)}
.cm-grid img{width:100%;height:100%;object-fit:cover}
.cm-post{background:none;border:0;border-radius:0;padding-bottom:18px;margin-bottom:19px;border-bottom:1px solid var(--line)}
.cm-post-h{padding:9px 0 12px}
.cm-post-img{background:#121017;border-radius:17px;overflow:hidden}
.cm-post-h b{font-size:14px;font-weight:600}
.cm-act{font-size:14px;min-height:42px;font-weight:550}
.cm-act svg{width:21px;height:21px;stroke-width:1.7}
.cm-act.like[aria-pressed="true"],.cm-act.save[aria-pressed="true"]{color:#bcb2fc}
.cm-cap,.cm-songtag,.cm-time{margin-inline:6px}
.cm-av{font-weight:600}
.cm-cover{border:1px solid rgba(200,194,250,.16);border-radius:24px;background-color:#20182F}
.cm-id{margin-bottom:13px;align-items:center}
.cm-id .cm-av{box-shadow:0 0 0 4px var(--bg),0 0 0 5px rgba(221,217,252,.35)}
.cm-chips span{background:rgba(181,172,249,.06);border-color:rgba(211,206,250,.22);font-size:12px;font-weight:550}
.cm-chips.pick button{background:var(--glass-control);border-color:var(--line);padding:7px 11px;font-size:13px;font-weight:550;min-height:38px}
.cm-bio{color:#d4d0dd;font-size:14px;line-height:1.65}
.cm-counts{gap:19px;font-size:13px}
.cm-counts b{font-size:18px;font-weight:600}
.cm-cmt-n{font-weight:600}
.cm-actions .btn{font-size:13px;min-height:40px}
.cm-swatches{flex-wrap:wrap}
.bb-actions .btn{font-size:14px}

@media(max-width:420px){
  .top h1.page-title{font-size:29px}
  .cm-seg button{font-size:13px}
  .cm-grid{gap:6px}
  .tabbar{width:calc(100% - 20px)}
  .cm-person{column-gap:9px}
}
@media(max-width:360px){
  .tabbar{padding-inline:4px;gap:1px}
  .tabbar button{font-size:10px;letter-spacing:-.2px}
  .cm-person-main{grid-template-columns:49px minmax(0,1fr);column-gap:9px}
  .cm-person-main>.cm-av{width:49px!important;height:49px!important}
  .cm-person>.cm-kind{margin-left:58px}
  .cm-person .cm-follow{padding-inline:9px}
  .cm-grid{gap:5px}
  .cm-grid button{border-radius:11px}
}
@media(pointer:coarse){
  .cm-chips.pick button,.cm-follow,.icon-btn{min-height:44px}
}
