/* kslucorner.in
   A study utility, not an essay site: dense, scannable, mobile first,
   and legible at 1am. Light and dark, both deliberate. */

:root {
  --navy:       #175b96;
  --navy-deep:  #0f4373;
  --navy-pale:  #d6e6f5;
  --gold:       #a76b1f;

  /* Karnataka (Kannada) flag — fixed in both themes */
  --ka-yellow:  #ffcc00;
  --ka-red:     #d40000;

  --ink:        #12304d;
  --ink-soft:   #3d5670;
  --ink-faint:  #5a7288;
  --paper:      #f2f7fc;
  --paper-alt:  #e4eef8;
  --rule:       #cadcec;
  --shadow:     0 1px 2px rgba(18, 48, 77, .07);

  --measure:    72rem;
  --prose:      42rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy:      #8ec0ea;
    --navy-deep: #b3d4f0;
    --navy-pale: #24313f;
    --gold:      #dcae6a;

    --ink:       #e7eef5;
    --ink-soft:  #b2c0ce;
    --ink-faint: #8a9bab;
    --paper:     #1a2430;
    --paper-alt: #222d3b;
    --rule:      #33414f;
    --shadow:    none;
  }
}

:root[data-theme="dark"] {
  --navy:      #8ec0ea;
  --navy-deep: #b3d4f0;
  --navy-pale: #24313f;
  --gold:      #dcae6a;

  --ink:       #e7eef5;
  --ink-soft:  #b2c0ce;
  --ink-faint: #8a9bab;
  --paper:     #1a2430;
  --paper-alt: #222d3b;
  --rule:      #33414f;
  --shadow:    none;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1.25rem; }
.wrap.prose { max-width: var(--prose); }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy-deep); }

/* ---------- masthead ---------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}
.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 3.75rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--navy-deep); }
.brand .mark { display: block; flex: none; }

nav.site { display: flex; gap: 1.1rem; font-size: .9375rem; margin-left: auto; flex-wrap: wrap; }
nav.site a { color: var(--ink-soft); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--navy); }
nav.site a[aria-current="page"] { font-weight: 600; }

/* ---------- breadcrumb ---------- */

.crumbs {
  font-size: .875rem;
  color: var(--ink-faint);
  padding: 1.1rem 0 0;
}
.crumbs a { color: var(--ink-faint); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs span { padding: 0 .4rem; opacity: .55; }

/* ---------- page head ---------- */

.page-head { padding: .75rem 0 1.5rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.75rem; }
.page-head h1 { margin: 0; font-size: 1.75rem; line-height: 1.25; letter-spacing: -0.02em; }
.page-head p { margin: .5rem 0 0; color: var(--ink-soft); max-width: var(--prose); }
.page-head .meta { margin-top: .6rem; font-size: .875rem; color: var(--ink-faint); }

/* ---------- hero (home only) ---------- */

.hero { padding: 3rem 0 2.5rem; border-bottom: 1px solid var(--rule); }
.hero h1 { margin: 0; font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.15; letter-spacing: -0.03em; }
.hero p { margin: .85rem 0 0; font-size: 1.0625rem; color: var(--ink-soft); max-width: 38rem; }
.hero .counts { margin: 1.6rem 0 0; display: flex; gap: 2.25rem; flex-wrap: wrap; }
.hero .counts b { display: block; font-size: 1.5rem; color: var(--navy); letter-spacing: -0.02em; }
.hero .counts span { font-size: .8125rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- search ---------- */

.searchbar { margin: 1.5rem 0 0; position: relative; max-width: 34rem; }
.searchbar input {
  width: 100%;
  font: inherit;
  padding: .7rem .9rem;
  color: var(--ink);
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  border-radius: .5rem;
}
.searchbar input:focus { outline: 2px solid var(--navy); outline-offset: 1px; background: var(--paper); }
.searchbar input::placeholder { color: var(--ink-faint); }

#results { margin: 1.25rem 0 0; }
#results .hit { padding: .7rem 0; border-bottom: 1px solid var(--rule); }
#results .hit a { font-weight: 600; text-decoration: none; }
#results .hit .where { display: block; font-size: .8125rem; color: var(--ink-faint); margin-top: .15rem; }
.empty { color: var(--ink-faint); font-style: italic; }

/* ---------- card grid ---------- */

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); margin: 0; padding: 0; list-style: none; }
.card {
  display: block;
  padding: 1.1rem 1.15rem;
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  border-radius: .6rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color .12s ease, transform .12s ease;
}
.card:hover { border-color: var(--navy); transform: translateY(-1px); }
.card b { display: block; font-size: 1.0625rem; color: var(--navy); letter-spacing: -0.01em; }
.card small { display: block; margin-top: .3rem; color: var(--ink-faint); font-size: .8125rem; }

/* compact chips, used for semesters */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.chips a {
  display: block;
  padding: .55rem .95rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper-alt);
  text-decoration: none;
  font-size: .9375rem;
  color: var(--ink);
}
.chips a:hover { border-color: var(--navy); color: var(--navy); }
.chips a small { color: var(--ink-faint); font-size: .8125rem; }

/* ---------- subject list ---------- */

.subjects { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.subjects li { border-bottom: 1px solid var(--rule); }
.subjects a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .85rem .25rem;
  text-decoration: none;
  color: inherit;
}
.subjects a:hover { background: var(--paper-alt); }
.subjects .name { font-weight: 600; color: var(--navy); }
.subjects .years { margin-left: auto; font-size: .8125rem; color: var(--ink-faint); white-space: nowrap; }
.subjects .n { font-size: .8125rem; color: var(--ink-faint); }

/* ---------- papers table ---------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.papers { width: 100%; border-collapse: collapse; font-size: .9375rem; }
table.papers th {
  text-align: left;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-faint);
  font-weight: 600;
  padding: 0 .75rem .55rem 0;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
table.papers td { padding: .6rem .75rem .6rem 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
table.papers tr:hover td { background: var(--paper-alt); }
table.papers .session { font-weight: 600; white-space: nowrap; }
table.papers .marks { color: var(--ink-soft); white-space: nowrap; }
table.papers .size { color: var(--ink-faint); font-size: .8125rem; white-space: nowrap; }
table.papers .dl { text-align: right; white-space: nowrap; }

.btn {
  display: inline-block;
  padding: .3rem .7rem;
  border: 1px solid var(--rule);
  border-radius: .35rem;
  background: var(--paper);
  color: var(--navy);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}
.btn:hover { border-color: var(--navy); background: var(--navy-pale); }
.btn[aria-disabled="true"] { color: var(--ink-faint); border-style: dashed; pointer-events: none; font-weight: 400; }

.solved-soon {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin: 0 0 1.25rem; padding: .9rem 1.05rem;
  background: var(--navy-pale); border-left: 3px solid var(--navy); border-radius: 0 .35rem .35rem 0;
}
.solved-soon p { margin: 0; }
.solved-soon-k { font-weight: 700; color: var(--navy); font-size: .9375rem; }
.solved-soon-t { color: var(--ink-soft); font-size: .9375rem; max-width: 46ch; }
.solved-soon-t { max-width: 60ch; }
.btn.solved-soon-btn, .btn.solved-soon-btn[aria-disabled="true"] {
  white-space: nowrap; background: var(--navy); color: #fff; border: 1px solid var(--navy);
  border-style: solid; border-radius: 999px; padding: .45rem 1rem; font-weight: 600; letter-spacing: .01em;
}

/* ---------- prose ---------- */

.prose h2 { margin: 2.25rem 0 .6rem; font-size: 1.25rem; letter-spacing: -0.015em; }
.prose h3 { margin: 1.6rem 0 .4rem; font-size: 1.0625rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin: .3rem 0; }
.note {
  margin: 1.5rem 0;
  padding: .9rem 1.05rem;
  background: var(--navy-pale);
  border-left: 3px solid var(--navy);
  border-radius: 0 .35rem .35rem 0;
  font-size: .9375rem;
  color: var(--ink-soft);
}

/* ---------- syllabus ---------- */

ul.syl { list-style: none; padding: 0; margin: .4rem 0 0; }
ul.syl > li { margin: 0; padding: .45rem 0; border-bottom: 1px solid var(--rule); }
ul.syl li.group { padding: .6rem 0 .5rem; }
ul.syl li.group > ul { list-style: none; padding: 0 0 0 .9rem; margin: .35rem 0 0; border-left: 2px solid var(--rule); }
ul.syl li.group > ul > li { padding: .2rem 0; border: 0; }

.gname {
  display: inline-block;
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
  color: var(--ink-faint);
}
.lbl { color: var(--ink-faint); font-size: .875rem; }
.unlinked { color: var(--ink-soft); }
.pc { font-size: .8125rem; color: var(--ink-faint); }

.tag {
  display: inline-block;
  font-size: .6875rem;
  padding: .1rem .45rem;
  border-radius: .25rem;
  border: 1px solid var(--rule);
  color: var(--ink-faint);
  vertical-align: baseline;
  white-space: nowrap;
}
.tag.new { color: var(--navy); border-color: var(--navy); background: var(--navy-pale); }
.tag.old { text-decoration: line-through; text-decoration-thickness: 1px; }

/* ---------- footer ---------- */

footer.site {
  margin-top: 4rem;
  padding: 1.75rem 0 3rem;
  border-top: 1px solid var(--rule);
  font-size: .875rem;
  color: var(--ink-faint);
}
footer.site a { color: var(--ink-faint); }
footer.site p { margin: .35rem 0; }

@media (max-width: 34rem) {
  .masthead .wrap { min-height: 3.25rem; gap: .75rem; }
  nav.site { gap: .85rem; font-size: .875rem; width: 100%; margin-left: 0; padding-bottom: .6rem; }
  .page-head h1 { font-size: 1.4rem; }
  .hero { padding: 2rem 0 1.75rem; }
  .hero .counts { gap: 1.5rem; }
}

/* ---------- download gate ---------- */

.gate-back {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(9, 24, 40, .55);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
}
.gate {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(9, 24, 40, .22);
  width: 100%; max-width: 27rem;
  padding: 1.5rem;
  max-height: 92vh; overflow-y: auto;
}
.gate h2 { margin: 0 0 .35rem; font-size: 1.2rem; color: var(--navy-deep); }
.gate > p { margin: 0 0 1rem; color: var(--ink-soft); font-size: .9375rem; }
.gate label {
  display: block;
  margin-bottom: .7rem;
  font-size: .8125rem; font-weight: 600;
  color: var(--ink-soft);
}
.gate label .opt { font-weight: 400; color: var(--ink-faint); }
.gate input[type="text"], .gate input[type="email"], .gate input:not([type]) {
  display: block; width: 100%;
  margin-top: .25rem; padding: .5rem .6rem;
  font: inherit; font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule); border-radius: 4px;
}
.gate input:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.gate-consent {
  display: flex !important; gap: .5rem; align-items: flex-start;
  font-weight: 400 !important; font-size: .8125rem;
  margin: .9rem 0 1rem;
}
.gate-consent input { margin-top: .18rem; flex: none; }
.gate-row { display: flex; gap: .6rem; align-items: center; }
.gate-row button {
  font: inherit; font-size: .9375rem; font-weight: 600;
  padding: .5rem 1rem; border-radius: 4px; cursor: pointer;
}
.gate-row button[type="submit"] {
  background: var(--navy); color: var(--paper); border: 1px solid var(--navy);
}
.gate-row button[type="submit"]:disabled { opacity: .6; cursor: default; }
.gate-x { background: none; border: 1px solid var(--rule); color: var(--ink-soft); }
.gate-err {
  margin: 0 0 .6rem; padding: .45rem .6rem;
  font-size: .8125rem; color: #b3261e;
  background: rgba(179, 38, 30, .08);
  border-radius: 4px;
}
.gate-fine {
  margin: 1rem 0 0; font-size: .75rem; line-height: 1.5;
  color: var(--ink-faint);
}

.gate-open {
  font-weight: 600;
  color: var(--navy) !important;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: .2rem .7rem;
}
.gate-open:hover { border-color: var(--navy); background: var(--navy-pale); }
.gate-open.gate-done { border-style: dashed; color: var(--ink-soft) !important; }

.verify-note {
  border: 1px solid var(--rule);
  border-left: 3px solid #b3261e;
  background: rgba(179, 38, 30, .05);
  border-radius: 4px;
  padding: .8rem 1rem;
  margin: 0 0 1.5rem;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.verify-note strong { color: var(--ink); }

/* ---------- locked study note ---------- */

.gate-lock {
  border: 1px solid var(--rule);
  background: var(--paper-alt);
  border-radius: 6px;
  padding: 1.6rem;
  margin: 1.5rem auto 2rem;
  max-width: var(--prose);
  text-align: center;
}
.gate-lock h2 { margin: 0 0 .4rem; font-size: 1.15rem; color: var(--navy-deep); }
.gate-lock p { margin: 0 auto .9rem; max-width: 30rem; color: var(--ink-soft); font-size: .9375rem; }
.gate-lock button {
  font: inherit; font-size: .9375rem; font-weight: 600;
  padding: .55rem 1.3rem; border-radius: 4px; cursor: pointer;
  background: var(--navy); color: var(--paper); border: 1px solid var(--navy);
}
.gate-lock button:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.gate-lock-fine { font-size: .8125rem !important; color: var(--ink-faint) !important; margin-top: 1rem !important; }

/* AIBE papers: one block per edition, set buttons wrap, so nothing needs a
   sideways scroll on a phone. */
.aibe-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.aibe-list li { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.aibe-head { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .6rem; }
.aibe-head b { font-size: 1.0625rem; }
.aibe-head span { color: var(--ink-faint); font-size: .875rem; }
.aibe-sets { display: flex; flex-wrap: wrap; gap: .5rem; }
.aibe-sets .btn small { color: var(--ink-faint); font-weight: 400; margin-left: .25rem; }
.aibe-note { margin: .6rem 0 0; color: var(--ink-soft); font-size: .875rem; max-width: var(--prose); }

/* "New" badge, top right of the header on every page. */
.flash-new {
  display: inline-flex; align-items: center; gap: .45rem; flex: none;
  padding: .4rem .8rem; border-radius: 999px; white-space: nowrap;
  background: var(--ka-red); color: #fff; font-weight: 600; font-size: .8125rem;
  text-decoration: none; box-shadow: 0 2px 8px rgba(212, 0, 0, .25);
  animation: flash-new 1.4s ease-in-out infinite;
}
.flash-new:hover { filter: brightness(1.08); animation-play-state: paused; }
.flash-new .tag {
  background: var(--ka-yellow); color: #3a2a00; border-radius: 999px;
  padding: .05rem .4rem; font-size: .6875rem; text-transform: uppercase; letter-spacing: .04em;
}
@keyframes flash-new {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212, 0, 0, .45); }
  50%      { opacity: .8; box-shadow: 0 0 0 6px rgba(212, 0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) { .flash-new { animation: none; } }
@media (max-width: 34rem) {
  .masthead .brand { order: 0; }
  .masthead .flash-new { order: 1; margin: .45rem 0 0 auto; font-size: .75rem; padding: .35rem .65rem; }
  .masthead nav.site { order: 2; }
}

/* ---------- paper viewer ---------- */
.pdf-bar {
  position: sticky; top: 3.75rem; z-index: 10;
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  padding: .75rem 0; background: var(--paper); border-bottom: 1px solid var(--rule);
}
.pdf-status { color: var(--ink-faint); font-size: .875rem; margin-right: auto; }
.pdf-pages { max-width: 56rem; margin: 1rem auto 2rem; }
.pdf-page { margin: 0 0 1rem; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); min-height: 12rem; }
.pdf-page canvas { display: block; width: 100%; height: auto; }
@media (max-width: 34rem) { .pdf-bar { top: 0; position: static; } }

/* ---------- study material: index, subject pages, notes ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.study-find { display: block; margin: 0 0 1.5rem; }
.study-find input {
  width: 100%; max-width: 36rem; padding: .8rem 1rem; font: inherit; color: var(--ink);
  background: var(--paper-alt); border: 1px solid var(--rule); border-radius: .6rem;
}
.study-find input:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.study-none { color: var(--ink-soft); }
.sem-head { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin: 2rem 0 .75rem; }
.subject-card b { font-size: 1.125rem; }

.unit-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.unit-chips a {
  padding: .35rem .8rem; border: 1px solid var(--rule); border-radius: 999px;
  color: var(--navy); text-decoration: none; font-size: .875rem; background: var(--paper-alt);
}
.unit-chips a:hover { border-color: var(--navy); }
.unit-block { scroll-margin-top: 5rem; margin-bottom: 1.75rem; }
.unit-block h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
.unit-block h2 span { font-weight: 400; font-size: .85rem; color: var(--ink-faint); margin-left: .4rem; }

.topic-list { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.topic-list li {
  display: flex; align-items: baseline; gap: .75rem; padding: .7rem 0;
  border-bottom: 1px solid var(--rule); counter-increment: t;
}
.topic-list li[hidden] { display: none; }
.topic-list li::before { content: counter(t); flex: none; width: 1.6rem; color: var(--ink-faint); font-size: .85rem; text-align: right; }
.study-results li::before { content: none; }
.topic-list a { flex: 1; text-decoration: none; color: inherit; min-width: 0; }
.topic-list a b { display: block; color: var(--navy); font-weight: 600; line-height: 1.35; }
.topic-list a:hover b { text-decoration: underline; }
.topic-list a small {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  color: var(--ink-soft); font-size: .85rem; line-height: 1.45; margin-top: .15rem;
}
.topic-list .mins { flex: none; color: var(--ink-faint); font-size: .75rem; white-space: nowrap; }

.note-tools { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .9rem; margin: 0 0 1rem; }
.toc { border: 1px solid var(--rule); border-radius: .6rem; padding: .6rem 1rem; margin: 0 0 1rem; background: var(--paper-alt); }
.toc summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.toc ol { margin: .6rem 0 .2rem; padding-left: 1.2rem; }
.toc li { margin: .25rem 0; }
.note-body h2 { scroll-margin-top: 5rem; }
details.verify-note { font-size: .875rem; margin: 0 0 1.5rem; }
details.verify-note summary { cursor: pointer; color: var(--ink-soft); }
details.verify-note p { margin: .5rem 0 0; }

.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 2rem 0 1rem; }
.prev-next .pn {
  display: block; padding: .8rem 1rem; border: 1px solid var(--rule); border-radius: .6rem;
  text-decoration: none; background: var(--paper-alt);
}
.prev-next .pn:hover { border-color: var(--navy); }
.prev-next .next { text-align: right; grid-column: 2; }
.prev-next small { display: block; color: var(--ink-faint); font-size: .8rem; }
.prev-next b { color: var(--navy); font-size: .95rem; line-height: 1.35; }
@media (max-width: 34rem) {
  .masthead { position: static; }
  .prev-next { grid-template-columns: 1fr; }
  .prev-next .next { grid-column: 1; }
}
.topic-list .no-notes { flex: 1; min-width: 0; }
.topic-list .no-notes b { display: block; color: var(--ink-soft); font-weight: 600; line-height: 1.35; }
.topic-list .no-notes small { color: var(--ink-faint); font-size: .85rem; }
.topic-list a.mins { text-decoration: underline; color: var(--navy); }
.unit-chips a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* tables inside notes (accounts, statistics, comparisons) */
.note-body table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .9rem; display: block; overflow-x: auto; }
.note-body th, .note-body td { border: 1px solid var(--rule); padding: .4rem .6rem; text-align: left; vertical-align: top; }
.note-body th { background: var(--paper-alt); font-weight: 600; }
.note-body td.num, .note-body th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- legal dictionary ---------- */
.dict-hero { display: flex; align-items: center; gap: 1.5rem; margin: 0 0 1.25rem; }
.dict-hero h1 { margin: 0 0 .4rem; }
.dict-hero p { margin: 0; color: var(--ink-soft); max-width: 36rem; }
.dict-art { width: 15rem; max-width: 42%; height: auto; flex: none; color: var(--ink); }
.dict-az a { min-width: 2rem; text-align: center; padding: .25rem .5rem; }
.unit-chips a[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.dict-head h1 { margin-bottom: .2rem; }
.dict-pron { font-style: italic; }
.dict-see a { margin-right: .25rem; }
a.dict-term { color: inherit; text-decoration: underline dotted var(--navy); text-underline-offset: 3px; }
a.dict-term:hover { color: var(--navy); }
@media (max-width: 34rem) {
  .dict-hero { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .dict-art { width: 12rem; max-width: 70%; }
}
@media (max-width: 34rem) {
  .dict-cats, .dict-az { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .35rem; margin-bottom: .75rem; }
  .dict-cats a, .dict-az a { flex: none; white-space: nowrap; }
}
.dict-cats, .dict-az { scrollbar-width: none; }
.dict-cats::-webkit-scrollbar, .dict-az::-webkit-scrollbar { display: none; }

/* ---------- home: dictionary panel on the right of the hero ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 2.5rem; align-items: start; }
.hero-dict {
  background: var(--paper-alt); border: 1px solid var(--rule); border-radius: .9rem;
  padding: 1.1rem 1.2rem 1.2rem; box-shadow: var(--shadow);
}
.hero-dict-art { display: block; }
.hero-dict-art .dict-art { width: 100%; max-width: none; height: auto; display: block; margin: -.25rem 0 .25rem; }
.hero-dict h2 { margin: 0 0 .3rem; font-size: 1.2rem; }
.hero-dict h2 a { color: var(--navy); text-decoration: none; }
.hero-dict p { margin: 0 0 .7rem; font-size: .9rem; color: var(--ink-soft); }
.hero-dict input {
  width: 100%; font: inherit; padding: .6rem .8rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: .5rem;
}
.hero-dict input:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.hero-dict-pop { margin: .7rem 0 0 !important; font-size: .85rem !important; }
.hero-dict-pop a { margin-left: .35rem; color: var(--navy); }
@media (max-width: 56rem) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-dict { max-width: 34rem; }
}

/* ---------- dictionary illustration: page turn on look-up ---------- */
.dict-art .pg-flip { pointer-events: none; filter: drop-shadow(0 2px 3px rgba(18,48,77,.25)); }
.dict-art .w-l, .dict-art .w-r { transition: opacity .15s; }
.dict-art.flipping .w-l, .dict-art.flipping .w-r { opacity: 0; }

/* AIBE syllabus table: fits a phone without sideways scrolling */
.aibe-syllabus { margin: 2rem 0 1.5rem; }
.aibe-syllabus h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.aibe-syllabus > p { max-width: var(--prose); color: var(--ink-soft); }
table.syl-table { width: 100%; border-collapse: collapse; font-size: .9375rem; table-layout: fixed; }
table.syl-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); border-bottom: 2px solid var(--rule); padding: .5rem .5rem .5rem 0; }
table.syl-table td { padding: .55rem .5rem .55rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; overflow-wrap: anywhere; }
table.syl-table th:nth-child(1), table.syl-table td:nth-child(1) { width: 2rem; color: var(--ink-faint); }
table.syl-table th:nth-child(3), table.syl-table td:nth-child(3) { width: 5.5rem; text-align: right; padding-right: 1rem; font-variant-numeric: tabular-nums; }
table.syl-table td:nth-child(4) { font-size: .875rem; }
@media (max-width: 560px) {
  table.syl-table th:nth-child(1), table.syl-table td:nth-child(1) { display: none; }
  table.syl-table th:nth-child(3), table.syl-table td:nth-child(3) { width: 3.2rem; padding-right: .5rem; }
  table.syl-table th:nth-child(3) { font-size: 0; }
  table.syl-table th:nth-child(3)::after { content: 'Qs'; font-size: .75rem; }
}

/* ---------- notify me (solved papers) ---------- */

button.btn.solved-soon-btn { cursor: pointer; font: inherit; font-weight: 600; }
button.btn.solved-soon-btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
button.btn.solved-soon-btn.notify-done { background: transparent; color: var(--navy); border-style: dashed; cursor: default; }

/* ---------- casual-copy deterrent (with assets/protect.js) ----------
   Friction, not security; the copyright notice is the real protection. */
html, body { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; }
img { -webkit-user-drag: none; user-drag: none; }
input, textarea, select, [contenteditable="true"], form, form * { -webkit-user-select: text; -moz-user-select: text; user-select: text; }

.brand .tm { font-size: .95em; font-weight: 700; margin-left: .05em; vertical-align: .3em; line-height: 0; }

/* Karnataka Judiciary page tables */
table.kj-table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 0 0 .75rem; }
table.kj-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); border-bottom: 2px solid var(--rule); padding: .5rem .75rem .5rem 0; }
table.kj-table td { padding: .55rem .75rem .55rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.kj-table th:first-child, table.kj-table td:first-child { width: 9rem; font-weight: 600; color: var(--ink); }
table.kj-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.kj-table td:last-child:not(.num) { font-size: .875rem; }
@media (max-width: 640px) {
  table.kj-table { font-size: .875rem; }
  table.kj-table th:first-child, table.kj-table td:first-child { width: 6rem; }
}

/* Books per subject */
details.bk { display: block; margin: .25rem 0 .5rem; font-size: .875rem; }
details.bk summary { cursor: pointer; color: var(--navy); width: max-content; }
details.bk ol { margin: .35rem 0 .25rem 1.25rem; padding: 0; }
details.bk li { margin: .15rem 0; }
.bk-pub { color: var(--ink-faint); }
.books-box { border: 1px solid var(--rule); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.5rem 0; background: var(--paper-alt); }
.books-box h2 { margin: 0 0 .5rem; font-size: 1.125rem; }
.books-box ol { margin: 0 0 .5rem 1.25rem; padding: 0; }
.books-box li { margin: .25rem 0; }
.bk-note { margin: 0; font-size: .85rem; color: var(--ink-faint); }
.bk-buy { display: inline-block; font-size: .75rem; font-weight: 600; line-height: 1.5; margin-left: .45rem; padding: .05rem .6rem; color: #7a5200; background: #fff4cc; border: 1px solid #f2c94c; border-radius: 999px; text-decoration: none; white-space: nowrap; vertical-align: 1px; }
.bk-buy:hover { background: #ffe58a; border-color: #e0b100; color: #4d3400; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bk-buy { color: #ffd966; background: rgba(255, 204, 0, .12); border-color: rgba(255, 204, 0, .45); } }
:root[data-theme="dark"] .bk-buy { color: #ffd966; background: rgba(255, 204, 0, .12); border-color: rgba(255, 204, 0, .45); }
.bk-h { margin: .4rem 0 0; font-weight: 600; font-size: .85rem; }
.books-box h3 { margin: .75rem 0 .25rem; font-size: 1rem; }
.bk-acts { margin: 0 0 .4rem 1.25rem; padding: 0; }
.bk-acts li { margin: .2rem 0; }

/* "Books" button, top right of the header on every page. */
.hdr-books {
  display: inline-flex; align-items: center; flex: none;
  padding: .4rem .9rem; border-radius: 999px; white-space: nowrap;
  background: #ffd84d; color: #4d3400; border: 1px solid #e0b100; font-weight: 700; font-size: .8125rem;
  text-decoration: none;
}
.hdr-books:hover { background: #ffcb1f; }
@media (max-width: 34rem) {
  .masthead .hdr-books { order: 1; margin: .45rem 0 0 auto; font-size: .75rem; padding: .35rem .7rem; }
}
.bk-all { margin: .8rem 0 0; font-weight: 600; }
.bk-find { position: sticky; top: 0; z-index: 2; background: var(--paper); padding: .6rem 0 .5rem; border-bottom: 1px solid var(--rule); margin-bottom: 1rem; }
.bk-find input { width: 100%; box-sizing: border-box; padding: .65rem .8rem; font-size: 1rem; border: 1px solid var(--rule); border-radius: 8px; }
.bk-jump { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .5rem; font-size: .875rem; }
.bk-group { margin: 1.4rem 0; }
.bk-group h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.bk-subj { border-bottom: 1px solid var(--rule); padding: .5rem 0; }
.bk-subj summary { cursor: pointer; font-weight: 600; }
.bk-count { font-weight: 400; color: var(--ink-faint); font-size: .8125rem; margin-left: .35rem; }
.bk-none { color: var(--ink-soft); }
.bk-subj[hidden], .bk-group[hidden] { display: none !important; }
.bk-subj summary { white-space: normal; overflow-wrap: anywhere; }
.bk-count { white-space: nowrap; }

/* Books, highlighted: gold like the Buy on Amazon pills, so students spot them. */
.books-box { background: #fffbea; border: 1px solid #f2c94c; border-left: 4px solid #e0b100; }
details.bk:not(.bk-subj) summary { display: inline-block; list-style: none; padding: .1rem .65rem; border-radius: 999px;
  background: #fff4cc; border: 1px solid #f2c94c; color: #7a5200; font-weight: 600; font-size: .78rem; }
details.bk:not(.bk-subj) summary::-webkit-details-marker { display: none; }
details.bk:not(.bk-subj) summary::before { content: "\25B8\00a0"; }
details.bk:not(.bk-subj)[open] summary::before { content: "\25BE\00a0"; }
.books-promo { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.5rem; align-items: center;
  margin: 1.5rem 0 0; padding: 1.1rem 1.4rem; border-radius: 8px; text-decoration: none;
  background: #fffbea; border: 1px solid #f2c94c; border-left: 4px solid #e0b100; color: inherit; }
.books-promo-k { grid-column: 1; font-weight: 700; color: #7a5200; font-size: .95rem; }
.books-promo-t { grid-column: 1; color: var(--ink-soft, #445); font-size: .9375rem; }
.books-promo-b { grid-column: 2; grid-row: 1 / span 2; padding: .55rem 1.1rem; border-radius: 999px; white-space: nowrap;
  background: #ffd84d; border: 1px solid #e0b100; color: #4d3400; font-weight: 700; }
.books-promo:hover .books-promo-b { background: #ffcb1f; }
@media (max-width: 34rem) { .books-promo { grid-template-columns: 1fr; } .books-promo-b { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .5rem; } }
.card.card-books { background: #fffbea; border-color: #f2c94c; }
.card.card-books b { color: #7a5200; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.books-box, .books-promo, .card.card-books) { background: rgba(255,204,0,.08); border-color: rgba(255,204,0,.45); }
  :root:not([data-theme="light"]) :is(.books-promo-k, .card.card-books b) { color: #ffd966; }
  :root:not([data-theme="light"]) details.bk:not(.bk-subj) summary { color: #ffd966; background: rgba(255,204,0,.12); border-color: rgba(255,204,0,.45); } }
:root[data-theme="dark"] :is(.books-box, .books-promo, .card.card-books) { background: rgba(255,204,0,.08); border-color: rgba(255,204,0,.45); }
:root[data-theme="dark"] :is(.books-promo-k, .card.card-books b) { color: #ffd966; }
:root[data-theme="dark"] details.bk:not(.bk-subj) summary { color: #ffd966; background: rgba(255,204,0,.12); border-color: rgba(255,204,0,.45); }

/* Long subject names on the books page must wrap on phones. */
details.bk.bk-subj summary { width: auto; max-width: 100%; }

/* Beyond the syllabus reading list */
.rd-list { list-style: none; margin: .4rem 0 0; padding: 0; }
.rd-book { border: 1px solid var(--rule); border-radius: 10px; padding: .85rem 1rem; margin: 0 0 .8rem; }
.rd-title { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.rd-by { margin: .25rem 0 0; font-size: .9rem; }
.rd-role { color: var(--ink-faint); font-size: .82rem; }
.rd-role::before { content: "· "; }
.rd-note { margin: .5rem 0; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); }
.rd-meta { margin: 0; font-size: .82rem; }
.rd-meta .bk-buy { margin-left: .5rem; }
.rd-promo { margin: 0 0 1rem; padding: .7rem .9rem; border: 1px solid #f2c94c; background: #fffaf0; border-radius: 8px; font-size: .92rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rd-promo { background: rgba(255, 204, 0, .08); border-color: rgba(255, 204, 0, .35); } }
:root[data-theme="dark"] .rd-promo { background: rgba(255, 204, 0, .08); border-color: rgba(255, 204, 0, .35); }

/* "Reading corner" button, top right, next to Books. */
.hdr-reading {
  display: inline-flex; align-items: center; gap: .3rem; flex: none; margin-right: .45rem;
  padding: .4rem .9rem; border-radius: 999px; white-space: nowrap;
  background: #7a1f2b; color: #fff6d6; border: 1px solid #5e1520; font-weight: 700; font-size: .8125rem;
  text-decoration: none; box-shadow: 0 0 0 3px rgba(122, 31, 43, .12);
}
.hdr-reading:hover { background: #95283a; color: #fff; }
@media (max-width: 34rem) {
  .masthead .hdr-reading { order: 1; margin: .45rem .4rem 0 auto; font-size: .75rem; padding: .35rem .7rem; }
  .masthead .hdr-reading + .hdr-books { margin-left: 0; }
}
.rd-book { display: flex; gap: 1rem; align-items: flex-start; }
.rd-cover { flex: none; display: block; width: 110px; }
.rd-cover img { display: block; width: 110px; height: auto; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.18); background: #f3f0ea; }
.rd-body { min-width: 0; flex: 1; }
@media (max-width: 34rem) { .rd-cover, .rd-cover img { width: 78px; } .rd-book { gap: .75rem; } }
.rd-badge { display: inline-block; margin: 0 0 .35rem; padding: .15rem .7rem; border-radius: 999px; background: #7a1f2b; color: #fff6d6; font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.rd-pick { margin: 0 0 .2rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7a1f2b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rd-pick { color: #ffb3bd; } }
:root[data-theme="dark"] .rd-pick { color: #ffb3bd; }

/* Home hero: one-stop shelf */
.hero-k { margin: 0 0 .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7a1f2b; }
.hero-shelf { list-style: none; margin: 1.1rem 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.hero-shelf a { display: block; height: 100%; box-sizing: border-box; padding: .6rem .75rem; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.hero-shelf a:hover { border-color: #e0b100; transform: translateY(-1px); }
.hero-shelf b { display: block; font-size: .92rem; }
.hero-shelf span { display: block; font-size: .78rem; color: var(--ink-faint); margin-top: .1rem; }
@media (max-width: 40rem) { .hero-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-k { color: #ffb3bd; } }
:root[data-theme="dark"] .hero-k { color: #ffb3bd; }

/* Student essentials */
.es-list { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .7rem; }
.es-item { border: 1px solid var(--rule); border-radius: 10px; padding: .75rem .9rem; display: flex; flex-direction: column; }
.es-name { margin: 0; font-weight: 700; }
.es-note { margin: .3rem 0 .6rem; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; flex: 1; }
.es-item .bk-buy { margin-left: 0; align-self: flex-start; }
.es-tip { margin: 2rem 0 1rem; padding: 1rem 1.15rem; border: 1px solid #f2c94c; border-left: 5px solid #7a1f2b; background: #fffaf0; border-radius: 10px; }
.es-tip p { margin: 0 0 .55rem; line-height: 1.55; }
.es-tip p:last-child { margin: 0; }
.es-tip .es-tip-h { font-weight: 700; color: #7a1f2b; }
.es-tip .bk-buy { margin: .2rem .4rem 0 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .es-tip { background: rgba(255, 204, 0, .08); } :root:not([data-theme="light"]) .es-tip .es-tip-h { color: #ffb3bd; } }
:root[data-theme="dark"] .es-tip { background: rgba(255, 204, 0, .08); }
:root[data-theme="dark"] .es-tip .es-tip-h { color: #ffb3bd; }


/* ===================================================================
   ALU Corner theme: Rajasthan palette
   Jaipur pink, turban saffron, fort sandstone, Jodhpur blue, Udaipur lake.
   =================================================================== */
:root {
  --navy:       #2d2a6e;   /* Jodhpur blue (indigo) */
  --navy-deep:  #1f1c55;
  --navy-pale:  #ece5f5;
  --gold:       #c4552f;   /* fort sandstone */
  --ka-yellow:  #f29e1f;   /* turban saffron */
  --ka-red:     #d6457a;   /* Jaipur pink */
  --pink:       #d6457a;
  --pink-pale:  #fbe3ec;
  --saffron:    #f29e1f;
  --terracotta: #c4552f;
  --peacock:    #0f7c8c;
  --ink:        #2a1a12;
  --ink-soft:   #5b4636;
  --ink-faint:  #7a6352;
  --paper:      #fbf3e4;
  --paper-alt:  #f5e6c8;
  --rule:       #ead7b5;
  --shadow:     0 1px 2px rgba(122, 58, 31, .08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: #c9c2ff; --navy-deep: #e0dbff; --navy-pale: #2c2740; --gold: #f0a07c;
    --ka-yellow: #ffc061; --ka-red: #f07aa6; --pink: #f07aa6; --pink-pale: #3a2230;
    --ink: #f5ece0; --ink-soft: #d6c6b4; --ink-faint: #ad9a86;
    --paper: #1e1820; --paper-alt: #2a222b; --rule: #45394a; --shadow: none;
  }
}
:root[data-theme="dark"] {
  --navy: #c9c2ff; --navy-deep: #e0dbff; --navy-pale: #2c2740; --gold: #f0a07c;
  --ka-yellow: #ffc061; --ka-red: #f07aa6; --pink: #f07aa6; --pink-pale: #3a2230;
  --ink: #f5ece0; --ink-soft: #d6c6b4; --ink-faint: #ad9a86;
  --paper: #1e1820; --paper-alt: #2a222b; --rule: #45394a; --shadow: none;
}
body { font-family: Mukta, system-ui, -apple-system, "Segoe UI", sans-serif; }

/* bandhani (tie-dye dot) strip */
.bandhani { height: 12px; background:
  radial-gradient(circle, #fff 1.5px, transparent 2px) 0 0 / 12px 12px,
  linear-gradient(90deg, #d6457a, #f29e1f, #c4552f, #0f7c8c, #2d2a6e, #d6457a); }

.brand span { font-family: 'Yatra One', serif; font-weight: 400; color: var(--terracotta); font-size: 1.35rem; letter-spacing: .01em; }
.hdr-reading { background: var(--navy); color: #ffe7b8; border-color: var(--navy-deep); }
.hdr-books { background: var(--saffron); border-color: #d98500; color: #3d2200; }

.hero { background:
  radial-gradient(1100px 380px at 85% -10%, rgba(255, 196, 120, .55) 0, transparent 60%),
  radial-gradient(800px 420px at -10% 110%, rgba(255, 190, 215, .55) 0, transparent 60%), var(--paper);
  border-bottom: 0; position: relative; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background:
  radial-gradient(circle, #fff 1.5px, transparent 2px) 0 0 / 12px 12px,
  linear-gradient(90deg, #d6457a, #f29e1f, #c4552f, #0f7c8c, #2d2a6e, #d6457a); }
.hero h1 { color: var(--navy); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--pink); }
.hero-k { color: var(--pink) !important; background: var(--pink-pale); display: inline-block; padding: .2rem .7rem; border-radius: 999px; }
.hero-hindi { font-family: 'Yatra One', serif; color: var(--terracotta) !important; font-size: 1.2rem !important; margin: .55rem 0 .1rem !important; }
.hero-shelf a { background: #fffaf0; border-top: 4px solid var(--c, var(--pink)); }
.hero-shelf li:nth-child(1) a { --c: var(--pink); }
.hero-shelf li:nth-child(2) a { --c: var(--saffron); }
.hero-shelf li:nth-child(3) a { --c: var(--peacock); }
.hero-shelf li:nth-child(4) a { --c: var(--terracotta); }
.hero-shelf li:nth-child(5) a { --c: var(--navy); }
.hero-shelf li:nth-child(6) a { --c: var(--pink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-shelf a { background: var(--paper-alt); } }
:root[data-theme="dark"] .hero-shelf a { background: var(--paper-alt); }

/* dictionary box as a palace arch (jharokha) */
.hero-dict { border-radius: 150px 150px 18px 18px !important; border-top: 6px solid var(--terracotta) !important;
  background: #fffaf0 !important; padding-top: 2rem !important; position: relative; box-shadow: 0 18px 40px rgba(45, 42, 110, .14); }
.hero-dict::before { content: ""; position: absolute; inset: 10px 10px auto 10px; height: 110px; border-radius: 140px 140px 0 0;
  border: 2px dashed rgba(196, 85, 47, .35); border-bottom: 0; pointer-events: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-dict { background: var(--paper-alt) !important; } }
:root[data-theme="dark"] .hero-dict { background: var(--paper-alt) !important; }

h1, h2 { color: var(--navy); }
.card:hover, .subjects a:hover { border-color: var(--saffron); }
.books-promo { background: linear-gradient(120deg, #2d2a6e, #4a2f7a 55%, #d6457a) !important; border: 0 !important; color: #fff !important; }
.books-promo .books-promo-k { color: #ffd38a !important; }
.books-promo .books-promo-t { color: #fff !important; }
.books-promo .books-promo-b { background: #ffd38a; color: #3d2200 !important; }
.site-footer, footer.site { background: var(--navy); color: #e9e3ff; }
footer a { color: #ffd38a; }
footer.site a, footer.site p a { color: #ffd38a !important; }
footer.site, footer.site p, footer.site strong { color: #e9e3ff !important; }
