*{margin:0;padding:0;box-sizing:border-box}
body{background:#000;color:#00ff41;font-family:'Fira Code',monospace;min-height:100vh;overflow-x:hidden}
a{color:#00ff41;text-decoration:none;cursor:pointer}
a:hover{text-shadow:0 0 8px rgba(0,255,65,0.5)}
#app{max-width:1100px;margin:0 auto;padding:0 20px;overflow-x:hidden}
img,svg,video,iframe{max-width:100%;height:auto}

header{padding:14px 0 10px;border-bottom:1px solid rgba(0,255,65,0.25);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;position:sticky;top:0;background:#000;z-index:100}
.logo{font-size:24px;white-space:nowrap;cursor:pointer}
.blink{display:inline-block;width:3px;height:22px;background:#00ff41;animation:blink 1s step-end infinite;vertical-align:text-bottom}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}
nav{display:flex;gap:4px;flex-wrap:wrap}
nav a{padding:4px 10px;font-size:12px;letter-spacing:1px;text-transform:uppercase;cursor:pointer;color:rgba(0,255,65,0.5);border-radius:3px;transition:all 0.15s}
nav a:hover{color:#00ff41;background:rgba(0,255,65,0.08)}
nav a.active{color:#00ff41;background:rgba(0,255,65,0.25);text-shadow:0 0 8px rgba(0,255,65,0.6);box-shadow:0 0 15px rgba(0,255,65,0.3);border:1px solid rgba(0,255,65,0.4)}

.search-bar{display:flex;gap:6px;align-items:center}
.search-bar input{background:rgba(0,255,65,0.05);border:1px solid rgba(0,255,65,0.3);color:#00ff41;padding:4px 10px;font-family:'Fira Code',monospace;font-size:12px;width:200px;border-radius:2px}
.search-bar input::placeholder{color:rgba(0,255,65,0.3)}
.search-bar input:focus{outline:none;border-color:#00ff41}
.search-bar button{background:rgba(0,255,65,0.15);border:1px solid #00ff41;color:#00ff41;padding:4px 12px;font-family:'Fira Code',monospace;font-size:12px;cursor:pointer;border-radius:2px}
.search-bar button:hover{background:rgba(0,255,65,0.3)}.hamburger{display:none}

.posts-list,.search-results{padding:40px 0;min-height:60vh}
.page-title{font-size:16px;opacity:0.7;margin-bottom:20px;padding-left:2px}
.page-title .count{color:#38bdf8}
.post-card{padding:18px 0;border-bottom:1px solid rgba(0,255,65,0.12);cursor:pointer;transition:all 0.2s}
.post-card:hover{padding-left:10px}
.post-card h2{font-size:20px;margin-bottom:4px;font-weight:600}
.post-card .meta{font-size:11px;opacity:0.5;margin-bottom:6px}
.post-card .post-tags{margin-top:4px}
.post-card .tag{display:inline-block;font-size:10px;background:rgba(0,255,65,0.08);border:1px solid rgba(0,255,65,0.15);padding:1px 6px;border-radius:2px;margin-right:4px;cursor:pointer}
.post-card .tag:hover{background:rgba(0,255,65,0.2)}
.post-card .excerpt{font-size:13px;opacity:0.65;line-height:1.5}
.post-card:hover h2{text-shadow:0 0 12px rgba(0,255,65,0.4)}

.whoami-page{padding:40px 0;min-height:60vh}
.whoami-page h1{font-size:28px;margin-bottom:20px;padding-bottom:15px}
.whoami-page .content{line-height:1.8;font-size:15px;max-width:800px}
.whoami-page .content h2{margin-top:30px;margin-bottom:10px;font-size:20px}
.whoami-page .content p{margin-bottom:15px;line-height:1.8}
.whoami-page .content ul{margin:10px 0 10px 20px}
.whoami-page .content li{margin-bottom:8px}
.whoami-page .content pre{background:rgba(0,255,65,0.05);padding:15px;margin:15px 0;overflow-x:auto;border-left:2px solid rgba(0,255,65,0.3);border-radius:0 4px 4px 0}
.whoami-page .content code{font-family:'Fira Code',monospace;font-size:13px}
.whoami-page .content a{text-decoration:underline}
.terminal-block{background:rgba(0,255,65,0.05);padding:20px;margin:20px 0;border-left:2px solid rgba(0,255,65,0.3);border-radius:2px}
.terminal-block .prompt{opacity:0.6}
.terminal-block .output{margin-top:10px;color:#00ff41}

.post-single{padding:40px 0;min-height:60vh;word-wrap:break-word;overflow-x:hidden}
.post-single h1{font-size:28px;margin-bottom:15px;border-bottom:1px solid rgba(0,255,65,0.15);padding-bottom:15px}
.post-single .meta{font-size:12px;opacity:0.5;margin-bottom:20px}
.post-single .content{line-height:1.8;font-size:15px}
.post-single .content h2{margin-top:30px;margin-bottom:10px;font-size:22px}
.post-single .content h3{margin-top:25px;margin-bottom:8px;font-size:18px}
.post-single .content pre{background:rgba(0,255,65,0.05);padding:15px;margin:15px 0;overflow-x:auto;border-left:2px solid rgba(0,255,65,0.3);border-radius:0 4px 4px 0;max-width:100%;white-space:pre;word-break:normal}
.post-single .content code{font-family:'Fira Code',monospace;font-size:13px;word-break:break-all}
.post-single .content p{margin-bottom:12px}
.post-single .content ul,.post-single .content ol{margin:10px 0 10px 20px}
.post-single .content a{text-decoration:underline}
.post-single .back{display:inline-block;margin-bottom:20px;opacity:0.7}
.post-single .post-tags{margin:10px 0 20px}.post-card{display:flex;align-items:flex-start;gap:12px;overflow:hidden}.post-card .post-card-ascii{font-size:10px;line-height:1.3;color:#00ff41;white-space:pre;min-width:80px;max-width:130px;opacity:0.85;flex-shrink:0;padding:4px 8px;background:rgba(0,255,65,0.03);border:1px solid rgba(0,255,65,0.15);border-radius:3px;overflow:hidden}.post-card .post-card-body{flex:1;min-width:0}.post-single .post-title-row{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.post-single .post-title-row pre{font-size:12px;line-height:1.3;color:#00ff41;white-space:pre;min-width:130px;flex-shrink:0;opacity:0.9;padding:6px 10px;background:rgba(0,255,65,0.04);border:1px solid rgba(0,255,65,0.18);border-radius:4px}.post-single table{font-family:"Fira Code","Courier New",monospace;border-collapse:separate;border-spacing:0;margin:16px 0;width:100%;border:2px solid #00ff41;border-radius:4px;display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.post-single thead th{background:rgba(0,255,65,0.15);color:#00ff41;font-weight:bold;text-transform:uppercase;letter-spacing:0.5px;font-size:12px;border-bottom:2px solid #00ff41;padding:10px 18px;text-align:left}.post-single tbody td{border-bottom:1px solid rgba(0,255,65,0.18);padding:9px 18px;font-size:13px;line-height:1.55;color:#00ff41;vertical-align:top;word-break:break-word}.post-single tbody tr:nth-child(even) td{background:rgba(0,255,65,0.04)}.post-single tbody tr:hover td{background:rgba(0,255,65,0.08)}.post-single td code,.post-single th code{background:rgba(0,0,0,0.4);border:1px solid rgba(0,255,65,0.2);padding:2px 8px;border-radius:3px;font-family:"Fira Code",monospace;white-space:nowrap}


.post-single .tag{display:inline-block;font-size:10px;background:rgba(56,189,248,0.1);border:1px solid rgba(56,189,248,0.3);padding:2px 8px;border-radius:2px;margin-right:4px;cursor:pointer}
.post-single .tag:hover{background:rgba(56,189,248,0.2)}
.comments{margin-top:30px;padding-top:20px;border-top:1px solid rgba(0,255,65,0.15)}
.comments h3{font-size:16px;margin-bottom:15px}
.comment{padding:10px 0;border-bottom:1px solid rgba(0,255,65,0.08);font-size:13px}
.comment .author{opacity:0.6;margin-bottom:4px}
.comment-form{margin-top:20px}
.comment-form input,.comment-form textarea{width:100%;background:rgba(0,255,65,0.05);border:1px solid rgba(0,255,65,0.2);color:#00ff41;padding:8px 12px;font-family:'Fira Code',monospace;font-size:13px;margin-bottom:10px;border-radius:2px;resize:vertical}
.comment-form input:focus,.comment-form textarea:focus{outline:none;border-color:#00ff41}
.comment-form button{background:rgba(0,255,65,0.15);border:1px solid #00ff41;color:#00ff41;padding:8px 20px;font-family:'Fira Code',monospace;font-size:13px;cursor:pointer;border-radius:2px}
.comment-form button:hover{background:rgba(0,255,65,0.25)}
.comment-form button:disabled{opacity:0.4;cursor:not-allowed}
.comment-msg{margin-top:8px;font-size:12px;padding:6px 10px;border-radius:2px;display:none}
.comment-msg.ok{display:block;color:#5af78e;border:1px solid rgba(90,247,142,0.3);background:rgba(90,247,142,0.07)}
.comment-msg.err{display:block;color:#ff5c57;border:1px solid rgba(255,92,87,0.3);background:rgba(255,92,87,0.07)}
.pagination{display:flex;justify-content:center;align-items:center;gap:10px;padding:20px 0}
.pagination button{background:rgba(0,255,65,0.1);border:1px solid rgba(0,255,65,0.3);color:#00ff41;padding:6px 15px;font-family:'Fira Code',monospace;font-size:12px;cursor:pointer;border-radius:2px}
.pagination button:disabled{opacity:0.3;cursor:not-allowed}
.pagination button:hover:not(:disabled){background:rgba(0,255,65,0.25)}
.pagination .info{font-size:12px;opacity:0.6}
.tag-cloud{padding:20px 0;margin-top:15px;border-top:1px solid rgba(0,255,65,0.1)}
.tag-cloud h3{font-size:13px;opacity:0.5;margin-bottom:8px}
.tag-cloud .tags{display:flex;flex-wrap:wrap;gap:4px}
.tag-cloud .tag{display:inline-block;font-size:11px;background:rgba(0,255,65,0.06);border:1px solid rgba(0,255,65,0.12);padding:2px 8px;border-radius:2px;cursor:pointer}
.tag-cloud .tag:hover{background:rgba(0,255,65,0.18)}
.tag-cloud .tag .cnt{opacity:0.4;margin-left:3px}
.highlight{background:rgba(255,255,0,0.15);color:#ff0;padding:0 2px;border-radius:2px}
footer{border-top:2px solid #00ff41;padding:15px 0;margin-top:40px;font-size:11px;opacity:0.5;text-align:center}

/* ===== TOAST NOTIFICATIONS ===== */
#toast-container{position:fixed;bottom:24px;right:24px;z-index:9999;display:flex;flex-direction:column;gap:8px;pointer-events:none}
.toast{font-family:'Fira Code',monospace;font-size:12px;padding:10px 16px;border-radius:3px;pointer-events:auto;opacity:0;transform:translateY(10px);transition:opacity .25s,transform .25s;max-width:320px;word-break:break-word}
.toast.show{opacity:1;transform:translateY(0)}
.toast.toast-ok{background:#0a1a0a;border:1px solid rgba(90,247,142,0.5);color:#5af78e}
.toast.toast-err{background:#1a0a0a;border:1px solid rgba(255,92,87,0.5);color:#ff5c57}
.toast.toast-info{background:#0a0f1a;border:1px solid rgba(57,199,248,0.5);color:#57c7ff}

@media(max-width:768px){
  .hamburger{display:block;font-size:24px;cursor:pointer;padding:4px 8px;border-radius:3px}
  .hamburger:hover{background:rgba(0,255,65,0.15)}
  header{flex-direction:column;align-items:flex-start;gap:8px}
  .logo{font-size:16px}
  nav{display:none;flex-direction:column;width:100%;gap:0}
  nav.open{display:flex}
  nav a{padding:8px 12px;font-size:12px;border-bottom:1px solid rgba(0,255,65,0.08)}
  .search-bar{display:none;width:100%}
  .search-bar.open{display:flex}
  .search-bar input{flex:1;width:auto;font-size:13px;padding:6px 10px}
  .post-card{flex-direction:column;gap:8px;padding:14px 0}
  .post-card:hover{padding-left:0}
  .post-card h2{font-size:15px}
  .post-card .meta{font-size:10px}
  .post-card .excerpt{font-size:12px}
  .post-card .post-card-ascii{width:100%;text-align:center;min-width:auto;font-size:10px;border:1px solid rgba(0,255,65,0.12);border-radius:4px;padding:4px 8px;margin:0 0 4px;max-width:200px}
  .post-single{padding:20px 0}
  .post-single h1{font-size:18px}
  .post-single .post-title-row{flex-direction:column;gap:6px}
  .post-single .post-title-row pre{width:100%;text-align:center;min-width:auto;font-size:10px;padding:4px 8px}
  .post-single .content{font-size:13px}
  .post-single .content h2{font-size:16px}
  .post-single .content h3{font-size:14px}
  .post-single table{font-size:11px}
  .post-single thead th{padding:5px 8px;font-size:10px}
  .post-single tbody td{padding:5px 8px;font-size:11px}
  .post-single .content pre{padding:8px;font-size:11px;max-width:calc(100vw - 40px);overflow-x:auto}
  .post-single .content code{font-size:11px}
  .comments{margin-top:20px;padding-top:15px}
  .comments h3{font-size:14px}
  .comment-form input,.comment-form textarea{font-size:12px;padding:6px 10px}
  .whoami-page{padding:20px 0}
  .whoami-page h1{font-size:20px;padding-bottom:10px}
  .whoami-page .content{font-size:13px;line-height:1.7}
  .whoami-page .content h2{font-size:16px;margin-top:20px}
  .whoami-page .content pre{padding:10px;font-size:11px}
  .tag-cloud .tag{font-size:10px;padding:1px 6px}
  .pagination button{padding:5px 10px;font-size:11px}
  footer{padding:10px 0;font-size:10px}
  #toast-container{bottom:12px;right:12px;left:12px}
  .toast{max-width:100%}
}

  /* POSTS RELACIONADOS */
  .related-posts { margin: 2.5rem 0 1.5rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }
  .related-posts h3 { color: var(--green); font-size: .85rem; margin-bottom: 1rem; }
  .related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
  .related-card { display: block; background: var(--surface); border: 1px solid var(--border); padding: 1rem; text-decoration: none; transition: border-color .2s; }
  .related-card:hover { border-color: var(--green); }
  .related-cat { color: var(--green); font-size: .7rem; margin-bottom: .3rem; opacity: .7; }
  .related-title { color: var(--text); font-size: .85rem; font-weight: bold; margin-bottom: .4rem; }
  .related-excerpt { color: var(--muted); font-size: .75rem; line-height: 1.4; }

  /* ========= FISH SHELL THEME ========= */
  body.fish-theme { color: #f1f1f0; }
  body.fish-theme a { color: #9aedfe; }
  body.fish-theme a:hover { color: #5af78e; text-shadow: 0 0 8px rgba(90,247,142,0.4); }
  body.fish-theme .logo { color: #5af78e; }
  body.fish-theme .blink { background: #5af78e; }
  body.fish-theme nav a { color: rgba(154,237,254,0.5); }
  body.fish-theme nav a:hover { color: #9aedfe; background: rgba(154,237,254,0.07); }
  body.fish-theme nav a.active { color: #9aedfe; background: rgba(154,237,254,0.15); text-shadow: 0 0 8px rgba(154,237,254,0.5); border: 1px solid rgba(154,237,254,0.4); box-shadow: 0 0 12px rgba(154,237,254,0.2); }
  body.fish-theme .search-bar input { color: #f1f1f0; border-color: rgba(154,237,254,0.3); background: rgba(154,237,254,0.04); }
  body.fish-theme .search-bar input::placeholder { color: rgba(154,237,254,0.3); }
  body.fish-theme .search-bar input:focus { border-color: #9aedfe; }
  body.fish-theme .search-bar button { color: #9aedfe; border-color: #9aedfe; background: rgba(154,237,254,0.1); }
  body.fish-theme .search-bar button:hover { background: rgba(154,237,254,0.22); }
  body.fish-theme .post-card h2 { color: #f1f1f0; }
  body.fish-theme .post-card:hover h2 { color: #5af78e; text-shadow: 0 0 12px rgba(90,247,142,0.3); }
  body.fish-theme .post-card .meta { color: #f3f99d; opacity: 0.85; }
  body.fish-theme .post-card .excerpt { color: rgba(241,241,240,0.6); }
  body.fish-theme .post-card .tag { color: #9aedfe; border-color: rgba(154,237,254,0.25); background: rgba(154,237,254,0.07); }
  body.fish-theme .post-card .tag:hover { background: rgba(154,237,254,0.18); }
  body.fish-theme .post-card .post-card-ascii { color: #5af78e; border-color: rgba(90,247,142,0.2); }
  body.fish-theme .page-title { color: rgba(241,241,240,0.6); }
  body.fish-theme .page-title .count { color: #57c7ff; }
  body.fish-theme .post-single h1 { color: #5af78e; border-color: rgba(90,247,142,0.2); }
  body.fish-theme .post-single .meta { color: #f3f99d; opacity: 0.85; }
  body.fish-theme .post-single .tag { color: #9aedfe; border-color: rgba(154,237,254,0.3); background: rgba(154,237,254,0.08); }
  body.fish-theme .post-single .tag:hover { background: rgba(154,237,254,0.2); }
  body.fish-theme .post-single .back { color: rgba(154,237,254,0.6); }
  body.fish-theme .post-single .back:hover { color: #9aedfe; }
  body.fish-theme .post-single .post-title-row pre { color: #5af78e; border-color: rgba(90,247,142,0.2); }
  body.fish-theme .post-single .content h1,
  body.fish-theme .whoami-page .content h1 { color: #5af78e; }
  body.fish-theme .post-single .content h2,
  body.fish-theme .whoami-page .content h2 { color: #9aedfe; }
  body.fish-theme .post-single .content h3,
  body.fish-theme .whoami-page .content h3 { color: #f3f99d; }
  body.fish-theme .post-single .content h4 { color: #ff9f43; }
  body.fish-theme .post-single .content p,
  body.fish-theme .whoami-page .content p { color: #f1f1f0; }
  body.fish-theme .post-single .content li,
  body.fish-theme .whoami-page .content li { color: #f1f1f0; }
  body.fish-theme .post-single .content a { color: #57c7ff; }
  body.fish-theme .post-single .content a:hover { color: #9aedfe; }
  body.fish-theme .post-single .content code { color: #f3f99d; background: rgba(243,249,157,0.08); border: 1px solid rgba(243,249,157,0.2); padding: 1px 5px; border-radius: 3px; }
  body.fish-theme .post-single .content pre { border-left: 2px solid #9aedfe; background: rgba(0,0,0,0.5); }
  body.fish-theme .post-single .content pre code { color: #f1f1f0; background: none; border: none; padding: 0; }
  body.fish-theme .post-single table { border-color: #9aedfe; }
  body.fish-theme .post-single thead th { color: #9aedfe; background: rgba(154,237,254,0.08); border-color: #9aedfe; }
  body.fish-theme .post-single tbody td { color: #f1f1f0; border-color: rgba(154,237,254,0.12); }
  body.fish-theme .post-single tbody tr:nth-child(even) td { background: rgba(154,237,254,0.03); }
  body.fish-theme .post-single tbody tr:hover td { background: rgba(154,237,254,0.06); }
  body.fish-theme .comments h3 { color: #9aedfe; }
  body.fish-theme .comment .author { color: #ff9f43; }
  body.fish-theme .comment { color: #f1f1f0; }
  body.fish-theme .comment-form input,
  body.fish-theme .comment-form textarea { color: #f1f1f0; border-color: rgba(154,237,254,0.2); background: rgba(154,237,254,0.04); }
  body.fish-theme .comment-form input:focus,
  body.fish-theme .comment-form textarea:focus { border-color: #9aedfe; }
  body.fish-theme .comment-form button { color: #9aedfe; border-color: #9aedfe; background: rgba(154,237,254,0.1); }
  body.fish-theme .comment-form button:hover { background: rgba(154,237,254,0.22); }
  body.fish-theme .tag-cloud h3 { color: rgba(154,237,254,0.5); }
  body.fish-theme .tag-cloud .tag { color: #9aedfe; border-color: rgba(154,237,254,0.18); background: rgba(154,237,254,0.05); }
  body.fish-theme .tag-cloud .tag:hover { background: rgba(154,237,254,0.16); }
  body.fish-theme .tag-cloud .tag .cnt { color: #57c7ff; opacity: 0.7; }
  body.fish-theme .pagination button { color: #9aedfe; border-color: rgba(154,237,254,0.3); background: rgba(154,237,254,0.08); }
  body.fish-theme .pagination button:hover:not(:disabled) { background: rgba(154,237,254,0.2); }
  body.fish-theme .pagination .info { color: rgba(241,241,240,0.5); }
  body.fish-theme .related-posts h3 { color: #9aedfe; }
  body.fish-theme .related-card { background: rgba(154,237,254,0.03); border-color: rgba(154,237,254,0.15); }
  body.fish-theme .related-card:hover { border-color: #9aedfe; }
  body.fish-theme .related-cat { color: #ff9f43; }
  body.fish-theme .related-title { color: #f1f1f0; }
  body.fish-theme .related-excerpt { color: rgba(241,241,240,0.55); }
  body.fish-theme footer { border-color: rgba(90,247,142,0.3); color: rgba(241,241,240,0.35); }
  body.fish-theme .highlight { background: rgba(243,249,157,0.2); color: #f3f99d; }
  body.fish-theme .whoami-page h1 { color: #5af78e; border-color: rgba(90,247,142,0.2); }
  body.fish-theme .whoami-page .content pre { border-left-color: #9aedfe; }
  body.fish-theme .whoami-page .content code { color: #f3f99d; }
  body.fish-theme .terminal-block { border-left-color: #5af78e; }
  body.fish-theme .terminal-block .output { color: #5af78e; }

  /* Botón tema */
  .theme-btn { background: none; border: 1px solid rgba(0,255,65,0.3); color: rgba(0,255,65,0.6); padding: 3px 8px; font-family: 'Fira Code', monospace; font-size: 10px; cursor: pointer; border-radius: 2px; transition: all .2s; white-space: nowrap; }
  .theme-btn:hover { border-color: #00ff41; color: #00ff41; }
  body.fish-theme .theme-btn { border-color: rgba(154,237,254,0.3); color: rgba(154,237,254,0.6); }
  body.fish-theme .theme-btn:hover { border-color: #9aedfe; color: #9aedfe; }

  /* ASCII color override para tema verde */
  body:not(.fish-theme) .post-card-ascii span,
  body:not(.fish-theme) .post-title-row pre span { color: #00ff41 !important; }

  /* SHARE BAR */
  .share-bar{display:flex;align-items:center;gap:.75rem;margin:1.5rem 0;padding:1rem;border:1px solid rgba(0,255,65,0.15);border-radius:3px;flex-wrap:wrap}
  .share-bar .share-label{color:rgba(0,255,65,0.5);font-size:.75rem;margin-right:.25rem}
  .share-btn{background:none;border:1px solid rgba(0,255,65,0.3);color:rgba(0,255,65,0.7);padding:.3rem .8rem;font-family:'Fira Code',monospace;font-size:.78rem;cursor:pointer;border-radius:2px;transition:all .15s;text-decoration:none;display:inline-block}
  .share-btn:hover{border-color:#00ff41;color:#00ff41}
  .share-btn.copied{border-color:#5af78e;color:#5af78e}
  body.fish-theme .share-bar{border-color:rgba(154,237,254,0.15)}
  body.fish-theme .share-label{color:rgba(154,237,254,0.5)}
  body.fish-theme .share-btn{border-color:rgba(154,237,254,0.3);color:rgba(154,237,254,0.7)}
  body.fish-theme .share-btn:hover{border-color:#9aedfe;color:#9aedfe}

  /* TAGS — línea propia dentro del post-title-row */
  .post-single .post-tags{flex-basis:100%;width:100%;margin:6px 0 14px;order:10}

  /* CHAT IA FLOTANTE — SylonBot */
  #chatBtn{position:fixed;bottom:1.5rem;right:1.5rem;z-index:500;display:none;
    background:#0a1a0a;border:2px solid rgba(0,255,65,0.7);color:#00ff41;
    height:auto;width:auto;padding:.6rem 1rem .6rem .8rem;border-radius:40px;
    font-family:'Fira Code',monospace;font-size:.78rem;cursor:pointer;
    transition:all .25s;box-shadow:0 0 20px rgba(0,255,65,0.2),0 4px 16px rgba(0,0,0,0.6);
    align-items:center;gap:.55rem;flex-direction:row;letter-spacing:.02em}
  #chatBtn:hover{background:rgba(0,255,65,0.1);border-color:#00ff41;box-shadow:0 0 32px rgba(0,255,65,0.4),0 4px 20px rgba(0,0,0,0.7);transform:translateY(-2px)}
  #chatBtn.open{background:rgba(0,255,65,0.12);border-color:#00ff41}
  #chatBtn .bot-icon{font-size:1.35rem;line-height:1;flex-shrink:0;filter:drop-shadow(0 0 6px rgba(0,255,65,0.6))}
  #chatBtn .bot-label{display:flex;flex-direction:column;align-items:flex-start;gap:1px}
  #chatBtn .bot-name{font-size:.75rem;font-weight:600;color:#00ff41;white-space:nowrap}
  #chatBtn .bot-hint{font-size:.62rem;color:rgba(0,255,65,0.5);white-space:nowrap}
  #chatBtn::after{content:'';position:absolute;top:-3px;right:-3px;width:10px;height:10px;
    background:#00ff41;border-radius:50%;border:2px solid #000;
    animation:botPulse 2s ease-in-out infinite}
  @keyframes botPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}
  #chatPanel{position:fixed;bottom:5.5rem;right:1.5rem;z-index:499;
    width:480px;max-width:calc(100vw - 2rem);
    background:#0a0a0a;border:1px solid rgba(0,255,65,0.3);
    display:none;flex-direction:column;box-shadow:0 8px 32px rgba(0,0,0,0.8)}
  #chatPanel.open{display:flex}
  #chatHeader{padding:.7rem 1.1rem;border-bottom:1px solid rgba(0,255,65,0.15);
    display:flex;align-items:center;justify-content:space-between;flex-shrink:0}
  #chatHeader .ch-title{color:#00ff41;font-size:.8rem;font-family:'Fira Code',monospace}
  #chatHeader .ch-sub{color:rgba(0,255,65,0.4);font-size:.68rem;margin-top:2px}
  #chatHeader .ch-close{color:rgba(0,255,65,0.5);cursor:pointer;font-size:1rem;line-height:1;padding:0 2px}
  #chatHeader .ch-close:hover{color:#00ff41}
  #chatMessages{flex:1;overflow-y:auto;padding:.85rem;display:flex;flex-direction:column;gap:.7rem;max-height:460px;min-height:180px}
  .chat-msg{font-size:.82rem;line-height:1.65;padding:.55rem .85rem;border-radius:3px;font-family:'Fira Code',monospace;word-break:break-word;white-space:pre-wrap}
  .chat-msg.user{background:rgba(0,255,65,0.08);border-left:2px solid rgba(0,255,65,0.4);color:#d4ffd8;align-self:flex-end;max-width:90%}
  .chat-msg.assistant{background:rgba(255,255,255,0.03);border-left:2px solid rgba(0,255,65,0.2);color:#b8e8bc;align-self:flex-start;max-width:95%}
  .chat-msg.assistant code{background:rgba(0,255,65,0.1);padding:1px 4px;border-radius:2px;font-size:.77rem;color:#f3f99d}
  .chat-msg.assistant pre{background:rgba(0,0,0,0.4);border:1px solid rgba(0,255,65,0.15);padding:.5rem;margin:.4rem 0;overflow-x:auto;border-radius:2px}
  .chat-msg.assistant pre code{background:none;padding:0;color:#d4ffd8}
  .chat-msg.typing{color:rgba(0,255,65,0.4);font-style:italic}
  #chatInputRow{border-top:1px solid rgba(0,255,65,0.15);display:flex;padding:.6rem;gap:.5rem;flex-shrink:0}
  #chatInput{flex:1;background:transparent;border:1px solid rgba(0,255,65,0.2);color:#00ff41;
    padding:.5rem .7rem;font-family:'Fira Code',monospace;font-size:.8rem;outline:none;resize:none;
    min-height:36px;max-height:100px;line-height:1.4}
  #chatInput:focus{border-color:rgba(0,255,65,0.5)}
  #chatInput::placeholder{color:rgba(0,255,65,0.25)}
  #chatSend{background:rgba(0,255,65,0.1);border:1px solid rgba(0,255,65,0.3);color:#00ff41;
    padding:.5rem .9rem;font-family:'Fira Code',monospace;font-size:.8rem;cursor:pointer;
    transition:all .15s;align-self:flex-end;white-space:nowrap}
  #chatSend:hover:not(:disabled){background:rgba(0,255,65,0.2);border-color:#00ff41}
  #chatSend:disabled{opacity:.4;cursor:not-allowed}
  #chatFooter{padding:.4rem .85rem;border-top:1px solid rgba(0,255,65,0.08);
    font-size:.63rem;color:rgba(0,255,65,0.25);font-family:'Fira Code',monospace;text-align:center}
  body.fish-theme #chatBtn{border-color:rgba(154,237,254,0.6);color:#9aedfe;background:#0a0f1a}
  body.fish-theme #chatBtn:hover{border-color:#9aedfe;background:rgba(154,237,254,0.08)}
  body.fish-theme #chatBtn .bot-name{color:#9aedfe}
  body.fish-theme #chatBtn .bot-hint{color:rgba(154,237,254,0.5)}
  body.fish-theme #chatBtn::after{background:#9aedfe}
  body.fish-theme #chatPanel{border-color:rgba(154,237,254,0.3)}
  body.fish-theme .chat-msg.user{border-left-color:rgba(154,237,254,0.4);color:#e0f7ff}
  body.fish-theme .chat-msg.assistant{border-left-color:rgba(154,237,254,0.2);color:#c8eefa}
  body.fish-theme #chatInput{border-color:rgba(154,237,254,0.2);color:#9aedfe}
  body.fish-theme #chatInput:focus{border-color:rgba(154,237,254,0.5)}
  @media(max-width:520px){#chatPanel{width:calc(100vw - 1.5rem);right:.75rem;bottom:5rem}#chatBtn{right:.75rem;bottom:.75rem;padding:.5rem .85rem .5rem .7rem}}

  /* COPY BUTTON */
  .code-wrap { position: relative; }
  .code-wrap .copy-btn {
    position: absolute; top: 6px; right: 8px;
    background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3);
    color: rgba(0,212,255,0.7); font-family: 'Fira Code', monospace;
    font-size: 10px; padding: 2px 8px; cursor: pointer; border-radius: 2px;
    transition: all .2s; opacity: 0;
  }
  .code-wrap:hover .copy-btn { opacity: 1; }
  .code-wrap .copy-btn.copied { color: #5af78e; border-color: #5af78e; background: rgba(90,247,142,0.1); }

  /* BARRA DE PROGRESO DE LECTURA */
  #readProgress { position: fixed; top: 0; left: 0; height: 2px; width: 0%;
    background: linear-gradient(90deg, #00ff41, #00d4ff); z-index: 9999;
    transition: width .1s linear; pointer-events: none; }
  body.fish-theme #readProgress { background: linear-gradient(90deg, #5af78e, #9aedfe); }

  /* TOC */
  .toc-wrap { display: block; width: 100%; margin: 0 0 1.8rem 0; border: 1px solid rgba(0,255,65,0.2); border-radius: 3px; background: rgba(0,255,65,0.03); font-size: .78rem; overflow: hidden; }
  .toc-wrap summary.toc-title { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; user-select: none; padding: .65rem 1rem; color: #00ff41; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; border-bottom: 1px solid rgba(0,255,65,0.0); transition: background .15s, border-color .15s; }
  .toc-wrap summary.toc-title::-webkit-details-marker { display: none; }
  .toc-wrap summary.toc-title::after { content: '▶'; font-size: .6rem; opacity: .5; transition: transform .2s; }
  .toc-wrap[open] summary.toc-title::after { transform: rotate(90deg); }
  .toc-wrap[open] summary.toc-title { border-bottom: 1px solid rgba(0,255,65,0.12); background: rgba(0,255,65,0.04); }
  .toc-wrap summary.toc-title:hover { background: rgba(0,255,65,0.06); opacity: 1; }
  .toc-links { padding: .6rem 1rem .8rem; column-count: 1; }
  @media (min-width: 600px) { .toc-links { column-count: 2; column-gap: 2rem; } }
  .toc-links a { display: block; color: rgba(0,255,65,0.7); padding: 3px 0; line-height: 1.4; transition: color .15s; text-decoration: none; break-inside: avoid; }
  .toc-links a:hover { color: #00ff41; text-shadow: 0 0 6px rgba(0,255,65,0.4); }
  .toc-links a.toc-h3 { padding-left: .9rem; opacity: .8; font-size: .72rem; }
  body.fish-theme .toc-wrap { border-color: rgba(154,237,254,0.2); background: rgba(154,237,254,0.03); }
  body.fish-theme .toc-wrap summary.toc-title { color: #9aedfe; }
  body.fish-theme .toc-wrap[open] summary.toc-title { border-color: rgba(154,237,254,0.15); background: rgba(154,237,254,0.05); }
  body.fish-theme .toc-links a { color: rgba(154,237,254,0.6); }
  body.fish-theme .toc-links a:hover { color: #9aedfe; }

  header { transition: transform .25s ease; }
  header.hidden { transform: translateY(-110%); }

  /* COFFEE — sección post/whoami y footer */
  .coffee-section{margin:2.5rem 0 1rem;padding:1.4rem 1.2rem;border:1px solid rgba(255,180,0,0.2);border-radius:4px;background:rgba(255,180,0,0.03);text-align:center}
  .coffee-section p{color:rgba(255,180,0,0.55);font-size:.8rem;margin-bottom:.9rem;line-height:1.5}
  .coffee-section a{display:inline-flex;align-items:center;gap:.5rem;border:1px solid rgba(255,180,0,0.5);color:#ffb400;padding:.45rem 1.2rem;font-family:'Fira Code',monospace;font-size:.8rem;border-radius:3px;text-decoration:none;transition:all .2s}
  .coffee-section a:hover{background:rgba(255,180,0,0.1);border-color:#ffb400;box-shadow:0 0 14px rgba(255,180,0,0.25)}
  /* Fix: coffee dentro de flex post-title-row ocupa fila completa */
  .post-single .coffee-section{flex-basis:100%;width:100%}
  /* Sección café standalone encima del footer */
  .cafe-section{border-top:1px solid rgba(255,180,0,0.15);border-bottom:1px solid rgba(255,180,0,0.15);margin:2rem 0 0;padding:1.1rem 0;text-align:center;background:rgba(255,180,0,0.02)}
  .cafe-section a{display:inline-flex;align-items:center;gap:.55rem;border:1px solid rgba(255,180,0,0.5);color:#ffb400;padding:.5rem 1.3rem;font-family:'Fira Code',monospace;font-size:.8rem;border-radius:3px;text-decoration:none;transition:all .2s}
  .cafe-section a:hover{background:rgba(255,180,0,0.1);border-color:#ffb400;box-shadow:0 0 14px rgba(255,180,0,0.25)}
  .cafe-section small{display:block;margin-top:.45rem;color:rgba(255,180,0,0.4);font-size:.68rem;font-family:'Fira Code',monospace}
/* --- BANNERS: portadas reales en tarjetas y cabeceras --- */
.post-card-img{width:130px;min-width:130px;height:96px;object-fit:cover;border:3px solid var(--px-surface2);display:block;background:var(--px-bg);flex-shrink:0}
.post-card:hover .post-card-img{border-color:var(--px-red)}
.post-single-img{width:100%;max-height:320px;object-fit:cover;border:3px solid var(--px-surface2);display:block;margin-bottom:14px;background:var(--px-bg)}
.related-img{width:100%;height:110px;object-fit:cover;border:2px solid var(--px-surface2);display:block;margin-bottom:.6rem;background:var(--px-bg)}
.related-card:hover .related-img{border-color:var(--px-red)}
@media(max-width:768px){.post-card-img{width:100%;max-width:220px;height:120px;margin:0 auto}.post-single-img{max-height:220px}}
/* Fix movil 2026-10-27: el contenido del articulo no debe desbordar en pantallas estrechas */
.post-single .content{min-width:0;max-width:100%}
.post-single .content a{overflow-wrap:anywhere}

/* ─── SYLONBOT MUÑEQUITO (2026-10-29, sustituye a la caja flotante) ─── */
#chatBtn{background:transparent!important;border:none!important;box-shadow:none!important;border-radius:0!important;padding:0!important;flex-direction:column!important;gap:2px!important;animation:botBob 3.2s ease-in-out infinite}
#chatBtn:hover{background:transparent!important;box-shadow:none!important;transform:none;animation-duration:1.4s}
#chatBtn.open{background:transparent!important}
#chatBtn::after{display:none!important}
#chatBtn .bot-svg{width:84px;height:97px;display:block;filter:drop-shadow(4px 5px 0 rgba(0,0,0,.45))}
#chatBtn .bot-caption{font-family:'Fira Code',monospace;font-size:.52rem;letter-spacing:.08em;color:inherit;opacity:.8;white-space:nowrap}
#chatBtn .bot-eyes{transform-box:fill-box;transform-origin:center;animation:botBlink 4.6s infinite}
#chatBtn .bot-arm-r{transform-box:fill-box;transform-origin:50% 0;animation:botWave 5s ease-in-out infinite}
#chatBtn .bot-pulse{animation:botPulseDot 1.6s ease-in-out infinite}
@keyframes botBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes botBlink{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.08)}}
@keyframes botWave{0%,78%,100%{transform:rotate(0deg)}84%{transform:rotate(-38deg)}90%{transform:rotate(6deg)}96%{transform:rotate(-30deg)}}
@keyframes botPulseDot{0%,100%{opacity:1}50%{opacity:.35}}
#chatBubble{position:fixed;right:1.5rem;bottom:9.5rem;z-index:500;max-width:250px;background:#fff;color:#14161c;border:3px solid #14161c;box-shadow:4px 4px 0 rgba(0,0,0,.5);padding:.6rem .8rem;font-family:system-ui,sans-serif;font-size:.83rem;line-height:1.45;opacity:0;transform:translateY(6px);transition:all .35s ease;pointer-events:none}
#chatBubble.show{opacity:1;transform:translateY(0);pointer-events:auto}
#chatBubble b{color:#c81e1e}
#chatBubble::after{content:'';position:absolute;right:36px;bottom:-11px;width:14px;height:14px;background:#fff;border-right:3px solid #14161c;border-bottom:3px solid #14161c;transform:rotate(45deg) skew(8deg,8deg)}
#chatBubble .cb-x{position:absolute;top:.1rem;right:.45rem;cursor:pointer;color:#888;font-weight:700}
#chatPanel{bottom:9.4rem}
@media(max-width:520px){#chatPanel{bottom:8.8rem}#chatBubble{right:.75rem;bottom:8.9rem}}

/* ─── SYLONBOT: PENSANDO + OCULTAR AL BAJAR (2026-10-29) ─── */
#chatBtn{transition:transform .45s ease,opacity .45s ease}
#chatBtn .bot-mouth-o{display:none}
#chatBtn.thinking .bot-mouth{display:none}
#chatBtn.thinking .bot-mouth-o{display:block}
#chatBtn.thinking .bot-eyes{animation:botThink 1.1s ease-in-out infinite}
#chatBtn.thinking .bot-pulse{animation-duration:.45s}
@keyframes botThink{0%,100%{transform:translateX(-2px)}50%{transform:translateX(2px)}}
body.bot-away #chatBtn{animation:none;transform:translateY(140%);opacity:0;pointer-events:none}
body.bot-away #chatBubble{opacity:0;pointer-events:none;transform:translateY(10px)}

/* === Legibilidad (2026-11-12): contraste de textos atenuados y bloque de entrada === */
nav a{color:rgba(0,255,65,.78)}
.post-card .meta{opacity:.78}
.post-single .meta{opacity:.78}
.tag-cloud h3{opacity:.78}
.pagination .info{opacity:.85}
footer{opacity:.75}
#chatBtn .bot-hint{color:rgba(0,255,65,.75)}
#chatHeader .ch-sub{color:rgba(0,255,65,.65);font-size:.75rem}
.site-intro{margin:0 0 22px;padding:14px 16px;border:1px solid rgba(0,255,65,.25);background:rgba(0,255,65,.03);border-radius:3px}
.site-intro h1{font-family:'Fira Code',monospace;font-size:20px;color:#00ff41;font-weight:600;margin:0 0 8px}
.site-intro p{font-size:13px;line-height:1.6;color:#00ff41;margin:0}
.site-intro a{color:#38bdf8}

/* === Arreglo del menú (2026-11-12): ningún ítem del nav se parte en dos líneas === */
nav a{white-space:nowrap}
nav{flex:1 1 auto;min-width:0}
.search-bar input{width:150px}
@media(max-width:900px){.search-bar input{width:110px}}

/* === Menú en una fila (2026-11-12): logo y padding más finos para que quepa todo en una línea === */
.logo{font-size:20px}
nav a{padding:4px 8px}

/* === Banner de inicio con vida (2026-11-12) === */
.site-intro{position:relative;overflow:hidden;border-color:rgba(0,255,65,.6);animation:introIn .5s ease both,introGlowT 3.2s ease-in-out infinite}
.site-intro::before{content:'';position:absolute;top:0;bottom:0;left:0;width:45%;background:linear-gradient(105deg,transparent,rgba(255,255,255,.07),transparent);transform:translateX(-220%) skewX(-18deg);animation:introShine 6.5s ease-in-out infinite;pointer-events:none}
.site-intro .intro-arrow{display:inline-block;animation:introArrow 2.4s ease-in-out infinite}
@keyframes introIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@keyframes introGlowT{0%,100%{box-shadow:0 0 0 rgba(0,255,65,0)}50%{box-shadow:0 0 18px rgba(0,255,65,.28)}}
@keyframes introShine{0%,55%{transform:translateX(-220%) skewX(-18deg)}85%,100%{transform:translateX(320%) skewX(-18deg)}}
@keyframes introArrow{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}
@media (prefers-reduced-motion: reduce){.site-intro,.site-intro::before,.site-intro .intro-arrow{animation:none}}

/* === Banner: borde discontinuo y menos aire (2026-11-12) === */
.site-intro{border-style:dashed;margin-bottom:14px;padding:12px 18px}
.site-intro h1{margin-bottom:6px}

/* === Banner: el borde, más apagado (2026-11-12) === */
.site-intro{border-color:rgba(0,255,65,.35)}
@keyframes introGlowT{0%,100%{box-shadow:0 0 0 rgba(0,255,65,0)}50%{box-shadow:0 0 14px rgba(0,255,65,.16)}}

/* === Header nuevo: banner sobre el menú (2026-11-12) === */
header{flex-wrap:wrap}
header .site-intro{flex:1 1 100%;order:-1;border:none;border-top:1px dashed rgba(0,255,65,.35);border-bottom:1px dashed rgba(0,255,65,.35);background:rgba(0,255,65,.03);margin:0 0 8px;padding:10px 2px;animation:introIn .5s ease both}
header .site-intro h1{font-size:15px;margin-bottom:4px}
header .site-intro p{font-size:12.5px}

/* === Prompt del logo según la sección (2026-11-12): en pantallas estrechas se acorta solo === */
@media (max-width:1000px){.logo .prompt-path{display:none}}

/* === Banner: efectos configurables desde el panel (2026-11-12) === */
.site-intro.fx-ninguno::before,.site-intro.fx-resplandor::before{display:none}
.site-intro.fx-ninguno .intro-arrow,.site-intro.fx-resplandor .intro-arrow{animation:none}
header .site-intro.fx-resplandor,header .site-intro.fx-ambos{animation:introIn .5s ease both,introGlowT 3.2s ease-in-out infinite}

/* === Banner: posición en contenido y efecto interferencias (2026-11-12) === */
.site-intro.fx-ninguno,.site-intro.fx-barrido{animation:introIn .5s ease both}
.site-intro.fx-resplandor,.site-intro.fx-ambos{animation:introIn .5s ease both,introGlowT 3.2s ease-in-out infinite}
.site-intro.fx-interferencias::before{display:none}
.site-intro.fx-interferencias .intro-arrow{animation:none}
.site-intro.fx-interferencias{animation:introIn .5s ease both,introJitter 5s steps(1) infinite}
.site-intro.fx-interferencias h1{position:relative}
.site-intro.fx-interferencias h1::before,.site-intro.fx-interferencias h1::after{content:attr(data-text);position:absolute;left:0;top:0;width:100%;overflow:hidden;opacity:0;pointer-events:none}
.site-intro.fx-interferencias h1::before{color:#ff3b3b;animation:introGlitchA 5s steps(1) infinite}
.site-intro.fx-interferencias h1::after{color:#37e0e0;animation:introGlitchB 5s steps(1) infinite}
.site-intro.fx-interferencias::after{content:'';position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");opacity:0;pointer-events:none;animation:introNoise 5s steps(1) infinite}
@keyframes introGlitchA{0%,91.9%,94.1%,100%{opacity:0}92%{opacity:.85;transform:translate(-3px,1px);clip-path:inset(12% 0 55% 0)}93%{opacity:.85;transform:translate(3px,-1px);clip-path:inset(60% 0 8% 0)}94%{opacity:.85;transform:translate(-2px,0);clip-path:inset(30% 0 40% 0)}}
@keyframes introGlitchB{0%,91.9%,94.1%,100%{opacity:0}92%{opacity:.85;transform:translate(3px,0);clip-path:inset(48% 0 22% 0)}93%{opacity:.85;transform:translate(-3px,1px);clip-path:inset(5% 0 78% 0)}94%{opacity:.85;transform:translate(2px,-1px);clip-path:inset(70% 0 4% 0)}}
@keyframes introJitter{0%,91.9%,94.1%,100%{transform:none}92.5%{transform:translateX(1px)}93.5%{transform:translateX(-1px)}}
@keyframes introNoise{0%,91.9%,94.1%,100%{opacity:0}92%,93%,94%{opacity:.14}}
@media (prefers-reduced-motion: reduce){.site-intro.fx-interferencias,.site-intro.fx-interferencias::after,.site-intro.fx-interferencias h1::before,.site-intro.fx-interferencias h1::after{animation:none}}

/* === Banner: fondos tipo terminal (2026-11-12) === */
.site-intro.bg-tema{background-color:rgba(0,255,65,.07)}
.site-intro.bg-verde{background-color:rgba(0,255,65,.06)}
.site-intro.bg-ambar{background-color:rgba(255,176,0,.07)}
.site-intro.bg-azul{background-color:rgba(64,156,255,.07)}
.site-intro.bg-tema,.site-intro.bg-verde,.site-intro.bg-ambar,.site-intro.bg-azul{background-image:repeating-linear-gradient(0deg,rgba(0,0,0,.14) 0 1px,transparent 1px 3px)}

/* === Banner: fondos, segunda pasada — tintes con más presencia (2026-11-12) === */
.site-intro.bg-tema{background-color:rgba(0,255,65,.14)}
.site-intro.bg-verde{background-color:rgba(0,255,65,.14)}
.site-intro.bg-ambar{background-color:rgba(255,176,0,.15)}
.site-intro.bg-azul{background-color:rgba(64,156,255,.16)}
.site-intro.bg-tema,.site-intro.bg-verde,.site-intro.bg-ambar,.site-intro.bg-azul{background-image:repeating-linear-gradient(0deg,rgba(0,0,0,.18) 0 1px,transparent 1px 3px)}

/* === Banner en el header tipo caja: laterales discontinuos (2026-11-12, a prueba) === */
header .site-intro{border-left:1px dashed rgba(0,255,65,.35);border-right:1px dashed rgba(0,255,65,.35);padding-left:12px;padding-right:12px}

/* === Banner: sin laterales (opción del panel, 2026-11-12) === */
header .site-intro.sin-laterales{border-left:none;border-right:none;padding-left:2px;padding-right:2px}

/* === Franja del Curso Linux (temporal, 2026-11-12) === */
.curso-strip{display:flex;gap:12px;align-items:center;justify-content:space-between;border:1px dashed rgba(0,255,65,.5);background:rgba(0,255,65,.06);padding:9px 14px;margin:0 0 16px;font-size:12.5px;color:#9f9;text-decoration:none}
.curso-strip strong{color:#00ff41}
.curso-strip-cta{font-weight:700;color:#5af78e;white-space:nowrap}
.curso-strip:hover{border-color:#00ff41}

/* === Franja de avisos: destacar años 80 (2026-11-12) === */
.curso-strip.attn .curso-strip-cta{animation:attnBlink 1.1s steps(1) infinite}
@keyframes attnBlink{0%,55%{opacity:1}56%,100%{opacity:0}}
@media (prefers-reduced-motion: reduce){.curso-strip.attn .curso-strip-cta{animation:none}}

/* === Con la franja en modo destacar, el cursor del logo se queda fijo (2026-11-12) === */
body.aviso-attn .blink{animation:none}


/* ═══ Adaptaciones Astro (sitio estático): aliases de la paleta pixel a la
   paleta terminal para los componentes propios de Astro que usan --px-*,
   y el bloque de componentes tal cual va en el tema pixel. ═══ */
:root{
  --px-bg:#000;--px-surface:#031207;--px-surface2:#0a2a12;
  --px-red:#00ff41;--px-gold:#00ff41;--px-green:#00ff41;
  --px-cyan:#5af78e;--px-purple:#9aedfe;--px-white:#d8ffe2;
  --px-gray:rgba(0,255,65,0.55);--px-border:3px solid var(--px-red);
  --px-font:'Fira Code',monospace;--px-body:'Fira Code',monospace;
}
/* ─── Adaptaciones Astro Fase 1 (mínimas, sobre el tema pixel) ─── */
header .logo{text-decoration:none}
.post-card h2 a{color:inherit;text-decoration:none}
.post-card .meta a{color:var(--px-cyan)}
footer a{color:var(--px-cyan)}
.autoria-box{margin:36px 0 8px;padding:16px;border:3px solid var(--px-surface2);background:var(--px-surface);box-shadow:4px 4px 0 #0a0c14}
.autoria-box .autoria-t{font-family:var(--px-font);font-size:9px;letter-spacing:2px;color:var(--px-gold);margin-bottom:10px}
.autoria-box p{font-size:13px;line-height:1.8;color:var(--px-white)}
.autoria-box a.cta{color:var(--px-cyan);white-space:nowrap}
.legal-page,.static-page{padding:40px 0;min-height:60vh;line-height:1.8;font-size:14px;max-width:820px}
.legal-page h1,.static-page h1{font-family:var(--px-font);font-size:14px;color:var(--px-gold);line-height:2;margin-bottom:16px}
.legal-page h2,.static-page h2{font-family:var(--px-font);font-size:11px;color:var(--px-cyan);line-height:2;margin:26px 0 8px}
.legal-page a,.static-page a{color:var(--px-cyan)}
.static-page .cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin:14px 0 24px}
.static-page .cards .card{display:block;padding:14px;border:3px solid var(--px-surface2);background:var(--px-surface);text-decoration:none}
.static-page .cards .card:hover{border-color:var(--px-red)}
.static-page .cards .card .t{font-size:13px;color:var(--px-white);line-height:1.6}
.curso-list{list-style:none;padding:0;margin:20px 0}
.curso-list li{padding:14px 16px;margin-bottom:10px;border:3px solid var(--px-surface2);background:var(--px-surface);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.curso-list .curso-num{font-family:var(--px-font);font-size:9px;color:var(--px-purple)}
.curso-list .curso-state{font-family:var(--px-font);font-size:8px}
.curso-list .ok{color:var(--px-green)}
.curso-list .soon{color:var(--px-gray)}
.search-results-list .post-card{cursor:default}

/* ─── Paridad 1: enlaces de paginación con el mismo aspecto que los botones del VPS ─── */
.pagination a.pg-link{background:var(--px-surface);border:3px solid var(--px-surface2);color:var(--px-white);padding:6px 14px;font-family:var(--px-font);font-size:8px;cursor:pointer;
  box-shadow:3px 3px 0 #0a0c14;text-decoration:none;display:inline-block}
.pagination a.pg-link:hover{border-color:var(--px-gold);color:var(--px-gold);transform:translate(-1px,-1px);box-shadow:4px 4px 0 #0a0c14}
.tag-cloud a.tag{text-decoration:none}
.post-single .meta .byline-author{color:var(--px-cyan);text-decoration:none}
.post-single .meta .byline-author:hover{text-decoration:underline}

/* ─── Paridad 5: página del Curso Linux (tarjetas y caja «Cómo funciona», tema pixel) ─── */
.curso-page{max-width:1080px}
.curso-page h1 .prompt{color:var(--px-green)}
.curso-page .sub{font-size:15px;color:var(--px-gray);margin:0 0 8px}
.curso-page .intro{font-size:14px;line-height:1.7;max-width:760px}
.curso-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;margin-top:30px}
.curso-card{display:block;background:var(--px-surface);border:3px solid var(--px-surface2);padding:16px;text-decoration:none;color:inherit;box-shadow:4px 4px 0 #0a0c14}
a.curso-card:hover{border-color:var(--px-green);transform:translate(-1px,-1px)}
.curso-card .num{font-family:var(--px-font);font-size:20px;color:var(--px-green)}
.curso-card h2{font-size:15px;margin:8px 0 6px;line-height:1.4;color:var(--px-white)}
.curso-card p{margin:0;color:var(--px-gray);font-size:12.5px;line-height:1.6}
.curso-card .meta{margin-top:12px;display:flex;justify-content:space-between;align-items:center}
.curso-card .fecha{font-size:11px;color:var(--px-gray)}
.curso-card .badge{font-family:var(--px-font);font-size:7px;letter-spacing:.4px;text-transform:uppercase;border:2px solid var(--px-surface2);color:var(--px-gray);padding:4px 8px}
.curso-card .badge.ok{color:var(--px-green);border-color:var(--px-green)}
.curso-page .como{margin-top:38px;background:var(--px-surface);border:3px solid var(--px-surface2);padding:18px 20px;box-shadow:4px 4px 0 #0a0c14}
.curso-page .como h2{margin:0 0 10px}
.curso-page .como ul{margin:0;padding-left:20px;line-height:1.8;color:var(--px-gray);font-size:13.5px}

/* ─── Paridad 3: página de etiquetas (contenedor .tags y .tag genéricos, como tagsView del VPS) ─── */
.tags{display:flex;flex-wrap:wrap;gap:6px}
.posts-list .tag{display:inline-block;font-family:var(--px-font);font-size:10px;background:var(--px-surface2);border:2px solid var(--px-purple);color:var(--px-purple);padding:3px 8px;cursor:pointer}
.posts-list .tag:hover{background:var(--px-purple);color:#000}
.posts-list .tag .cnt{opacity:.5;margin-left:4px}

.autoria-box,.curso-card,.curso-page .como{box-shadow:4px 4px 0 rgba(0,0,0,0.5)}
.pagination a.pg-link{box-shadow:3px 3px 0 rgba(0,0,0,0.5)}
.pagination a.pg-link:hover{box-shadow:4px 4px 0 rgba(0,0,0,0.5)}
