:root{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:#164570;font-synthesis:none;--blue:#1679ed;--cyan:#05d7ff;--gold:#ffc71e;--round:20px}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{background:#058eda}button,input,textarea,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.55;cursor:wait}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ffe150;outline-offset:3px}button{border:0}button,a,input{touch-action:manipulation}button img{pointer-events:none}.hidden{display:none!important}.desktop-atmosphere{position:fixed;inset:0;background:radial-gradient(ellipse at 18% 19%,#a2efff70,transparent 28%),radial-gradient(ellipse at 84% 30%,#6beaff70,transparent 35%),linear-gradient(#058bdf 0%,#03c4f2 43%,#00a8d5 44%,#037bc1 100%)}.desktop-atmosphere:after{content:"";position:absolute;inset:45% 0 0;background:repeating-linear-gradient(174deg,transparent 0 30px,#d4ffff28 31px 33px,transparent 34px 70px);opacity:.7}.side-brand{position:absolute;left:6%;top:16%;color:white;z-index:1;text-shadow:0 3px 0 #0060a844}.side-brand>span{letter-spacing:3px;font-size:10px;color:#cefbff}.side-brand h2{font-size:48px;margin:20px 0 10px;letter-spacing:4px}.side-brand p{font-size:16px;letter-spacing:2px;color:#ddfaff}.side-lines{width:70px;height:5px;border-radius:10px;background:#ffde32;margin:29px 0}.side-brand small{line-height:2.3;color:#b8f5ff;font-size:11px}.side-note{position:absolute;right:5%;bottom:18%;text-align:right;z-index:1;color:#e5fbff}.side-note>span{font-size:20px;font-weight:700;display:block}.side-note small{font-size:11px;letter-spacing:3px;display:block;margin-top:12px}.side-note i{font-style:normal;font-size:80px;color:#ffde54}.stage{position:relative;width:min(100vw,56.25dvh);height:100dvh;margin:0 auto;isolation:isolate;overflow:hidden;background:#15b0ff;box-shadow:0 0 100px #004c8780;container-type:size;touch-action:none}#world{position:absolute;inset:0;width:100%;height:100%;display:block;outline:none}.screen{position:absolute;inset:0;pointer-events:none}.screen button{pointer-events:auto}.sky-glow{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 20%,#b5faff26,transparent 40%)}.connection-badge{position:absolute;bottom:1%;left:50%;transform:translateX(-50%);z-index:45;background:#d74c47e8;border:1px solid #ffbbb5;border-radius:20px;font-size:10px;padding:7px 13px;color:#fff;white-space:nowrap}.connection-badge.online{display:none}.home-side{position:absolute;top:1.7%;display:flex;flex-direction:column;gap:2.1cqh}.home-side.left{left:3.1%}.home-side.right{right:3.1%}.game-icon{width:12.2cqw;height:14.2cqw;padding:0;background:transparent;position:relative;filter:drop-shadow(0 3px 1px #00609c80);transition:transform .12s}.game-icon:hover{transform:scale(1.06)}.game-icon:active{transform:scale(.96)}.game-icon img{width:100%;height:85%;object-fit:cover;border-radius:24%;border:2px solid #e7faff;box-shadow:inset 0 0 8px #fff}.game-icon>span{position:absolute;bottom:0;left:4%;right:4%;background:linear-gradient(#05b4ff,#0062ef);border-radius:25% 25% 42% 42%;padding:3% 0 5%;font-size:2.1cqw;font-weight:900;color:white;text-shadow:1px 2px #03469d;box-shadow:0 2px 0 #0050c3;white-space:nowrap}.notice-dot{position:absolute;right:-3%;top:-2%;width:20%;aspect-ratio:1;background:#ff6048;border:2px solid white;border-radius:50%}.mute-slash{position:absolute;left:48%;top:5%;height:73%;width:7%;background:#ff5656;border:1px solid white;transform:rotate(40deg);border-radius:5px}.home-name{position:absolute;bottom:22%;left:50%;transform:translateX(-50%);text-align:center;white-space:nowrap;color:white;text-shadow:0 2px 3px #004f7f;font-size:2.5cqw;font-weight:bold;background:#0077b86b;border:1px solid #bff8ff99;border-radius:30px;padding:1cqw 3cqw}.home-name small{font-size:1.4cqw;display:block;color:#c9faff;margin-top:.4cqw;font-weight:normal}.start-banner{position:absolute;left:8%;bottom:5%;width:84%;height:13.2%;background:transparent;padding:0;filter:drop-shadow(0 10px 5px #04608866);transition:transform .12s}.start-banner:hover{transform:scale(1.035)}.start-banner:active{transform:translateY(5px)}.banner-body{position:absolute;inset:6% 4% 5%;border:4px solid #fff6b4;border-radius:45%/25%;display:flex;align-items:center;justify-content:center;background:linear-gradient(#fff55a,#ffcf00 25%,#ffbc00 65%,#ff8b00 85%,#ffd339);box-shadow:0 0 0 3px #0c7ffa,0 0 0 7px #b5fdff,0 0 0 11px #0064fa,0 10px 0 11px #003fc0,inset 0 5px 0 #fffbcc,inset 0 -7px 0 #ff6b0d}.banner-body>span,.banner-body>em{font-size:8.2cqw;font-weight:1000;font-style:normal;letter-spacing:-.4cqw;color:#fff;paint-order:stroke fill;-webkit-text-stroke:1.2cqw #0043b8;text-shadow:.2cqw .9cqw #00317f;z-index:1;white-space:nowrap}.banner-body>em{color:#fff74b;-webkit-text-stroke:.9cqw #b33a00;font-size:8cqw;letter-spacing:-.5cqw;margin-left:1cqw}.flag{position:absolute;top:3%;width:15%;height:44%;background:repeating-conic-gradient(#fff 0 25%,#154690 0 50%) 50% / 20px 20px;border:3px solid #bff9ff;box-shadow:0 0 0 3px #0079ed;border-radius:8px;transform:rotate(-20deg)}.flag-left{left:-1%}.flag-right{right:-1%;transform:rotate(20deg)}.banner-star{position:absolute;color:#fff43a;font-size:9cqw;-webkit-text-stroke:.45cqw #fff9a5;paint-order:stroke fill;z-index:2;filter:drop-shadow(0 3px #ef9c09)}.star-one{left:-3%;bottom:15%;transform:rotate(-12deg)}.star-two{right:-3%;bottom:19%;transform:rotate(14deg)}.banner-shine{position:absolute;left:18%;right:16%;top:9%;height:4%;border-radius:50%;background:white;filter:blur(1px)}.home-footnote{position:absolute;bottom:1.8%;width:100%;text-align:center;color:#f2ffff;font-size:1.7cqw;font-weight:600;text-shadow:0 1px 2px #006ca9;letter-spacing:.4cqw}.circle-button{position:absolute;top:1.7%;width:9.2cqw;height:9.2cqw;background:#006bb473;border:2px solid #b0eeff;border-radius:50%;color:white;display:grid;place-items:center;font-size:6.5cqw;padding:0;box-shadow:inset 0 2px 10px #c5faff22;text-shadow:0 2px #00619a}.game-settings{left:3.5%}.game-music{right:3.5%}.level-heading{position:absolute;top:1.7%;left:33%;width:34%;padding:1.1cqw 0 1.6cqw;text-align:center;font-size:4.8cqw;color:#fff;font-weight:900;border-radius:30px;background:#026498a6;text-shadow:0 2px #086896;letter-spacing:.5cqw}.level-progress{position:absolute;top:6.8%;left:20%;right:20%;display:flex;justify-content:space-between;align-items:center}.level-progress:before{content:"";position:absolute;left:3%;right:3%;height:1.4cqw;background:#d9f0fc;border:1px solid white}.level-progress span{position:relative;z-index:1;width:4.8cqw;height:4.8cqw;border:1.5px solid white;background:linear-gradient(#d4e7f4,#b6cddb);border-radius:50%;font-size:2cqw;font-weight:800;display:grid;place-items:center;color:#7897b1;box-shadow:0 2px 1px #1268af20}.level-progress span.current{background:linear-gradient(#00dbff,#0079ff);color:white;transform:scale(1.2);box-shadow:0 0 10px #5cfaff}.level-progress span.correct{background:#21ce8f;color:white}.level-progress span.wrong{background:#ff778c;color:white}.level-progress span:last-child{font-size:2.2cqw}.question-panel{position:absolute;top:11.8%;left:13%;right:13%;height:12.5%;background:linear-gradient(115deg,#fff,#f2faff);border:3px solid #7cf7ff;border-radius:3.6cqw;box-shadow:0 1.1cqw 0 #0073ef,0 1.6cqw 2cqw #0076bb55;display:flex;align-items:center;gap:3cqw;padding:2cqw 3cqw;pointer-events:none}.question-icon{font-size:10cqw;display:grid;place-items:center;flex-shrink:0;width:27%;height:100%}.question-icon svg{width:100%;height:90%}.question-panel h1{font-size:4.5cqw;line-height:1.5;margin:0;color:#083c7e;font-weight:1000;flex:1}.round-clock{position:absolute;bottom:1.1cqw;right:2cqw;font-size:1.7cqw;color:#5e9cbb;font-weight:bold}.round-clock.urgent{color:#f25864}.life-bar{position:absolute;left:14%;right:14%;top:26%;display:flex;align-items:center;gap:2cqw;pointer-events:auto}.life-bar>span:first-child{font-size:4.1cqw;color:#ff537a;letter-spacing:.7cqw;text-shadow:0 1px white,1px 0 white,-1px 0 white,0 -1px white,0 3px #ca3274}.life-bar>span:first-child .lost-heart{color:#9ac5d2}.life-bar>span:nth-child(2){margin-left:auto;font-size:2.2cqw;color:#fff;font-weight:800;text-shadow:0 2px #0069a7;background:#056ea06b;padding:.7cqw 1.5cqw;border-radius:12px}.life-bar button{background:#006da175;border:1px solid #a2f7ff;color:white;border-radius:50%;width:4.8cqw;height:4.8cqw;font-weight:bold;font-size:2.5cqw;padding:0}.players-hud{position:absolute;top:30%;left:3%;display:flex;flex-direction:column;gap:.8cqw}.player-chip{font-size:1.6cqw;color:white;background:#006fa6ba;padding:.8cqw 1.6cqw;border-radius:9px;display:flex;gap:1cqw;align-items:center;border:1px solid #bef8ff70}.player-chip i{width:1.5cqw;height:1.5cqw;border-radius:50%}.player-chip strong{font-weight:500;max-width:12cqw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-chip em{font-style:normal;color:#ffb5c8}.answer-buttons{position:absolute;left:2.2%;right:2.2%;bottom:6.3%;height:15.8%;display:flex;gap:1.5cqw;pointer-events:auto}.answer-card{--lane:#00baff;position:relative;flex:1;min-width:0;border:3px solid var(--lane);border-radius:3.3cqw;background:linear-gradient(#fff,#f5fcff);box-shadow:0 1.2cqw 0 color-mix(in srgb,var(--lane),#0054a1 23%),0 1.7cqw 1.1cqw #08789b55;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1cqw;padding:1cqw 0;transition:transform .12s,filter .12s}.answer-card .letter{position:absolute;left:1.5cqw;top:1.4cqw;font-family:Arial;font-weight:1000;font-size:3.8cqw;color:#58301d}.answer-card .answer-art{font-size:10cqw;line-height:1.2;margin-top:1.5cqw;height:50%;display:grid;place-items:center}.answer-art svg{height:100%;width:13cqw}.answer-card strong{font-size:3.8cqw;color:#562c1c;line-height:1.2;text-align:center;max-width:96%;overflow-wrap:anywhere;font-weight:1000}.answer-card.long strong{font-size:2.6cqw}.answer-card.selected{transform:translateY(-1.7cqw);box-shadow:0 1.2cqw 0 color-mix(in srgb,var(--lane),#0054a1 23%),0 0 0 2px #fff,0 0 16px #fff;filter:brightness(1.04)}.answer-card.selected:after{content:"▼";position:absolute;top:-5.5cqw;color:#fff;filter:drop-shadow(0 2px 1px var(--lane));font-size:4cqw}.game-footnote{position:absolute;bottom:2.5%;text-align:center;width:100%;color:#edffff;font-size:1.8cqw;font-weight:700;text-shadow:0 1px #087aa5}.countdown{position:absolute;inset:0;z-index:15;background:#008bdb22;display:flex;align-items:center;justify-content:center;flex-direction:column;backdrop-filter:blur(2px);color:white;pointer-events:none}.countdown strong{font-family:Arial;font-size:35cqw;font-weight:1000;line-height:1.2;paint-order:stroke fill;-webkit-text-stroke:2cqw #0870d3;text-shadow:0 9px #0355ad;animation:count-pop .8s infinite}.countdown span{font-size:3cqw;font-weight:800;text-shadow:0 2px #0874ba}.answer-feedback{position:absolute;left:15%;right:15%;top:31.5%;background:#ffffffed;border:2px solid #adfbff;padding:1.7cqw 2cqw;border-radius:12px;text-align:center;color:#1a9c66;font-size:3cqw;font-weight:900;box-shadow:0 3px 0 #0872c644;z-index:6}.answer-feedback.wrong{color:#dc5263}.answer-feedback small{font-size:1.8cqw;line-height:1.6;display:block;color:#4885a1;font-weight:400;margin-top:.8cqw}.result-overlay{position:absolute;inset:0;z-index:20;background:#006cb16b;backdrop-filter:blur(6px);display:grid;place-items:center;padding:5cqw}.result-card{background:linear-gradient(#f5fdff,#e0f5ff);border:4px solid #9bf5ff;border-radius:25px;box-shadow:0 8px 0 #0066c2,0 15px 40px #003f6d44;padding:7cqw 5cqw 5cqw;width:100%;text-align:center;max-height:90%;overflow:auto}.result-card .result-icon{font-size:15cqw}.result-card h2{font-size:7cqw;color:#0863b8;margin:1cqw 0 3cqw}.result-card p{font-size:2.8cqw;line-height:1.8;color:#5a8ba8}.result-stats{display:flex;justify-content:space-around;background:#cceeff;border-radius:15px;padding:4cqw 2cqw;margin:4cqw 0}.result-stats strong{display:block;font-size:6cqw;color:#0871c8}.result-stats span{font-size:2.2cqw;color:#5b88a4}.ui-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #8deaff;background:linear-gradient(#22c9ff,#0878ed);color:#fff;text-shadow:0 1px #005bae;border-radius:12px;box-shadow:0 4px 0 #005cc4;padding:12px 19px;font-size:14px;font-weight:800;min-height:43px}.ui-button:hover{filter:brightness(1.06)}.ui-button.gold{background:linear-gradient(#fff36b,#ffbd13);border-color:#fffab8;box-shadow:0 4px 0 #e68a00;color:#9c4900;text-shadow:0 1px #fff6af}.ui-button.secondary{background:#f1f9ff;color:#2a83c6;border:1px solid #b9dff4;box-shadow:0 3px 0 #c3e2f2;text-shadow:none}.ui-button.danger{background:#ff6d82;border-color:#ffbdc9;box-shadow:0 3px 0 #db4363}.result-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.text-button{background:none;color:#6595b2;font-size:12px;padding:12px}.result-players{margin:10px 0}.result-player{display:flex;justify-content:space-between;padding:8px 10px;background:#e9f7ff;border-bottom:1px solid #c9e7f6;font-size:12px}.community-view{position:absolute;inset:0;background:#f0f7ff;z-index:25;overflow:hidden;display:flex;flex-direction:column;touch-action:pan-y}.community-header{height:80px;padding:16px 20px;background:linear-gradient(135deg,#08bbff,#0873e5);display:flex;align-items:center;gap:14px;color:white;flex-shrink:0}.community-header>div span{font-size:8px;letter-spacing:2px;color:#a6eaff}.community-header h1{font-size:23px;margin:3px 0 0}.back-button{font-size:35px;line-height:1;border-radius:12px;background:#ffffff26;border:1px solid #ffffff66;color:white;width:35px;height:40px}.avatar-dot{width:39px;height:39px;background:#ffdc6a;border:2px solid white;border-radius:50%;color:#965d20;font-size:24px;margin-left:auto}.community-welcome{margin:18px 18px 14px;padding:19px;background:linear-gradient(110deg,#d0efff,#cff5f6);border:1px solid #b3e4f6;border-radius:18px;display:flex;align-items:center;justify-content:space-between}.community-welcome small{font-size:10px;color:#54a1ba}.community-welcome h2{font-size:18px;margin:7px 0 0;color:#16759e}.community-welcome>span{font-size:47px}.community-tabs{padding:0 15px;display:flex;gap:6px;border-bottom:1px solid #d9e9f4;flex-shrink:0}.community-tabs button{flex:1;background:transparent;color:#799db6;font-size:13px;font-weight:700;padding:12px 0;border-bottom:3px solid transparent}.community-tabs button.active{color:#087cd9;border-bottom-color:#109ff4}.community-content{flex:1;overflow:auto;padding:16px 17px 85px;scrollbar-width:thin;scrollbar-color:#b8dcf2 transparent}.compose-fab{position:absolute;bottom:24px;right:18px;border:2px solid white;background:linear-gradient(#17bdff,#147ced);padding:13px 18px;border-radius:25px;color:#fff;font-size:13px;font-weight:bold;box-shadow:0 4px 12px #1475b752}.post{background:white;border:1px solid #dcecf6;border-radius:17px;padding:16px;margin-bottom:13px;box-shadow:0 3px 6px #1e82a905}.post-author{display:flex;gap:10px;align-items:center}.post-avatar,.friend-avatar{width:39px;height:39px;flex-shrink:0;border-radius:13px;display:grid;place-items:center;font-size:22px;background:#d9f0ff}.post-author strong{display:block;font-size:13px;color:#255c81}.post-author small{display:block;font-size:9px;color:#a1b6c7;margin-top:5px}.official-label{font-size:8px!important;background:#e5f5ff;color:#168ace;padding:2px 5px;margin-left:4px;border-radius:4px}.post-body{font-size:13px;color:#4e7590;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0}.post-image{width:100%;max-height:330px;object-fit:cover;border-radius:12px}.post-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eff5f9;margin-top:14px;padding-top:10px}.post-bottom button{background:none;color:#93adbf;font-size:11px;padding:3px}.post-bottom .liked{color:#f17491}.empty-state{text-align:center;padding:35px 20px;color:#91b0c5;font-size:12px;line-height:2}.empty-state>span{display:block;font-size:44px;margin-bottom:12px}.empty-state strong{display:block;color:#4b88ae;font-size:15px}.search-row{display:flex;gap:8px;margin:13px 0}.search-row input{min-width:0;flex:1}.search-row button{padding:9px 13px;min-height:40px}.field{width:100%;border:1px solid #c8dfee;border-radius:10px;padding:12px;background:white;font-size:13px;color:#275b80;outline:none}.field:focus{border-color:#36b9ff;box-shadow:0 0 0 3px #23bbff18}textarea.field{resize:vertical;min-height:105px}.form-label{display:block;color:#6187a2;font-size:12px;margin:16px 0 7px}.form-note{color:#8aa8bd;font-size:11px;line-height:1.8;margin:10px 0}.friend-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e2eef6}.friend-info{flex:1;min-width:0}.friend-info strong{font-size:12px;display:block;color:#3a6d8f}.friend-info small{display:block;font-size:10px;color:#91acbe;margin-top:5px}.small-button{border:1px solid #b9dff4;background:#e8f7ff;border-radius:8px;padding:7px 10px;color:#1683c8;font-size:11px;white-space:nowrap}.small-button.accept{background:#e3f9ed;color:#189663;border-color:#b9ead2}.small-button.remove{background:#fceef2;color:#d3677f;border-color:#f0c4d0}.friend-actions{display:flex;gap:5px}.online{color:#20af85}.section-title{font-size:14px;margin:22px 0 7px;color:#357295;display:flex;justify-content:space-between}.room-card{background:linear-gradient(#fff,#e4f5ff);border:2px solid #8cdbff;border-radius:19px;padding:18px;box-shadow:0 3px 0 #aad8ef;margin:5px 0 22px}.room-heading{display:flex;justify-content:space-between;align-items:center}.room-heading h3{font-size:17px;margin:0;color:#1376ba}.room-code{font-family:monospace;font-size:16px;letter-spacing:2px;background:#d4effe;color:#1582bf;border-radius:8px;padding:8px;margin:13px 0}.room-member{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #d5eaf7;font-size:12px}.room-member span{display:flex;align-items:center;gap:8px}.room-member small{color:#6da3bf}.room-actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}.room-actions .ui-button{font-size:12px;padding:10px 14px;min-height:40px}.room-create-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:16px 0}.invitation{position:absolute;z-index:50;left:4%;right:4%;bottom:4%;border:2px solid #b7f5ff;border-radius:16px;background:linear-gradient(#fff,#ddf4ff);box-shadow:0 6px 30px #0064a84d;padding:15px;color:#286887;font-size:12px}.invitation p{line-height:1.7;margin:0 0 12px}.invitation>div{display:flex;gap:10px}.invitation button{font-size:12px;padding:9px 15px;min-height:37px}.toast{position:fixed;left:50%;bottom:7%;transform:translate(-50%,10px);max-width:min(90vw,430px);background:#093d68ed;color:#fff;border:1px solid #80cfff66;border-radius:13px;z-index:1000;padding:13px 20px;font-size:13px;line-height:1.6;box-shadow:0 8px 25px #004d6d33;opacity:0;pointer-events:none;transition:.15s;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:3px solid #bcefff;border-radius:22px;background:#eff7ff;color:#245f87;width:min(94vw,570px);max-height:88dvh;padding:0;box-shadow:0 10px 0 #0061a8,0 25px 100px #00406866;overflow:hidden}dialog::backdrop{background:#003d795e;backdrop-filter:blur(4px)}.modal-header{background:linear-gradient(#24c9ff,#108af2);display:flex;align-items:center;justify-content:space-between;padding:15px 20px;gap:10px;color:white;border-bottom:3px solid #a3ecff}.modal-header h2{margin:0;font-size:21px;font-weight:900;text-shadow:0 2px #0a73b5}.modal-header>button{width:30px;height:30px;border:1px solid #b6eeff;border-radius:9px;display:grid;place-items:center;font-size:26px;background:#2c9feb;color:#fff;line-height:1;padding:0}.modal-back{margin-right:auto}.modal-header .modal-back+h2{margin-right:auto}.modal-content{overflow:auto;max-height:calc(88dvh - 72px);padding:20px;scrollbar-width:thin;scrollbar-color:#a9cae0 #d9e8f5;touch-action:pan-y}.settings-top{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:19px}.settings-tile{position:relative;overflow:hidden;min-height:70px;border-radius:13px;padding:14px 13px;background:linear-gradient(125deg,#2461e5,#3c6ff6);color:#fff;box-shadow:0 3px 0 #1d51b9,0 4px 5px #0b3f8320;font-size:18px;font-weight:900;text-align:right;display:flex;align-items:center;justify-content:flex-end}.settings-tile>i{position:absolute;left:10px;font-style:normal;font-size:45px;opacity:.22;transform:rotate(-13deg)}.settings-tile>span{z-index:1}.settings-tile small{display:block;font-size:10px;color:#ffef85;margin-top:5px}.settings-tile b{position:absolute;right:0;top:0;width:11px;height:11px;background:#ff6a41;border:2px solid #fff;border-radius:50%}.settings-scroll{max-height:43dvh;overflow:auto;scrollbar-color:#98a3b8 #cbd0e0;scrollbar-width:thin;padding-right:7px}.setting-row{background:#d3d9e8;border-radius:17px;margin-bottom:10px;padding:14px;display:flex;align-items:center;gap:13px;min-height:70px}.setting-row>i{font-style:normal;background:#626b7e;color:white;border-radius:50%;width:42px;height:42px;font-size:27px;display:grid;place-items:center;flex-shrink:0}.setting-row strong{font-size:17px;color:#404c63}.setting-row>button{margin-left:auto;background:#303542;color:white;font-size:16px;font-weight:800;border-radius:10px;padding:9px 21px;box-shadow:0 3px 4px #73809144;white-space:nowrap}.audio-setting{display:grid;grid-template-columns:42px 1fr auto;gap:10px 13px}.audio-setting input[type=range]{grid-column:1/3;width:100%;accent-color:#f5ac2d;cursor:pointer}.audio-setting button{grid-column:3;grid-row:2;background:linear-gradient(90deg,#ffb237 40%,#303542 40%);padding-left:44px;min-width:95px;border:2px solid #9ca8ba;line-height:1.1}.audio-setting button.off{background:linear-gradient(90deg,#a8b0be 40%,#687586 40%)}.content-intro{line-height:1.9;font-size:13px;color:#6790aa;margin:0 0 20px}.guide-item{display:flex;gap:13px;padding:18px 0;border-bottom:1px solid #dcebf5}.guide-item>span{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(#3bcfff,#1687f4);color:white;font-weight:900;flex-shrink:0;box-shadow:0 3px #0870c2}.guide-item h3{font-size:15px;margin:2px 0 8px;color:#2276a6}.guide-item p{font-size:12px;line-height:1.9;color:#7194ac;margin:0;white-space:pre-wrap}.readable-text{font-size:13px;line-height:2.1;white-space:pre-wrap;color:#547c99;overflow-wrap:anywhere}.character-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.character-card{position:relative;border:2px solid #c4e5f5;background:linear-gradient(#fff,#dff2ff);padding:5px 5px 12px;border-radius:15px;box-shadow:0 3px #c0dfee;color:#477b9b;text-align:center;overflow:hidden}.character-card img{width:100%;aspect-ratio:1;object-fit:contain}.character-card strong{font-size:12px;display:block;margin:0 0 4px}.character-card small{font-size:9px;color:#8ca9bc}.character-card.selected{border-color:#19bdff;box-shadow:0 0 0 2px #fff,0 4px #16a7ed;background:linear-gradient(#eaffff,#b3eaff)}.character-card.selected:after{content:"✓";position:absolute;top:6px;right:6px;background:#00aae9;color:white;border-radius:50%;width:19px;height:19px;font-size:12px;line-height:19px}.character-preview-line{text-align:center;font-size:11px;color:#86a5ba;margin-top:16px}.profile-id{padding:12px;border-radius:10px;background:#dcefff;font-size:13px;font-family:monospace;display:flex;align-items:center;justify-content:space-between}.profile-summary{display:flex;gap:10px;margin:16px 0}.profile-summary>div{flex:1;background:white;border-radius:11px;padding:14px 5px;text-align:center;border:1px solid #d9eaf5}.profile-summary strong{font-size:21px;display:block;color:#1a8bd0}.profile-summary small{font-size:10px;color:#8cacc1;display:block;margin-top:5px}.mail-item,.announcement-item{background:#fff;border:1px solid #d9e9f5;border-radius:13px;padding:15px;margin-bottom:11px;cursor:pointer}.mail-item h3,.announcement-item h3{font-size:14px;margin:0 0 8px;color:#2d7ba7}.mail-item p,.announcement-item p{font-size:12px;color:#7d9bb0;line-height:1.8;margin:0;white-space:pre-wrap}.mail-item small,.announcement-item small{font-size:9px;color:#a6bdcd;display:block;margin-top:10px}.mail-item.unread h3:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#ff7665;margin-right:7px}.leader-row{display:flex;align-items:center;gap:12px;background:white;border-radius:12px;padding:12px;margin-bottom:8px;border:1px solid #dcecf6}.leader-row>strong{width:28px;font-size:20px;color:#ffb52d}.leader-row>div{flex:1}.leader-row b{font-size:13px}.leader-row small{display:block;color:#93b1c5;font-size:10px;margin-top:5px}.leader-row>span{font-size:12px;color:#178ed0;font-weight:700}.upload-preview{max-width:100%;max-height:150px;border-radius:12px;margin:10px 0}.loading-screen{position:fixed;inset:0;background:radial-gradient(ellipse at center,#3adfff,#0788e2);z-index:900;display:flex;align-items:center;justify-content:center;flex-direction:column;color:white;gap:15px}.loading-icon{font-size:68px;animation:float 2s ease-in-out infinite}.loading-screen strong{font-size:24px;text-shadow:0 2px #0875b5}.loading-screen>span{font-size:12px;color:#bcf6ff}.loading-screen button{margin-top:10px}.confirm-box{font-size:13px;line-height:1.9;color:#638ca5}.review-item{padding:14px 0;border-bottom:1px solid #d6e9f6}.review-item strong{font-size:12px}.review-item p{font-size:11px;line-height:1.9;color:#87a5b9;margin:7px 0 0}.small-info{font-size:11px;color:#82a5be;line-height:1.8}.form-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.inline-error{font-size:12px;color:#e95f70;margin-top:10px}.hit .sky-glow{box-shadow:inset 0 0 50px 20px #ff355e88}.reconnect-message{background:#fff3d8;color:#ab780e;padding:10px;border-radius:9px;font-size:11px;margin-bottom:10px}@keyframes shine{to{transform:rotate(360deg)}}@keyframes count-pop{0%{transform:scale(.8)}30%{transform:scale(1.06)}100%{transform:scale(.95)}}@keyframes float{50%{transform:translateY(-9px)}}@media(max-aspect-ratio:9/16){.stage{width:100vw}.question-panel{top:13%}.level-progress{top:8%}.life-bar{top:27%}.home-side{gap:2.8cqh}.answer-buttons{height:14.5%;bottom:7%}.home-name{bottom:24%}}@media(min-width:900px){.stage{border-left:1px solid #b8faff55;border-right:1px solid #b8faff55}}@media(max-width:900px){.side-brand,.side-note{display:none}}@media(max-width:440px){.modal-content{padding:16px}.modal-header{padding:13px 16px}.modal-header h2{font-size:19px}.settings-tile{min-height:60px;font-size:16px}.settings-tile i{font-size:36px}.setting-row{padding:12px;gap:10px}.setting-row strong{font-size:15px}.setting-row>i{width:35px;height:35px;font-size:23px}.setting-row>button{font-size:15px;padding:8px 15px}.audio-setting{grid-template-columns:35px 1fr auto}.audio-setting button{min-width:80px;padding-left:35px}.character-card strong{font-size:10px}.character-card small{font-size:8px}.community-header{height:70px;padding:13px 16px}.community-welcome{margin:14px 14px 10px;padding:15px}.community-welcome h2{font-size:16px}.community-tabs button{font-size:12px}.community-content{padding:12px 13px 80px}}@media(prefers-reduced-motion:reduce){.loading-icon,.countdown strong{animation:none}*{scroll-behavior:auto!important}}
:root .question-icon img{width:100%;height:100%;object-fit:contain}.answer-art img{height:100%;width:16cqw;object-fit:contain}.game-ui .answer-card .answer-art{max-height:63%;width:100%}
:root .answer-card .answer-art{height:60%;flex:0 0 60%;min-height:0;overflow:hidden;margin-top:4%;display:flex;align-items:center;justify-content:center}.answer-card .answer-art img{height:100%;width:75%;object-fit:contain}.answer-card strong{font-size:3.4cqw;margin-top:1%;flex-shrink:0}.home-name{bottom:21.5%;font-size:2.1cqw;padding:.8cqw 2.5cqw}
:root .game-music.muted:after{content:"";position:absolute;width:5%;height:79%;left:48%;top:10%;background:#ff6980;border:1px solid white;border-radius:4px;transform:rotate(40deg)}

/* Full rank artwork stays visible; only the score and title are live text. */
.rank-progress{position:absolute;left:16.5%;top:.9%;width:67%;height:auto;aspect-ratio:2152/510;overflow:visible;filter:drop-shadow(0 2px 2px #164b7866)}
.rank-frame{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
#xpLabel{position:absolute;left:23%;top:43%;width:64%;height:28%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:3.25cqw;font-weight:900;line-height:1;white-space:nowrap;text-shadow:0 .25cqw #73b5ea,0 .55cqw #123e94,0 .7cqw .3cqw #072a6f;letter-spacing:.03cqw}
#rankProgress[data-rank="saint"] #xpLabel{text-shadow:0 .25cqw #6ca0cd,0 .55cqw #183d7c,0 .7cqw .3cqw #082255}
#charactersButton img{object-fit:cover;object-position:center 35%}











.level-progress{gap:1cqw}.level-progress span{flex-shrink:0}.level-progress small{position:relative;z-index:1;color:#fff;font-size:2.3cqw;font-weight:bold}.level-progress .progress-count{position:absolute;right:-20%;white-space:nowrap;padding:2px 5px;border-radius:12px;background:#057bbd99}.question-panel h1{overflow-wrap:anywhere}.answer-card strong{overflow-wrap:anywhere}

.answer-art .text-art{display:block;font-size:4.1cqw;line-height:1.25;max-height:100%;overflow:hidden;overflow-wrap:anywhere;padding:0 1cqw}.answer-card.long .answer-art .text-art{font-size:3.6cqw}.question-icon .text-art{font-size:4cqw;overflow-wrap:anywhere}.answer-card.long strong{font-size:2.6cqw;line-height:1.25;max-height:35%;overflow:auto}
/* The reference card has its own border. Media receives a small separate frame. */
.surprise-panel{position:absolute;left:12.5%;top:11.8%;width:75%;height:auto;aspect-ratio:1590/989;box-sizing:border-box;z-index:9;background:transparent;border:0;padding:0;border-radius:7% / 11.25%;box-shadow:0 5px 0 #0792d22b,0 10px 24px #076b9d28;overflow:visible;display:grid;place-items:center;color:#127eb0;text-align:center;pointer-events:auto}
.surprise-visual{position:absolute;inset:0;display:grid;place-items:center;visibility:hidden;background:transparent;pointer-events:none}
.surprise-visual img,.surprise-visual video{width:100%;height:100%;object-fit:contain;display:block;background:#fff;border-radius:0}
.surprise-copy{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.surprise-success-art{display:block;width:100%;height:100%;max-width:none;object-fit:contain;margin:0;padding:0;border:0;border-radius:7.2% / 11.6%}
.surprise-title,.surprise-message{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.surprise-playing.surprise-has-media{background:#fff;border:2px solid #23d3ef;padding:4px;border-radius:12px}
.surprise-playing.surprise-has-media .surprise-visual{inset:4px;visibility:visible}
.surprise-playing.surprise-has-media .surprise-copy{display:none}
.surprise-recover{position:absolute;left:9%;right:9%;bottom:8%;padding:2.2cqw;border-radius:2cqw;background:#068cea;color:white;font-size:3cqw;font-weight:bold;z-index:3;box-shadow:0 3px 0 #0065b7}
.surprise-attention .surprise-copy{display:block}
.surprise-attention .surprise-message{position:absolute;left:7%;right:7%;bottom:26%;width:auto;height:auto;max-height:50%;padding:2cqw;margin:0;overflow:auto;clip-path:none;white-space:normal;border-radius:2cqw;background:#ffffffed;box-shadow:0 2px 8px #076b9d1c;color:#3b7897;font-size:2.6cqw;line-height:1.5;z-index:2}
.surprise-playing.surprise-has-media.surprise-attention .surprise-copy{display:block}
.surprise-playing.surprise-has-media.surprise-attention .surprise-success-art{display:none}
.stage.reward-active .question-panel{visibility:hidden}.stage.reward-active .answer-feedback{display:none}.stage.reward-active .answer-card:disabled{opacity:1;cursor:default}
.stage.reward-active .life-bar{top:var(--surprise-life-top,40%)}.stage.reward-active .players-hud{top:var(--surprise-players-top,44%)}.surprise-panel.hidden{display:none}
.surprise-wait-note{position:absolute;left:17%;right:17%;top:31%;z-index:8;padding:1.5cqw 2.5cqw;border-radius:3cqw;background:#ffffffeb;border:1px solid #b7f2ff;color:#3a91b1;font-size:2.6cqw;line-height:1.5;text-align:center;box-shadow:0 2px 6px #00679d16;pointer-events:none}.surprise-wait-note.hidden{display:none}
.stage.reward-active:has(.surprise-panel.hidden) .question-panel{visibility:visible}.stage.reward-active:has(.surprise-panel.hidden) .life-bar{top:27%}.stage.reward-active:has(.surprise-panel.hidden) .players-hud{top:30%}
