/* Clarity home banners: the ONE stylesheet of the banner carousel (owner, 17 Nov 2026: "the carousel should have one source").
   Used by the clarityupsc.com home (its build inlines the four marked parts below at their places in the page's own styles,
   deploy/home-v4-2026-11-14/build.py) and by the web app home (app.clarityupsc.com loads this whole file).
   The base part copies the website's carousel, book and phone rules for pages that do not have them; the website keeps its own.
   The host page defines --font, --ink-3, --a1 and --a2. Edit the banner rules here, never in parts/style.css. */
/*@cbn-base:start*/
  .fc{position:relative; margin:0 -20px; text-align:left}
  .fc-track{display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-inline:20px;
    padding:4px 20px 14px; scrollbar-width:none; -webkit-overflow-scrolling:touch}
  .fc-track::-webkit-scrollbar{display:none}
  .fc-slide{position:relative; flex:0 0 min(88%,520px); scroll-snap-align:start; border-radius:28px; min-height:480px;
    overflow:hidden; display:flex; flex-direction:column; padding:24px 22px 22px; text-decoration:none; color:inherit;
    box-shadow:0 22px 50px -30px rgba(15,23,42,.55), 0 6px 18px -10px rgba(15,23,42,.25); isolation:isolate}
  .fc-slide:focus-visible{outline:3px solid var(--a2); outline-offset:3px}
  .fc-dots{display:flex; justify-content:center; gap:7px; margin-top:4px}
  .fc-dots button{width:8px; height:8px; border-radius:999px; border:0; padding:0; background:var(--ink-3); opacity:.45;
    cursor:pointer; transition:width .25s ease-out, opacity .25s ease-out}
  .fc-dots button[aria-current="true"]{width:26px; opacity:1; background:var(--a1)}
  @keyframes fcPulse{0%{box-shadow:0 0 0 0 rgba(74,222,128,.65)} 70%{box-shadow:0 0 0 7px rgba(74,222,128,0)} 100%{box-shadow:0 0 0 0 rgba(74,222,128,0)}}
  .fc-spark{position:absolute; left:0; right:0; bottom:0; width:100%; height:24px; display:block}
  .bkrail{position:relative; z-index:1; display:flex; justify-content:center; align-items:flex-end; gap:12px; margin-bottom:-3px}
  .bkledge{display:block; position:relative; z-index:2; height:17px; margin:0 -22px;
    background:linear-gradient(rgba(192,138,78,.55) 0, rgba(176,126,73,.7) 4px, rgba(101,64,36,.36) 5px, rgba(147,94,54,.4) 13px, rgba(73,41,22,.65) 17px),
      #6B4325 url('https://app.clarityupsc.com/images/lesson-library/walnut.webp') 50% 70%/700px auto;
    box-shadow:0 9px 14px -4px rgba(26,12,4,.6), inset 0 1px 0 rgba(235,193,132,.7), inset 0 -2px 0 rgba(66,35,13,.5)}
  .bk{--w:80px; position:relative; display:block; flex:none; width:var(--w); height:calc(var(--w) * 1.44);
    border-radius:2px 5px 5px 2px; filter:drop-shadow(5px 7px 5px rgba(26,12,4,.55)); --rot:-1.2deg; transform:rotate(var(--rot))}
  .bk:nth-child(2){--rot:.6deg} .bk:nth-child(3){--rot:1.4deg}
  .bk-pages{position:absolute; inset:3px -4px 2px 3px; border:1px solid #bbae97; border-radius:2px 4px 4px 2px;
    background:repeating-linear-gradient(90deg,#f7eedc 0 1px,#d6c7aa 2px,#fff8e8 3px)}
  .bk-cover{position:absolute; inset:0; overflow:hidden; isolation:isolate; display:flex; flex-direction:column; align-items:center; text-align:center;
    padding:calc(var(--w) * .13) calc(var(--w) * .075) calc(var(--w) * .09) calc(var(--w) * .115);
    border-radius:2px 5px 5px 2px; background:#25304F; color:#F7E4B4;
    box-shadow:inset 1px 0 rgba(245,216,158,.33), inset 8px 0 7px -5px rgba(7,6,9,.75), inset -1px 0 rgba(0,0,0,.6), 1px 1px 2px rgba(0,0,0,.5)}
  .bk-cover::before{content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
    background:linear-gradient(105deg, transparent 0 52%, rgba(255,246,225,.09) 64%, transparent 78%)}
  .bk-cover::after{content:""; position:absolute; top:0; bottom:0; left:calc(var(--w) * .05); width:2px; background:rgba(19,13,21,.28);
    box-shadow:1px 0 0 rgba(242,213,163,.18)}
  .bk-art{position:absolute; inset:0; z-index:-3; width:100%!important; height:100%!important; max-width:none; object-fit:cover; object-position:center bottom}
  .bk-cloth .bk-cover{background-color:var(--tone,#25304F);
    background-image:radial-gradient(120% 80% at 72% 12%, rgba(255,255,255,.11), transparent 62%),
      repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
      repeating-linear-gradient(-45deg, rgba(0,0,0,.06) 0 1px, transparent 1px 3px),
      linear-gradient(165deg, rgba(255,255,255,.06), transparent 45%, rgba(0,0,0,.22))}
  .bk-num{position:absolute; left:0; right:0; bottom:calc(var(--w) * .19); z-index:-2; font-family:Georgia,'Source Serif 4',serif;
    font-size:calc(var(--w) * .3); line-height:1; letter-spacing:.04em; color:#F0D79A; opacity:.38}
  .bk-num::before{content:""; display:block; width:42%; height:2px; margin:0 auto calc(var(--w) * .07);
    border-top:1px solid rgba(240,215,154,.8); border-bottom:1px solid rgba(240,215,154,.5)}
  .bk-frame{position:absolute; z-index:-2; inset:calc(var(--w) * .0625) calc(var(--w) * .056) calc(var(--w) * .0625) calc(var(--w) * .1);
    border:1px solid rgba(236,212,154,.45)}
  .bk-top{display:block; font-family:var(--font); font-size:calc(var(--w) * .04 + .9px); line-height:1.6; font-weight:700;
    letter-spacing:.11em; text-transform:uppercase}
  .bk-top small{display:block; font-size:calc(var(--w) * .037 + .3px); font-weight:650; letter-spacing:.04em; opacity:.92; margin-top:calc(var(--w) * .02)}
  .bk-title{display:block; max-width:100%; margin-top:calc(var(--w) * .08 + 2px); font-family:Georgia,'Source Serif 4',serif; font-weight:400;
    font-size:calc(var(--w) * .118 + 1.6px); line-height:1.17; letter-spacing:-.02em; text-wrap:balance; text-shadow:0 1px 1px rgba(0,0,0,.45)}
  .bk-long .bk-title{font-size:calc(var(--w) * .1 + 1.5px); line-height:1.15}
  .bk-pub{margin-top:auto; font-family:var(--font); font-size:calc(var(--w) * .035 + 1.4px); font-weight:700; letter-spacing:.28em;
    text-transform:uppercase; text-shadow:0 1px 1px rgba(0,0,0,.55)}
  .fc-phone{position:relative; flex:none; width:100px; aspect-ratio:9/16; border-radius:16px; overflow:hidden; margin-left:auto;
    border:3px solid rgba(255,255,255,.85); box-shadow:0 16px 30px -12px rgba(0,0,0,.7)}
  .fc-phone img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
  .fc-play{position:absolute; left:50%; top:50%; width:46px; height:46px; margin:-23px 0 0 -23px; border-radius:50%;
    background:rgba(255,61,90,.95); display:grid; place-items:center; box-shadow:0 6px 16px rgba(0,0,0,.45)}
  .fc-play::before{content:""; margin-left:4px; border-style:solid; border-width:9px 0 9px 15px; border-color:transparent transparent transparent #fff}
  .ab{text-transform:none!important}
/*@cbn-base:end*/
/*@cbn:a:start*/
  /* banners: short and wide, text on the left, a real picture on the right */
  .bnr{margin:0 -20px}
  .bnr .fc-track{gap:10px; padding:0 20px 8px; scroll-padding-inline:20px}
  .fc-slide.bn{flex:0 0 100%; height:188px; min-height:0; padding:0; border-radius:18px; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
    color:#fff; overflow:hidden; isolation:isolate; box-shadow:0 12px 26px -18px rgba(15,23,42,.55)}
  .bn-tx{position:relative; z-index:1; display:flex; flex-direction:column; align-items:flex-start; min-width:0; padding:14px 4px 14px 16px}
  .bn-k{display:inline-flex; align-items:center; gap:6px; font-size:9.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
    padding:4px 8px; border-radius:6px; background:rgba(255,255,255,.18); margin-bottom:8px}
  .bn-k i{width:6px; height:6px; border-radius:50%; background:#4ADE80; animation:fcPulse 1.8s ease-out infinite}
  .fc-slide .bn-t{font-size:19px; font-weight:800; line-height:1.14; letter-spacing:-.02em; margin:0 0 5px; color:inherit; text-wrap:balance}
  .bn-f{font-size:12.5px; line-height:1.38; font-weight:550; opacity:.92; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
  .bn-go{margin-top:auto; display:inline-flex; align-items:center; gap:5px; font-size:12.5px; font-weight:800; padding:6px 12px; border-radius:999px; background:#fff; color:#0F172A}
  .bn-vis{position:relative; display:flex; align-items:center; justify-content:center; min-width:0; padding:12px 14px 12px 4px}
  .fc-dots{margin-top:0}
  @media (min-width:760px){ .fc-slide.bn{flex-basis:calc(50% - 5px); height:206px} .fc-slide .bn-t{font-size:21px} }
  @media (min-width:900px){ .bnr{margin:0} .bnr .fc-track{padding-inline:0; scroll-padding-inline:0} }

  .bn-led{background:radial-gradient(80% 90% at 100% 0%, rgba(96,165,250,.45), transparent 60%), linear-gradient(135deg,#1D4ED8 0%,#1E3A8A 55%,#172554 100%)}
  .bn-led .bn-go{color:#1E3A8A}
  .bn-nums{flex-direction:column; align-items:stretch; gap:8px}
  .bn-num{position:relative; display:block; overflow:hidden; padding:7px 10px 17px; border-radius:11px; line-height:1.15;
    background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2)}
  .bn-num small{display:block; font-size:10px; font-weight:650; opacity:.85}
  .bn-num b{display:block; font-size:18px; font-weight:800; font-variant-numeric:tabular-nums; white-space:nowrap}
  .bn-num .fc-spark{height:14px}

  .bn-ncert{background:#4A2C17 url('https://app.clarityupsc.com/images/lesson-library/walnut.webp') center/600px auto; color:#FBEFDF}
  .bn-ncert::before{content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg, rgba(34,18,7,.86) 0%, rgba(34,18,7,.55) 58%, rgba(34,18,7,.22) 100%)}
  .bn-ncert .bn-k{background:rgba(246,217,168,.2); color:#F6D9A8}
  .bn-ncert .bn-go{background:#FBEFDF; color:#3B2312}
  .bn-ncert .bn-vis{align-items:flex-end; padding-bottom:16px}
  .bn-shelf{display:flex; flex-direction:column; width:100%}
  .bn-shelf .bkrail{gap:8px; justify-content:center; margin-bottom:-3px}
  .bn-shelf .bk{--w:58px}
  .bn-shelf .bkledge{margin:0 -14px 0 -6px; height:12px}

  .bn-pyq{background:radial-gradient(90% 80% at 100% 0%, rgba(251,113,133,.35), transparent 60%), linear-gradient(135deg,#9F1239 0%,#6B0F23 55%,#3F0A16 100%)}
  .bn-pyq .bn-go{color:#881337}
  .bn-paper{display:block; width:100%; max-width:168px; padding:9px 10px 10px; border-radius:5px; background:#FBF6EC; color:#1F1A14; transform:rotate(2deg);
    box-shadow:0 12px 22px -12px rgba(0,0,0,.6)}
  .bn-paper-h{display:block; font-size:8.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:#9F1D2A; border-bottom:1px solid #E7DCC8; padding-bottom:4px; margin-bottom:5px}
  .bn-paper-q{display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; font-family:'Source Serif 4','Source Serif 4 Fallback',Georgia,serif;
    font-size:11.5px; line-height:1.32; font-weight:600}
  .bn-paper-o{display:block; margin-top:5px; font-family:'Source Serif 4','Source Serif 4 Fallback',Georgia,serif; font-size:11px; color:#5B5248}

  .bn-quiz{background:radial-gradient(90% 80% at 100% 0%, rgba(45,212,191,.4), transparent 60%), linear-gradient(135deg,#0F766E 0%,#115E59 55%,#083D3A 100%)}
  .bn-quiz .bn-go{color:#115E59}
  .bn-quiz .bn-vis{flex-direction:column; gap:8px}
  .bn-dial{position:relative; display:grid; place-items:center; align-content:center; width:94px; height:94px; border-radius:50%;
    background:conic-gradient(from 210deg,#5EEAD4,#CCFBF1,#5EEAD4)}
  .bn-dial::before{content:""; position:absolute; inset:7px; border-radius:50%; background:#0D5B55}
  .bn-dial b{position:relative; font-size:32px; font-weight:800; line-height:1}
  .bn-dial small{position:relative; font-size:10px; font-weight:700; opacity:.85}
  .bn-chip{font-size:10.5px; font-weight:800; padding:3px 10px; border-radius:999px; background:rgba(255,255,255,.16)}

  .bn-blitz{background:radial-gradient(70% 90% at 100% 50%, rgba(250,204,21,.35), transparent 62%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 2px, transparent 2px 20px), linear-gradient(135deg,#18181B 0%,#09090B 100%)}
  .bn-blitz .bn-k, .bn-blitz .bn-go{background:#FACC15; color:#1A1400}
  .bn-blitz .bn-t{font-style:italic}
  .bn-bolt{display:grid; place-items:center; width:84px; height:84px; border-radius:50%; background:#FACC15; color:#1A1400;
    box-shadow:0 0 0 8px rgba(250,204,21,.18), 0 0 0 18px rgba(250,204,21,.07)}
  .bn-bolt svg{width:42px; height:42px; fill:currentColor}

  .bn-news{grid-template-columns:1fr; background:#0F172A}
  .bn-bg{position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover}
  .bn-news::before{content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg, rgba(10,14,26,.93) 0%, rgba(10,14,26,.78) 60%, rgba(10,14,26,.5) 100%)}
  .bn-news .bn-tx{padding-right:16px}
  .bn-news .bn-k{background:#22C55E; color:#04210F}
  .fc-slide .bn-t2{font-size:17px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden}
  .bn-news .bn-f{opacity:.8; font-size:11.5px}

  .bn-guide{background:linear-gradient(135deg,#FFF7E6 0%,#FBE7B5 100%); color:#1D1A12}
  .bn-guide .bn-k{background:#8A6414; color:#FFF8E6}
  .bn-guide .bn-go{background:#1D1A12; color:#FFF8E6}
  .bn-doc{position:relative; display:block; width:92px; transform:rotate(-5deg); background:#fff; border-radius:4px;
    box-shadow:7px 7px 0 -1px #F6ECD2, 7px 7px 0 0 #E2CF9C, 0 14px 24px -12px rgba(120,86,10,.55)}
  .bn-doc img{display:block; width:100%; height:auto; border-radius:4px}
  .bn-doc b{position:absolute; right:-9px; bottom:12px; font-size:9.5px; font-weight:800; letter-spacing:.06em; color:#fff; background:#D93025; padding:2px 6px; border-radius:5px}

  .bn-shorts{background:radial-gradient(80% 90% at 100% 0%, rgba(244,114,182,.4), transparent 60%), linear-gradient(135deg,#86198F 0%,#581C87 55%,#2E1065 100%)}
  .bn-shorts .bn-k{background:#FF3D5A; color:#fff}
  .bn-shorts .bn-go{color:#581C87}
  .bn-phones .fc-phone{width:62px; margin:0 -5px; border-width:2px; border-radius:11px}
  .bn-phones .fc-phone:first-child{transform:rotate(-6deg); z-index:2}
  .bn-phones .fc-phone:nth-child(2){transform:rotate(6deg) translateY(6px)}
  .bn-phones .fc-play{width:28px; height:28px; margin:-14px 0 0 -14px}
  .bn-phones .fc-play::before{border-width:6px 0 6px 10px; margin-left:3px}
/*@cbn:a:end*/
/*@cbn:b:start*/
  .fc-slide.bn-guide{color:#1D1A12}
  .fc-slide.bn-ncert{color:#FBEFDF}
/*@cbn:b:end*/
/*@cbn:c:start*/
  .bn-places{background:radial-gradient(80% 90% at 100% 0%, rgba(127,227,200,.28), transparent 60%), linear-gradient(135deg,#0B1E2D 0%,#12314A 52%,#0C2A26 100%); color:#fff}
  .bn-places .bn-k{background:#FACC15; color:#1A1400}
  .bn-places .bn-k i{background:#B91C1C}
  .bn-places .bn-go{color:#0B1E2D}
  .bn-covs{display:flex; align-items:center; justify-content:center}
  .bn-covs img{display:block; width:86px; height:auto; border-radius:4px; box-shadow:0 12px 22px -8px rgba(0,0,0,.75)}
  .bn-covs img:first-child{transform:rotate(-5deg)}
  .bn-covs img:last-child{margin-left:-30px; margin-top:14px; transform:rotate(4deg)}
  @media (min-width:760px){ .bn-covs img{width:98px} }
/*@cbn:c:end*/
/*@cbn:d:start*/
  .bn-species{background:radial-gradient(80% 90% at 100% 0%, rgba(233,188,98,.3), transparent 60%), linear-gradient(135deg,#0F2A1D 0%,#1B4332 55%,#0B2016 100%); color:#fff}
  .bn-species .bn-k{background:#FACC15; color:#1A1400}
  .bn-species .bn-k i{background:#B91C1C}
  .bn-species .bn-go{color:#0F2A1D}
  .bn-cov1 img:first-child{transform:rotate(3deg); width:104px}
  @media (min-width:760px){ .bn-cov1 img:first-child{width:116px} }
  .bn-protected{background:radial-gradient(80% 90% at 100% 0%, rgba(231,176,122,.32), transparent 60%), linear-gradient(135deg,#2A1D12 0%,#4A2F1B 55%,#1F150D 100%); color:#fff}
  .bn-protected .bn-k{background:#FACC15; color:#1A1400}
  .bn-protected .bn-k i{background:#B91C1C}
  .bn-protected .bn-go{color:#2A1D12}
/*@cbn:d:end*/
