.admin-shell { padding-bottom: 60px; }
.admin-hero { max-width: 720px; padding: 60px 0 34px; }
.admin-hero .eyebrow { justify-content: flex-start; }
.admin-hero h1 { margin-top: 14px; font-size: clamp(40px, 6vw, 68px); }
.admin-hero p { max-width: 620px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.back-link { color: #aaa3b5; font-size: 13px; }
.back-link:hover { color: white; }
.admin-card { border: 1px solid var(--line); border-radius: 18px; padding: 25px; background: rgba(18,18,26,.88); box-shadow: var(--shadow); }
.login-card { max-width: 470px; }
.admin-card-kicker { margin-bottom: 7px; color: #f06aa7; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.admin-card h2 { margin-bottom: 10px; font-size: 25px; }
.admin-card p { color: var(--muted); font-size: 13px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 20px; padding: 0 18px; border: 0; border-radius: 10px; color: white; background: linear-gradient(100deg, var(--pink), var(--purple)); font-size: 12px; font-weight: 700; }
.primary-button:hover { filter: brightness(1.13); transform: translateY(-1px); }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.035); }
.admin-toolbar strong { display: block; color: #eeeaf5; font-size: 14px; }
.secondary-button.compact { min-height: 36px; margin: 0; padding: 0 13px; }
.admin-layout { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.2fr); align-items: start; gap: 18px; }
form { margin-top: 20px; }
label { display: block; margin-bottom: 14px; color: #d8d3e0; font-size: 12px; font-weight: 600; }
input { display: block; width: 100%; height: 43px; margin-top: 7px; padding: 0 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; outline: 0; color: var(--text); background: rgba(5,5,10,.58); font-size: 12px; }
input:focus { border-color: rgba(255,45,135,.75); box-shadow: 0 0 0 3px rgba(255,45,135,.1); }
.optional { color: #777283; font-size: 10px; font-weight: 400; }
.form-row { display: grid; grid-template-columns: .55fr 1fr; gap: 10px; }
.form-help { margin-top: 13px; color: #7f798b !important; font-size: 11px !important; line-height: 1.55; }
.form-message { min-height: 19px; color: #74e9b2 !important; }
.posts-heading { display: flex; align-items: start; justify-content: space-between; }
.post-count { display: grid; min-width: 29px; height: 29px; place-items: center; border-radius: 9px; color: #ffb6d6; background: rgba(255,45,135,.14); font-size: 12px; font-weight: 800; }
.post-list { display: grid; gap: 9px; margin-top: 18px; max-height: 610px; overflow: auto; }
.post-row { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 10px; padding: 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.025); }
.post-thumb { display: flex; align-items: end; width: 58px; height: 43px; overflow: hidden; padding: 5px; border-radius: 7px; color: rgba(255,255,255,.72); background: linear-gradient(135deg, #ff2d87, #5931bf); background-position: center; background-size: cover; font-size: 8px; font-weight: 800; }
.post-info { min-width: 0; }
.post-info strong, .post-info span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-info strong { color: #eeeaf5; font-size: 12px; }
.post-info span { margin-top: 3px; color: #868090; font-size: 10px; }
.delete-button { padding: 6px 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; color: #ff9fc7; background: transparent; font-size: 10px; }
.delete-button:hover { border-color: rgba(255,45,135,.5); background: rgba(255,45,135,.1); }
.empty-state { padding: 30px 0; text-align: center; }
@media (max-width: 760px) { .admin-hero { padding-top: 42px; } .admin-layout { grid-template-columns: 1fr; } .posts-card { order: -1; } }
@media (max-width: 430px) { .shell { width: min(100% - 28px, 540px); } .admin-card { padding: 18px; } .form-row { grid-template-columns: 1fr; gap: 0; } .admin-toolbar { align-items: flex-start; gap: 10px; } }
