/* ==========================================================================
   GRIT TO GOLD — Larry Quintana / Ques Marketing Agency LLC
   Design tokens
   ========================================================================== */

:root {
  /* Color */
  --ink:        #0B0B0D;   /* near-black charcoal, base background */
  --char-2:     #141417;   /* raised panel */
  --char-3:     #1D1D21;   /* card surface */
  --smoke:      #6E6E76;   /* muted text */
  --paper:      #F2EEE7;   /* off-white text */
  --gold:       #E8A63D;   /* primary brand gold */
  --gold-deep:  #C9781F;   /* amber depth */
  --ember:      #FF6B35;   /* CTA / hot accent */
  --line:       rgba(232, 166, 61, 0.18);

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Space Grotesk", "Inter", -apple-system, sans-serif;
  --mono:    "JetBrains Mono", "IBM Plex Mono", monospace;

  /* Rhythm */
  --gap: clamp(1rem, 2vw, 1.75rem);
  --radius: 14px;
  --max: 1180px;
}

@font-face {
  font-family: "Fraunces";
  src: local("Fraunces");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-deep);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; }

/* ==========================================================================
   NAV
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.brand-name {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--smoke);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  font-size: 0.88rem;
}
.nav-links a { color: var(--smoke); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem !important;
}
.nav-toggle { display: none; }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-banner.png");
  background-size: cover;
  background-position: left center;
  opacity: 0.9;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(11,11,13,0.97) 0%,
    rgba(11,11,13,0.88) 32%,
    rgba(11,11,13,0.55) 58%,
    rgba(11,11,13,0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 6rem 0;
}
.hero .eyebrow { margin-bottom: 1.25rem; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold) 20%, var(--ember) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 1.4rem 0 2.1rem;
  font-size: 1.12rem;
  color: #D9D4CB;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.6rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(100deg, var(--gold), var(--ember));
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(232, 166, 61, 0.25);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(255, 107, 53, 0.35); }
.btn-ghost {
  background: transparent;
  border-color: rgba(242, 238, 231, 0.28);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
}
.proof-strip .stat {
  font-family: var(--mono);
}
.proof-strip .stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 600;
}
.proof-strip .stat span {
  font-size: 0.72rem;
  color: var(--smoke);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   SECTION SCAFFOLDING
   ========================================================================== */

section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-top: 0.9rem;
  color: var(--paper);
}
.section-head p {
  color: var(--smoke);
  margin-top: 0.9rem;
  font-size: 1.02rem;
}

/* ==========================================================================
   ABOUT / BIO
   ========================================================================== */

.about {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--char-2);
}
.about .wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-portrait {
  position: relative;
}
.portrait-frame {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-deep), var(--ink) 72%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 3.6rem;
  color: var(--gold);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(232,166,61,0.08), 0 30px 60px -20px rgba(0,0,0,0.6);
}
.about-badges {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}
.badge-pill {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--smoke);
  border: 1px solid var(--line);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.about-body h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1.1rem; }
.about-body p { color: #CFCAC1; margin: 0 0 1.1rem; }
.pull-quote {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--gold);
  border-left: 2px solid var(--gold-deep);
  padding-left: 1.1rem;
  margin: 1.8rem 0;
  font-style: italic;
}
.about-orgs {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--smoke);
  letter-spacing: 0.03em;
}

/* ==========================================================================
   LIBRARY / BOOK GRID
   ========================================================================== */

.library-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.4rem;
}
.filter-chip {
  font-family: var(--mono);
  font-size: 0.76rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--smoke);
  background: transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}
.filter-chip:hover { color: var(--paper); border-color: var(--gold); }
.filter-chip.active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  font-weight: 600;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap);
}

.book-card {
  background: var(--char-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.book-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 166, 61, 0.55);
  box-shadow: 0 24px 48px -24px rgba(232, 166, 61, 0.28);
}
.book-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--gold-deep), var(--ink) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
  text-align: center;
  overflow: hidden;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.book-cover .cover-fallback {
  position: relative;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--paper);
  line-height: 1.3;
}
.book-card .featured-flag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: var(--ember);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  z-index: 2;
}
.book-body {
  padding: 1.3rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.book-body h3 {
  font-size: 1.15rem;
  color: var(--paper);
  margin-bottom: 0.5rem;
}
.book-body .book-desc {
  color: var(--smoke);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1.1rem;
}
.book-price-row {
  margin-bottom: 0.9rem;
}
.book-price {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
}
.retailer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.retailer-btn {
  flex: 1;
  text-align: center;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.82rem;
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.retailer-btn:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.retailer-btn-disabled {
  color: var(--smoke);
  cursor: default;
  flex: 1 0 100%;
}
.retailer-btn-disabled:hover {
  background: transparent;
  color: var(--smoke);
  border-color: var(--line);
  transform: none;
}
.empty-library {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--smoke);
}
.empty-library a { color: var(--gold); font-weight: 600; }

/* ==========================================================================
   FREE BUNDLE STRIP
   ========================================================================== */

.bundle-strip {
  background: linear-gradient(120deg, #1B140A, var(--char-2) 60%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bundle-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.bundle-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.bundle-copy p { color: var(--smoke); margin-top: 0.6rem; max-width: 48ch; }

/* ==========================================================================
   PROOF / TESTIMONIAL
   ========================================================================== */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--gap);
}
.proof-card {
  border: 1px solid var(--line);
  background: var(--char-2);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.proof-card b {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}
.proof-card span { color: var(--smoke); font-size: 0.88rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--smoke);
}
.footer-brand img { width: 26px; height: 26px; border-radius: 50%; }
.footer-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.82rem;
  color: var(--smoke);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 1.6rem;
  font-size: 0.72rem;
  color: #4E4E54;
  text-align: center;
}

/* ==========================================================================
   MODAL (checkout helper / email capture)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 7, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1.5rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--char-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  padding: 2rem;
  position: relative;
}
.modal h3 { color: var(--paper); font-size: 1.3rem; margin-bottom: 0.6rem; }
.modal p { color: var(--smoke); font-size: 0.9rem; margin-bottom: 1.3rem; }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--smoke);
  font-size: 1.3rem;
  cursor: pointer;
}
.modal-close:hover { color: var(--gold); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 860px) {
  .about .wrap { grid-template-columns: 1fr; }
  .about-portrait { max-width: 220px; margin: 0 auto; }
}

/* ==========================================================================
   BUNDLE SPOTLIGHT
   ========================================================================== */

#bundleSpotlight {
  background: linear-gradient(160deg, #1B140A, var(--ink) 65%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bundle-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
.bundle-side {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--char-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  flex: 1;
  min-width: 260px;
}
.bundle-thumb {
  width: 70px;
  height: 92px;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--gold-deep), var(--ink) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  color: var(--paper);
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.bundle-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bundle-info h3 { font-size: 1.02rem; color: var(--paper); margin: 0.3rem 0 0.5rem; }
.bundle-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smoke);
}
.bundle-tag-free { color: var(--gold); }
.bundle-plus {
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--gold);
}
.bundle-claim-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  max-width: 640px;
  margin: 0 auto;
}
.bundle-claim-form input {
  flex: 1;
  min-width: 180px;
  background: var(--char-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  color: var(--paper);
  font-family: var(--body);
  font-size: 0.92rem;
}
.bundle-claim-form input:focus { border-color: var(--gold); outline: none; }
.bundle-confirm {
  text-align: center;
  color: var(--gold);
  font-weight: 600;
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .hero-content { padding: 4.5rem 0; }
  .proof-strip { gap: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ==========================================================================
   NEW RELEASE CROSS-PROMO BANNER
   ========================================================================== */

.release-banner {
  display: block;
  background: linear-gradient(100deg, #1B140A 0%, var(--char-2) 55%, #1B140A 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.6rem 0;
  transition: background 0.25s ease;
  position: relative;
  overflow: hidden;
}
.release-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 50%, rgba(232,166,61,0.14), transparent 60%);
  pointer-events: none;
}
.release-banner:hover { background: linear-gradient(100deg, #241a0c 0%, var(--char-3) 55%, #241a0c 100%); }
.release-banner-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
}
.release-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.release-headline {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  color: var(--paper);
  margin: 0 0 0.8rem;
  line-height: 1.25;
}
.release-plus { color: var(--gold); }
.release-sub {
  color: #D9D4CB;
  font-size: 0.96rem;
  max-width: 56ch;
  margin: 0 auto 1.3rem;
}
.release-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  background: linear-gradient(100deg, var(--gold), var(--ember));
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(232, 166, 61, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.release-banner:hover .release-cta {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.35);
}

/* ==========================================================================
   ADMIN PANEL
   ========================================================================== */

.admin-shell { padding-top: 2.5rem; padding-bottom: 5rem; }
.admin-lock {
  max-width: 380px;
  margin: 5rem auto;
  background: var(--char-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  text-align: center;
}
.admin-lock h2 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.admin-lock p { color: var(--smoke); font-size: 0.88rem; margin-bottom: 1.4rem; }

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 0.4rem;
}
.field input[type="text"],
.field input[type="number"],
.field input[type="url"],
.field input[type="password"],
.field textarea,
.field select {
  width: 100%;
  background: var(--char-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  color: var(--paper);
  font-family: var(--body);
  font-size: 0.92rem;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold);
  outline: none;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.checkbox-field { display: flex; align-items: center; gap: 0.6rem; }
.checkbox-field input { width: auto; }

.admin-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.admin-panel {
  background: var(--char-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.admin-panel h3 { font-size: 1.15rem; margin-bottom: 1.3rem; }
.admin-toolbar { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.admin-toolbar .btn { padding: 0.65rem 1.2rem; font-size: 0.85rem; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--paper);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-danger { background: transparent; border: 1px solid rgba(255,107,53,0.4); color: var(--ember); }
.btn-danger:hover { background: rgba(255,107,53,0.1); }

.admin-list { display: flex; flex-direction: column; gap: 0.8rem; }
.admin-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem;
  background: var(--char-2);
}
.admin-row .thumb {
  width: 46px;
  height: 60px;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--gold-deep), var(--ink) 75%);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--paper);
}
.admin-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-row .row-info { flex: 1; min-width: 0; }
.admin-row .row-info b { display: block; font-size: 0.92rem; color: var(--paper); }
.admin-row .row-info span { font-family: var(--mono); font-size: 0.76rem; color: var(--smoke); }
.admin-row .row-actions { display: flex; gap: 0.4rem; }
.row-actions button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--smoke);
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  font-size: 0.76rem;
  cursor: pointer;
}
.row-actions button:hover { color: var(--gold); border-color: var(--gold); }

.admin-note {
  font-size: 0.82rem;
  color: var(--smoke);
  background: var(--char-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.6rem;
}
.admin-note strong { color: var(--gold); }

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.8rem 1.3rem;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  transform: translateY(120%);
  transition: transform 0.25s ease;
  z-index: 200;
}
.toast.show { transform: translateY(0); }

@media (max-width: 860px) {
  .admin-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
