/* =========================================
   Beaver Den Site Styles
   Cleaned + Consolidated
   ========================================= */

/* ---------- Base Reset ---------- */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background: #e6d2be; /* match site background */
}

/* ---------- Header ---------- */
.site-header {
  background: #5b3e2b;
  color: white;
  padding: 0;
  text-align: center;
}

/* Log texture area across full width */
.header-top {
  background-image: url('../images/log-texture.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 30px 0;
  position: relative;
}

/* Centered Logo */
.site-logo {
  width: 180px;
  height: auto;
  filter: drop-shadow(2px 2px 4px #00000088);
}

.logo-area h1 { margin: 0; }

.tagline {
  margin: 4px 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ---------- Navigation ---------- */
.main-nav {
  background: #5b3e2b;
  padding: 10px 0;
  border-top: 3px solid #2f1d14;
  border-bottom: 3px solid #2f1d14;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.main-nav a {
  color: #f7d9a7;
  font-weight: bold;
  text-decoration: none;
  padding: 6px 10px;
  transition: 0.2s;
}

.main-nav a:hover {
  color: white;
  transform: scale(1.1);
}

/* Optional: active page highlighting */
.main-nav a.active {
  border-bottom: 2px solid #f7d9a7;
}

/* ---------- Main + Footer ---------- */
.site-main {
  flex: 1;
  background: #e6d2be;
  padding: 30px 15px 40px;
  text-align: center;
}

.site-footer {
  background: #5b3e2b;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 0;
}

/* ---------- Shared Home Sections ---------- */
.home-section {
  max-width: 1100px;
  margin: 0 auto 40px;
}

.hero { margin-bottom: 30px; }

.hero-links {
  margin-top: 15px;
}

.hero-links .btn {
  display: inline-block;
  padding: 10px 18px;
  margin-right: 10px;
  border-radius: 4px;
  background: #5b3e2b;
  color: white;
  text-decoration: none;
}

.hero-links .btn.secondary {
  background: #8b5b3b;
}

/* ---------- Meet the Streamers ---------- */
.about-duo h2 { margin-bottom: 20px; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.profile-card {
  background: #f7efe3;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  text-align: center;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #5b3e2b;
  margin-bottom: 10px;
}

/* Social icons */
.social-icons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-icons img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  opacity: 0.85;
  transition: 0.2s ease-in-out;
}

.social-icons img:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* ---------- Beaver of the Month ---------- */
.beaver-month-card {
  background: #f7efe3;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
}

.beaver-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #a06532;
}

.beaver-month-info h3 { margin-top: 0; }

/* ---------- Community Spotlight ---------- */
/* You’re reusing the beaver-month-card styling now, so minimal extras */
.spotlight-card.no-avatar {
  display: block;
}

.spotlight-info.full-width {
  max-width: 100%;
}

/* Inner announcement items */
.spotlight-item {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(0,0,0,0.10);
  text-align: left;
}

.spotlight-title {
  font-weight: 900;
  margin-bottom: 6px;
}

.spotlight-body {
  line-height: 1.35;
}

.spotlight-empty {
  opacity: 0.85;
}

/* ---------- Supporters Page ---------- */
.supporters-intro p { text-align: center; }

.supporters-group { margin-top: 20px; }
.supporters-group h3 { margin-bottom: 8px; }

.supporters-subtext {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 0.95rem;
  opacity: 0.9;
  justify-content: center;
}

.supporter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 40px;
  justify-content: center;
}

.supporter-grid .profile-card {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  box-sizing: border-box;
}

@media (max-width: 1000px) {
  .supporter-grid .profile-card {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .supporter-grid .profile-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ---------- Streams Page ---------- */
.streams-section p {
  max-width: 800px;
  margin: 0 auto 20px;
}

.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.stream-card {
  background: #f7efe3;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.stream-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.stream-player iframe,
.stream-chat iframe {
  width: 100%;
  border: none;
}

.stream-player iframe { height: 400px; }
.stream-chat iframe {
  height: 450px;
  margin-top: 10px;
}

@media (max-width: 600px) {
  .stream-player iframe,
  .stream-chat iframe {
    height: 220px;
  }
}

/* ---------- Clips Page ---------- */
.clips-intro p {
  max-width: 800px;
  margin: 0 auto 20px;
}

.clips-featured { text-align: center; }
.clips-featured h3 { margin-bottom: 8px; }

.clips-subtext {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.clip-featured-embed {
  background: #f7efe3;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  max-width: 900px;
  margin: 0 auto;
}

.clip-featured-embed iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.clips-grid-section h3 { margin-bottom: 15px; }

.clips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.clip-card {
  background: #f7efe3;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  text-align: left;
}

.clip-card h4 {
  margin-top: 0;
  margin-bottom: 8px;
}

.clip-embed iframe {
  width: 100%;
  height: 260px;
  border: none;
}

.clip-note {
  margin-top: 10px;
  font-size: 0.95rem;
}

.clips-more { margin-top: 15px; }

@media (max-width: 700px) {
  .clip-featured-embed iframe { height: 320px; }
  .clip-embed iframe { height: 220px; }
}

/* ---------- Alerts ---------- */
.alert {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
}

.alert-error { border-color: rgba(255,80,80,0.5); }
.alert-success { border-color: rgba(60,160,80,0.55); }

/* ---------- Login Page (themed parchment version) ---------- */
.login-wrap {
  min-height: calc(100vh - 220px);
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.login-card {
  width: min(440px, 92vw);
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  text-align: center;
}

.login-form {
  max-width: 360px;
  margin: 0 auto;
  text-align: left;
}

.login-form .form-group { margin-bottom: 16px; }

.login-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #3b2416;
}

.login-form input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #8a5a3c;
  background: #f2e3d2;
  color: #3b2416;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
}

.login-form input:focus {
  outline: none;
  border-color: #5b3e2b;
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,0.2),
    0 0 0 2px rgba(91,62,43,0.25);
}

.login-note {
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.75;
  text-align: center;
}

.btn-login {
  width: 100%;
  padding: 10px 14px;
  margin-top: 10px;
  border-radius: 6px;
  border: 1px solid #4a2f1f;
  background: #5b3e2b;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.btn-login:hover { background: #6a4a34; }
.btn-login:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- Admin Layout ---------- */
.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  padding: 28px 16px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
}

.admin-rail-card {
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  padding: 16px;
}

.admin-rail-title {
  font-weight: 800;
  color: #3b2416;
  margin-bottom: 12px;
  text-align: center;
}

.admin-nav {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-btn {
  display: block;
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #4a2f1f;
  background: #5b3e2b;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.admin-btn:hover { background: #6a4a34; }

.admin-btn-active {
  border-color: #2e1b11;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.15);
}

.admin-rail-footer {
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: 12px;
  display: grid;
  gap: 10px;
}

.admin-who {
  font-size: 0.95rem;
  color: #3b2416;
}

.admin-link {
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.18);
  color: #3b2416;
  font-weight: 800;
  text-decoration: none;
}

.admin-link:hover { background: rgba(0,0,0,0.18); }

.admin-main {
  display: grid;
  gap: 18px;
}

.admin-card {
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  padding: 18px;
}

.admin-card-title {
  margin: 0 0 14px;
  text-align: center;
  color: #3b2416;
  font-weight: 900;
  font-size: 1.35rem;
}

.admin-stats {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}

.admin-stat {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f2e3d2;
  border: 1px solid #8a5a3c;
}

.admin-stat-label {
  font-weight: 800;
  color: #3b2416;
}

.admin-stat-value {
  font-weight: 900;
  color: #3b2416;
}

.admin-card-muted .admin-text {
  margin: 0;
  color: #3b2416;
  opacity: 0.9;
  line-height: 1.4;
}

/* ---------- Announcement Form + Recent List ---------- */
.announce-form {
  max-width: 700px;
  margin: 0 auto;
}

.announce-form .form-group { margin-bottom: 16px; }

.announce-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  color: #3b2416;
}

.announce-form input[type="text"],
.announce-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #8a5a3c;
  background: #f2e3d2;
  color: #3b2416;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
}

.announce-form textarea {
  min-height: 120px;
  resize: vertical;
}

.announce-form input[type="text"]:focus,
.announce-form textarea:focus {
  outline: none;
  border-color: #5b3e2b;
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,0.2),
    0 0 0 2px rgba(91,62,43,0.25);
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-list-item {
  background: #f2e3d2;
  border: 1px solid #8a5a3c;
  border-radius: 8px;
  padding: 12px;
}

.admin-list-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #3b2416;
}

.admin-list-meta {
  opacity: 0.75;
  font-size: 0.9rem;
}

.admin-list-body {
  color: #3b2416;
  line-height: 1.35;
}

/* ---------- Responsive Beaver Month Card ---------- */
@media (max-width: 600px) {
  .beaver-month-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .beaver-avatar { margin: 0 auto; }
}

.announce-form select{
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #8a5a3c;
  background: #f2e3d2;
  color: #3b2416;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
}
.announce-form select:focus{
  outline: none;
  border-color: #5b3e2b;
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,0.2),
    0 0 0 2px rgba(91,62,43,0.25);
}

/* Support Center ticket view */
.ticket-meta{
  display: grid;
  gap: 6px;
  max-width: 820px;
  margin: 0 auto 14px;
  text-align: left;
}

.ticket-badge{
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(91,62,43,0.12);
  border: 1px solid rgba(91,62,43,0.25);
  font-weight: 800;
}

.ticket-block{
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(0,0,0,0.10);
}

.ticket-subject{
  font-weight: 900;
  margin-bottom: 8px;
}

.ticket-desc{
  line-height: 1.35;
}

/* Make ticket links look good inside admin list */
.admin-list-head a{
  color: #3b2416;
  text-decoration: none;
}
.admin-list-head a:hover{
  text-decoration: underline;
}

/* Events & Collabs (visitor) */
.events-grid{
  display:grid;
  gap:20px;
  max-width: 1100px;
  margin: 0 auto;
}

.event-card{
  background:#f7efe3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.08);
}

.event-banner{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display:block;
}

.event-body{
  padding: 18px;
  text-align:left;
}

.event-top{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap:12px;
  margin-bottom: 8px;
}

.event-type{
  font-weight: 900;
  color:#3b2416;
  opacity: 0.9;
}

.event-badge{
  display:inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(91,62,43,0.12);
  border: 1px solid rgba(91,62,43,0.25);
  font-weight: 800;
  color:#3b2416;
}

.badge-cancelled{
  background: rgba(160,60,60,0.12);
  border-color: rgba(160,60,60,0.35);
  color:#6b1f1f;
}

.event-title{
  margin: 0 0 8px;
}

.event-meta{
  display:grid;
  gap: 4px;
  margin-bottom: 10px;
  color:#3b2416;
  opacity: 0.95;
}

.event-summary{
  margin: 0 0 12px;
  line-height: 1.35;
}

.event-details summary{
  cursor: pointer;
  font-weight: 800;
  color:#3b2416;
  margin-bottom: 8px;
}

.event-description{
  margin-top: 8px;
  line-height: 1.35;
}

.event-actions{
  margin-top: 14px;
}

.event-cancelled{
  opacity: 0.85;
}

@media (max-width: 700px){
  .event-banner{ height: 160px; }
}

/* Event Join / Watch button */
.btn-event-primary{
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #5b3e2b;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #4a2f1f;
  box-shadow: 0 3px 0 #3b2416;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-event-primary:hover{
  background: #6a4a34;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 #3b2416;
}

/* Disabled look (for cancelled events later) */
.btn-event-primary.disabled{
  opacity: 0.5;
  pointer-events: none;
  box-shadow: none;
}

.event-actions{
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.events-view-toggle{
  display:flex;
  justify-content:center;
  gap:12px;
  margin: 10px auto 18px;
  max-width: 1100px;
}

.events-toggle-btn{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #4a2f1f;
  background: rgba(91,62,43,0.12);
  color:#3b2416;
  font-weight: 900;
  cursor:pointer;
}

.events-toggle-btn.is-active{
  background:#5b3e2b;
  color:#fff;
}

.events-view{ display:none; }
.events-view.is-active{ display:block; }

#eventsCalendar{
  max-width: 1100px;
  margin: 0 auto 30px;
  background:#f7efe3;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.08);
}

.fc .fc-toolbar-title{
  font-weight: 900;
  color:#3b2416;
}

.fc .fc-button{
  background:#5b3e2b;
  border-color:#4a2f1f;
  font-weight: 800;
}

.fc .fc-button:hover{
  background:#6a4a34;
}

.fc-event-cancelled{
  opacity: 0.6;
  text-decoration: line-through;
}

.fc-event-altstatus{
  opacity: 0.9;
}

/* Beaver Den Modal */
.bd-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.bd-modal.is-open{
  display: block;
}

.bd-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.bd-modal-card{
  position: relative;
  width: min(720px, 92vw);
  margin: 8vh auto;
  background: #f7efe3;
  border-radius: 12px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  color: #3b2416;
}

.bd-modal-close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(91,62,43,0.10);
  color: #3b2416;
  font-weight: 900;
  font-size: 22px;
  cursor: pointer;
}

.bd-modal-close:hover{
  background: rgba(91,62,43,0.18);
}

.bd-modal-header{
  padding-right: 46px; /* space for close button */
  margin-bottom: 10px;
}

.bd-modal-kicker{
  font-weight: 900;
  opacity: 0.8;
  margin-bottom: 6px;
}

.bd-modal-title{
  margin: 0;
  font-weight: 900;
}

.bd-modal-badges{
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: -28px;
}

.bd-badge{
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.85rem;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(91,62,43,0.10);
}

.bd-badge.cancelled{
  background: rgba(220, 80, 80, 0.18);
  border-color: rgba(220, 80, 80, 0.35);
}

.bd-modal-meta{
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding: 12px;
  border-radius: 10px;
  background: #f2e3d2;
  border: 1px solid #8a5a3c;
}

.bd-meta-row{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
}

.bd-meta-row span{
  font-weight: 900;
}

.bd-modal-summary{
  margin: 8px 0 10px;
  font-weight: 800;
  opacity: 0.95;
}

.bd-modal-desc{
  line-height: 1.45;
  white-space: pre-wrap;
}

.bd-modal-actions{
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

.bd-modal .btn-event-primary{
  margin-top: 0; /* keep tidy inside modal */
}

/* small screens */
@media (max-width: 520px){
  .bd-modal-card{
    margin: 6vh auto;
    padding: 16px;
  }
  .bd-modal-badges{
    justify-content: flex-start;
    margin-top: 8px;
  }
}

.clips-page { max-width: 1100px; margin: 0 auto; }
.clips-subtext { max-width: 850px; margin: 0 auto 18px; }

.clips-featured { margin: 22px auto 30px; }
.clip-featured-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
}
.clip-featured-media { background: rgba(0,0,0,0.25); }
.clip-meta { padding: 14px 16px; }
.clip-meta h4 { margin: 0 0 6px; }
.clip-meta p { margin: 0 0 10px; opacity: 0.95; }

.clip-open-btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  color: #fff;
}

.clips-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 900px) {
  .clips-grid-wrap { grid-template-columns: 1fr; }
}

.clips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .clips-grid { grid-template-columns: 1fr; }
}

.clip-square {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
}
.clip-square-media { background: rgba(0,0,0,0.25); min-height: 220px; }
.clip-placeholder {
  height: 220px;
  display: grid;
  place-items: center;
  opacity: 0.8;
}
.clip-empty {
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 14px 16px;
}

.admin-wrap { max-width: 1100px; margin: 0 auto; }
.admin-flash {
  margin: 12px 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0,255,120,0.12);
  border: 1px solid rgba(0,255,120,0.18);
}
.admin-clips-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 900px) { .admin-clips-list { grid-template-columns: 1fr; } }

.admin-clip-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px;
}
.admin-clip-card label { display: block; margin-top: 10px; }
.admin-clip-card input[type="text"],
.admin-clip-card input[type="url"] {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.25);
  color: #fff;
}

.admin-clip-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.admin-check { display:flex; align-items:center; gap:8px; }
.admin-clip-actions {
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
  margin-top: 12px;
}
.admin-clip-actions button {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
}
.muted { opacity: 0.75; font-size: 0.9rem; }
