/* ============================================================
   Line Aura — pele IRMÃ DO SKETCH (04/11/2026)

   Pedido do Lucas: "a maioria dos updates de layout feitos, põe no Line
   também, e deixa o modelo de card parecido com eles, pra ter um padrão".
   É o mesmo que o Vision ganhou (vision-aura/css/vision-irmao.css): a
   pele nova do Sketch (treliça escura, botões redondos, a logo com o
   "aura" escrito à mão, as plaquinhas, cada modo num cartão com
   etiqueta, bloco da arte e o nome com a setinha), e a cor do Line, o
   VERDE-MENTA da lousa, onde o Sketch usa creme (etiquetas e o cartão do
   nome). O rosa segue só na próxima ação. Os jogos (a lousa) não mudam.
   04/11, depois: 'a paleta do Line tinha que ficar como antes' -> o MODELO é o do Sketch, mas as
   cores são as da lousa verde do Line (fundo, cartões e botões verdes; etiqueta e nome em creme).

   Liga com html.l-irmao (script no <head>; ?pele=lousa volta pra de antes).
   Regra dura (o PC do Lucas não usa placa de vídeo): nada de filtro,
   desfoque, sombra borrada nem animação infinita. Sombra é dura.
   Gerado por um script (os desenhos de cada modo são SVG embutidos).
   ============================================================ */

@font-face { font-family: 'DK Lemon Yellow Sun'; src: url('https://fonts.cdnfonts.com/s/77778/DK Lemon Yellow Sun.woff') format('woff'); font-display: block; }
@font-face { font-family: 'Angela Notes'; src: url('https://fonts.cdnfonts.com/s/115330/Angela Notes.woff') format('woff'); font-display: block; }

/* ── 1. as cores: o molde do Sketch com a PALETA DA LOUSA do Line (verdes, creme e rosa) ── */
html.l-irmao {
  --n-text: #F6F2E9; --n-panel: #0E5047; --n-panel-2: #072E29; --n-panel-3: #146353;
  --n-line: rgba(166, 241, 222, .14); --n-line-2: rgba(166, 241, 222, .24);
  --n-on: #F6F2E9; --n-on-dim: #A6D5C9; --n-ink: #072E29; --n-ink-dim: #4A6A62;
  --n-pink: #FF2D6E; --n-pink-deep: #D11857; --n-pink-dark: #8F0E3B;
  --n-drop: 0 5px 0 #04211D; --n-drop-lg: 0 8px 0 #04211D;
  --n-disp: 'Archivo Black', 'Lilita One', 'Poppins', sans-serif; --n-ui: 'Poppins', system-ui, sans-serif;
  --l-menta: #F6F2E9; --l-menta-papel: #F6F2E9;
}
/* ── 2. o fundo e os chips seguem a lousa verde de sempre (css/historia.css) ── */

/* ── 3. a barra de cima: botões redondos verdes, na ordem do Sketch (quadradinhos, moeda, perfil) ── */
html.l-irmao .la-topleft { display: flex; align-items: center; gap: 8px; }
html.l-irmao .la-topleft > #aura-launcher-btn { order: 0; }
html.l-irmao .la-topleft > .aura-chip { order: 1; }
html.l-irmao .la-topleft > .aup { order: 2; }
html.l-irmao .waffle-btn {
  width: 44px; height: 44px; border-radius: 50%; padding: 0; display: inline-grid; place-items: center;
  background: var(--n-panel); color: var(--n-on); border: 1.5px solid var(--n-line-2); box-shadow: var(--n-drop);
}
html.l-irmao .waffle-btn svg { width: 18px; height: 18px; }
html.l-irmao .la-topleft .aup-chip { height: 48px; padding: 0 12px 0 4px; gap: 10px; border-radius: 14px; background: var(--n-panel); color: var(--n-on); border: 1.5px solid var(--n-line-2); box-shadow: var(--n-drop); }
html.l-irmao .la-topleft .aup-av { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #F6F2E9; box-shadow: inset 0 0 0 2.5px var(--n-pink); }
html.l-irmao .la-topleft .aup-nm { font-weight: 800; }
html.l-irmao .la-topleft .aura-chip { height: 40px; border-radius: 999px; padding: 0 14px; background: var(--n-panel); color: var(--n-on); border: 1.5px solid var(--n-line-2); box-shadow: var(--n-drop); }
html.l-irmao #abr-fab-line { border-radius: 14px !important; background: var(--n-panel) !important; color: var(--n-on) !important; border: 1.5px solid var(--n-line-2) !important; box-shadow: 0 4px 0 rgba(0, 0, 0, .45) !important; filter: none; }

/* ── 4. a HOME ── */
html.l-irmao .la-home-content { max-width: 1240px; }
html.l-irmao .lh-hero { margin: 64px 0 0; }
/* a logo: LINE na letra da marca com o volume rosa e o "aura" escrito à mão dentro da caixa (igual ao Vision) */
html.l-irmao .lh-title {
  position: relative; display: inline-block; margin: 0; padding: 0 .3em .36em 0;
  font-family: 'DK Lemon Yellow Sun', 'Lilita One', sans-serif !important; font-weight: 400; text-transform: uppercase;
  font-size: clamp(4.6rem, 12vw, 7.6rem); line-height: .85; letter-spacing: .02em;
  color: var(--n-text) !important; text-shadow: 0 6px 0 var(--n-pink-deep) !important; -webkit-text-stroke: 0;
}
html.l-irmao .lh-title__aura {
  position: absolute; right: -.04em; bottom: -.02em; transform: rotate(-6deg);
  font-family: 'Angela Notes', 'Caveat', cursive; font-weight: 600; font-size: .44em; text-transform: lowercase; letter-spacing: 0;
  color: var(--n-pink) !important; text-shadow: none !important;
}
html.l-irmao .lh-reta, html.l-irmao .lh-livres__t { display: none !important; }
/* a frase dele embaixo da logo (as plaquinhas que eu tinha posto, "Mire · Risque · Acerte", ele achou brega) */
html.l-irmao .lh-sub { margin: 22px 0 0; font: 700 16px/1.3 var(--n-ui); letter-spacing: .01em; text-transform: none; color: var(--n-on-dim); text-shadow: none; transform: none; }

/* os modos: quatro cartões iguais lado a lado (o Chefão e o X1 deixam de ocupar a linha toda) */
html.l-irmao .lh-home__grid, html.l-irmao .lh-home__grid.tem-historia { grid-template-columns: minmax(0, 1fr); width: 100%; gap: 44px; }
html.l-irmao .lh-home__grid .lh-livres__lista { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 34px; }
html.l-irmao .lh-home__grid .lh-livres__lista .lh-modo--chefe, html.l-irmao .lh-home__grid .lh-livres__lista .lh-modo--x1 { grid-column: auto; }
html.l-irmao .lh-modo, html.l-irmao .lh-modo--x1 {
  position: relative; display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; gap: 0; align-items: stretch;
  padding: 8px; border-radius: 24px; color: var(--n-ink); text-align: left;
  background: var(--n-panel); border: 1.5px solid var(--n-line-2); box-shadow: var(--n-drop-lg); filter: none;
  transition: transform .14s, box-shadow .14s;
}
@media (hover: hover) { html.l-irmao .lh-modo:hover { filter: none; transform: translateY(-5px); box-shadow: 0 13px 0 rgba(0, 0, 0, .32); } }
html.l-irmao .lh-modo:active { transform: translateY(4px); box-shadow: 0 3px 0 rgba(0, 0, 0, .4); }
html.l-irmao .lh-modo:focus-visible { outline: 3px solid var(--l-menta); outline-offset: 4px; }
/* a etiqueta do canto ("Modo 01"), creme como no Sketch */
html.l-irmao .lh-modo::before {
  justify-self: start; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; margin: 4px 6px 8px;
  border-radius: 7px; background: var(--l-menta); color: var(--n-ink); font: 800 11.5px/1 var(--n-ui); letter-spacing: .08em; text-transform: uppercase;
}
html.l-irmao #la-mode-ninja::before { content: 'Modo 01'; }
html.l-irmao #la-mode-free::before { content: 'Modo 02'; }
html.l-irmao #la-mode-chefe::before { content: 'Modo 03'; }
html.l-irmao #la-mode-x1::before { content: 'Modo 04'; }
/* o bloco da arte: a lousa funda com pontinhos de giz e o desenho de cada modo */
html.l-irmao .lh-modo__ic, html.l-irmao .lh-modo--x1 .lh-modo__ic {
  width: auto; height: 168px; border-radius: 16px; box-shadow: none; color: transparent;
  background-color: var(--n-panel-2);
  background-image: var(--ll-arte), radial-gradient(circle at 1px 1px, rgba(246, 242, 233, .09) 1.2px, transparent 1.6px);
  background-repeat: no-repeat, repeat; background-position: center, 0 0; background-size: 128px 128px, 14px 14px;
}
html.l-irmao .lh-modo__ic svg { display: none; }
html.l-irmao #la-mode-ninja { --ll-arte: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%0A%3Cg%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20fill%3D%22%23fff%22%3E%3Cpath%20d%3D%22M9%2051%20L55%2013%22%20stroke-width%3D%2215%22%2F%3E%3Cpath%20d%3D%22M19%2017%20L45%2047%22%20stroke-width%3D%2213%22%2F%3E%3C%2Fg%3E%0A%3Cpath%20d%3D%22M9%2051%20L55%2013%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M9%2051%20L55%2013%22%20stroke%3D%22%23F6F2E9%22%20stroke-width%3D%224%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3Ccircle%20cx%3D%229%22%20cy%3D%2251%22%20r%3D%225.5%22%20fill%3D%22%239DE3BE%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%222.6%22%2F%3E%3Ccircle%20cx%3D%2255%22%20cy%3D%2213%22%20r%3D%225.5%22%20fill%3D%22%239DE3BE%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%222.6%22%2F%3E%0A%3Cpath%20d%3D%22M19%2017%20L45%2047%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%228%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M19%2017%20L45%2047%22%20stroke%3D%22%23FF2D6E%22%20stroke-width%3D%223.6%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M49%2044l3-6%201%206%206%201-6%202-1%206-2-6-6-1z%22%20fill%3D%22%23F2C14E%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%221.8%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E"); }
html.l-irmao #la-mode-free { --ll-arte: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%0A%3Crect%20x%3D%226%22%20y%3D%2210%22%20width%3D%2252%22%20height%3D%2244%22%20rx%3D%226%22%20fill%3D%22%23fff%22%20stroke%3D%22%23fff%22%20stroke-width%3D%228%22%2F%3E%0A%3Crect%20x%3D%226%22%20y%3D%2210%22%20width%3D%2252%22%20height%3D%2244%22%20rx%3D%226%22%20fill%3D%22%23F6F2E9%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%223%22%2F%3E%0A%3Cpath%20d%3D%22M13%2044%20L51%2020%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%222.2%22%20stroke-dasharray%3D%223%204%22%20stroke-linecap%3D%22round%22%20opacity%3D%22.45%22%2F%3E%0A%3Cpath%20d%3D%22M13%2045%20C19%2038%2022%2041%2027%2035%20S36%2031%2040%2026%20S48%2023%2051%2019%22%20fill%3D%22none%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%222.6%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M13%2044%20L51%2020%22%20stroke%3D%22%23FF2D6E%22%20stroke-width%3D%223.4%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3Ccircle%20cx%3D%2213%22%20cy%3D%2244%22%20r%3D%223.4%22%20fill%3D%22%239DE3BE%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%222%22%2F%3E%3Ccircle%20cx%3D%2251%22%20cy%3D%2220%22%20r%3D%223.4%22%20fill%3D%22%239DE3BE%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E"); }
html.l-irmao #la-mode-chefe { --ll-arte: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%0A%3Ccircle%20cx%3D%2232%22%20cy%3D%2238%22%20r%3D%2221%22%20fill%3D%22%23fff%22%20stroke%3D%22%23fff%22%20stroke-width%3D%228%22%2F%3E%3Cpath%20d%3D%22M20%2019l-2-12%208%206%206-9%206%209%208-6-2%2012z%22%20fill%3D%22%23fff%22%20stroke%3D%22%23fff%22%20stroke-width%3D%228%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3Ccircle%20cx%3D%2232%22%20cy%3D%2238%22%20r%3D%2221%22%20fill%3D%22%23FF2D6E%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%223%22%2F%3E%3Ccircle%20cx%3D%2232%22%20cy%3D%2238%22%20r%3D%2214%22%20fill%3D%22%23F6F2E9%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%222.6%22%2F%3E%0A%3Ccircle%20cx%3D%2232%22%20cy%3D%2238%22%20r%3D%227%22%20fill%3D%22%23FF2D6E%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%222.4%22%2F%3E%3Ccircle%20cx%3D%2232%22%20cy%3D%2238%22%20r%3D%222.4%22%20fill%3D%22%231A1716%22%2F%3E%0A%3Cpath%20d%3D%22M20%2019l-2-12%208%206%206-9%206%209%208-6-2%2012z%22%20fill%3D%22%23F2C14E%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%222.6%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M14%2028%20L50%2050%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%222.4%22%20stroke-dasharray%3D%223%203.5%22%20stroke-linecap%3D%22round%22%20opacity%3D%22.55%22%2F%3E%3C%2Fsvg%3E"); }
html.l-irmao #la-mode-x1 { --ll-arte: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%0A%3Cg%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M12%2052%20L52%2012%22%20stroke-width%3D%2216%22%2F%3E%3Cpath%20d%3D%22M12%2012%20L52%2052%22%20stroke-width%3D%2216%22%2F%3E%3C%2Fg%3E%0A%3Cpath%20d%3D%22M12%2052%20L52%2012%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%2210%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M12%2052%20L52%2012%22%20stroke%3D%22%23F6F2E9%22%20stroke-width%3D%224.6%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M12%2012%20L52%2052%22%20stroke%3D%22%231A1716%22%20stroke-width%3D%2210%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M12%2012%20L52%2052%22%20stroke%3D%22%23FF2D6E%22%20stroke-width%3D%224.6%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3Cg%20stroke%3D%22%231A1716%22%20stroke-width%3D%222.4%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2252%22%20r%3D%225%22%20fill%3D%22%239DE3BE%22%2F%3E%3Ccircle%20cx%3D%2252%22%20cy%3D%2212%22%20r%3D%225%22%20fill%3D%22%239DE3BE%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%225%22%20fill%3D%22%23F2C14E%22%2F%3E%3Ccircle%20cx%3D%2252%22%20cy%3D%2252%22%20r%3D%225%22%20fill%3D%22%23F2C14E%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); }
/* o cartão do nome (creme) com a setinha */
html.l-irmao .lh-modo__txt { margin-top: 8px; padding: 14px 52px 16px 16px; border-radius: 16px; background: var(--l-menta-papel); gap: 5px; }
html.l-irmao .lh-modo__nome { font: 400 22px/1.05 var(--n-disp); letter-spacing: .01em; text-transform: uppercase; color: var(--n-ink); text-shadow: none; }
html.l-irmao .lh-modo__desc { font: 600 14px/1.4 var(--n-ui); color: var(--n-ink-dim); }
html.l-irmao .lh-modo__rec { color: #B07A00; }
html.l-irmao .lh-modo::after {
  content: ''; position: absolute; right: 20px; bottom: 20px; width: 32px; height: 32px; border-radius: 10px;
  background: var(--n-panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6F2E9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / 16px no-repeat;
}
/* "Novo modo" (rosa) e "Modo online" / "N online agora" (grafite, bolinha verde) na fileira de cima, à direita */
html.l-irmao .lh-modo__novo {
  position: absolute; top: 12px; right: 14px; margin: 0; height: 26px; display: inline-flex; align-items: center; padding: 0 10px;
  border-radius: 7px; background: var(--n-pink-deep); color: #fff; box-shadow: none;
  font: 800 11.5px/1 var(--n-ui); letter-spacing: .08em; text-transform: uppercase; vertical-align: 0;
}
html.l-irmao .lh-modo__novo:not(.lh-modo__novo--online) { font-size: 0; }
html.l-irmao .lh-modo__novo:not(.lh-modo__novo--online)::after { content: 'Novo modo'; font-size: 11.5px; }
html.l-irmao .lh-modo__novo--online { gap: 6px; background: var(--n-panel-3); color: var(--n-on); box-shadow: inset 0 0 0 1.5px var(--n-line-2); }
html.l-irmao .lh-modo__novo--online::before { background: #4ADE80; box-shadow: none; }
html.l-irmao .x1-um { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--n-pink-deep); }

/* a Trilha da Linha: o painel verde com a etiqueta rosa no canto (como no Sketch e no Vision) */
html.l-irmao .lh-story { width: min(1240px, 100%); margin: 0 auto; padding: 58px 26px 24px; border-radius: 26px; background: var(--n-panel); border: 1.5px solid var(--n-line-2); box-shadow: var(--n-drop-lg); }
html.l-irmao .lh-story__rot {
  left: 22px; top: 20px; transform: none; height: 30px; padding: 0 12px; display: inline-flex; align-items: center;
  border-radius: 8px; background: var(--n-pink-deep); color: #fff; font: 400 17px/1 var(--n-disp); letter-spacing: .04em; text-shadow: none; clip-path: none;
}
html.l-irmao .lh-story__rot::before, html.l-irmao .lh-story__rot::after { display: none !important; }
html.l-irmao .lh-story__porta { text-align: left; color: var(--n-on-dim); }
html.l-irmao .lh-story .cp-porta { justify-content: flex-start; }
html.l-irmao .lh-story input[type="password"], html.l-irmao .lh-story input[type="text"] { background-color: var(--n-panel-2); color: var(--n-on); border: 1.5px solid var(--n-line-2); border-radius: 12px; box-shadow: none; }

/* ── 5. celular: cada cartão vira uma fileira (arte à esquerda, nome à direita), como no Sketch ── */
@media (max-width: 860px) {
  html.l-irmao .lh-home__grid .lh-livres__lista { grid-template-columns: 1fr; }
  html.l-irmao .lh-modo, html.l-irmao .lh-modo--x1 { grid-template-columns: 44% 1fr; grid-template-rows: auto 1fr; column-gap: 8px; }
  html.l-irmao .lh-modo::before { grid-column: 1 / -1; }
  html.l-irmao .lh-modo__ic { grid-column: 1; grid-row: 2; height: auto; min-height: 150px; }
  html.l-irmao .lh-modo__txt { grid-column: 2; grid-row: 2; margin-top: 0; }
}
@media (max-width: 560px) {
  html.l-irmao .lh-hero { margin-top: 56px; }
  html.l-irmao .lh-modo, html.l-irmao .lh-modo--x1 { border-radius: 20px; padding: 6px; column-gap: 6px; }
  html.l-irmao .lh-modo::before { margin: 4px 6px 6px; }
  html.l-irmao .lh-modo__ic { min-height: 124px; border-radius: 14px; background-size: 92px 92px, 14px 14px; }
  html.l-irmao .lh-modo__txt { padding: 12px 12px 46px; border-radius: 14px; }
  html.l-irmao .lh-modo__nome { font-size: 18px; }
  html.l-irmao .lh-modo__desc { font-size: 13px; }
  html.l-irmao .lh-modo::after { right: 16px; bottom: 16px; width: 28px; height: 28px; }
  html.l-irmao .lh-modo__novo { top: 10px; right: 10px; }
  html.l-irmao .lh-story { padding: 54px 14px 18px; border-radius: 22px; }
}
@media (max-width: 440px) {
  html.l-irmao .waffle-btn { width: 36px; height: 36px; }
  html.l-irmao .la-topleft { gap: 5px; left: 10px; }
  html.l-irmao .la-topleft .aup-chip { height: 36px; padding: 0 4px; gap: 3px; }
  html.l-irmao .la-topleft .aup-av { width: 28px; height: 28px; }
  html.l-irmao .la-topleft .aura-chip { height: 36px; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) { html.l-irmao .lh-modo { transition: none; } }
