: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 Inter, system-ui, "Segoe UI", sans-serif;
  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, .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: Inter, sans-serif; }
.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; } }
