/*
Theme Name: Abyssmo · Discord Edition
Author: Abyssmo Studio
Description: Interfaz de aplicación inspirada en Discord: acceso y creador de cartas sin landing page.
Version: 2.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: abyssmo-discord
*/
:root{
  --ab-rail:#1e1f22;--ab-side:#2b2d31;--ab-canvas:#313338;--ab-pane:#2b2d31;
  --ab-input:#1e1f22;--ab-line:#3f4147;--ab-ink:#f2f3f5;--ab-muted:#b5bac1;
  --ab-dim:#80848e;--ab-accent:#5865f2;--ab-hover:#4752c4;--ab-good:#3ba55d;
  --ab-yellow:#f0b232;--ab-red:#f23f43;--ab-radius:7px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.abyssmo-app-body{margin:0;background:var(--ab-canvas);color:var(--ab-ink);font:14px/1.5 "gg sans","Noto Sans","Helvetica Neue",Arial,sans-serif}
.abyssmo-app-body button,.abyssmo-app-body input,.abyssmo-app-body textarea,.abyssmo-app-body select{font:inherit}
.abyssmo-app-body button{cursor:pointer}
.abyssmo-app-body a{text-decoration:none;color:inherit}
.abyssmo-app-body button:focus-visible,.abyssmo-app-body a:focus-visible,.abyssmo-app-body input:focus-visible,.abyssmo-app-body select:focus-visible,.abyssmo-app-body textarea:focus-visible{outline:2px solid #a4aaf8;outline-offset:3px}
.abyssmo-app-body img{max-width:100%}
.ab-icon{flex:none;vertical-align:middle}
.ab-online{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ab-good);box-shadow:0 0 0 2px #313338;flex:none}
.ab-kicker{display:inline-flex;align-items:center;gap:8px;letter-spacing:1.5px;font-weight:800;font-size:10px;color:#b4bbff}
.ab-kicker i{width:6px;height:6px;display:inline-block;background:#43b581;border-radius:50%}

/* Acceso: una pantalla, no un sitio web */
.ab-auth-screen{min-height:100dvh;display:grid;place-items:center;overflow:hidden;padding:28px;background-color:#232428;background-image:linear-gradient(45deg,transparent 48%,#ffffff06 49%,#ffffff06 51%,transparent 52%),radial-gradient(ellipse at 85% 0%,#5865f227,transparent 44%);background-size:60px 60px,auto}
.ab-auth-shell{width:min(1090px,100%);min-height:620px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);background:var(--ab-side);border:1px solid #45464b;border-radius:8px;box-shadow:0 25px 80px #0008;overflow:hidden}
.ab-auth-showcase{background:#24262b;padding:35px 42px 22px;display:flex;flex-direction:column;position:relative;border-right:1px solid #414249;isolation:isolate}
.ab-auth-showcase:before{content:"";position:absolute;width:340px;height:340px;border:1px solid #5865f21c;border-radius:50%;right:-110px;top:-130px;pointer-events:none;z-index:-1}
.ab-logo-block{display:inline-flex;align-items:center;gap:13px;width:max-content}
.ab-logo-mark,.ab-server-home{font-weight:1000;position:relative;display:grid;place-items:center;background:var(--ab-accent);color:#fff;font-size:27px;line-height:1}
.ab-logo-mark{width:44px;height:44px;border-radius:12px}
.ab-logo-mark span,.ab-server-home span{font-size:10px;position:absolute;right:6px;top:7px}
.ab-logo-block b{display:block;font-size:18px;letter-spacing:1.6px}
.ab-logo-block small{font-size:9px;display:block;color:#9297a1;font-weight:800;letter-spacing:1.4px;margin-top:2px}
.ab-auth-pitch{margin-top:58px;max-width:470px}
.ab-auth-pitch h1{font-size:clamp(34px,3.8vw,53px);line-height:1.08;letter-spacing:-1.8px;margin:17px 0 19px;font-weight:850}
.ab-auth-pitch h1 span{color:#a6acff}
.ab-auth-pitch>p{font-size:13px;color:#babcc7;max-width:390px;line-height:1.8}
.ab-chat-mock{margin-top:auto;border:1px solid #41434a;background:#303137;border-radius:7px;padding:0 0 9px;overflow:hidden;transform:rotate(-1deg);box-shadow:0 12px 34px #0003}
.ab-chat-title{height:42px;background:#2c2e33;border-bottom:1px solid #41434a;display:flex;align-items:center;gap:9px;padding:0 16px;font-weight:800}
.ab-chat-title span{color:#80848e;font-size:21px;font-weight:400}
.ab-chat-title small{font-size:10px;font-weight:400;color:#979ba4;margin-left:6px}
.ab-chat-line{display:flex;align-items:flex-start;gap:10px;padding:12px 14px 0}
.ab-mock-avatar{height:32px;width:32px;display:grid;place-items:center;border-radius:50%;font-weight:900;flex:none}
.avatar-one,.avatar-three{background:#5865f2}.avatar-two{background:#bc4d8a}
.ab-chat-line>div{min-width:0}
.ab-chat-line strong{font-size:12px;margin-right:8px}
.ab-chat-line strong em{font-size:8px;background:#5865f2;padding:2px 4px;border-radius:3px;font-style:normal;margin-left:3px}
.ab-chat-line small{color:#9295a0;font-size:9px}
.ab-chat-line p{font-size:11px;color:#c7c8d1;margin:4px 0 0}
.ab-typing{font-size:10px;color:#a3a6ae;margin:15px 14px 1px;display:flex;gap:3px;align-items:center}
.ab-typing i{height:4px;width:4px;border-radius:50%;background:#9da5f8;animation:ab-dot 1.6s ease-in-out infinite}
.ab-typing i:nth-child(2){animation-delay:.2s}.ab-typing i:nth-child(3){animation-delay:.4s}
.ab-typing i:last-of-type{margin-right:6px}
@keyframes ab-dot{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-2px)}}
.ab-auth-legal{color:#71747c;font-size:9px;margin-top:16px}
.ab-auth-main{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:35px 37px;background:var(--ab-side)}
.ab-login-card{width:min(400px,100%)}
.ab-login-icon{margin:0 auto 14px;display:grid;place-items:center;width:49px;height:49px;background:#41499e;color:#fff;border-radius:12px;font-size:30px}
.ab-login-heading{text-align:center;margin-bottom:25px}
.ab-login-heading h2{font-size:25px;letter-spacing:-.5px;margin:0 0 3px;color:#fff}
.ab-login-heading p{margin:0;color:#b5bac1;font-size:13px}
.ab-login-foot{text-align:center;color:#888e9c;font-size:10px;margin:22px 0 0;display:flex;align-items:center;gap:8px;justify-content:center}
.ab-auth-side-note{text-align:center;color:#868b95;font-size:10px;margin:35px 0 0}
.ab-auth-mobile-brand{display:none}
.ab-flash{border:1px solid;border-radius:4px;padding:10px 12px;margin:14px 0;font-size:12px}
.ab-flash-good{color:#a8eec0;background:#244432;border-color:#3d7153}
.ab-flash-error{color:#ffd0d2;background:#55292b;border-color:#904548}
.ab-auth-main .aby-root{width:100%;margin:0;padding:0}
.ab-auth-main .aby-auth-layout{border:0;box-shadow:none;background:transparent;border-radius:0;display:block;min-height:0;margin:0}
.ab-auth-main .aby-auth-aside{display:none}
.ab-auth-main .aby-auth-panel{background:transparent;display:block;padding:0}
.ab-auth-main .aby-switch{background:#202127;border:1px solid #484a52;border-radius:5px;padding:3px;gap:2px;margin:0 0 21px}
.ab-auth-main .aby-switch button{color:#b5bac1;border-radius:4px;padding:11px 8px;font-size:12px;font-weight:750}
.ab-auth-main .aby-switch button.active{background:#404249;box-shadow:none;color:white}
.ab-auth-main .aby-auth-form{gap:15px}
.ab-auth-main .aby-auth-form label{font-size:11px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;color:#babdc8;gap:7px}
.ab-auth-main .aby-auth-form input:not([type=checkbox]){min-height:43px;padding:10px 12px;background:#1e1f22;border:1px solid #1e1f22;color:#f2f3f5;border-radius:4px;box-shadow:none;font-size:13px;letter-spacing:0}
.ab-auth-main .aby-auth-form input:focus{border-color:#8991ff;box-shadow:0 0 0 1px #8991ff!important}
.ab-auth-main .aby-auth-form input::placeholder{color:#696e78}
.ab-auth-main .aby-auth-form .aby-checkbox{text-transform:none;font-weight:500;letter-spacing:0;font-size:12px}
.ab-auth-main .aby-checkbox input{width:16px;height:16px}
.ab-auth-main .aby-btn-primary{width:100%;min-height:43px;background:#5865f2!important;border:0;color:#fff!important;border-radius:4px;font-size:13px;font-weight:800;box-shadow:none}
.ab-auth-main .aby-btn-primary:hover{background:#4752c4!important;transform:none}
.ab-auth-main .aby-auth-foot{text-align:left;font-size:11px;color:#969ba6;margin:0}
.ab-auth-main .aby-auth-foot a{color:#aeb4ff}

/* Shell logged in */
.ab-workspace{display:grid;grid-template-columns:70px 234px minmax(0,1fr);height:100dvh;min-height:560px;overflow:hidden}
.admin-bar .ab-workspace{height:calc(100dvh - 32px)}
.ab-server-rail{background:var(--ab-rail);display:flex;align-items:center;flex-direction:column;padding:13px 9px;gap:11px;z-index:31}
.ab-server-home{width:48px;height:48px;border-radius:16px;font-size:26px;transition:border-radius .18s,background .18s}
.ab-server-home:hover{border-radius:11px}
.ab-rail-separator{height:2px;width:32px;background:#35363c;border-radius:2px;margin:1px 0 2px}
.ab-rail-button{width:45px;height:45px;border:0;background:#313338;display:grid;place-items:center;color:#bec0c7;border-radius:15px;transition:background .17s,border-radius .17s,color .17s;position:relative}
.ab-rail-button:hover,.ab-rail-button.is-active{background:var(--ab-accent);color:white;border-radius:12px}
.ab-rail-button.is-active:before{content:"";width:4px;height:27px;position:absolute;left:-10px;top:9px;background:#fff;border-radius:0 5px 5px 0}
.ab-rail-spacer{flex:1}
.ab-rail-help{background:#24262b}
.ab-channel-sidebar{background:var(--ab-side);display:flex;flex-direction:column;min-width:0}
.ab-sidebar-head{height:58px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #222326;box-shadow:0 1px 0 #222326;flex:none}
.ab-sidebar-head b{display:block;font-size:15px;letter-spacing:.5px}
.ab-sidebar-head small{display:block;color:#8f939c;font-size:9px;letter-spacing:1.1px;font-weight:800}
.ab-close-sidebar{display:none}
.ab-nav-scroll{overflow-y:auto;min-height:0;flex:1;padding:23px 9px}
.ab-channel-section-label{padding:0 12px;margin:0 0 9px;font-size:10px;color:#92959f;font-weight:900;letter-spacing:.9px;display:flex;justify-content:space-between}
.ab-channel-section-label span{font-size:13px}
.ab-channel-list{display:flex;flex-direction:column;gap:3px}
.ab-channel{display:flex;align-items:center;gap:11px;background:transparent;color:#aeb0b8;border:0;border-radius:5px;padding:10px 12px;text-align:left;width:100%;font-size:13px;font-weight:650;min-height:42px}
.ab-channel .ab-icon{width:19px}
.ab-channel:hover{background:#35373c;color:#e6e6ed}
.ab-channel.is-active{background:#404249;color:white}
.ab-channel-kbd{font-size:9px;color:#989aa5;margin-left:auto;white-space:nowrap}
.ab-gap-top{margin-top:32px}
.ab-sidebar-info{display:flex;gap:10px;padding:10px 11px;align-items:flex-start}
.ab-sidebar-info .ab-online{margin-top:5px}
.ab-sidebar-info strong{display:block;color:#d7d7e0;font-size:11px;font-weight:700}
.ab-sidebar-info small{display:block;font-size:10px;color:#858b96;margin-top:4px;line-height:1.5}
.ab-info-purple{color:#b9bdff}
.ab-admin-link{margin-top:18px}
.ab-profile-bar{background:#232428;min-height:60px;padding:9px;display:flex;align-items:center;gap:8px}
.ab-user-avatar{height:36px;width:36px;position:relative;background:#5865f2;color:#fff;border-radius:50%;display:grid;place-items:center;font-weight:850}
.ab-user-avatar span{height:10px;width:10px;border-radius:50%;background:#3ba55d;border:2px solid #232428;position:absolute;right:0;bottom:0}
.ab-user-details{min-width:0;flex:1}
.ab-user-details strong{font-size:12px;color:#fff;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ab-user-details small{color:#989ba5;font-size:10px}
.ab-profile-exit{color:#aeb1bc;padding:9px;border-radius:4px;display:grid;place-items:center}
.ab-profile-exit:hover{background:#34373b;color:#fff}
.ab-sidebar-overlay{display:none}
.ab-content-area{min-width:0;background:var(--ab-canvas);display:flex;flex-direction:column}
.ab-app-header{height:58px;flex:none;display:flex;align-items:center;gap:10px;padding:0 28px;background:#313338;border-bottom:1px solid #25262b;box-shadow:0 1px 0 #25262b;z-index:4}
.ab-hash{color:#80848e;font-weight:700;font-size:28px;line-height:1}
.ab-app-header strong{font-size:14px;white-space:nowrap}
.ab-app-header-divider{height:24px;width:1px;background:#4e5058;margin:0 7px}
.ab-header-subtitle{color:#9da1ae;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ab-header-actions{margin-left:auto;display:flex;align-items:center;gap:14px}
.ab-chip-live{font-size:9px;letter-spacing:1px;color:#b5bac1;font-weight:750;display:inline-flex;align-items:center;gap:8px;border:1px solid #4a4b52;padding:7px 9px;border-radius:4px;white-space:nowrap}
.ab-header-icon-btn{border:0;background:none;color:#b5bac1;display:grid;place-items:center;padding:6px}
.ab-header-icon-btn:hover{color:white}
.ab-hamburger{display:none}
.ab-feed{overflow:auto;min-height:0;flex:1;padding:34px clamp(19px,4vw,57px) 28px;scroll-behavior:smooth}
.ab-feed>*{max-width:1290px;margin-left:auto;margin-right:auto}
.ab-view-header{margin-bottom:22px}
.ab-feed-kicker{font-size:9px;color:#9298bd}
.ab-view-title-row{display:flex;justify-content:space-between;align-items:end;margin-top:11px;gap:20px}
.ab-view-title-row h1{font-size:clamp(24px,2.8vw,36px);font-weight:850;line-height:1.16;letter-spacing:-1px;margin:0 0 8px}
.ab-view-title-row h1 span{color:#939cfb}
.ab-view-title-row p{font-size:12px;color:#b5bac1;margin:0;line-height:1.6}
.ab-feed-deco{letter-spacing:3px;color:#676c78;font-size:10px;font-weight:700;white-space:nowrap}
.ab-tip-bar{display:flex;align-items:center;gap:12px;border:1px solid #4a4e63;border-left:3px solid #8992ff;background:#373945;padding:11px 14px;border-radius:4px;margin-bottom:22px}
.ab-tip-symbol{color:#aab0ff;font-size:19px;font-weight:900}
.ab-tip-bar>div{flex:1;display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;min-width:0}
.ab-tip-bar strong{color:#c1c6ff;font-size:10px;white-space:nowrap;letter-spacing:.3px}
.ab-tip-bar [data-ab-tip]{color:#c7c9d1;font-size:11px}
.ab-tip-next{display:flex;align-items:center;gap:6px;min-height:30px;border:1px solid #666a7b;color:#e8e9f1;background:#484b5c;border-radius:4px;font-size:11px;padding:5px 9px;white-space:nowrap}
.ab-tip-next .ab-icon{width:14px;height:14px}
.ab-tip-next:hover{background:#55596e}
.ab-plugin-host{width:100%;max-width:1290px}
.ab-content-footer{border-top:1px solid #47494f;margin-top:25px;padding:17px 0 5px;display:flex;justify-content:space-between;gap:10px;color:#80848e;font-size:10px}
.ab-missing{background:#483032;padding:23px;border:1px solid #ae6464;border-radius:6px}
.ab-missing p{margin:6px 0 0}
.ab-toast{position:fixed;bottom:25px;right:26px;background:#232428;border:1px solid #6870b1;border-radius:5px;padding:12px 16px;color:white;box-shadow:0 10px 32px #0006;max-width:300px;z-index:100;font-size:12px}
.ab-toast[hidden]{display:none}

/* La aplicación reemplaza visualmente el diseño de los componentes del plugin */
.ab-workspace .aby-root,.ab-workspace .aby-root *{box-sizing:border-box}
.ab-workspace .aby-root{width:100%;padding:0;margin:0;font:inherit;color:var(--ab-ink);max-width:none}
.ab-workspace .aby-root .aby-dashboard-intro{display:none}
.ab-workspace .aby-root .aby-heading{margin:0 0 16px;align-items:center}
.ab-workspace .aby-root .aby-heading h2{font-size:17px;letter-spacing:-.2px;margin:0 0 5px;color:#f2f3f5}
.ab-workspace .aby-root .aby-heading p{font-size:11px;color:#b5bac1;line-height:1.6}
.ab-workspace .aby-root .aby-eyebrow{font-size:9px;letter-spacing:1.2px;color:#a8aeff;margin-bottom:6px}
.ab-workspace .aby-root .aby-notice{border-radius:4px;padding:12px 15px;margin-bottom:16px;border:1px solid #39855b;background:#254535;color:#c5efcf;font-weight:650;font-size:12px}
.ab-workspace .aby-root .aby-notice--error{border-color:#9c474c;background:#592d30;color:#ffe2e2}
.ab-workspace .aby-root [data-ab-section][hidden]{display:none!important}
.ab-workspace .aby-root .aby-editor{padding:0;background:none;border:0;border-radius:0;box-shadow:none;margin:0}
.ab-workspace .aby-root .aby-editor-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(280px,.72fr);align-items:start;gap:17px}
.ab-workspace .aby-root .aby-card-form{background:var(--ab-pane);border:1px solid #45464c;border-radius:6px;padding:23px;gap:21px;box-shadow:none;min-width:0}
.ab-workspace .aby-root .aby-card-form label{color:#b5bac1;font-size:11px;line-height:1.4;font-weight:800;letter-spacing:.3px;gap:7px}
.ab-workspace .aby-root .aby-card-form label span{color:#ed868b}
.ab-workspace .aby-root .aby-form-grid{gap:13px}
.ab-workspace .aby-root .aby-card-form input:not([type=file]),.ab-workspace .aby-root .aby-card-form textarea,.ab-workspace .aby-root .aby-card-form select,.ab-workspace .aby-root .aby-gallery-controls input,.ab-workspace .aby-root .aby-gallery-controls select{min-height:40px;background:#1e1f22;border:1px solid #1e1f22;color:#eeeef3;border-radius:4px;box-shadow:none;padding:10px 12px;font-size:12px;font-weight:500}
.ab-workspace .aby-root .aby-card-form input:focus,.ab-workspace .aby-root .aby-card-form textarea:focus,.ab-workspace .aby-root .aby-card-form select:focus,.ab-workspace .aby-root .aby-gallery-controls input:focus{border-color:#8d96fa;box-shadow:0 0 0 1px #8d96fa}
.ab-workspace .aby-root .aby-card-form input::placeholder,.ab-workspace .aby-root .aby-card-form textarea::placeholder{color:#777b85}
.ab-workspace .aby-root .aby-card-form textarea{min-height:116px;resize:vertical;line-height:1.6}
.ab-workspace .aby-root .aby-card-form label small{font-size:10px;color:#9599a4}
.ab-workspace .aby-root .aby-card-form input[type=file]{border:1px dashed #62646f;background:#35363c;color:#afb1bb;padding:9px;border-radius:4px;font-size:10px;min-height:40px}
.ab-workspace .aby-root .aby-card-form input[type=file]::file-selector-button{border:0;background:#4b4e57;color:#e9eaf0;border-radius:3px;font-size:10px;font-weight:800;padding:8px;margin-right:9px}
.ab-workspace .aby-root .aby-card-form.aby-drop-active{border-color:#aeb5ff;background:#31344a}
.ab-workspace .aby-root .aby-editor-footer{padding-top:19px;border-top:1px solid #46484f}
.ab-workspace .aby-root .aby-editor-footer strong{color:#e6e7ef;font-size:11px}
.ab-workspace .aby-root .aby-editor-footer p{color:#979ca8;font-size:11px;max-width:270px;margin-top:5px}
.ab-workspace .aby-root .aby-form-buttons{gap:9px}
.ab-workspace .aby-root .aby-btn{border-radius:4px;min-height:40px;padding:10px 14px;box-shadow:none;transform:none!important;font-size:11px;gap:7px;font-weight:850;line-height:1.4}
.ab-workspace .aby-root .aby-btn-primary{background:#5865f2;color:white!important}
.ab-workspace .aby-root .aby-btn-primary:hover{background:#4752c4}
.ab-workspace .aby-root .aby-btn-secondary{background:#404249;color:#f2f3f5!important;border-color:#555760}
.ab-workspace .aby-root .aby-btn-secondary:hover{background:#4b4d54}
.ab-workspace .aby-root .aby-preview-side{background:#2b2d31;border:1px solid #45464c;border-radius:6px;padding:19px;position:relative}
.ab-workspace .aby-root .aby-preview-side>.aby-eyebrow{display:flex;align-items:center;justify-content:space-between;color:#b5bac1;margin-bottom:15px}
.ab-workspace .aby-root .aby-preview-side>.aby-eyebrow:after{content:"● DIRECTO";font-size:9px;color:#62d88f;letter-spacing:.2px}
.ab-workspace .aby-root .aby-preview-card{background:#313338;border:1px solid #44464f;border-left:4px solid #8994ff;border-radius:5px;max-width:none;margin:0;box-shadow:none}
.ab-workspace .aby-root .aby-preview-visual{aspect-ratio:1/0.78;background:#26272c}
.ab-workspace .aby-root .aby-preview-visual img{object-fit:cover}
.ab-workspace .aby-root .aby-image-placeholder{background:#282933;color:#a5aaff;font-size:74px}
.ab-workspace .aby-root .aby-image-placeholder small{font-size:11px;color:#979bb4}
.ab-workspace .aby-root .aby-preview-rarity{border-radius:3px;bottom:10px;left:10px;padding:6px 10px;font-size:9px;font-weight:800}
.ab-workspace .aby-root .aby-preview-body{padding:18px}
.ab-workspace .aby-root .aby-preview-body>span{font-size:10px;color:#aab2ff;letter-spacing:.5px}
.ab-workspace .aby-root .aby-preview-body h3{font-size:21px;line-height:1.25;color:#fff;letter-spacing:-.4px;margin:8px 0}
.ab-workspace .aby-root .aby-preview-body p{font-size:11px;color:#c0c2cb;line-height:1.6;min-height:44px;max-height:150px;margin-bottom:16px}
.ab-workspace .aby-root .aby-discord-label{font-size:9px;letter-spacing:1px;color:#7e8390;border-color:#494a54}
.ab-workspace .aby-root .aby-preview-note{text-align:left;color:#878b99;font-size:10px;margin:14px 0 0;line-height:1.6}
.ab-workspace .aby-root .aby-gallery{margin:0}
.ab-workspace .aby-root .aby-gallery-controls{max-width:none}
.ab-workspace .aby-root .aby-heading em{background:#424650;color:#dedff1;border-radius:4px;padding:3px 8px}
.ab-workspace .aby-root .aby-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.ab-workspace .aby-root .aby-tile{background:#2b2d31;border-color:#494b51;border-radius:5px;transform:none!important;box-shadow:none}
.ab-workspace .aby-root .aby-tile:hover{border-color:#8993ff}
.ab-workspace .aby-root .aby-tile-image{aspect-ratio:1/.87;background:#212327}
.ab-workspace .aby-root .aby-rarity{border-radius:4px;font-size:9px;padding:6px 9px;left:9px;bottom:9px}
.ab-workspace .aby-root .aby-tile-content{padding:14px}
.ab-workspace .aby-root .aby-tile-serie{font-size:9px!important;color:#aeb5ff!important}
.ab-workspace .aby-root .aby-tile-content h3{font-size:15px;color:#f5f5f9}
.ab-workspace .aby-root .aby-tile-desc{font-size:11px;color:#b5bac1}
.ab-workspace .aby-root .aby-small-link{color:#aeb5ff!important}
.ab-workspace .aby-root .aby-status{border-radius:3px}
.ab-workspace .aby-root .aby-empty,.ab-workspace .aby-root .aby-filter-empty{border-radius:5px;background:#2b2d31;border:1px dashed #555966;color:#afb3c1}
.ab-workspace .aby-root .aby-filter-empty[hidden],.ab-workspace .aby-root .aby-tile[hidden]{display:none}
.ab-workspace .aby-root .aby-editor .aby-heading{padding:0 0 10px}
.ab-workspace .aby-root .aby-own .aby-heading,.ab-workspace .aby-root #galeria .aby-heading{margin-bottom:23px}
.ab-workspace .aby-root .aby-gallery-controls{margin-bottom:18px}
.ab-plain-page{max-width:750px;margin:70px auto;padding:24px;color:#f2f3f5}
.ab-plain-back{color:#aeb5ff}
.ab-plain-page article{background:#2b2d31;border:1px solid #43454c;border-radius:6px;padding:30px;margin-top:20px}
.ab-plain-page a:not(.ab-plain-back){text-decoration:underline;color:#aeb5ff}

/* States + responsive */
@media(max-width:1260px){
  .ab-workspace{grid-template-columns:64px 210px minmax(0,1fr)}
  .ab-workspace .aby-root .aby-editor-layout{grid-template-columns:minmax(0,1fr) minmax(250px,.7fr)}
  .ab-workspace .aby-root .aby-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ab-workspace .aby-root .aby-card-form{padding:18px}
  .ab-workspace .aby-root .aby-form-grid{grid-template-columns:1fr}
}
@media(max-width:990px){
  .ab-workspace{grid-template-columns:60px 194px minmax(0,1fr)}
  .ab-feed{padding:27px 23px}
  .ab-workspace .aby-root .aby-editor-layout{grid-template-columns:1fr}
  .ab-workspace .aby-root .aby-preview-side{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.9fr);column-gap:15px}
  .ab-workspace .aby-root .aby-preview-side>.aby-eyebrow{grid-column:1/-1}
  .ab-workspace .aby-root .aby-preview-note{margin:0;align-self:center}
}
@media(max-width:760px){
  .ab-auth-screen{padding:15px}
  .ab-auth-shell{grid-template-columns:1fr;min-height:0;width:min(460px,100%)}
  .ab-auth-showcase{display:none}
  .ab-auth-main{padding:29px 22px}
  .ab-auth-mobile-brand{display:block;margin-bottom:27px;font-size:15px;font-weight:900;letter-spacing:1px}
  .ab-auth-mobile-brand span{color:#9ba4ff}
  .ab-login-icon{display:none}
  .ab-workspace{grid-template-columns:54px minmax(0,1fr)}
  .ab-channel-sidebar{position:fixed;top:0;bottom:0;left:54px;width:min(258px,calc(100vw - 54px));z-index:51;transform:translateX(-120%);transition:transform .18s ease;box-shadow:10px 0 35px #0006}
  .admin-bar .ab-channel-sidebar{top:46px}
  .ab-channel-sidebar.ab-sidebar-open{transform:translateX(0)}
  .ab-sidebar-overlay:not([hidden]){position:fixed;inset:0;background:#0009;display:block;z-index:50}
  .ab-close-sidebar{display:grid;background:transparent;color:#b5bac1;border:0;padding:5px}
  .ab-server-rail{padding:11px 5px}
  .ab-server-home,.ab-rail-button{width:43px;height:43px}
  .ab-app-header{padding:0 14px}
  .ab-hamburger{display:grid;place-items:center;border:0;background:none;color:#b5bac1;padding:5px;margin-right:3px}
  .ab-header-subtitle,.ab-app-header-divider,.ab-feed-deco{display:none}
  .ab-feed{padding:23px 17px}
  .ab-workspace .aby-root .aby-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ab-view-title-row h1{font-size:27px}
  .ab-tip-bar{align-items:start}
  .ab-workspace .aby-root .aby-preview-side{display:block}
  .ab-workspace .aby-root .aby-preview-note{margin-top:14px}
}
@media(max-width:480px){
  .ab-workspace{grid-template-columns:0 minmax(0,1fr)}
  .ab-server-rail{display:none}
  .ab-channel-sidebar{left:0;width:min(275px,85vw)}
  .ab-feed{padding:19px 13px}
  .ab-app-header{height:54px}
  .ab-chip-live{display:none}
  .ab-workspace .aby-root .aby-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .ab-workspace .aby-root .aby-tile-content{padding:10px}
  .ab-workspace .aby-root .aby-tile-content h3{font-size:13px}
  .ab-workspace .aby-root .aby-tile-desc{font-size:10px;min-height:46px}
  .ab-workspace .aby-root .aby-card-form{padding:15px}
  .ab-workspace .aby-root .aby-form-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .ab-workspace .aby-root .aby-form-buttons .aby-btn{white-space:normal;padding:9px}
  .ab-tip-next span{display:none}
  .ab-workspace .aby-root .aby-gallery-controls{display:flex;flex-wrap:wrap}
  .ab-workspace .aby-root .aby-gallery-controls input{width:100%;flex:1 0 100%}
  .ab-workspace .aby-root .aby-gallery-controls select{width:100%;flex:1 0 100%}
  .ab-content-footer{flex-wrap:wrap}
  .ab-login-heading h2{font-size:22px}
}
@media(max-width:350px){.ab-workspace .aby-root .aby-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* 2.1 · Scroll real en escritorio, móviles, pantallas pequeñas y zoom del navegador */
html, body.abyssmo-app-body { min-height:100%; }
.ab-workspace { height:100vh; height:100dvh; min-height:0; grid-template-rows:minmax(0,1fr); overflow:hidden; }
.admin-bar .ab-workspace { height:calc(100dvh - 32px); }
.ab-content-area { min-height:0; height:100%; overflow:hidden; }
.ab-feed { flex:1 1 0; height:auto; min-height:0; max-height:none; overflow-x:hidden; overflow-y:auto; overscroll-behavior-y:contain; -webkit-overflow-scrolling:touch; touch-action:pan-y; scrollbar-color:#656876 transparent; scrollbar-width:thin; }
.ab-plugin-host,.ab-plugin-host .aby-root,.ab-plugin-host .aby-editor { min-height:0; overflow:visible; }
.ab-auth-screen { overflow-x:hidden; overflow-y:auto; }
.ab-workspace .aby-root .aby-editor-layout, .ab-workspace .aby-root .aby-editor-layout > * { min-height:0; min-width:0; }
.ab-workspace .aby-root .aby-card-form { overflow:visible; }
.ab-workspace .aby-root .aby-card-form label { min-width:0; }
.ab-workspace .aby-root .aby-card-form input,.ab-workspace .aby-root .aby-card-form textarea,.ab-workspace .aby-root .aby-card-form select { max-width:100%; }
.ab-workspace .aby-root .aby-preview-side { align-self:start; }
@media(min-width:991px) { .ab-workspace .aby-root .aby-preview-side { position:sticky; top:12px; } }
@media(max-width:782px) { .admin-bar .ab-workspace{ height:calc(100dvh - 46px); } }
@media(max-height:560px){.ab-workspace { min-height:0; } .ab-feed { padding-top:16px; }}

/* Comunidad: propuestas y objeciones */
.ab-workspace .aby-root .aby-proposals { padding:0; margin:0; }
.ab-workspace .aby-root .aby-proposal-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.ab-workspace .aby-root .aby-proposal { background:#2b2d31; border:1px solid #464950; border-radius:5px; padding:17px; min-width:0; }
.ab-workspace .aby-root .aby-proposal:hover { border-color:#656ca7; }
.ab-workspace .aby-root .aby-proposal-main { display:flex; align-items:flex-start; gap:15px; min-width:0; }
.ab-workspace .aby-root .aby-proposal-pic { width:122px; aspect-ratio:3/4; flex:none; background:#202127; border-radius:3px; overflow:hidden; border:1px solid #464950; }
.ab-workspace .aby-root .aby-proposal-pic img { display:block; width:100%; height:100%; object-fit:cover; }
.ab-workspace .aby-root .aby-proposal-info { flex:1; min-width:0; }
.ab-workspace .aby-root .aby-proposal-meta { display:block; color:#a1a5b1; font-size:10px; font-weight:750; margin:1px 0 8px; letter-spacing:.4px; }
.ab-workspace .aby-root .aby-proposal-info h3 { margin:0; font-size:17px; font-weight:850; color:#f2f3f5; overflow-wrap:anywhere; }
.ab-workspace .aby-root .aby-proposal-series { color:#acb2ff; font-size:11px; margin:6px 0; overflow-wrap:anywhere; }
.ab-workspace .aby-root .aby-proposal-description { color:#c0c2cb; font-size:11px; line-height:1.7; margin:8px 0; overflow-wrap:anywhere; white-space:pre-wrap; max-height:115px; overflow:auto; }
.ab-workspace .aby-root .aby-proposal-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; border-top:1px solid #44464f; padding-top:13px; margin-top:15px; }
.ab-workspace .aby-root .aby-proposal-actions form { margin:0; }
.ab-workspace .aby-root .aby-community-vote { background:#404249; color:#dedfe7; border:1px solid #555861; min-height:35px; padding:7px 12px; font-size:12px; border-radius:4px; font-weight:850; }
.ab-workspace .aby-root .aby-community-vote span { margin-left:3px; font-size:11px; }
.ab-workspace .aby-root .aby-community-vote:not(:disabled):hover,.ab-workspace .aby-root .aby-community-vote.is-voted { background:#6a3c58; border-color:#aa557f; color:#ffd7e8; }
.ab-workspace .aby-root .aby-community-vote:disabled { opacity:.5; cursor:not-allowed; }
.ab-workspace .aby-root .aby-community-issue { color:#aeb1bf; font-size:11px; }
.ab-workspace .aby-root .aby-objection-panel { border-top:1px solid #41434a; margin-top:13px; padding-top:11px; }
.ab-workspace .aby-root .aby-objection-panel summary { list-style:none; display:flex; justify-content:space-between; font-size:11px; font-weight:800; cursor:pointer; color:#acb2ff; }
.ab-workspace .aby-root .aby-objection-panel summary::-webkit-details-marker { display:none; }
.ab-workspace .aby-root .aby-issue-list { margin:12px 0; display:grid; gap:8px; }
.ab-workspace .aby-root .aby-issue { background:#24262c; border-left:2px solid #f0b232; padding:10px 12px; font-size:10px; color:#959caa; }
.ab-workspace .aby-root .aby-issue strong { color:#efce8d; }
.ab-workspace .aby-root .aby-issue p { margin:5px 0 0; color:#c6c8d2; font-size:11px; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.ab-workspace .aby-root .aby-issue-empty { color:#9a9dab; font-size:11px; }
.ab-workspace .aby-root .aby-issue-form { display:grid; gap:9px; margin-top:12px; }
.ab-workspace .aby-root .aby-issue-form label { display:grid; gap:5px; font-size:11px; color:#bfc2ca; }
.ab-workspace .aby-root .aby-issue-form select,.ab-workspace .aby-root .aby-issue-form textarea { display:block; width:100%; max-width:100%; border:1px solid #454852; border-radius:4px; background:#1e1f22; color:white; padding:10px; font-size:12px; resize:vertical; }
.ab-workspace .aby-root .aby-issue-form button { justify-self:start; }
.ab-workspace .aby-root .aby-community-pages { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.ab-workspace .aby-root .aby-community-pages a { background:#404249; color:#dfe2ea; border:1px solid #53555d; border-radius:4px; padding:7px 13px; }
.ab-workspace .aby-root .aby-community-pages a.is-current { background:#5865f2; color:#fff; }
@media(max-width:1200px){.ab-workspace .aby-root .aby-proposal-grid{grid-template-columns:1fr}}
@media(max-width:480px){
  .ab-workspace .aby-root .aby-proposal-main{gap:11px}
  .ab-workspace .aby-root .aby-proposal-pic{width:96px}
  .ab-workspace .aby-root .aby-proposal{padding:12px}
  .ab-workspace .aby-root .aby-proposal-info h3{font-size:15px}
}

/* =======================================================================
   Abyssmo Studio 2.2 — interfaz clara, más aire y móvil realmente usable.
   Conserva las clases del plugin Abyssmo Cards 1.2 sin modificar sus datos.
   ======================================================================= */
:root{
  --ab-rail:#202127;--ab-side:#282a30;--ab-canvas:#313338;--ab-pane:#2b2d33;
  --ab-input:#202127;--ab-line:#43464e;--ab-ink:#f3f4f7;--ab-muted:#b9bec9;
  --ab-dim:#969ca8;--ab-accent:#6975ed;--ab-hover:#5865d8;--ab-radius:6px;
}
body.abyssmo-app-body{font-size:14px;line-height:1.55}
.ab-workspace{position:relative;grid-template-columns:220px minmax(0,1fr);background:var(--ab-canvas)}
.ab-server-rail{display:none!important}
.ab-channel-sidebar{background:#282a30;border-right:1px solid #3b3d44}
.ab-sidebar-head{height:72px;padding:0 20px;box-shadow:none;border-bottom:1px solid #41434a}
.ab-sidebar-head b{font-size:17px;letter-spacing:-.35px;color:#fff}
.ab-sidebar-head small{font-size:11px;letter-spacing:0;font-weight:500;color:#a5a9b5}
.ab-nav-scroll{padding:24px 11px}
.ab-channel-section-label{margin:0 0 13px;padding:0 12px;font-size:10px;color:#8f96a3;letter-spacing:1px}
.ab-channel-list{gap:5px}
.ab-channel{font-size:13px;font-weight:650;padding:12px 13px;min-height:46px;border-radius:5px;gap:12px}
.ab-channel .ab-icon{width:19px;height:19px}
.ab-channel.is-active{background:#41475b;color:#fff}
.ab-channel.is-active .ab-icon{color:#aeb7ff}
.ab-gap-top{margin-top:31px}
.ab-admin-link{margin-top:0}
.ab-profile-bar{background:#222329;min-height:72px;padding:12px}
.ab-user-details strong{font-size:12px}
.ab-user-details small{font-size:11px}
.ab-user-avatar{background:#626ee3;border-radius:6px}
.ab-user-avatar span{display:none}
.ab-content-area{background:#313338}
.ab-app-header{height:66px;background:#313338;padding:0 clamp(20px,4vw,48px);box-shadow:none;border-color:#42444b;gap:12px}
.ab-app-header strong{font-size:14px;font-weight:750}
.ab-header-greeting{font-size:12px;color:#a9aeb9;max-width:155px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.ab-header-avatar{width:30px;height:30px;border-radius:6px;display:grid;place-items:center;background:#525cae;color:#fff;font-weight:750;font-size:12px}
.ab-header-actions{gap:11px}
.ab-mobile-wordmark,.ab-mobile-tabs,.ab-preview-toggle{display:none}
.ab-feed{padding:38px clamp(20px,4.5vw,64px) 30px;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}
.ab-feed>*{max-width:1160px}
.ab-view-header{margin:0 auto 28px}
.ab-view-title-row{margin:0}
.ab-view-title-row h1{font-size:clamp(24px,2.7vw,32px);font-weight:800;letter-spacing:-.65px;margin-bottom:7px}
.ab-view-title-row p{font-size:13px;color:#b9bec9;line-height:1.55}
.ab-tip-bar,.ab-feed-kicker,.ab-feed-deco{display:none!important}
.ab-plugin-host{max-width:1160px}
.ab-content-footer{margin-top:40px;border-color:#45474e;padding:16px 0;font-size:11px;color:#989daa}
.ab-workspace .aby-root .aby-editor .aby-heading{padding:0 0 15px}
.ab-workspace .aby-root .aby-editor .aby-heading h2{display:none}
.ab-workspace .aby-root .aby-editor .aby-heading .aby-eyebrow{display:none}
.ab-workspace .aby-root .aby-heading p{font-size:12px;color:#aeb4bf}
.ab-workspace .aby-root .aby-editor-layout{grid-template-columns:minmax(0,1.12fr) minmax(270px,.72fr);gap:20px}
.ab-workspace .aby-root .aby-card-form{border-color:#484a53;background:#2b2d33;padding:27px;gap:23px;border-radius:6px}
.ab-workspace .aby-root .aby-card-form label{font-size:12px;font-weight:680;letter-spacing:0;color:#d2d5dc;gap:9px}
.ab-workspace .aby-root .aby-card-form input:not([type=file]),
.ab-workspace .aby-root .aby-card-form textarea,
.ab-workspace .aby-root .aby-card-form select,
.ab-workspace .aby-root .aby-gallery-controls input,
.ab-workspace .aby-root .aby-gallery-controls select{font-size:14px;min-height:46px;padding:11px 13px;background:#212329;border:1px solid #4b4e57;border-radius:5px;color:#f2f3f6}
.ab-workspace .aby-root .aby-card-form textarea{min-height:138px}
.ab-workspace .aby-root .aby-card-form label small{font-size:11px;color:#a6acb8;line-height:1.5}
.ab-workspace .aby-root .aby-card-form input::placeholder,.ab-workspace .aby-root .aby-card-form textarea::placeholder{color:#8a909d}
.ab-workspace .aby-root .aby-card-form input[type=file]{background:#26282e;min-height:48px;color:#bdc0cc;font-size:12px}
.ab-workspace .aby-root .aby-editor-footer{gap:14px}
.ab-workspace .aby-root .aby-editor-footer strong{font-size:12px}
.ab-workspace .aby-root .aby-editor-footer p{font-size:12px;max-width:370px}
.ab-workspace .aby-root .aby-btn{min-height:44px;font-size:12px;padding:11px 16px;font-weight:700}
.ab-workspace .aby-root .aby-btn-primary{background:#5865e8}
.ab-workspace .aby-root .aby-btn-primary:hover{background:#4957d6}
.ab-workspace .aby-root .aby-preview-side{border-color:#484a53;background:#2b2d33;border-radius:6px;padding:18px}
.ab-workspace .aby-root .aby-preview-side>.aby-eyebrow{font-size:11px;letter-spacing:.5px}
.ab-workspace .aby-root .aby-preview-side>.aby-eyebrow:after{font-size:10px;letter-spacing:0}
.ab-workspace .aby-root .aby-preview-card{border-color:#50525d;overflow:hidden}
.ab-workspace .aby-root .aby-preview-body h3{font-size:20px}
.ab-workspace .aby-root .aby-preview-body p{font-size:12px}
.ab-workspace .aby-root .aby-preview-note{font-size:11px;line-height:1.55}
.ab-workspace .aby-root .aby-heading h2{font-size:19px}
.ab-workspace .aby-root .aby-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.ab-workspace .aby-root .aby-tile{background:#2b2d33;border-color:#484b55}
.ab-workspace .aby-root .aby-tile-content{padding:16px}
.ab-workspace .aby-root .aby-tile-content h3{font-size:15px}
.ab-workspace .aby-root .aby-tile-desc{font-size:12px;color:#b4bac4}
.ab-workspace .aby-root .aby-proposal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.ab-workspace .aby-root .aby-proposal{padding:19px;background:#2b2d33;border-color:#484b55}
.ab-workspace .aby-root .aby-proposal-info h3{font-size:17px}
.ab-workspace .aby-root .aby-proposal-description{font-size:12px;color:#c4c7d0}
.ab-workspace .aby-root .aby-proposal-series{font-size:12px}
.ab-workspace .aby-root .aby-proposal-meta{font-size:11px}
.ab-workspace .aby-root .aby-community-vote{min-height:40px}
/* Novedades: tipografías claras, sin mosaicos ni tarjetas excesivas. */
.ab-news-view[hidden],.ab-plugin-host[hidden],.ab-workspace .aby-root [data-ab-section][hidden]{display:none!important}
.ab-news-view{max-width:900px!important;margin-left:0!important;margin-right:auto!important}
.ab-news-list{display:grid;gap:14px}
.ab-news-item{background:#2b2d33;border:1px solid #484b55;border-radius:6px;padding:22px 24px}
.ab-news-meta{display:flex;align-items:center;gap:13px;color:#a3a9b5;font-size:12px;margin:0 0 15px}
.ab-news-kind{display:inline-flex;padding:4px 9px;border-radius:4px;background:#424864;color:#cdd5ff;font-size:11px;font-weight:800}
.ab-news-kind-aviso{background:#594a32;color:#ffe0a2}
.ab-news-kind-evento{background:#384d48;color:#baf0dc}
.ab-news-kind-comunidad{background:#4d3d51;color:#ecc4f0}
.ab-news-item-layout{display:flex;justify-content:space-between;align-items:start;gap:23px}
.ab-news-item-text{min-width:0;flex:1}
.ab-news-item h2{font-size:19px;font-weight:800;letter-spacing:-.35px;line-height:1.35;margin:0 0 9px;color:#f3f4f7}
.ab-news-summary{font-size:13px;color:#b8bdc7;line-height:1.7;margin:0;overflow-wrap:anywhere}
.ab-news-image{width:135px;flex:none;border:1px solid #454851;border-radius:5px;overflow:hidden;aspect-ratio:4/3;background:#22242a}
.ab-news-image img{width:100%;height:100%;object-fit:cover;display:block}
.ab-news-details{margin-top:17px;border-top:1px solid #454852;padding-top:14px}
.ab-news-details summary{display:flex;align-items:center;gap:6px;color:#aeb8ff;font-size:12px;font-weight:800;cursor:pointer;list-style:none;width:max-content;max-width:100%}
.ab-news-details summary::-webkit-details-marker{display:none}
.ab-news-details summary .ab-icon{width:14px;height:14px;transition:transform .16s}
.ab-news-details[open] summary .ab-icon{transform:rotate(90deg)}
.ab-news-body{font-size:13px;color:#d3d6de;line-height:1.75;overflow-wrap:anywhere;max-width:740px;padding-top:13px}
.ab-news-body p{margin:0 0 12px}
.ab-news-body img{height:auto;border-radius:5px;max-width:100%}
.ab-news-body a{color:#bfc6ff;text-decoration:underline}
.ab-news-body ul,.ab-news-body ol{padding-left:21px}
.ab-news-empty{padding:65px 24px;text-align:center;border:1px dashed #525460;border-radius:6px;background:#2b2d33;color:#b4bac6}
.ab-news-empty .ab-icon{color:#a4aeff;width:36px;height:36px}
.ab-news-empty h2{font-size:20px;color:#f2f3f6;margin:10px 0 7px}
.ab-news-empty p{max-width:450px;margin:0 auto;font-size:13px}
.ab-news-pages{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:21px;color:#aeb3be;font-size:12px}
.ab-news-pages a{padding:9px 12px;background:#41444e;border:1px solid #5a5d68;border-radius:4px;color:white}
/* Acceso: dos zonas simples y un formulario protagonista. */
.ab-auth-screen{background:#202127;padding:24px;background-image:radial-gradient(ellipse at 20% 0%,#5865f215,transparent 65%)}
.ab-auth-shell{width:min(950px,100%);min-height:575px;grid-template-columns:1fr 1fr;border-radius:8px;border-color:#464952;box-shadow:0 25px 60px #0005}
.ab-auth-showcase{background:#292b33;border-color:#42444f;padding:34px 41px}
.ab-auth-showcase:before{display:none}
.ab-auth-pitch{margin-top:auto;margin-bottom:auto}
.ab-auth-pitch h1{font-size:clamp(36px,4vw,49px);letter-spacing:-1.25px;line-height:1.13;font-weight:850;margin:17px 0 19px}
.ab-auth-pitch h1 span{color:#a9b2ff}
.ab-auth-pitch>p{font-size:14px;line-height:1.8;color:#bbc0cd}
.ab-auth-perks{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.ab-auth-perks span{display:inline-flex;padding:8px 11px;background:#353842;border:1px solid #484c5b;border-radius:5px;color:#d9dcf0;font-size:11px}
.ab-auth-legal{font-size:11px;color:#8d929f}
.ab-auth-main{padding:30px 39px;background:#2b2d33}
.ab-login-card{max-width:400px}
.ab-login-heading{margin-bottom:19px}
.ab-login-heading h2{font-size:25px;line-height:1.25;letter-spacing:-.65px;margin-bottom:7px}
.ab-login-heading p{font-size:13px;color:#b7bcc7;line-height:1.6}
.ab-auth-main .aby-switch{background:#24262c;border-color:#484a54;margin-bottom:20px}
.ab-auth-main .aby-switch button{font-size:12px}
.ab-auth-main .aby-auth-form{gap:14px}
.ab-auth-main .aby-auth-form label{font-size:11px;letter-spacing:0;color:#cdd1db}
.ab-auth-main .aby-auth-form input:not([type=checkbox]){min-height:46px;font-size:14px}
.ab-auth-main .aby-auth-form .aby-btn{min-height:47px;font-size:13px}
.ab-login-foot{font-size:11px;color:#979dab;margin-top:24px}
/* Tabletas: se conserva una sola barra lateral y se apila el editor. */
@media(max-width:1150px){
  .ab-workspace{grid-template-columns:200px minmax(0,1fr)}
  .ab-feed{padding:30px 25px}
  .ab-workspace .aby-root .aby-editor-layout{grid-template-columns:1fr}
  .ab-workspace .aby-root .aby-preview-side{position:static;display:grid;grid-template-columns:1fr minmax(210px,.7fr);gap:15px}
  .ab-workspace .aby-root .aby-preview-side>.aby-eyebrow{grid-column:1/-1;margin:0}
  .ab-workspace .aby-root .aby-preview-note{align-self:center}
  .ab-workspace .aby-root .aby-proposal-grid{grid-template-columns:1fr}
  .ab-workspace .aby-root .aby-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .ab-workspace{display:block;height:100dvh;min-height:0;overflow:hidden}
  .ab-content-area{width:100%;height:100%}
  .ab-channel-sidebar{position:fixed;z-index:56;top:0;bottom:0;left:0;width:min(300px,86vw);max-width:100%;transform:translateX(-105%);transition:transform .2s;box-shadow:14px 0 40px #0006}
  .admin-bar .ab-channel-sidebar{top:46px}
  .ab-channel-sidebar.ab-sidebar-open{transform:translateX(0)}
  .ab-sidebar-overlay:not([hidden]){position:fixed;display:block;inset:0;background:#000b;z-index:55}
  .ab-close-sidebar{display:grid;place-items:center;background:none;border:0;color:#cfd2dc;padding:8px}
  .ab-app-header{height:60px;padding:0 17px;gap:10px}
  .ab-hamburger{display:grid;place-items:center;color:#cbd0dc;background:transparent;border:0;padding:8px 5px}
  .ab-mobile-wordmark{display:inline;font-size:13px;font-weight:850;white-space:nowrap;color:#e0e3ff}
  .ab-app-header strong{font-size:12px;color:#a8adba;font-weight:600;overflow:hidden;text-overflow:ellipsis}
  .ab-header-greeting,.ab-header-avatar{display:none}
  .ab-feed{padding:25px 17px calc(111px + env(safe-area-inset-bottom));scrollbar-gutter:auto}
  .ab-view-header{margin-bottom:20px}
  .ab-view-title-row h1{font-size:26px}
  .ab-view-title-row p{font-size:13px}
  .ab-mobile-tabs{position:absolute;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));left:0;right:0;bottom:0;height:calc(67px + env(safe-area-inset-bottom));padding:4px 3px calc(5px + env(safe-area-inset-bottom));background:#25272e;border-top:1px solid #464951;z-index:30;box-shadow:0 -3px 18px #0002}
  .ab-mobile-tab{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-width:0;max-width:100%;font-size:10px;font-weight:650;padding:6px 1px;background:none;border:0;color:#aeb4c0;border-radius:5px}
  .ab-mobile-tab .ab-icon{width:21px;height:21px}
  .ab-mobile-tab.is-active{color:#ced3ff;background:#34384a}
  .ab-workspace .aby-root .aby-card-form{padding:20px;gap:20px}
  .ab-workspace .aby-root .aby-form-grid{grid-template-columns:1fr}
  .ab-workspace .aby-root .aby-editor .aby-heading{padding:0 0 7px}
  .ab-workspace .aby-root .aby-preview-side{display:none;grid-template-columns:1fr;border-color:#4b4e58}
  .ab-workspace .aby-root .aby-preview-side.ab-preview-open{display:block}
  .ab-preview-toggle{display:flex;align-items:center;justify-content:center;min-height:45px;background:#3b3e49;color:#e3e6f9;border:1px solid #545868;border-radius:5px;font-size:13px;font-weight:750;margin-top:1px;width:100%}
  .ab-workspace .aby-root .aby-preview-note{margin-top:13px}
  .ab-workspace .aby-root .aby-editor-footer{flex-direction:column;align-items:stretch}
  .ab-workspace .aby-root .aby-editor-footer p{max-width:none}
  .ab-workspace .aby-root .aby-form-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
  .ab-workspace .aby-root .aby-form-buttons .aby-btn{white-space:normal;padding:11px 8px;font-size:12px}
  .ab-content-footer{margin-top:24px}
  .ab-workspace .aby-root .aby-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .ab-workspace .aby-root .aby-proposal-grid{grid-template-columns:1fr}
  .ab-toast{bottom:calc(83px + env(safe-area-inset-bottom));left:15px;right:15px;max-width:none}
  .ab-news-item{padding:19px}
  .ab-auth-shell{grid-template-columns:1fr;min-height:0;width:min(470px,100%)}
  .ab-auth-screen{padding:15px;min-height:100dvh;align-items:start}
  .ab-auth-showcase{display:none}
  .ab-auth-main{padding:28px 24px 30px}
  .ab-auth-mobile-brand{display:block;margin-bottom:30px;color:#ecefff;font-size:18px;letter-spacing:-.3px;font-weight:900}
}
@media(max-width:520px){
  .ab-feed{padding:21px 14px calc(107px + env(safe-area-inset-bottom))}
  .ab-workspace .aby-root .aby-grid{grid-template-columns:1fr}
  .ab-workspace .aby-root .aby-tile{display:grid;grid-template-columns:120px minmax(0,1fr);min-height:150px}
  .ab-workspace .aby-root .aby-tile-image{height:100%;min-height:150px;aspect-ratio:auto}
  .ab-workspace .aby-root .aby-tile-content{padding:13px}
  .ab-workspace .aby-root .aby-tile-content h3{font-size:15px}
  .ab-workspace .aby-root .aby-tile-desc{min-height:0;font-size:12px}
  .ab-workspace .aby-root .aby-gallery-controls{flex-direction:column;align-items:stretch}
  .ab-workspace .aby-root .aby-gallery-controls input,.ab-workspace .aby-root .aby-gallery-controls select{flex:0 0 auto;width:100%}
  .ab-workspace .aby-root .aby-proposal{padding:15px}
  .ab-workspace .aby-root .aby-proposal-main{gap:12px}
  .ab-workspace .aby-root .aby-proposal-pic{width:94px}
  .ab-workspace .aby-root .aby-proposal-description{max-height:95px}
  .ab-news-item-layout{gap:12px}
  .ab-news-image{width:87px;aspect-ratio:1}
  .ab-news-item h2{font-size:17px}
  .ab-news-summary{font-size:12px}
  .ab-news-meta{font-size:11px}
  .ab-auth-main{padding:28px 19px}
  .ab-workspace .aby-root .aby-card-form{padding:16px}
}
@media(max-width:370px){
  .ab-mobile-tab{font-size:9px}
  .ab-mobile-tab .ab-icon{width:19px;height:19px}
  .ab-app-header strong{font-size:11px}
  .ab-workspace .aby-root .aby-tile{grid-template-columns:100px minmax(0,1fr)}
  .ab-workspace .aby-root .aby-tile-image{min-height:140px}
  .ab-news-item-layout{flex-direction:column-reverse}
  .ab-news-image{width:100%;aspect-ratio:16/8}
}
@media(prefers-reduced-motion:reduce){.ab-channel-sidebar,.ab-mobile-tab,.ab-news-details summary .ab-icon{transition:none!important}}

/* Ajustes de legibilidad táctil e iOS Safari (sin zoom al enfocar). */
@media(max-width:760px){
  .ab-workspace .aby-root .aby-card-form input:not([type=file]),
  .ab-workspace .aby-root .aby-card-form textarea,
  .ab-workspace .aby-root .aby-card-form select,
  .ab-workspace .aby-root .aby-gallery-controls input,
  .ab-workspace .aby-root .aby-gallery-controls select,
  .ab-workspace .aby-root .aby-issue-form select,
  .ab-workspace .aby-root .aby-issue-form textarea,
  .ab-auth-main .aby-auth-form input:not([type=checkbox]){font-size:16px;}
  .ab-mobile-tab span{max-width:100%;text-align:center;overflow-wrap:break-word;line-height:1.1;}
}

.ab-news-body pre{max-width:100%;overflow-x:auto;}
