:root {
  --wall: #17120e;
  --paper: #f4ecd6;
  --paper-2: #efe3c2;
  --sticky: #f5e27c;
  --ink: #1d1a14;
  --mute: #6f6753;
  --yarn: #b3262b;
  --yarn-dark: #6e1417;
  --cork: #b98b56;
  --cork-dark: #8c6538;
  --wood: #5a3d22;
  --ACC: #2f6db5;
  --Big12: #d9770d;
  --BigTen: #2f8f4e;
  --SEC: #8e4fa8;
  --IND: #0f9ba8;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: #efe6cf;
  font: 15px/1.5 "Courier Prime", "Courier New", monospace;
  background:
    radial-gradient(1200px 700px at 50% -10%, #3a2c1e 0%, transparent 60%),
    radial-gradient(900px 600px at 90% 110%, #2a1d12 0%, transparent 60%),
    var(--wall);
}
a { color: inherit; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  max-width: 1280px; margin: 0 auto; padding: 18px 20px 0; font-size: 13px; }
.back { text-decoration: none; color: #e0bf6a; }
.back:hover { text-decoration: underline; }
.stamp-line { font-family: "Special Elite", monospace; color: #c9b88a; letter-spacing: .04em; }
main { max-width: 1280px; margin: 0 auto; padding: 8px 20px 40px; }
.intro { padding: 18px 0 8px; max-width: 760px; }
.kicker { font-family: "Special Elite", monospace; color: #e0bf6a; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; margin: 0 0 6px; }
h1 { font-family: "Special Elite", monospace; font-weight: 400; font-size: clamp(34px, 6vw, 60px); line-height: 1.02; margin: 0 0 12px; color: #f7efd9; }
.lede { color: #cdbf9b; margin: 0; font-size: 16px; }

.controls { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; padding: 16px 0; }
@media (min-width: 981px) { .controls { position: sticky; top: 0; z-index: 20; background: linear-gradient(180deg, var(--wall) 75%, transparent); } }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button, .btn {
  font: inherit; cursor: pointer; color: #efe6cf; background: #2b2118; border: 1px solid #4b3a29;
  border-radius: 999px; padding: 7px 14px; transition: background .2s var(--ease), transform .2s var(--ease);
}
.tabs button:hover, .btn:hover { background: #3a2c1f; }
.tabs button[aria-selected="true"] { background: #e0bf6a; color: #231a0e; border-color: #e0bf6a; font-weight: 600; }
.tabs.small button { padding: 4px 11px; font-size: 13px; }
.btn.ghost { background: transparent; }
.weekpick, .marg, label.sel { display: flex; align-items: center; gap: 10px; color: #cdbf9b; font-size: 13px; }
.weekpick input, .marg input { accent-color: #e0bf6a; width: 160px; }
select { font: inherit; background: #2b2118; color: #efe6cf; border: 1px solid #4b3a29; border-radius: 8px; padding: 6px 10px; }
b { font-family: "Special Elite", monospace; font-weight: 400; color: #f7efd9; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; } }

/* The board */
.board {
  position: relative; min-height: 0; padding: 34px 26px 26px; overflow: hidden;
  border-radius: 6px; border: 14px solid var(--wood);
  border-image: linear-gradient(135deg, #7a552f, #4a3019 50%, #6d4a28) 1;
  background-color: var(--cork);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 .25  0 0 0 0 .15  0 0 0 0 .05  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='m'><feTurbulence type='turbulence' baseFrequency='.045' numOctaves='2' seed='9'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .3  0 0 0 0 .15  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23m)'/></svg>");
  box-shadow: inset 0 0 90px rgba(40, 22, 6, .55), 0 24px 60px -20px rgba(0, 0, 0, .8);
}
.cards { position: relative; z-index: 1; display: grid; gap: 30px 22px; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); z-index: 1; }
.cards.mini { grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 18px 12px; }
.card {
  position: relative; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
  border: 0; border-radius: 2px; padding: 26px 12px 10px;
  transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--rot, 0deg));
  box-shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 10px 18px -8px rgba(30, 14, 0, .65);
  transition: box-shadow .2s var(--ease), opacity .25s var(--ease), filter .25s var(--ease);
}
.card:nth-child(3n+1) { background: linear-gradient(180deg, #f7eed6, #ecdfba); }
.card:nth-child(4n+2) { background: linear-gradient(180deg, #f1f0e2, #e3e1cc); }
.card:hover, .card:focus-visible { box-shadow: 0 1px 1px rgba(0,0,0,.3), 0 18px 26px -8px rgba(30,14,0,.8); outline: none; z-index: 3; }
.card[aria-pressed="true"] { outline: 3px solid var(--yarn); outline-offset: 2px; }
.card.dim { opacity: .45; filter: saturate(.6); }
.card::before { content: ""; position: absolute; left: 50%; top: -6px; width: 54px; height: 16px; margin-left: -27px;
  background: rgba(238, 224, 168, .72); transform: rotate(var(--tape, -2deg)); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.card .conf { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.card .rk { position: absolute; right: 8px; top: 8px; font-family: "Special Elite", monospace; font-size: 22px; color: var(--yarn); transform: rotate(5deg); line-height: 1; }
.card h4 { margin: 0 50px 2px 4px; font-family: "Special Elite", monospace; font-weight: 400; font-size: 16px; line-height: 1.15; }
.card .meta { margin: 0 0 6px 4px; font-size: 12px; color: var(--mute); }
.card .bar { height: 5px; margin: 0 0 7px 4px; background: rgba(0,0,0,.12); border-radius: 3px; overflow: hidden; }
.card .bar i { display: block; height: 100%; background: var(--c); }
.card .row { display: flex; align-items: center; justify-content: space-between; margin-left: 4px; font-size: 11.5px; color: var(--mute); }
.card .chip { font-family: "Special Elite", monospace; font-size: 12px; margin-left: 6px; }
.chip.up { color: #1e7a3d; } .chip.down { color: var(--yarn); }
.spark { width: 64px; height: 18px; }
.cards.mini .card { padding: 20px 8px 7px; }
.cards.mini .card h4 { font-size: 13px; margin-right: 24px; }
.cards.mini .card .rk { font-size: 16px; top: 5px; right: 6px; }
.cards.mini .card .meta, .cards.mini .card .row, .cards.mini .card .bar { display: none; }

.tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px 10px; margin-top: 70px; padding-top: 12px; border-top: 2px dashed rgba(60, 35, 10, .35); }
.tags:empty { display: none; }
.tags::before { content: "Other suspects"; width: 100%; font-family: "Caveat", cursive; font-size: 22px; color: #3a2410; margin-bottom: -2px; }
.tag { position: relative; font: inherit; cursor: pointer; border: 0; color: var(--ink); padding: 9px 12px 6px 14px; border-radius: 2px;
  background: #f1e7c8; box-shadow: 0 6px 10px -6px rgba(30,14,0,.7); font-size: 12.5px; transform: rotate(var(--rot, 0deg)); }
.tag::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c, #666); }
.tag.out { background: #d8d2c2; font-style: italic; }
.tag small { color: var(--mute); display: block; font-size: 10.5px; }

.strings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.strings.pins { z-index: 3; }
.strings path.hit { pointer-events: stroke; cursor: help; fill: none; stroke: transparent; stroke-width: 14; }
.strings .yarn { fill: none; stroke: var(--yarn); stroke-linecap: round; transition: opacity .2s; }
.strings .yarn.black { stroke: #1d1713; }
.strings .yarn.hyp { stroke: #2c5aa8; stroke-dasharray: 7 6; }
.strings .shadow { fill: none; stroke: rgba(30, 14, 0, .35); stroke-linecap: round; }
.strings .faded { opacity: .12; }
.strings .glow { opacity: 1; filter: drop-shadow(0 0 3px rgba(255, 220, 140, .9)); }
.strings text { font-family: "Caveat", cursive; font-size: 18px; fill: #2c5aa8; }
.tip { position: absolute; z-index: 5; pointer-events: none; opacity: 0; transition: opacity .15s; max-width: 260px;
  background: #fff8dc; color: var(--ink); font-family: "Special Elite", monospace; font-size: 12px; line-height: 1.35;
  padding: 8px 10px; border-radius: 2px; box-shadow: 0 8px 16px rgba(0,0,0,.4); transform: rotate(-1deg); }
.tip.on { opacity: 1; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: #cdbf9b; padding: 10px 2px 0; align-items: center; }
.legend .mute { color: #9d8f6d; }
.ln { display: inline-block; width: 26px; height: 0; border-top: 3px solid var(--yarn); vertical-align: middle; margin-right: 6px; }
.ln.black { border-color: #1d1713; } .ln.dash { border-top: 3px dashed #2c5aa8; }

/* Case file */
.folder { }
.folder-tab { display: inline-block; font-family: "Special Elite", monospace; background: #d9b873; color: #2b1d08; padding: 5px 16px 6px; border-radius: 8px 8px 0 0; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.folder-body { background: linear-gradient(180deg, #e8cb8c, #dfbd76); color: var(--ink); border-radius: 0 8px 8px 8px; padding: 18px 18px 20px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); max-height: 82vh; overflow: auto; }
.folder h3 { font-family: "Special Elite", monospace; font-weight: 400; font-size: 22px; margin: 0 0 4px; }
.folder h5 { font-family: "Caveat", cursive; font-size: 22px; margin: 16px 0 2px; color: #4a2f10; }
.folder p { margin: 6px 0; font-size: 13.5px; }
.folder .big { font-family: "Special Elite", monospace; font-size: 30px; color: var(--yarn); line-height: 1; }
.folder table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.folder th, .folder td { padding: 3px 4px; text-align: left; border-bottom: 1px dotted rgba(60,40,10,.35); white-space: nowrap; }
.folder th { font-weight: 600; color: #5a4220; }
.folder td.n, .folder th.n { text-align: right; }
.folder .W { color: #1e7a3d; font-weight: 600; } .folder .L { color: var(--yarn); font-weight: 600; }
.folder .tag2 { font-size: 10px; padding: 0 5px; border: 1px solid rgba(60,40,10,.35); border-radius: 8px; margin-left: 4px; color: #5a4220; }
.folder .kv { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0; }
.folder .kv div { min-width: 70px; }
.folder .kv small { display: block; color: #6b5330; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.folder .kv span { font-family: "Special Elite", monospace; font-size: 18px; }
.folder .empty { color: #5a4220; font-family: "Caveat", cursive; font-size: 24px; line-height: 1.2; }
.folder .link { background: none; border: 0; padding: 0; font: inherit; color: #7b1d20; text-decoration: underline; cursor: pointer; }

/* Hypothesis desk + exhibit */
.desk, .exhibit { margin-top: 38px; }
.desk-head h2 { font-family: "Special Elite", monospace; font-weight: 400; font-size: 28px; margin: 0 0 4px; color: #f7efd9; }
.desk-head p { margin: 0; color: #cdbf9b; max-width: 760px; }
.desk-ctl { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding: 14px 0; }
.hyp-banner { font-family: "Special Elite", monospace; background: #2c5aa8; color: #fff; padding: 8px 14px; border-radius: 4px; margin-bottom: 14px; }
.stickies { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.sticky { position: relative; background: linear-gradient(160deg, #f8e98a, var(--sticky)); color: var(--ink); padding: 16px 14px 12px;
  transform: rotate(var(--rot, 0deg)); box-shadow: 0 10px 16px -8px rgba(0,0,0,.7); font-family: "Special Elite", monospace; }
.sticky::before { content: ""; position: absolute; top: -9px; left: 50%; margin-left: -9px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8a8a, #b3262b 60%, #6e1417); box-shadow: 0 3px 4px rgba(0,0,0,.45); }
.sticky .wk { font-size: 11px; color: #6b5a1a; letter-spacing: .08em; text-transform: uppercase; }
.sticky .vs { font-size: 15px; margin: 2px 0 8px; }
.sticky .pick { display: flex; gap: 6px; }
.sticky .pick button { flex: 1; font: inherit; font-size: 12.5px; padding: 6px 4px; background: rgba(255,255,255,.55); border: 1px solid rgba(60,40,10,.4); border-radius: 3px; cursor: pointer; color: var(--ink); }
.sticky .pick button[aria-pressed="true"] { background: #2c5aa8; color: #fff; border-color: #1b3d7a; }
.sticky .pr { font-size: 11.5px; color: #5d4d12; margin-top: 7px; }
.sticky.out { opacity: .85; }
.note-empty { font-family: "Caveat", cursive; font-size: 24px; color: #cdbf9b; }

.drift { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
@media (max-width: 980px) { .drift { grid-template-columns: 1fr; } }
.chart { background: linear-gradient(180deg, var(--paper), var(--paper-2)); border-radius: 3px; padding: 14px 12px 8px; color: var(--ink);
  box-shadow: 0 16px 28px -14px rgba(0,0,0,.8); transform: rotate(-.3deg); position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: "Special Elite", monospace; font-size: 11px; fill: #5a4a30; }
.chart .ln-t { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s; }
.chart .ln-t.dim { opacity: .12; }
.chart .ln-t.sel { stroke-width: 4; }
.chart .hypseg { stroke-dasharray: 4 4; }
.swings { background: #f1e7c8; color: var(--ink); border-radius: 3px; padding: 14px 16px; box-shadow: 0 16px 28px -14px rgba(0,0,0,.8); transform: rotate(.4deg); }
.swings h5 { font-family: "Caveat", cursive; font-size: 24px; margin: 0 0 6px; color: #4a2f10; }
.swings ol { margin: 0 0 10px; padding-left: 20px; font-size: 13px; }
.swings li button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.swings .up { color: #1e7a3d; } .swings .down { color: var(--yarn); }

.method { margin-top: 34px; color: #cdbf9b; max-width: 860px; }
.method details { border-top: 1px solid #3b2d20; padding: 10px 0; }
.method summary { cursor: pointer; font-family: "Special Elite", monospace; color: #e0bf6a; }
.method ul { margin: 8px 0 0; padding-left: 20px; }
.method table { border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.method th, .method td { border-bottom: 1px solid #3b2d20; padding: 3px 10px; text-align: left; }
.foot { max-width: 1280px; margin: 0 auto; padding: 22px 20px 40px; color: #8f8163; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media (max-width: 640px) { .board { padding: 28px 12px 18px; min-height: 480px; border-width: 9px; } .cards { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; } }


/* Stacked boards, one per conference */
.stack { display: flex; flex-direction: column; gap: 34px; min-width: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { text-decoration: none; font-size: 13.5px; color: #efe6cf; background: #2b2118; border: 1px solid #4b3a29; border-radius: 999px; padding: 6px 13px; }
.jump a:hover { background: #3a2c1f; }
.boardblock { scroll-margin-top: 70px; }
.bhead { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 0 0 8px; }
.bhead h2 { font-family: "Special Elite", monospace; font-weight: 400; font-size: 30px; margin: 0; color: #f7efd9; }
.bhead .bsub { font-family: "Caveat", cursive; font-size: 22px; color: #cdbf9b; }
.board.small .cards { max-width: 270px; }
.board.small .tags, .board.small .outs { max-width: 100%; }
.legend { margin-top: 18px; }
.ln.marker { border-top: 3px solid #22252e; border-radius: 3px; }

/* The site's frog line art, faint on the cork */
.deco { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; color: #3a2310; }
.deco svg { position: absolute; opacity: .32; overflow: visible; mix-blend-mode: multiply; }
.deco .d1 { width: 420px; height: 420px; right: -90px; top: -30px; transform: rotate(-12deg); }
.deco .d2 { width: 300px; height: 300px; left: -110px; bottom: 10%; transform: rotate(18deg); }
.deco .d3 { width: 340px; height: 220px; right: 8%; bottom: -60px; opacity: .4; }
.deco.v2 .d1 { left: -80px; right: auto; transform: rotate(14deg) scaleX(-1); }
.deco.v3 .d1 { top: auto; bottom: -70px; right: -60px; transform: rotate(8deg); }
.deco.v4 .d2 { left: auto; right: 6%; bottom: auto; top: 30%; }

/* Team logo as a marker sketch on the paper */
.card .logo { position: absolute; right: 8px; top: 30px; width: 46px; height: 46px; object-fit: contain; filter: url(#marker-outline); opacity: .92; pointer-events: none; }
.cards.mini .card .logo { display: none; }

/* Upsets by teams outside the Power Four: short marker notes */
.outs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 14px 12px; margin-top: 22px; }
.outs:empty { display: none; }
.outs::before { content: "Upset by the rest of the wall"; width: 100%; font-family: "Caveat", cursive; font-size: 22px; color: #3a2410; margin-bottom: -4px; }
.onote { position: relative; background: var(--sticky); color: var(--ink); font-size: 12.5px; padding: 8px 12px 7px 14px; border-radius: 2px; transform: rotate(var(--rot, 0deg));
  box-shadow: 0 7px 10px -6px rgba(30, 14, 0, .7); max-width: 240px; font-family: "Special Elite", monospace; }
.onote::before { content: ""; position: absolute; left: -2px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #22252e; }
.onote b { font-weight: 400; display: block; font-size: 14px; }
.onote span { color: #5d4d12; font-size: 11px; }
.onote.hyp { background: #bcd1f3; }
.strings .mk { fill: none; stroke: #22252e; stroke-linecap: round; stroke-linejoin: round; filter: url(#wobble); }
.strings .mk.hyp { stroke: #2c5aa8; stroke-dasharray: 8 6; }
.strings text.mkl { font-family: "Caveat", cursive; font-size: 19px; fill: #22252e; paint-order: stroke; stroke: rgba(233, 215, 164, .95); stroke-width: 5px; stroke-linejoin: round; transition: opacity .2s; }
.strings text.mkl.small { opacity: 0; }
.strings text.mkl.small.on { opacity: 1; }

/* The wall: sticky notes for the rest of college football */
.wallblock .board { padding-bottom: 34px; }
.wall-notes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 44px 40px; }
.wnote { position: relative; background: linear-gradient(160deg, var(--col, #f8e98a), var(--col2, #f2dc68)); color: var(--ink); padding: 18px 14px 12px;
  transform: rotate(var(--rot, 0deg)); box-shadow: 0 12px 18px -9px rgba(0, 0, 0, .7); font-family: "Special Elite", monospace; }
.wnote::before { content: ""; position: absolute; top: -9px; left: 50%; margin-left: -9px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8fb6ff, #2c5aa8 60%, #17356b); box-shadow: 0 3px 4px rgba(0, 0, 0, .45); }
.wnote h4 { margin: 0 0 6px; font-weight: 400; font-size: 17px; border-bottom: 1px dashed rgba(60, 40, 10, .45); padding-bottom: 3px; }
.wnote ol { list-style: none; margin: 0; padding: 0; font-size: 12.5px; }
.wnote li { display: grid; grid-template-columns: 20px 1fr auto; gap: 4px; align-items: baseline; padding: 1px 0; position: relative; }
.wnote li .n { color: #7b1d20; }
.wnote li .r { color: #5d4d12; font-size: 11.5px; }
.wnote li i { position: absolute; left: 22px; bottom: 0; height: 2px; background: rgba(60, 40, 10, .35); }
.wnote .star { color: #b3262b; margin-left: 3px; cursor: help; }
.wnote.c1 { --col: #f8e98a; --col2: #f3dc6a; } .wnote.c2 { --col: #f7c9d2; --col2: #f0b3c0; } .wnote.c3 { --col: #bfe6c9; --col2: #a8d9b5; }
.wnote.c4 { --col: #cfe0f6; --col2: #b6cfee; } .wnote.c5 { --col: #f9d9a9; --col2: #f2c78a; } .wnote.c6 { --col: #e0d2f3; --col2: #cdbbea; }
.wall-hint { position: relative; z-index: 1; font-family: "Caveat", cursive; font-size: 22px; color: #3a2410; max-width: 560px; margin: 0 0 24px; }
@media (max-width: 640px) { .wall-notes { grid-template-columns: 1fr; } }

/* Each board has its own case file beside it */
.bsplit { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: stretch; }
@media (max-width: 1060px) { .bsplit { grid-template-columns: 1fr; } }
.cfile { min-width: 0; align-self: stretch; }
.cfile .folder { position: sticky; top: calc(var(--bar-h, 90px) + 14px); }
@media (max-width: 1060px) { .cfile .folder { position: static; } }
.cfile .folder-body { max-height: calc(100vh - var(--bar-h, 90px) - 70px); }
.folder .btnrow { display: flex; gap: 8px; margin: 10px 0 2px; flex-wrap: wrap; }
.folder .mini { font: inherit; font-size: 12px; cursor: pointer; background: #f6e6b4; border: 1px solid rgba(60,40,10,.45); border-radius: 4px; padding: 3px 9px; color: var(--ink); }
.folder .mini:hover { background: #fff2c9; }
.folder .mini[aria-pressed="true"] { background: #2c5aa8; color: #fff; border-color: #1b3d7a; }

/* Compare tray in the sticky bar */
.tray { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-left: auto; }
.tray-l { font-family: "Special Elite", monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #e0bf6a; }
.slot { font: inherit; font-size: 13px; cursor: pointer; color: #efe6cf; background: #2b2118; border: 1px dashed #6b5638; border-radius: 6px; padding: 5px 10px; }
.slot.filled { border-style: solid; border-color: #e0bf6a; color: #fff; }
.btn:disabled { opacity: .4; cursor: default; }
dialog#cmp { border: 0; padding: 0; background: transparent; width: min(980px, 94vw); max-height: 92vh; overflow: auto; color: var(--ink); }
dialog#cmp::backdrop { background: rgba(8, 5, 2, .78); }
.cmp-wrap { background: linear-gradient(180deg, #e8cb8c, #dfbd76); border-radius: 8px; padding: 22px 24px 24px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); font-family: "Courier Prime", monospace; }
.cmp-wrap h3 { font-family: "Special Elite", monospace; font-weight: 400; font-size: 26px; margin: 0 0 4px; }
.cmp-wrap h5 { font-family: "Caveat", cursive; font-size: 24px; margin: 16px 0 2px; color: #4a2f10; }
.cmp-wrap table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cmp-wrap th, .cmp-wrap td { padding: 4px 6px; text-align: left; border-bottom: 1px dotted rgba(60,40,10,.35); }
.cmp-wrap th { color: #5a4220; font-weight: 600; }
.cmp-wrap td.n, .cmp-wrap th.n { text-align: right; }
.cmp-wrap .W { color: #1e7a3d; font-weight: 600; } .cmp-wrap .L { color: var(--yarn); font-weight: 600; }
.cmp-wrap .probs { display: flex; gap: 12px; flex-wrap: wrap; margin: 10px 0; }
.cmp-wrap .probs > div { flex: 1 1 160px; border: 1px solid rgba(60,40,10,.4); border-radius: 8px; padding: 8px 10px; background: rgba(255,255,255,.35); }
.cmp-wrap .probs .big { font-family: "Special Elite", monospace; font-size: 28px; color: var(--yarn); line-height: 1.1; }
.cmp-wrap .note { font-size: 12px; color: #5a4220; }
.cmp-wrap .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.cmp-wrap .tools { display: flex; gap: 8px; }
.cmp-wrap .tools button { font: inherit; font-size: 12.5px; padding: 5px 12px; border-radius: 6px; border: 1px solid rgba(60,40,10,.5); background: #f6e6b4; cursor: pointer; }

/* Desk details: tale of the tape */
.sticky details { margin-top: 8px; font-size: 11.5px; }
.sticky summary { cursor: pointer; color: #5d4d12; }
.sticky .tape { width: 100%; border-collapse: collapse; margin-top: 4px; }
.sticky .tape td, .sticky .tape th { padding: 2px 3px; border-bottom: 1px dotted rgba(60,40,10,.35); text-align: center; font-weight: 400; }
.sticky .tape th { color: #6b5a1a; }
.sticky .tape td:first-child, .sticky .tape th:first-child { text-align: left; color: #5d4d12; }
.sticky .co { margin-top: 5px; font-size: 11px; color: #3c320d; }
.sticky .cmpbtn { margin-top: 7px; font: inherit; font-size: 11.5px; cursor: pointer; background: rgba(255,255,255,.55); border: 1px solid rgba(60,40,10,.4); border-radius: 3px; padding: 3px 8px; }

/* Ranked markers: a legal pad */
.markers { margin-top: 38px; }
.mk-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 980px) { .mk-grid { grid-template-columns: 1fr; } }
.pad { list-style: none; margin: 0; padding: 14px 14px 14px 52px; position: relative; color: var(--ink);
  background: repeating-linear-gradient(180deg, #fbf3c6 0, #fbf3c6 31px, #b9cde8 31px, #b9cde8 32px); border-radius: 3px; box-shadow: 0 16px 28px -14px rgba(0,0,0,.8); }
.pad::before { content: ""; position: absolute; left: 40px; top: 0; bottom: 0; width: 2px; background: #d9534f; opacity: .7; }
.pad li { display: flex; align-items: center; gap: 8px; height: 32px; cursor: grab; position: relative; font-family: "Special Elite", monospace; font-size: 14px; }
.pad li.drag { opacity: .35; }
.pad li .no { position: absolute; left: -38px; width: 28px; text-align: right; color: #7b1d20; font-size: 13px; }
.pad li .cap { width: 22px; height: 11px; border-radius: 6px 3px 3px 6px; background: var(--c); border: 1px solid rgba(0,0,0,.45); flex: none; box-shadow: inset 0 -2px 0 rgba(0,0,0,.2); }
.pad li .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pad li .pr { font-size: 11px; color: #6b5a1a; }
.pad li .mv { font-size: 11px; }
.pad li .mv.up { color: #1e7a3d; } .pad li .mv.down { color: var(--yarn); }
.pad li button { font: inherit; font-size: 11px; line-height: 1; padding: 3px 5px; background: rgba(255,255,255,.6); border: 1px solid rgba(60,40,10,.35); border-radius: 3px; cursor: pointer; color: var(--ink); }
.pad li.out30 { opacity: .5; }
.pad li.moved .nm { color: #2c5aa8; }
.effect { background: #f1e7c8; color: var(--ink); border-radius: 3px; padding: 14px 16px; box-shadow: 0 16px 28px -14px rgba(0,0,0,.8); }
.effect h5 { font-family: "Caveat", cursive; font-size: 24px; margin: 0 0 4px; color: #4a2f10; }
.effect table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.effect th, .effect td { padding: 3px 5px; text-align: left; border-bottom: 1px dotted rgba(60,40,10,.35); white-space: nowrap; }
.effect th { color: #5a4220; font-weight: 600; }
.effect td.n, .effect th.n { text-align: right; }
.effect .up { color: #1e7a3d; } .effect .down { color: var(--yarn); }
.effect .moved { color: #2c5aa8; }
.effect .empty { font-family: "Caveat", cursive; font-size: 22px; color: #5a4220; }

/* Black Sharpie frogs, one per Power Four board */
.board.p4 { padding-bottom: 170px; }
.frog { position: absolute; right: 14px; bottom: 6px; width: 230px; height: 190px; z-index: 1; pointer-events: none; color: #14141a; }
.frog svg { width: 100%; height: 100%; overflow: visible; filter: url(#wobble-lite); }
.frog text { font-family: "Caveat", cursive; font-weight: 700; }
@media (max-width: 640px) { .frog { width: 170px; height: 140px; } .board.p4 { padding-bottom: 130px; } }


/* Master board: all four conferences on one wall, Notre Dame as a sticker */
.weekpick .hint { color: #9d8f6d; font-size: 12px; max-width: 230px; line-height: 1.25; }
.board#board-master { padding-top: 40px; }
.zones { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
@media (max-width: 760px) { .zones { grid-template-columns: 1fr; } }
.zone { position: relative; border: 2.5px dashed rgba(58, 35, 16, .55); border-radius: 10px; padding: 26px 14px 16px; }
.zlabel { position: absolute; top: -18px; left: 16px; margin: 0; padding: 0 10px; font-family: "Special Elite", monospace; font-weight: 400; font-size: 20px; color: #fff3d6;
  background: var(--c); border-radius: 4px; transform: rotate(-1.5deg); box-shadow: 0 4px 8px -4px rgba(0,0,0,.6); }
.zcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 20px 12px; }
.mcard { position: relative; text-align: left; font: inherit; cursor: pointer; color: var(--ink); border: 0; border-radius: 2px; padding: 20px 9px 7px;
  background: linear-gradient(180deg, #f6edd4, #ecdfba); transform: rotate(var(--rot, 0deg)); box-shadow: 0 1px 1px rgba(0,0,0,.3), 0 8px 12px -7px rgba(30,14,0,.7); transition: box-shadow .2s var(--ease); }
.mcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.mcard:hover, .mcard:focus-visible { outline: none; box-shadow: 0 1px 1px rgba(0,0,0,.3), 0 14px 18px -8px rgba(30,14,0,.85); z-index: 3; }
.mcard.sel { outline: 3px solid var(--yarn); outline-offset: 2px; }
.mcard b { display: block; font-family: "Special Elite", monospace; font-weight: 400; font-size: 12.5px; line-height: 1.15; margin: 0 24px 2px 2px; }
.mcard .mrk { position: absolute; right: 6px; top: 4px; font-family: "Special Elite", monospace; font-size: 15px; color: var(--yarn); }
.mcard .mrec { font-size: 11px; color: var(--mute); margin-left: 2px; }
.mcard .mlogo { position: absolute; right: 5px; bottom: 5px; width: 26px; height: 26px; object-fit: contain; filter: url(#marker-outline); opacity: .9; pointer-events: none; }
.ab { position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; background: var(--yarn); color: #fff; font-family: "Special Elite", monospace; font-size: 13px; line-height: 22px; text-align: center; box-shadow: 0 3px 5px rgba(0,0,0,.5); }
.board#board-master .strings { z-index: 2; }
.board#board-master .strings.pins { z-index: 3; }
.sticker { position: absolute; z-index: 4; top: -22px; right: 24px; width: 104px; height: 104px; border-radius: 50%; border: 0; cursor: pointer; padding: 0; text-align: center;
  background: radial-gradient(circle at 35% 30%, #fffbe9, #efe3bf 70%, #dccd9f); color: var(--ink); transform: rotate(8deg); box-shadow: 0 2px 2px rgba(0,0,0,.35), 0 12px 18px -8px rgba(30,14,0,.85); outline: 3px dashed rgba(58,35,16,.4); outline-offset: -8px; }
.sticker img { position: absolute; left: 50%; top: 14px; margin-left: -23px; width: 46px; height: 46px; object-fit: contain; filter: url(#marker-outline); }
.sticker .sn { position: absolute; right: 12px; top: 16px; font-family: "Special Elite", monospace; font-size: 15px; color: var(--yarn); }
.sticker .st { position: absolute; left: 0; right: 0; bottom: 16px; font-family: "Caveat", cursive; font-weight: 700; font-size: 17px; line-height: 1; }
.sticker.sel { outline: 3px solid var(--yarn); outline-offset: 2px; }
.sticker .ab { left: 2px; top: 2px; }

/* Compare: left file | compare | right file */
.versus { margin-top: 18px; }
.vs-empty { font-family: "Caveat", cursive; font-size: 24px; color: #cdbf9b; margin: 6px 0; }
.vs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.vs-grid.one { grid-template-columns: minmax(0, 420px) 1fr; align-items: center; }
@media (max-width: 1100px) { .vs-grid, .vs-grid.one { grid-template-columns: 1fr; } }
.vs-grid .folder-body { max-height: 70vh; }
.vs-mid .cmp-wrap { border-radius: 0 8px 8px 8px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); max-height: 70vh; overflow: auto; }
.vs-mid .folder-tab { background: #c9d9f2; color: #14284d; }

/* fixes: card names stay dark on paper; the sticker gets room above the zones */
.mcard b, .sticker .sn, .sticker .st { color: var(--ink); }
.mcard .mrk, .sticker .sn { color: var(--yarn); }
.board#board-master { padding-top: 116px; }
.sticker { top: 10px; right: 26px; }
@media (max-width: 640px) { .board#board-master { padding-top: 120px; } .sticker { right: 10px; } }

.mcard { padding-top: 27px; }
.mcard .mrk { top: 7px; }

.cmp-wrap { color: var(--ink); }
.cmp-wrap h3 { color: var(--ink); }

/* The SEC frog's briefcase needs more room */
.frog.wide { width: 300px; }
@media (max-width: 640px) { .frog.wide { width: 220px; } }

/* Ranked markers: a small board of sticky notes */
.mk-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
@media (max-width: 980px) { .mk-grid { grid-template-columns: 1fr; } }
.board.mboard { padding: 22px 16px 26px; }
.snotes { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 22px 12px; }
.snote { position: relative; background: linear-gradient(160deg, var(--bg, #f8e98a), color-mix(in srgb, var(--bg, #f8e98a) 82%, #b79a2a)); color: var(--ink); padding: 22px 8px 8px; cursor: grab;
  transform: rotate(var(--rot, 0deg)); box-shadow: 0 9px 13px -7px rgba(30, 14, 0, .75); font-family: "Special Elite", monospace; min-height: 124px; }
.snote::before { content: ""; position: absolute; top: -7px; left: 50%; margin-left: -7px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6, var(--c) 60%); box-shadow: 0 3px 4px rgba(0,0,0,.45); }
.snote.drag { opacity: .35; }
.snote.sel { outline: 3px solid var(--yarn); outline-offset: 2px; }
.snote.moved { box-shadow: 0 0 0 2px #2c5aa8, 0 9px 13px -7px rgba(30, 14, 0, .75); }
.snote .sno { position: absolute; left: 7px; top: 4px; font-size: 15px; color: var(--yarn); }
.snote .nlogo { position: absolute; right: 5px; top: 7px; width: 28px; height: 28px; object-fit: contain; filter: url(#marker-outline); opacity: .9; pointer-events: none; }
.snote .nm { display: block; font-weight: 400; font-size: 12.5px; line-height: 1.15; margin: 14px 0 3px; color: var(--ink); }
.snote .was { display: block; font-size: 10px; line-height: 1.2; color: #5d4d12; max-width: 82px; }
.snote .cfp { display: block; font-size: 11.5px; color: #1e5a2c; margin-top: 3px; }
.snote .mv { position: absolute; right: 4px; bottom: 4px; display: flex; gap: 3px; }
.snote .mv button { font: inherit; font-size: 11px; line-height: 1; padding: 2px 5px; background: rgba(255,255,255,.6); border: 1px solid rgba(60,40,10,.35); border-radius: 3px; cursor: pointer; color: var(--ink); }
.knock { margin-top: 14px; color: #cdbf9b; }
.knock summary { cursor: pointer; font-family: "Special Elite", monospace; color: #e0bf6a; }
.knock .effect { margin-top: 8px; }
#outcome .big { color: var(--yarn); }
#outcome b.W { color: #1e7a3d; } #outcome b.L { color: var(--yarn); }
#outcome .kv small { font-size: 11px; }


/* Ranked markers: each note takes its conference color */
.snote { background: linear-gradient(160deg, color-mix(in srgb, var(--c) 34%, #fff6d8), color-mix(in srgb, var(--c) 54%, #eadba5)); }

/* Hypothesis desk: notes on the left, a ranking-effects folder on the right */
.desk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
@media (max-width: 1060px) { .desk-grid { grid-template-columns: 1fr; } }
.deskfile { align-self: stretch; }
.deskfile .folder { position: sticky; top: calc(var(--bar-h, 90px) + 14px); }
@media (max-width: 1060px) { .deskfile .folder { position: static; } }
.deskfile .folder-body { max-height: calc(100vh - var(--bar-h, 90px) - 70px); }
.deskfile tr.cut td { border-bottom: 2px dashed #7b1d20; }
.deskfile tr.pk td { background: rgba(44, 90, 168, .12); }
.deskfile .W { color: #1e7a3d; font-weight: 600; } .deskfile .L { color: var(--yarn); font-weight: 600; }

/* A loud ribbon whenever the boards are showing hypothetical results */
.ribbon { flex: 1 0 100%; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #2c5aa8; color: #fff; padding: 8px 14px; border-radius: 6px;
  font-family: "Special Elite", monospace; font-size: 13px; }
.ribbon[hidden] { display: none; }
.ribbon button { font: inherit; font-size: 12.5px; cursor: pointer; background: #fff; color: #1b3d7a; border: 0; border-radius: 4px; padding: 5px 12px; }


/* Jump buttons: embossed label-tape strips */
.jump { gap: 10px 8px; }
.jump a { font-family: "Special Elite", monospace; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: #f4efe0; background: #1c1c20; border: 0; border-radius: 2px;
  padding: 8px 13px 6px; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -2px 0 rgba(0,0,0,.55), 0 2px 0 #000;
  text-shadow: 0 -1px 0 rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.22); transition: transform .15s var(--ease), background .15s; }
.jump a:hover { background: #2b2b31; transform: translateY(-1px); }
.jump a:active { transform: translateY(1px); box-shadow: inset 0 2px 3px rgba(0,0,0,.6); }


/* "Enter your rankings" sticker, top right */
main { position: relative; }
.cta-sticker { position: absolute; top: 14px; right: 24px; z-index: 6; width: 150px; padding: 16px 12px 12px; text-align: center; text-decoration: none; color: #1d1a14;
  font-family: "Caveat", cursive; font-weight: 700; font-size: 26px; line-height: .95; background: radial-gradient(circle at 30% 25%, #fffbe9, #f1e5c0 75%, #e0d1a3);
  border-radius: 6px; transform: rotate(5deg); box-shadow: 0 2px 2px rgba(0,0,0,.4), 0 14px 22px -10px rgba(0,0,0,.9); outline: 3px dashed rgba(179, 38, 43, .7); outline-offset: -7px; transition: transform .2s var(--ease); }
.cta-sticker span { display: block; font-size: 30px; color: var(--yarn); margin-top: 4px; }
.cta-sticker:hover { transform: rotate(2deg) scale(1.05); }
@media (max-width: 760px) { .cta-sticker { position: relative; top: auto; right: auto; display: inline-block; margin: 6px 0 0; width: auto; padding: 10px 18px; font-size: 22px; transform: rotate(-2deg); } .cta-sticker span { display: inline; margin-left: 8px; font-size: 22px; } }


/* Big 12 frog needs room for the raised hand */
.frog.mid { width: 252px; }
@media (max-width: 640px) { .frog.mid { width: 190px; } }

/* Race for the auto-bid */
.wall-hint { grid-column: 1 / -1; margin: 0 0 4px; }
.wall-hint b { font-weight: 700; color: #7b1d20; }
.wnote li { grid-template-columns: 20px 1fr auto 34px; }
.wnote li .p { text-align: right; font-size: 11px; color: #4a3c10; }
#wall-labels .circ { fill: none; stroke: var(--yarn); stroke-linecap: round; filter: url(#wobble); opacity: .92; }
#wall-labels .circl { font-family: "Caveat", cursive; font-weight: 700; font-size: 17px; fill: var(--yarn); paint-order: stroke; stroke: rgba(255, 244, 205, .9); stroke-width: 4px; stroke-linejoin: round; }


/* strikes: one filled dot per loss, three and out */
.stk { font-size: 9px; letter-spacing: 1px; color: #7b1d20; margin: 0 2px; vertical-align: 1px; white-space: nowrap; }

.frog.wide { height: 202px; }


/* Big 12 frog holds a foam finger */
.frog.mid { width: 284px; }
@media (max-width: 640px) { .frog.mid { width: 210px; } }

/* Race for the auto-bid: conference + overall records */
.wall-notes { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.wnote li { grid-template-columns: 18px 1fr 34px 34px 36px; }
.wnote li.hd { font-size: 10px; color: #6b5a1a; border-bottom: 1px dotted rgba(60, 40, 10, .4); margin-bottom: 2px; }
.wnote li.hd span:nth-child(n+3) { text-align: right; }
.wnote li .r { text-align: right; }
.wnote li .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wnote li.hd i, .wnote li.hd .p { display: none; }

/* School logos behind the case files (right side, or left and right when comparing) */
.folder-body, .cmp-wrap { position: relative; }
.folder-body > :not(.wm), .cmp-wrap > :not(.wm) { position: relative; z-index: 1; }
.wm { position: absolute !important; top: 8px; width: 150px; height: 150px; object-fit: contain; opacity: .22; filter: url(#marker-outline); pointer-events: none; z-index: 0 !important; }
.wm-right { right: 10px; } .wm-left { left: 10px; }


/* Group of Six: pick two teams to compare */
.wnote li { cursor: pointer; border-radius: 3px; }
.wnote li:hover { background: rgba(255, 255, 255, .35); }
.wnote li.sel { background: rgba(44, 90, 168, .2); }
.wab { display: inline-block; min-width: 15px; padding: 0 3px; border-radius: 8px; background: var(--yarn); color: #fff; font-size: 10px; line-height: 15px; text-align: center; }
#wall-versus:empty { display: none; }



/* Notre Dame sticker: swings from its pin, the logo pops on every swing */
.sticker { transform-origin: 50% 8px; animation: nd-swing 3.4s ease-in-out infinite; }
.sticker img { animation: nd-pop 1.7s ease-in-out infinite; }
.sticker:hover { animation-play-state: paused; }
@keyframes nd-swing { 0%, 100% { transform: rotate(2deg); } 50% { transform: rotate(14deg); } }
@keyframes nd-pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14) rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .sticker, .sticker img { animation: none; } }

/* "Enter your rankings" sticker: rocks like a peeling sticker, arrow bobs */
.cta-sticker { transform-origin: 100% 0; animation: cta-rock 2.8s ease-in-out infinite; }
.cta-sticker span { animation: cta-bob 1s ease-in-out infinite; }
.cta-sticker:hover { animation-play-state: paused; }
@keyframes cta-rock { 0%, 100% { transform: rotate(5deg); } 50% { transform: rotate(-1deg) scale(1.03); } }
@keyframes cta-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (max-width: 760px) { .cta-sticker { transform-origin: 50% 50%; animation-name: cta-rock-m; } .cta-sticker span { animation: none; } }
@keyframes cta-rock-m { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .cta-sticker, .cta-sticker span { animation: none; } }

/* AP Top 25 */
.appoll { margin-top: 38px; }
.appoll[hidden] { display: none; }
.ap-sheet { margin-top: 14px; background: linear-gradient(180deg, var(--paper), var(--paper-2)); color: var(--ink); border-radius: 3px; padding: 14px 16px 16px;
  box-shadow: 0 2px 2px rgba(0,0,0,.35), 0 18px 28px -14px rgba(30,14,0,.8); }
.ap-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ap-table th { text-align: left; font-family: "Special Elite", monospace; font-weight: 400; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #6b5a1a; padding: 4px 8px; border-bottom: 1px solid rgba(60,40,10,.4); }
.ap-table td { padding: 5px 8px; border-bottom: 1px dotted rgba(60,40,10,.3); }
.ap-table .apn { font-family: "Special Elite", monospace; width: 36px; color: var(--yarn); }
.ap-table .apt { display: flex; align-items: center; gap: 9px; }
.ap-table .apt img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.ap-table .apb { font-family: "Special Elite", monospace; }
.ap-na { color: #6b5a1a; font-family: "Courier Prime", monospace; font-size: 12px; }
.ap-row.link { cursor: pointer; }
.ap-row.link:hover { background: rgba(255,255,255,.45); }
.ap-d { font-size: 12px; font-weight: 600; }
.ap-d.up { color: #2f6b2f; } .ap-d.dn { color: #9a2a2a; }
.ap-only { margin: 12px 2px 0; font-size: 13.5px; }
.ap-only .link { cursor: pointer; text-decoration: underline; }
@media (max-width: 640px) { .ap-table th:nth-child(4), .ap-table td:nth-child(4) { display: none; } .ap-sheet { padding: 10px; } }

/* ---- what-if stickies: tape on top, circle the winner ---- */
.sticky { padding: 22px 16px 14px; background: linear-gradient(165deg, #fbef9a, #f4dc6b); }
.sticky::before { top: -12px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 0; box-shadow: 0 1px 3px rgba(0,0,0,.35);
  background: linear-gradient(180deg, rgba(255,252,230,.8), rgba(236,226,190,.74)); transform: rotate(-2deg);
  clip-path: polygon(0 0, 100% 0, 98% 25%, 100% 50%, 98% 75%, 100% 100%, 0 100%, 2% 75%, 0 50%, 2% 25%); }
.sticky .teams { position: relative; display: flex; flex-direction: column; gap: 0; margin: 4px 0 8px; touch-action: none; cursor: crosshair; user-select: none; -webkit-user-select: none; }
.sticky .teams.off { cursor: default; }
.sticky .tm { position: relative; padding: 3px 8px; font-family: "Caveat", cursive; font-weight: 700; font-size: 28px; line-height: 1.05; outline: none; }
.sticky .tm span { position: relative; z-index: 1; }
.sticky .tm:focus-visible { box-shadow: 0 0 0 2px rgba(44,90,168,.7); }
.sticky .tm[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0 -4px; border: 3px solid #c0262b; border-radius: 48% 52% 50% 50% / 60% 55% 45% 40%;
  transform: rotate(-2deg); animation: circle-in .25s ease-out; pointer-events: none; }
.sticky .at { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #6b5a1a; padding-left: 10px; }
.scrawl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.scrawl path { fill: none; stroke: #c0262b; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
@keyframes circle-in { from { transform: rotate(-2deg) scale(.7); opacity: 0; } to { transform: rotate(-2deg) scale(1); opacity: 1; } }

/* ---- "Enter your rankings": a taped index card with the word circled ---- */
.cta-sticker { width: 176px; padding: 24px 14px 10px; text-align: left; font-size: 28px; line-height: 1.05; color: #1d1a14; border-radius: 2px; outline: 0;
  background: #fbf6e4 repeating-linear-gradient(180deg, transparent 0 25px, rgba(60,110,170,.3) 25px 26px); }
.cta-sticker .cta-tape { position: absolute; top: -11px; left: 50%; width: 76px; height: 22px; margin-left: -38px; background: rgba(255,247,200,.78); transform: rotate(-3deg);
  box-shadow: 0 1px 3px rgba(0,0,0,.3); clip-path: polygon(0 0, 100% 0, 98% 30%, 100% 60%, 98% 100%, 0 100%, 2% 60%, 0 30%); }
.cta-sticker b { display: block; font-weight: 700; color: #1d1a14; }
.cta-sticker em { position: relative; display: inline-block; font-style: normal; color: var(--yarn); }
.cta-sticker em::after { content: ""; position: absolute; inset: -3px -9px -1px; border: 2.5px solid #c0262b; border-radius: 52% 48% 55% 45% / 58% 50% 50% 42%; transform: rotate(-4deg); }
.cta-arrow { display: block; width: 34px; height: 40px; margin: 2px 4px 0 auto; fill: none; stroke: #c0262b; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round;
  animation: cta-bob 1s ease-in-out infinite; }
@media (max-width: 760px) { .cta-sticker { width: auto; max-width: 300px; padding: 20px 20px 8px; } .cta-arrow { display: inline-block; vertical-align: middle; margin: 0 0 0 8px; width: 24px; height: 28px; animation: none; } }
@media (prefers-reduced-motion: reduce) { .cta-arrow { animation: none; } }

/* ---- Oklahoma sticker on the master board ---- */
.board#board-master { padding-top: 150px; }
.ou-sticker { position: absolute; z-index: 4; top: 12px; left: 22px; width: 156px; padding: 10px 10px 4px; background: #fffbe9; border-radius: 16px; pointer-events: none;
  transform: rotate(-5deg); box-shadow: 0 2px 2px rgba(0,0,0,.35), 0 12px 18px -8px rgba(30,14,0,.85); outline: 3px dashed rgba(58,35,16,.35); outline-offset: -7px; }
.ou-sticker .frog { position: static; width: 100%; height: auto; color: #14141a; }
.ou-sticker .frog svg { width: 100%; height: auto; }
.ou-sticker span { display: block; text-align: center; font-family: "Caveat", cursive; font-weight: 700; font-size: 20px; color: var(--ink); }
@media (max-width: 640px) { .ou-sticker { width: 108px; top: 8px; left: 10px; } .board#board-master { padding-top: 130px; } }

/* the old intro lines are gone */
.intro { padding: 18px 0 4px; }

/* card sits in the header band: text and arrow side by side */
.cta-sticker { display: flex; align-items: flex-end; gap: 6px; width: 220px; padding: 22px 12px 8px 14px; font-size: 27px; }
.cta-sticker b { flex: 1; }
.cta-arrow { margin: 0 2px 2px 0; flex: none; }
@media (max-width: 760px) { .cta-sticker { display: inline-flex; width: auto; max-width: 300px; } }

/* ---- what-if stickies, take two: left team at right team, click to circle, smaller ---- */
.stickies { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 16px; }
.sticky { padding: 18px 12px 10px; }
.sticky::before { top: -10px; width: 64px; height: 20px; margin-left: -32px; }
.sticky .teams { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 0 2px; touch-action: auto; cursor: default; margin: 2px 0 6px; }
.sticky .tm { cursor: pointer; font-size: 23px; padding: 2px 7px; line-height: 1.05; }
.sticky .teams.off .tm { cursor: default; }
.sticky .tm[aria-pressed="true"]::after { content: none; }
.sticky .at { font-size: 11px; padding: 0 1px; }
.sticky .wk { font-size: 10px; margin-bottom: 0; }
.sticky .pr { font-size: 11px; }
.sticky .ring { position: absolute; left: -5px; top: -4px; width: calc(100% + 10px); height: calc(100% + 8px); overflow: visible; pointer-events: none; }
.sticky .ring path { fill: none; stroke: #c0262b; stroke-width: 2.8; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; animation: ring-draw .4s ease-out; }
@keyframes ring-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .sticky .ring path { animation: none; } }

/* ---- Oklahoma sticker as a headline on the master board ---- */
.board#board-master { padding-top: 190px; }
.ou-sticker { width: 206px; padding: 10px 12px 10px; }
.ou-sticker span { margin-top: 2px; line-height: 1.05; font-size: 22px; }
.ou-sticker mark { background: linear-gradient(transparent 52%, #ffe14d 52%, #ffe14d 92%, transparent 92%); color: var(--ink); padding: 0 3px; }
@media (max-width: 640px) { .ou-sticker { width: 150px; } .ou-sticker span { font-size: 17px; } .board#board-master { padding-top: 175px; } }

/* ---- the page never scrolls sideways, so jumping to a section keeps the layout ---- */
html, body { overflow-x: clip; }
.folder-body, .effect, .cmp-wrap { overflow-x: auto; }
.folder-body table { max-width: 100%; }
#markers { scroll-margin-top: 12px; }

/* ---- fixes: notes keep their layout when selected, the rating stays clear of the logo, no arrows or knock-on box ---- */
.snote .mv { display: none; }
.card .meta { margin-right: 54px; line-height: 1.3; }
.sticky .ring path { animation: none; }
.sticky .ring.draw path { animation: ring-draw .4s ease-out; }
.ou-sticker { left: auto; right: 150px; width: 188px; pointer-events: auto; cursor: pointer; }
.board#board-master { padding-top: 215px; }
@media (max-width: 640px) { .ou-sticker { right: 118px; width: 138px; } .board#board-master { padding-top: 185px; } }

/* ---- case files and outcome files wide enough that nothing scrolls sideways ---- */
@media (min-width: 1061px) {
  .bsplit { grid-template-columns: minmax(0, 1fr) 420px; }
  .desk-grid { grid-template-columns: minmax(0, 1fr) 420px; }
  .mk-grid { grid-template-columns: minmax(0, 1fr) 460px; }
}
@media (min-width: 981px) and (max-width: 1060px) { .mk-grid { grid-template-columns: minmax(0, 1fr) 420px; } }

/* ---- the Oklahoma headline is plain text, the taped card holds still ---- */
.ou-sticker mark { background: none; padding: 0; }
.cta-sticker, .cta-sticker:hover { animation: none; transform: rotate(3deg); }
.cta-arrow { animation: none; }

.folder-body table { width: 100%; font-size: 12.5px; }
.folder-body th, .folder-body td { padding-left: 4px; padding-right: 4px; }
@media (min-width: 1061px) { .bsplit { grid-template-columns: minmax(0, 1fr) 460px; } }

/* pins sit on top of the stickers they hold down */
.strings.pins { z-index: 5; }

.board#board-master .strings.pins { z-index: 5; }
.folder-body { padding-left: 12px; padding-right: 10px; }
.folder-body table { font-size: 12px; }
.folder-body th, .folder-body td { padding-left: 3px; padding-right: 3px; }

/* two-team compare files sit side by side, so they run a little tighter */
.vs-grid .folder-body, #cmp-body .folder-body { padding: 14px 10px 16px; font-size: 12px; }
.vs-grid .folder-body table, #cmp-body .folder-body table { font-size: 11.5px; }
.vs-grid .folder-body th, .vs-grid .folder-body td, #cmp-body .folder-body th, #cmp-body .folder-body td { padding-left: 2px; padding-right: 2px; }

.vs-grid .folder-body { padding-left: 7px; padding-right: 7px; }

/* ---- no colored bar on the left of the team notes ---- */
.mcard::before { display: none; }
.card .conf { display: none; }
.card h4, .card .meta, .card .bar, .card .row { margin-left: 0; }

/* ---- "Last updated" as a clear vinyl sticker ---- */
.stamp-line { display: inline-block; transform: rotate(2deg); padding: 6px 13px 5px; border-radius: 9px; color: #f4ecd6; letter-spacing: .05em; font-size: 13px;
  background: linear-gradient(155deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.08) 38%, rgba(255,255,255,.14) 100%);
  border: 1.5px solid rgba(255,255,255,.5); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 6px 14px -6px rgba(0,0,0,.7);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); text-shadow: 0 1px 2px rgba(0,0,0,.5); }

/* ---- "Enter your rankings" in a marker face ---- */
.cta-sticker b { font-family: "Permanent Marker", "Caveat", cursive; font-weight: 400; font-size: 23px; line-height: 1.12; letter-spacing: .01em; }

/* ---- upcoming games: the AP number sits before the name ---- */
.sticky .apr { font-family: "Special Elite", monospace; font-size: 11px; color: #7b1d20; margin-right: 4px; vertical-align: .6em; letter-spacing: 0; }

/* ---- the row of buttons under the title: paper labels taped to the board ---- */
.jump { gap: 14px 10px; padding: 4px 2px 10px; }
.jump a { position: relative; font-family: "Special Elite", monospace; text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; color: #2a2118;
  background: linear-gradient(180deg, #f8f0da, #ecdfba); border: 0; border-radius: 2px; padding: 9px 15px 7px; text-shadow: none;
  box-shadow: 0 1px 1px rgba(0,0,0,.35), 0 8px 12px -8px rgba(0,0,0,.8); transform: rotate(-1.2deg); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.jump a:nth-child(even) { transform: rotate(1.1deg); }
.jump a:nth-child(3n) { transform: rotate(-.4deg); }
.jump a::before { content: ""; position: absolute; top: -6px; left: 50%; width: 30px; height: 11px; margin-left: -15px; background: rgba(255,247,200,.72);
  transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.25); clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%); }
.jump a:hover { background: linear-gradient(180deg, #fffaea, #f3e7c4); transform: rotate(0) translateY(-3px); box-shadow: 0 1px 1px rgba(0,0,0,.35), 0 14px 16px -8px rgba(0,0,0,.85); }
.jump a:active { transform: rotate(0) translateY(0); box-shadow: 0 1px 1px rgba(0,0,0,.4); }
.jump a:focus-visible { outline: 2px solid #e0bf6a; outline-offset: 3px; }
.slot { font-family: "Special Elite", monospace; font-size: 12.5px; color: #2a2118; background: #f4ead0; border: 1.5px dashed #8c6d3c; border-radius: 2px; padding: 6px 12px; box-shadow: 0 6px 10px -8px rgba(0,0,0,.8); transition: transform .15s var(--ease); }
.slot:hover { transform: translateY(-2px) rotate(-.6deg); }
.slot.filled { color: #2a2118; background: #fff7dd; border: 1.5px solid #b3262b; }
#open-cmp { font-family: "Special Elite", monospace; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: #2a2118; background: #e0bf6a; border: 0; border-radius: 2px; padding: 7px 16px; box-shadow: 0 2px 0 #8c6d3c; }
#open-cmp:hover:not(:disabled) { background: #ecd07e; transform: translateY(-1px); }
.tabs button, .btn { font-family: "Special Elite", monospace; font-size: 12.5px; letter-spacing: .04em; border-radius: 2px; color: #2a2118; background: #f1e5c4; border: 0; box-shadow: 0 2px 0 #8c6d3c; }
.tabs button:hover, .btn:hover { background: #fff3d1; transform: translateY(-1px); }
.tabs button[aria-selected="true"] { background: #e0bf6a; color: #231a0e; box-shadow: 0 2px 0 #7a5d24; }
.btn.ghost { background: transparent; color: #efe6cf; box-shadow: inset 0 0 0 1.5px #8c6d3c; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }

/* the sticker clears the "last updated" label */
.cta-sticker { top: 44px; }
@media (max-width: 760px) { .cta-sticker { top: auto; } }

/* ---- offense, defense and special teams on the cards ---- */
.card .odst { display: flex; gap: 8px; margin: 0 54px 4px 0; font-family: "Special Elite", monospace; font-size: 11px; letter-spacing: .02em; color: #3b2c14; }
.card .odst span + span::before { content: ""; }
.cards.mini .card .odst { display: none; }
.folder .kv i { font-style: normal; font-family: "Special Elite", monospace; font-size: 12px; color: var(--yarn); }
.folder p.mute { color: #6b5330; font-size: 12.5px; }


/* ---- "Enter your rankings": a ruled note torn at the bottom, the torn strip flapping in the draft ---- */
.intro { min-height: 150px; }
.cta-sticker { top: 44px; width: 232px; padding: 0; display: block; background: none; box-shadow: none; outline: 0; border-radius: 0; font-size: 0;
  transform: rotate(2.2deg); transform-origin: 50% 0; animation: none; perspective: 500px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.45)) drop-shadow(0 12px 12px rgba(0,0,0,.5)); }
.cta-sticker:hover { transform: rotate(2.2deg); animation: none; }
.cta-paper { display: flex; align-items: flex-end; gap: 4px; position: relative; padding: 24px 14px 8px 38px; min-height: 92px;
  background:
    linear-gradient(90deg, transparent 29px, rgba(196,54,54,.42) 29px, rgba(196,54,54,.42) 30.5px, transparent 30.5px),
    repeating-linear-gradient(180deg, transparent 0 29px, rgba(70,110,170,.34) 29px 30.5px),
    radial-gradient(rgba(120,95,40,.07) 1px, transparent 1.2px) 0 0 / 5px 5px,
    linear-gradient(172deg, #fdf9ea 0%, #f6efd6 100%); }
.cta-paper::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.35) 0%, transparent 35%), linear-gradient(0deg, rgba(110,85,40,.12), transparent 22%); }
.cta-sticker b { font-family: "Covered By Your Grace", "Caveat", cursive; font-weight: 400; font-size: 31px; line-height: 29px; letter-spacing: 0; color: #20242e; flex: 1; transform: rotate(-1.5deg); }
.cta-sticker em { color: #a8242b; }
.cta-sticker em::after { inset: -4px -8px 0; border-width: 2px; }
.cta-arrow { stroke: #a8242b; stroke-width: 3; width: 32px; height: 38px; margin: 0 0 2px; animation: none; }
.cta-tape { top: -12px; width: 78px; height: 22px; margin-left: -39px; z-index: 2; background: linear-gradient(180deg, rgba(255,250,215,.82), rgba(238,226,178,.74)); }
/* the torn strip: same paper, a ragged lower edge, hinged along the tear */
.cta-flap { position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 22px; transform-origin: 50% 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 29px, rgba(196,54,54,.42) 29px, rgba(196,54,54,.42) 30.5px, transparent 30.5px),
    repeating-linear-gradient(180deg, transparent 0 29px, rgba(70,110,170,.34) 29px 30.5px),
    linear-gradient(172deg, #f6efd6, #efe6c6);
  clip-path: polygon(0 0, 100% 0, 100% 46%, 96% 74%, 92% 52%, 87% 88%, 82% 58%, 77% 92%, 71% 62%, 66% 100%, 60% 66%, 54% 94%, 48% 60%, 42% 90%, 36% 56%, 30% 84%, 24% 52%, 18% 80%, 12% 50%, 6% 76%, 0 48%);
  animation: cta-flap 3.8s ease-in-out infinite; }
@keyframes cta-flap {
  0%, 100% { transform: rotateX(0deg) skewX(0deg); filter: brightness(1); }
  22% { transform: rotateX(24deg) skewX(-1.5deg); filter: brightness(.94); }
  45% { transform: rotateX(-8deg) skewX(1deg); filter: brightness(1.03); }
  68% { transform: rotateX(30deg) skewX(-2deg); filter: brightness(.92); }
  84% { transform: rotateX(6deg) skewX(.5deg); }
}
@media (max-width: 760px) { .cta-sticker { top: auto; width: 232px; } .intro { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .cta-flap { animation: none; } }

.intro { min-height: 196px; }
@media (max-width: 760px) { .intro { min-height: 0; } }


/* ---- the note, take two: narrower, tape clearly over the paper, a light flutter and no bounce ---- */
.cta-sticker { width: 188px; transform: rotate(1.6deg); animation: none; }
.cta-sticker:hover { transform: rotate(1.6deg); }
.cta-paper { padding: 22px 10px 8px 34px; min-height: 90px; }
.cta-sticker b { font-size: 29px; line-height: 29px; }
.cta-arrow { width: 26px; height: 32px; }
.cta-tape { z-index: 6; top: -11px; width: 70px; height: 24px; margin-left: -35px; transform: rotate(-2deg);
  background: linear-gradient(180deg, rgba(226,208,140,.9), rgba(205,186,118,.86));
  box-shadow: 0 1px 2px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,248,205,.35); }
.cta-flap { animation: cta-flutter 5.2s ease-in-out infinite; filter: none; }
@keyframes cta-flutter {
  0%, 100% { transform: rotateX(0deg) rotateZ(0deg); }
  30% { transform: rotateX(9deg) rotateZ(-.6deg); }
  55% { transform: rotateX(3deg) rotateZ(.5deg); }
  78% { transform: rotateX(11deg) rotateZ(-.4deg); }
}
.cta-sticker { perspective: 400px; }

/* tape: most of it lies on the paper */
.cta-tape { top: -7px; height: 28px; width: 74px; margin-left: -37px; }

/* the note holds still */
.cta-flap { animation: none; transform: none; }

/* ---- the note: tape that actually shows, straight on the paper ---- */
.cta-sticker .cta-tape { top: -9px; width: 80px; height: 26px; margin-left: -40px; z-index: 6; transform: rotate(-2deg);
  background: linear-gradient(180deg, rgba(214,190,120,.94), rgba(190,164,92,.92));
  box-shadow: 0 1px 3px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,240,180,.4);
  clip-path: polygon(0 8%, 3% 0, 6% 10%, 9% 0, 91% 0, 94% 10%, 97% 0, 100% 8%, 100% 92%, 97% 100%, 94% 90%, 91% 100%, 9% 100%, 6% 90%, 3% 100%, 0 92%); }
.cta-sticker .cta-tape::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 2px, transparent 2px 6px); }

/* the label above the board-only list reads in black, like the names after it */
.ap-only b { color: #14141a; }

/* no conference-colored strip on the left of the team cards */
.card .conf { display: none; }
.mcard::before { display: none; }

/* the board-only list sits on a strip of cork, like the board above it */
.ap-only { display: block; margin: 14px 0 0; padding: 12px 18px; border-radius: 6px; border: 7px solid var(--wood);
  border-image: linear-gradient(135deg, #7a552f, #4a3019 50%, #6d4a28) 1;
  background-color: var(--cork);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 .25  0 0 0 0 .15  0 0 0 0 .05  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='m'><feTurbulence type='turbulence' baseFrequency='.045' numOctaves='2' seed='9'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .3  0 0 0 0 .15  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23m)'/></svg>");
  box-shadow: inset 0 0 40px rgba(40, 22, 6, .5), 0 10px 24px -12px rgba(0, 0, 0, .8); color: #14141a; line-height: 1.7; }
.ap-only a.link { color: #14141a; font-weight: 700; }

/* switch: move the resume's bubble team from the 25th to the 12th */
.bubble-sw { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-family: "Special Elite", monospace; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #efe6cf; user-select: none; }
.bubble-sw input { position: absolute; opacity: 0; pointer-events: none; }
.bubble-sw .sw { position: relative; width: 40px; height: 22px; border-radius: 11px; background: #2b2118; border: 1px solid #5a4a36; transition: background .2s; flex: none; }
.bubble-sw .sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #efe3c2; transition: transform .2s; }
.bubble-sw input:checked + .sw { background: #b8902f; }
.bubble-sw input:checked + .sw::after { transform: translateX(18px); }
.bubble-sw input:focus-visible + .sw { outline: 2px solid #e0bf6a; outline-offset: 2px; }
.bubble-sw.off { opacity: .45; cursor: default; }

.loss-adj { display: inline-flex; align-items: center; gap: 10px; font-family: "Special Elite", monospace; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #efe6cf; }
.loss-adj input { width: 120px; accent-color: #e0bf6a; }
.loss-adj b { font-weight: 400; color: #e0bf6a; min-width: 46px; }
.loss-adj.off { opacity: .45; }

/* ---------- realism pass: paper that has weight, pins that catch the light, yarn that is actually twisted ---------- */

/* index cards and board cards: grain, a layered shadow, a slightly worn edge; the push pin holds them, so no tape */
.card, .mcard {
  border-radius: 1px 2px 2px 1px;
  box-shadow: 0 0 0 .6px rgba(96, 74, 34, .32), 0 1px 1px rgba(0, 0, 0, .3), 0 4px 6px -2px rgba(0, 0, 0, .32), 0 13px 15px -9px rgba(20, 8, 0, .72);
}
.card::before, .mcard::before {
  content: ""; display: block; position: absolute; inset: 0; width: auto; height: auto; margin: 0; left: 0; top: 0; bottom: 0; transform: none; border-radius: inherit; pointer-events: none;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='11'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .34  0 0 0 0 .16  0 0 0 .34 0'/></filter><rect width='180' height='180' filter='url(%23g)'/></svg>"),
    linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 30%, rgba(90, 64, 22, .08) 100%);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .5), inset 0 -2px 3px -2px rgba(80, 56, 18, .35);
  mix-blend-mode: multiply; opacity: .75;
}
/* every third card has a dog-eared lower corner, like paper that has been handled */
.card:nth-child(3n+2)::after, .mcard:nth-child(3n+2)::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 17px; height: 17px; pointer-events: none;
  background: linear-gradient(315deg, rgba(0, 0, 0, 0) 49%, rgba(60, 40, 10, .3) 50%, #fbf4dc 54%, #e7dab6 100%);
  box-shadow: -2px -2px 4px -1px rgba(60, 40, 10, .35); border-top-left-radius: 3px;
}
/* a faint dent in the paper where the pin goes through */
.card .rk, .mcard .mrk { text-shadow: 0 .5px 0 rgba(255, 255, 255, .35); }

/* the what-if notes are post-its: a gummed top edge, a lifted bottom edge with its curl shadow, and no tape */
.sticky {
  isolation: isolate; border-radius: 1px 1px 4px 4px / 1px 1px 10px 10px; transform: rotate(var(--sr, 0deg));
  background: linear-gradient(176deg, #fff4a3 0%, #fbe96e 62%, #f6dd55 100%);
  box-shadow: 0 0 0 .5px rgba(120, 96, 20, .3), 0 1px 1px rgba(0, 0, 0, .25), 0 3px 4px -1px rgba(0, 0, 0, .25);
}
.sticky:nth-child(odd) { --sr: -.9deg; } .sticky:nth-child(even) { --sr: 1.1deg; } .sticky:nth-child(3n) { --sr: .4deg; } .sticky:nth-child(5n) { --sr: -1.5deg; }
.sticky::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; width: auto; height: 24px; margin: 0; border-radius: 1px 1px 0 0; transform: none; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(120, 90, 0, .16) 0, rgba(255, 255, 255, .2) 5px, rgba(255, 255, 255, 0) 24px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}
.sticky::after {
  content: ""; position: absolute; z-index: -1; left: 10px; right: 10px; bottom: 4px; height: 14%; pointer-events: none;
  box-shadow: 0 15px 11px -7px rgba(0, 0, 0, .6); transform: rotate(-1.4deg);
}
.sticky:nth-child(even)::after { transform: rotate(1.4deg); }

/* pins: shaded in the SVG itself; here only the board-level behavior */
.strings.pins .pin { transition: transform .15s ease; }

/* yarn: red strand, twisted bands, a highlight, and fuzzy edges */
.strings .yarn { stroke: #b4232a; stroke-linecap: round; stroke-linejoin: round; }
.strings .twist { fill: none; stroke: rgba(58, 0, 8, .5); stroke-linecap: butt; stroke-dasharray: 1.25 2.55; pointer-events: none; transition: opacity .2s; }
.strings .yhl { fill: none; stroke: rgba(255, 176, 165, .6); stroke-linecap: round; stroke-dasharray: 24 4 9 6; pointer-events: none; transition: opacity .2s; }
.strings .shadow { stroke: rgba(28, 12, 0, .34); }
.strings .yarn.hyp ~ .twist, .strings .yarn.hyp ~ .yhl { display: none; }
.strings .faded ~ .twist, .strings .faded ~ .yhl { opacity: .12; }
.strings .twist.faded, .strings .yhl.faded { opacity: .12; }
svg.strings:not(.pins) { filter: url(#yarn-fuzz); }

/* ---------- wrinkled paper, wind-flapped notes, a polished wood frame and brass conference plaques ---------- */
:root {
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='11'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .34  0 0 0 0 .16  0 0 0 .34 0'/></filter><rect width='180' height='180' filter='url(%23g)'/></svg>");
  /* crumple: lit relief from low-frequency noise, so the paper looks pressed and handled */
  --crumple: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='200'><filter id='c' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.016 .028' numOctaves='3' seed='5' result='t'/><feDiffuseLighting in='t' surfaceScale='2.8' diffuseConstant='1.05' lighting-color='rgb(255,255,255)' result='l'><feDistantLight azimuth='225' elevation='52'/></feDiffuseLighting><feColorMatrix in='l' type='matrix' values='0 0 0 0 .3  0 0 0 0 .21  0 0 0 0 .09  -1.6 0 0 0 1.38'/></filter><rect width='260' height='200' filter='url(%23c)'/></svg>");
  --crumple-y: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='200'><filter id='c' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.018 .03' numOctaves='3' seed='9' result='t'/><feDiffuseLighting in='t' surfaceScale='3' diffuseConstant='1.05' lighting-color='rgb(255,255,255)' result='l'><feDistantLight azimuth='225' elevation='52'/></feDiffuseLighting><feColorMatrix in='l' type='matrix' values='0 0 0 0 .5  0 0 0 0 .38  0 0 0 0 .02  -1.7 0 0 0 1.46'/></filter><rect width='260' height='200' filter='url(%23c)'/></svg>");
  /* hard creases: a dark fold with a light edge beside it */
  --crease-a: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path d='M0 38 L46 52 L100 62' stroke='rgba(60,40,10,.26)' stroke-width='1.3' fill='none' vector-effect='non-scaling-stroke'/><path d='M0 40.5 L46 54.5 L100 64.5' stroke='rgba(255,255,255,.6)' stroke-width='1' fill='none' vector-effect='non-scaling-stroke'/><path d='M34 0 L44 38 L58 100' stroke='rgba(60,40,10,.14)' stroke-width='1' fill='none' vector-effect='non-scaling-stroke'/><path d='M36 0 L46 38 L60 100' stroke='rgba(255,255,255,.4)' stroke-width='.8' fill='none' vector-effect='non-scaling-stroke'/></svg>");
  --crease-b: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path d='M0 78 L48 90 L70 100' stroke='rgba(60,40,10,.28)' stroke-width='1.3' fill='none' vector-effect='non-scaling-stroke'/><path d='M0 80.5 L48 92.5 L70 102' stroke='rgba(255,255,255,.6)' stroke-width='1' fill='none' vector-effect='non-scaling-stroke'/><path d='M58 0 L82 22 L100 40' stroke='rgba(60,40,10,.2)' stroke-width='1.1' fill='none' vector-effect='non-scaling-stroke'/><path d='M60 0 L84 24 L100 42' stroke='rgba(255,255,255,.5)' stroke-width='.9' fill='none' vector-effect='non-scaling-stroke'/></svg>");
  --crease-c: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path d='M0 22 Q46 36 100 20' stroke='rgba(60,40,10,.22)' stroke-width='1.2' fill='none' vector-effect='non-scaling-stroke'/><path d='M0 24.5 Q46 38.5 100 22.5' stroke='rgba(255,255,255,.55)' stroke-width='1' fill='none' vector-effect='non-scaling-stroke'/><path d='M80 100 Q90 82 100 70' stroke='rgba(60,40,10,.2)' stroke-width='1' fill='none' vector-effect='non-scaling-stroke'/><path d='M82 100 Q92 84 100 72' stroke='rgba(255,255,255,.45)' stroke-width='.8' fill='none' vector-effect='non-scaling-stroke'/></svg>");
}
.card, .mcard, .sticky { --cp: 0 0; --cr: var(--crease-a); }
.card:nth-child(3n+2), .mcard:nth-child(3n+2), .sticky:nth-child(3n+2) { --cp: -70px -40px; --cr: var(--crease-b); }
.card:nth-child(3n), .mcard:nth-child(3n), .sticky:nth-child(3n) { --cp: -130px -90px; --cr: var(--crease-c); }
.card:nth-child(5n+1), .mcard:nth-child(5n+1) { --cp: -20px -110px; }
.card::before, .mcard::before {
  background: var(--noise), linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 30%, rgba(90, 64, 22, .08) 100%),
    var(--crumple) var(--cp) / 260px 200px no-repeat, var(--cr) 0 0 / 100% 100% no-repeat;
  opacity: .7;
}
.sticky { background: var(--crumple-y) var(--cp) / 260px 200px no-repeat, var(--cr) 0 0 / 100% 100% no-repeat, linear-gradient(176deg, #fff4a3 0%, #fbe96e 62%, #f6dd55 100%); }

/* wind: a gust lifts the free edge of the note under the mouse and it flaps about its top edge; nothing in it moves in the layout */
.card, .mcard, .sticky { transform-origin: 50% 0; }
.card { --tb: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--rot, 0deg)); }
.mcard { --tb: rotate(var(--rot, 0deg)); }
.sticky { --tb: rotate(var(--sr, 0deg)); --amp: .5; }
.card.windy, .mcard.windy, .sticky.windy { animation: wind-flap 1.55s cubic-bezier(.35, .1, .3, 1) 1 both; z-index: 5; }
@keyframes wind-flap {
  0%   { transform: var(--tb) perspective(640px) rotateX(0deg) skewX(0deg); filter: brightness(1); }
  13%  { transform: var(--tb) perspective(640px) rotateX(calc(var(--amp, 1) * 36deg)) skewX(calc(var(--wd, 1) * -2.8deg)); filter: brightness(.9); }
  29%  { transform: var(--tb) perspective(640px) rotateX(calc(var(--amp, 1) * 7deg)) skewX(calc(var(--wd, 1) * 1.6deg)); filter: brightness(1); }
  45%  { transform: var(--tb) perspective(640px) rotateX(calc(var(--amp, 1) * 26deg)) skewX(calc(var(--wd, 1) * -2deg)); filter: brightness(.93); }
  61%  { transform: var(--tb) perspective(640px) rotateX(calc(var(--amp, 1) * 4deg)) skewX(calc(var(--wd, 1) * 1deg)); filter: brightness(1); }
  77%  { transform: var(--tb) perspective(640px) rotateX(calc(var(--amp, 1) * 13deg)) skewX(calc(var(--wd, 1) * -.9deg)); filter: brightness(.96); }
  100% { transform: var(--tb) perspective(640px) rotateX(0deg) skewX(0deg); filter: brightness(1); }
}
@media (prefers-reduced-motion: reduce) { .card.windy, .mcard.windy, .sticky.windy { animation: none; } }

/* the frame: polished wood, lit from above, with a grain that runs along each side */
.board {
  border-width: 16px;
  border-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><defs><linearGradient id='b' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='rgb(168,112,56)'/><stop offset='.5' stop-color='rgb(112,70,32)'/><stop offset='1' stop-color='rgb(142,92,44)'/></linearGradient><filter id='g' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.012 .55' numOctaves='3' seed='3'/><feColorMatrix values='0 0 0 0 .2  0 0 0 0 .1  0 0 0 0 .04  0 0 0 1.25 -.32'/></filter><filter id='h' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.02 .9' numOctaves='2' seed='8'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .86  0 0 0 0 .6  0 0 0 .6 -.22'/></filter><linearGradient id='s' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='white' stop-opacity='.5'/><stop offset='.16' stop-color='white' stop-opacity='.12'/><stop offset='.5' stop-color='black' stop-opacity='.06'/><stop offset='1' stop-color='black' stop-opacity='.38'/></linearGradient></defs><rect width='120' height='120' fill='url(%23b)'/><rect width='120' height='120' filter='url(%23g)' opacity='.8'/><rect width='120' height='120' filter='url(%23h)' opacity='.5'/><rect width='120' height='120' fill='url(%23s)'/></svg>") 30 / 16px stretch;
  box-shadow: inset 0 0 90px rgba(40, 22, 6, .55), 0 0 0 1px rgba(255, 224, 168, .22), 0 26px 60px -20px rgba(0, 0, 0, .85);
}

/* brass plaques for the conferences: bevelled gold, brushed grain, engraved lettering and four screws */
.zlabel, .boardblock[data-conf] .bhead h2 {
  position: relative; display: inline-block; color: #3a2905; font-family: "Special Elite", monospace; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .09) 0 1px, rgba(0, 0, 0, .05) 1px 2px),
    linear-gradient(180deg, #fbeeb0 0%, #ecc65a 24%, #c5942a 50%, #f1d27a 70%, #a77b1b 100%);
  border: 1px solid #6a480a; border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -2px 3px rgba(96, 62, 0, .5), inset 0 0 0 2px rgba(122, 84, 18, .55), 0 7px 10px -4px rgba(0, 0, 0, .75), 0 1px 0 rgba(255, 255, 255, .2);
  text-shadow: 0 1px 0 rgba(255, 244, 196, .9), 0 -1px 0 rgba(86, 56, 0, .5);
}
.zlabel { top: -21px; left: 18px; padding: 5px 24px 6px; font-size: 20px; transform: rotate(-.7deg); border-bottom: 4px solid var(--c); }
.zlabel::before, .zlabel::after, .boardblock[data-conf] .bhead h2::before, .boardblock[data-conf] .bhead h2::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: linear-gradient(35deg, transparent 43%, rgba(50, 32, 0, .75) 45% 55%, transparent 57%), radial-gradient(circle at 35% 30%, #fff8d8 0, #dcb54e 42%, #7a5412 100%);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .5);
}
.zlabel::before, .boardblock[data-conf] .bhead h2::before { left: 7px; }
.zlabel::after, .boardblock[data-conf] .bhead h2::after { right: 7px; transform: rotate(70deg); }
.boardblock[data-conf] .bhead h2 { margin: 6px 0 14px; padding: 6px 38px 8px; font-size: 28px; }
.boardblock[data-conf] .bhead { gap: 18px; align-items: center; }

/* ---------- sticky notes, folded corners, and a thicker, glossier wood frame ---------- */

/* the frame: four bars of polished wood, each with its own grain direction and lighting; the cork sits inside */
.board {
  border: 30px solid transparent !important; border-image: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='1000' preserveAspectRatio='none'><defs><linearGradient id='b' x1='0' y1='0' x2='1' y2='0'><stop offset='0' stop-color='rgb(184,126,66)'/><stop offset='.5' stop-color='rgb(138,88,42)'/><stop offset='1' stop-color='rgb(108,66,30)'/></linearGradient><filter id='g' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.5 .0007' numOctaves='3' seed='11'/><feColorMatrix values='0 0 0 0 .1  0 0 0 0 .045  0 0 0 0 .012  0 0 0 3.2 -1.35'/></filter><filter id='h' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='1.15 .0009' numOctaves='2' seed='15'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .84  0 0 0 0 .52  0 0 0 3.4 -1.75'/></filter><linearGradient id='e' x1='0' y1='0' x2='1' y2='0'><stop offset='0' stop-color='white' stop-opacity='.62'/><stop offset='.14' stop-color='white' stop-opacity='0'/><stop offset='.78' stop-color='black' stop-opacity='0'/><stop offset='1' stop-color='black' stop-opacity='.5'/></linearGradient><linearGradient id='s' x1='0' y1='1' x2='1' y2='0'><stop offset='0' stop-color='white' stop-opacity='0'/><stop offset='0.06' stop-color='white' stop-opacity='0'/><stop offset='0.12' stop-color='white' stop-opacity='.42'/><stop offset='0.18' stop-color='white' stop-opacity='0'/><stop offset='0.5' stop-color='white' stop-opacity='0'/><stop offset='0.58' stop-color='white' stop-opacity='.26'/><stop offset='0.64' stop-color='white' stop-opacity='0'/><stop offset='1' stop-color='white' stop-opacity='0'/></linearGradient></defs><rect width='30' height='1000' fill='url(%23b)'/><rect width='30' height='1000' filter='url(%23g)'/><rect width='30' height='1000' filter='url(%23h)' opacity='.55'/><rect width='30' height='1000' fill='url(%23s)'/><rect width='30' height='1000' fill='url(%23e)'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='1000' preserveAspectRatio='none'><defs><linearGradient id='b' x1='0' y1='0' x2='1' y2='0'><stop offset='0' stop-color='rgb(138,90,44)'/><stop offset='.5' stop-color='rgb(104,64,28)'/><stop offset='1' stop-color='rgb(78,46,20)'/></linearGradient><filter id='g' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.5 .0007' numOctaves='3' seed='15'/><feColorMatrix values='0 0 0 0 .1  0 0 0 0 .045  0 0 0 0 .012  0 0 0 3.2 -1.35'/></filter><filter id='h' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='1.15 .0009' numOctaves='2' seed='19'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .84  0 0 0 0 .52  0 0 0 3.4 -1.75'/></filter><linearGradient id='e' x1='0' y1='0' x2='1' y2='0'><stop offset='0' stop-color='black' stop-opacity='.42'/><stop offset='.22' stop-color='black' stop-opacity='0'/><stop offset='.86' stop-color='white' stop-opacity='0'/><stop offset='1' stop-color='white' stop-opacity='.5'/></linearGradient><linearGradient id='s' x1='0' y1='1' x2='1' y2='0'><stop offset='0' stop-color='white' stop-opacity='0'/><stop offset='0.3' stop-color='white' stop-opacity='0'/><stop offset='0.38' stop-color='white' stop-opacity='.42'/><stop offset='0.44' stop-color='white' stop-opacity='0'/><stop offset='0.74' stop-color='white' stop-opacity='0'/><stop offset='0.8' stop-color='white' stop-opacity='.26'/><stop offset='0.86' stop-color='white' stop-opacity='0'/><stop offset='1' stop-color='white' stop-opacity='0'/></linearGradient></defs><rect width='30' height='1000' fill='url(%23b)'/><rect width='30' height='1000' filter='url(%23g)'/><rect width='30' height='1000' filter='url(%23h)' opacity='.55'/><rect width='30' height='1000' fill='url(%23s)'/><rect width='30' height='1000' fill='url(%23e)'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1000' height='30' preserveAspectRatio='none'><defs><linearGradient id='b' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='rgb(176,118,60)'/><stop offset='.5' stop-color='rgb(132,84,40)'/><stop offset='1' stop-color='rgb(104,64,28)'/></linearGradient><filter id='g' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.0007 .5' numOctaves='3' seed='2'/><feColorMatrix values='0 0 0 0 .1  0 0 0 0 .045  0 0 0 0 .012  0 0 0 3.2 -1.35'/></filter><filter id='h' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.0009 1.15' numOctaves='2' seed='6'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .84  0 0 0 0 .52  0 0 0 3.4 -1.75'/></filter><linearGradient id='e' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='white' stop-opacity='.62'/><stop offset='.14' stop-color='white' stop-opacity='0'/><stop offset='.78' stop-color='black' stop-opacity='0'/><stop offset='1' stop-color='black' stop-opacity='.5'/></linearGradient><linearGradient id='s' x1='1' y1='0' x2='0' y2='1'><stop offset='0' stop-color='white' stop-opacity='0'/><stop offset='0.08' stop-color='white' stop-opacity='0'/><stop offset='0.15' stop-color='white' stop-opacity='.42'/><stop offset='0.22' stop-color='white' stop-opacity='0'/><stop offset='0.55' stop-color='white' stop-opacity='0'/><stop offset='0.62' stop-color='white' stop-opacity='.26'/><stop offset='0.68' stop-color='white' stop-opacity='0'/><stop offset='1' stop-color='white' stop-opacity='0'/></linearGradient></defs><rect width='1000' height='30' fill='url(%23b)'/><rect width='1000' height='30' filter='url(%23g)'/><rect width='1000' height='30' filter='url(%23h)' opacity='.55'/><rect width='1000' height='30' fill='url(%23s)'/><rect width='1000' height='30' fill='url(%23e)'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1000' height='30' preserveAspectRatio='none'><defs><linearGradient id='b' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='rgb(150,98,48)'/><stop offset='.5' stop-color='rgb(112,70,32)'/><stop offset='1' stop-color='rgb(84,50,22)'/></linearGradient><filter id='g' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.0007 .5' numOctaves='3' seed='7'/><feColorMatrix values='0 0 0 0 .1  0 0 0 0 .045  0 0 0 0 .012  0 0 0 3.2 -1.35'/></filter><filter id='h' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.0009 1.15' numOctaves='2' seed='11'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .84  0 0 0 0 .52  0 0 0 3.4 -1.75'/></filter><linearGradient id='e' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='white' stop-opacity='.62'/><stop offset='.14' stop-color='white' stop-opacity='0'/><stop offset='.78' stop-color='black' stop-opacity='0'/><stop offset='1' stop-color='black' stop-opacity='.5'/></linearGradient><linearGradient id='s' x1='1' y1='0' x2='0' y2='1'><stop offset='0' stop-color='white' stop-opacity='0'/><stop offset='0.3' stop-color='white' stop-opacity='0'/><stop offset='0.36' stop-color='white' stop-opacity='.42'/><stop offset='0.42' stop-color='white' stop-opacity='0'/><stop offset='0.72' stop-color='white' stop-opacity='0'/><stop offset='0.78' stop-color='white' stop-opacity='.26'/><stop offset='0.84' stop-color='white' stop-opacity='0'/><stop offset='1' stop-color='white' stop-opacity='0'/></linearGradient></defs><rect width='1000' height='30' fill='url(%23b)'/><rect width='1000' height='30' filter='url(%23g)'/><rect width='1000' height='30' filter='url(%23h)' opacity='.55'/><rect width='1000' height='30' fill='url(%23s)'/><rect width='1000' height='30' fill='url(%23e)'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 .25  0 0 0 0 .15  0 0 0 0 .05  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='m'><feTurbulence type='turbulence' baseFrequency='.045' numOctaves='2' seed='9'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .3  0 0 0 0 .15  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23m)'/></svg>");
  background-size: 30px 100%, 30px 100%, 100% 30px, 100% 30px, auto, auto;
  background-position: left top, right top, left top, left bottom, 0 0, 0 0;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
  background-origin: border-box, border-box, border-box, border-box, padding-box, padding-box;
  background-clip: border-box, border-box, border-box, border-box, padding-box, padding-box;
  box-shadow: inset 0 0 90px rgba(40, 22, 6, .55), 0 0 0 1px rgba(255, 224, 168, .25), 0 28px 60px -20px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(0, 0, 0, .35);
}

/* sticky notes: pastel paper with a gummed top edge and a lifted bottom edge; the dog-ears are gone */
.card, .mcard {
  --pa: #fff6a6; --pb: #f8e36c; --flap: #fffbd2; --fs: 18px;
  background: linear-gradient(176deg, var(--pa) 0%, var(--pb) 100%) !important;
  isolation: isolate; border-radius: 1px 1px 3px 3px / 1px 1px 7px 7px;
}
.card { --fs: 22px; }
.card:nth-child(5n+2), .mcard:nth-child(5n+2) { --pa: #ffd7e5; --pb: #fbb9d0; --flap: #fff0f5; }
.card:nth-child(7n+3), .mcard:nth-child(7n+3) { --pa: #dcf8d2; --pb: #b9ec9f; --flap: #f2fdee; }
.card:nth-child(9n+4), .mcard:nth-child(9n+4) { --pa: #d6edff; --pb: #aed6f8; --flap: #f0f8ff; }
.card:nth-child(11n+5), .mcard:nth-child(11n+5) { --pa: #ffe3bb; --pb: #ffc885; --flap: #fff4e2; }
.card::before, .mcard::before {
  background: var(--noise), linear-gradient(180deg, rgba(110, 80, 0, .15) 0, rgba(255, 255, 255, .2) 5px, rgba(255, 255, 255, 0) 24px) 0 0 / 100% 24px no-repeat,
    var(--crumple) var(--cp) / 260px 200px no-repeat, var(--cr) 0 0 / 100% 100% no-repeat;
}
/* a lifted bottom edge with its curl shadow */
.card::after, .mcard::after, .card:nth-child(3n+2)::after, .mcard:nth-child(3n+2)::after {
  content: ""; display: block; position: absolute; z-index: -1; left: 9px; right: 9px; bottom: 3px; top: auto; width: auto; height: 14%; pointer-events: none;
  background: none; border-radius: 0; box-shadow: 0 14px 10px -7px rgba(20, 8, 0, .6); transform: rotate(-1.2deg);
}
.card:nth-child(even)::after, .mcard:nth-child(even)::after { transform: rotate(1.2deg); }

/* the top-left corner is folded over onto the note for teams that have reached 3 losses in the SEC and Big Ten, or 2 in the ACC and Big 12 */
.card.fold, .mcard.fold {
  background: none !important; box-shadow: none !important; border-radius: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .32)) drop-shadow(0 6px 5px rgba(20, 8, 0, .4));
}
.card.fold::before, .mcard.fold::before {
  z-index: -1; opacity: 1; mix-blend-mode: normal; border-radius: 0; box-shadow: none;
  background: var(--noise), linear-gradient(180deg, rgba(110, 80, 0, .15) 0, rgba(255, 255, 255, .2) 5px, rgba(255, 255, 255, 0) 24px) 0 0 / 100% 24px no-repeat,
    var(--crumple) var(--cp) / 260px 200px no-repeat, var(--cr) 0 0 / 100% 100% no-repeat, linear-gradient(176deg, var(--pa) 0%, var(--pb) 100%);
  clip-path: polygon(var(--fs) 0, 100% 0, 100% 100%, 0 100%, 0 var(--fs));
}
/* the flap: the corner turned over along the diagonal, showing the lighter underside, with its own shadow on the note */
.card.fold::after, .mcard.fold::after, .card.fold:nth-child(3n+2)::after, .mcard.fold:nth-child(3n+2)::after {
  content: ""; display: block; position: absolute; z-index: 3; left: 0; top: 0; right: auto; bottom: auto; width: 0; height: 0; transform: none; box-shadow: none;
  border-style: solid; border-width: 0 0 var(--fs) var(--fs); border-color: transparent transparent var(--flap) transparent; background: none;
  filter: drop-shadow(1.5px 2.5px 2px rgba(50, 30, 0, .5));
}

/* the playoff committee seal: a blob of red wax pressed onto the note, in the empty space on its right side */
.cfp-stamp {
  --d: 36px; position: absolute; z-index: 5; right: 10px; bottom: 44px; width: var(--d); height: var(--d); box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; color: rgba(255, 214, 200, .92); font-style: normal; font-family: "Special Elite", monospace; pointer-events: none;
  border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; transform: rotate(var(--sr, -6deg));
  background: radial-gradient(circle at 32% 26%, #ec5a4c 0, #c42a22 36%, #8c1612 78%, #6a0d0b 100%);
  box-shadow: inset 0 0 0 3px rgba(150, 20, 16, .55), inset 2px 3px 3px rgba(255, 170, 150, .45), inset -2px -3px 4px rgba(50, 0, 0, .5), 1.5px 3px 3px rgba(40, 14, 0, .5);
}
.cfp-stamp::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid rgba(255, 200, 185, .45); box-shadow: inset 0 1px 2px rgba(40, 0, 0, .5); }
.cfp-stamp small { position: absolute; left: 0; right: 0; top: 17%; text-align: center; padding-left: .14em; font-size: 6.5px; font-weight: 700; letter-spacing: .14em; text-shadow: 0 -1px 0 rgba(40, 0, 0, .55); }
.cfp-stamp b { position: absolute; left: 0; right: 0; top: 57%; margin: 0; transform: translateY(-50%); text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: 0; text-shadow: 0 -1px 0 rgba(40, 0, 0, .55), 0 1px 0 rgba(255, 150, 130, .25); }
.mcard.has-cfp { padding-bottom: 38px; }
.mcard .cfp-stamp { --d: 31px; right: auto; left: 9px; bottom: 5px; }
.mcard .cfp-stamp small { font-size: 5.5px; top: 15%; } .mcard .cfp-stamp b { font-size: 11px; top: 59%; }
