@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;650;700;750;800&family=Caveat:wght@500;600;700&display=swap');
:root{--ink:#0b2547;--blue:#075bfa;--muted:#8290a3;--line:#e4eaf2;--font:'Manrope',sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:var(--font);color:var(--ink);background:#edf5fc}body{font-size:12px}button,input,select{font:inherit}button{border:0;background:none;color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:hover,a:hover{color:var(--blue)}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #5a95ff;outline-offset:3px}[hidden]{display:none!important}.quest-layout{display:grid;grid-template-columns:290px minmax(0,1fr);min-height:100dvh}.leaderboard{position:relative;z-index:10;display:flex;flex-direction:column;background:#ffffffed;box-shadow:9px 0 35px #33558108;max-height:100dvh;min-height:780px;border-right:1px solid #e7edf2}.brand{margin:25px 21px 20px;font-size:25px;letter-spacing:-1.7px;font-weight:800;white-space:nowrap}.brand span{color:var(--blue);font-size:8px;vertical-align:top;position:relative;top:2px;left:2px}.panel-heading{padding:0 21px}.eyebrow{font-size:8px;font-weight:800;letter-spacing:1.4px;color:#97a1af}.panel-heading>div{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:6px 0}.panel-heading h2{font-size:20px;font-weight:800;letter-spacing:-.8px;margin:0}.count{font-size:10px;padding:5px 8px;border-radius:6px;background:#eef3f8;color:#7c8ca1;font-weight:750}.panel-heading p{font-size:10px;color:#8290a1;line-height:1.6;margin:8px 0 13px}.sidebar-controls{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;margin:0 18px 6px;padding:6px 0}.sidebar-controls>button:first-child{font-size:9px;color:#8291a7}.sidebar-controls>button:last-child{font-size:22px;color:#7f91a9}.people-list{padding:0 11px;overflow:auto;flex:1;scrollbar-width:thin;scrollbar-color:#d9e2ef transparent}.person{width:100%;display:grid;grid-template-columns:13px 39px 1fr;align-items:center;gap:9px;padding:11px 7px;text-align:left;border-radius:9px;border-bottom:1px solid #eef2f6;transition:background .2s}.person:hover{background:#eef5ff;color:var(--ink)}.rank{font-size:12px;color:#9ba9b9;font-weight:800;text-align:center}.rank.gold{color:#865c0e;background:#ffd777;border-radius:50%;width:18px;height:18px;display:grid;place-items:center;box-shadow:0 0 0 3px #fff3d2}.avatar{display:block;flex:none;width:37px;height:78px;overflow:visible;shape-rendering:crispEdges}.person-top{display:flex;align-items:center;justify-content:space-between;gap:4px}.person-name{font-size:12px;font-weight:800;letter-spacing:-.2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-top strong{font-size:20px;letter-spacing:-.8px;color:var(--blue)}.person-surname{font-size:8px;display:block;color:#93a0b1;margin-top:1px}.person-meta{font-size:8px;color:#7c8b9f;white-space:nowrap;margin-top:7px}.person-progress{display:flex;align-items:center;gap:7px;margin-top:7px;font-size:7px;color:#9aa6b6}.progress-track{display:block;flex:1;height:3px;background:#e9eef5;border-radius:4px;overflow:hidden}.progress-track i{display:block;height:100%;background:#77a7fe;border-radius:4px}.person.eligible .progress-track i{background:#43ac89}.person.zero .person-top strong{color:#92a4bc}.person.zero .person-meta{color:#9ca9ba}.qualification{display:flex;gap:9px;padding:13px 11px;margin:12px 16px;background:#f3f7fc;border:1px solid #eaf0f7;border-radius:9px}.qualification>span{font-size:25px;color:#829abc}.qualification strong{font-size:9px}.qualification p{font-size:8px;color:#9aa7b8;line-height:1.6;margin:4px 0 0}.sidebar-bottom{padding:11px 16px 17px;display:flex;align-items:center;justify-content:space-between;gap:8px}.connection{font-size:8px;display:flex;gap:6px;align-items:center;color:#7b8f9d;white-space:nowrap}.connection i{width:5px;height:5px;border-radius:50%;background:#28a777}.connection.error i{background:#c08b37}.sidebar-actions{display:flex;gap:3px}.sidebar-actions button{font-size:16px;width:23px;height:24px;color:#8d9fb5}.sidebar-actions button:first-child{font-size:12px}.adventure-panel{position:relative;overflow:hidden;min-height:780px;min-width:0;display:flex;justify-content:center;flex-direction:column;background:linear-gradient(#e6f4ff,#eaf5ff 40%,#cde9ff 80%,#eaf3fc)}.page-nav{position:absolute;left:28px;top:20px;right:100px;z-index:20;display:flex;justify-content:center;gap:3px;width:max-content;max-width:calc(100% - 128px);padding:5px;border:1px solid #ffffffbf;background:#ffffffdc;backdrop-filter:blur(16px);border-radius:12px;box-shadow:0 4px 18px #21497908}.page-nav a{padding:11px 17px;font-size:11px;font-weight:750;border-radius:8px;white-space:nowrap}.page-nav a.active{background:var(--blue);color:#fff;box-shadow:0 3px 8px #075bfa21}.map-tools{position:absolute;right:20px;top:27px;z-index:21;display:flex;gap:9px}.map-tools button{display:grid;place-items:center;width:32px;height:32px;border:1px solid #ffffffc0;background:#ffffffac;border-radius:8px;font-size:23px;color:#607d9e}.world{position:relative;isolation:isolate;width:100%;aspect-ratio:1.5;flex:none;margin:65px 0 40px}.world-art{position:absolute;inset:0;background:url('/assets/world-poster.jpg') center/100% 100%;z-index:-3}.sky-wash{position:absolute;inset:0;background:linear-gradient(180deg,#e6f4ff8c 0,transparent 18%,transparent 90%,#eaf3fc70 100%);z-index:-2;pointer-events:none}.world-title{position:absolute;left:3%;top:4%;width:29%;z-index:5}.world-title>span{font-size:8px;font-weight:800;letter-spacing:1.4px;color:#7190ae}.world-title h1{font-size:clamp(22px,2.1vw,34px);line-height:1.09;letter-spacing:-1.25px;margin:10px 0 9px;font-weight:800}.world-title p{font-size:10px;line-height:1.65;color:#648099;margin:0}.treasure-badge{position:absolute;top:3%;left:50%;transform:translateX(-50%);background:#ffffffee;border:1px solid #fff;border-radius:13px;padding:12px 20px;text-align:center;box-shadow:0 4px 18px #50799918;z-index:6;max-width:210px}.treasure-badge>span{font-size:11px;font-weight:800;display:block}.treasure-badge strong{font-size:34px;font-weight:800;letter-spacing:-1.5px;color:var(--blue);display:block;white-space:nowrap;line-height:1.3}.treasure-badge small{display:block;line-height:1.4;font-size:7px;color:#8198af;max-width:150px;margin-top:5px}.packs-badge{position:absolute;right:3%;top:4%;background:#ffffffea;padding:12px 16px;border-radius:11px;box-shadow:0 3px 14px #355e8112;z-index:6;max-width:220px}.packs-badge>span{display:block;font-size:10px;font-weight:750}.packs-badge strong{display:block;font-size:24px;font-weight:800;letter-spacing:-.8px;color:var(--blue);line-height:1.5}.packs-badge small{font-size:7px;color:#8199b2}.team-sign{position:absolute;z-index:7;top:31%;padding:10px 15px;border:1px solid #fff;background:#ffffffec;box-shadow:0 4px 14px #2c5e8615;border-radius:8px;text-align:center;min-width:104px;pointer-events:none}.team-sign span{font-size:6px;letter-spacing:1.3px;color:#8a9daf;display:block;font-weight:700}.team-sign strong{font-size:17px;letter-spacing:-.5px;line-height:1.15;margin-top:5px;display:block}.sign-left{left:3%;border-bottom:3px solid #1d8a71}.sign-left strong{color:#167b65}.sign-right{right:2%;border-bottom:3px solid #0b60ee}.sign-right strong{color:#0b60ee}.hand-note{position:absolute;color:#22639d;font-family:'Caveat',cursive;font-weight:600;line-height:1.05;text-align:center;transform:rotate(-8deg);font-size:20px;pointer-events:none;z-index:2}.hand-note span{display:block;font-size:28px;line-height:1.25}.note-top{top:19%;right:3%;font-size:17px}.note-bottom{bottom:9%;left:42%;font-size:19px;transform:rotate(8deg)}.character{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-100%);padding:0;display:flex;flex-direction:column;align-items:center;z-index:8;transition:left 1.4s ease,top 1.4s ease;filter:drop-shadow(0 6px 3px #16365122)}.character .avatar{width:46px;height:99px;transform-origin:bottom center;animation:bob 4s ease-in-out infinite;animation-delay:var(--delay)}.character:after{content:'';position:absolute;left:17%;bottom:-3px;width:65%;height:6px;border-radius:50%;background:#1c3d4638;filter:blur(2px);z-index:-1}.character-label{padding:5px 9px 6px;background:#fff;border:1px solid #e9f0f8;border-radius:7px;margin-bottom:6px;min-width:65px;position:relative;box-shadow:0 3px 10px #31517018;transition:transform .2s}.character-label:after{content:'';position:absolute;bottom:-4px;left:calc(50% - 4px);width:8px;height:8px;background:white;transform:rotate(45deg)}.character-label>span{font-size:8px;font-weight:800;display:block;white-space:nowrap;max-width:105px;overflow:hidden;text-overflow:ellipsis}.character-label>strong{font-size:22px;color:var(--blue);display:block;font-weight:800;line-height:1.15;letter-spacing:-.8px}.character-label small{font-size:6px;color:#8a9cb2;display:block;margin-top:2px;white-space:nowrap}.character:hover .character-label{transform:translateY(-3px);border-color:#76aaff}.character:hover .avatar{animation:none;transform:translateY(-3px) rotate(-3deg)}.character.new-player .character-label strong{color:#7898be}.crown{position:absolute;left:calc(50% - 9px);top:-20px;color:#f4ae1a;font-size:22px;text-shadow:0 1px 1px #a47431}.callcenter-character .character-label{border-color:#85c8bc}.callcenter-character .character-label strong{color:#218c79}.cloud{position:absolute;pointer-events:none;z-index:9;width:30%;height:6%;bottom:-3%;background:white;filter:blur(18px);border-radius:50%;opacity:.35;animation:drift 15s ease-in-out infinite alternate}.cloud-one{left:-9%}.cloud-two{right:-9%;animation-delay:-7s}.spark{position:absolute;top:19%;left:53%;font-size:28px;color:#fffbd0;text-shadow:0 0 13px #ffd963;animation:twinkle 3s infinite;pointer-events:none}.map-status{position:absolute;bottom:12px;left:20px;right:20px;display:flex;justify-content:flex-end;align-items:center;gap:13px;font-size:8px;color:#7390ae;z-index:15}.map-status>span{margin-right:auto}.map-status button{font-size:9px;color:#537699;font-weight:700}.notice{position:absolute;left:20px;right:20px;top:83px;z-index:25;padding:11px 14px;border:1px solid #efdfb9;border-radius:8px;background:#fff5dceb;color:#a0782b;font-size:11px}.notice.inline{position:static;margin:20px 0}.empty-map{position:absolute;left:50%;top:56%;transform:translate(-50%,-50%);background:#fffef4f2;border:1px solid white;padding:20px 28px;border-radius:14px;text-align:center;z-index:10;box-shadow:0 10px 30px #47688822}.empty-map strong{font-size:22px;letter-spacing:-.5px}.empty-map p{color:#8497ad;white-space:nowrap;font-size:11px}.empty-map button,.empty-state button{font-size:11px;color:var(--blue);font-weight:750}.empty-state,.loading{padding:35px 15px;text-align:center;font-size:11px;color:#8d9caf;line-height:1.7}.empty-state strong{display:block;color:#687e98;font-size:15px}.table-view{align-self:stretch;background:#ffffffee;margin:96px 22px 50px;border-radius:15px;padding:25px;flex:1;min-width:0}.table-heading h2{font-size:26px;letter-spacing:-.9px;margin:8px 0 23px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{padding:11px 8px;font-size:9px;color:#96a3b5;font-weight:650;border-bottom:1px solid var(--line)}td{padding:14px 8px;font-size:11px;border-bottom:1px solid #eef2f7}tr[data-person]{cursor:pointer}tr[data-person]:hover{background:#f1f6ff}.percent{font-weight:800;color:var(--blue)}.status-pill{font-size:8px;padding:4px 7px;border-radius:5px;background:#eaf7ef;color:#309575}.status-pill.pending{background:#f1f4f9;color:#8a9ab0}dialog{width:min(650px,calc(100vw - 28px));max-height:90dvh;padding:32px;border:1px solid #e1e9f2;border-radius:19px;background:#fff;color:var(--ink);box-shadow:0 25px 110px #0a2f4e44}dialog::backdrop{background:#0b294569;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:14px;top:8px;font-size:28px;color:#8ca0b7;z-index:2}.dialog-eyebrow{font-size:8px;color:var(--blue);font-weight:800;letter-spacing:1.5px}dialog h2{font-size:25px;letter-spacing:-.9px;line-height:1.2;margin:10px 0 6px}dialog h3{font-size:14px;margin:23px 0 11px}dialog p{color:#8393a9;font-size:11px;line-height:1.8}.detail-header{display:flex;align-items:center;gap:20px}.detail-header>.avatar{width:55px;height:115px}.detail-header p{margin:6px 0 8px}.change-skin{color:var(--blue);font-size:10px;background:#eef5ff;border:1px solid #e3edfd;padding:7px 11px;border-radius:6px}.detail-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}.detail-metrics>div{padding:15px;background:#f2f6fb;border-radius:9px}.detail-metrics span{font-size:9px;color:#8ea1b7;display:block}.detail-metrics strong{font-size:26px;color:var(--blue);letter-spacing:-1px}.detail-progress{padding:16px;border:1px solid #e6edf6;border-radius:9px}.detail-progress strong{font-size:11px}.detail-progress .progress-track{height:5px;margin-top:12px}.audit-scroll{max-height:235px;overflow:auto}.audit-scroll td{font-size:10px;padding:9px 6px}.rule-row{display:flex;gap:13px;padding:17px 0;border-bottom:1px solid #e9eef5}.rule-number{width:29px;height:29px;flex:none;display:grid;place-items:center;font-size:10px;font-weight:800;color:var(--blue);background:#edf4ff;border-radius:7px}.rule-row strong{font-size:12px}.rule-row p{margin:5px 0 0;font-size:10px}.field{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#7e90a8}.field input,.field select{width:100%;min-width:0;padding:10px 11px;background:white;border:1px solid #dce5ef;border-radius:7px;font-size:11px;color:var(--ink)}.form-grid,.assignment-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field.wide{grid-column:1/-1}.form-help{font-size:9px!important;margin:7px 0 12px}.checks-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:180px;overflow:auto;padding:11px;background:#f5f8fc;border-radius:9px}.check-field{font-size:10px;display:flex;align-items:center;gap:6px;color:#7489a4}.check-field input{accent-color:var(--blue)}.form-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:23px}.form-error{font-size:10px;color:#b36b4f;line-height:1.7}.primary{padding:12px 17px;border-radius:8px;background:var(--blue);color:#fff;font-size:11px;font-weight:750;white-space:nowrap}.primary:hover{color:white;background:#004cd9}.wardrobe-dialog{width:min(880px,calc(100vw - 28px))}.wardrobe-controls{display:flex;gap:25px;justify-content:space-between;align-items:flex-end;margin:22px 0 16px}.wardrobe-controls>.field{width:230px}.skin-tabs{display:flex;gap:3px;background:#f1f5fa;border-radius:8px;padding:4px}.skin-tabs button{padding:9px 11px;font-size:10px;color:#879ab3;border-radius:6px}.skin-tabs .active{background:#fff;color:var(--blue);box-shadow:0 2px 5px #12264408}.skin-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;max-height:53dvh;overflow:auto;padding:3px}.skin-option{position:relative;border:1px solid #e7edf4;border-radius:10px;background:#f7f9fc;padding:15px 7px 10px;display:flex;flex-direction:column;align-items:center;transition:background .15s,border-color .15s}.skin-option:hover{background:#eaf3ff;border-color:#9dc1ff}.skin-option.selected{background:#eef5ff;border:2px solid var(--blue);padding:14px 6px 9px}.skin-option:disabled{opacity:.4}.skin-option>.avatar{width:47px;height:101px}.skin-option>strong{font-size:9px;font-weight:750;margin-top:11px;line-height:1.4;min-height:25px}.skin-option>small{font-size:7px;color:#8c9eb6;display:block;margin-top:2px}.skin-check{position:absolute;right:7px;top:6px;background:var(--blue);color:white;border-radius:50%;width:17px;height:17px;display:grid;place-items:center;font-size:10px}.wardrobe-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}.wardrobe-footer>span{font-size:10px;color:#8d9fb6}.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);background:#0d2c4b;color:white;box-shadow:0 7px 30px #18325233;border-radius:9px;padding:12px 20px;font-size:11px;z-index:100;max-width:90vw;text-align:center}.adventure-panel:fullscreen{min-height:100dvh}.adventure-panel:fullscreen .world{max-height:calc(100dvh - 92px);aspect-ratio:1.5;width:auto;margin:70px auto 22px;height:calc(100dvh - 92px)}
@keyframes bob{0%,100%{transform:translateY(0) rotate(-.5deg)}50%{transform:translateY(-3px) rotate(.5deg)}}@keyframes twinkle{0%,100%{opacity:.25;transform:scale(.75)}50%{opacity:1;transform:scale(1.1)}}@keyframes drift{to{transform:translateX(20%)}}
@media(min-width:1600px){.quest-layout{grid-template-columns:320px minmax(0,1fr)}.leaderboard{min-height:900px}.person{padding:15px 9px;grid-template-columns:15px 45px 1fr}.person .avatar{width:42px;height:90px}.person-name{font-size:14px}.person-top strong{font-size:22px}.character .avatar{width:55px;height:118px}.character-label>strong{font-size:25px}.character-label>span{font-size:10px}.world-title h1{font-size:37px}.world-title p{font-size:12px}.team-sign strong{font-size:20px}.hand-note{font-size:23px}.page-nav{left:35px}.page-nav a{padding:12px 23px;font-size:12px}}
@media(min-width:1001px) and (max-width:1250px){.quest-layout{grid-template-columns:260px minmax(0,1fr)}.brand{font-size:23px;margin-left:17px}.panel-heading{padding:0 17px}.panel-heading h2{font-size:18px}.person{gap:6px;grid-template-columns:12px 33px 1fr}.person .avatar{width:32px;height:69px}.person-top strong{font-size:18px}.person-name{font-size:11px}.person-meta{font-size:7px}.world-title h1{font-size:24px}.world-title p{font-size:8px}.treasure-badge{padding:9px 12px}.treasure-badge strong{font-size:28px}.packs-badge{padding:10px 12px}.packs-badge strong{font-size:20px}.packs-badge small{font-size:6px}.character .avatar{width:37px;height:79px}.character-label>strong{font-size:18px}.character-label>span{font-size:7px}.character-label small{font-size:5px}.character-label{min-width:56px;padding:4px 7px;margin-bottom:4px}.team-sign{padding:8px;min-width:85px}.team-sign strong{font-size:14px}.page-nav a{padding:10px 11px;font-size:10px}.hand-note{font-size:16px}.note-top{top:21%}.page-nav{left:18px}}
@media(max-width:1000px){.quest-layout{display:flex;flex-direction:column}.adventure-panel{order:0;min-height:0;padding-top:75px}.leaderboard{order:1;max-height:none;min-height:0;border-right:0;border-top:1px solid #e3ebf4}.world{margin:0 0 32px;aspect-ratio:1.5}.brand{margin:20px 23px 16px}.panel-heading{padding:0 23px}.panel-heading p{max-width:390px}.people-list{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;padding:0 16px}.person{grid-template-columns:15px 40px 1fr;padding:12px 10px}.person .avatar{width:38px;height:81px}.qualification{margin:15px 20px}.sidebar-bottom{padding:3px 22px 20px}.connection{font-size:10px}.sidebar-actions button{width:32px;font-size:19px}.sidebar-controls{margin:0 23px 8px}.page-nav{top:14px;left:14px;right:auto}.page-nav a{padding:10px 16px;font-size:10px}.map-tools{right:13px;top:20px}.world-title h1{font-size:26px}.world-title>span{font-size:7px}.world-title p{font-size:9px}.treasure-badge strong{font-size:29px}.treasure-badge{padding:10px 15px}.packs-badge strong{font-size:22px}.character .avatar{width:39px;height:84px}.character-label strong{font-size:19px}.character-label span{font-size:8px}.team-sign strong{font-size:16px}.table-view{margin:0 15px 43px;min-height:500px}.note-top{font-size:17px}.note-bottom{font-size:18px}}
@media(max-width:600px){.adventure-panel{padding-top:57px}.page-nav{left:8px;top:9px;max-width:calc(100% - 55px);padding:3px;border-radius:9px;gap:0}.page-nav a{padding:10px 8px;font-size:8px}.page-nav a:first-child{font-size:0}.page-nav a:first-child:after{content:'Общая';font-size:8px}.map-tools{right:8px;top:14px;gap:0}.map-tools button{width:28px;height:28px;font-size:21px}.map-tools button:last-child{display:none}.world{aspect-ratio:unset;height:700px;margin-bottom:29px;overflow:hidden}.world-art{top:139px;bottom:0;background-size:165% 100%;background-position:center}.sky-wash{background:linear-gradient(#e6f4ff 0 125px,#e6f4ff00 160px)}.world-title{top:9px;left:5%;width:47%}.world-title>span{font-size:5px;letter-spacing:1px}.world-title h1{font-size:23px;letter-spacing:-.9px;margin:9px 0 7px}.world-title p{font-size:8px;line-height:1.6}.treasure-badge{left:auto;right:4%;transform:none;top:9px;padding:9px 13px;border-radius:9px;max-width:42%}.treasure-badge>span{font-size:8px}.treasure-badge strong{font-size:27px}.treasure-badge small{font-size:5px;max-width:113px;margin-top:3px}.packs-badge{top:94px;right:4%;padding:6px 10px;max-width:43%;border-radius:7px}.packs-badge>span{font-size:6px}.packs-badge strong{font-size:16px;display:inline-block;line-height:1.3}.packs-badge small{display:none}.team-sign{top:154px;padding:6px 9px;min-width:0;box-shadow:0 3px 10px #20436910}.team-sign strong{font-size:13px;letter-spacing:-.3px;margin-top:2px}.team-sign span{font-size:4px;letter-spacing:.8px}.sign-left{left:5%;border-bottom-width:2px}.sign-right{right:5%;border-bottom-width:2px}.sign-right strong br{display:none}.character{top:calc(139px + (100% - 139px)*var(--py));left:calc(50% + (var(--x) - 50%)*1.65)}.character .avatar{width:29px;height:63px}.character-label{min-width:48px;padding:4px 6px;border-radius:5px;margin-bottom:4px}.character-label>span{font-size:6px;max-width:64px}.character-label>strong{font-size:16px;letter-spacing:-.5px}.character-label small{font-size:4px;margin-top:2px}.hand-note{display:none}.cloud{display:none}.spark{top:29%;font-size:19px}.people-list{display:block;padding:0 12px}.person{grid-template-columns:20px 43px 1fr;gap:13px;padding:12px 11px}.person .avatar{width:37px;height:80px}.person-name{font-size:15px}.person-top strong{font-size:25px}.person-surname{font-size:9px}.person-meta{font-size:10px}.person-progress{font-size:8px}.brand{font-size:28px}.panel-heading h2{font-size:24px}.panel-heading p{font-size:11px}.sidebar-controls>button:first-child{font-size:10px}.qualification strong{font-size:11px}.qualification p{font-size:10px}.map-status{font-size:7px;left:13px;right:13px;bottom:10px}.map-status button{font-size:8px}.notice{font-size:10px;top:58px;left:10px;right:10px;padding:9px}.empty-map{top:68%;padding:18px}.empty-map strong{font-size:19px}.empty-map p{font-size:10px}.table-view{margin:5px 10px 42px;padding:18px 12px;min-height:570px}.table-heading h2{font-size:22px}dialog{padding:28px 19px}dialog h2{font-size:22px}.detail-header{gap:13px}.detail-header>.avatar{width:44px;height:93px}.detail-metrics{gap:7px}.detail-metrics>div{padding:12px}.detail-metrics strong{font-size:23px}.detail-metrics span{font-size:8px}.detail-progress strong{font-size:10px}.checks-grid{grid-template-columns:1fr}.form-grid,.assignment-grid{gap:10px}.wardrobe-controls{flex-direction:column;align-items:stretch;gap:13px;margin:17px 0 13px}.wardrobe-controls>.field{width:100%}.skin-tabs{justify-content:space-between}.skin-tabs button{flex:1;font-size:9px;padding:8px 4px}.skin-grid{grid-template-columns:repeat(3,1fr);gap:7px;max-height:47dvh}.skin-option{padding:11px 4px 8px}.skin-option.selected{padding:10px 3px 7px}.skin-option>.avatar{width:33px;height:71px}.skin-option>strong{font-size:8px;margin-top:9px;min-height:23px}.skin-option>small{font-size:6px}.wardrobe-footer{flex-direction:column;align-items:stretch;gap:10px;margin-top:14px}.wardrobe-footer>span{text-align:center;font-size:9px}.primary{font-size:10px;padding:11px 13px}.wardrobe-dialog h2{font-size:23px}.wardrobe-dialog>p{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

@media(min-width:1001px){.person{padding-top:7px;padding-bottom:7px}.person .avatar{height:65px;width:31px}}
@media(min-width:1600px) and (min-height:1050px){.person{padding-top:10px;padding-bottom:10px}.person .avatar{height:82px;width:39px}}
@media(max-width:600px){.world-art{background-size:100% 100%}.character{left:var(--x)}}
@media(max-width:600px){.world{height:760px}.world-art{top:200px}.sky-wash{background:linear-gradient(#e6f4ff 0 185px,#e6f4ff00 215px)}.character{top:calc(200px + (100% - 200px)*var(--py))}.team-sign{top:153px}.sign-right strong br{display:block}}
/* Volumetric figurines use a wider silhouette than the earlier flat skins. */
.avatar{shape-rendering:auto}.person .avatar{width:39px}.character .avatar{width:57px}.skin-option>.avatar{width:58px}.detail-header>.avatar{width:65px}
@media(min-width:1600px){.character .avatar{width:67px}.person .avatar{width:44px}}
@media(min-width:1001px) and (max-width:1250px){.person .avatar{width:33px}.character .avatar{width:46px}}
@media(max-width:1000px){.character .avatar{width:49px}.person .avatar{width:43px}}
@media(max-width:600px){.character .avatar{width:36px}.skin-option>.avatar{width:42px}.detail-header>.avatar{width:55px}}
/* Simplified map and consistent controls. */
.quest-layout{grid-template-columns:350px minmax(0,1fr)}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 20px 16px}.panel-heading h2{font-size:21px;margin:0}
.person{grid-template-columns:13px 41px minmax(0,1fr);gap:9px}.person-info{min-width:0}.person-name{font-size:12px;letter-spacing:-.3px;flex:1}.person-top strong{flex:none;font-size:21px}.person-surname{font-size:9px;margin-top:5px}.person-meta{font-size:9px}.person-progress{font-size:8px}
.sidebar-bottom{justify-content:flex-end;padding:14px 18px}.sidebar-actions{gap:8px}
.ui-icon{display:block;width:20px;height:20px;flex:none}
.icon-button,.map-tools .icon-button,.sidebar-actions .icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;padding:8px;border-radius:9px;color:#6c87a6;background:#ffffffbf;border:1px solid #dce7f0;font-size:inherit}
.icon-button:hover,.map-tools .icon-button:hover,.sidebar-actions .icon-button:hover{color:var(--blue);border-color:#a9c7f3;background:#eef5ff}
.map-tools{top:24px;gap:8px}.page-nav{max-width:calc(100% - 140px)}.map-tools .icon-button{background:#ffffffdc}
.dialog-close.icon-button{top:10px;right:10px;background:transparent;border-color:transparent}
.change-skin{display:inline-flex;align-items:center;gap:6px}.change-skin .ui-icon{width:16px;height:16px}
.wardrobe-footer{justify-content:flex-end}.wardrobe-dialog h2{margin-top:8px;padding-right:24px}
.world{margin:65px 0 0}.treasure-badge{padding:10px 20px}.map-back{position:absolute;bottom:15px;left:20px;z-index:16;display:flex;align-items:center;gap:8px;font-size:11px;color:var(--blue);background:white;border-radius:8px;padding:9px 13px}
@media(min-width:1001px) and (max-width:1250px){.quest-layout{grid-template-columns:320px minmax(0,1fr)}.person{grid-template-columns:11px 34px minmax(0,1fr);gap:7px}.person-name{font-size:11px}.person-top strong{font-size:18px}.panel-heading h2{font-size:19px}}
@media(max-width:1000px){.quest-layout{display:flex}.panel-heading{padding:23px 24px 15px}.person{grid-template-columns:13px 43px minmax(0,1fr);gap:10px}.person-name{font-size:12px}.person-top strong{font-size:22px}.world{margin:0}.map-tools{top:19px}.sidebar-bottom{padding:15px 22px 20px}}
@media(max-width:600px){.adventure-panel{padding-top:61px}.page-nav{max-width:calc(100% - 88px)}.page-nav a{padding:10px 7px;font-size:7px}.page-nav a:first-child:after{font-size:7px}.map-tools{top:11px;right:8px;gap:5px}.map-tools .icon-button{display:inline-flex;width:32px;height:32px;padding:6px}.world{height:620px;margin:0}.world-art{top:0}.sky-wash{background:linear-gradient(#e6f4ff55,transparent 18%)}.character{top:calc(100%*var(--py))}.treasure-badge{top:10px;left:50%;right:auto;transform:translateX(-50%);padding:8px 15px}.team-sign{top:50px}.sign-left{left:3%}.sign-right{right:3%}.team-sign strong{font-size:11px}.person{grid-template-columns:13px 44px minmax(0,1fr);gap:11px}.person-name{font-size:14px}.person-top strong{font-size:24px}.person-surname{font-size:11px}.person-meta{font-size:10px}.wardrobe-footer{align-items:flex-end}.notice{top:62px}}
@media(max-width:600px){.map-tools button.icon-button:last-child{display:inline-flex}}

.world-art video{display:block;width:100%;height:100%;object-fit:fill;opacity:0;pointer-events:none}.world-art video.ready{opacity:1}.page-nav{max-width:calc(100% - 190px)}
@media(max-width:600px){.page-nav{max-width:calc(100% - 125px)}}

body[data-static="true"] .world-art{background:none}.world-static{display:block;width:100%;height:100%;object-fit:fill}body[data-static="true"] .spark,body[data-static="true"] .cloud{display:none}

.treasure-badge>#treasure-packs{display:block;font-size:12px;line-height:1.4;color:#71849c;margin-top:4px;max-width:none;letter-spacing:0}

/* Competition discipline: cards stay visible beside the participant everywhere. */
.person-avatar,.detail-avatar{position:relative;display:inline-flex;align-items:flex-end;justify-content:center}.person-avatar>.avatar{width:100%}.penalty-cards{display:inline-flex;align-items:center;gap:3px}.penalty-cards.map{position:absolute;right:-13px;bottom:19px;z-index:12;flex-direction:column}.penalty-cards.list{position:absolute;right:-7px;top:7px;flex-direction:column}.penalty-cards.detail{position:absolute;right:-10px;bottom:15px;flex-direction:column}.penalty-cards.table{vertical-align:middle;margin-left:7px}.penalty-card{display:inline-block;width:12px;height:17px;border-radius:2px;border:1px solid #ffffffc9;box-shadow:0 2px 7px #17365738;transform:rotate(4deg);flex:none}.penalty-card.yellow{background:linear-gradient(145deg,#ffe15b,#f5ad18);border-color:#fff3b4}.penalty-card.red{background:linear-gradient(145deg,#ff6262,#c8182c);border-color:#ffc7c7}.penalty-cards.map .penalty-card{width:15px;height:22px;box-shadow:0 3px 9px #17365755}.person.disqualified{background:#fff2f2}.person.disqualified .person-top strong,.character.disqualified .character-label>strong{color:#bf2639}.person.disqualified .progress-track i,.detail-progress.blocked .progress-track i{background:#d43a4d}.character.disqualified .character-label{border-color:#ec97a2;background:#fff7f7}.status-pill.blocked{background:#ffe4e7;color:#b71f36}.detail-avatar>.avatar{width:65px;height:115px}.violations{display:grid;grid-template-columns:1.25fr .75fr;gap:16px;margin:20px 0;padding:17px;border-radius:12px;border:1px solid #f0d58e;background:linear-gradient(135deg,#fff8dc,#fffdf5)}.violations.danger{border-color:#efb0b8;background:linear-gradient(135deg,#fff0f1,#fffafa)}.violations h3{margin:4px 0 3px}.violations p{margin:0}.violations-kicker{font-size:8px;font-weight:800;letter-spacing:1.2px;color:#a76b06}.violations.danger .violations-kicker{color:#bd2639}.violation-list{display:flex;flex-direction:column;gap:6px}.violation-list>span{display:grid;grid-template-columns:15px 1fr;column-gap:7px;align-items:center;padding:8px;background:#ffffffb8;border-radius:8px}.violation-list b{font-size:9px}.violation-list small{grid-column:2;font-size:8px;color:#8f7d66;margin-top:2px}.card-actions{display:flex;justify-content:flex-end;margin:13px 0}.card-actions button{padding:8px 11px;border:1px solid #dce6f2;border-radius:7px;color:var(--blue);font-size:9px;font-weight:750}.issue-card-form{display:grid;grid-template-columns:150px 1fr auto;align-items:end;gap:10px;padding:15px;margin:18px 0;background:#f5f8fc;border-radius:10px}.issue-card-form .wide{grid-column:auto}.issue-card-form .form-error{grid-column:1/-1}.cards-history{display:flex;flex-direction:column;gap:8px;max-height:275px;overflow:auto}.cards-history article{display:grid;grid-template-columns:18px 1fr auto;gap:9px;align-items:start;padding:11px;border:1px solid #e7edf5;border-radius:9px}.cards-history article.revoked{opacity:.52}.cards-history strong{font-size:10px}.cards-history p{margin:2px 0;line-height:1.45}.cards-history small{font-size:8px;color:#94a1b3}.cards-history button{font-size:8px;color:#a73545;padding:5px 7px;border:1px solid #efcdd2;border-radius:6px}
@media(max-width:600px){.penalty-cards.map{right:-10px;bottom:12px}.penalty-cards.map .penalty-card{width:12px;height:18px}.detail-avatar>.avatar{width:55px;height:93px}.violations{grid-template-columns:1fr}.issue-card-form{grid-template-columns:1fr}.issue-card-form .wide{grid-column:1}.issue-card-form .primary{width:100%}}

/* Map discipline cards sit beside the centered winner crown. */
.character .penalty-cards.map{left:calc(50% + 41px);right:auto;top:-34px;bottom:auto;z-index:14;gap:4px;filter:none}.character .penalty-cards.map .penalty-card{width:20px;height:28px;border-width:2px;border-radius:3px;box-shadow:0 4px 10px #122b4a73,0 0 0 2px #ffffff75;transform:rotate(7deg)}.character-label .crown{left:50%;top:-35px;width:44px;transform:translateX(-50%);font-size:34px;line-height:1;text-align:center;text-shadow:0 2px 0 #a66d10,0 4px 9px #5133004f;z-index:3}
@media(min-width:1600px){.character .penalty-cards.map{left:calc(50% + 45px);top:-38px;bottom:auto}.character .penalty-cards.map .penalty-card{width:22px;height:31px}.character-label .crown{top:-39px;font-size:38px}}
@media(max-width:600px){.character .penalty-cards.map{left:calc(50% + 37px);right:auto;top:-29px;bottom:auto}.character .penalty-cards.map .penalty-card{width:16px;height:23px}.character-label .crown{top:-29px;width:36px;font-size:28px}}

/* The supplied campaign poster is the primary rules view; text details remain accessible below it. */
.rules-dialog{width:min(640px,calc(67.5dvh - 40px),calc(100vw - 32px));padding:12px;overflow:hidden}.rules-dialog .dialog-close{right:18px;top:18px;width:34px;height:34px;border-radius:50%;background:#fffffff2;box-shadow:0 3px 14px #1736572e}.rules-poster{display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #dce9f5;border-radius:14px;background:#eaf6ff}.rules-poster img{display:block;width:auto;max-width:100%;height:auto;max-height:calc(90dvh - 86px);object-fit:contain}.rules-details{margin-top:8px;padding:0 10px}.rules-details summary{cursor:pointer;padding:9px 4px;color:var(--blue);font-size:11px;font-weight:800}
@media(max-width:600px){.rules-dialog{width:calc(100vw - 16px);padding:8px;overflow:auto;border-radius:14px}.rules-dialog .dialog-close{right:12px;top:12px;width:32px;height:32px}.rules-poster{border-radius:10px}.rules-poster img{width:100%;max-height:none}.rules-details{padding:0 7px}.rules-details summary{font-size:13px}}
