/* EXPOSED — The Owl: last year's yearbook, the library's scanned copy. Paper pages you swipe sideways. */
.ico.yb{background:linear-gradient(160deg,#1A2F63,#0C1838);border:1px solid #2B4079}
.ico.yb svg{width:64%;height:64%}
.ico.yb .badge{font-family:var(--ui)}
.ybwrap{flex:1;min-height:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.ybwrap::-webkit-scrollbar{display:none}
.ybpg{flex:none;width:100%;scroll-snap-align:center;scroll-snap-stop:always;padding:10px 14px 4px;display:flex;min-height:0}
.ybpaper{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;position:relative;border-radius:5px;padding:20px 18px 34px;color:#1B2440;
  background:linear-gradient(90deg,rgba(0,0,0,.13),rgba(0,0,0,0) 7%),repeating-linear-gradient(0deg,rgba(120,100,60,.035) 0 2px,transparent 2px 5px),#EFE9DC;
  box-shadow:0 12px 30px rgba(0,0,0,.55);font-family:Georgia,"Times New Roman",serif;font-size:.92rem;line-height:1.45}
.ybpaper::-webkit-scrollbar{display:none}
.ybpaper h4{margin:0;font-family:var(--display);font-weight:400;font-size:2.1rem;line-height:1;letter-spacing:.01em;text-transform:uppercase;color:#14285A}
.ybpaper .ybsub{margin:4px 0 0;font-style:italic;color:#5A5F73;font-size:.86rem}
.ybpaper hr{border:0;height:2px;margin:10px 0 14px;background:linear-gradient(90deg,#B8912B,#B8912B 46px,rgba(184,145,43,.25) 46px)}
.ybpaper p{margin:0 0 .8em}
.ybno{display:block;text-align:right;margin:18px 0 -18px;font:italic .74rem Georgia,serif;color:#8A8676}
.ybph{margin:0 0 16px;position:relative}
.ybph img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border:5px solid #FBF8F0;box-shadow:0 2px 7px rgba(40,30,10,.3);filter:saturate(.82) contrast(.97);background:#D9D2C2}
.ybph.ybwide img{aspect-ratio:16/10;object-position:50% 46%}
.ybph.ybside{display:flex;gap:12px;align-items:center}
.ybph.ybside img{width:42%;aspect-ratio:1/1;flex:none}
.ybph.ybside figcaption{margin:0}
.ybph figcaption{margin-top:7px;font-size:.84rem;line-height:1.4}
.ybph figcaption b{display:block;font-family:var(--ui);font-weight:700;font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;color:#14285A;margin-bottom:1px}
.ybbar{display:inline-block;vertical-align:-.12em;height:.95em;width:5.6em;background:#0D0D0F;border-radius:1px}
.ybrow{display:flex;gap:14px;align-items:flex-start}
.ybrow .ybph{flex:1;min-width:0}
/* portraits */
.ybgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px 10px;position:relative}
.ybcell{text-align:center;position:relative}
.ybcell .ph{aspect-ratio:1/1.12;background:#D6CFBF;border:4px solid #FBF8F0;box-shadow:0 2px 6px rgba(40,30,10,.28);overflow:hidden;display:grid;place-items:center;font:italic .68rem/1.25 Georgia,serif;color:#6B6657;padding:0}
.ybcell .ph img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;filter:grayscale(1) contrast(1.06) brightness(1.03);display:block}
.ybcell .ph.gone{background:repeating-linear-gradient(135deg,#CFC8B8 0 6px,#D6CFBF 6px 12px)}
.ybcell small{display:block;margin-top:6px;font-family:var(--ui);font-size:.66rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#1B2440;min-height:1.1em}
.ybcell small .ybbar{width:4.6em;height:.9em}
.ybfine{margin:14px 0 0;font-size:.78rem;font-style:italic;color:#6B6657}
/* superlatives */
.ybsup{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px dotted #B9B19E;position:relative}
.ybsup:last-of-type{border-bottom:0}
.ybsup .av{flex:none;width:46px;height:46px;border-radius:50%;overflow:hidden;background:#D6CFBF;border:3px solid #FBF8F0;box-shadow:0 1px 4px rgba(40,30,10,.3)}
.ybsup .av img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;filter:grayscale(1) contrast(1.06);display:block}
.ybsup .av.gone{background:repeating-linear-gradient(135deg,#CFC8B8 0 5px,#D6CFBF 5px 10px)}
.ybsup span{min-width:0}
.ybsup b{display:block;font-family:var(--ui);font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#14285A}
.ybsup i{display:block;font-size:.9rem}
/* torn pages */
.ybtorn{margin:6px -18px 14px;height:26px;background:#E2DBCB;box-shadow:inset 0 6px 8px -6px rgba(0,0,0,.35);
  -webkit-clip-path:polygon(0 0,100% 0,100% 62%,96% 88%,91% 58%,86% 96%,80% 64%,74% 90%,68% 60%,61% 100%,55% 66%,49% 92%,43% 58%,37% 94%,30% 62%,24% 90%,18% 60%,12% 96%,6% 64%,0 86%);
  clip-path:polygon(0 0,100% 0,100% 62%,96% 88%,91% 58%,86% 96%,80% 64%,74% 90%,68% 60%,61% 100%,55% 66%,49% 92%,43% 58%,37% 94%,30% 62%,24% 90%,18% 60%,12% 96%,6% 64%,0 86%)}
.ybstamp{display:inline-block;border:1.5px solid #8A2A2A;color:#8A2A2A;font:700 .66rem/1.3 var(--ui);letter-spacing:.08em;text-transform:uppercase;padding:5px 8px;transform:rotate(-2deg);margin:2px 0 10px;opacity:.85}
/* handwriting */
.ybhand{font-family:"Caveat",cursive;font-size:1.5rem;line-height:1.15;color:#22304F;margin:0 0 18px;transform-origin:left center}
.ybhand.r1{transform:rotate(-3deg)}.ybhand.r2{transform:rotate(2deg);margin-left:22%;color:#3A2A4A}.ybhand.r3{transform:rotate(-1.5deg);color:#1E1E1E;font-size:1.32rem}
.ybhand.eg{color:#2B4FD8;font-size:1.25rem;transform:rotate(-5deg);margin:34px 0 0 46%;display:inline-flex;align-items:center;gap:8px;position:relative}
.ybhand.eg svg{width:34px;height:34px;flex:none}
/* the red pen (after Episode 1) */
.ybred{font-family:"Caveat",cursive;font-weight:700;color:#D4202C;font-size:1.55rem;line-height:1;transform:rotate(-7deg);display:inline-block}
.ybredu{text-decoration:underline;text-decoration-color:#D4202C;text-decoration-thickness:2px;text-underline-offset:3px;-webkit-text-decoration-color:#D4202C}
.ybring{position:absolute;inset:-9px -7px;pointer-events:none}
.ybring svg{width:100%;height:100%;overflow:visible}
.ybcell .ybred{position:absolute;left:0;right:0;top:26%;transform:rotate(-9deg);white-space:normal;text-align:center;z-index:2;font-size:1.28rem;line-height:.95}
.ybcell .ybring{inset:-8px -6px 12px}
/* cover */
.ybpaper.ybcover{background:radial-gradient(120% 90% at 50% 30%,#1D3470,#0C1838 75%);color:#D9B24A;display:flex;flex-direction:column;align-items:center;text-align:center;padding:34px 22px 22px;font-family:var(--ui)}
.ybpaper.ybcover::before{content:"";position:absolute;inset:12px;border:1.5px solid rgba(217,178,74,.55);border-radius:3px;pointer-events:none}
.ybpaper.ybcover svg.owl{width:46%;max-width:170px;margin:12px 0 18px}
.ybpaper.ybcover h4{color:#E3C063;font-size:4.2rem;letter-spacing:.03em}
.ybpaper.ybcover .sch{margin:8px 0 0;font-weight:700;letter-spacing:.22em;text-transform:uppercase;font-size:.72rem}
.ybpaper.ybcover .vol{margin:6px 0 0;font:italic .9rem Georgia,serif;color:#C9A441}
.yblabel{margin-top:auto;align-self:stretch;background:#F4F1E8;color:#15151A;border-radius:3px;padding:9px 11px;text-align:left;font-size:.68rem;line-height:1.35;box-shadow:0 2px 6px rgba(0,0,0,.4);position:relative;z-index:1}
.yblabel b{display:block;letter-spacing:.08em;text-transform:uppercase;font-size:.66rem}
.yblabel i{display:block;height:22px;margin-top:6px;background:repeating-linear-gradient(90deg,#111 0 2px,transparent 2px 3px,#111 3px 4px,transparent 4px 7px,#111 7px 10px,transparent 10px 11px,#111 11px 12px,transparent 12px 15px)}
/* pager */
.ybnav{flex:none;display:flex;align-items:center;justify-content:center;gap:18px;padding:6px 0 2px;color:var(--dim);font-size:.8rem;font-variant-numeric:tabular-nums}
.ybnav button{width:44px;height:40px;display:grid;place-items:center;color:var(--screen)}
.ybnav button[disabled]{opacity:.25}
.ybnav svg{width:20px;height:20px}
