*{margin:0;padding:0;box-sizing:border-box}html,body{min-height:100%;width:100%}body{font-family:Georgia,"Times New Roman",serif;background:#d8e3dc;color:#f7edcf}.background-shade{position:fixed;inset:0;background:linear-gradient(90deg,rgba(30,66,58,.48),rgba(40,80,68,.24) 42%,rgba(255,255,255,.03));pointer-events:none}.primary-button,.secondary-button,button{font:inherit}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:10px;text-decoration:none;font-weight:700;letter-spacing:.4px}.primary-button{border:1px solid rgba(245,217,133,.72);background:linear-gradient(135deg,rgba(231,205,125,.48),rgba(97,151,129,.58));color:#fff3cf;box-shadow:0 8px 18px rgba(21,55,45,.18)}.secondary-button{border:1px solid rgba(226,208,151,.42);background:rgba(239,231,199,.10);color:#f4e7c4}.message{padding:14px 16px;border-radius:12px;margin:18px 0}.error-message{background:rgba(117,52,52,.55);border:1px solid rgba(255,185,170,.38)}.success-message{background:rgba(43,104,77,.56);border:1px solid rgba(184,235,190,.38)}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.page-header h1{font-size:30px;letter-spacing:2px;color:#f2e7c4}.page-header p{margin-top:7px;color:rgba(246,235,204,.78);line-height:1.5}.header-actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:760px){.page-header{flex-direction:column}.header-actions{width:100%}.header-actions a{flex:1}.page-header h1{font-size:25px}}
.editor-page{position:relative;min-height:100vh;padding:36px 4vw;background-image:var(--page-background);background-size:cover;background-position:center;background-attachment:fixed}.editor-panel{position:relative;z-index:2;max-width:1200px;margin:0 auto;padding:30px;border-radius:22px;border:1px solid rgba(224,203,139,.48);background:linear-gradient(145deg,rgba(52,94,82,.87),rgba(71,116,99,.80),rgba(185,162,101,.22));box-shadow:0 20px 48px rgba(25,55,47,.30);backdrop-filter:blur(10px)}.search-form{display:flex;gap:10px;margin:0 0 22px}.search-form input{flex:1;min-width:0;padding:13px 14px;border-radius:10px;border:1px solid rgba(230,211,153,.38);background:rgba(255,255,255,.09);color:#fff3cf;outline:none}.search-form input::placeholder{color:rgba(244,233,201,.55)}.search-form button,.search-form a{padding:11px 16px;border-radius:10px;border:1px solid rgba(231,210,151,.42);background:rgba(232,216,162,.18);color:#fff0c8;text-decoration:none;cursor:pointer}.character-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.character-card{overflow:hidden;border-radius:16px;border:1px solid rgba(230,210,149,.32);background:rgba(244,235,205,.10);box-shadow:0 10px 24px rgba(26,56,48,.18)}.character-image{height:400px;background:rgba(26,58,49,.35);display:flex;align-items:center;justify-content:center}.character-image img{width:100%;height:100%;object-fit:cover}.image-placeholder{font-size:12px;letter-spacing:1.5px;color:rgba(246,233,196,.55)}.character-content{padding:17px}.character-content h2{font-size:21px;color:#f7e9c1;margin-bottom:10px}.character-content p{font-size:14px;line-height:1.45;color:rgba(247,237,210,.80);margin-top:4px}.availability{display:inline-flex;margin-top:12px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.7px}.available{background:rgba(66,132,95,.48)}.unavailable{background:rgba(124,76,66,.50)}.edit-button{display:flex;justify-content:center;margin-top:14px;padding:10px;border-radius:9px;text-decoration:none;color:#fff0c8;border:1px solid rgba(232,208,143,.45);background:linear-gradient(135deg,rgba(231,205,125,.28),rgba(91,143,122,.38))}.empty-state{padding:30px;text-align:center;border-radius:14px;background:rgba(255,255,255,.06)}.empty-state p{margin-top:7px;color:rgba(245,235,207,.72)}@media(max-width:980px){.character-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.editor-page{padding:18px}.editor-panel{padding:20px}.search-form{flex-wrap:wrap}.search-form input{flex-basis:100%}.character-grid{grid-template-columns:1fr}.character-image{height:260px}}
.pending-badge{display:inline-flex;margin-top:8px;margin-left:6px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.6px;color:#fff0c8;background:rgba(156,104,38,.62);border:1px solid rgba(244,207,112,.42)}


/* =========================================================
   AJUSTE: CATÁLOGO DE PERSONAGENS SEM TÍTULO NO TOPO
   ========================================================= */
.page-header{display:block;margin-bottom:18px}
.page-header>div:first-child{display:none!important}
.header-actions{width:100%;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.header-actions>*{width:100%;min-width:0}
.header-actions .primary-button,.header-actions .secondary-button,.header-actions a,.header-actions button{width:100%;min-height:52px;justify-content:center;text-align:center;white-space:nowrap}
@media(max-width:860px){.header-actions{grid-template-columns:1fr}}
