/* Prime Hunt in the Lab's look (Austin 10-17: same feel as the landing, way better UI). Loads after board.css and re-colors it; the
   whiteboard tool, charts and forms keep working untouched. */
:root{color-scheme:dark;--ink:#eef3ff;--dim:#9aa7c2;--muted:#9aa7c2;--paper:#03050c;--line:#ffffff1f;--green:#8dff5a;--lime:#c8ff9e;--gold:#ffd089;--jub:#8dff5a;--jub2:#c8ff9e;--gb:#87cf35;--gin:#92d64a;--navy:#091a34;--card:#091a3499;--card2:#0b1a33}
html,body{margin:0}body{min-height:100vh;color:var(--ink);font:16px/1.6 -apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:radial-gradient(1200px 700px at 70% 0%,#13204a 0%,#060a1c 45%,#03050c 80%) fixed,#03050c}
a{color:var(--jub2)}
/* header = the Lab's bar; the nav script adds the burger, the page row and the big menu */
header{position:sticky;top:0;z-index:7;display:block;padding:0;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);background:linear-gradient(180deg,#03050c8c,#03050c26);border-bottom:1px solid #ffffff12;color:var(--ink)}
.bar{max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:10px;padding:10px 16px}
.brand{display:flex;align-items:center;gap:8px;color:var(--ink);text-decoration:none;font:800 16px/1 -apple-system,Segoe UI,Roboto,sans-serif}.brand img{width:30px;height:30px}.brand span{display:none}
.amhb{display:inline-flex;align-items:center;text-decoration:none}
.amhb .mk{position:relative;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:2.2px solid #f5a524;border-radius:9px;box-shadow:rgba(245,165,36,.08) 0 0 14px inset,rgba(245,165,36,.5) 0 0 22px}
.amhb .ufo{position:absolute;border:1.2px solid #f5a524;border-radius:50%;background:rgba(245,165,36,.05);box-shadow:rgba(245,165,36,.5) 0 0 4px;animation:amhUfoDrift 4s ease-in-out infinite}
.amhb .ufo .d{position:absolute;width:22%;height:40%;left:39%;top:30%;background:#f5a524;border-radius:50%}
.amhb .u1{left:6px;top:-6px;width:9px;height:4px}.amhb .u2{right:4px;top:-9px;width:11px;height:5px}
.amhb .t{font-family:Syne,sans-serif;font-weight:800;font-size:12px;letter-spacing:-.02em;background-image:linear-gradient(#ffd089,#f5a524 55%,#c97914);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
@keyframes amhUfoDrift{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
.jx{height:20px;width:auto;margin:6px 4px 0 9px;filter:drop-shadow(0 0 5px #8dff5a99)}
header nav{margin-left:auto;display:flex;gap:6px;font-size:14px}
header nav a{color:var(--dim);text-decoration:none;font-size:14px;padding:7px 10px;border-radius:9px;white-space:nowrap}header nav a:hover{color:var(--ink);background:#ffffff10}
header nav a.on{color:#06210a;background:linear-gradient(135deg,var(--jub2),var(--jub));font-weight:700}
header .back{margin:0}
.whiteboard-page>header{padding:0;position:static}.whiteboard-page .bar{padding:8px 12px}.whiteboard-page header nav{gap:4px}.whiteboard-page header nav a{font-size:13px;padding:6px 8px}
.glow{position:relative;isolation:isolate}.glow::before{content:"";position:absolute;inset:-2px;padding:2px;border-radius:inherit;z-index:-1;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);background:conic-gradient(from var(--ga,0deg),transparent 0 62%,#8dff5a 76%,#ffffff 82%,#8dff5a 88%,transparent 100%);animation:gchase 3.2s linear infinite;pointer-events:none}
@property --ga{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes gchase{to{--ga:360deg}}
/* hero */
main{max-width:1080px;margin:0 auto;padding:0 16px 80px}
.phero{padding:30px 0 6px}
.back{display:inline-flex;align-items:center;gap:6px;margin:0 0 14px;padding:7px 12px;border:1px solid #92d64a66;border-radius:99px;background:#091a34b3;color:#d6ff8a;text-decoration:none;font-weight:700;font-size:13px}
.kicker{display:block;font:700 11px/1.4 ui-monospace,Menlo,monospace;letter-spacing:.16em;text-transform:uppercase;color:var(--jub);margin:14px 0 6px}
h1{font:800 clamp(44px,8vw,86px)/1 Syne,sans-serif;letter-spacing:-.03em;margin:6px 0 14px;color:#fff;text-shadow:0 0 24px #8dff5a33}
h1 .accent{color:var(--jub)}
.lede{color:#c9d3e6;font-size:17px;line-height:1.65;max-width:70ch;margin:0}.lede b{color:#d6ff8a;font-family:ui-monospace,Menlo,monospace;font-weight:600}
.pstats{display:flex;flex-wrap:wrap;gap:16px 26px;margin:20px 0 10px}.pstats div{display:flex;flex-direction:column}.pstats b{font-size:30px;line-height:1.1;color:#d6ff8a;font-family:Syne,sans-serif}.pstats span{font-size:11px;color:var(--dim);letter-spacing:.08em;text-transform:uppercase}
.eyebrow{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--dim);margin-top:6px}.eyebrow #refresh{font-size:12px;min-height:34px;padding:6px 10px}
/* today + day cards */
.today{margin:14px 0 6px}
.tcard{border:2px solid #8dff5a;border-radius:18px;background:linear-gradient(135deg,#123d1df0,#0b2142f0);box-shadow:0 0 24px #8dff5a33;padding:18px 20px;margin:4px 0 14px}
.thead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.who{display:inline-flex;align-items:center;gap:9px;min-width:0}.who .em{font-size:26px;line-height:1}.who img.face{width:34px;height:34px;object-fit:contain;border-radius:8px}.who .wt{display:flex;flex-direction:column;min-width:0}.who b{font-size:15px;line-height:1.2;display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.who small{color:#a5b8d2;font-size:11px;line-height:1.3}
.pm{width:16px;height:16px;padding:2px;background:#fff;border-radius:4px;object-fit:contain;vertical-align:middle;box-sizing:content-box}
.dnum{font:700 11px/1.4 ui-monospace,Menlo,monospace;letter-spacing:.14em;text-transform:uppercase;color:#8dff5a}
.tcard h2{margin:12px 0 6px;font-size:clamp(22px,3.4vw,32px);line-height:1.15;letter-spacing:-.02em;color:#fff}
.tcard .note{font-size:16px;line-height:1.65;color:#eef3ff;white-space:pre-wrap;max-width:none;margin:0}
.chips2{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 4px}.chips2 span{font:12px ui-monospace,Menlo,monospace;padding:5px 10px;border:1px solid #8dff5a66;border-radius:999px;color:#d6ff8a;background:#06210a66}
.tact{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.ddet{margin-top:12px;border-top:1px solid #ffffff1f;padding-top:12px;font-size:14px;color:#c9d3e6}.ddet p{max-width:none}.ddet h4{margin:12px 0 6px;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:#a5b8d2}.ddet pre{background:#060c1c;padding:10px 12px;border-radius:8px;overflow:auto;font-size:12px;line-height:1.5;color:#d6ff8a;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}
.dstrip{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px;margin:6px 0 14px}
.dcard{border:1px solid #ffffff1f;border-radius:14px;background:var(--card);padding:13px 14px;min-width:0;display:flex;flex-direction:column;gap:4px}.dcard:hover{border-color:#8dff5a88}
.dcard b.t{display:block;margin:6px 0 2px;font-size:15px;line-height:1.3;color:#fff}.dcard .ntext{font-size:13.5px;line-height:1.5;color:#c9d3e6;margin:0;max-width:none;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.dcard .ddet:not([hidden])~.ntext,.dcard.open .ntext{display:block}.dcard .chips2{margin:8px 0 2px}.dcard .chips2 span{font-size:11px;padding:4px 8px}.dcard .tact button{font-size:12px;min-height:34px;padding:6px 10px}
.alldays{display:inline-flex;gap:8px;align-items:center;padding:12px 18px;border-radius:999px;border:2px solid #8dff5a;color:#d6ff8a;background:#0b2a14b3;text-decoration:none;font-weight:700;box-shadow:0 0 14px #8dff5a44}.alldays:hover{background:#123d1d;color:#fff}
.day-log h3.month{margin:18px 0 8px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#a5b8d2}.day-log .dcard{margin:0 0 10px}.day-log .dcard .ntext{-webkit-line-clamp:unset;display:block}
.filt{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 4px}.filt button{border-radius:999px;padding:6px 12px;min-height:34px;font-size:13px}.filt button[aria-pressed=true]{background:#123d1d;border-color:#8dff5a;color:#d6ff8a}
/* tabs + panels */
.tabs{background:#03050cf2;border-bottom:1px solid var(--line);top:0;z-index:6;margin:22px 0 18px;gap:6px}.tabs a{color:var(--dim);border:1px solid #ffffff1f;background:#091a3480}.tabs a:hover{color:#fff}.tabs a.active{background:linear-gradient(135deg,#c8ff9e,#8dff5a);color:#06210a;border-color:transparent;font-weight:700}
.panel+.panel{border-top:1px solid var(--line)}.sectionline h2{color:#fff}.sectionline span,.sectionline a{font-size:12px}
.metrics b{color:#d6ff8a}.help summary{border-color:var(--dim);color:var(--ink)}.help p{background:#0b1a33;color:var(--ink);border-color:#ffffff2e;box-shadow:0 10px 30px #000a}
.problem{background:#091a34;border:1px solid #ffffff1f;color:var(--ink)}.problem p{color:#c9d3e6}.label{color:#8dff5a}.chips span{border-color:#3d5a7a;color:#c9d3e6}
.workspace,.map-board,.card,.note-card,.person,details:not(.help){background:var(--card);border-color:var(--line);color:var(--ink)}
details:not(.help) summary{color:var(--ink)}summary span{color:var(--dim)}details p{color:#c9d3e6}.card>p{color:#c9d3e6}
button{background:var(--card2);color:var(--ink);border-color:#ffffff2e}button:hover{border-color:#8dff5a}.primary,button.primary{background:linear-gradient(135deg,#c8ff9e,#8dff5a);color:#06210a;border-color:transparent;font-weight:700}
input,textarea,select{background:#060c1c;color:var(--ink);border-color:#ffffff2e}label{color:var(--dim)}
.pill{background:#1b3a2a;color:#d6ff8a}.step .equation{background:#060c1c;color:#d6ff8a}.step dt{color:var(--dim)}
.trail button{background:var(--card2);color:var(--ink);border-color:#ffffff2e}.trail button.selected{background:#123d1d;border-color:#8dff5a}.trail button span{color:var(--dim)}
.workspace aside{border-color:var(--line)}.map-layout aside{border-color:var(--line)}
#map-viewport{background:#060a1c;border-color:#ffffff2e}#map-world{background-image:radial-gradient(#2a3b5a 1px,transparent 1px)}
.map-node{background:#0b1a33;border-color:#3d5a7a;color:var(--ink);box-shadow:0 4px 12px #0006}.map-node.selected{background:#123d1d;border-color:#8dff5a}.map-node small{color:#a5b8d2}
.map-text-box{background:#fff5bdd9;color:#1a1a1a}.map-text-box small{color:#4a4a2a}.text-move,.text-resize{color:#1a1a1a}
.map-tools button[aria-pressed=true]{background:linear-gradient(135deg,#c8ff9e,#8dff5a);color:#06210a}.map-hint,#map-status,.small,small{color:var(--dim)}
.full-board-link{background:#123d1d;color:#d6ff8a;border:1px solid #8dff5a}
.bar{background:transparent}.attempt .bar,#attempt-bars .bar{background:#1b2a44}#attempt-bars .bar span{background:#8dff5a}
.donut span{background:#091a34;color:var(--ink)}.legendrow strong{color:#d6ff8a}
.links a{background:var(--card2);color:#c8ff9e;border:1px solid #ffffff1f}
.catalog .card h3,.method-cards .card h3{color:#fff}
.usage-track{background:#1b2a44}.usage-fill{background:#8dff5a}.usage-unknown{background:#3d5a7a}
.note-card h4{color:#fff}
td,th{border-color:var(--line)}th{color:var(--dim)}
.agent-preview{background:#091a34;color:var(--ink);border-color:#ffffff2e}.agent-preview::backdrop{background:#02040acc}
footer,.prime-footer{color:var(--dim);border-color:var(--line)}.prime-footer strong{color:#fff}.footer-brands a{color:var(--dim);text-decoration:none}
.academy-link{color:var(--jub2)}
/* the crew box, same as the poem landing */
.crew-box{border:1px solid #98c8ed38;border-radius:18px;background:linear-gradient(145deg,#101e35f5,#071224f5);padding:14px;box-shadow:0 12px 30px #0003;min-width:0;margin:10px 0 18px}
.crew-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.crew-heading h2{font:700 14px/1.3 -apple-system,Segoe UI,sans-serif;margin:0;color:#e8f3ff;letter-spacing:0}.crew-heading>span{font-size:11px;color:#a5b8d2}
.crew-owner{display:flex;flex-direction:column;align-items:center;gap:3px;margin:12px auto 14px;color:#b4ffbd}.crew-owner>b{font-size:14px}.crew-owner>small{color:#a2b9ad;font-size:10px}
.owner-glow{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;border:2px solid #8dff84;background:#65ff67;box-shadow:0 0 9px #83ff7ca8,0 0 25px #55f85c54;padding:2px}.owner-glow img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:50%;display:block}.owner-glow span{color:#06210a;font-weight:800}
.crew-scroll{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;max-height:420px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#62829e #091527;padding:3px 5px 3px 0;border-radius:10px}.crew-scroll:focus-visible{outline:2px solid #8ddfff;outline-offset:4px}
.identity-card{display:flex;align-items:center;gap:8px;border:1px solid #c6ddff13;border-radius:12px;padding:9px 8px;background:#ffffff05;min-width:0;min-height:70px}
.identity-face{margin-left:auto;display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:44px;gap:2px}.identity-face .ic{width:40px;height:40px;font-size:27px;line-height:40px;margin:0;object-fit:contain;text-align:center}.identity-face:has(img)>.ic:not(img){display:none}
.identity-count{font-size:10px!important;line-height:1.4;color:#8da6bf}.identity-text{min-width:0;display:flex;flex-direction:column;gap:2px}.identity-text b{font-size:13px;line-height:1.3;color:#e7f2ff;overflow-wrap:anywhere;display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap}.identity-text small{font-size:10px;line-height:1.3;color:#9ab3ca;overflow-wrap:anywhere}.identity-former{font-size:10px!important;line-height:1.35;color:#b5a381;overflow-wrap:anywhere}
.crew-note{margin:10px 0 0;font-size:10px;line-height:1.5;color:#92a8bd;max-width:none}.crew-note>span{display:block;color:#c4d5e2}
/* identity chips everywhere (board steps, work log, reviews, shared notes): emoji + name + brand */
.agent-identity{gap:6px}.agent-identity .pm{margin-left:2px}
@media(max-width:760px){main{padding:0 14px 70px}.phero{padding-top:22px}.lede{font-size:15.5px}.pstats{gap:12px 18px}.pstats b{font-size:24px}.tcard{padding:15px 15px}.tcard h2{font-size:22px}.tcard .note{font-size:15px}.dstrip{grid-template-columns:1fr}.crew-scroll{grid-template-columns:repeat(2,minmax(0,1fr));max-height:360px}.identity-card{padding:8px 6px;gap:6px}.identity-face{flex-basis:35px;width:35px}.identity-face .ic{width:34px;height:34px;font-size:24px}.tabs{margin-top:16px}.eyebrow{font-size:11px}}
@media(max-width:420px){header nav a{font-size:13px;padding:7px 8px}.bar{gap:6px;padding:9px 12px}.jx{margin:6px 2px 0 5px}.who .em{font-size:22px}.thead{gap:6px}}
/* AMH logo (Gemini clip, eyes-open frame): hero side on PC, centered on phone; clip at the bottom plays to the eyes then holds */
.phero{position:relative}.phlogo{float:right;width:min(230px,30vw);height:auto;margin:-6px 0 8px 18px;filter:drop-shadow(0 0 22px #ff8a2a55)}
.amheyes{margin:40px auto 26px;max-width:880px;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#e6e6e6;box-shadow:0 0 40px #ff8a2a22;cursor:pointer}.amheyes video{display:block;width:100%;height:auto;aspect-ratio:16/9}
@media(max-width:760px){.phlogo{float:none;display:block;width:min(200px,58vw);margin:0 auto 6px}.amheyes{margin:30px 0 20px;border-radius:14px}}

/* Crew banner on top (wide on PC, tall on phone) + a branded shot in the footer. 2026-10-18 */
.phbanner{display:block;max-width:1180px;margin:14px auto 6px;padding:0 16px}.phbanner img{display:block;width:100%;height:auto;border-radius:22px;box-shadow:0 0 0 1px #ffffff1f,0 18px 60px #7c3aed40,0 0 40px #f5a52433}@media (max-width:760px){.phbanner{padding:0 12px}.phbanner img{max-height:82vh;object-fit:cover;border-radius:18px}}
.prime-footer{flex-wrap:wrap}.footshot{display:block;grid-column:1/-1;width:100%;flex:1 1 100%;max-width:760px;margin:0 auto 18px}.footshot img{display:block;width:100%;height:auto;border-radius:16px;box-shadow:0 0 0 1px #ffffff1a,0 10px 36px #7c3aed33}

/* 2026-10-18: the page's progress bars are also ".bar"; keep the nav bar full height. */
header .bar{height:auto!important;overflow:visible!important;background:none!important}
/* AMH PRIME HUNT sign as the header (movie that holds), cards after today's note, sign movie near the bottom. */
.phsign{max-width:760px;margin:6px auto -6px;padding:0 16px;text-align:center}.phsign video{display:block;width:100%;height:auto;aspect-ratio:3/2;border-radius:22px;background:#05070f;box-shadow:0 0 0 1px #ffffff14,0 0 60px #f5a52433,0 20px 70px #7c3aed33;-webkit-mask-image:radial-gradient(ellipse 72% 70% at 50% 50%,#000 62%,transparent 100%);mask-image:radial-gradient(ellipse 72% 70% at 50% 50%,#000 62%,transparent 100%)}.phsign-alt{display:none}.phsign-foot{margin:36px auto 6px;max-width:620px}
@media (prefers-reduced-motion:reduce){.phsign video{display:none}.phsign-alt{display:block;width:100%;height:auto;border-radius:22px}}
.phcards{max-width:1180px;margin:30px auto 10px;padding:0 16px;text-align:center}.phpill{display:inline-block;padding:9px 18px;border-radius:999px;background:#1470d6;color:#fff;font-weight:800;font-size:14px;box-shadow:0 6px 22px #1470d655;margin-bottom:16px}
.phgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;text-align:left}.phcard{border:1px solid #ffffff1c;border-radius:18px;padding:20px 20px 22px;background:linear-gradient(180deg,#0d1424cc,#070b14cc);box-shadow:inset 0 1px 0 #ffffff0d}.phcard:hover{border-color:#f5a52466;box-shadow:0 0 28px #f5a52422}
.phic{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:16px;background:#ffffff08;margin-bottom:10px}.phic img{width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 0 10px #f5a52455)}
.phcard h3{margin:4px 0 8px;font-size:24px;line-height:1.15;color:#ffb347;text-shadow:0 0 18px #f5a52455}.phcard:nth-child(2) h3{color:#8dff5a;text-shadow:0 0 18px #8dff5a44}.phcard:nth-child(3) h3{color:#7fd6ff;text-shadow:0 0 18px #7fd6ff44}.phcard p{margin:0;color:#c6d0e4;font-size:15px;line-height:1.55}
.phdisc{margin:18px auto 0;max-width:760px;color:#9aa7c2;font-size:13px}
@media (max-width:860px){.phgrid{grid-template-columns:1fr}.phcard h3{font-size:21px}}
.kicker{display:inline-flex;align-items:center;gap:9px}.livedot{position:relative;width:10px;height:10px;border-radius:50%;background:#8dff5a;box-shadow:0 0 10px #8dff5a,0 0 22px #8dff5a99;flex:0 0 auto;animation:liveblink 1.6s ease-in-out infinite}.livedot::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:2px solid #8dff5a;opacity:0;animation:livering 1.6s ease-out infinite}.livetag{font:800 10px/1 ui-monospace,Menlo,monospace;letter-spacing:.14em;text-transform:uppercase;color:#05110a;background:#8dff5a;border-radius:6px;padding:3px 6px;box-shadow:0 0 12px #8dff5a88}@keyframes liveblink{0%,100%{opacity:1}50%{opacity:.35}}@keyframes livering{0%{transform:scale(.6);opacity:.8}100%{transform:scale(1.9);opacity:0}}@media (prefers-reduced-motion:reduce){.livedot,.livedot::after{animation:none}}
/* Banners run edge to edge; the header sign is a thinner strip on a starfield. 2026-10-18 */
html,body{overflow-x:clip}
.phsign,.phbanner,.phsign-foot{max-width:none!important;width:100vw;margin-left:calc(50% - 50vw)!important;margin-right:0!important;padding:0!important}
.phsign{position:relative;height:clamp(190px,26vw,360px);margin-top:0!important;margin-bottom:8px!important;overflow:hidden;background:radial-gradient(1.5px 1.5px at 12% 22%,#fff9,transparent),radial-gradient(1px 1px at 28% 70%,#fff8,transparent),radial-gradient(1.5px 1.5px at 74% 18%,#fffa,transparent),radial-gradient(1px 1px at 88% 64%,#fff7,transparent),radial-gradient(1px 1px at 52% 88%,#fff6,transparent),radial-gradient(1.2px 1.2px at 6% 80%,#fff8,transparent),radial-gradient(1.2px 1.2px at 94% 30%,#fff9,transparent),radial-gradient(ellipse 60% 90% at 50% 50%,#2a1650 0%,#0b0f22 55%,#03050c 100%);border-bottom:1px solid #ffffff12}
.phsign video{position:absolute;left:50%;top:50%;height:118%;width:auto;max-width:none;aspect-ratio:3/2;transform:translate(-50%,-50%);border-radius:0;box-shadow:none;background:transparent;-webkit-mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 70%,transparent 100%);mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 70%,transparent 100%)}
.phsign-foot{height:clamp(220px,34vw,460px);margin-top:36px!important;border-top:1px solid #ffffff12}
.phbanner img{border-radius:0!important;box-shadow:none!important;width:100%}
@media (max-width:760px){.phsign{height:clamp(170px,48vw,260px)}.phsign video{height:112%}.phbanner img{max-height:none;object-fit:initial}.phsign-foot{height:clamp(200px,58vw,300px)}}
@media (prefers-reduced-motion:reduce){.phsign-alt{position:absolute;left:50%;top:50%;height:110%;width:auto;transform:translate(-50%,-50%);border-radius:0}}

/* Today's note contained, crew right under it, "Our hunt so far" charts, Mersenne background folded. 2026-10-18 */
.tcard.clamp .note{max-height:9.6em;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,#000 62%,transparent);mask-image:linear-gradient(180deg,#000 62%,transparent)}.tcard .more{margin:6px 0 4px;background:none;border:1px solid #8dff5a66;color:#8dff5a;border-radius:999px;padding:6px 14px;font-weight:700;cursor:pointer}.tcard .more:hover{background:#8dff5a1a}
.crewtop{max-width:1180px;margin:8px auto 0;padding:0 16px}
.ourhunt{max-width:1180px;margin:26px auto 6px;padding:0 16px}.ohhead{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:12px}.ohhead h2{margin:0;font-size:24px}.ohhead span{color:#9aa7c2;font-size:13px}
.ohgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.ohcard{margin:0;border:1px solid #ffffff1c;border-radius:18px;padding:16px;background:linear-gradient(180deg,#0d1424cc,#070b14cc)}.ohcard figcaption b{display:block;color:#fff;font-size:16px}.ohcard figcaption span{color:#9aa7c2;font-size:12px}.ohcard svg{display:block;width:100%;height:auto;margin-top:8px}
.ohbig{fill:#8dff5a;font:800 40px/1 system-ui,sans-serif}.ohsmall{fill:#9aa7c2;font:600 11px system-ui,sans-serif}.ohval{fill:#fff;font:800 12px system-ui,sans-serif}.ohexp{fill:#ffb347;font:700 11px system-ui,sans-serif}
.ohleg{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:4px;font-size:13px;color:#c6d0e4}.ohleg i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:middle}.ohleg b{color:#fff}.ohnote{margin:8px 0 0;color:#9aa7c2;font-size:12px;line-height:1.45}
details.mbg{margin-top:16px;border:1px solid #ffffff1a;border-radius:14px;padding:10px 14px;background:#ffffff05}details.mbg>summary{cursor:pointer;color:#c6d0e4;font-weight:700}details.mbg>summary span{color:#9aa7c2;font-weight:500;font-size:12px;margin-left:6px}
@media (max-width:860px){.ohgrid{grid-template-columns:1fr}}

/* Bottom: logo alone floating on black, WT + Jubber banner edge to edge, cleaner logos/links row, landing footer. 2026-10-18 */
.phlogo-end{text-align:center;margin:44px auto 10px;padding:0 16px}.phlogo-end img{width:min(560px,86vw);height:auto;filter:drop-shadow(0 0 28px #f5a52455);animation:phfloat 5s ease-in-out infinite}@keyframes phfloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.phcrewfoot{display:block;width:100vw;margin-left:calc(50% - 50vw);margin-top:18px}.phcrewfoot img{display:block;width:100%;height:auto}
.phfoot-extra{max-width:1180px;margin:22px auto 0;padding:0 16px;color:#9aa7c2;font-size:13px}.phfoot-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;padding:14px 0;border-top:1px solid #ffffff14;border-bottom:1px solid #ffffff14}
.phfoot-extra .footer-brands{display:flex;flex-wrap:wrap;gap:18px;align-items:center}.phfoot-extra .footer-brands a{display:inline-flex;align-items:center;gap:8px;color:#c6d0e4;text-decoration:none}.phfoot-extra nav{display:flex;flex-wrap:wrap;gap:6px 16px}.phfoot-extra nav a{color:#8dff5a;text-decoration:none;font-weight:600}.phfoot-extra nav a:hover{text-decoration:underline}
.phfoot-extra>p{display:flex;align-items:center;gap:8px;margin:12px 0 0}
footer.amh-footer{margin-top:26px}
@media (prefers-reduced-motion:reduce){.phlogo-end img{animation:none}}
/* "Where to research next": smaller cards in a contained, scrollable box. 2026-10-18 */
#catalog{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))!important;gap:10px!important;max-height:560px;overflow:auto;padding:4px 6px 4px 0;border-radius:14px;scrollbar-width:thin}
#catalog>*{padding:12px 14px!important;font-size:13px!important;line-height:1.45!important;margin:0!important;min-height:0!important}
#catalog h3,#catalog h4{font-size:15px!important;margin:2px 0 6px!important}#catalog p{margin:4px 0!important}
@media (max-width:620px){#catalog{max-height:460px;grid-template-columns:1fr!important}}
/* Poem + Lab buttons: green light chasing around the border. 2026-10-18 */
@property --chase{syntax:"<angle>";inherits:false;initial-value:0deg}
header nav a.chase{position:relative;isolation:isolate;border:0!important;background:#07120c!important;color:#d9ffe6!important}
header nav a.chase::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;background:conic-gradient(from var(--chase),#8dff5a 0deg,#8dff5a33 70deg,transparent 140deg,transparent 220deg,#8dff5a33 290deg,#8dff5a 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);animation:chase 2.4s linear infinite;z-index:-1}
header nav a.chase:nth-child(2)::before{animation-delay:-1.2s}
header nav a.chase:hover{box-shadow:0 0 16px #8dff5a66}
@keyframes chase{to{--chase:360deg}}
@media (prefers-reduced-motion:reduce){header nav a.chase::before{animation:none;background:#8dff5a}}

/* Crew banner as its own section with buttons; new cards use the page's own blue; lighter whiteboard. 2026-10-18 */
.crewsec{max-width:1180px;margin:30px auto 10px;padding:0 16px;display:grid;grid-template-columns:1.35fr 1fr;gap:22px;align-items:center}
.crewsec-art img{display:block;width:100%;height:auto;border-radius:20px;box-shadow:0 0 0 1px #ffffff1f,0 16px 50px #7c3aed33}
.crewsec-body h2{margin:6px 0 10px;font-size:28px;line-height:1.15}.crewsec-body p{color:#c6d0e4;margin:0 0 16px}
.crewsec-btns{display:flex;flex-wrap:wrap;gap:10px}.cbtn{display:inline-block;padding:10px 16px;border-radius:999px;font-weight:800;font-size:14px;text-decoration:none}
.cbtn.wt{background:#22c55e;color:#04140a}.cbtn.jub{background:#8dff5a;color:#0a1a05}.cbtn.amh{background:transparent;color:#ffd089;border:1px solid #f5a52499}.cbtn:hover{filter:brightness(1.1)}
@media (max-width:860px){.crewsec{grid-template-columns:1fr}.crewsec-art img{max-height:none}}
.phcard,.ohcard{background:var(--card)!important;border-color:#ffffff24!important}
#map-viewport{background:#16264a!important;border-color:#ffffff3a!important}#map-world{background-image:radial-gradient(#4b6597 1px,transparent 1px)!important}.map-board{background:#0f1c38!important}

/* Prime turn countdown: same look as the poem landing (green tiles, Blender hourglass, bar). 2026-10-18 */
.cdown{display:flex;align-items:center;gap:12px;margin:16px 0 4px;max-width:100%}.cd-main{min-width:0;flex:1 1 auto;max-width:440px}.cd-row{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.cd-label{font-size:13px;color:#c8ff9e;white-space:nowrap}
.tiles{display:inline-flex;align-items:center;gap:3px}.tiles[hidden]{display:none}.tiles i{font-style:normal;color:#87cf35;font-weight:800}
.tiles .t{display:inline-block;min-width:32px;text-align:center;font:800 18px/1 ui-monospace,Menlo,Consolas,monospace;font-variant-numeric:tabular-nums;color:#d6ff8a;background:#091a34;border:2px solid #87cf35;border-radius:8px;padding:6px 3px;box-shadow:0 0 0 2px #e2f4d014,0 0 12px #a8de7380;text-shadow:0 0 8px #a8de73}
.tiles .t.tick{animation:cdflip .32s ease-out}@keyframes cdflip{0%{transform:perspective(80px) rotateX(-70deg);opacity:.4}100%{transform:none;opacity:1}}
.cd-writing{font-size:13px;color:#d6ff8a;display:inline-flex;align-items:center;gap:6px}.cd-writing[hidden]{display:none}.tdots{display:inline-flex;gap:3px}.tdots i{width:5px;height:5px;border-radius:50%;background:#8dff5a;animation:liveblink 1.2s infinite}.tdots i:nth-child(2){animation-delay:.2s}.tdots i:nth-child(3){animation-delay:.4s}
.cdbar{position:relative;height:10px;margin-top:8px;border:1.5px solid #87cf35;border-radius:99px;background:#091a34;box-shadow:0 0 10px #a8de7366;overflow:hidden}
.cdfill{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:99px;background:linear-gradient(180deg,#d6ff8a,#87cf35 55%,#5ea01f);box-shadow:0 0 8px #a8de73;overflow:hidden}.cdfill::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,#ffffff88 50%,transparent 70%);transform:translateX(-100%);animation:cdshine 2.6s linear infinite}@keyframes cdshine{to{transform:translateX(100%)}}
.cdpct{margin-top:5px;font-size:12px;color:#b8d4a0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hg3d{flex:0 0 auto;width:36px;height:60px;background:url(/poem/assets/hourglass-gel.webp) 0 0/2100% 100% no-repeat;filter:drop-shadow(0 0 6px #8dff5a88);transition:transform .9s cubic-bezier(.5,1.6,.5,1)}.cdown.writing .hg3d{transform:rotate(180deg)}
@media (max-width:420px){.tiles .t{min-width:28px;font-size:16px}.cd-label{font-size:12px}.hg3d{width:30px;height:50px}}
@media (prefers-reduced-motion:reduce){.cdfill::after,.tdots i{animation:none}}

/* Floating AMH PRIME HUNT logo moved into the footer's left side, under the WT + Jubber banner. 2026-10-18 */
.phfoot-extra{display:grid;grid-template-columns:minmax(180px,280px) 1fr;gap:26px;align-items:center}
.phfoot-logo img{display:block;width:100%;height:auto;filter:drop-shadow(0 0 22px #f5a52455);animation:phfloat 5s ease-in-out infinite}
.phfoot-info{min-width:0}
@media (max-width:760px){.phfoot-extra{grid-template-columns:1fr;justify-items:center;text-align:center}.phfoot-logo{width:min(260px,70vw)}.phfoot-row{justify-content:center}.phfoot-extra .footer-brands{justify-content:center}.phfoot-extra>.phfoot-info>p{justify-content:center}}
@media (prefers-reduced-motion:reduce){.phfoot-logo img{animation:none}}
.phcrewfoot{background:#03050c}.phcrewfoot img{max-height:420px;object-fit:contain;margin:0 auto}

/* Footer banner: edge to edge, a short strip, AMH sign never cut (crops from the bottom). "Started by" sits in the footer's bottom bar. */
.phcrewfoot{background:none}.phcrewfoot img{width:100%!important;max-height:none;height:clamp(150px,30vw,440px)!important;object-fit:cover!important;object-position:50% 4%!important;margin:0!important}
.amh-footer__bottom{flex-wrap:wrap;row-gap:8px}.ph-started{flex:1 1 100%;display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#9aa7c2;font-size:12px}.ph-started img{border-radius:50%}.ph-started b{color:#d6e2ff}

/* AMH eyes logo, small and floating, on the other side of the Prime Hunt logo in the footer. */
.phfoot-extra{grid-template-columns:minmax(180px,280px) 1fr minmax(110px,170px)}.phfoot-eyes img{display:block;width:100%;height:auto;filter:drop-shadow(0 0 18px #f5a52455);animation:phfloat 5s ease-in-out infinite;animation-delay:-2.5s}
@media (max-width:760px){.phfoot-extra{grid-template-columns:1fr}.phfoot-eyes{width:min(150px,40vw)}}
@media (prefers-reduced-motion:reduce){.phfoot-eyes img{animation:none}}
/* Footer: both logos the same size, middle centered. */
.phfoot-extra{grid-template-columns:220px 1fr 220px!important;justify-items:center;text-align:center}
.phfoot-logo,.phfoot-eyes{width:220px;height:180px;display:grid;place-items:center}.phfoot-logo img,.phfoot-eyes img{width:auto!important;max-width:220px;max-height:180px;height:auto}
.phfoot-info{width:100%}.phfoot-row{justify-content:center!important;flex-direction:column;gap:12px!important}.phfoot-extra .footer-brands,.phfoot-extra nav{justify-content:center}
@media (max-width:760px){.phfoot-extra{grid-template-columns:1fr 1fr!important}.phfoot-info{grid-column:1/-1;order:3}.phfoot-logo,.phfoot-eyes{width:100%;height:150px}.phfoot-logo img,.phfoot-eyes img{max-width:160px;max-height:140px}}
/* Footer = the WT + Jubber banner itself (edge to edge, no blue box); dark fade keeps the text readable. 2026-10-18 */
footer.amh-footer{width:100vw;margin-left:calc(50% - 50vw)!important;border-radius:0!important;background:linear-gradient(180deg,#03050cd9 0%,#03050c99 35%,#03050cb3 70%,#03050cf2 100%),url(./amh-crew-wide.webp) center 18%/cover no-repeat!important;border-top:0!important}
footer.amh-footer::before,footer.amh-footer::after{display:none!important}
.amh-footer__cta{background:#03050ca6!important;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);border-color:#ffffff26!important}
.amh-footer__statement,.amh-footer__brand small,.amh-footer__link,.ph-started{text-shadow:0 1px 6px #000}
.phfoot-extra{margin:0 auto!important;padding:22px 16px 30px!important;background:#03050c}.phfoot-row{border-bottom:0!important}

/* Days row: today + days before side by side, contained, slides with arrows (no dots). 2026-10-18 */
.drow-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0 8px}.drow-arrows{display:flex;gap:8px}.drow-arrows[hidden]{display:none}
.drow-arrow{width:40px;height:40px;border-radius:50%;border:1px solid #8dff5a88;background:#07120c;color:#8dff5a;font:800 22px/1 system-ui,sans-serif;cursor:pointer;display:grid;place-items:center}.drow-arrow:hover:not(:disabled){background:#8dff5a;color:#07120c}.drow-arrow:disabled{opacity:.3;cursor:default}
.drow{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:4px 2px 12px;scrollbar-width:thin;align-items:stretch}
.drow>article{flex:0 0 340px;max-width:340px;scroll-snap-align:start;margin:0!important;display:flex;flex-direction:column;max-height:470px;overflow:hidden}
.drow>.tcard{flex-basis:520px;max-width:520px}
.drow>article .note,.drow>article .ntext{overflow:hidden}.drow>.tcard h2{font-size:22px;line-height:1.2;margin:8px 0}
.drow>article .tact{margin-top:auto}
.drow>.tcard.open,.drow>article.open{max-height:none;overflow:visible}
@media (max-width:620px){.drow>article,.drow>.tcard{flex-basis:86vw;max-width:86vw}}

/* header AMH mark: small, centered, black outline, dark box */
.amhb .mk{overflow:visible}.amhb .mk .t{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;height:auto!important;display:block!important;white-space:nowrap}.amhb .mk .t{font-size:8.5px!important;line-height:1!important;letter-spacing:-.03em!important;margin:0!important;padding:0!important;-webkit-text-stroke:0;filter:none}
/* Footer banner shows the whole picture: full sign on top, Jubber down to the bottom. */
footer.amh-footer{min-height:50vw;background-position:center top,center top!important;background-size:auto,100% auto!important;background-color:#03050c!important;display:flex;flex-direction:column;justify-content:flex-end}
@media (max-width:900px){footer.amh-footer{background-size:auto,cover!important;background-position:center top,40% 100%!important}}

/* GitHub logo with the bottom logos; full-page whiteboard is white. 2026-10-18 */
.ghfoot{display:inline-flex;align-items:center;gap:8px;color:#fff!important;text-decoration:none}.ghfoot svg{width:40px;height:40px}.ghfoot span{color:#c6d0e4}
.whiteboard-page #map-viewport{background:#ffffff!important;border-color:#d6dbe6!important}.whiteboard-page #map-world{background-image:radial-gradient(#c9d2e3 1px,transparent 1px)!important}.whiteboard-page .map-board{background:#f4f6fb!important}.whiteboard-page .map-hint{color:#4a5672}

/* Whiteboard embedded on the Lab (?embed=1): just the board, no site chrome. */
html[data-embed] header,html[data-embed] footer,html[data-embed] .snav,html[data-embed] .mxmenu,html[data-embed] #mxmenu,html[data-embed] .amh-footer,html[data-embed] .wt-end{display:none!important}
html[data-embed] body{background:#fff!important;min-height:0}html[data-embed] main{padding:0!important;margin:0!important;max-width:none!important}

/* Embedded whiteboard (Lab): details always shown, under the board instead of on top of it. */
html[data-embed] .show-step #board>.workspace{position:static!important;width:auto!important;max-height:none!important;box-shadow:none!important;margin-top:10px}
html[data-embed] #map-detail-close{display:none!important}

/* Run the hunt yourself: replaces the small 2^128 demo, next to the whiteboard. Green glow so it's seen. 2026-10-18 */
details.play{display:none!important}
.tryhunt{margin:18px 0;padding:18px 18px 16px;border:2px solid #8dff5a;border-radius:18px;background:linear-gradient(135deg,#123d1df0,#0b2142f0);box-shadow:0 0 28px #8dff5a44,inset 0 0 0 1px #ffffff10}
.tryhunt.running{animation:thpulse 1.6s ease-in-out infinite}@keyframes thpulse{50%{box-shadow:0 0 44px #8dff5a88,inset 0 0 0 1px #ffffff10}}
.th-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.th-head h3{margin:0;font-size:22px;color:#fff}.th-tag{font:800 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.12em;text-transform:uppercase;color:#07120c;background:#8dff5a;border-radius:6px;padding:5px 7px}
.tryhunt .livedot{width:10px;height:10px;border-radius:50%;background:#8dff5a;box-shadow:0 0 10px #8dff5a;animation:liveblink 1.6s ease-in-out infinite}
.th-lede{margin:8px 0 4px;color:#d9ffe6}.th-from{margin:0 0 10px;color:#b8d4a0;font-size:13px;word-break:break-all}
.th-controls{display:grid;grid-template-columns:1.3fr 1.6fr .6fr;gap:10px}.th-controls label{display:grid;gap:4px;font-size:12px;color:#c8ff9e}.th-controls select,.th-controls input{width:100%;min-width:0;padding:9px 10px;border-radius:10px;border:1px solid #8dff5a66;background:#07120c;color:#eaffd9;font:14px ui-monospace,Menlo,monospace}
.th-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.th-btns button{padding:10px 16px;border-radius:999px;border:1px solid #8dff5a88;background:#07120c;color:#d9ffe6;font-weight:800;cursor:pointer}.th-btns .th-go{background:#8dff5a;color:#07120c;border-color:#8dff5a}.th-btns .th-auto{background:#22c55e;border-color:#22c55e}.th-btns button:disabled{opacity:.4;cursor:default}
.th-msg{min-height:1.4em;margin:10px 0 6px;color:#d6ff8a;font-size:14px}
.th-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.th-stats div{border:1px solid #8dff5a33;border-radius:12px;padding:8px 10px;background:#07120c99}.th-stats b{display:block;font:800 22px/1.1 ui-monospace,Menlo,monospace;color:#8dff5a}.th-stats span{font-size:11px;color:#b8d4a0}
.th-found-h{display:block;margin:12px 0 6px;color:#fff}.th-found{list-style:none;margin:0;padding:0;display:grid;gap:6px}.th-found li{padding:8px 10px;border-radius:10px;background:#8dff5a1f;border:1px solid #8dff5a66;font:13px ui-monospace,Menlo,monospace;color:#eaffd9;word-break:break-all}.th-found li b{color:#8dff5a}
.th-log{list-style:none;margin:10px 0 0;padding:0;max-height:170px;overflow:auto;font:12px ui-monospace,Menlo,monospace;color:#9aa7c2}.th-log li{padding:2px 0;word-break:break-all}.th-log li.prime{color:#8dff5a;font-weight:800}
.th-fine{margin:10px 0 0;font-size:12px;color:#9aa7c2}
@media (max-width:700px){.th-controls{grid-template-columns:1fr}.th-stats{grid-template-columns:repeat(2,1fr)}}

/* Hunt score card next to the timer + popup with the graph and every reason. 2026-10-18 */
.clockrow{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:16px 0 4px}.clockrow .cdown{margin:0}
.ps-card{display:flex;align-items:center;gap:12px;padding:10px 14px;border:2px solid #87cf35;border-radius:16px;background:#091a34;color:#eaffd9;cursor:pointer;box-shadow:0 0 14px #a8de7366;text-align:left;font:inherit}.ps-card:hover{box-shadow:0 0 22px #8dff5aaa}
.ps-big{font:800 26px/1 ui-monospace,Menlo,monospace;color:#d6ff8a;text-shadow:0 0 10px #a8de73;min-width:58px;text-align:center}.ps-txt{display:grid;gap:2px;max-width:290px}.ps-txt strong{color:#fff;font-size:14px}.ps-txt small{color:#b8d4a0;font-size:12px;line-height:1.35}.ps-more{color:#8dff5a;font-weight:800;font-size:13px;white-space:nowrap}
.ps-dlg{width:min(680px,calc(100vw - 24px));max-height:min(80vh,760px);padding:0;border:2px solid #8dff5a;border-radius:20px;background:#07101f;color:#eaf1ff;box-shadow:0 0 50px #8dff5a44}.ps-dlg::backdrop{background:#000a;backdrop-filter:blur(3px)}
.ps-in{position:relative;padding:20px 20px 18px;max-height:min(80vh,760px);overflow:auto}.ps-x{position:absolute;right:12px;top:12px;width:36px;height:36px;border-radius:50%;border:1px solid #8dff5a88;background:#07120c;color:#8dff5a;font-weight:800;cursor:pointer}
.ps-in h3{margin:0 40px 8px 0;font-size:22px}.ps-lede{color:#c6d0e4;font-size:14px;line-height:1.55}.ps-chart{display:block;width:100%;height:auto;margin:8px 0 2px}.ps-ax{fill:#9aa7c2;font:600 11px system-ui,sans-serif}.ps-v{fill:#fff;font:800 12px system-ui,sans-serif}.ps-key{margin:0 0 10px;color:#9aa7c2;font-size:12px}
.ps-list{display:grid;gap:10px}.ps-day{border:1px solid #ffffff1c;border-radius:14px;padding:10px 12px;background:#091a3499}.ps-day h4{margin:0 0 4px;font-size:14px;color:#d6ff8a}.ps-day p{margin:4px 0;font-size:13.5px;color:#d6e2ff}.ps-dim{color:#9aa7c2!important}.ps-rate{color:#ffd089!important}
@media (max-width:620px){.ps-card{width:100%}.ps-txt{max-width:none}}

.ps-big span{font:800 28px/1 ui-monospace,Menlo,monospace}.ps-big i{font-style:normal;font-size:13px;color:#b8d4a0;margin-left:2px}.ps-grade{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#8dff5a;color:#07120c;font:900 22px/1 system-ui,sans-serif;box-shadow:0 0 12px #8dff5a88}
.ps-h{margin:14px 0 6px;color:#d6ff8a;font-size:15px}.ps-tw{overflow-x:auto}.ps-tbl{width:100%;border-collapse:collapse;font-size:13px}.ps-tbl th,.ps-tbl td{padding:7px 8px;border-bottom:1px solid #ffffff14;text-align:left;white-space:nowrap}.ps-tbl th{color:#9aa7c2;font-weight:700}.ps-tbl td{color:#eaf1ff}

.tk-card{border-color:#7fd6ff!important;box-shadow:0 0 14px #7fd6ff55!important}.tk-card .ps-big span{color:#bfe9ff;text-shadow:0 0 10px #7fd6ff}.tk-card .ps-more{color:#7fd6ff}
.ps-scroll{max-height:300px;overflow:auto;scrollbar-width:thin}.ps-top td{color:#d6ff8a!important;font-weight:800}.ps-link{display:inline-block;margin-top:10px;color:#8dff5a;font-weight:700}
.pscore{display:flex;gap:12px;flex-wrap:wrap}

/* Compact cards beside the timer: score, grade, trend line visible at a glance; Jubber-green glow. */
.clockrow{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px;align-items:stretch}.clockrow .cdown{align-self:center}
.pscore{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
.ps-card{flex-direction:column!important;align-items:flex-start!important;gap:4px!important;padding:10px 12px!important;border-radius:16px!important;border:1.5px solid #8dff5a!important;background:radial-gradient(120% 90% at 0% 0%,#1a4a1fcc,#0a1a12e6 55%,#06101be6)!important;box-shadow:0 0 18px #8dff5a55,inset 0 0 18px #8dff5a14!important;min-width:0;width:auto!important}
.ps-head{display:flex;align-items:center;gap:8px}.ps-big{min-width:0!important;text-align:left!important}.ps-big span{font-size:26px!important}.ps-grade{width:32px!important;height:32px!important;font-size:18px!important}
.ps-name{color:#fff;font-size:13px}.ps-sub{color:#b8d4a0;font-size:11.5px;line-height:1.3}.ps-spark{width:100%;height:30px;filter:drop-shadow(0 0 4px #8dff5a99)}.ps-more{font-size:12px!important;margin-top:2px}
.tk-card{border-color:#7fd6ff!important;background:radial-gradient(120% 90% at 0% 0%,#123a4acc,#0a1520e6 55%,#06101be6)!important;box-shadow:0 0 18px #7fd6ff44,inset 0 0 18px #7fd6ff12!important}.tk-card .ps-big span{font-size:24px!important}
@media (max-width:860px){.clockrow{grid-template-columns:1fr}}
@media (max-width:420px){.pscore{grid-template-columns:1fr 1fr}.ps-big span{font-size:22px!important}}

.ohclick{cursor:pointer;transition:box-shadow .2s,border-color .2s}.ohclick:hover,.ohclick:focus-visible{border-color:#8dff5a!important;box-shadow:0 0 20px #8dff5a55}.ohmore{display:block;margin-top:8px;color:#8dff5a;font-weight:800;font-size:13px}
.ps-code{display:block;margin:6px 0;padding:8px 10px;border-radius:10px;background:#03070f;border:1px solid #8dff5a33;color:#d6ff8a;font:12px/1.45 ui-monospace,Menlo,monospace;word-break:break-all;white-space:pre-wrap}.ps-py{color:#bfe9ff}
.tk-rows{display:grid;gap:4px;width:100%;margin:2px 0}.tk-row{display:grid;grid-template-columns:minmax(0,1.1fr) 1fr auto;align-items:center;gap:6px;font-size:11.5px}.tk-n{color:#eaf6ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tk-track{height:6px;border-radius:4px;background:#ffffff14;overflow:hidden}.tk-bar{display:block;height:100%;background:#7fd6ff;box-shadow:0 0 6px #7fd6ff}.tk-v{color:#bfe9ff;font:700 11.5px ui-monospace,Menlo,monospace}.tk-nr{color:#7c8aa5;font-weight:500}
.tk-card{position:relative}.tk-q{position:absolute;top:8px;right:8px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;border:1px solid #7fd6ff;color:#7fd6ff;font:800 12px/1 system-ui,sans-serif;cursor:pointer;background:#06101b}.tk-q:hover{background:#7fd6ff;color:#06101b}
/* Austin liked the long bars: score + tokens as full-width horizontal bars under the timer. */
.clockrow{grid-template-columns:1fr!important}.pscore{grid-template-columns:1fr!important}
.ps-card{flex-direction:row!important;align-items:center!important;flex-wrap:wrap;gap:6px 16px!important;padding:12px 16px!important}
.ps-card .ps-head{flex:0 0 auto}.ps-card .ps-name{flex:0 0 auto}.ps-card .ps-spark{flex:1 1 180px;width:auto;max-width:420px}.ps-card .ps-sub{flex:1 1 200px}.ps-card .ps-more{margin-left:auto}
.tk-card .tk-rows{flex:1 1 320px;max-width:520px}.tk-card .ps-big{flex:0 0 auto}.tk-card .tk-q{position:static;order:9}
@media (max-width:620px){.ps-card .ps-more{margin-left:0}}

/* Score = box beside the timer; tokens = one long bar across under them. */
.clockrow{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.pscore{display:contents!important}
.clockrow>.cdown{grid-column:1}.clockrow .ps-card:not(.tk-card){grid-column:2;flex-direction:column!important;align-items:flex-start!important;width:auto!important}
.clockrow .tk-card{grid-column:1/-1;flex-direction:row!important;align-items:center!important}
.tk-est{background:repeating-linear-gradient(45deg,#7fd6ff99 0 4px,#7fd6ff33 4px 8px)!important;box-shadow:none!important}
@media (max-width:620px){.clockrow{grid-template-columns:1fr!important}.clockrow .ps-card:not(.tk-card){grid-column:1}}
.clockrow .ps-card:not(.tk-card){align-self:center;height:auto!important}.ps-spark{height:30px!important;max-width:100%!important;flex:0 0 auto!important;width:100%!important}
.clockrow .ps-card:not(.tk-card)>*{flex:0 0 auto!important}.clockrow .ps-card:not(.tk-card) .ps-more{margin-left:0!important}

.ohgrid.oh4{grid-template-columns:repeat(2,1fr)}.ohres{border-color:#ffb34766!important}.ohres-big{margin:10px 0 4px;font-size:14px;color:#ffd089}.ohres-big b{font:800 38px/1 system-ui,sans-serif;color:#ffb347;text-shadow:0 0 14px #ffb34766}
@media (max-width:860px){.ohgrid.oh4{grid-template-columns:1fr}}

/* Found primes stand out on their day card */
.pfound{display:grid;gap:4px;margin:10px 0;padding:10px 12px;border:2px solid #8dff5a;border-radius:12px;background:linear-gradient(135deg,#123d1d,#07120c);box-shadow:0 0 18px #8dff5a55}.pf-tag{font:900 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.16em;color:#07120c;background:#8dff5a;border-radius:5px;padding:4px 7px;justify-self:start;box-shadow:0 0 10px #8dff5a}.pf-n{font:800 15px/1.35 ui-monospace,Menlo,monospace;color:#d6ff8a;word-break:break-all;text-shadow:0 0 8px #8dff5a66}.pf-meta{color:#c6d0e4;font-size:12.5px}.pf-known{color:#8dff5a;font-size:12.5px;font-weight:700}

/* stats as one boxed panel, same green border/glow as the score box */
.pstats{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:4px 14px;margin:16px 0 4px;padding:12px 16px;border:1.5px solid #8dff5a;border-radius:16px;background:radial-gradient(120% 90% at 0% 0%,#1a4a1fcc,#0a1a12e6 55%,#06101be6);box-shadow:0 0 18px #8dff5a55,inset 0 0 18px #8dff5a14}
.pstats>div{padding:4px 0}.pstats>div:nth-child(3){border-left:2px solid #ffb34766;padding-left:10px}.pstats>div:nth-child(3) b{color:#ffb347!important;text-shadow:0 0 12px #ffb34766}
/* numbers: softer glow; the found-prime count stands out in green */
.pstats b{text-shadow:0 0 6px #a8de7355!important}.pstats>div:nth-child(2){border:1.5px solid #8dff5a;border-radius:12px;padding:6px 10px;background:#8dff5a14}.pstats>div:nth-child(2) b{color:#8dff5a!important;text-shadow:0 0 10px #8dff5a88!important}
.pstats>div:nth-child(2),.pstats>div:nth-child(3){cursor:pointer}.pstats>div:nth-child(2):hover,.pstats>div:nth-child(3):hover{box-shadow:0 0 16px #8dff5a66}.pstats>div:nth-child(2) span::after{content:' →';color:#8dff5a}.pstats>div:nth-child(3) span::after{content:' →';color:#ffb347}

/* the found number itself: its own bright mint green, bigger */
.ps-code.ps-prime{font:800 17px/1.4 ui-monospace,Menlo,monospace;color:#04120a;background:linear-gradient(135deg,#7dffb0,#3ef2a2);border:0;box-shadow:0 0 18px #3ef2a288;padding:10px 12px}
.pf-n{color:#04120a!important;background:linear-gradient(135deg,#7dffb0,#3ef2a2);border-radius:8px;padding:6px 9px;text-shadow:none!important;box-shadow:0 0 14px #3ef2a277}
.pf-known,.ps-day .pf-known{display:block;margin:6px 0}

.th-controls{grid-template-columns:1.3fr 1.6fr .6fr 1.2fr}.th-sharedwrap{margin-top:14px}.th-shared .th-found{max-height:420px;overflow:auto}.th-shared li{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.th-recheck,.th-ok,.th-bad{margin-left:auto;padding:4px 10px;border-radius:999px;border:1px solid #8dff5a88;background:#07120c;color:#d9ffe6;font:700 12px system-ui,sans-serif;cursor:pointer}.th-ok{background:#8dff5a;color:#07120c}.th-bad{background:#ff6b6b;color:#fff}.th-addbox{margin-top:10px}.th-addbox summary{cursor:pointer;color:#c8ff9e}.th-addbox form{display:grid;grid-template-columns:2fr 1fr .7fr auto;gap:8px;align-items:end;margin-top:8px}.th-addbox label{display:grid;gap:4px;font-size:12px;color:#c8ff9e}.th-addbox input,.th-addbox select{width:100%;min-width:0;padding:8px;border-radius:10px;border:1px solid #8dff5a66;background:#07120c;color:#eaffd9;font:13px ui-monospace,Menlo,monospace}.th-addbox button{padding:9px 14px;border-radius:999px;border:0;background:#8dff5a;color:#07120c;font-weight:800}.th-addbox p{grid-column:1/-1;margin:0}
@media (max-width:700px){.th-controls{grid-template-columns:1fr}.th-addbox form{grid-template-columns:1fr 1fr}}

.pstats>.pstat-people{border:1.5px solid #8dff5a;border-radius:12px;padding:6px 10px;background:#8dff5a14}.pstats>.pstat-people a{display:flex;flex-direction:column;color:inherit;text-decoration:none}.pstats>.pstat-people b{color:#8dff5a!important;text-shadow:0 0 10px #8dff5a88!important}.pstats>.pstat-people span{text-decoration:underline;text-underline-offset:3px}
.th-controls{grid-template-columns:1.3fr 1.6fr .6fr 1.4fr .8fr 1.2fr}.th-speed{margin:0 0 8px;min-height:1.2em;font:12px/1.45 ui-monospace,Menlo,monospace;color:#8dff5a}
.th-scorewrap{margin-top:14px}.th-score{overflow-x:auto;border:1px solid #8dff5a33;border-radius:12px;background:#07120c99}.th-scoretab{width:100%;border-collapse:collapse;font-size:12.5px;color:#d9ffe6}.th-scoretab th,.th-scoretab td{padding:7px 9px;text-align:right;border-bottom:1px solid #8dff5a22;white-space:nowrap}.th-scoretab th:first-child,.th-scoretab td:first-child{text-align:left}.th-scoretab th{color:#c8ff9e;font-weight:800;font-size:11px;letter-spacing:.06em;text-transform:uppercase}.th-scoretab tbody tr:last-child td{border-bottom:0}.th-scoretab td[colspan]{text-align:left;white-space:normal;color:#9aa7c2}
@media (max-width:1000px){.th-controls{grid-template-columns:1fr 1fr 1fr}}@media (max-width:700px){.th-controls{grid-template-columns:1fr}}
@media (max-width:700px){.th-scoretab th:nth-child(3),.th-scoretab td:nth-child(3),.th-scoretab th:nth-child(4),.th-scoretab td:nth-child(4){display:none}.th-scoretab{font-size:12px}.th-scoretab th,.th-scoretab td{padding:7px 6px;white-space:normal}.th-scoretab th{font-size:10px}}

.ll-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;margin-top:10px}.ll-form label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#c8ff9e;font-weight:700}.ll-form input{width:140px;padding:9px 12px;border-radius:10px;border:1px solid #8dff5a55;background:#07120c;color:#d9ffe6;font:inherit}.ll-form button{padding:10px 16px;border-radius:999px;border:1px solid #8dff5a;background:#8dff5a;color:#07120c;font-weight:800;cursor:pointer}.ll-form button:disabled{opacity:.4}#ll-out{margin-top:10px;padding:0}#ll-out:not(:has(table)){padding:10px 12px;color:#9aa7c2;font-size:13px}@media (max-width:700px){.ll-tab th:nth-child(3),.ll-tab td:nth-child(3),.ll-tab th:nth-child(4),.ll-tab td:nth-child(4){display:table-cell}}
