:root{
  --red:#e3350d; --red-d:#b3240a; --ink:#212035; --ink2:#39383e; --bg:#dadce1; --card:#fff;
  --muted:#6b6a75; --yellow:#ffcb05; --blue:#3d7dca; --green:#3cb371;
  --pixel:'Press Start 2P', monospace; --body:'Lexend', system-ui, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0}
body{font-family:var(--body); color:var(--ink2); background:var(--bg); min-height:100vh; overflow-x:hidden}
.wrap{max-width:1120px; margin:0 auto; padding:0 16px}
img{max-width:100%}
button{font-family:inherit; cursor:pointer}
input,select,textarea{font-family:inherit; font-size:15px}
a{color:inherit}

/* ===== NAV ===== */
.nav{position:fixed; top:0; left:0; right:0; z-index:50; padding:12px 16px; transition:padding .25s}
.nav-in{max-width:1180px; margin:0 auto; display:flex; align-items:center; gap:16px; padding:8px 12px; border-radius:20px; transition:background .25s, box-shadow .25s}
.nav.scrolled .nav-in{background:rgba(11,11,13,.92); backdrop-filter:blur(8px); box-shadow:0 8px 24px rgba(0,0,0,.25)}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:#fff; flex-shrink:0}
.brand img{width:44px; height:44px; image-rendering:pixelated; border-radius:10px; box-shadow:0 3px 0 rgba(0,0,0,.3)}
.brand-text b{display:block; font-size:22px; font-weight:800; letter-spacing:-.5px; color:#fff;
  text-shadow:0 2px 0 #6b4fbb, 0 3px 0 rgba(0,0,0,.25)}
.brand-text small{display:block; font-size:11px; font-weight:600; opacity:.9; margin-top:-2px}
.nav-links{display:flex; gap:20px; margin-left:12px}
.nav-links a{color:#fff; text-decoration:none; font-weight:700; font-size:16px; text-shadow:0 2px 4px rgba(0,0,0,.3); transition:transform .15s}
.nav-links a:hover{transform:translateY(-2px)}
.nav-right{margin-left:auto; display:flex; align-items:center; gap:8px}
.lang{background:rgba(0,0,0,.3); color:#fff; border:2px solid rgba(255,255,255,.35); border-radius:12px; padding:7px 8px; font-weight:700; cursor:pointer}
.lang option{color:#000}
.auth-area{display:flex; align-items:center; gap:8px}
.user-chip{display:flex; align-items:center; gap:8px; background:rgba(0,0,0,.3); color:#fff; border:2px solid rgba(255,255,255,.35); padding:3px 10px 3px 3px; border-radius:30px; font-weight:700; font-size:14px}
.user-chip:hover{background:rgba(0,0,0,.45)}
.user-chip img{width:32px; height:32px; border-radius:50%; object-fit:cover}
.user-chip .pen{font-size:12px}
.admin-tag{font-family:var(--pixel); font-size:8px; background:var(--yellow); color:var(--ink); padding:4px 6px; border-radius:4px}

/* ===== BOTÕES ===== */
.btn{border:none; border-radius:14px; padding:11px 18px; font-weight:700; font-size:15px; box-shadow:0 4px 0 rgba(0,0,0,.25); transition:transform .1s, box-shadow .1s, filter .15s; display:inline-flex; align-items:center; gap:8px; justify-content:center; text-decoration:none}
.btn:hover{filter:brightness(1.08)}
.btn:active{transform:translateY(3px); box-shadow:0 1px 0 rgba(0,0,0,.25)}
.btn:disabled{opacity:.6; cursor:not-allowed}
.btn-red{background:var(--red); color:#fff; box-shadow:0 4px 0 var(--red-d)}
.btn-white{background:#fff; color:var(--ink)}
.btn-glass{background:rgba(255,255,255,.22); color:#fff; border:2px solid rgba(255,255,255,.6); backdrop-filter:blur(4px)}
.btn-ghost{background:transparent; color:inherit; box-shadow:none; border:2px solid #cfd0d8}
.btn-big{font-size:18px; padding:15px 26px; border-radius:18px}
.btn-sm{padding:7px 12px; font-size:13px; border-radius:10px}
.ball-ico{width:20px; height:20px; border-radius:50%; border:2px solid var(--ink); background:linear-gradient(#fff 0 0) bottom/100% 45% no-repeat, var(--red); position:relative; flex-shrink:0}
.ball-ico::after{content:""; position:absolute; inset:50% 0 auto; height:2px; background:var(--ink); transform:translateY(-1px)}

/* ===== HERO ===== */
.hero{position:relative; height:min(92vh, 860px); min-height:620px; margin:0 12px; border-radius:0 0 36px 36px; overflow:hidden;
  background:linear-gradient(180deg,#2f8ff5 0%, #59b4ff 45%, #a9e0ff 75%, #d8f2ff 100%); isolation:isolate}
.sky{position:absolute; inset:0; z-index:-1}
.sun{position:absolute; top:12%; right:10%; width:90px; height:90px; background:#fff6b0; box-shadow:0 0 0 12px rgba(255,246,176,.35), 0 0 80px 30px rgba(255,240,150,.55)}
/* nuvens em blocos */
.cloud{position:absolute; height:40px; background:#fff; box-shadow:0 6px 0 #d9ecff}
.cloud::before,.cloud::after{content:""; position:absolute; background:#fff; box-shadow:0 6px 0 #d9ecff}
.cloud::before{width:55%; height:36px; left:15%; top:-30px}
.cloud::after{width:30%; height:26px; left:52%; top:-52px}
.c1{width:220px; top:22%; left:-260px; animation:drift 70s linear infinite}
.c2{width:160px; top:12%; left:-200px; animation:drift 95s linear infinite -40s; opacity:.9}
.c3{width:280px; top:34%; left:-320px; animation:drift 120s linear infinite -70s; opacity:.85; transform:scale(.8)}
.c4{width:130px; top:8%; left:-160px; animation:drift 80s linear infinite -15s; opacity:.8}
@keyframes drift{to{left:110%}}
.fball{position:absolute; width:34px; height:34px; border-radius:50%; border:3px solid var(--ink);
  background:linear-gradient(to bottom,var(--red) 0 44%, var(--ink) 44% 56%, #fff 56%); animation:bob 4s ease-in-out infinite}
.fball::after{content:""; position:absolute; width:10px; height:10px; left:50%; top:50%; transform:translate(-50%,-50%); background:#fff; border:3px solid var(--ink); border-radius:50%}
.b1{top:24%; left:8%} .b2{top:56%; left:88%; animation-delay:-1.5s; transform:scale(.8)} .b3{top:14%; left:62%; animation-delay:-2.6s; width:24px; height:24px}
.b3::after{width:6px; height:6px; border-width:2px}
@keyframes bob{0%,100%{translate:0 0; rotate:-8deg} 50%{translate:0 -16px; rotate:8deg}}

.hero-content{position:relative; z-index:3; max-width:640px; padding:150px 0 0 max(40px, calc((100% - 1120px)/2 + 16px)); color:#fff}
.kicker{display:inline-block; font-family:var(--pixel); font-size:10px; background:rgba(0,0,0,.28); padding:8px 12px; border-radius:10px; margin-bottom:16px; letter-spacing:.5px}
.hero h1{font-size:clamp(34px,5.4vw,64px); line-height:1.05; margin:0 0 16px; font-weight:800; letter-spacing:-1.5px;
  text-shadow:0 4px 0 #1d5fb8, 0 8px 20px rgba(0,0,0,.25)}
.hero p{font-size:clamp(16px,1.6vw,19px); line-height:1.5; margin:0 0 26px; max-width:520px; font-weight:400; text-shadow:0 2px 8px rgba(0,40,100,.35)}
.hero-btns{display:flex; gap:12px; flex-wrap:wrap}

/* palco com o logo e a ilha */
.stage{position:absolute; right:max(30px, calc((100% - 1120px)/2)); bottom:70px; width:min(440px,40vw); z-index:2; display:flex; flex-direction:column; align-items:center}
.glow{position:absolute; width:120%; aspect-ratio:1; top:-10%; background:radial-gradient(circle, rgba(255,255,255,.7), transparent 60%); z-index:-1}
.hero-logo{width:72%; image-rendering:pixelated; border-radius:18px; animation:float 5s ease-in-out infinite; filter:drop-shadow(0 18px 18px rgba(0,30,80,.35)); position:relative; z-index:2}
.hero-shot{position:absolute; bottom:110%; width:90%; border-radius:16px; border:4px solid #fff; box-shadow:0 12px 30px rgba(0,0,0,.3); rotate:-3deg}
@keyframes float{0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-22px) rotate(2deg)}}
.island{width:86%; margin-top:-6px; animation:float 5s ease-in-out infinite -2.5s; position:relative}
.isl-top{height:26px; background:
  repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 13px, transparent 13px 26px),
  linear-gradient(#7ad24b 0 60%, #5aa834 60%); border-radius:4px 4px 0 0}
.isl-side{height:110px; background:
  repeating-linear-gradient(90deg, rgba(0,0,0,.1) 0 2px, transparent 2px 26px),
  repeating-linear-gradient(0deg, rgba(0,0,0,.1) 0 2px, transparent 2px 26px),
  linear-gradient(#8b5a2b 0 45%, #7a7a82 45%);
  clip-path:polygon(0 0,100% 0,100% 24%,90% 24%,90% 48%,78% 48%,78% 72%,62% 72%,62% 100%,40% 100%,40% 76%,24% 76%,24% 52%,10% 52%,10% 26%,0 26%)}

/* mar */
.sea{position:absolute; left:0; right:0; bottom:0; height:110px; z-index:1}
.wave{position:absolute; left:-5%; width:110%; height:100%}
.w1{fill:#3aa6f5; bottom:0; animation:waves 6s ease-in-out infinite}
.w2{fill:#1e86de; bottom:-30px; animation:waves 8s ease-in-out infinite reverse}
@keyframes waves{0%,100%{transform:translateX(0)} 50%{transform:translateX(-3%)}}

/* ===== CONTEÚDO ===== */
.warn{background:var(--yellow); color:var(--ink); padding:12px 16px; border-radius:14px; margin-top:20px; font-weight:600}
.sec-title{font-size:clamp(28px,4vw,40px); font-weight:600; text-align:center; margin:60px 0 26px; color:var(--ink2); letter-spacing:-.5px}
.how-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px}
.how-card{background:var(--card); border-radius:22px; padding:22px; position:relative; box-shadow:0 6px 0 rgba(0,0,0,.06); transition:transform .2s}
.how-card:hover{transform:translateY(-4px)}
.how-n{position:absolute; top:16px; right:18px; font-family:var(--pixel); font-size:14px; color:#d4d5dc}
.how-ico{font-size:34px; width:64px; height:64px; display:grid; place-items:center; background:#f1f2f6; border-radius:18px; margin-bottom:10px}
.how-card h3{margin:0 0 6px; font-size:18px; color:var(--ink)}
.how-card p{margin:0; font-size:14px; line-height:1.5; color:var(--muted); font-weight:300}

#sugestoes{scroll-margin-top:90px; padding-top:40px}
.stats{display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin:0 0 24px}
.stat{background:var(--ink); color:#fff; border-radius:20px; padding:16px 18px}
.stat b{display:block; font-size:30px; font-weight:800; color:var(--yellow); line-height:1}
.stat span{font-size:13px; color:#b8b7c8; font-weight:600}

.tabs{display:flex; gap:8px; margin:0 0 12px; overflow-x:auto; padding-bottom:4px}
.tab{background:#fff; color:var(--ink2); border:none; border-radius:14px; padding:11px 18px; font-weight:700; font-size:15px; white-space:nowrap; box-shadow:0 3px 0 rgba(0,0,0,.08)}
.tab.active{background:var(--ink); color:#fff; box-shadow:0 3px 0 var(--red)}
.filters{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px}
.filters input,.filters select{background:#fff; color:var(--ink2); border:2px solid transparent; border-radius:14px; padding:11px 14px; box-shadow:0 3px 0 rgba(0,0,0,.06)}
.filters input:focus,.filters select:focus{outline:none; border-color:var(--blue)}
.filters input{flex:1; min-width:200px}

/* cards */
.grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:18px; padding-bottom:40px}
.card{background:var(--card); color:var(--ink); border-radius:22px; overflow:hidden; display:flex; flex-direction:column; cursor:pointer; box-shadow:0 6px 0 rgba(0,0,0,.07); transition:transform .15s, box-shadow .15s}
.card:hover{transform:translateY(-5px); box-shadow:0 12px 24px rgba(0,0,0,.12)}
.card.pinned{outline:3px solid var(--yellow)}
.card-thumb{height:170px; background:#222 center/cover no-repeat; position:relative}
.card-thumb .play{position:absolute; inset:0; display:grid; place-items:center; font-size:40px; color:#fff; text-shadow:0 2px 6px #000}
.card-band{height:8px; background:linear-gradient(90deg,var(--red),#ff7b54)}
.card-body{padding:14px 16px; display:flex; flex-direction:column; gap:8px; flex:1}
.card h3{margin:0; font-size:18px; font-weight:700; line-height:1.25; word-break:break-word}
.card p{margin:0; font-size:14px; color:var(--muted); font-weight:300; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; word-break:break-word}
.badges{display:flex; gap:6px; flex-wrap:wrap}
.badge{font-size:11px; font-weight:700; padding:4px 9px; border-radius:20px; background:#eeeff3; color:var(--ink2); text-transform:uppercase; letter-spacing:.3px}
.badge.pin{background:var(--yellow)}
.st-nova{background:#dfe6ff} .st-analise{background:#ffe7a3} .st-aceita{background:#b9f0c9} .st-feita{background:#d8c9ff} .st-recusada{background:#ffd0c8}
.card-foot{display:flex; align-items:center; justify-content:space-between; padding:10px 16px 14px; font-size:13px; color:var(--muted); gap:8px}
.author{display:flex; align-items:center; gap:7px; min-width:0}
.author img{width:26px; height:26px; border-radius:50%; flex-shrink:0; object-fit:cover}
.author span{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:600}
.counters{display:flex; gap:10px; align-items:center; flex-shrink:0}
.like{background:#f1f2f6; border:none; border-radius:20px; padding:6px 12px; font-weight:700; font-size:14px; display:inline-flex; gap:5px; align-items:center; color:var(--ink); transition:transform .12s}
.like.on{background:var(--red); color:#fff}
.like:hover{transform:scale(1.08)}

.empty{text-align:center; color:var(--muted); padding:40px 0 80px; font-weight:600}
.pokeball{border-radius:50%; border:5px solid var(--ink); position:relative; background:linear-gradient(to bottom, var(--red) 0 46%, var(--ink) 46% 54%, #f2f2f2 54%); animation:wobble 2s ease-in-out infinite}
.pokeball::after{content:""; position:absolute; width:28%; height:28%; left:36%; top:36%; border-radius:50%; background:#fff; border:5px solid var(--ink); box-sizing:border-box}
.pokeball.small{width:70px; height:70px; margin:0 auto 12px}
@keyframes wobble{0%,60%,100%{transform:rotate(0)}70%{transform:rotate(-12deg)}80%{transform:rotate(10deg)}90%{transform:rotate(-5deg)}}

.foot{background:var(--ink); color:#b8b7c8; text-align:center; padding:36px 0 44px; margin:30px 12px 0; border-radius:36px 36px 0 0}
.foot-logo{width:56px; image-rendering:pixelated; border-radius:12px}
.foot p{margin:10px 0 6px; color:#fff}
.foot small{font-size:12px; opacity:.7}

.fab{position:fixed; right:20px; bottom:20px; width:60px; height:60px; border-radius:50%; z-index:40; padding:0; opacity:0; pointer-events:none; transform:scale(.6); transition:opacity .2s, transform .2s}
.fab .ball-ico{width:28px; height:28px}
.fab.show{opacity:1; pointer-events:auto; transform:scale(1)}

/* ===== DIALOGS ===== */
.dlg{border:none; padding:0; background:transparent; width:min(560px, calc(100% - 24px)); max-height:calc(100% - 24px)}
.dlg-wide{width:min(840px, calc(100% - 24px))}
.dlg::backdrop{background:rgba(20,20,35,.7); backdrop-filter:blur(3px)}
.dlg-box{background:#fff; color:var(--ink); border-radius:26px; padding:22px; display:flex; flex-direction:column; gap:12px}
.dlg-head{display:flex; justify-content:space-between; align-items:flex-start; gap:10px; padding-bottom:6px}
.dlg-head h2{font-size:22px; font-weight:700; margin:0; line-height:1.25; word-break:break-word}
.x{background:#f1f2f6; color:var(--ink); border:none; width:36px; height:36px; border-radius:12px; font-size:15px; flex-shrink:0}
.dlg label{display:flex; flex-direction:column; gap:6px; font-weight:600; font-size:14px}
.dlg label small{font-weight:400; color:#888}
.dlg input:not([type=file]),.dlg select,.dlg textarea{border:2px solid #e2e3ea; border-radius:14px; padding:11px; resize:vertical; width:100%; background:#fafafc}
.dlg input:focus,.dlg select:focus,.dlg textarea:focus{outline:none; border-color:var(--blue)}
.dlg-actions{display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap}
.preview{display:flex; gap:8px; flex-wrap:wrap}
.preview div{width:76px; height:76px; border-radius:12px; background:#222 center/cover; color:#fff; font-size:11px; display:grid; place-items:center; text-align:center}
.progress{height:12px; border-radius:8px; overflow:hidden; background:#eee}
.progress div{height:100%; width:0; background:var(--green); transition:width .2s}
.err{color:var(--red-d); font-weight:600; margin:0}
.prof-row{display:flex; align-items:center; gap:16px; flex-wrap:wrap}
.prof-img{width:96px; height:96px; border-radius:50%; object-fit:cover; background:#eee; border:4px solid #f1f2f6}
.prof-btns{display:flex; flex-direction:column; gap:8px}
.dlg label.file-btn{flex-direction:row; cursor:pointer}

.view-desc{white-space:pre-wrap; word-break:break-word; font-size:15px; line-height:1.6; margin:0; font-weight:300}
.media{display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:8px}
.media img{width:100%; height:180px; object-fit:cover; border-radius:14px; cursor:zoom-in}
.media video,.media iframe{grid-column:1/-1; width:100%; aspect-ratio:16/9; border-radius:14px; border:none; background:#000}
.view-meta{display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px}
.admin-box{background:#fff8d6; border-radius:14px; padding:10px 12px; display:flex; flex-wrap:wrap; gap:8px; align-items:center; font-weight:600; font-size:14px}
.admin-box select{width:auto !important; padding:6px !important}
.own-actions{display:flex; gap:8px; flex-wrap:wrap}
.report{color:#b00 !important}
.comments h3{font-size:16px; margin:8px 0}
.comment{display:flex; gap:10px; padding:10px 0; border-bottom:1px solid #eee}
.comment img{width:34px; height:34px; border-radius:50%; flex-shrink:0; object-fit:cover}
.comment .c-body{flex:1; min-width:0}
.comment .c-top{font-size:13px; color:#777; display:flex; gap:6px; align-items:center; flex-wrap:wrap}
.comment .c-top b{color:var(--ink)}
.comment .c-text{white-space:pre-wrap; word-break:break-word; margin-top:2px; font-size:15px; font-weight:300}
.comment.by-admin{background:#fff8d6; border-radius:14px; padding:10px; border-bottom:none; margin:4px 0}
.c-acts{margin-left:auto; display:flex; gap:8px}
.c-edit,.c-del{background:none; border:none; font-size:12px; font-weight:700}
.c-edit{color:var(--blue)} .c-del{color:#b00}
.c-form{display:flex; gap:8px; margin-top:8px}
.c-form textarea{flex:1; min-height:44px; border:2px solid #e2e3ea; border-radius:14px; padding:10px; font-family:inherit}
.lightbox{position:fixed; inset:0; background:rgba(0,0,0,.9); display:grid; place-items:center; z-index:100; cursor:zoom-out; padding:16px}
.lightbox img{max-height:100%; border-radius:12px}

.toast{position:fixed; bottom:24px; left:50%; transform:translateX(-50%); background:var(--ink); color:#fff; padding:13px 20px; border-radius:16px; font-weight:600; z-index:200; max-width:calc(100% - 32px); box-shadow:0 10px 30px rgba(0,0,0,.3)}

/* ===== CELULAR ===== */
@media (max-width:900px){
  .nav-links{display:none}
  .hero-content{padding:120px 24px 0}
  .stage{right:50%; transform:translateX(50%); width:min(300px,70vw); bottom:60px}
  .hero{height:auto; min-height:0; padding-bottom:380px}
  .sun{width:60px; height:60px}
}
@media (max-width:560px){
  .nav{padding:8px}
  .brand-text small,.user-chip .name,.user-chip .pen{display:none}
  .brand-text b{font-size:17px}
  .brand img{width:38px; height:38px}
  .nav-in{gap:8px; padding:6px 8px}
  #btn-login .lbl{display:none}
  #btn-logout{padding:7px 9px}
  .how-grid{grid-template-columns:1fr 1fr; gap:10px}
  .how-card{padding:14px; border-radius:18px}
  .how-ico{width:46px; height:46px; font-size:24px; border-radius:14px}
  .how-card h3{font-size:15px}
  .how-card p{font-size:12.5px}
  .hero{margin:0; border-radius:0 0 28px 28px}
  .foot{margin:30px 0 0}
  .grid{grid-template-columns:1fr}
  .c-form{flex-direction:column}
  .btn-big{font-size:16px; padding:13px 20px}
}
@media (prefers-reduced-motion:reduce){*{animation:none !important}}

/* ===== ÍCONES PIXEL ===== */
.px{display:inline-block; vertical-align:middle; object-fit:contain; flex-shrink:0; image-rendering:auto}
.tab,.btn,.badge,.like,.cmt,.admin-box,.comments h3{display:inline-flex; align-items:center; gap:6px}
.comments h3{display:flex}
.tab i,.search-wrap i,.how-ico{display:inline-flex; align-items:center; justify-content:center; font-style:normal}
.card h3 .px{margin-right:4px; vertical-align:-3px}
.how-ico .px{filter:drop-shadow(0 2px 0 rgba(0,0,0,.12))}
.search-wrap{flex:1; min-width:200px; position:relative; display:flex}
.search-wrap i{position:absolute; left:14px; top:50%; transform:translateY(-50%); pointer-events:none}
.search-wrap input{flex:1; padding-left:42px !important}
.preview div .px{display:block; margin:0 auto 2px}
/* quadradinho estilo slot de inventário */
.how-ico{background:#8b8b8b; border-radius:4px; border:4px solid; border-color:#373737 #fff #fff #373737; width:66px; height:66px}

/* ===== ARQUIVOS E LOGS ===== */
.field{display:flex; flex-direction:column; gap:8px}
.flabel{font-weight:600; font-size:14px}
.flabel small{font-weight:400; color:#888}
.drop{border:2px dashed #cfd0d8; border-radius:14px; padding:12px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; background:#fafafc; transition:background .15s, border-color .15s}
.drop.over{background:#eef5ff; border-color:var(--blue)}
.drop small{color:#888}
.preview div{position:relative}
.preview .rm{position:absolute; top:-7px; right:-7px; width:22px; height:22px; border-radius:50%; border:2px solid #fff; background:var(--red); color:#fff; font-size:11px; font-weight:800; display:grid; place-items:center; padding:0; line-height:1}
.preview .log-chip{background:#2b2a40 !important; font-size:10px; word-break:break-all; padding:4px}
.mono{font-family:Consolas, 'Courier New', monospace !important; font-size:12.5px !important}
.log-box{border:2px solid #e2e3ea; border-radius:14px; padding:10px 12px; background:#fafafc}
.log-box summary{cursor:pointer; font-weight:600; font-size:14px}
.log-box[open] summary{margin-bottom:8px}
.log-help{display:block; color:#777; margin-bottom:8px; line-height:1.5}
.log-box textarea{width:100%; border:2px solid #e2e3ea; border-radius:12px; padding:10px; resize:vertical; background:#fff}
.logs h3{font-size:16px; margin:4px 0 8px}
.log-view{border-radius:14px; background:#1e1f29; color:#e6e6ef; margin-bottom:8px; overflow:hidden}
.log-view summary{cursor:pointer; padding:10px 14px; font-weight:600; font-size:14px}
.log-view summary small{opacity:.6; font-weight:400}
.log-acts{display:flex; gap:8px; padding:0 14px 8px}
.log-view pre{margin:0; padding:12px 14px; max-height:360px; overflow:auto; white-space:pre; background:#15161e; border-top:1px solid #2c2d3a}
