@font-face{font-family:Froople;src:url('/play/a-little-loose-thread/art/Froople.ttf') format('truetype');font-display:swap}
.lb-main{--ink:#173c61;--muted:#527283;--cream:#fffaf1;--yellow:#ffda54;--mint:#d7f3e9;--pink:#fce0e8;--line:#e9e9e4;--display:Froople,'Trebuchet MS',sans-serif}
*{box-sizing:border-box}body.leaderboard-page{margin:0;background:radial-gradient(ellipse at 85% 20%,#fff1d875,transparent 40%),#fffaf1;color:var(--ink);font:16px/1.55 "DM Sans",system-ui,sans-serif}a{color:inherit;text-decoration:none}button,select{font:inherit;color:inherit}button{cursor:pointer}img{display:block;max-width:100%}[hidden]{display:none!important}:focus-visible{outline:3px solid #0874a0;outline-offset:5px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--display);font-weight:400}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip-link:focus{position:fixed;z-index:10;background:white;padding:12px}
.lb-header{max-width:1220px;padding:22px 30px;margin:auto;display:flex;align-items:center;gap:40px}.lb-brand{width:142px;flex-shrink:0}.lb-brand img{width:100%;height:auto}.lb-header nav{display:flex;align-items:center;gap:12px}.lb-header nav a{padding:11px 22px;border-radius:40px;font-family:var(--display);font-size:20px}.lb-header nav [aria-current]{background:var(--yellow)}.lb-language{margin-left:auto;border:1px solid var(--line);background:white;padding:8px 16px;border-radius:40px;font-weight:bold}.lb-main{color:var(--ink);font:16px/1.5 'Trebuchet MS',Arial,sans-serif;max-width:1160px;margin:auto;padding:0 30px}.lb-hero{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);align-items:center;position:relative;padding:28px 0 32px}.lb-eyebrow{font-size:11px;font-weight:bold;letter-spacing:2px;color:#518385;margin-bottom:14px}.lb-hero h1{font-size:clamp(42px,5.5vw,72px);line-height:1.05;letter-spacing:-1.3px;margin-bottom:16px;position:relative}.title-star{display:inline-block;font-family:Arial;color:#ffcc3c;font-size:.6em;margin-left:12px;vertical-align:middle}.hero-subtitle{font-size:19px;color:var(--muted);margin-bottom:26px}.lb-hero-art{position:relative;align-self:stretch;min-height:275px;display:flex;align-items:center;justify-content:center}.lb-hero-art img{width:290px;height:290px;object-fit:contain;filter:drop-shadow(0 12px 14px #bb946722)}.hero-orbit{position:absolute;color:#ffd45a;font-size:32px}.orbit-one{top:8%;left:1%}.orbit-two{bottom:20%;right:0;color:#e7a9bc}.hero-note{position:absolute;right:-10px;top:26%;font-size:14px;line-height:1.3;transform:rotate(7deg);color:#6a88a0;background:#e9f4fc;padding:14px 18px;border-radius:24px;font-weight:bold}
.game-picker{position:relative;display:flex;align-items:center;max-width:495px;min-height:88px;background:#fff;border:2px solid #e3e9ed;border-radius:28px;padding:12px 22px 12px 12px;box-shadow:0 7px 0 #eaece73b;gap:14px}.picker-art{height:58px;width:58px;background:#ffedf1;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}.picker-art img{width:50px;height:50px;object-fit:contain}.picker-field{flex:1;min-width:0}.picker-field label{font-size:12px;font-weight:bold;color:#7890a1;display:block}.picker-field select{cursor:pointer;border:0;background:transparent;font-family:var(--display);font-size:23px;width:100%;appearance:none;padding:1px 30px 3px 0;text-overflow:ellipsis}.picker-chevron{pointer-events:none;position:absolute;right:22px;font-size:27px;top:25px;color:#617a95}.picker-field select option{font:16px Arial;background:white}
.lb-section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:12px 0 22px}.lb-section-heading .lb-eyebrow{margin-bottom:5px}.lb-section-heading h2{font-size:29px;margin:0}.rules-pill{font-size:12px;border:1px solid #e5dfd2;border-radius:30px;padding:8px 13px;color:var(--muted);white-space:nowrap}.podium{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;align-items:end;margin:0 0 26px;padding-top:15px}.podium-card{text-align:center;border-radius:28px;position:relative;padding:29px 18px 22px;min-height:222px;border:2px solid #ffffffb0;box-shadow:0 5px 0 #c8c8b915}.podium-card.place-1{background:linear-gradient(135deg,#fff0a1,#ffe57f);min-height:241px}.podium-card.place-2{background:linear-gradient(135deg,#d4f4eb,#b8eadb)}.podium-card.place-3{background:linear-gradient(135deg,#ffe6ec,#f9cedd)}.rank-crown{position:absolute;top:-16px;left:50%;transform:translateX(-50%);background:#fff9e5;border:2px solid white;border-radius:13px;padding:2px 14px;font-family:var(--display);font-size:22px;color:#816836;box-shadow:0 4px 8px #75674114}.place-1 .rank-crown{background:#ffd74e}.podium-avatar{width:67px;height:67px;border:4px solid white;border-radius:50%;margin:0 auto 9px;background:#ffffff90;display:flex;align-items:center;justify-content:center;font-size:35px}.podium-card h3{font-size:22px;margin:0 0 5px;overflow-wrap:anywhere}.podium-score{font-family:var(--display);font-size:29px;margin:0}.podium-score small{font:14px 'Trebuchet MS';opacity:.6}.podium-time{font-size:12px;color:#597480;margin:5px 0 0}.podium-card.is-empty h3{font:14px 'Trebuchet MS';color:#527481;margin-top:12px}.podium-card.is-empty .podium-score{font-size:27px;opacity:.5}.podium-card.is-empty .podium-avatar{color:#e3b855;background:#fff9}.podium-card.is-empty .podium-time{font-size:11px}
.lb-grid{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(230px,1fr);gap:22px;align-items:start}.ranking-card,.adventure-card{border:1px solid #eeeee8;background:#fff;border-radius:27px;box-shadow:0 8px 25px #9c8e7310}.ranking-card{padding:25px 25px 14px;min-height:351px}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.card-heading h2{font-size:24px;margin:0}.refresh-button{border:0;background:#f4f7f6;border-radius:30px;padding:8px 12px;font-size:14px;white-space:nowrap}.board-status{font-size:13px;color:var(--muted);background:#f4f8f7;border-radius:12px;padding:10px 12px;margin-bottom:14px}.board-empty{text-align:center;padding:17px 15px 25px}.empty-stars{color:#ffcd51;font-size:27px;letter-spacing:10px;margin-bottom:12px}.empty-stars span{font-size:39px}.board-empty h3{font-size:25px;margin-bottom:7px}.board-empty p{color:var(--muted);font-size:14px;max-width:370px;margin:0 auto 15px}.text-link{color:#287d70;font-size:14px;font-weight:bold}.board-footnote{font-size:11px;color:#879899;border-top:1px solid #eef0ee;padding-top:12px;margin:10px 0 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:11px;color:#6b8296;padding:10px 5px;border-bottom:1px solid #e9eeee}td{padding:15px 5px;border-bottom:1px solid #f0f1ee;font-size:13px}.row-player{display:flex;align-items:center;gap:10px;font-weight:bold;overflow-wrap:anywhere}.row-avatar{display:flex;align-items:center;justify-content:center;width:37px;height:37px;flex-shrink:0;background:#eaf5f2;border-radius:50%;font-size:23px}.row-score{font-family:var(--display);font-size:20px;white-space:nowrap}.row-score small{font:11px Arial;color:#7892a3}.row-time{white-space:nowrap;color:var(--muted);font-size:12px}.row-rank{font-family:var(--display);font-size:22px;color:#73919c}.adventure-card{padding:23px 20px 17px;text-align:center}.adventure-card .lb-eyebrow{font-size:9px;letter-spacing:1.2px}.adventure-card h2{font-size:27px;line-height:1.12;margin:12px 0 8px}.adventure-card>p{font-size:12px;color:var(--muted);margin-bottom:14px}.adventure-image{width:100%;height:145px;object-fit:cover;object-position:center 52%;border-radius:19px;margin-bottom:15px}.play-button{background:var(--yellow);border:2px solid #ffdf71;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:18px;padding:12px 20px;font-family:var(--display);font-size:21px;box-shadow:0 4px 0 #e7bd5030;white-space:nowrap}.play-button:hover{background:#ffdf6c}.kind-note{background:#e9f5fb;padding:10px;border-radius:14px;margin:16px 0 0!important;font-size:12px!important;color:#46748b!important}
.personal-best{display:flex;align-items:center;gap:18px;background:white;border:1px solid #ededdf;border-radius:24px;padding:20px 24px;margin-top:24px;box-shadow:0 5px 18px #a7957210}.best-icon{color:#ffb738;background:#fff4c5;border-radius:18px;display:flex;align-items:center;justify-content:center;width:58px;height:58px;font-size:39px;flex-shrink:0}.best-copy{flex:1}.best-copy h2{font-size:23px;margin:0 0 2px}.best-copy p{font-family:var(--display);font-size:23px;margin:0}.best-copy>span{font-size:10px;color:#7e949a}.best-time{font-size:13px;color:var(--muted);padding:0 15px;border-left:1px solid var(--line);white-space:nowrap}.personal-best .play-button{font-size:19px}.privacy-chip{background:#e7f8f2;border-radius:16px;padding:10px 14px;display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.35}.privacy-chip>span:first-child{font-size:28px;color:#29a68c}.parent-notes{color:var(--muted);font-size:12px;margin:20px 0 25px;padding:0 8px}.parent-notes summary{cursor:pointer;width:max-content;max-width:100%;font-size:12px;padding:8px 0}.parent-notes p{max-width:700px;margin:12px 0}.parent-notes a{text-decoration:underline}.remove-button{border:1px solid #d9ddd9;border-radius:12px;background:#fff;padding:10px 13px;font-size:12px}.lb-footer{max-width:1160px;display:flex;justify-content:space-between;gap:15px;margin:15px auto 0;padding:0 30px 30px;color:#779294;font-size:11px}
@media(max-width:850px){.lb-header{gap:16px;padding:18px 24px}.lb-brand{width:115px}.lb-header nav a{font-size:17px;padding:9px 14px}.lb-main{padding:0 24px}.lb-hero{grid-template-columns:minmax(0,1.6fr) 1fr}.lb-hero-art img{height:235px;width:235px}.hero-note{display:none}.lb-hero h1{font-size:54px}.hero-subtitle{font-size:16px}.game-picker{min-height:76px;gap:8px;padding-right:17px}.picker-field select{font-size:20px}.picker-art{height:48px;width:48px}.lb-grid{grid-template-columns:minmax(0,2fr) minmax(190px,1fr);gap:16px}.ranking-card{padding:20px 16px}.personal-best{flex-wrap:wrap}.privacy-chip{display:none}.card-heading h2{font-size:21px}.podium-card{padding:27px 10px 18px}.podium-card h3{font-size:20px}}
@media(max-width:600px){.lb-header{padding:17px 18px;gap:10px}.lb-brand{width:91px}.lb-header nav{gap:2px}.lb-header nav a{padding:8px 9px;font-size:15px}.lb-language{padding:6px 10px;font-size:12px}.lb-main{padding:0 18px}.lb-hero{display:block;padding:23px 0 27px}.lb-hero-copy{position:relative;z-index:1}.lb-hero h1{font-size:46px;letter-spacing:-1px;max-width:320px}.hero-subtitle{font-size:14px;max-width:245px;margin-bottom:20px}.lb-hero-art{position:absolute;right:-7px;top:25px;min-height:0;opacity:.9;z-index:0;width:112px;align-items:flex-start}.lb-hero-art img{width:112px;height:112px;margin-top:22px}.hero-orbit{font-size:20px}.orbit-one{top:0;left:30px}.orbit-two{display:none}.game-picker{max-width:none;min-height:78px;border-radius:24px;gap:12px;padding-left:10px}.picker-art{height:48px;width:48px}.picker-field select{font-size:20px}.picker-field label{font-size:10px}.picker-chevron{right:17px;top:24px}.lb-section-heading{margin:6px 0 19px}.lb-section-heading h2{font-size:24px}.lb-section-heading .lb-eyebrow{font-size:8px;letter-spacing:1.3px}.rules-pill{font-size:9px;padding:7px 10px;white-space:normal;text-align:center;max-width:106px}.podium{gap:8px;margin-bottom:20px}.podium-card{border-radius:19px;min-height:174px;padding:25px 7px 15px}.podium-card.place-1{min-height:191px}.podium-avatar{width:48px;height:48px;font-size:25px;border-width:3px}.podium-card h3{font-size:16px;line-height:1.1}.podium-card.is-empty h3{font-size:11px;line-height:1.2}.podium-score{font-size:23px}.podium-score small{font-size:9px}.rank-crown{font-size:18px;padding:2px 10px}.podium-time{font-size:9px}.podium-card.is-empty .podium-time{font-size:8px}.lb-grid{display:flex;flex-direction:column}.ranking-card,.adventure-card{width:100%}.ranking-card{padding:19px 16px 14px;min-height:320px;border-radius:23px}.card-heading h2{font-size:21px}.refresh-button{font-size:13px;padding:7px 9px}.refresh-button span{display:none}.board-status{font-size:11px}.board-empty{padding:17px 7px}.board-empty h3{font-size:23px}.adventure-card{display:grid;grid-template-columns:1fr 112px;text-align:left;column-gap:15px;padding:20px}.adventure-card .lb-eyebrow{grid-column:1}.adventure-card h2{grid-column:1;font-size:25px;margin:8px 0}.adventure-card>p{grid-column:1;margin-bottom:10px}.adventure-image{grid-column:2;grid-row:1/5;min-height:130px;height:100%;margin:0}.adventure-card .play-button{grid-column:1;font-size:18px;padding:9px 10px;gap:10px}.adventure-card .kind-note{display:none}.personal-best{padding:17px;gap:11px;border-radius:22px}.best-icon{width:44px;height:44px;font-size:30px;border-radius:14px}.best-copy h2{font-size:20px}.best-copy p{font-size:20px}.best-copy>span{font-size:9px}.personal-best .play-button{width:100%;font-size:19px}.best-time{border:0;padding:0 0 0 55px;width:100%;font-size:11px}.row-avatar{width:28px;height:28px;font-size:18px}.row-player{gap:6px;font-size:11px}.row-score{font-size:17px}.row-time{font-size:10px}td{padding:14px 3px}.lb-footer{padding:0 18px 25px;flex-direction:column;font-size:10px;gap:6px}.parent-notes{font-size:11px;margin:15px 0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:600px){.lb-hero-art{top:7px;right:0;width:76px}.lb-hero-art img{width:76px;height:76px;margin-top:0}.hero-orbit,.title-star{display:none}.lb-hero h1{font-size:42px;line-height:1.09}.hero-subtitle{max-width:290px}.best-copy{min-width:0}.best-copy h2{font-size:19px}.best-copy p{font-size:18px}}
