:root{--ink:#240e35;--pink:#ed00ad;--purple:#5b00bb;--yellow:#ffdc00;--lime:#b7ee4d;--paper:#fffdf5;--muted:#705d80}*{box-sizing:border-box}body{margin:0;font-family:'Trebuchet MS',system-ui,sans-serif;color:var(--ink);background:#f6eafb}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}.arcade-head{background:var(--yellow);border-bottom:4px solid var(--ink);display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px max(18px,calc((100vw - 1170px)/2));flex-wrap:wrap}.arcade-brand{font:1000 25px 'Arial Black',system-ui,sans-serif;letter-spacing:-1.2px}.arcade-brand span{color:var(--purple)}.arcade-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.nav-pill{font:900 13px system-ui;background:white;border:2px solid var(--ink);border-radius:9px;padding:10px 14px;box-shadow:2px 3px 0 var(--ink);display:inline-block}.nav-pill:hover{transform:translateY(-2px)}.primary-btn{background:var(--pink);color:#fff;border:3px solid var(--ink);border-radius:11px;padding:13px 18px;font-weight:900;box-shadow:4px 5px 0 var(--ink)}.primary-btn.purple{background:var(--purple)}.secondary-btn{background:#fff;border:2px solid var(--ink);border-radius:10px;padding:11px 16px;font-weight:900}.content{max-width:1120px;margin:0 auto;padding:24px 20px 54px}.page-title{font:1000 clamp(26px,4vw,43px) 'Arial Black',system-ui;letter-spacing:-1px;margin:0 0 8px}.subtitle{color:var(--muted);font-weight:650;margin:0 0 22px}.panel{background:var(--paper);border:3px solid var(--ink);border-radius:19px;padding:22px;box-shadow:5px 6px 0 #370c5380}.panel h2{margin:0 0 12px;font-size:21px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.soft{background:#f4eefa;border-radius:11px;padding:13px}.field{display:grid;gap:6px;margin-bottom:16px}.field label{font-size:13px;font-weight:900}.field input,.field select{padding:13px;border:2px solid #cab9d4;border-radius:10px;background:white;width:100%}.pill-row{display:flex;gap:7px;flex-wrap:wrap}.filter-pill{padding:9px 13px;background:white;border:2px solid #dfd0e6;border-radius:9px;cursor:pointer;font-weight:850}.filter-pill[aria-pressed="true"]{background:var(--purple);color:white;border-color:var(--purple)}.score-table{width:100%;border-collapse:collapse;margin-top:9px}.score-table th{font-size:11px;text-align:left;text-transform:uppercase;letter-spacing:1px;color:#897494;padding:12px 8px;border-bottom:1px solid #e3d8e8}.score-table td{padding:12px 8px;border-bottom:1px solid #eee4f0;font-size:14px}.score-table tr:last-child td{border:0}.score-table td:last-child,.score-table th:last-child{text-align:right}.score-table .point{font-weight:900}.score-empty{padding:24px;text-align:center;color:var(--muted)}.hint{font-size:12px;color:var(--muted);line-height:1.6}.notice{background:#fff0cd;border:2px solid #e0b946;border-radius:9px;padding:11px;font-size:13px;font-weight:700;margin:12px 0}.notice.good{background:#e8f8db;border-color:#87b85e}.notice.warn{background:#ffebed;border-color:#db9aa1}.game-pick{border:2px solid #d6c8df;border-radius:15px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:8px}.game-pick img{width:100%;height:150px;object-fit:cover;border-radius:9px}.game-pick h3{margin:0;font-size:21px}.challenge-code{font-weight:950;letter-spacing:2px;color:var(--purple);font-size:20px}.share-url{display:block;width:100%;padding:12px;border:2px solid #dac9e8;border-radius:9px;overflow:auto;background:white;font:13px system-ui}.muted{color:var(--muted)}@media(max-width:700px){.arcade-head{padding:12px 14px}.arcade-brand{font-size:20px}.nav-pill{padding:8px 10px;font-size:12px}.grid-2{grid-template-columns:1fr}.panel{padding:16px}.content{padding:20px 12px 45px}}

/* Short, kid-friendly invite links */
.slug-input{display:flex;align-items:center;overflow:hidden;border:2px solid #ded4ed;border-radius:12px;background:white;max-width:100%;}
.slug-input span{background:#f4ecfa;color:#5e4778;font-weight:800;font-size:clamp(11px,2.4vw,15px);padding:13px 10px;white-space:nowrap;border-right:1px solid #ded4ed;}
.slug-input input{min-width:0;flex:1;width:100%;border:0!important;outline-offset:-3px!important;border-radius:0!important;margin:0!important;font-weight:800;color:#492b6a;}
@media(max-width:410px){.slug-input span{font-size:11px;padding:13px 7px}}

/* Shared MyFriendz brand and original game artwork, across every arcade page. */
.arcade-brand{display:inline-flex;align-items:center;gap:9px;font-size:24px;white-space:nowrap}.arcade-brand .mf-heart{width:36px;height:36px;object-fit:contain}.arcade-brand .mf-word{font:1000 clamp(17px,2vw,25px)/1 'Arial Black',Arial,sans-serif;letter-spacing:-1.1px;color:var(--ink)}.arcade-brand .mf-word span,.arcade-brand .mf-word small{color:var(--purple)}.arcade-brand .mf-word small{font-size:.72em}
.logo-heading{display:flex;align-items:center;justify-content:flex-start;height:82px;margin:0 0 14px!important}.score-logo{display:block;height:100%;max-width:215px;max-height:100%;object-fit:contain;object-position:left center;filter:drop-shadow(0 3px 2px #2c143522)}.score-logo.poop-logo{height:82px}.score-logo.brain-logo{height:78px}.score-panel{display:flex;flex-direction:column;min-height:275px}.score-panel>.secondary-btn{align-self:flex-start;margin-top:30px!important}.score-panel>div[id$=Rows]{flex:1}
.game-pick{background:linear-gradient(120deg,#f4faff,#f8f1ff);align-items:center;justify-content:center;transition:transform .2s}.game-pick:hover{transform:translateY(-3px)}.game-pick img.challenge-game-logo{height:160px;width:100%;object-fit:contain;border-radius:0}.game-pick strong{font-weight:950;background:var(--purple);color:#fff;border-radius:9px;padding:11px 20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){.arcade-brand .mf-heart{width:31px;height:31px}.arcade-brand .mf-word{font-size:19px}.logo-heading{height:74px}.score-logo.poop-logo{height:74px}.score-logo.brain-logo{height:69px}.game-pick img.challenge-game-logo{height:125px}}

/* Let the detailed game identity read at a glance on ranking pages. */
.logo-heading{height:118px}.score-logo.poop-logo{height:117px}.score-logo.brain-logo{height:110px;max-width:240px}
@media(max-width:700px){.logo-heading{height:90px}.score-logo.poop-logo{height:88px}.score-logo.brain-logo{height:86px}}

/* Same square-heart app icon as the homepage. */
.arcade-brand .mf-heart{width:42px;height:42px;padding:3px;border:2px solid var(--ink);background:var(--pink);border-radius:11px;box-shadow:2px 3px 0 var(--ink);transform:rotate(-5deg)}
@media(max-width:700px){.arcade-brand .mf-heart{width:36px;height:36px}}

/* Unified text-only MyFriendz header, keeps favicon artwork in browser tab. */
.arcade-head .arcade-brand{display:inline-flex;flex:0 0 auto;align-items:center;white-space:nowrap;min-height:40px;gap:0;font:1000 clamp(19px,2vw,26px)/1.15 'Arial Black',Arial,system-ui,sans-serif;letter-spacing:-.8px;color:#5b00bb}
.arcade-head .arcade-brand:hover,.topbar .brand:hover,.shellbar .brandlink:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
@media(max-width:700px){.arcade-head .arcade-brand{font-size:20px;min-height:32px}}
@media(max-width:360px){.arcade-head .arcade-brand{font-size:18px}}

/* LIGHTS OUT! and three-way rankings/challenge selection. */
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.score-logo.lights-logo{height:104px;max-width:230px}
.contact-foot{padding:26px 0 8px;font-size:13px;color:#7b648c}
.contact-foot a{text-decoration:underline;font-weight:800}
@media(max-width:970px){.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.grid-3{grid-template-columns:1fr}.score-logo.lights-logo{height:86px}.game-pick img.challenge-game-logo{height:120px}}

/* Four games: clean cards on wide displays, no cramped leaderboard columns. */
@media(min-width:1100px){.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
.score-logo.maze-logo{width:min(180px,100%);height:auto;object-fit:contain}
